arm
stringlengths 122
20M
| x86
stringlengths 122
20M
| filename
stringlengths 18
26
|
---|---|---|
.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 w0, [sp, #24]
str w1, [sp, #20]
ldr w8, [sp, #24]
ldr w9, [sp, #20]
mul w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #24]
ldr w9, [sp, #20]
sdiv w8, w8, w9
scvtf s0, w8
str s0, [sp, #12]
ldr w8, [sp, #16]
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_2
b LBB0_1
LBB0_1:
mov w8, #2
str w8, [sp, #16]
b LBB0_3
LBB0_2:
mov w8, #3
str w8, [sp, #16]
b LBB0_3
LBB0_3:
ldr w8, [sp, #24]
ldr w10, [sp, #20]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
fmov s0, #5.00000000
str s0, [sp, #12]
b LBB0_6
LBB0_5:
fmov s0, #7.00000000
str s0, [sp, #12]
b LBB0_6
LBB0_6:
ldr s0, [sp, #12]
ldr s1, [sp, #16]
scvtf s1, s1
fmul s0, s0, s1
fcvtzs w8, s0
str w8, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #10
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #11
cset w8, hi
tbnz w8, #0, LBB0_12
; %bb.7:
ldr x11, [sp] ; 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_8:
ldr w8, [sp, #8]
str w8, [sp, #28]
b LBB0_13
LBB0_9:
ldr w8, [sp, #8]
str w8, [sp, #28]
b LBB0_13
LBB0_10:
ldr w8, [sp, #8]
str w8, [sp, #28]
b LBB0_13
LBB0_11:
ldr w8, [sp, #8]
str w8, [sp, #28]
b LBB0_13
LBB0_12:
str wzr, [sp, #28]
b LBB0_13
LBB0_13:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_8-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_9-Ltmp1
.long LBB0_10-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_11-Ltmp1
; -- 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 foo
LCPI0_0:
.long 0x40e00000 ## float 7
LCPI0_1:
.long 0x40a00000 ## float 5
.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
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
movl -8(%rbp), %eax
imull -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
cvtsi2ss %eax, %xmm0
movss %xmm0, -20(%rbp)
movl -16(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_2
## %bb.1:
movl $2, -16(%rbp)
jmp LBB0_3
LBB0_2:
movl $3, -16(%rbp)
LBB0_3:
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl $0, %edx
jne LBB0_5
## %bb.4:
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
jmp LBB0_6
LBB0_5:
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
LBB0_6:
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -16(%rbp), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
addl $-10, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $11, %eax
ja LBB0_11
## %bb.13:
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_7:
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_12
LBB0_8:
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_12
LBB0_9:
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_12
LBB0_10:
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_12
LBB0_11:
movl $0, -4(%rbp)
LBB0_12:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_10
.end_data_region
## -- End function
.subsections_via_symbols
| the_stack_data/206391896.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]
mov w0, #2
bl _sleep
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
ldur w8, [x29, #-4]
add w10, w8, #1
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
ldursw x9, [x29, #-4]
adrp x8, _S@GOTPAGE
ldr x8, [x8, _S@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, #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, #1
stur w8, [x29, #-8] ; 4-byte Folded Spill
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-4]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
bl _test
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _sem_post
ldursw x9, [x29, #-4]
adrp x8, _S@GOTPAGE
ldr x8, [x8, _S@GOTPAGEOFF]
add x0, x8, x9, lsl #2
bl _sem_wait
ldur w0, [x29, #-8] ; 4-byte Folded Reload
bl _sleep
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
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, #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]
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
stur x0, [x29, #-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 w12, w8, #1
ldur w8, [x29, #-4]
add w8, w8, #4
mov w10, #5
stur w10, [x29, #-20] ; 4-byte Folded Spill
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.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-4]
add w10, w8, #1
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
ldur w10, [x29, #-20] ; 4-byte Folded Reload
ldur w8, [x29, #-4]
add w8, w8, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
bl _test
ldur w10, [x29, #-20] ; 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
ldur x0, [x29, #-16] ; 8-byte Folded Reload
bl _sem_post
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
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]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
str x8, [sp]
mov w0, #1
bl _sleep
ldr x8, [sp]
ldr w0, [x8]
bl _take_fork
mov w0, #0
bl _sleep
ldr x8, [sp]
ldr w0, [x8]
bl _put_fork
b LBB3_1
.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]
mov w1, #0
str wzr, [sp, #28]
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
mov w2, #1
bl _sem_init
str wzr, [sp, #24]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
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, #24]
adrp x8, _S@GOTPAGE
ldr x8, [x8, _S@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, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB4_1
LBB4_4:
str wzr, [sp, #24]
b LBB4_5
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB4_8
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_5 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
add x0, x8, x9, lsl #3
ldrsw x9, [sp, #24]
adrp x8, _phil@PAGE
add x8, x8, _phil@PAGEOFF
add x3, x8, x9, lsl #2
mov x1, #0
adrp x2, _philospher@PAGE
add x2, x2, _philospher@PAGEOFF
bl _pthread_create
ldr w8, [sp, #24]
add w10, w8, #1
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 LBB4_7
LBB4_7: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB4_5
LBB4_8:
str wzr, [sp, #24]
b LBB4_9
LBB4_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_9 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_9 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB4_9
LBB4_12:
ldr w8, [sp, #28]
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_14
b LBB4_13
LBB4_13:
bl ___stack_chk_fail
LBB4_14:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _phil ; @phil
.p2align 2
_phil:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.comm _state,20,2 ; @state
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Philosopher %d takes fork %d and %d\n"
l_.str.1: ; @.str.1
.asciz "Philosopher %d is Eating\n"
.comm _S,20,2 ; @S
.comm _mutex,4,2 ; @mutex
l_.str.2: ; @.str.2
.asciz "Philosopher %d is Hungry\n"
l_.str.3: ; @.str.3
.asciz "Philosopher %d putting fork %d and %d down\n"
l_.str.4: ; @.str.4
.asciz "Philosopher %d is thinking\n"
.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 $2, %edi
callq _sleep
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
movl -4(%rbp), %esi
addl $1, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movslq -4(%rbp), %rax
movq _S@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), %esi
addl $1, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %edi
callq _test
movq _mutex@GOTPCREL(%rip), %rdi
callq _sem_post
movslq -4(%rbp), %rax
movq _S@GOTPCREL(%rip), %rdi
shlq $2, %rax
addq %rax, %rdi
callq _sem_wait
movl $1, %edi
callq _sleep
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), %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.3(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
addl $1, %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
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)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movl $1, %edi
callq _sleep
movq -16(%rbp), %rax
movl (%rax), %edi
callq _take_fork
xorl %edi, %edi
callq _sleep
movq -16(%rbp), %rax
movl (%rax), %edi
callq _put_fork
jmp LBB3_1
.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, -52(%rbp)
movq _mutex@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $1, %edx
callq _sem_init
movl $0, -56(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -56(%rbp)
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movslq -56(%rbp), %rax
movq _S@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 -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB4_1
LBB4_4:
movl $0, -56(%rbp)
LBB4_5: ## =>This Inner Loop Header: Depth=1
cmpl $5, -56(%rbp)
jge LBB4_8
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
movslq -56(%rbp), %rax
leaq -48(%rbp), %rdi
shlq $3, %rax
addq %rax, %rdi
movslq -56(%rbp), %rax
leaq _phil(%rip), %rcx
shlq $2, %rax
addq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _philospher(%rip), %rdx
callq _pthread_create
movl -56(%rbp), %esi
addl $1, %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB4_5 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB4_5
LBB4_8:
movl $0, -56(%rbp)
LBB4_9: ## =>This Inner Loop Header: Depth=1
cmpl $5, -56(%rbp)
jge LBB4_12
## %bb.10: ## in Loop: Header=BB4_9 Depth=1
movslq -56(%rbp), %rax
movq -48(%rbp,%rax,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.11: ## in Loop: Header=BB4_9 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB4_9
LBB4_12:
movl -52(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_14
## %bb.13:
movl -60(%rbp), %eax ## 4-byte Reload
addq $64, %rsp
popq %rbp
retq
LBB4_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _phil ## @phil
.p2align 4
_phil:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.comm _state,20,4 ## @state
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Philosopher %d takes fork %d and %d\n"
L_.str.1: ## @.str.1
.asciz "Philosopher %d is Eating\n"
.comm _S,20,4 ## @S
.comm _mutex,4,2 ## @mutex
L_.str.2: ## @.str.2
.asciz "Philosopher %d is Hungry\n"
L_.str.3: ## @.str.3
.asciz "Philosopher %d putting fork %d and %d down\n"
L_.str.4: ## @.str.4
.asciz "Philosopher %d is thinking\n"
.subsections_via_symbols
| the_stack_data/556133.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
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, gt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #56] ; 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
LBB0_4:
sub x0, x29, #32
str x0, [sp, #40] ; 8-byte Folded Spill
mov x1, #0
bl _gettimeofday
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _gmtime
stur x0, [x29, #-56]
ldur x3, [x29, #-56]
add x0, sp, #68
str x0, [sp, #48] ; 8-byte Folded Spill
mov x1, #100
adrp x2, l_.str.2@PAGE
add x2, x2, l_.str.2@PAGEOFF
bl _strftime
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur w9, [x29, #-24]
mov w10, #1000
sdiv w10, w9, w10
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
bl _fork
str w0, [sp, #64]
ldr w8, [sp, #64]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w0, #-1
bl _exit
LBB0_6:
ldr w8, [sp, #64]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
mov x1, #0
bl _execv
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_8:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x0, #0
str x0, [sp, #16] ; 8-byte Folded Spill
bl _wait
ldr x1, [sp, #16] ; 8-byte Folded Reload
sub x0, x29, #48
str x0, [sp, #24] ; 8-byte Folded Spill
bl _gettimeofday
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _gmtime
stur x0, [x29, #-56]
ldur x3, [x29, #-56]
add x0, sp, #68
str x0, [sp, #32] ; 8-byte Folded Spill
mov x1, #100
adrp x2, l_.str.2@PAGE
add x2, x2, l_.str.2@PAGEOFF
bl _strftime
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur w9, [x29, #-40]
mov w10, #1000
sdiv w10, w9, w10
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur x8, [x29, #-48]
ldur x9, [x29, #-32]
subs x8, x8, x9
scvtf d0, x8
ldur w8, [x29, #-40]
ldur w9, [x29, #-24]
subs w8, w8, w9
scvtf d2, w8
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d2, d2, d1
fmadd d0, d0, d1, d2
mov x8, sp
str d0, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Too few arguments! Please check your input!\n"
l_.str.1: ; @.str.1
.asciz "Too many arguments! Please check your input!\n"
l_.str.2: ; @.str.2
.asciz "%Y-%m-%d %H:%M:%S"
l_.str.3: ; @.str.3
.asciz "Start time: %s:%d\n"
l_.str.4: ; @.str.4
.asciz "Failed to call fork()! Please try again later!\n"
l_.str.5: ; @.str.5
.asciz "Child process started.\n"
l_.str.6: ; @.str.6
.asciz "Child process finished.\n"
l_.str.7: ; @.str.7
.asciz "Returned to Parent process.\n"
l_.str.8: ; @.str.8
.asciz "End time: %s:%d\n"
l_.str.9: ; @.str.9
.asciz "Last time: %.3lf ms\n"
l_.str.10: ; @.str.10
.asciz "Parent process finished.\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 0x408f400000000000 ## double 1000
.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 $208, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
jg LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
cmpl $3, -8(%rbp)
jl LBB0_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_4:
leaq -32(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
leaq -32(%rbp), %rdi
callq _gmtime
movq %rax, -56(%rbp)
leaq -160(%rbp), %rdi
movq -56(%rbp), %rcx
movl $100, %esi
leaq L_.str.2(%rip), %rdx
callq _strftime
leaq -160(%rbp), %rsi
movl -24(%rbp), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movl %eax, %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
callq _fork
movl %eax, -164(%rbp)
cmpl $-1, -164(%rbp)
jne LBB0_6
## %bb.5:
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
LBB0_6:
cmpl $0, -164(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
movl %eax, -168(%rbp) ## 4-byte Spill
movb %al, -169(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movl -168(%rbp), %eax ## 4-byte Reload
movq -16(%rbp), %rcx
movq 8(%rcx), %rdi
movl %eax, %esi
callq _execv
## kill: def $ecx killed $eax
movb -169(%rbp), %al ## 1-byte Reload
leaq L_.str.6(%rip), %rdi
callq _printf
movl -168(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_8:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
movl %eax, -176(%rbp) ## 4-byte Spill
movb %al, -177(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movl -176(%rbp), %eax ## 4-byte Reload
movl %eax, %edi
movq %rdi, -208(%rbp) ## 8-byte Spill
callq _wait
movq -208(%rbp), %rsi ## 8-byte Reload
leaq -48(%rbp), %rdi
movq %rdi, -200(%rbp) ## 8-byte Spill
callq _gettimeofday
movq -200(%rbp), %rdi ## 8-byte Reload
callq _gmtime
movq %rax, -56(%rbp)
movq -56(%rbp), %rcx
leaq L_.str.2(%rip), %rdx
leaq -160(%rbp), %rdi
movq %rdi, -192(%rbp) ## 8-byte Spill
movl $100, %esi
callq _strftime
movq -192(%rbp), %rsi ## 8-byte Reload
## kill: def $rcx killed $rax
movb -177(%rbp), %al ## 1-byte Reload
movslq -40(%rbp), %rcx
imulq $274877907, %rcx, %rdx ## imm = 0x10624DD3
movq %rdx, %rcx
shrq $63, %rcx
## kill: def $ecx killed $ecx killed $rcx
sarq $38, %rdx
## kill: def $edx killed $edx killed $rdx
addl %ecx, %edx
leaq L_.str.8(%rip), %rdi
callq _printf
movq -48(%rbp), %rax
movq -32(%rbp), %rcx
subq %rcx, %rax
cvtsi2sd %rax, %xmm0
movl -40(%rbp), %eax
movl -24(%rbp), %ecx
subl %ecx, %eax
cvtsi2sd %eax, %xmm1
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
divsd %xmm2, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
## kill: def $ecx killed $eax
movb -177(%rbp), %al ## 1-byte Reload
leaq L_.str.10(%rip), %rdi
callq _printf
movl -176(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Too few arguments! Please check your input!\n"
L_.str.1: ## @.str.1
.asciz "Too many arguments! Please check your input!\n"
L_.str.2: ## @.str.2
.asciz "%Y-%m-%d %H:%M:%S"
L_.str.3: ## @.str.3
.asciz "Start time: %s:%d\n"
L_.str.4: ## @.str.4
.asciz "Failed to call fork()! Please try again later!\n"
L_.str.5: ## @.str.5
.asciz "Child process started.\n"
L_.str.6: ## @.str.6
.asciz "Child process finished.\n"
L_.str.7: ## @.str.7
.asciz "Returned to Parent process.\n"
L_.str.8: ## @.str.8
.asciz "End time: %s:%d\n"
L_.str.9: ## @.str.9
.asciz "Last time: %.3lf ms\n"
L_.str.10: ## @.str.10
.asciz "Parent process finished.\n"
.subsections_via_symbols
| the_stack_data/84944.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, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
ldrsw x8, [sp, #28]
mov x9, #65531
movk x9, #65535, lsl #16
and x8, x8, x9
str x8, [sp, #16]
ldr w8, [sp, #28]
subs w8, w8, #6
cset w8, eq
and w10, w8, #0x1
mov w9, #15
mov w8, #0
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, #1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #24]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #24]
ldr w0, [sp, #24]
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
mov w0, #0
stur wzr, [x29, #-4]
bl _f
subs w8, w0, #15
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
b LBB1_2
LBB1_2:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _abort
LBB1_3:
mov w0, #1
bl _f
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4:
b LBB1_5
LBB1_5:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _abort
LBB1_6:
mov w0, #6
bl _f
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_7
LBB1_7:
b LBB1_8
LBB1_8:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _abort
LBB1_9:
mov w0, #5
bl _f
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_10
LBB1_10:
b LBB1_11
LBB1_11:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _abort
LBB1_12:
mov w0, #15
bl _f
subs w8, w0, #15
cset w8, eq
tbnz w8, #0, LBB1_15
b LBB1_13
LBB1_13:
b LBB1_14
LBB1_14:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _abort
LBB1_15:
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 "assert.\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
movl %edi, -4(%rbp)
movslq -4(%rbp), %rax
movabsq $4294967291, %rcx ## imm = 0xFFFFFFFB
andq %rcx, %rax
movq %rax, -16(%rbp)
movl -4(%rbp), %edx
movl $15, %eax
xorl %ecx, %ecx
cmpl $6, %edx
cmovel %ecx, %eax
movl %eax, -8(%rbp)
cmpq $1, -16(%rbp)
je LBB0_2
## %bb.1:
movl -8(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
xorl %eax, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_3:
movl -20(%rbp), %eax ## 4-byte Reload
movl %eax, -8(%rbp)
movl -8(%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)
xorl %edi, %edi
callq _f
cmpl $15, %eax
je LBB1_3
## %bb.1:
jmp LBB1_2
LBB1_2:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
callq _abort
LBB1_3:
movl $1, %edi
callq _f
cmpl $0, %eax
je LBB1_6
## %bb.4:
jmp LBB1_5
LBB1_5:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
callq _abort
LBB1_6:
movl $6, %edi
callq _f
cmpl $0, %eax
je LBB1_9
## %bb.7:
jmp LBB1_8
LBB1_8:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
callq _abort
LBB1_9:
movl $5, %edi
callq _f
cmpl $0, %eax
je LBB1_12
## %bb.10:
jmp LBB1_11
LBB1_11:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
callq _abort
LBB1_12:
movl $15, %edi
callq _f
cmpl $15, %eax
je LBB1_15
## %bb.13:
jmp LBB1_14
LBB1_14:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
callq _abort
LBB1_15:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "assert.\n"
.subsections_via_symbols
| the_stack_data/18887821.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]
mov x0, #16
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
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:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_6:
ldr x0, [sp, #16]
mov x1, #4
bl _realloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
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:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #16]
add x8, x8, #12
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 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.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x8, [sp, #16]
add x8, x8, #4
str x8, [sp, #16]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_9
LBB0_12:
ldr x0, [sp, #16]
bl _free
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 "ERRO, sem espa\303\247o de memoria!\n"
l_.str.1: ; @.str.1
.asciz "Digite tres numeros: \n"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "--ERRO sem espa\303\247o na memoria---"
l_.str.4: ; @.str.4
.asciz "Digite mais um numero:\n"
l_.str.5: ; @.str.5
.asciz "Os numeros guardados no vetor sao:\n"
l_.str.6: ; @.str.6
.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)
movl $16, %edi
callq _malloc
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
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:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl $3, -20(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rsi
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_6:
movq -16(%rbp), %rdi
movl $4, %esi
callq _realloc
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne 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:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
addq $12, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $4, -20(%rbp)
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
addq $4, %rax
movq %rax, -16(%rbp)
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_9
LBB0_12:
movq -16(%rbp), %rdi
callq _free
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ERRO, sem espa\303\247o de memoria!\n"
L_.str.1: ## @.str.1
.asciz "Digite tres numeros: \n"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "--ERRO sem espa\303\247o na memoria---"
L_.str.4: ## @.str.4
.asciz "Digite mais um numero:\n"
L_.str.5: ## @.str.5
.asciz "Os numeros guardados no vetor sao:\n"
L_.str.6: ## @.str.6
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/145104.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:
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 w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _foo
ldr w0, [sp, #8] ; 4-byte Folded Reload
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 _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
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 _foo
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/156393718.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, #16
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-16]
subs w8, w8, #0
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 _printf
b LBB0_10
LBB0_2:
ldur w8, [x29, #-16]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur w9, [x29, #-8]
; 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
b LBB0_9
LBB0_4:
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
mov w8, #1
stur w8, [x29, #-20]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
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=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
mul w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [x29, #-12]
mov w10, #1000
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-12]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_5
LBB0_8:
ldur w9, [x29, #-12]
; 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
b LBB0_9
LBB0_9:
b LBB0_10
LBB0_10:
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 "The last 3 numbers is 1.\n"
l_.str.2: ; @.str.2
.asciz "The last 3 numbers is %d.\n"
l_.str.3: ; @.str.3
.asciz "The last 3 numbers is %.3d.\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 -16(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $0, -16(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_10
LBB0_2:
cmpl $1, -16(%rbp)
jne LBB0_4
## %bb.3:
movl -8(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_4:
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl $1, -20(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -12(%rbp), %eax
imull -8(%rbp), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movl %edx, -12(%rbp)
## %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:
movl -12(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_9:
jmp LBB0_10
LBB0_10:
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 "The last 3 numbers is 1.\n"
L_.str.2: ## @.str.2
.asciz "The last 3 numbers is %d.\n"
L_.str.3: ## @.str.3
.asciz "The last 3 numbers is %.3d.\n"
.subsections_via_symbols
| the_stack_data/30629.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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x9, l___const.main.d1@PAGE
add x9, x9, l___const.main.d1@PAGEOFF
ldr q0, [x9]
sub x8, x29, #48
str x8, [sp, #24] ; 8-byte Folded Spill
stur q0, [x29, #-48]
ldur q0, [x9, #12]
stur q0, [x8, #12]
ldur w9, [x29, #-48]
; 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 x8, [sp, #24] ; 8-byte Folded Reload
add x10, x8, #4
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
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:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.d1
l___const.main.d1:
.long 23 ; 0x17
.asciz "December\000\000\000\000\000\000\000\000\000\000\000"
.long 2018 ; 0x7e2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "%s %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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)
movq l___const.main.d1(%rip), %rax
movq %rax, -40(%rbp)
movq l___const.main.d1+8(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.d1+16(%rip), %rax
movq %rax, -24(%rbp)
movl l___const.main.d1+24(%rip), %eax
movl %eax, -16(%rbp)
movl -40(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -40(%rbp), %rsi
addq $4, %rsi
movl -16(%rbp), %edx
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:
addq $80, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @__const.main.d1
l___const.main.d1:
.long 23 ## 0x17
.asciz "December\000\000\000\000\000\000\000\000\000\000\000"
.long 2018 ## 0x7e2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "%s %d\n"
.subsections_via_symbols
| the_stack_data/139590.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_function ; -- Begin function thread_function
.p2align 2
_thread_function: ; @thread_function
.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]
mov w8, #34464
movk w8, #1, lsl #16
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
str x8, [sp, #32]
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #28]
stur wzr, [x29, #-24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
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 x8, [sp, #32]
ldr w8, [x8]
add w8, w8, #1
ldr x9, [sp, #32]
str w8, [x9]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_1
LBB0_4:
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #24]
ldr w8, [sp, #28]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #24]
; 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
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _print_error_info ; -- Begin function print_error_info
.p2align 2
_print_error_info: ; @print_error_info
.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]
str w8, [sp, #8] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_1
LBB1_1:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #22
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_3
LBB1_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_7
LBB1_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_7
LBB1_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_7
LBB1_6:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_7
LBB1_7:
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, #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]
str wzr, [sp, #40]
mov w8, #16
str w8, [sp, #36]
ldrsw x0, [sp, #36]
mov x1, #8
bl _calloc
str x0, [sp, #24]
str wzr, [sp, #48]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_14
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
add x0, sp, #56
bl _pthread_attr_init
mov w8, #0
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB2_21
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
add x0, sp, #56
mov w1, #1
bl _pthread_attr_setdetachstate
mov w8, #0
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB2_21
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
add x0, sp, #56
mov w1, #1
bl _pthread_attr_setschedpolicy
mov w8, #0
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB2_21
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #48]
add x0, x8, x9, lsl #3
add x1, sp, #56
adrp x2, _thread_function@PAGE
add x2, x2, _thread_function@PAGEOFF
add x3, sp, #40
bl _pthread_create
str w0, [sp, #44]
ldr w9, [sp, #44]
mov w8, #0
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
ldr w8, [sp, #48]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr w0, [sp, #44]
bl _print_error_info
str wzr, [sp, #52]
b LBB2_21
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
add x0, sp, #56
bl _pthread_attr_destroy
mov w8, #0
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB2_21
LBB2_12: ; in Loop: Header=BB2_1 Depth=1
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB2_1
LBB2_14:
str wzr, [sp, #48]
b LBB2_15
LBB2_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_20
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_15 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #48]
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
mov w8, #0
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB2_18
b LBB2_17
LBB2_17:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB2_21
LBB2_18: ; in Loop: Header=BB2_15 Depth=1
b LBB2_19
LBB2_19: ; in Loop: Header=BB2_15 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB2_15
LBB2_20:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr x0, [sp, #24]
bl _free
str wzr, [sp, #52]
b LBB2_21
LBB2_21:
ldr w8, [sp, #52]
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, LBB2_23
b LBB2_22
LBB2_22:
bl ___stack_chk_fail
LBB2_23:
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\t->\t%d\n"
l_.str.1: ; @.str.1
.asciz "\350\265\204\346\272\220\344\270\215\350\266\263\357\274\214\346\227\240\346\263\225\345\210\233\345\273\272\345\217\246\344\270\200\344\270\252\347\272\277\347\250\213\357\274\214\346\210\226\347\272\277\347\250\213\346\225\260\351\207\217\350\276\276\345\210\260\346\223\215\344\275\234\347\263\273\347\273\237\347\232\204\346\236\201\351\231\220\n"
l_.str.2: ; @.str.2
.asciz "\347\272\277\347\250\213\347\232\204\350\277\220\350\241\214\350\256\276\347\275\256\346\227\240\346\225\210\357\274\214\351\227\256\351\242\230\345\207\272\347\216\260\345\234\250pthread_create\347\232\204\347\254\254\344\272\214\344\270\252\350\276\223\345\205\245\345\217\202\346\225\260\n"
l_.str.3: ; @.str.3
.asciz "\346\262\241\346\234\211\346\235\203\351\231\220\350\256\276\347\275\256\350\260\203\345\272\246\347\255\226\347\225\245\345\222\214\345\205\266\345\256\203\347\232\204\345\217\202\346\225\260\n"
l_.str.4: ; @.str.4
.asciz "\345\207\272\347\216\260\344\272\206\346\204\217\346\226\231\344\271\213\345\244\226\347\232\204\345\274\202\345\270\270\346\203\205\345\206\265\n"
l_.str.5: ; @.str.5
.asciz "\345\261\236\346\200\247\350\256\276\347\275\256\345\210\235\345\247\213\345\214\226\345\244\261\350\264\245\n"
l_.str.6: ; @.str.6
.asciz "\350\256\276\347\275\256\345\217\257\347\273\223\345\220\210\347\212\266\346\200\201\345\244\261\350\264\245\n"
l_.str.7: ; @.str.7
.asciz "\350\256\276\347\275\256\350\260\203\345\272\246\347\255\226\347\225\245\345\244\261\350\264\245\n"
l_.str.8: ; @.str.8
.asciz "\345\210\233\345\273\272\347\254\254 %d \344\270\252\347\272\277\347\250\213\346\227\266\345\244\261\350\264\245\344\272\206\n"
l_.str.9: ; @.str.9
.asciz "\345\261\236\346\200\247\351\224\200\346\257\201\345\244\261\350\264\245\n"
l_.str.10: ; @.str.10
.asciz "pthread_join()\350\260\203\347\224\250\345\207\272\347\216\260\345\274\202\345\270\270\n"
l_.str.11: ; @.str.11
.asciz "\350\277\233\347\250\213\346\211\247\350\241\214\345\256\214\346\210\220\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_function ## -- Begin function thread_function
.p2align 4, 0x90
_thread_function: ## @thread_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
movq %rdi, -16(%rbp)
movl $100000, -20(%rbp) ## imm = 0x186A0
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_4:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -40(%rbp)
movl -36(%rbp), %esi
movl -40(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_error_info ## -- Begin function print_error_info
.p2align 4, 0x90
_print_error_info: ## @print_error_info
.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, -8(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB1_3
jmp LBB1_6
LBB1_6:
movl -8(%rbp), %eax ## 4-byte Reload
subl $22, %eax
je LBB1_2
jmp LBB1_7
LBB1_7:
movl -8(%rbp), %eax ## 4-byte Reload
subl $35, %eax
jne LBB1_4
jmp LBB1_1
LBB1_1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_5
LBB1_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_5
LBB1_3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_5
LBB1_4:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB1_5:
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, -76(%rbp)
movl $0, -88(%rbp)
movl $16, -92(%rbp)
movslq -92(%rbp), %rdi
movl $8, %esi
callq _calloc
movq %rax, -104(%rbp)
movl $0, -80(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -80(%rbp), %eax
cmpl -92(%rbp), %eax
jge LBB2_14
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
leaq -72(%rbp), %rdi
callq _pthread_attr_init
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB2_4
## %bb.3:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -76(%rbp)
jmp LBB2_21
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
leaq -72(%rbp), %rdi
movl $1, %esi
callq _pthread_attr_setdetachstate
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB2_6
## %bb.5:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -76(%rbp)
jmp LBB2_21
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
leaq -72(%rbp), %rdi
movl $1, %esi
callq _pthread_attr_setschedpolicy
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB2_8
## %bb.7:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -76(%rbp)
jmp LBB2_21
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movq -104(%rbp), %rdi
movslq -80(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
leaq -88(%rbp), %rcx
leaq -72(%rbp), %rsi
leaq _thread_function(%rip), %rdx
callq _pthread_create
movl %eax, -84(%rbp)
xorl %eax, %eax
cmpl -84(%rbp), %eax
je LBB2_10
## %bb.9:
movl -80(%rbp), %esi
addl $1, %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl -84(%rbp), %edi
callq _print_error_info
movl $0, -76(%rbp)
jmp LBB2_21
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
leaq -72(%rbp), %rdi
callq _pthread_attr_destroy
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB2_12
## %bb.11:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -76(%rbp)
jmp LBB2_21
LBB2_12: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_13
LBB2_13: ## in Loop: Header=BB2_1 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB2_1
LBB2_14:
movl $0, -80(%rbp)
LBB2_15: ## =>This Inner Loop Header: Depth=1
movl -80(%rbp), %eax
cmpl -92(%rbp), %eax
jge LBB2_20
## %bb.16: ## in Loop: Header=BB2_15 Depth=1
movq -104(%rbp), %rax
movslq -80(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB2_18
## %bb.17:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -76(%rbp)
jmp LBB2_21
LBB2_18: ## in Loop: Header=BB2_15 Depth=1
jmp LBB2_19
LBB2_19: ## in Loop: Header=BB2_15 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB2_15
LBB2_20:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq -104(%rbp), %rdi
callq _free
movl $0, -76(%rbp)
LBB2_21:
movl -76(%rbp), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_23
## %bb.22:
movl -108(%rbp), %eax ## 4-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB2_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\t->\t%d\n"
L_.str.1: ## @.str.1
.asciz "\350\265\204\346\272\220\344\270\215\350\266\263\357\274\214\346\227\240\346\263\225\345\210\233\345\273\272\345\217\246\344\270\200\344\270\252\347\272\277\347\250\213\357\274\214\346\210\226\347\272\277\347\250\213\346\225\260\351\207\217\350\276\276\345\210\260\346\223\215\344\275\234\347\263\273\347\273\237\347\232\204\346\236\201\351\231\220\n"
L_.str.2: ## @.str.2
.asciz "\347\272\277\347\250\213\347\232\204\350\277\220\350\241\214\350\256\276\347\275\256\346\227\240\346\225\210\357\274\214\351\227\256\351\242\230\345\207\272\347\216\260\345\234\250pthread_create\347\232\204\347\254\254\344\272\214\344\270\252\350\276\223\345\205\245\345\217\202\346\225\260\n"
L_.str.3: ## @.str.3
.asciz "\346\262\241\346\234\211\346\235\203\351\231\220\350\256\276\347\275\256\350\260\203\345\272\246\347\255\226\347\225\245\345\222\214\345\205\266\345\256\203\347\232\204\345\217\202\346\225\260\n"
L_.str.4: ## @.str.4
.asciz "\345\207\272\347\216\260\344\272\206\346\204\217\346\226\231\344\271\213\345\244\226\347\232\204\345\274\202\345\270\270\346\203\205\345\206\265\n"
L_.str.5: ## @.str.5
.asciz "\345\261\236\346\200\247\350\256\276\347\275\256\345\210\235\345\247\213\345\214\226\345\244\261\350\264\245\n"
L_.str.6: ## @.str.6
.asciz "\350\256\276\347\275\256\345\217\257\347\273\223\345\220\210\347\212\266\346\200\201\345\244\261\350\264\245\n"
L_.str.7: ## @.str.7
.asciz "\350\256\276\347\275\256\350\260\203\345\272\246\347\255\226\347\225\245\345\244\261\350\264\245\n"
L_.str.8: ## @.str.8
.asciz "\345\210\233\345\273\272\347\254\254 %d \344\270\252\347\272\277\347\250\213\346\227\266\345\244\261\350\264\245\344\272\206\n"
L_.str.9: ## @.str.9
.asciz "\345\261\236\346\200\247\351\224\200\346\257\201\345\244\261\350\264\245\n"
L_.str.10: ## @.str.10
.asciz "pthread_join()\350\260\203\347\224\250\345\207\272\347\216\260\345\274\202\345\270\270\n"
L_.str.11: ## @.str.11
.asciz "\350\277\233\347\250\213\346\211\247\350\241\214\345\256\214\346\210\220\n"
.subsections_via_symbols
| the_stack_data/694849.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _x ; @x
.zerofill __DATA,__common,_x,4,2
.section __DATA,__data
.globl _y ; @y
.p2align 2
_y:
.long 1 ; 0x1
.globl _z ; @z
.zerofill __DATA,__common,_z,4,2
.comm _decision,4,2 ; @decision
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _x ## @x
.zerofill __DATA,__common,_x,4,2
.section __DATA,__data
.globl _y ## @y
.p2align 2
_y:
.long 1 ## 0x1
.globl _z ## @z
.zerofill __DATA,__common,_z,4,2
.comm _decision,4,2 ## @decision
.subsections_via_symbols
| the_stack_data/1212903.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _value ; -- Begin function value
.p2align 2
_value: ; @value
.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]
add w8, w8, w9
str w8, [sp, #4]
adrp x9, _m@PAGE
mov w8, #10
str w8, [x9, _m@PAGEOFF]
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _add ; -- Begin function add
.p2align 2
_add: ; @add
.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 w8, #1
stur w8, [x29, #-4]
str w8, [sp, #8]
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _value
str w0, [sp, #4]
adrp x8, _m@PAGE
ldr w8, [x8, _m@PAGEOFF]
ldr w9, [sp, #4]
add w0, w8, w9
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _m ; @m
.zerofill __DATA,__common,_m,4,2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _value ## -- Begin function value
.p2align 4, 0x90
_value: ## @value
.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
addl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl $10, _m(%rip)
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add ## -- Begin function add
.p2align 4, 0x90
_add: ## @add
.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, -4(%rbp)
movl $1, -8(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _value
movl %eax, -12(%rbp)
movl _m(%rip), %eax
addl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _m ## @m
.zerofill __DATA,__common,_m,4,2
.subsections_via_symbols
| the_stack_data/172392.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, #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, _d@GOTPAGE
ldr x8, [x8, _d@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
stur w0, [x29, #-12]
stur w1, [x29, #-16]
stur d0, [x29, #-24]
stur w2, [x29, #-28]
stur w3, [x29, #-32]
ldursw x9, [x29, #-12]
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-44] ; 4-byte Folded Spill
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #0
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldur w8, [x29, #-12]
subs w9, w8, #1
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldur w8, [x29, #-44] ; 4-byte Folded Reload
ldr w9, [sp, #52] ; 4-byte Folded Reload
subs w8, w8, w9
scvtf d0, w8
stur d0, [x29, #-40]
ldur w8, [x29, #-12]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4:
ldur d0, [x29, #-40]
ldur s2, [x29, #-16]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fadd d0, d0, d1
ldur s2, [x29, #-32]
; 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, pl
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur d0, [x29, #-40]
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB0_7
LBB0_6:
ldur d0, [x29, #-24]
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB0_7
LBB0_7:
ldr d0, [sp, #40] ; 8-byte Folded Reload
stur d0, [x29, #-8]
b LBB0_13
LBB0_8:
ldur w8, [x29, #-16]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur d0, [x29, #-24]
stur d0, [x29, #-8]
b LBB0_13
LBB0_10:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
mov x10, #40008
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-16]
ldr d0, [x8, x9, lsl #3]
fmov d1, #-1.00000000
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
mov x10, #40008
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-16]
ldr d0, [x8, x9, lsl #3]
stur d0, [x29, #-8]
b LBB0_13
LBB0_12:
ldursw x9, [x29, #-12]
adrp x8, _p@GOTPAGE
ldr x8, [x8, _p@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #32] ; 8-byte Folded Spill
ldur w8, [x29, #-12]
add w0, w8, #1
ldur s1, [x29, #-16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur d1, [x29, #-40]
fadd d0, d0, d1
fcvtzs w1, d0
ldur d0, [x29, #-24]
ldur w2, [x29, #-28]
ldur w3, [x29, #-32]
bl _foo
ldr x8, [sp] ; 8-byte Folded Reload
ldur d1, [x29, #-40]
fadd d0, d0, d1
str d0, [sp, #24] ; 8-byte Folded Spill
ldursw x9, [x29, #-12]
ldr d1, [x8, x9, lsl #3]
fmov d0, #1.00000000
fsub d0, d0, d1
str d0, [sp, #16] ; 8-byte Folded Spill
ldur w8, [x29, #-12]
add w0, w8, #1
ldur s1, [x29, #-16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur d1, [x29, #-40]
fadd d0, d0, d1
ldursw x9, [x29, #-12]
adrp x8, _b@GOTPAGE
ldr x8, [x8, _b@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr s2, [x8, x9, lsl #2]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fadd d0, d0, d1
fcvtzs w1, d0
ldur d0, [x29, #-24]
ldur w2, [x29, #-28]
ldur w3, [x29, #-32]
bl _foo
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr d2, [sp, #16] ; 8-byte Folded Reload
ldr d1, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
fmov d3, d0
ldr d0, [sp, #32] ; 8-byte Folded Reload
ldur d4, [x29, #-40]
fadd d3, d3, d4
ldursw x10, [x29, #-12]
ldr s5, [x9, x10, lsl #2]
; implicit-def: $d4
fmov s4, s5
sshll.2d v4, v4, #0
; kill: def $d4 killed $d4 killed $q4
scvtf d4, d4
fadd d3, d3, d4
ldur d4, [x29, #-24]
ldur d5, [x29, #-40]
fadd d4, d4, d5
fminnm d3, d3, d4
fmul d2, d2, d3
fmadd d0, d0, d1, d2
ldursw x9, [x29, #-12]
mov x10, #40008
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-16]
str d0, [x8, x9, lsl #3]
stur d0, [x29, #-8]
b LBB0_13
LBB0_13:
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI1_0:
.quad 0x3e7ad7f29abcaf48 ; double 9.9999999999999995E-8
lCPI1_1:
.quad 0x426d1a94a2000000 ; double 1.0E+12
.section __TEXT,__text,regular,pure_instructions
.globl _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]
bl _get_int
stur w0, [x29, #-16]
bl _get_int
stur w0, [x29, #-20]
bl _get_int
stur w0, [x29, #-24]
stur wzr, [x29, #-8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-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
bl _get_int
ldursw x9, [x29, #-8]
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
str w0, [x8, x9, lsl #2]
bl _get_double
ldursw x9, [x29, #-8]
adrp x8, _p@GOTPAGE
ldr x8, [x8, _p@GOTPAGEOFF]
str d0, [x8, x9, lsl #3]
bl _get_int
ldursw x9, [x29, #-8]
adrp x8, _b@GOTPAGE
ldr x8, [x8, _b@GOTPAGEOFF]
str w0, [x8, x9, lsl #2]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_1
LBB1_4:
ldur w8, [x29, #-16]
ldursw x10, [x29, #-24]
adrp x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
movi d0, #0000000000000000
stur d0, [x29, #-32]
adrp x8, lCPI1_1@PAGE
ldr d0, [x8, lCPI1_1@PAGEOFF]
str d0, [sp, #40]
b LBB1_5
LBB1_5: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
; Child Loop BB1_9 Depth 3
ldr d0, [sp, #40]
ldur d1, [x29, #-32]
fsub d0, d0, d1
adrp x8, lCPI1_0@PAGE
ldr d1, [x8, lCPI1_0@PAGEOFF]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB1_18
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldur d0, [x29, #-32]
ldr d1, [sp, #40]
fadd d0, d0, d1
fmov d1, #2.00000000
fdiv d0, d0, d1
str d0, [sp, #32]
stur wzr, [x29, #-8]
b LBB1_7
LBB1_7: ; Parent Loop BB1_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_9 Depth 3
ldur w8, [x29, #-8]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_14
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=2
stur wzr, [x29, #-12]
b LBB1_9
LBB1_9: ; Parent Loop BB1_5 Depth=1
; Parent Loop BB1_7 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=3
ldursw x8, [x29, #-8]
mov x9, #40008
mul x9, x8, x9
adrp x8, _d@GOTPAGE
ldr x8, [x8, _d@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-12]
fmov d0, #-10.00000000
str d0, [x8, x9, lsl #3]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_9 Depth=3
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_9
LBB1_12: ; in Loop: Header=BB1_7 Depth=2
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_7 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_7
LBB1_14: ; in Loop: Header=BB1_5 Depth=1
ldr d0, [sp, #32]
ldur w2, [x29, #-24]
ldur w3, [x29, #-20]
mov w1, #0
mov x0, x1
bl _foo
str d0, [sp, #24]
ldr d0, [sp, #24]
ldr d1, [sp, #32]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB1_16
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_5 Depth=1
ldr d0, [sp, #32]
stur d0, [x29, #-32]
b LBB1_17
LBB1_16: ; in Loop: Header=BB1_5 Depth=1
ldr d0, [sp, #32]
str d0, [sp, #40]
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_5 Depth=1
b LBB1_5
LBB1_18:
ldur d0, [x29, #-32]
ldur w2, [x29, #-24]
ldur w3, [x29, #-20]
mov w1, #0
str w1, [sp, #20] ; 4-byte Folded Spill
mov x0, x1
bl _foo
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _get_int ; -- Begin function get_int
.p2align 2
_get_int: ; @get_int
.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 wzr, [sp, #8]
bl _getchar
strb w0, [sp, #7]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [sp, #7]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_17
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #7]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #7]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
mov w8, #1
str w8, [sp]
b LBB2_12
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #7]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
bl _getchar
strb w0, [sp, #7]
ldrsb w8, [sp, #7]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #7]
subs w8, w8, #57
cset w8, le
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_10:
mov w8, #-1
str w8, [sp]
b LBB2_12
LBB2_11: ; in Loop: Header=BB2_1 Depth=1
bl _getchar
strb w0, [sp, #7]
b LBB2_1
LBB2_12:
b LBB2_13
LBB2_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
mov w9, #10
mul w8, w8, w9
ldrsb w9, [sp, #7]
add w8, w8, w9
subs w8, w8, #48
str w8, [sp, #8]
bl _getchar
strb w0, [sp, #7]
ldrsb w8, [sp, #7]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_13 Depth=1
ldrsb w8, [sp, #7]
subs w8, w8, #57
cset w8, le
tbnz w8, #0, LBB2_16
b LBB2_15
LBB2_15:
ldr w8, [sp]
ldr w9, [sp, #8]
mul w8, w8, w9
stur w8, [x29, #-4]
b LBB2_17
LBB2_16: ; in Loop: Header=BB2_13 Depth=1
b LBB2_13
LBB2_17:
ldur w0, [x29, #-4]
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 get_double
lCPI3_0:
.quad 0x3fb999999999999a ; double 0.10000000000000001
lCPI3_1:
.quad 0x4048000000000000 ; double 48
.section __TEXT,__text,regular,pure_instructions
.globl _get_double
.p2align 2
_get_double: ; @get_double
.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
movi d0, #0000000000000000
stur d0, [x29, #-16]
bl _getchar
sturb w0, [x29, #-17]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldursb w8, [x29, #-17]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2:
fmov d0, #-1.00000000
stur d0, [x29, #-8]
b LBB3_25
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
mov w8, #1
str w8, [sp, #24]
b LBB3_12
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
bl _getchar
sturb w0, [x29, #-17]
ldursb w8, [x29, #-17]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_1 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #57
cset w8, le
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_1 Depth=1
b LBB3_1
LBB3_10:
mov w8, #-1
str w8, [sp, #24]
b LBB3_12
LBB3_11: ; in Loop: Header=BB3_1 Depth=1
bl _getchar
sturb w0, [x29, #-17]
b LBB3_1
LBB3_12:
b LBB3_13
LBB3_13: ; =>This Inner Loop Header: Depth=1
ldur d0, [x29, #-16]
ldursb w8, [x29, #-17]
scvtf d2, w8
fmov d1, #10.00000000
fmadd d0, d0, d1, d2
adrp x8, lCPI3_1@PAGE
ldr d1, [x8, lCPI3_1@PAGEOFF]
fsub d0, d0, d1
stur d0, [x29, #-16]
bl _getchar
sturb w0, [x29, #-17]
ldursb w8, [x29, #-17]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB3_20
b LBB3_14
LBB3_14:
adrp x8, lCPI3_0@PAGE
ldr d0, [x8, lCPI3_0@PAGEOFF]
str d0, [sp, #16]
bl _getchar
sturb w0, [x29, #-17]
b LBB3_15
LBB3_15: ; =>This Inner Loop Header: Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #48
cset w8, lt
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_15 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #57
cset w8, le
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_15 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB3_19
b LBB3_18
LBB3_18: ; in Loop: Header=BB3_15 Depth=1
ldr d0, [sp, #16]
ldursb w8, [x29, #-17]
subs w8, w8, #48
scvtf d1, w8
ldur d2, [x29, #-16]
fmadd d0, d0, d1, d2
stur d0, [x29, #-16]
ldr d0, [sp, #16]
fmov d1, #10.00000000
fdiv d0, d0, d1
str d0, [sp, #16]
bl _getchar
sturb w0, [x29, #-17]
b LBB3_15
LBB3_19:
ldr s1, [sp, #24]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur d1, [x29, #-16]
fmul d0, d0, d1
stur d0, [x29, #-8]
b LBB3_25
LBB3_20: ; in Loop: Header=BB3_13 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB3_22
b LBB3_21
LBB3_21: ; in Loop: Header=BB3_13 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #57
cset w8, le
tbnz w8, #0, LBB3_23
b LBB3_22
LBB3_22:
ldr s1, [sp, #24]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur d1, [x29, #-16]
fmul d0, d0, d1
stur d0, [x29, #-8]
b LBB3_25
LBB3_23: ; in Loop: Header=BB3_13 Depth=1
b LBB3_24
LBB3_24: ; in Loop: Header=BB3_13 Depth=1
b LBB3_13
LBB3_25:
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _a,204,2 ; @a
.comm _d,2040408,3 ; @d
.comm _p,408,3 ; @p
.comm _b,204,2 ; @b
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%.8f\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 foo
LCPI0_0:
.quad 0xbff0000000000000 ## double -1
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
.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 $80, %rsp
movl %edi, -12(%rbp)
movl %esi, -16(%rbp)
movsd %xmm0, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
movslq -12(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl $0, -12(%rbp)
jne LBB0_2
## %bb.1:
xorl %eax, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl -12(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
LBB0_3:
movl -44(%rbp), %eax ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
subl %ecx, %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -40(%rbp)
movl -12(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB0_8
## %bb.4:
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
cvtsi2sdl -16(%rbp), %xmm0
addsd %xmm0, %xmm1
cvtsi2sdl -32(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jbe LBB0_6
## %bb.5:
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp) ## 8-byte Spill
jmp LBB0_7
LBB0_6:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp) ## 8-byte Spill
LBB0_7:
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB0_13
LBB0_8:
movl -16(%rbp), %eax
cmpl -32(%rbp), %eax
jl LBB0_10
## %bb.9:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB0_13
LBB0_10:
movslq -12(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $40008, %rcx, %rcx ## imm = 0x9C48
addq %rcx, %rax
movslq -16(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_12
## %bb.11:
movslq -12(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $40008, %rcx, %rcx ## imm = 0x9C48
addq %rcx, %rax
movslq -16(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB0_13
LBB0_12:
movslq -12(%rbp), %rcx
movq _p@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp) ## 8-byte Spill
movl -12(%rbp), %edi
addl $1, %edi
cvtsi2sdl -16(%rbp), %xmm0
addsd -40(%rbp), %xmm0
cvttsd2si %xmm0, %esi
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -28(%rbp), %edx
movl -32(%rbp), %ecx
callq _foo
addsd -40(%rbp), %xmm0
movsd %xmm0, -72(%rbp) ## 8-byte Spill
movslq -12(%rbp), %rcx
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movq _p@GOTPCREL(%rip), %rax
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -80(%rbp) ## 8-byte Spill
movl -12(%rbp), %edi
addl $1, %edi
cvtsi2sdl -16(%rbp), %xmm0
addsd -40(%rbp), %xmm0
movslq -12(%rbp), %rcx
movq _b@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax,%rcx,4), %xmm1
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %esi
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -28(%rbp), %edx
movl -32(%rbp), %ecx
callq _foo
movsd -80(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -72(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movaps %xmm0, %xmm6
movsd -64(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd -40(%rbp), %xmm6
movslq -12(%rbp), %rcx
movq _b@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax,%rcx,4), %xmm3
addsd %xmm3, %xmm6
movsd -24(%rbp), %xmm5 ## xmm5 = mem[0],zero
addsd -40(%rbp), %xmm5
movaps %xmm5, %xmm7
movaps %xmm6, %xmm3
cmpunordsd %xmm3, %xmm3
movaps %xmm3, %xmm4
pand %xmm7, %xmm4
minsd %xmm6, %xmm5
pandn %xmm5, %xmm3
por %xmm4, %xmm3
mulsd %xmm3, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movslq -12(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $40008, %rcx, %rcx ## imm = 0x9C48
addq %rcx, %rax
movslq -16(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd %xmm0, -8(%rbp)
LBB0_13:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x426d1a94a2000000 ## double 1.0E+12
LCPI1_1:
.quad 0x3e7ad7f29abcaf48 ## double 9.9999999999999995E-8
LCPI1_2:
.quad 0x4000000000000000 ## double 2
LCPI1_3:
.quad 0xc024000000000000 ## double -10
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
callq _get_int
movl %eax, -16(%rbp)
callq _get_int
movl %eax, -20(%rbp)
callq _get_int
movl %eax, -24(%rbp)
movl $0, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _get_int
movl %eax, %edx
movslq -8(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
callq _get_double
movslq -8(%rbp), %rcx
movq _p@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax,%rcx,8)
callq _get_int
movl %eax, %edx
movslq -8(%rbp), %rcx
movq _b@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_4:
movl -16(%rbp), %edx
movslq -24(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
LBB1_5: ## =>This Loop Header: Depth=1
## Child Loop BB1_7 Depth 2
## Child Loop BB1_9 Depth 3
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -32(%rbp), %xmm0
movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB1_18
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -40(%rbp), %xmm0
movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp)
movl $0, -8(%rbp)
LBB1_7: ## Parent Loop BB1_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_9 Depth 3
movl -8(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB1_14
## %bb.8: ## in Loop: Header=BB1_7 Depth=2
movl $0, -12(%rbp)
LBB1_9: ## Parent Loop BB1_5 Depth=1
## Parent Loop BB1_7 Depth=2
## => This Inner Loop Header: Depth=3
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB1_12
## %bb.10: ## in Loop: Header=BB1_9 Depth=3
movslq -8(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $40008, %rcx, %rcx ## imm = 0x9C48
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
## %bb.11: ## in Loop: Header=BB1_9 Depth=3
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_9
LBB1_12: ## in Loop: Header=BB1_7 Depth=2
jmp LBB1_13
LBB1_13: ## in Loop: Header=BB1_7 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_7
LBB1_14: ## in Loop: Header=BB1_5 Depth=1
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
xorl %esi, %esi
movl %esi, %edi
callq _foo
movsd %xmm0, -56(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -48(%rbp), %xmm0
jbe LBB1_16
## %bb.15: ## in Loop: Header=BB1_5 Depth=1
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
jmp LBB1_17
LBB1_16: ## in Loop: Header=BB1_5 Depth=1
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
LBB1_17: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_5
LBB1_18:
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
xorl %esi, %esi
movl %esi, %edi
callq _foo
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_int ## -- Begin function get_int
.p2align 4, 0x90
_get_int: ## @get_int
.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, -8(%rbp)
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -9(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movsbl -9(%rbp), %eax
cmpl $-1, %eax
jne LBB2_3
## %bb.2:
movl $-1, -4(%rbp)
jmp LBB2_17
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movsbl -9(%rbp), %eax
cmpl $48, %eax
jl LBB2_6
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movsbl -9(%rbp), %eax
cmpl $57, %eax
jg LBB2_6
## %bb.5:
movl $1, -16(%rbp)
jmp LBB2_12
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movsbl -9(%rbp), %eax
cmpl $45, %eax
jne LBB2_11
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -9(%rbp)
movsbl -9(%rbp), %eax
cmpl $48, %eax
jl LBB2_9
## %bb.8: ## in Loop: Header=BB2_1 Depth=1
movsbl -9(%rbp), %eax
cmpl $57, %eax
jle LBB2_10
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_10:
movl $-1, -16(%rbp)
jmp LBB2_12
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -9(%rbp)
jmp LBB2_1
LBB2_12:
jmp LBB2_13
LBB2_13: ## =>This Inner Loop Header: Depth=1
imull $10, -8(%rbp), %eax
movsbl -9(%rbp), %ecx
addl %ecx, %eax
subl $48, %eax
movl %eax, -8(%rbp)
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -9(%rbp)
movsbl -9(%rbp), %eax
cmpl $48, %eax
jl LBB2_15
## %bb.14: ## in Loop: Header=BB2_13 Depth=1
movsbl -9(%rbp), %eax
cmpl $57, %eax
jle LBB2_16
LBB2_15:
movl -16(%rbp), %eax
imull -8(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB2_17
LBB2_16: ## in Loop: Header=BB2_13 Depth=1
jmp LBB2_13
LBB2_17:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function get_double
LCPI3_0:
.quad 0x4048000000000000 ## double 48
LCPI3_1:
.quad 0x4024000000000000 ## double 10
LCPI3_2:
.quad 0x3fb999999999999a ## double 0.10000000000000001
LCPI3_3:
.quad 0xbff0000000000000 ## double -1
.section __TEXT,__text,regular,pure_instructions
.globl _get_double
.p2align 4, 0x90
_get_double: ## @get_double
.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
xorps %xmm0, %xmm0
movsd %xmm0, -16(%rbp)
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movsbl -17(%rbp), %eax
cmpl $-1, %eax
jne LBB3_3
## %bb.2:
movsd LCPI3_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB3_25
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movsbl -17(%rbp), %eax
cmpl $48, %eax
jl LBB3_6
## %bb.4: ## in Loop: Header=BB3_1 Depth=1
movsbl -17(%rbp), %eax
cmpl $57, %eax
jg LBB3_6
## %bb.5:
movl $1, -24(%rbp)
jmp LBB3_12
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
movsbl -17(%rbp), %eax
cmpl $45, %eax
jne LBB3_11
## %bb.7: ## in Loop: Header=BB3_1 Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movsbl -17(%rbp), %eax
cmpl $48, %eax
jl LBB3_9
## %bb.8: ## in Loop: Header=BB3_1 Depth=1
movsbl -17(%rbp), %eax
cmpl $57, %eax
jle LBB3_10
LBB3_9: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_1
LBB3_10:
movl $-1, -24(%rbp)
jmp LBB3_12
LBB3_11: ## in Loop: Header=BB3_1 Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
jmp LBB3_1
LBB3_12:
jmp LBB3_13
LBB3_13: ## =>This Inner Loop Header: Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsbl -17(%rbp), %eax
cvtsi2sd %eax, %xmm1
movsd LCPI3_1(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd LCPI3_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movsbl -17(%rbp), %eax
cmpl $46, %eax
jne LBB3_20
## %bb.14:
movsd LCPI3_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
LBB3_15: ## =>This Inner Loop Header: Depth=1
movsbl -17(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $48, %ecx
movb %al, -33(%rbp) ## 1-byte Spill
jl LBB3_17
## %bb.16: ## in Loop: Header=BB3_15 Depth=1
movsbl -17(%rbp), %eax
cmpl $57, %eax
setle %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB3_17: ## in Loop: Header=BB3_15 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_18
jmp LBB3_19
LBB3_18: ## in Loop: Header=BB3_15 Depth=1
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsbl -17(%rbp), %eax
subl $48, %eax
cvtsi2sd %eax, %xmm2
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI3_1(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp)
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
jmp LBB3_15
LBB3_19:
cvtsi2sdl -24(%rbp), %xmm0
mulsd -16(%rbp), %xmm0
movsd %xmm0, -8(%rbp)
jmp LBB3_25
LBB3_20: ## in Loop: Header=BB3_13 Depth=1
movsbl -17(%rbp), %eax
cmpl $48, %eax
jl LBB3_22
## %bb.21: ## in Loop: Header=BB3_13 Depth=1
movsbl -17(%rbp), %eax
cmpl $57, %eax
jle LBB3_23
LBB3_22:
cvtsi2sdl -24(%rbp), %xmm0
mulsd -16(%rbp), %xmm0
movsd %xmm0, -8(%rbp)
jmp LBB3_25
LBB3_23: ## in Loop: Header=BB3_13 Depth=1
jmp LBB3_24
LBB3_24: ## in Loop: Header=BB3_13 Depth=1
jmp LBB3_13
LBB3_25:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,204,4 ## @a
.comm _d,2040408,4 ## @d
.comm _p,408,4 ## @p
.comm _b,204,4 ## @b
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%.8f\n"
.subsections_via_symbols
| the_stack_data/7949175.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_sqrt ; -- Begin function ft_sqrt
.p2align 2
_ft_sqrt: ; @ft_sqrt
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
str wzr, [sp, #12]
b LBB0_8
LBB0_2:
mov x8, #1
str x8, [sp]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x9, [sp]
mul x8, x8, x9
ldrsw x9, [sp, #8]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB0_3
LBB0_5:
ldr x8, [sp]
ldr x9, [sp]
mul x8, x8, x9
ldrsw x9, [sp, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
b LBB0_8
LBB0_7:
str wzr, [sp, #12]
b LBB0_8
LBB0_8:
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 _ft_sqrt ## -- Begin function ft_sqrt
.p2align 4, 0x90
_ft_sqrt: ## @ft_sqrt
.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)
cmpl $0, -8(%rbp)
jg LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_8
LBB0_2:
movq $1, -16(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
imulq -16(%rbp), %rax
movslq -8(%rbp), %rcx
cmpq %rcx, %rax
jge LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB0_3
LBB0_5:
movq -16(%rbp), %rax
imulq -16(%rbp), %rax
movslq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.6:
movq -16(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB0_8
LBB0_7:
movl $0, -4(%rbp)
LBB0_8:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/18476.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, #2048
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #36]
str w0, [sp, #32]
str x1, [sp, #24]
ldr w0, [sp, #32]
ldr x1, [sp, #24]
adrp x2, _tab@GOTPAGE
ldr x2, [x2, _tab@GOTPAGEOFF]
bl _settab
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #1040
mov w1, #1000
bl _get_line
str w0, [sp, #20]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #40
str x0, [sp, #8] ; 8-byte Folded Spill
add x1, sp, #1040
bl _entab
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_3:
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:
mov w0, #0
add sp, sp, #2048
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_line ; -- Begin function get_line
.p2align 2
_get_line: ; @get_line
.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, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _getchar
str w0, [sp, #16]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_7:
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
mov x11, x10
add w11, w11, #1
str w11, [sp, #12]
strb w8, [x9, x10]
b LBB1_9
LBB1_9:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9
strb wzr, [x8]
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _entab ; -- Begin function entab
.p2align 2
_entab: ; @entab
.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 wzr, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
str wzr, [sp, #20]
str wzr, [sp, #24]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_11 Depth 2
; Child Loop BB2_16 Depth 2
; Child Loop BB2_21 Depth 2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
stur w8, [x29, #-20]
adds w8, w8, #1
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB2_27
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB2_9
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
add w0, w8, #1
adrp x1, _tab@GOTPAGE
ldr x1, [x1, _tab@GOTPAGEOFF]
bl _tabpos
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
str wzr, [sp, #12]
b LBB2_8
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB2_25
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
b LBB2_11
LBB2_11: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_14
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_11 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
add x9, x8, x9
mov w8, #9
strb w8, [x9]
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_11 Depth=2
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_11
LBB2_14: ; in Loop: Header=BB2_1 Depth=1
str wzr, [sp, #16]
ldur w8, [x29, #-20]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB2_20
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_1 Depth=1
str wzr, [sp, #12]
b LBB2_16
LBB2_16: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
add w9, w8, #1
adrp x8, _tab@GOTPAGE
ldr x8, [x8, _tab@GOTPAGEOFF]
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB2_19
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_16 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
add x9, x8, x9
mov w8, #32
strb w8, [x9]
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_16 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_16
LBB2_19: ; in Loop: Header=BB2_1 Depth=1
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_1 Depth=1
b LBB2_21
LBB2_21: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_24
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_21 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
add x9, x8, x9
mov w8, #32
strb w8, [x9]
b LBB2_23
LBB2_23: ; in Loop: Header=BB2_21 Depth=2
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_21
LBB2_24: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #20]
mov x11, x10
add w11, w11, #1
str w11, [sp, #20]
strb w8, [x9, x10]
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_1 Depth=1
b LBB2_26
LBB2_26: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_1
LBB2_27:
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB2_29
b LBB2_28
LBB2_28:
ldur w8, [x29, #-20]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #20]
mov x11, x10
add w11, w11, #1
str w11, [sp, #20]
strb w8, [x9, x10]
b LBB2_29
LBB2_29:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
add x8, x8, x9
strb wzr, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _tab,1000,0 ; @tab
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 $2048, %rsp ## imm = 0x800
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2020(%rbp)
movl %edi, -2024(%rbp)
movq %rsi, -2032(%rbp)
movl -2024(%rbp), %edi
movq -2032(%rbp), %rsi
movq _tab@GOTPCREL(%rip), %rdx
callq _settab
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -1008(%rbp), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _get_line
movl %eax, -2036(%rbp)
cmpl $0, %eax
jle LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -2016(%rbp), %rdi
leaq -1008(%rbp), %rsi
callq _entab
leaq -2016(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
xorl %eax, %eax
addq $2048, %rsp ## imm = 0x800
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _get_line ## -- Begin function get_line
.p2align 4, 0x90
_get_line: ## @get_line
.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, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %ecx
movl -12(%rbp), %edx
subl $1, %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _getchar
movl %eax, %ecx
movl %ecx, -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -16(%rbp)
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_7
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $10, -16(%rbp)
jne LBB1_9
## %bb.8:
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -20(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB1_9:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb $0, (%rax,%rcx)
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _entab ## -- Begin function entab
.p2align 4, 0x90
_entab: ## @entab
.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)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
movl $0, -28(%rbp)
movl $0, -24(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_11 Depth 2
## Child Loop BB2_16 Depth 2
## Child Loop BB2_21 Depth 2
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
movl %ecx, -20(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -41(%rbp) ## 1-byte Spill
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
cmpl $10, -20(%rbp)
setne %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movb -41(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_4
jmp LBB2_27
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
cmpl $32, -20(%rbp)
jne LBB2_9
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl -40(%rbp), %edi
addl $1, %edi
movq _tab@GOTPCREL(%rip), %rsi
callq _tabpos
cmpl $1, %eax
jne LBB2_7
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl $0, -36(%rbp)
jmp LBB2_8
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_9
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
cmpl $32, -20(%rbp)
je LBB2_25
## %bb.10: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_11
LBB2_11: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -32(%rbp)
jle LBB2_14
## %bb.12: ## in Loop: Header=BB2_11 Depth=2
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movb $9, (%rax,%rcx)
## %bb.13: ## in Loop: Header=BB2_11 Depth=2
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_11
LBB2_14: ## in Loop: Header=BB2_1 Depth=1
movl $0, -32(%rbp)
cmpl $9, -20(%rbp)
jne LBB2_20
## %bb.15: ## in Loop: Header=BB2_1 Depth=1
movl $0, -36(%rbp)
LBB2_16: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _tab@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $1, %eax
je LBB2_19
## %bb.17: ## in Loop: Header=BB2_16 Depth=2
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movb $32, (%rax,%rcx)
## %bb.18: ## in Loop: Header=BB2_16 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_16
LBB2_19: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_20
LBB2_20: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_21
LBB2_21: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -36(%rbp)
jle LBB2_24
## %bb.22: ## in Loop: Header=BB2_21 Depth=2
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movb $32, (%rax,%rcx)
## %bb.23: ## in Loop: Header=BB2_21 Depth=2
movl -36(%rbp), %eax
addl $-1, %eax
movl %eax, -36(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_21
LBB2_24: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -28(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB2_25: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_26
LBB2_26: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB2_1
LBB2_27:
cmpl $10, -20(%rbp)
jne LBB2_29
## %bb.28:
movl -20(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -28(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB2_29:
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movb $0, (%rax,%rcx)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tab,1000,4 ## @tab
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/453529.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _FlowerATiles ; @FlowerATiles
.p2align 2
_FlowerATiles:
.long 2936012800 ; 0xaf000000
.long 1600192448 ; 0x5f60ffc0
.long 1600192480 ; 0x5f60ffe0
.long 2852148608 ; 0xaa005580
.long 983040 ; 0xf0000
.long 10420287 ; 0x9f003f
.long 10420415 ; 0x9f00bf
.long 655397 ; 0xa0025
.long 2852126720 ; 0xaa000000
.long 4292915072 ; 0xffe0af80
.long 4292915104 ; 0xffe0afa0
.long 2852171648 ; 0xaa00af80
.long 655360 ; 0xa0000
.long 12517423 ; 0xbf002f
.long 12517551 ; 0xbf00af
.long 655407 ; 0xa002f
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.globl _FlowerAMap ; @FlowerAMap
.p2align 2
_FlowerAMap:
.short 0 ; 0x0
.short 1 ; 0x1
.short 2 ; 0x2
.short 3 ; 0x3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _FlowerATiles ## @FlowerATiles
.p2align 2
_FlowerATiles:
.long 2936012800 ## 0xaf000000
.long 1600192448 ## 0x5f60ffc0
.long 1600192480 ## 0x5f60ffe0
.long 2852148608 ## 0xaa005580
.long 983040 ## 0xf0000
.long 10420287 ## 0x9f003f
.long 10420415 ## 0x9f00bf
.long 655397 ## 0xa0025
.long 2852126720 ## 0xaa000000
.long 4292915072 ## 0xffe0af80
.long 4292915104 ## 0xffe0afa0
.long 2852171648 ## 0xaa00af80
.long 655360 ## 0xa0000
.long 12517423 ## 0xbf002f
.long 12517551 ## 0xbf00af
.long 655407 ## 0xa002f
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.globl _FlowerAMap ## @FlowerAMap
.p2align 2
_FlowerAMap:
.short 0 ## 0x0
.short 1 ## 0x1
.short 2 ## 0x2
.short 3 ## 0x3
.subsections_via_symbols
| the_stack_data/57412.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_fun ; -- Begin function test_fun
.p2align 2
_test_fun: ; @test_fun
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, #44]
str w1, [sp, #40]
add x8, sp, #16
str x8, [sp, #32]
add x8, sp, #8
str x8, [sp, #24]
ldr w8, [sp, #44]
ldr x9, [sp, #32]
str w8, [x9]
ldr w8, [sp, #40]
ldr x9, [sp, #24]
str w8, [x9]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_6 Depth 2
ldr x8, [sp, #32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
subs w8, w8, #0
cset w8, gt
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_14
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #32]
ldr w8, [x8]
ldr x9, [sp, #24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=2
ldr x8, [sp, #32]
ldr w8, [x8]
subs w8, w8, #1
ldr x9, [sp, #32]
str w8, [x9]
b LBB0_6
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
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
ldr x8, [sp, #24]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #24]
ldr w8, [x8]
subs w8, w8, #1
ldr x9, [sp, #24]
str w8, [x9]
b LBB0_10
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_14:
ldr x8, [sp, #32]
ldr w8, [x8]
ldr x9, [sp, #24]
ldr w9, [x9]
add w0, w8, w9
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, #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 ___VERIFIER_nondet_int
str w0, [sp, #8] ; 4-byte Folded Spill
bl ___VERIFIER_nondet_int
mov x1, x0
ldr w0, [sp, #8] ; 4-byte Folded Reload
bl _test_fun
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 _test_fun ## -- Begin function test_fun
.p2align 4, 0x90
_test_fun: ## @test_fun
.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)
leaq -32(%rbp), %rax
movq %rax, -16(%rbp)
leaq -48(%rbp), %rax
movq %rax, -24(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_10 Depth 2
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, (%rcx)
movb %al, -49(%rbp) ## 1-byte Spill
jle LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
cmpl $0, (%rax)
setg %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -49(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_14
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB0_9
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpl $0, (%rax)
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movq -16(%rbp), %rax
movl (%rax), %ecx
subl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
jmp LBB0_6
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_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
movq -24(%rbp), %rax
cmpl $0, (%rax)
jle LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movq -24(%rbp), %rax
movl (%rax), %ecx
subl $1, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
jmp LBB0_10
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_14:
movq -16(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
addl (%rcx), %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_int
movl %eax, -8(%rbp) ## 4-byte Spill
callq ___VERIFIER_nondet_int
movl -8(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _test_fun
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/181394606.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _clang_x86intrin_buf ; @clang_x86intrin_buf
_clang_x86intrin_buf:
.ascii "/*===---- x86intrin.h - X86 intrinsics -------------------------------------===\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n *===-----------------------------------------------------------------------===\n */\n\n#ifndef __X86INTRIN_H\n#define __X86INTRIN_H\n\n#include <ia32intrin.h>\n\n#include <immintrin.h>\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__3dNOW__)\n#include <mm3dnow.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI__)\n#include <bmiintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI2__)\n#include <bmi2intrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__LZCNT__)\n#include <lzcntintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__POPCNT__)\n#include <popcntintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__RDSEED__)\n#include <rdseedintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__PRFCHW__)\n#include <prfchwintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__SSE4A__)\n#include <ammintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__FMA4__)\n#include <fma4intrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__XOP__)\n#include <xopintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__TBM__)\n#include <tbmintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__F16C__)\n#include <f16cintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__MWAITX__)\n#include <mwaitxintrin.h>\n#endif\n\n/* FIXME: LWP */\n\n#endif /* __X86INTRIN_H */\n"
.globl _clang_x86intrin_buf_size ; @clang_x86intrin_buf_size
.p2align 2
_clang_x86intrin_buf_size:
.long 2718 ; 0xa9e
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _clang_x86intrin_buf ## @clang_x86intrin_buf
.p2align 4
_clang_x86intrin_buf:
.ascii "/*===---- x86intrin.h - X86 intrinsics -------------------------------------===\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n *===-----------------------------------------------------------------------===\n */\n\n#ifndef __X86INTRIN_H\n#define __X86INTRIN_H\n\n#include <ia32intrin.h>\n\n#include <immintrin.h>\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__3dNOW__)\n#include <mm3dnow.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI__)\n#include <bmiintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI2__)\n#include <bmi2intrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__LZCNT__)\n#include <lzcntintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__POPCNT__)\n#include <popcntintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__RDSEED__)\n#include <rdseedintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__PRFCHW__)\n#include <prfchwintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__SSE4A__)\n#include <ammintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__FMA4__)\n#include <fma4intrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__XOP__)\n#include <xopintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__TBM__)\n#include <tbmintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__F16C__)\n#include <f16cintrin.h>\n#endif\n\n#if !defined(_MSC_VER) || __has_feature(modules) || defined(__MWAITX__)\n#include <mwaitxintrin.h>\n#endif\n\n/* FIXME: LWP */\n\n#endif /* __X86INTRIN_H */\n"
.globl _clang_x86intrin_buf_size ## @clang_x86intrin_buf_size
.p2align 2
_clang_x86intrin_buf_size:
.long 2718 ## 0xa9e
.subsections_via_symbols
| the_stack_data/70451158.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ; -- Begin function sort
.p2align 2
_sort: ; @sort
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #16]
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #16]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
str w8, [x9, x10, lsl #2]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_10:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _find ; -- Begin function find
.p2align 2
_find: ; @find
.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 w1, [x29, #-20]
stur w2, [x29, #-24]
stur w3, [x29, #-28]
mov w8, #-1
stur w8, [x29, #-32]
stur w8, [x29, #-36]
ldur w8, [x29, #-28]
ldur x9, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur w8, [x29, #-24]
ldur x9, [x29, #-16]
ldur w10, [x29, #-20]
subs w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
stur wzr, [x29, #-4]
b LBB1_29
LBB1_3:
str wzr, [sp, #40]
ldur w8, [x29, #-20]
str w8, [sp, #36]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldr w9, [sp, #40]
subs w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_8
b LBB1_5
LBB1_5:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #40]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
ldr w8, [sp, #40]
stur w8, [x29, #-32]
b LBB1_7
LBB1_7:
b LBB1_15
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #32]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
ldr w8, [sp, #32]
str w8, [sp, #36]
b LBB1_14
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #32]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
ldr w8, [sp, #32]
stur w8, [x29, #-32]
b LBB1_15
LBB1_12: ; in Loop: Header=BB1_4 Depth=1
ldr w8, [sp, #32]
str w8, [sp, #40]
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_4 Depth=1
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_15:
ldur w8, [x29, #-32]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_29
LBB1_17:
ldur w8, [x29, #-32]
ldur w9, [x29, #-28]
add w8, w8, w9
ldur w9, [x29, #-24]
subs w8, w8, w9
add w8, w8, #1
str w8, [sp, #28]
ldr w8, [sp, #28]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
ldur w8, [x29, #-20]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB1_20
LBB1_19:
ldr w8, [sp, #28]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB1_20
LBB1_20:
ldr w8, [sp, #20] ; 4-byte Folded Reload
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #24]
b LBB1_21
LBB1_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_26
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_21 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_24
b LBB1_23
LBB1_23:
ldr w8, [sp, #24]
stur w8, [x29, #-36]
b LBB1_26
LBB1_24: ; in Loop: Header=BB1_21 Depth=1
b LBB1_25
LBB1_25: ; in Loop: Header=BB1_21 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB1_21
LBB1_26:
ldur w8, [x29, #-36]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_29
LBB1_28:
ldur w8, [x29, #-32]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-36]
; 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 w8, [x29, #-36]
ldur w9, [x29, #-32]
subs w8, w8, w9
add w8, w8, #1
stur w8, [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
; -- 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]
stur wzr, [x29, #-16]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldursw x9, [x29, #-8]
mov x8, #4
mul x0, x8, x9
bl _malloc
str x0, [sp, #24]
stur wzr, [x29, #-16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
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
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
ldr x9, [sp, #24]
ldursw x10, [x29, #-16]
str w8, [x9, x10, lsl #2]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB2_1
LBB2_4:
ldr x0, [sp, #24]
ldur w1, [x29, #-8]
bl _sort
ldursw x9, [x29, #-12]
mov x8, #4
mul x8, x8, x9
lsl x0, x8, #1
bl _malloc
str x0, [sp, #16]
stur wzr, [x29, #-16]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9, lsl #1
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
mov x9, sp
sub x8, x29, #24
str x8, [x9]
sub x8, x29, #28
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur w8, [x29, #-24]
ldr x9, [sp, #16]
ldursw x10, [x29, #-16]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-28]
ldr x9, [sp, #16]
ldur w10, [x29, #-16]
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #2
stur w8, [x29, #-16]
b LBB2_5
LBB2_8:
stur wzr, [x29, #-16]
b LBB2_9
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9, lsl #1
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [sp, #16]
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-24]
ldr x8, [sp, #16]
ldur w9, [x29, #-16]
add w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
stur w8, [x29, #-28]
ldr x0, [sp, #24]
ldur w1, [x29, #-8]
ldur w2, [x29, #-24]
ldur w3, [x29, #-28]
bl _find
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_9 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #2
stur w8, [x29, #-16]
b LBB2_9
LBB2_12:
ldr x0, [sp, #24]
bl _free
ldr x0, [sp, #16]
bl _free
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 "left Error"
l_.str.1: ; @.str.1
.asciz "right Error"
l_.str.2: ; @.str.2
.asciz "%d %d\n"
l_.str.3: ; @.str.3
.asciz "%d %d"
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ## -- Begin function sort
.p2align 4, 0x90
_sort: ## @sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -20(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $1, -20(%rbp)
jl LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
subl $1, %eax
movl %eax, -24(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -24(%rbp)
jl LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movslq -24(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -16(%rbp), %edx
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _find ## -- Begin function find
.p2align 4, 0x90
_find: ## @find
.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)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
movl $-1, -32(%rbp)
movl $-1, -36(%rbp)
movl -28(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB1_2
## %bb.1:
movl -24(%rbp), %eax
movq -16(%rbp), %rcx
movl -20(%rbp), %edx
subl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB1_3
LBB1_2:
movl $0, -4(%rbp)
jmp LBB1_29
LBB1_3:
movl $0, -40(%rbp)
movl -20(%rbp), %eax
movl %eax, -44(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
subl -40(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -48(%rbp)
cmpl $0, -48(%rbp)
jg LBB1_8
## %bb.5:
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -24(%rbp), %eax
jg LBB1_7
## %bb.6:
movl -40(%rbp), %eax
movl %eax, -32(%rbp)
LBB1_7:
jmp LBB1_15
LBB1_8: ## in Loop: Header=BB1_4 Depth=1
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -24(%rbp), %eax
jge LBB1_10
## %bb.9: ## in Loop: Header=BB1_4 Depth=1
movl -48(%rbp), %eax
movl %eax, -44(%rbp)
jmp LBB1_14
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -24(%rbp), %eax
jne LBB1_12
## %bb.11:
movl -48(%rbp), %eax
movl %eax, -32(%rbp)
jmp LBB1_15
LBB1_12: ## in Loop: Header=BB1_4 Depth=1
movl -48(%rbp), %eax
movl %eax, -40(%rbp)
## %bb.13: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_14
LBB1_14: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_15:
cmpl $-1, -32(%rbp)
jne LBB1_17
## %bb.16:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB1_29
LBB1_17:
movl -32(%rbp), %eax
addl -28(%rbp), %eax
subl -24(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
cmpl -20(%rbp), %eax
jle LBB1_19
## %bb.18:
movl -20(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
jmp LBB1_20
LBB1_19:
movl -52(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
LBB1_20:
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
subl $1, %eax
movl %eax, -56(%rbp)
LBB1_21: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
cmpl -32(%rbp), %eax
jl LBB1_26
## %bb.22: ## in Loop: Header=BB1_21 Depth=1
movq -16(%rbp), %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -28(%rbp), %eax
jg LBB1_24
## %bb.23:
movl -56(%rbp), %eax
movl %eax, -36(%rbp)
jmp LBB1_26
LBB1_24: ## in Loop: Header=BB1_21 Depth=1
jmp LBB1_25
LBB1_25: ## in Loop: Header=BB1_21 Depth=1
movl -56(%rbp), %eax
addl $-1, %eax
movl %eax, -56(%rbp)
jmp LBB1_21
LBB1_26:
cmpl $-1, -36(%rbp)
jne LBB1_28
## %bb.27:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB1_29
LBB1_28:
movl -32(%rbp), %esi
movl -36(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -36(%rbp), %eax
subl -32(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
LBB1_29:
movl -4(%rbp), %eax
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 $48, %rsp
movl $0, -4(%rbp)
movl $0, -16(%rbp)
leaq L_.str.3(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -40(%rbp)
movl $0, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str.4(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl -20(%rbp), %edx
movq -40(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_1
LBB2_4:
movq -40(%rbp), %rdi
movl -8(%rbp), %esi
callq _sort
movslq -12(%rbp), %rdi
shlq $2, %rdi
shlq $1, %rdi
callq _malloc
movq %rax, -48(%rbp)
movl $0, -16(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
shll $1, %ecx
cmpl %ecx, %eax
jge LBB2_8
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
leaq L_.str.3(%rip), %rdi
leaq -24(%rbp), %rsi
leaq -28(%rbp), %rdx
movb $0, %al
callq _scanf
movl -24(%rbp), %edx
movq -48(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %edx
movq -48(%rbp), %rax
movl -16(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movl -16(%rbp), %eax
addl $2, %eax
movl %eax, -16(%rbp)
jmp LBB2_5
LBB2_8:
movl $0, -16(%rbp)
LBB2_9: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
shll $1, %ecx
cmpl %ecx, %eax
jge LBB2_12
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movq -48(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
movq -48(%rbp), %rax
movl -16(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movq -40(%rbp), %rdi
movl -8(%rbp), %esi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
callq _find
movl %eax, %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.11: ## in Loop: Header=BB2_9 Depth=1
movl -16(%rbp), %eax
addl $2, %eax
movl %eax, -16(%rbp)
jmp LBB2_9
LBB2_12:
movq -40(%rbp), %rdi
callq _free
movq -48(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "left Error"
L_.str.1: ## @.str.1
.asciz "right Error"
L_.str.2: ## @.str.2
.asciz "%d %d\n"
L_.str.3: ## @.str.3
.asciz "%d %d"
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/86281.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _malloc_test ; -- Begin function malloc_test
.p2align 2
_malloc_test: ; @malloc_test
.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 _calloc_test ; -- Begin function calloc_test
.p2align 2
_calloc_test: ; @calloc_test
.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 x1, [sp, #8]
mov x0, #1
bl _calloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _realloc_test ; -- Begin function realloc_test
.p2align 2
_realloc_test: ; @realloc_test
.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 _aligned_alloc_variable_test ; -- Begin function aligned_alloc_variable_test
.p2align 2
_aligned_alloc_variable_test: ; @aligned_alloc_variable_test
.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]
ldr x1, [sp, #8]
bl _aligned_alloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _aligned_alloc_constant_test ; -- Begin function aligned_alloc_constant_test
.p2align 2
_aligned_alloc_constant_test: ; @aligned_alloc_constant_test
.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 x1, [sp, #8]
mov x0, #8
bl _aligned_alloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _aligned_alloc_large_constant_test ; -- Begin function aligned_alloc_large_constant_test
.p2align 2
_aligned_alloc_large_constant_test: ; @aligned_alloc_large_constant_test
.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 x1, [sp, #8]
mov x0, #4096
bl _aligned_alloc
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 _malloc_test ## -- Begin function malloc_test
.p2align 4, 0x90
_malloc_test: ## @malloc_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
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _malloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calloc_test ## -- Begin function calloc_test
.p2align 4, 0x90
_calloc_test: ## @calloc_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
movq %rdi, -8(%rbp)
movq -8(%rbp), %rsi
movl $1, %edi
callq _calloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _realloc_test ## -- Begin function realloc_test
.p2align 4, 0x90
_realloc_test: ## @realloc_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
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 _aligned_alloc_variable_test ## -- Begin function aligned_alloc_variable_test
.p2align 4, 0x90
_aligned_alloc_variable_test: ## @aligned_alloc_variable_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
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
callq _aligned_alloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _aligned_alloc_constant_test ## -- Begin function aligned_alloc_constant_test
.p2align 4, 0x90
_aligned_alloc_constant_test: ## @aligned_alloc_constant_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
movq %rdi, -8(%rbp)
movq -8(%rbp), %rsi
movl $8, %edi
callq _aligned_alloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _aligned_alloc_large_constant_test ## -- Begin function aligned_alloc_large_constant_test
.p2align 4, 0x90
_aligned_alloc_large_constant_test: ## @aligned_alloc_large_constant_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
movq %rdi, -8(%rbp)
movq -8(%rbp), %rsi
movl $4096, %edi ## imm = 0x1000
callq _aligned_alloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/48574817.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _info ; -- Begin function info
.p2align 2
_info: ; @info
.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
bl _rand
mov w9, #239
stur w9, [x29, #-28] ; 4-byte Folded Spill
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-52] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-48] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-44] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-40] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-36] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-32] ; 4-byte Folded Spill
bl _rand
ldur w17, [x29, #-52] ; 4-byte Folded Reload
ldur w16, [x29, #-48] ; 4-byte Folded Reload
ldur w15, [x29, #-44] ; 4-byte Folded Reload
ldur w14, [x29, #-40] ; 4-byte Folded Reload
ldur w13, [x29, #-36] ; 4-byte Folded Reload
ldur w12, [x29, #-32] ; 4-byte Folded Reload
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w10, w8, #17
mov x9, sp
mov x8, #1
stur x8, [x29, #-8] ; 8-byte Folded Spill
str x8, [x9]
; implicit-def: $x11
mov x11, x17
str x11, [x9, #8]
str x8, [x9, #16]
; implicit-def: $x11
mov x11, x16
str x11, [x9, #24]
str x8, [x9, #32]
; implicit-def: $x11
mov x11, x15
str x11, [x9, #40]
str x8, [x9, #48]
; implicit-def: $x11
mov x11, x14
str x11, [x9, #56]
str x8, [x9, #64]
; implicit-def: $x11
mov x11, x13
str x11, [x9, #72]
str x8, [x9, #80]
; implicit-def: $x11
mov x11, x12
str x11, [x9, #88]
str x8, [x9, #96]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #104]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-24] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-20] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-16] ; 4-byte Folded Spill
bl _rand
ldur w9, [x29, #-28] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
stur w8, [x29, #-12] ; 4-byte Folded Spill
bl _rand
ldur w10, [x29, #-28] ; 4-byte Folded Reload
ldur w15, [x29, #-24] ; 4-byte Folded Reload
ldur w14, [x29, #-20] ; 4-byte Folded Reload
ldur w13, [x29, #-16] ; 4-byte Folded Reload
ldur w12, [x29, #-12] ; 4-byte Folded Reload
ldur x8, [x29, #-8] ; 8-byte Folded Reload
sdiv w9, w0, w10
mul w9, w9, w10
subs w9, w0, w9
add w10, w9, #17
mov x9, sp
str x8, [x9]
; implicit-def: $x11
mov x11, x15
str x11, [x9, #8]
str x8, [x9, #16]
; implicit-def: $x11
mov x11, x14
str x11, [x9, #24]
str x8, [x9, #32]
; implicit-def: $x11
mov x11, x13
str x11, [x9, #40]
str x8, [x9, #48]
; implicit-def: $x11
mov x11, x12
str x11, [x9, #56]
str x8, [x9, #64]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #72]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
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, #10320
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #2128
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #148]
str w0, [sp, #144]
str x1, [sp, #136]
mov w8, #1
str w8, [sp, #84] ; 4-byte Folded Spill
str w8, [sp, #132]
str wzr, [sp, #128]
str wzr, [sp, #124]
str wzr, [sp, #120]
str wzr, [sp, #116]
mov x0, #10000
bl _malloc
str x0, [sp, #104]
str wzr, [sp, #92]
str wzr, [sp, #88]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
ldr w8, [sp, #84] ; 4-byte Folded Reload
str w8, [sp, #112]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #112]
ldr w9, [sp, #144]
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 x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
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 LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #112]
add w8, w8, #1
str w8, [sp, #112]
b LBB1_1
LBB1_4:
mov w8, #1
str w8, [sp, #112]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #112]
ldr w9, [sp, #144]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_46
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
bl _info
mov w0, #0
bl _exit
LBB1_10: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_5 Depth=1
mov w8, #1
str w8, [sp, #124]
b LBB1_43
LBB1_14: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_5 Depth=1
mov w8, #1
str w8, [sp, #120]
b LBB1_42
LBB1_18: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_21
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_5 Depth=1
mov w8, #1
str w8, [sp, #116]
b LBB1_41
LBB1_22: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_26
b LBB1_25
LBB1_25: ; in Loop: Header=BB1_5 Depth=1
str wzr, [sp, #132]
b LBB1_40
LBB1_26: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_29
b LBB1_27
LBB1_27: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_29
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_30
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_5 Depth=1
mov w8, #1
str w8, [sp, #128]
b LBB1_39
LBB1_30: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_33
b LBB1_31
LBB1_31: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_33
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_34
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_5 Depth=1
mov w8, #2
str w8, [sp, #128]
b LBB1_38
LBB1_34: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _fopen
ldrsw x9, [sp, #88]
add x8, sp, #152
str x0, [x8, x9, lsl #3]
ldrsw x9, [sp, #88]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_36
b LBB1_35
LBB1_35:
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_36: ; in Loop: Header=BB1_5 Depth=1
ldr x8, [sp, #136]
ldr w9, [sp, #112]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
ldr w8, [sp, #88]
add w8, w8, #1
str w8, [sp, #88]
b LBB1_37
LBB1_37: ; in Loop: Header=BB1_5 Depth=1
b LBB1_38
LBB1_38: ; in Loop: Header=BB1_5 Depth=1
b LBB1_39
LBB1_39: ; in Loop: Header=BB1_5 Depth=1
b LBB1_40
LBB1_40: ; in Loop: Header=BB1_5 Depth=1
b LBB1_41
LBB1_41: ; in Loop: Header=BB1_5 Depth=1
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_5 Depth=1
b LBB1_43
LBB1_43: ; in Loop: Header=BB1_5 Depth=1
b LBB1_44
LBB1_44: ; in Loop: Header=BB1_5 Depth=1
b LBB1_45
LBB1_45: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #112]
add w8, w8, #1
str w8, [sp, #112]
b LBB1_5
LBB1_46:
ldr w8, [sp, #124]
ldr w9, [sp, #120]
add w8, w8, w9
ldr w9, [sp, #116]
add w8, w8, w9
subs w8, w8, #1
cset w8, ls
tbnz w8, #0, LBB1_48
b LBB1_47
LBB1_47:
bl _info
mov w0, #1
bl _exit
LBB1_48:
mov w8, #1
str w8, [sp, #124]
b LBB1_49
LBB1_49:
ldr w8, [sp, #88]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_51
b LBB1_50
LBB1_50:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
ldrsw x10, [sp, #88]
mov x9, x10
add w9, w9, #1
str w9, [sp, #88]
add x9, sp, #152
str x8, [x9, x10, lsl #3]
b LBB1_51
LBB1_51:
b LBB1_52
LBB1_52: ; =>This Loop Header: Depth=1
; Child Loop BB1_54 Depth 2
; Child Loop BB1_75 Depth 3
; Child Loop BB1_65 Depth 3
ldr w8, [sp, #92]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_87
b LBB1_53
LBB1_53: ; in Loop: Header=BB1_52 Depth=1
b LBB1_54
LBB1_54: ; Parent Loop BB1_52 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_75 Depth 3
; Child Loop BB1_65 Depth 3
ldrsw x9, [sp, #92]
add x8, sp, #152
ldr x2, [x8, x9, lsl #3]
add x0, sp, #312
mov w1, #10000
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB1_86
b LBB1_55
LBB1_55: ; in Loop: Header=BB1_54 Depth=2
add x0, sp, #312
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _strtok
ldr w8, [sp, #124]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_63
b LBB1_56
LBB1_56: ; in Loop: Header=BB1_54 Depth=2
ldr w9, [sp, #132]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #72] ; 8-byte Folded Spill
ldr w8, [sp, #128]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_58
b LBB1_57
LBB1_57: ; in Loop: Header=BB1_54 Depth=2
bl _rand
mov w9, #239
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB1_62
LBB1_58: ; in Loop: Header=BB1_54 Depth=2
ldr w8, [sp, #128]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_60
b LBB1_59
LBB1_59: ; in Loop: Header=BB1_54 Depth=2
adrp x10, _mode_idx@PAGE
ldr w8, [x10, _mode_idx@PAGEOFF]
add w9, w8, #1
str w9, [x10, _mode_idx@PAGEOFF]
mov w10, #215
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
add w8, w8, #17
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB1_61
LBB1_60: ; in Loop: Header=BB1_54 Depth=2
adrp x10, _rainbow_idx@PAGE
ldr w8, [x10, _rainbow_idx@PAGEOFF]
add w9, w8, #1
str w9, [x10, _rainbow_idx@PAGEOFF]
adrp x9, _rainbow_size@PAGE
ldr w10, [x9, _rainbow_size@PAGEOFF]
udiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
adrp x8, _rainbow_arr@PAGE
add x8, x8, _rainbow_arr@PAGEOFF
ldr w8, [x8, w9, uxtw #2]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB1_61
LBB1_61: ; in Loop: Header=BB1_54 Depth=2
ldr w8, [sp, #64] ; 4-byte Folded Reload
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB1_62
LBB1_62: ; in Loop: Header=BB1_54 Depth=2
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr w10, [sp, #68] ; 4-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
add x8, sp, #312
str x8, [x9, #16]
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _printf
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
b LBB1_85
LBB1_63: ; in Loop: Header=BB1_54 Depth=2
ldr w8, [sp, #120]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_74
b LBB1_64
LBB1_64: ; in Loop: Header=BB1_54 Depth=2
add x0, sp, #312
adrp x1, l_.str.30@PAGE
add x1, x1, l_.str.30@PAGEOFF
bl _strtok
str x0, [sp, #104]
b LBB1_65
LBB1_65: ; Parent Loop BB1_52 Depth=1
; Parent Loop BB1_54 Depth=2
; => This Inner Loop Header: Depth=3
ldr w9, [sp, #132]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #56] ; 8-byte Folded Spill
ldr w8, [sp, #128]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_67
b LBB1_66
LBB1_66: ; in Loop: Header=BB1_65 Depth=3
bl _rand
mov w9, #239
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB1_71
LBB1_67: ; in Loop: Header=BB1_65 Depth=3
ldr w8, [sp, #128]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_69
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_65 Depth=3
adrp x10, _mode_idx@PAGE
ldr w8, [x10, _mode_idx@PAGEOFF]
add w9, w8, #1
str w9, [x10, _mode_idx@PAGEOFF]
mov w10, #215
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
add w8, w8, #17
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB1_70
LBB1_69: ; in Loop: Header=BB1_65 Depth=3
adrp x10, _rainbow_idx@PAGE
ldr w8, [x10, _rainbow_idx@PAGEOFF]
add w9, w8, #1
str w9, [x10, _rainbow_idx@PAGEOFF]
adrp x9, _rainbow_size@PAGE
ldr w10, [x9, _rainbow_size@PAGEOFF]
udiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
adrp x8, _rainbow_arr@PAGE
add x8, x8, _rainbow_arr@PAGEOFF
ldr w8, [x8, w9, uxtw #2]
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB1_70
LBB1_70: ; in Loop: Header=BB1_65 Depth=3
ldr w8, [sp, #48] ; 4-byte Folded Reload
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB1_71
LBB1_71: ; in Loop: Header=BB1_65 Depth=3
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr w11, [sp, #52] ; 4-byte Folded Reload
ldr x8, [sp, #104]
mov x9, sp
str x10, [x9]
; implicit-def: $x10
mov x10, x11
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _printf
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _printf
b LBB1_72
LBB1_72: ; in Loop: Header=BB1_65 Depth=3
mov x0, #0
adrp x1, l_.str.32@PAGE
add x1, x1, l_.str.32@PAGEOFF
bl _strtok
mov x8, x0
str x8, [sp, #104]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB1_65
b LBB1_73
LBB1_73: ; in Loop: Header=BB1_54 Depth=2
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
b LBB1_84
LBB1_74: ; in Loop: Header=BB1_54 Depth=2
add x8, sp, #312
str x8, [sp, #96]
b LBB1_75
LBB1_75: ; Parent Loop BB1_52 Depth=1
; Parent Loop BB1_54 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #96]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_83
b LBB1_76
LBB1_76: ; in Loop: Header=BB1_75 Depth=3
ldr w9, [sp, #132]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #40] ; 8-byte Folded Spill
ldr w8, [sp, #128]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_78
b LBB1_77
LBB1_77: ; in Loop: Header=BB1_75 Depth=3
bl _rand
mov w9, #239
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #17
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB1_82
LBB1_78: ; in Loop: Header=BB1_75 Depth=3
ldr w8, [sp, #128]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_80
b LBB1_79
LBB1_79: ; in Loop: Header=BB1_75 Depth=3
adrp x10, _mode_idx@PAGE
ldr w8, [x10, _mode_idx@PAGEOFF]
add w9, w8, #1
str w9, [x10, _mode_idx@PAGEOFF]
mov w10, #215
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
add w8, w8, #17
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB1_81
LBB1_80: ; in Loop: Header=BB1_75 Depth=3
adrp x10, _rainbow_idx@PAGE
ldr w8, [x10, _rainbow_idx@PAGEOFF]
add w9, w8, #1
str w9, [x10, _rainbow_idx@PAGEOFF]
adrp x9, _rainbow_size@PAGE
ldr w10, [x9, _rainbow_size@PAGEOFF]
udiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
adrp x8, _rainbow_arr@PAGE
add x8, x8, _rainbow_arr@PAGEOFF
ldr w8, [x8, w9, uxtw #2]
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB1_81
LBB1_81: ; in Loop: Header=BB1_75 Depth=3
ldr w8, [sp, #32] ; 4-byte Folded Reload
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB1_82
LBB1_82: ; in Loop: Header=BB1_75 Depth=3
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w11, [sp, #36] ; 4-byte Folded Reload
ldr x9, [sp, #96]
add x10, x9, #1
str x10, [sp, #96]
ldrsb w10, [x9]
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.33@PAGE
add x0, x0, l_.str.33@PAGEOFF
bl _printf
b LBB1_75
LBB1_83: ; in Loop: Header=BB1_54 Depth=2
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
b LBB1_84
LBB1_84: ; in Loop: Header=BB1_54 Depth=2
b LBB1_85
LBB1_85: ; in Loop: Header=BB1_54 Depth=2
b LBB1_54
LBB1_86: ; in Loop: Header=BB1_52 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB1_52
LBB1_87:
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_89
b LBB1_88
LBB1_88:
bl ___stack_chk_fail
LBB1_89:
mov w0, #0
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #2128
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\033[%d;38;5;%dmloldog:\n\n\033[%d;38;5;%dm-h/H/HELP: help menu\n\033[%d;38;5;%dm-Only choose one out of the following:\n\033[%d;38;5;%dm\t-l/L/line: changing color line-accordingly\n\033[%d;38;5;%dm\t-w/W/word: changing color word-accordingly\n\033[%d;38;5;%dm\t-d/D/letter: changing color letter-accordingly\n\033[%d;38;5;%dm\t-nb/NB/nobold: Disable default bolding\n"
l_.str.1: ; @.str.1
.asciz "\033[%d;38;5;%dm-Only choose one out of the following:\n\033[%d;38;5;%dm\t-default: changing color randomly\n\033[%d;38;5;%dm\t-g/G/gradual: changing color gradually\n\033[%d;38;5;%dm\t-r/R/rainbow: changing color with rainbow pattern\n\n\033[%d;38;5;%dm-END\n"
l_.str.2: ; @.str.2
.asciz "%s\n"
l_.str.3: ; @.str.3
.asciz "-h"
l_.str.4: ; @.str.4
.asciz "-H"
l_.str.5: ; @.str.5
.asciz "-help"
l_.str.6: ; @.str.6
.asciz "-l"
l_.str.7: ; @.str.7
.asciz "-L"
l_.str.8: ; @.str.8
.asciz "-line"
l_.str.9: ; @.str.9
.asciz "-w"
l_.str.10: ; @.str.10
.asciz "-W"
l_.str.11: ; @.str.11
.asciz "-word"
l_.str.12: ; @.str.12
.asciz "-d"
l_.str.13: ; @.str.13
.asciz "-D"
l_.str.14: ; @.str.14
.asciz "-letter"
l_.str.15: ; @.str.15
.asciz "-nb"
l_.str.16: ; @.str.16
.asciz "-NB"
l_.str.17: ; @.str.17
.asciz "-nobold"
l_.str.18: ; @.str.18
.asciz "-g"
l_.str.19: ; @.str.19
.asciz "-G"
l_.str.20: ; @.str.20
.asciz "-gradual"
l_.str.21: ; @.str.21
.asciz "-r"
l_.str.22: ; @.str.22
.asciz "-R"
l_.str.23: ; @.str.23
.asciz "-rainbow"
l_.str.24: ; @.str.24
.asciz "r"
l_.str.25: ; @.str.25
.asciz "file: %s cannot be opened...\n"
l_.str.26: ; @.str.26
.asciz "file: %s added\n"
l_.str.27: ; @.str.27
.asciz "\n"
l_.str.28: ; @.str.28
.asciz "\033[%d;38;5;%dm%s"
.zerofill __DATA,__bss,_mode_idx,4,2 ; @mode_idx
.section __DATA,__data
.p2align 2 ; @rainbow_arr
_rainbow_arr:
.long 53 ; 0x35
.long 54 ; 0x36
.long 55 ; 0x37
.long 17 ; 0x11
.long 18 ; 0x12
.long 19 ; 0x13
.long 20 ; 0x14
.long 21 ; 0x15
.long 26 ; 0x1a
.long 27 ; 0x1b
.long 32 ; 0x20
.long 33 ; 0x21
.long 38 ; 0x26
.long 39 ; 0x27
.long 44 ; 0x2c
.long 45 ; 0x2d
.long 51 ; 0x33
.long 87 ; 0x57
.long 22 ; 0x16
.long 28 ; 0x1c
.long 34 ; 0x22
.long 35 ; 0x23
.long 36 ; 0x24
.long 40 ; 0x28
.long 41 ; 0x29
.long 46 ; 0x2e
.long 47 ; 0x2f
.long 48 ; 0x30
.long 49 ; 0x31
.long 202 ; 0xca
.long 208 ; 0xd0
.long 214 ; 0xd6
.long 220 ; 0xdc
.long 221 ; 0xdd
.long 222 ; 0xde
.long 228 ; 0xe4
.long 229 ; 0xe5
.long 196 ; 0xc4
.long 88 ; 0x58
.long 124 ; 0x7c
.long 160 ; 0xa0
.long 161 ; 0xa1
.long 162 ; 0xa2
.long 197 ; 0xc5
.long 198 ; 0xc6
.zerofill __DATA,__bss,_rainbow_idx,4,2 ; @rainbow_idx
.p2align 2 ; @rainbow_size
_rainbow_size:
.long 45 ; 0x2d
.section __TEXT,__cstring,cstring_literals
l_.str.29: ; @.str.29
.asciz "\033[0m\n"
l_.str.30: ; @.str.30
.asciz " "
l_.str.31: ; @.str.31
.asciz "\033[0m "
l_.str.32: ; @.str.32
.asciz " \n"
l_.str.33: ; @.str.33
.asciz "\033[%d;38;5;%dm%c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _info ## -- Begin function info
.p2align 4, 0x90
_info: ## @info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $112, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -36(%rbp) ## 4-byte Spill
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -48(%rbp) ## 4-byte Spill
callq _rand
movl $239, %ecx
cltd
idivl %ecx
movl %edx, %r14d
addl $17, %r14d
callq _rand
movl $239, %ecx
cltd
idivl %ecx
movl %edx, %ebx
addl $17, %ebx
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -44(%rbp) ## 4-byte Spill
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -40(%rbp) ## 4-byte Spill
callq _rand
movl -48(%rbp), %r8d ## 4-byte Reload
movl -44(%rbp), %r11d ## 4-byte Reload
movl -40(%rbp), %r10d ## 4-byte Reload
movl $239, %ecx
cltd
idivl %ecx
movl %edx, %eax
movl -36(%rbp), %edx ## 4-byte Reload
addl $17, %eax
leaq L_.str(%rip), %rdi
movl $1, %r9d
movl %r9d, %esi
movl %r9d, %ecx
movl %r14d, (%rsp)
movl $1, 8(%rsp)
movl %ebx, 16(%rsp)
movl $1, 24(%rsp)
movl %r11d, 32(%rsp)
movl $1, 40(%rsp)
movl %r10d, 48(%rsp)
movl $1, 56(%rsp)
movl %eax, 64(%rsp)
movb $0, %al
callq _printf
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -20(%rbp) ## 4-byte Spill
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -32(%rbp) ## 4-byte Spill
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -28(%rbp) ## 4-byte Spill
callq _rand
movl $239, %ecx
cltd
idivl %ecx
addl $17, %edx
movl %edx, -24(%rbp) ## 4-byte Spill
callq _rand
movl -32(%rbp), %r8d ## 4-byte Reload
movl -28(%rbp), %r11d ## 4-byte Reload
movl -24(%rbp), %r10d ## 4-byte Reload
movl $239, %ecx
cltd
idivl %ecx
movl %edx, %eax
movl -20(%rbp), %edx ## 4-byte Reload
addl $17, %eax
leaq L_.str.1(%rip), %rdi
movl $1, %r9d
movl %r9d, %esi
movl %r9d, %ecx
movl %r11d, (%rsp)
movl $1, 8(%rsp)
movl %r10d, 16(%rsp)
movl $1, 24(%rsp)
movl %eax, 32(%rsp)
movb $0, %al
callq _printf
addq $112, %rsp
popq %rbx
popq %r14
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 $10288, %eax ## imm = 0x2830
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -10180(%rbp)
movl %edi, -10184(%rbp)
movq %rsi, -10192(%rbp)
movl $1, -10196(%rbp)
movl $0, -10200(%rbp)
movl $0, -10204(%rbp)
movl $0, -10208(%rbp)
movl $0, -10212(%rbp)
movl $10000, %edi ## imm = 0x2710
callq _malloc
movq %rax, -10224(%rbp)
movl $0, -10236(%rbp)
movl $0, -10240(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $1, -10216(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -10216(%rbp), %eax
cmpl -10184(%rbp), %eax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -10216(%rbp), %eax
addl $1, %eax
movl %eax, -10216(%rbp)
jmp LBB1_1
LBB1_4:
movl $1, -10216(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -10216(%rbp), %eax
cmpl -10184(%rbp), %eax
jae LBB1_46
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_9
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.4(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_9
## %bb.8: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.5(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_10
LBB1_9:
callq _info
xorl %edi, %edi
callq _exit
LBB1_10: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.6(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_13
## %bb.11: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.7(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_13
## %bb.12: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.8(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_14
LBB1_13: ## in Loop: Header=BB1_5 Depth=1
movl $1, -10204(%rbp)
jmp LBB1_43
LBB1_14: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.9(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_17
## %bb.15: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.10(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_17
## %bb.16: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.11(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_18
LBB1_17: ## in Loop: Header=BB1_5 Depth=1
movl $1, -10208(%rbp)
jmp LBB1_42
LBB1_18: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_21
## %bb.19: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_21
## %bb.20: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.14(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_22
LBB1_21: ## in Loop: Header=BB1_5 Depth=1
movl $1, -10212(%rbp)
jmp LBB1_41
LBB1_22: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_25
## %bb.23: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.16(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_25
## %bb.24: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.17(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_26
LBB1_25: ## in Loop: Header=BB1_5 Depth=1
movl $0, -10196(%rbp)
jmp LBB1_40
LBB1_26: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.18(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_29
## %bb.27: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.19(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_29
## %bb.28: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.20(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_30
LBB1_29: ## in Loop: Header=BB1_5 Depth=1
movl $1, -10200(%rbp)
jmp LBB1_39
LBB1_30: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.21(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_33
## %bb.31: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.22(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_33
## %bb.32: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.23(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_34
LBB1_33: ## in Loop: Header=BB1_5 Depth=1
movl $2, -10200(%rbp)
jmp LBB1_38
LBB1_34: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
leaq L_.str.24(%rip), %rsi
callq _fopen
movq %rax, %rcx
movslq -10240(%rbp), %rax
movq %rcx, -10176(%rbp,%rax,8)
movslq -10240(%rbp), %rax
cmpq $0, -10176(%rbp,%rax,8)
jne LBB1_36
## %bb.35:
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rsi
leaq L_.str.25(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_36: ## in Loop: Header=BB1_5 Depth=1
movq -10192(%rbp), %rax
movl -10216(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rsi
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
movl -10240(%rbp), %eax
addl $1, %eax
movl %eax, -10240(%rbp)
## %bb.37: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_38
LBB1_38: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_39
LBB1_39: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_40
LBB1_40: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_41
LBB1_41: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_42
LBB1_42: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_43
LBB1_43: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_44
LBB1_44: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_45
LBB1_45: ## in Loop: Header=BB1_5 Depth=1
movl -10216(%rbp), %eax
addl $1, %eax
movl %eax, -10216(%rbp)
jmp LBB1_5
LBB1_46:
movl -10204(%rbp), %eax
addl -10208(%rbp), %eax
addl -10212(%rbp), %eax
cmpl $1, %eax
jbe LBB1_48
## %bb.47:
callq _info
movl $1, %edi
callq _exit
LBB1_48:
movl $1, -10204(%rbp)
## %bb.49:
cmpl $0, -10240(%rbp)
jne LBB1_51
## %bb.50:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl -10240(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -10240(%rbp)
cltq
movq %rcx, -10176(%rbp,%rax,8)
LBB1_51:
jmp LBB1_52
LBB1_52: ## =>This Loop Header: Depth=1
## Child Loop BB1_54 Depth 2
## Child Loop BB1_65 Depth 3
## Child Loop BB1_75 Depth 3
movl -10236(%rbp), %eax
cmpl -10240(%rbp), %eax
jge LBB1_87
## %bb.53: ## in Loop: Header=BB1_52 Depth=1
jmp LBB1_54
LBB1_54: ## Parent Loop BB1_52 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_65 Depth 3
## Child Loop BB1_75 Depth 3
leaq -10016(%rbp), %rdi
movslq -10236(%rbp), %rax
movq -10176(%rbp,%rax,8), %rdx
movl $10000, %esi ## imm = 0x2710
callq _fgets
cmpq $0, %rax
je LBB1_86
## %bb.55: ## in Loop: Header=BB1_54 Depth=2
leaq -10016(%rbp), %rdi
leaq L_.str.27(%rip), %rsi
callq _strtok
cmpl $0, -10204(%rbp)
je LBB1_63
## %bb.56: ## in Loop: Header=BB1_54 Depth=2
movl -10196(%rbp), %eax
movl %eax, -10244(%rbp) ## 4-byte Spill
cmpl $0, -10200(%rbp)
jne LBB1_58
## %bb.57: ## in Loop: Header=BB1_54 Depth=2
callq _rand
movl $239, %ecx
cltd
idivl %ecx
movl %edx, %eax
addl $17, %eax
movl %eax, -10248(%rbp) ## 4-byte Spill
jmp LBB1_62
LBB1_58: ## in Loop: Header=BB1_54 Depth=2
cmpl $1, -10200(%rbp)
jne LBB1_60
## %bb.59: ## in Loop: Header=BB1_54 Depth=2
movl _mode_idx(%rip), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, _mode_idx(%rip)
movl $215, %ecx
xorl %edx, %edx
divl %ecx
movl %edx, %eax
addl $17, %eax
movl %eax, -10252(%rbp) ## 4-byte Spill
jmp LBB1_61
LBB1_60: ## in Loop: Header=BB1_54 Depth=2
movl _rainbow_idx(%rip), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, _rainbow_idx(%rip)
xorl %edx, %edx
divl _rainbow_size(%rip)
movl %edx, %eax
movl %eax, %ecx
leaq _rainbow_arr(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -10252(%rbp) ## 4-byte Spill
LBB1_61: ## in Loop: Header=BB1_54 Depth=2
movl -10252(%rbp), %eax ## 4-byte Reload
movl %eax, -10248(%rbp) ## 4-byte Spill
LBB1_62: ## in Loop: Header=BB1_54 Depth=2
movl -10244(%rbp), %esi ## 4-byte Reload
movl -10248(%rbp), %edx ## 4-byte Reload
leaq -10016(%rbp), %rcx
leaq L_.str.28(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_85
LBB1_63: ## in Loop: Header=BB1_54 Depth=2
cmpl $0, -10208(%rbp)
je LBB1_74
## %bb.64: ## in Loop: Header=BB1_54 Depth=2
leaq -10016(%rbp), %rdi
leaq L_.str.30(%rip), %rsi
callq _strtok
movq %rax, -10224(%rbp)
LBB1_65: ## Parent Loop BB1_52 Depth=1
## Parent Loop BB1_54 Depth=2
## => This Inner Loop Header: Depth=3
movl -10196(%rbp), %eax
movl %eax, -10256(%rbp) ## 4-byte Spill
cmpl $0, -10200(%rbp)
jne LBB1_67
## %bb.66: ## in Loop: Header=BB1_65 Depth=3
callq _rand
movl $239, %ecx
cltd
idivl %ecx
movl %edx, %eax
addl $17, %eax
movl %eax, -10260(%rbp) ## 4-byte Spill
jmp LBB1_71
LBB1_67: ## in Loop: Header=BB1_65 Depth=3
cmpl $1, -10200(%rbp)
jne LBB1_69
## %bb.68: ## in Loop: Header=BB1_65 Depth=3
movl _mode_idx(%rip), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, _mode_idx(%rip)
movl $215, %ecx
xorl %edx, %edx
divl %ecx
movl %edx, %eax
addl $17, %eax
movl %eax, -10264(%rbp) ## 4-byte Spill
jmp LBB1_70
LBB1_69: ## in Loop: Header=BB1_65 Depth=3
movl _rainbow_idx(%rip), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, _rainbow_idx(%rip)
xorl %edx, %edx
divl _rainbow_size(%rip)
movl %edx, %eax
movl %eax, %ecx
leaq _rainbow_arr(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -10264(%rbp) ## 4-byte Spill
LBB1_70: ## in Loop: Header=BB1_65 Depth=3
movl -10264(%rbp), %eax ## 4-byte Reload
movl %eax, -10260(%rbp) ## 4-byte Spill
LBB1_71: ## in Loop: Header=BB1_65 Depth=3
movl -10256(%rbp), %esi ## 4-byte Reload
movl -10260(%rbp), %edx ## 4-byte Reload
movq -10224(%rbp), %rcx
leaq L_.str.28(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.31(%rip), %rdi
movb $0, %al
callq _printf
## %bb.72: ## in Loop: Header=BB1_65 Depth=3
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.32(%rip), %rsi
callq _strtok
movq %rax, -10224(%rbp)
cmpq $0, %rax
jne LBB1_65
## %bb.73: ## in Loop: Header=BB1_54 Depth=2
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_84
LBB1_74: ## in Loop: Header=BB1_54 Depth=2
leaq -10016(%rbp), %rax
movq %rax, -10232(%rbp)
LBB1_75: ## Parent Loop BB1_52 Depth=1
## Parent Loop BB1_54 Depth=2
## => This Inner Loop Header: Depth=3
movq -10232(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB1_83
## %bb.76: ## in Loop: Header=BB1_75 Depth=3
movl -10196(%rbp), %eax
movl %eax, -10268(%rbp) ## 4-byte Spill
cmpl $0, -10200(%rbp)
jne LBB1_78
## %bb.77: ## in Loop: Header=BB1_75 Depth=3
callq _rand
movl $239, %ecx
cltd
idivl %ecx
movl %edx, %eax
addl $17, %eax
movl %eax, -10272(%rbp) ## 4-byte Spill
jmp LBB1_82
LBB1_78: ## in Loop: Header=BB1_75 Depth=3
cmpl $1, -10200(%rbp)
jne LBB1_80
## %bb.79: ## in Loop: Header=BB1_75 Depth=3
movl _mode_idx(%rip), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, _mode_idx(%rip)
movl $215, %ecx
xorl %edx, %edx
divl %ecx
movl %edx, %eax
addl $17, %eax
movl %eax, -10276(%rbp) ## 4-byte Spill
jmp LBB1_81
LBB1_80: ## in Loop: Header=BB1_75 Depth=3
movl _rainbow_idx(%rip), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, _rainbow_idx(%rip)
xorl %edx, %edx
divl _rainbow_size(%rip)
movl %edx, %eax
movl %eax, %ecx
leaq _rainbow_arr(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -10276(%rbp) ## 4-byte Spill
LBB1_81: ## in Loop: Header=BB1_75 Depth=3
movl -10276(%rbp), %eax ## 4-byte Reload
movl %eax, -10272(%rbp) ## 4-byte Spill
LBB1_82: ## in Loop: Header=BB1_75 Depth=3
movl -10268(%rbp), %esi ## 4-byte Reload
movl -10272(%rbp), %edx ## 4-byte Reload
movq -10232(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -10232(%rbp)
movsbl (%rax), %ecx
leaq L_.str.33(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_75
LBB1_83: ## in Loop: Header=BB1_54 Depth=2
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _printf
LBB1_84: ## in Loop: Header=BB1_54 Depth=2
jmp LBB1_85
LBB1_85: ## in Loop: Header=BB1_54 Depth=2
jmp LBB1_54
LBB1_86: ## in Loop: Header=BB1_52 Depth=1
movl -10236(%rbp), %eax
addl $1, %eax
movl %eax, -10236(%rbp)
jmp LBB1_52
LBB1_87:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_89
## %bb.88:
xorl %eax, %eax
addq $10288, %rsp ## imm = 0x2830
popq %rbp
retq
LBB1_89:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\033[%d;38;5;%dmloldog:\n\n\033[%d;38;5;%dm-h/H/HELP: help menu\n\033[%d;38;5;%dm-Only choose one out of the following:\n\033[%d;38;5;%dm\t-l/L/line: changing color line-accordingly\n\033[%d;38;5;%dm\t-w/W/word: changing color word-accordingly\n\033[%d;38;5;%dm\t-d/D/letter: changing color letter-accordingly\n\033[%d;38;5;%dm\t-nb/NB/nobold: Disable default bolding\n"
L_.str.1: ## @.str.1
.asciz "\033[%d;38;5;%dm-Only choose one out of the following:\n\033[%d;38;5;%dm\t-default: changing color randomly\n\033[%d;38;5;%dm\t-g/G/gradual: changing color gradually\n\033[%d;38;5;%dm\t-r/R/rainbow: changing color with rainbow pattern\n\n\033[%d;38;5;%dm-END\n"
L_.str.2: ## @.str.2
.asciz "%s\n"
L_.str.3: ## @.str.3
.asciz "-h"
L_.str.4: ## @.str.4
.asciz "-H"
L_.str.5: ## @.str.5
.asciz "-help"
L_.str.6: ## @.str.6
.asciz "-l"
L_.str.7: ## @.str.7
.asciz "-L"
L_.str.8: ## @.str.8
.asciz "-line"
L_.str.9: ## @.str.9
.asciz "-w"
L_.str.10: ## @.str.10
.asciz "-W"
L_.str.11: ## @.str.11
.asciz "-word"
L_.str.12: ## @.str.12
.asciz "-d"
L_.str.13: ## @.str.13
.asciz "-D"
L_.str.14: ## @.str.14
.asciz "-letter"
L_.str.15: ## @.str.15
.asciz "-nb"
L_.str.16: ## @.str.16
.asciz "-NB"
L_.str.17: ## @.str.17
.asciz "-nobold"
L_.str.18: ## @.str.18
.asciz "-g"
L_.str.19: ## @.str.19
.asciz "-G"
L_.str.20: ## @.str.20
.asciz "-gradual"
L_.str.21: ## @.str.21
.asciz "-r"
L_.str.22: ## @.str.22
.asciz "-R"
L_.str.23: ## @.str.23
.asciz "-rainbow"
L_.str.24: ## @.str.24
.asciz "r"
L_.str.25: ## @.str.25
.asciz "file: %s cannot be opened...\n"
L_.str.26: ## @.str.26
.asciz "file: %s added\n"
L_.str.27: ## @.str.27
.asciz "\n"
L_.str.28: ## @.str.28
.asciz "\033[%d;38;5;%dm%s"
.zerofill __DATA,__bss,_mode_idx,4,2 ## @mode_idx
.section __DATA,__data
.p2align 4 ## @rainbow_arr
_rainbow_arr:
.long 53 ## 0x35
.long 54 ## 0x36
.long 55 ## 0x37
.long 17 ## 0x11
.long 18 ## 0x12
.long 19 ## 0x13
.long 20 ## 0x14
.long 21 ## 0x15
.long 26 ## 0x1a
.long 27 ## 0x1b
.long 32 ## 0x20
.long 33 ## 0x21
.long 38 ## 0x26
.long 39 ## 0x27
.long 44 ## 0x2c
.long 45 ## 0x2d
.long 51 ## 0x33
.long 87 ## 0x57
.long 22 ## 0x16
.long 28 ## 0x1c
.long 34 ## 0x22
.long 35 ## 0x23
.long 36 ## 0x24
.long 40 ## 0x28
.long 41 ## 0x29
.long 46 ## 0x2e
.long 47 ## 0x2f
.long 48 ## 0x30
.long 49 ## 0x31
.long 202 ## 0xca
.long 208 ## 0xd0
.long 214 ## 0xd6
.long 220 ## 0xdc
.long 221 ## 0xdd
.long 222 ## 0xde
.long 228 ## 0xe4
.long 229 ## 0xe5
.long 196 ## 0xc4
.long 88 ## 0x58
.long 124 ## 0x7c
.long 160 ## 0xa0
.long 161 ## 0xa1
.long 162 ## 0xa2
.long 197 ## 0xc5
.long 198 ## 0xc6
.zerofill __DATA,__bss,_rainbow_idx,4,2 ## @rainbow_idx
.p2align 2 ## @rainbow_size
_rainbow_size:
.long 45 ## 0x2d
.section __TEXT,__cstring,cstring_literals
L_.str.29: ## @.str.29
.asciz "\033[0m\n"
L_.str.30: ## @.str.30
.asciz " "
L_.str.31: ## @.str.31
.asciz "\033[0m "
L_.str.32: ## @.str.32
.asciz " \n"
L_.str.33: ## @.str.33
.asciz "\033[%d;38;5;%dm%c"
.subsections_via_symbols
| the_stack_data/162642041.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, #1040
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #28]
str w0, [sp, #24]
str x1, [sp, #16]
str wzr, [sp, #12]
ldr w8, [sp, #24]
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
b LBB0_8
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x0, sp, #32
mov w1, #1000
bl _getLine
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #16]
ldr x1, [x8, #8]
add x0, sp, #32
bl _strstr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_7:
b LBB0_8
LBB0_8:
ldr w8, [sp, #12]
str w8, [sp, #8] ; 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, #8] ; 4-byte Folded Reload
add sp, sp, #1040
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _getLine ; -- Begin function getLine
.p2align 2
_getLine: ; @getLine
.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, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _getchar
str w0, [sp, #16]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_7:
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_9
LBB1_9:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9
strb wzr, [x8]
ldr w0, [sp, #12]
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 "Usage: find pattern\n"
l_.str.1: ; @.str.1
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 $1040, %rsp ## imm = 0x410
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1012(%rbp)
movl %edi, -1016(%rbp)
movq %rsi, -1024(%rbp)
movl $0, -1028(%rbp)
cmpl $2, -1016(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq -1008(%rbp), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _getLine
cmpl $0, %eax
jle LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq -1008(%rbp), %rdi
movq -1024(%rbp), %rax
movq 8(%rax), %rsi
callq _strstr
cmpq $0, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
leaq -1008(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -1028(%rbp), %eax
addl $1, %eax
movl %eax, -1028(%rbp)
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_7:
jmp LBB0_8
LBB0_8:
movl -1028(%rbp), %eax
movl %eax, -1032(%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 -1032(%rbp), %eax ## 4-byte Reload
addq $1040, %rsp ## imm = 0x410
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _getLine ## -- Begin function getLine
.p2align 4, 0x90
_getLine: ## @getLine
.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, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %ecx
movl -12(%rbp), %edx
subl $1, %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _getchar
movl %eax, %ecx
movl %ecx, -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -16(%rbp)
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_7
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $10, -16(%rbp)
jne LBB1_9
## %bb.8:
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB1_9:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb $0, (%rax,%rcx)
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: find pattern\n"
L_.str.1: ## @.str.1
.asciz "%s"
.subsections_via_symbols
| the_stack_data/31388100.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/64201437.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
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x9, _globval@PAGE
mov w8, #1
str w8, [x9, _globval@PAGEOFF]
mov w8, #2
stur w8, [x29, #-20]
mov w8, #3
stur w8, [x29, #-24]
mov w8, #4
stur w8, [x29, #-28]
adrp x9, _main.statval@PAGE
mov w8, #5
str w8, [x9, _main.statval@PAGEOFF]
adrp x0, _jmpbuffer@PAGE
add x0, x0, _jmpbuffer@PAGEOFF
bl _setjmp
subs w8, w0, #0
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
adrp x8, _globval@PAGE
ldr w8, [x8, _globval@PAGEOFF]
; implicit-def: $x13
mov x13, x8
ldur w8, [x29, #-20]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-28]
; implicit-def: $x10
mov x10, x8
adrp x8, _main.statval@PAGE
ldr w9, [x8, _main.statval@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_2:
mov w8, #95
adrp x9, _globval@PAGE
str w8, [x9, _globval@PAGEOFF]
mov w8, #96
stur w8, [x29, #-20]
mov w8, #97
stur w8, [x29, #-24]
mov w8, #98
stur w8, [x29, #-28]
mov w9, #99
adrp x8, _main.statval@PAGE
str w9, [x8, _main.statval@PAGEOFF]
ldur w0, [x29, #-20]
ldur w1, [x29, #-24]
ldur w2, [x29, #-28]
ldr w3, [x8, _main.statval@PAGEOFF]
bl _f1
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 f1
_f1: ; @f1
.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 w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur w3, [x29, #-16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x8, _globval@PAGE
ldr w8, [x8, _globval@PAGEOFF]
; implicit-def: $x13
mov x13, x8
ldur w8, [x29, #-4]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _f2
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function f2
_f2: ; @f2
.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, _jmpbuffer@PAGE
add x0, x0, _jmpbuffer@PAGEOFF
mov w1, #1
bl _longjmp
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_main.statval,4,2 ; @main.statval
.zerofill __DATA,__bss,_globval,4,2 ; @globval
.zerofill __DATA,__bss,_jmpbuffer,192,2 ; @jmpbuffer
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "after longjmp:\n"
l_.str.1: ; @.str.1
.asciz "globval = %d, autoval = %d, regival = %d, volaval = %d, statval = %d\n"
l_.str.2: ; @.str.2
.asciz "in f1():\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 $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $1, _globval(%rip)
movl $2, -20(%rbp)
movl $3, -24(%rbp)
movl $4, -28(%rbp)
movl $5, _main.statval(%rip)
leaq _jmpbuffer(%rip), %rdi
callq _setjmp
cmpl $0, %eax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
movl %eax, -32(%rbp) ## 4-byte Spill
movb %al, -33(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -33(%rbp), %al ## 1-byte Reload
movl _globval(%rip), %esi
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
movl -28(%rbp), %r8d
movl _main.statval(%rip), %r9d
leaq L_.str.1(%rip), %rdi
callq _printf
movl -32(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_2:
movl $95, _globval(%rip)
movl $96, -20(%rbp)
movl $97, -24(%rbp)
movl $98, -28(%rbp)
movl $99, _main.statval(%rip)
movl -20(%rbp), %edi
movl -24(%rbp), %esi
movl -28(%rbp), %edx
movl _main.statval(%rip), %ecx
callq _f1
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function f1
_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
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl _globval(%rip), %esi
movl -4(%rbp), %edx
movl -8(%rbp), %ecx
movl -12(%rbp), %r8d
movl -16(%rbp), %r9d
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _f2
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function f2
_f2: ## @f2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _jmpbuffer(%rip), %rdi
movl $1, %esi
callq _longjmp
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_main.statval,4,2 ## @main.statval
.zerofill __DATA,__bss,_globval,4,2 ## @globval
.zerofill __DATA,__bss,_jmpbuffer,148,4 ## @jmpbuffer
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "after longjmp:\n"
L_.str.1: ## @.str.1
.asciz "globval = %d, autoval = %d, regival = %d, volaval = %d, statval = %d\n"
L_.str.2: ## @.str.2
.asciz "in f1():\n"
.subsections_via_symbols
| the_stack_data/235765.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, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _input_file_buffer@GOTPAGE
ldr x8, [x8, _input_file_buffer@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _wave_header@GOTPAGE
ldr x8, [x8, _wave_header@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
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
stur wzr, [x29, #-4]
b LBB0_21
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
mov w1, #0
bl _open
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_21
LBB0_4:
ldur w0, [x29, #-20]
add x1, sp, #56
bl _fstat
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur w0, [x29, #-20]
bl _close
mov w8, #1
stur w8, [x29, #-4]
b LBB0_21
LBB0_6:
ldr x1, [sp, #152]
ldur w4, [x29, #-20]
mov x0, #0
mov w2, #1
mov w3, #2
mov x5, #0
bl _mmap
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x0, [x8]
ldr x8, [x8]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur w0, [x29, #-20]
bl _close
mov w8, #1
stur w8, [x29, #-4]
b LBB0_21
LBB0_8:
ldr x8, [sp, #152]
subs x8, x8, #44
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_21
LBB0_10:
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x1, [x8]
mov x2, #44
bl _memcpy
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrh w8, [x8, #22]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_21
LBB0_12:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrh w8, [x8, #34]
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_21
LBB0_14:
ldr x8, [sp, #32] ; 8-byte Folded Reload
adrp x9, ___stderrp@GOTPAGE
ldr x9, [x9, ___stderrp@GOTPAGEOFF]
ldr x0, [x9]
ldur x9, [x29, #-16]
ldr x10, [x9, #8]
ldr w9, [x8, #24]
; 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, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
str xzr, [sp, #48]
b LBB0_15
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
ldr x9, [sp, #152]
subs x9, x9, #44
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_20
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #48]
mov x10, #10
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x9]
ldr x8, [x8]
ldr x9, [sp, #48]
add x9, x9, #44
ldrsb w8, [x8, x9]
add w10, w8, #128
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #48]
add x8, x8, #1
str x8, [sp, #48]
b LBB0_15
LBB0_20:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x1, [sp, #152]
bl _munmap
ldur w0, [x29, #-20]
bl _close
stur wzr, [x29, #-4]
b LBB0_21
LBB0_21:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "USAGE: wav2gba input.wav array_name (Input File must be 8-bit, MONO)\n\n"
.comm _input_file_buffer,8,3 ; @input_file_buffer
l_.str.1: ; @.str.1
.asciz "ERROR: Input File is not a WAV file\n\n"
.comm _wave_header,44,2 ; @wave_header
l_.str.2: ; @.str.2
.asciz "ERROR: Input File is not MONO\n\n"
l_.str.3: ; @.str.3
.asciz "ERROR: Input File is not 8-bit\n\n"
l_.str.4: ; @.str.4
.asciz "INPUT FILE: %s (8-bit, MONO, %i Hz)\n"
l_.str.5: ; @.str.5
.asciz "const s8 %s[] = {"
l_.str.6: ; @.str.6
.asciz "\n\t"
l_.str.7: ; @.str.7
.asciz "0x%x,"
l_.str.8: ; @.str.8
.asciz "\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 $176, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $3, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB0_21
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -20(%rbp)
cmpl $-1, -20(%rbp)
jne LBB0_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB0_21
LBB0_4:
movl -20(%rbp), %edi
leaq -168(%rbp), %rsi
callq _fstat$INODE64
cmpl $-1, %eax
jne LBB0_6
## %bb.5:
movl -20(%rbp), %edi
callq _close
movl $1, -4(%rbp)
jmp LBB0_21
LBB0_6:
movq -72(%rbp), %rsi
movl -20(%rbp), %r8d
xorl %eax, %eax
movl %eax, %r9d
movl $1, %edx
movl $2, %ecx
movq %r9, %rdi
callq _mmap
movq %rax, %rcx
movq _input_file_buffer@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq $-1, %rcx
movq _input_file_buffer@GOTPCREL(%rip), %rax
cmpq %rcx, (%rax)
jne LBB0_8
## %bb.7:
movl -20(%rbp), %edi
callq _close
movl $1, -4(%rbp)
jmp LBB0_21
LBB0_8:
cmpq $44, -72(%rbp)
jge LBB0_10
## %bb.9:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_21
LBB0_10:
movq _input_file_buffer@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _wave_header@GOTPCREL(%rip), %rdi
movl $44, %edx
callq _memcpy
movq _wave_header@GOTPCREL(%rip), %rax
movzwl 22(%rax), %eax
cmpl $1, %eax
je LBB0_12
## %bb.11:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_21
LBB0_12:
movq _wave_header@GOTPCREL(%rip), %rax
movzwl 34(%rax), %eax
cmpl $8, %eax
je LBB0_14
## %bb.13:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_21
LBB0_14:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rdx
movq _wave_header@GOTPCREL(%rip), %rax
movl 24(%rax), %ecx
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rdx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movq $0, -176(%rbp)
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq -176(%rbp), %rax
movq -72(%rbp), %rcx
subq $44, %rcx
cmpq %rcx, %rax
jae LBB0_20
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq -176(%rbp), %rax
movl $10, %ecx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
cmpq $0, %rdx
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _input_file_buffer@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -176(%rbp), %rcx
addq $44, %rcx
movsbl (%rax,%rcx), %edx
addl $128, %edx
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
movq -176(%rbp), %rax
addq $1, %rax
movq %rax, -176(%rbp)
jmp LBB0_15
LBB0_20:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
movq _input_file_buffer@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -72(%rbp), %rsi
callq _munmap
movl -20(%rbp), %edi
callq _close
movl $0, -4(%rbp)
LBB0_21:
movl -4(%rbp), %eax
addq $176, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "USAGE: wav2gba input.wav array_name (Input File must be 8-bit, MONO)\n\n"
.comm _input_file_buffer,8,3 ## @input_file_buffer
L_.str.1: ## @.str.1
.asciz "ERROR: Input File is not a WAV file\n\n"
.comm _wave_header,44,2 ## @wave_header
L_.str.2: ## @.str.2
.asciz "ERROR: Input File is not MONO\n\n"
L_.str.3: ## @.str.3
.asciz "ERROR: Input File is not 8-bit\n\n"
L_.str.4: ## @.str.4
.asciz "INPUT FILE: %s (8-bit, MONO, %i Hz)\n"
L_.str.5: ## @.str.5
.asciz "const s8 %s[] = {"
L_.str.6: ## @.str.6
.asciz "\n\t"
L_.str.7: ## @.str.7
.asciz "0x%x,"
L_.str.8: ## @.str.8
.asciz "\n};\n"
.subsections_via_symbols
| the_stack_data/54824925.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add ; -- Begin function add
.p2align 2
_add: ; @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]
add w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _multiply ; -- Begin function multiply
.p2align 2
_multiply: ; @multiply
.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]
mul w0, w8, w9
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, #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
stur w8, [x29, #-28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-8]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _add
stur w0, [x29, #-12]
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _add
stur w0, [x29, #-16]
ldur w0, [x29, #-12]
ldur w1, [x29, #-16]
bl _multiply
stur w0, [x29, #-20]
ldur w0, [x29, #-16]
ldur w1, [x29, #-20]
bl _multiply
stur w0, [x29, #-24]
ldur w8, [x29, #-4]
; implicit-def: $x13
mov x13, x8
ldur w8, [x29, #-8]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-12]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-16]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w0, [x29, #-28] ; 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 "Hello World!\n%d,%d,%d,%d,%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add ## -- Begin function add
.p2align 4, 0x90
_add: ## @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
addl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _multiply ## -- Begin function multiply
.p2align 4, 0x90
_multiply: ## @multiply
.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
imull -8(%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)
movl $1, -8(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _add
movl %eax, -12(%rbp)
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _add
movl %eax, -16(%rbp)
movl -12(%rbp), %edi
movl -16(%rbp), %esi
callq _multiply
movl %eax, -20(%rbp)
movl -16(%rbp), %edi
movl -20(%rbp), %esi
callq _multiply
movl %eax, -24(%rbp)
movl -4(%rbp), %esi
movl -8(%rbp), %edx
movl -12(%rbp), %ecx
movl -16(%rbp), %r8d
movl -20(%rbp), %r9d
leaq L_.str(%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 "Hello World!\n%d,%d,%d,%d,%d\n"
.subsections_via_symbols
| the_stack_data/904459.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fillTable ; -- Begin function fillTable
.p2align 2
_fillTable: ; @fillTable
.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, #65
sturb w8, [x29, #-1]
sturb w8, [x29, #-2]
stur wzr, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #26
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldurb w8, [x29, #-1]
sturb w8, [x29, #-2]
ldur w9, [x29, #-8]
; 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
stur wzr, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #26
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldurb w9, [x29, #-2]
ldursw x8, [x29, #-8]
mov x10, #26
mul x12, x8, x10
adrp x8, _cipherTable@GOTPAGE
ldr x8, [x8, _cipherTable@GOTPAGEOFF]
mov x11, x8
add x11, x11, x12
ldursw x12, [x29, #-12]
add x11, x11, x12
strb w9, [x11]
ldurb w9, [x29, #-2]
add w9, w9, #1
sturb w9, [x29, #-2]
ldursw x9, [x29, #-8]
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-12]
ldrsb w10, [x8, x9]
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
ldursb w8, [x29, #-2]
subs w8, w8, #90
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
mov w8, #65
sturb w8, [x29, #-2]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldurb w8, [x29, #-1]
add w8, w8, #1
sturb w8, [x29, #-1]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _print_title ; -- Begin function print_title
.p2align 2
_print_title: ; @print_title
.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.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print_menu ; -- Begin function print_menu
.p2align 2
_print_menu: ; @print_menu
.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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_user_choice ; -- Begin function get_user_choice
.p2align 2
_get_user_choice: ; @get_user_choice
.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.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _get_string ; -- Begin function get_string
.p2align 2
_get_string: ; @get_string
.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 w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB4_3
LBB4_2:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB4_3
LBB4_3:
mov x9, sp
sub x8, x29, #13
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _scanf
ldur x0, [x29, #-8]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #100
bl _fgets
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _get_key ; -- Begin function get_key
.p2align 2
_get_key: ; @get_key
.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 x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr x0, [sp, #8]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #50
bl _fgets
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _get_letter_val ; -- Begin function get_letter_val
.p2align 2
_get_letter_val: ; @get_letter_val
.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, LBB6_3
b LBB6_1
LBB6_1:
ldrsb w8, [sp, #11]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
ldrsb w8, [sp, #11]
subs w8, w8, #65
str w8, [sp, #12]
b LBB6_7
LBB6_3:
ldrsb w8, [sp, #11]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB6_6
b LBB6_4
LBB6_4:
ldrsb w8, [sp, #11]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
ldrsb w8, [sp, #11]
subs w8, w8, #97
str w8, [sp, #12]
b LBB6_7
LBB6_6:
b LBB6_7
LBB6_7:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _trim ; -- Begin function trim
.p2align 2
_trim: ; @trim
.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
mov x8, x0
str w8, [sp, #4]
ldr x8, [sp, #8]
ldr w9, [sp, #4]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x8, [sp, #8]
ldr w9, [sp, #4]
subs w9, w9, #1
add x8, x8, w9, sxtw
strb wzr, [x8]
b LBB7_2
LBB7_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _encrypt ; -- Begin function encrypt
.p2align 2
_encrypt: ; @encrypt
.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 wzr, [x29, #-28]
ldur x0, [x29, #-8]
bl _trim
ldur x0, [x29, #-16]
bl _trim
ldur x0, [x29, #-8]
bl _strlen
mov x8, x0
stur w8, [x29, #-20]
stur wzr, [x29, #-24]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_9
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, le
tbnz w8, #0, LBB8_6
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB8_7
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB8_7
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w0, [x8, x9]
bl _get_letter_val
str w0, [sp, #32]
ldur x8, [x29, #-16]
str x8, [sp, #16] ; 8-byte Folded Spill
ldursw x8, [x29, #-28]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
udiv x10, x9, x0
mul x10, x10, x0
subs x9, x9, x10
ldrsb w0, [x8, x9]
bl _get_letter_val
str w0, [sp, #28]
ldrsw x8, [sp, #28]
mov x9, #26
mul x9, x8, x9
adrp x8, _cipherTable@GOTPAGE
ldr x8, [x8, _cipherTable@GOTPAGEOFF]
add x8, x8, x9
ldrsw x9, [sp, #32]
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-24]
add x9, x9, x10
strb w8, [x9]
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_1 Depth=1
b LBB8_8
LBB8_8: ; in Loop: Header=BB8_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB8_1
LBB8_9:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _decrypt ; -- Begin function decrypt
.p2align 2
_decrypt: ; @decrypt
.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]
str wzr, [sp, #32]
ldur x0, [x29, #-8]
bl _trim
ldur x0, [x29, #-16]
bl _trim
ldur x0, [x29, #-8]
bl _strlen
mov x8, x0
stur w8, [x29, #-20]
stur wzr, [x29, #-24]
b LBB9_1
LBB9_1: ; =>This Loop Header: Depth=1
; Child Loop BB9_7 Depth 2
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_15
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, le
tbnz w8, #0, LBB9_6
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB9_13
b LBB9_5
LBB9_5: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB9_13
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-16]
str x8, [sp, #16] ; 8-byte Folded Spill
ldrsw x8, [sp, #32]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
udiv x10, x9, x0
mul x10, x10, x0
subs x9, x9, x10
ldrsb w0, [x8, x9]
bl _get_letter_val
str w0, [sp, #28]
stur wzr, [x29, #-28]
b LBB9_7
LBB9_7: ; Parent Loop BB9_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-28]
subs w8, w8, #26
cset w8, ge
tbnz w8, #0, LBB9_12
b LBB9_8
LBB9_8: ; in Loop: Header=BB9_7 Depth=2
ldrsw x8, [sp, #28]
mov x9, #26
mul x9, x8, x9
adrp x8, _cipherTable@GOTPAGE
ldr x8, [x8, _cipherTable@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-28]
ldrsb w8, [x8, x9]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-24]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB9_10
b LBB9_9
LBB9_9: ; in Loop: Header=BB9_7 Depth=2
ldursw x9, [x29, #-28]
adrp x8, _cipherTable@GOTPAGE
ldr x8, [x8, _cipherTable@GOTPAGEOFF]
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-24]
add x9, x9, x10
strb w8, [x9]
mov w8, #26
stur w8, [x29, #-28]
b LBB9_10
LBB9_10: ; in Loop: Header=BB9_7 Depth=2
b LBB9_11
LBB9_11: ; in Loop: Header=BB9_7 Depth=2
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB9_7
LBB9_12: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB9_13
LBB9_13: ; in Loop: Header=BB9_1 Depth=1
b LBB9_14
LBB9_14: ; in Loop: Header=BB9_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB9_1
LBB9_15:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
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, #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, #12]
bl _fillTable
bl _print_title
b LBB10_1
LBB10_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB10_13
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
bl _print_menu
bl _get_user_choice
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3: ; in Loop: Header=BB10_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB10_8
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_1 Depth=1
ldr w1, [sp, #8]
add x0, sp, #68
bl _get_string
add x0, sp, #18
bl _get_key
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB10_6
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_1 Depth=1
add x0, sp, #68
add x1, sp, #18
bl _encrypt
b LBB10_7
LBB10_6: ; in Loop: Header=BB10_1 Depth=1
add x0, sp, #68
add x1, sp, #18
bl _decrypt
b LBB10_7
LBB10_7: ; in Loop: Header=BB10_1 Depth=1
b LBB10_12
LBB10_8: ; in Loop: Header=BB10_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB10_10
b LBB10_9
LBB10_9: ; in Loop: Header=BB10_1 Depth=1
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB10_11
LBB10_10: ; in Loop: Header=BB10_1 Depth=1
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_1 Depth=1
b LBB10_12
LBB10_12: ; in Loop: Header=BB10_1 Depth=1
b LBB10_1
LBB10_13:
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, LBB10_15
b LBB10_14
LBB10_14:
bl ___stack_chk_fail
LBB10_15:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%2d: "
.comm _cipherTable,676,0 ; @cipherTable
l_.str.1: ; @.str.1
.asciz "%c "
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "\n\n"
l_.str.4: ; @.str.4
.asciz "======================\n"
l_.str.5: ; @.str.5
.asciz "Password Crypter V 2.0\n"
l_.str.6: ; @.str.6
.asciz "Options\n"
l_.str.7: ; @.str.7
.asciz "-------\n"
l_.str.8: ; @.str.8
.asciz "(1) Encrypt password\n"
l_.str.9: ; @.str.9
.asciz "(2) Decrypt password\n"
l_.str.10: ; @.str.10
.asciz "(3) Quit\n"
l_.str.11: ; @.str.11
.asciz "Enter selection: "
l_.str.12: ; @.str.12
.asciz "%d"
l_.str.13: ; @.str.13
.asciz "Enter passphrase to encrypt\n> "
l_.str.14: ; @.str.14
.asciz "Enter encrypted passphrase\n> "
l_.str.15: ; @.str.15
.asciz "%c"
l_.str.16: ; @.str.16
.asciz "Enter you encryption key\n> "
l_.str.17: ; @.str.17
.asciz "Your encrypted string:%s\n"
l_.str.18: ; @.str.18
.asciz "Your decrypted string:%s\n"
l_.str.19: ; @.str.19
.asciz "Goodbye!!!\n"
l_.str.20: ; @.str.20
.asciz "Don't know what you entered. Try again\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fillTable ## -- Begin function fillTable
.p2align 4, 0x90
_fillTable: ## @fillTable
.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 $65, -1(%rbp)
movb $65, -2(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $26, -8(%rbp)
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movb -1(%rbp), %al
movb %al, -2(%rbp)
movl -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $26, -12(%rbp)
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movb -2(%rbp), %dl
movslq -8(%rbp), %rcx
movq _cipherTable@GOTPCREL(%rip), %rax
imulq $26, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
movb -2(%rbp), %al
addb $1, %al
movb %al, -2(%rbp)
movslq -8(%rbp), %rcx
movq _cipherTable@GOTPCREL(%rip), %rax
imulq $26, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movsbl -2(%rbp), %eax
cmpl $90, %eax
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movb $65, -2(%rbp)
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movb -1(%rbp), %al
addb $1, %al
movb %al, -1(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_title ## -- Begin function print_title
.p2align 4, 0x90
_print_title: ## @print_title
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_menu ## -- Begin function print_menu
.p2align 4, 0x90
_print_menu: ## @print_menu
.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.2(%rip), %rdi
movb $0, %al
callq _printf
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
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_user_choice ## -- Begin function get_user_choice
.p2align 4, 0x90
_get_user_choice: ## @get_user_choice
.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.11(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.12(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_string ## -- Begin function get_string
.p2align 4, 0x90
_get_string: ## @get_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)
movl %esi, -12(%rbp)
cmpl $1, -12(%rbp)
jne LBB4_2
## %bb.1:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_3
LBB4_2:
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
LBB4_3:
leaq L_.str.15(%rip), %rdi
leaq -13(%rbp), %rsi
movb $0, %al
callq _scanf
movq -8(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $100, %esi
callq _fgets
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_key ## -- Begin function get_key
.p2align 4, 0x90
_get_key: ## @get_key
.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.16(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $50, %esi
callq _fgets
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_letter_val ## -- Begin function get_letter_val
.p2align 4, 0x90
_get_letter_val: ## @get_letter_val
.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 LBB6_3
## %bb.1:
movsbl -5(%rbp), %eax
cmpl $90, %eax
jg LBB6_3
## %bb.2:
movsbl -5(%rbp), %eax
subl $65, %eax
movl %eax, -4(%rbp)
jmp LBB6_7
LBB6_3:
movsbl -5(%rbp), %eax
cmpl $97, %eax
jl LBB6_6
## %bb.4:
movsbl -5(%rbp), %eax
cmpl $122, %eax
jg LBB6_6
## %bb.5:
movsbl -5(%rbp), %eax
subl $97, %eax
movl %eax, -4(%rbp)
jmp LBB6_7
LBB6_6:
jmp LBB6_7
LBB6_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _trim ## -- Begin function trim
.p2align 4, 0x90
_trim: ## @trim
.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
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
jne LBB7_2
## %bb.1:
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
LBB7_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _encrypt ## -- Begin function encrypt
.p2align 4, 0x90
_encrypt: ## @encrypt
.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)
movq %rsi, -16(%rbp)
movl $0, -28(%rbp)
movq -8(%rbp), %rdi
callq _trim
movq -16(%rbp), %rdi
callq _trim
movq -8(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB8_9
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $65, %eax
jl LBB8_4
## %bb.3: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $90, %eax
jle LBB8_6
LBB8_4: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB8_7
## %bb.5: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jg LBB8_7
LBB8_6: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _get_letter_val
movl %eax, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movslq -28(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -56(%rbp), %rax ## 8-byte Reload
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq -48(%rbp), %rax ## 8-byte Reload
movsbl (%rax,%rdx), %edi
callq _get_letter_val
movl %eax, -36(%rbp)
movslq -36(%rbp), %rcx
movq _cipherTable@GOTPCREL(%rip), %rax
imulq $26, %rcx, %rcx
addq %rcx, %rax
movslq -32(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB8_7: ## in Loop: Header=BB8_1 Depth=1
jmp LBB8_8
LBB8_8: ## in Loop: Header=BB8_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB8_1
LBB8_9:
movq -8(%rbp), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _decrypt ## -- Begin function decrypt
.p2align 4, 0x90
_decrypt: ## @decrypt
.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)
movq %rsi, -16(%rbp)
movl $0, -32(%rbp)
movq -8(%rbp), %rdi
callq _trim
movq -16(%rbp), %rdi
callq _trim
movq -8(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB9_1: ## =>This Loop Header: Depth=1
## Child Loop BB9_7 Depth 2
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB9_15
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $65, %eax
jl LBB9_4
## %bb.3: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $90, %eax
jle LBB9_6
LBB9_4: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB9_13
## %bb.5: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jg LBB9_13
LBB9_6: ## in Loop: Header=BB9_1 Depth=1
movq -16(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movslq -32(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -56(%rbp), %rax ## 8-byte Reload
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq -48(%rbp), %rax ## 8-byte Reload
movsbl (%rax,%rdx), %edi
callq _get_letter_val
movl %eax, -36(%rbp)
movl $0, -28(%rbp)
LBB9_7: ## Parent Loop BB9_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $26, -28(%rbp)
jge LBB9_12
## %bb.8: ## in Loop: Header=BB9_7 Depth=2
movslq -36(%rbp), %rcx
movq _cipherTable@GOTPCREL(%rip), %rax
imulq $26, %rcx, %rcx
addq %rcx, %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -8(%rbp), %rcx
movslq -24(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB9_10
## %bb.9: ## in Loop: Header=BB9_7 Depth=2
movslq -28(%rbp), %rcx
movq _cipherTable@GOTPCREL(%rip), %rax
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $26, -28(%rbp)
LBB9_10: ## in Loop: Header=BB9_7 Depth=2
jmp LBB9_11
LBB9_11: ## in Loop: Header=BB9_7 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB9_7
LBB9_12: ## in Loop: Header=BB9_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB9_13: ## in Loop: Header=BB9_1 Depth=1
jmp LBB9_14
LBB9_14: ## in Loop: Header=BB9_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB9_1
LBB9_15:
movq -8(%rbp), %rsi
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
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 $192, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -180(%rbp)
callq _fillTable
callq _print_title
LBB10_1: ## =>This Inner Loop Header: Depth=1
cmpl $3, -184(%rbp)
je LBB10_13
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
callq _print_menu
callq _get_user_choice
movl %eax, -184(%rbp)
cmpl $1, -184(%rbp)
je LBB10_4
## %bb.3: ## in Loop: Header=BB10_1 Depth=1
cmpl $2, -184(%rbp)
jne LBB10_8
LBB10_4: ## in Loop: Header=BB10_1 Depth=1
leaq -112(%rbp), %rdi
movl -184(%rbp), %esi
callq _get_string
leaq -176(%rbp), %rdi
callq _get_key
cmpl $1, -184(%rbp)
jne LBB10_6
## %bb.5: ## in Loop: Header=BB10_1 Depth=1
leaq -112(%rbp), %rdi
leaq -176(%rbp), %rsi
callq _encrypt
jmp LBB10_7
LBB10_6: ## in Loop: Header=BB10_1 Depth=1
leaq -112(%rbp), %rdi
leaq -176(%rbp), %rsi
callq _decrypt
LBB10_7: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_12
LBB10_8: ## in Loop: Header=BB10_1 Depth=1
cmpl $3, -184(%rbp)
jne LBB10_10
## %bb.9: ## in Loop: Header=BB10_1 Depth=1
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB10_11
LBB10_10: ## in Loop: Header=BB10_1 Depth=1
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
LBB10_11: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_12
LBB10_12: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_1
LBB10_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB10_15
## %bb.14:
xorl %eax, %eax
addq $192, %rsp
popq %rbp
retq
LBB10_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%2d: "
.comm _cipherTable,676,4 ## @cipherTable
L_.str.1: ## @.str.1
.asciz "%c "
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "\n\n"
L_.str.4: ## @.str.4
.asciz "======================\n"
L_.str.5: ## @.str.5
.asciz "Password Crypter V 2.0\n"
L_.str.6: ## @.str.6
.asciz "Options\n"
L_.str.7: ## @.str.7
.asciz "-------\n"
L_.str.8: ## @.str.8
.asciz "(1) Encrypt password\n"
L_.str.9: ## @.str.9
.asciz "(2) Decrypt password\n"
L_.str.10: ## @.str.10
.asciz "(3) Quit\n"
L_.str.11: ## @.str.11
.asciz "Enter selection: "
L_.str.12: ## @.str.12
.asciz "%d"
L_.str.13: ## @.str.13
.asciz "Enter passphrase to encrypt\n> "
L_.str.14: ## @.str.14
.asciz "Enter encrypted passphrase\n> "
L_.str.15: ## @.str.15
.asciz "%c"
L_.str.16: ## @.str.16
.asciz "Enter you encryption key\n> "
L_.str.17: ## @.str.17
.asciz "Your encrypted string:%s\n"
L_.str.18: ## @.str.18
.asciz "Your decrypted string:%s\n"
L_.str.19: ## @.str.19
.asciz "Goodbye!!!\n"
L_.str.20: ## @.str.20
.asciz "Don't know what you entered. Try again\n"
.subsections_via_symbols
| the_stack_data/90764890.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #8]
add x0, x8, #8
adrp x1, _mutexattr@GOTPAGE
ldr x1, [x1, _mutexattr@GOTPAGEOFF]
bl _pthread_mutex_init
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _update ; -- Begin function update
.p2align 2
_update: ; @update
.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 x9, #72
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, x9
str x8, [sp]
ldr x8, [sp]
add x0, x8, #8
bl _pthread_mutex_lock
ldr x8, [sp]
add x8, x8, #80
str x8, [sp]
ldr x9, [sp]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr x8, [sp]
add x0, x8, #8
bl _pthread_mutex_unlock
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _t_fun ; -- Begin function t_fun
.p2align 2
_t_fun: ; @t_fun
.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, _A@GOTPAGE
ldr x8, [x8, _A@GOTPAGEOFF]
ldr x8, [x8]
add x0, x8, #72
bl _update
mov x0, #0
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, #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, _A@GOTPAGE
ldr x8, [x8, _A@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, _mutexattr@GOTPAGE
ldr x0, [x0, _mutexattr@GOTPAGEOFF]
str x0, [sp, #8] ; 8-byte Folded Spill
bl _pthread_mutexattr_init
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #1
bl _pthread_mutexattr_settype
mov x0, #160
bl _malloc
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x0, [x8]
ldr x0, [x8]
mov w1, #666
bl _init
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
add x0, x8, #80
mov w1, #999
bl _init
sub x0, x29, #16
mov x3, #0
mov x1, x3
adrp x2, _t_fun@PAGE
add x2, x2, _t_fun@PAGEOFF
bl _pthread_create
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
add x0, x8, #72
bl _update
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
.comm _mutexattr,16,3 ; @mutexattr
.comm _A,8,3 ; @A
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rdi
addq $8, %rdi
movq _mutexattr@GOTPCREL(%rip), %rsi
callq _pthread_mutex_init
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _update ## -- Begin function 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
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
movq %rcx, %rdx
addq $72, %rdx
subq %rdx, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
addq $8, %rdi
callq _pthread_mutex_lock
movq -16(%rbp), %rax
addq $80, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movq -16(%rbp), %rdi
addq $8, %rdi
callq _pthread_mutex_unlock
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _t_fun ## -- Begin function t_fun
.p2align 4, 0x90
_t_fun: ## @t_fun
.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 _A@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq $72, %rdi
callq _update
xorl %eax, %eax
## kill: def $rax killed $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 $16, %rsp
movl $0, -4(%rbp)
movq _mutexattr@GOTPCREL(%rip), %rdi
callq _pthread_mutexattr_init
movq _mutexattr@GOTPCREL(%rip), %rdi
movl $1, %esi
callq _pthread_mutexattr_settype
movl $160, %edi
callq _malloc
movq %rax, %rcx
movq _A@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _A@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl $666, %esi ## imm = 0x29A
callq _init
movq _A@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq $80, %rdi
movl $999, %esi ## imm = 0x3E7
callq _init
leaq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _t_fun(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
movq _A@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq $72, %rdi
callq _update
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mutexattr,16,3 ## @mutexattr
.comm _A,8,3 ## @A
.subsections_via_symbols
| the_stack_data/70907.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, #32]
add x0, sp, #36
adrp x1, l___const.main.a@PAGE
add x1, x1, l___const.main.a@PAGEOFF
mov x2, #36
bl _memcpy
ldr w8, [sp, #36]
str w8, [sp, #28]
mov w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #36
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #24]
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #16]
b LBB0_4
LBB0_4: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #24]
ldr w10, [sp, #28]
subs w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #20]
ldr w9, [sp, #28]
add w8, w8, w9
ldr w9, [sp, #16]
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_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
str w8, [sp, #28]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_10:
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_12
b LBB0_11
LBB0_11:
bl ___stack_chk_fail
LBB0_12:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 10 ; 0xa
.long 11 ; 0xb
.long 12 ; 0xc
.long 13 ; 0xd
.long 17 ; 0x11
.long 18 ; 0x12
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "missing element %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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.a(%rip), %rsi
movl $36, %edx
callq _memcpy
movl -48(%rbp), %eax
movl %eax, -56(%rbp)
movl $1, -64(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
cmpl $9, -64(%rbp)
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -64(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
subl -64(%rbp), %eax
movl %eax, -60(%rbp)
movl -56(%rbp), %eax
cmpl -60(%rbp), %eax
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl $0, -68(%rbp)
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -68(%rbp), %eax
movl -60(%rbp), %ecx
subl -56(%rbp), %ecx
cmpl %ecx, %eax
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movl -64(%rbp), %esi
addl -56(%rbp), %esi
addl -68(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_4
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
movl %eax, -56(%rbp)
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB0_1
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 10 ## 0xa
.long 11 ## 0xb
.long 12 ## 0xc
.long 13 ## 0xd
.long 17 ## 0x11
.long 18 ## 0x12
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "missing element %d\n"
.subsections_via_symbols
| the_stack_data/1245072.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, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str x2, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #16]
ldr x8, [sp, #32]
str x8, [sp, #8]
str wzr, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x9, x8, #1
str x9, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
strb w8, [sp, #7]
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
ldrb w9, [x9]
subs w8, w8, w9
str w8, [sp]
ldr w8, [sp]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [sp, #7]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
ldr w0, [sp]
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 _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
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movl $0, -48(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -24(%rbp)
cmpq $0, %rax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -32(%rbp)
movb (%rax), %al
movb %al, -41(%rbp)
movzbl %al, %eax
movq -40(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -40(%rbp)
movzbl (%rcx), %ecx
subl %ecx, %eax
movl %eax, -48(%rbp)
cmpl $0, -48(%rbp)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpb $0, -41(%rbp)
jne LBB0_5
LBB0_4:
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
movl -48(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/12637522.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/125071.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_diagram ; -- Begin function print_diagram
.p2align 2
_print_diagram: ; @print_diagram
.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 LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #1024
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #1024
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w9, [x29, #-12]
ldr w8, [sp, #16]
add w8, w8, w9, lsl #10
str w8, [sp, #12]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
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_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
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
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _score ; -- Begin function score
.p2align 2
_score: ; @score
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str xzr, [sp, #16]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #256, lsl #12 ; =1048576
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_6:
ldr x0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _line_is_horizontal ; -- Begin function line_is_horizontal
.p2align 2
_line_is_horizontal: ; @line_is_horizontal
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #4]
ldr x9, [sp, #8]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _line_is_vertical ; -- Begin function line_is_vertical
.p2align 2
_line_is_vertical: ; @line_is_vertical
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp, #8]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
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, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
stur wzr, [x29, #-20]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
stur x0, [x29, #-32]
mov x0, #1024
mov x1, #16
bl _calloc
stur x0, [x29, #-40]
mov x0, #1048576
mov x1, #4
bl _calloc
stur x0, [x29, #-48]
stur wzr, [x29, #-116]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_21 Depth 2
; Child Loop BB4_13 Depth 2
; Child Loop BB4_4 Depth 2
ldur x2, [x29, #-32]
sub x0, x29, #112
mov w1, #64
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB4_42
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
sub x12, x29, #132
str x12, [sp, #64] ; 8-byte Folded Spill
add x11, x12, #4
add x10, x12, #8
add x8, x12, #12
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
sub x0, x29, #112
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _sscanf
ldr x0, [sp, #64] ; 8-byte Folded Reload
ldur x8, [x29, #-40]
ldursw x9, [x29, #-116]
mov x10, x9
add w10, w10, #1
stur w10, [x29, #-116]
ldur q0, [x29, #-132]
str q0, [x8, x9, lsl #4]
bl _line_is_horizontal
tbz w0, #0, LBB4_11
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-124]
ldur w9, [x29, #-132]
subs w8, w8, w9
str w8, [sp, #136]
str xzr, [sp, #128]
b LBB4_4
LBB4_4: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #128]
str x8, [sp, #56] ; 8-byte Folded Spill
ldr w0, [sp, #136]
bl _abs
ldr x8, [sp, #56] ; 8-byte Folded Reload
subs x8, x8, w0, sxtw
cset w8, hi
tbnz w8, #0, LBB4_10
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_4 Depth=2
ldr w8, [sp, #136]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_4 Depth=2
ldur w9, [x29, #-128]
ldur w8, [x29, #-132]
add w9, w8, w9, lsl #10
ldr x8, [sp, #128]
add x8, x8, w9, sxtw
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #124]
b LBB4_8
LBB4_7: ; in Loop: Header=BB4_4 Depth=2
ldur w9, [x29, #-128]
ldur w8, [x29, #-132]
add w9, w8, w9, lsl #10
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
ldr x9, [sp, #128]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #124]
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_4 Depth=2
ldur x8, [x29, #-48]
ldrsw x9, [sp, #124]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_4 Depth=2
ldr x8, [sp, #128]
add x8, x8, #1
str x8, [sp, #128]
b LBB4_4
LBB4_10: ; in Loop: Header=BB4_1 Depth=1
b LBB4_41
LBB4_11: ; in Loop: Header=BB4_1 Depth=1
sub x0, x29, #132
bl _line_is_vertical
tbz w0, #0, LBB4_20
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-120]
ldur w9, [x29, #-128]
subs w8, w8, w9
str w8, [sp, #120]
str xzr, [sp, #112]
b LBB4_13
LBB4_13: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #112]
str x8, [sp, #48] ; 8-byte Folded Spill
ldr w0, [sp, #120]
bl _abs
ldr x8, [sp, #48] ; 8-byte Folded Reload
subs x8, x8, w0, sxtw
cset w8, hi
tbnz w8, #0, LBB4_19
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_13 Depth=2
ldr w8, [sp, #120]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_16
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_13 Depth=2
ldursw x8, [x29, #-128]
ldr x9, [sp, #112]
add x9, x8, x9
ldursw x8, [x29, #-132]
add x8, x8, x9, lsl #10
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #108]
b LBB4_17
LBB4_16: ; in Loop: Header=BB4_13 Depth=2
ldursw x8, [x29, #-128]
ldr x9, [sp, #112]
subs x9, x8, x9
ldursw x8, [x29, #-132]
add x8, x8, x9, lsl #10
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #108]
b LBB4_17
LBB4_17: ; in Loop: Header=BB4_13 Depth=2
ldur x8, [x29, #-48]
ldrsw x9, [sp, #108]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_13 Depth=2
ldr x8, [sp, #112]
add x8, x8, #1
str x8, [sp, #112]
b LBB4_13
LBB4_19: ; in Loop: Header=BB4_1 Depth=1
b LBB4_40
LBB4_20: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-124]
ldur w9, [x29, #-132]
subs w8, w8, w9
str w8, [sp, #104]
ldur w8, [x29, #-120]
ldur w9, [x29, #-128]
subs w8, w8, w9
str w8, [sp, #100]
str xzr, [sp, #88]
b LBB4_21
LBB4_21: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #88]
str x8, [sp, #40] ; 8-byte Folded Spill
ldr w0, [sp, #104]
bl _abs
ldr x8, [sp, #40] ; 8-byte Folded Reload
subs x8, x8, w0, sxtw
cset w8, hi
tbnz w8, #0, LBB4_39
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_21 Depth=2
str wzr, [sp, #84]
ldr w8, [sp, #104]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_25
b LBB4_23
LBB4_23: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #100]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_25
b LBB4_24
LBB4_24: ; in Loop: Header=BB4_21 Depth=2
ldursw x8, [x29, #-128]
ldr x9, [sp, #88]
add x9, x8, x9
ldursw x8, [x29, #-132]
add x8, x8, x9, lsl #10
ldr x9, [sp, #88]
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #84]
b LBB4_37
LBB4_25: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #104]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_28
b LBB4_26
LBB4_26: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #100]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_28
b LBB4_27
LBB4_27: ; in Loop: Header=BB4_21 Depth=2
ldursw x8, [x29, #-128]
ldr x9, [sp, #88]
subs x9, x8, x9
ldursw x8, [x29, #-132]
add x8, x8, x9, lsl #10
ldr x9, [sp, #88]
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #84]
b LBB4_36
LBB4_28: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #104]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_31
b LBB4_29
LBB4_29: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #100]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_31
b LBB4_30
LBB4_30: ; in Loop: Header=BB4_21 Depth=2
ldursw x8, [x29, #-128]
ldr x9, [sp, #88]
add x9, x8, x9
ldursw x8, [x29, #-132]
add x8, x8, x9, lsl #10
ldr x9, [sp, #88]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #84]
b LBB4_35
LBB4_31: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #104]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_34
b LBB4_32
LBB4_32: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #100]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_34
b LBB4_33
LBB4_33: ; in Loop: Header=BB4_21 Depth=2
ldursw x8, [x29, #-128]
ldr x9, [sp, #88]
subs x9, x8, x9
ldursw x8, [x29, #-132]
add x8, x8, x9, lsl #10
ldr x9, [sp, #88]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #84]
b LBB4_34
LBB4_34: ; in Loop: Header=BB4_21 Depth=2
b LBB4_35
LBB4_35: ; in Loop: Header=BB4_21 Depth=2
b LBB4_36
LBB4_36: ; in Loop: Header=BB4_21 Depth=2
b LBB4_37
LBB4_37: ; in Loop: Header=BB4_21 Depth=2
ldur x8, [x29, #-48]
ldrsw x9, [sp, #84]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB4_38
LBB4_38: ; in Loop: Header=BB4_21 Depth=2
ldr x8, [sp, #88]
add x8, x8, #1
str x8, [sp, #88]
b LBB4_21
LBB4_39: ; in Loop: Header=BB4_1 Depth=1
b LBB4_40
LBB4_40: ; in Loop: Header=BB4_1 Depth=1
b LBB4_41
LBB4_41: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_42:
ldur x0, [x29, #-32]
bl _fclose
ldur x0, [x29, #-48]
bl _score
str x0, [sp, #72]
ldr x8, [sp, #72]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x8, [sp, #72]
mov x9, #18144
subs x8, x8, x9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB4_44
b LBB4_43
LBB4_43:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #128
adrp x3, l_.str.7@PAGE
add x3, x3, l_.str.7@PAGEOFF
bl ___assert_rtn
LBB4_44:
b LBB4_45
LBB4_45:
ldur x0, [x29, #-40]
bl _free
ldur x0, [x29, #-48]
bl _free
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "input"
l_.str.3: ; @.str.3
.asciz "r"
l_.str.4: ; @.str.4
.asciz "%d,%d -> %d,%d"
l_.str.5: ; @.str.5
.asciz "%zu \n"
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.6: ; @.str.6
.asciz "70450013.c"
l_.str.7: ; @.str.7
.asciz "s == 18144"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_diagram ## -- Begin function print_diagram
.p2align 4, 0x90
_print_diagram: ## @print_diagram
.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 $0, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $1024, -12(%rbp) ## imm = 0x400
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1024, -16(%rbp) ## imm = 0x400
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
shll $10, %eax
addl -16(%rbp), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%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 -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _score ## -- Begin function score
.p2align 4, 0x90
_score: ## @score
.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)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $1048576, -20(%rbp) ## imm = 0x100000
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
cmpl $2, (%rax,%rcx,4)
jl LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_6:
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _line_is_horizontal ## -- Begin function line_is_horizontal
.p2align 4, 0x90
_line_is_horizontal: ## @line_is_horizontal
.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 4(%rax), %eax
movq -8(%rbp), %rcx
cmpl 12(%rcx), %eax
sete %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _line_is_vertical ## -- Begin function line_is_vertical
.p2align 4, 0x90
_line_is_vertical: ## @line_is_vertical
.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 (%rax), %eax
movq -8(%rbp), %rcx
cmpl 8(%rcx), %eax
sete %al
andb $1, %al
movzbl %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 $224, %rsp
movl $0, -4(%rbp)
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
movl $1024, %edi ## imm = 0x400
movl $16, %esi
callq _calloc
movq %rax, -24(%rbp)
movl $1048576, %edi ## imm = 0x100000
movl $4, %esi
callq _calloc
movq %rax, -32(%rbp)
movl $0, -100(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_21 Depth 2
## Child Loop BB4_13 Depth 2
## Child Loop BB4_4 Depth 2
leaq -96(%rbp), %rdi
movq -16(%rbp), %rdx
movl $64, %esi
callq _fgets
cmpq $0, %rax
je LBB4_42
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
leaq -96(%rbp), %rdi
leaq -120(%rbp), %rdx
leaq -120(%rbp), %rcx
addq $4, %rcx
leaq -120(%rbp), %r8
addq $8, %r8
leaq -120(%rbp), %r9
addq $8, %r9
addq $4, %r9
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _sscanf
movq -24(%rbp), %rax
movl -100(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -100(%rbp)
movslq %ecx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movq -120(%rbp), %rcx
movq %rcx, (%rax)
movq -112(%rbp), %rcx
movq %rcx, 8(%rax)
leaq -120(%rbp), %rdi
callq _line_is_horizontal
testb $1, %al
jne LBB4_3
jmp LBB4_11
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
movl -112(%rbp), %eax
subl -120(%rbp), %eax
movl %eax, -124(%rbp)
movq $0, -136(%rbp)
LBB4_4: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -136(%rbp), %rax
movq %rax, -200(%rbp) ## 8-byte Spill
movl -124(%rbp), %edi
callq _abs
movl %eax, %ecx
movq -200(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
cmpq %rcx, %rax
ja LBB4_10
## %bb.5: ## in Loop: Header=BB4_4 Depth=2
cmpl $0, -124(%rbp)
jle LBB4_7
## %bb.6: ## in Loop: Header=BB4_4 Depth=2
movl -116(%rbp), %eax
shll $10, %eax
addl -120(%rbp), %eax
cltq
addq -136(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -140(%rbp)
jmp LBB4_8
LBB4_7: ## in Loop: Header=BB4_4 Depth=2
movl -116(%rbp), %eax
shll $10, %eax
addl -120(%rbp), %eax
cltq
subq -136(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -140(%rbp)
LBB4_8: ## in Loop: Header=BB4_4 Depth=2
movq -32(%rbp), %rax
movslq -140(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movl %edx, (%rax,%rcx,4)
## %bb.9: ## in Loop: Header=BB4_4 Depth=2
movq -136(%rbp), %rax
addq $1, %rax
movq %rax, -136(%rbp)
jmp LBB4_4
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_41
LBB4_11: ## in Loop: Header=BB4_1 Depth=1
leaq -120(%rbp), %rdi
callq _line_is_vertical
testb $1, %al
jne LBB4_12
jmp LBB4_20
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movl -108(%rbp), %eax
subl -116(%rbp), %eax
movl %eax, -144(%rbp)
movq $0, -152(%rbp)
LBB4_13: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -152(%rbp), %rax
movq %rax, -208(%rbp) ## 8-byte Spill
movl -144(%rbp), %edi
callq _abs
movl %eax, %ecx
movq -208(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
cmpq %rcx, %rax
ja LBB4_19
## %bb.14: ## in Loop: Header=BB4_13 Depth=2
cmpl $0, -144(%rbp)
jle LBB4_16
## %bb.15: ## in Loop: Header=BB4_13 Depth=2
movslq -116(%rbp), %rax
addq -152(%rbp), %rax
shlq $10, %rax
movslq -120(%rbp), %rcx
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -156(%rbp)
jmp LBB4_17
LBB4_16: ## in Loop: Header=BB4_13 Depth=2
movslq -116(%rbp), %rax
subq -152(%rbp), %rax
shlq $10, %rax
movslq -120(%rbp), %rcx
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -156(%rbp)
LBB4_17: ## in Loop: Header=BB4_13 Depth=2
movq -32(%rbp), %rax
movslq -156(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movl %edx, (%rax,%rcx,4)
## %bb.18: ## in Loop: Header=BB4_13 Depth=2
movq -152(%rbp), %rax
addq $1, %rax
movq %rax, -152(%rbp)
jmp LBB4_13
LBB4_19: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_40
LBB4_20: ## in Loop: Header=BB4_1 Depth=1
movl -112(%rbp), %eax
subl -120(%rbp), %eax
movl %eax, -160(%rbp)
movl -108(%rbp), %eax
subl -116(%rbp), %eax
movl %eax, -164(%rbp)
movq $0, -176(%rbp)
LBB4_21: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -176(%rbp), %rax
movq %rax, -216(%rbp) ## 8-byte Spill
movl -160(%rbp), %edi
callq _abs
movl %eax, %ecx
movq -216(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
cmpq %rcx, %rax
ja LBB4_39
## %bb.22: ## in Loop: Header=BB4_21 Depth=2
movl $0, -180(%rbp)
cmpl $0, -160(%rbp)
jle LBB4_25
## %bb.23: ## in Loop: Header=BB4_21 Depth=2
cmpl $0, -164(%rbp)
jle LBB4_25
## %bb.24: ## in Loop: Header=BB4_21 Depth=2
movslq -116(%rbp), %rax
addq -176(%rbp), %rax
shlq $10, %rax
movslq -120(%rbp), %rcx
addq %rcx, %rax
addq -176(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -180(%rbp)
jmp LBB4_37
LBB4_25: ## in Loop: Header=BB4_21 Depth=2
cmpl $0, -160(%rbp)
jle LBB4_28
## %bb.26: ## in Loop: Header=BB4_21 Depth=2
cmpl $0, -164(%rbp)
jge LBB4_28
## %bb.27: ## in Loop: Header=BB4_21 Depth=2
movslq -116(%rbp), %rax
subq -176(%rbp), %rax
shlq $10, %rax
movslq -120(%rbp), %rcx
addq %rcx, %rax
addq -176(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -180(%rbp)
jmp LBB4_36
LBB4_28: ## in Loop: Header=BB4_21 Depth=2
cmpl $0, -160(%rbp)
jge LBB4_31
## %bb.29: ## in Loop: Header=BB4_21 Depth=2
cmpl $0, -164(%rbp)
jle LBB4_31
## %bb.30: ## in Loop: Header=BB4_21 Depth=2
movslq -116(%rbp), %rax
addq -176(%rbp), %rax
shlq $10, %rax
movslq -120(%rbp), %rcx
addq %rcx, %rax
subq -176(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -180(%rbp)
jmp LBB4_35
LBB4_31: ## in Loop: Header=BB4_21 Depth=2
cmpl $0, -160(%rbp)
jge LBB4_34
## %bb.32: ## in Loop: Header=BB4_21 Depth=2
cmpl $0, -164(%rbp)
jge LBB4_34
## %bb.33: ## in Loop: Header=BB4_21 Depth=2
movslq -116(%rbp), %rax
subq -176(%rbp), %rax
shlq $10, %rax
movslq -120(%rbp), %rcx
addq %rcx, %rax
subq -176(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -180(%rbp)
LBB4_34: ## in Loop: Header=BB4_21 Depth=2
jmp LBB4_35
LBB4_35: ## in Loop: Header=BB4_21 Depth=2
jmp LBB4_36
LBB4_36: ## in Loop: Header=BB4_21 Depth=2
jmp LBB4_37
LBB4_37: ## in Loop: Header=BB4_21 Depth=2
movq -32(%rbp), %rax
movslq -180(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movl %edx, (%rax,%rcx,4)
## %bb.38: ## in Loop: Header=BB4_21 Depth=2
movq -176(%rbp), %rax
addq $1, %rax
movq %rax, -176(%rbp)
jmp LBB4_21
LBB4_39: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_40
LBB4_40: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_41
LBB4_41: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_42:
movq -16(%rbp), %rdi
callq _fclose
movq -32(%rbp), %rdi
callq _score
movq %rax, -192(%rbp)
movq -192(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
cmpq $18144, -192(%rbp) ## imm = 0x46E0
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB4_44
## %bb.43:
leaq L___func__.main(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.7(%rip), %rcx
movl $128, %edx
callq ___assert_rtn
LBB4_44:
jmp LBB4_45
LBB4_45:
movq -24(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "input"
L_.str.3: ## @.str.3
.asciz "r"
L_.str.4: ## @.str.4
.asciz "%d,%d -> %d,%d"
L_.str.5: ## @.str.5
.asciz "%zu \n"
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.6: ## @.str.6
.asciz "70450013.c"
L_.str.7: ## @.str.7
.asciz "s == 18144"
.subsections_via_symbols
| the_stack_data/70450013.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/719610.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, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-24]
stur wzr, [x29, #-28]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
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 LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_1
LBB0_7:
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
subs w2, w8, #1
mov w1, #0
bl _QuickSort
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur w9, [x29, #-8]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #32]
b LBB0_19
LBB0_9:
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_18
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldursw x8, [x29, #-16]
ldr w8, [x9, x8, lsl #2]
ldur w10, [x29, #-16]
subs w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x29, #-24]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
stur w8, [x29, #-24]
ldur w8, [x29, #-24]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur w9, [x29, #-16]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #32]
b LBB0_18
LBB0_16: ; in Loop: Header=BB0_10 Depth=1
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB0_10
LBB0_18:
b LBB0_19
LBB0_19:
stur wzr, [x29, #-16]
b LBB0_20
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_26
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_20 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_20 Depth=1
ldur w8, [x29, #-28]
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_20 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_20 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
stur w8, [x29, #-28]
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_20 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_20
LBB0_26:
ldr w8, [sp, #32]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _QuickSort ; -- Begin function QuickSort
.p2align 2
_QuickSort: ; @QuickSort
.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]
stur w2, [x29, #-16]
ldur w8, [x29, #-12]
stur w8, [x29, #-20]
ldur w8, [x29, #-16]
str w8, [sp, #24]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #20]
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
b LBB1_20
LBB1_2:
b LBB1_3
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_5 Depth 2
; Child Loop BB1_12 Depth 2
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_19
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
b LBB1_5
LBB1_5: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=2
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_5 Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB1_5
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_3 Depth=1
b LBB1_12
LBB1_12: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_12 Depth=2
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_12 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB1_16
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_12 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_12
LBB1_16: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-16]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_3 Depth=1
b LBB1_3
LBB1_19:
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
str w8, [x9, x10, lsl #2]
ldur x0, [x29, #-8]
ldur w1, [x29, #-20]
ldur w8, [x29, #-12]
subs w2, w8, #1
bl _QuickSort
ldur x0, [x29, #-8]
ldur w8, [x29, #-12]
add w1, w8, #1
ldr w2, [sp, #24]
bl _QuickSort
b LBB1_20
LBB1_20:
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"
.comm _a,40000020,2 ; @a
l_.str.1: ; @.str.1
.asciz "%d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 $1, -24(%rbp)
movl $0, -28(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq -16(%rbp), %rax
movq _a@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_7:
movl -8(%rbp), %edx
subl $1, %edx
movq _a@GOTPCREL(%rip), %rdi
xorl %esi, %esi
callq _QuickSort
cmpl $1, -12(%rbp)
jne LBB0_9
## %bb.8:
movl -8(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
jmp LBB0_19
LBB0_9:
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -16(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpl $0, -16(%rbp)
jle LBB0_18
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movslq -16(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl -16(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rdx
movq _a@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movl -24(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB0_14
LBB0_13: ## in Loop: Header=BB0_10 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
LBB0_14: ## in Loop: Header=BB0_10 Depth=1
movl -36(%rbp), %eax ## 4-byte Reload
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB0_16
## %bb.15:
movl -16(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
jmp LBB0_18
LBB0_16: ## in Loop: Header=BB0_10 Depth=1
jmp LBB0_17
LBB0_17: ## in Loop: Header=BB0_10 Depth=1
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB0_10
LBB0_18:
jmp LBB0_19
LBB0_19:
movl $0, -16(%rbp)
LBB0_20: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_26
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
movslq -16(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
cmpl -32(%rbp), %eax
je LBB0_23
## %bb.22: ## in Loop: Header=BB0_20 Depth=1
movl -28(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
jmp LBB0_24
LBB0_23: ## in Loop: Header=BB0_20 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
LBB0_24: ## in Loop: Header=BB0_20 Depth=1
movl -40(%rbp), %eax ## 4-byte Reload
movl %eax, -28(%rbp)
## %bb.25: ## in Loop: Header=BB0_20 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_20
LBB0_26:
movl -32(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _QuickSort ## -- Begin function QuickSort
.p2align 4, 0x90
_QuickSort: ## @QuickSort
.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)
movl -12(%rbp), %eax
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
movl %eax, -24(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jl LBB1_2
## %bb.1:
jmp LBB1_20
LBB1_2:
jmp LBB1_3
LBB1_3: ## =>This Loop Header: Depth=1
## Child Loop BB1_5 Depth 2
## Child Loop BB1_12 Depth 2
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_19
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_5
LBB1_5: ## Parent Loop BB1_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -16(%rbp), %ecx
movb %al, -29(%rbp) ## 1-byte Spill
jge LBB1_7
## %bb.6: ## in Loop: Header=BB1_5 Depth=2
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
movslq -16(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
setle %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB1_7: ## in Loop: Header=BB1_5 Depth=2
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_8
jmp LBB1_9
LBB1_8: ## in Loop: Header=BB1_5 Depth=2
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB1_5
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
movslq -16(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB1_11
## %bb.10: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB1_11: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_12
LBB1_12: ## Parent Loop BB1_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -16(%rbp), %ecx
movb %al, -30(%rbp) ## 1-byte Spill
jge LBB1_14
## %bb.13: ## in Loop: Header=BB1_12 Depth=2
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
movslq -12(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
setge %al
movb %al, -30(%rbp) ## 1-byte Spill
LBB1_14: ## in Loop: Header=BB1_12 Depth=2
movb -30(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_15
jmp LBB1_16
LBB1_15: ## in Loop: Header=BB1_12 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_12
LBB1_16: ## in Loop: Header=BB1_3 Depth=1
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
movslq -12(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB1_18
## %bb.17: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
LBB1_18: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_3
LBB1_19:
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rdi
movl -20(%rbp), %esi
movl -12(%rbp), %edx
subl $1, %edx
callq _QuickSort
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
addl $1, %esi
movl -24(%rbp), %edx
callq _QuickSort
LBB1_20:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _a,40000020,4 ## @a
L_.str.1: ## @.str.1
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/744503.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hello ; -- Begin function hello
.p2align 2
_hello: ; @hello
.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]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
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 %s!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rsi
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 "hello %s!\n"
.subsections_via_symbols
| the_stack_data/61073955.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _explicit_bzero ; -- Begin function explicit_bzero
.p2align 2
_explicit_bzero: ; @explicit_bzero
.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 x2, [sp]
mov w1, #0
mov x3, #-1
bl ___memset_chk
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 _explicit_bzero ## -- Begin function explicit_bzero
.p2align 4, 0x90
_explicit_bzero: ## @explicit_bzero
.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), %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/51699715.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memcpy ; -- Begin function memcpy
.p2align 2
_memcpy: ; @memcpy
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str x2, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #16]
ldr x8, [sp, #32]
str x8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x9, x8, #1
str x9, [sp, #24]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrb w8, [x8]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
strb w8, [x9]
b LBB0_1
LBB0_3:
ldr x0, [sp, #40]
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 _memcpy ## -- Begin function memcpy
.p2align 4, 0x90
_memcpy: ## @memcpy
.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 %rdx, -24(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -24(%rbp)
cmpq $0, %rax
jbe LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movb (%rax), %cl
movq -32(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -32(%rbp)
movb %cl, (%rax)
jmp LBB0_1
LBB0_3:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1129364.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_pwd ; -- Begin function test_pwd
.p2align 2
_test_pwd: ; @test_pwd
.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
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getpwent
mov x8, x0
str x8, [sp, #8]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #8]
bl _print_pwd_entry
b LBB0_1
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _setpwent
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
bl _getpwent
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _print_pwd_entry
bl _endpwent
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _getpwnam
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x0, [sp, #8]
bl _print_pwd_entry
b LBB0_5
LBB0_5:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _getpwnam
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x0, [sp, #8]
bl _print_pwd_entry
b LBB0_7
LBB0_7:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov w0, #0
bl _getpwuid
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr x0, [sp, #8]
bl _print_pwd_entry
b LBB0_9
LBB0_9:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w0, #65534
bl _getpwuid
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x0, [sp, #8]
bl _print_pwd_entry
b LBB0_11
LBB0_11:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w0, #666
bl _getpwuid
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr x0, [sp, #8]
bl _print_pwd_entry
b LBB0_13
LBB0_13:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print_pwd_entry ; -- Begin function print_pwd_entry
.p2align 2
_print_pwd_entry: ; @print_pwd_entry
.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]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr w8, [x8, #16]
; kill: def $x8 killed $w8
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr w9, [x8, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x8, [x8, #48]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x8, [x8, #56]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
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 "All entries:\n"
l_.str.1: ; @.str.1
.asciz "Back to start!\n"
l_.str.2: ; @.str.2
.asciz "First entry again:\n"
l_.str.3: ; @.str.3
.asciz "Entry for user 'root':\n"
l_.str.4: ; @.str.4
.asciz "root"
l_.str.5: ; @.str.5
.asciz "Entry for user 'alfred'\n"
l_.str.6: ; @.str.6
.asciz "alfred"
l_.str.7: ; @.str.7
.asciz "Entry for user with uid 0\n"
l_.str.8: ; @.str.8
.asciz "Entry for user with uid 65534\n"
l_.str.9: ; @.str.9
.asciz "Entry for user with uid 666\n"
l_.str.10: ; @.str.10
.asciz "Name: %s\n"
l_.str.11: ; @.str.11
.asciz "Uid: %ld\n"
l_.str.12: ; @.str.12
.asciz "Gid: %d\n"
l_.str.13: ; @.str.13
.asciz "Path: %s\n"
l_.str.14: ; @.str.14
.asciz "Shell: %s\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_pwd ## -- Begin function test_pwd
.p2align 4, 0x90
_test_pwd: ## @test_pwd
.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
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getpwent
movq %rax, -8(%rbp)
cmpq $0, %rax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rdi
callq _print_pwd_entry
jmp LBB0_1
LBB0_3:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _setpwent
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
callq _getpwent
movq %rax, -8(%rbp)
movq -8(%rbp), %rdi
callq _print_pwd_entry
callq _endpwent
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
callq _getpwnam
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB0_5
## %bb.4:
movq -8(%rbp), %rdi
callq _print_pwd_entry
LBB0_5:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
callq _getpwnam
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB0_7
## %bb.6:
movq -8(%rbp), %rdi
callq _print_pwd_entry
LBB0_7:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
xorl %edi, %edi
callq _getpwuid
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB0_9
## %bb.8:
movq -8(%rbp), %rdi
callq _print_pwd_entry
LBB0_9:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $65534, %edi ## imm = 0xFFFE
callq _getpwuid
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB0_11
## %bb.10:
movq -8(%rbp), %rdi
callq _print_pwd_entry
LBB0_11:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $666, %edi ## imm = 0x29A
callq _getpwuid
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB0_13
## %bb.12:
movq -8(%rbp), %rdi
callq _print_pwd_entry
LBB0_13:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_pwd_entry ## -- Begin function print_pwd_entry
.p2align 4, 0x90
_print_pwd_entry: ## @print_pwd_entry
.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), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl 16(%rax), %eax
movl %eax, %esi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl 20(%rax), %esi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 48(%rax), %rsi
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 56(%rax), %rsi
leaq L_.str.14(%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 "All entries:\n"
L_.str.1: ## @.str.1
.asciz "Back to start!\n"
L_.str.2: ## @.str.2
.asciz "First entry again:\n"
L_.str.3: ## @.str.3
.asciz "Entry for user 'root':\n"
L_.str.4: ## @.str.4
.asciz "root"
L_.str.5: ## @.str.5
.asciz "Entry for user 'alfred'\n"
L_.str.6: ## @.str.6
.asciz "alfred"
L_.str.7: ## @.str.7
.asciz "Entry for user with uid 0\n"
L_.str.8: ## @.str.8
.asciz "Entry for user with uid 65534\n"
L_.str.9: ## @.str.9
.asciz "Entry for user with uid 666\n"
L_.str.10: ## @.str.10
.asciz "Name: %s\n"
L_.str.11: ## @.str.11
.asciz "Uid: %ld\n"
L_.str.12: ## @.str.12
.asciz "Gid: %d\n"
L_.str.13: ## @.str.13
.asciz "Path: %s\n"
L_.str.14: ## @.str.14
.asciz "Shell: %s\n\n"
.subsections_via_symbols
| the_stack_data/108512.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _randint ; -- Begin function randint
.p2align 2
_randint: ; @randint
.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 _rand
ldur w8, [x29, #-4]
add w8, w8, #1
subs w9, w8, #0
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w0, w8, #0
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, #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
mov w0, #0
stur wzr, [x29, #-4]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _setlocale
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
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
b LBB1_1
LBB1_6:
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_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
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
b LBB1_12
LBB1_9:
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
mov w8, #4
stur w8, [x29, #-8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB1_11
LBB1_11:
b LBB1_12
LBB1_12:
ldursw x8, [x29, #-8]
lsl x0, x8, #3
bl _malloc
stur x0, [x29, #-24]
stur wzr, [x29, #-28]
b LBB1_13
LBB1_13: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_16
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_13 Depth=1
ldursw x8, [x29, #-8]
lsl x0, x8, #2
bl _malloc
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
str x0, [x8, x9, lsl #3]
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_13 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB1_13
LBB1_16:
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_26
b LBB1_17
LBB1_17:
stur wzr, [x29, #-32]
b LBB1_18
LBB1_18: ; =>This Loop Header: Depth=1
; Child Loop BB1_20 Depth 2
ldur w8, [x29, #-32]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_25
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_18 Depth=1
stur wzr, [x29, #-36]
b LBB1_20
LBB1_20: ; Parent Loop BB1_18 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-36]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_23
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_20 Depth=2
ldur w8, [x29, #-32]
add w11, w8, #1
ldur w8, [x29, #-36]
add w10, w8, #1
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.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x8, [x29, #-24]
ldursw x9, [x29, #-32]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-36]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_20 Depth=2
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB1_20
LBB1_23: ; in Loop: Header=BB1_18 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_18 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB1_18
LBB1_25:
b LBB1_40
LBB1_26:
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_36
b LBB1_27
LBB1_27:
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
stur wzr, [x29, #-40]
b LBB1_28
LBB1_28: ; =>This Loop Header: Depth=1
; Child Loop BB1_30 Depth 2
ldur w8, [x29, #-40]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_35
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_28 Depth=1
stur wzr, [x29, #-44]
b LBB1_30
LBB1_30: ; Parent Loop BB1_28 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-44]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_33
b LBB1_31
LBB1_31: ; in Loop: Header=BB1_30 Depth=2
mov w0, #10
bl _randint
ldur x8, [x29, #-24]
ldursw x9, [x29, #-40]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-44]
str w0, [x8, x9, lsl #2]
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_30 Depth=2
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB1_30
LBB1_33: ; in Loop: Header=BB1_28 Depth=1
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_28 Depth=1
ldur w8, [x29, #-40]
add w8, w8, #1
stur w8, [x29, #-40]
b LBB1_28
LBB1_35:
b LBB1_39
LBB1_36:
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB1_38
b LBB1_37
LBB1_37:
ldur x8, [x29, #-24]
ldr x8, [x8]
mov w12, #1
str w12, [x8]
ldur x8, [x29, #-24]
ldr x9, [x8]
mov w8, #2
str w8, [x9, #4]
ldur x9, [x29, #-24]
ldr x10, [x9]
mov w9, #3
str w9, [x10, #8]
ldur x9, [x29, #-24]
ldr x9, [x9]
str w8, [x9, #12]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
mov w9, #4
str w9, [x8]
ldur x8, [x29, #-24]
ldr x10, [x8, #8]
mov w8, #5
str w8, [x10, #4]
ldur x8, [x29, #-24]
ldr x10, [x8, #8]
mov w8, #6
str w8, [x10, #8]
ldur x10, [x29, #-24]
ldr x10, [x10, #8]
str w9, [x10, #12]
ldur x9, [x29, #-24]
ldr x9, [x9, #16]
mov w11, #7
str w11, [x9]
ldur x9, [x29, #-24]
ldr x9, [x9, #16]
mov w10, #8
str w10, [x9, #4]
ldur x9, [x29, #-24]
ldr x13, [x9, #16]
mov w9, #9
str w9, [x13, #8]
ldur x13, [x29, #-24]
ldr x13, [x13, #16]
str w12, [x13, #12]
ldur x12, [x29, #-24]
ldr x12, [x12, #24]
str w11, [x12]
ldur x11, [x29, #-24]
ldr x11, [x11, #24]
str w10, [x11, #4]
ldur x10, [x29, #-24]
ldr x10, [x10, #24]
str w9, [x10, #8]
ldur x9, [x29, #-24]
ldr x9, [x9, #24]
str w8, [x9, #12]
b LBB1_38
LBB1_38:
b LBB1_39
LBB1_39:
b LBB1_40
LBB1_40:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
stur wzr, [x29, #-48]
b LBB1_41
LBB1_41: ; =>This Loop Header: Depth=1
; Child Loop BB1_43 Depth 2
ldur w8, [x29, #-48]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_48
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_41 Depth=1
stur wzr, [x29, #-52]
b LBB1_43
LBB1_43: ; Parent Loop BB1_41 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-52]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_46
b LBB1_44
LBB1_44: ; in Loop: Header=BB1_43 Depth=2
ldur x8, [x29, #-24]
ldursw x9, [x29, #-48]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-52]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB1_45
LBB1_45: ; in Loop: Header=BB1_43 Depth=2
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB1_43
LBB1_46: ; in Loop: Header=BB1_41 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_41 Depth=1
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB1_41
LBB1_48:
ldursw x8, [x29, #-8]
lsl x0, x8, #2
bl _malloc
str x0, [sp, #48]
str wzr, [sp, #40]
b LBB1_49
LBB1_49: ; =>This Loop Header: Depth=1
; Child Loop BB1_51 Depth 2
ldr w8, [sp, #40]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_59
b LBB1_50
LBB1_50: ; in Loop: Header=BB1_49 Depth=1
str wzr, [sp, #56]
str wzr, [sp, #36]
b LBB1_51
LBB1_51: ; Parent Loop BB1_49 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_57
b LBB1_52
LBB1_52: ; in Loop: Header=BB1_51 Depth=2
ldr w8, [sp, #36]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_54
b LBB1_53
LBB1_53: ; in Loop: Header=BB1_51 Depth=2
b LBB1_56
LBB1_54: ; in Loop: Header=BB1_51 Depth=2
ldur x8, [x29, #-24]
ldrsw x9, [sp, #36]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #40]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #56]
add w8, w8, w9
str w8, [sp, #56]
b LBB1_55
LBB1_55: ; in Loop: Header=BB1_51 Depth=2
b LBB1_56
LBB1_56: ; in Loop: Header=BB1_51 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB1_51
LBB1_57: ; in Loop: Header=BB1_49 Depth=1
ldr s0, [sp, #56]
scvtf s0, s0
ldur w8, [x29, #-8]
subs w8, w8, #1
scvtf s1, w8
fdiv s0, s0, s1
str s0, [sp, #44]
ldr s0, [sp, #44]
ldr x8, [sp, #48]
ldrsw x9, [sp, #40]
str s0, [x8, x9, lsl #2]
b LBB1_58
LBB1_58: ; in Loop: Header=BB1_49 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB1_49
LBB1_59:
movi.2s v0, #79, lsl #24
; kill: def $s0 killed $s0 killed $d0
str s0, [sp, #28]
str wzr, [sp, #32]
b LBB1_60
LBB1_60: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_65
b LBB1_61
LBB1_61: ; in Loop: Header=BB1_60 Depth=1
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
ldr s0, [x8, x9, lsl #2]
ldr s1, [sp, #28]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB1_63
b LBB1_62
LBB1_62: ; in Loop: Header=BB1_60 Depth=1
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #28]
b LBB1_63
LBB1_63: ; in Loop: Header=BB1_60 Depth=1
b LBB1_64
LBB1_64: ; in Loop: Header=BB1_60 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_60
LBB1_65:
ldr s0, [sp, #28]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB1_66
LBB1_66: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_69
b LBB1_67
LBB1_67: ; in Loop: Header=BB1_66 Depth=1
ldur x8, [x29, #-24]
ldrsw x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_66 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_66
LBB1_69:
ldur x0, [x29, #-24]
bl _free
ldr x0, [sp, #48]
bl _free
mov w0, #0
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 "Rus"
l_.str.1: ; @.str.1
.asciz "\320\222\321\213\320\261\320\265\321\200\320\270\321\202\320\265 \321\201\320\277\320\276\321\201\320\276\320\261 \320\267\320\260\320\277\320\276\320\273\320\275\320\265\320\275\320\270\321\217 \320\274\320\260\321\202\321\200\320\270\321\206\321\213:\n[1] - \320\262\321\200\321\203\321\207\320\275\321\203\321\216\n[2] - \321\200\320\260\320\275\320\264\320\276\320\274\320\275\321\213\320\274\320\270 \321\207\320\270\321\201\320\273\320\260\320\274\320\270\n[3] - \320\276\320\277\321\200\320\265\320\264\320\265\320\273\321\221\320\275\320\275\320\260\321\217 \320\267\320\260\321\200\320\260\320\275\320\265\320\265 \320\274\320\260\321\202\321\200\320\270\321\206\320\260\n"
l_.str.2: ; @.str.2
.asciz "\320\222\320\260\321\210 \320\262\321\213\320\261\320\276\321\200: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\265 \320\276\321\202 1 \320\264\320\276 3!"
l_.str.5: ; @.str.5
.asciz "\n\320\222\320\260\321\210 \320\262\321\213\320\261\320\276\321\200: "
l_.str.6: ; @.str.6
.asciz "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\200\320\260\320\267\320\274\320\265\321\200 \320\272\320\262\320\260\320\264\321\200\320\260\321\202\320\275\320\276\320\271 \320\274\320\260\321\202\321\200\320\270\321\206\321\213 (N x N): "
l_.str.7: ; @.str.7
.asciz "\nN = "
l_.str.8: ; @.str.8
.asciz "\n\320\240\320\260\320\267\320\274\320\265\321\200 \320\274\320\260\321\202\321\200\320\270\321\206\321\213: 4x4."
l_.str.9: ; @.str.9
.asciz "\t\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\215\320\273\320\265\320\274\320\265\320\275\321\202 \320\274\320\260\321\201\321\201\320\270\320\262\320\260 matrix[%d][%d]: "
l_.str.10: ; @.str.10
.asciz "\n"
l_.str.11: ; @.str.11
.asciz "\n\320\222\321\213\320\262\320\276\320\264 \320\274\320\260\321\202\321\200\320\270\321\206\321\213:\n"
l_.str.12: ; @.str.12
.asciz "%d\t"
l_.str.13: ; @.str.13
.asciz "\n\320\234\320\270\320\275\320\270\320\274\320\260\320\273\321\214\320\275\321\213\320\271 \321\215\320\273\320\265\320\274\320\265\320\275\321\202 \320\262\320\265\320\272\321\202\320\276\321\200\320\260 = %.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _randint ## -- Begin function randint
.p2align 4, 0x90
_randint: ## @randint
.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 _rand
movl -4(%rbp), %ecx
addl $1, %ecx
subl $0, %ecx
cltd
idivl %ecx
movl %edx, %eax
addl $0, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI1_0:
.long 0x4f000000 ## float 2.14748365E+9
.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 $96, %rsp
movl $0, -4(%rbp)
xorl %edi, %edi
leaq L_.str(%rip), %rsi
callq _setlocale
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
LBB1_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $1, -12(%rbp)
movb %al, -89(%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 $2, -12(%rbp)
movb %al, -89(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $3, -12(%rbp)
setne %al
movb %al, -89(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -89(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_6
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
jmp LBB1_1
LBB1_6:
cmpl $1, -12(%rbp)
je LBB1_8
## %bb.7:
cmpl $2, -12(%rbp)
jne LBB1_9
LBB1_8:
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.3(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
jmp LBB1_12
LBB1_9:
cmpl $3, -12(%rbp)
jne LBB1_11
## %bb.10:
movl $4, -8(%rbp)
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB1_11:
jmp LBB1_12
LBB1_12:
movslq -8(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB1_13: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_16
## %bb.14: ## in Loop: Header=BB1_13 Depth=1
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, %rdx
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
## %bb.15: ## in Loop: Header=BB1_13 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_13
LBB1_16:
cmpl $1, -12(%rbp)
jne LBB1_26
## %bb.17:
movl $0, -32(%rbp)
LBB1_18: ## =>This Loop Header: Depth=1
## Child Loop BB1_20 Depth 2
movl -32(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_25
## %bb.19: ## in Loop: Header=BB1_18 Depth=1
movl $0, -36(%rbp)
LBB1_20: ## Parent Loop BB1_18 Depth=1
## => This Inner Loop Header: Depth=2
movl -36(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_23
## %bb.21: ## in Loop: Header=BB1_20 Depth=2
movl -32(%rbp), %esi
addl $1, %esi
movl -36(%rbp), %edx
addl $1, %edx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movslq -36(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.22: ## in Loop: Header=BB1_20 Depth=2
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_20
LBB1_23: ## in Loop: Header=BB1_18 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
## %bb.24: ## in Loop: Header=BB1_18 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_18
LBB1_25:
jmp LBB1_40
LBB1_26:
cmpl $2, -12(%rbp)
jne LBB1_36
## %bb.27:
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $0, -40(%rbp)
LBB1_28: ## =>This Loop Header: Depth=1
## Child Loop BB1_30 Depth 2
movl -40(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_35
## %bb.29: ## in Loop: Header=BB1_28 Depth=1
movl $0, -44(%rbp)
LBB1_30: ## Parent Loop BB1_28 Depth=1
## => This Inner Loop Header: Depth=2
movl -44(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_33
## %bb.31: ## in Loop: Header=BB1_30 Depth=2
movl $10, %edi
callq _randint
movl %eax, %edx
movq -24(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -44(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.32: ## in Loop: Header=BB1_30 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB1_30
LBB1_33: ## in Loop: Header=BB1_28 Depth=1
jmp LBB1_34
LBB1_34: ## in Loop: Header=BB1_28 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB1_28
LBB1_35:
jmp LBB1_39
LBB1_36:
cmpl $3, -12(%rbp)
jne LBB1_38
## %bb.37:
movq -24(%rbp), %rax
movq (%rax), %rax
movl $1, (%rax)
movq -24(%rbp), %rax
movq (%rax), %rax
movl $2, 4(%rax)
movq -24(%rbp), %rax
movq (%rax), %rax
movl $3, 8(%rax)
movq -24(%rbp), %rax
movq (%rax), %rax
movl $2, 12(%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl $4, (%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl $5, 4(%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl $6, 8(%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl $4, 12(%rax)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movl $7, (%rax)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movl $8, 4(%rax)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movl $9, 8(%rax)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movl $1, 12(%rax)
movq -24(%rbp), %rax
movq 24(%rax), %rax
movl $7, (%rax)
movq -24(%rbp), %rax
movq 24(%rax), %rax
movl $8, 4(%rax)
movq -24(%rbp), %rax
movq 24(%rax), %rax
movl $9, 8(%rax)
movq -24(%rbp), %rax
movq 24(%rax), %rax
movl $6, 12(%rax)
LBB1_38:
jmp LBB1_39
LBB1_39:
jmp LBB1_40
LBB1_40:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -48(%rbp)
LBB1_41: ## =>This Loop Header: Depth=1
## Child Loop BB1_43 Depth 2
movl -48(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_48
## %bb.42: ## in Loop: Header=BB1_41 Depth=1
movl $0, -52(%rbp)
LBB1_43: ## Parent Loop BB1_41 Depth=1
## => This Inner Loop Header: Depth=2
movl -52(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_46
## %bb.44: ## in Loop: Header=BB1_43 Depth=2
movq -24(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
## %bb.45: ## in Loop: Header=BB1_43 Depth=2
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB1_43
LBB1_46: ## in Loop: Header=BB1_41 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
## %bb.47: ## in Loop: Header=BB1_41 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB1_41
LBB1_48:
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -64(%rbp)
movl $0, -72(%rbp)
LBB1_49: ## =>This Loop Header: Depth=1
## Child Loop BB1_51 Depth 2
movl -72(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_59
## %bb.50: ## in Loop: Header=BB1_49 Depth=1
movl $0, -56(%rbp)
movl $0, -76(%rbp)
LBB1_51: ## Parent Loop BB1_49 Depth=1
## => This Inner Loop Header: Depth=2
movl -76(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_57
## %bb.52: ## in Loop: Header=BB1_51 Depth=2
movl -76(%rbp), %eax
cmpl -72(%rbp), %eax
jne LBB1_54
## %bb.53: ## in Loop: Header=BB1_51 Depth=2
jmp LBB1_56
LBB1_54: ## in Loop: Header=BB1_51 Depth=2
movq -24(%rbp), %rax
movslq -76(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -72(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -56(%rbp), %eax
movl %eax, -56(%rbp)
## %bb.55: ## in Loop: Header=BB1_51 Depth=2
jmp LBB1_56
LBB1_56: ## in Loop: Header=BB1_51 Depth=2
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB1_51
LBB1_57: ## in Loop: Header=BB1_49 Depth=1
cvtsi2ssl -56(%rbp), %xmm0
movl -8(%rbp), %eax
subl $1, %eax
cvtsi2ss %eax, %xmm1
divss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
movslq -72(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.58: ## in Loop: Header=BB1_49 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB1_49
LBB1_59:
movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -84(%rbp)
movl $0, -80(%rbp)
LBB1_60: ## =>This Inner Loop Header: Depth=1
movl -80(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_65
## %bb.61: ## in Loop: Header=BB1_60 Depth=1
movq -64(%rbp), %rax
movslq -80(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB1_63
## %bb.62: ## in Loop: Header=BB1_60 Depth=1
movq -64(%rbp), %rax
movslq -80(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -84(%rbp)
LBB1_63: ## in Loop: Header=BB1_60 Depth=1
jmp LBB1_64
LBB1_64: ## in Loop: Header=BB1_60 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB1_60
LBB1_65:
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.13(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -88(%rbp)
LBB1_66: ## =>This Inner Loop Header: Depth=1
movl -88(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_69
## %bb.67: ## in Loop: Header=BB1_66 Depth=1
movq -24(%rbp), %rax
movslq -88(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _free
## %bb.68: ## in Loop: Header=BB1_66 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB1_66
LBB1_69:
movq -24(%rbp), %rdi
callq _free
movq -64(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Rus"
L_.str.1: ## @.str.1
.asciz "\320\222\321\213\320\261\320\265\321\200\320\270\321\202\320\265 \321\201\320\277\320\276\321\201\320\276\320\261 \320\267\320\260\320\277\320\276\320\273\320\275\320\265\320\275\320\270\321\217 \320\274\320\260\321\202\321\200\320\270\321\206\321\213:\n[1] - \320\262\321\200\321\203\321\207\320\275\321\203\321\216\n[2] - \321\200\320\260\320\275\320\264\320\276\320\274\320\275\321\213\320\274\320\270 \321\207\320\270\321\201\320\273\320\260\320\274\320\270\n[3] - \320\276\320\277\321\200\320\265\320\264\320\265\320\273\321\221\320\275\320\275\320\260\321\217 \320\267\320\260\321\200\320\260\320\275\320\265\320\265 \320\274\320\260\321\202\321\200\320\270\321\206\320\260\n"
L_.str.2: ## @.str.2
.asciz "\320\222\320\260\321\210 \320\262\321\213\320\261\320\276\321\200: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\265 \320\276\321\202 1 \320\264\320\276 3!"
L_.str.5: ## @.str.5
.asciz "\n\320\222\320\260\321\210 \320\262\321\213\320\261\320\276\321\200: "
L_.str.6: ## @.str.6
.asciz "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\200\320\260\320\267\320\274\320\265\321\200 \320\272\320\262\320\260\320\264\321\200\320\260\321\202\320\275\320\276\320\271 \320\274\320\260\321\202\321\200\320\270\321\206\321\213 (N x N): "
L_.str.7: ## @.str.7
.asciz "\nN = "
L_.str.8: ## @.str.8
.asciz "\n\320\240\320\260\320\267\320\274\320\265\321\200 \320\274\320\260\321\202\321\200\320\270\321\206\321\213: 4x4."
L_.str.9: ## @.str.9
.asciz "\t\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\215\320\273\320\265\320\274\320\265\320\275\321\202 \320\274\320\260\321\201\321\201\320\270\320\262\320\260 matrix[%d][%d]: "
L_.str.10: ## @.str.10
.asciz "\n"
L_.str.11: ## @.str.11
.asciz "\n\320\222\321\213\320\262\320\276\320\264 \320\274\320\260\321\202\321\200\320\270\321\206\321\213:\n"
L_.str.12: ## @.str.12
.asciz "%d\t"
L_.str.13: ## @.str.13
.asciz "\n\320\234\320\270\320\275\320\270\320\274\320\260\320\273\321\214\320\275\321\213\320\271 \321\215\320\273\320\265\320\274\320\265\320\275\321\202 \320\262\320\265\320\272\321\202\320\276\321\200\320\260 = %.2f"
.subsections_via_symbols
| the_stack_data/186284.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, #20
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-12]
stur wzr, [x29, #-8]
stur wzr, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #3600
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #3600
stur w8, [x29, #-20]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_1
LBB0_3:
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #60
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #60
stur w8, [x29, #-20]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_4
LBB0_6:
ldur w8, [x29, #-20]
stur w8, [x29, #-8]
ldur w8, [x29, #-16]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@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"
l_.str.1: ; @.str.1
.asciz "%d:%d:%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -12(%rbp)
movl $0, -8(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $3600, -20(%rbp) ## imm = 0xE10
jl LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
subl $3600, %eax ## imm = 0xE10
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_3:
jmp LBB0_4
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $60, -20(%rbp)
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
subl $60, %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_4
LBB0_6:
movl -20(%rbp), %eax
movl %eax, -8(%rbp)
movl -16(%rbp), %esi
movl -12(%rbp), %edx
movl -8(%rbp), %ecx
leaq L_.str.1(%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 "%d:%d:%d\n"
.subsections_via_symbols
| the_stack_data/103266119.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #2
bl _dlopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
bl _dlerror
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_5
LBB0_2:
ldr x0, [sp, #16]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _dlsym
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
mov w8, #2
stur w8, [x29, #-4]
b LBB0_5
LBB0_4:
ldr x0, [sp, #16]
bl _dlclose
stur wzr, [x29, #-4]
b LBB0_5
LBB0_5:
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 "/data/local/ndk-tests/libbar.so"
l_.str.1: ; @.str.1
.asciz "Could not dlopen(\"libbar.so\"): %s\n"
l_.str.2: ; @.str.2
.asciz "foo2"
l_.str.3: ; @.str.3
.asciz "Symbol 'foo2' is missing from shared library!!\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
movl $2, %esi
callq _dlopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
callq _dlerror
movq -24(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB0_5
LBB0_2:
movq -16(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _dlsym
cmpq $0, %rax
jne LBB0_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
movl $2, -4(%rbp)
jmp LBB0_5
LBB0_4:
movq -16(%rbp), %rdi
callq _dlclose
movl $0, -4(%rbp)
LBB0_5:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/data/local/ndk-tests/libbar.so"
L_.str.1: ## @.str.1
.asciz "Could not dlopen(\"libbar.so\"): %s\n"
L_.str.2: ## @.str.2
.asciz "foo2"
L_.str.3: ## @.str.3
.asciz "Symbol 'foo2' is missing from shared library!!\n"
.subsections_via_symbols
| the_stack_data/1106646.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, #592
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 wzr, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x8, x8, x9
strb wzr, [x8]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_1
LBB0_4:
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #6
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #1
strb w8, [x9]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_5
LBB0_8:
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x8, x8, x9
strb wzr, [x8]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_9
LBB0_12:
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #2
strb w8, [x9]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_13
LBB0_16:
b LBB0_17
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #241
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #5
strb w8, [x9]
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_17
LBB0_20:
b LBB0_21
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #263
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_21 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #2
strb w8, [x9]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_21 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_21
LBB0_24:
b LBB0_25
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #266
cset w8, ge
tbnz w8, #0, LBB0_28
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x8, x8, x9
strb wzr, [x8]
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_25
LBB0_28:
ldrsw x9, [sp, #48]
mov x8, x9
add w8, w8, #1
str w8, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #3
strb w8, [x9]
b LBB0_29
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #269
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_29 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #1
strb w8, [x9]
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_29 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_29
LBB0_32:
ldrsw x9, [sp, #48]
mov x8, x9
add w8, w8, #1
str w8, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #4
strb w8, [x9]
b LBB0_33
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #272
cset w8, ge
tbnz w8, #0, LBB0_36
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_33 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x8, x8, x9
strb wzr, [x8]
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_33 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_33
LBB0_36:
b LBB0_37
LBB0_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #294
cset w8, ge
tbnz w8, #0, LBB0_40
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_37 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #2
strb w8, [x9]
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_37 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_37
LBB0_40:
b LBB0_41
LBB0_41: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #504
cset w8, ge
tbnz w8, #0, LBB0_44
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_41 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #5
strb w8, [x9]
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_41 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_41
LBB0_44:
b LBB0_45
LBB0_45: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #524
cset w8, ge
tbnz w8, #0, LBB0_48
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_45 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #2
strb w8, [x9]
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_45 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_45
LBB0_48:
ldrsw x9, [sp, #48]
add x8, sp, #59
add x9, x8, x9
mov w8, #6
strb w8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
str x1, [sp, #24] ; 8-byte Folded Spill
bl _fopen
str x0, [sp, #40]
ldr x0, [sp, #40]
mov x9, sp
mov x8, #525
str x8, [x9]
mov x8, #263
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x0, [sp, #40]
bl _fclose
ldr x1, [sp, #24] ; 8-byte Folded Reload
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _fopen
str x0, [sp, #40]
ldr x0, [sp, #40]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
str wzr, [sp, #48]
b LBB0_49
LBB0_49: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #263
cset w8, ge
tbnz w8, #0, LBB0_54
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_49 Depth=1
ldr w8, [sp, #48]
ands w8, w8, #0xf
cset w8, ne
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_49 Depth=1
ldr x0, [sp, #40]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_49 Depth=1
ldr x0, [sp, #40]
ldr w8, [sp, #48]
lsl w8, w8, #1
add w8, w8, #0
add x9, sp, #59
ldrb w8, [x9, w8, sxtw]
ldr w10, [sp, #48]
lsl w10, w10, #1
add w10, w10, #1
ldrb w9, [x9, w10, sxtw]
orr w10, w8, w9, lsl #4
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_49 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_49
LBB0_54:
ldr x0, [sp, #40]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
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_56
b LBB0_55
LBB0_55:
bl ___stack_chk_fail
LBB0_56:
mov w0, #0
add sp, sp, #592
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "CbTable.h"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "#ifndef _CBTABLE_H\n#define _CBTABLE_H\n\n#include <c_types.h>\n\n#define FT_STA_d 0\n#define FT_STB_d 1\n#define FT_B_d 2\n#define FT_SRA_d 3\n#define FT_SRB_d 4\n#define FT_LIN_d 5\n#define FT_CLOSE 6\n#define FT_MAX_d 7\n\n#define NTSC_LINES %d\n\nuint8_t CbLookup[%d];\n\n#endif\n\n"
l_.str.3: ; @.str.3
.asciz "CbTable.c"
l_.str.4: ; @.str.4
.asciz "#include \"CbTable.h\"\n\n"
l_.str.5: ; @.str.5
.asciz "uint8_t CbLookup[%d] = {"
l_.str.6: ; @.str.6
.asciz "\n\t"
l_.str.7: ; @.str.7
.asciz "0x%02x, "
l_.str.8: ; @.str.8
.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 $560, %rsp ## imm = 0x230
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -548(%rbp)
movl $0, -552(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $3, -552(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -552(%rbp), %rax
movb $0, -544(%rbp,%rax)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_1
LBB0_4:
jmp LBB0_5
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $6, -552(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -552(%rbp), %rax
movb $1, -544(%rbp,%rax)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_5
LBB0_8:
jmp LBB0_9
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $9, -552(%rbp)
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movslq -552(%rbp), %rax
movb $0, -544(%rbp,%rax)
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_9
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Inner Loop Header: Depth=1
cmpl $30, -552(%rbp)
jge LBB0_16
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movslq -552(%rbp), %rax
movb $2, -544(%rbp,%rax)
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_13
LBB0_16:
jmp LBB0_17
LBB0_17: ## =>This Inner Loop Header: Depth=1
cmpl $241, -552(%rbp)
jge LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movslq -552(%rbp), %rax
movb $5, -544(%rbp,%rax)
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_17
LBB0_20:
jmp LBB0_21
LBB0_21: ## =>This Inner Loop Header: Depth=1
cmpl $263, -552(%rbp) ## imm = 0x107
jge LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movslq -552(%rbp), %rax
movb $2, -544(%rbp,%rax)
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_21
LBB0_24:
jmp LBB0_25
LBB0_25: ## =>This Inner Loop Header: Depth=1
cmpl $266, -552(%rbp) ## imm = 0x10A
jge LBB0_28
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movslq -552(%rbp), %rax
movb $0, -544(%rbp,%rax)
## %bb.27: ## in Loop: Header=BB0_25 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_25
LBB0_28:
movl -552(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -552(%rbp)
cltq
movb $3, -544(%rbp,%rax)
LBB0_29: ## =>This Inner Loop Header: Depth=1
cmpl $269, -552(%rbp) ## imm = 0x10D
jge LBB0_32
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movslq -552(%rbp), %rax
movb $1, -544(%rbp,%rax)
## %bb.31: ## in Loop: Header=BB0_29 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_29
LBB0_32:
movl -552(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -552(%rbp)
cltq
movb $4, -544(%rbp,%rax)
LBB0_33: ## =>This Inner Loop Header: Depth=1
cmpl $272, -552(%rbp) ## imm = 0x110
jge LBB0_36
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movslq -552(%rbp), %rax
movb $0, -544(%rbp,%rax)
## %bb.35: ## in Loop: Header=BB0_33 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_33
LBB0_36:
jmp LBB0_37
LBB0_37: ## =>This Inner Loop Header: Depth=1
cmpl $294, -552(%rbp) ## imm = 0x126
jge LBB0_40
## %bb.38: ## in Loop: Header=BB0_37 Depth=1
movslq -552(%rbp), %rax
movb $2, -544(%rbp,%rax)
## %bb.39: ## in Loop: Header=BB0_37 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_37
LBB0_40:
jmp LBB0_41
LBB0_41: ## =>This Inner Loop Header: Depth=1
cmpl $504, -552(%rbp) ## imm = 0x1F8
jge LBB0_44
## %bb.42: ## in Loop: Header=BB0_41 Depth=1
movslq -552(%rbp), %rax
movb $5, -544(%rbp,%rax)
## %bb.43: ## in Loop: Header=BB0_41 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_41
LBB0_44:
jmp LBB0_45
LBB0_45: ## =>This Inner Loop Header: Depth=1
cmpl $524, -552(%rbp) ## imm = 0x20C
jge LBB0_48
## %bb.46: ## in Loop: Header=BB0_45 Depth=1
movslq -552(%rbp), %rax
movb $2, -544(%rbp,%rax)
## %bb.47: ## in Loop: Header=BB0_45 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_45
LBB0_48:
movslq -552(%rbp), %rax
movb $6, -544(%rbp,%rax)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -560(%rbp)
movq -560(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movl $525, %edx ## imm = 0x20D
movl $263, %ecx ## imm = 0x107
movb $0, %al
callq _fprintf
movq -560(%rbp), %rdi
callq _fclose
leaq L_.str.3(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -560(%rbp)
movq -560(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
movq -560(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
movl $263, %edx ## imm = 0x107
movb $0, %al
callq _fprintf
movl $0, -552(%rbp)
LBB0_49: ## =>This Inner Loop Header: Depth=1
cmpl $263, -552(%rbp) ## imm = 0x107
jge LBB0_54
## %bb.50: ## in Loop: Header=BB0_49 Depth=1
movl -552(%rbp), %eax
andl $15, %eax
cmpl $0, %eax
jne LBB0_52
## %bb.51: ## in Loop: Header=BB0_49 Depth=1
movq -560(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_52: ## in Loop: Header=BB0_49 Depth=1
movq -560(%rbp), %rdi
movl -552(%rbp), %eax
shll $1, %eax
addl $0, %eax
cltq
movzbl -544(%rbp,%rax), %edx
movl -552(%rbp), %eax
shll $1, %eax
addl $1, %eax
cltq
movzbl -544(%rbp,%rax), %eax
shll $4, %eax
orl %eax, %edx
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.53: ## in Loop: Header=BB0_49 Depth=1
movl -552(%rbp), %eax
addl $1, %eax
movl %eax, -552(%rbp)
jmp LBB0_49
LBB0_54:
movq -560(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_56
## %bb.55:
xorl %eax, %eax
addq $560, %rsp ## imm = 0x230
popq %rbp
retq
LBB0_56:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "CbTable.h"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "#ifndef _CBTABLE_H\n#define _CBTABLE_H\n\n#include <c_types.h>\n\n#define FT_STA_d 0\n#define FT_STB_d 1\n#define FT_B_d 2\n#define FT_SRA_d 3\n#define FT_SRB_d 4\n#define FT_LIN_d 5\n#define FT_CLOSE 6\n#define FT_MAX_d 7\n\n#define NTSC_LINES %d\n\nuint8_t CbLookup[%d];\n\n#endif\n\n"
L_.str.3: ## @.str.3
.asciz "CbTable.c"
L_.str.4: ## @.str.4
.asciz "#include \"CbTable.h\"\n\n"
L_.str.5: ## @.str.5
.asciz "uint8_t CbLookup[%d] = {"
L_.str.6: ## @.str.6
.asciz "\n\t"
L_.str.7: ## @.str.7
.asciz "0x%02x, "
L_.str.8: ## @.str.8
.asciz "};\n"
.subsections_via_symbols
| the_stack_data/68887959.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]
sub x8, x29, #8
str x8, [sp, #16] ; 8-byte Folded Spill
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
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
; 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
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
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 "Digite o valor: "
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 $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
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -8(%rbp)
jl LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str.2(%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:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite o valor: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz " %d \n"
.subsections_via_symbols
| the_stack_data/72012093.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _max_heapify ; -- Begin function max_heapify
.p2align 2
_max_heapify: ; @max_heapify
.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]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #8]
ldr w9, [sp, #20]
mov w8, #2
mul w8, w8, w9
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_11
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldr w9, [sp, #12]
add w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
b LBB0_11
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w9, [x8, x9, lsl #2]
ldr x10, [sp, #24]
ldr w11, [sp, #12]
mov w8, #2
sdiv w11, w11, w8
str w9, [x10, w11, sxtw #2]
ldr w9, [sp, #12]
mul w8, w8, w9
str w8, [sp, #12]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_11:
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
mov w11, #2
sdiv w10, w10, w11
str w8, [x9, w10, sxtw #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _heapsort ; -- Begin function heapsort
.p2align 2
_heapsort: ; @heapsort
.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 w8, [x29, #-12]
str w8, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #12]
ldur x9, [x29, #-8]
str w8, [x9, #4]
ldur x0, [x29, #-8]
ldr w8, [sp, #16]
mov w1, #1
subs w2, w8, #1
bl _max_heapify
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _build_maxheap ; -- Begin function build_maxheap
.p2align 2
_build_maxheap: ; @build_maxheap
.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 w1, [sp, #4]
ldr w8, [sp, #4]
mov w9, #2
sdiv w8, w8, w9
str w8, [sp]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [sp, #8]
ldr w1, [sp]
ldr w2, [sp, #4]
bl _max_heapify
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp]
subs w8, w8, #1
str w8, [sp]
b LBB2_1
LBB2_4:
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, #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, #36]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
str w8, [sp, #28]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr w9, [sp, #28]
; 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
ldrsw x9, [sp, #28]
add x8, sp, #40
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB3_1
LBB3_4:
ldr w1, [sp, #32]
add x0, sp, #40
str x0, [sp, #16] ; 8-byte Folded Spill
bl _build_maxheap
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w1, [sp, #32]
bl _heapsort
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #28]
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB3_8
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #40
ldr w9, [x8, x9, lsl #2]
; 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
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB3_5
LBB3_8:
bl _getchar
ldr w8, [sp, #36]
str w8, [sp, #12] ; 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, LBB3_10
b LBB3_9
LBB3_9:
bl ___stack_chk_fail
LBB3_10:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number of elements of array\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter Element %d\n"
l_.str.3: ; @.str.3
.asciz "Sorted Output\n"
l_.str.4: ; @.str.4
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _max_heapify ## -- Begin function max_heapify
.p2align 4, 0x90
_max_heapify: ## @max_heapify
.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)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %eax
shll $1, %eax
movl %eax, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_7
## %bb.6:
jmp LBB0_11
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl -36(%rbp), %edx ## 4-byte Reload
movl %eax, %ecx
movq -32(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %eax
shll $1, %eax
movl %eax, -20(%rbp)
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_11:
movl -24(%rbp), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl -52(%rbp), %edx ## 4-byte Reload
movl %eax, %ecx
movq -48(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _heapsort ## -- Begin function heapsort
.p2align 4, 0x90
_heapsort: ## @heapsort
.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 -12(%rbp), %eax
movl %eax, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $2, -16(%rbp)
jl LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %edx
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 4(%rax)
movq -8(%rbp), %rdi
movl -16(%rbp), %edx
subl $1, %edx
movl $1, %esi
callq _max_heapify
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _build_maxheap ## -- Begin function build_maxheap
.p2align 4, 0x90
_build_maxheap: ## @build_maxheap
.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)
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $1, -16(%rbp)
jl LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rdi
movl -16(%rbp), %esi
movl -12(%rbp), %edx
callq _max_heapify
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB2_1
LBB2_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, -100(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -104(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -108(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -108(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl -108(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rsi
movslq -108(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB3_1
LBB3_4:
leaq -96(%rbp), %rdi
movl -104(%rbp), %esi
callq _build_maxheap
leaq -96(%rbp), %rdi
movl -104(%rbp), %esi
callq _heapsort
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -108(%rbp)
LBB3_5: ## =>This Inner Loop Header: Depth=1
movl -108(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB3_8
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movslq -108(%rbp), %rax
movl -96(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB3_5 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB3_5
LBB3_8:
callq _getchar
movl -100(%rbp), %eax
movl %eax, -112(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_10
## %bb.9:
movl -112(%rbp), %eax ## 4-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB3_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number of elements of array\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter Element %d\n"
L_.str.3: ## @.str.3
.asciz "Sorted Output\n"
L_.str.4: ## @.str.4
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/72918.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort_pointers ; -- Begin function sort_pointers
.p2align 2
_sort_pointers: ; @sort_pointers
.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, #1120
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #80]
str x1, [sp, #72]
str x2, [sp, #64]
str xzr, [sp, #48]
str xzr, [sp, #40]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
subs x8, x8, #8
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
lsl x8, x8, #8
str x8, [sp, #40]
ldr x9, [sp, #48]
ldr x8, [sp, #40]
add x8, x8, x9
str x8, [sp, #40]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48]
add x8, x8, #1
str x8, [sp, #48]
b LBB0_1
LBB0_4:
ldrsb w8, [sp, #40]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #60]
str xzr, [sp, #48]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_14 Depth 2
; Child Loop BB0_18 Depth 2
ldr x8, [sp, #48]
subs x8, x8, #8
cset w8, hs
tbnz w8, #0, LBB0_23
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #60]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #48]
mov x8, #8
subs x8, x8, x9
str x8, [sp, #40]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #48]
str x8, [sp, #40]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #88
mov x1, #1024
bl _bzero
ldr x8, [sp, #72]
ldr x9, [sp, #40]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #72]
ldr x9, [sp, #80]
add x8, x8, x9, lsl #3
ldr x9, [sp, #40]
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp, #32]
b LBB0_10
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_13
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #32]
ldrb w8, [x8]
mov x9, x8
add x8, sp, #88
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #32]
add x8, x8, #8
str x8, [sp, #32]
b LBB0_10
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
add x8, sp, #88
add x8, x8, #4
str x8, [sp, #8]
b LBB0_14
LBB0_14: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8]
add x9, sp, #88
add x9, x9, #1024
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=2
ldr x8, [sp, #8]
ldur w10, [x8, #-4]
ldr x9, [sp, #8]
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=2
ldr x8, [sp, #8]
add x8, x8, #4
str x8, [sp, #8]
b LBB0_14
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #72]
ldr x9, [sp, #80]
add x8, x8, x9, lsl #3
subs x8, x8, #8
str x8, [sp]
b LBB0_18
LBB0_18: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp]
ldr x9, [sp, #72]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=2
ldr x8, [sp]
ldr x8, [x8]
ldr x9, [sp, #64]
ldr x10, [sp]
ldr x11, [sp, #40]
ldrb w10, [x10, x11]
mov x11, x10
add x10, sp, #88
add x11, x10, x11, lsl #2
ldr w10, [x11]
subs w10, w10, #1
str w10, [x11]
str x8, [x9, w10, uxtw #3]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=2
ldr x8, [sp]
subs x8, x8, #8
str x8, [sp]
b LBB0_18
LBB0_21: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #72]
str x8, [sp]
ldr x8, [sp, #64]
str x8, [sp, #72]
ldr x8, [sp]
str x8, [sp, #64]
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #48]
add x8, x8, #1
str x8, [sp, #48]
b LBB0_5
LBB0_23:
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_25
b LBB0_24
LBB0_24:
bl ___stack_chk_fail
LBB0_25:
add sp, sp, #1120
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 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 _sort_pointers ## -- Begin function sort_pointers
.p2align 4, 0x90
_sort_pointers: ## @sort_pointers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1136, %rsp ## imm = 0x470
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1048(%rbp)
movq %rsi, -1056(%rbp)
movq %rdx, -1064(%rbp)
movq $0, -1080(%rbp)
movq $0, -1088(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $8, -1080(%rbp)
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -1088(%rbp), %rax
shlq $8, %rax
movq %rax, -1088(%rbp)
movq -1080(%rbp), %rax
addq -1088(%rbp), %rax
movq %rax, -1088(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -1080(%rbp), %rax
addq $1, %rax
movq %rax, -1080(%rbp)
jmp LBB0_1
LBB0_4:
movsbl -1088(%rbp), %eax
cmpl $0, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -1068(%rbp)
movq $0, -1080(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_14 Depth 2
## Child Loop BB0_18 Depth 2
cmpq $8, -1080(%rbp)
jae LBB0_23
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl $0, -1068(%rbp)
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl $8, %eax
subq -1080(%rbp), %rax
movq %rax, -1088(%rbp)
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movq -1080(%rbp), %rax
movq %rax, -1088(%rbp)
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
leaq -1040(%rbp), %rdi
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
movq -1056(%rbp), %rax
addq -1088(%rbp), %rax
movq %rax, -1104(%rbp)
movq -1056(%rbp), %rax
movq -1048(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
addq -1088(%rbp), %rax
movq %rax, -1112(%rbp)
movq -1104(%rbp), %rax
movq %rax, -1096(%rbp)
LBB0_10: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq -1096(%rbp), %rax
cmpq -1112(%rbp), %rax
jae LBB0_13
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movq -1096(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movl -1040(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -1040(%rbp,%rax,4)
## %bb.12: ## in Loop: Header=BB0_10 Depth=2
movq -1096(%rbp), %rax
addq $8, %rax
movq %rax, -1096(%rbp)
jmp LBB0_10
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
leaq -1040(%rbp), %rax
addq $4, %rax
movq %rax, -1120(%rbp)
LBB0_14: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq -1120(%rbp), %rax
leaq -1040(%rbp), %rcx
addq $1024, %rcx ## imm = 0x400
cmpq %rcx, %rax
jae LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movq -1120(%rbp), %rax
movl -4(%rax), %ecx
movq -1120(%rbp), %rax
addl (%rax), %ecx
movl %ecx, (%rax)
## %bb.16: ## in Loop: Header=BB0_14 Depth=2
movq -1120(%rbp), %rax
addq $4, %rax
movq %rax, -1120(%rbp)
jmp LBB0_14
LBB0_17: ## in Loop: Header=BB0_5 Depth=1
movq -1056(%rbp), %rax
movq -1048(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
addq $-8, %rax
movq %rax, -1128(%rbp)
LBB0_18: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq -1128(%rbp), %rax
cmpq -1056(%rbp), %rax
jb LBB0_21
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movq -1128(%rbp), %rax
movq (%rax), %rdx
movq -1064(%rbp), %rax
movq -1128(%rbp), %rcx
movq -1088(%rbp), %rsi
movzbl (%rcx,%rsi), %ecx
movl %ecx, %esi
movl -1040(%rbp,%rsi,4), %ecx
addl $-1, %ecx
movl %ecx, -1040(%rbp,%rsi,4)
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movq %rdx, (%rax,%rcx,8)
## %bb.20: ## in Loop: Header=BB0_18 Depth=2
movq -1128(%rbp), %rax
addq $-8, %rax
movq %rax, -1128(%rbp)
jmp LBB0_18
LBB0_21: ## in Loop: Header=BB0_5 Depth=1
movq -1056(%rbp), %rax
movq %rax, -1128(%rbp)
movq -1064(%rbp), %rax
movq %rax, -1056(%rbp)
movq -1128(%rbp), %rax
movq %rax, -1064(%rbp)
## %bb.22: ## in Loop: Header=BB0_5 Depth=1
movq -1080(%rbp), %rax
addq $1, %rax
movq %rax, -1080(%rbp)
jmp LBB0_5
LBB0_23:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_25
## %bb.24:
addq $1136, %rsp ## imm = 0x470
popq %rbp
retq
LBB0_25:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/525718.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
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #58
str x0, [sp, #24] ; 8-byte Folded Spill
mov w1, #82
bl _fgets
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _strlen
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x9, x0, #1
add x8, x8, x9
strb wzr, [x8]
str wzr, [sp, #36]
b LBB0_2
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #36]
add x8, sp, #58
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=2
ldrsw x9, [sp, #36]
add x8, sp, #58
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_2 Depth=2
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_2 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #58
mov x8, x0
str x8, [sp, #40]
ldrsw x8, [sp, #36]
str x8, [sp, #16] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
; kill: def $x8 killed $xzr
str xzr, [sp, #48]
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldrsw x10, [sp, #36]
add x8, sp, #58
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
ldrsw x9, [sp, #36]
add x8, x8, x9
add x8, x8, #1
str x8, [sp, #48]
ldr x10, [sp, #40]
ldr x8, [sp, #48]
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
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SHELL%% "
l_.str.1: ; @.str.1
.asciz "Command is '%s' with no arguments\n"
l_.str.2: ; @.str.2
.asciz "Command is '%s' with argument '%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 $128, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $82, %esi
callq _fgets
leaq -96(%rbp), %rdi
callq _strlen
subq $1, %rax
movb $0, -96(%rbp,%rax)
movl $0, -116(%rbp)
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -116(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $0, %eax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movslq -116(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $32, %eax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_5: ## in Loop: Header=BB0_2 Depth=2
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_2 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_2
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
leaq -96(%rbp), %rax
movq %rax, -112(%rbp)
movslq -116(%rbp), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
leaq -96(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -128(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq -112(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq $0, -104(%rbp)
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movslq -116(%rbp), %rax
movb $0, -96(%rbp,%rax)
leaq -96(%rbp), %rax
movslq -116(%rbp), %rcx
addq %rcx, %rax
addq $1, %rax
movq %rax, -104(%rbp)
movq -112(%rbp), %rsi
movq -104(%rbp), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SHELL%% "
L_.str.1: ## @.str.1
.asciz "Command is '%s' with no arguments\n"
L_.str.2: ## @.str.2
.asciz "Command is '%s' with argument '%s'\n"
.subsections_via_symbols
| the_stack_data/151704458.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmp ; -- Begin function cmp
.p2align 2
_cmp: ; @cmp
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str x1, [sp, #24]
ldr x8, [sp, #32]
ldr x8, [x8]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
and w9, w8, #0x1
mov w8, #1
ands w9, w9, #0x1
csinv w8, w8, wzr, eq
str w8, [sp, #44]
b LBB0_3
LBB0_2:
ldr x8, [sp, #16]
ldr w8, [x8, #4]
ldr x9, [sp, #8]
ldr w9, [x9, #4]
subs w8, w8, w9
str w8, [sp, #44]
b LBB0_3
LBB0_3:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _binarySearch ; -- Begin function binarySearch
.p2align 2
_binarySearch: ; @binarySearch
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
str w2, [sp, #24]
str w3, [sp, #20]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #47]
b LBB1_17
LBB1_2:
str wzr, [sp, #16]
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_14
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
ldr w9, [sp, #16]
add w8, w8, w9
str w8, [sp, #8]
ldr x8, [sp, #32]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #4]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
b LBB1_13
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_12
LBB1_11: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_3 Depth=1
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_3 Depth=1
b LBB1_3
LBB1_14:
ldr x8, [sp, #32]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_16
b LBB1_15
LBB1_15:
ldr x8, [sp, #32]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #4]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, eq
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_16
LBB1_16:
ldr w8, [sp, #4] ; 4-byte Folded Reload
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #47]
b LBB1_17
LBB1_17:
ldrb w8, [sp, #47]
and w0, w8, #0x1
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _robotSim ; -- Begin function robotSim
.p2align 2
_robotSim: ; @robotSim
.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]
stur x0, [x29, #-56]
stur w1, [x29, #-60]
str x2, [sp, #56]
str w3, [sp, #52]
str x4, [sp, #40]
str wzr, [sp, #36]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
adrp x8, l___const.robotSim.path@PAGE
add x8, x8, l___const.robotSim.path@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-48]
ldr q0, [x8, #16]
stur q0, [x29, #-32]
ldr x0, [sp, #56]
ldrsw x1, [sp, #52]
mov x2, #8
adrp x3, _cmp@PAGE
add x3, x3, _cmp@PAGEOFF
bl _qsort
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_8 Depth 2
ldr w8, [sp, #20]
ldur w9, [x29, #-60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_19
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_7
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB2_6
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
str w8, [sp, #36]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #36]
mov w10, #4
add w8, w8, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #36]
b LBB2_17
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
mov w8, #1
str w8, [sp, #16]
b LBB2_8
LBB2_8: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldur x9, [x29, #-56]
ldrsw x10, [sp, #20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_16
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_8 Depth=2
ldr x0, [sp, #56]
ldr w1, [sp, #52]
ldr w8, [sp, #32]
ldrsw x9, [sp, #36]
lsl x10, x9, #3
sub x9, x29, #48
ldr w10, [x9, x10]
add w2, w8, w10
ldr w8, [sp, #28]
ldrsw x10, [sp, #36]
add x9, x9, x10, lsl #3
ldr w9, [x9, #4]
add w3, w8, w9
bl _binarySearch
tbz w0, #0, LBB2_11
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
b LBB2_16
LBB2_11: ; in Loop: Header=BB2_8 Depth=2
ldrsw x8, [sp, #36]
lsl x9, x8, #3
sub x8, x29, #48
ldr w10, [x8, x9]
ldr w9, [sp, #32]
add w9, w9, w10
str w9, [sp, #32]
ldrsw x9, [sp, #36]
add x8, x8, x9, lsl #3
ldr w9, [x8, #4]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
ldr w8, [sp, #24]
ldr w9, [sp, #32]
ldr w10, [sp, #32]
mul w9, w9, w10
ldr w10, [sp, #28]
ldr w11, [sp, #28]
mul w10, w10, w11
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_13
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_8 Depth=2
ldr w8, [sp, #24]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_14
LBB2_13: ; in Loop: Header=BB2_8 Depth=2
ldr w8, [sp, #32]
ldr w9, [sp, #32]
mul w8, w8, w9
ldr w9, [sp, #28]
ldr w10, [sp, #28]
mul w9, w9, w10
add w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_8 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #24]
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_8 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB2_8
LBB2_16: ; in Loop: Header=BB2_1 Depth=1
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_1 Depth=1
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_19:
ldr w8, [sp, #24]
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, LBB2_21
b LBB2_20
LBB2_20:
bl ___stack_chk_fail
LBB2_21:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.robotSim.path
l___const.robotSim.path:
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmp ## -- Begin function cmp
.p2align 4, 0x90
_cmp: ## @cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movq -40(%rbp), %rcx
cmpl (%rcx), %eax
je LBB0_2
## %bb.1:
movq -32(%rbp), %rax
movl (%rax), %edx
movq -40(%rbp), %rax
movl (%rax), %esi
movl $1, %eax
movl $4294967295, %ecx ## imm = 0xFFFFFFFF
cmpl %esi, %edx
cmovll %ecx, %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq -32(%rbp), %rax
movl 4(%rax), %eax
movq -40(%rbp), %rcx
subl 4(%rcx), %eax
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _binarySearch ## -- Begin function binarySearch
.p2align 4, 0x90
_binarySearch: ## @binarySearch
.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, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
cmpl $0, -20(%rbp)
jne LBB1_2
## %bb.1:
movb $0, -1(%rbp)
jmp LBB1_17
LBB1_2:
movl $0, -32(%rbp)
movl -20(%rbp), %eax
subl $1, %eax
movl %eax, -36(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB1_14
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl -36(%rbp), %eax
subl -32(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
addl -32(%rbp), %eax
movl %eax, -40(%rbp)
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax), %eax
cmpl -24(%rbp), %eax
jne LBB1_9
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl 4(%rax), %eax
cmpl -28(%rbp), %eax
jge LBB1_7
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_3 Depth=1
movl -40(%rbp), %eax
movl %eax, -36(%rbp)
LBB1_8: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_13
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax), %eax
cmpl -24(%rbp), %eax
jge LBB1_11
## %bb.10: ## in Loop: Header=BB1_3 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_12
LBB1_11: ## in Loop: Header=BB1_3 Depth=1
movl -40(%rbp), %eax
movl %eax, -36(%rbp)
LBB1_12: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_13
LBB1_13: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_3
LBB1_14:
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -24(%rbp), %ecx
movb %al, -41(%rbp) ## 1-byte Spill
jne LBB1_16
## %bb.15:
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl 4(%rax), %eax
cmpl -28(%rbp), %eax
sete %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB1_16:
movb -41(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -1(%rbp)
LBB1_17:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _robotSim ## -- Begin function robotSim
.p2align 4, 0x90
_robotSim: ## @robotSim
.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)
movq %rdi, -56(%rbp)
movl %esi, -60(%rbp)
movq %rdx, -72(%rbp)
movl %ecx, -76(%rbp)
movq %r8, -88(%rbp)
movl $0, -92(%rbp)
movl $0, -96(%rbp)
movl $0, -100(%rbp)
movl $0, -104(%rbp)
movq l___const.robotSim.path(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.robotSim.path+8(%rip), %rax
movq %rax, -40(%rbp)
movq l___const.robotSim.path+16(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.robotSim.path+24(%rip), %rax
movq %rax, -24(%rbp)
movq -72(%rbp), %rdi
movslq -76(%rbp), %rsi
movl $8, %edx
leaq _cmp(%rip), %rcx
callq _qsort
movl $0, -108(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_8 Depth 2
movl -108(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB2_19
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -56(%rbp), %rax
movslq -108(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jge LBB2_7
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -56(%rbp), %rax
movslq -108(%rbp), %rcx
cmpl $-1, (%rax,%rcx,4)
jne LBB2_5
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB2_6
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -92(%rbp), %eax
addl $-1, %eax
movl %eax, -92(%rbp)
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movl -92(%rbp), %eax
addl $4, %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -92(%rbp)
jmp LBB2_17
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl $1, -112(%rbp)
LBB2_8: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -112(%rbp), %eax
movq -56(%rbp), %rcx
movslq -108(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jg LBB2_16
## %bb.9: ## in Loop: Header=BB2_8 Depth=2
movq -72(%rbp), %rdi
movl -76(%rbp), %esi
movl -96(%rbp), %edx
movslq -92(%rbp), %rax
addl -48(%rbp,%rax,8), %edx
movl -100(%rbp), %ecx
movslq -92(%rbp), %rax
addl -44(%rbp,%rax,8), %ecx
callq _binarySearch
testb $1, %al
jne LBB2_10
jmp LBB2_11
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_16
LBB2_11: ## in Loop: Header=BB2_8 Depth=2
movslq -92(%rbp), %rax
movl -48(%rbp,%rax,8), %eax
addl -96(%rbp), %eax
movl %eax, -96(%rbp)
movslq -92(%rbp), %rax
movl -44(%rbp,%rax,8), %eax
addl -100(%rbp), %eax
movl %eax, -100(%rbp)
movl -104(%rbp), %eax
movl -96(%rbp), %ecx
imull -96(%rbp), %ecx
movl -100(%rbp), %edx
imull -100(%rbp), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jle LBB2_13
## %bb.12: ## in Loop: Header=BB2_8 Depth=2
movl -104(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
jmp LBB2_14
LBB2_13: ## in Loop: Header=BB2_8 Depth=2
movl -96(%rbp), %eax
imull -96(%rbp), %eax
movl -100(%rbp), %ecx
imull -100(%rbp), %ecx
addl %ecx, %eax
movl %eax, -116(%rbp) ## 4-byte Spill
LBB2_14: ## in Loop: Header=BB2_8 Depth=2
movl -116(%rbp), %eax ## 4-byte Reload
movl %eax, -104(%rbp)
## %bb.15: ## in Loop: Header=BB2_8 Depth=2
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB2_8
LBB2_16: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_17
LBB2_17: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_18
LBB2_18: ## in Loop: Header=BB2_1 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB2_1
LBB2_19:
movl -104(%rbp), %eax
movl %eax, -120(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_21
## %bb.20:
movl -120(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB2_21:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.robotSim.path
l___const.robotSim.path:
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.subsections_via_symbols
| the_stack_data/153267188.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _ptToBoxCollision_TRANS ; @ptToBoxCollision_TRANS
.p2align 2
_ptToBoxCollision_TRANS:
.long 0x00000000 ; float 0
.long 0x80000000 ; float -0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x80000000 ; float -0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3fddb3d9 ; float 1.73205101
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x41200000 ; float 10
.long 0x41200000 ; float 10
.long 0x41200000 ; float 10
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x418a9066 ; float 17.320507
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3fddb3d9 ; float 1.73205101
.globl _ptToBoxCollision_POINT ; @ptToBoxCollision_POINT
.p2align 2
_ptToBoxCollision_POINT:
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0x3f7fffef ; float 0.999998986
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0x3f7fffef ; float 0.999998986
.long 0xbf800008 ; float -1.00000095
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0x3f7fffef ; float 0.999998986
.long 0x3f800000 ; float 1
.long 0x3f7fffef ; float 0.999998986
.long 0xbf800008 ; float -1.00000095
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f7fffef ; float 0.999998986
.long 0xbf800008 ; float -1.00000095
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0x3f7fffef ; float 0.999998986
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0xbf800000 ; float -1
.long 0xbf800000 ; float -1
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0xbe8d8256 ; float -0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0xbf800000 ; float -1
.long 0x3f393dd9 ; float 0.72359997
.long 0xbf069596 ; float -0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0xbf069596 ; float -0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0xbf800000 ; float -1
.long 0x3f393dd9 ; float 0.72359997
.long 0x3f069596 ; float 0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0xbf64f909 ; float -0.894424974
.long 0x00000000 ; float 0
.long 0xbee4f95d ; float -0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0xbf800000 ; float -1
.long 0xbe8d8256 ; float -0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0xbe8d8256 ; float -0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0xbf800000 ; float -1
.long 0xbf64f909 ; float -0.894424974
.long 0x00000000 ; float 0
.long 0xbee4f95d ; float -0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0x3f069596 ; float 0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0xbf800000 ; float -1
.long 0xbe8d8256 ; float -0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0xbf069596 ; float -0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0x3f069596 ; float 0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x3f64f909 ; float 0.894424974
.long 0x00000000 ; float 0
.long 0x3ee4f95d ; float 0.447214991
.long 0xbe8d8256 ; float -0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0xbf069596 ; float -0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0xbf64f909 ; float -0.894424974
.long 0x00000000 ; float 0
.long 0xbee4f95d ; float -0.447214991
.long 0xbe8d8256 ; float -0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0xbf069596 ; float -0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0xbe8d8256 ; float -0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0xbf64f909 ; float -0.894424974
.long 0x00000000 ; float 0
.long 0xbee4f95d ; float -0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0x3f069596 ; float 0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0x3f069596 ; float 0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0xbe8d8256 ; float -0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0x3f64f909 ; float 0.894424974
.long 0x00000000 ; float 0
.long 0x3ee4f95d ; float 0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0xbf069596 ; float -0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0xbf069596 ; float -0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0xbe8d8256 ; float -0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0xbf069596 ; float -0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0x3f069596 ; float 0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0xbf64f909 ; float -0.894424974
.long 0x00000000 ; float 0
.long 0xbee4f95d ; float -0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0x3f069596 ; float 0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0xbe8d8256 ; float -0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0xbee4f95d ; float -0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0x3f64f909 ; float 0.894424974
.long 0x00000000 ; float 0
.long 0x3ee4f95d ; float 0.447214991
.long 0x3f393dd9 ; float 0.72359997
.long 0x3f069596 ; float 0.52572
.long 0xbee4f95d ; float -0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0x3f64f909 ; float 0.894424974
.long 0x00000000 ; float 0
.long 0x3ee4f95d ; float 0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0xbf393dd9 ; float -0.72359997
.long 0xbf069596 ; float -0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0xbf59c38b ; float -0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0xbf393dd9 ; float -0.72359997
.long 0x3f069596 ; float 0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0xbf069596 ; float -0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3e8d8256 ; float 0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0xbf393dd9 ; float -0.72359997
.long 0x3f069596 ; float 0.52572
.long 0x3ee4f95d ; float 0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f64f909 ; float 0.894424974
.long 0x00000000 ; float 0
.long 0x3ee4f95d ; float 0.447214991
.long 0x3e8d8256 ; float 0.276385009
.long 0x3f59c38b ; float 0.850639998
.long 0x3ee4f95d ; float 0.447214991
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.globl _ptToBoxCollision_QUAD ; @ptToBoxCollision_QUAD
.p2align 1
_ptToBoxCollision_QUAD:
.short 0 ; 0x0
.short 1 ; 0x1
.short 2 ; 0x2
.short 3 ; 0x3
.short 4 ; 0x4
.short 5 ; 0x5
.short 6 ; 0x6
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 13 ; 0xd
.short 14 ; 0xe
.short 15 ; 0xf
.short 16 ; 0x10
.short 17 ; 0x11
.short 18 ; 0x12
.short 19 ; 0x13
.short 20 ; 0x14
.short 21 ; 0x15
.short 22 ; 0x16
.short 23 ; 0x17
.globl _ptToBoxCollision_TRI ; @ptToBoxCollision_TRI
.p2align 1
_ptToBoxCollision_TRI:
.short 24 ; 0x18
.short 25 ; 0x19
.short 26 ; 0x1a
.short 27 ; 0x1b
.short 28 ; 0x1c
.short 29 ; 0x1d
.short 30 ; 0x1e
.short 31 ; 0x1f
.short 32 ; 0x20
.short 33 ; 0x21
.short 34 ; 0x22
.short 35 ; 0x23
.short 36 ; 0x24
.short 37 ; 0x25
.short 38 ; 0x26
.short 39 ; 0x27
.short 40 ; 0x28
.short 41 ; 0x29
.short 42 ; 0x2a
.short 43 ; 0x2b
.short 44 ; 0x2c
.short 45 ; 0x2d
.short 46 ; 0x2e
.short 47 ; 0x2f
.short 48 ; 0x30
.short 49 ; 0x31
.short 50 ; 0x32
.short 51 ; 0x33
.short 52 ; 0x34
.short 53 ; 0x35
.short 54 ; 0x36
.short 55 ; 0x37
.short 56 ; 0x38
.short 57 ; 0x39
.short 58 ; 0x3a
.short 59 ; 0x3b
.short 60 ; 0x3c
.short 61 ; 0x3d
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 65 ; 0x41
.short 66 ; 0x42
.short 67 ; 0x43
.short 68 ; 0x44
.short 69 ; 0x45
.short 70 ; 0x46
.short 71 ; 0x47
.short 72 ; 0x48
.short 73 ; 0x49
.short 74 ; 0x4a
.short 75 ; 0x4b
.short 76 ; 0x4c
.short 77 ; 0x4d
.short 78 ; 0x4e
.short 79 ; 0x4f
.short 80 ; 0x50
.short 81 ; 0x51
.short 82 ; 0x52
.short 83 ; 0x53
.globl _ptToBoxCollision_VCOLOR ; @ptToBoxCollision_VCOLOR
_ptToBoxCollision_VCOLOR:
.ascii "\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177"
.globl _ptToBoxCollision_TEXCOORD ; @ptToBoxCollision_TEXCOORD
.p2align 2
_ptToBoxCollision_TEXCOORD:
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.long 0x3f800000 ; float 1
.globl _ptToBoxCollision_TEXLINKDAT ; @ptToBoxCollision_TEXLINKDAT
.p2align 2
_ptToBoxCollision_TEXLINKDAT:
.space 12,255
.globl _ptToBoxCollision_TEXCNT ; @ptToBoxCollision_TEXCNT
.zerofill __DATA,__common,_ptToBoxCollision_TEXCNT,4,2
.globl _ptToBoxCollision_POINTDATSZ ; @ptToBoxCollision_POINTDATSZ
.p2align 2
_ptToBoxCollision_POINTDATSZ:
.long 0 ; 0x0
.long 72 ; 0x48
.long 72 ; 0x48
.long 252 ; 0xfc
.globl _ptToBoxCollision_QUADDATSZ ; @ptToBoxCollision_QUADDATSZ
.p2align 2
_ptToBoxCollision_QUADDATSZ:
.long 0 ; 0x0
.long 24 ; 0x18
.long 24 ; 0x18
.long 24 ; 0x18
.globl _ptToBoxCollision_TRIDATSZ ; @ptToBoxCollision_TRIDATSZ
.p2align 2
_ptToBoxCollision_TRIDATSZ:
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 60 ; 0x3c
.globl _ptToBoxCollision_VCOLORDATSZ ; @ptToBoxCollision_VCOLORDATSZ
.p2align 2
_ptToBoxCollision_VCOLORDATSZ:
.long 0 ; 0x0
.long 96 ; 0x60
.long 96 ; 0x60
.long 336 ; 0x150
.globl _ptToBoxCollision_TEXCOORDDATSZ ; @ptToBoxCollision_TEXCOORDDATSZ
.p2align 2
_ptToBoxCollision_TEXCOORDDATSZ:
.long 0 ; 0x0
.long 48 ; 0x30
.long 48 ; 0x30
.long 168 ; 0xa8
.globl _ptToBoxCollision_HIDE ; @ptToBoxCollision_HIDE
.zerofill __DATA,__common,_ptToBoxCollision_HIDE,12,2
.globl _ptToBoxCollision_MESHCNT ; @ptToBoxCollision_MESHCNT
.p2align 2
_ptToBoxCollision_MESHCNT:
.long 3 ; 0x3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _ptToBoxCollision_TRANS ## @ptToBoxCollision_TRANS
.p2align 4
_ptToBoxCollision_TRANS:
.long 0x00000000 ## float 0
.long 0x80000000 ## float -0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x80000000 ## float -0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3fddb3d9 ## float 1.73205101
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x41200000 ## float 10
.long 0x41200000 ## float 10
.long 0x41200000 ## float 10
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x418a9066 ## float 17.320507
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3fddb3d9 ## float 1.73205101
.globl _ptToBoxCollision_POINT ## @ptToBoxCollision_POINT
.p2align 4
_ptToBoxCollision_POINT:
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0x3f7fffef ## float 0.999998986
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0x3f7fffef ## float 0.999998986
.long 0xbf800008 ## float -1.00000095
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0x3f7fffef ## float 0.999998986
.long 0x3f800000 ## float 1
.long 0x3f7fffef ## float 0.999998986
.long 0xbf800008 ## float -1.00000095
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f7fffef ## float 0.999998986
.long 0xbf800008 ## float -1.00000095
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0x3f7fffef ## float 0.999998986
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0xbf800000 ## float -1
.long 0xbf800000 ## float -1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0xbe8d8256 ## float -0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0xbf800000 ## float -1
.long 0x3f393dd9 ## float 0.72359997
.long 0xbf069596 ## float -0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0xbf069596 ## float -0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0xbf800000 ## float -1
.long 0x3f393dd9 ## float 0.72359997
.long 0x3f069596 ## float 0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0xbf64f909 ## float -0.894424974
.long 0x00000000 ## float 0
.long 0xbee4f95d ## float -0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0xbf800000 ## float -1
.long 0xbe8d8256 ## float -0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0xbe8d8256 ## float -0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0xbf800000 ## float -1
.long 0xbf64f909 ## float -0.894424974
.long 0x00000000 ## float 0
.long 0xbee4f95d ## float -0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0x3f069596 ## float 0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0xbf800000 ## float -1
.long 0xbe8d8256 ## float -0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0xbf069596 ## float -0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0x3f069596 ## float 0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x3f64f909 ## float 0.894424974
.long 0x00000000 ## float 0
.long 0x3ee4f95d ## float 0.447214991
.long 0xbe8d8256 ## float -0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0xbf069596 ## float -0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0xbf64f909 ## float -0.894424974
.long 0x00000000 ## float 0
.long 0xbee4f95d ## float -0.447214991
.long 0xbe8d8256 ## float -0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0xbf069596 ## float -0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0xbe8d8256 ## float -0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0xbf64f909 ## float -0.894424974
.long 0x00000000 ## float 0
.long 0xbee4f95d ## float -0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0x3f069596 ## float 0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0x3f069596 ## float 0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0xbe8d8256 ## float -0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0x3f64f909 ## float 0.894424974
.long 0x00000000 ## float 0
.long 0x3ee4f95d ## float 0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0xbf069596 ## float -0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0xbf069596 ## float -0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0xbe8d8256 ## float -0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0xbf069596 ## float -0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0x3f069596 ## float 0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0xbf64f909 ## float -0.894424974
.long 0x00000000 ## float 0
.long 0xbee4f95d ## float -0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0x3f069596 ## float 0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0xbe8d8256 ## float -0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0xbee4f95d ## float -0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0x3f64f909 ## float 0.894424974
.long 0x00000000 ## float 0
.long 0x3ee4f95d ## float 0.447214991
.long 0x3f393dd9 ## float 0.72359997
.long 0x3f069596 ## float 0.52572
.long 0xbee4f95d ## float -0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0x3f64f909 ## float 0.894424974
.long 0x00000000 ## float 0
.long 0x3ee4f95d ## float 0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0xbf393dd9 ## float -0.72359997
.long 0xbf069596 ## float -0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0xbf59c38b ## float -0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0xbf393dd9 ## float -0.72359997
.long 0x3f069596 ## float 0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0xbf069596 ## float -0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3e8d8256 ## float 0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0xbf393dd9 ## float -0.72359997
.long 0x3f069596 ## float 0.52572
.long 0x3ee4f95d ## float 0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f64f909 ## float 0.894424974
.long 0x00000000 ## float 0
.long 0x3ee4f95d ## float 0.447214991
.long 0x3e8d8256 ## float 0.276385009
.long 0x3f59c38b ## float 0.850639998
.long 0x3ee4f95d ## float 0.447214991
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.globl _ptToBoxCollision_QUAD ## @ptToBoxCollision_QUAD
.p2align 4
_ptToBoxCollision_QUAD:
.short 0 ## 0x0
.short 1 ## 0x1
.short 2 ## 0x2
.short 3 ## 0x3
.short 4 ## 0x4
.short 5 ## 0x5
.short 6 ## 0x6
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 13 ## 0xd
.short 14 ## 0xe
.short 15 ## 0xf
.short 16 ## 0x10
.short 17 ## 0x11
.short 18 ## 0x12
.short 19 ## 0x13
.short 20 ## 0x14
.short 21 ## 0x15
.short 22 ## 0x16
.short 23 ## 0x17
.globl _ptToBoxCollision_TRI ## @ptToBoxCollision_TRI
.p2align 4
_ptToBoxCollision_TRI:
.short 24 ## 0x18
.short 25 ## 0x19
.short 26 ## 0x1a
.short 27 ## 0x1b
.short 28 ## 0x1c
.short 29 ## 0x1d
.short 30 ## 0x1e
.short 31 ## 0x1f
.short 32 ## 0x20
.short 33 ## 0x21
.short 34 ## 0x22
.short 35 ## 0x23
.short 36 ## 0x24
.short 37 ## 0x25
.short 38 ## 0x26
.short 39 ## 0x27
.short 40 ## 0x28
.short 41 ## 0x29
.short 42 ## 0x2a
.short 43 ## 0x2b
.short 44 ## 0x2c
.short 45 ## 0x2d
.short 46 ## 0x2e
.short 47 ## 0x2f
.short 48 ## 0x30
.short 49 ## 0x31
.short 50 ## 0x32
.short 51 ## 0x33
.short 52 ## 0x34
.short 53 ## 0x35
.short 54 ## 0x36
.short 55 ## 0x37
.short 56 ## 0x38
.short 57 ## 0x39
.short 58 ## 0x3a
.short 59 ## 0x3b
.short 60 ## 0x3c
.short 61 ## 0x3d
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 65 ## 0x41
.short 66 ## 0x42
.short 67 ## 0x43
.short 68 ## 0x44
.short 69 ## 0x45
.short 70 ## 0x46
.short 71 ## 0x47
.short 72 ## 0x48
.short 73 ## 0x49
.short 74 ## 0x4a
.short 75 ## 0x4b
.short 76 ## 0x4c
.short 77 ## 0x4d
.short 78 ## 0x4e
.short 79 ## 0x4f
.short 80 ## 0x50
.short 81 ## 0x51
.short 82 ## 0x52
.short 83 ## 0x53
.globl _ptToBoxCollision_VCOLOR ## @ptToBoxCollision_VCOLOR
.p2align 4
_ptToBoxCollision_VCOLOR:
.ascii "\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177\377\377\377\177"
.globl _ptToBoxCollision_TEXCOORD ## @ptToBoxCollision_TEXCOORD
.p2align 4
_ptToBoxCollision_TEXCOORD:
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.globl _ptToBoxCollision_TEXLINKDAT ## @ptToBoxCollision_TEXLINKDAT
.p2align 2
_ptToBoxCollision_TEXLINKDAT:
.space 12,255
.globl _ptToBoxCollision_TEXCNT ## @ptToBoxCollision_TEXCNT
.zerofill __DATA,__common,_ptToBoxCollision_TEXCNT,4,2
.globl _ptToBoxCollision_POINTDATSZ ## @ptToBoxCollision_POINTDATSZ
.p2align 4
_ptToBoxCollision_POINTDATSZ:
.long 0 ## 0x0
.long 72 ## 0x48
.long 72 ## 0x48
.long 252 ## 0xfc
.globl _ptToBoxCollision_QUADDATSZ ## @ptToBoxCollision_QUADDATSZ
.p2align 4
_ptToBoxCollision_QUADDATSZ:
.long 0 ## 0x0
.long 24 ## 0x18
.long 24 ## 0x18
.long 24 ## 0x18
.globl _ptToBoxCollision_TRIDATSZ ## @ptToBoxCollision_TRIDATSZ
.p2align 4
_ptToBoxCollision_TRIDATSZ:
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 60 ## 0x3c
.globl _ptToBoxCollision_VCOLORDATSZ ## @ptToBoxCollision_VCOLORDATSZ
.p2align 4
_ptToBoxCollision_VCOLORDATSZ:
.long 0 ## 0x0
.long 96 ## 0x60
.long 96 ## 0x60
.long 336 ## 0x150
.globl _ptToBoxCollision_TEXCOORDDATSZ ## @ptToBoxCollision_TEXCOORDDATSZ
.p2align 4
_ptToBoxCollision_TEXCOORDDATSZ:
.long 0 ## 0x0
.long 48 ## 0x30
.long 48 ## 0x30
.long 168 ## 0xa8
.globl _ptToBoxCollision_HIDE ## @ptToBoxCollision_HIDE
.zerofill __DATA,__common,_ptToBoxCollision_HIDE,12,2
.globl _ptToBoxCollision_MESHCNT ## @ptToBoxCollision_MESHCNT
.p2align 2
_ptToBoxCollision_MESHCNT:
.long 3 ## 0x3
.subsections_via_symbols
| the_stack_data/95449951.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _comp_size ; -- Begin function comp_size
.p2align 2
_comp_size: ; @comp_size
.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 d0, [x29, #-8]
str d1, [sp, #16]
ldur d0, [x29, #-8]
fmov d1, #2.00000000
str d1, [sp] ; 8-byte Folded Spill
bl _pow
ldr d1, [sp] ; 8-byte Folded Reload
str d0, [sp, #8] ; 8-byte Folded Spill
ldr d0, [sp, #16]
bl _pow
fmov d1, d0
ldr d0, [sp, #8] ; 8-byte Folded Reload
fadd d0, d0, d1
fsqrt d0, d0
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, #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 x1, [x29, #-16]
adrp x8, _comp_size@PAGE
add x8, x8, _comp_size@PAGEOFF
str x8, [sp, #24]
fmov d0, #2.00000000
str d0, [sp, #8]
fmov d0, #3.00000000
str d0, [sp, #16]
ldr x8, [sp, #24]
ldr d0, [sp, #8]
ldr d1, [sp, #16]
blr x8
mov x8, sp
str d0, [x8]
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
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lf"
.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 comp_size
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _comp_size
.p2align 4, 0x90
_comp_size: ## @comp_size
.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
movsd %xmm0, -8(%rbp)
movsd %xmm1, -16(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movaps %xmm0, %xmm1
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x4008000000000000 ## double 3
LCPI1_1:
.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 $48, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
leaq _comp_size(%rip), %rax
movq %rax, -24(%rbp)
movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movq -24(%rbp), %rax
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq *%rax
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lf"
.subsections_via_symbols
| the_stack_data/722193.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]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #24]
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #16]
ldr x0, [sp, #24]
ldr x4, [sp, #16]
mov w2, #256
mov x1, x2
mov w3, #1
bl _simplest_yuv420_split
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
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 "Hello, World!\n"
l_.str.1: ; @.str.1
.asciz "/Users/angle/Desktop/FFmpeg/FFmpeg_Leixiaohua/\350\247\206\351\237\263\351\242\221\346\225\260\346\215\256\345\244\204\347\220\206\345\205\245\351\227\250\357\274\232RGB\343\200\201YUV\345\203\217\347\264\240\346\225\260\346\215\256\345\244\204\347\220\206/resources/lena_256x256_yuv420p.yuv"
l_.str.2: ; @.str.2
.asciz "/Users/angle/Desktop/FFmpeg/FFmpeg_Leixiaohua/\350\247\206\351\237\263\351\242\221\346\225\260\346\215\256\345\244\204\347\220\206\345\205\245\351\227\250\357\274\232RGB\343\200\201YUV\345\203\217\347\264\240\346\225\260\346\215\256\345\244\204\347\220\206/1.\345\210\206\347\246\273YUV420P\345\203\217\347\264\240\346\225\260\346\215\256\344\270\255\347\232\204Y\343\200\201U\343\200\201V\345\210\206\351\207\217/results/"
l_.str.3: ; @.str.3
.asciz "Write file successed.\n"
l_.str.4: ; @.str.4
.asciz "Write file failed.\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 $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rax
movq %rax, -24(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %r8
movl $256, %edx ## imm = 0x100
movl $1, %ecx
movl %edx, %esi
callq _simplest_yuv420_split
movl %eax, -36(%rbp)
cmpl $1, -36(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello, World!\n"
L_.str.1: ## @.str.1
.asciz "/Users/angle/Desktop/FFmpeg/FFmpeg_Leixiaohua/\350\247\206\351\237\263\351\242\221\346\225\260\346\215\256\345\244\204\347\220\206\345\205\245\351\227\250\357\274\232RGB\343\200\201YUV\345\203\217\347\264\240\346\225\260\346\215\256\345\244\204\347\220\206/resources/lena_256x256_yuv420p.yuv"
L_.str.2: ## @.str.2
.asciz "/Users/angle/Desktop/FFmpeg/FFmpeg_Leixiaohua/\350\247\206\351\237\263\351\242\221\346\225\260\346\215\256\345\244\204\347\220\206\345\205\245\351\227\250\357\274\232RGB\343\200\201YUV\345\203\217\347\264\240\346\225\260\346\215\256\345\244\204\347\220\206/1.\345\210\206\347\246\273YUV420P\345\203\217\347\264\240\346\225\260\346\215\256\344\270\255\347\232\204Y\343\200\201U\343\200\201V\345\210\206\351\207\217/results/"
L_.str.3: ## @.str.3
.asciz "Write file successed.\n"
L_.str.4: ## @.str.4
.asciz "Write file failed.\n"
.subsections_via_symbols
| the_stack_data/1129861.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _xyz_table ; @xyz_table
.p2align 2
_xyz_table:
.long 0x00000000 ; float 0
.long 0x3cf8a6db ; float 0.0303530004
.long 0x3d78a5ce ; float 0.0607049987
.long 0x3dba7c9e ; float 0.0910580009
.long 0x3df8a655 ; float 0.121411003
.long 0x3e1b67c3 ; float 0.151763007
.long 0x3e3a7c9e ; float 0.182116002
.long 0x3e599179 ; float 0.212468997
.long 0x3e78a655 ; float 0.242822006
.long 0x3e8bdd76 ; float 0.273173988
.long 0x3e9b67e4 ; float 0.303526998
.long 0x3eab57c5 ; float 0.334654003
.long 0x3ebc3cc0 ; float 0.367650986
.long 0x3ece10cf ; float 0.402471989
.long 0x3ee0d77b ; float 0.439143986
.long 0x3ef49470 ; float 0.477694988
.long 0x3f04a59c ; float 0.518151999
.long 0x3f0f7f7c ; float 0.560539007
.long 0x3f1ad99d ; float 0.604883015
.long 0x3f26b5a2 ; float 0.651208997
.long 0x3f33151e ; float 0.699540973
.long 0x3f3ff9a5 ; float 0.749903023
.long 0x3f4d64c7 ; float 0.80231899
.long 0x3f5b5819 ; float 0.856813013
.long 0x3f69d4fa ; float 0.913406014
.long 0x3f78dcfd ; float 0.972122013
.long 0x3f8438c1 ; float 1.03298199
.long 0x3f8c4a06 ; float 1.09600902
.long 0x3f94a305 ; float 1.16122496
.long 0x3f9d445f ; float 1.22864902
.long 0x3fa62ecb ; float 1.29830301
.long 0x3faf62fa ; float 1.37020802
.long 0x3fb8e193 ; float 1.44438398
.long 0x3fc2ab3f ; float 1.52085102
.long 0x3fccc0a5 ; float 1.59962904
.long 0x3fd7226c ; float 1.68073797
.long 0x3fe1d124 ; float 1.76419497
.long 0x3feccd85 ; float 1.85002196
.long 0x3ff8181e ; float 1.938236
.long 0x4001d8c7 ; float 2.02885604
.long 0x4007cd3a ; float 2.12190104
.long 0x400de9af ; float 2.21738791
.long 0x40142e7b ; float 2.31533694
.long 0x401a9bdc ; float 2.4157629
.long 0x40213227 ; float 2.51868606
.long 0x4027f19d ; float 2.6241219
.long 0x402eda8c ; float 2.73208904
.long 0x4035ed39 ; float 2.84260392
.long 0x403d29e9 ; float 2.95568299
.long 0x404490e6 ; float 3.0713439
.long 0x404c2275 ; float 3.18960309
.long 0x4053dedb ; float 3.31047702
.long 0x405bc658 ; float 3.43398094
.long 0x4063d930 ; float 3.56013107
.long 0x406c17ad ; float 3.68894506
.long 0x4074820a ; float 3.82043695
.long 0x407d188f ; float 3.95462394
.long 0x4082edbb ; float 4.09151983
.long 0x40876582 ; float 4.23114109
.long 0x408bf3bd ; float 4.37350321
.long 0x40909889 ; float 4.51862001
.long 0x4095540b ; float 4.66650915
.long 0x409a265b ; float 4.81718206
.long 0x409f0f9f ; float 4.97065687
.long 0x40a40ff1 ; float 5.12694597
.long 0x40a92772 ; float 5.2860651
.long 0x40ae563f ; float 5.44802809
.long 0x40b39c76 ; float 5.61284924
.long 0x40b8fa35 ; float 5.78054285
.long 0x40be6f9c ; float 5.95112419
.long 0x40c3fcc4 ; float 6.12460518
.long 0x40c9a1cf ; float 6.30100203
.long 0x40cf5ed7 ; float 6.48032713
.long 0x40d533f8 ; float 6.66259384
.long 0x40db2151 ; float 6.84781694
.long 0x40e126fe ; float 7.03600978
.long 0x40e74519 ; float 7.22718477
.long 0x40ed7bc2 ; float 7.42135715
.long 0x40f3cb10 ; float 7.6185379
.long 0x40fa3322 ; float 7.81874179
.long 0x41005a0a ; float 8.02198219
.long 0x4103a6ff ; float 8.22827053
.long 0x4107007f ; float 8.43762111
.long 0x410a6697 ; float 8.65004634
.long 0x410dd954 ; float 8.86555862
.long 0x411158c4 ; float 9.0841713
.long 0x4114e4f3 ; float 9.3058958
.long 0x41187df1 ; float 9.53074741
.long 0x411c23c7 ; float 9.7587347
.long 0x411fd685 ; float 9.98987293
.long 0x41239636 ; float 10.2241726
.long 0x412762e9 ; float 10.461648
.long 0x412b3ca9 ; float 10.7023096
.long 0x412f2384 ; float 10.9461708
.long 0x41331786 ; float 11.193243
.long 0x413718ba ; float 11.4435368
.long 0x413b2730 ; float 11.6970673
.long 0x413f42f1 ; float 11.9538431
.long 0x41436c0a ; float 12.2138767
.long 0x4147a28a ; float 12.4771824
.long 0x414be679 ; float 12.7437677
.long 0x415037e7 ; float 13.013648
.long 0x415496dd ; float 13.2868319
.long 0x41590369 ; float 13.5633326
.long 0x415d7d97 ; float 13.8431616
.long 0x41620572 ; float 14.1263294
.long 0x41669b05 ; float 14.4128466
.long 0x416b3e5f ; float 14.7027273
.long 0x416fef88 ; float 14.9959793
.long 0x4174ae8d ; float 15.2926149
.long 0x41797b7a ; float 15.5926456
.long 0x417e565c ; float 15.8960838
.long 0x41819f9e ; float 16.2029381
.long 0x41841b13 ; float 16.5132198
.long 0x41869d93 ; float 16.8269405
.long 0x41892723 ; float 17.1441097
.long 0x418bb7ca ; float 17.4647408
.long 0x418e4f8c ; float 17.7888412
.long 0x4190ee70 ; float 18.1164246
.long 0x4193947a ; float 18.4474983
.long 0x419641b2 ; float 18.7820778
.long 0x4198f61b ; float 19.1201687
.long 0x419bb1bb ; float 19.4617825
.long 0x419e7499 ; float 19.8069324
.long 0x41a13eb8 ; float 20.1556244
.long 0x41a41020 ; float 20.5078735
.long 0x41a6e8d5 ; float 20.8636875
.long 0x41a9c8dc ; float 21.2230759
.long 0x41acb03b ; float 21.58605
.long 0x41af9ef7 ; float 21.9526196
.long 0x41b29516 ; float 22.3227959
.long 0x41b5929c ; float 22.6965866
.long 0x41b89790 ; float 23.0740051
.long 0x41bba3f5 ; float 23.4550571
.long 0x41beb7d3 ; float 23.8397579
.long 0x41c1d32c ; float 24.2281113
.long 0x41c4f608 ; float 24.6201324
.long 0x41c8206a ; float 25.0158272
.long 0x41cb5259 ; float 25.4152088
.long 0x41ce8bd9 ; float 25.818285
.long 0x41d1ccef ; float 26.2250652
.long 0x41d515a0 ; float 26.6355591
.long 0x41d865f3 ; float 27.0497799
.long 0x41dbbdea ; float 27.4677315
.long 0x41df1d8b ; float 27.8894253
.long 0x41e284dd ; float 28.3148746
.long 0x41e5f3e2 ; float 28.7440834
.long 0x41e96aa1 ; float 29.1770649
.long 0x41ece91e ; float 29.6138268
.long 0x41f06f5e ; float 30.0543785
.long 0x41f3fd67 ; float 30.4987316
.long 0x41f7933c ; float 30.9468918
.long 0x41fb30e3 ; float 31.3988705
.long 0x41fed661 ; float 31.8546772
.long 0x420141dd ; float 32.3143196
.long 0x42031c7a ; float 32.7778091
.long 0x4204fb0a ; float 33.2451553
.long 0x4206dd8e ; float 33.716362
.long 0x4208c409 ; float 34.1914406
.long 0x420aae7f ; float 34.6704063
.long 0x420c9cf0 ; float 35.1532593
.long 0x420e8f60 ; float 35.6400146
.long 0x421085d0 ; float 36.1306763
.long 0x42128044 ; float 36.6252594
.long 0x42147ebd ; float 37.1237679
.long 0x4216813e ; float 37.6262131
.long 0x421887c9 ; float 38.1326027
.long 0x421a9260 ; float 38.6429443
.long 0x421ca106 ; float 39.1572495
.long 0x421eb3bc ; float 39.6755219
.long 0x4220ca86 ; float 40.1977768
.long 0x4222e566 ; float 40.7240219
.long 0x4225045d ; float 41.254261
.long 0x4227276e ; float 41.7885056
.long 0x42294e9c ; float 42.326767
.long 0x422b79e8 ; float 42.8690491
.long 0x422da955 ; float 43.4153633
.long 0x422fdce5 ; float 43.9657173
.long 0x4232149a ; float 44.5201187
.long 0x42345077 ; float 45.0785789
.long 0x4236907d ; float 45.6411018
.long 0x4238d4af ; float 46.2076988
.long 0x423b1d10 ; float 46.7783813
.long 0x423d69a0 ; float 47.3531494
.long 0x423fba63 ; float 47.9320183
.long 0x42420f5b ; float 48.5149956
.long 0x42446889 ; float 49.1020851
.long 0x4246c5f0 ; float 49.6932983
.long 0x42492793 ; float 50.2886467
.long 0x424b8d72 ; float 50.8881302
.long 0x424df792 ; float 51.4917679
.long 0x425065f2 ; float 52.099556
.long 0x4252d897 ; float 52.7115135
.long 0x42554f81 ; float 53.3276405
.long 0x4257cab3 ; float 53.9479485
.long 0x425a4a2f ; float 54.5724449
.long 0x425ccdf8 ; float 55.2011414
.long 0x425f560e ; float 55.8340378
.long 0x4261e275 ; float 56.4711494
.long 0x4264732f ; float 57.112484
.long 0x4267083d ; float 57.7580452
.long 0x4269a1a1 ; float 58.4078407
.long 0x426c3f5f ; float 59.0618858
.long 0x426ee177 ; float 59.7201805
.long 0x427187eb ; float 60.3827324
.long 0x427432bf ; float 61.0495567
.long 0x4276e1f4 ; float 61.7206573
.long 0x4279958b ; float 62.3960381
.long 0x427c4d88 ; float 63.0757141
.long 0x427f09eb ; float 63.7596855
.long 0x4280e55c ; float 64.4479675
.long 0x428247f8 ; float 65.140564
.long 0x4283acca ; float 65.8374786
.long 0x428513d4 ; float 66.5387268
.long 0x42867d17 ; float 67.2443161
.long 0x4287e893 ; float 67.9542465
.long 0x4289564a ; float 68.6685333
.long 0x428ac63c ; float 69.3871765
.long 0x428c386b ; float 70.1101913
.long 0x428dacd7 ; float 70.8375778
.long 0x428f2382 ; float 71.5693511
.long 0x42909c6c ; float 72.3055114
.long 0x42921797 ; float 73.0460739
.long 0x42939503 ; float 73.7910385
.long 0x429514b2 ; float 74.5404205
.long 0x429696a4 ; float 75.2942199
.long 0x42981adb ; float 76.0524521
.long 0x4299a157 ; float 76.8151169
.long 0x429b2a19 ; float 77.582222
.long 0x429cb523 ; float 78.3537827
.long 0x429e4274 ; float 79.1297912
.long 0x429fd20f ; float 79.9102707
.long 0x42a163f5 ; float 80.6952286
.long 0x42a2f825 ; float 81.4846573
.long 0x42a48ea1 ; float 82.2785721
.long 0x42a6276b ; float 83.0769882
.long 0x42a7c282 ; float 83.879898
.long 0x42a95fe9 ; float 84.6873245
.long 0x42aaff9f ; float 85.4992599
.long 0x42aca1a6 ; float 86.3157196
.long 0x42ae45ff ; float 87.1367111
.long 0x42afecab ; float 87.9622421
.long 0x42b195aa ; float 88.7923126
.long 0x42b340fe ; float 89.6269378
.long 0x42b4eea7 ; float 90.4661179
.long 0x42b69ea7 ; float 91.3098679
.long 0x42b850fe ; float 92.1581878
.long 0x42ba05ad ; float 93.0110855
.long 0x42bbbcb6 ; float 93.868576
.long 0x42bd7618 ; float 94.7306518
.long 0x42bf31d6 ; float 95.5973358
.long 0x42c0eff0 ; float 96.4686279
.long 0x42c2b066 ; float 97.3445281
.long 0x42c4733a ; float 98.2250518
.long 0x42c6386d ; float 99.1102066
.long 0x42c80000 ; float 100
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _xyz_table ## @xyz_table
.p2align 4
_xyz_table:
.long 0x00000000 ## float 0
.long 0x3cf8a6db ## float 0.0303530004
.long 0x3d78a5ce ## float 0.0607049987
.long 0x3dba7c9e ## float 0.0910580009
.long 0x3df8a655 ## float 0.121411003
.long 0x3e1b67c3 ## float 0.151763007
.long 0x3e3a7c9e ## float 0.182116002
.long 0x3e599179 ## float 0.212468997
.long 0x3e78a655 ## float 0.242822006
.long 0x3e8bdd76 ## float 0.273173988
.long 0x3e9b67e4 ## float 0.303526998
.long 0x3eab57c5 ## float 0.334654003
.long 0x3ebc3cc0 ## float 0.367650986
.long 0x3ece10cf ## float 0.402471989
.long 0x3ee0d77b ## float 0.439143986
.long 0x3ef49470 ## float 0.477694988
.long 0x3f04a59c ## float 0.518151999
.long 0x3f0f7f7c ## float 0.560539007
.long 0x3f1ad99d ## float 0.604883015
.long 0x3f26b5a2 ## float 0.651208997
.long 0x3f33151e ## float 0.699540973
.long 0x3f3ff9a5 ## float 0.749903023
.long 0x3f4d64c7 ## float 0.80231899
.long 0x3f5b5819 ## float 0.856813013
.long 0x3f69d4fa ## float 0.913406014
.long 0x3f78dcfd ## float 0.972122013
.long 0x3f8438c1 ## float 1.03298199
.long 0x3f8c4a06 ## float 1.09600902
.long 0x3f94a305 ## float 1.16122496
.long 0x3f9d445f ## float 1.22864902
.long 0x3fa62ecb ## float 1.29830301
.long 0x3faf62fa ## float 1.37020802
.long 0x3fb8e193 ## float 1.44438398
.long 0x3fc2ab3f ## float 1.52085102
.long 0x3fccc0a5 ## float 1.59962904
.long 0x3fd7226c ## float 1.68073797
.long 0x3fe1d124 ## float 1.76419497
.long 0x3feccd85 ## float 1.85002196
.long 0x3ff8181e ## float 1.938236
.long 0x4001d8c7 ## float 2.02885604
.long 0x4007cd3a ## float 2.12190104
.long 0x400de9af ## float 2.21738791
.long 0x40142e7b ## float 2.31533694
.long 0x401a9bdc ## float 2.4157629
.long 0x40213227 ## float 2.51868606
.long 0x4027f19d ## float 2.6241219
.long 0x402eda8c ## float 2.73208904
.long 0x4035ed39 ## float 2.84260392
.long 0x403d29e9 ## float 2.95568299
.long 0x404490e6 ## float 3.0713439
.long 0x404c2275 ## float 3.18960309
.long 0x4053dedb ## float 3.31047702
.long 0x405bc658 ## float 3.43398094
.long 0x4063d930 ## float 3.56013107
.long 0x406c17ad ## float 3.68894506
.long 0x4074820a ## float 3.82043695
.long 0x407d188f ## float 3.95462394
.long 0x4082edbb ## float 4.09151983
.long 0x40876582 ## float 4.23114109
.long 0x408bf3bd ## float 4.37350321
.long 0x40909889 ## float 4.51862001
.long 0x4095540b ## float 4.66650915
.long 0x409a265b ## float 4.81718206
.long 0x409f0f9f ## float 4.97065687
.long 0x40a40ff1 ## float 5.12694597
.long 0x40a92772 ## float 5.2860651
.long 0x40ae563f ## float 5.44802809
.long 0x40b39c76 ## float 5.61284924
.long 0x40b8fa35 ## float 5.78054285
.long 0x40be6f9c ## float 5.95112419
.long 0x40c3fcc4 ## float 6.12460518
.long 0x40c9a1cf ## float 6.30100203
.long 0x40cf5ed7 ## float 6.48032713
.long 0x40d533f8 ## float 6.66259384
.long 0x40db2151 ## float 6.84781694
.long 0x40e126fe ## float 7.03600978
.long 0x40e74519 ## float 7.22718477
.long 0x40ed7bc2 ## float 7.42135715
.long 0x40f3cb10 ## float 7.6185379
.long 0x40fa3322 ## float 7.81874179
.long 0x41005a0a ## float 8.02198219
.long 0x4103a6ff ## float 8.22827053
.long 0x4107007f ## float 8.43762111
.long 0x410a6697 ## float 8.65004634
.long 0x410dd954 ## float 8.86555862
.long 0x411158c4 ## float 9.0841713
.long 0x4114e4f3 ## float 9.3058958
.long 0x41187df1 ## float 9.53074741
.long 0x411c23c7 ## float 9.7587347
.long 0x411fd685 ## float 9.98987293
.long 0x41239636 ## float 10.2241726
.long 0x412762e9 ## float 10.461648
.long 0x412b3ca9 ## float 10.7023096
.long 0x412f2384 ## float 10.9461708
.long 0x41331786 ## float 11.193243
.long 0x413718ba ## float 11.4435368
.long 0x413b2730 ## float 11.6970673
.long 0x413f42f1 ## float 11.9538431
.long 0x41436c0a ## float 12.2138767
.long 0x4147a28a ## float 12.4771824
.long 0x414be679 ## float 12.7437677
.long 0x415037e7 ## float 13.013648
.long 0x415496dd ## float 13.2868319
.long 0x41590369 ## float 13.5633326
.long 0x415d7d97 ## float 13.8431616
.long 0x41620572 ## float 14.1263294
.long 0x41669b05 ## float 14.4128466
.long 0x416b3e5f ## float 14.7027273
.long 0x416fef88 ## float 14.9959793
.long 0x4174ae8d ## float 15.2926149
.long 0x41797b7a ## float 15.5926456
.long 0x417e565c ## float 15.8960838
.long 0x41819f9e ## float 16.2029381
.long 0x41841b13 ## float 16.5132198
.long 0x41869d93 ## float 16.8269405
.long 0x41892723 ## float 17.1441097
.long 0x418bb7ca ## float 17.4647408
.long 0x418e4f8c ## float 17.7888412
.long 0x4190ee70 ## float 18.1164246
.long 0x4193947a ## float 18.4474983
.long 0x419641b2 ## float 18.7820778
.long 0x4198f61b ## float 19.1201687
.long 0x419bb1bb ## float 19.4617825
.long 0x419e7499 ## float 19.8069324
.long 0x41a13eb8 ## float 20.1556244
.long 0x41a41020 ## float 20.5078735
.long 0x41a6e8d5 ## float 20.8636875
.long 0x41a9c8dc ## float 21.2230759
.long 0x41acb03b ## float 21.58605
.long 0x41af9ef7 ## float 21.9526196
.long 0x41b29516 ## float 22.3227959
.long 0x41b5929c ## float 22.6965866
.long 0x41b89790 ## float 23.0740051
.long 0x41bba3f5 ## float 23.4550571
.long 0x41beb7d3 ## float 23.8397579
.long 0x41c1d32c ## float 24.2281113
.long 0x41c4f608 ## float 24.6201324
.long 0x41c8206a ## float 25.0158272
.long 0x41cb5259 ## float 25.4152088
.long 0x41ce8bd9 ## float 25.818285
.long 0x41d1ccef ## float 26.2250652
.long 0x41d515a0 ## float 26.6355591
.long 0x41d865f3 ## float 27.0497799
.long 0x41dbbdea ## float 27.4677315
.long 0x41df1d8b ## float 27.8894253
.long 0x41e284dd ## float 28.3148746
.long 0x41e5f3e2 ## float 28.7440834
.long 0x41e96aa1 ## float 29.1770649
.long 0x41ece91e ## float 29.6138268
.long 0x41f06f5e ## float 30.0543785
.long 0x41f3fd67 ## float 30.4987316
.long 0x41f7933c ## float 30.9468918
.long 0x41fb30e3 ## float 31.3988705
.long 0x41fed661 ## float 31.8546772
.long 0x420141dd ## float 32.3143196
.long 0x42031c7a ## float 32.7778091
.long 0x4204fb0a ## float 33.2451553
.long 0x4206dd8e ## float 33.716362
.long 0x4208c409 ## float 34.1914406
.long 0x420aae7f ## float 34.6704063
.long 0x420c9cf0 ## float 35.1532593
.long 0x420e8f60 ## float 35.6400146
.long 0x421085d0 ## float 36.1306763
.long 0x42128044 ## float 36.6252594
.long 0x42147ebd ## float 37.1237679
.long 0x4216813e ## float 37.6262131
.long 0x421887c9 ## float 38.1326027
.long 0x421a9260 ## float 38.6429443
.long 0x421ca106 ## float 39.1572495
.long 0x421eb3bc ## float 39.6755219
.long 0x4220ca86 ## float 40.1977768
.long 0x4222e566 ## float 40.7240219
.long 0x4225045d ## float 41.254261
.long 0x4227276e ## float 41.7885056
.long 0x42294e9c ## float 42.326767
.long 0x422b79e8 ## float 42.8690491
.long 0x422da955 ## float 43.4153633
.long 0x422fdce5 ## float 43.9657173
.long 0x4232149a ## float 44.5201187
.long 0x42345077 ## float 45.0785789
.long 0x4236907d ## float 45.6411018
.long 0x4238d4af ## float 46.2076988
.long 0x423b1d10 ## float 46.7783813
.long 0x423d69a0 ## float 47.3531494
.long 0x423fba63 ## float 47.9320183
.long 0x42420f5b ## float 48.5149956
.long 0x42446889 ## float 49.1020851
.long 0x4246c5f0 ## float 49.6932983
.long 0x42492793 ## float 50.2886467
.long 0x424b8d72 ## float 50.8881302
.long 0x424df792 ## float 51.4917679
.long 0x425065f2 ## float 52.099556
.long 0x4252d897 ## float 52.7115135
.long 0x42554f81 ## float 53.3276405
.long 0x4257cab3 ## float 53.9479485
.long 0x425a4a2f ## float 54.5724449
.long 0x425ccdf8 ## float 55.2011414
.long 0x425f560e ## float 55.8340378
.long 0x4261e275 ## float 56.4711494
.long 0x4264732f ## float 57.112484
.long 0x4267083d ## float 57.7580452
.long 0x4269a1a1 ## float 58.4078407
.long 0x426c3f5f ## float 59.0618858
.long 0x426ee177 ## float 59.7201805
.long 0x427187eb ## float 60.3827324
.long 0x427432bf ## float 61.0495567
.long 0x4276e1f4 ## float 61.7206573
.long 0x4279958b ## float 62.3960381
.long 0x427c4d88 ## float 63.0757141
.long 0x427f09eb ## float 63.7596855
.long 0x4280e55c ## float 64.4479675
.long 0x428247f8 ## float 65.140564
.long 0x4283acca ## float 65.8374786
.long 0x428513d4 ## float 66.5387268
.long 0x42867d17 ## float 67.2443161
.long 0x4287e893 ## float 67.9542465
.long 0x4289564a ## float 68.6685333
.long 0x428ac63c ## float 69.3871765
.long 0x428c386b ## float 70.1101913
.long 0x428dacd7 ## float 70.8375778
.long 0x428f2382 ## float 71.5693511
.long 0x42909c6c ## float 72.3055114
.long 0x42921797 ## float 73.0460739
.long 0x42939503 ## float 73.7910385
.long 0x429514b2 ## float 74.5404205
.long 0x429696a4 ## float 75.2942199
.long 0x42981adb ## float 76.0524521
.long 0x4299a157 ## float 76.8151169
.long 0x429b2a19 ## float 77.582222
.long 0x429cb523 ## float 78.3537827
.long 0x429e4274 ## float 79.1297912
.long 0x429fd20f ## float 79.9102707
.long 0x42a163f5 ## float 80.6952286
.long 0x42a2f825 ## float 81.4846573
.long 0x42a48ea1 ## float 82.2785721
.long 0x42a6276b ## float 83.0769882
.long 0x42a7c282 ## float 83.879898
.long 0x42a95fe9 ## float 84.6873245
.long 0x42aaff9f ## float 85.4992599
.long 0x42aca1a6 ## float 86.3157196
.long 0x42ae45ff ## float 87.1367111
.long 0x42afecab ## float 87.9622421
.long 0x42b195aa ## float 88.7923126
.long 0x42b340fe ## float 89.6269378
.long 0x42b4eea7 ## float 90.4661179
.long 0x42b69ea7 ## float 91.3098679
.long 0x42b850fe ## float 92.1581878
.long 0x42ba05ad ## float 93.0110855
.long 0x42bbbcb6 ## float 93.868576
.long 0x42bd7618 ## float 94.7306518
.long 0x42bf31d6 ## float 95.5973358
.long 0x42c0eff0 ## float 96.4686279
.long 0x42c2b066 ## float 97.3445281
.long 0x42c4733a ## float 98.2250518
.long 0x42c6386d ## float 99.1102066
.long 0x42c80000 ## float 100
.subsections_via_symbols
| the_stack_data/61559.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #5
str x8, [x9, #8]
sub x8, x29, #24
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldursb w8, [x29, #-5]
subs w8, w8, #42
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, LBB0_9
; %bb.1:
ldr x11, [sp, #32] ; 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_2:
ldur d0, [x29, #-16]
ldur d1, [x29, #-24]
fadd 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_10
LBB0_3:
ldur d0, [x29, #-16]
ldur d1, [x29, #-24]
fsub 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_10
LBB0_4:
ldur d0, [x29, #-16]
ldur d1, [x29, #-24]
fmul 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_10
LBB0_5:
ldur d0, [x29, #-24]
fcmp d0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur d0, [x29, #-16]
ldur d1, [x29, #-24]
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_8
LBB0_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_8
LBB0_8:
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:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_4-Ltmp0
.long LBB0_2-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_3-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_5-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Dwse arithmo praji arithmo\n"
l_.str.1: ; @.str.1
.asciz "%lf %c %lf"
l_.str.2: ; @.str.2
.asciz "apotelesma = %.2lf"
l_.str.3: ; @.str.3
.asciz "Divide with zero is not allowed"
l_.str.4: ; @.str.4
.asciz "Wrong operator. Please try again"
.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 $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%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.1(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -5(%rbp), %rdx
leaq -24(%rbp), %rcx
callq _scanf
movsbl -5(%rbp), %eax
addl $-42, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $5, %eax
ja LBB0_8
## %bb.10:
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_1:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_9
LBB0_2:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -24(%rbp), %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_9
LBB0_3:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -24(%rbp), %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_9
LBB0_4:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_5
jp LBB0_5
jmp LBB0_6
LBB0_5:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -24(%rbp), %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_7
LBB0_6:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7:
jmp LBB0_9
LBB0_8:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_9:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_1
.long L0_0_set_8
.long L0_0_set_2
.long L0_0_set_8
.long L0_0_set_4
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Dwse arithmo praji arithmo\n"
L_.str.1: ## @.str.1
.asciz "%lf %c %lf"
L_.str.2: ## @.str.2
.asciz "apotelesma = %.2lf"
L_.str.3: ## @.str.3
.asciz "Divide with zero is not allowed"
L_.str.4: ## @.str.4
.asciz "Wrong operator. Please try again"
.subsections_via_symbols
| the_stack_data/165769636.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]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_8 Depth 2
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_12
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-12]
b LBB0_4
LBB0_4: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
ldursw x9, [x29, #-12]
adrp x8, _arr@GOTPAGE
ldr x8, [x8, _arr@GOTPAGEOFF]
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 LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-12]
b LBB0_8
LBB0_8: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w9, w9, #5
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=2
ldur w0, [x29, #-12]
ldur w1, [x29, #-8]
bl _function
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_8
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_12:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.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 w0, [x29, #-4]
stur w1, [x29, #-8]
ldur w8, [x29, #-4]
add w8, w8, #5
stur w8, [x29, #-12]
ldur w8, [x29, #-12]
stur w8, [x29, #-16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
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, #-4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_15
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_5 Depth 3
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur w8, [x29, #-4]
stur w8, [x29, #-20]
b LBB1_5
LBB1_5: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_3 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_11
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=3
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=3
b LBB1_10
LBB1_8: ; in Loop: Header=BB1_5 Depth=3
ldursw x9, [x29, #-20]
adrp x8, _arr@GOTPAGE
ldr x8, [x8, _arr@GOTPAGEOFF]
ldr w9, [x8, x9, lsl #2]
; 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
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_5 Depth=3
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_5 Depth=3
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB1_5
LBB1_11: ; in Loop: Header=BB1_3 Depth=2
ldrsw x9, [sp, #20]
adrp x8, _arr@GOTPAGE
ldr x8, [x8, _arr@GOTPAGEOFF]
ldr w9, [x8, x9, lsl #2]
; 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
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_3
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB1_1
LBB1_15:
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"
.comm _arr,200,2 ; @arr
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.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 $32, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_8 Depth 2
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $0, -8(%rbp)
jne LBB0_3
## %bb.2:
jmp LBB0_12
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl $0, -12(%rbp)
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movslq -12(%rbp), %rax
movq _arr@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_4
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl $0, -12(%rbp)
LBB0_8: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movl -8(%rbp), %ecx
subl $5, %ecx
cmpl %ecx, %eax
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movl -12(%rbp), %edi
movl -8(%rbp), %esi
callq _function
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_8
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_12:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.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 $32, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
addl $5, %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
## Child Loop BB1_5 Depth 3
movl -16(%rbp), %eax
cmpl -4(%rbp), %eax
jle LBB1_15
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_5 Depth 3
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_13
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movl -4(%rbp), %eax
movl %eax, -20(%rbp)
LBB1_5: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB1_11
## %bb.6: ## in Loop: Header=BB1_5 Depth=3
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jne LBB1_8
## %bb.7: ## in Loop: Header=BB1_5 Depth=3
jmp LBB1_10
LBB1_8: ## in Loop: Header=BB1_5 Depth=3
movslq -20(%rbp), %rcx
movq _arr@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB1_5 Depth=3
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_5 Depth=3
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_5
LBB1_11: ## in Loop: Header=BB1_3 Depth=2
movslq -28(%rbp), %rcx
movq _arr@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.12: ## in Loop: Header=BB1_3 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_3
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_14
LBB1_14: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_15:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _arr,200,4 ## @arr
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "%d "
.subsections_via_symbols
| the_stack_data/156288.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kernel_main ; -- Begin function kernel_main
.p2align 2
_kernel_main: ; @kernel_main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
mov x8, #32768
movk x8, #11, lsl #16
str x8, [sp, #24]
str wzr, [sp, #20]
mov w8, #4000
str w8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #4000
cset w8, hs
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
mov x10, x9
add w10, w10, #1
str w10, [sp, #20]
add x9, x8, x9
mov w8, #32
strb w8, [x9]
ldr x8, [sp, #24]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
mov x10, x9
add w10, w10, #1
str w10, [sp, #20]
add x9, x8, x9
mov w8, #4
strb w8, [x9]
b LBB0_1
LBB0_3:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #8]
str wzr, [sp, #20]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsb w9, [x8]
mov w8, #0
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrb w8, [x8]
ldr x9, [sp, #24]
ldr w10, [sp, #20]
; kill: def $x10 killed $w10
mov x11, x10
add w11, w11, #1
str w11, [sp, #20]
add x9, x9, x10
strb w8, [x9]
ldr x8, [sp, #24]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
mov x10, x9
add w10, w10, #1
str w10, [sp, #20]
add x9, x8, x9
mov w8, #4
strb w8, [x9]
b LBB0_4
LBB0_6:
mov w0, #0
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello World, welcome to kernel!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kernel_main ## -- Begin function kernel_main
.p2align 4, 0x90
_kernel_main: ## @kernel_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 $753664, %eax ## imm = 0xB8000
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl $4000, -16(%rbp) ## imm = 0xFA0
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $4000, -12(%rbp) ## imm = 0xFA0
jae LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -12(%rbp)
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movb $32, (%rax,%rcx)
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -12(%rbp)
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movb $4, (%rax,%rcx)
jmp LBB0_1
LBB0_3:
leaq L_.str(%rip), %rax
movq %rax, -24(%rbp)
movl $0, -12(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movb (%rax), %dl
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -12(%rbp)
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -12(%rbp)
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movb $4, (%rax,%rcx)
jmp LBB0_4
LBB0_6:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World, welcome to kernel!"
.subsections_via_symbols
| the_stack_data/176705586.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]
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_5 Depth 2
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
subs w8, w0, #1
cset w8, ne
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, gt
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB0_9
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x9, _count@PAGE
ldr w8, [x9, _count@PAGEOFF]
add w8, w8, #1
str w8, [x9, _count@PAGEOFF]
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=2
ldur w0, [x29, #-12]
bl _accumulate
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_1
LBB0_9:
bl _report_count
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _report_count ; -- Begin function report_count
.p2align 2
_report_count: ; @report_count
.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, _count@PAGE
ldr w9, [x8, _count@PAGEOFF]
; 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
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _count ; @count
.zerofill __DATA,__common,_count,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a positive integer (0 to quit): "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter a positive integer(0 to quit): "
l_.str.3: ; @.str.3
.asciz "Loop executed %d times\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)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $1, %ecx
movb %al, -13(%rbp) ## 1-byte Spill
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
setg %al
movb %al, -13(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -13(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_9
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl _count(%rip), %eax
addl $1, %eax
movl %eax, _count(%rip)
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -12(%rbp)
jl LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movl -12(%rbp), %edi
callq _accumulate
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_9:
callq _report_count
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _report_count ## -- Begin function report_count
.p2align 4, 0x90
_report_count: ## @report_count
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _count(%rip), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count ## @count
.zerofill __DATA,__common,_count,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a positive integer (0 to quit): "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter a positive integer(0 to quit): "
L_.str.3: ## @.str.3
.asciz "Loop executed %d times\n"
.subsections_via_symbols
| the_stack_data/10422.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, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.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, #116]
adrp x8, l___const.main.current_time@PAGE
add x8, x8, l___const.main.current_time@PAGEOFF
ldr x9, [x8]
str x9, [sp, #104]
ldr w8, [x8, #8]
str w8, [sp, #112]
mov w8, #21
str w8, [sp, #100]
ldr w2, [sp, #100]
ldr x8, [sp, #104]
stur x8, [x29, #-40]
ldr w8, [sp, #112]
stur w8, [x29, #-32]
ldur x0, [x29, #-40]
ldur x1, [x29, #-32]
bl _addminutes
stur x0, [x29, #-56]
stur x1, [x29, #-48]
ldur x8, [x29, #-56]
add x9, sp, #88
str x9, [sp, #32] ; 8-byte Folded Spill
str x8, [sp, #88]
ldur w8, [x29, #-48]
str w8, [sp, #96]
ldr x8, [sp, #88]
stur x8, [x29, #-72]
ldr w8, [sp, #96]
stur w8, [x29, #-64]
ldur x0, [x29, #-72]
ldur x1, [x29, #-64]
bl _showTime
ldr x8, [sp, #88]
stur x8, [x29, #-88]
ldr w8, [sp, #96]
stur w8, [x29, #-80]
ldur x0, [x29, #-88]
ldur x1, [x29, #-80]
mov w2, #23
bl _addminutes
stur x0, [x29, #-104]
stur x1, [x29, #-96]
ldur x8, [x29, #-104]
str x8, [sp, #72]
ldur w8, [x29, #-96]
str w8, [sp, #80]
ldr x8, [sp, #72]
str x8, [sp, #88]
ldr w8, [sp, #80]
str w8, [sp, #96]
ldr x8, [sp, #88]
stur x8, [x29, #-120]
ldr w8, [sp, #96]
stur w8, [x29, #-112]
ldur x0, [x29, #-120]
ldur x1, [x29, #-112]
bl _showTime
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x8, [sp, #64]
ldr x0, [sp, #64]
mov w1, #382
bl _addminutesPointer
str x0, [sp, #136]
str x1, [sp, #144]
ldr x8, [sp, #136]
str x8, [sp, #48]
ldr w8, [sp, #144]
str w8, [sp, #56]
ldr x8, [sp, #88]
str x8, [sp, #120]
ldr w8, [sp, #96]
str w8, [sp, #128]
ldr x0, [sp, #120]
ldr x1, [sp, #128]
bl _showTime
bl _input
str x0, [sp, #40]
ldr x8, [sp, #40]
ldr w8, [x8]
; implicit-def: $x11
mov x11, x8
ldr x8, [sp, #40]
ldr w8, [x8, #4]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #40]
ldr w9, [x8, #8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x0, [sp, #40]
bl _free
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_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x28, x27, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
.cfi_endproc
; -- End function
.globl _addminutes ; -- Begin function addminutes
.p2align 2
_addminutes: ; @addminutes
.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]
stur x0, [x29, #-24]
stur x1, [x29, #-16]
ldur x8, [x29, #-24]
str x8, [sp, #32]
ldur w8, [x29, #-16]
str w8, [sp, #40]
str w2, [sp, #28]
ldr w8, [sp, #32]
str w8, [sp, #44]
ldr w8, [sp, #36]
str w8, [sp, #48]
ldr w8, [sp, #40]
str w8, [sp, #52]
ldr w9, [sp, #28]
ldr w8, [sp, #48]
add w8, w8, w9
str w8, [sp, #48]
ldr w8, [sp, #48]
subs w8, w8, #60
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr w9, [sp, #48]
mov w8, #60
sdiv w9, w9, w8
str w9, [sp, #24]
ldr w9, [sp, #24]
mul w9, w8, w9
ldr w8, [sp, #48]
subs w8, w8, w9
str w8, [sp, #48]
ldr w9, [sp, #24]
ldr w8, [sp, #44]
add w8, w8, w9
str w8, [sp, #44]
b LBB1_2
LBB1_2:
ldr w8, [sp, #44]
subs w8, w8, #24
cset w8, lt
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr w9, [sp, #44]
mov w8, #24
sdiv w9, w9, w8
str w9, [sp, #20]
ldr w9, [sp, #20]
mul w9, w8, w9
ldr w8, [sp, #44]
subs w8, w8, w9
str w8, [sp, #44]
b LBB1_4
LBB1_4:
ldur x8, [sp, #44]
stur x8, [x29, #-40]
ldr w8, [sp, #52]
stur w8, [x29, #-32]
ldur x8, [x29, #-40]
str x8, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-32]
str x8, [sp, #8] ; 8-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_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp] ; 8-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _showTime ; -- Begin function showTime
.p2align 2
_showTime: ; @showTime
.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 x0, [x29, #-24]
stur x1, [x29, #-16]
ldur x8, [x29, #-24]
str x8, [sp, #24]
ldur w8, [x29, #-16]
str w8, [sp, #32]
ldr w8, [sp, #24]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #28]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@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, LBB2_2
b LBB2_1
LBB2_1:
bl ___stack_chk_fail
LBB2_2:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _addminutesPointer ; -- Begin function addminutesPointer
.p2align 2
_addminutesPointer: ; @addminutesPointer
.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 x0, [sp, #32]
str w1, [sp, #28]
ldr w10, [sp, #28]
ldr x9, [sp, #32]
ldr w8, [x9, #4]
add w8, w8, w10
str w8, [x9, #4]
ldr x8, [sp, #32]
ldr w8, [x8, #4]
subs w8, w8, #60
cset w8, lt
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp, #32]
ldr w9, [x8, #4]
mov w8, #60
sdiv w9, w9, w8
str w9, [sp, #24]
ldr w9, [sp, #24]
mul w10, w8, w9
ldr x9, [sp, #32]
ldr w8, [x9, #4]
subs w8, w8, w10
str w8, [x9, #4]
ldr w10, [sp, #24]
ldr x9, [sp, #32]
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB3_2
LBB3_2:
ldr x8, [sp, #32]
ldr w8, [x8]
subs w8, w8, #24
cset w8, lt
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
ldr x8, [sp, #32]
ldr w9, [x8]
mov w8, #24
sdiv w9, w9, w8
str w9, [sp, #20]
ldr w9, [sp, #20]
mul w10, w8, w9
ldr x9, [sp, #32]
ldr w8, [x9]
subs w8, w8, w10
str w8, [x9]
b LBB3_4
LBB3_4:
ldur x8, [x29, #-36]
stur x8, [x29, #-24]
ldur w8, [x29, #-28]
stur w8, [x29, #-16]
ldur x8, [x29, #-24]
str x8, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp, #8] ; 8-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, LBB3_6
b LBB3_5
LBB3_5:
bl ___stack_chk_fail
LBB3_6:
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp] ; 8-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _input ; -- Begin function input
.p2align 2
_input: ; @input
.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 x0, #12
bl _malloc
stur x0, [x29, #-8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
add x8, x8, #4
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
add x8, x8, #8
mov x9, sp
str x8, [x9]
bl _scanf
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.current_time
l___const.main.current_time:
.long 17 ; 0x11
.long 38 ; 0x26
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%2d:%2d:%2d\n"
l_.str.1: ; @.str.1
.asciz "Enter hour: "
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter minutes: "
l_.str.4: ; @.str.4
.asciz "Enter seconds: "
.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 $208, %rsp
movl $0, -4(%rbp)
movl l___const.main.current_time+8(%rip), %eax
movl %eax, -8(%rbp)
movq l___const.main.current_time(%rip), %rax
movq %rax, -16(%rbp)
movl $21, -20(%rbp)
movl -20(%rbp), %edx
movl -8(%rbp), %eax
movl %eax, -40(%rbp)
movq -16(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
movl -40(%rbp), %esi
callq _addminutes
movl %edx, -56(%rbp)
movq %rax, -64(%rbp)
movl -56(%rbp), %eax
movl %eax, -24(%rbp)
movq -64(%rbp), %rax
movq %rax, -32(%rbp)
movl -24(%rbp), %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rdi
movl -72(%rbp), %esi
callq _showTime
movl -24(%rbp), %eax
movl %eax, -104(%rbp)
movq -32(%rbp), %rax
movq %rax, -112(%rbp)
movq -112(%rbp), %rdi
movl -104(%rbp), %esi
movl $23, %edx
callq _addminutes
movl %edx, -120(%rbp)
movq %rax, -128(%rbp)
movl -120(%rbp), %eax
movl %eax, -88(%rbp)
movq -128(%rbp), %rax
movq %rax, -96(%rbp)
movl -88(%rbp), %eax
movl %eax, -24(%rbp)
movq -96(%rbp), %rax
movq %rax, -32(%rbp)
movl -24(%rbp), %eax
movl %eax, -136(%rbp)
movq -32(%rbp), %rax
movq %rax, -144(%rbp)
movq -144(%rbp), %rdi
movl -136(%rbp), %esi
callq _showTime
leaq -32(%rbp), %rax
movq %rax, -152(%rbp)
movq -152(%rbp), %rdi
movl $382, %esi ## imm = 0x17E
callq _addminutesPointer
movl %edx, -176(%rbp)
movq %rax, -184(%rbp)
movq -184(%rbp), %rax
movq %rax, -168(%rbp)
movl -176(%rbp), %eax
movl %eax, -160(%rbp)
movq -32(%rbp), %rax
movq %rax, -200(%rbp)
movl -24(%rbp), %eax
movl %eax, -192(%rbp)
movq -200(%rbp), %rdi
movl -192(%rbp), %esi
callq _showTime
callq _input
movq %rax, -208(%rbp)
movq -208(%rbp), %rax
movl (%rax), %esi
movq -208(%rbp), %rax
movl 4(%rax), %edx
movq -208(%rbp), %rax
movl 8(%rax), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -208(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $208, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addminutes ## -- Begin function addminutes
.p2align 4, 0x90
_addminutes: ## @addminutes
.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, -48(%rbp)
movl %esi, -40(%rbp)
movq -48(%rbp), %rax
movq %rax, -32(%rbp)
movl -40(%rbp), %eax
movl %eax, -24(%rbp)
movl %edx, -52(%rbp)
movl -32(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
movl %eax, -12(%rbp)
movl -24(%rbp), %eax
movl %eax, -8(%rbp)
movl -52(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
cmpl $60, -12(%rbp)
jl LBB1_2
## %bb.1:
movl -12(%rbp), %eax
movl $60, %ecx
cltd
idivl %ecx
movl %eax, -56(%rbp)
imull $60, -56(%rbp), %ecx
movl -12(%rbp), %eax
subl %ecx, %eax
movl %eax, -12(%rbp)
movl -56(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
LBB1_2:
cmpl $24, -16(%rbp)
jl LBB1_4
## %bb.3:
movl -16(%rbp), %eax
movl $24, %ecx
cltd
idivl %ecx
movl %eax, -60(%rbp)
imull $24, -60(%rbp), %ecx
movl -16(%rbp), %eax
subl %ecx, %eax
movl %eax, -16(%rbp)
LBB1_4:
movl -8(%rbp), %eax
movl %eax, -72(%rbp)
movq -16(%rbp), %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rax
movl -72(%rbp), %edx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _showTime ## -- Begin function showTime
.p2align 4, 0x90
_showTime: ## @showTime
.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, -32(%rbp)
movl %esi, -24(%rbp)
movq -32(%rbp), %rax
movq %rax, -16(%rbp)
movl -24(%rbp), %eax
movl %eax, -8(%rbp)
movl -16(%rbp), %esi
movl -12(%rbp), %edx
movl -8(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addminutesPointer ## -- Begin function addminutesPointer
.p2align 4, 0x90
_addminutesPointer: ## @addminutesPointer
.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, -24(%rbp)
movl %esi, -28(%rbp)
movl -28(%rbp), %ecx
movq -24(%rbp), %rax
addl 4(%rax), %ecx
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
cmpl $60, 4(%rax)
jl LBB3_2
## %bb.1:
movq -24(%rbp), %rax
movl 4(%rax), %eax
movl $60, %ecx
cltd
idivl %ecx
movl %eax, -32(%rbp)
imull $60, -32(%rbp), %edx
movq -24(%rbp), %rax
movl 4(%rax), %ecx
subl %edx, %ecx
movl %ecx, 4(%rax)
movl -32(%rbp), %ecx
movq -24(%rbp), %rax
addl (%rax), %ecx
movl %ecx, (%rax)
LBB3_2:
movq -24(%rbp), %rax
cmpl $24, (%rax)
jl LBB3_4
## %bb.3:
movq -24(%rbp), %rax
movl (%rax), %eax
movl $24, %ecx
cltd
idivl %ecx
movl %eax, -36(%rbp)
imull $24, -36(%rbp), %edx
movq -24(%rbp), %rax
movl (%rax), %ecx
subl %edx, %ecx
movl %ecx, (%rax)
LBB3_4:
movl -8(%rbp), %eax
movl %eax, -48(%rbp)
movq -16(%rbp), %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movl -48(%rbp), %edx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _input ## -- Begin function input
.p2align 4, 0x90
_input: ## @input
.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 $12, %edi
callq _malloc
movq %rax, -8(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $4, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $8, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @__const.main.current_time
l___const.main.current_time:
.long 17 ## 0x11
.long 38 ## 0x26
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%2d:%2d:%2d\n"
L_.str.1: ## @.str.1
.asciz "Enter hour: "
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter minutes: "
L_.str.4: ## @.str.4
.asciz "Enter seconds: "
.subsections_via_symbols
| the_stack_data/100215.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memmove ; -- Begin function memmove
.p2align 2
_memmove: ; @memmove
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
ldr x8, [sp, #24]
str x8, [sp]
ldr x8, [sp, #16]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_5
b LBB0_1
LBB0_1:
ldrsw x9, [sp, #12]
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w9, w8, #1
str w9, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #16]
subs x8, x8, #1
mov x9, x8
str x9, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
subs x9, x9, #1
mov x10, x9
str x10, [sp, #24]
strb w8, [x9]
b LBB0_2
LBB0_4:
b LBB0_11
LBB0_5:
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w9, w8, #1
str w9, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
strb w8, [x9]
b LBB0_7
LBB0_9:
b LBB0_10
LBB0_10:
b LBB0_11
LBB0_11:
ldr x0, [sp]
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 _memmove ## -- Begin function memmove
.p2align 4, 0x90
_memmove: ## @memmove
.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 %edx, -20(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
cmpq -8(%rbp), %rax
jae LBB0_5
## %bb.1:
movl -20(%rbp), %ecx
movq -16(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movl -20(%rbp), %ecx
movq -8(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -8(%rbp)
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -20(%rbp)
cmpl $0, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -16(%rbp)
movb -1(%rax), %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $-1, %rdx
movq %rdx, -8(%rbp)
movb %cl, -1(%rax)
jmp LBB0_2
LBB0_4:
jmp LBB0_11
LBB0_5:
movq -8(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB0_10
## %bb.6:
jmp LBB0_7
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -20(%rbp)
cmpl $0, %eax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movb %cl, (%rax)
jmp LBB0_7
LBB0_9:
jmp LBB0_10
LBB0_10:
jmp LBB0_11
LBB0_11:
movq -32(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/126702311.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]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
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
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #20]
ldur w8, [x29, #-8]
stur w8, [x29, #-16]
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, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_13
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-16]
str w8, [sp, #24]
stur wzr, [x29, #-20]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #24]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
ldr w10, [sp, #24]
sdiv w11, w10, w9
mul w11, w11, w9
subs w10, w10, w11
mul w8, w8, w10
ldr w10, [sp, #24]
sdiv w11, w10, w9
mul w11, w11, w9
subs w10, w10, w11
mul w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldr w8, [sp, #24]
sdiv w8, w8, w9
str w8, [sp, #24]
b LBB0_5
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
mov w0, #32
bl _putchar
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=2
ldur w9, [x29, #-16]
; 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 w8, #1
str w8, [sp, #20]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=2
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
mov w0, #10
bl _putchar
b LBB0_1
LBB0_16:
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 "no"
.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 $48, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $-1, %eax
je LBB0_16
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -28(%rbp)
movl -8(%rbp), %eax
movl %eax, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_13
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
movl %eax, -24(%rbp)
movl $0, -20(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $0, -24(%rbp)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -36(%rbp) ## 4-byte Spill
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, %eax
movl -36(%rbp), %edx ## 4-byte Reload
imull %eax, %edx
movl %edx, -32(%rbp) ## 4-byte Spill
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -32(%rbp), %eax ## 4-byte Reload
imull %edx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -24(%rbp)
jmp LBB0_5
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jne LBB0_11
## %bb.8: ## in Loop: Header=BB0_3 Depth=2
cmpl $1, -28(%rbp)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=2
movl $32, %edi
callq _putchar
LBB0_10: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -28(%rbp)
LBB0_11: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -28(%rbp)
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
jmp LBB0_1
LBB0_16:
xorl %eax, %eax
addq $48, %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 "no"
.subsections_via_symbols
| the_stack_data/97013784.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _resta ; -- Begin function resta
.p2align 2
_resta: ; @resta
.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 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 _resta ## -- Begin function resta
.p2align 4, 0x90
_resta: ## @resta
.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
subl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/88560.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func1 ; -- Begin function func1
.p2align 2
_func1: ; @func1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _s@GOTPAGE
ldr x8, [x8, _s@GOTPAGEOFF]
str x8, [sp, #8]
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, #16
.cfi_def_cfa_offset 16
mov w0, #0
str wzr, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _s,4,2 ; @s
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func1 ## -- Begin function func1
.p2align 4, 0x90
_func1: ## @func1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _s@GOTPCREL(%rip), %rax
movq %rax, -8(%rbp)
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 $0, -4(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _s,4,2 ## @s
.subsections_via_symbols
| the_stack_data/14199540.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, #1456
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #68]
str w0, [sp, #64]
str x1, [sp, #56]
str wzr, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x10, [sp, #48]
sub x9, x29, #88
mov w8, #0
str w8, [x9, x10, lsl #2]
ldrsw x10, [sp, #48]
sub x9, x29, #56
str w8, [x9, x10, lsl #2]
ldrsw x10, [sp, #48]
sub x9, x29, #120
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_1
LBB0_4:
str wzr, [sp, #52]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
subs w8, w8, #256
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #52]
add x8, sp, #72
add x9, x8, x9
mov w8, #63
strb w8, [x9]
ldr w8, [sp, #52]
and w0, w8, #0xff
bl _alaw2linear
mov w8, #8
sdiv w8, w0, w8
ldrsw x10, [sp, #52]
add x9, sp, #328
str w8, [x9, x10, lsl #2]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB0_5
LBB0_8:
strb wzr, [sp, #72]
mov w8, #49
strb w8, [sp, #89]
mov w8, #52
strb w8, [sp, #90]
mov w8, #55
strb w8, [sp, #92]
mov w8, #42
strb w8, [sp, #96]
mov w8, #50
strb w8, [sp, #105]
mov w8, #53
strb w8, [sp, #106]
mov w8, #56
strb w8, [sp, #108]
mov w8, #48
strb w8, [sp, #112]
mov w8, #51
strb w8, [sp, #137]
mov w8, #54
strb w8, [sp, #138]
mov w8, #57
strb w8, [sp, #140]
mov w8, #35
strb w8, [sp, #144]
mov w8, #65
strb w8, [sp, #201]
mov w8, #66
strb w8, [sp, #202]
mov w8, #67
strb w8, [sp, #204]
mov w8, #68
strb w8, [sp, #208]
str wzr, [sp, #40]
str wzr, [sp, #28]
str wzr, [sp, #32]
str wzr, [sp, #44]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
bl _getchar
str w0, [sp, #52]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_30
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
ldrsw x9, [sp, #52]
add x8, sp, #328
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
mov w9, #128
sdiv w9, w8, w9
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [sp, #24]
mov w8, #0
subs w8, w8, w9
ldr w9, [sp, #28]
subs w8, w8, w9
mov w9, #128
sdiv w9, w8, w9
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #36]
str wzr, [sp, #48]
b LBB0_14
LBB0_14: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #48]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_23
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=2
ldr w8, [sp, #24]
ldrsw x9, [sp, #48]
sub x10, x29, #88
ldr w9, [x10, x9, lsl #2]
subs w9, w8, w9
mov w8, #4014
mul w8, w8, w9
mov w11, #4096
sdiv w8, w8, w11
str w8, [sp, #20]
ldr w8, [sp, #24]
ldr w9, [sp, #20]
add w8, w8, w9
str w8, [sp, #16]
ldrsw x9, [sp, #48]
adrp x8, _p1@PAGE
add x8, x8, _p1@PAGEOFF
ldr w8, [x8, x9, lsl #2]
ldr w12, [sp, #16]
ldrsw x13, [sp, #48]
sub x9, x29, #56
ldr w13, [x9, x13, lsl #2]
subs w12, w12, w13
mul w8, w8, w12
sdiv w8, w8, w11
str w8, [sp, #12]
ldr w8, [sp, #24]
ldrsw x11, [sp, #48]
ldr w11, [x10, x11, lsl #2]
subs w8, w8, w11
ldr w11, [sp, #20]
subs w8, w8, w11
str w8, [sp, #8]
ldrsw x8, [sp, #48]
ldr w8, [x9, x8, lsl #2]
ldr w11, [sp, #12]
add w8, w8, w11
ldrsw x11, [sp, #48]
str w8, [x10, x11, lsl #2]
ldr w8, [sp, #12]
ldr w10, [sp, #16]
add w8, w8, w10
ldrsw x10, [sp, #48]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=2
ldr w9, [sp, #8]
ldrsw x10, [sp, #48]
sub x8, x29, #120
ldr w10, [x8, x10, lsl #2]
subs w9, w9, w10
mov w10, #64
sdiv w10, w9, w10
ldrsw x9, [sp, #48]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_14 Depth=2
ldr w9, [sp, #8]
mov w8, #0
subs w9, w8, w9
ldrsw x10, [sp, #48]
sub x8, x29, #120
ldr w10, [x8, x10, lsl #2]
subs w9, w9, w10
mov w10, #64
sdiv w10, w9, w10
ldrsw x9, [sp, #48]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_14 Depth=2
ldrsw x9, [sp, #48]
sub x8, x29, #120
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #409
cset w8, le
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_14 Depth=2
ldrsw x9, [sp, #48]
sub x8, x29, #120
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_14 Depth=2
ldr w9, [sp, #48]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #36]
orr w8, w8, w9
str w8, [sp, #36]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_14 Depth=2
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_14 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_14
LBB0_23: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #40]
ldr w8, [sp, #36]
str w8, [sp, #32]
b LBB0_29
LBB0_25: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #40]
add w9, w8, #1
str w9, [sp, #40]
subs w8, w8, #520
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #72
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #72
ldrsb w0, [x8, x9]
bl _putchar
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_9 Depth=1
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_9 Depth=1
b LBB0_9
LBB0_30:
mov w0, #10
bl _putchar
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_32
b LBB0_31
LBB0_31:
bl ___stack_chk_fail
LBB0_32:
mov w0, #0
add sp, sp, #1456
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function alaw2linear
_alaw2linear: ; @alaw2linear
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
strb w0, [sp, #31]
ldrb w8, [sp, #31]
mov w9, #85
eor w8, w8, w9
strb w8, [sp, #31]
ldrb w8, [sp, #31]
and w8, w8, #0xf
lsl w8, w8, #4
str w8, [sp, #24]
ldrb w8, [sp, #31]
and w8, w8, #0x70
lsr w8, w8, #4
str w8, [sp, #20]
ldr w8, [sp, #20]
str w8, [sp, #16] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_4
LBB1_2:
ldr w8, [sp, #24]
add w8, w8, #8
str w8, [sp, #24]
b LBB1_5
LBB1_3:
ldr w8, [sp, #24]
add w8, w8, #264
str w8, [sp, #24]
b LBB1_5
LBB1_4:
ldr w8, [sp, #24]
add w8, w8, #264
str w8, [sp, #24]
ldr w8, [sp, #20]
subs w9, w8, #1
ldr w8, [sp, #24]
lsl w8, w8, w9
str w8, [sp, #24]
b LBB1_5
LBB1_5:
ldrb w8, [sp, #31]
ands w8, w8, #0x80
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
ldr w8, [sp, #24]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_8
LBB1_7:
ldr w9, [sp, #24]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_8
LBB1_8:
ldr w0, [sp, #12] ; 4-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @p1
_p1:
.long 4294963799 ; 0xfffff257
.long 4294963927 ; 0xfffff2d7
.long 4294964084 ; 0xfffff374
.long 4294964269 ; 0xfffff42d
.long 4294964912 ; 0xfffff6b0
.long 4294965256 ; 0xfffff808
.long 4294965661 ; 0xfffff99d
.long 4294966132 ; 0xfffffb74
.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 $1456, %rsp ## imm = 0x5B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1396(%rbp)
movl %edi, -1400(%rbp)
movq %rsi, -1408(%rbp)
movl $0, -1416(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -1416(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -1416(%rbp), %rax
movl $0, -80(%rbp,%rax,4)
movslq -1416(%rbp), %rax
movl $0, -48(%rbp,%rax,4)
movslq -1416(%rbp), %rax
movl $0, -112(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -1416(%rbp), %eax
addl $1, %eax
movl %eax, -1416(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -1412(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $256, -1412(%rbp) ## imm = 0x100
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -1412(%rbp), %rax
movb $63, -1392(%rbp,%rax)
movl -1412(%rbp), %eax
## kill: def $al killed $al killed $eax
movzbl %al, %edi
callq _alaw2linear
movl $8, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movslq -1412(%rbp), %rax
movl %ecx, -1136(%rbp,%rax,4)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -1412(%rbp), %eax
addl $1, %eax
movl %eax, -1412(%rbp)
jmp LBB0_5
LBB0_8:
movb $0, -1392(%rbp)
movb $49, -1375(%rbp)
movb $52, -1374(%rbp)
movb $55, -1372(%rbp)
movb $42, -1368(%rbp)
movb $50, -1359(%rbp)
movb $53, -1358(%rbp)
movb $56, -1356(%rbp)
movb $48, -1352(%rbp)
movb $51, -1327(%rbp)
movb $54, -1326(%rbp)
movb $57, -1324(%rbp)
movb $35, -1320(%rbp)
movb $65, -1263(%rbp)
movb $66, -1262(%rbp)
movb $67, -1260(%rbp)
movb $68, -1256(%rbp)
movl $0, -1424(%rbp)
movl $0, -1436(%rbp)
movl $0, -1432(%rbp)
movl $0, -1420(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
callq _getchar
movl %eax, -1412(%rbp)
cmpl $-1, %eax
je LBB0_30
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl -1420(%rbp), %eax
addl $1, %eax
movl %eax, -1420(%rbp)
movslq -1412(%rbp), %rax
movl -1136(%rbp,%rax,4), %eax
movl %eax, -1440(%rbp)
cmpl $0, -1440(%rbp)
jle LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -1440(%rbp), %eax
subl -1436(%rbp), %eax
movl $128, %ecx
cltd
idivl %ecx
addl -1436(%rbp), %eax
movl %eax, -1436(%rbp)
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
xorl %eax, %eax
subl -1440(%rbp), %eax
subl -1436(%rbp), %eax
movl $128, %ecx
cltd
idivl %ecx
addl -1436(%rbp), %eax
movl %eax, -1436(%rbp)
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
movl $0, -1428(%rbp)
movl $0, -1416(%rbp)
LBB0_14: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -1416(%rbp)
jge LBB0_23
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movl -1440(%rbp), %eax
movslq -1416(%rbp), %rcx
subl -80(%rbp,%rcx,4), %eax
imull $4014, %eax, %eax ## imm = 0xFAE
movl $4096, %ecx ## imm = 0x1000
cltd
idivl %ecx
movl %eax, -1444(%rbp)
movl -1440(%rbp), %eax
addl -1444(%rbp), %eax
movl %eax, -1448(%rbp)
movslq -1416(%rbp), %rcx
leaq _p1(%rip), %rax
movl (%rax,%rcx,4), %eax
movl -1448(%rbp), %ecx
movslq -1416(%rbp), %rdx
subl -48(%rbp,%rdx,4), %ecx
imull %ecx, %eax
movl $4096, %ecx ## imm = 0x1000
cltd
idivl %ecx
movl %eax, -1452(%rbp)
movl -1440(%rbp), %eax
movslq -1416(%rbp), %rcx
subl -80(%rbp,%rcx,4), %eax
subl -1444(%rbp), %eax
movl %eax, -1456(%rbp)
movslq -1416(%rbp), %rax
movl -48(%rbp,%rax,4), %ecx
addl -1452(%rbp), %ecx
movslq -1416(%rbp), %rax
movl %ecx, -80(%rbp,%rax,4)
movl -1452(%rbp), %ecx
addl -1448(%rbp), %ecx
movslq -1416(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
cmpl $0, -1456(%rbp)
jle LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 Depth=2
movl -1456(%rbp), %eax
movslq -1416(%rbp), %rcx
subl -112(%rbp,%rcx,4), %eax
movl $64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movslq -1416(%rbp), %rax
addl -112(%rbp,%rax,4), %ecx
movl %ecx, -112(%rbp,%rax,4)
jmp LBB0_18
LBB0_17: ## in Loop: Header=BB0_14 Depth=2
xorl %eax, %eax
subl -1456(%rbp), %eax
movslq -1416(%rbp), %rcx
subl -112(%rbp,%rcx,4), %eax
movl $64, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movslq -1416(%rbp), %rax
addl -112(%rbp,%rax,4), %ecx
movl %ecx, -112(%rbp,%rax,4)
LBB0_18: ## in Loop: Header=BB0_14 Depth=2
movslq -1416(%rbp), %rax
cmpl $409, -112(%rbp,%rax,4) ## imm = 0x199
jle LBB0_21
## %bb.19: ## in Loop: Header=BB0_14 Depth=2
movslq -1416(%rbp), %rax
movl -112(%rbp,%rax,4), %eax
cmpl -1436(%rbp), %eax
jle LBB0_21
## %bb.20: ## in Loop: Header=BB0_14 Depth=2
movl -1416(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -1428(%rbp), %eax
movl %eax, -1428(%rbp)
LBB0_21: ## in Loop: Header=BB0_14 Depth=2
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_14 Depth=2
movl -1416(%rbp), %eax
addl $1, %eax
movl %eax, -1416(%rbp)
jmp LBB0_14
LBB0_23: ## in Loop: Header=BB0_9 Depth=1
movl -1428(%rbp), %eax
cmpl -1432(%rbp), %eax
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_9 Depth=1
movl $0, -1424(%rbp)
movl -1428(%rbp), %eax
movl %eax, -1432(%rbp)
jmp LBB0_29
LBB0_25: ## in Loop: Header=BB0_9 Depth=1
movl -1424(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1424(%rbp)
cmpl $520, %eax ## imm = 0x208
jne LBB0_28
## %bb.26: ## in Loop: Header=BB0_9 Depth=1
movslq -1428(%rbp), %rax
movsbl -1392(%rbp,%rax), %eax
cmpl $0, %eax
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_9 Depth=1
movslq -1428(%rbp), %rax
movsbl -1392(%rbp,%rax), %edi
callq _putchar
LBB0_28: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_29
LBB0_29: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_9
LBB0_30:
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_32
## %bb.31:
xorl %eax, %eax
addq $1456, %rsp ## imm = 0x5B0
popq %rbp
retq
LBB0_32:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function alaw2linear
_alaw2linear: ## @alaw2linear
.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, -1(%rbp)
movb -1(%rbp), %al
xorb $85, %al
movb %al, -1(%rbp)
movzbl -1(%rbp), %eax
andl $15, %eax
shll $4, %eax
movl %eax, -8(%rbp)
movzbl -1(%rbp), %eax
andl $112, %eax
shrl $4, %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB1_1
jmp LBB1_8
LBB1_8:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB1_2
jmp LBB1_3
LBB1_1:
movl -8(%rbp), %eax
addl $8, %eax
movl %eax, -8(%rbp)
jmp LBB1_4
LBB1_2:
movl -8(%rbp), %eax
addl $264, %eax ## imm = 0x108
movl %eax, -8(%rbp)
jmp LBB1_4
LBB1_3:
movl -8(%rbp), %eax
addl $264, %eax ## imm = 0x108
movl %eax, -8(%rbp)
movl -12(%rbp), %ecx
subl $1, %ecx
movl -8(%rbp), %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -8(%rbp)
LBB1_4:
movzbl -1(%rbp), %eax
andl $128, %eax
cmpl $0, %eax
je LBB1_6
## %bb.5:
movl -8(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB1_7
LBB1_6:
xorl %eax, %eax
subl -8(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
LBB1_7:
movl -20(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @p1
_p1:
.long 4294963799 ## 0xfffff257
.long 4294963927 ## 0xfffff2d7
.long 4294964084 ## 0xfffff374
.long 4294964269 ## 0xfffff42d
.long 4294964912 ## 0xfffff6b0
.long 4294965256 ## 0xfffff808
.long 4294965661 ## 0xfffff99d
.long 4294966132 ## 0xfffffb74
.subsections_via_symbols
| the_stack_data/215768019.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, #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, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _yy_init@PAGE
ldr w8, [x8, _yy_init@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_1
LBB0_1:
adrp x8, _yy_init@PAGE
str wzr, [x8, _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:
mov w8, #1
adrp x9, _yy_start@PAGE
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_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_current_buffer@PAGE
str x0, [x8, _yy_current_buffer@PAGEOFF]
b LBB0_9
LBB0_9:
bl _yy_load_buffer_state
b LBB0_10
LBB0_10:
b LBB0_11
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
; Child Loop BB0_13 Depth 3
; Child Loop BB0_16 Depth 4
; Child Loop BB0_23 Depth 3
; Child Loop BB0_26 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]
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w9, [x8, #40]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
b LBB0_12
LBB0_12: ; Parent Loop BB0_11 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_13 Depth 3
; Child Loop BB0_16 Depth 4
; Child Loop BB0_23 Depth 3
; Child Loop BB0_26 Depth 4
b LBB0_13
LBB0_13: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_16 Depth 4
ldur x8, [x29, #-16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
ldr w8, [x8, x9, lsl #2]
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_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 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_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=3
b LBB0_16
LBB0_16: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; Parent Loop BB0_13 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_20
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 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, #42
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_16 Depth=4
ldurb w8, [x29, #-29]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
ldr w8, [x8, x9, lsl #2]
sturb w8, [x29, #-29]
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_16 Depth=4
b LBB0_16
LBB0_20: ; in Loop: Header=BB0_13 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, uxtw #1]
stur w8, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_13 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, #77
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_12 Depth=2
b LBB0_23
LBB0_23: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_26 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_25
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_23 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_25
LBB0_25: ; in Loop: Header=BB0_23 Depth=3
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
str x8, [x10]
ldur x8, [x29, #-16]
ldur x10, [x29, #-24]
subs x8, x8, x10
; 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_26
LBB0_26: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; Parent Loop BB0_23 Depth=3
; => This Inner Loop Header: Depth=4
ldur w8, [x29, #-28]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #12
cset w8, hi
tbnz w8, #0, LBB0_79
; %bb.27: ; in Loop: Header=BB0_26 Depth=4
ldr x11, [sp, #32] ; 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_28: ; in Loop: Header=BB0_23 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_23
LBB0_29: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_11 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_11 Depth=1
b LBB0_80
LBB0_32:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_34
LBB0_34:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_81
LBB0_35:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_37
LBB0_37:
mov w8, #2
stur w8, [x29, #-4]
b LBB0_81
LBB0_38:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_40
b LBB0_39
LBB0_39:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_40
LBB0_40:
mov w8, #3
stur w8, [x29, #-4]
b LBB0_81
LBB0_41:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_43
LBB0_43:
mov w8, #4
stur w8, [x29, #-4]
b LBB0_81
LBB0_44:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_46
b LBB0_45
LBB0_45:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_46
LBB0_46:
mov w8, #5
stur w8, [x29, #-4]
b LBB0_81
LBB0_47:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_49
b LBB0_48
LBB0_48:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_49
LBB0_49:
mov w8, #6
stur w8, [x29, #-4]
b LBB0_81
LBB0_50:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_52
LBB0_52:
mov w8, #7
stur w8, [x29, #-4]
b LBB0_81
LBB0_53: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_55
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_11 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_11 Depth=1
b LBB0_80
LBB0_56: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_58
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_11 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x9]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #40]
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x9]
ldrsw x1, [x8]
adrp x8, _yyout@PAGE
ldr x3, [x8, _yyout@PAGEOFF]
mov x2, #1
bl _fwrite
b LBB0_80
LBB0_59:
stur wzr, [x29, #-4]
b LBB0_81
LBB0_60: ; in Loop: Header=BB0_26 Depth=4
ldr x9, [sp, #40] ; 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_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w8, [x8, #48]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_62
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_26 Depth=4
adrp x8, _yy_current_buffer@PAGE
ldr x9, [x8, _yy_current_buffer@PAGEOFF]
ldr w9, [x9, #28]
adrp x10, _yy_n_chars@PAGE
str w9, [x10, _yy_n_chars@PAGEOFF]
adrp x9, _yyin@PAGE
ldr x9, [x9, _yyin@PAGEOFF]
ldr x10, [x8, _yy_current_buffer@PAGEOFF]
str x9, [x10]
ldr x9, [x8, _yy_current_buffer@PAGEOFF]
mov w8, #1
str w8, [x9, #48]
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_26 Depth=4
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
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_66
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_23 Depth=3
ldr x8, [sp, #40] ; 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, #40] ; 8-byte Folded Reload
stur w0, [x29, #-40]
ldr x8, [x8]
stur x8, [x29, #-24]
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_65
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_12 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]
ldur w8, [x29, #-40]
stur w8, [x29, #-8]
b LBB0_12
LBB0_65: ; in Loop: Header=BB0_23 Depth=3
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
b LBB0_23
LBB0_66: ; in Loop: Header=BB0_26 Depth=4
bl _yy_get_next_buffer
str w0, [sp, #28] ; 4-byte Folded Spill
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_75
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_26 Depth=4
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_69
b LBB0_68
LBB0_68: ; in Loop: Header=BB0_23 Depth=3
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_76
b LBB0_77
LBB0_69: ; in Loop: Header=BB0_26 Depth=4
adrp x8, _yy_did_buffer_switch_on_eof@PAGE
str wzr, [x8, _yy_did_buffer_switch_on_eof@PAGEOFF]
bl _yywrap
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_71
b LBB0_70
LBB0_70: ; in Loop: Header=BB0_26 Depth=4
ldr x8, [sp, #40] ; 8-byte Folded Reload
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, #11
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_26
LBB0_71: ; in Loop: Header=BB0_11 Depth=1
adrp x8, _yy_did_buffer_switch_on_eof@PAGE
ldr w8, [x8, _yy_did_buffer_switch_on_eof@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_73
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_11 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB0_73
LBB0_73: ; in Loop: Header=BB0_11 Depth=1
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_11 Depth=1
b LBB0_77
LBB0_75: ; in Loop: Header=BB0_12 Depth=2
ldr x8, [sp, #40] ; 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, #16] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 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_12
LBB0_76: ; in Loop: Header=BB0_23 Depth=3
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
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] ; 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, #40] ; 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_23
LBB0_77: ; in Loop: Header=BB0_11 Depth=1
b LBB0_78
LBB0_78: ; in Loop: Header=BB0_11 Depth=1
b LBB0_80
LBB0_79: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _yy_fatal_error
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_11 Depth=1
b LBB0_11
LBB0_81:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_28-Ltmp0
.long LBB0_29-Ltmp0
.long LBB0_32-Ltmp0
.long LBB0_35-Ltmp0
.long LBB0_38-Ltmp0
.long LBB0_41-Ltmp0
.long LBB0_44-Ltmp0
.long LBB0_47-Ltmp0
.long LBB0_50-Ltmp0
.long LBB0_53-Ltmp0
.long LBB0_56-Ltmp0
.long LBB0_60-Ltmp0
.long LBB0_59-Ltmp0
; -- 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 w0, #56
bl _yy_flex_alloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
b LBB1_2
LBB1_2:
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9, #24]
ldr x8, [sp, #8]
ldr w8, [x8, #24]
add w0, w8, #2
bl _yy_flex_alloc
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, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
b LBB1_4
LBB1_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
.globl _yy_load_buffer_state ; -- Begin function yy_load_buffer_state
.p2align 2
_yy_load_buffer_state: ; @yy_load_buffer_state
.cfi_startproc
; %bb.0:
adrp x9, _yy_current_buffer@PAGE
ldr x8, [x9, _yy_current_buffer@PAGEOFF]
ldr w8, [x8, #28]
adrp x10, _yy_n_chars@PAGE
str w8, [x10, _yy_n_chars@PAGEOFF]
ldr x8, [x9, _yy_current_buffer@PAGEOFF]
ldr x10, [x8, #16]
adrp x8, _yy_c_buf_p@PAGE
str x10, [x8, _yy_c_buf_p@PAGEOFF]
adrp x11, _yytext@GOTPAGE
ldr x11, [x11, _yytext@GOTPAGEOFF]
str x10, [x11]
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
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, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w9, [x8, #40]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_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, LBB3_14
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB3_5
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
mov w8, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_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, LBB3_7
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_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 LBB3_7
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
b LBB3_8
LBB3_8: ; Parent Loop BB3_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, LBB3_12
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_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, #42
cset w8, lt
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_8 Depth=2
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
ldr w8, [x8, x9, lsl #2]
strb w8, [sp, #15]
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_8 Depth=2
b LBB3_8
LBB3_12: ; in Loop: Header=BB3_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, uxtw #1]
str w8, [sp, #28]
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_1
LBB3_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, LBB4_2
b LBB4_1
LBB4_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_2
LBB4_2:
b LBB4_3
LBB4_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, LBB4_7
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_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, #42
cset w8, lt
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=1
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
ldr w8, [x8, x9, lsl #2]
strb w8, [sp, #15]
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_3 Depth=1
b LBB4_3
LBB4_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, uxtw #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #41
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, LBB4_9
b LBB4_8
LBB4_8:
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_10
LBB4_9:
ldr w8, [sp, #28]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_10
LBB4_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, #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, #8] ; 8-byte Folded Spill
adrp x9, _yy_current_buffer@PAGE
ldr x10, [x9, _yy_current_buffer@PAGEOFF]
ldr x10, [x10, #8]
stur x10, [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_current_buffer@PAGEOFF]
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, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _yy_fatal_error
b LBB5_2
LBB5_2:
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w8, [x8, #44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_6
b LBB5_3
LBB5_3:
ldr x9, [sp, #8] ; 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, LBB5_5
b LBB5_4
LBB5_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB5_51
LBB5_5:
mov w8, #2
stur w8, [x29, #-4]
b LBB5_51
LBB5_6:
ldr x9, [sp, #8] ; 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
; kill: def $w8 killed $w8 killed $x8
subs w8, w8, #1
stur w8, [x29, #-28]
stur wzr, [x29, #-32]
b LBB5_7
LBB5_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, LBB5_10
b LBB5_8
LBB5_8: ; in Loop: Header=BB5_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 LBB5_9
LBB5_9: ; in Loop: Header=BB5_7 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB5_7
LBB5_10:
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w8, [x8, #48]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB5_12
b LBB5_11
LBB5_11:
adrp x8, _yy_n_chars@PAGE
str wzr, [x8, _yy_n_chars@PAGEOFF]
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
str wzr, [x8, #28]
b LBB5_44
LBB5_12:
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w8, [x8, #24]
ldur w9, [x29, #-28]
subs w8, w8, w9
subs w8, w8, #1
str w8, [sp, #40]
b LBB5_13
LBB5_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB5_23
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_13 Depth=1
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
str x8, [sp, #32]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [sp, #32]
ldr x9, [x9, #8]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #28]
ldr x8, [sp, #32]
ldr w8, [x8, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_19
b LBB5_15
LBB5_15: ; in Loop: Header=BB5_13 Depth=1
ldr x8, [sp, #32]
ldr w8, [x8, #24]
lsl w8, w8, #1
str w8, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB5_17
b LBB5_16
LBB5_16: ; in Loop: Header=BB5_13 Depth=1
ldr x8, [sp, #32]
ldr w8, [x8, #24]
mov w9, #8
udiv w10, w8, w9
ldr x9, [sp, #32]
ldr w8, [x9, #24]
add w8, w8, w10
str w8, [x9, #24]
b LBB5_18
LBB5_17: ; in Loop: Header=BB5_13 Depth=1
ldr x9, [sp, #32]
ldr w8, [x9, #24]
lsl w8, w8, #1
str w8, [x9, #24]
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_13 Depth=1
ldr x8, [sp, #32]
ldr x0, [x8, #8]
ldr x8, [sp, #32]
ldr w8, [x8, #24]
add w1, w8, #2
bl _yy_flex_realloc
ldr x8, [sp, #32]
str x0, [x8, #8]
b LBB5_20
LBB5_19: ; in Loop: Header=BB5_13 Depth=1
ldr x8, [sp, #32]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB5_20
LBB5_20: ; in Loop: Header=BB5_13 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_22
b LBB5_21
LBB5_21: ; in Loop: Header=BB5_13 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _yy_fatal_error
b LBB5_22
LBB5_22: ; in Loop: Header=BB5_13 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldrsw x9, [sp, #28]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w8, [x8, #24]
ldur w9, [x29, #-28]
subs w8, w8, w9
subs w8, w8, #1
str w8, [sp, #40]
b LBB5_13
LBB5_23:
ldr w8, [sp, #40]
subs w8, w8, #2, lsl #12 ; =8192
cset w8, le
tbnz w8, #0, LBB5_25
b LBB5_24
LBB5_24:
mov w8, #8192
str w8, [sp, #40]
b LBB5_25
LBB5_25:
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_39
b LBB5_26
LBB5_26:
mov w8, #42
str w8, [sp, #20]
str wzr, [sp, #16]
b LBB5_27
LBB5_27: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_30
b LBB5_28
LBB5_28: ; in Loop: Header=BB5_27 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _getc
str w0, [sp, #20]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_30
b LBB5_29
LBB5_29: ; in Loop: Header=BB5_27 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB5_30
LBB5_30: ; in Loop: Header=BB5_27 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB5_33
b LBB5_31
LBB5_31: ; in Loop: Header=BB5_27 Depth=1
ldr w8, [sp, #20]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
ldr x9, [x9, #8]
ldursw x10, [x29, #-28]
add x9, x9, x10
ldrsw x10, [sp, #16]
strb w8, [x9, x10]
b LBB5_32
LBB5_32: ; in Loop: Header=BB5_27 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB5_27
LBB5_33:
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB5_35
b LBB5_34
LBB5_34:
ldr w8, [sp, #20]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
ldr x9, [x9, #8]
ldursw x10, [x29, #-28]
add x9, x9, x10
ldrsw x10, [sp, #16]
mov x11, x10
add w11, w11, #1
str w11, [sp, #16]
strb w8, [x9, x10]
b LBB5_35
LBB5_35:
ldr w8, [sp, #20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_38
b LBB5_36
LBB5_36:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_38
b LBB5_37
LBB5_37:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _yy_fatal_error
b LBB5_38
LBB5_38:
ldr w8, [sp, #16]
adrp x9, _yy_n_chars@PAGE
str w8, [x9, _yy_n_chars@PAGEOFF]
b LBB5_43
LBB5_39:
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr x8, [x8, #8]
ldursw x9, [x29, #-28]
add x0, x8, x9
ldrsw x2, [sp, #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
tbnz w8, #0, LBB5_42
b LBB5_40
LBB5_40:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_42
b LBB5_41
LBB5_41:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _yy_fatal_error
b LBB5_42
LBB5_42:
b LBB5_43
LBB5_43:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #28]
b LBB5_44
LBB5_44:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_49
b LBB5_45
LBB5_45:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_47
b LBB5_46
LBB5_46:
mov w8, #1
stur w8, [x29, #-36]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB5_48
LBB5_47:
mov w8, #2
stur w8, [x29, #-36]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #48]
b LBB5_48
LBB5_48:
b LBB5_50
LBB5_49:
stur wzr, [x29, #-36]
b LBB5_50
LBB5_50:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w10, [x29, #-28]
adrp x11, _yy_n_chars@PAGE
ldr w8, [x11, _yy_n_chars@PAGEOFF]
add w8, w8, w10
str w8, [x11, _yy_n_chars@PAGEOFF]
adrp x8, _yy_current_buffer@PAGE
ldr x10, [x8, _yy_current_buffer@PAGEOFF]
ldr x10, [x10, #8]
ldrsw x12, [x11, _yy_n_chars@PAGEOFF]
add x10, x10, x12
strb wzr, [x10]
ldr x10, [x8, _yy_current_buffer@PAGEOFF]
ldr x10, [x10, #8]
ldr w11, [x11, _yy_n_chars@PAGEOFF]
add w11, w11, #1
add x10, x10, w11, sxtw
strb wzr, [x10]
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr x8, [x8, #8]
str x8, [x9]
ldur w8, [x29, #-36]
stur w8, [x29, #-4]
b LBB5_51
LBB5_51:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.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_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_current_buffer@PAGE
str x0, [x8, _yy_current_buffer@PAGEOFF]
b LBB6_2
LBB6_2:
adrp x8, _yy_current_buffer@PAGE
ldr x0, [x8, _yy_current_buffer@PAGEOFF]
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_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.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.cfi_endproc
; -- End function
.globl _yy_init_buffer ; -- Begin function yy_init_buffer
.p2align 2
_yy_init_buffer: ; @yy_init_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]
str x1, [sp, #16]
ldur x0, [x29, #-8]
bl _yy_flush_buffer
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9]
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #44]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldr x0, [sp, #16]
bl _fileno
bl _isatty
subs w8, w0, #0
cset w8, gt
and w8, w8, #0x1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB8_3
LBB8_2:
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB8_3
LBB8_3:
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldur x9, [x29, #-8]
str w8, [x9, #36]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
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]
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
b LBB9_5
LBB9_2:
adrp x8, _yy_current_buffer@PAGE
ldr x8, [x8, _yy_current_buffer@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3:
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_current_buffer@PAGE
ldr x10, [x9, _yy_current_buffer@PAGEOFF]
str x8, [x10, #16]
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #28]
b LBB9_4
LBB9_4:
ldr x8, [sp, #8]
adrp x9, _yy_current_buffer@PAGE
str x8, [x9, _yy_current_buffer@PAGEOFF]
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 LBB9_5
LBB9_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_flex_alloc
_yy_flex_alloc: ; @yy_flex_alloc
.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 x0, x8
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, #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, LBB11_2
b LBB11_1
LBB11_1:
b LBB11_7
LBB11_2:
ldr x8, [sp, #8]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB11_4
b LBB11_3
LBB11_3:
adrp x8, _yy_current_buffer@PAGE
; kill: def $x9 killed $xzr
str xzr, [x8, _yy_current_buffer@PAGEOFF]
b LBB11_4
LBB11_4:
ldr x8, [sp, #8]
ldr w8, [x8, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_6
b LBB11_5
LBB11_5:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _yy_flex_free
b LBB11_6
LBB11_6:
ldr x0, [sp, #8]
bl _yy_flex_free
b LBB11_7
LBB11_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_flex_free
_yy_flex_free: ; @yy_flex_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
.globl _yy_flush_buffer ; -- Begin function yy_flush_buffer
.p2align 2
_yy_flush_buffer: ; @yy_flush_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]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
b LBB13_4
LBB13_2:
ldr x8, [sp, #8]
str wzr, [x8, #28]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
strb wzr, [x8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
strb wzr, [x8, #1]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
str x8, [x9, #16]
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9, #40]
ldr x8, [sp, #8]
str wzr, [x8, #48]
ldr x8, [sp, #8]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB13_4
b LBB13_3
LBB13_3:
bl _yy_load_buffer_state
b LBB13_4
LBB13_4:
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 w1, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #2
cset w8, lo
tbnz w8, #0, LBB14_3
b LBB14_1
LBB14_1:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
subs w9, w9, #2
ldrsb w8, [x8, w9, uxtw]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB14_3
b LBB14_2
LBB14_2:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
subs w9, w9, #1
ldrsb w8, [x8, w9, uxtw]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB14_7
LBB14_4:
mov w0, #56
bl _yy_flex_alloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_6
b LBB14_5
LBB14_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _yy_fatal_error
b LBB14_6
LBB14_6:
ldr w8, [sp, #12]
subs w8, w8, #2
ldr x9, [sp]
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, #44]
ldr x8, [sp]
str wzr, [x8, #48]
ldr x0, [sp]
bl _yy_switch_to_buffer
ldr x8, [sp]
stur x8, [x29, #-8]
b LBB14_7
LBB14_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]
str wzr, [sp, #4]
b LBB15_1
LBB15_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB15_4
b LBB15_2
LBB15_2: ; in Loop: Header=BB15_1 Depth=1
b LBB15_3
LBB15_3: ; in Loop: Header=BB15_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB15_1
LBB15_4:
ldr x0, [sp, #8]
ldr w1, [sp, #4]
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 w8, w8, #2
str w8, [sp, #12]
ldr w0, [sp, #12]
bl _yy_flex_alloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _yy_fatal_error
b LBB16_2
LBB16_2:
str wzr, [sp, #8]
b LBB16_3
LBB16_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_6
b LBB16_4
LBB16_4: ; in Loop: Header=BB16_3 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
add x9, x9, x10
strb w8, [x9]
b LBB16_5
LBB16_5: ; in Loop: Header=BB16_3 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB16_3
LBB16_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 w1, [sp, #12]
bl _yy_scan_buffer
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_8
b LBB16_7
LBB16_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _yy_fatal_error
b LBB16_8
LBB16_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 _mmcif_set_file ; -- Begin function mmcif_set_file
.p2align 2
_mmcif_set_file: ; @mmcif_set_file
.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 _mmcif_get_token ; -- Begin function mmcif_get_token
.p2align 2
_mmcif_get_token: ; @mmcif_get_token
.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 _yylex
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _mmcif_get_string ; -- Begin function mmcif_get_string
.p2align 2
_mmcif_get_string: ; @mmcif_get_string
.cfi_startproc
; %bb.0:
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x0, [x8]
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_flex_realloc
_yy_flex_realloc: ; @yy_flex_realloc
.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 w1, [sp, #4]
ldr x0, [sp, #8]
ldr w8, [sp, #4]
mov x1, x8
bl _realloc
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
.p2align 2 ; @yy_init
_yy_init:
.long 1 ; 0x1
.zerofill __DATA,__bss,_yy_start,4,2 ; @yy_start
.zerofill __DATA,__bss,_yy_current_buffer,8,3 ; @yy_current_buffer
.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 2 ; @yy_ec
_yy_ec:
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.long 1 ; 0x1
.long 4 ; 0x4
.long 5 ; 0x5
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 6 ; 0x6
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 7 ; 0x7
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 8 ; 0x8
.long 1 ; 0x1
.long 1 ; 0x1
.long 9 ; 0x9
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 10 ; 0xa
.long 1 ; 0x1
.long 1 ; 0x1
.long 11 ; 0xb
.long 12 ; 0xc
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 13 ; 0xd
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 14 ; 0xe
.long 1 ; 0x1
.long 8 ; 0x8
.long 1 ; 0x1
.long 1 ; 0x1
.long 9 ; 0x9
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 10 ; 0xa
.long 1 ; 0x1
.long 1 ; 0x1
.long 11 ; 0xb
.long 12 ; 0xc
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 13 ; 0xd
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.p2align 1 ; @yy_accept
_yy_accept:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 11 ; 0xb
.short 8 ; 0x8
.short 9 ; 0x9
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 9 ; 0x9
.short 8 ; 0x8
.short 0 ; 0x0
.short 6 ; 0x6
.short 8 ; 0x8
.short 0 ; 0x0
.short 1 ; 0x1
.short 8 ; 0x8
.short 0 ; 0x0
.short 7 ; 0x7
.short 8 ; 0x8
.short 8 ; 0x8
.short 2 ; 0x2
.short 8 ; 0x8
.short 0 ; 0x0
.short 0 ; 0x0
.short 6 ; 0x6
.short 7 ; 0x7
.short 8 ; 0x8
.short 8 ; 0x8
.short 0 ; 0x0
.short 5 ; 0x5
.short 8 ; 0x8
.short 8 ; 0x8
.short 8 ; 0x8
.short 3 ; 0x3
.short 4 ; 0x4
.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 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 5 ; 0x5
.short 5 ; 0x5
.short 6 ; 0x6
.short 8 ; 0x8
.short 6 ; 0x6
.short 7 ; 0x7
.short 7 ; 0x7
.short 8 ; 0x8
.short 12 ; 0xc
.short 12 ; 0xc
.short 14 ; 0xe
.short 14 ; 0xe
.short 15 ; 0xf
.short 21 ; 0x15
.short 15 ; 0xf
.short 18 ; 0x12
.short 18 ; 0x12
.short 21 ; 0x15
.short 27 ; 0x1b
.short 27 ; 0x1b
.short 43 ; 0x2b
.short 43 ; 0x2b
.short 44 ; 0x2c
.short 44 ; 0x2c
.short 44 ; 0x2c
.short 45 ; 0x2d
.short 45 ; 0x2d
.short 47 ; 0x2f
.short 47 ; 0x2f
.short 47 ; 0x2f
.short 48 ; 0x30
.short 48 ; 0x30
.short 49 ; 0x31
.short 49 ; 0x31
.short 49 ; 0x31
.short 50 ; 0x32
.short 50 ; 0x32
.short 51 ; 0x33
.short 51 ; 0x33
.short 51 ; 0x33
.short 52 ; 0x34
.short 52 ; 0x34
.short 52 ; 0x34
.short 53 ; 0x35
.short 46 ; 0x2e
.short 42 ; 0x2a
.short 37 ; 0x25
.short 36 ; 0x24
.short 34 ; 0x22
.short 33 ; 0x21
.short 32 ; 0x20
.short 29 ; 0x1d
.short 28 ; 0x1c
.short 25 ; 0x19
.short 24 ; 0x18
.short 22 ; 0x16
.short 19 ; 0x13
.short 16 ; 0x10
.short 10 ; 0xa
.short 9 ; 0x9
.short 3 ; 0x3
.short 2 ; 0x2
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.p2align 1 ; @yy_base
_yy_base:
.short 0 ; 0x0
.short 0 ; 0x0
.short 69 ; 0x45
.short 75 ; 0x4b
.short 0 ; 0x0
.short 13 ; 0xd
.short 15 ; 0xf
.short 18 ; 0x12
.short 16 ; 0x10
.short 66 ; 0x42
.short 62 ; 0x3e
.short 0 ; 0x0
.short 21 ; 0x15
.short 0 ; 0x0
.short 23 ; 0x17
.short 25 ; 0x19
.short 68 ; 0x44
.short 0 ; 0x0
.short 28 ; 0x1c
.short 68 ; 0x44
.short 77 ; 0x4d
.short 26 ; 0x1a
.short 64 ; 0x40
.short 0 ; 0x0
.short 56 ; 0x38
.short 57 ; 0x39
.short 0 ; 0x0
.short 31 ; 0x1f
.short 64 ; 0x40
.short 59 ; 0x3b
.short 77 ; 0x4d
.short 77 ; 0x4d
.short 57 ; 0x39
.short 52 ; 0x34
.short 60 ; 0x3c
.short 77 ; 0x4d
.short 48 ; 0x30
.short 47 ; 0x2f
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 77 ; 0x4d
.short 59 ; 0x3b
.short 34 ; 0x22
.short 36 ; 0x24
.short 39 ; 0x27
.short 58 ; 0x3a
.short 41 ; 0x29
.short 44 ; 0x2c
.short 46 ; 0x2e
.short 49 ; 0x31
.short 51 ; 0x33
.short 54 ; 0x36
.short 57 ; 0x39
.p2align 1 ; @yy_def
_yy_def:
.short 0 ; 0x0
.short 41 ; 0x29
.short 1 ; 0x1
.short 41 ; 0x29
.short 42 ; 0x2a
.short 41 ; 0x29
.short 43 ; 0x2b
.short 44 ; 0x2c
.short 45 ; 0x2d
.short 42 ; 0x2a
.short 42 ; 0x2a
.short 46 ; 0x2e
.short 47 ; 0x2f
.short 42 ; 0x2a
.short 41 ; 0x29
.short 43 ; 0x2b
.short 48 ; 0x30
.short 42 ; 0x2a
.short 44 ; 0x2c
.short 49 ; 0x31
.short 41 ; 0x29
.short 45 ; 0x2d
.short 50 ; 0x32
.short 42 ; 0x2a
.short 42 ; 0x2a
.short 42 ; 0x2a
.short 46 ; 0x2e
.short 47 ; 0x2f
.short 51 ; 0x33
.short 52 ; 0x34
.short 41 ; 0x29
.short 41 ; 0x29
.short 42 ; 0x2a
.short 42 ; 0x2a
.short 51 ; 0x33
.short 41 ; 0x29
.short 42 ; 0x2a
.short 42 ; 0x2a
.short 53 ; 0x35
.short 42 ; 0x2a
.short 53 ; 0x35
.short 0 ; 0x0
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.p2align 2 ; @yy_meta
_yy_meta:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.p2align 1 ; @yy_nxt
_yy_nxt:
.short 0 ; 0x0
.short 4 ; 0x4
.short 5 ; 0x5
.short 5 ; 0x5
.short 6 ; 0x6
.short 7 ; 0x7
.short 8 ; 0x8
.short 4 ; 0x4
.short 4 ; 0x4
.short 9 ; 0x9
.short 10 ; 0xa
.short 4 ; 0x4
.short 4 ; 0x4
.short 4 ; 0x4
.short 11 ; 0xb
.short 14 ; 0xe
.short 14 ; 0xe
.short 16 ; 0x10
.short 22 ; 0x16
.short 17 ; 0x11
.short 19 ; 0x13
.short 20 ; 0x14
.short 23 ; 0x17
.short 28 ; 0x1c
.short 29 ; 0x1d
.short 14 ; 0xe
.short 14 ; 0xe
.short 16 ; 0x10
.short 22 ; 0x16
.short 17 ; 0x11
.short 19 ; 0x13
.short 20 ; 0x14
.short 23 ; 0x17
.short 28 ; 0x1c
.short 29 ; 0x1d
.short 15 ; 0xf
.short 15 ; 0xf
.short 18 ; 0x12
.short 18 ; 0x12
.short 18 ; 0x12
.short 21 ; 0x15
.short 21 ; 0x15
.short 27 ; 0x1b
.short 27 ; 0x1b
.short 27 ; 0x1b
.short 16 ; 0x10
.short 16 ; 0x10
.short 19 ; 0x13
.short 19 ; 0x13
.short 19 ; 0x13
.short 22 ; 0x16
.short 22 ; 0x16
.short 28 ; 0x1c
.short 28 ; 0x1c
.short 28 ; 0x1c
.short 34 ; 0x22
.short 34 ; 0x22
.short 34 ; 0x22
.short 40 ; 0x28
.short 26 ; 0x1a
.short 13 ; 0xd
.short 39 ; 0x27
.short 38 ; 0x26
.short 29 ; 0x1d
.short 37 ; 0x25
.short 36 ; 0x24
.short 35 ; 0x23
.short 29 ; 0x1d
.short 33 ; 0x21
.short 32 ; 0x20
.short 31 ; 0x1f
.short 20 ; 0x14
.short 30 ; 0x1e
.short 25 ; 0x19
.short 24 ; 0x18
.short 41 ; 0x29
.short 12 ; 0xc
.short 3 ; 0x3
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.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 "fatal flex scanner internal error--end of buffer missed"
l_.str.6: ; @.str.6
.asciz "fatal error - scanner input buffer overflow"
l_.str.7: ; @.str.7
.asciz "input in flex scanner failed"
l_.str.8: ; @.str.8
.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)
je LBB0_10
## %bb.1:
movl $0, _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_current_buffer(%rip)
jne LBB0_9
## %bb.8:
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, _yy_current_buffer(%rip)
LBB0_9:
callq _yy_load_buffer_state
LBB0_10:
jmp LBB0_11
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
## Child Loop BB0_13 Depth 3
## Child Loop BB0_16 Depth 4
## Child Loop BB0_23 Depth 3
## Child Loop BB0_26 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)
movq _yy_current_buffer(%rip), %rax
movl 40(%rax), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_12: ## Parent Loop BB0_11 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_13 Depth 3
## Child Loop BB0_16 Depth 4
## Child Loop BB0_23 Depth 3
## Child Loop BB0_26 Depth 4
jmp LBB0_13
LBB0_13: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_16 Depth 4
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movl (%rax,%rcx,4), %eax
## kill: def $al killed $al killed $eax
movb %al, -29(%rbp)
movslq -8(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_13 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_15: ## in Loop: Header=BB0_13 Depth=3
jmp LBB0_16
LBB0_16: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## Parent Loop BB0_13 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_20
## %bb.17: ## in Loop: Header=BB0_16 Depth=4
movslq -8(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $42, -8(%rbp)
jl LBB0_19
## %bb.18: ## in Loop: Header=BB0_16 Depth=4
movzbl -29(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movl (%rax,%rcx,4), %eax
## kill: def $al killed $al killed $eax
movb %al, -29(%rbp)
LBB0_19: ## in Loop: Header=BB0_16 Depth=4
jmp LBB0_16
LBB0_20: ## in Loop: Header=BB0_13 Depth=3
movslq -8(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -29(%rbp), %ecx
addl %ecx, %eax
movl %eax, %eax
movl %eax, %ecx
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.21: ## in Loop: Header=BB0_13 Depth=3
movslq -8(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl $77, %eax
jne LBB0_13
## %bb.22: ## in Loop: Header=BB0_12 Depth=2
jmp LBB0_23
LBB0_23: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_26 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_25
## %bb.24: ## in Loop: Header=BB0_23 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_25: ## in Loop: Header=BB0_23 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_26: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## Parent Loop BB0_23 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 $12, %rax
ja LBB0_76
## %bb.79: ## in Loop: Header=BB0_26 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_27: ## in Loop: Header=BB0_23 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_23
LBB0_28: ## in Loop: Header=BB0_11 Depth=1
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_30
## %bb.29: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_30: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_77
LBB0_31:
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_33
## %bb.32:
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_33:
movl $1, -4(%rbp)
jmp LBB0_78
LBB0_34:
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_36
## %bb.35:
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_36:
movl $2, -4(%rbp)
jmp LBB0_78
LBB0_37:
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_39
## %bb.38:
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_39:
movl $3, -4(%rbp)
jmp LBB0_78
LBB0_40:
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_42
## %bb.41:
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_42:
movl $4, -4(%rbp)
jmp LBB0_78
LBB0_43:
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_45
## %bb.44:
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_45:
movl $5, -4(%rbp)
jmp LBB0_78
LBB0_46:
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_48
## %bb.47:
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_48:
movl $6, -4(%rbp)
jmp LBB0_78
LBB0_49:
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_51
## %bb.50:
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_51:
movl $7, -4(%rbp)
jmp LBB0_78
LBB0_52: ## in Loop: Header=BB0_11 Depth=1
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_54
## %bb.53: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_54: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_77
LBB0_55: ## in Loop: Header=BB0_11 Depth=1
movq _yyleng@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_57
## %bb.56: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yyleng@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 40(%rax)
LBB0_57: ## in Loop: Header=BB0_11 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
jmp LBB0_77
LBB0_58:
movl $0, -4(%rbp)
jmp LBB0_78
LBB0_59: ## in Loop: Header=BB0_26 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_current_buffer(%rip), %rax
cmpl $0, 48(%rax)
jne LBB0_61
## %bb.60: ## in Loop: Header=BB0_26 Depth=4
movq _yy_current_buffer(%rip), %rax
movl 28(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yyin(%rip), %rcx
movq _yy_current_buffer(%rip), %rax
movq %rcx, (%rax)
movq _yy_current_buffer(%rip), %rax
movl $1, 48(%rax)
LBB0_61: ## in Loop: Header=BB0_26 Depth=4
movq _yy_c_buf_p(%rip), %rax
movq _yy_current_buffer(%rip), %rcx
movq 8(%rcx), %rcx
movslq _yy_n_chars(%rip), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
ja LBB0_65
## %bb.62: ## in Loop: Header=BB0_23 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_64
## %bb.63: ## in Loop: Header=BB0_12 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_12
LBB0_64: ## in Loop: Header=BB0_23 Depth=3
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
jmp LBB0_23
LBB0_65: ## in Loop: Header=BB0_26 Depth=4
callq _yy_get_next_buffer
movl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_72
jmp LBB0_80
LBB0_80: ## in Loop: Header=BB0_26 Depth=4
movl -52(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_66
jmp LBB0_81
LBB0_81: ## in Loop: Header=BB0_23 Depth=3
movl -52(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_73
jmp LBB0_74
LBB0_66: ## in Loop: Header=BB0_26 Depth=4
movl $0, _yy_did_buffer_switch_on_eof(%rip)
callq _yywrap
cmpl $0, %eax
je LBB0_68
## %bb.67: ## in Loop: Header=BB0_26 Depth=4
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 $11, %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_26
LBB0_68: ## in Loop: Header=BB0_11 Depth=1
cmpl $0, _yy_did_buffer_switch_on_eof(%rip)
jne LBB0_70
## %bb.69: ## in Loop: Header=BB0_11 Depth=1
movq _yyin(%rip), %rdi
callq _yyrestart
LBB0_70: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_71
LBB0_71: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_74
LBB0_72: ## in Loop: Header=BB0_12 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_12
LBB0_73: ## in Loop: Header=BB0_23 Depth=3
movq _yy_current_buffer(%rip), %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_23
LBB0_74: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_75
LBB0_75: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_77
LBB0_76: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str(%rip), %rdi
callq _yy_fatal_error
LBB0_77: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_11
LBB0_78:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_59, LBB0_59-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
LJTI0_0:
.long L0_0_set_27
.long L0_0_set_28
.long L0_0_set_31
.long L0_0_set_34
.long L0_0_set_37
.long L0_0_set_40
.long L0_0_set_43
.long L0_0_set_46
.long L0_0_set_49
.long L0_0_set_52
.long L0_0_set_55
.long L0_0_set_59
.long L0_0_set_58
.end_data_region
## -- 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 $56, %edi
callq _yy_flex_alloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB1_2:
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 24(%rax)
movq -24(%rbp), %rax
movl 24(%rax), %edi
addl $2, %edi
callq _yy_flex_alloc
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB1_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB1_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
.globl _yy_load_buffer_state ## -- Begin function yy_load_buffer_state
.p2align 4, 0x90
_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_current_buffer(%rip), %rax
movl 28(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yy_current_buffer(%rip), %rax
movq 16(%rax), %rcx
movq %rcx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _yy_current_buffer(%rip), %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 _yy_current_buffer(%rip), %rax
movl 40(%rax), %eax
addl -4(%rbp), %eax
movl %eax, -4(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_8 Depth 2
movq -16(%rbp), %rax
cmpq _yy_c_buf_p(%rip), %rax
jae LBB3_14
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB3_5
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movl $1, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_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 LBB3_7
## %bb.6: ## in Loop: Header=BB3_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)
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_8
LBB3_8: ## Parent Loop BB3_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 LBB3_12
## %bb.9: ## in Loop: Header=BB3_8 Depth=2
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $42, -4(%rbp)
jl LBB3_11
## %bb.10: ## in Loop: Header=BB3_8 Depth=2
movzbl -17(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movl (%rax,%rcx,4), %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
LBB3_11: ## in Loop: Header=BB3_8 Depth=2
jmp LBB3_8
LBB3_12: ## in Loop: Header=BB3_1 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
## %bb.13: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB3_1
LBB3_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 LBB4_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)
LBB4_2:
jmp LBB4_3
LBB4_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 LBB4_7
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $42, -4(%rbp)
jl LBB4_6
## %bb.5: ## in Loop: Header=BB4_3 Depth=1
movzbl -17(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movl (%rax,%rcx,4), %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
LBB4_6: ## in Loop: Header=BB4_3 Depth=1
jmp LBB4_3
LBB4_7:
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $41, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB4_9
## %bb.8:
xorl %eax, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB4_10
LBB4_9:
movl -4(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB4_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_current_buffer(%rip), %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_current_buffer(%rip), %rcx
movq 8(%rcx), %rcx
movl _yy_n_chars(%rip), %edx
addl $1, %edx
movslq %edx, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jbe LBB5_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
callq _yy_fatal_error
LBB5_2:
movq _yy_current_buffer(%rip), %rax
cmpl $0, 44(%rax)
jne LBB5_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 LBB5_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB5_51
LBB5_5:
movl $2, -4(%rbp)
jmp LBB5_51
LBB5_6:
movq _yy_c_buf_p(%rip), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
subl $1, %eax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
LBB5_7: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB5_10
## %bb.8: ## in Loop: Header=BB5_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=BB5_7 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB5_7
LBB5_10:
movq _yy_current_buffer(%rip), %rax
cmpl $2, 48(%rax)
jne LBB5_12
## %bb.11:
movl $0, _yy_n_chars(%rip)
movq _yy_current_buffer(%rip), %rax
movl $0, 28(%rax)
jmp LBB5_44
LBB5_12:
movq _yy_current_buffer(%rip), %rax
movl 24(%rax), %eax
subl -28(%rbp), %eax
subl $1, %eax
movl %eax, -40(%rbp)
LBB5_13: ## =>This Inner Loop Header: Depth=1
cmpl $0, -40(%rbp)
jg LBB5_23
## %bb.14: ## in Loop: Header=BB5_13 Depth=1
movq _yy_current_buffer(%rip), %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 LBB5_19
## %bb.15: ## in Loop: Header=BB5_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %eax
shll $1, %eax
movl %eax, -56(%rbp)
cmpl $0, -56(%rbp)
jg LBB5_17
## %bb.16: ## in Loop: Header=BB5_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %ecx
shrl $3, %ecx
movq -48(%rbp), %rax
addl 24(%rax), %ecx
movl %ecx, 24(%rax)
jmp LBB5_18
LBB5_17: ## in Loop: Header=BB5_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %ecx
shll $1, %ecx
movl %ecx, 24(%rax)
LBB5_18: ## in Loop: Header=BB5_13 Depth=1
movq -48(%rbp), %rax
movq 8(%rax), %rdi
movq -48(%rbp), %rax
movl 24(%rax), %esi
addl $2, %esi
callq _yy_flex_realloc
movq %rax, %rcx
movq -48(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB5_20
LBB5_19: ## in Loop: Header=BB5_13 Depth=1
movq -48(%rbp), %rax
movq $0, 8(%rax)
LBB5_20: ## in Loop: Header=BB5_13 Depth=1
movq -48(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB5_22
## %bb.21: ## in Loop: Header=BB5_13 Depth=1
leaq L_.str.6(%rip), %rdi
callq _yy_fatal_error
LBB5_22: ## in Loop: Header=BB5_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_current_buffer(%rip), %rax
movl 24(%rax), %eax
subl -28(%rbp), %eax
subl $1, %eax
movl %eax, -40(%rbp)
jmp LBB5_13
LBB5_23:
cmpl $8192, -40(%rbp) ## imm = 0x2000
jle LBB5_25
## %bb.24:
movl $8192, -40(%rbp) ## imm = 0x2000
LBB5_25:
movq _yy_current_buffer(%rip), %rax
cmpl $0, 36(%rax)
je LBB5_39
## %bb.26:
movl $42, -60(%rbp)
movl $0, -64(%rbp)
LBB5_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, -65(%rbp) ## 1-byte Spill
jge LBB5_30
## %bb.28: ## in Loop: Header=BB5_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, -65(%rbp) ## 1-byte Spill
je LBB5_30
## %bb.29: ## in Loop: Header=BB5_27 Depth=1
cmpl $10, -60(%rbp)
setne %al
movb %al, -65(%rbp) ## 1-byte Spill
LBB5_30: ## in Loop: Header=BB5_27 Depth=1
movb -65(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_31
jmp LBB5_33
LBB5_31: ## in Loop: Header=BB5_27 Depth=1
movl -60(%rbp), %eax
movb %al, %dl
movq _yy_current_buffer(%rip), %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=BB5_27 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB5_27
LBB5_33:
cmpl $10, -60(%rbp)
jne LBB5_35
## %bb.34:
movl -60(%rbp), %eax
movb %al, %dl
movq _yy_current_buffer(%rip), %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)
LBB5_35:
cmpl $-1, -60(%rbp)
jne LBB5_38
## %bb.36:
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
je LBB5_38
## %bb.37:
leaq L_.str.7(%rip), %rdi
callq _yy_fatal_error
LBB5_38:
movl -64(%rbp), %eax
movl %eax, _yy_n_chars(%rip)
jmp LBB5_43
LBB5_39:
movq _yy_current_buffer(%rip), %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
## kill: def $eax killed $eax killed $rax
movl %eax, _yy_n_chars(%rip)
cmpl $0, %eax
jne LBB5_42
## %bb.40:
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
je LBB5_42
## %bb.41:
leaq L_.str.7(%rip), %rdi
callq _yy_fatal_error
LBB5_42:
jmp LBB5_43
LBB5_43:
movl _yy_n_chars(%rip), %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 28(%rax)
LBB5_44:
cmpl $0, _yy_n_chars(%rip)
jne LBB5_49
## %bb.45:
cmpl $0, -28(%rbp)
jne LBB5_47
## %bb.46:
movl $1, -36(%rbp)
movq _yyin(%rip), %rdi
callq _yyrestart
jmp LBB5_48
LBB5_47:
movl $2, -36(%rbp)
movq _yy_current_buffer(%rip), %rax
movl $2, 48(%rax)
LBB5_48:
jmp LBB5_50
LBB5_49:
movl $0, -36(%rbp)
LBB5_50:
movl -28(%rbp), %eax
addl _yy_n_chars(%rip), %eax
movl %eax, _yy_n_chars(%rip)
movq _yy_current_buffer(%rip), %rax
movq 8(%rax), %rax
movslq _yy_n_chars(%rip), %rcx
movb $0, (%rax,%rcx)
movq _yy_current_buffer(%rip), %rax
movq 8(%rax), %rax
movl _yy_n_chars(%rip), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq _yy_current_buffer(%rip), %rax
movq 8(%rax), %rcx
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
LBB5_51:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.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_current_buffer(%rip)
jne LBB6_2
## %bb.1:
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, _yy_current_buffer(%rip)
LBB6_2:
movq _yy_current_buffer(%rip), %rdi
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_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.8(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _yy_init_buffer ## -- Begin function yy_init_buffer
.p2align 4, 0x90
_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 $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%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, 44(%rax)
cmpq $0, -16(%rbp)
je LBB8_2
## %bb.1:
movq -16(%rbp), %rdi
callq _fileno
movl %eax, %edi
callq _isatty
cmpl $0, %eax
setg %al
andb $1, %al
movzbl %al, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB8_3
LBB8_2:
xorl %eax, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB8_3
LBB8_3:
movl -20(%rbp), %ecx ## 4-byte Reload
movq -8(%rbp), %rax
movl %ecx, 36(%rax)
addq $32, %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)
movq _yy_current_buffer(%rip), %rax
cmpq -8(%rbp), %rax
jne LBB9_2
## %bb.1:
jmp LBB9_5
LBB9_2:
cmpq $0, _yy_current_buffer(%rip)
je LBB9_4
## %bb.3:
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_current_buffer(%rip), %rax
movq %rcx, 16(%rax)
movl _yy_n_chars(%rip), %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 28(%rax)
LBB9_4:
movq -8(%rbp), %rax
movq %rax, _yy_current_buffer(%rip)
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB9_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_flex_alloc
_yy_flex_alloc: ## @yy_flex_alloc
.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, %edi
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 $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB11_2
## %bb.1:
jmp LBB11_7
LBB11_2:
movq -8(%rbp), %rax
cmpq _yy_current_buffer(%rip), %rax
jne LBB11_4
## %bb.3:
movq $0, _yy_current_buffer(%rip)
LBB11_4:
movq -8(%rbp), %rax
cmpl $0, 32(%rax)
je LBB11_6
## %bb.5:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _yy_flex_free
LBB11_6:
movq -8(%rbp), %rdi
callq _yy_flex_free
LBB11_7:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_flex_free
_yy_flex_free: ## @yy_flex_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
.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 $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB13_2
## %bb.1:
jmp LBB13_4
LBB13_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, 48(%rax)
movq -8(%rbp), %rax
cmpq _yy_current_buffer(%rip), %rax
jne LBB13_4
## %bb.3:
callq _yy_load_buffer_state
LBB13_4:
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)
movl %esi, -20(%rbp)
cmpl $2, -20(%rbp)
jb LBB14_3
## %bb.1:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
subl $2, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB14_3
## %bb.2:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB14_4
LBB14_3:
movq $0, -8(%rbp)
jmp LBB14_7
LBB14_4:
movl $56, %edi
callq _yy_flex_alloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB14_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
callq _yy_fatal_error
LBB14_6:
movl -20(%rbp), %ecx
subl $2, %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, 44(%rax)
movq -32(%rbp), %rax
movl $0, 48(%rax)
movq -32(%rbp), %rdi
callq _yy_switch_to_buffer
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB14_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)
movl $0, -12(%rbp)
LBB15_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB15_4
## %bb.2: ## in Loop: Header=BB15_1 Depth=1
jmp LBB15_3
LBB15_3: ## in Loop: Header=BB15_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB15_1
LBB15_4:
movq -8(%rbp), %rdi
movl -12(%rbp), %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
movl %eax, -36(%rbp)
movl -36(%rbp), %edi
callq _yy_flex_alloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB16_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
callq _yy_fatal_error
LBB16_2:
movl $0, -40(%rbp)
LBB16_3: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB16_6
## %bb.4: ## in Loop: Header=BB16_3 Depth=1
movq -8(%rbp), %rax
movslq -40(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movslq -40(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.5: ## in Loop: Header=BB16_3 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB16_3
LBB16_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
movl -36(%rbp), %esi
callq _yy_scan_buffer
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB16_8
## %bb.7:
leaq L_.str.4(%rip), %rdi
callq _yy_fatal_error
LBB16_8:
movq -24(%rbp), %rax
movl $1, 32(%rax)
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mmcif_set_file ## -- Begin function mmcif_set_file
.p2align 4, 0x90
_mmcif_set_file: ## @mmcif_set_file
.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 _mmcif_get_token ## -- Begin function mmcif_get_token
.p2align 4, 0x90
_mmcif_get_token: ## @mmcif_get_token
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _yylex
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mmcif_get_string ## -- Begin function mmcif_get_string
.p2align 4, 0x90
_mmcif_get_string: ## @mmcif_get_string
.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
.p2align 4, 0x90 ## -- Begin function yy_flex_realloc
_yy_flex_realloc: ## @yy_flex_realloc
.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), %rdi
movl -12(%rbp), %eax
movl %eax, %esi
callq _realloc
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
.p2align 2 ## @yy_init
_yy_init:
.long 1 ## 0x1
.zerofill __DATA,__bss,_yy_start,4,2 ## @yy_start
.zerofill __DATA,__bss,_yy_current_buffer,8,3 ## @yy_current_buffer
.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:
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.long 1 ## 0x1
.long 4 ## 0x4
.long 5 ## 0x5
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 6 ## 0x6
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 7 ## 0x7
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 8 ## 0x8
.long 1 ## 0x1
.long 1 ## 0x1
.long 9 ## 0x9
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 10 ## 0xa
.long 1 ## 0x1
.long 1 ## 0x1
.long 11 ## 0xb
.long 12 ## 0xc
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 13 ## 0xd
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 14 ## 0xe
.long 1 ## 0x1
.long 8 ## 0x8
.long 1 ## 0x1
.long 1 ## 0x1
.long 9 ## 0x9
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 10 ## 0xa
.long 1 ## 0x1
.long 1 ## 0x1
.long 11 ## 0xb
.long 12 ## 0xc
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 13 ## 0xd
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.p2align 4 ## @yy_accept
_yy_accept:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 11 ## 0xb
.short 8 ## 0x8
.short 9 ## 0x9
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 9 ## 0x9
.short 8 ## 0x8
.short 0 ## 0x0
.short 6 ## 0x6
.short 8 ## 0x8
.short 0 ## 0x0
.short 1 ## 0x1
.short 8 ## 0x8
.short 0 ## 0x0
.short 7 ## 0x7
.short 8 ## 0x8
.short 8 ## 0x8
.short 2 ## 0x2
.short 8 ## 0x8
.short 0 ## 0x0
.short 0 ## 0x0
.short 6 ## 0x6
.short 7 ## 0x7
.short 8 ## 0x8
.short 8 ## 0x8
.short 0 ## 0x0
.short 5 ## 0x5
.short 8 ## 0x8
.short 8 ## 0x8
.short 8 ## 0x8
.short 3 ## 0x3
.short 4 ## 0x4
.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 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 5 ## 0x5
.short 5 ## 0x5
.short 6 ## 0x6
.short 8 ## 0x8
.short 6 ## 0x6
.short 7 ## 0x7
.short 7 ## 0x7
.short 8 ## 0x8
.short 12 ## 0xc
.short 12 ## 0xc
.short 14 ## 0xe
.short 14 ## 0xe
.short 15 ## 0xf
.short 21 ## 0x15
.short 15 ## 0xf
.short 18 ## 0x12
.short 18 ## 0x12
.short 21 ## 0x15
.short 27 ## 0x1b
.short 27 ## 0x1b
.short 43 ## 0x2b
.short 43 ## 0x2b
.short 44 ## 0x2c
.short 44 ## 0x2c
.short 44 ## 0x2c
.short 45 ## 0x2d
.short 45 ## 0x2d
.short 47 ## 0x2f
.short 47 ## 0x2f
.short 47 ## 0x2f
.short 48 ## 0x30
.short 48 ## 0x30
.short 49 ## 0x31
.short 49 ## 0x31
.short 49 ## 0x31
.short 50 ## 0x32
.short 50 ## 0x32
.short 51 ## 0x33
.short 51 ## 0x33
.short 51 ## 0x33
.short 52 ## 0x34
.short 52 ## 0x34
.short 52 ## 0x34
.short 53 ## 0x35
.short 46 ## 0x2e
.short 42 ## 0x2a
.short 37 ## 0x25
.short 36 ## 0x24
.short 34 ## 0x22
.short 33 ## 0x21
.short 32 ## 0x20
.short 29 ## 0x1d
.short 28 ## 0x1c
.short 25 ## 0x19
.short 24 ## 0x18
.short 22 ## 0x16
.short 19 ## 0x13
.short 16 ## 0x10
.short 10 ## 0xa
.short 9 ## 0x9
.short 3 ## 0x3
.short 2 ## 0x2
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.p2align 4 ## @yy_base
_yy_base:
.short 0 ## 0x0
.short 0 ## 0x0
.short 69 ## 0x45
.short 75 ## 0x4b
.short 0 ## 0x0
.short 13 ## 0xd
.short 15 ## 0xf
.short 18 ## 0x12
.short 16 ## 0x10
.short 66 ## 0x42
.short 62 ## 0x3e
.short 0 ## 0x0
.short 21 ## 0x15
.short 0 ## 0x0
.short 23 ## 0x17
.short 25 ## 0x19
.short 68 ## 0x44
.short 0 ## 0x0
.short 28 ## 0x1c
.short 68 ## 0x44
.short 77 ## 0x4d
.short 26 ## 0x1a
.short 64 ## 0x40
.short 0 ## 0x0
.short 56 ## 0x38
.short 57 ## 0x39
.short 0 ## 0x0
.short 31 ## 0x1f
.short 64 ## 0x40
.short 59 ## 0x3b
.short 77 ## 0x4d
.short 77 ## 0x4d
.short 57 ## 0x39
.short 52 ## 0x34
.short 60 ## 0x3c
.short 77 ## 0x4d
.short 48 ## 0x30
.short 47 ## 0x2f
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 77 ## 0x4d
.short 59 ## 0x3b
.short 34 ## 0x22
.short 36 ## 0x24
.short 39 ## 0x27
.short 58 ## 0x3a
.short 41 ## 0x29
.short 44 ## 0x2c
.short 46 ## 0x2e
.short 49 ## 0x31
.short 51 ## 0x33
.short 54 ## 0x36
.short 57 ## 0x39
.p2align 4 ## @yy_def
_yy_def:
.short 0 ## 0x0
.short 41 ## 0x29
.short 1 ## 0x1
.short 41 ## 0x29
.short 42 ## 0x2a
.short 41 ## 0x29
.short 43 ## 0x2b
.short 44 ## 0x2c
.short 45 ## 0x2d
.short 42 ## 0x2a
.short 42 ## 0x2a
.short 46 ## 0x2e
.short 47 ## 0x2f
.short 42 ## 0x2a
.short 41 ## 0x29
.short 43 ## 0x2b
.short 48 ## 0x30
.short 42 ## 0x2a
.short 44 ## 0x2c
.short 49 ## 0x31
.short 41 ## 0x29
.short 45 ## 0x2d
.short 50 ## 0x32
.short 42 ## 0x2a
.short 42 ## 0x2a
.short 42 ## 0x2a
.short 46 ## 0x2e
.short 47 ## 0x2f
.short 51 ## 0x33
.short 52 ## 0x34
.short 41 ## 0x29
.short 41 ## 0x29
.short 42 ## 0x2a
.short 42 ## 0x2a
.short 51 ## 0x33
.short 41 ## 0x29
.short 42 ## 0x2a
.short 42 ## 0x2a
.short 53 ## 0x35
.short 42 ## 0x2a
.short 53 ## 0x35
.short 0 ## 0x0
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.p2align 4 ## @yy_meta
_yy_meta:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.p2align 4 ## @yy_nxt
_yy_nxt:
.short 0 ## 0x0
.short 4 ## 0x4
.short 5 ## 0x5
.short 5 ## 0x5
.short 6 ## 0x6
.short 7 ## 0x7
.short 8 ## 0x8
.short 4 ## 0x4
.short 4 ## 0x4
.short 9 ## 0x9
.short 10 ## 0xa
.short 4 ## 0x4
.short 4 ## 0x4
.short 4 ## 0x4
.short 11 ## 0xb
.short 14 ## 0xe
.short 14 ## 0xe
.short 16 ## 0x10
.short 22 ## 0x16
.short 17 ## 0x11
.short 19 ## 0x13
.short 20 ## 0x14
.short 23 ## 0x17
.short 28 ## 0x1c
.short 29 ## 0x1d
.short 14 ## 0xe
.short 14 ## 0xe
.short 16 ## 0x10
.short 22 ## 0x16
.short 17 ## 0x11
.short 19 ## 0x13
.short 20 ## 0x14
.short 23 ## 0x17
.short 28 ## 0x1c
.short 29 ## 0x1d
.short 15 ## 0xf
.short 15 ## 0xf
.short 18 ## 0x12
.short 18 ## 0x12
.short 18 ## 0x12
.short 21 ## 0x15
.short 21 ## 0x15
.short 27 ## 0x1b
.short 27 ## 0x1b
.short 27 ## 0x1b
.short 16 ## 0x10
.short 16 ## 0x10
.short 19 ## 0x13
.short 19 ## 0x13
.short 19 ## 0x13
.short 22 ## 0x16
.short 22 ## 0x16
.short 28 ## 0x1c
.short 28 ## 0x1c
.short 28 ## 0x1c
.short 34 ## 0x22
.short 34 ## 0x22
.short 34 ## 0x22
.short 40 ## 0x28
.short 26 ## 0x1a
.short 13 ## 0xd
.short 39 ## 0x27
.short 38 ## 0x26
.short 29 ## 0x1d
.short 37 ## 0x25
.short 36 ## 0x24
.short 35 ## 0x23
.short 29 ## 0x1d
.short 33 ## 0x21
.short 32 ## 0x20
.short 31 ## 0x1f
.short 20 ## 0x14
.short 30 ## 0x1e
.short 25 ## 0x19
.short 24 ## 0x18
.short 41 ## 0x29
.short 12 ## 0xc
.short 3 ## 0x3
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.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 "fatal flex scanner internal error--end of buffer missed"
L_.str.6: ## @.str.6
.asciz "fatal error - scanner input buffer overflow"
L_.str.7: ## @.str.7
.asciz "input in flex scanner failed"
L_.str.8: ## @.str.8
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/49494.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, #1056
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
mov w8, #0
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #24
mov w1, #1024
bl _fgets
mov x8, #0
subs x8, x8, x0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_16
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #24
mov w1, #58
bl _str_char_count
mov w8, #4
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #24
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strstr
mov x8, #0
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #24
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _color_print_line
b LBB0_15
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #24
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strstr
mov x8, #0
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #24
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _color_print_line
b LBB0_14
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #24
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _strstr
mov x8, #0
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #24
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _color_print_line
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_16:
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_18
b LBB0_17
LBB0_17:
bl ___stack_chk_fail
LBB0_18:
mov w0, #0
add sp, sp, #1056
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function str_char_count
_str_char_count: ; @str_char_count
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
strb w1, [sp, #7]
str wzr, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsb w9, [x8]
mov w8, #0
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsb w8, [sp, #7]
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_5:
ldr w0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function color_print_line
_color_print_line: ; @color_print_line
.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, #1184
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #144]
str x1, [sp, #136]
ldr x0, [sp, #144]
mov w1, #58
str w1, [sp, #48] ; 4-byte Folded Spill
bl _index
str x0, [sp, #128]
ldr x8, [sp, #128]
ldr x9, [sp, #144]
subs x8, x8, x9
add x1, x8, #1
ldr x8, [sp, #144]
mov x9, sp
str x8, [x9]
add x0, sp, #152
str x0, [sp, #72] ; 8-byte Folded Spill
mov w2, #0
str w2, [sp, #52] ; 4-byte Folded Spill
mov x3, #1024
str x3, [sp, #56] ; 8-byte Folded Spill
adrp x4, l_.str@PAGE
add x4, x4, l_.str@PAGEOFF
str x4, [sp, #64] ; 8-byte Folded Spill
bl ___snprintf_chk
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x10, [sp, #136]
mov x9, sp
str x10, [x9]
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [sp, #88] ; 8-byte Folded Spill
str x10, [x9, #8]
str x8, [x9, #16]
adrp x8, l_.str.9@PAGE
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp, #96] ; 8-byte Folded Spill
str x8, [x9, #24]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _printf
ldr w1, [sp, #48] ; 4-byte Folded Reload
ldr x8, [sp, #128]
add x0, x8, #1
bl _index
ldr w2, [sp, #52] ; 4-byte Folded Reload
ldr x3, [sp, #56] ; 8-byte Folded Reload
ldr x4, [sp, #64] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #72] ; 8-byte Folded Reload
str x8, [sp, #120]
ldr x8, [sp, #120]
ldr x9, [sp, #128]
subs x1, x8, x9
ldr x8, [sp, #128]
add x8, x8, #1
mov x9, sp
str x8, [x9]
bl ___snprintf_chk
ldr x10, [sp, #72] ; 8-byte Folded Reload
ldr x11, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
mov x9, sp
adrp x12, l_.str.10@PAGE
add x12, x12, l_.str.10@PAGEOFF
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
bl _printf
ldr w1, [sp, #48] ; 4-byte Folded Reload
ldr x8, [sp, #120]
add x0, x8, #1
bl _index
ldr w2, [sp, #52] ; 4-byte Folded Reload
ldr x3, [sp, #56] ; 8-byte Folded Reload
ldr x4, [sp, #64] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #72] ; 8-byte Folded Reload
str x8, [sp, #112]
ldr x8, [sp, #112]
ldr x9, [sp, #120]
subs x1, x8, x9
ldr x8, [sp, #120]
add x8, x8, #1
mov x9, sp
str x8, [x9]
bl ___snprintf_chk
ldr x10, [sp, #72] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
mov x9, sp
adrp x11, l_.str.12@PAGE
add x11, x11, l_.str.12@PAGEOFF
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
str x0, [sp, #80] ; 8-byte Folded Spill
bl _printf
ldr w1, [sp, #48] ; 4-byte Folded Reload
ldr x8, [sp, #112]
add x0, x8, #1
bl _index
ldr w2, [sp, #52] ; 4-byte Folded Reload
ldr x3, [sp, #56] ; 8-byte Folded Reload
ldr x4, [sp, #64] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #72] ; 8-byte Folded Reload
str x8, [sp, #104]
ldr x8, [sp, #104]
ldr x9, [sp, #112]
subs x1, x8, x9
ldr x8, [sp, #112]
add x8, x8, #1
mov x9, sp
str x8, [x9]
bl ___snprintf_chk
ldr x10, [sp, #72] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldr x11, [sp, #136]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
bl _printf
ldr x11, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x12, [sp, #136]
ldr x9, [sp, #104]
add x10, x9, #1
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@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, LBB2_2
b LBB2_1
LBB2_1:
bl ___stack_chk_fail
LBB2_2:
add sp, sp, #1184
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "warning:"
l_.str.2: ; @.str.2
.asciz "\033[33m"
l_.str.3: ; @.str.3
.asciz "error:"
l_.str.4: ; @.str.4
.asciz "\033[31m"
l_.str.5: ; @.str.5
.asciz "note:"
l_.str.6: ; @.str.6
.asciz "\033[36m"
l_.str.7: ; @.str.7
.asciz "%s%s%s%s:"
l_.str.8: ; @.str.8
.asciz "\033[1m"
l_.str.9: ; @.str.9
.asciz "\033[0m"
l_.str.10: ; @.str.10
.asciz "\033[35m"
l_.str.11: ; @.str.11
.asciz "%s%s%s:"
l_.str.12: ; @.str.12
.asciz "\033[34m"
l_.str.13: ; @.str.13
.asciz "%s%s%s%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 $1056, %rsp ## imm = 0x420
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1044(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $1024, %esi ## imm = 0x400
callq _fgets
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq %rcx, %rax
jne LBB0_4
LBB0_3:
jmp LBB0_16
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
movl $58, %esi
callq _str_char_count
movl %eax, %ecx
movl $4, %eax
cmpl %ecx, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strstr
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq %rcx, %rax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _color_print_line
jmp LBB0_15
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strstr
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq %rcx, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _color_print_line
jmp LBB0_14
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _strstr
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq %rcx, %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _color_print_line
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_18
## %bb.17:
xorl %eax, %eax
addq $1056, %rsp ## imm = 0x420
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function str_char_count
_str_char_count: ## @str_char_count
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %sil, %al
movq %rdi, -8(%rbp)
movb %al, -9(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movsbl -9(%rbp), %eax
movq -8(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_5:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function color_print_line
_color_print_line: ## @color_print_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1088, %rsp ## imm = 0x440
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1048(%rbp)
movq %rsi, -1056(%rbp)
movq -1048(%rbp), %rdi
movl $58, %esi
callq _index
movq %rax, -1064(%rbp)
leaq -1040(%rbp), %rdi
movq -1064(%rbp), %rsi
movq -1048(%rbp), %rax
subq %rax, %rsi
addq $1, %rsi
movq -1048(%rbp), %r9
xorl %edx, %edx
movl $1024, %ecx ## imm = 0x400
leaq L_.str(%rip), %r8
movb $0, %al
callq ___snprintf_chk
movq -1056(%rbp), %rsi
leaq -1040(%rbp), %rcx
leaq L_.str.7(%rip), %rdi
leaq L_.str.8(%rip), %rdx
leaq L_.str.9(%rip), %r8
movb $0, %al
callq _printf
movq -1064(%rbp), %rdi
addq $1, %rdi
movl $58, %esi
callq _index
movq %rax, -1072(%rbp)
leaq -1040(%rbp), %rdi
movq -1072(%rbp), %rsi
movq -1064(%rbp), %rax
subq %rax, %rsi
movq -1064(%rbp), %r9
addq $1, %r9
xorl %edx, %edx
movl $1024, %ecx ## imm = 0x400
leaq L_.str(%rip), %r8
movb $0, %al
callq ___snprintf_chk
leaq -1040(%rbp), %rcx
leaq L_.str.7(%rip), %rdi
leaq L_.str.10(%rip), %rsi
leaq L_.str.8(%rip), %rdx
leaq L_.str.9(%rip), %r8
movb $0, %al
callq _printf
movq -1072(%rbp), %rdi
addq $1, %rdi
movl $58, %esi
callq _index
movq %rax, -1080(%rbp)
leaq -1040(%rbp), %rdi
movq -1080(%rbp), %rsi
movq -1072(%rbp), %rax
subq %rax, %rsi
movq -1072(%rbp), %r9
addq $1, %r9
xorl %edx, %edx
movl $1024, %ecx ## imm = 0x400
leaq L_.str(%rip), %r8
movb $0, %al
callq ___snprintf_chk
leaq -1040(%rbp), %rdx
leaq L_.str.11(%rip), %rdi
leaq L_.str.12(%rip), %rsi
leaq L_.str.9(%rip), %rcx
movb $0, %al
callq _printf
movq -1080(%rbp), %rdi
addq $1, %rdi
movl $58, %esi
callq _index
movq %rax, -1088(%rbp)
leaq -1040(%rbp), %rdi
movq -1088(%rbp), %rsi
movq -1080(%rbp), %rax
subq %rax, %rsi
movq -1080(%rbp), %r9
addq $1, %r9
xorl %edx, %edx
movl $1024, %ecx ## imm = 0x400
leaq L_.str(%rip), %r8
movb $0, %al
callq ___snprintf_chk
movq -1056(%rbp), %rsi
leaq -1040(%rbp), %rdx
leaq L_.str.11(%rip), %rdi
leaq L_.str.9(%rip), %rcx
movb $0, %al
callq _printf
movq -1056(%rbp), %rsi
movq -1088(%rbp), %rcx
addq $1, %rcx
leaq L_.str.13(%rip), %rdi
leaq L_.str.8(%rip), %rdx
leaq L_.str.9(%rip), %r8
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_2
## %bb.1:
addq $1088, %rsp ## imm = 0x440
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "warning:"
L_.str.2: ## @.str.2
.asciz "\033[33m"
L_.str.3: ## @.str.3
.asciz "error:"
L_.str.4: ## @.str.4
.asciz "\033[31m"
L_.str.5: ## @.str.5
.asciz "note:"
L_.str.6: ## @.str.6
.asciz "\033[36m"
L_.str.7: ## @.str.7
.asciz "%s%s%s%s:"
L_.str.8: ## @.str.8
.asciz "\033[1m"
L_.str.9: ## @.str.9
.asciz "\033[0m"
L_.str.10: ## @.str.10
.asciz "\033[35m"
L_.str.11: ## @.str.11
.asciz "%s%s%s:"
L_.str.12: ## @.str.12
.asciz "\033[34m"
L_.str.13: ## @.str.13
.asciz "%s%s%s%s"
.subsections_via_symbols
| the_stack_data/153266847.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/150141684.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __init ; -- Begin function _init
.p2align 2
__init: ; @_init
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/43886922.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _to_upper_f ; -- Begin function to_upper_f
.p2align 2
_to_upper_f: ; @to_upper_f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #14]
ldrsb w8, [sp, #14]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldrsb w8, [sp, #14]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldrsb w8, [sp, #14]
subs w8, w8, #32
strb w8, [sp, #15]
b LBB0_4
LBB0_3:
ldrb w8, [sp, #14]
strb w8, [sp, #15]
b LBB0_4
LBB0_4:
ldrsb w0, [sp, #15]
add sp, sp, #16
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
sub sp, sp, #1040
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #28]
add x0, sp, #32
mov x1, #1000
bl _bzero
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
strb w0, [sp, #27]
sxtb w8, w0
subs w8, w8, #46
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsb w0, [sp, #27]
bl _to_upper_f
ldrsw x9, [sp, #20]
add x8, sp, #32
strb w0, [x8, x9]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_3:
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w8, [sp, #28]
str w8, [sp, #16] ; 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, LBB1_5
b LBB1_4
LBB1_4:
bl ___stack_chk_fail
LBB1_5:
ldr w0, [sp, #16] ; 4-byte Folded Reload
add sp, sp, #1040
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _to_upper_f ## -- Begin function to_upper_f
.p2align 4, 0x90
_to_upper_f: ## @to_upper_f
.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, -2(%rbp)
movsbl -2(%rbp), %eax
cmpl $97, %eax
jl LBB0_3
## %bb.1:
movsbl -2(%rbp), %eax
cmpl $122, %eax
jg LBB0_3
## %bb.2:
movsbl -2(%rbp), %eax
subl $32, %eax
## kill: def $al killed $al killed $eax
movb %al, -1(%rbp)
jmp LBB0_4
LBB0_3:
movb -2(%rbp), %al
movb %al, -1(%rbp)
LBB0_4:
movsbl -1(%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 $1024, %rsp ## imm = 0x400
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1012(%rbp)
leaq -1008(%rbp), %rdi
xorl %esi, %esi
movl $1000, %edx ## imm = 0x3E8
callq _memset
movl $0, -1020(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -1013(%rbp)
movsbl %al, %eax
cmpl $46, %eax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movsbl -1013(%rbp), %edi
callq _to_upper_f
movb %al, %cl
movslq -1020(%rbp), %rax
movb %cl, -1008(%rbp,%rax)
movl -1020(%rbp), %eax
addl $1, %eax
movl %eax, -1020(%rbp)
jmp LBB1_1
LBB1_3:
leaq -1008(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -1012(%rbp), %eax
movl %eax, -1024(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_5
## %bb.4:
movl -1024(%rbp), %eax ## 4-byte Reload
addq $1024, %rsp ## imm = 0x400
popq %rbp
retq
LBB1_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/161080110.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xxx1 ; -- Begin function xxx1
.p2align 2
_xxx1: ; @xxx1
.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
.globl _xxx2 ; -- Begin function xxx2
.p2align 2
_xxx2: ; @xxx2
.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.1@PAGE
add x0, x0, l_.str.1@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 "DSO1\n"
l_.str.1: ; @.str.1
.asciz "DSO2\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xxx1 ## -- Begin function xxx1
.p2align 4, 0x90
_xxx1: ## @xxx1
.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
.globl _xxx2 ## -- Begin function xxx2
.p2align 4, 0x90
_xxx2: ## @xxx2
.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.1(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DSO1\n"
L_.str.1: ## @.str.1
.asciz "DSO2\n"
.subsections_via_symbols
| the_stack_data/37637455.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_nondet_char ; -- Begin function __VERIFIER_nondet_char
.p2align 2
___VERIFIER_nondet_char: ; @__VERIFIER_nondet_char
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w1, #1
mov x0, x1
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl ___VERIFIER_next_nondet
mov x8, x0
sxtb w0, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_short ; -- Begin function __VERIFIER_nondet_short
.p2align 2
___VERIFIER_nondet_short: ; @__VERIFIER_nondet_short
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #1
mov w1, #2
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
bl ___VERIFIER_next_nondet
mov x8, x0
sxth w0, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_int ; -- Begin function __VERIFIER_nondet_int
.p2align 2
___VERIFIER_nondet_int: ; @__VERIFIER_nondet_int
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #1
mov w1, #4
adrp x2, l_.str.2@PAGE
add x2, x2, l_.str.2@PAGEOFF
bl ___VERIFIER_next_nondet
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_long ; -- Begin function __VERIFIER_nondet_long
.p2align 2
___VERIFIER_nondet_long: ; @__VERIFIER_nondet_long
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #1
mov w1, #8
adrp x2, l_.str.3@PAGE
add x2, x2, l_.str.3@PAGEOFF
bl ___VERIFIER_next_nondet
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_longlong ; -- Begin function __VERIFIER_nondet_longlong
.p2align 2
___VERIFIER_nondet_longlong: ; @__VERIFIER_nondet_longlong
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #1
mov w1, #8
adrp x2, l_.str.4@PAGE
add x2, x2, l_.str.4@PAGEOFF
bl ___VERIFIER_next_nondet
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_uchar ; -- Begin function __VERIFIER_nondet_uchar
.p2align 2
___VERIFIER_nondet_uchar: ; @__VERIFIER_nondet_uchar
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #1
adrp x2, l_.str.5@PAGE
add x2, x2, l_.str.5@PAGEOFF
bl ___VERIFIER_next_nondet
mov x8, x0
and w0, w8, #0xff
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_ushort ; -- Begin function __VERIFIER_nondet_ushort
.p2align 2
___VERIFIER_nondet_ushort: ; @__VERIFIER_nondet_ushort
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #2
adrp x2, l_.str.6@PAGE
add x2, x2, l_.str.6@PAGEOFF
bl ___VERIFIER_next_nondet
mov x8, x0
and w0, w8, #0xffff
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_uint ; -- Begin function __VERIFIER_nondet_uint
.p2align 2
___VERIFIER_nondet_uint: ; @__VERIFIER_nondet_uint
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #4
adrp x2, l_.str.7@PAGE
add x2, x2, l_.str.7@PAGEOFF
bl ___VERIFIER_next_nondet
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_ulong ; -- Begin function __VERIFIER_nondet_ulong
.p2align 2
___VERIFIER_nondet_ulong: ; @__VERIFIER_nondet_ulong
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #8
adrp x2, l_.str.8@PAGE
add x2, x2, l_.str.8@PAGEOFF
bl ___VERIFIER_next_nondet
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_ulonglong ; -- Begin function __VERIFIER_nondet_ulonglong
.p2align 2
___VERIFIER_nondet_ulonglong: ; @__VERIFIER_nondet_ulonglong
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #8
adrp x2, l_.str.9@PAGE
add x2, x2, l_.str.9@PAGEOFF
bl ___VERIFIER_next_nondet
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.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
mov w0, #0
mov w1, #1
adrp x2, l_.str.10@PAGE
add x2, x2, l_.str.10@PAGEOFF
bl ___VERIFIER_next_nondet
subs x8, x0, #0
cset w8, ne
and w0, w8, #0x1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_u8 ; -- Begin function __VERIFIER_nondet_u8
.p2align 2
___VERIFIER_nondet_u8: ; @__VERIFIER_nondet_u8
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #8
adrp x2, l_.str.11@PAGE
add x2, x2, l_.str.11@PAGEOFF
bl ___VERIFIER_next_nondet
mov x8, x0
and w0, w8, #0xff
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_u16 ; -- Begin function __VERIFIER_nondet_u16
.p2align 2
___VERIFIER_nondet_u16: ; @__VERIFIER_nondet_u16
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #16
adrp x2, l_.str.12@PAGE
add x2, x2, l_.str.12@PAGEOFF
bl ___VERIFIER_next_nondet
mov x8, x0
and w0, w8, #0xffff
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_u32 ; -- Begin function __VERIFIER_nondet_u32
.p2align 2
___VERIFIER_nondet_u32: ; @__VERIFIER_nondet_u32
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #32
adrp x2, l_.str.13@PAGE
add x2, x2, l_.str.13@PAGEOFF
bl ___VERIFIER_next_nondet
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_unsigned_char ; -- Begin function __VERIFIER_nondet_unsigned_char
.p2align 2
___VERIFIER_nondet_unsigned_char: ; @__VERIFIER_nondet_unsigned_char
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #1
adrp x2, l_.str.14@PAGE
add x2, x2, l_.str.14@PAGEOFF
bl ___VERIFIER_next_nondet
mov x8, x0
and w0, w8, #0xff
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_unsigned ; -- Begin function __VERIFIER_nondet_unsigned
.p2align 2
___VERIFIER_nondet_unsigned: ; @__VERIFIER_nondet_unsigned
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #4
adrp x2, l_.str.15@PAGE
add x2, x2, l_.str.15@PAGEOFF
bl ___VERIFIER_next_nondet
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_unsigned_int ; -- Begin function __VERIFIER_nondet_unsigned_int
.p2align 2
___VERIFIER_nondet_unsigned_int: ; @__VERIFIER_nondet_unsigned_int
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #4
adrp x2, l_.str.16@PAGE
add x2, x2, l_.str.16@PAGEOFF
bl ___VERIFIER_next_nondet
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_nondet_unsigned_long ; -- Begin function __VERIFIER_nondet_unsigned_long
.p2align 2
___VERIFIER_nondet_unsigned_long: ; @__VERIFIER_nondet_unsigned_long
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov w1, #8
adrp x2, l_.str.17@PAGE
add x2, x2, l_.str.17@PAGEOFF
bl ___VERIFIER_next_nondet
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__VERIFIER_nondet_char"
l_.str.1: ; @.str.1
.asciz "__VERIFIER_nondet_short"
l_.str.2: ; @.str.2
.asciz "__VERIFIER_nondet_int"
l_.str.3: ; @.str.3
.asciz "__VERIFIER_nondet_long"
l_.str.4: ; @.str.4
.asciz "__VERIFIER_nondet_longlong"
l_.str.5: ; @.str.5
.asciz "__VERIFIER_nondet_uchar"
l_.str.6: ; @.str.6
.asciz "__VERIFIER_nondet_ushort"
l_.str.7: ; @.str.7
.asciz "__VERIFIER_nondet_uint"
l_.str.8: ; @.str.8
.asciz "__VERIFIER_nondet_ulong"
l_.str.9: ; @.str.9
.asciz "__VERIFIER_nondet_ulonglong"
l_.str.10: ; @.str.10
.asciz "__VERIFIER_nondet_bool"
l_.str.11: ; @.str.11
.asciz "__VERIFIER_nondet_u8"
l_.str.12: ; @.str.12
.asciz "__VERIFIER_nondet_u16"
l_.str.13: ; @.str.13
.asciz "__VERIFIER_nondet_u32"
l_.str.14: ; @.str.14
.asciz "__VERIFIER_nondet_unsigned_char"
l_.str.15: ; @.str.15
.asciz "__VERIFIER_nondet_unsigned"
l_.str.16: ; @.str.16
.asciz "__VERIFIER_nondet_unsigned_int"
l_.str.17: ; @.str.17
.asciz "__VERIFIER_nondet_unsigned_long"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_nondet_char ## -- Begin function __VERIFIER_nondet_char
.p2align 4, 0x90
___VERIFIER_nondet_char: ## @__VERIFIER_nondet_char
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %esi
leaq L_.str(%rip), %rdx
movl %esi, %edi
callq ___VERIFIER_next_nondet
## kill: def $al killed $al killed $rax
movsbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_short ## -- Begin function __VERIFIER_nondet_short
.p2align 4, 0x90
___VERIFIER_nondet_short: ## @__VERIFIER_nondet_short
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
movl $2, %esi
leaq L_.str.1(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $ax killed $ax killed $rax
cwtl
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_int ## -- Begin function __VERIFIER_nondet_int
.p2align 4, 0x90
___VERIFIER_nondet_int: ## @__VERIFIER_nondet_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
movl $4, %esi
leaq L_.str.2(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_long ## -- Begin function __VERIFIER_nondet_long
.p2align 4, 0x90
___VERIFIER_nondet_long: ## @__VERIFIER_nondet_long
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
movl $8, %esi
leaq L_.str.3(%rip), %rdx
callq ___VERIFIER_next_nondet
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_longlong ## -- Begin function __VERIFIER_nondet_longlong
.p2align 4, 0x90
___VERIFIER_nondet_longlong: ## @__VERIFIER_nondet_longlong
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
movl $8, %esi
leaq L_.str.4(%rip), %rdx
callq ___VERIFIER_next_nondet
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_uchar ## -- Begin function __VERIFIER_nondet_uchar
.p2align 4, 0x90
___VERIFIER_nondet_uchar: ## @__VERIFIER_nondet_uchar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $1, %esi
leaq L_.str.5(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $al killed $al killed $rax
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_ushort ## -- Begin function __VERIFIER_nondet_ushort
.p2align 4, 0x90
___VERIFIER_nondet_ushort: ## @__VERIFIER_nondet_ushort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $2, %esi
leaq L_.str.6(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $ax killed $ax killed $rax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_uint ## -- Begin function __VERIFIER_nondet_uint
.p2align 4, 0x90
___VERIFIER_nondet_uint: ## @__VERIFIER_nondet_uint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $4, %esi
leaq L_.str.7(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_ulong ## -- Begin function __VERIFIER_nondet_ulong
.p2align 4, 0x90
___VERIFIER_nondet_ulong: ## @__VERIFIER_nondet_ulong
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $8, %esi
leaq L_.str.8(%rip), %rdx
callq ___VERIFIER_next_nondet
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_ulonglong ## -- Begin function __VERIFIER_nondet_ulonglong
.p2align 4, 0x90
___VERIFIER_nondet_ulonglong: ## @__VERIFIER_nondet_ulonglong
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $8, %esi
leaq L_.str.9(%rip), %rdx
callq ___VERIFIER_next_nondet
popq %rbp
retq
.cfi_endproc
## -- End function
.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
xorl %edi, %edi
movl $1, %esi
leaq L_.str.10(%rip), %rdx
callq ___VERIFIER_next_nondet
cmpq $0, %rax
setne %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_u8 ## -- Begin function __VERIFIER_nondet_u8
.p2align 4, 0x90
___VERIFIER_nondet_u8: ## @__VERIFIER_nondet_u8
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $8, %esi
leaq L_.str.11(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $al killed $al killed $rax
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_u16 ## -- Begin function __VERIFIER_nondet_u16
.p2align 4, 0x90
___VERIFIER_nondet_u16: ## @__VERIFIER_nondet_u16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $16, %esi
leaq L_.str.12(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $ax killed $ax killed $rax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_u32 ## -- Begin function __VERIFIER_nondet_u32
.p2align 4, 0x90
___VERIFIER_nondet_u32: ## @__VERIFIER_nondet_u32
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $32, %esi
leaq L_.str.13(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_unsigned_char ## -- Begin function __VERIFIER_nondet_unsigned_char
.p2align 4, 0x90
___VERIFIER_nondet_unsigned_char: ## @__VERIFIER_nondet_unsigned_char
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $1, %esi
leaq L_.str.14(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $al killed $al killed $rax
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_unsigned ## -- Begin function __VERIFIER_nondet_unsigned
.p2align 4, 0x90
___VERIFIER_nondet_unsigned: ## @__VERIFIER_nondet_unsigned
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $4, %esi
leaq L_.str.15(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_unsigned_int ## -- Begin function __VERIFIER_nondet_unsigned_int
.p2align 4, 0x90
___VERIFIER_nondet_unsigned_int: ## @__VERIFIER_nondet_unsigned_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $4, %esi
leaq L_.str.16(%rip), %rdx
callq ___VERIFIER_next_nondet
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___VERIFIER_nondet_unsigned_long ## -- Begin function __VERIFIER_nondet_unsigned_long
.p2align 4, 0x90
___VERIFIER_nondet_unsigned_long: ## @__VERIFIER_nondet_unsigned_long
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $8, %esi
leaq L_.str.17(%rip), %rdx
callq ___VERIFIER_next_nondet
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__VERIFIER_nondet_char"
L_.str.1: ## @.str.1
.asciz "__VERIFIER_nondet_short"
L_.str.2: ## @.str.2
.asciz "__VERIFIER_nondet_int"
L_.str.3: ## @.str.3
.asciz "__VERIFIER_nondet_long"
L_.str.4: ## @.str.4
.asciz "__VERIFIER_nondet_longlong"
L_.str.5: ## @.str.5
.asciz "__VERIFIER_nondet_uchar"
L_.str.6: ## @.str.6
.asciz "__VERIFIER_nondet_ushort"
L_.str.7: ## @.str.7
.asciz "__VERIFIER_nondet_uint"
L_.str.8: ## @.str.8
.asciz "__VERIFIER_nondet_ulong"
L_.str.9: ## @.str.9
.asciz "__VERIFIER_nondet_ulonglong"
L_.str.10: ## @.str.10
.asciz "__VERIFIER_nondet_bool"
L_.str.11: ## @.str.11
.asciz "__VERIFIER_nondet_u8"
L_.str.12: ## @.str.12
.asciz "__VERIFIER_nondet_u16"
L_.str.13: ## @.str.13
.asciz "__VERIFIER_nondet_u32"
L_.str.14: ## @.str.14
.asciz "__VERIFIER_nondet_unsigned_char"
L_.str.15: ## @.str.15
.asciz "__VERIFIER_nondet_unsigned"
L_.str.16: ## @.str.16
.asciz "__VERIFIER_nondet_unsigned_int"
L_.str.17: ## @.str.17
.asciz "__VERIFIER_nondet_unsigned_long"
.subsections_via_symbols
| the_stack_data/62637681.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/6388434.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 _foo
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.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 x9, _foo.s@PAGE
adrp x8, _foo.s@PAGE
add x8, x8, _foo.s@PAGEOFF
stur x8, [x29, #-16]
sub x8, x29, #4
str x8, [sp, #24]
ldr w8, [x9, _foo.s@PAGEOFF]
; implicit-def: $x10
mov x10, x8
mov x8, x10
add w8, w8, #1
str w8, [x9, _foo.s@PAGEOFF]
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w8, [x29, #-4]
; implicit-def: $x10
mov x10, x8
mov x8, x10
add w8, w8, #1
stur w8, [x29, #-4]
ldr x8, [sp, #24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _foo
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_foo.s,4,2 ; @foo.s
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "static s = %d, address =%p\n"
l_.str.1: ; @.str.1
.asciz "local n = %d, address =%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
callq _foo
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.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
subq $32, %rsp
leaq _foo.s(%rip), %rax
movq %rax, -16(%rbp)
leaq -4(%rbp), %rax
movq %rax, -24(%rbp)
movl _foo.s(%rip), %esi
movl %esi, %eax
addl $1, %eax
movl %eax, _foo.s(%rip)
movq -16(%rbp), %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
movl %esi, %eax
addl $1, %eax
movl %eax, -4(%rbp)
movq -24(%rbp), %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _foo
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_foo.s,4,2 ## @foo.s
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "static s = %d, address =%p\n"
L_.str.1: ## @.str.1
.asciz "local n = %d, address =%p\n"
.subsections_via_symbols
| the_stack_data/1120839.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _res_9_b64_ntop ; -- Begin function res_9_b64_ntop
.p2align 2
_res_9_b64_ntop: ; @res_9_b64_ntop
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #48]
str x1, [sp, #40]
str x2, [sp, #32]
str x3, [sp, #24]
str xzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #40]
mov x8, #2
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48]
add x9, x8, #1
str x9, [sp, #48]
ldrb w8, [x8]
strb w8, [sp, #13]
ldr x8, [sp, #48]
add x9, x8, #1
str x9, [sp, #48]
ldrb w8, [x8]
strb w8, [sp, #14]
ldr x8, [sp, #48]
add x9, x8, #1
str x9, [sp, #48]
ldrb w8, [x8]
strb w8, [sp, #15]
ldr x8, [sp, #40]
subs x8, x8, #3
str x8, [sp, #40]
ldrb w8, [sp, #13]
asr w8, w8, #2
strb w8, [sp, #9]
ldrb w8, [sp, #13]
and w9, w8, #0x3
ldrb w8, [sp, #14]
asr w8, w8, #4
add w8, w8, w9, lsl #4
strb w8, [sp, #10]
ldrb w8, [sp, #14]
and w9, w8, #0xf
ldrb w8, [sp, #15]
asr w8, w8, #6
add w8, w8, w9, lsl #2
strb w8, [sp, #11]
ldrb w8, [sp, #15]
and w8, w8, #0x3f
strb w8, [sp, #12]
ldr x8, [sp, #16]
add x8, x8, #4
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #-1
str w8, [sp, #60]
b LBB0_19
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [sp, #9]
mov x10, x8
adrp x8, _Base64@PAGE
add x8, x8, _Base64@PAGEOFF
mov x9, x8
add x9, x9, x10
ldrb w9, [x9]
ldr x10, [sp, #32]
ldr x11, [sp, #16]
add x12, x11, #1
str x12, [sp, #16]
add x10, x10, x11
strb w9, [x10]
ldrb w9, [sp, #10]
mov x10, x9
mov x9, x8
add x9, x9, x10
ldrb w9, [x9]
ldr x10, [sp, #32]
ldr x11, [sp, #16]
add x12, x11, #1
str x12, [sp, #16]
add x10, x10, x11
strb w9, [x10]
ldrb w9, [sp, #11]
mov x10, x9
mov x9, x8
add x9, x9, x10
ldrb w9, [x9]
ldr x10, [sp, #32]
ldr x11, [sp, #16]
add x12, x11, #1
str x12, [sp, #16]
add x10, x10, x11
strb w9, [x10]
ldrb w9, [sp, #12]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #32]
ldr x10, [sp, #16]
add x11, x10, #1
str x11, [sp, #16]
add x9, x9, x10
strb w8, [x9]
b LBB0_1
LBB0_5:
ldr x9, [sp, #40]
mov x8, #0
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_6
LBB0_6:
strb wzr, [sp, #15]
strb wzr, [sp, #14]
strb wzr, [sp, #13]
str wzr, [sp, #4]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #4]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #48]
add x9, x8, #1
str x9, [sp, #48]
ldrb w8, [x8]
ldrsw x10, [sp, #4]
add x9, sp, #13
add x9, x9, x10
strb w8, [x9]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_7
LBB0_10:
ldrb w8, [sp, #13]
asr w8, w8, #2
strb w8, [sp, #9]
ldrb w8, [sp, #13]
and w9, w8, #0x3
ldrb w8, [sp, #14]
asr w8, w8, #4
add w8, w8, w9, lsl #4
strb w8, [sp, #10]
ldrb w8, [sp, #14]
and w9, w8, #0xf
ldrb w8, [sp, #15]
asr w8, w8, #6
add w8, w8, w9, lsl #2
strb w8, [sp, #11]
ldr x8, [sp, #16]
add x8, x8, #4
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
mov w8, #-1
str w8, [sp, #60]
b LBB0_19
LBB0_12:
ldrb w8, [sp, #9]
mov x10, x8
adrp x8, _Base64@PAGE
add x8, x8, _Base64@PAGEOFF
mov x9, x8
add x9, x9, x10
ldrb w9, [x9]
ldr x10, [sp, #32]
ldr x11, [sp, #16]
add x12, x11, #1
str x12, [sp, #16]
add x10, x10, x11
strb w9, [x10]
ldrb w9, [sp, #10]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #32]
ldr x10, [sp, #16]
add x11, x10, #1
str x11, [sp, #16]
add x9, x9, x10
strb w8, [x9]
ldr x8, [sp, #40]
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldr x8, [sp, #32]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
add x9, x8, x9
mov w8, #61
strb w8, [x9]
b LBB0_15
LBB0_14:
ldrb w8, [sp, #11]
mov x9, x8
adrp x8, _Base64@PAGE
add x8, x8, _Base64@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #32]
ldr x10, [sp, #16]
add x11, x10, #1
str x11, [sp, #16]
add x9, x9, x10
strb w8, [x9]
b LBB0_15
LBB0_15:
ldr x8, [sp, #32]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
add x9, x8, x9
mov w8, #61
strb w8, [x9]
b LBB0_16
LBB0_16:
ldr x8, [sp, #16]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
mov w8, #-1
str w8, [sp, #60]
b LBB0_19
LBB0_18:
ldr x8, [sp, #32]
ldr x9, [sp, #16]
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #16]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #60]
b LBB0_19
LBB0_19:
ldr w0, [sp, #60]
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _res_9_b64_pton ; -- Begin function res_9_b64_pton
.p2align 2
_res_9_b64_pton: ; @res_9_b64_pton
.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, _Base64@PAGE
add x8, x8, _Base64@PAGEOFF
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
str wzr, [sp, #40]
stur wzr, [x29, #-36]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
add x9, x8, #1
stur x9, [x29, #-16]
ldrsb w8, [x8]
str w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_31
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w0, [sp, #36]
bl _isspace
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #61
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
b LBB1_31
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w1, [sp, #36]
adrp x0, _Base64@PAGE
add x0, x0, _Base64@PAGEOFF
bl _strchr
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #40]
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, LBB1_30
; %bb.9: ; in Loop: Header=BB1_1 Depth=1
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldursw x8, [x29, #-36]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24]
subs x8, x8, x9
lsl x8, x8, #2
ldur x9, [x29, #-24]
ldursw x10, [x29, #-36]
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, x10]
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp, #40]
b LBB1_30
LBB1_15: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_19
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-36]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_18: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24]
subs x11, x8, x9
ldur x8, [x29, #-24]
ldursw x10, [x29, #-36]
add x10, x8, x10
ldrb w8, [x10]
; kill: def $x8 killed $w8
orr x8, x8, x11, asr #4
; kill: def $w8 killed $w8 killed $x8
strb w8, [x10]
ldr x8, [sp, #24]
subs x8, x8, x9
and x8, x8, #0xf
lsl x8, x8, #4
ldur x9, [x29, #-24]
ldur w10, [x29, #-36]
add w10, w10, #1
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, w10, sxtw]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
mov w8, #2
str w8, [sp, #40]
b LBB1_30
LBB1_20: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_24
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-36]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_23
b LBB1_22
LBB1_22:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_23: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24]
subs x11, x8, x9
ldur x8, [x29, #-24]
ldursw x10, [x29, #-36]
add x10, x8, x10
ldrb w8, [x10]
; kill: def $x8 killed $w8
orr x8, x8, x11, asr #2
; kill: def $w8 killed $w8 killed $x8
strb w8, [x10]
ldr x8, [sp, #24]
subs x8, x8, x9
and x8, x8, #0x3
lsl x8, x8, #6
ldur x9, [x29, #-24]
ldur w10, [x29, #-36]
add w10, w10, #1
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, w10, sxtw]
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
mov w8, #3
str w8, [sp, #40]
b LBB1_30
LBB1_25: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_29
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_1 Depth=1
ldursw x8, [x29, #-36]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_28: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24]
subs x10, x8, x9
ldur x8, [x29, #-24]
ldursw x9, [x29, #-36]
add x9, x8, x9
ldrb w8, [x9]
; kill: def $x8 killed $w8
orr x8, x8, x10
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
str wzr, [sp, #40]
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_31:
ldr w8, [sp, #36]
subs w8, w8, #61
cset w8, ne
tbnz w8, #0, LBB1_56
b LBB1_32
LBB1_32:
ldur x8, [x29, #-16]
add x9, x8, #1
stur x9, [x29, #-16]
ldrsb w8, [x8]
str w8, [sp, #36]
ldr w8, [sp, #40]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #0
subs w8, w8, #1
cset w8, ls
tbnz w8, #0, LBB1_35
b LBB1_33
LBB1_33:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_36
b LBB1_34
LBB1_34:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB1_45
b LBB1_55
LBB1_35:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_36:
b LBB1_37
LBB1_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_42
b LBB1_38
LBB1_38: ; in Loop: Header=BB1_37 Depth=1
ldr w0, [sp, #36]
bl _isspace
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_40
b LBB1_39
LBB1_39:
b LBB1_42
LBB1_40: ; in Loop: Header=BB1_37 Depth=1
b LBB1_41
LBB1_41: ; in Loop: Header=BB1_37 Depth=1
ldur x8, [x29, #-16]
add x9, x8, #1
stur x9, [x29, #-16]
ldrsb w8, [x8]
str w8, [sp, #36]
b LBB1_37
LBB1_42:
ldr w8, [sp, #36]
subs w8, w8, #61
cset w8, eq
tbnz w8, #0, LBB1_44
b LBB1_43
LBB1_43:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_44:
ldur x8, [x29, #-16]
add x9, x8, #1
stur x9, [x29, #-16]
ldrsb w8, [x8]
str w8, [sp, #36]
b LBB1_45
LBB1_45:
b LBB1_46
LBB1_46: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_51
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_46 Depth=1
ldr w0, [sp, #36]
bl _isspace
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_49
b LBB1_48
LBB1_48:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_49: ; in Loop: Header=BB1_46 Depth=1
b LBB1_50
LBB1_50: ; in Loop: Header=BB1_46 Depth=1
ldur x8, [x29, #-16]
add x9, x8, #1
stur x9, [x29, #-16]
ldrsb w8, [x8]
str w8, [sp, #36]
b LBB1_46
LBB1_51:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_54
b LBB1_52
LBB1_52:
ldur x8, [x29, #-24]
ldursw x9, [x29, #-36]
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_54
b LBB1_53
LBB1_53:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_54:
b LBB1_55
LBB1_55:
b LBB1_59
LBB1_56:
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_58
b LBB1_57
LBB1_57:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_60
LBB1_58:
b LBB1_59
LBB1_59:
ldur w8, [x29, #-36]
stur w8, [x29, #-4]
b LBB1_60
LBB1_60:
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_10-Ltmp1
.long LBB1_15-Ltmp1
.long LBB1_20-Ltmp1
.long LBB1_25-Ltmp1
; -- End function
.section __TEXT,__const
_Base64: ; @Base64
.asciz "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _res_9_b64_ntop ## -- Begin function res_9_b64_ntop
.p2align 4, 0x90
_res_9_b64_ntop: ## @res_9_b64_ntop
.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, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq $0, -48(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $2, %eax
cmpq -24(%rbp), %rax
jae LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %al
movb %al, -51(%rbp)
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %al
movb %al, -50(%rbp)
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %al
movb %al, -49(%rbp)
movq -24(%rbp), %rax
subq $3, %rax
movq %rax, -24(%rbp)
movzbl -51(%rbp), %eax
sarl $2, %eax
## kill: def $al killed $al killed $eax
movb %al, -55(%rbp)
movzbl -51(%rbp), %eax
andl $3, %eax
shll $4, %eax
movzbl -50(%rbp), %ecx
sarl $4, %ecx
addl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -54(%rbp)
movzbl -50(%rbp), %eax
andl $15, %eax
shll $2, %eax
movzbl -49(%rbp), %ecx
sarl $6, %ecx
addl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -53(%rbp)
movzbl -49(%rbp), %eax
andl $63, %eax
## kill: def $al killed $al killed $eax
movb %al, -52(%rbp)
movq -48(%rbp), %rax
addq $4, %rax
cmpq -40(%rbp), %rax
jbe LBB0_4
## %bb.3:
movl $-1, -4(%rbp)
jmp LBB0_19
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movzbl -55(%rbp), %eax
movl %eax, %ecx
leaq _Base64(%rip), %rax
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -48(%rbp)
movb %dl, (%rax,%rcx)
movzbl -54(%rbp), %eax
movl %eax, %ecx
leaq _Base64(%rip), %rax
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -48(%rbp)
movb %dl, (%rax,%rcx)
movzbl -53(%rbp), %eax
movl %eax, %ecx
leaq _Base64(%rip), %rax
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -48(%rbp)
movb %dl, (%rax,%rcx)
movzbl -52(%rbp), %eax
movl %eax, %ecx
leaq _Base64(%rip), %rax
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -48(%rbp)
movb %dl, (%rax,%rcx)
jmp LBB0_1
LBB0_5:
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq -24(%rbp), %rax
je LBB0_16
## %bb.6:
movb $0, -49(%rbp)
movb $0, -50(%rbp)
movb $0, -51(%rbp)
movl $0, -60(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movslq -60(%rbp), %rax
cmpq -24(%rbp), %rax
jae LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %cl
movslq -60(%rbp), %rax
movb %cl, -51(%rbp,%rax)
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_7
LBB0_10:
movzbl -51(%rbp), %eax
sarl $2, %eax
## kill: def $al killed $al killed $eax
movb %al, -55(%rbp)
movzbl -51(%rbp), %eax
andl $3, %eax
shll $4, %eax
movzbl -50(%rbp), %ecx
sarl $4, %ecx
addl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -54(%rbp)
movzbl -50(%rbp), %eax
andl $15, %eax
shll $2, %eax
movzbl -49(%rbp), %ecx
sarl $6, %ecx
addl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -53(%rbp)
movq -48(%rbp), %rax
addq $4, %rax
cmpq -40(%rbp), %rax
jbe LBB0_12
## %bb.11:
movl $-1, -4(%rbp)
jmp LBB0_19
LBB0_12:
movzbl -55(%rbp), %eax
movl %eax, %ecx
leaq _Base64(%rip), %rax
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -48(%rbp)
movb %dl, (%rax,%rcx)
movzbl -54(%rbp), %eax
movl %eax, %ecx
leaq _Base64(%rip), %rax
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -48(%rbp)
movb %dl, (%rax,%rcx)
cmpq $1, -24(%rbp)
jne LBB0_14
## %bb.13:
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -48(%rbp)
movb $61, (%rax,%rcx)
jmp LBB0_15
LBB0_14:
movzbl -53(%rbp), %eax
movl %eax, %ecx
leaq _Base64(%rip), %rax
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -48(%rbp)
movb %dl, (%rax,%rcx)
LBB0_15:
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -48(%rbp)
movb $61, (%rax,%rcx)
LBB0_16:
movq -48(%rbp), %rax
cmpq -40(%rbp), %rax
jb LBB0_18
## %bb.17:
movl $-1, -4(%rbp)
jmp LBB0_19
LBB0_18:
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -48(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
LBB0_19:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _res_9_b64_pton ## -- Begin function res_9_b64_pton
.p2align 4, 0x90
_res_9_b64_pton: ## @res_9_b64_pton
.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)
movl $0, -40(%rbp)
movl $0, -36(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %eax
movl %eax, -44(%rbp)
cmpl $0, %eax
je LBB1_30
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -44(%rbp), %edi
callq _isspace
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
cmpl $61, -44(%rbp)
jne LBB1_6
## %bb.5:
jmp LBB1_30
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -44(%rbp), %esi
leaq _Base64(%rip), %rdi
callq _strchr
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
jne LBB1_8
## %bb.7:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movl -40(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB1_29
## %bb.58: ## in Loop: Header=BB1_1 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -24(%rbp)
je LBB1_13
## %bb.10: ## in Loop: Header=BB1_1 Depth=1
movslq -36(%rbp), %rax
cmpq -32(%rbp), %rax
jb LBB1_12
## %bb.11:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_12: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rax
leaq _Base64(%rip), %rcx
subq %rcx, %rax
shlq $2, %rax
movb %al, %dl
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
movb %dl, (%rax,%rcx)
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
movl $1, -40(%rbp)
jmp LBB1_29
LBB1_14: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -24(%rbp)
je LBB1_18
## %bb.15: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
cltq
cmpq -32(%rbp), %rax
jb LBB1_17
## %bb.16:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_17: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rsi
leaq _Base64(%rip), %rax
subq %rax, %rsi
sarq $4, %rsi
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
movzbl (%rax,%rcx), %edx
## kill: def $rdx killed $edx
orq %rsi, %rdx
## kill: def $dl killed $dl killed $rdx
movb %dl, (%rax,%rcx)
movq -56(%rbp), %rax
leaq _Base64(%rip), %rcx
subq %rcx, %rax
andq $15, %rax
shlq $4, %rax
movb %al, %dl
movq -24(%rbp), %rax
movl -36(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB1_18: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movl $2, -40(%rbp)
jmp LBB1_29
LBB1_19: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -24(%rbp)
je LBB1_23
## %bb.20: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
cltq
cmpq -32(%rbp), %rax
jb LBB1_22
## %bb.21:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_22: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rsi
leaq _Base64(%rip), %rax
subq %rax, %rsi
sarq $2, %rsi
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
movzbl (%rax,%rcx), %edx
## kill: def $rdx killed $edx
orq %rsi, %rdx
## kill: def $dl killed $dl killed $rdx
movb %dl, (%rax,%rcx)
movq -56(%rbp), %rax
leaq _Base64(%rip), %rcx
subq %rcx, %rax
andq $3, %rax
shlq $6, %rax
movb %al, %dl
movq -24(%rbp), %rax
movl -36(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB1_23: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movl $3, -40(%rbp)
jmp LBB1_29
LBB1_24: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -24(%rbp)
je LBB1_28
## %bb.25: ## in Loop: Header=BB1_1 Depth=1
movslq -36(%rbp), %rax
cmpq -32(%rbp), %rax
jb LBB1_27
## %bb.26:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_27: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rsi
leaq _Base64(%rip), %rax
subq %rax, %rsi
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
movzbl (%rax,%rcx), %edx
## kill: def $rdx killed $edx
orq %rsi, %rdx
## kill: def $dl killed $dl killed $rdx
movb %dl, (%rax,%rcx)
LBB1_28: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movl $0, -40(%rbp)
LBB1_29: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_30:
cmpl $61, -44(%rbp)
jne LBB1_53
## %bb.31:
movq -16(%rbp), %rax
movq %rax, %rcx
incq %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %eax
movl %eax, -44(%rbp)
movl -40(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
subl $2, %eax
jb LBB1_32
jmp LBB1_59
LBB1_59:
movl -68(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB1_33
jmp LBB1_60
LBB1_60:
movl -68(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB1_42
jmp LBB1_52
LBB1_32:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_33:
jmp LBB1_34
LBB1_34: ## =>This Inner Loop Header: Depth=1
cmpl $0, -44(%rbp)
je LBB1_39
## %bb.35: ## in Loop: Header=BB1_34 Depth=1
movl -44(%rbp), %edi
callq _isspace
cmpl $0, %eax
jne LBB1_37
## %bb.36:
jmp LBB1_39
LBB1_37: ## in Loop: Header=BB1_34 Depth=1
jmp LBB1_38
LBB1_38: ## in Loop: Header=BB1_34 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %eax
movl %eax, -44(%rbp)
jmp LBB1_34
LBB1_39:
cmpl $61, -44(%rbp)
je LBB1_41
## %bb.40:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_41:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %eax
movl %eax, -44(%rbp)
LBB1_42:
jmp LBB1_43
LBB1_43: ## =>This Inner Loop Header: Depth=1
cmpl $0, -44(%rbp)
je LBB1_48
## %bb.44: ## in Loop: Header=BB1_43 Depth=1
movl -44(%rbp), %edi
callq _isspace
cmpl $0, %eax
jne LBB1_46
## %bb.45:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_46: ## in Loop: Header=BB1_43 Depth=1
jmp LBB1_47
LBB1_47: ## in Loop: Header=BB1_43 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %eax
movl %eax, -44(%rbp)
jmp LBB1_43
LBB1_48:
cmpq $0, -24(%rbp)
je LBB1_51
## %bb.49:
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_51
## %bb.50:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_51:
jmp LBB1_52
LBB1_52:
jmp LBB1_56
LBB1_53:
cmpl $0, -40(%rbp)
je LBB1_55
## %bb.54:
movl $-1, -4(%rbp)
jmp LBB1_57
LBB1_55:
jmp LBB1_56
LBB1_56:
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
LBB1_57:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_9, LBB1_9-LJTI1_0
.set L1_0_set_14, LBB1_14-LJTI1_0
.set L1_0_set_19, LBB1_19-LJTI1_0
.set L1_0_set_24, LBB1_24-LJTI1_0
LJTI1_0:
.long L1_0_set_9
.long L1_0_set_14
.long L1_0_set_19
.long L1_0_set_24
.end_data_region
## -- End function
.section __TEXT,__const
.p2align 4 ## @Base64
_Base64:
.asciz "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
.subsections_via_symbols
| the_stack_data/71341.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_func ; -- Begin function thread_func
.p2align 2
_thread_func: ; @thread_func
.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]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #16]
; 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
mov w0, #1
bl _sleep
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
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, #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 wzr, [sp, #52]
str w0, [sp, #48]
str x1, [sp, #40]
str wzr, [sp, #36]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #56
add x0, x8, x9, lsl #3
ldrsw x3, [sp, #36]
mov x1, #0
adrp x2, _thread_func@PAGE
add x2, x2, _thread_func@PAGEOFF
bl _pthread_create
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w8, #-1
str w8, [sp, #52]
b LBB1_14
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB1_1
LBB1_6:
str wzr, [sp, #32]
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #56
ldr x0, [x8, x9, lsl #3]
add x1, sp, #24
bl _pthread_join
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=1
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_11
LBB1_10:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _perror
mov w8, #-1
str w8, [sp, #52]
b LBB1_14
LBB1_11: ; in Loop: Header=BB1_7 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_7 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_7
LBB1_13:
str wzr, [sp, #52]
b LBB1_14
LBB1_14:
ldr w8, [sp, #52]
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, LBB1_16
b LBB1_15
LBB1_15:
bl ___stack_chk_fail
LBB1_16:
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 "id = %d, i = %d\n"
l_.str.1: ; @.str.1
.asciz "finished!"
l_.str.2: ; @.str.2
.asciz "pthread_create"
l_.str.3: ; @.str.3
.asciz "msg = %s\n"
l_.str.4: ; @.str.4
.asciz "pthread_join"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_func ## -- Begin function thread_func
.p2align 4, 0x90
_thread_func: ## @thread_func
.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
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -16(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
movl -16(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.1(%rip), %rax
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 $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
movl %edi, -104(%rbp)
movq %rsi, -112(%rbp)
movl $0, -116(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -116(%rbp)
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -116(%rbp), %rax
leaq -96(%rbp), %rdi
shlq $3, %rax
addq %rax, %rdi
movslq -116(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _thread_func(%rip), %rdx
callq _pthread_create
cmpl $0, %eax
je LBB1_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $-1, -100(%rbp)
jmp LBB1_14
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB1_1
LBB1_6:
movl $0, -120(%rbp)
LBB1_7: ## =>This Inner Loop Header: Depth=1
cmpl $10, -120(%rbp)
jge LBB1_13
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
movslq -120(%rbp), %rax
movq -96(%rbp,%rax,8), %rdi
leaq -128(%rbp), %rsi
callq _pthread_join
cmpl $0, %eax
jne LBB1_10
## %bb.9: ## in Loop: Header=BB1_7 Depth=1
movq -128(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_11
LBB1_10:
leaq L_.str.4(%rip), %rdi
callq _perror
movl $-1, -100(%rbp)
jmp LBB1_14
LBB1_11: ## in Loop: Header=BB1_7 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_7 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB1_7
LBB1_13:
movl $0, -100(%rbp)
LBB1_14:
movl -100(%rbp), %eax
movl %eax, -132(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_16
## %bb.15:
movl -132(%rbp), %eax ## 4-byte Reload
addq $144, %rsp
popq %rbp
retq
LBB1_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "id = %d, i = %d\n"
L_.str.1: ## @.str.1
.asciz "finished!"
L_.str.2: ## @.str.2
.asciz "pthread_create"
L_.str.3: ## @.str.3
.asciz "msg = %s\n"
L_.str.4: ## @.str.4
.asciz "pthread_join"
.subsections_via_symbols
| the_stack_data/151706028.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 w0, #0
str wzr, [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 _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)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/141890.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
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x10, _x@GOTPAGE
ldr x10, [x10, _x@GOTPAGEOFF]
mov w8, #32
strh w8, [x10]
adrp x9, _y@GOTPAGE
ldr x9, [x9, _y@GOTPAGEOFF]
mov w8, #39322
movk w8, #16817, lsl #16
fmov s0, w8
str s0, [x9]
adrp x8, _letra@GOTPAGE
ldr x8, [x8, _letra@GOTPAGEOFF]
mov w11, #64
strb w11, [x8]
ldrsh w11, [x10]
ldr s0, [x9]
fcvt d0, s0
ldrsb w10, [x8]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
str d0, [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
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _x,2,1 ; @x
.comm _y,4,2 ; @y
.comm _letra,1,0 ; @letra
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Entero Corto: %d Real: %0.3f Letra: %c\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 0x41b1999a ## float 22.2000008
.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)
movq _x@GOTPCREL(%rip), %rax
movw $32, (%rax)
movq _y@GOTPCREL(%rip), %rax
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax)
movq _letra@GOTPCREL(%rip), %rax
movb $64, (%rax)
movq _x@GOTPCREL(%rip), %rax
movswl (%rax), %esi
movq _y@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq _letra@GOTPCREL(%rip), %rax
movsbl (%rax), %edx
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _x,2,1 ## @x
.comm _y,4,2 ## @y
.comm _letra,1,0 ## @letra
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Entero Corto: %d Real: %0.3f Letra: %c\n"
.subsections_via_symbols
| the_stack_data/1142689.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mm ; -- Begin function mm
.p2align 2
_mm: ; @mm
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, #72]
str x1, [sp, #64]
str x2, [sp, #56]
str w3, [sp, #52]
str wzr, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #48]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #44]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #44]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
movi d0, #0000000000000000
str d0, [sp, #32]
str wzr, [sp, #28]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #28]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldr x8, [sp, #72]
ldr w9, [sp, #48]
ldr w10, [sp, #52]
mul w9, w9, w10
ldr w10, [sp, #28]
add w9, w9, w10
ldr d0, [x8, w9, sxtw #3]
str d0, [sp, #16]
ldr x8, [sp, #64]
ldr w9, [sp, #28]
ldr w10, [sp, #52]
mul w9, w9, w10
ldr w10, [sp, #44]
add w9, w9, w10
ldr d0, [x8, w9, sxtw #3]
str d0, [sp, #8]
ldr d0, [sp, #16]
ldr d1, [sp, #8]
ldr d2, [sp, #32]
fmadd d0, d0, d1, d2
str d0, [sp, #32]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
ldr d0, [sp, #32]
ldr x8, [sp, #56]
ldr w9, [sp, #48]
ldr w10, [sp, #52]
mul w9, w9, w10
ldr w10, [sp, #44]
add w9, w9, w10
str d0, [x8, w9, sxtw #3]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_1
LBB0_12:
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 w8, #2000
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
ldur w9, [x29, #-8]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x0, x8, #3
bl _malloc
stur x0, [x29, #-16]
ldur w8, [x29, #-8]
ldur w9, [x29, #-8]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x0, x8, #3
bl _malloc
str x0, [sp, #24]
ldur w8, [x29, #-8]
ldur w9, [x29, #-8]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x0, x8, #3
bl _malloc
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #8]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr s1, [sp, #12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur x8, [x29, #-16]
ldr w9, [sp, #12]
ldur w10, [x29, #-8]
mul w9, w9, w10
ldr w10, [sp, #8]
add w9, w9, w10
str d0, [x8, w9, sxtw #3]
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
ldr x8, [sp, #24]
ldr w9, [sp, #12]
ldur w10, [x29, #-8]
mul w9, w9, w10
ldr w10, [sp, #8]
add w9, w9, w10
str d0, [x8, w9, sxtw #3]
ldr x8, [sp, #16]
ldr w9, [sp, #12]
ldur w10, [x29, #-8]
mul w9, w9, w10
ldr w10, [sp, #8]
add w9, w9, w10
movi d0, #0000000000000000
str d0, [x8, w9, sxtw #3]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_8:
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
ldr x2, [sp, #16]
ldur w3, [x29, #-8]
bl _mm
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mm ## -- Begin function mm
.p2align 4, 0x90
_mm: ## @mm
.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 %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl $0, -32(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -36(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movl -36(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
xorps %xmm0, %xmm0
movsd %xmm0, -48(%rbp)
movl $0, -52(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -52(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
imull -28(%rbp), %ecx
addl -52(%rbp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp)
movq -16(%rbp), %rax
movl -52(%rbp), %ecx
imull -28(%rbp), %ecx
addl -36(%rbp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -72(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -72(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -48(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=3
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
imull -28(%rbp), %ecx
addl -36(%rbp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.9: ## in Loop: Header=BB0_3 Depth=2
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_1
LBB0_12:
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 $48, %rsp
movl $0, -4(%rbp)
movl $2000, -8(%rbp) ## imm = 0x7D0
movl -8(%rbp), %eax
imull -8(%rbp), %eax
movslq %eax, %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -16(%rbp)
movl -8(%rbp), %eax
imull -8(%rbp), %eax
movslq %eax, %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl -8(%rbp), %eax
imull -8(%rbp), %eax
movslq %eax, %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -36(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -40(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
cvtsi2sdl -36(%rbp), %xmm0
movq -16(%rbp), %rax
movl -36(%rbp), %ecx
imull -8(%rbp), %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
cvtsi2sdl -40(%rbp), %xmm0
movq -24(%rbp), %rax
movl -36(%rbp), %ecx
imull -8(%rbp), %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -32(%rbp), %rax
movl -36(%rbp), %ecx
imull -8(%rbp), %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_1
LBB1_8:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movl -8(%rbp), %ecx
callq _mm
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/20451518.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add1 ; -- Begin function add1
.p2align 2
_add1: ; @add1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
add w0, w8, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _sub1 ; -- Begin function sub1
.p2align 2
_sub1: ; @sub1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w0, w8, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _fact ; -- Begin function fact
.p2align 2
_fact: ; @fact
.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, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_3
LBB2_2:
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
ldr w8, [sp, #8]
subs w0, w8, #1
bl _fact
ldr w8, [sp, #4] ; 4-byte Folded Reload
mul w8, w8, w0
stur w8, [x29, #-4]
b LBB2_3
LBB2_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _fib ; -- Begin function fib
.p2align 2
_fib: ; @fib
.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, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
stur wzr, [x29, #-4]
b LBB3_5
LBB3_2:
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB3_5
LBB3_4:
ldr w8, [sp, #8]
subs w0, w8, #1
bl _fib
str w0, [sp, #4] ; 4-byte Folded Spill
ldr w8, [sp, #8]
subs w0, w8, #2
bl _fib
mov x8, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
add w8, w0, w8
stur w8, [x29, #-4]
b LBB3_5
LBB3_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _zerohuh ; -- Begin function zerohuh
.p2align 2
_zerohuh: ; @zerohuh
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _mul2 ; -- Begin function mul2
.p2align 2
_mul2: ; @mul2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
ldr w8, [x9]
lsl w8, w8, #1
str w8, [x9]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _sus ; -- Begin function sus
.p2align 2
_sus: ; @sus
.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]
mov x8, #5
stur x8, [x29, #-8]
mov x0, #1
bl _malloc
str x0, [sp, #24]
ldr x9, [sp, #24]
mov w8, #65
strb w8, [x9]
mov x0, #40
bl _malloc
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB6_1
LBB6_1: ; =>This Loop Header: Depth=1
; Child Loop BB6_3 Depth 2
ldr w8, [sp, #12]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB6_8
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
mov x0, #40
bl _malloc
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
str x0, [x8, x9, lsl #3]
str wzr, [sp, #8]
b LBB6_3
LBB6_3: ; Parent Loop BB6_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB6_6
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=2
mov x0, #2
bl _malloc
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #8]
str x0, [x8, x9, lsl #3]
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #8]
ldr x0, [x8, x9, lsl #3]
ldr x1, [sp, #24]
mov x2, #-1
bl ___strcpy_chk
ldr x8, [sp, #24]
ldrsb w8, [x8]
add w8, w8, #1
ldr x9, [sp, #24]
strb w8, [x9]
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB6_3
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_1
LBB6_8:
ldr x0, [sp, #16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.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 x0, #8
str x0, [sp] ; 8-byte Folded Spill
bl _malloc
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
stur x8, [x29, #-8]
bl _malloc
str x0, [sp, #16]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _sus
str x0, [sp, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.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 x0, #8
str x0, [sp] ; 8-byte Folded Spill
bl _malloc
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
stur x8, [x29, #-8]
bl _malloc
str x0, [sp, #16]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _sus
str x0, [sp, #8]
ldr x8, [sp, #8]
add x8, x8, #16
str x8, [sp, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
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 _add1 ## -- Begin function add1
.p2align 4, 0x90
_add1: ## @add1
.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
addl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sub1 ## -- Begin function sub1
.p2align 4, 0x90
_sub1: ## @sub1
.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 $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fact ## -- Begin function fact
.p2align 4, 0x90
_fact: ## @fact
.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 $0, -8(%rbp)
jne LBB2_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB2_3
LBB2_2:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
subl $1, %edi
callq _fact
movl %eax, %ecx
movl -12(%rbp), %eax ## 4-byte Reload
imull %ecx, %eax
movl %eax, -4(%rbp)
LBB2_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fib ## -- Begin function fib
.p2align 4, 0x90
_fib: ## @fib
.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 $0, -8(%rbp)
jne LBB3_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB3_5
LBB3_2:
cmpl $1, -8(%rbp)
jne LBB3_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB3_5
LBB3_4:
movl -8(%rbp), %edi
subl $1, %edi
callq _fib
movl %eax, -12(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
subl $2, %edi
callq _fib
movl %eax, %ecx
movl -12(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -4(%rbp)
LBB3_5:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _zerohuh ## -- Begin function zerohuh
.p2align 4, 0x90
_zerohuh: ## @zerohuh
.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)
cmpl $0, -4(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mul2 ## -- Begin function mul2
.p2align 4, 0x90
_mul2: ## @mul2
.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 (%rax), %ecx
shll $1, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sus ## -- Begin function sus
.p2align 4, 0x90
_sus: ## @sus
.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)
movl $5, %eax
movq %rax, -8(%rbp)
movl $1, %edi
callq _malloc
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movb $65, (%rax)
movl $40, %edi
callq _malloc
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_3 Depth 2
cmpl $5, -36(%rbp)
jge LBB6_8
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movl $40, %edi
callq _malloc
movq %rax, %rdx
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl $0, -40(%rbp)
LBB6_3: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $5, -40(%rbp)
jge LBB6_6
## %bb.4: ## in Loop: Header=BB6_3 Depth=2
movl $2, %edi
callq _malloc
movq %rax, %rdx
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -40(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -24(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -24(%rbp), %rax
movsbl (%rax), %eax
addl $1, %eax
movb %al, %cl
movq -24(%rbp), %rax
movb %cl, (%rax)
## %bb.5: ## in Loop: Header=BB6_3 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB6_3
LBB6_6: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_7
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB6_1
LBB6_8:
movq -32(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.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
subq $32, %rsp
movl $8, %edi
callq _malloc
movq %rax, -8(%rbp)
movl $8, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _sus
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.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 $8, %edi
callq _malloc
movq %rax, -8(%rbp)
movl $8, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _sus
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
addq $16, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/315065.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]
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 x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
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
ldur w8, [x29, #-8]
subs w8, w8, #101
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _system
b LBB0_2
LBB0_2:
ldur w8, [x29, #-8]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3:
ldur w8, [x29, #-8]
subs w8, w8, #51
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
fmov d0, #10.00000000
str d0, [sp, #16]
b LBB0_5
LBB0_5:
ldur w8, [x29, #-8]
subs w8, w8, #50
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
fmov d0, #5.00000000
str d0, [sp, #16]
b LBB0_7
LBB0_7:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
subs w8, w8, #1001
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldur w8, [x29, #-12]
mov w9, #1001
sdiv w8, w8, w9
add w8, w8, #1
scvtf d0, w8
ldr d1, [sp, #16]
fmul d0, d0, d1
str d0, [sp, #24]
ldr d0, [sp, #24]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_9
LBB0_9:
ldur w8, [x29, #-12]
subs w8, w8, #1000
cset w8, gt
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr d0, [sp, #16]
str d0, [sp, #24]
ldr d0, [sp, #24]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_11
LBB0_11:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _system
ldur w0, [x29, #-4]
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 "This calculator will tell you the cost of shipping your package. \n"
l_.str.1: ; @.str.1
.asciz "Please input the weight of your packge: \n"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Your package weighs %d pounds \n"
l_.str.4: ; @.str.4
.asciz "We do not ship packages over 100 pounds, sorry.\n"
l_.str.5: ; @.str.5
.asciz "pause"
l_.str.6: ; @.str.6
.asciz "How many miles does your package need to go? : \n"
l_.str.7: ; @.str.7
.asciz "Shipping cost will be : $%.2lf\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 0x4024000000000000 ## double 10
LCPI0_1:
.quad 0x4014000000000000 ## double 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 $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
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
cmpl $101, -8(%rbp)
jl LBB0_2
## %bb.1:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
callq _system
LBB0_2:
cmpl $100, -8(%rbp)
jg LBB0_5
## %bb.3:
cmpl $51, -8(%rbp)
jle LBB0_5
## %bb.4:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
LBB0_5:
cmpl $50, -8(%rbp)
jg LBB0_7
## %bb.6:
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
LBB0_7:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1001, -12(%rbp) ## imm = 0x3E9
jl LBB0_9
## %bb.8:
movl -12(%rbp), %eax
movl $1001, %ecx ## imm = 0x3E9
cltd
idivl %ecx
addl $1, %eax
cvtsi2sd %eax, %xmm0
mulsd -32(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
LBB0_9:
cmpl $1000, -12(%rbp) ## imm = 0x3E8
jg LBB0_11
## %bb.10:
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
LBB0_11:
leaq L_.str.5(%rip), %rdi
callq _system
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "This calculator will tell you the cost of shipping your package. \n"
L_.str.1: ## @.str.1
.asciz "Please input the weight of your packge: \n"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Your package weighs %d pounds \n"
L_.str.4: ## @.str.4
.asciz "We do not ship packages over 100 pounds, sorry.\n"
L_.str.5: ## @.str.5
.asciz "pause"
L_.str.6: ## @.str.6
.asciz "How many miles does your package need to go? : \n"
L_.str.7: ## @.str.7
.asciz "Shipping cost will be : $%.2lf\n"
.subsections_via_symbols
| the_stack_data/65793.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main_c ; -- Begin function main_c
.p2align 2
_main_c: ; @main_c
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #88
bl _putchar
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_c ## -- Begin function main_c
.p2align 4, 0x90
_main_c: ## @main_c
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $88, %edi
movb $0, %al
callq _putchar
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/45950.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/24058.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
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 wzr, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #32]
sub x8, x29, #40
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 LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_1
LBB0_4:
str wzr, [sp, #28]
str wzr, [sp, #24]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x8, [sp, #24]
sub x9, x29, #40
ldr w8, [x9, x8, lsl #2]
ldr w10, [sp, #24]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
mul w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #24]
sub x8, x29, #40
ldr w9, [x8, x9, lsl #2]
ldr w10, [sp, #24]
add w10, w10, #1
ldr w10, [x8, w10, sxtw #2]
mul w10, w9, w10
ldrsw x11, [sp, #24]
add x9, sp, #40
str w10, [x9, x11, lsl #2]
ldr w10, [sp, #24]
add w10, w10, #1
ldr w8, [x8, w10, sxtw #2]
subs w8, w8, #1
ldr w10, [sp, #24]
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #28]
add w8, w8, #2
str w8, [sp, #28]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #24]
add w8, w8, #2
str w8, [sp, #24]
b LBB0_5
LBB0_10:
str wzr, [sp, #20]
b LBB0_11
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #40
ldr w9, [x8, x9, lsl #2]
; 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
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_11
LBB0_14:
ldr w8, [sp, #28]
subs w9, w8, #1
add x8, sp, #40
ldr w9, [x8, w9, sxtw #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
ldr w8, [sp, #36]
str w8, [sp, #16] ; 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_16
b LBB0_15
LBB0_15:
bl ___stack_chk_fail
LBB0_16:
ldr w0, [sp, #16] ; 4-byte Folded Reload
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 "%d"
l_.str.1: ; @.str.1
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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)
movl $0, -88(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -88(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -88(%rbp), %rax
leaq -48(%rbp), %rsi
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 -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -92(%rbp)
movl $0, -96(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $8, -96(%rbp)
jge LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -96(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movl -96(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
imull -48(%rbp,%rcx,4), %eax
cmpl $0, %eax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movslq -96(%rbp), %rax
movl -48(%rbp,%rax,4), %ecx
movl -96(%rbp), %eax
addl $1, %eax
cltq
imull -48(%rbp,%rax,4), %ecx
movslq -96(%rbp), %rax
movl %ecx, -80(%rbp,%rax,4)
movl -96(%rbp), %eax
addl $1, %eax
cltq
movl -48(%rbp,%rax,4), %ecx
subl $1, %ecx
movl -96(%rbp), %eax
addl $1, %eax
cltq
movl %ecx, -80(%rbp,%rax,4)
movl -92(%rbp), %eax
addl $2, %eax
movl %eax, -92(%rbp)
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movl -96(%rbp), %eax
addl $2, %eax
movl %eax, -96(%rbp)
jmp LBB0_5
LBB0_10:
movl $0, -100(%rbp)
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl -100(%rbp), %eax
movl -92(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movslq -100(%rbp), %rax
movl -80(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB0_11
LBB0_14:
movl -92(%rbp), %eax
subl $1, %eax
cltq
movl -80(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
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 LBB0_16
## %bb.15:
movl -104(%rbp), %eax ## 4-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB0_16:
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 "
.subsections_via_symbols
| the_stack_data/159515125.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_barh_d0i2i0s0s0_ ; -- Begin function scilab_rt_barh_d0i2i0s0s0_
.p2align 2
_scilab_rt_barh_d0i2i0s0s0_: ; @scilab_rt_barh_d0i2i0s0s0_
.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
stur d0, [x29, #-8]
stur w0, [x29, #-12]
stur w1, [x29, #-16]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
stur x4, [x29, #-40]
str x5, [sp, #48]
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
str wzr, [sp, #36]
ldur d0, [x29, #-8]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #44]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #44]
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, #40]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldur w9, [x29, #-16]
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, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
ldrsw x9, [sp, #44]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #40]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #36]
add w8, w8, w9
str w8, [sp, #36]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
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, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_1
LBB0_8:
ldr w9, [sp, #36]
; 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
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur x8, [x29, #-40]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #48]
mov x9, sp
str x8, [x9]
bl _printf
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
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_barh_d0i2i0s0s0_ ## -- Begin function scilab_rt_barh_d0i2i0s0s0_
.p2align 4, 0x90
_scilab_rt_barh_d0i2i0s0s0_: ## @scilab_rt_barh_d0i2i0s0s0_
.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
movsd %xmm0, -8(%rbp)
movl %edi, -12(%rbp)
movl %esi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movl $0, -60(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -52(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -56(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -72(%rbp), %rdx ## 8-byte Reload
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -60(%rbp), %eax
movl %eax, -60(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%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 -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_1
LBB0_8:
movl -60(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -28(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -40(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -48(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $80, %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/242946.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/161080393.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _slalsa_ ; -- Begin function slalsa_
.p2align 2
_slalsa_: ; @slalsa_
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #640
mov x26, x0
mov x25, x1
mov x24, x2
mov x23, x3
mov x22, x4
mov x21, x5
mov x20, x6
mov x19, x7
ldr x7, [x29, #16]
ldr x6, [x29, #24]
ldr x5, [x29, #32]
ldr x4, [x29, #40]
ldr x3, [x29, #48]
ldr x2, [x29, #56]
ldr x1, [x29, #64]
ldr x0, [x29, #72]
ldr x17, [x29, #80]
ldr x16, [x29, #88]
ldr x15, [x29, #96]
ldr x14, [x29, #104]
ldr x13, [x29, #112]
ldr x12, [x29, #120]
ldr x11, [x29, #128]
ldr x10, [x29, #136]
ldr x9, [x29, #144]
ldr x8, [x29, #152]
adrp x27, _c__2@PAGE
add x27, x27, _c__2@PAGEOFF
; kill: def $w27 killed $w27 killed $x27
str w27, [sp, #228] ; 4-byte Folded Spill
stur x26, [x29, #-96]
stur x25, [x29, #-104]
stur x24, [x29, #-112]
stur x23, [x29, #-120]
stur x22, [x29, #-128]
stur x21, [x29, #-136]
stur x20, [x29, #-144]
stur x19, [x29, #-152]
stur x7, [x29, #-160]
stur x6, [x29, #-168]
stur x5, [x29, #-176]
stur x4, [x29, #-184]
stur x3, [x29, #-192]
stur x2, [x29, #-200]
stur x1, [x29, #-208]
stur x0, [x29, #-216]
stur x17, [x29, #-224]
stur x16, [x29, #-232]
stur x15, [x29, #-240]
stur x14, [x29, #-248]
stur x13, [x29, #-256]
str x12, [sp, #456]
str x11, [sp, #448]
str x10, [sp, #440]
str x9, [sp, #432]
str x8, [sp, #424]
ldur x8, [x29, #-136]
ldr w8, [x8]
str w8, [sp, #404]
ldr w8, [sp, #404]
mov x9, #0
str x9, [sp, #232] ; 8-byte Folded Spill
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #400]
ldrsw x10, [sp, #400]
ldur x8, [x29, #-128]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-128]
ldur x8, [x29, #-152]
ldr w8, [x8]
str w8, [sp, #396]
ldr w8, [sp, #396]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #392]
ldrsw x10, [sp, #392]
ldur x8, [x29, #-144]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-144]
ldur x8, [x29, #-168]
ldr w8, [x8]
str w8, [sp, #372]
ldr w8, [sp, #372]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #368]
ldrsw x10, [sp, #368]
ldur x8, [x29, #-256]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-256]
ldur x8, [x29, #-168]
ldr w8, [x8]
str w8, [sp, #364]
ldr w8, [sp, #364]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #360]
ldrsw x10, [sp, #360]
ldur x8, [x29, #-216]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-216]
ldur x8, [x29, #-168]
ldr w8, [x8]
str w8, [sp, #340]
ldr w8, [sp, #340]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #336]
ldrsw x10, [sp, #336]
ldur x8, [x29, #-208]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-208]
ldur x8, [x29, #-168]
ldr w8, [x8]
str w8, [sp, #380]
ldr w8, [sp, #380]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #376]
ldrsw x10, [sp, #376]
ldur x8, [x29, #-200]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-200]
ldur x8, [x29, #-168]
ldr w8, [x8]
str w8, [sp, #388]
ldr w8, [sp, #388]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #384]
ldrsw x10, [sp, #384]
ldur x8, [x29, #-192]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-192]
ldur x8, [x29, #-168]
ldr w8, [x8]
str w8, [sp, #348]
ldr w8, [sp, #348]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #344]
ldrsw x10, [sp, #344]
ldur x8, [x29, #-176]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-176]
ldur x8, [x29, #-168]
ldr w8, [x8]
str w8, [sp, #356]
ldr w8, [sp, #356]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #352]
ldrsw x10, [sp, #352]
ldur x8, [x29, #-160]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-160]
ldur x8, [x29, #-184]
subs x8, x8, #4
stur x8, [x29, #-184]
ldur x8, [x29, #-224]
subs x8, x8, #4
stur x8, [x29, #-224]
ldur x8, [x29, #-240]
ldr w8, [x8]
str w8, [sp, #412]
ldr w8, [sp, #412]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #408]
ldrsw x10, [sp, #408]
ldur x8, [x29, #-248]
subs x10, x9, x10
add x8, x8, x10, lsl #2
stur x8, [x29, #-248]
ldur x8, [x29, #-240]
ldr w8, [x8]
str w8, [sp, #420]
ldr w8, [sp, #420]
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #416]
ldrsw x10, [sp, #416]
ldur x8, [x29, #-232]
subs x9, x9, x10
add x8, x8, x9, lsl #2
stur x8, [x29, #-232]
ldr x8, [sp, #456]
subs x8, x8, #4
str x8, [sp, #456]
ldr x8, [sp, #448]
subs x8, x8, #4
str x8, [sp, #448]
ldr x8, [sp, #440]
subs x8, x8, #4
str x8, [sp, #440]
ldr x8, [sp, #432]
subs x8, x8, #4
str x8, [sp, #432]
ldr x8, [sp, #424]
str wzr, [x8]
ldur x8, [x29, #-96]
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-96]
ldr w8, [x8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x9, [sp, #424]
mov w8, #-1
str w8, [x9]
b LBB0_24
LBB0_3:
ldur x8, [x29, #-104]
ldr w8, [x8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x9, [sp, #424]
mov w8, #-2
str w8, [x9]
b LBB0_23
LBB0_5:
ldur x8, [x29, #-112]
ldr w8, [x8]
ldur x9, [x29, #-104]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x9, [sp, #424]
mov w8, #-3
str w8, [x9]
b LBB0_22
LBB0_7:
ldur x8, [x29, #-120]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr x9, [sp, #424]
mov w8, #-4
str w8, [x9]
b LBB0_21
LBB0_9:
ldur x8, [x29, #-136]
ldr w8, [x8]
ldur x9, [x29, #-112]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x9, [sp, #424]
mov w8, #-6
str w8, [x9]
b LBB0_20
LBB0_11:
ldur x8, [x29, #-152]
ldr w8, [x8]
ldur x9, [x29, #-112]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr x9, [sp, #424]
mov w8, #-8
str w8, [x9]
b LBB0_19
LBB0_13:
ldur x8, [x29, #-168]
ldr w8, [x8]
ldur x9, [x29, #-112]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldr x9, [sp, #424]
mov w8, #-10
str w8, [x9]
b LBB0_18
LBB0_15:
ldur x8, [x29, #-240]
ldr w8, [x8]
ldur x9, [x29, #-112]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldr x9, [sp, #424]
mov w8, #-19
str w8, [x9]
b LBB0_17
LBB0_17:
b LBB0_18
LBB0_18:
b LBB0_19
LBB0_19:
b LBB0_20
LBB0_20:
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
b LBB0_23
LBB0_23:
b LBB0_24
LBB0_24:
ldr x8, [sp, #424]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
ldr x8, [sp, #424]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
add x1, sp, #332
str w8, [sp, #332]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w2, #6
bl _xerbla_
stur wzr, [x29, #-84]
b LBB0_71
LBB0_26:
mov w8, #1
str w8, [sp, #308]
ldr w8, [sp, #308]
ldur x9, [x29, #-112]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #304]
ldr w8, [sp, #304]
ldur x9, [x29, #-112]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #300]
ldur x0, [x29, #-112]
ldr x8, [sp, #432]
ldrsw x9, [sp, #308]
add x3, x8, x9, lsl #2
ldr x8, [sp, #432]
ldrsw x9, [sp, #304]
add x4, x8, x9, lsl #2
ldr x8, [sp, #432]
ldrsw x9, [sp, #300]
add x5, x8, x9, lsl #2
ldur x6, [x29, #-104]
add x1, sp, #324
add x2, sp, #284
bl _slasdt_
ldur x8, [x29, #-96]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
b LBB0_48
LBB0_28:
ldr w8, [sp, #284]
add w8, w8, #1
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #252]
ldr w8, [sp, #284]
str w8, [sp, #332]
ldr w8, [sp, #252]
str w8, [sp, #316]
b LBB0_29
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #316]
ldr w9, [sp, #332]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_32
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_29 Depth=1
ldr w8, [sp, #316]
subs w8, w8, #1
str w8, [sp, #296]
ldr x8, [sp, #432]
ldr w9, [sp, #308]
ldr w10, [sp, #296]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #292]
ldr x8, [sp, #432]
ldr w9, [sp, #304]
ldr w10, [sp, #296]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
add x4, sp, #276
str w8, [sp, #276]
ldr x8, [sp, #432]
ldr w9, [sp, #300]
ldr w10, [sp, #296]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
add x9, sp, #272
str x9, [sp, #200] ; 8-byte Folded Spill
str w8, [sp, #272]
ldr w8, [sp, #292]
ldr w9, [sp, #276]
subs w8, w8, w9
str w8, [sp, #264]
ldr w8, [sp, #292]
add w8, w8, #1
str w8, [sp, #260]
ldur x3, [x29, #-120]
ldur x8, [x29, #-160]
ldr w9, [sp, #264]
ldr w10, [sp, #356]
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-168]
ldur x8, [x29, #-128]
ldr w9, [sp, #264]
ldr w10, [sp, #404]
add w9, w9, w10
add x12, x8, w9, sxtw #2
ldur x11, [x29, #-136]
ldur x8, [x29, #-144]
ldr w9, [sp, #264]
ldr w10, [sp, #396]
add w9, w9, w10
add x10, x8, w9, sxtw #2
ldur x8, [x29, #-152]
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
adrp x11, _c_b8@PAGE
add x11, x11, _c_b8@PAGEOFF
str x11, [sp, #184] ; 8-byte Folded Spill
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #216] ; 8-byte Folded Spill
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
str x1, [sp, #192] ; 8-byte Folded Spill
mov x2, x4
adrp x5, _c_b7@PAGE
add x5, x5, _c_b7@PAGEOFF
str x5, [sp, #208] ; 8-byte Folded Spill
bl _sgemm_
ldr x11, [sp, #184] ; 8-byte Folded Reload
ldr x1, [sp, #192] ; 8-byte Folded Reload
ldr x4, [sp, #200] ; 8-byte Folded Reload
ldr x5, [sp, #208] ; 8-byte Folded Reload
ldr x0, [sp, #216] ; 8-byte Folded Reload
ldur x3, [x29, #-120]
ldur x8, [x29, #-160]
ldr w9, [sp, #260]
ldr w10, [sp, #356]
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-168]
ldur x8, [x29, #-128]
ldr w9, [sp, #260]
ldr w10, [sp, #404]
add w9, w9, w10
add x13, x8, w9, sxtw #2
ldur x12, [x29, #-136]
ldur x8, [x29, #-144]
ldr w9, [sp, #260]
ldr w10, [sp, #396]
add w9, w9, w10
add x10, x8, w9, sxtw #2
ldur x8, [x29, #-152]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
mov x2, x4
bl _sgemm_
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_29 Depth=1
ldr w8, [sp, #316]
add w8, w8, #1
str w8, [sp, #316]
b LBB0_29
LBB0_32:
ldr w8, [sp, #284]
str w8, [sp, #332]
mov w8, #1
str w8, [sp, #316]
b LBB0_33
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #316]
ldr w9, [sp, #332]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_36
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_33 Depth=1
ldr x8, [sp, #432]
ldr w9, [sp, #308]
ldr w10, [sp, #316]
add w9, w9, w10
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #292]
ldur x0, [x29, #-120]
ldur x8, [x29, #-128]
ldr w9, [sp, #292]
ldr w10, [sp, #404]
add w9, w9, w10
add x1, x8, w9, sxtw #2
ldur x2, [x29, #-136]
ldur x8, [x29, #-144]
ldr w9, [sp, #292]
ldr w10, [sp, #396]
add w9, w9, w10
add x3, x8, w9, sxtw #2
ldur x4, [x29, #-152]
bl _scopy_
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_33 Depth=1
ldr w8, [sp, #316]
add w8, w8, #1
str w8, [sp, #316]
b LBB0_33
LBB0_36:
ldr w0, [sp, #228] ; 4-byte Folded Reload
add x8, sp, #324
mov x1, x8
bl _pow_ii
str w0, [sp, #312]
str wzr, [sp, #320]
ldr w8, [sp, #324]
str w8, [sp, #256]
b LBB0_37
LBB0_37: ; =>This Loop Header: Depth=1
; Child Loop BB0_42 Depth 2
ldr w8, [sp, #256]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_47
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_37 Depth=1
ldr w8, [sp, #256]
lsl w8, w8, #1
subs w8, w8, #1
str w8, [sp, #244]
ldr w8, [sp, #256]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_40
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_37 Depth=1
mov w8, #1
str w8, [sp, #288]
str w8, [sp, #280]
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_37 Depth=1
ldr w0, [sp, #228] ; 4-byte Folded Reload
ldr w8, [sp, #256]
subs w9, w8, #1
add x8, sp, #332
str w9, [sp, #332]
mov x1, x8
bl _pow_ii
str w0, [sp, #288]
ldr w8, [sp, #288]
lsl w8, w8, #1
subs w8, w8, #1
str w8, [sp, #280]
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_37 Depth=1
ldr w8, [sp, #280]
str w8, [sp, #332]
ldr w8, [sp, #288]
str w8, [sp, #316]
b LBB0_42
LBB0_42: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #316]
ldr w9, [sp, #332]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_45
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_42 Depth=2
ldr w8, [sp, #316]
subs w8, w8, #1
str w8, [sp, #268]
ldr x8, [sp, #432]
ldr w9, [sp, #308]
ldr w10, [sp, #268]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #292]
ldr x8, [sp, #432]
ldr w9, [sp, #304]
ldr w10, [sp, #268]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
add x1, sp, #276
str w8, [sp, #276]
ldr x8, [sp, #432]
ldr w9, [sp, #300]
ldr w10, [sp, #268]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
add x2, sp, #272
str w8, [sp, #272]
ldr w8, [sp, #292]
ldr w9, [sp, #276]
subs w8, w8, w9
str w8, [sp, #264]
ldr w8, [sp, #292]
add w8, w8, #1
str w8, [sp, #260]
ldr w8, [sp, #312]
subs w8, w8, #1
str w8, [sp, #312]
ldur x0, [x29, #-96]
ldur x4, [x29, #-120]
ldur x8, [x29, #-144]
ldr w9, [sp, #264]
ldr w10, [sp, #396]
add w9, w9, w10
add x5, x8, w9, sxtw #2
ldur x6, [x29, #-152]
ldur x8, [x29, #-128]
ldr w9, [sp, #264]
ldr w10, [sp, #404]
add w9, w9, w10
add x7, x8, w9, sxtw #2
ldur x24, [x29, #-136]
ldur x8, [x29, #-248]
ldr w9, [sp, #264]
ldr w10, [sp, #256]
ldr w11, [sp, #412]
mul w10, w10, w11
add w9, w9, w10
add x23, x8, w9, sxtw #2
ldur x8, [x29, #-224]
ldrsw x9, [sp, #312]
add x22, x8, x9, lsl #2
ldur x8, [x29, #-232]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #420]
mul w10, w10, w11
add w9, w9, w10
add x21, x8, w9, sxtw #2
ldur x20, [x29, #-240]
ldur x8, [x29, #-256]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #372]
mul w10, w10, w11
add w9, w9, w10
add x19, x8, w9, sxtw #2
ldur x3, [x29, #-168]
ldur x8, [x29, #-216]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #364]
mul w10, w10, w11
add w9, w9, w10
add x17, x8, w9, sxtw #2
ldur x8, [x29, #-192]
ldr w9, [sp, #264]
ldr w10, [sp, #256]
ldr w11, [sp, #388]
mul w10, w10, w11
add w9, w9, w10
add x16, x8, w9, sxtw #2
ldur x8, [x29, #-200]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #380]
mul w10, w10, w11
add w9, w9, w10
add x15, x8, w9, sxtw #2
ldur x8, [x29, #-208]
ldr w9, [sp, #264]
ldr w10, [sp, #256]
ldr w11, [sp, #340]
mul w10, w10, w11
add w9, w9, w10
add x14, x8, w9, sxtw #2
ldur x8, [x29, #-184]
ldrsw x9, [sp, #312]
add x13, x8, x9, lsl #2
ldr x8, [sp, #456]
ldrsw x9, [sp, #312]
add x12, x8, x9, lsl #2
ldr x8, [sp, #448]
ldrsw x9, [sp, #312]
add x11, x8, x9, lsl #2
ldr x8, [sp, #440]
add x10, x8, #4
ldr x8, [sp, #424]
mov x9, sp
str x9, [sp, #176] ; 8-byte Folded Spill
str x24, [x9]
str x23, [x9, #8]
str x22, [x9, #16]
str x21, [x9, #24]
str x20, [x9, #32]
str x19, [x9, #40]
str x3, [x9, #48]
str x17, [x9, #56]
str x16, [x9, #64]
str x15, [x9, #72]
str x14, [x9, #80]
str x13, [x9, #88]
str x12, [x9, #96]
str x11, [x9, #104]
str x10, [x9, #112]
str x8, [x9, #120]
add x3, sp, #320
bl _slals0_
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_42 Depth=2
ldr w8, [sp, #316]
add w8, w8, #1
str w8, [sp, #316]
b LBB0_42
LBB0_45: ; in Loop: Header=BB0_37 Depth=1
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_37 Depth=1
ldr w8, [sp, #256]
subs w8, w8, #1
str w8, [sp, #256]
b LBB0_37
LBB0_47:
b LBB0_70
LBB0_48:
str wzr, [sp, #312]
ldr w8, [sp, #324]
str w8, [sp, #332]
mov w8, #1
str w8, [sp, #256]
b LBB0_49
LBB0_49: ; =>This Loop Header: Depth=1
; Child Loop BB0_54 Depth 2
ldr w8, [sp, #256]
ldr w9, [sp, #332]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_62
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_49 Depth=1
ldr w8, [sp, #256]
lsl w8, w8, #1
subs w8, w8, #1
str w8, [sp, #244]
ldr w8, [sp, #256]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_49 Depth=1
mov w8, #1
str w8, [sp, #288]
str w8, [sp, #280]
b LBB0_53
LBB0_52: ; in Loop: Header=BB0_49 Depth=1
ldr w0, [sp, #228] ; 4-byte Folded Reload
ldr w8, [sp, #256]
subs w9, w8, #1
add x8, sp, #328
str w9, [sp, #328]
mov x1, x8
bl _pow_ii
str w0, [sp, #288]
ldr w8, [sp, #288]
lsl w8, w8, #1
subs w8, w8, #1
str w8, [sp, #280]
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_49 Depth=1
ldr w8, [sp, #288]
str w8, [sp, #328]
ldr w8, [sp, #280]
str w8, [sp, #316]
b LBB0_54
LBB0_54: ; Parent Loop BB0_49 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #316]
ldr w9, [sp, #328]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_60
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_54 Depth=2
ldr w8, [sp, #316]
subs w8, w8, #1
str w8, [sp, #268]
ldr x8, [sp, #432]
ldr w9, [sp, #308]
ldr w10, [sp, #268]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #292]
ldr x8, [sp, #432]
ldr w9, [sp, #304]
ldr w10, [sp, #268]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #276]
ldr x8, [sp, #432]
ldr w9, [sp, #300]
ldr w10, [sp, #268]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #272]
ldr w8, [sp, #292]
ldr w9, [sp, #276]
subs w8, w8, w9
str w8, [sp, #264]
ldr w8, [sp, #292]
add w8, w8, #1
str w8, [sp, #260]
ldr w8, [sp, #316]
ldr w9, [sp, #280]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_57
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_54 Depth=2
str wzr, [sp, #320]
b LBB0_58
LBB0_57: ; in Loop: Header=BB0_54 Depth=2
mov w8, #1
str w8, [sp, #320]
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_54 Depth=2
ldr w8, [sp, #312]
add w8, w8, #1
str w8, [sp, #312]
ldur x0, [x29, #-96]
ldur x4, [x29, #-120]
ldur x8, [x29, #-128]
ldr w9, [sp, #264]
ldr w10, [sp, #404]
add w9, w9, w10
add x5, x8, w9, sxtw #2
ldur x6, [x29, #-136]
ldur x8, [x29, #-144]
ldr w9, [sp, #264]
ldr w10, [sp, #396]
add w9, w9, w10
add x7, x8, w9, sxtw #2
ldur x22, [x29, #-152]
ldur x8, [x29, #-248]
ldr w9, [sp, #264]
ldr w10, [sp, #256]
ldr w11, [sp, #412]
mul w10, w10, w11
add w9, w9, w10
add x21, x8, w9, sxtw #2
ldur x8, [x29, #-224]
ldrsw x9, [sp, #312]
add x20, x8, x9, lsl #2
ldur x8, [x29, #-232]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #420]
mul w10, w10, w11
add w9, w9, w10
add x19, x8, w9, sxtw #2
ldur x3, [x29, #-240]
ldur x8, [x29, #-256]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #372]
mul w10, w10, w11
add w9, w9, w10
add x2, x8, w9, sxtw #2
ldur x1, [x29, #-168]
ldur x8, [x29, #-216]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #364]
mul w10, w10, w11
add w9, w9, w10
add x17, x8, w9, sxtw #2
ldur x8, [x29, #-192]
ldr w9, [sp, #264]
ldr w10, [sp, #256]
ldr w11, [sp, #388]
mul w10, w10, w11
add w9, w9, w10
add x16, x8, w9, sxtw #2
ldur x8, [x29, #-200]
ldr w9, [sp, #264]
ldr w10, [sp, #244]
ldr w11, [sp, #380]
mul w10, w10, w11
add w9, w9, w10
add x15, x8, w9, sxtw #2
ldur x8, [x29, #-208]
ldr w9, [sp, #264]
ldr w10, [sp, #256]
ldr w11, [sp, #340]
mul w10, w10, w11
add w9, w9, w10
add x14, x8, w9, sxtw #2
ldur x8, [x29, #-184]
ldrsw x9, [sp, #312]
add x13, x8, x9, lsl #2
ldr x8, [sp, #456]
ldrsw x9, [sp, #312]
add x12, x8, x9, lsl #2
ldr x8, [sp, #448]
ldrsw x9, [sp, #312]
add x11, x8, x9, lsl #2
ldr x8, [sp, #440]
add x10, x8, #4
ldr x8, [sp, #424]
mov x9, sp
str x9, [sp, #168] ; 8-byte Folded Spill
str x22, [x9]
str x21, [x9, #8]
str x20, [x9, #16]
str x19, [x9, #24]
str x3, [x9, #32]
str x2, [x9, #40]
str x1, [x9, #48]
str x17, [x9, #56]
str x16, [x9, #64]
str x15, [x9, #72]
str x14, [x9, #80]
str x13, [x9, #88]
str x12, [x9, #96]
str x11, [x9, #104]
str x10, [x9, #112]
str x8, [x9, #120]
add x1, sp, #276
add x2, sp, #272
add x3, sp, #320
bl _slals0_
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_54 Depth=2
ldr w8, [sp, #316]
subs w8, w8, #1
str w8, [sp, #316]
b LBB0_54
LBB0_60: ; in Loop: Header=BB0_49 Depth=1
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_49 Depth=1
ldr w8, [sp, #256]
add w8, w8, #1
str w8, [sp, #256]
b LBB0_49
LBB0_62:
ldr w8, [sp, #284]
add w8, w8, #1
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #252]
ldr w8, [sp, #284]
str w8, [sp, #332]
ldr w8, [sp, #252]
str w8, [sp, #316]
b LBB0_63
LBB0_63: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #316]
ldr w9, [sp, #332]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_69
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_63 Depth=1
ldr w8, [sp, #316]
subs w8, w8, #1
str w8, [sp, #296]
ldr x8, [sp, #432]
ldr w9, [sp, #308]
ldr w10, [sp, #296]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #292]
ldr x8, [sp, #432]
ldr w9, [sp, #304]
ldr w10, [sp, #296]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #276]
ldr x8, [sp, #432]
ldr w9, [sp, #300]
ldr w10, [sp, #296]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #272]
ldr w8, [sp, #276]
add w8, w8, #1
str w8, [sp, #248]
ldr w8, [sp, #316]
ldr w9, [sp, #284]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_66
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_63 Depth=1
ldr w8, [sp, #272]
str w8, [sp, #240]
b LBB0_67
LBB0_66: ; in Loop: Header=BB0_63 Depth=1
ldr w8, [sp, #272]
add w8, w8, #1
str w8, [sp, #240]
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_63 Depth=1
ldr w8, [sp, #292]
ldr w9, [sp, #276]
subs w8, w8, w9
str w8, [sp, #264]
ldr w8, [sp, #292]
add w8, w8, #1
str w8, [sp, #260]
ldur x3, [x29, #-120]
ldur x8, [x29, #-176]
ldr w9, [sp, #264]
ldr w10, [sp, #348]
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-168]
ldur x8, [x29, #-128]
ldr w9, [sp, #264]
ldr w10, [sp, #404]
add w9, w9, w10
add x12, x8, w9, sxtw #2
ldur x11, [x29, #-136]
ldur x8, [x29, #-144]
ldr w9, [sp, #264]
ldr w10, [sp, #396]
add w9, w9, w10
add x10, x8, w9, sxtw #2
ldur x8, [x29, #-152]
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
adrp x11, _c_b8@PAGE
add x11, x11, _c_b8@PAGEOFF
str x11, [sp, #136] ; 8-byte Folded Spill
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #160] ; 8-byte Folded Spill
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
str x1, [sp, #144] ; 8-byte Folded Spill
add x4, sp, #248
mov x2, x4
adrp x5, _c_b7@PAGE
add x5, x5, _c_b7@PAGEOFF
str x5, [sp, #152] ; 8-byte Folded Spill
bl _sgemm_
ldr x11, [sp, #136] ; 8-byte Folded Reload
ldr x1, [sp, #144] ; 8-byte Folded Reload
ldr x5, [sp, #152] ; 8-byte Folded Reload
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldur x3, [x29, #-120]
ldur x8, [x29, #-176]
ldr w9, [sp, #260]
ldr w10, [sp, #348]
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-168]
ldur x8, [x29, #-128]
ldr w9, [sp, #260]
ldr w10, [sp, #404]
add w9, w9, w10
add x13, x8, w9, sxtw #2
ldur x12, [x29, #-136]
ldur x8, [x29, #-144]
ldr w9, [sp, #260]
ldr w10, [sp, #396]
add w9, w9, w10
add x10, x8, w9, sxtw #2
ldur x8, [x29, #-152]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
add x4, sp, #240
mov x2, x4
bl _sgemm_
b LBB0_68
LBB0_68: ; in Loop: Header=BB0_63 Depth=1
ldr w8, [sp, #316]
add w8, w8, #1
str w8, [sp, #316]
b LBB0_63
LBB0_69:
b LBB0_70
LBB0_70:
stur wzr, [x29, #-84]
b LBB0_71
LBB0_71:
ldur w0, [x29, #-84]
add sp, sp, #640
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function pow_ii
_pow_ii: ; @pow_ii
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_12
b LBB1_1
LBB1_1:
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldr w8, [sp, #28]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
mov w8, #1
str w8, [sp, #20]
b LBB1_11
LBB1_4:
ldr w8, [sp, #28]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_5
LBB1_5:
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
ldr w9, [sp, #28]
mov w8, #1
sdiv w8, w8, w9
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_8
LBB1_7:
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_8
LBB1_8:
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #20]
b LBB1_10
LBB1_9:
ldr w9, [sp, #24]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #24]
b LBB1_10
LBB1_10:
b LBB1_11
LBB1_11:
b LBB1_12
LBB1_12:
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_16
b LBB1_13
LBB1_13:
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_24
b LBB1_14
LBB1_14:
ldr w8, [sp, #28]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_24
b LBB1_15
LBB1_15:
ldr w8, [sp, #28]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_24
b LBB1_16
LBB1_16:
ldrsw x8, [sp, #24]
str x8, [sp, #8]
mov w8, #1
str w8, [sp, #20]
b LBB1_17
LBB1_17: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_17 Depth=1
ldr w9, [sp, #28]
ldr w8, [sp, #20]
mul w8, w8, w9
str w8, [sp, #20]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_17 Depth=1
ldr x8, [sp, #8]
lsr x8, x8, #1
str x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_17 Depth=1
ldr w9, [sp, #28]
ldr w8, [sp, #28]
mul w8, w8, w9
str w8, [sp, #28]
b LBB1_22
LBB1_21:
b LBB1_23
LBB1_22: ; in Loop: Header=BB1_17 Depth=1
b LBB1_17
LBB1_23:
b LBB1_24
LBB1_24:
ldr w0, [sp, #20]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SLALSA"
l_.str.1: ; @.str.1
.asciz "T"
l_.str.2: ; @.str.2
.asciz "N"
.section __DATA,__data
.p2align 2 ; @c_b7
_c_b7:
.long 0x3f800000 ; float 1
.zerofill __DATA,__bss,_c_b8,4,2 ; @c_b8
.p2align 2 ; @c__2
_c__2:
.long 2 ; 0x2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _slalsa_ ## -- Begin function slalsa_
.p2align 4, 0x90
_slalsa_: ## @slalsa_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $552, %rsp ## imm = 0x228
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq 168(%rbp), %rax
movq 160(%rbp), %rax
movq 152(%rbp), %rax
movq 144(%rbp), %rax
movq 136(%rbp), %rax
movq 128(%rbp), %rax
movq 120(%rbp), %rax
movq 112(%rbp), %rax
movq 104(%rbp), %rax
movq 96(%rbp), %rax
movq 88(%rbp), %rax
movq 80(%rbp), %rax
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, -56(%rbp)
movq %rsi, -64(%rbp)
movq %rdx, -72(%rbp)
movq %rcx, -80(%rbp)
movq %r8, -88(%rbp)
movq %r9, -96(%rbp)
movq -96(%rbp), %rax
movl (%rax), %eax
movl %eax, -116(%rbp)
movl -116(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -120(%rbp)
movl -120(%rbp), %ecx
movq -88(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -88(%rbp)
movq 24(%rbp), %rax
movl (%rax), %eax
movl %eax, -124(%rbp)
movl -124(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -128(%rbp)
movl -128(%rbp), %ecx
movq 16(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 16(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -148(%rbp)
movl -148(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -152(%rbp)
movl -152(%rbp), %ecx
movq 128(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 128(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -156(%rbp)
movl -156(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -160(%rbp)
movl -160(%rbp), %ecx
movq 88(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 88(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -180(%rbp)
movl -180(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -184(%rbp)
movl -184(%rbp), %ecx
movq 80(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 80(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -140(%rbp)
movl -140(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -144(%rbp)
movl -144(%rbp), %ecx
movq 72(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 72(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -132(%rbp)
movl -132(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -136(%rbp)
movl -136(%rbp), %ecx
movq 64(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 64(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -172(%rbp)
movl -172(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -176(%rbp)
movl -176(%rbp), %ecx
movq 48(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 48(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -164(%rbp)
movl -164(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -168(%rbp)
movl -168(%rbp), %ecx
movq 32(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 32(%rbp)
movq 56(%rbp), %rax
addq $-4, %rax
movq %rax, 56(%rbp)
movq 96(%rbp), %rax
addq $-4, %rax
movq %rax, 96(%rbp)
movq 112(%rbp), %rax
movl (%rax), %eax
movl %eax, -108(%rbp)
movl -108(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -112(%rbp)
movl -112(%rbp), %ecx
movq 120(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 120(%rbp)
movq 112(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl -100(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -104(%rbp)
movl -104(%rbp), %ecx
movq 104(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 104(%rbp)
movq 136(%rbp), %rax
addq $-4, %rax
movq %rax, 136(%rbp)
movq 144(%rbp), %rax
addq $-4, %rax
movq %rax, 144(%rbp)
movq 152(%rbp), %rax
addq $-4, %rax
movq %rax, 152(%rbp)
movq 160(%rbp), %rax
addq $-4, %rax
movq %rax, 160(%rbp)
movq 168(%rbp), %rax
movl $0, (%rax)
movq -56(%rbp), %rax
cmpl $0, (%rax)
jl LBB0_2
## %bb.1:
movq -56(%rbp), %rax
cmpl $1, (%rax)
jle LBB0_3
LBB0_2:
movq 168(%rbp), %rax
movl $-1, (%rax)
jmp LBB0_24
LBB0_3:
movq -64(%rbp), %rax
cmpl $3, (%rax)
jge LBB0_5
## %bb.4:
movq 168(%rbp), %rax
movl $-2, (%rax)
jmp LBB0_23
LBB0_5:
movq -72(%rbp), %rax
movl (%rax), %eax
movq -64(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_7
## %bb.6:
movq 168(%rbp), %rax
movl $-3, (%rax)
jmp LBB0_22
LBB0_7:
movq -80(%rbp), %rax
cmpl $1, (%rax)
jge LBB0_9
## %bb.8:
movq 168(%rbp), %rax
movl $-4, (%rax)
jmp LBB0_21
LBB0_9:
movq -96(%rbp), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_11
## %bb.10:
movq 168(%rbp), %rax
movl $-6, (%rax)
jmp LBB0_20
LBB0_11:
movq 24(%rbp), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_13
## %bb.12:
movq 168(%rbp), %rax
movl $-8, (%rax)
jmp LBB0_19
LBB0_13:
movq 40(%rbp), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_15
## %bb.14:
movq 168(%rbp), %rax
movl $-10, (%rax)
jmp LBB0_18
LBB0_15:
movq 112(%rbp), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_17
## %bb.16:
movq 168(%rbp), %rax
movl $-19, (%rax)
LBB0_17:
jmp LBB0_18
LBB0_18:
jmp LBB0_19
LBB0_19:
jmp LBB0_20
LBB0_20:
jmp LBB0_21
LBB0_21:
jmp LBB0_22
LBB0_22:
jmp LBB0_23
LBB0_23:
jmp LBB0_24
LBB0_24:
movq 168(%rbp), %rax
cmpl $0, (%rax)
je LBB0_26
## %bb.25:
movq 168(%rbp), %rcx
xorl %eax, %eax
subl (%rcx), %eax
movl %eax, -188(%rbp)
leaq L_.str(%rip), %rdi
leaq -188(%rbp), %rsi
movl $6, %edx
callq _xerbla_
movl $0, -44(%rbp)
jmp LBB0_71
LBB0_26:
movl $1, -212(%rbp)
movl -212(%rbp), %eax
movq -72(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -216(%rbp)
movl -216(%rbp), %eax
movq -72(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -220(%rbp)
movq -72(%rbp), %rdi
movq 160(%rbp), %rcx
movslq -212(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq 160(%rbp), %r8
movslq -216(%rbp), %rax
shlq $2, %rax
addq %rax, %r8
movq 160(%rbp), %r9
movslq -220(%rbp), %rax
shlq $2, %rax
addq %rax, %r9
movq -64(%rbp), %rax
leaq -196(%rbp), %rsi
leaq -236(%rbp), %rdx
movq %rax, (%rsp)
callq _slasdt_
movq -56(%rbp), %rax
cmpl $1, (%rax)
jne LBB0_28
## %bb.27:
jmp LBB0_48
LBB0_28:
movl -236(%rbp), %eax
addl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -268(%rbp)
movl -236(%rbp), %eax
movl %eax, -188(%rbp)
movl -268(%rbp), %eax
movl %eax, -204(%rbp)
LBB0_29: ## =>This Inner Loop Header: Depth=1
movl -204(%rbp), %eax
cmpl -188(%rbp), %eax
jg LBB0_32
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movl -204(%rbp), %eax
subl $1, %eax
movl %eax, -224(%rbp)
movq 160(%rbp), %rax
movl -212(%rbp), %ecx
addl -224(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -228(%rbp)
movq 160(%rbp), %rax
movl -216(%rbp), %ecx
addl -224(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -244(%rbp)
movq 160(%rbp), %rax
movl -220(%rbp), %ecx
addl -224(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -248(%rbp)
movl -228(%rbp), %eax
subl -244(%rbp), %eax
movl %eax, -256(%rbp)
movl -228(%rbp), %eax
addl $1, %eax
movl %eax, -260(%rbp)
movq -80(%rbp), %rcx
movq 32(%rbp), %r12
movl -256(%rbp), %eax
addl -164(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r12
movq 40(%rbp), %r15
movq -88(%rbp), %r14
movl -256(%rbp), %eax
addl -116(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r14
movq -96(%rbp), %rbx
movq 16(%rbp), %r10
movl -256(%rbp), %eax
addl -124(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 24(%rbp), %rax
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq -244(%rbp), %r8
leaq _c_b7(%rip), %r9
leaq _c_b8(%rip), %r11
movq %r8, %rdx
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _sgemm_
movq -80(%rbp), %rcx
movq 32(%rbp), %r12
movl -260(%rbp), %eax
addl -164(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r12
movq 40(%rbp), %r15
movq -88(%rbp), %r14
movl -260(%rbp), %eax
addl -116(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r14
movq -96(%rbp), %rbx
movq 16(%rbp), %r10
movl -260(%rbp), %eax
addl -124(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 24(%rbp), %rax
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq -248(%rbp), %r8
leaq _c_b7(%rip), %r9
leaq _c_b8(%rip), %r11
movq %r8, %rdx
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _sgemm_
## %bb.31: ## in Loop: Header=BB0_29 Depth=1
movl -204(%rbp), %eax
addl $1, %eax
movl %eax, -204(%rbp)
jmp LBB0_29
LBB0_32:
movl -236(%rbp), %eax
movl %eax, -188(%rbp)
movl $1, -204(%rbp)
LBB0_33: ## =>This Inner Loop Header: Depth=1
movl -204(%rbp), %eax
cmpl -188(%rbp), %eax
jg LBB0_36
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movq 160(%rbp), %rax
movl -212(%rbp), %ecx
addl -204(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -228(%rbp)
movq -80(%rbp), %rdi
movq -88(%rbp), %rsi
movl -228(%rbp), %eax
addl -116(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %rsi
movq -96(%rbp), %rdx
movq 16(%rbp), %rcx
movl -228(%rbp), %eax
addl -124(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %rcx
movq 24(%rbp), %r8
callq _scopy_
## %bb.35: ## in Loop: Header=BB0_33 Depth=1
movl -204(%rbp), %eax
addl $1, %eax
movl %eax, -204(%rbp)
jmp LBB0_33
LBB0_36:
leaq -196(%rbp), %rax
movl %eax, %esi
leaq _c__2(%rip), %rax
movl %eax, %edi
callq _pow_ii
movl %eax, -208(%rbp)
movl $0, -200(%rbp)
movl -196(%rbp), %eax
movl %eax, -264(%rbp)
LBB0_37: ## =>This Loop Header: Depth=1
## Child Loop BB0_42 Depth 2
cmpl $1, -264(%rbp)
jl LBB0_47
## %bb.38: ## in Loop: Header=BB0_37 Depth=1
movl -264(%rbp), %eax
shll $1, %eax
subl $1, %eax
movl %eax, -276(%rbp)
cmpl $1, -264(%rbp)
jne LBB0_40
## %bb.39: ## in Loop: Header=BB0_37 Depth=1
movl $1, -232(%rbp)
movl $1, -240(%rbp)
jmp LBB0_41
LBB0_40: ## in Loop: Header=BB0_37 Depth=1
movl -264(%rbp), %eax
subl $1, %eax
movl %eax, -188(%rbp)
leaq -188(%rbp), %rax
movl %eax, %esi
leaq _c__2(%rip), %rax
movl %eax, %edi
callq _pow_ii
movl %eax, -232(%rbp)
movl -232(%rbp), %eax
shll $1, %eax
subl $1, %eax
movl %eax, -240(%rbp)
LBB0_41: ## in Loop: Header=BB0_37 Depth=1
movl -240(%rbp), %eax
movl %eax, -188(%rbp)
movl -232(%rbp), %eax
movl %eax, -204(%rbp)
LBB0_42: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
movl -204(%rbp), %eax
cmpl -188(%rbp), %eax
jg LBB0_45
## %bb.43: ## in Loop: Header=BB0_42 Depth=2
movl -204(%rbp), %eax
subl $1, %eax
movl %eax, -252(%rbp)
movq 160(%rbp), %rax
movl -212(%rbp), %ecx
addl -252(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -228(%rbp)
movq 160(%rbp), %rax
movl -216(%rbp), %ecx
addl -252(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -244(%rbp)
movq 160(%rbp), %rax
movl -220(%rbp), %ecx
addl -252(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -248(%rbp)
movl -228(%rbp), %eax
subl -244(%rbp), %eax
movl %eax, -256(%rbp)
movl -228(%rbp), %eax
addl $1, %eax
movl %eax, -260(%rbp)
movl -208(%rbp), %eax
addl $-1, %eax
movl %eax, -208(%rbp)
movq -56(%rbp), %rdi
movq -80(%rbp), %r8
movq 16(%rbp), %r9
movl -256(%rbp), %eax
addl -124(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r9
movq 24(%rbp), %rax
movq -88(%rbp), %rcx
movl -256(%rbp), %edx
addl -116(%rbp), %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -360(%rbp) ## 8-byte Spill
movq -96(%rbp), %rcx
movq %rcx, -352(%rbp) ## 8-byte Spill
movq 120(%rbp), %rcx
movl -256(%rbp), %edx
movl -264(%rbp), %esi
imull -108(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -344(%rbp) ## 8-byte Spill
movq 96(%rbp), %rcx
movslq -208(%rbp), %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -336(%rbp) ## 8-byte Spill
movq 104(%rbp), %rcx
movl -256(%rbp), %edx
movl -276(%rbp), %esi
imull -100(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -328(%rbp) ## 8-byte Spill
movq 112(%rbp), %rcx
movq %rcx, -320(%rbp) ## 8-byte Spill
movq 128(%rbp), %rcx
movl -256(%rbp), %edx
movl -276(%rbp), %esi
imull -148(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -312(%rbp) ## 8-byte Spill
movq 40(%rbp), %rcx
movq %rcx, -304(%rbp) ## 8-byte Spill
movq 88(%rbp), %rcx
movl -256(%rbp), %edx
movl -276(%rbp), %esi
imull -156(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -296(%rbp) ## 8-byte Spill
movq 64(%rbp), %r13
movl -256(%rbp), %ecx
movl -264(%rbp), %edx
imull -132(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %r13
movq 72(%rbp), %r12
movl -256(%rbp), %ecx
movl -276(%rbp), %edx
imull -140(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %r12
movq 80(%rbp), %r15
movl -256(%rbp), %ecx
movl -264(%rbp), %edx
imull -180(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %r15
movq 56(%rbp), %r14
movslq -208(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %r14
movq 136(%rbp), %rbx
movslq -208(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rbx
movq 144(%rbp), %r11
movslq -208(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %r11
movq 152(%rbp), %r10
addq $4, %r10
movq 168(%rbp), %rcx
movq %rcx, -288(%rbp) ## 8-byte Spill
leaq -244(%rbp), %rsi
leaq -248(%rbp), %rdx
leaq -200(%rbp), %rcx
movq %rax, (%rsp)
movq -360(%rbp), %rax ## 8-byte Reload
movq %rax, 8(%rsp)
movq -352(%rbp), %rax ## 8-byte Reload
movq %rax, 16(%rsp)
movq -344(%rbp), %rax ## 8-byte Reload
movq %rax, 24(%rsp)
movq -336(%rbp), %rax ## 8-byte Reload
movq %rax, 32(%rsp)
movq -328(%rbp), %rax ## 8-byte Reload
movq %rax, 40(%rsp)
movq -320(%rbp), %rax ## 8-byte Reload
movq %rax, 48(%rsp)
movq -312(%rbp), %rax ## 8-byte Reload
movq %rax, 56(%rsp)
movq -304(%rbp), %rax ## 8-byte Reload
movq %rax, 64(%rsp)
movq -296(%rbp), %rax ## 8-byte Reload
movq %rax, 72(%rsp)
movq -288(%rbp), %rax ## 8-byte Reload
movq %r13, 80(%rsp)
movq %r12, 88(%rsp)
movq %r15, 96(%rsp)
movq %r14, 104(%rsp)
movq %rbx, 112(%rsp)
movq %r11, 120(%rsp)
movq %r10, 128(%rsp)
movq %rax, 136(%rsp)
callq _slals0_
## %bb.44: ## in Loop: Header=BB0_42 Depth=2
movl -204(%rbp), %eax
addl $1, %eax
movl %eax, -204(%rbp)
jmp LBB0_42
LBB0_45: ## in Loop: Header=BB0_37 Depth=1
jmp LBB0_46
LBB0_46: ## in Loop: Header=BB0_37 Depth=1
movl -264(%rbp), %eax
addl $-1, %eax
movl %eax, -264(%rbp)
jmp LBB0_37
LBB0_47:
jmp LBB0_70
LBB0_48:
movl $0, -208(%rbp)
movl -196(%rbp), %eax
movl %eax, -188(%rbp)
movl $1, -264(%rbp)
LBB0_49: ## =>This Loop Header: Depth=1
## Child Loop BB0_54 Depth 2
movl -264(%rbp), %eax
cmpl -188(%rbp), %eax
jg LBB0_62
## %bb.50: ## in Loop: Header=BB0_49 Depth=1
movl -264(%rbp), %eax
shll $1, %eax
subl $1, %eax
movl %eax, -276(%rbp)
cmpl $1, -264(%rbp)
jne LBB0_52
## %bb.51: ## in Loop: Header=BB0_49 Depth=1
movl $1, -232(%rbp)
movl $1, -240(%rbp)
jmp LBB0_53
LBB0_52: ## in Loop: Header=BB0_49 Depth=1
movl -264(%rbp), %eax
subl $1, %eax
movl %eax, -192(%rbp)
leaq -192(%rbp), %rax
movl %eax, %esi
leaq _c__2(%rip), %rax
movl %eax, %edi
callq _pow_ii
movl %eax, -232(%rbp)
movl -232(%rbp), %eax
shll $1, %eax
subl $1, %eax
movl %eax, -240(%rbp)
LBB0_53: ## in Loop: Header=BB0_49 Depth=1
movl -232(%rbp), %eax
movl %eax, -192(%rbp)
movl -240(%rbp), %eax
movl %eax, -204(%rbp)
LBB0_54: ## Parent Loop BB0_49 Depth=1
## => This Inner Loop Header: Depth=2
movl -204(%rbp), %eax
cmpl -192(%rbp), %eax
jl LBB0_60
## %bb.55: ## in Loop: Header=BB0_54 Depth=2
movl -204(%rbp), %eax
subl $1, %eax
movl %eax, -252(%rbp)
movq 160(%rbp), %rax
movl -212(%rbp), %ecx
addl -252(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -228(%rbp)
movq 160(%rbp), %rax
movl -216(%rbp), %ecx
addl -252(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -244(%rbp)
movq 160(%rbp), %rax
movl -220(%rbp), %ecx
addl -252(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -248(%rbp)
movl -228(%rbp), %eax
subl -244(%rbp), %eax
movl %eax, -256(%rbp)
movl -228(%rbp), %eax
addl $1, %eax
movl %eax, -260(%rbp)
movl -204(%rbp), %eax
cmpl -240(%rbp), %eax
jne LBB0_57
## %bb.56: ## in Loop: Header=BB0_54 Depth=2
movl $0, -200(%rbp)
jmp LBB0_58
LBB0_57: ## in Loop: Header=BB0_54 Depth=2
movl $1, -200(%rbp)
LBB0_58: ## in Loop: Header=BB0_54 Depth=2
movl -208(%rbp), %eax
addl $1, %eax
movl %eax, -208(%rbp)
movq -56(%rbp), %rdi
movq -80(%rbp), %r8
movq -88(%rbp), %r9
movl -256(%rbp), %eax
addl -116(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r9
movq -96(%rbp), %rax
movq 16(%rbp), %rcx
movl -256(%rbp), %edx
addl -124(%rbp), %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -440(%rbp) ## 8-byte Spill
movq 24(%rbp), %rcx
movq %rcx, -432(%rbp) ## 8-byte Spill
movq 120(%rbp), %rcx
movl -256(%rbp), %edx
movl -264(%rbp), %esi
imull -108(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -424(%rbp) ## 8-byte Spill
movq 96(%rbp), %rcx
movslq -208(%rbp), %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -416(%rbp) ## 8-byte Spill
movq 104(%rbp), %rcx
movl -256(%rbp), %edx
movl -276(%rbp), %esi
imull -100(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -408(%rbp) ## 8-byte Spill
movq 112(%rbp), %rcx
movq %rcx, -400(%rbp) ## 8-byte Spill
movq 128(%rbp), %rcx
movl -256(%rbp), %edx
movl -276(%rbp), %esi
imull -148(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -392(%rbp) ## 8-byte Spill
movq 40(%rbp), %rcx
movq %rcx, -384(%rbp) ## 8-byte Spill
movq 88(%rbp), %rcx
movl -256(%rbp), %edx
movl -276(%rbp), %esi
imull -156(%rbp), %esi
addl %esi, %edx
movslq %edx, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movq %rcx, -376(%rbp) ## 8-byte Spill
movq 64(%rbp), %r13
movl -256(%rbp), %ecx
movl -264(%rbp), %edx
imull -132(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %r13
movq 72(%rbp), %r12
movl -256(%rbp), %ecx
movl -276(%rbp), %edx
imull -140(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %r12
movq 80(%rbp), %r15
movl -256(%rbp), %ecx
movl -264(%rbp), %edx
imull -180(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %r15
movq 56(%rbp), %r14
movslq -208(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %r14
movq 136(%rbp), %rbx
movslq -208(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rbx
movq 144(%rbp), %r11
movslq -208(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %r11
movq 152(%rbp), %r10
addq $4, %r10
movq 168(%rbp), %rcx
movq %rcx, -368(%rbp) ## 8-byte Spill
leaq -244(%rbp), %rsi
leaq -248(%rbp), %rdx
leaq -200(%rbp), %rcx
movq %rax, (%rsp)
movq -440(%rbp), %rax ## 8-byte Reload
movq %rax, 8(%rsp)
movq -432(%rbp), %rax ## 8-byte Reload
movq %rax, 16(%rsp)
movq -424(%rbp), %rax ## 8-byte Reload
movq %rax, 24(%rsp)
movq -416(%rbp), %rax ## 8-byte Reload
movq %rax, 32(%rsp)
movq -408(%rbp), %rax ## 8-byte Reload
movq %rax, 40(%rsp)
movq -400(%rbp), %rax ## 8-byte Reload
movq %rax, 48(%rsp)
movq -392(%rbp), %rax ## 8-byte Reload
movq %rax, 56(%rsp)
movq -384(%rbp), %rax ## 8-byte Reload
movq %rax, 64(%rsp)
movq -376(%rbp), %rax ## 8-byte Reload
movq %rax, 72(%rsp)
movq -368(%rbp), %rax ## 8-byte Reload
movq %r13, 80(%rsp)
movq %r12, 88(%rsp)
movq %r15, 96(%rsp)
movq %r14, 104(%rsp)
movq %rbx, 112(%rsp)
movq %r11, 120(%rsp)
movq %r10, 128(%rsp)
movq %rax, 136(%rsp)
callq _slals0_
## %bb.59: ## in Loop: Header=BB0_54 Depth=2
movl -204(%rbp), %eax
addl $-1, %eax
movl %eax, -204(%rbp)
jmp LBB0_54
LBB0_60: ## in Loop: Header=BB0_49 Depth=1
jmp LBB0_61
LBB0_61: ## in Loop: Header=BB0_49 Depth=1
movl -264(%rbp), %eax
addl $1, %eax
movl %eax, -264(%rbp)
jmp LBB0_49
LBB0_62:
movl -236(%rbp), %eax
addl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -268(%rbp)
movl -236(%rbp), %eax
movl %eax, -188(%rbp)
movl -268(%rbp), %eax
movl %eax, -204(%rbp)
LBB0_63: ## =>This Inner Loop Header: Depth=1
movl -204(%rbp), %eax
cmpl -188(%rbp), %eax
jg LBB0_69
## %bb.64: ## in Loop: Header=BB0_63 Depth=1
movl -204(%rbp), %eax
subl $1, %eax
movl %eax, -224(%rbp)
movq 160(%rbp), %rax
movl -212(%rbp), %ecx
addl -224(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -228(%rbp)
movq 160(%rbp), %rax
movl -216(%rbp), %ecx
addl -224(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -244(%rbp)
movq 160(%rbp), %rax
movl -220(%rbp), %ecx
addl -224(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -248(%rbp)
movl -244(%rbp), %eax
addl $1, %eax
movl %eax, -272(%rbp)
movl -204(%rbp), %eax
cmpl -236(%rbp), %eax
jne LBB0_66
## %bb.65: ## in Loop: Header=BB0_63 Depth=1
movl -248(%rbp), %eax
movl %eax, -280(%rbp)
jmp LBB0_67
LBB0_66: ## in Loop: Header=BB0_63 Depth=1
movl -248(%rbp), %eax
addl $1, %eax
movl %eax, -280(%rbp)
LBB0_67: ## in Loop: Header=BB0_63 Depth=1
movl -228(%rbp), %eax
subl -244(%rbp), %eax
movl %eax, -256(%rbp)
movl -228(%rbp), %eax
addl $1, %eax
movl %eax, -260(%rbp)
movq -80(%rbp), %rcx
movq 48(%rbp), %r12
movl -256(%rbp), %eax
addl -172(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r12
movq 40(%rbp), %r15
movq -88(%rbp), %r14
movl -256(%rbp), %eax
addl -116(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r14
movq -96(%rbp), %rbx
movq 16(%rbp), %r10
movl -256(%rbp), %eax
addl -124(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 24(%rbp), %rax
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq -272(%rbp), %r8
leaq _c_b7(%rip), %r9
leaq _c_b8(%rip), %r11
movq %r8, %rdx
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _sgemm_
movq -80(%rbp), %rcx
movq 48(%rbp), %r12
movl -260(%rbp), %eax
addl -172(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r12
movq 40(%rbp), %r15
movq -88(%rbp), %r14
movl -260(%rbp), %eax
addl -116(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r14
movq -96(%rbp), %rbx
movq 16(%rbp), %r10
movl -260(%rbp), %eax
addl -124(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 24(%rbp), %rax
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq -280(%rbp), %r8
leaq _c_b7(%rip), %r9
leaq _c_b8(%rip), %r11
movq %r8, %rdx
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _sgemm_
## %bb.68: ## in Loop: Header=BB0_63 Depth=1
movl -204(%rbp), %eax
addl $1, %eax
movl %eax, -204(%rbp)
jmp LBB0_63
LBB0_69:
jmp LBB0_70
LBB0_70:
movl $0, -44(%rbp)
LBB0_71:
movl -44(%rbp), %eax
addq $552, %rsp ## imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function pow_ii
_pow_ii: ## @pow_ii
.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)
cmpl $0, -8(%rbp)
jg LBB1_12
## %bb.1:
cmpl $0, -8(%rbp)
je LBB1_3
## %bb.2:
cmpl $1, -4(%rbp)
jne LBB1_4
LBB1_3:
movl $1, -12(%rbp)
jmp LBB1_11
LBB1_4:
cmpl $-1, -4(%rbp)
je LBB1_9
## %bb.5:
cmpl $0, -4(%rbp)
jne LBB1_7
## %bb.6:
movl $1, %eax
cltd
idivl -4(%rbp)
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB1_8
LBB1_7:
xorl %eax, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB1_8
LBB1_8:
movl -28(%rbp), %eax ## 4-byte Reload
movl %eax, -12(%rbp)
jmp LBB1_10
LBB1_9:
xorl %eax, %eax
subl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB1_10:
jmp LBB1_11
LBB1_11:
jmp LBB1_12
LBB1_12:
cmpl $0, -8(%rbp)
jg LBB1_16
## %bb.13:
cmpl $0, -8(%rbp)
je LBB1_24
## %bb.14:
cmpl $1, -4(%rbp)
je LBB1_24
## %bb.15:
cmpl $-1, -4(%rbp)
jne LBB1_24
LBB1_16:
movslq -8(%rbp), %rax
movq %rax, -24(%rbp)
movl $1, -12(%rbp)
LBB1_17: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
andq $1, %rax
cmpq $0, %rax
je LBB1_19
## %bb.18: ## in Loop: Header=BB1_17 Depth=1
movl -4(%rbp), %eax
imull -12(%rbp), %eax
movl %eax, -12(%rbp)
LBB1_19: ## in Loop: Header=BB1_17 Depth=1
movq -24(%rbp), %rax
shrq $1, %rax
movq %rax, -24(%rbp)
cmpq $0, %rax
je LBB1_21
## %bb.20: ## in Loop: Header=BB1_17 Depth=1
movl -4(%rbp), %eax
imull -4(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB1_22
LBB1_21:
jmp LBB1_23
LBB1_22: ## in Loop: Header=BB1_17 Depth=1
jmp LBB1_17
LBB1_23:
jmp LBB1_24
LBB1_24:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SLALSA"
L_.str.1: ## @.str.1
.asciz "T"
L_.str.2: ## @.str.2
.asciz "N"
.section __DATA,__data
.p2align 2 ## @c_b7
_c_b7:
.long 0x3f800000 ## float 1
.zerofill __DATA,__bss,_c_b8,4,2 ## @c_b8
.p2align 2 ## @c__2
_c__2:
.long 2 ## 0x2
.subsections_via_symbols
| the_stack_data/90762376.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/67325980.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
stur wzr, [x29, #-4]
str wzr, [sp, #20]
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _getchar
ldrsw x9, [sp, #20]
add x8, sp, #36
str w0, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #24]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #24]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_8:
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
str wzr, [sp, #32]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #32]
ldr w9, [sp, #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
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_15
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldrsw x8, [sp, #32]
add x9, sp, #36
ldr w8, [x9, x8, lsl #2]
ldrsw x10, [sp, #28]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldrsw x8, [sp, #32]
add x9, sp, #36
ldr w8, [x9, x8, lsl #2]
str w8, [sp, #16]
ldrsw x8, [sp, #28]
ldr w8, [x9, x8, lsl #2]
ldrsw x10, [sp, #32]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #16]
ldrsw x10, [sp, #28]
str w8, [x9, x10, lsl #2]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_11
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_9
LBB0_16:
str wzr, [sp, #32]
b LBB0_17
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #36
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
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_17
LBB0_19:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c\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)
movl $0, -64(%rbp)
movl $0, -60(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $1, -60(%rbp)
je LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
callq _getchar
movl %eax, %ecx
movslq -64(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
movslq -64(%rbp), %rax
cmpl $10, -48(%rbp,%rax,4)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl $1, -60(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, -64(%rbp)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl $1, -60(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_8:
movl -64(%rbp), %eax
subl $1, %eax
movl %eax, -64(%rbp)
movl $0, -52(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -52(%rbp), %eax
cmpl -64(%rbp), %eax
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -64(%rbp), %eax
jg LBB0_15
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movslq -52(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movslq -56(%rbp), %rcx
cmpl -48(%rbp,%rcx,4), %eax
jle LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movslq -52(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movl %eax, -68(%rbp)
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %ecx
movslq -52(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
movl -68(%rbp), %ecx
movslq -56(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_11
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_9
LBB0_16:
movl $0, -52(%rbp)
LBB0_17: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -64(%rbp), %eax
jg LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movslq -52(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_17
LBB0_19:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c\n"
.subsections_via_symbols
| the_stack_data/724514.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, #128
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, #-96] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-96] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-88] ; 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, #-88] ; 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:
stur wzr, [x29, #-44]
stur wzr, [x29, #-36]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_9 Depth 3
ldur w8, [x29, #-36]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-36]
stur w8, [x29, #-40]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_9 Depth 3
ldur w8, [x29, #-40]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-40]
ldur w9, [x29, #-36]
subs w8, w8, w9
add w8, w8, #1
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-56]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-112] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-112] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-104] ; 8-byte Folded Spill
stur x8, [x29, #-64]
stur wzr, [x29, #-68]
stur wzr, [x29, #-76]
stur wzr, [x29, #-80]
ldur w8, [x29, #-36]
stur w8, [x29, #-72]
b LBB0_9
LBB0_9: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_7 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-72]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_15
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=3
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldur x9, [x29, #-88] ; 8-byte Folded Reload
ldursw x10, [x29, #-72]
ldr w9, [x9, x10, lsl #2]
ldursw x10, [x29, #-68]
str w9, [x8, x10, lsl #2]
ldursw x9, [x29, #-68]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=3
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_9 Depth=3
ldur w8, [x29, #-80]
add w8, w8, #1
stur w8, [x29, #-80]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_9 Depth=3
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_9 Depth=3
ldur w8, [x29, #-72]
add w8, w8, #1
stur w8, [x29, #-72]
b LBB0_9
LBB0_15: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-76]
ldur w9, [x29, #-80]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-56]
mov sp, x8
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-40]
add w8, w8, #1
stur w8, [x29, #-40]
b LBB0_7
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB0_5
LBB0_21:
ldur w9, [x29, #-44]
; 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
ldur x8, [x29, #-24]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-116] ; 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_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
ldur w0, [x29, #-116] ; 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 "count is %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 $128, %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, -96(%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 -96(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -88(%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 -88(%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 $0, -44(%rbp)
movl $0, -36(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_9 Depth 3
movl -36(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_21
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -36(%rbp), %eax
movl %eax, -40(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_9 Depth 3
movl -40(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_19
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movl -40(%rbp), %eax
movl -36(%rbp), %ecx
subl %ecx, %eax
incl %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -56(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -112(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
movq %rax, -64(%rbp)
movl $0, -68(%rbp)
movl $0, -76(%rbp)
movl $0, -80(%rbp)
movl -36(%rbp), %eax
movl %eax, -72(%rbp)
LBB0_9: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_7 Depth=2
## => This Inner Loop Header: Depth=3
movl -72(%rbp), %eax
cmpl -40(%rbp), %eax
jg LBB0_15
## %bb.10: ## in Loop: Header=BB0_9 Depth=3
movq -104(%rbp), %rax ## 8-byte Reload
movq -88(%rbp), %rcx ## 8-byte Reload
movslq -72(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movslq -68(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movslq -68(%rbp), %rcx
cmpl $1, (%rax,%rcx,4)
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=3
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_9 Depth=3
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
LBB0_13: ## in Loop: Header=BB0_9 Depth=3
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
## %bb.14: ## in Loop: Header=BB0_9 Depth=3
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_9
LBB0_15: ## in Loop: Header=BB0_7 Depth=2
movl -76(%rbp), %eax
cmpl -80(%rbp), %eax
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_7 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
LBB0_17: ## in Loop: Header=BB0_7 Depth=2
movq -56(%rbp), %rax
movq %rax, %rsp
## %bb.18: ## in Loop: Header=BB0_7 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_7
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_5
LBB0_21:
movl -44(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_23
## %bb.22:
movl -116(%rbp), %eax ## 4-byte Reload
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 "count is %d"
.subsections_via_symbols
| the_stack_data/34315.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fopen ; -- Begin function fopen
.p2align 2
_fopen: ; @fopen
.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, __iob@PAGE
add x8, x8, __iob@PAGEOFF
add x8, x8, #640
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #114
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #119
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #97
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_23
LBB0_4:
adrp x8, __iob@PAGE
add x8, x8, __iob@PAGEOFF
str x8, [sp, #24]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8, #24]
ands w8, w8, #0x3
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #24]
add x8, x8, #32
str x8, [sp, #24]
b LBB0_5
LBB0_10:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_23
LBB0_12:
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #119
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur x0, [x29, #-16]
mov w1, #438
bl _creat
stur w0, [x29, #-28]
b LBB0_20
LBB0_14:
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #97
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_15
LBB0_15:
ldur x0, [x29, #-16]
mov x8, sp
str xzr, [x8]
mov w1, #1
bl _open
stur w0, [x29, #-28]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldur x0, [x29, #-16]
mov w1, #438
bl _creat
stur w0, [x29, #-28]
b LBB0_17
LBB0_17:
ldur w0, [x29, #-28]
mov x1, #0
mov w2, #2
bl _lseek
b LBB0_19
LBB0_18:
ldur x0, [x29, #-16]
mov x8, sp
str xzr, [x8]
mov w1, #0
bl _open
stur w0, [x29, #-28]
b LBB0_19
LBB0_19:
b LBB0_20
LBB0_20:
ldur w8, [x29, #-28]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_23
LBB0_22:
ldur w8, [x29, #-28]
ldr x9, [sp, #24]
str w8, [x9, #28]
ldr x8, [sp, #24]
str wzr, [x8]
ldr x8, [sp, #24]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #114
cset w8, eq
and w9, w8, #0x1
mov w8, #2
ands w9, w9, #0x1
csinc w8, w8, wzr, eq
ldr x9, [sp, #24]
str w8, [x9, #24]
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB0_23
LBB0_23:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl __fillbuf ; -- Begin function _fillbuf
.p2align 2
__fillbuf: ; @_fillbuf
.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]
ldr w8, [x8, #24]
mov w9, #25
and w8, w8, w9
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_12
LBB1_2:
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ands w8, w8, #0x3
cset w8, ne
and w9, w8, #0x1
mov w8, #1024
ands w9, w9, #0x1
csinc w8, w8, wzr, eq
str w8, [sp, #12]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_3
LBB1_3:
ldrsw x0, [sp, #12]
bl _malloc
ldr x9, [sp, #16]
mov x8, x0
str x8, [x9, #16]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_12
LBB1_5:
b LBB1_6
LBB1_6:
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldr w0, [x8, #28]
ldr x8, [sp, #16]
ldr x1, [x8, #8]
ldrsw x2, [sp, #12]
bl _read
ldr x9, [sp, #16]
mov x8, x0
str w8, [x9]
ldr x9, [sp, #16]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_7
LBB1_7:
ldr x8, [sp, #16]
ldr w8, [x8]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr x9, [sp, #16]
ldr w8, [x9, #24]
orr w8, w8, #0x8
str w8, [x9, #24]
b LBB1_10
LBB1_9:
ldr x9, [sp, #16]
ldr w8, [x9, #24]
orr w8, w8, #0x10
str w8, [x9, #24]
b LBB1_10
LBB1_10:
ldr x8, [sp, #16]
str wzr, [x8]
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_12
LBB1_11:
ldr x10, [sp, #16]
ldr x8, [x10, #8]
add x9, x8, #1
str x9, [x10, #8]
ldrb w8, [x8]
stur w8, [x29, #-4]
b LBB1_12
LBB1_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl __flushbuf ; -- Begin function _flushbuf
.p2align 2
__flushbuf: ; @_flushbuf
.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]
str x1, [sp, #16]
ldur w8, [x29, #-8]
strb w8, [sp, #7]
ldr x8, [sp, #16]
ldr w8, [x8, #24]
mov w9, #26
and w8, w8, w9
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_16
LBB2_2:
ldr x8, [sp, #16]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_3
LBB2_3:
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ands w8, w8, #0x3
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4:
mov x0, #1024
bl _malloc
ldr x9, [sp, #16]
mov x8, x0
str x8, [x9, #16]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
ldr x9, [sp, #16]
ldr w8, [x9, #24]
orr w8, w8, #0x3
str w8, [x9, #24]
b LBB2_7
LBB2_6:
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x9, [sp, #16]
mov w8, #1023
str w8, [x9]
b LBB2_7
LBB2_7:
b LBB2_8
LBB2_8:
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ands w8, w8, #0x3
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_9
LBB2_9:
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldr x8, [sp, #16]
str xzr, [x8, #8]
ldr x8, [sp, #16]
str wzr, [x8]
ldur w8, [x29, #-8]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_16
LBB2_11:
ldr x8, [sp, #16]
ldr w0, [x8, #28]
add x1, sp, #7
mov x2, #1
bl _write
mov x8, x0
str w8, [sp, #12]
mov w8, #1
str w8, [sp, #8]
b LBB2_13
LBB2_12:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #16]
ldr x9, [x9, #16]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #8]
ldr x8, [sp, #16]
ldr w0, [x8, #28]
ldr x8, [sp, #16]
ldr x1, [x8, #16]
ldrsw x2, [sp, #8]
bl _write
mov x8, x0
str w8, [sp, #12]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x9, [sp, #16]
mov w8, #1023
str w8, [x9]
b LBB2_13
LBB2_13:
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
ldur w8, [x29, #-8]
stur w8, [x29, #-4]
b LBB2_16
LBB2_15:
ldr x9, [sp, #16]
ldr w8, [x9, #24]
orr w8, w8, #0x10
str w8, [x9, #24]
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_16
LBB2_16:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _fflush ; -- Begin function fflush
.p2align 2
_fflush: ; @fflush
.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, __iob@PAGE
add x8, x8, __iob@PAGEOFF
add x8, x8, #640
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur wzr, [x29, #-20]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_9
b LBB3_1
LBB3_1:
adrp x8, __iob@PAGE
add x8, x8, __iob@PAGEOFF
str x8, [sp, #16]
b LBB3_2
LBB3_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_8
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_2 Depth=1
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ands w8, w8, #0x2
cset w8, ne
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_2 Depth=1
ldr x0, [sp, #16]
bl _fflush
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_2 Depth=1
mov w8, #-1
stur w8, [x29, #-20]
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_2 Depth=1
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_2 Depth=1
ldr x8, [sp, #16]
add x8, x8, #32
str x8, [sp, #16]
b LBB3_2
LBB3_8:
b LBB3_14
LBB3_9:
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
ands w8, w8, #0x2
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10:
mov w8, #-1
stur w8, [x29, #-4]
b LBB3_15
LBB3_11:
ldur x1, [x29, #-16]
mov w0, #-1
bl __flushbuf
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
ands w8, w8, #0x10
cset w8, eq
tbnz w8, #0, LBB3_13
b LBB3_12
LBB3_12:
mov w8, #-1
stur w8, [x29, #-20]
b LBB3_13
LBB3_13:
b LBB3_14
LBB3_14:
ldur w8, [x29, #-20]
stur w8, [x29, #-4]
b LBB3_15
LBB3_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _fclose ; -- Begin function fclose
.p2align 2
_fclose: ; @fclose
.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]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB4_5
LBB4_2:
ldr x8, [sp, #16]
ldr w8, [x8, #28]
str w8, [sp, #12]
ldr x0, [sp, #16]
bl _fflush
ldr x8, [sp, #16]
str wzr, [x8]
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
ldr x8, [sp, #16]
ldr x0, [x8, #16]
bl _free
b LBB4_4
LBB4_4:
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldr x8, [sp, #16]
str wzr, [x8, #24]
ldr x9, [sp, #16]
mov w8, #-1
str w8, [x9, #28]
ldr w0, [sp, #12]
bl _close
stur w0, [x29, #-4]
b LBB4_5
LBB4_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _fseek ; -- Begin function fseek
.p2align 2
_fseek: ; @fseek
.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]
str w2, [sp, #4]
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ands w8, w8, #0x3
cset w8, ne
tbnz w8, #0, LBB5_16
b LBB5_1
LBB5_1:
ldr x8, [sp, #16]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_16
b LBB5_2
LBB5_2:
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ands w8, w8, #0x2
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_3
LBB5_3:
ldr x0, [sp, #16]
bl _fflush
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
mov w8, #-1
stur w8, [x29, #-4]
b LBB5_19
LBB5_5:
b LBB5_15
LBB5_6:
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB5_14
b LBB5_7
LBB5_7:
ldr w8, [sp, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_13
b LBB5_8
LBB5_8:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, lt
tbnz w8, #0, LBB5_11
b LBB5_9
LBB5_9:
ldr x8, [sp, #8]
ldr x9, [sp, #16]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB5_11
b LBB5_10
LBB5_10:
ldr x10, [sp, #8]
ldr x9, [sp, #16]
ldrsw x8, [x9]
subs x8, x8, x10
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
ldr x10, [sp, #8]
ldr x9, [sp, #16]
ldr x8, [x9, #8]
add x8, x8, x10
str x8, [x9, #8]
ldr x9, [sp, #16]
ldr w8, [x9, #24]
and w8, w8, #0xfffffff7
str w8, [x9, #24]
stur wzr, [x29, #-4]
b LBB5_19
LBB5_11:
ldr x8, [sp, #16]
ldrsw x9, [x8]
ldr x8, [sp, #8]
subs x8, x8, x9
str x8, [sp, #8]
b LBB5_12
LBB5_12:
b LBB5_13
LBB5_13:
ldr x8, [sp, #16]
str wzr, [x8]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #16]
str x8, [x9, #8]
b LBB5_14
LBB5_14:
b LBB5_15
LBB5_15:
b LBB5_16
LBB5_16:
ldr x8, [sp, #16]
ldr w0, [x8, #28]
ldr x1, [sp, #8]
ldr w2, [sp, #4]
bl _lseek
subs x8, x0, #0
cset w8, lt
and w8, w8, #0x1
str w8, [sp]
ldr w8, [sp]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_18
b LBB5_17
LBB5_17:
ldr x9, [sp, #16]
ldr w8, [x9, #24]
and w8, w8, #0xfffffff7
str w8, [x9, #24]
b LBB5_18
LBB5_18:
ldr w8, [sp]
stur w8, [x29, #-4]
b LBB5_19
LBB5_19:
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:
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, __iob@PAGE
add x8, x8, __iob@PAGEOFF
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
adrp x9, __iob@PAGE
ldr w8, [x9, __iob@PAGEOFF]
subs w8, w8, #1
str w8, [x9, __iob@PAGEOFF]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x10, #8]
add x9, x8, #1
str x9, [x10, #8]
ldrb w0, [x8]
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB6_4
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
adrp x0, __iob@PAGE
add x0, x0, __iob@PAGEOFF
bl __fillbuf
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
stur w8, [x29, #-20]
subs w8, w8, #120
cset w8, eq
tbnz w8, #0, LBB6_9
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #32]
subs w8, w8, #1
str w8, [x9, #32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr x9, [x11, #40]
add x10, x9, #1
str x10, [x11, #40]
strb w8, [x9]
b LBB6_8
LBB6_7: ; in Loop: Header=BB6_1 Depth=1
ldur w0, [x29, #-20]
adrp x8, __iob@PAGE
add x8, x8, __iob@PAGEOFF
add x1, x8, #32
bl __flushbuf
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_1 Depth=1
b LBB6_1
LBB6_9:
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 __iob ; @_iob
.p2align 3
__iob:
.long 0 ; 0x0
.space 4
.quad 0
.quad 0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.space 4
.quad 0
.quad 0
.long 2 ; 0x2
.long 1 ; 0x1
.long 0 ; 0x0
.space 4
.quad 0
.quad 0
.long 3 ; 0x3
.long 2 ; 0x2
.space 544
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fopen ## -- Begin function fopen
.p2align 4, 0x90
_fopen: ## @fopen
.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)
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $114, %eax
je LBB0_4
## %bb.1:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $119, %eax
je LBB0_4
## %bb.2:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $97, %eax
je LBB0_4
## %bb.3:
movq $0, -8(%rbp)
jmp LBB0_23
LBB0_4:
leaq __iob(%rip), %rax
movq %rax, -40(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
leaq __iob(%rip), %rax
addq $640, %rax ## imm = 0x280
cmpq %rax, -40(%rbp)
jae LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -40(%rbp), %rax
movl 24(%rax), %eax
andl $3, %eax
cmpl $0, %eax
jne LBB0_8
## %bb.7:
jmp LBB0_10
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq -40(%rbp), %rax
addq $32, %rax
movq %rax, -40(%rbp)
jmp LBB0_5
LBB0_10:
leaq __iob(%rip), %rax
addq $640, %rax ## imm = 0x280
cmpq %rax, -40(%rbp)
jb LBB0_12
## %bb.11:
movq $0, -8(%rbp)
jmp LBB0_23
LBB0_12:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $119, %eax
jne LBB0_14
## %bb.13:
movq -16(%rbp), %rdi
movl $438, %esi ## imm = 0x1B6
callq _creat
movl %eax, -28(%rbp)
jmp LBB0_20
LBB0_14:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $97, %eax
jne LBB0_18
## %bb.15:
movq -16(%rbp), %rdi
movl $1, %esi
xorl %edx, %edx
movb $0, %al
callq _open
movl %eax, -28(%rbp)
cmpl $-1, %eax
jne LBB0_17
## %bb.16:
movq -16(%rbp), %rdi
movl $438, %esi ## imm = 0x1B6
callq _creat
movl %eax, -28(%rbp)
LBB0_17:
movl -28(%rbp), %edi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _lseek
jmp LBB0_19
LBB0_18:
movq -16(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
movb $0, %al
callq _open
movl %eax, -28(%rbp)
LBB0_19:
jmp LBB0_20
LBB0_20:
cmpl $-1, -28(%rbp)
jne LBB0_22
## %bb.21:
movq $0, -8(%rbp)
jmp LBB0_23
LBB0_22:
movl -28(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, 28(%rax)
movq -40(%rbp), %rax
movl $0, (%rax)
movq -40(%rbp), %rax
movq $0, 16(%rax)
movq -24(%rbp), %rax
movsbl (%rax), %edx
movl $2, %ecx
movl $1, %eax
cmpl $114, %edx
cmovel %eax, %ecx
movq -40(%rbp), %rax
movl %ecx, 24(%rax)
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_23:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __fillbuf ## -- Begin function _fillbuf
.p2align 4, 0x90
__fillbuf: ## @_fillbuf
.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
movl 24(%rax), %eax
andl $25, %eax
cmpl $1, %eax
je LBB1_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB1_12
LBB1_2:
movq -16(%rbp), %rax
movl 24(%rax), %edx
andl $3, %edx
movl $1024, %eax ## imm = 0x400
movl $1, %ecx
cmpl $0, %edx
cmovnel %ecx, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
cmpq $0, 16(%rax)
jne LBB1_6
## %bb.3:
movslq -20(%rbp), %rdi
callq _malloc
movq -16(%rbp), %rcx
movq %rax, 16(%rcx)
cmpq $0, %rax
jne LBB1_5
## %bb.4:
movl $-1, -4(%rbp)
jmp LBB1_12
LBB1_5:
jmp LBB1_6
LBB1_6:
movq -16(%rbp), %rax
movq 16(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl 28(%rax), %edi
movq -16(%rbp), %rax
movq 8(%rax), %rsi
movslq -20(%rbp), %rdx
callq _read
movl %eax, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rcx
movl (%rcx), %eax
addl $-1, %eax
movl %eax, (%rcx)
cmpl $0, %eax
jge LBB1_11
## %bb.7:
movq -16(%rbp), %rax
cmpl $-1, (%rax)
jne LBB1_9
## %bb.8:
movq -16(%rbp), %rax
movl 24(%rax), %ecx
orl $8, %ecx
movl %ecx, 24(%rax)
jmp LBB1_10
LBB1_9:
movq -16(%rbp), %rax
movl 24(%rax), %ecx
orl $16, %ecx
movl %ecx, 24(%rax)
LBB1_10:
movq -16(%rbp), %rax
movl $0, (%rax)
movl $-1, -4(%rbp)
jmp LBB1_12
LBB1_11:
movq -16(%rbp), %rcx
movq 8(%rcx), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, 8(%rcx)
movzbl (%rax), %eax
movl %eax, -4(%rbp)
LBB1_12:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __flushbuf ## -- Begin function _flushbuf
.p2align 4, 0x90
__flushbuf: ## @_flushbuf
.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)
movq %rsi, -16(%rbp)
movl -8(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $26, %eax
cmpl $2, %eax
je LBB2_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB2_16
LBB2_2:
movq -16(%rbp), %rax
cmpq $0, 16(%rax)
jne LBB2_8
## %bb.3:
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $3, %eax
cmpl $0, %eax
jne LBB2_8
## %bb.4:
movl $1024, %edi ## imm = 0x400
callq _malloc
movq -16(%rbp), %rcx
movq %rax, 16(%rcx)
cmpq $0, %rax
jne LBB2_6
## %bb.5:
movq -16(%rbp), %rax
movl 24(%rax), %ecx
orl $3, %ecx
movl %ecx, 24(%rax)
jmp LBB2_7
LBB2_6:
movq -16(%rbp), %rax
movq 16(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl $1023, (%rax) ## imm = 0x3FF
LBB2_7:
jmp LBB2_8
LBB2_8:
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $3, %eax
cmpl $0, %eax
je LBB2_12
## %bb.9:
movq -16(%rbp), %rax
movq $0, 16(%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
movl $0, (%rax)
cmpl $-1, -8(%rbp)
jne LBB2_11
## %bb.10:
movl $-1, -4(%rbp)
jmp LBB2_16
LBB2_11:
movq -16(%rbp), %rax
movl 28(%rax), %edi
leaq -25(%rbp), %rsi
movl $1, %edx
callq _write
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $1, -24(%rbp)
jmp LBB2_13
LBB2_12:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -16(%rbp), %rcx
movq 16(%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -24(%rbp)
movq -16(%rbp), %rax
movl 28(%rax), %edi
movq -16(%rbp), %rax
movq 16(%rax), %rsi
movslq -24(%rbp), %rdx
callq _write
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl $1023, (%rax) ## imm = 0x3FF
LBB2_13:
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jne LBB2_15
## %bb.14:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB2_16
LBB2_15:
movq -16(%rbp), %rax
movl 24(%rax), %ecx
orl $16, %ecx
movl %ecx, 24(%rax)
movl $-1, -4(%rbp)
LBB2_16:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fflush ## -- Begin function fflush
.p2align 4, 0x90
_fflush: ## @fflush
.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 $0, -20(%rbp)
cmpq $0, -16(%rbp)
jne LBB3_9
## %bb.1:
leaq __iob(%rip), %rax
movq %rax, -32(%rbp)
LBB3_2: ## =>This Inner Loop Header: Depth=1
leaq __iob(%rip), %rax
addq $640, %rax ## imm = 0x280
cmpq %rax, -32(%rbp)
jae LBB3_8
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movq -32(%rbp), %rax
movl 24(%rax), %eax
andl $2, %eax
cmpl $0, %eax
jne LBB3_6
## %bb.4: ## in Loop: Header=BB3_2 Depth=1
movq -32(%rbp), %rdi
callq _fflush
cmpl $-1, %eax
jne LBB3_6
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
movl $-1, -20(%rbp)
LBB3_6: ## in Loop: Header=BB3_2 Depth=1
jmp LBB3_7
LBB3_7: ## in Loop: Header=BB3_2 Depth=1
movq -32(%rbp), %rax
addq $32, %rax
movq %rax, -32(%rbp)
jmp LBB3_2
LBB3_8:
jmp LBB3_14
LBB3_9:
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $2, %eax
cmpl $0, %eax
jne LBB3_11
## %bb.10:
movl $-1, -4(%rbp)
jmp LBB3_15
LBB3_11:
movq -16(%rbp), %rsi
movl $4294967295, %edi ## imm = 0xFFFFFFFF
callq __flushbuf
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $16, %eax
cmpl $0, %eax
je LBB3_13
## %bb.12:
movl $-1, -20(%rbp)
LBB3_13:
jmp LBB3_14
LBB3_14:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB3_15:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fclose ## -- Begin function fclose
.p2align 4, 0x90
_fclose: ## @fclose
.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)
cmpq $0, -16(%rbp)
jne LBB4_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB4_5
LBB4_2:
movq -16(%rbp), %rax
movl 28(%rax), %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
callq _fflush
movq -16(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
cmpq $0, 16(%rax)
je LBB4_4
## %bb.3:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _free
LBB4_4:
movq -16(%rbp), %rax
movq $0, 16(%rax)
movq -16(%rbp), %rax
movl $0, 24(%rax)
movq -16(%rbp), %rax
movl $-1, 28(%rax)
movl -20(%rbp), %edi
callq _close
movl %eax, -4(%rbp)
LBB4_5:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fseek ## -- Begin function fseek
.p2align 4, 0x90
_fseek: ## @fseek
.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)
movl %edx, -28(%rbp)
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $3, %eax
cmpl $0, %eax
jne LBB5_16
## %bb.1:
movq -16(%rbp), %rax
cmpq $0, 16(%rax)
je LBB5_16
## %bb.2:
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $2, %eax
cmpl $0, %eax
je LBB5_6
## %bb.3:
movq -16(%rbp), %rdi
callq _fflush
cmpl $0, %eax
je LBB5_5
## %bb.4:
movl $-1, -4(%rbp)
jmp LBB5_19
LBB5_5:
jmp LBB5_15
LBB5_6:
movq -16(%rbp), %rax
movl 24(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB5_14
## %bb.7:
cmpl $1, -28(%rbp)
jne LBB5_13
## %bb.8:
cmpq $0, -24(%rbp)
jl LBB5_11
## %bb.9:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jg LBB5_11
## %bb.10:
movq -24(%rbp), %rdx
movq -16(%rbp), %rax
movslq (%rax), %rcx
subq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
movl %ecx, (%rax)
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
addq 8(%rax), %rcx
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl 24(%rax), %ecx
andl $-9, %ecx
movl %ecx, 24(%rax)
movl $0, -4(%rbp)
jmp LBB5_19
LBB5_11:
movq -16(%rbp), %rax
movslq (%rax), %rcx
movq -24(%rbp), %rax
subq %rcx, %rax
movq %rax, -24(%rbp)
## %bb.12:
jmp LBB5_13
LBB5_13:
movq -16(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
movq 16(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
LBB5_14:
jmp LBB5_15
LBB5_15:
jmp LBB5_16
LBB5_16:
movq -16(%rbp), %rax
movl 28(%rax), %edi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
callq _lseek
cmpq $0, %rax
setl %al
andb $1, %al
movzbl %al, %eax
movl %eax, -32(%rbp)
cmpl $0, -32(%rbp)
jne LBB5_18
## %bb.17:
movq -16(%rbp), %rax
movl 24(%rax), %ecx
andl $-9, %ecx
movl %ecx, 24(%rax)
LBB5_18:
movl -32(%rbp), %eax
movl %eax, -4(%rbp)
LBB5_19:
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
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movl __iob(%rip), %eax
addl $-1, %eax
movl %eax, __iob(%rip)
cmpl $0, %eax
jl LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq __iob+8(%rip), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, __iob+8(%rip)
movzbl (%rax), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB6_4
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
leaq __iob(%rip), %rdi
callq __fillbuf
movl %eax, -24(%rbp) ## 4-byte Spill
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
movl -24(%rbp), %eax ## 4-byte Reload
movl %eax, -20(%rbp)
cmpl $120, %eax
je LBB6_9
## %bb.5: ## in Loop: Header=BB6_1 Depth=1
movl __iob+32(%rip), %eax
addl $-1, %eax
movl %eax, __iob+32(%rip)
cmpl $0, %eax
jl LBB6_7
## %bb.6: ## in Loop: Header=BB6_1 Depth=1
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movq __iob+40(%rip), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, __iob+40(%rip)
movb %al, (%rcx)
movsbl %al, %eax
jmp LBB6_8
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
movl -20(%rbp), %edi
leaq __iob(%rip), %rsi
addq $32, %rsi
callq __flushbuf
LBB6_8: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_1
LBB6_9:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl __iob ## @_iob
.p2align 4
__iob:
.long 0 ## 0x0
.space 4
.quad 0
.quad 0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.space 4
.quad 0
.quad 0
.long 2 ## 0x2
.long 1 ## 0x1
.long 0 ## 0x0
.space 4
.quad 0
.quad 0
.long 3 ## 0x3
.long 2 ## 0x2
.space 544
.subsections_via_symbols
| the_stack_data/95450902.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getent ; -- Begin function getent
.p2align 2
_getent: ; @getent
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _getstr ; -- Begin function getstr
.p2align 2
_getstr: ; @getstr
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
mov x0, #0
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 _getent ## -- Begin function getent
.p2align 4, 0x90
_getent: ## @getent
.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)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getstr ## -- Begin function getstr
.p2align 4, 0x90
_getstr: ## @getstr
.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)
xorl %eax, %eax
## kill: def $rax killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1270336.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 0x3f947ae147ae147b ; double 0.02
.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, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
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
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
movi d0, #0000000000000000
stur s0, [x29, #-20]
str s0, [sp, #24]
str wzr, [sp, #20]
b LBB0_1
LBB0_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, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-12]
scvtf s0, s0
ldur s1, [x29, #-16]
fmul s0, s0, s1
ldr s2, [sp, #24]
fmov s1, #1.00000000
fsub s1, s1, s2
ldur s2, [x29, #-20]
fmadd s0, s0, s1, s2
stur s0, [x29, #-20]
ldr s0, [sp, #24]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fadd d0, d0, d1
fcvt s0, d0
str s0, [sp, #24]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
b LBB0_1
LBB0_4:
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d0, [x8]
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"
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "%.f"
.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 0x3f947ae147ae147b ## double 0.02
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_1:
.long 0x3f800000 ## float 1
.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 -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -24(%rbp)
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cvtsi2ssl -12(%rbp), %xmm0
mulss -16(%rbp), %xmm0
movss LCPI0_1(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
subss -24(%rbp), %xmm2
movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -24(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_4:
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %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 "%f"
L_.str.2: ## @.str.2
.asciz "%.f"
.subsections_via_symbols
| the_stack_data/878616.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/234517962.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]
str w1, [sp, #20]
str w2, [sp, #16]
ldr x8, [sp, #24]
ldrh w8, [x8]
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #134
cset w8, eq
and w0, w8, #0x1
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 _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)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -20(%rbp)
cmpl $134, -20(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/676384.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _doit ; -- Begin function doit
.p2align 2
_doit: ; @doit
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
adrp x9, _markstack_ptr@GOTPAGE
ldr x9, [x9, _markstack_ptr@GOTPAGEOFF]
adrp x10, _stack_base@GOTPAGE
ldr x10, [x10, _stack_base@GOTPAGEOFF]
ldr x8, [x10]
add x8, x8, #40
str x8, [sp, #24]
mov w8, #2
str w8, [sp, #20]
ldr w8, [sp, #20]
ldr x11, [x9]
ldur w11, [x11, #-4]
ldr x12, [x9]
ldur w12, [x12, #-8]
subs w11, w11, w12
subs w8, w8, w11
str w8, [sp, #16]
ldr x8, [sp, #24]
ldr x10, [x10]
subs x8, x8, x10
mov x10, #8
sdiv x8, x8, x10
ldr x9, [x9]
ldursw x9, [x9, #-4]
subs x8, x8, x9
add x8, x8, #2
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
ldr x8, [sp, #24]
str x8, [sp, #40]
ldrsw x9, [sp, #16]
ldr x8, [sp, #24]
add x8, x8, x9, lsl #3
str x8, [sp, #24]
str x8, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
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 x8, [sp, #40]
subs x9, x8, #8
str x9, [sp, #40]
ldr x8, [x8]
ldr x9, [sp, #32]
subs x10, x9, #8
str x10, [sp, #32]
str x8, [x9]
b LBB0_1
LBB0_3:
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, #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, _indices@GOTPAGE
ldr x8, [x8, _indices@GOTPAGEOFF]
add x8, x8, #36
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _markstack_ptr@GOTPAGE
ldr x8, [x8, _markstack_ptr@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _list@GOTPAGE
ldr x8, [x8, _list@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
add x8, x8, #16
stur x8, [x29, #-16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldursw x8, [x29, #-8]
ldursw x10, [x29, #-8]
str x8, [x9, x10, lsl #3]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_1
LBB1_4:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x10, [sp, #8] ; 8-byte Folded Reload
str x10, [x9]
ldr x11, [x9]
mov w10, #2
stur w10, [x11, #-4]
ldr x10, [x9]
mov w9, #1
stur w9, [x10, #-8]
adrp x9, _stack_base@GOTPAGE
ldr x9, [x9, _stack_base@GOTPAGEOFF]
str x8, [x9]
bl _doit
ldr x1, [sp, #24] ; 8-byte Folded Reload
adrp x0, _expect@PAGE
add x0, x0, _expect@PAGEOFF
mov x2, #80
bl _memcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl _abort
LBB1_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _expect ; @expect
.p2align 3
_expect:
.quad 0 ; 0x0
.quad 1 ; 0x1
.quad 2 ; 0x2
.quad 3 ; 0x3
.quad 4 ; 0x4
.quad 4 ; 0x4
.quad 5 ; 0x5
.quad 6 ; 0x6
.quad 7 ; 0x7
.quad 9 ; 0x9
.comm _stack_base,8,3 ; @stack_base
.comm _markstack_ptr,8,3 ; @markstack_ptr
.comm _list,80,3 ; @list
.comm _indices,40,2 ; @indices
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _doit ## -- Begin function doit
.p2align 4, 0x90
_doit: ## @doit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _stack_base@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $40, %rax
movq %rax, -24(%rbp)
movl $2, -28(%rbp)
movl -28(%rbp), %eax
movq _markstack_ptr@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rcx), %ecx
movq _markstack_ptr@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
subl -8(%rdx), %ecx
subl %ecx, %eax
movl %eax, -32(%rbp)
movq -24(%rbp), %rax
movq _stack_base@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
sarq $3, %rax
movq _markstack_ptr@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rcx), %rcx
subq %rcx, %rax
addq $2, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
movl -32(%rbp), %ecx
movq -24(%rbp), %rax
movslq %ecx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movq %rax, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
addl $-1, %eax
movl %eax, -36(%rbp)
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $-8, %rcx
movq %rcx, -8(%rbp)
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rax, %rdx
addq $-8, %rdx
movq %rdx, -16(%rbp)
movq %rcx, (%rax)
jmp LBB0_1
LBB0_3:
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 $0, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -8(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -8(%rbp), %rdx
movslq -8(%rbp), %rcx
movq _list@GOTPCREL(%rip), %rax
movq %rdx, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_4:
movq _markstack_ptr@GOTPCREL(%rip), %rax
movq _indices@GOTPCREL(%rip), %rcx
addq $36, %rcx
movq %rcx, (%rax)
movq _markstack_ptr@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $2, -4(%rax)
movq _markstack_ptr@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $1, -8(%rax)
movq _stack_base@GOTPCREL(%rip), %rax
movq _list@GOTPCREL(%rip), %rcx
addq $16, %rcx
movq %rcx, (%rax)
callq _doit
leaq _expect(%rip), %rdi
movq _list@GOTPCREL(%rip), %rsi
movl $80, %edx
callq _memcmp
cmpl $0, %eax
je LBB1_6
## %bb.5:
callq _abort
LBB1_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _expect ## @expect
.p2align 4
_expect:
.quad 0 ## 0x0
.quad 1 ## 0x1
.quad 2 ## 0x2
.quad 3 ## 0x3
.quad 4 ## 0x4
.quad 4 ## 0x4
.quad 5 ## 0x5
.quad 6 ## 0x6
.quad 7 ## 0x7
.quad 9 ## 0x9
.comm _stack_base,8,3 ## @stack_base
.comm _markstack_ptr,8,3 ## @markstack_ptr
.comm _list,80,4 ## @list
.comm _indices,40,4 ## @indices
.subsections_via_symbols
| the_stack_data/140807.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/156392048.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getSoftDataLimit ; -- Begin function getSoftDataLimit
.p2align 2
_getSoftDataLimit: ; @getSoftDataLimit
.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 w0, #2
add x1, sp, #8
bl _getrlimit
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
mov x9, #9223372036854775807
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov x8, #16777216
stur x8, [x29, #-8]
b LBB0_4
LBB0_3:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB0_4
LBB0_4:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
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 _getSoftDataLimit ## -- Begin function getSoftDataLimit
.p2align 4, 0x90
_getSoftDataLimit: ## @getSoftDataLimit
.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 $2, %edi
leaq -24(%rbp), %rsi
callq _getrlimit
cltq
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB0_2
## %bb.1:
movabsq $9223372036854775807, %rax ## imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, -24(%rbp)
jne LBB0_3
LBB0_2:
movq $16777216, -8(%rbp) ## imm = 0x1000000
jmp LBB0_4
LBB0_3:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_4:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1013289.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, #-8]
add x1, sp, #24
adrp x8, _Handle@PAGE
add x8, x8, _Handle@PAGEOFF
str x8, [sp, #24]
str wzr, [sp, #36]
str wzr, [sp, #32]
mov w0, #11
mov x2, #0
bl _sigaction
subs w8, w0, #0
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, #-8]
b LBB0_8
LBB0_2:
str wzr, [sp, #20]
mov w8, #11
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_5
LBB0_4:
ldur w9, [x29, #-4]
mov w8, #1
subs w9, w9, #1
lsl w8, w8, w9
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_5
LBB0_5:
ldr w9, [sp, #4] ; 4-byte Folded Reload
add x1, sp, #20
ldr w8, [sp, #20]
orr w8, w8, w9
str w8, [sp, #20]
mov w0, #1
mov x2, #0
bl _sigprocmask
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_8
LBB0_7:
mov x8, #9
str x8, [sp, #8]
ldr x9, [sp, #8]
mov w8, #8
str w8, [x9]
stur wzr, [x29, #-8]
b LBB0_8
LBB0_8:
ldur w0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function Handle
_Handle: ; @Handle
.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, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to set up SEGV handler\n"
l_.str.1: ; @.str.1
.asciz "Unable to block SEGV\n"
l_.str.2: ; @.str.2
.asciz "Got SEGV\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 $48, %rsp
movl $0, -8(%rbp)
leaq _Handle(%rip), %rax
movq %rax, -24(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
movl $11, %edi
leaq -24(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigaction
cmpl $0, %eax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -8(%rbp)
jmp LBB0_8
LBB0_2:
movl $0, -28(%rbp)
movl $11, -4(%rbp)
cmpl $32, -4(%rbp)
jle LBB0_4
## %bb.3:
xorl %eax, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB0_5
LBB0_4:
movl -4(%rbp), %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB0_5:
movl -44(%rbp), %eax ## 4-byte Reload
orl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl $1, %edi
leaq -28(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigprocmask
cmpl $0, %eax
je LBB0_7
## %bb.6:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -8(%rbp)
jmp LBB0_8
LBB0_7:
movl $9, %eax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movl $8, (%rax)
movl $0, -8(%rbp)
LBB0_8:
movl -8(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function Handle
_Handle: ## @Handle
.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)
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to set up SEGV handler\n"
L_.str.1: ## @.str.1
.asciz "Unable to block SEGV\n"
L_.str.2: ## @.str.2
.asciz "Got SEGV\n"
.subsections_via_symbols
| the_stack_data/154829509.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/61073952.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mx_pow ; -- Begin function mx_pow
.p2align 2
_mx_pow: ; @mx_pow
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, #32]
str w0, [sp, #28]
fmov d0, #1.00000000
str d0, [sp, #16]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
fmov d0, #1.00000000
str d0, [sp, #40]
b LBB0_7
LBB0_2:
str wzr, [sp, #12]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr d1, [sp, #32]
ldr d0, [sp, #16]
fmul d0, d0, d1
str d0, [sp, #16]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_6:
ldr d0, [sp, #16]
str d0, [sp, #40]
b LBB0_7
LBB0_7:
ldr d0, [sp, #40]
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
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function mx_pow
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _mx_pow
.p2align 4, 0x90
_mx_pow: ## @mx_pow
.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)
movl %edi, -20(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
cmpl $0, -20(%rbp)
jne LBB0_2
## %bb.1:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB0_7
LBB0_2:
movl $0, -36(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -20(%rbp), %eax
jae LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -32(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_3
LBB0_6:
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
LBB0_7:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/34512366.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hash ; -- Begin function hash
.p2align 2
_hash: ; @hash
.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]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #4]
mov w8, #31
mul w8, w8, w9
ldr x9, [sp, #8]
ldrsb w9, [x9]
add w8, w8, w9
str w8, [sp, #4]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_1
LBB0_4:
ldr w8, [sp, #4]
mov w10, #1023
movk w10, #4, lsl #16
udiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _incword ; -- Begin function incword
.p2align 2
_incword: ; @incword
.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, _bin@GOTPAGE
ldr x8, [x8, _bin@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x0, [x29, #-8]
bl _hash
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w0, [sp, #20]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #24]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x0, [x29, #-8]
ldr x8, [sp, #24]
ldr x1, [x8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_3
LBB1_3:
ldr x9, [sp, #24]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
ldur w8, [x29, #-12]
ldr x9, [sp, #24]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldr x9, [sp, #24]
ldr w8, [x9, #12]
add w8, w8, #1
str w8, [x9, #12]
ldur w8, [x29, #-12]
ldr x9, [sp, #24]
str w8, [x9, #16]
b LBB1_5
LBB1_5:
b LBB1_11
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8, #24]
str x8, [sp, #24]
b LBB1_1
LBB1_8:
mov x0, #32
bl _malloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
b LBB1_11
LBB1_10:
ldr x9, [sp, #24]
mov w8, #1
str w8, [x9, #8]
ldr x9, [sp, #24]
str w8, [x9, #12]
ldur w8, [x29, #-12]
ldr x9, [sp, #24]
str w8, [x9, #16]
ldur x0, [x29, #-8]
bl _strlen
add x0, x0, #1
bl _malloc
ldr x8, [sp, #24]
str x0, [x8]
adrp x9, _total_number_words@PAGE
ldr x8, [x9, _total_number_words@PAGEOFF]
add x8, x8, #1
str x8, [x9, _total_number_words@PAGEOFF]
ldr x8, [sp, #24]
ldr x0, [x8]
ldur x1, [x29, #-8]
mov x2, #-1
bl ___strcpy_chk
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x8, [sp, #20]
ldr x8, [x9, x8, lsl #3]
ldr x10, [sp, #24]
str x8, [x10, #24]
ldr x8, [sp, #24]
ldrsw x10, [sp, #20]
str x8, [x9, x10, lsl #3]
b LBB1_11
LBB1_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _compare ; -- Begin function compare
.p2align 2
_compare: ; @compare
.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, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x8, [x29, #-32]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-52]
ldur x8, [x29, #-16]
stur x8, [x29, #-40]
ldur x8, [x29, #-24]
stur x8, [x29, #-48]
ldur w8, [x29, #-52]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #48] ; 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, LBB2_44
; %bb.1:
ldr x11, [sp, #48] ; 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:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #8]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_45
LBB2_4:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #8]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
mov w8, #4
stur w8, [x29, #-52]
b LBB2_6
LBB2_6:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #8]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_45
LBB2_8:
b LBB2_45
LBB2_9:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #12]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_45
LBB2_11:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #12]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_13
b LBB2_12
LBB2_12:
stur wzr, [x29, #-4]
b LBB2_45
LBB2_13:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #12]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_45
LBB2_15:
b LBB2_45
LBB2_16:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #8]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_18
b LBB2_17
LBB2_17:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_45
LBB2_18:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #8]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_20
b LBB2_19
LBB2_19:
stur wzr, [x29, #-4]
b LBB2_45
LBB2_20:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #8]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_22
b LBB2_21
LBB2_21:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_45
LBB2_22:
b LBB2_45
LBB2_23:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #12]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_25
b LBB2_24
LBB2_24:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_45
LBB2_25:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #12]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_27
b LBB2_26
LBB2_26:
stur wzr, [x29, #-4]
b LBB2_45
LBB2_27:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr w8, [x8, #12]
ldur x9, [x29, #-48]
ldr x9, [x9]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_29
b LBB2_28
LBB2_28:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_45
LBB2_29:
b LBB2_45
LBB2_30:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
str x0, [sp, #40] ; 8-byte Folded Spill
ldur x8, [x29, #-48]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
mov x8, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
subs x8, x0, x8
cset w8, hs
tbnz w8, #0, LBB2_32
b LBB2_31
LBB2_31:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_45
LBB2_32:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
str x0, [sp, #32] ; 8-byte Folded Spill
ldur x8, [x29, #-48]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
mov x8, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, LBB2_34
b LBB2_33
LBB2_33:
stur wzr, [x29, #-4]
b LBB2_45
LBB2_34:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
str x0, [sp, #24] ; 8-byte Folded Spill
ldur x8, [x29, #-48]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
subs x8, x0, x8
cset w8, ls
tbnz w8, #0, LBB2_36
b LBB2_35
LBB2_35:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_45
LBB2_36:
b LBB2_45
LBB2_37:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
str x0, [sp, #16] ; 8-byte Folded Spill
ldur x8, [x29, #-48]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
subs x8, x0, x8
cset w8, ls
tbnz w8, #0, LBB2_39
b LBB2_38
LBB2_38:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_45
LBB2_39:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
str x0, [sp, #8] ; 8-byte Folded Spill
ldur x8, [x29, #-48]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, LBB2_41
b LBB2_40
LBB2_40:
stur wzr, [x29, #-4]
b LBB2_45
LBB2_41:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
str x0, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-48]
ldr x8, [x8]
ldr x0, [x8]
bl _strlen
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
subs x8, x0, x8
cset w8, hs
tbnz w8, #0, LBB2_43
b LBB2_42
LBB2_42:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_45
LBB2_43:
b LBB2_45
LBB2_44:
stur wzr, [x29, #-4]
b LBB2_45
LBB2_45:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
.p2align 2
lJTI2_0:
.long LBB2_2-Ltmp1
.long LBB2_9-Ltmp1
.long LBB2_16-Ltmp1
.long LBB2_23-Ltmp1
.long LBB2_30-Ltmp1
.long LBB2_37-Ltmp1
; -- End function
.globl _sort_hash ; -- Begin function sort_hash
.p2align 2
_sort_hash: ; @sort_hash
.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, _bin_array@GOTPAGE
ldr x8, [x8, _bin_array@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
str xzr, [sp, #16]
adrp x8, _total_number_words@PAGE
ldr x8, [x8, _total_number_words@PAGEOFF]
lsl x0, x8, #3
bl _malloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8]
stur wzr, [x29, #-20]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
ldur w8, [x29, #-20]
mov w9, #1023
movk w9, #4, lsl #16
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldursw x9, [x29, #-20]
adrp x8, _bin@GOTPAGE
ldr x8, [x8, _bin@GOTPAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-16]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x9, [x9]
ldr x10, [sp, #16]
add x11, x10, #1
str x11, [sp, #16]
str x8, [x9, x10, lsl #3]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
stur x8, [x29, #-16]
b LBB3_3
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB3_1
LBB3_8:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _total_number_words@PAGE
ldr x1, [x8, _total_number_words@PAGEOFF]
ldur w8, [x29, #-4]
mov x4, x8
mov x2, #8
adrp x3, _compare@PAGE
add x3, x3, _compare@PAGEOFF
bl _qsort_r
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _print_cmdline_error ; -- Begin function print_cmdline_error
.p2align 2
_print_cmdline_error: ; @print_cmdline_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
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
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _open_copy ; -- Begin function open_copy
.p2align 2
_open_copy: ; @open_copy
.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]
ldur x0, [x29, #-8]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fopen
str x0, [sp, #24]
str xzr, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB5_2:
b LBB5_3
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-16]
ldr x2, [sp, #24]
mov w1, #41248
movk w1, #7, lsl #16
bl _fgets
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=1
b LBB5_3
LBB5_5:
ldur x0, [x29, #-16]
bl _strlen
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _calcfr ; -- Begin function calcfr
.p2align 2
_calcfr: ; @calcfr
.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]
stur x0, [x29, #-32]
sturb w1, [x29, #-33]
str w2, [sp, #40]
stur xzr, [x29, #-24]
stur wzr, [x29, #-16]
ldurb w8, [x29, #-33]
strb w8, [sp, #38]
strb wzr, [sp, #39]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #28]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #28]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-32]
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB6_6
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-32]
ldrsw x9, [sp, #28]
add x1, x8, x9
ldrsw x2, [sp, #40]
sub x0, x29, #24
str x0, [sp, #8] ; 8-byte Folded Spill
mov x3, #12
bl ___strncpy_chk
ldr x1, [sp, #8] ; 8-byte Folded Reload
add x0, sp, #38
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB6_1
LBB6_6:
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, LBB6_8
b LBB6_7
LBB6_7:
bl ___stack_chk_fail
LBB6_8:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _calcWordFrequency ; -- Begin function calcWordFrequency
.p2align 2
_calcWordFrequency: ; @calcWordFrequency
.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]
stur x0, [x29, #-32]
str x1, [sp, #40]
str w2, [sp, #36]
stur xzr, [x29, #-24]
stur wzr, [x29, #-16]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #28]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #28]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-32]
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB7_6
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-32]
ldrsw x9, [sp, #28]
add x1, x8, x9
ldrsw x2, [sp, #36]
sub x0, x29, #24
str x0, [sp, #8] ; 8-byte Folded Spill
mov x3, #12
bl ___strncpy_chk
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #40]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB7_1
LBB7_6:
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, LBB7_8
b LBB7_7
LBB7_7:
bl ___stack_chk_fail
LBB7_8:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _calcLetterProb ; -- Begin function calcLetterProb
.p2align 2
_calcLetterProb: ; @calcLetterProb
.cfi_startproc
; %bb.0:
sub sp, sp, #272
.cfi_def_cfa_offset 272
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.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 w0, [sp, #56]
str x1, [sp, #48]
add x0, sp, #60
mov w1, #0
mov x2, #160
bl _memset
mov w8, #-1
str w8, [sp, #32]
str wzr, [sp, #28]
mov w8, #65
strb w8, [sp, #39]
b LBB8_1
LBB8_1: ; =>This Loop Header: Depth=1
; Child Loop BB8_3 Depth 2
ldrsb w8, [sp, #39]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB8_8
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldrsb w8, [sp, #39]
subs w10, w8, #65
add x9, sp, #60
mov w8, #0
str w8, [x9, w10, sxtw #2]
str wzr, [sp, #28]
b LBB8_3
LBB8_3: ; Parent Loop BB8_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
ldr w9, [sp, #56]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_6
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=2
ldrsb w8, [sp, #39]
subs w9, w8, #65
add x8, sp, #60
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #12] ; 4-byte Folded Spill
ldrsw x8, [sp, #28]
mov x9, #41248
movk x9, #7, lsl #16
mul x9, x8, x9
adrp x8, _input_sequences@GOTPAGE
ldr x8, [x8, _input_sequences@GOTPAGEOFF]
add x0, x8, x9
ldrsb w1, [sp, #39]
mov w2, #1
bl _calcfr
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
add w8, w8, w0
ldrsb w10, [sp, #39]
subs w10, w10, #65
str w8, [x9, w10, sxtw #2]
ldr x8, [sp, #48]
ldrsw x9, [sp, #28]
ldr x9, [x8, x9, lsl #3]
ldrsw x8, [sp, #32]
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #32]
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB8_3
LBB8_6: ; in Loop: Header=BB8_1 Depth=1
ldrsb w8, [sp, #39]
subs w9, w8, #65
add x8, sp, #60
ldr s1, [x8, w9, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
str d0, [sp, #40]
ldr d0, [sp, #40]
ldr s2, [sp, #32]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
ldrsb w8, [sp, #39]
subs w9, w8, #65
adrp x8, _prob_letter@GOTPAGE
ldr x8, [x8, _prob_letter@GOTPAGEOFF]
str d0, [x8, w9, sxtw #3]
mov w8, #-1
str w8, [sp, #32]
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_1 Depth=1
ldrb w8, [sp, #39]
add w8, w8, #1
strb w8, [sp, #39]
b LBB8_1
LBB8_8:
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, LBB8_10
b LBB8_9
LBB8_9:
bl ___stack_chk_fail
LBB8_10:
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.globl _calcWordProb ; -- Begin function calcWordProb
.p2align 2
_calcWordProb: ; @calcWordProb
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
fmov d0, #1.00000000
str d0, [sp, #16]
str wzr, [sp, #8]
str wzr, [sp, #8]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
ldr d0, [sp, #16]
ldrsb w8, [sp, #15]
subs w9, w8, #65
adrp x8, _prob_letter@GOTPAGE
ldr x8, [x8, _prob_letter@GOTPAGEOFF]
ldr d1, [x8, w9, sxtw #3]
fmul d0, d0, d1
str d0, [sp, #16]
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB9_1
LBB9_4:
ldr d0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _phicount ; -- Begin function phicount
.p2align 2
_phicount: ; @phicount
.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, #208
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur w2, [x29, #-24]
stur wzr, [x29, #-32]
stur wzr, [x29, #-40]
ldur w8, [x29, #-20]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-48]
lsr x9, x8, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-160] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-160] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-152] ; 8-byte Folded Spill
stur x8, [x29, #-56]
ldur w8, [x29, #-20]
add w8, w8, #2
; kill: def $x8 killed $w8
stur x8, [x29, #-144] ; 8-byte Folded Spill
lsr x9, x8, #0
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 x0, x9, x10
stur x0, [x29, #-128] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-64]
ldur w8, [x29, #-20]
; kill: def $x8 killed $w8
stur x8, [x29, #-120] ; 8-byte Folded Spill
lsr x9, x8, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-112] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-112] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-104] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-72]
stur wzr, [x29, #-84]
ldur w8, [x29, #-20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
ldur x8, [x29, #-152] ; 8-byte Folded Reload
ldur x9, [x29, #-16]
ldrb w9, [x9]
strb w9, [x8]
strb wzr, [x8, #1]
b LBB10_3
LBB10_2:
ldur x0, [x29, #-152] ; 8-byte Folded Reload
ldur x1, [x29, #-16]
ldursw x2, [x29, #-20]
mov x3, #-1
bl ___strncpy_chk
b LBB10_3
LBB10_3:
ldur x0, [x29, #-152] ; 8-byte Folded Reload
bl _calcWordProb
ldur x0, [x29, #-128] ; 8-byte Folded Reload
ldur x2, [x29, #-144] ; 8-byte Folded Reload
stur d0, [x29, #-96]
mov w1, #0
stur w1, [x29, #-172] ; 4-byte Folded Spill
mov x3, #-1
stur x3, [x29, #-168] ; 8-byte Folded Spill
bl ___memset_chk
ldur w1, [x29, #-172] ; 4-byte Folded Reload
ldur x2, [x29, #-120] ; 8-byte Folded Reload
ldur x3, [x29, #-168] ; 8-byte Folded Reload
ldur x0, [x29, #-104] ; 8-byte Folded Reload
bl ___memset_chk
stur wzr, [x29, #-28]
b LBB10_4
LBB10_4: ; =>This Loop Header: Depth=1
; Child Loop BB10_7 Depth 2
; Child Loop BB10_13 Depth 2
ldursw x8, [x29, #-28]
stur x8, [x29, #-184] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldur x8, [x29, #-184] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB10_21
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_4 Depth=1
ldur x0, [x29, #-128] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
add x1, x8, x9
ldur w8, [x29, #-20]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
stur x3, [x29, #-192] ; 8-byte Folded Spill
bl ___strncpy_chk
ldur x3, [x29, #-192] ; 8-byte Folded Reload
ldur x0, [x29, #-104] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
add x1, x8, x9
ldursw x2, [x29, #-20]
bl ___strncpy_chk
ldur x0, [x29, #-128] ; 8-byte Folded Reload
bl _strlen
ldursw x8, [x29, #-20]
subs x8, x0, x8
cset w8, ls
tbnz w8, #0, LBB10_19
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_4 Depth=1
ldur x0, [x29, #-128] ; 8-byte Folded Reload
stur wzr, [x29, #-36]
stur wzr, [x29, #-40]
bl _hash
stur w0, [x29, #-84]
ldursw x9, [x29, #-84]
adrp x8, _bin@GOTPAGE
ldr x8, [x8, _bin@GOTPAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-80]
b LBB10_7
LBB10_7: ; Parent Loop BB10_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-80]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_12
b LBB10_8
LBB10_8: ; in Loop: Header=BB10_7 Depth=2
ldur x0, [x29, #-128] ; 8-byte Folded Reload
ldur x8, [x29, #-80]
ldr x1, [x8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB10_10
b LBB10_9
LBB10_9: ; in Loop: Header=BB10_7 Depth=2
ldur x8, [x29, #-80]
ldr w8, [x8, #8]
stur w8, [x29, #-36]
b LBB10_10
LBB10_10: ; in Loop: Header=BB10_7 Depth=2
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_7 Depth=2
ldur x8, [x29, #-80]
ldr x8, [x8, #24]
stur x8, [x29, #-80]
b LBB10_7
LBB10_12: ; in Loop: Header=BB10_4 Depth=1
ldur x0, [x29, #-104] ; 8-byte Folded Reload
bl _hash
stur w0, [x29, #-84]
ldursw x9, [x29, #-84]
adrp x8, _bin@GOTPAGE
ldr x8, [x8, _bin@GOTPAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-80]
b LBB10_13
LBB10_13: ; Parent Loop BB10_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-80]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_18
b LBB10_14
LBB10_14: ; in Loop: Header=BB10_13 Depth=2
ldur x0, [x29, #-104] ; 8-byte Folded Reload
ldur x8, [x29, #-80]
ldr x1, [x8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB10_16
b LBB10_15
LBB10_15: ; in Loop: Header=BB10_13 Depth=2
ldur x8, [x29, #-80]
ldr w8, [x8, #8]
stur w8, [x29, #-40]
b LBB10_16
LBB10_16: ; in Loop: Header=BB10_13 Depth=2
b LBB10_17
LBB10_17: ; in Loop: Header=BB10_13 Depth=2
ldur x8, [x29, #-80]
ldr x8, [x8, #24]
stur x8, [x29, #-80]
b LBB10_13
LBB10_18: ; in Loop: Header=BB10_4 Depth=1
ldur d0, [x29, #-96]
ldur s2, [x29, #-36]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
ldur s3, [x29, #-40]
; implicit-def: $d2
fmov s2, s3
sshll.2d v2, v2, #0
; kill: def $d2 killed $d2 killed $q2
scvtf d2, d2
fdiv d1, d1, d2
fmul d0, d0, d1
stur d0, [x29, #-96]
b LBB10_19
LBB10_19: ; in Loop: Header=BB10_4 Depth=1
b LBB10_20
LBB10_20: ; in Loop: Header=BB10_4 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB10_4
LBB10_21:
ldur d0, [x29, #-96]
stur d0, [x29, #-208] ; 8-byte Folded Spill
ldur x8, [x29, #-48]
stur x8, [x29, #-200] ; 8-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, LBB10_23
b LBB10_22
LBB10_22:
bl ___stack_chk_fail
LBB10_23:
ldur d0, [x29, #-208] ; 8-byte Folded Reload
ldur x8, [x29, #-200] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
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, #272
.cfi_def_cfa_offset 272
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #104] ; 8-byte Folded Spill
adrp x8, _sequence_lengths@GOTPAGE
ldr x8, [x8, _sequence_lengths@GOTPAGEOFF]
str x8, [sp, #112] ; 8-byte Folded Spill
adrp x8, _bin_array@GOTPAGE
ldr x8, [x8, _bin_array@GOTPAGEOFF]
str x8, [sp, #120] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-44]
stur w0, [x29, #-48]
stur x1, [x29, #-56]
stur wzr, [x29, #-60]
stur wzr, [x29, #-64]
stur wzr, [x29, #-68]
mov w8, #2
stur w8, [x29, #-72]
fmov d0, #1.00000000
stur d0, [x29, #-96]
movi d0, #0000000000000000
stur d0, [x29, #-112]
stur d0, [x29, #-120]
ldur w8, [x29, #-48]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
bl _print_cmdline_error
b LBB11_2
LBB11_2:
mov w8, #1
stur w8, [x29, #-76]
b LBB11_3
LBB11_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-76]
ldur w9, [x29, #-48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_33
b LBB11_4
LBB11_4: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_6
b LBB11_5
LBB11_5: ; in Loop: Header=BB11_3 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
bl _atoi
stur w0, [x29, #-64]
b LBB11_31
LBB11_6: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_8
b LBB11_7
LBB11_7: ; in Loop: Header=BB11_3 Depth=1
stur wzr, [x29, #-72]
b LBB11_30
LBB11_8: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_10
b LBB11_9
LBB11_9: ; in Loop: Header=BB11_3 Depth=1
mov w8, #1
stur w8, [x29, #-72]
b LBB11_29
LBB11_10: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_12
b LBB11_11
LBB11_11: ; in Loop: Header=BB11_3 Depth=1
mov w8, #2
stur w8, [x29, #-72]
b LBB11_28
LBB11_12: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_14
b LBB11_13
LBB11_13: ; in Loop: Header=BB11_3 Depth=1
mov w8, #3
stur w8, [x29, #-72]
b LBB11_27
LBB11_14: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_16
b LBB11_15
LBB11_15: ; in Loop: Header=BB11_3 Depth=1
mov w8, #4
stur w8, [x29, #-72]
b LBB11_26
LBB11_16: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_18
b LBB11_17
LBB11_17: ; in Loop: Header=BB11_3 Depth=1
mov w8, #5
stur w8, [x29, #-72]
b LBB11_25
LBB11_18: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_20
b LBB11_19
LBB11_19: ; in Loop: Header=BB11_3 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
bl _atoi
stur w0, [x29, #-68]
b LBB11_24
LBB11_20: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_22
b LBB11_21
LBB11_21: ; in Loop: Header=BB11_3 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
bl _atoi
adrp x8, _MARKOV_ORDER@PAGE
str w0, [x8, _MARKOV_ORDER@PAGEOFF]
b LBB11_23
LBB11_22: ; in Loop: Header=BB11_3 Depth=1
ldur x8, [x29, #-56]
ldursw x9, [x29, #-76]
ldr x0, [x8, x9, lsl #3]
ldursw x8, [x29, #-60]
mov x9, #41248
movk x9, #7, lsl #16
mul x9, x8, x9
adrp x8, _input_sequences@GOTPAGE
ldr x8, [x8, _input_sequences@GOTPAGEOFF]
add x1, x8, x9
bl _open_copy
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
str x0, [x8, x9, lsl #3]
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB11_23
LBB11_23: ; in Loop: Header=BB11_3 Depth=1
b LBB11_24
LBB11_24: ; in Loop: Header=BB11_3 Depth=1
b LBB11_25
LBB11_25: ; in Loop: Header=BB11_3 Depth=1
b LBB11_26
LBB11_26: ; in Loop: Header=BB11_3 Depth=1
b LBB11_27
LBB11_27: ; in Loop: Header=BB11_3 Depth=1
b LBB11_28
LBB11_28: ; in Loop: Header=BB11_3 Depth=1
b LBB11_29
LBB11_29: ; in Loop: Header=BB11_3 Depth=1
b LBB11_30
LBB11_30: ; in Loop: Header=BB11_3 Depth=1
b LBB11_31
LBB11_31: ; in Loop: Header=BB11_3 Depth=1
b LBB11_32
LBB11_32: ; in Loop: Header=BB11_3 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB11_3
LBB11_33:
adrp x8, _MARKOV_ORDER@PAGE
ldr w8, [x8, _MARKOV_ORDER@PAGEOFF]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB11_38
b LBB11_34
LBB11_34:
adrp x8, _MARKOV_ORDER@PAGE
ldr w8, [x8, _MARKOV_ORDER@PAGEOFF]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB11_38
b LBB11_35
LBB11_35:
adrp x8, _MARKOV_ORDER@PAGE
ldr w8, [x8, _MARKOV_ORDER@PAGEOFF]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB11_38
b LBB11_36
LBB11_36:
adrp x8, _MARKOV_ORDER@PAGE
ldr w8, [x8, _MARKOV_ORDER@PAGEOFF]
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB11_38
b LBB11_37
LBB11_37:
adrp x8, _MARKOV_ORDER@PAGE
ldr w9, [x8, _MARKOV_ORDER@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB11_38:
ldur w8, [x29, #-64]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_41
b LBB11_39
LBB11_39:
ldur w8, [x29, #-68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_41
b LBB11_40
LBB11_40:
ldur w8, [x29, #-64]
ldur w9, [x29, #-68]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB11_42
b LBB11_41
LBB11_41:
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB11_42:
ldur w8, [x29, #-60]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB11_44
b LBB11_43
LBB11_43:
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB11_44:
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w9, [x29, #-64]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w9, [x29, #-68]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _fprintf
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w9, [x29, #-60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _MARKOV_ORDER@PAGE
ldr w9, [x8, _MARKOV_ORDER@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
stur wzr, [x29, #-76]
b LBB11_45
LBB11_45: ; =>This Loop Header: Depth=1
; Child Loop BB11_47 Depth 2
; Child Loop BB11_49 Depth 3
ldur w8, [x29, #-76]
ldur w9, [x29, #-60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_59
b LBB11_46
LBB11_46: ; in Loop: Header=BB11_45 Depth=1
mov w8, #1
stur w8, [x29, #-124]
b LBB11_47
LBB11_47: ; Parent Loop BB11_45 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB11_49 Depth 3
ldur w8, [x29, #-124]
ldur w9, [x29, #-68]
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_57
b LBB11_48
LBB11_48: ; in Loop: Header=BB11_47 Depth=2
stur wzr, [x29, #-84]
b LBB11_49
LBB11_49: ; Parent Loop BB11_45 Depth=1
; Parent Loop BB11_47 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldur w9, [x29, #-84]
str w9, [sp, #100] ; 4-byte Folded Spill
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-124]
subs x8, x8, x9
add x8, x8, #1
mov x9, x8
mov w8, #0
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB11_51
b LBB11_50
LBB11_50: ; in Loop: Header=BB11_49 Depth=3
mov w8, #0
str w8, [sp, #96] ; 4-byte Folded Spill
b LBB11_52
LBB11_51: ; in Loop: Header=BB11_49 Depth=3
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-124]
subs x8, x8, x9
add x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #96] ; 4-byte Folded Spill
b LBB11_52
LBB11_52: ; in Loop: Header=BB11_49 Depth=3
ldr w8, [sp, #100] ; 4-byte Folded Reload
ldr w9, [sp, #96] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_55
b LBB11_53
LBB11_53: ; in Loop: Header=BB11_49 Depth=3
ldursw x8, [x29, #-76]
mov x9, #41248
movk x9, #7, lsl #16
mul x9, x8, x9
adrp x8, _input_sequences@GOTPAGE
ldr x8, [x8, _input_sequences@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-84]
add x1, x8, x9
ldursw x2, [x29, #-124]
sub x0, x29, #40
str x0, [sp, #88] ; 8-byte Folded Spill
mov x3, #16
bl ___strncpy_chk
ldr x0, [sp, #88] ; 8-byte Folded Reload
ldursw x9, [x29, #-124]
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
ldur w1, [x29, #-76]
bl _incword
b LBB11_54
LBB11_54: ; in Loop: Header=BB11_49 Depth=3
ldur w8, [x29, #-84]
add w8, w8, #1
stur w8, [x29, #-84]
b LBB11_49
LBB11_55: ; in Loop: Header=BB11_47 Depth=2
b LBB11_56
LBB11_56: ; in Loop: Header=BB11_47 Depth=2
ldur w8, [x29, #-124]
add w8, w8, #1
stur w8, [x29, #-124]
b LBB11_47
LBB11_57: ; in Loop: Header=BB11_45 Depth=1
b LBB11_58
LBB11_58: ; in Loop: Header=BB11_45 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB11_45
LBB11_59:
ldur w0, [x29, #-72]
bl _sort_hash
ldr x1, [sp, #112] ; 8-byte Folded Reload
ldur w0, [x29, #-60]
bl _calcLetterProb
stur wzr, [x29, #-84]
b LBB11_60
LBB11_60: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-84]
ldur w9, [x29, #-60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_63
b LBB11_61
LBB11_61: ; in Loop: Header=BB11_60 Depth=1
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldur d0, [x29, #-120]
ldursw x9, [x29, #-84]
ldr d1, [x8, x9, lsl #3]
ucvtf d1, d1
fadd d0, d0, d1
stur d0, [x29, #-120]
b LBB11_62
LBB11_62: ; in Loop: Header=BB11_60 Depth=1
ldur w8, [x29, #-84]
add w8, w8, #1
stur w8, [x29, #-84]
b LBB11_60
LBB11_63:
adrp x8, _total_number_words@PAGE
ldr x8, [x8, _total_number_words@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.30@PAGE
add x0, x0, l_.str.30@PAGEOFF
bl _printf
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _printf
stur wzr, [x29, #-76]
b LBB11_64
LBB11_64: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-76]
adrp x9, _total_number_words@PAGE
ldr x9, [x9, _total_number_words@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB11_71
b LBB11_65
LBB11_65: ; in Loop: Header=BB11_64 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_67
b LBB11_66
LBB11_66:
mov w0, #1
bl _exit
LBB11_67: ; in Loop: Header=BB11_64 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
ldr x0, [x8]
bl _strlen
ldursw x8, [x29, #-64]
subs x8, x0, x8
cset w8, lo
tbnz w8, #0, LBB11_69
b LBB11_68
LBB11_68: ; in Loop: Header=BB11_64 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
ldr x0, [x8]
adrp x8, _MARKOV_ORDER@PAGE
ldr w1, [x8, _MARKOV_ORDER@PAGEOFF]
ldur w2, [x29, #-60]
bl _phicount
ldr x8, [sp, #120] ; 8-byte Folded Reload
stur d0, [x29, #-96]
ldur d0, [x29, #-96]
str d0, [sp, #80] ; 8-byte Folded Spill
ldur d0, [x29, #-120]
str d0, [sp, #72] ; 8-byte Folded Spill
ldr x8, [x8]
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
ldr x0, [x8]
bl _strlen
ldr d1, [sp, #72] ; 8-byte Folded Reload
ldr d0, [sp, #80] ; 8-byte Folded Reload
ldr x8, [sp, #120] ; 8-byte Folded Reload
ucvtf d2, x0
fsub d1, d1, d2
fmov d2, #1.00000000
fadd d1, d1, d2
fmul d0, d0, d1
stur d0, [x29, #-112]
ldr x9, [x8]
ldursw x10, [x29, #-76]
ldr x9, [x9, x10, lsl #3]
ldr s1, [x9, #8]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur d1, [x29, #-112]
fdiv d0, d0, d1
stur d0, [x29, #-104]
ldur w9, [x29, #-68]
; implicit-def: $x12
mov x12, x9
ldr x9, [x8]
ldursw x10, [x29, #-76]
ldr x9, [x9, x10, lsl #3]
ldr x11, [x9]
ldr x9, [x8]
ldursw x10, [x29, #-76]
ldr x9, [x9, x10, lsl #3]
ldr w9, [x9, #8]
; implicit-def: $x10
mov x10, x9
ldr x8, [x8]
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #12]
; implicit-def: $x9
mov x9, x8
ldur d2, [x29, #-96]
ldur d1, [x29, #-112]
ldur d0, [x29, #-104]
mov x8, sp
str x12, [x8]
str x11, [x8, #8]
str x10, [x8, #16]
str x9, [x8, #24]
str d2, [x8, #32]
str d1, [x8, #40]
str d0, [x8, #48]
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
bl _printf
b LBB11_69
LBB11_69: ; in Loop: Header=BB11_64 Depth=1
b LBB11_70
LBB11_70: ; in Loop: Header=BB11_64 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB11_64
LBB11_71:
ldur w8, [x29, #-44]
str w8, [sp, #68] ; 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, LBB11_73
b LBB11_72
LBB11_72:
bl ___stack_chk_fail
LBB11_73:
ldr w0, [sp, #68] ; 4-byte Folded Reload
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.globl _total_number_words ; @total_number_words
.zerofill __DATA,__common,_total_number_words,8,3
.section __DATA,__data
.globl _MARKOV_ORDER ; @MARKOV_ORDER
.p2align 2
_MARKOV_ORDER:
.long 1 ; 0x1
.comm _bin,2105336,3 ; @bin
.comm _bin_array,8,3 ; @bin_array
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error: improper command line arguments\n"
l_.str.1: ; @.str.1
.asciz "Usage: word_count -min X -max Y [-descseq|-ascseq|-desctot|-asctot|-desclength|-asclength] filename [other filenames]\n"
l_.str.2: ; @.str.2
.asciz "-min minimum word length\n"
l_.str.3: ; @.str.3
.asciz "-max maximum word length\n"
l_.str.4: ; @.str.4
.asciz "-descseq causes the output to be sorted in descending order of sequence counts\n"
l_.str.5: ; @.str.5
.asciz "-ascseq causes the output to be sorted in ascending order of sequence counts\n"
l_.str.6: ; @.str.6
.asciz "-desctot causes the output to be sorted in descending order of total counts\n"
l_.str.7: ; @.str.7
.asciz "-asctot causes the output to be sorted in ascending order of total counts\n"
l_.str.8: ; @.str.8
.asciz "-desclength causes the output to be sorted in descending order of word length\n"
l_.str.9: ; @.str.9
.asciz "-order pick the markov order 1, 2 or 3\n"
l_.str.10: ; @.str.10
.asciz "Example: word_count -min 3 -max 10 -asctot -order 2 filename1 filename2 filname3\n"
l_.str.11: ; @.str.11
.asciz "r"
l_.str.12: ; @.str.12
.asciz "Error: unable to open file %s\n"
.comm _input_sequences,5000000,0 ; @input_sequences
.comm _prob_letter,400,3 ; @prob_letter
l_.str.13: ; @.str.13
.asciz "-min"
l_.str.14: ; @.str.14
.asciz "-asctot"
l_.str.15: ; @.str.15
.asciz "-ascseq"
l_.str.16: ; @.str.16
.asciz "-desctot"
l_.str.17: ; @.str.17
.asciz "-descseq"
l_.str.18: ; @.str.18
.asciz "-asclength"
l_.str.19: ; @.str.19
.asciz "-desclength"
l_.str.20: ; @.str.20
.asciz "-max"
l_.str.21: ; @.str.21
.asciz "-order"
.comm _sequence_lengths,80,3 ; @sequence_lengths
l_.str.22: ; @.str.22
.asciz "%d\n"
l_.str.23: ; @.str.23
.asciz "Error: -order can take only 1, 2, 3 or 4\n"
l_.str.24: ; @.str.24
.asciz "Error: incorrect or missing minimum or maximum word length\n"
l_.str.25: ; @.str.25
.asciz "Error: no input file names specified\n"
l_.str.26: ; @.str.26
.asciz "min wordlength = %d\n"
l_.str.27: ; @.str.27
.asciz "max wordlength = %d\n"
l_.str.28: ; @.str.28
.asciz "number of input files = %d\n"
l_.str.29: ; @.str.29
.asciz "Markov order chosen = %d\n"
l_.str.30: ; @.str.30
.asciz "total number of words =\t %ld\n"
l_.str.31: ; @.str.31
.asciz "Word\tWordCount\t SeqCount\t Word Probbility\tExpected value\tO/E score \n"
l_.str.32: ; @.str.32
.asciz "%-*s \t%d \t%d\t %.15lf\t %.15lf\t %.15lf\n"
.comm _node,32,3 ; @node
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hash ## -- Begin function hash
.p2align 4, 0x90
_hash: ## @hash
.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
cmpb $0, (%rax)
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
imull $31, -12(%rbp), %eax
movq -8(%rbp), %rcx
movsbl (%rcx), %ecx
addl %ecx, %eax
movl %eax, -12(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl -12(%rbp), %eax
movl $263167, %ecx ## imm = 0x403FF
xorl %edx, %edx
divl %ecx
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _incword ## -- Begin function incword
.p2align 4, 0x90
_incword: ## @incword
.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 -8(%rbp), %rdi
callq _hash
movl %eax, -28(%rbp)
movslq -28(%rbp), %rcx
movq _bin@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -24(%rbp)
je LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rdi
movq -24(%rbp), %rax
movq (%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_6
## %bb.3:
movq -24(%rbp), %rax
movl 8(%rax), %ecx
addl $1, %ecx
movl %ecx, 8(%rax)
movl -12(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 16(%rcx), %eax
je LBB1_5
## %bb.4:
movq -24(%rbp), %rax
movl 12(%rax), %ecx
addl $1, %ecx
movl %ecx, 12(%rax)
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 16(%rax)
LBB1_5:
jmp LBB1_11
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB1_1
LBB1_8:
movl $32, %edi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB1_10
## %bb.9:
jmp LBB1_11
LBB1_10:
movq -24(%rbp), %rax
movl $1, 8(%rax)
movq -24(%rbp), %rax
movl $1, 12(%rax)
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 16(%rax)
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rdi
addq $1, %rdi
callq _malloc
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq _total_number_words(%rip), %rax
addq $1, %rax
movq %rax, _total_number_words(%rip)
movq -24(%rbp), %rax
movq (%rax), %rdi
movq -8(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movslq -28(%rbp), %rcx
movq _bin@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rcx
movq -24(%rbp), %rax
movq %rcx, 24(%rax)
movq -24(%rbp), %rdx
movslq -28(%rbp), %rcx
movq _bin@GOTPCREL(%rip), %rax
movq %rdx, (%rax,%rcx,8)
LBB1_11:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _compare ## -- Begin function compare
.p2align 4, 0x90
_compare: ## @compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl -32(%rbp), %eax
movl %eax, -52(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movl -52(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
subq $5, %rax
ja LBB2_43
## %bb.45:
movq -64(%rbp), %rax ## 8-byte Reload
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_1:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 8(%rcx), %eax
jge LBB2_3
## %bb.2:
movl $-1, -4(%rbp)
jmp LBB2_44
LBB2_3:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 8(%rcx), %eax
jne LBB2_5
## %bb.4:
movl $4, -52(%rbp)
LBB2_5:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 8(%rcx), %eax
jle LBB2_7
## %bb.6:
movl $1, -4(%rbp)
jmp LBB2_44
LBB2_7:
jmp LBB2_44
LBB2_8:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 12(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 12(%rcx), %eax
jge LBB2_10
## %bb.9:
movl $-1, -4(%rbp)
jmp LBB2_44
LBB2_10:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 12(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 12(%rcx), %eax
jne LBB2_12
## %bb.11:
movl $0, -4(%rbp)
jmp LBB2_44
LBB2_12:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 12(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 12(%rcx), %eax
jle LBB2_14
## %bb.13:
movl $1, -4(%rbp)
jmp LBB2_44
LBB2_14:
jmp LBB2_44
LBB2_15:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 8(%rcx), %eax
jle LBB2_17
## %bb.16:
movl $-1, -4(%rbp)
jmp LBB2_44
LBB2_17:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 8(%rcx), %eax
jne LBB2_19
## %bb.18:
movl $0, -4(%rbp)
jmp LBB2_44
LBB2_19:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 8(%rcx), %eax
jge LBB2_21
## %bb.20:
movl $1, -4(%rbp)
jmp LBB2_44
LBB2_21:
jmp LBB2_44
LBB2_22:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 12(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 12(%rcx), %eax
jle LBB2_24
## %bb.23:
movl $-1, -4(%rbp)
jmp LBB2_44
LBB2_24:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 12(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 12(%rcx), %eax
jne LBB2_26
## %bb.25:
movl $0, -4(%rbp)
jmp LBB2_44
LBB2_26:
movq -40(%rbp), %rax
movq (%rax), %rax
movl 12(%rax), %eax
movq -48(%rbp), %rcx
movq (%rcx), %rcx
cmpl 12(%rcx), %eax
jge LBB2_28
## %bb.27:
movl $1, -4(%rbp)
jmp LBB2_44
LBB2_28:
jmp LBB2_44
LBB2_29:
movq -40(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, -72(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movq -72(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB2_31
## %bb.30:
movl $-1, -4(%rbp)
jmp LBB2_44
LBB2_31:
movq -40(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, -80(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movq -80(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jne LBB2_33
## %bb.32:
movl $0, -4(%rbp)
jmp LBB2_44
LBB2_33:
movq -40(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, -88(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movq -88(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jbe LBB2_35
## %bb.34:
movl $1, -4(%rbp)
jmp LBB2_44
LBB2_35:
jmp LBB2_44
LBB2_36:
movq -40(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, -96(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movq -96(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jbe LBB2_38
## %bb.37:
movl $-1, -4(%rbp)
jmp LBB2_44
LBB2_38:
movq -40(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, -104(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movq -104(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jne LBB2_40
## %bb.39:
movl $0, -4(%rbp)
jmp LBB2_44
LBB2_40:
movq -40(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, -112(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movq -112(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB2_42
## %bb.41:
movl $1, -4(%rbp)
jmp LBB2_44
LBB2_42:
jmp LBB2_44
LBB2_43:
movl $0, -4(%rbp)
LBB2_44:
movl -4(%rbp), %eax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_1, LBB2_1-LJTI2_0
.set L2_0_set_8, LBB2_8-LJTI2_0
.set L2_0_set_15, LBB2_15-LJTI2_0
.set L2_0_set_22, LBB2_22-LJTI2_0
.set L2_0_set_29, LBB2_29-LJTI2_0
.set L2_0_set_36, LBB2_36-LJTI2_0
LJTI2_0:
.long L2_0_set_1
.long L2_0_set_8
.long L2_0_set_15
.long L2_0_set_22
.long L2_0_set_29
.long L2_0_set_36
.end_data_region
## -- End function
.globl _sort_hash ## -- Begin function sort_hash
.p2align 4, 0x90
_sort_hash: ## @sort_hash
.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 $0, -32(%rbp)
movq _total_number_words(%rip), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq _bin_array@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $0, -20(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
cmpl $263167, -20(%rbp) ## imm = 0x403FF
jge LBB3_8
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movslq -20(%rbp), %rcx
movq _bin@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -16(%rbp)
je LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movq -16(%rbp), %rdx
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -32(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -32(%rbp)
movq %rdx, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB3_3
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_7
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_1
LBB3_8:
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _total_number_words(%rip), %rsi
movl -4(%rbp), %eax
movl %eax, %r8d
movl $8, %edx
leaq _compare(%rip), %rcx
callq _qsort_r
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_cmdline_error ## -- Begin function print_cmdline_error
.p2align 4, 0x90
_print_cmdline_error: ## @print_cmdline_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 ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -1(%rbp) ## 1-byte Spill
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.1(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.2(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.3(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.4(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.5(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.6(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.7(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.8(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.9(%rip), %rsi
callq _fprintf
movq -16(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.10(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _open_copy ## -- Begin function open_copy
.p2align 4, 0x90
_open_copy: ## @open_copy
.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
leaq L_.str.11(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
movq $0, -32(%rbp)
cmpq $0, -24(%rbp)
jne LBB5_2
## %bb.1:
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 $1, %edi
callq _exit
LBB5_2:
jmp LBB5_3
LBB5_3: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rdx
movl $500000, %esi ## imm = 0x7A120
callq _fgets
cmpq $0, %rax
jne LBB5_5
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
jmp LBB5_3
LBB5_5:
movq -16(%rbp), %rdi
callq _strlen
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calcfr ## -- Begin function calcfr
.p2align 4, 0x90
_calcfr: ## @calcfr
.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
movb %sil, %al
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbp)
movq %rdi, -32(%rbp)
movb %al, -33(%rbp)
movl %edx, -40(%rbp)
leaq -20(%rbp), %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
movb -33(%rbp), %al
movb %al, -42(%rbp)
movb $0, -41(%rbp)
movl $0, -48(%rbp)
movl $0, -52(%rbp)
movl $0, -52(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movslq -52(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -32(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -64(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB6_6
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
leaq -20(%rbp), %rdi
movq -32(%rbp), %rsi
movslq -52(%rbp), %rax
addq %rax, %rsi
movslq -40(%rbp), %rdx
movl $12, %ecx
callq ___strncpy_chk
leaq -42(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB6_4
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_5
LBB6_5: ## in Loop: Header=BB6_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB6_1
LBB6_6:
movl -48(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_8
## %bb.7:
movl -68(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB6_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _calcWordFrequency ## -- Begin function calcWordFrequency
.p2align 4, 0x90
_calcWordFrequency: ## @calcWordFrequency
.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)
movq %rdi, -32(%rbp)
movq %rsi, -40(%rbp)
movl %edx, -44(%rbp)
leaq -20(%rbp), %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
movl $0, -48(%rbp)
movl $0, -52(%rbp)
movl $0, -52(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movslq -52(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -32(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -64(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB7_6
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
leaq -20(%rbp), %rdi
movq -32(%rbp), %rsi
movslq -52(%rbp), %rax
addq %rax, %rsi
movslq -44(%rbp), %rdx
movl $12, %ecx
callq ___strncpy_chk
movq -40(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB7_4
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_5
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB7_1
LBB7_6:
movl -48(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_8
## %bb.7:
movl -68(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB7_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _calcLetterProb ## -- Begin function calcLetterProb
.p2align 4, 0x90
_calcLetterProb: ## @calcLetterProb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $240, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -196(%rbp)
movq %rsi, -208(%rbp)
leaq -192(%rbp), %rdi
xorl %esi, %esi
movl $160, %edx
callq _memset
movl $-1, -224(%rbp)
movl $0, -228(%rbp)
movb $65, -217(%rbp)
LBB8_1: ## =>This Loop Header: Depth=1
## Child Loop BB8_3 Depth 2
movsbl -217(%rbp), %eax
cmpl $90, %eax
jg LBB8_8
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movsbl -217(%rbp), %eax
subl $65, %eax
cltq
movl $0, -192(%rbp,%rax,4)
movl $0, -228(%rbp)
LBB8_3: ## Parent Loop BB8_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -228(%rbp), %eax
cmpl -196(%rbp), %eax
jge LBB8_6
## %bb.4: ## in Loop: Header=BB8_3 Depth=2
movsbl -217(%rbp), %eax
subl $65, %eax
cltq
movl -192(%rbp,%rax,4), %eax
movl %eax, -232(%rbp) ## 4-byte Spill
movslq -228(%rbp), %rax
movq _input_sequences@GOTPCREL(%rip), %rdi
imulq $500000, %rax, %rax ## imm = 0x7A120
addq %rax, %rdi
movl $1, %edx
movsbl -217(%rbp), %esi
callq _calcfr
movl -232(%rbp), %ecx ## 4-byte Reload
addl %eax, %ecx
movsbl -217(%rbp), %eax
subl $65, %eax
cltq
movl %ecx, -192(%rbp,%rax,4)
movq -208(%rbp), %rax
movslq -228(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
movslq -224(%rbp), %rax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -224(%rbp)
## %bb.5: ## in Loop: Header=BB8_3 Depth=2
movl -228(%rbp), %eax
addl $1, %eax
movl %eax, -228(%rbp)
jmp LBB8_3
LBB8_6: ## in Loop: Header=BB8_1 Depth=1
movsbl -217(%rbp), %eax
subl $65, %eax
cltq
cvtsi2sdl -192(%rbp,%rax,4), %xmm0
movsd %xmm0, -216(%rbp)
movsd -216(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdl -224(%rbp), %xmm1
divsd %xmm1, %xmm0
movsbl -217(%rbp), %eax
subl $65, %eax
movslq %eax, %rcx
movq _prob_letter@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax,%rcx,8)
movl $-1, -224(%rbp)
## %bb.7: ## in Loop: Header=BB8_1 Depth=1
movb -217(%rbp), %al
addb $1, %al
movb %al, -217(%rbp)
jmp LBB8_1
LBB8_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB8_10
## %bb.9:
addq $240, %rsp
popq %rbp
retq
LBB8_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function calcWordProb
LCPI9_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _calcWordProb
.p2align 4, 0x90
_calcWordProb: ## @calcWordProb
.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 LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movl $0, -24(%rbp)
movl $0, -24(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB9_4
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsbl -17(%rbp), %eax
subl $65, %eax
movslq %eax, %rcx
movq _prob_letter@GOTPCREL(%rip), %rax
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -16(%rbp)
## %bb.3: ## in Loop: Header=BB9_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB9_1
LBB9_4:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _phicount ## -- Begin function phicount
.p2align 4, 0x90
_phicount: ## @phicount
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl $0, -32(%rbp)
movl $0, -40(%rbp)
movl -20(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -144(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -48(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -144(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -136(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp)
movl -20(%rbp), %eax
addl $2, %eax
## kill: def $rax killed $eax
movq %rax, -128(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -128(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
movq %rax, -64(%rbp)
movl -20(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -112(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp)
movl $0, -84(%rbp)
cmpl $1, -20(%rbp)
jne LBB10_2
## %bb.1:
movq -136(%rbp), %rax ## 8-byte Reload
movq -16(%rbp), %rcx
movb (%rcx), %cl
movb %cl, (%rax)
movb $0, 1(%rax)
jmp LBB10_3
LBB10_2:
movq -136(%rbp), %rdi ## 8-byte Reload
movq -16(%rbp), %rsi
movslq -20(%rbp), %rdx
movq $-1, %rcx
callq ___strncpy_chk
LBB10_3:
movq -136(%rbp), %rdi ## 8-byte Reload
callq _calcWordProb
movq -120(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %rdx ## 8-byte Reload
movsd %xmm0, -96(%rbp)
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -104(%rbp), %rdi ## 8-byte Reload
movq -112(%rbp), %rdx ## 8-byte Reload
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movl $0, -28(%rbp)
LBB10_4: ## =>This Loop Header: Depth=1
## Child Loop BB10_7 Depth 2
## Child Loop BB10_13 Depth 2
movslq -28(%rbp), %rax
movq %rax, -152(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -152(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB10_21
## %bb.5: ## in Loop: Header=BB10_4 Depth=1
movq -120(%rbp), %rdi ## 8-byte Reload
movq -16(%rbp), %rsi
movslq -28(%rbp), %rax
addq %rax, %rsi
movl -20(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___strncpy_chk
movq -104(%rbp), %rdi ## 8-byte Reload
movq -16(%rbp), %rsi
movslq -28(%rbp), %rax
addq %rax, %rsi
movslq -20(%rbp), %rdx
movq $-1, %rcx
callq ___strncpy_chk
movq -120(%rbp), %rdi ## 8-byte Reload
callq _strlen
movslq -20(%rbp), %rcx
cmpq %rcx, %rax
jbe LBB10_19
## %bb.6: ## in Loop: Header=BB10_4 Depth=1
movq -120(%rbp), %rdi ## 8-byte Reload
movl $0, -36(%rbp)
movl $0, -40(%rbp)
callq _hash
movl %eax, -84(%rbp)
movslq -84(%rbp), %rcx
movq _bin@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -80(%rbp)
LBB10_7: ## Parent Loop BB10_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -80(%rbp)
je LBB10_12
## %bb.8: ## in Loop: Header=BB10_7 Depth=2
movq -120(%rbp), %rdi ## 8-byte Reload
movq -80(%rbp), %rax
movq (%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB10_10
## %bb.9: ## in Loop: Header=BB10_7 Depth=2
movq -80(%rbp), %rax
movl 8(%rax), %eax
movl %eax, -36(%rbp)
LBB10_10: ## in Loop: Header=BB10_7 Depth=2
jmp LBB10_11
LBB10_11: ## in Loop: Header=BB10_7 Depth=2
movq -80(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -80(%rbp)
jmp LBB10_7
LBB10_12: ## in Loop: Header=BB10_4 Depth=1
movq -104(%rbp), %rdi ## 8-byte Reload
callq _hash
movl %eax, -84(%rbp)
movslq -84(%rbp), %rcx
movq _bin@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -80(%rbp)
LBB10_13: ## Parent Loop BB10_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -80(%rbp)
je LBB10_18
## %bb.14: ## in Loop: Header=BB10_13 Depth=2
movq -104(%rbp), %rdi ## 8-byte Reload
movq -80(%rbp), %rax
movq (%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB10_16
## %bb.15: ## in Loop: Header=BB10_13 Depth=2
movq -80(%rbp), %rax
movl 8(%rax), %eax
movl %eax, -40(%rbp)
LBB10_16: ## in Loop: Header=BB10_13 Depth=2
jmp LBB10_17
LBB10_17: ## in Loop: Header=BB10_13 Depth=2
movq -80(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -80(%rbp)
jmp LBB10_13
LBB10_18: ## in Loop: Header=BB10_4 Depth=1
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdl -36(%rbp), %xmm1
cvtsi2sdl -40(%rbp), %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -96(%rbp)
LBB10_19: ## in Loop: Header=BB10_4 Depth=1
jmp LBB10_20
LBB10_20: ## in Loop: Header=BB10_4 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB10_4
LBB10_21:
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -160(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB10_23
## %bb.22:
movsd -160(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movq %rbp, %rsp
popq %rbp
retq
LBB10_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI11_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI11_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI11_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.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 $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movl %edi, -40(%rbp)
movq %rsi, -48(%rbp)
movl $0, -52(%rbp)
movl $0, -56(%rbp)
movl $0, -60(%rbp)
movl $2, -64(%rbp)
movsd LCPI11_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -104(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -112(%rbp)
cmpl $1, -40(%rbp)
jne LBB11_2
## %bb.1:
callq _print_cmdline_error
LBB11_2:
movl $1, -68(%rbp)
LBB11_3: ## =>This Inner Loop Header: Depth=1
movl -68(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB11_33
## %bb.4: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_6
## %bb.5: ## in Loop: Header=BB11_3 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -56(%rbp)
jmp LBB11_31
LBB11_6: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.14(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_8
## %bb.7: ## in Loop: Header=BB11_3 Depth=1
movl $0, -64(%rbp)
jmp LBB11_30
LBB11_8: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_10
## %bb.9: ## in Loop: Header=BB11_3 Depth=1
movl $1, -64(%rbp)
jmp LBB11_29
LBB11_10: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.16(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_12
## %bb.11: ## in Loop: Header=BB11_3 Depth=1
movl $2, -64(%rbp)
jmp LBB11_28
LBB11_12: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.17(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_14
## %bb.13: ## in Loop: Header=BB11_3 Depth=1
movl $3, -64(%rbp)
jmp LBB11_27
LBB11_14: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.18(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_16
## %bb.15: ## in Loop: Header=BB11_3 Depth=1
movl $4, -64(%rbp)
jmp LBB11_26
LBB11_16: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.19(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_18
## %bb.17: ## in Loop: Header=BB11_3 Depth=1
movl $5, -64(%rbp)
jmp LBB11_25
LBB11_18: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.20(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_20
## %bb.19: ## in Loop: Header=BB11_3 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -60(%rbp)
jmp LBB11_24
LBB11_20: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.21(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB11_22
## %bb.21: ## in Loop: Header=BB11_3 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, _MARKOV_ORDER(%rip)
jmp LBB11_23
LBB11_22: ## in Loop: Header=BB11_3 Depth=1
movq -48(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -52(%rbp), %rax
movq _input_sequences@GOTPCREL(%rip), %rsi
imulq $500000, %rax, %rax ## imm = 0x7A120
addq %rax, %rsi
callq _open_copy
movq %rax, %rdx
movslq -52(%rbp), %rcx
movq _sequence_lengths@GOTPCREL(%rip), %rax
movq %rdx, (%rax,%rcx,8)
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
LBB11_23: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_24
LBB11_24: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_25
LBB11_25: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_26
LBB11_26: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_27
LBB11_27: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_28
LBB11_28: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_29
LBB11_29: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_30
LBB11_30: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_31
LBB11_31: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_32
LBB11_32: ## in Loop: Header=BB11_3 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB11_3
LBB11_33:
cmpl $1, _MARKOV_ORDER(%rip)
je LBB11_38
## %bb.34:
cmpl $2, _MARKOV_ORDER(%rip)
je LBB11_38
## %bb.35:
cmpl $3, _MARKOV_ORDER(%rip)
je LBB11_38
## %bb.36:
cmpl $4, _MARKOV_ORDER(%rip)
je LBB11_38
## %bb.37:
movl _MARKOV_ORDER(%rip), %esi
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -117(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -117(%rbp), %al ## 1-byte Reload
movq ___stderrp@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
leaq L_.str.23(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
LBB11_38:
cmpl $0, -56(%rbp)
je LBB11_41
## %bb.39:
cmpl $0, -60(%rbp)
je LBB11_41
## %bb.40:
movl -56(%rbp), %eax
cmpl -60(%rbp), %eax
jle LBB11_42
LBB11_41:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.24(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB11_42:
cmpl $0, -52(%rbp)
jne LBB11_44
## %bb.43:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.25(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB11_44:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -56(%rbp), %edx
leaq L_.str.26(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -60(%rbp), %edx
leaq L_.str.27(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -52(%rbp), %edx
leaq L_.str.28(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl _MARKOV_ORDER(%rip), %edx
leaq L_.str.29(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -68(%rbp)
LBB11_45: ## =>This Loop Header: Depth=1
## Child Loop BB11_47 Depth 2
## Child Loop BB11_49 Depth 3
movl -68(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB11_59
## %bb.46: ## in Loop: Header=BB11_45 Depth=1
movl $1, -116(%rbp)
LBB11_47: ## Parent Loop BB11_45 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB11_49 Depth 3
movl -116(%rbp), %eax
movl -60(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB11_57
## %bb.48: ## in Loop: Header=BB11_47 Depth=2
movl $0, -76(%rbp)
LBB11_49: ## Parent Loop BB11_45 Depth=1
## Parent Loop BB11_47 Depth=2
## => This Inner Loop Header: Depth=3
movl -76(%rbp), %eax
movl %eax, -124(%rbp) ## 4-byte Spill
movslq -68(%rbp), %rcx
movq _sequence_lengths@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movslq -116(%rbp), %rcx
subq %rcx, %rax
addq $1, %rax
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle LBB11_51
## %bb.50: ## in Loop: Header=BB11_49 Depth=3
xorl %eax, %eax
movl %eax, -128(%rbp) ## 4-byte Spill
jmp LBB11_52
LBB11_51: ## in Loop: Header=BB11_49 Depth=3
movslq -68(%rbp), %rcx
movq _sequence_lengths@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movslq -116(%rbp), %rcx
subq %rcx, %rax
addq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -128(%rbp) ## 4-byte Spill
LBB11_52: ## in Loop: Header=BB11_49 Depth=3
movl -124(%rbp), %eax ## 4-byte Reload
movl -128(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB11_55
## %bb.53: ## in Loop: Header=BB11_49 Depth=3
leaq -32(%rbp), %rdi
movslq -68(%rbp), %rax
movq _input_sequences@GOTPCREL(%rip), %rsi
imulq $500000, %rax, %rax ## imm = 0x7A120
addq %rax, %rsi
movslq -76(%rbp), %rax
addq %rax, %rsi
movslq -116(%rbp), %rdx
movl $16, %ecx
callq ___strncpy_chk
movslq -116(%rbp), %rax
movb $0, -32(%rbp,%rax)
leaq -32(%rbp), %rdi
movl -68(%rbp), %esi
callq _incword
## %bb.54: ## in Loop: Header=BB11_49 Depth=3
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB11_49
LBB11_55: ## in Loop: Header=BB11_47 Depth=2
jmp LBB11_56
LBB11_56: ## in Loop: Header=BB11_47 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB11_47
LBB11_57: ## in Loop: Header=BB11_45 Depth=1
jmp LBB11_58
LBB11_58: ## in Loop: Header=BB11_45 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB11_45
LBB11_59:
movl -64(%rbp), %edi
callq _sort_hash
movl -52(%rbp), %edi
movq _sequence_lengths@GOTPCREL(%rip), %rsi
callq _calcLetterProb
movl $0, -76(%rbp)
LBB11_60: ## =>This Inner Loop Header: Depth=1
movl -76(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB11_63
## %bb.61: ## in Loop: Header=BB11_60 Depth=1
movsd -112(%rbp), %xmm0 ## xmm0 = mem[0],zero
movslq -76(%rbp), %rcx
movq _sequence_lengths@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movaps LCPI11_1(%rip), %xmm2 ## xmm2 = [1127219200,1160773632,0,0]
punpckldq %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd LCPI11_2(%rip), %xmm2 ## xmm2 = [4.503599627370496E+15,1.9342813113834067E+25]
subpd %xmm2, %xmm1
movaps %xmm1, %xmm2
unpckhpd %xmm1, %xmm1 ## xmm1 = xmm1[1,1]
addsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -112(%rbp)
## %bb.62: ## in Loop: Header=BB11_60 Depth=1
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB11_60
LBB11_63:
movq _total_number_words(%rip), %rsi
leaq L_.str.30(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.31(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -68(%rbp)
LBB11_64: ## =>This Inner Loop Header: Depth=1
movslq -68(%rbp), %rax
cmpq _total_number_words(%rip), %rax
jae LBB11_71
## %bb.65: ## in Loop: Header=BB11_64 Depth=1
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -68(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB11_67
## %bb.66:
movl $1, %edi
callq _exit
LBB11_67: ## in Loop: Header=BB11_64 Depth=1
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
callq _strlen
movslq -56(%rbp), %rcx
cmpq %rcx, %rax
jb LBB11_69
## %bb.68: ## in Loop: Header=BB11_64 Depth=1
movq _bin_array@GOTPCREL(%rip), %rax
movq %rax, -152(%rbp) ## 8-byte Spill
movq (%rax), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
movl _MARKOV_ORDER(%rip), %esi
movl -52(%rbp), %edx
callq _phicount
movq -152(%rbp), %rax ## 8-byte Reload
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp) ## 8-byte Spill
movsd -112(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -144(%rbp) ## 8-byte Spill
movq (%rax), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
callq _strlen
movsd -144(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -136(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movq %rax, %xmm2
movaps LCPI11_1(%rip), %xmm3 ## xmm3 = [1127219200,1160773632,0,0]
punpckldq %xmm3, %xmm2 ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
movapd LCPI11_2(%rip), %xmm3 ## xmm3 = [4.503599627370496E+15,1.9342813113834067E+25]
subpd %xmm3, %xmm2
movaps %xmm2, %xmm3
unpckhpd %xmm2, %xmm2 ## xmm2 = xmm2[1,1]
addsd %xmm3, %xmm2
subsd %xmm2, %xmm1
movsd LCPI11_0(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -104(%rbp)
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cvtsi2sdl 8(%rax), %xmm0
divsd -104(%rbp), %xmm0
movsd %xmm0, -96(%rbp)
movl -60(%rbp), %esi
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdx
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl 8(%rax), %ecx
movq _bin_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -68(%rbp), %rdi
movq (%rax,%rdi,8), %rax
movl 12(%rax), %r8d
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -104(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -96(%rbp), %xmm2 ## xmm2 = mem[0],zero
leaq L_.str.32(%rip), %rdi
movb $3, %al
callq _printf
LBB11_69: ## in Loop: Header=BB11_64 Depth=1
jmp LBB11_70
LBB11_70: ## in Loop: Header=BB11_64 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB11_64
LBB11_71:
movl -36(%rbp), %eax
movl %eax, -156(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB11_73
## %bb.72:
movl -156(%rbp), %eax ## 4-byte Reload
addq $160, %rsp
popq %rbp
retq
LBB11_73:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _total_number_words ## @total_number_words
.zerofill __DATA,__common,_total_number_words,8,3
.section __DATA,__data
.globl _MARKOV_ORDER ## @MARKOV_ORDER
.p2align 2
_MARKOV_ORDER:
.long 1 ## 0x1
.comm _bin,2105336,4 ## @bin
.comm _bin_array,8,3 ## @bin_array
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error: improper command line arguments\n"
L_.str.1: ## @.str.1
.asciz "Usage: word_count -min X -max Y [-descseq|-ascseq|-desctot|-asctot|-desclength|-asclength] filename [other filenames]\n"
L_.str.2: ## @.str.2
.asciz "-min minimum word length\n"
L_.str.3: ## @.str.3
.asciz "-max maximum word length\n"
L_.str.4: ## @.str.4
.asciz "-descseq causes the output to be sorted in descending order of sequence counts\n"
L_.str.5: ## @.str.5
.asciz "-ascseq causes the output to be sorted in ascending order of sequence counts\n"
L_.str.6: ## @.str.6
.asciz "-desctot causes the output to be sorted in descending order of total counts\n"
L_.str.7: ## @.str.7
.asciz "-asctot causes the output to be sorted in ascending order of total counts\n"
L_.str.8: ## @.str.8
.asciz "-desclength causes the output to be sorted in descending order of word length\n"
L_.str.9: ## @.str.9
.asciz "-order pick the markov order 1, 2 or 3\n"
L_.str.10: ## @.str.10
.asciz "Example: word_count -min 3 -max 10 -asctot -order 2 filename1 filename2 filname3\n"
L_.str.11: ## @.str.11
.asciz "r"
L_.str.12: ## @.str.12
.asciz "Error: unable to open file %s\n"
.comm _input_sequences,5000000,4 ## @input_sequences
.comm _prob_letter,400,4 ## @prob_letter
L_.str.13: ## @.str.13
.asciz "-min"
L_.str.14: ## @.str.14
.asciz "-asctot"
L_.str.15: ## @.str.15
.asciz "-ascseq"
L_.str.16: ## @.str.16
.asciz "-desctot"
L_.str.17: ## @.str.17
.asciz "-descseq"
L_.str.18: ## @.str.18
.asciz "-asclength"
L_.str.19: ## @.str.19
.asciz "-desclength"
L_.str.20: ## @.str.20
.asciz "-max"
L_.str.21: ## @.str.21
.asciz "-order"
.comm _sequence_lengths,80,4 ## @sequence_lengths
L_.str.22: ## @.str.22
.asciz "%d\n"
L_.str.23: ## @.str.23
.asciz "Error: -order can take only 1, 2, 3 or 4\n"
L_.str.24: ## @.str.24
.asciz "Error: incorrect or missing minimum or maximum word length\n"
L_.str.25: ## @.str.25
.asciz "Error: no input file names specified\n"
L_.str.26: ## @.str.26
.asciz "min wordlength = %d\n"
L_.str.27: ## @.str.27
.asciz "max wordlength = %d\n"
L_.str.28: ## @.str.28
.asciz "number of input files = %d\n"
L_.str.29: ## @.str.29
.asciz "Markov order chosen = %d\n"
L_.str.30: ## @.str.30
.asciz "total number of words =\t %ld\n"
L_.str.31: ## @.str.31
.asciz "Word\tWordCount\t SeqCount\t Word Probbility\tExpected value\tO/E score \n"
L_.str.32: ## @.str.32
.asciz "%-*s \t%d \t%d\t %.15lf\t %.15lf\t %.15lf\n"
.comm _node,32,3 ## @node
.subsections_via_symbols
| the_stack_data/90706.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 w8, #1
str w8, [sp, #24] ; 4-byte Folded Spill
stur w8, [x29, #-16]
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
ldr w8, [sp, #24] ; 4-byte Folded Reload
stur w8, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-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
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
ldur w10, [x29, #-12]
subs w9, w9, w10
ldur w10, [x29, #-20]
add w9, w9, w10
mul w8, w8, w9
ldur w9, [x29, #-20]
sdiv w8, w8, w9
stur w8, [x29, #-16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_4:
ldur w9, [x29, #-16]
; 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
ldur w0, [x29, #-4]
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"
.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 $1, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl $1, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl -8(%rbp), %ecx
subl -12(%rbp), %ecx
addl -20(%rbp), %ecx
imull %ecx, %eax
cltd
idivl -20(%rbp)
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %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"
.subsections_via_symbols
| the_stack_data/150142682.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _calPower ; -- Begin function calPower
.p2align 2
_calPower: ; @calPower
.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, #-16]
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
fmov d0, #1.00000000
stur d0, [x29, #-8]
b LBB0_5
LBB0_2:
ldur d0, [x29, #-16]
ldur w8, [x29, #-20]
mov w9, #2
str w9, [sp, #12] ; 4-byte Folded Spill
sdiv w0, w8, w9
bl _calPower
ldr w10, [sp, #12] ; 4-byte Folded Reload
str d0, [sp, #16]
ldur w8, [x29, #-20]
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:
ldr d0, [sp, #16]
ldr d1, [sp, #16]
fmul d0, d0, d1
stur d0, [x29, #-8]
b LBB0_5
LBB0_4:
ldur d0, [x29, #-16]
ldr d1, [sp, #16]
fmul d0, d0, d1
ldr d1, [sp, #16]
fmul d0, d0, d1
stur d0, [x29, #-8]
b LBB0_5
LBB0_5:
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _myPower ; -- Begin function myPower
.p2align 2
_myPower: ; @myPower
.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 d0, [x29, #-8]
stur w0, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur d0, [x29, #-8]
ldur w0, [x29, #-12]
bl _calPower
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB1_3
LBB1_2:
ldur d0, [x29, #-8]
ldur w9, [x29, #-12]
mov w8, #0
subs w0, w8, w9
bl _calPower
fmov d1, d0
fmov d0, #1.00000000
fdiv d0, d0, d1
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB1_3
LBB1_3:
ldr d0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _myPower2 ; -- Begin function myPower2
.p2align 2
_myPower2: ; @myPower2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, #16]
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
fmov d0, #1.00000000
str d0, [sp, #24]
b LBB2_10
LBB2_2:
mov w8, #1
str w8, [sp, #8]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldr d1, [sp, #16]
fmov d0, #1.00000000
fdiv d0, d0, d1
str d0, [sp, #16]
ldr w9, [sp, #12]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #12]
b LBB2_4
LBB2_4:
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_9
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #12]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldr d1, [sp, #16]
ldr s2, [sp, #8]
; implicit-def: $d0
fmov s0, s2
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fmul d0, d0, d1
fcvtzs w8, d0
str w8, [sp, #8]
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_5 Depth=1
ldr d1, [sp, #16]
ldr d0, [sp, #16]
fmul d0, d0, d1
str d0, [sp, #16]
b LBB2_5
LBB2_9:
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
str d0, [sp, #24]
b LBB2_10
LBB2_10:
ldr d0, [sp, #24]
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
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function calPower
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _calPower
.p2align 4, 0x90
_calPower: ## @calPower
.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
movsd %xmm0, -16(%rbp)
movl %edi, -20(%rbp)
cmpl $0, -20(%rbp)
jne LBB0_2
## %bb.1:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB0_5
LBB0_2:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %edi
callq _calPower
movsd %xmm0, -32(%rbp)
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_4
## %bb.3:
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -32(%rbp), %xmm0
movsd %xmm0, -8(%rbp)
jmp LBB0_5
LBB0_4:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -32(%rbp), %xmm0
mulsd -32(%rbp), %xmm0
movsd %xmm0, -8(%rbp)
LBB0_5:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function myPower
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _myPower
.p2align 4, 0x90
_myPower: ## @myPower
.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
movsd %xmm0, -8(%rbp)
movl %edi, -12(%rbp)
cmpl $0, -12(%rbp)
jl LBB1_2
## %bb.1:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -12(%rbp), %edi
callq _calPower
movsd %xmm0, -24(%rbp) ## 8-byte Spill
jmp LBB1_3
LBB1_2:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %edi, %edi
subl -12(%rbp), %edi
callq _calPower
movaps %xmm0, %xmm1
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
LBB1_3:
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function myPower2
LCPI2_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _myPower2
.p2align 4, 0x90
_myPower2: ## @myPower2
.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)
movl %edi, -20(%rbp)
cmpl $0, -20(%rbp)
jne LBB2_2
## %bb.1:
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB2_10
LBB2_2:
movl $1, -24(%rbp)
cmpl $0, -20(%rbp)
jge LBB2_4
## %bb.3:
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
xorl %eax, %eax
subl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB2_4:
jmp LBB2_5
LBB2_5: ## =>This Inner Loop Header: Depth=1
cmpl $0, -20(%rbp)
je LBB2_9
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movl -20(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB2_8
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
cvtsi2sdl -24(%rbp), %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -24(%rbp)
LBB2_8: ## in Loop: Header=BB2_5 Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
jmp LBB2_5
LBB2_9:
cvtsi2sdl -24(%rbp), %xmm0
movsd %xmm0, -8(%rbp)
LBB2_10:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/179831951.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FillTree ; -- Begin function FillTree
.p2align 2
_FillTree: ; @FillTree
.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 x8, [sp]
adrp x9, _i@PAGE
ldrsw x9, [x9, _i@PAGEOFF]
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8]
adrp x9, _i@PAGE
ldr w8, [x9, _i@PAGEOFF]
add w8, w8, #1
str w8, [x9, _i@PAGEOFF]
b LBB0_7
LBB0_2:
mov x0, #32
bl _malloc
ldr x8, [sp, #8]
str x0, [x8]
ldr x8, [sp]
adrp x9, _i@PAGE
ldrsw x10, [x9, _i@PAGEOFF]
add x8, x8, x10
ldrb w8, [x8]
ldr x10, [sp, #8]
ldr x10, [x10]
strb w8, [x10]
ldr w8, [x9, _i@PAGEOFF]
add w8, w8, #1
str w8, [x9, _i@PAGEOFF]
ldr x8, [sp, #8]
ldr x8, [x8]
add x0, x8, #16
ldr x1, [sp]
bl _FillTree
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #8]
ldr x8, [x8]
str wzr, [x8, #4]
b LBB0_4
LBB0_4:
ldr x8, [sp, #8]
ldr x8, [x8]
add x0, x8, #24
ldr x1, [sp]
bl _FillTree
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #8]
ldr x8, [x8]
str wzr, [x8, #8]
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _in_threading ; -- Begin function in_threading
.p2align 2
_in_threading: ; @in_threading
.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, eq
tbnz w8, #0, LBB1_6
b LBB1_1
LBB1_1:
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _in_threading
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9, #4]
adrp x8, _pre@PAGE
ldr x8, [x8, _pre@PAGEOFF]
ldr x9, [sp, #8]
str x8, [x9, #16]
b LBB1_3
LBB1_3:
adrp x8, _pre@PAGE
ldr x8, [x8, _pre@PAGEOFF]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
adrp x9, _pre@PAGE
ldr x10, [x9, _pre@PAGEOFF]
mov w8, #1
str w8, [x10, #8]
ldr x8, [sp, #8]
ldr x9, [x9, _pre@PAGEOFF]
str x8, [x9, #24]
b LBB1_5
LBB1_5:
ldr x8, [sp, #8]
adrp x9, _pre@PAGE
str x8, [x9, _pre@PAGEOFF]
ldr x8, [sp, #8]
ldr x0, [x8, #24]
bl _in_threading
b LBB1_6
LBB1_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _in_order_threading ; -- Begin function in_order_threading
.p2align 2
_in_order_threading: ; @in_order_threading
.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]
mov x0, #32
bl _malloc
ldur x8, [x29, #-8]
str x0, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8]
str wzr, [x8, #4]
ldur x8, [x29, #-8]
ldr x9, [x8]
mov w8, #1
str w8, [x9, #8]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldur x9, [x29, #-8]
ldr x9, [x9]
str x8, [x9, #24]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldur x9, [x29, #-8]
ldr x9, [x9]
str x8, [x9, #16]
b LBB2_3
LBB2_2:
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
ldr x9, [x9]
str x8, [x9, #16]
ldur x8, [x29, #-8]
ldr x8, [x8]
adrp x9, _pre@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
str x8, [x9, _pre@PAGEOFF]
ldr x0, [sp, #16]
bl _in_threading
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr x10, [x8, _pre@PAGEOFF]
str x9, [x10, #24]
ldr x10, [x8, _pre@PAGEOFF]
mov w9, #1
str w9, [x10, #8]
ldr x8, [x8, _pre@PAGEOFF]
ldur x9, [x29, #-8]
ldr x9, [x9]
str x8, [x9, #24]
b LBB2_3
LBB2_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _in_order_traverse ; -- Begin function in_order_traverse
.p2align 2
_in_order_traverse: ; @in_order_traverse
.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]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
; Child Loop BB3_6 Depth 2
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_11
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB3_3
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldrsb w0, [x8]
bl _putchar
b LBB3_6
LBB3_6: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
ldr w8, [x8, #8]
subs w8, w8, #1
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_6 Depth=2
ldr x8, [sp, #16]
ldr x8, [x8, #24]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_6 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB3_10
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_6 Depth=2
ldr x8, [sp, #16]
ldr x8, [x8, #24]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldrsb w0, [x8]
bl _putchar
b LBB3_6
LBB3_10: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #24]
str x8, [sp, #16]
b LBB3_1
LBB3_11:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
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, #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
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #16]
ldr x1, [sp, #16]
add x0, sp, #32
bl _FillTree
ldr x1, [sp, #32]
add x0, sp, #24
bl _in_order_threading
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #24]
bl _in_order_traverse
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _pre ; @pre
.zerofill __DATA,__common,_pre,8,3
.globl _i ; @i
.zerofill __DATA,__common,_i,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "ABDH00I00EJ000CF00G00"
l_.str.2: ; @.str.2
.asciz "\344\270\255\345\272\217\351\201\215\345\216\206(\350\276\223\345\207\272)\344\272\214\345\217\211\347\272\277\347\264\242\346\240\221:\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FillTree ## -- Begin function FillTree
.p2align 4, 0x90
_FillTree: ## @FillTree
.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 -16(%rbp), %rax
movslq _i(%rip), %rcx
movsbl (%rax,%rcx), %eax
cmpl $48, %eax
jne LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movq $0, (%rax)
movl _i(%rip), %eax
addl $1, %eax
movl %eax, _i(%rip)
jmp LBB0_7
LBB0_2:
movl $32, %edi
callq _malloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movslq _i(%rip), %rcx
movb (%rax,%rcx), %cl
movq -8(%rbp), %rax
movq (%rax), %rax
movb %cl, (%rax)
movl _i(%rip), %eax
addl $1, %eax
movl %eax, _i(%rip)
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $16, %rdi
movq -16(%rbp), %rsi
callq _FillTree
movq -8(%rbp), %rax
movq (%rax), %rax
cmpq $0, 16(%rax)
je LBB0_4
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rax
movl $0, 4(%rax)
LBB0_4:
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $24, %rdi
movq -16(%rbp), %rsi
callq _FillTree
movq -8(%rbp), %rax
movq (%rax), %rax
cmpq $0, 24(%rax)
je LBB0_6
## %bb.5:
movq -8(%rbp), %rax
movq (%rax), %rax
movl $0, 8(%rax)
LBB0_6:
jmp LBB0_7
LBB0_7:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _in_threading ## -- Begin function in_threading
.p2align 4, 0x90
_in_threading: ## @in_threading
.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)
je LBB1_6
## %bb.1:
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _in_threading
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
jne LBB1_3
## %bb.2:
movq -8(%rbp), %rax
movl $1, 4(%rax)
movq _pre(%rip), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
LBB1_3:
movq _pre(%rip), %rax
cmpq $0, 24(%rax)
jne LBB1_5
## %bb.4:
movq _pre(%rip), %rax
movl $1, 8(%rax)
movq -8(%rbp), %rcx
movq _pre(%rip), %rax
movq %rcx, 24(%rax)
LBB1_5:
movq -8(%rbp), %rax
movq %rax, _pre(%rip)
movq -8(%rbp), %rax
movq 24(%rax), %rdi
callq _in_threading
LBB1_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _in_order_threading ## -- Begin function in_order_threading
.p2align 4, 0x90
_in_order_threading: ## @in_order_threading
.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)
movl $32, %edi
callq _malloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq (%rax), %rax
movl $0, 4(%rax)
movq -8(%rbp), %rax
movq (%rax), %rax
movl $1, 8(%rax)
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rcx, 24(%rax)
cmpq $0, -16(%rbp)
jne LBB2_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rcx, 16(%rax)
jmp LBB2_3
LBB2_2:
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, _pre(%rip)
movq -16(%rbp), %rdi
callq _in_threading
movq -8(%rbp), %rax
movq (%rax), %rcx
movq _pre(%rip), %rax
movq %rcx, 24(%rax)
movq _pre(%rip), %rax
movl $1, 8(%rax)
movq _pre(%rip), %rcx
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rcx, 24(%rax)
LBB2_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _in_order_traverse ## -- Begin function in_order_traverse
.p2align 4, 0x90
_in_order_traverse: ## @in_order_traverse
.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
movq 16(%rax), %rax
movq %rax, -16(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
## Child Loop BB3_6 Depth 2
movq -16(%rbp), %rax
cmpq -8(%rbp), %rax
je LBB3_11
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_3
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpl $0, 4(%rax)
jne LBB3_5
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB3_3
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _putchar
LBB3_6: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $1, 8(%rcx)
movb %al, -17(%rbp) ## 1-byte Spill
jne LBB3_8
## %bb.7: ## in Loop: Header=BB3_6 Depth=2
movq -16(%rbp), %rax
movq 24(%rax), %rax
cmpq -8(%rbp), %rax
setne %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB3_8: ## in Loop: Header=BB3_6 Depth=2
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_9
jmp LBB3_10
LBB3_9: ## in Loop: Header=BB3_6 Depth=2
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _putchar
jmp LBB3_6
LBB3_10: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB3_1
LBB3_11:
leaq L_.str(%rip), %rdi
callq _puts
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
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rsi
leaq -64(%rbp), %rdi
callq _FillTree
movq -64(%rbp), %rsi
leaq -72(%rbp), %rdi
callq _in_order_threading
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -72(%rbp), %rdi
callq _in_order_traverse
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pre ## @pre
.zerofill __DATA,__common,_pre,8,3
.globl _i ## @i
.zerofill __DATA,__common,_i,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "ABDH00I00EJ000CF00G00"
L_.str.2: ## @.str.2
.asciz "\344\270\255\345\272\217\351\201\215\345\216\206(\350\276\223\345\207\272)\344\272\214\345\217\211\347\272\277\347\264\242\346\240\221:\n"
.subsections_via_symbols
| the_stack_data/67189.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.