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:
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]
stur wzr, [x29, #-36]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #24
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-48]
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, #-56]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w9, w9, #1
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 x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_4:
stur wzr, [x29, #-16]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-28]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur w8, [x29, #-28]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldursw x8, [x29, #-20]
ldr w8, [x9, x8, lsl #2]
stur w8, [x29, #-28]
ldursw x8, [x29, #-16]
ldr w8, [x9, x8, lsl #2]
ldursw x10, [x29, #-20]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-28]
ldursw x10, [x29, #-16]
str w8, [x9, x10, lsl #2]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_7
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_5
LBB0_14:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #32
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur x9, [x29, #-64] ; 8-byte Folded Reload
add sp, sp, #16
ldur w8, [x29, #-32]
ldur w10, [x29, #-24]
subs w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
b LBB0_35
LBB0_16:
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur w8, [x29, #-32]
ldur w10, [x29, #-24]
mov w11, #2
sdiv w10, w10, w11
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_17
LBB0_17:
stur wzr, [x29, #-20]
b LBB0_18
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_23
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=1
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur w8, [x29, #-32]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=1
mov w8, #1
stur w8, [x29, #-36]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_18 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_18
LBB0_23:
b LBB0_31
LBB0_24:
ldur w8, [x29, #-24]
mov w9, #2
sdiv w8, w8, w9
stur w8, [x29, #-20]
b LBB0_25
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur w8, [x29, #-32]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=1
mov w8, #1
stur w8, [x29, #-36]
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_25 Depth=1
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_25 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_25
LBB0_30:
b LBB0_31
LBB0_31:
b LBB0_32
LBB0_32:
ldur w8, [x29, #-36]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_36
LBB0_34:
b LBB0_35
LBB0_35:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_36
LBB0_36:
ldur x8, [x29, #-48]
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, LBB0_38
b LBB0_37
LBB0_37:
bl ___stack_chk_fail
LBB0_38:
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 "enter the value of n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "enter elements of the array"
l_.str.3: ; @.str.3
.asciz "enter the key"
l_.str.4: ; @.str.4
.asciz "found"
l_.str.5: ; @.str.5
.asciz "not found"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -36(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -73(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -73(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
callq _scanf
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -48(%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, -56(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movl -24(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rsi ## 8-byte Reload
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -16(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movl -16(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_14
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
movl -24(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq -64(%rbp), %rcx ## 8-byte Reload
movl -28(%rbp), %eax
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movl %ecx, -28(%rbp)
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %edx
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_5
LBB0_14:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -32(%rbp), %rsi
movb $0, %al
callq _scanf
movq -64(%rbp), %rcx ## 8-byte Reload
movl -32(%rbp), %eax
movl -24(%rbp), %edx
subl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_16
## %bb.15:
jmp LBB0_35
LBB0_16:
movq -64(%rbp), %rcx ## 8-byte Reload
movl -32(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
movl -24(%rbp), %eax
movl $2, %esi
cltd
idivl %esi
movl %eax, %edx
movl -80(%rbp), %eax ## 4-byte Reload
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB0_24
## %bb.17:
movl $0, -20(%rbp)
LBB0_18: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movl -24(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -84(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jg LBB0_23
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movl -32(%rbp), %eax
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movl $1, -36(%rbp)
LBB0_21: ## in Loop: Header=BB0_18 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_18 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_18
LBB0_23:
jmp LBB0_31
LBB0_24:
movl -24(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -20(%rbp)
LBB0_25: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_30
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movl -32(%rbp), %eax
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_25 Depth=1
movl $1, -36(%rbp)
LBB0_28: ## in Loop: Header=BB0_25 Depth=1
jmp LBB0_29
LBB0_29: ## in Loop: Header=BB0_25 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_25
LBB0_30:
jmp LBB0_31
LBB0_31:
jmp LBB0_32
LBB0_32:
cmpl $1, -36(%rbp)
jne LBB0_34
## %bb.33:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_36
LBB0_34:
jmp LBB0_35
LBB0_35:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_36:
movq -48(%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 LBB0_38
## %bb.37:
movl -88(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_38:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "enter the value of n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "enter elements of the array"
L_.str.3: ## @.str.3
.asciz "enter the key"
L_.str.4: ## @.str.4
.asciz "found"
L_.str.5: ## @.str.5
.asciz "not found"
.subsections_via_symbols
| the_stack_data/90764551.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function exp10
lCPI0_0:
.quad 0x400a934f0979a371 ; double 3.3219280948873622
.section __TEXT,__text,regular,pure_instructions
.globl _exp10
.p2align 2
_exp10: ; @exp10
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur d0, [x29, #-16]
ldur d0, [x29, #-16]
add x0, sp, #24
bl _modf
str d0, [sp, #16]
ldr d0, [sp, #24]
str d0, [sp, #8]
ldr x8, [sp, #8]
lsr x8, x8, #52
and x8, x8, #0x7ff
subs x8, x8, #1027
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldr d0, [sp, #16]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr d0, [sp, #24]
fcvtzs w8, d0
add w9, w8, #15
adrp x8, _exp10.p10@PAGE
add x8, x8, _exp10.p10@PAGEOFF
ldr d0, [x8, w9, sxtw #3]
stur d0, [x29, #-8]
b LBB0_5
LBB0_3:
ldr d1, [sp, #16]
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
bl _exp2
str d0, [sp, #16]
ldr d0, [sp, #16]
ldr d1, [sp, #24]
fcvtzs w8, d1
add w9, w8, #15
adrp x8, _exp10.p10@PAGE
add x8, x8, _exp10.p10@PAGEOFF
ldr d1, [x8, w9, sxtw #3]
fmul d0, d0, d1
stur d0, [x29, #-8]
b LBB0_5
LBB0_4:
ldur d1, [x29, #-16]
fmov d0, #10.00000000
bl _pow
stur d0, [x29, #-8]
b LBB0_5
LBB0_5:
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function exp10f
lCPI1_0:
.quad 0x400a934f0979a371 ; double 3.3219280948873622
.section __TEXT,__text,regular,pure_instructions
.globl _exp10f
.p2align 2
_exp10f: ; @exp10f
.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 s0, [x29, #-8]
ldur s0, [x29, #-8]
sub x0, x29, #12
bl _modff
str s0, [sp, #16]
ldur s0, [x29, #-12]
str s0, [sp, #12]
ldr w8, [sp, #12]
lsr w8, w8, #23
and w8, w8, #0xff
subs w8, w8, #130
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_1
LBB1_1:
ldr s0, [sp, #16]
fcmp s0, #0.0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldur s0, [x29, #-12]
fcvtzs w8, s0
add w9, w8, #7
adrp x8, _exp10f.p10@PAGE
add x8, x8, _exp10f.p10@PAGEOFF
ldr s0, [x8, w9, sxtw #2]
stur s0, [x29, #-4]
b LBB1_5
LBB1_3:
ldr s1, [sp, #16]
mov w8, #39544
movk w8, #16468, lsl #16
fmov s0, w8
fmul s0, s0, s1
bl _exp2f
str s0, [sp, #16]
ldr s0, [sp, #16]
ldur s1, [x29, #-12]
fcvtzs w8, s1
add w9, w8, #7
adrp x8, _exp10f.p10@PAGE
add x8, x8, _exp10f.p10@PAGEOFF
ldr s1, [x8, w9, sxtw #2]
fmul s0, s0, s1
stur s0, [x29, #-4]
b LBB1_5
LBB1_4:
ldur s0, [x29, #-8]
fcvt d1, s0
adrp x8, lCPI1_0@PAGE
ldr d0, [x8, lCPI1_0@PAGEOFF]
fmul d0, d0, d1
bl _exp2
fcvt s0, d0
stur s0, [x29, #-4]
b LBB1_5
LBB1_5:
ldur s0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _pow10 ; -- Begin function pow10
.p2align 2
_pow10: ; @pow10
.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 _exp10
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _pow10f ; -- Begin function pow10f
.p2align 2
_pow10f: ; @pow10f
.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]
ldur s0, [x29, #-4]
bl _exp10f
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 3 ; @exp10.p10
_exp10.p10:
.quad 0x3cd203af9ee75616 ; double 1.0000000000000001E-15
.quad 0x3d06849b86a12b9b ; double 9.9999999999999999E-15
.quad 0x3d3c25c268497682 ; double 1.0E-13
.quad 0x3d719799812dea11 ; double 9.9999999999999998E-13
.quad 0x3da5fd7fe1796495 ; double 9.9999999999999993E-12
.quad 0x3ddb7cdfd9d7bdbb ; double 1.0E-10
.quad 0x3e112e0be826d695 ; double 1.0000000000000001E-9
.quad 0x3e45798ee2308c3a ; double 1.0E-8
.quad 0x3e7ad7f29abcaf48 ; double 9.9999999999999995E-8
.quad 0x3eb0c6f7a0b5ed8d ; double 9.9999999999999995E-7
.quad 0x3ee4f8b588e368f1 ; double 1.0000000000000001E-5
.quad 0x3f1a36e2eb1c432d ; double 1.0E-4
.quad 0x3f50624dd2f1a9fc ; double 0.001
.quad 0x3f847ae147ae147b ; double 0.01
.quad 0x3fb999999999999a ; double 0.10000000000000001
.quad 0x3ff0000000000000 ; double 1
.quad 0x4024000000000000 ; double 10
.quad 0x4059000000000000 ; double 100
.quad 0x408f400000000000 ; double 1000
.quad 0x40c3880000000000 ; double 1.0E+4
.quad 0x40f86a0000000000 ; double 1.0E+5
.quad 0x412e848000000000 ; double 1.0E+6
.quad 0x416312d000000000 ; double 1.0E+7
.quad 0x4197d78400000000 ; double 1.0E+8
.quad 0x41cdcd6500000000 ; double 1.0E+9
.quad 0x4202a05f20000000 ; double 1.0E+10
.quad 0x42374876e8000000 ; double 1.0E+11
.quad 0x426d1a94a2000000 ; double 1.0E+12
.quad 0x42a2309ce5400000 ; double 1.0E+13
.quad 0x42d6bcc41e900000 ; double 1.0E+14
.quad 0x430c6bf526340000 ; double 1.0E+15
.p2align 2 ; @exp10f.p10
_exp10f.p10:
.long 0x33d6bf95 ; float 1.00000001E-7
.long 0x358637bd ; float 9.99999997E-7
.long 0x3727c5ac ; float 9.99999974E-6
.long 0x38d1b717 ; float 9.99999974E-5
.long 0x3a83126f ; float 0.00100000005
.long 0x3c23d70a ; float 0.00999999977
.long 0x3dcccccd ; float 0.100000001
.long 0x3f800000 ; float 1
.long 0x41200000 ; float 10
.long 0x42c80000 ; float 100
.long 0x447a0000 ; float 1000
.long 0x461c4000 ; float 1.0E+4
.long 0x47c35000 ; float 1.0E+5
.long 0x49742400 ; float 1.0E+6
.long 0x4b189680 ; float 1.0E+7
.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 exp10
LCPI0_0:
.quad 0x4024000000000000 ## double 10
LCPI0_1:
.quad 0x400a934f0979a371 ## double 3.3219280948873622
.section __TEXT,__text,regular,pure_instructions
.globl _exp10
.p2align 4, 0x90
_exp10: ## @exp10
.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, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq -24(%rbp), %rdi
callq _modf
movsd %xmm0, -32(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movq -40(%rbp), %rax
shrq $52, %rax
andq $2047, %rax ## imm = 0x7FF
cmpq $1027, %rax ## imm = 0x403
jae LBB0_4
## %bb.1:
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_3
jp LBB0_3
## %bb.2:
cvttsd2si -24(%rbp), %eax
addl $15, %eax
movslq %eax, %rcx
leaq _exp10.p10(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
jmp LBB0_5
LBB0_3:
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -32(%rbp), %xmm0
callq _exp2
movsd %xmm0, -32(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvttsd2si -24(%rbp), %eax
addl $15, %eax
movslq %eax, %rcx
leaq _exp10.p10(%rip), %rax
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -8(%rbp)
jmp LBB0_5
LBB0_4:
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
movsd %xmm0, -8(%rbp)
LBB0_5:
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 exp10f
LCPI1_0:
.quad 0x400a934f0979a371 ## double 3.3219280948873622
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI1_1:
.long 0x40549a78 ## float 3.32192802
.section __TEXT,__text,regular,pure_instructions
.globl _exp10f
.p2align 4, 0x90
_exp10f: ## @exp10f
.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
movss %xmm0, -8(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
leaq -12(%rbp), %rdi
callq _modff
movss %xmm0, -16(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -24(%rbp)
movl -24(%rbp), %eax
shrl $23, %eax
andl $255, %eax
cmpl $130, %eax
jae LBB1_4
## %bb.1:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB1_3
jp LBB1_3
## %bb.2:
cvttss2si -12(%rbp), %eax
addl $7, %eax
movslq %eax, %rcx
leaq _exp10f.p10(%rip), %rax
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -4(%rbp)
jmp LBB1_5
LBB1_3:
movss LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -16(%rbp), %xmm0
callq _exp2f
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvttss2si -12(%rbp), %eax
addl $7, %eax
movslq %eax, %rcx
leaq _exp10f.p10(%rip), %rax
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, -4(%rbp)
jmp LBB1_5
LBB1_4:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
callq _exp2
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -4(%rbp)
LBB1_5:
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pow10 ## -- Begin function pow10
.p2align 4, 0x90
_pow10: ## @pow10
.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
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _exp10
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pow10f ## -- Begin function pow10f
.p2align 4, 0x90
_pow10f: ## @pow10f
.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 %xmm0, -4(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _exp10f
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @exp10.p10
_exp10.p10:
.quad 0x3cd203af9ee75616 ## double 1.0000000000000001E-15
.quad 0x3d06849b86a12b9b ## double 9.9999999999999999E-15
.quad 0x3d3c25c268497682 ## double 1.0E-13
.quad 0x3d719799812dea11 ## double 9.9999999999999998E-13
.quad 0x3da5fd7fe1796495 ## double 9.9999999999999993E-12
.quad 0x3ddb7cdfd9d7bdbb ## double 1.0E-10
.quad 0x3e112e0be826d695 ## double 1.0000000000000001E-9
.quad 0x3e45798ee2308c3a ## double 1.0E-8
.quad 0x3e7ad7f29abcaf48 ## double 9.9999999999999995E-8
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
.quad 0x3ee4f8b588e368f1 ## double 1.0000000000000001E-5
.quad 0x3f1a36e2eb1c432d ## double 1.0E-4
.quad 0x3f50624dd2f1a9fc ## double 0.001
.quad 0x3f847ae147ae147b ## double 0.01
.quad 0x3fb999999999999a ## double 0.10000000000000001
.quad 0x3ff0000000000000 ## double 1
.quad 0x4024000000000000 ## double 10
.quad 0x4059000000000000 ## double 100
.quad 0x408f400000000000 ## double 1000
.quad 0x40c3880000000000 ## double 1.0E+4
.quad 0x40f86a0000000000 ## double 1.0E+5
.quad 0x412e848000000000 ## double 1.0E+6
.quad 0x416312d000000000 ## double 1.0E+7
.quad 0x4197d78400000000 ## double 1.0E+8
.quad 0x41cdcd6500000000 ## double 1.0E+9
.quad 0x4202a05f20000000 ## double 1.0E+10
.quad 0x42374876e8000000 ## double 1.0E+11
.quad 0x426d1a94a2000000 ## double 1.0E+12
.quad 0x42a2309ce5400000 ## double 1.0E+13
.quad 0x42d6bcc41e900000 ## double 1.0E+14
.quad 0x430c6bf526340000 ## double 1.0E+15
.p2align 4 ## @exp10f.p10
_exp10f.p10:
.long 0x33d6bf95 ## float 1.00000001E-7
.long 0x358637bd ## float 9.99999997E-7
.long 0x3727c5ac ## float 9.99999974E-6
.long 0x38d1b717 ## float 9.99999974E-5
.long 0x3a83126f ## float 0.00100000005
.long 0x3c23d70a ## float 0.00999999977
.long 0x3dcccccd ## float 0.100000001
.long 0x3f800000 ## float 1
.long 0x41200000 ## float 10
.long 0x42c80000 ## float 100
.long 0x447a0000 ## float 1000
.long 0x461c4000 ## float 1.0E+4
.long 0x47c35000 ## float 1.0E+5
.long 0x49742400 ## float 1.0E+6
.long 0x4b189680 ## float 1.0E+7
.subsections_via_symbols
| the_stack_data/104709.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]
str wzr, [sp, #44]
add x0, sp, #48
str x0, [sp, #16] ; 8-byte Folded Spill
adrp x1, l___const.main.text@PAGE
add x1, x1, l___const.main.text@PAGEOFF
mov x2, #40
bl _memcpy
ldr x1, [sp, #16] ; 8-byte Folded Reload
mov w0, #1
str w0, [sp, #12] ; 4-byte Folded Spill
mov w2, #101
bl _cCipher
mov x8, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
str x8, [sp, #32]
ldr x1, [sp, #32]
mov w2, #100
bl _cCipher
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x0, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #24]
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 _free
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, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _cCipher ; -- Begin function cCipher
.p2align 2
_cCipher: ; @cCipher
.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 w0, [x29, #-40]
str x1, [sp, #48]
strb w2, [sp, #47]
mov w8, #65
str w8, [sp, #40]
ldr x0, [sp, #48]
bl _strlen
mov x8, x0
str w8, [sp, #36]
str wzr, [sp, #32]
ldr w8, [sp, #36]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _malloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w0, #1
bl _exit
LBB1_2:
ldrsb w8, [sp, #47]
subs w8, w8, #100
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldur w9, [x29, #-40]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-40]
b LBB1_4
LBB1_4:
str wzr, [sp, #32]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #26
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #40]
ldr w9, [sp, #32]
add w8, w8, w9
ldrsw x10, [sp, #32]
sub x9, x29, #34
strb w8, [x9, x10]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_5
LBB1_8:
str wzr, [sp, #32]
b LBB1_9
LBB1_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_17
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
ldrsb w0, [x8, x9]
bl _isalpha
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
ldrsb w0, [x8, x9]
bl _toupper
strb w0, [sp, #21]
ldrsb w8, [sp, #21]
ldr w9, [sp, #40]
subs w8, w8, w9
strb w8, [sp, #23]
ldrsb w8, [sp, #23]
ldur w9, [x29, #-40]
add w8, w8, w9
mov w10, #26
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
strb w8, [sp, #22]
ldrsb w8, [sp, #22]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_9 Depth=1
ldrsb w8, [sp, #22]
add w8, w8, #26
strb w8, [sp, #22]
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_9 Depth=1
ldrsb x9, [sp, #22]
sub x8, x29, #34
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #32]
add x9, x9, x10
strb w8, [x9]
b LBB1_15
LBB1_14: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #32]
add x9, x9, x10
strb w8, [x9]
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_9 Depth=1
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_9 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_9
LBB1_17:
ldr x8, [sp, #24]
ldrsw x9, [sp, #36]
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
bl ___stack_chk_fail
LBB1_19:
ldr x0, [sp, #8] ; 8-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___const.main.text: ; @__const.main.text
.asciz "Hello World! ABCDEFGHIJKLMNOPQRSTUVWXYZ"
l_.str: ; @.str
.asciz "Plain text: %s\n"
l_.str.1: ; @.str.1
.asciz "Encrypted text with key 1: %s\n"
l_.str.2: ; @.str.2
.asciz "Decrypted text: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq -48(%rbp), %rdi
leaq L___const.main.text(%rip), %rsi
movl $40, %edx
callq _memcpy
leaq -48(%rbp), %rsi
movl $1, %edi
movl $101, %edx
callq _cCipher
movq %rax, -64(%rbp)
movq -64(%rbp), %rsi
movl $1, %edi
movl $100, %edx
callq _cCipher
movq %rax, -72(%rbp)
leaq -48(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -64(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -72(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -64(%rbp), %rdi
callq _free
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 _cCipher ## -- Begin function cCipher
.p2align 4, 0x90
_cCipher: ## @cCipher
.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
movb %dl, %al
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbp)
movl %edi, -52(%rbp)
movq %rsi, -64(%rbp)
movb %al, -65(%rbp)
movl $65, -72(%rbp)
movq -64(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -76(%rbp)
movl $0, -80(%rbp)
movl -76(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
callq _malloc
movq %rax, -88(%rbp)
cmpq $0, -88(%rbp)
jne LBB1_2
## %bb.1:
movl $1, %edi
callq _exit
LBB1_2:
movsbl -65(%rbp), %eax
cmpl $100, %eax
jne LBB1_4
## %bb.3:
xorl %eax, %eax
subl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB1_4:
movl $0, -80(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
cmpl $26, -80(%rbp)
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movl -72(%rbp), %eax
addl -80(%rbp), %eax
movb %al, %cl
movslq -80(%rbp), %rax
movb %cl, -48(%rbp,%rax)
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB1_5
LBB1_8:
movl $0, -80(%rbp)
LBB1_9: ## =>This Inner Loop Header: Depth=1
movl -80(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB1_17
## %bb.10: ## in Loop: Header=BB1_9 Depth=1
movq -64(%rbp), %rax
movslq -80(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isalpha
cmpl $0, %eax
je LBB1_14
## %bb.11: ## in Loop: Header=BB1_9 Depth=1
movq -64(%rbp), %rax
movslq -80(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _toupper
## kill: def $al killed $al killed $eax
movb %al, -91(%rbp)
movsbl -91(%rbp), %eax
subl -72(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -89(%rbp)
movsbl -89(%rbp), %eax
addl -52(%rbp), %eax
movl $26, %ecx
cltd
idivl %ecx
movb %dl, %al
movb %al, -90(%rbp)
movsbl -90(%rbp), %eax
cmpl $0, %eax
jge LBB1_13
## %bb.12: ## in Loop: Header=BB1_9 Depth=1
movsbl -90(%rbp), %eax
addl $26, %eax
## kill: def $al killed $al killed $eax
movb %al, -90(%rbp)
LBB1_13: ## in Loop: Header=BB1_9 Depth=1
movsbq -90(%rbp), %rax
movb -48(%rbp,%rax), %dl
movq -88(%rbp), %rax
movslq -80(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp LBB1_15
LBB1_14: ## in Loop: Header=BB1_9 Depth=1
movq -64(%rbp), %rax
movslq -80(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -88(%rbp), %rax
movslq -80(%rbp), %rcx
movb %dl, (%rax,%rcx)
LBB1_15: ## in Loop: Header=BB1_9 Depth=1
jmp LBB1_16
LBB1_16: ## in Loop: Header=BB1_9 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB1_9
LBB1_17:
movq -88(%rbp), %rax
movslq -76(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -88(%rbp), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_19
## %bb.18:
movq -104(%rbp), %rax ## 8-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB1_19:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
.p2align 4 ## @__const.main.text
L___const.main.text:
.asciz "Hello World! ABCDEFGHIJKLMNOPQRSTUVWXYZ"
L_.str: ## @.str
.asciz "Plain text: %s\n"
L_.str.1: ## @.str.1
.asciz "Encrypted text with key 1: %s\n"
L_.str.2: ## @.str.2
.asciz "Decrypted text: %s\n"
.subsections_via_symbols
| the_stack_data/105481.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CXB30060 ; -- Begin function CXB30060
.p2align 2
_CXB30060: ; @CXB30060
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w8, #59
str w8, [sp, #8]
ldr w8, [sp, #12]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #32
cset w8, hi
tbnz w8, #0, LBB0_35
; %bb.1:
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_2:
mov w8, #48
str w8, [sp, #8]
b LBB0_35
LBB0_3:
mov w8, #49
str w8, [sp, #8]
b LBB0_35
LBB0_4:
mov w8, #50
str w8, [sp, #8]
b LBB0_35
LBB0_5:
mov w8, #51
str w8, [sp, #8]
b LBB0_35
LBB0_6:
mov w8, #52
str w8, [sp, #8]
b LBB0_35
LBB0_7:
mov w8, #53
str w8, [sp, #8]
b LBB0_35
LBB0_8:
mov w8, #54
str w8, [sp, #8]
b LBB0_35
LBB0_9:
mov w8, #55
str w8, [sp, #8]
b LBB0_35
LBB0_10:
mov w8, #56
str w8, [sp, #8]
b LBB0_35
LBB0_11:
mov w8, #57
str w8, [sp, #8]
b LBB0_35
LBB0_12:
mov w8, #65
str w8, [sp, #8]
b LBB0_35
LBB0_13:
mov w8, #66
str w8, [sp, #8]
b LBB0_35
LBB0_14:
mov w8, #67
str w8, [sp, #8]
b LBB0_35
LBB0_15:
mov w8, #68
str w8, [sp, #8]
b LBB0_35
LBB0_16:
mov w8, #69
str w8, [sp, #8]
b LBB0_35
LBB0_17:
mov w8, #70
str w8, [sp, #8]
b LBB0_35
LBB0_18:
mov w8, #71
str w8, [sp, #8]
b LBB0_35
LBB0_19:
mov w8, #72
str w8, [sp, #8]
b LBB0_35
LBB0_20:
mov w8, #73
str w8, [sp, #8]
b LBB0_35
LBB0_21:
mov w8, #74
str w8, [sp, #8]
b LBB0_35
LBB0_22:
mov w8, #107
str w8, [sp, #8]
b LBB0_35
LBB0_23:
mov w8, #108
str w8, [sp, #8]
b LBB0_35
LBB0_24:
mov w8, #109
str w8, [sp, #8]
b LBB0_35
LBB0_25:
mov w8, #110
str w8, [sp, #8]
b LBB0_35
LBB0_26:
mov w8, #111
str w8, [sp, #8]
b LBB0_35
LBB0_27:
mov w8, #112
str w8, [sp, #8]
b LBB0_35
LBB0_28:
mov w8, #113
str w8, [sp, #8]
b LBB0_35
LBB0_29:
mov w8, #114
str w8, [sp, #8]
b LBB0_35
LBB0_30:
mov w8, #115
str w8, [sp, #8]
b LBB0_35
LBB0_31:
mov w8, #116
str w8, [sp, #8]
b LBB0_35
LBB0_32:
mov w8, #32
str w8, [sp, #8]
b LBB0_35
LBB0_33:
mov w8, #46
str w8, [sp, #8]
b LBB0_35
LBB0_34:
mov w8, #44
str w8, [sp, #8]
b LBB0_35
LBB0_35:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_2-Ltmp1
.long LBB0_3-Ltmp1
.long LBB0_4-Ltmp1
.long LBB0_5-Ltmp1
.long LBB0_6-Ltmp1
.long LBB0_7-Ltmp1
.long LBB0_8-Ltmp1
.long LBB0_9-Ltmp1
.long LBB0_10-Ltmp1
.long LBB0_11-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_13-Ltmp1
.long LBB0_14-Ltmp1
.long LBB0_15-Ltmp1
.long LBB0_16-Ltmp1
.long LBB0_17-Ltmp1
.long LBB0_18-Ltmp1
.long LBB0_19-Ltmp1
.long LBB0_20-Ltmp1
.long LBB0_21-Ltmp1
.long LBB0_22-Ltmp1
.long LBB0_23-Ltmp1
.long LBB0_24-Ltmp1
.long LBB0_25-Ltmp1
.long LBB0_26-Ltmp1
.long LBB0_27-Ltmp1
.long LBB0_28-Ltmp1
.long LBB0_29-Ltmp1
.long LBB0_30-Ltmp1
.long LBB0_31-Ltmp1
.long LBB0_32-Ltmp1
.long LBB0_33-Ltmp1
.long LBB0_34-Ltmp1
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CXB30060 ## -- Begin function CXB30060
.p2align 4, 0x90
_CXB30060: ## @CXB30060
.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 $59, -8(%rbp)
movl -4(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
subq $32, %rax
ja LBB0_34
## %bb.35:
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_1:
movl $48, -8(%rbp)
jmp LBB0_34
LBB0_2:
movl $49, -8(%rbp)
jmp LBB0_34
LBB0_3:
movl $50, -8(%rbp)
jmp LBB0_34
LBB0_4:
movl $51, -8(%rbp)
jmp LBB0_34
LBB0_5:
movl $52, -8(%rbp)
jmp LBB0_34
LBB0_6:
movl $53, -8(%rbp)
jmp LBB0_34
LBB0_7:
movl $54, -8(%rbp)
jmp LBB0_34
LBB0_8:
movl $55, -8(%rbp)
jmp LBB0_34
LBB0_9:
movl $56, -8(%rbp)
jmp LBB0_34
LBB0_10:
movl $57, -8(%rbp)
jmp LBB0_34
LBB0_11:
movl $65, -8(%rbp)
jmp LBB0_34
LBB0_12:
movl $66, -8(%rbp)
jmp LBB0_34
LBB0_13:
movl $67, -8(%rbp)
jmp LBB0_34
LBB0_14:
movl $68, -8(%rbp)
jmp LBB0_34
LBB0_15:
movl $69, -8(%rbp)
jmp LBB0_34
LBB0_16:
movl $70, -8(%rbp)
jmp LBB0_34
LBB0_17:
movl $71, -8(%rbp)
jmp LBB0_34
LBB0_18:
movl $72, -8(%rbp)
jmp LBB0_34
LBB0_19:
movl $73, -8(%rbp)
jmp LBB0_34
LBB0_20:
movl $74, -8(%rbp)
jmp LBB0_34
LBB0_21:
movl $107, -8(%rbp)
jmp LBB0_34
LBB0_22:
movl $108, -8(%rbp)
jmp LBB0_34
LBB0_23:
movl $109, -8(%rbp)
jmp LBB0_34
LBB0_24:
movl $110, -8(%rbp)
jmp LBB0_34
LBB0_25:
movl $111, -8(%rbp)
jmp LBB0_34
LBB0_26:
movl $112, -8(%rbp)
jmp LBB0_34
LBB0_27:
movl $113, -8(%rbp)
jmp LBB0_34
LBB0_28:
movl $114, -8(%rbp)
jmp LBB0_34
LBB0_29:
movl $115, -8(%rbp)
jmp LBB0_34
LBB0_30:
movl $116, -8(%rbp)
jmp LBB0_34
LBB0_31:
movl $32, -8(%rbp)
jmp LBB0_34
LBB0_32:
movl $46, -8(%rbp)
jmp LBB0_34
LBB0_33:
movl $44, -8(%rbp)
LBB0_34:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
.long L0_0_set_1
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_13
.long L0_0_set_14
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_17
.long L0_0_set_18
.long L0_0_set_19
.long L0_0_set_20
.long L0_0_set_21
.long L0_0_set_22
.long L0_0_set_23
.long L0_0_set_24
.long L0_0_set_25
.long L0_0_set_26
.long L0_0_set_27
.long L0_0_set_28
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_31
.long L0_0_set_32
.long L0_0_set_33
.end_data_region
## -- End function
.subsections_via_symbols
| the_stack_data/176706507.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI0_0:
.quad 0x7ff8000000000000 ; double NaN
lCPI0_1:
.quad 0x7ff0000000000000 ; double +Inf
.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, #1296
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
stur wzr, [x29, #-40]
stur w0, [x29, #-44]
stur x1, [x29, #-56]
; kill: def $x8 killed $xzr
str xzr, [sp, #736]
str xzr, [sp, #728]
str wzr, [sp, #408]
mov w8, #1
str w8, [sp, #268]
mov w8, #8
str w8, [sp, #264]
str w8, [sp, #260]
str wzr, [sp, #188]
str wzr, [sp, #184]
str xzr, [sp, #176]
str xzr, [sp, #168]
str xzr, [sp, #120]
str xzr, [sp, #112]
str wzr, [sp, #108]
str wzr, [sp, #104]
str wzr, [sp, #100]
str wzr, [sp, #96]
str wzr, [sp, #92]
str wzr, [sp, #88]
str wzr, [sp, #84]
str wzr, [sp, #80]
str xzr, [sp, #72]
str xzr, [sp, #64]
ldur w8, [x29, #-44]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
str x1, [sp, #48] ; 8-byte Folded Spill
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
str x1, [sp, #40] ; 8-byte Folded Spill
bl _fprintf
ldr x8, [sp, #56] ; 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
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 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, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #84]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #88]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #72]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #64]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 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, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #100]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #96]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #92]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #108]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #104]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x9]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x1, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
mov w0, #0
bl _exit
LBB0_2:
ldur x8, [x29, #-56]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
add x0, sp, #1000
mov w1, #0
mov x2, #256
adrp x3, l_.str.30@PAGE
add x3, x3, l_.str.30@PAGEOFF
bl ___sprintf_chk
mov x8, #2
str x8, [sp, #448]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #448]
ldursw x9, [x29, #-44]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_41
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #448]
add x8, x8, #1
ldursw x9, [x29, #-44]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.31@PAGE
add x1, x1, l_.str.31@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.32@PAGE
add x1, x1, l_.str.32@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #80]
b LBB0_37
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.33@PAGE
add x1, x1, l_.str.33@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #84]
b LBB0_36
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.34@PAGE
add x1, x1, l_.str.34@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #88]
b LBB0_35
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.35@PAGE
add x1, x1, l_.str.35@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #108]
b LBB0_34
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.36@PAGE
add x1, x1, l_.str.36@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #104]
b LBB0_33
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.37@PAGE
add x1, x1, l_.str.37@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #72]
b LBB0_32
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.38@PAGE
add x1, x1, l_.str.38@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #64]
b LBB0_31
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.39@PAGE
add x1, x1, l_.str.39@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #100]
b LBB0_30
LBB0_23: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.40@PAGE
add x1, x1, l_.str.40@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #96]
b LBB0_29
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.41@PAGE
add x1, x1, l_.str.41@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
add x9, x9, #1
str x9, [sp, #448]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #92]
b LBB0_28
LBB0_27:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-56]
ldr x9, [sp, #448]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.42@PAGE
add x1, x1, l_.str.42@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_3 Depth=1
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_3 Depth=1
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_3 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_3 Depth=1
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_3 Depth=1
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_3 Depth=1
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_3 Depth=1
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_3 Depth=1
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #448]
add x8, x8, #1
str x8, [sp, #448]
b LBB0_3
LBB0_41:
ldr w0, [sp, #88]
bl _abs
str w0, [sp, #420]
ldr w8, [sp, #420]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_46
b LBB0_42
LBB0_42:
ldr w8, [sp, #420]
subs w8, w8, #90
cset w8, eq
tbnz w8, #0, LBB0_46
b LBB0_43
LBB0_43:
ldr w8, [sp, #420]
subs w8, w8, #180
cset w8, eq
tbnz w8, #0, LBB0_46
b LBB0_44
LBB0_44:
ldr w8, [sp, #420]
subs w8, w8, #270
cset w8, eq
tbnz w8, #0, LBB0_46
b LBB0_45
LBB0_45:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #88]
; implicit-def: $x8
mov x8, x9
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_46:
ldr w8, [sp, #108]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_50
b LBB0_47
LBB0_47:
ldr w8, [sp, #108]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_50
b LBB0_48
LBB0_48:
ldr w8, [sp, #108]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #108]
; implicit-def: $x8
mov x8, x9
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.44@PAGE
add x1, x1, l_.str.44@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_50:
ldr w8, [sp, #104]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_51
LBB0_51:
ldr w8, [sp, #104]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_52
LBB0_52:
ldr w8, [sp, #104]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_53
LBB0_53:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #104]
; implicit-def: $x8
mov x8, x9
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.45@PAGE
add x1, x1, l_.str.45@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_54:
ldr w8, [sp, #84]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_57
b LBB0_55
LBB0_55:
ldr w8, [sp, #84]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_57
b LBB0_56
LBB0_56:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #84]
; implicit-def: $x8
mov x8, x9
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.46@PAGE
add x1, x1, l_.str.46@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_57:
ldr w8, [sp, #92]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_60
b LBB0_58
LBB0_58:
ldr w8, [sp, #92]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_60
b LBB0_59
LBB0_59:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #92]
; implicit-def: $x8
mov x8, x9
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_60:
ldr w8, [sp, #84]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_63
b LBB0_61
LBB0_61:
ldr w8, [sp, #420]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_63
b LBB0_62
LBB0_62:
ldr x8, [sp, #56] ; 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.48@PAGE
add x1, x1, l_.str.48@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_63:
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_65
b LBB0_64
LBB0_64:
ldr w8, [sp, #80]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_66
b LBB0_65
LBB0_65:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
adrp x10, l_.str.8@PAGE
add x10, x10, l_.str.8@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.49@PAGE
add x1, x1, l_.str.49@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_66:
add x0, sp, #1000
adrp x1, l_.str.50@PAGE
add x1, x1, l_.str.50@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_68
b LBB0_67
LBB0_67:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #200]
b LBB0_71
LBB0_68:
add x0, sp, #1000
adrp x1, l_.str.51@PAGE
add x1, x1, l_.str.51@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #200]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_70
b LBB0_69
LBB0_69:
ldr x8, [sp, #56] ; 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]
add x8, sp, #1000
str x8, [x9, #8]
adrp x1, l_.str.52@PAGE
add x1, x1, l_.str.52@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_70:
b LBB0_71
LBB0_71:
ldr x4, [sp, #200]
add x0, sp, #160
add x1, sp, #152
add x2, sp, #136
add x3, sp, #456
bl _xf_matrixread1_d
str x0, [sp, #120]
add x0, sp, #1000
adrp x1, l_.str.50@PAGE
add x1, x1, l_.str.50@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_73
b LBB0_72
LBB0_72:
ldr x0, [sp, #200]
bl _fclose
b LBB0_73
LBB0_73:
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_75
b LBB0_74
LBB0_74:
ldr x8, [sp, #56] ; 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]
add x8, sp, #456
str x8, [x9, #8]
adrp x1, l_.str.53@PAGE
add x1, x1, l_.str.53@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_75:
ldr x8, [sp, #152]
ldr x9, [sp, #136]
mul x8, x8, x9
str x8, [sp, #168]
ldr x8, [sp, #160]
subs x8, x8, #1
cset w8, le
tbnz w8, #0, LBB0_77
b LBB0_76
LBB0_76:
ldr x8, [sp, #56] ; 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]
add x8, sp, #1000
str x8, [x9, #8]
adrp x1, l_.str.54@PAGE
add x1, x1, l_.str.54@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_77:
ldr w8, [sp, #80]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_79
b LBB0_78
LBB0_78:
ldr x0, [sp, #120]
ldr x1, [sp, #152]
ldr x2, [sp, #136]
bl _xf_matrixflipx_d
str x0, [sp, #120]
b LBB0_79
LBB0_79:
ldr w8, [sp, #80]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_81
b LBB0_80
LBB0_80:
ldr x0, [sp, #120]
ldr x1, [sp, #152]
ldr x2, [sp, #136]
bl _xf_matrixflipy_d
str x0, [sp, #120]
b LBB0_81
LBB0_81:
ldr w8, [sp, #84]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_83
b LBB0_82
LBB0_82:
ldr x0, [sp, #120]
add x1, sp, #152
add x2, sp, #136
bl _xf_matrixtrans1_d
str x0, [sp, #120]
b LBB0_83
LBB0_83:
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_85
b LBB0_84
LBB0_84:
ldr x8, [sp, #56] ; 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.55@PAGE
add x1, x1, l_.str.55@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_85:
ldr w8, [sp, #88]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_87
b LBB0_86
LBB0_86:
ldr x0, [sp, #120]
ldr w3, [sp, #88]
add x1, sp, #152
add x2, sp, #136
bl _xf_matrixrotate1_d
str x0, [sp, #120]
b LBB0_87
LBB0_87:
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_89
b LBB0_88
LBB0_88:
ldr x8, [sp, #56] ; 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.56@PAGE
add x1, x1, l_.str.56@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_89:
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, gt
tbnz w8, #0, LBB0_91
b LBB0_90
LBB0_90:
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB0_113
b LBB0_91
LBB0_91:
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, gt
tbnz w8, #0, LBB0_93
b LBB0_92
LBB0_92:
ldr x8, [sp, #152]
str x8, [sp, #72]
b LBB0_93
LBB0_93:
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, gt
tbnz w8, #0, LBB0_95
b LBB0_94
LBB0_94:
ldr x8, [sp, #136]
str x8, [sp, #64]
b LBB0_95
LBB0_95:
ldr x8, [sp, #72]
ldr x9, [sp, #152]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_99
b LBB0_96
LBB0_96:
ldr x0, [sp, #120]
ldr x1, [sp, #152]
ldr x2, [sp, #136]
ldr x3, [sp, #72]
ldr x4, [sp, #136]
add x5, sp, #456
bl _xf_matrixbin1_d
str w0, [sp, #412]
ldr w8, [sp, #412]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_98
b LBB0_97
LBB0_97:
ldr x8, [sp, #56] ; 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]
add x8, sp, #456
str x8, [x9, #8]
adrp x1, l_.str.57@PAGE
add x1, x1, l_.str.57@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_98:
ldr x8, [sp, #72]
str x8, [sp, #152]
ldr x0, [sp, #120]
ldr x8, [sp, #152]
ldr x9, [sp, #136]
mul x8, x8, x9
lsl x1, x8, #3
bl _realloc
str x0, [sp, #120]
b LBB0_99
LBB0_99:
ldr x8, [sp, #64]
ldr x9, [sp, #136]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_103
b LBB0_100
LBB0_100:
ldr x0, [sp, #120]
ldr x1, [sp, #152]
ldr x2, [sp, #136]
ldr x3, [sp, #152]
ldr x4, [sp, #64]
add x5, sp, #456
bl _xf_matrixbin1_d
str w0, [sp, #412]
ldr w8, [sp, #412]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_102
b LBB0_101
LBB0_101:
ldr x8, [sp, #56] ; 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]
add x8, sp, #456
str x8, [x9, #8]
adrp x1, l_.str.57@PAGE
add x1, x1, l_.str.57@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_102:
ldr x8, [sp, #64]
str x8, [sp, #136]
ldr x0, [sp, #120]
ldr x8, [sp, #152]
ldr x9, [sp, #136]
mul x8, x8, x9
lsl x1, x8, #3
bl _realloc
str x0, [sp, #120]
b LBB0_103
LBB0_103:
ldr x8, [sp, #72]
ldr x9, [sp, #152]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_105
b LBB0_104
LBB0_104:
ldr x8, [sp, #64]
ldr x9, [sp, #136]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_112
b LBB0_105
LBB0_105:
ldr x0, [sp, #120]
ldr x1, [sp, #152]
ldr x2, [sp, #136]
ldr x3, [sp, #72]
ldr x4, [sp, #64]
add x5, sp, #456
bl _xf_matrixexpand1_d
str x0, [sp, #120]
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_107
b LBB0_106
LBB0_106:
ldr x8, [sp, #56] ; 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]
add x8, sp, #456
str x8, [x9, #8]
adrp x1, l_.str.57@PAGE
add x1, x1, l_.str.57@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_107:
ldr x8, [sp, #72]
ldr x9, [sp, #152]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_109
b LBB0_108
LBB0_108:
ldr x8, [sp, #72]
str x8, [sp, #152]
b LBB0_109
LBB0_109:
ldr x8, [sp, #64]
ldr x9, [sp, #136]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_111
b LBB0_110
LBB0_110:
ldr x8, [sp, #64]
str x8, [sp, #136]
b LBB0_111
LBB0_111:
b LBB0_112
LBB0_112:
ldr x8, [sp, #152]
ldr x9, [sp, #136]
mul x8, x8, x9
str x8, [sp, #168]
b LBB0_113
LBB0_113:
ldr w8, [sp, #100]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_115
b LBB0_114
LBB0_114:
ldr w8, [sp, #96]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_143
b LBB0_115
LBB0_115:
ldr w8, [sp, #92]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_139
b LBB0_116
LBB0_116:
ldr x0, [sp, #112]
ldr x8, [sp, #152]
ldr x9, [sp, #136]
mul x8, x8, x9
lsl x1, x8, #3
bl _realloc
str x0, [sp, #112]
str xzr, [sp, #448]
b LBB0_117
LBB0_117: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #448]
ldr x9, [sp, #168]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_120
b LBB0_118
LBB0_118: ; in Loop: Header=BB0_117 Depth=1
ldr x8, [sp, #120]
ldr x9, [sp, #448]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #112]
ldr x9, [sp, #448]
str d0, [x8, x9, lsl #3]
b LBB0_119
LBB0_119: ; in Loop: Header=BB0_117 Depth=1
ldr x8, [sp, #448]
add x8, x8, #1
str x8, [sp, #448]
b LBB0_117
LBB0_120:
ldr x0, [sp, #120]
ldr x8, [sp, #152]
mov x1, x8
ldr x8, [sp, #136]
mov x2, x8
ldr w3, [sp, #100]
ldr w4, [sp, #96]
bl _xf_smoothgauss2_d
str w0, [sp, #412]
ldr w8, [sp, #412]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_122
b LBB0_121
LBB0_121:
ldr x8, [sp, #56] ; 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.58@PAGE
add x1, x1, l_.str.58@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_122:
str xzr, [sp, #448]
b LBB0_123
LBB0_123: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #448]
ldr x9, [sp, #168]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_138
b LBB0_124
LBB0_124: ; in Loop: Header=BB0_123 Depth=1
mov w8, #0
tbz w8, #0, LBB0_128
b LBB0_125
LBB0_125: ; in Loop: Header=BB0_123 Depth=1
ldr x8, [sp, #112]
ldr x9, [sp, #448]
ldr d0, [x8, x9, lsl #3]
fcvt s0, d0
stur s0, [x29, #-36]
ldur s0, [x29, #-36]
ldur s1, [x29, #-36]
fcmp s0, s1
cset w8, ne
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_127
b LBB0_126
LBB0_126: ; in Loop: Header=BB0_123 Depth=1
ldur s0, [x29, #-36]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, ne
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_127
LBB0_127: ; in Loop: Header=BB0_123 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_136
b LBB0_135
LBB0_128: ; in Loop: Header=BB0_123 Depth=1
mov w8, #1
tbz w8, #0, LBB0_132
b LBB0_129
LBB0_129: ; in Loop: Header=BB0_123 Depth=1
ldr x8, [sp, #112]
ldr x9, [sp, #448]
ldr d0, [x8, x9, lsl #3]
stur d0, [x29, #-32]
ldur d0, [x29, #-32]
ldur d1, [x29, #-32]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_131
b LBB0_130
LBB0_130: ; in Loop: Header=BB0_123 Depth=1
ldur d0, [x29, #-32]
fabs d0, d0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_131
LBB0_131: ; in Loop: Header=BB0_123 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_136
b LBB0_135
LBB0_132: ; in Loop: Header=BB0_123 Depth=1
ldr x8, [sp, #112]
ldr x9, [sp, #448]
ldr d0, [x8, x9, lsl #3]
stur d0, [x29, #-24]
ldur d0, [x29, #-24]
ldur d1, [x29, #-24]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_134
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_123 Depth=1
ldur d0, [x29, #-24]
fabs d0, d0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_134
LBB0_134: ; in Loop: Header=BB0_123 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_136
b LBB0_135
LBB0_135: ; in Loop: Header=BB0_123 Depth=1
ldr x8, [sp, #120]
ldr x9, [sp, #448]
adrp x10, lCPI0_0@PAGE
ldr d0, [x10, lCPI0_0@PAGEOFF]
str d0, [x8, x9, lsl #3]
b LBB0_136
LBB0_136: ; in Loop: Header=BB0_123 Depth=1
b LBB0_137
LBB0_137: ; in Loop: Header=BB0_123 Depth=1
ldr x8, [sp, #448]
add x8, x8, #1
str x8, [sp, #448]
b LBB0_123
LBB0_138:
b LBB0_142
LBB0_139:
ldr x0, [sp, #120]
ldr x8, [sp, #152]
mov x1, x8
ldr x8, [sp, #136]
mov x2, x8
ldr w3, [sp, #100]
ldr w4, [sp, #96]
bl _xf_smoothgauss2_d
str w0, [sp, #412]
ldr w8, [sp, #412]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_141
b LBB0_140
LBB0_140:
ldr x8, [sp, #56] ; 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.58@PAGE
add x1, x1, l_.str.58@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_141:
b LBB0_142
LBB0_142:
b LBB0_143
LBB0_143:
ldr w8, [sp, #104]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_145
b LBB0_144
LBB0_144:
ldr w8, [sp, #104]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_146
b LBB0_145
LBB0_145:
ldr x0, [sp, #120]
ldr x1, [sp, #168]
ldr w2, [sp, #104]
bl _xf_fishertransform2_d
b LBB0_146
LBB0_146:
ldr w8, [sp, #108]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_148
b LBB0_147
LBB0_147:
ldr w8, [sp, #108]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_149
b LBB0_148
LBB0_148:
ldr x0, [sp, #120]
ldr x1, [sp, #168]
ldr w8, [sp, #108]
subs w2, w8, #1
bl _xf_norm2_d
b LBB0_149
LBB0_149:
str xzr, [sp, #448]
b LBB0_150
LBB0_150: ; =>This Loop Header: Depth=1
; Child Loop BB0_152 Depth 2
ldr x8, [sp, #448]
ldr x9, [sp, #136]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_157
b LBB0_151
LBB0_151: ; in Loop: Header=BB0_150 Depth=1
ldr x8, [sp, #448]
ldr x9, [sp, #152]
mul x8, x8, x9
str x8, [sp, #440]
ldr x8, [sp, #440]
ldr x9, [sp, #152]
add x8, x8, x9
str x8, [sp, #432]
ldr x8, [sp, #120]
ldr x9, [sp, #440]
add x10, x9, #1
str x10, [sp, #440]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.59@PAGE
add x0, x0, l_.str.59@PAGEOFF
bl _printf
ldr x8, [sp, #440]
str x8, [sp, #440]
b LBB0_152
LBB0_152: ; Parent Loop BB0_150 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #440]
ldr x9, [sp, #432]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_155
b LBB0_153
LBB0_153: ; in Loop: Header=BB0_152 Depth=2
ldr x8, [sp, #120]
ldr x9, [sp, #440]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.60@PAGE
add x0, x0, l_.str.60@PAGEOFF
bl _printf
b LBB0_154
LBB0_154: ; in Loop: Header=BB0_152 Depth=2
ldr x8, [sp, #440]
add x8, x8, #1
str x8, [sp, #440]
b LBB0_152
LBB0_155: ; in Loop: Header=BB0_150 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_156
LBB0_156: ; in Loop: Header=BB0_150 Depth=1
ldr x8, [sp, #448]
add x8, x8, #1
str x8, [sp, #448]
b LBB0_150
LBB0_157:
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_159
b LBB0_158
LBB0_158:
ldr x0, [sp, #120]
bl _free
b LBB0_159
LBB0_159:
ldr x8, [sp, #112]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_161
b LBB0_160
LBB0_160:
ldr x0, [sp, #112]
bl _free
b LBB0_161
LBB0_161:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
l_.str.1: ; @.str.1
.asciz "----------------------------------------------------------------------\n"
l_.str.2: ; @.str.2
.asciz "%s\n"
l_.str.3: ; @.str.3
.asciz "xe-matrixmod1 v 21.October.2017 [JRH]"
l_.str.4: ; @.str.4
.asciz "Modify a matrix:\n"
l_.str.5: ; @.str.5
.asciz "\tflip/rotate/transpose,resample,smooth,Fisher-transform,normalize - in that order\n"
l_.str.6: ; @.str.6
.asciz "USAGE:\n"
l_.str.7: ; @.str.7
.asciz "\t%s [input] [options]\n"
l_.str.8: ; @.str.8
.asciz "xe-matrixmod1"
l_.str.9: ; @.str.9
.asciz "\t[input]: file or \"stdin\" in matrix format\n"
l_.str.10: ; @.str.10
.asciz "VALID OPTIONS (defaults in []):\n"
l_.str.11: ; @.str.11
.asciz "\t-flip : flip matrix (0=NO, 1= x-flip, 2= y-flip) [%d]\n"
l_.str.12: ; @.str.12
.asciz "\t-t : transpose (0=NO, 1=YES - cannot be combined with rotation) [%d]\n"
l_.str.13: ; @.str.13
.asciz "\t-r : rotation, in degrees (choose 0,+-90,+-180,+-270) [%d]\n"
l_.str.14: ; @.str.14
.asciz "\t-w : width, set (resample) number of columns [%d]\n"
l_.str.15: ; @.str.15
.asciz "\t-h : height, set (resample) number of rows [%d]\n"
l_.str.16: ; @.str.16
.asciz "\t\tNOTE: expands or averages data in each row/column as needed\n"
l_.str.17: ; @.str.17
.asciz "\t\tNOTE: set to zero to leave as-is\n"
l_.str.18: ; @.str.18
.asciz "\t-sx : 2D gaussian smoothing factor to apply to matrix [%d]\n"
l_.str.19: ; @.str.19
.asciz "\t-sy : 2D gaussian smoothing factor to apply to matrix [%d]\n"
l_.str.20: ; @.str.20
.asciz "\t-pn : preserve NANs when smoothing (0=NO 1=YES) [%d]\n"
l_.str.21: ; @.str.21
.asciz "\t-n : normalization, 0=no, 1=0-1 range, 2=z-scores [%d]\n"
l_.str.22: ; @.str.22
.asciz "\t-f : Fisher z' transformation : 0=no, 1 or 2 = yes [%d]\n"
l_.str.23: ; @.str.23
.asciz "\t\t\ttransform for r-values\n"
l_.str.24: ; @.str.24
.asciz "\t\t\tset to 1 of numbers range from -1 to 1\n"
l_.str.25: ; @.str.25
.asciz "\t\t\tset to 2 of numbers range from 0 to 1\n"
l_.str.26: ; @.str.26
.asciz "EXAMPLES:\n"
l_.str.27: ; @.str.27
.asciz "\t%s matrix.txt -n 0 -sx 1 -sy 2 \n"
l_.str.28: ; @.str.28
.asciz "OUTPUT:\n"
l_.str.29: ; @.str.29
.asciz "\tAn [width]x[height] modified matrix\n"
l_.str.30: ; @.str.30
.asciz "%s"
l_.str.31: ; @.str.31
.asciz "\n--- Error [%s]: missing value for argument \"%s\"\n\n"
l_.str.32: ; @.str.32
.asciz "-flip"
l_.str.33: ; @.str.33
.asciz "-t"
l_.str.34: ; @.str.34
.asciz "-r"
l_.str.35: ; @.str.35
.asciz "-n"
l_.str.36: ; @.str.36
.asciz "-f"
l_.str.37: ; @.str.37
.asciz "-w"
l_.str.38: ; @.str.38
.asciz "-h"
l_.str.39: ; @.str.39
.asciz "-sx"
l_.str.40: ; @.str.40
.asciz "-sy"
l_.str.41: ; @.str.41
.asciz "-pn"
l_.str.42: ; @.str.42
.asciz "\n--- Error [%s]: invalid command line argument \"%s\"\n\n"
l_.str.43: ; @.str.43
.asciz "\n--- Error [%s]: invalid rotation setting (-r %d) \n\n"
l_.str.44: ; @.str.44
.asciz "\n--- Error [%s]: invalid normalization setting (-n %d) \n\n"
l_.str.45: ; @.str.45
.asciz "\n--- Error [%s]: invalid Fisher transform setting (-f %d) \n\n"
l_.str.46: ; @.str.46
.asciz "\n--- Error [%s]: invalid transpose setting (-t %d) \n\n"
l_.str.47: ; @.str.47
.asciz "\n--- Error [%s]: invalid setting (-pn %d) \n\n"
l_.str.48: ; @.str.48
.asciz "\n--- Error [%s]: cannot both rotate and transpose the input\n\n"
l_.str.49: ; @.str.49
.asciz "\n--- Error [%s]: invalid -flip (%d) must be 0-2\n\n"
l_.str.50: ; @.str.50
.asciz "stdin"
l_.str.51: ; @.str.51
.asciz "r"
l_.str.52: ; @.str.52
.asciz "\n\007--- Error [%s]: file \"%s\" not found\n\n"
l_.str.53: ; @.str.53
.asciz "\n--- Error [%s]: %s\n\n"
l_.str.54: ; @.str.54
.asciz "\n--- Error [%s]: file %s contains more than one matrix - average before passing to this program\n\n"
l_.str.55: ; @.str.55
.asciz "\n--- Error [%s]: transpose function encountered insufficient memory\n\n"
l_.str.56: ; @.str.56
.asciz "\n--- Error [%s]: rotation function encountered insufficient memory\n\n"
l_.str.57: ; @.str.57
.asciz "\n\t--- %s/%s\n\n"
l_.str.58: ; @.str.58
.asciz "\n--- Error [%s]: smoothing function encountered insufficient memory\n\n"
l_.str.59: ; @.str.59
.asciz "%g"
l_.str.60: ; @.str.60
.asciz " %g"
.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 0x7f800000 ## float +Inf
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x7ff0000000000000 ## double +Inf
LCPI0_4:
.quad 0x7ff8000000000000 ## double NaN
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_2:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
LCPI0_3:
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.section __TEXT,__text,regular,pure_instructions
.globl _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 $1296, %rsp ## imm = 0x510
movl $0, -32(%rbp)
movl %edi, -36(%rbp)
movq %rsi, -48(%rbp)
movq $0, -568(%rbp)
movq $0, -576(%rbp)
movl $0, -896(%rbp)
movl $1, -1044(%rbp)
movl $8, -1048(%rbp)
movl $8, -1052(%rbp)
movl $0, -1124(%rbp)
movl $0, -1128(%rbp)
movq $0, -1136(%rbp)
movq $0, -1144(%rbp)
movq $0, -1192(%rbp)
movq $0, -1200(%rbp)
movl $0, -1204(%rbp)
movl $0, -1208(%rbp)
movl $0, -1212(%rbp)
movl $0, -1216(%rbp)
movl $0, -1220(%rbp)
movl $0, -1224(%rbp)
movl $0, -1228(%rbp)
movl $0, -1232(%rbp)
movq $0, -1240(%rbp)
movq $0, -1248(%rbp)
cmpl $2, -36(%rbp)
jge LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -1272(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movq %rsi, -1264(%rbp) ## 8-byte Spill
xorl %eax, %eax
movl %eax, -1252(%rbp) ## 4-byte Spill
movb %al, -1253(%rbp) ## 1-byte Spill
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.1(%rip), %rsi
movq %rsi, -1280(%rbp) ## 8-byte Spill
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
callq _fprintf
movq -1280(%rbp), %rsi ## 8-byte Reload
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.4(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.5(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.6(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.7(%rip), %rsi
leaq L_.str.8(%rip), %rdx
movq %rdx, -1288(%rbp) ## 8-byte Spill
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.9(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.10(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1232(%rbp), %edx
leaq L_.str.11(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1228(%rbp), %edx
leaq L_.str.12(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1224(%rbp), %edx
leaq L_.str.13(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movq -1240(%rbp), %rdx
leaq L_.str.14(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movq -1248(%rbp), %rdx
leaq L_.str.15(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.16(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.17(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1212(%rbp), %edx
leaq L_.str.18(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1216(%rbp), %edx
leaq L_.str.19(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1220(%rbp), %edx
leaq L_.str.20(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1204(%rbp), %edx
leaq L_.str.21(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -1208(%rbp), %edx
leaq L_.str.22(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.23(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.24(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.25(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.26(%rip), %rsi
callq _fprintf
movq -1288(%rbp), %rdx ## 8-byte Reload
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $esi killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.27(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.28(%rip), %rsi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.29(%rip), %rsi
callq _fprintf
movq -1280(%rbp), %rsi ## 8-byte Reload
movq -1272(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
callq _fprintf
movq -1272(%rbp), %rcx ## 8-byte Reload
movq -1264(%rbp), %rsi ## 8-byte Reload
## kill: def $edx killed $eax
movb -1253(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
callq _fprintf
movl -1252(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_2:
leaq -304(%rbp), %rdi
movq -48(%rbp), %rax
movq 8(%rax), %r8
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
leaq L_.str.30(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq $2, -856(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -856(%rbp), %rax
movslq -36(%rbp), %rcx
cmpq %rcx, %rax
jge LBB0_41
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB0_39
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -856(%rbp), %rax
addq $1, %rax
movslq -36(%rbp), %rcx
cmpq %rcx, %rax
jl LBB0_7
## %bb.6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
leaq L_.str.31(%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_7: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.32(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1232(%rbp)
jmp LBB0_37
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.33(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1228(%rbp)
jmp LBB0_36
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.34(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1224(%rbp)
jmp LBB0_35
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.35(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1204(%rbp)
jmp LBB0_34
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.36(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1208(%rbp)
jmp LBB0_33
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.37(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
cltq
movq %rax, -1240(%rbp)
jmp LBB0_32
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.38(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
cltq
movq %rax, -1248(%rbp)
jmp LBB0_31
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.39(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1212(%rbp)
jmp LBB0_30
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.40(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_25
## %bb.24: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1216(%rbp)
jmp LBB0_29
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.41(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -856(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -1220(%rbp)
jmp LBB0_28
LBB0_27:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -48(%rbp), %rax
movq -856(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
leaq L_.str.42(%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_28: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_29
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_30
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_31
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_32
LBB0_32: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_34
LBB0_34: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_36
LBB0_36: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_37
LBB0_37: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_38
LBB0_38: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_39
LBB0_39: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_40
LBB0_40: ## in Loop: Header=BB0_3 Depth=1
movq -856(%rbp), %rax
addq $1, %rax
movq %rax, -856(%rbp)
jmp LBB0_3
LBB0_41:
movl -1224(%rbp), %edi
callq _abs
movl %eax, -884(%rbp)
cmpl $0, -884(%rbp)
je LBB0_46
## %bb.42:
cmpl $90, -884(%rbp)
je LBB0_46
## %bb.43:
cmpl $180, -884(%rbp)
je LBB0_46
## %bb.44:
cmpl $270, -884(%rbp) ## imm = 0x10E
je LBB0_46
## %bb.45:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -1224(%rbp), %ecx
leaq L_.str.43(%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_46:
cmpl $0, -1204(%rbp)
je LBB0_50
## %bb.47:
cmpl $1, -1204(%rbp)
je LBB0_50
## %bb.48:
cmpl $2, -1204(%rbp)
je LBB0_50
## %bb.49:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -1204(%rbp), %ecx
leaq L_.str.44(%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_50:
cmpl $0, -1208(%rbp)
je LBB0_54
## %bb.51:
cmpl $1, -1208(%rbp)
je LBB0_54
## %bb.52:
cmpl $2, -1208(%rbp)
je LBB0_54
## %bb.53:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -1208(%rbp), %ecx
leaq L_.str.45(%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_54:
cmpl $0, -1228(%rbp)
je LBB0_57
## %bb.55:
cmpl $1, -1228(%rbp)
je LBB0_57
## %bb.56:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -1228(%rbp), %ecx
leaq L_.str.46(%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_57:
cmpl $0, -1220(%rbp)
je LBB0_60
## %bb.58:
cmpl $1, -1220(%rbp)
je LBB0_60
## %bb.59:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -1220(%rbp), %ecx
leaq L_.str.47(%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_60:
cmpl $1, -1228(%rbp)
jne LBB0_63
## %bb.61:
cmpl $0, -884(%rbp)
jle LBB0_63
## %bb.62:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.48(%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_63:
cmpl $0, -1232(%rbp)
jl LBB0_65
## %bb.64:
cmpl $2, -1232(%rbp)
jle LBB0_66
LBB0_65:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -1232(%rbp), %ecx
leaq L_.str.49(%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_66:
leaq -304(%rbp), %rdi
leaq L_.str.50(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_68
## %bb.67:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -1112(%rbp)
jmp LBB0_71
LBB0_68:
leaq -304(%rbp), %rdi
leaq L_.str.51(%rip), %rsi
callq _fopen
movq %rax, -1112(%rbp)
cmpq $0, %rax
jne LBB0_70
## %bb.69:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.52(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -304(%rbp), %rcx
callq _fprintf
movl $1, %edi
callq _exit
LBB0_70:
jmp LBB0_71
LBB0_71:
leaq -848(%rbp), %rcx
movq -1112(%rbp), %r8
leaq -1152(%rbp), %rdi
leaq -1160(%rbp), %rsi
leaq -1176(%rbp), %rdx
callq _xf_matrixread1_d
movq %rax, -1192(%rbp)
leaq -304(%rbp), %rdi
leaq L_.str.50(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_73
## %bb.72:
movq -1112(%rbp), %rdi
callq _fclose
LBB0_73:
cmpq $0, -1192(%rbp)
jne LBB0_75
## %bb.74:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.53(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -848(%rbp), %rcx
callq _fprintf
movl $1, %edi
callq _exit
LBB0_75:
movq -1160(%rbp), %rax
imulq -1176(%rbp), %rax
movq %rax, -1144(%rbp)
cmpq $1, -1152(%rbp)
jle LBB0_77
## %bb.76:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.54(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -304(%rbp), %rcx
callq _fprintf
movl $1, %edi
callq _exit
LBB0_77:
cmpl $1, -1232(%rbp)
jne LBB0_79
## %bb.78:
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1176(%rbp), %rdx
callq _xf_matrixflipx_d
movq %rax, -1192(%rbp)
LBB0_79:
cmpl $2, -1232(%rbp)
jne LBB0_81
## %bb.80:
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1176(%rbp), %rdx
callq _xf_matrixflipy_d
movq %rax, -1192(%rbp)
LBB0_81:
cmpl $1, -1228(%rbp)
jne LBB0_83
## %bb.82:
movq -1192(%rbp), %rdi
leaq -1160(%rbp), %rsi
leaq -1176(%rbp), %rdx
callq _xf_matrixtrans1_d
movq %rax, -1192(%rbp)
LBB0_83:
cmpq $0, -1192(%rbp)
jne LBB0_85
## %bb.84:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.55(%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_85:
cmpl $0, -1224(%rbp)
je LBB0_87
## %bb.86:
movq -1192(%rbp), %rdi
movl -1224(%rbp), %ecx
leaq -1160(%rbp), %rsi
leaq -1176(%rbp), %rdx
callq _xf_matrixrotate1_d
movq %rax, -1192(%rbp)
LBB0_87:
cmpq $0, -1192(%rbp)
jne LBB0_89
## %bb.88:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.56(%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_89:
cmpq $0, -1240(%rbp)
jg LBB0_91
## %bb.90:
cmpq $0, -1248(%rbp)
jle LBB0_113
LBB0_91:
cmpq $0, -1240(%rbp)
jg LBB0_93
## %bb.92:
movq -1160(%rbp), %rax
movq %rax, -1240(%rbp)
LBB0_93:
cmpq $0, -1248(%rbp)
jg LBB0_95
## %bb.94:
movq -1176(%rbp), %rax
movq %rax, -1248(%rbp)
LBB0_95:
movq -1240(%rbp), %rax
cmpq -1160(%rbp), %rax
jge LBB0_99
## %bb.96:
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1176(%rbp), %rdx
movq -1240(%rbp), %rcx
movq -1176(%rbp), %r8
leaq -848(%rbp), %r9
callq _xf_matrixbin1_d
movl %eax, -892(%rbp)
cmpl $0, -892(%rbp)
je LBB0_98
## %bb.97:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.57(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -848(%rbp), %rcx
callq _fprintf
movl $1, %edi
callq _exit
LBB0_98:
movq -1240(%rbp), %rax
movq %rax, -1160(%rbp)
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rsi
imulq -1176(%rbp), %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -1192(%rbp)
LBB0_99:
movq -1248(%rbp), %rax
cmpq -1176(%rbp), %rax
jge LBB0_103
## %bb.100:
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1176(%rbp), %rdx
movq -1160(%rbp), %rcx
movq -1248(%rbp), %r8
leaq -848(%rbp), %r9
callq _xf_matrixbin1_d
movl %eax, -892(%rbp)
cmpl $0, -892(%rbp)
je LBB0_102
## %bb.101:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.57(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -848(%rbp), %rcx
callq _fprintf
movl $1, %edi
callq _exit
LBB0_102:
movq -1248(%rbp), %rax
movq %rax, -1176(%rbp)
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rsi
imulq -1176(%rbp), %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -1192(%rbp)
LBB0_103:
movq -1240(%rbp), %rax
cmpq -1160(%rbp), %rax
jg LBB0_105
## %bb.104:
movq -1248(%rbp), %rax
cmpq -1176(%rbp), %rax
jle LBB0_112
LBB0_105:
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1176(%rbp), %rdx
movq -1240(%rbp), %rcx
movq -1248(%rbp), %r8
leaq -848(%rbp), %r9
callq _xf_matrixexpand1_d
movq %rax, -1192(%rbp)
cmpq $0, -1192(%rbp)
jne LBB0_107
## %bb.106:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.57(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -848(%rbp), %rcx
callq _fprintf
movl $1, %edi
callq _exit
LBB0_107:
movq -1240(%rbp), %rax
cmpq -1160(%rbp), %rax
jle LBB0_109
## %bb.108:
movq -1240(%rbp), %rax
movq %rax, -1160(%rbp)
LBB0_109:
movq -1248(%rbp), %rax
cmpq -1176(%rbp), %rax
jle LBB0_111
## %bb.110:
movq -1248(%rbp), %rax
movq %rax, -1176(%rbp)
LBB0_111:
jmp LBB0_112
LBB0_112:
movq -1160(%rbp), %rax
imulq -1176(%rbp), %rax
movq %rax, -1144(%rbp)
LBB0_113:
cmpl $0, -1212(%rbp)
jg LBB0_115
## %bb.114:
cmpl $0, -1216(%rbp)
jle LBB0_143
LBB0_115:
cmpl $1, -1220(%rbp)
jne LBB0_139
## %bb.116:
movq -1200(%rbp), %rdi
movq -1160(%rbp), %rsi
imulq -1176(%rbp), %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -1200(%rbp)
movq $0, -856(%rbp)
LBB0_117: ## =>This Inner Loop Header: Depth=1
movq -856(%rbp), %rax
cmpq -1144(%rbp), %rax
jge LBB0_120
## %bb.118: ## in Loop: Header=BB0_117 Depth=1
movq -1192(%rbp), %rax
movq -856(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -1200(%rbp), %rax
movq -856(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.119: ## in Loop: Header=BB0_117 Depth=1
movq -856(%rbp), %rax
addq $1, %rax
movq %rax, -856(%rbp)
jmp LBB0_117
LBB0_120:
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rax
movl %eax, %esi
movq -1176(%rbp), %rax
movl %eax, %edx
movl -1212(%rbp), %ecx
movl -1216(%rbp), %r8d
callq _xf_smoothgauss2_d
movl %eax, -892(%rbp)
cmpl $0, -892(%rbp)
je LBB0_122
## %bb.121:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.58(%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_122:
movq $0, -856(%rbp)
LBB0_123: ## =>This Inner Loop Header: Depth=1
movq -856(%rbp), %rax
cmpq -1144(%rbp), %rax
jge LBB0_138
## %bb.124: ## in Loop: Header=BB0_123 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_125
jmp LBB0_128
LBB0_125: ## in Loop: Header=BB0_123 Depth=1
movq -1200(%rbp), %rax
movq -856(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -28(%rbp)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomiss -28(%rbp), %xmm0
movb %al, -1289(%rbp) ## 1-byte Spill
jne LBB0_127
jp LBB0_127
## %bb.126: ## in Loop: Header=BB0_123 Depth=1
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -1289(%rbp) ## 1-byte Spill
LBB0_127: ## in Loop: Header=BB0_123 Depth=1
movb -1289(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_136
jmp LBB0_135
LBB0_128: ## in Loop: Header=BB0_123 Depth=1
movb $1, %al
testb $1, %al
jne LBB0_129
jmp LBB0_132
LBB0_129: ## in Loop: Header=BB0_123 Depth=1
movq -1200(%rbp), %rax
movq -856(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomisd -24(%rbp), %xmm0
movb %al, -1290(%rbp) ## 1-byte Spill
jne LBB0_131
jp LBB0_131
## %bb.130: ## in Loop: Header=BB0_123 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_2(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -1290(%rbp) ## 1-byte Spill
LBB0_131: ## in Loop: Header=BB0_123 Depth=1
movb -1290(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_136
jmp LBB0_135
LBB0_132: ## in Loop: Header=BB0_123 Depth=1
movq -1200(%rbp), %rax
movq -856(%rbp), %rcx
fldl (%rax,%rcx,8)
fstpt -16(%rbp)
fldt -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
fucompi %st(0), %st
movb %al, -1291(%rbp) ## 1-byte Spill
jp LBB0_134
jmp LBB0_133
LBB0_133: ## in Loop: Header=BB0_123 Depth=1
fldt -16(%rbp)
fabs
flds LCPI0_0(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setb %al
movb %al, -1291(%rbp) ## 1-byte Spill
LBB0_134: ## in Loop: Header=BB0_123 Depth=1
movb -1291(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_136
LBB0_135: ## in Loop: Header=BB0_123 Depth=1
movq -1192(%rbp), %rax
movq -856(%rbp), %rcx
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
LBB0_136: ## in Loop: Header=BB0_123 Depth=1
jmp LBB0_137
LBB0_137: ## in Loop: Header=BB0_123 Depth=1
movq -856(%rbp), %rax
addq $1, %rax
movq %rax, -856(%rbp)
jmp LBB0_123
LBB0_138:
jmp LBB0_142
LBB0_139:
movq -1192(%rbp), %rdi
movq -1160(%rbp), %rax
movl %eax, %esi
movq -1176(%rbp), %rax
movl %eax, %edx
movl -1212(%rbp), %ecx
movl -1216(%rbp), %r8d
callq _xf_smoothgauss2_d
movl %eax, -892(%rbp)
cmpl $0, -892(%rbp)
je LBB0_141
## %bb.140:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.58(%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_141:
jmp LBB0_142
LBB0_142:
jmp LBB0_143
LBB0_143:
cmpl $1, -1208(%rbp)
je LBB0_145
## %bb.144:
cmpl $2, -1208(%rbp)
jne LBB0_146
LBB0_145:
movq -1192(%rbp), %rdi
movq -1144(%rbp), %rsi
movl -1208(%rbp), %edx
callq _xf_fishertransform2_d
LBB0_146:
cmpl $1, -1204(%rbp)
je LBB0_148
## %bb.147:
cmpl $2, -1204(%rbp)
jne LBB0_149
LBB0_148:
movq -1192(%rbp), %rdi
movq -1144(%rbp), %rsi
movl -1204(%rbp), %edx
subl $1, %edx
callq _xf_norm2_d
LBB0_149:
movq $0, -856(%rbp)
LBB0_150: ## =>This Loop Header: Depth=1
## Child Loop BB0_152 Depth 2
movq -856(%rbp), %rax
cmpq -1176(%rbp), %rax
jge LBB0_157
## %bb.151: ## in Loop: Header=BB0_150 Depth=1
movq -856(%rbp), %rax
imulq -1160(%rbp), %rax
movq %rax, -864(%rbp)
movq -864(%rbp), %rax
addq -1160(%rbp), %rax
movq %rax, -872(%rbp)
movq -1192(%rbp), %rax
movq -864(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -864(%rbp)
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.59(%rip), %rdi
movb $1, %al
callq _printf
movq -864(%rbp), %rax
movq %rax, -864(%rbp)
LBB0_152: ## Parent Loop BB0_150 Depth=1
## => This Inner Loop Header: Depth=2
movq -864(%rbp), %rax
cmpq -872(%rbp), %rax
jge LBB0_155
## %bb.153: ## in Loop: Header=BB0_152 Depth=2
movq -1192(%rbp), %rax
movq -864(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.60(%rip), %rdi
movb $1, %al
callq _printf
## %bb.154: ## in Loop: Header=BB0_152 Depth=2
movq -864(%rbp), %rax
addq $1, %rax
movq %rax, -864(%rbp)
jmp LBB0_152
LBB0_155: ## in Loop: Header=BB0_150 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.156: ## in Loop: Header=BB0_150 Depth=1
movq -856(%rbp), %rax
addq $1, %rax
movq %rax, -856(%rbp)
jmp LBB0_150
LBB0_157:
cmpq $0, -1192(%rbp)
je LBB0_159
## %bb.158:
movq -1192(%rbp), %rdi
callq _free
LBB0_159:
cmpq $0, -1200(%rbp)
je LBB0_161
## %bb.160:
movq -1200(%rbp), %rdi
callq _free
LBB0_161:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
L_.str.1: ## @.str.1
.asciz "----------------------------------------------------------------------\n"
L_.str.2: ## @.str.2
.asciz "%s\n"
L_.str.3: ## @.str.3
.asciz "xe-matrixmod1 v 21.October.2017 [JRH]"
L_.str.4: ## @.str.4
.asciz "Modify a matrix:\n"
L_.str.5: ## @.str.5
.asciz "\tflip/rotate/transpose,resample,smooth,Fisher-transform,normalize - in that order\n"
L_.str.6: ## @.str.6
.asciz "USAGE:\n"
L_.str.7: ## @.str.7
.asciz "\t%s [input] [options]\n"
L_.str.8: ## @.str.8
.asciz "xe-matrixmod1"
L_.str.9: ## @.str.9
.asciz "\t[input]: file or \"stdin\" in matrix format\n"
L_.str.10: ## @.str.10
.asciz "VALID OPTIONS (defaults in []):\n"
L_.str.11: ## @.str.11
.asciz "\t-flip : flip matrix (0=NO, 1= x-flip, 2= y-flip) [%d]\n"
L_.str.12: ## @.str.12
.asciz "\t-t : transpose (0=NO, 1=YES - cannot be combined with rotation) [%d]\n"
L_.str.13: ## @.str.13
.asciz "\t-r : rotation, in degrees (choose 0,+-90,+-180,+-270) [%d]\n"
L_.str.14: ## @.str.14
.asciz "\t-w : width, set (resample) number of columns [%d]\n"
L_.str.15: ## @.str.15
.asciz "\t-h : height, set (resample) number of rows [%d]\n"
L_.str.16: ## @.str.16
.asciz "\t\tNOTE: expands or averages data in each row/column as needed\n"
L_.str.17: ## @.str.17
.asciz "\t\tNOTE: set to zero to leave as-is\n"
L_.str.18: ## @.str.18
.asciz "\t-sx : 2D gaussian smoothing factor to apply to matrix [%d]\n"
L_.str.19: ## @.str.19
.asciz "\t-sy : 2D gaussian smoothing factor to apply to matrix [%d]\n"
L_.str.20: ## @.str.20
.asciz "\t-pn : preserve NANs when smoothing (0=NO 1=YES) [%d]\n"
L_.str.21: ## @.str.21
.asciz "\t-n : normalization, 0=no, 1=0-1 range, 2=z-scores [%d]\n"
L_.str.22: ## @.str.22
.asciz "\t-f : Fisher z' transformation : 0=no, 1 or 2 = yes [%d]\n"
L_.str.23: ## @.str.23
.asciz "\t\t\ttransform for r-values\n"
L_.str.24: ## @.str.24
.asciz "\t\t\tset to 1 of numbers range from -1 to 1\n"
L_.str.25: ## @.str.25
.asciz "\t\t\tset to 2 of numbers range from 0 to 1\n"
L_.str.26: ## @.str.26
.asciz "EXAMPLES:\n"
L_.str.27: ## @.str.27
.asciz "\t%s matrix.txt -n 0 -sx 1 -sy 2 \n"
L_.str.28: ## @.str.28
.asciz "OUTPUT:\n"
L_.str.29: ## @.str.29
.asciz "\tAn [width]x[height] modified matrix\n"
L_.str.30: ## @.str.30
.asciz "%s"
L_.str.31: ## @.str.31
.asciz "\n--- Error [%s]: missing value for argument \"%s\"\n\n"
L_.str.32: ## @.str.32
.asciz "-flip"
L_.str.33: ## @.str.33
.asciz "-t"
L_.str.34: ## @.str.34
.asciz "-r"
L_.str.35: ## @.str.35
.asciz "-n"
L_.str.36: ## @.str.36
.asciz "-f"
L_.str.37: ## @.str.37
.asciz "-w"
L_.str.38: ## @.str.38
.asciz "-h"
L_.str.39: ## @.str.39
.asciz "-sx"
L_.str.40: ## @.str.40
.asciz "-sy"
L_.str.41: ## @.str.41
.asciz "-pn"
L_.str.42: ## @.str.42
.asciz "\n--- Error [%s]: invalid command line argument \"%s\"\n\n"
L_.str.43: ## @.str.43
.asciz "\n--- Error [%s]: invalid rotation setting (-r %d) \n\n"
L_.str.44: ## @.str.44
.asciz "\n--- Error [%s]: invalid normalization setting (-n %d) \n\n"
L_.str.45: ## @.str.45
.asciz "\n--- Error [%s]: invalid Fisher transform setting (-f %d) \n\n"
L_.str.46: ## @.str.46
.asciz "\n--- Error [%s]: invalid transpose setting (-t %d) \n\n"
L_.str.47: ## @.str.47
.asciz "\n--- Error [%s]: invalid setting (-pn %d) \n\n"
L_.str.48: ## @.str.48
.asciz "\n--- Error [%s]: cannot both rotate and transpose the input\n\n"
L_.str.49: ## @.str.49
.asciz "\n--- Error [%s]: invalid -flip (%d) must be 0-2\n\n"
L_.str.50: ## @.str.50
.asciz "stdin"
L_.str.51: ## @.str.51
.asciz "r"
L_.str.52: ## @.str.52
.asciz "\n\007--- Error [%s]: file \"%s\" not found\n\n"
L_.str.53: ## @.str.53
.asciz "\n--- Error [%s]: %s\n\n"
L_.str.54: ## @.str.54
.asciz "\n--- Error [%s]: file %s contains more than one matrix - average before passing to this program\n\n"
L_.str.55: ## @.str.55
.asciz "\n--- Error [%s]: transpose function encountered insufficient memory\n\n"
L_.str.56: ## @.str.56
.asciz "\n--- Error [%s]: rotation function encountered insufficient memory\n\n"
L_.str.57: ## @.str.57
.asciz "\n\t--- %s/%s\n\n"
L_.str.58: ## @.str.58
.asciz "\n--- Error [%s]: smoothing function encountered insufficient memory\n\n"
L_.str.59: ## @.str.59
.asciz "%g"
L_.str.60: ## @.str.60
.asciz " %g"
.subsections_via_symbols
| the_stack_data/248579902.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _addresses ; @addresses
.p2align 3
_addresses:
.quad 0x0000000000000000 ; double 0
.asciz "IT"
.space 5
.quad 0x3ff0000000000000 ; double 1
.asciz "MX"
.space 5
.quad 0x4000000000000000 ; double 2
.asciz "DE"
.space 5
.quad 0x4008000000000000 ; double 3
.asciz "ES"
.space 5
.quad 0x4010000000000000 ; double 4
.asciz "ES"
.space 5
.quad 0x4014000000000000 ; double 5
.asciz "IE"
.space 5
.quad 0x4018000000000000 ; double 6
.asciz "US"
.space 5
.quad 0x401c000000000000 ; double 7
.asciz "PT"
.space 5
.quad 0x4020000000000000 ; double 8
.asciz "IE"
.space 5
.quad 0x4022000000000000 ; double 9
.asciz "MX"
.space 5
.globl _circulation_history ; @circulation_history
.p2align 3
_circulation_history:
.quad 0x4034000000000000 ; double 20
.quad 0x4031000000000000 ; double 17
.quad 0x402e000000000000 ; double 15
.quad 0x4020000000000000 ; double 8
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x4014000000000000 ; double 5
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x3ff0000000000000 ; double 1
.quad 0x4010000000000000 ; double 4
.quad 0x4000000000000000 ; double 2
.quad 0x4024000000000000 ; double 10
.quad 0x4034000000000000 ; double 20
.quad 0x4024000000000000 ; double 10
.quad 0x4000000000000000 ; double 2
.globl _document_drafts ; @document_drafts
.p2align 3
_document_drafts:
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.asciz "e"
.space 6
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.asciz "k"
.space 6
.quad 0x4000000000000000 ; double 2
.quad 0x3ff0000000000000 ; double 1
.asciz "v"
.space 6
.quad 0x4000000000000000 ; double 2
.quad 0x4020000000000000 ; double 8
.asciz "v"
.space 6
.quad 0x4010000000000000 ; double 4
.quad 0x4022000000000000 ; double 9
.asciz "r"
.space 6
.quad 0x401c000000000000 ; double 7
.quad 0x4024000000000000 ; double 10
.asciz "m"
.space 6
.quad 0x4024000000000000 ; double 10
.quad 0x4034000000000000 ; double 20
.asciz "k"
.space 6
.quad 0x4028000000000000 ; double 12
.quad 0x4026000000000000 ; double 11
.asciz "b"
.space 6
.quad 0x4028000000000000 ; double 12
.quad 0x4028000000000000 ; double 12
.asciz "r"
.space 6
.quad 0x402a000000000000 ; double 13
.quad 0x4010000000000000 ; double 4
.asciz "w"
.space 6
.quad 0x402a000000000000 ; double 13
.quad 0x4030000000000000 ; double 16
.asciz "p"
.space 6
.quad 0x402c000000000000 ; double 14
.quad 0x402c000000000000 ; double 14
.asciz "x"
.space 6
.quad 0x4031000000000000 ; double 17
.quad 0x4033000000000000 ; double 19
.asciz "a"
.space 6
.quad 0x4034000000000000 ; double 20
.quad 0x4031000000000000 ; double 17
.asciz "l"
.space 6
.quad 0x4037000000000000 ; double 23
.quad 0x4022000000000000 ; double 9
.asciz "r"
.space 6
.globl _documents ; @documents
.p2align 3
_documents:
.quad 0x3ff0000000000000 ; double 1
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "UP"
.asciz "2008-04-21 20:42:25"
.asciz "19\000"
.asciz "z"
.quad 0x4000000000000000 ; double 2
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "US"
.asciz "1974-05-08 00:00:46"
.asciz "34\000"
.asciz "h"
.quad 0x4008000000000000 ; double 3
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "UP"
.asciz "2014-12-25 17:22:44"
.asciz "93\000"
.asciz "h"
.quad 0x4010000000000000 ; double 4
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "US"
.asciz "1973-11-05 21:48:53"
.asciz "80\000"
.asciz "q"
.quad 0x401c000000000000 ; double 7
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "SH"
.asciz "1982-09-27 14:52:15"
.asciz "61\000"
.asciz "w"
.quad 0x4024000000000000 ; double 10
.asciz "overdue"
.asciz "Paper\000\000\000\000\000"
.asciz "UP"
.asciz "1976-09-15 19:24:17"
.asciz "8\000\000"
.asciz "m"
.quad 0x4028000000000000 ; double 12
.asciz "overdue"
.asciz "Hard Drive"
.asciz "US"
.asciz "1996-05-31 06:51:58"
.asciz "69\000"
.asciz "n"
.quad 0x402a000000000000 ; double 13
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "UP"
.asciz "2015-04-03 09:36:19"
.asciz "79\000"
.asciz "y"
.quad 0x402c000000000000 ; double 14
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "FE"
.asciz "2017-07-02 17:39:09"
.asciz "117"
.asciz "u"
.quad 0x402e000000000000 ; double 15
.asciz "overdue"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "UP"
.asciz "1986-12-14 14:18:59"
.asciz "37\000"
.asciz "r"
.quad 0x4031000000000000 ; double 17
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "FE"
.asciz "1983-09-26 09:32:56"
.asciz "55\000"
.asciz "p"
.quad 0x4034000000000000 ; double 20
.asciz "working"
.asciz "Paper\000\000\000\000\000"
.asciz "UP"
.asciz "1996-07-27 03:30:40"
.asciz "189"
.asciz "x"
.quad 0x4037000000000000 ; double 23
.asciz "working"
.asciz "Hard Drive"
.asciz "FE"
.asciz "1999-04-17 14:19:32"
.asciz "124"
.asciz "b"
.quad 0x4038000000000000 ; double 24
.asciz "working"
.asciz "Hard Drive"
.asciz "FE"
.asciz "2005-09-30 00:10:02"
.asciz "114"
.asciz "j"
.quad 0x4039000000000000 ; double 25
.asciz "overdue"
.asciz "Hard Drive"
.asciz "AL"
.asciz "1985-11-05 17:59:34"
.asciz "83\000"
.asciz "u"
.globl _documents_mailed ; @documents_mailed
.p2align 3
_documents_mailed:
.quad 0x4000000000000000 ; double 2
.quad 0x4020000000000000 ; double 8
.asciz "1977-04-01 17:03:50"
.space 4
.quad 0x4010000000000000 ; double 4
.quad 0x4008000000000000 ; double 3
.asciz "1992-11-07 15:03:41"
.space 4
.quad 0x4010000000000000 ; double 4
.quad 0x4022000000000000 ; double 9
.asciz "1973-02-21 10:17:01"
.space 4
.quad 0x401c000000000000 ; double 7
.quad 0x4014000000000000 ; double 5
.asciz "1979-09-21 10:30:52"
.space 4
.quad 0x4024000000000000 ; double 10
.quad 0x4008000000000000 ; double 3
.asciz "1993-05-24 22:13:48"
.space 4
.quad 0x4028000000000000 ; double 12
.quad 0x0000000000000000 ; double 0
.asciz "1999-05-22 23:21:07"
.space 4
.quad 0x4028000000000000 ; double 12
.quad 0x401c000000000000 ; double 7
.asciz "2007-01-01 22:32:11"
.space 4
.quad 0x4028000000000000 ; double 12
.quad 0x4020000000000000 ; double 8
.asciz "2007-03-20 05:22:01"
.space 4
.quad 0x402a000000000000 ; double 13
.quad 0x4010000000000000 ; double 4
.asciz "1991-05-27 14:17:37"
.space 4
.quad 0x402c000000000000 ; double 14
.quad 0x4014000000000000 ; double 5
.asciz "1986-05-16 06:25:33"
.space 4
.quad 0x4034000000000000 ; double 20
.quad 0x4000000000000000 ; double 2
.asciz "2010-11-04 04:00:16"
.space 4
.quad 0x4034000000000000 ; double 20
.quad 0x401c000000000000 ; double 7
.asciz "1982-01-14 05:50:54"
.space 4
.quad 0x4037000000000000 ; double 23
.quad 0x4020000000000000 ; double 8
.asciz "1971-11-03 12:32:14"
.space 4
.quad 0x4038000000000000 ; double 24
.quad 0x0000000000000000 ; double 0
.asciz "2013-01-27 03:29:31"
.space 4
.globl _draft_copies ; @draft_copies
.p2align 3
_draft_copies:
.quad 0x4000000000000000 ; double 2
.quad 0x4020000000000000 ; double 8
.quad 0x4014000000000000 ; double 5
.quad 0x4010000000000000 ; double 4
.quad 0x4022000000000000 ; double 9
.quad 0x4018000000000000 ; double 6
.quad 0x4037000000000000 ; double 23
.quad 0x4022000000000000 ; double 9
.quad 0x402e000000000000 ; double 15
.quad 0x4024000000000000 ; double 10
.quad 0x4034000000000000 ; double 20
.quad 0x4024000000000000 ; double 10
.quad 0x4000000000000000 ; double 2
.quad 0x3ff0000000000000 ; double 1
.quad 0x4010000000000000 ; double 4
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x4014000000000000 ; double 5
.quad 0x4034000000000000 ; double 20
.quad 0x4031000000000000 ; double 17
.quad 0x402e000000000000 ; double 15
.quad 0x4028000000000000 ; double 12
.quad 0x4028000000000000 ; double 12
.quad 0x4024000000000000 ; double 10
.globl _employees ; @employees
.p2align 3
_employees:
.quad 0x3ff0000000000000 ; double 1
.asciz "ED"
.asciz "Koby\000\000\000"
.asciz "h"
.space 3
.quad 0x4000000000000000 ; double 2
.asciz "ED"
.asciz "Kenyon\000"
.asciz "f"
.space 3
.quad 0x4008000000000000 ; double 3
.asciz "PR"
.asciz "Haley\000\000"
.asciz "b"
.space 3
.quad 0x4014000000000000 ; double 5
.asciz "PT"
.asciz "Clemens"
.asciz "b"
.space 3
.quad 0x401c000000000000 ; double 7
.asciz "PT"
.asciz "Jordyn\000"
.asciz "v"
.space 3
.quad 0x4020000000000000 ; double 8
.asciz "MG"
.asciz "Erling\000"
.asciz "u"
.space 3
.globl _reference_document_status ; @reference_document_status
_reference_document_status:
.asciz "working"
.asciz "currently working on"
.asciz "done\000\000\000"
.asciz "mailed\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "overdue"
.asciz "mailed late\000\000\000\000\000\000\000\000\000"
.globl _reference_document_types ; @reference_document_types
_reference_document_types:
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "b"
.asciz "Paper\000\000\000\000\000"
.asciz "u"
.asciz "Hard Drive"
.asciz "f"
.globl _reference_shipping_agents ; @reference_shipping_agents
_reference_shipping_agents:
.asciz "UP"
.asciz "UPS\000\000\000\000"
.asciz "g"
.asciz "US"
.asciz "USPS\000\000\000"
.asciz "q"
.asciz "AL"
.asciz "Airline"
.asciz "w"
.asciz "FE"
.asciz "Fedex\000\000"
.asciz "k"
.asciz "SH"
.asciz "Ship\000\000\000"
.asciz "t"
.globl _roles ; @roles
_roles:
.asciz "ED"
.asciz "Editor\000\000\000\000\000\000\000"
.asciz "PT"
.asciz "Photo\000\000\000\000\000\000\000\000"
.asciz "MG"
.asciz "Manager\000\000\000\000\000\000"
.asciz "PR"
.asciz "Proof Manager"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _addresses ## @addresses
.p2align 4
_addresses:
.quad 0x0000000000000000 ## double 0
.asciz "IT"
.space 5
.quad 0x3ff0000000000000 ## double 1
.asciz "MX"
.space 5
.quad 0x4000000000000000 ## double 2
.asciz "DE"
.space 5
.quad 0x4008000000000000 ## double 3
.asciz "ES"
.space 5
.quad 0x4010000000000000 ## double 4
.asciz "ES"
.space 5
.quad 0x4014000000000000 ## double 5
.asciz "IE"
.space 5
.quad 0x4018000000000000 ## double 6
.asciz "US"
.space 5
.quad 0x401c000000000000 ## double 7
.asciz "PT"
.space 5
.quad 0x4020000000000000 ## double 8
.asciz "IE"
.space 5
.quad 0x4022000000000000 ## double 9
.asciz "MX"
.space 5
.globl _circulation_history ## @circulation_history
.p2align 4
_circulation_history:
.quad 0x4034000000000000 ## double 20
.quad 0x4031000000000000 ## double 17
.quad 0x402e000000000000 ## double 15
.quad 0x4020000000000000 ## double 8
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x4014000000000000 ## double 5
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x3ff0000000000000 ## double 1
.quad 0x4010000000000000 ## double 4
.quad 0x4000000000000000 ## double 2
.quad 0x4024000000000000 ## double 10
.quad 0x4034000000000000 ## double 20
.quad 0x4024000000000000 ## double 10
.quad 0x4000000000000000 ## double 2
.globl _document_drafts ## @document_drafts
.p2align 4
_document_drafts:
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.asciz "e"
.space 6
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.asciz "k"
.space 6
.quad 0x4000000000000000 ## double 2
.quad 0x3ff0000000000000 ## double 1
.asciz "v"
.space 6
.quad 0x4000000000000000 ## double 2
.quad 0x4020000000000000 ## double 8
.asciz "v"
.space 6
.quad 0x4010000000000000 ## double 4
.quad 0x4022000000000000 ## double 9
.asciz "r"
.space 6
.quad 0x401c000000000000 ## double 7
.quad 0x4024000000000000 ## double 10
.asciz "m"
.space 6
.quad 0x4024000000000000 ## double 10
.quad 0x4034000000000000 ## double 20
.asciz "k"
.space 6
.quad 0x4028000000000000 ## double 12
.quad 0x4026000000000000 ## double 11
.asciz "b"
.space 6
.quad 0x4028000000000000 ## double 12
.quad 0x4028000000000000 ## double 12
.asciz "r"
.space 6
.quad 0x402a000000000000 ## double 13
.quad 0x4010000000000000 ## double 4
.asciz "w"
.space 6
.quad 0x402a000000000000 ## double 13
.quad 0x4030000000000000 ## double 16
.asciz "p"
.space 6
.quad 0x402c000000000000 ## double 14
.quad 0x402c000000000000 ## double 14
.asciz "x"
.space 6
.quad 0x4031000000000000 ## double 17
.quad 0x4033000000000000 ## double 19
.asciz "a"
.space 6
.quad 0x4034000000000000 ## double 20
.quad 0x4031000000000000 ## double 17
.asciz "l"
.space 6
.quad 0x4037000000000000 ## double 23
.quad 0x4022000000000000 ## double 9
.asciz "r"
.space 6
.globl _documents ## @documents
.p2align 4
_documents:
.quad 0x3ff0000000000000 ## double 1
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "UP"
.asciz "2008-04-21 20:42:25"
.asciz "19\000"
.asciz "z"
.quad 0x4000000000000000 ## double 2
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "US"
.asciz "1974-05-08 00:00:46"
.asciz "34\000"
.asciz "h"
.quad 0x4008000000000000 ## double 3
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "UP"
.asciz "2014-12-25 17:22:44"
.asciz "93\000"
.asciz "h"
.quad 0x4010000000000000 ## double 4
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "US"
.asciz "1973-11-05 21:48:53"
.asciz "80\000"
.asciz "q"
.quad 0x401c000000000000 ## double 7
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "SH"
.asciz "1982-09-27 14:52:15"
.asciz "61\000"
.asciz "w"
.quad 0x4024000000000000 ## double 10
.asciz "overdue"
.asciz "Paper\000\000\000\000\000"
.asciz "UP"
.asciz "1976-09-15 19:24:17"
.asciz "8\000\000"
.asciz "m"
.quad 0x4028000000000000 ## double 12
.asciz "overdue"
.asciz "Hard Drive"
.asciz "US"
.asciz "1996-05-31 06:51:58"
.asciz "69\000"
.asciz "n"
.quad 0x402a000000000000 ## double 13
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "UP"
.asciz "2015-04-03 09:36:19"
.asciz "79\000"
.asciz "y"
.quad 0x402c000000000000 ## double 14
.asciz "working"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "FE"
.asciz "2017-07-02 17:39:09"
.asciz "117"
.asciz "u"
.quad 0x402e000000000000 ## double 15
.asciz "overdue"
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "UP"
.asciz "1986-12-14 14:18:59"
.asciz "37\000"
.asciz "r"
.quad 0x4031000000000000 ## double 17
.asciz "done\000\000\000"
.asciz "Paper\000\000\000\000\000"
.asciz "FE"
.asciz "1983-09-26 09:32:56"
.asciz "55\000"
.asciz "p"
.quad 0x4034000000000000 ## double 20
.asciz "working"
.asciz "Paper\000\000\000\000\000"
.asciz "UP"
.asciz "1996-07-27 03:30:40"
.asciz "189"
.asciz "x"
.quad 0x4037000000000000 ## double 23
.asciz "working"
.asciz "Hard Drive"
.asciz "FE"
.asciz "1999-04-17 14:19:32"
.asciz "124"
.asciz "b"
.quad 0x4038000000000000 ## double 24
.asciz "working"
.asciz "Hard Drive"
.asciz "FE"
.asciz "2005-09-30 00:10:02"
.asciz "114"
.asciz "j"
.quad 0x4039000000000000 ## double 25
.asciz "overdue"
.asciz "Hard Drive"
.asciz "AL"
.asciz "1985-11-05 17:59:34"
.asciz "83\000"
.asciz "u"
.globl _documents_mailed ## @documents_mailed
.p2align 4
_documents_mailed:
.quad 0x4000000000000000 ## double 2
.quad 0x4020000000000000 ## double 8
.asciz "1977-04-01 17:03:50"
.space 4
.quad 0x4010000000000000 ## double 4
.quad 0x4008000000000000 ## double 3
.asciz "1992-11-07 15:03:41"
.space 4
.quad 0x4010000000000000 ## double 4
.quad 0x4022000000000000 ## double 9
.asciz "1973-02-21 10:17:01"
.space 4
.quad 0x401c000000000000 ## double 7
.quad 0x4014000000000000 ## double 5
.asciz "1979-09-21 10:30:52"
.space 4
.quad 0x4024000000000000 ## double 10
.quad 0x4008000000000000 ## double 3
.asciz "1993-05-24 22:13:48"
.space 4
.quad 0x4028000000000000 ## double 12
.quad 0x0000000000000000 ## double 0
.asciz "1999-05-22 23:21:07"
.space 4
.quad 0x4028000000000000 ## double 12
.quad 0x401c000000000000 ## double 7
.asciz "2007-01-01 22:32:11"
.space 4
.quad 0x4028000000000000 ## double 12
.quad 0x4020000000000000 ## double 8
.asciz "2007-03-20 05:22:01"
.space 4
.quad 0x402a000000000000 ## double 13
.quad 0x4010000000000000 ## double 4
.asciz "1991-05-27 14:17:37"
.space 4
.quad 0x402c000000000000 ## double 14
.quad 0x4014000000000000 ## double 5
.asciz "1986-05-16 06:25:33"
.space 4
.quad 0x4034000000000000 ## double 20
.quad 0x4000000000000000 ## double 2
.asciz "2010-11-04 04:00:16"
.space 4
.quad 0x4034000000000000 ## double 20
.quad 0x401c000000000000 ## double 7
.asciz "1982-01-14 05:50:54"
.space 4
.quad 0x4037000000000000 ## double 23
.quad 0x4020000000000000 ## double 8
.asciz "1971-11-03 12:32:14"
.space 4
.quad 0x4038000000000000 ## double 24
.quad 0x0000000000000000 ## double 0
.asciz "2013-01-27 03:29:31"
.space 4
.globl _draft_copies ## @draft_copies
.p2align 4
_draft_copies:
.quad 0x4000000000000000 ## double 2
.quad 0x4020000000000000 ## double 8
.quad 0x4014000000000000 ## double 5
.quad 0x4010000000000000 ## double 4
.quad 0x4022000000000000 ## double 9
.quad 0x4018000000000000 ## double 6
.quad 0x4037000000000000 ## double 23
.quad 0x4022000000000000 ## double 9
.quad 0x402e000000000000 ## double 15
.quad 0x4024000000000000 ## double 10
.quad 0x4034000000000000 ## double 20
.quad 0x4024000000000000 ## double 10
.quad 0x4000000000000000 ## double 2
.quad 0x3ff0000000000000 ## double 1
.quad 0x4010000000000000 ## double 4
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x4014000000000000 ## double 5
.quad 0x4034000000000000 ## double 20
.quad 0x4031000000000000 ## double 17
.quad 0x402e000000000000 ## double 15
.quad 0x4028000000000000 ## double 12
.quad 0x4028000000000000 ## double 12
.quad 0x4024000000000000 ## double 10
.globl _employees ## @employees
.p2align 4
_employees:
.quad 0x3ff0000000000000 ## double 1
.asciz "ED"
.asciz "Koby\000\000\000"
.asciz "h"
.space 3
.quad 0x4000000000000000 ## double 2
.asciz "ED"
.asciz "Kenyon\000"
.asciz "f"
.space 3
.quad 0x4008000000000000 ## double 3
.asciz "PR"
.asciz "Haley\000\000"
.asciz "b"
.space 3
.quad 0x4014000000000000 ## double 5
.asciz "PT"
.asciz "Clemens"
.asciz "b"
.space 3
.quad 0x401c000000000000 ## double 7
.asciz "PT"
.asciz "Jordyn\000"
.asciz "v"
.space 3
.quad 0x4020000000000000 ## double 8
.asciz "MG"
.asciz "Erling\000"
.asciz "u"
.space 3
.globl _reference_document_status ## @reference_document_status
.p2align 4
_reference_document_status:
.asciz "working"
.asciz "currently working on"
.asciz "done\000\000\000"
.asciz "mailed\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "overdue"
.asciz "mailed late\000\000\000\000\000\000\000\000\000"
.globl _reference_document_types ## @reference_document_types
.p2align 4
_reference_document_types:
.asciz "CD\000\000\000\000\000\000\000\000"
.asciz "b"
.asciz "Paper\000\000\000\000\000"
.asciz "u"
.asciz "Hard Drive"
.asciz "f"
.globl _reference_shipping_agents ## @reference_shipping_agents
.p2align 4
_reference_shipping_agents:
.asciz "UP"
.asciz "UPS\000\000\000\000"
.asciz "g"
.asciz "US"
.asciz "USPS\000\000\000"
.asciz "q"
.asciz "AL"
.asciz "Airline"
.asciz "w"
.asciz "FE"
.asciz "Fedex\000\000"
.asciz "k"
.asciz "SH"
.asciz "Ship\000\000\000"
.asciz "t"
.globl _roles ## @roles
.p2align 4
_roles:
.asciz "ED"
.asciz "Editor\000\000\000\000\000\000\000"
.asciz "PT"
.asciz "Photo\000\000\000\000\000\000\000\000"
.asciz "MG"
.asciz "Manager\000\000\000\000\000\000"
.asciz "PR"
.asciz "Proof Manager"
.subsections_via_symbols
| the_stack_data/100139740.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _format_perror ; -- Begin function format_perror
.p2align 2
_format_perror: ; @format_perror
.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]
adrp x8, _msg_prefix@PAGE
ldr x1, [x8, _msg_prefix@PAGEOFF]
adrp x0, _format_perror.fmt_str@PAGE
add x0, x0, _format_perror.fmt_str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
mov x2, #256
str x2, [sp, #8] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x3, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x1, [x29, #-8]
mov x2, #248
bl ___strncat_chk
ldr x3, [sp, #8] ; 8-byte Folded Reload
ldr x4, [sp, #16] ; 8-byte Folded Reload
ldur x5, [x29, #-16]
adrp x0, _format_perror.error_str@PAGE
add x0, x0, _format_perror.error_str@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
mov x1, x3
mov w2, #0
bl ___vsnprintf_chk
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _perror
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _die ; -- Begin function die
.p2align 2
_die: ; @die
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
mov x9, sp
add x8, x29, #16
str x8, [x9]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _format_perror
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _safe_malloc ; -- Begin function safe_malloc
.p2align 2
_safe_malloc: ; @safe_malloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _malloc
mov x8, x0
str x8, [sp]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _die
b LBB2_2
LBB2_2:
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _file_name_to_identifier ; -- Begin function file_name_to_identifier
.p2align 2
_file_name_to_identifier: ; @file_name_to_identifier
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
mov x0, #16384
str x0, [sp, #16] ; 8-byte Folded Spill
bl _safe_malloc
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
stur x8, [x29, #-16]
bl _safe_malloc
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
stur x8, [x29, #-24]
bl _safe_malloc
stur x0, [x29, #-32]
ldur x8, [x29, #-16]
stur x8, [x29, #-40]
ldur x8, [x29, #-24]
str x8, [sp, #48]
; kill: def $x8 killed $xzr
str xzr, [sp, #40]
str xzr, [sp, #32]
str wzr, [sp, #28]
ldur x0, [x29, #-16]
ldur x1, [x29, #-8]
mov x2, #4095
bl _mbstowcs
str x0, [sp, #32]
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _die
b LBB3_2
LBB3_2:
ldur x8, [x29, #-24]
str wzr, [x8]
ldur x8, [x29, #-16]
ldr x9, [sp, #32]
add x8, x8, x9, lsl #2
add x8, x8, #4
str x8, [sp, #40]
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-40]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_10
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldur x8, [x29, #-40]
ldr w0, [x8]
bl _iswalnum
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
ldr x9, [sp, #48]
str w8, [x9]
ldr x8, [sp, #48]
add x8, x8, #4
str x8, [sp, #48]
str wzr, [sp, #28]
b LBB3_9
LBB3_6: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_3 Depth=1
ldr x0, [sp, #48]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x2, #1
bl _mbstowcs
ldr x8, [sp, #48]
add x8, x8, #4
str x8, [sp, #48]
mov w8, #1
str w8, [sp, #28]
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_3 Depth=1
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_3 Depth=1
ldur x8, [x29, #-40]
add x8, x8, #4
stur x8, [x29, #-40]
b LBB3_3
LBB3_10:
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11:
ldr x8, [sp, #48]
subs x8, x8, #4
str x8, [sp, #48]
b LBB3_12
LBB3_12:
ldr x8, [sp, #48]
str wzr, [x8]
ldur x0, [x29, #-32]
ldur x1, [x29, #-24]
mov x2, #16383
bl _wcstombs
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _die
b LBB3_14
LBB3_14:
ldur x0, [x29, #-16]
bl _free
ldur x0, [x29, #-24]
bl _free
ldur x0, [x29, #-32]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB4_3
LBB4_2:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB4_3
LBB4_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x1, [sp, #16]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _fputs
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _die_usage ; -- Begin function die_usage
.p2align 2
_die_usage: ; @die_usage
.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]
sub x9, x29, #16
add x8, x29, #16
str x8, [x9]
adrp x8, _msg_prefix@PAGE
ldr x1, [x8, _msg_prefix@PAGEOFF]
adrp x0, _die_usage.fmt_str@PAGE
add x0, x0, _die_usage.fmt_str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
mov x2, #256
str x2, [sp, #8] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x3, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x1, [x29, #-8]
mov x2, #247
bl ___strncat_chk
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl ___strcat_chk
ldr x1, [sp, #16] ; 8-byte Folded Reload
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x2, [x29, #-16]
bl _vfprintf
mov w0, #1
stur w0, [x29, #-20] ; 4-byte Folded Spill
bl _usage
ldur w0, [x29, #-20] ; 4-byte Folded Reload
bl _exit
.cfi_endproc
; -- End function
.globl _exit_usage ; -- Begin function exit_usage
.p2align 2
_exit_usage: ; @exit_usage
.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 _usage
ldur w0, [x29, #-4]
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-68]
stur w0, [x29, #-72]
stur x1, [x29, #-80]
adrp x8, l___const.main.usage_opts@PAGE
add x8, x8, l___const.main.usage_opts@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-48]
adrp x8, l___const.main.version_opts@PAGE
add x8, x8, l___const.main.version_opts@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-64]
ldur w8, [x29, #-72]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldur x8, [x29, #-80]
ldr x8, [x8, #8]
str x8, [sp, #96] ; 8-byte Folded Spill
b LBB7_3
LBB7_2:
mov x8, #0
str x8, [sp, #96] ; 8-byte Folded Spill
b LBB7_3
LBB7_3:
ldr x8, [sp, #96] ; 8-byte Folded Reload
stur x8, [x29, #-88]
ldur w8, [x29, #-72]
subs w8, w8, #3
cset w8, lt
tbnz w8, #0, LBB7_5
b LBB7_4
LBB7_4:
ldur x8, [x29, #-80]
ldr x8, [x8, #16]
str x8, [sp, #88] ; 8-byte Folded Spill
b LBB7_6
LBB7_5:
mov x8, #0
str x8, [sp, #88] ; 8-byte Folded Spill
b LBB7_6
LBB7_6:
ldr x8, [sp, #88] ; 8-byte Folded Reload
stur x8, [x29, #-96]
ldur w8, [x29, #-72]
subs w8, w8, #4
cset w8, lt
tbnz w8, #0, LBB7_8
b LBB7_7
LBB7_7:
ldur x8, [x29, #-80]
ldr x8, [x8, #24]
str x8, [sp, #80] ; 8-byte Folded Spill
b LBB7_9
LBB7_8:
mov x8, #0
str x8, [sp, #80] ; 8-byte Folded Spill
b LBB7_9
LBB7_9:
ldr x8, [sp, #80] ; 8-byte Folded Reload
stur x8, [x29, #-104]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-112]
mov w8, #0
str w8, [sp, #76] ; 4-byte Folded Spill
stur wzr, [x29, #-116]
stur wzr, [x29, #-120]
mov w8, #-1
stur w8, [x29, #-124]
str xzr, [sp, #136]
mov x0, #4096
bl _safe_malloc
mov x8, x0
ldr w0, [sp, #76] ; 4-byte Folded Reload
str x8, [sp, #128]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _setlocale
ldur w8, [x29, #-72]
subs w8, w8, #4
cset w8, le
tbnz w8, #0, LBB7_11
b LBB7_10
LBB7_10:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _die_usage
b LBB7_11
LBB7_11:
ldur w8, [x29, #-72]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB7_25
b LBB7_12
LBB7_12:
stur wzr, [x29, #-116]
b LBB7_13
LBB7_13: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-116]
subs x8, x8, #2
cset w8, hs
tbnz w8, #0, LBB7_18
b LBB7_14
LBB7_14: ; in Loop: Header=BB7_13 Depth=1
ldur x8, [x29, #-80]
ldr x0, [x8, #8]
ldursw x9, [x29, #-116]
sub x8, x29, #48
ldr x1, [x8, x9, lsl #3]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_16
b LBB7_15
LBB7_15: ; in Loop: Header=BB7_13 Depth=1
mov w0, #0
bl _exit_usage
b LBB7_16
LBB7_16: ; in Loop: Header=BB7_13 Depth=1
b LBB7_17
LBB7_17: ; in Loop: Header=BB7_13 Depth=1
ldur w8, [x29, #-116]
add w8, w8, #1
stur w8, [x29, #-116]
b LBB7_13
LBB7_18:
stur wzr, [x29, #-116]
b LBB7_19
LBB7_19: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-116]
subs x8, x8, #2
cset w8, hs
tbnz w8, #0, LBB7_24
b LBB7_20
LBB7_20: ; in Loop: Header=BB7_19 Depth=1
ldur x8, [x29, #-80]
ldr x0, [x8, #8]
ldursw x9, [x29, #-116]
sub x8, x29, #64
ldr x1, [x8, x9, lsl #3]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_22
b LBB7_21
LBB7_21:
adrp x8, _version@PAGE
ldr x8, [x8, _version@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
stur wzr, [x29, #-68]
b LBB7_58
LBB7_22: ; in Loop: Header=BB7_19 Depth=1
b LBB7_23
LBB7_23: ; in Loop: Header=BB7_19 Depth=1
ldur w8, [x29, #-116]
add w8, w8, #1
stur w8, [x29, #-116]
b LBB7_19
LBB7_24:
b LBB7_25
LBB7_25:
ldur x8, [x29, #-88]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_27
b LBB7_26
LBB7_26:
ldur x0, [x29, #-88]
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, LBB7_28
b LBB7_27
LBB7_27:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
str x0, [sp, #64] ; 8-byte Folded Spill
b LBB7_29
LBB7_28:
ldur x0, [x29, #-88]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _fopen
str x0, [sp, #64] ; 8-byte Folded Spill
b LBB7_29
LBB7_29:
ldr x8, [sp, #64] ; 8-byte Folded Reload
mov x9, x8
str x9, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_31
b LBB7_30
LBB7_30:
ldur x8, [x29, #-88]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _die
b LBB7_31
LBB7_31:
ldur x8, [x29, #-96]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_33
b LBB7_32
LBB7_32:
ldur x0, [x29, #-96]
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, LBB7_34
b LBB7_33
LBB7_33:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
str x0, [sp, #56] ; 8-byte Folded Spill
b LBB7_35
LBB7_34:
ldur x0, [x29, #-96]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fopen
str x0, [sp, #56] ; 8-byte Folded Spill
b LBB7_35
LBB7_35:
ldr x8, [sp, #56] ; 8-byte Folded Reload
mov x9, x8
str x9, [sp, #112]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_37
b LBB7_36
LBB7_36:
ldur x8, [x29, #-96]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _die
b LBB7_37
LBB7_37:
ldur x8, [x29, #-88]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_40
b LBB7_38
LBB7_38:
ldur x8, [x29, #-104]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_40
b LBB7_39
LBB7_39:
ldur x0, [x29, #-88]
bl _file_name_to_identifier
mov x8, x0
stur x8, [x29, #-112]
stur x0, [x29, #-104]
b LBB7_40
LBB7_40:
ldr x8, [sp, #112]
str x8, [sp, #48] ; 8-byte Folded Spill
ldur x8, [x29, #-88]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_42
b LBB7_41
LBB7_41:
ldur x8, [x29, #-88]
str x8, [sp, #40] ; 8-byte Folded Spill
b LBB7_43
LBB7_42:
adrp x8, l_.str.21@PAGE
add x8, x8, l_.str.21@PAGEOFF
str x8, [sp, #40] ; 8-byte Folded Spill
b LBB7_43
LBB7_43:
ldr x8, [sp, #40] ; 8-byte Folded Reload
str x8, [sp, #32] ; 8-byte Folded Spill
ldur x8, [x29, #-104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_45
b LBB7_44
LBB7_44:
ldur x8, [x29, #-104]
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB7_46
LBB7_45:
adrp x8, l_.str.22@PAGE
add x8, x8, l_.str.22@PAGEOFF
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB7_46
LBB7_46:
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _fprintf
ldr x0, [sp, #120]
bl _fileno
stur w0, [x29, #-124]
b LBB7_47
LBB7_47: ; =>This Loop Header: Depth=1
; Child Loop BB7_49 Depth 2
ldur w0, [x29, #-124]
ldr x1, [sp, #128]
mov x2, #4096
bl _read
str x0, [sp, #136]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB7_57
b LBB7_48
LBB7_48: ; in Loop: Header=BB7_47 Depth=1
stur wzr, [x29, #-116]
b LBB7_49
LBB7_49: ; Parent Loop BB7_47 Depth=1
; => This Inner Loop Header: Depth=2
ldursw x8, [x29, #-116]
ldr x9, [sp, #136]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_56
b LBB7_50
LBB7_50: ; in Loop: Header=BB7_49 Depth=2
ldr x8, [sp, #136]
subs x8, x8, #1, lsl #12 ; =4096
cset w8, hs
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_52
b LBB7_51
LBB7_51: ; in Loop: Header=BB7_49 Depth=2
ldursw x8, [x29, #-116]
ldr x9, [sp, #136]
subs x9, x9, #1
subs x8, x8, x9
cset w8, eq
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB7_52
LBB7_52: ; in Loop: Header=BB7_49 Depth=2
ldr w8, [sp, #20] ; 4-byte Folded Reload
and w10, w8, #0x1
adrp x9, l_.str.23@PAGE
add x9, x9, l_.str.23@PAGEOFF
adrp x8, l_.str.12@PAGE
add x8, x8, l_.str.12@PAGEOFF
ands w10, w10, #0x1
csel x8, x8, x9, ne
str x8, [sp, #104]
ldr x0, [sp, #112]
ldr x8, [sp, #128]
ldursw x9, [x29, #-116]
ldrb w11, [x8, x9]
ldr x8, [sp, #104]
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _fprintf
ldur w8, [x29, #-120]
add w8, w8, #1
stur w8, [x29, #-120]
mov w10, #16
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_54
b LBB7_53
LBB7_53: ; in Loop: Header=BB7_49 Depth=2
ldr x1, [sp, #112]
mov w0, #10
bl _fputc
b LBB7_54
LBB7_54: ; in Loop: Header=BB7_49 Depth=2
b LBB7_55
LBB7_55: ; in Loop: Header=BB7_49 Depth=2
ldur w8, [x29, #-116]
add w8, w8, #1
stur w8, [x29, #-116]
b LBB7_49
LBB7_56: ; in Loop: Header=BB7_47 Depth=1
b LBB7_47
LBB7_57:
ldr x1, [sp, #112]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _fputs
ldr x0, [sp, #128]
bl _free
ldur x0, [x29, #-112]
bl _free
ldr x0, [sp, #120]
bl _fclose
ldr x0, [sp, #112]
bl _fclose
stur wzr, [x29, #-68]
b LBB7_58
LBB7_58:
ldur w8, [x29, #-68]
str w8, [sp, #16] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB7_60
b LBB7_59
LBB7_59:
bl ___stack_chk_fail
LBB7_60:
ldr w0, [sp, #16] ; 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 "0.3"
.section __DATA,__data
.globl _version ; @version
.p2align 3
_version:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "bin2c: "
.section __DATA,__data
.globl _msg_prefix ; @msg_prefix
.p2align 3
_msg_prefix:
.quad l_.str.1
.zerofill __DATA,__bss,_format_perror.error_str,256,0 ; @format_perror.error_str
.zerofill __DATA,__bss,_format_perror.fmt_str,256,0 ; @format_perror.fmt_str
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "out of memory"
l_.str.3: ; @.str.3
.asciz "cannot convert '%s' to locale representation"
l_.str.4: ; @.str.4
.asciz "_"
l_.str.5: ; @.str.5
.asciz "failed to convert wide character string to bytes"
l_.str.6: ; @.str.6
.asciz "Usage: \033[32mbin2c \033[1;34m[\033[1;35mIN_FILE \033[1;34m[\033[1;35mOUT_FILE \033[1;34m[\033[1;35mVAR_NAME\033[1;34m]\033[1;34m]\033[1;34m]\033[0m\nWrite \033[1;35mIN_FILE\033[0m as a C array of bytes named \033[1;35mVAR_NAME\033[0m into \033[1;35mOUT_FILE\033[0m.\n\nBy default, \033[1mSTDIN\033[0m is the input and \033[1mSTDOUT\033[0m is the output, either can be explicitly specified with \033[1;35m-\033[0m.\n\nThe default \033[1;35mVAR_NAME\033[0m is the \033[1;35mIN_FILE\033[0m name converted to an identifier, or \033[1m\"resource_data\"\033[0m\nif it's \033[1mSTDIN\033[0m.\n\n \033[1m-h, --help\033[0m Show this help screen and exit.\n \033[1m-v, --version\033[0m Print version and exit.\n\nExamples:\n # write data from file \033[1;35m./compiled-resources.xrs\033[0m into header file \033[1;35m./resources.h\033[0m using variable name \033[1;35mresource_data\033[0m\n \033[32mbin2c \033[1;35m./compiled-resources.xrs\033[0m \033[1;35m./resources.h\033[0m \033[1;35mresource_data\033[0m\n # write data from \033[1mSTDIN\033[0m to \033[1mSTDOUT\033[0m with \033[1m\"resource_data\"\033[0m as the \033[1;35mVAR_NAME\033[0m\n \033[32mbin2c\033[0m\n # write data from \033[1;35m./compiled-resources.xrs\033[0m to \033[1mSTDOUT\033[0m with \033[1m\"compiled_resources_xrs\"\033[0m as the \033[1;35mVAR_NAME\033[0m\n \033[32mbin2c \033[1;35m./compiled-resources.xrs\033[0m\n # write data from \033[1;35m./compiled-resources.xrs\033[0m to \033[1;35m./resources.h\033[0m with \033[1m\"compiled_resources_xrs\"\033[0m as the \033[1;35mVAR_NAME\033[0m\n \033[32mbin2c \033[1;35m./compiled-resources.xrs \033[1;35m./resources.h\033[0m\n\nProject homepage and documentation: <\033[1;34mhttp://github.com/rkitover/bin2c\033[0m>\n"
.zerofill __DATA,__bss,_die_usage.fmt_str,256,0 ; @die_usage.fmt_str
l_.str.7: ; @.str.7
.asciz "\n"
l_.str.8: ; @.str.8
.asciz "-h"
l_.str.9: ; @.str.9
.asciz "--help"
.section __DATA,__const
.p2align 3 ; @__const.main.usage_opts
l___const.main.usage_opts:
.quad l_.str.8
.quad l_.str.9
.section __TEXT,__cstring,cstring_literals
l_.str.10: ; @.str.10
.asciz "-v"
l_.str.11: ; @.str.11
.asciz "--version"
.section __DATA,__const
.p2align 3 ; @__const.main.version_opts
l___const.main.version_opts:
.quad l_.str.10
.quad l_.str.11
.section __TEXT,__cstring,cstring_literals
l_.str.12: ; @.str.12
.space 1
l_.str.13: ; @.str.13
.asciz "invalid number of arguments"
l_.str.14: ; @.str.14
.asciz "bin2c %s\n"
l_.str.15: ; @.str.15
.asciz "-"
l_.str.16: ; @.str.16
.asciz "rb"
l_.str.17: ; @.str.17
.asciz "can't open input file '%s'"
l_.str.18: ; @.str.18
.asciz "w"
l_.str.19: ; @.str.19
.asciz "can't open '%s' for writing"
l_.str.20: ; @.str.20
.asciz "/* generated from %s: do not edit */\nconst unsigned char %s[] = {\n"
l_.str.21: ; @.str.21
.asciz "resource data"
l_.str.22: ; @.str.22
.asciz "resource_data"
l_.str.23: ; @.str.23
.asciz ","
l_.str.24: ; @.str.24
.asciz "0x%02x%s"
l_.str.25: ; @.str.25
.asciz "};\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _format_perror ## -- Begin function format_perror
.p2align 4, 0x90
_format_perror: ## @format_perror
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq _msg_prefix(%rip), %rsi
leaq _format_perror.fmt_str(%rip), %rdi
movl $256, %edx ## imm = 0x100
callq ___strcpy_chk
movq -8(%rbp), %rsi
leaq _format_perror.fmt_str(%rip), %rdi
movl $248, %edx
movl $256, %ecx ## imm = 0x100
callq ___strncat_chk
movq -16(%rbp), %r9
leaq _format_perror.error_str(%rip), %rdi
movl $256, %ecx ## imm = 0x100
xorl %edx, %edx
leaq _format_perror.fmt_str(%rip), %r8
movq %rcx, %rsi
callq ___vsnprintf_chk
leaq _format_perror.error_str(%rip), %rdi
callq _perror
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _die ## -- Begin function die
.p2align 4, 0x90
_die: ## @die
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
testb %al, %al
je LBB1_2
## %bb.1:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB1_2:
movq %r9, -168(%rbp)
movq %r8, -176(%rbp)
movq %rcx, -184(%rbp)
movq %rdx, -192(%rbp)
movq %rsi, -200(%rbp)
movq %rdi, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movl $48, -28(%rbp)
movl $8, -32(%rbp)
movq -8(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _format_perror
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _safe_malloc ## -- Begin function safe_malloc
.p2align 4, 0x90
_safe_malloc: ## @safe_malloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _malloc
movq %rax, -16(%rbp)
cmpq $0, %rax
jne LBB2_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _die
LBB2_2:
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _file_name_to_identifier ## -- Begin function file_name_to_identifier
.p2align 4, 0x90
_file_name_to_identifier: ## @file_name_to_identifier
.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)
movl $16384, %edi ## imm = 0x4000
callq _safe_malloc
movq %rax, -16(%rbp)
movl $16384, %edi ## imm = 0x4000
callq _safe_malloc
movq %rax, -24(%rbp)
movl $16384, %edi ## imm = 0x4000
callq _safe_malloc
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movq $0, -56(%rbp)
movq $0, -64(%rbp)
movl $0, -68(%rbp)
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
movl $4095, %edx ## imm = 0xFFF
callq _mbstowcs
movq %rax, -64(%rbp)
cmpq $-1, %rax
jne LBB3_2
## %bb.1:
movq -8(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _die
LBB3_2:
movq -24(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
movq -64(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
addq $4, %rax
movq %rax, -56(%rbp)
LBB3_3: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -56(%rbp), %rax
jae LBB3_10
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movq -40(%rbp), %rax
movl (%rax), %edi
callq _iswalnum
cmpl $0, %eax
je LBB3_6
## %bb.5: ## in Loop: Header=BB3_3 Depth=1
movq -40(%rbp), %rax
movl (%rax), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movq -48(%rbp), %rax
addq $4, %rax
movq %rax, -48(%rbp)
movl $0, -68(%rbp)
jmp LBB3_9
LBB3_6: ## in Loop: Header=BB3_3 Depth=1
cmpl $0, -68(%rbp)
jne LBB3_8
## %bb.7: ## in Loop: Header=BB3_3 Depth=1
movq -48(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movl $1, %edx
callq _mbstowcs
movq -48(%rbp), %rax
addq $4, %rax
movq %rax, -48(%rbp)
movl $1, -68(%rbp)
LBB3_8: ## in Loop: Header=BB3_3 Depth=1
jmp LBB3_9
LBB3_9: ## in Loop: Header=BB3_3 Depth=1
movq -40(%rbp), %rax
addq $4, %rax
movq %rax, -40(%rbp)
jmp LBB3_3
LBB3_10:
cmpl $0, -68(%rbp)
je LBB3_12
## %bb.11:
movq -48(%rbp), %rax
addq $-4, %rax
movq %rax, -48(%rbp)
LBB3_12:
movq -48(%rbp), %rax
movl $0, (%rax)
movq -32(%rbp), %rdi
movq -24(%rbp), %rsi
movl $16383, %edx ## imm = 0x3FFF
callq _wcstombs
cmpq $-1, %rax
jne LBB3_14
## %bb.13:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _die
LBB3_14:
movq -16(%rbp), %rdi
callq _free
movq -24(%rbp), %rdi
callq _free
movq -32(%rbp), %rax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.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)
cmpl $0, -4(%rbp)
je LBB4_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB4_3
LBB4_2:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
LBB4_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
callq _fputs
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _die_usage ## -- Begin function die_usage
.p2align 4, 0x90
_die_usage: ## @die_usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $240, %rsp
testb %al, %al
je LBB5_2
## %bb.1:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB5_2:
movq %r9, -168(%rbp)
movq %r8, -176(%rbp)
movq %rcx, -184(%rbp)
movq %rdx, -192(%rbp)
movq %rsi, -200(%rbp)
movq %rdi, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movl $48, -28(%rbp)
movl $8, -32(%rbp)
movq _msg_prefix(%rip), %rsi
leaq _die_usage.fmt_str(%rip), %rdi
movq %rdi, -224(%rbp) ## 8-byte Spill
movl $256, %edx ## imm = 0x100
movq %rdx, -232(%rbp) ## 8-byte Spill
callq ___strcpy_chk
movq -232(%rbp), %rcx ## 8-byte Reload
movq -224(%rbp), %rdi ## 8-byte Reload
movq -8(%rbp), %rsi
movl $247, %edx
callq ___strncat_chk
movq -232(%rbp), %rdx ## 8-byte Reload
movq -224(%rbp), %rdi ## 8-byte Reload
leaq L_.str.7(%rip), %rsi
callq ___strcat_chk
movq -224(%rbp), %rsi ## 8-byte Reload
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq -32(%rbp), %rdx
callq _vfprintf
movl $1, %edi
movl %edi, -212(%rbp) ## 4-byte Spill
callq _usage
movl -212(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _exit_usage ## -- Begin function exit_usage
.p2align 4, 0x90
_exit_usage: ## @exit_usage
.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 _usage
movl -4(%rbp), %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 $240, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl %edi, -56(%rbp)
movq %rsi, -64(%rbp)
movq l___const.main.usage_opts(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.usage_opts+8(%rip), %rax
movq %rax, -24(%rbp)
movq l___const.main.version_opts(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.version_opts+8(%rip), %rax
movq %rax, -40(%rbp)
cmpl $2, -56(%rbp)
jl LBB7_2
## %bb.1:
movq -64(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -160(%rbp) ## 8-byte Spill
jmp LBB7_3
LBB7_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -160(%rbp) ## 8-byte Spill
jmp LBB7_3
LBB7_3:
movq -160(%rbp), %rax ## 8-byte Reload
movq %rax, -72(%rbp)
cmpl $3, -56(%rbp)
jl LBB7_5
## %bb.4:
movq -64(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -168(%rbp) ## 8-byte Spill
jmp LBB7_6
LBB7_5:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -168(%rbp) ## 8-byte Spill
jmp LBB7_6
LBB7_6:
movq -168(%rbp), %rax ## 8-byte Reload
movq %rax, -80(%rbp)
cmpl $4, -56(%rbp)
jl LBB7_8
## %bb.7:
movq -64(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -176(%rbp) ## 8-byte Spill
jmp LBB7_9
LBB7_8:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -176(%rbp) ## 8-byte Spill
jmp LBB7_9
LBB7_9:
movq -176(%rbp), %rax ## 8-byte Reload
movq %rax, -88(%rbp)
movq $0, -96(%rbp)
movl $0, -100(%rbp)
movl $0, -104(%rbp)
movl $-1, -108(%rbp)
movq $0, -120(%rbp)
movl $4096, %edi ## imm = 0x1000
callq _safe_malloc
movq %rax, -128(%rbp)
xorl %edi, %edi
leaq L_.str.12(%rip), %rsi
callq _setlocale
cmpl $4, -56(%rbp)
jle LBB7_11
## %bb.10:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _die_usage
LBB7_11:
cmpl $2, -56(%rbp)
jl LBB7_25
## %bb.12:
movl $0, -100(%rbp)
LBB7_13: ## =>This Inner Loop Header: Depth=1
movslq -100(%rbp), %rax
cmpq $2, %rax
jae LBB7_18
## %bb.14: ## in Loop: Header=BB7_13 Depth=1
movq -64(%rbp), %rax
movq 8(%rax), %rdi
movslq -100(%rbp), %rax
movq -32(%rbp,%rax,8), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB7_16
## %bb.15: ## in Loop: Header=BB7_13 Depth=1
xorl %edi, %edi
callq _exit_usage
LBB7_16: ## in Loop: Header=BB7_13 Depth=1
jmp LBB7_17
LBB7_17: ## in Loop: Header=BB7_13 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB7_13
LBB7_18:
movl $0, -100(%rbp)
LBB7_19: ## =>This Inner Loop Header: Depth=1
movslq -100(%rbp), %rax
cmpq $2, %rax
jae LBB7_24
## %bb.20: ## in Loop: Header=BB7_19 Depth=1
movq -64(%rbp), %rax
movq 8(%rax), %rdi
movslq -100(%rbp), %rax
movq -48(%rbp,%rax,8), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB7_22
## %bb.21:
movq _version(%rip), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
jmp LBB7_58
LBB7_22: ## in Loop: Header=BB7_19 Depth=1
jmp LBB7_23
LBB7_23: ## in Loop: Header=BB7_19 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB7_19
LBB7_24:
jmp LBB7_25
LBB7_25:
cmpq $0, -72(%rbp)
je LBB7_27
## %bb.26:
movq -72(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB7_28
LBB7_27:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -184(%rbp) ## 8-byte Spill
jmp LBB7_29
LBB7_28:
movq -72(%rbp), %rdi
leaq L_.str.16(%rip), %rsi
callq _fopen
movq %rax, -184(%rbp) ## 8-byte Spill
LBB7_29:
movq -184(%rbp), %rax ## 8-byte Reload
movq %rax, -136(%rbp)
cmpq $0, %rax
jne LBB7_31
## %bb.30:
movq -72(%rbp), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _die
LBB7_31:
cmpq $0, -80(%rbp)
je LBB7_33
## %bb.32:
movq -80(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB7_34
LBB7_33:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -192(%rbp) ## 8-byte Spill
jmp LBB7_35
LBB7_34:
movq -80(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
callq _fopen
movq %rax, -192(%rbp) ## 8-byte Spill
LBB7_35:
movq -192(%rbp), %rax ## 8-byte Reload
movq %rax, -144(%rbp)
cmpq $0, %rax
jne LBB7_37
## %bb.36:
movq -80(%rbp), %rsi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _die
LBB7_37:
cmpq $0, -72(%rbp)
je LBB7_40
## %bb.38:
cmpq $0, -88(%rbp)
jne LBB7_40
## %bb.39:
movq -72(%rbp), %rdi
callq _file_name_to_identifier
movq %rax, -96(%rbp)
movq %rax, -88(%rbp)
LBB7_40:
movq -144(%rbp), %rax
movq %rax, -200(%rbp) ## 8-byte Spill
cmpq $0, -72(%rbp)
je LBB7_42
## %bb.41:
movq -72(%rbp), %rax
movq %rax, -208(%rbp) ## 8-byte Spill
jmp LBB7_43
LBB7_42:
leaq L_.str.21(%rip), %rax
movq %rax, -208(%rbp) ## 8-byte Spill
jmp LBB7_43
LBB7_43:
movq -208(%rbp), %rax ## 8-byte Reload
movq %rax, -216(%rbp) ## 8-byte Spill
cmpq $0, -88(%rbp)
je LBB7_45
## %bb.44:
movq -88(%rbp), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
jmp LBB7_46
LBB7_45:
leaq L_.str.22(%rip), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
jmp LBB7_46
LBB7_46:
movq -216(%rbp), %rdx ## 8-byte Reload
movq -200(%rbp), %rdi ## 8-byte Reload
movq -224(%rbp), %rcx ## 8-byte Reload
leaq L_.str.20(%rip), %rsi
movb $0, %al
callq _fprintf
movq -136(%rbp), %rdi
callq _fileno
movl %eax, -108(%rbp)
LBB7_47: ## =>This Loop Header: Depth=1
## Child Loop BB7_49 Depth 2
movl -108(%rbp), %edi
movq -128(%rbp), %rsi
movl $4096, %edx ## imm = 0x1000
callq _read
movq %rax, -120(%rbp)
cmpq $0, %rax
je LBB7_57
## %bb.48: ## in Loop: Header=BB7_47 Depth=1
movl $0, -100(%rbp)
LBB7_49: ## Parent Loop BB7_47 Depth=1
## => This Inner Loop Header: Depth=2
movslq -100(%rbp), %rax
cmpq -120(%rbp), %rax
jae LBB7_56
## %bb.50: ## in Loop: Header=BB7_49 Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $4096, -120(%rbp) ## imm = 0x1000
movb %al, -225(%rbp) ## 1-byte Spill
jae LBB7_52
## %bb.51: ## in Loop: Header=BB7_49 Depth=2
movslq -100(%rbp), %rax
movq -120(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
sete %al
movb %al, -225(%rbp) ## 1-byte Spill
LBB7_52: ## in Loop: Header=BB7_49 Depth=2
movb -225(%rbp), %dl ## 1-byte Reload
leaq L_.str.23(%rip), %rax
leaq L_.str.12(%rip), %rcx
testb $1, %dl
cmovneq %rcx, %rax
movq %rax, -152(%rbp)
movq -144(%rbp), %rdi
movq -128(%rbp), %rax
movslq -100(%rbp), %rcx
movzbl (%rax,%rcx), %edx
movq -152(%rbp), %rcx
leaq L_.str.24(%rip), %rsi
movb $0, %al
callq _fprintf
movl -104(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
movl $16, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB7_54
## %bb.53: ## in Loop: Header=BB7_49 Depth=2
movq -144(%rbp), %rsi
movl $10, %edi
callq _fputc
LBB7_54: ## in Loop: Header=BB7_49 Depth=2
jmp LBB7_55
LBB7_55: ## in Loop: Header=BB7_49 Depth=2
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB7_49
LBB7_56: ## in Loop: Header=BB7_47 Depth=1
jmp LBB7_47
LBB7_57:
movq -144(%rbp), %rsi
leaq L_.str.25(%rip), %rdi
callq _fputs
movq -128(%rbp), %rdi
callq _free
movq -96(%rbp), %rdi
callq _free
movq -136(%rbp), %rdi
callq _fclose
movq -144(%rbp), %rdi
callq _fclose
movl $0, -52(%rbp)
LBB7_58:
movl -52(%rbp), %eax
movl %eax, -232(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_60
## %bb.59:
movl -232(%rbp), %eax ## 4-byte Reload
addq $240, %rsp
popq %rbp
retq
LBB7_60:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0.3"
.section __DATA,__data
.globl _version ## @version
.p2align 3
_version:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "bin2c: "
.section __DATA,__data
.globl _msg_prefix ## @msg_prefix
.p2align 3
_msg_prefix:
.quad L_.str.1
.zerofill __DATA,__bss,_format_perror.error_str,256,4 ## @format_perror.error_str
.zerofill __DATA,__bss,_format_perror.fmt_str,256,4 ## @format_perror.fmt_str
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "out of memory"
L_.str.3: ## @.str.3
.asciz "cannot convert '%s' to locale representation"
L_.str.4: ## @.str.4
.asciz "_"
L_.str.5: ## @.str.5
.asciz "failed to convert wide character string to bytes"
L_.str.6: ## @.str.6
.asciz "Usage: \033[32mbin2c \033[1;34m[\033[1;35mIN_FILE \033[1;34m[\033[1;35mOUT_FILE \033[1;34m[\033[1;35mVAR_NAME\033[1;34m]\033[1;34m]\033[1;34m]\033[0m\nWrite \033[1;35mIN_FILE\033[0m as a C array of bytes named \033[1;35mVAR_NAME\033[0m into \033[1;35mOUT_FILE\033[0m.\n\nBy default, \033[1mSTDIN\033[0m is the input and \033[1mSTDOUT\033[0m is the output, either can be explicitly specified with \033[1;35m-\033[0m.\n\nThe default \033[1;35mVAR_NAME\033[0m is the \033[1;35mIN_FILE\033[0m name converted to an identifier, or \033[1m\"resource_data\"\033[0m\nif it's \033[1mSTDIN\033[0m.\n\n \033[1m-h, --help\033[0m Show this help screen and exit.\n \033[1m-v, --version\033[0m Print version and exit.\n\nExamples:\n # write data from file \033[1;35m./compiled-resources.xrs\033[0m into header file \033[1;35m./resources.h\033[0m using variable name \033[1;35mresource_data\033[0m\n \033[32mbin2c \033[1;35m./compiled-resources.xrs\033[0m \033[1;35m./resources.h\033[0m \033[1;35mresource_data\033[0m\n # write data from \033[1mSTDIN\033[0m to \033[1mSTDOUT\033[0m with \033[1m\"resource_data\"\033[0m as the \033[1;35mVAR_NAME\033[0m\n \033[32mbin2c\033[0m\n # write data from \033[1;35m./compiled-resources.xrs\033[0m to \033[1mSTDOUT\033[0m with \033[1m\"compiled_resources_xrs\"\033[0m as the \033[1;35mVAR_NAME\033[0m\n \033[32mbin2c \033[1;35m./compiled-resources.xrs\033[0m\n # write data from \033[1;35m./compiled-resources.xrs\033[0m to \033[1;35m./resources.h\033[0m with \033[1m\"compiled_resources_xrs\"\033[0m as the \033[1;35mVAR_NAME\033[0m\n \033[32mbin2c \033[1;35m./compiled-resources.xrs \033[1;35m./resources.h\033[0m\n\nProject homepage and documentation: <\033[1;34mhttp://github.com/rkitover/bin2c\033[0m>\n"
.zerofill __DATA,__bss,_die_usage.fmt_str,256,4 ## @die_usage.fmt_str
L_.str.7: ## @.str.7
.asciz "\n"
L_.str.8: ## @.str.8
.asciz "-h"
L_.str.9: ## @.str.9
.asciz "--help"
.section __DATA,__const
.p2align 4 ## @__const.main.usage_opts
l___const.main.usage_opts:
.quad L_.str.8
.quad L_.str.9
.section __TEXT,__cstring,cstring_literals
L_.str.10: ## @.str.10
.asciz "-v"
L_.str.11: ## @.str.11
.asciz "--version"
.section __DATA,__const
.p2align 4 ## @__const.main.version_opts
l___const.main.version_opts:
.quad L_.str.10
.quad L_.str.11
.section __TEXT,__cstring,cstring_literals
L_.str.12: ## @.str.12
.space 1
L_.str.13: ## @.str.13
.asciz "invalid number of arguments"
L_.str.14: ## @.str.14
.asciz "bin2c %s\n"
L_.str.15: ## @.str.15
.asciz "-"
L_.str.16: ## @.str.16
.asciz "rb"
L_.str.17: ## @.str.17
.asciz "can't open input file '%s'"
L_.str.18: ## @.str.18
.asciz "w"
L_.str.19: ## @.str.19
.asciz "can't open '%s' for writing"
L_.str.20: ## @.str.20
.asciz "/* generated from %s: do not edit */\nconst unsigned char %s[] = {\n"
L_.str.21: ## @.str.21
.asciz "resource data"
L_.str.22: ## @.str.22
.asciz "resource_data"
L_.str.23: ## @.str.23
.asciz ","
L_.str.24: ## @.str.24
.asciz "0x%02x%s"
L_.str.25: ## @.str.25
.asciz "};\n"
.subsections_via_symbols
| the_stack_data/215767406.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 "Left bootrom and arrived in main!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Left bootrom and arrived in main!\n"
.subsections_via_symbols
| the_stack_data/15761757.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strlen ; -- Begin function strlen
.p2align 2
_strlen: ; @strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
str wzr, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
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:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _strcopy ; -- Begin function strcopy
.p2align 2
_strcopy: ; @strcopy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x9, x8, #1
str x9, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
strb w8, [x9]
b LBB1_1
LBB1_3:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _strcmp ; -- Begin function strcmp
.p2align 2
_strcmp: ; @strcmp
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
str wzr, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
str w8, [sp] ; 4-byte Folded Spill
ldr x0, [sp, #8]
bl _strlen
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
stur wzr, [x29, #-4]
b LBB2_7
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_6:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_7
LBB2_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _readstr ; -- Begin function readstr
.p2align 2
_readstr: ; @readstr
.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, _len@PAGE
str wzr, [x8, _len@PAGEOFF]
mov w8, #1
stur w8, [x29, #-4]
mov x0, #1
bl _malloc
str x0, [sp, #16]
bl _getchar
strb w0, [sp, #15]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [sp, #15]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldrb w9, [sp, #15]
ldr x10, [sp, #16]
adrp x8, _len@PAGE
ldrsw x11, [x8, _len@PAGEOFF]
mov x12, x11
add w12, w12, #1
str w12, [x8, _len@PAGEOFF]
add x10, x10, x11
strb w9, [x10]
ldr w8, [x8, _len@PAGEOFF]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-4]
lsl w8, w8, #1
stur w8, [x29, #-4]
ldr x0, [sp, #16]
ldursw x8, [x29, #-4]
lsr x1, x8, #0
bl _realloc
str x0, [sp, #16]
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
bl _getchar
strb w0, [sp, #15]
b LBB3_1
LBB3_5:
ldr x8, [sp, #16]
adrp x9, _len@PAGE
ldrsw x10, [x9, _len@PAGEOFF]
add x8, x8, x10
strb wzr, [x8]
ldr w8, [x9, _len@PAGEOFF]
add w8, w8, #1
str w8, [x9, _len@PAGEOFF]
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _readstr
stur x0, [x29, #-24]
adrp x8, _len@PAGE
str x8, [sp, #32] ; 8-byte Folded Spill
ldr w8, [x8, _len@PAGEOFF]
stur w8, [x29, #-28]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _readstr
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x0, [x29, #-40]
ldr w8, [x8, _len@PAGEOFF]
stur w8, [x29, #-44]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
stur wzr, [x29, #-48]
stur wzr, [x29, #-52]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-52]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_7
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-52]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-52]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB4_1
LBB4_7:
ldursw x8, [x29, #-48]
lsl x0, x8, #3
bl _malloc
str x0, [sp, #64]
str wzr, [sp, #60]
str wzr, [sp, #56]
str wzr, [sp, #52]
b LBB4_8
LBB4_8: ; =>This Loop Header: Depth=1
; Child Loop BB4_12 Depth 2
ldr w8, [sp, #52]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_20
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_8 Depth=1
ldur x8, [x29, #-24]
ldrsw x9, [sp, #52]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_8 Depth=1
ldur x8, [x29, #-24]
ldrsw x9, [sp, #52]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_18
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_8 Depth=1
ldr w8, [sp, #52]
ldr w9, [sp, #56]
subs w8, w8, w9
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _malloc
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
str x0, [x8, x9, lsl #3]
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
ldrsw x9, [sp, #56]
add x1, x8, x9
ldr w8, [sp, #52]
ldr w9, [sp, #56]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
bl _strcopy
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
ldr x8, [x8, x9, lsl #3]
ldr w9, [sp, #52]
ldr w10, [sp, #56]
subs w9, w9, w10
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #56]
str wzr, [sp, #48]
b LBB4_12
LBB4_12: ; Parent Loop BB4_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #48]
str w8, [sp, #24] ; 4-byte Folded Spill
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
ldr x0, [x8, x9, lsl #3]
bl _strlen
str w0, [sp, #28] ; 4-byte Folded Spill
ldur x0, [x29, #-40]
bl _strlen
ldr w8, [sp, #24] ; 4-byte Folded Reload
mov x9, x0
ldr w0, [sp, #28] ; 4-byte Folded Reload
subs w9, w0, w9
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB4_17
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_12 Depth=2
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #48]
add x0, x8, x9
ldur x1, [x29, #-40]
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_15
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_8 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
ldr x0, [sp, #64]
ldursw x8, [x29, #-48]
lsl x1, x8, #3
bl _realloc
str x0, [sp, #64]
mov x0, #4
str x0, [sp, #16] ; 8-byte Folded Spill
bl _malloc
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
str x0, [x8, x9, lsl #3]
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcopy
b LBB4_17
LBB4_15: ; in Loop: Header=BB4_12 Depth=2
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_12 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB4_12
LBB4_17: ; in Loop: Header=BB4_8 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_8 Depth=1
b LBB4_19
LBB4_19: ; in Loop: Header=BB4_8 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB4_8
LBB4_20:
str wzr, [sp, #44]
b LBB4_21
LBB4_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldur w9, [x29, #-48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_24
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_21 Depth=1
ldr x8, [sp, #64]
ldrsw x9, [sp, #44]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB4_23
LBB4_23: ; in Loop: Header=BB4_21 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB4_21
LBB4_24:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _len ; @len
.zerofill __DATA,__common,_len,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter string:\n"
l_.str.1: ; @.str.1
.asciz "\nEnter word:\n"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "---"
l_.str.4: ; @.str.4
.asciz "%s "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strlen ## -- Begin function strlen
.p2align 4, 0x90
_strlen: ## @strlen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
## %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:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strcopy ## -- Begin function strcopy
.p2align 4, 0x90
_strcopy: ## @strcopy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -24(%rbp)
cmpq $0, %rax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movb %cl, (%rax)
jmp LBB1_1
LBB1_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strcmp ## -- Begin function strcmp
.p2align 4, 0x90
_strcmp: ## @strcmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
movq -24(%rbp), %rdi
callq _strlen
movl %eax, %ecx
movl -32(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -24(%rbp), %rcx
movslq -28(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je LBB2_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB2_7
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_5
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_6:
movl $1, -4(%rbp)
LBB2_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readstr ## -- Begin function readstr
.p2align 4, 0x90
_readstr: ## @readstr
.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, _len(%rip)
movl $1, -4(%rbp)
movl $1, %edi
callq _malloc
movq %rax, -16(%rbp)
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movsbl -17(%rbp), %eax
cmpl $10, %eax
je LBB3_5
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movb -17(%rbp), %dl
movq -16(%rbp), %rax
movl _len(%rip), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, _len(%rip)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl _len(%rip), %eax
cmpl -4(%rbp), %eax
jl LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -4(%rbp), %eax
shll $1, %eax
movl %eax, -4(%rbp)
movq -16(%rbp), %rdi
movslq -4(%rbp), %rsi
shlq $0, %rsi
callq _realloc
movq %rax, -16(%rbp)
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
jmp LBB3_1
LBB3_5:
movq -16(%rbp), %rax
movslq _len(%rip), %rcx
movb $0, (%rax,%rcx)
movl _len(%rip), %eax
addl $1, %eax
movl %eax, _len(%rip)
movq -16(%rbp), %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
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
callq _readstr
movq %rax, -24(%rbp)
movl _len(%rip), %eax
movl %eax, -28(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _readstr
movq %rax, -40(%rbp)
movl _len(%rip), %eax
movl %eax, -44(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -48(%rbp)
movl $0, -52(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB4_7
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB4_5
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_6
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB4_1
LBB4_7:
movslq -48(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -64(%rbp)
movl $0, -68(%rbp)
movl $0, -72(%rbp)
movl $0, -76(%rbp)
LBB4_8: ## =>This Loop Header: Depth=1
## Child Loop BB4_12 Depth 2
movl -76(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB4_20
## %bb.9: ## in Loop: Header=BB4_8 Depth=1
movq -24(%rbp), %rax
movslq -76(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
je LBB4_11
## %bb.10: ## in Loop: Header=BB4_8 Depth=1
movq -24(%rbp), %rax
movslq -76(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB4_18
LBB4_11: ## in Loop: Header=BB4_8 Depth=1
movl -76(%rbp), %eax
subl -72(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
callq _malloc
movq %rax, %rdx
movq -64(%rbp), %rax
movslq -68(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -64(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -24(%rbp), %rsi
movslq -72(%rbp), %rax
addq %rax, %rsi
movl -76(%rbp), %eax
subl -72(%rbp), %eax
movslq %eax, %rdx
callq _strcopy
movq -64(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -76(%rbp), %ecx
subl -72(%rbp), %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
movl $0, -80(%rbp)
LBB4_12: ## Parent Loop BB4_8 Depth=1
## => This Inner Loop Header: Depth=2
movl -80(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq -64(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _strlen
movl %eax, -92(%rbp) ## 4-byte Spill
movq -40(%rbp), %rdi
callq _strlen
movl -92(%rbp), %ecx ## 4-byte Reload
movl %eax, %edx
movl -88(%rbp), %eax ## 4-byte Reload
subl %edx, %ecx
cmpl %ecx, %eax
jg LBB4_17
## %bb.13: ## in Loop: Header=BB4_12 Depth=2
movq -64(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -80(%rbp), %rax
addq %rax, %rdi
movq -40(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
je LBB4_15
## %bb.14: ## in Loop: Header=BB4_8 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
movq -64(%rbp), %rdi
movslq -48(%rbp), %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -64(%rbp)
movl $4, %edi
callq _malloc
movq %rax, %rdx
movq -64(%rbp), %rax
movslq -68(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -64(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.3(%rip), %rsi
movl $4, %edx
callq _strcopy
jmp LBB4_17
LBB4_15: ## in Loop: Header=BB4_12 Depth=2
jmp LBB4_16
LBB4_16: ## in Loop: Header=BB4_12 Depth=2
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB4_12
LBB4_17: ## in Loop: Header=BB4_8 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
LBB4_18: ## in Loop: Header=BB4_8 Depth=1
jmp LBB4_19
LBB4_19: ## in Loop: Header=BB4_8 Depth=1
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB4_8
LBB4_20:
movl $0, -84(%rbp)
LBB4_21: ## =>This Inner Loop Header: Depth=1
movl -84(%rbp), %eax
cmpl -48(%rbp), %eax
jge LBB4_24
## %bb.22: ## in Loop: Header=BB4_21 Depth=1
movq -64(%rbp), %rax
movslq -84(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.23: ## in Loop: Header=BB4_21 Depth=1
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB4_21
LBB4_24:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _len ## @len
.zerofill __DATA,__common,_len,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter string:\n"
L_.str.1: ## @.str.1
.asciz "\nEnter word:\n"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "---"
L_.str.4: ## @.str.4
.asciz "%s "
.subsections_via_symbols
| the_stack_data/91379.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #3184
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
mov w8, #0
str w8, [sp, #52] ; 4-byte Folded Spill
str wzr, [sp, #84]
str w0, [sp, #80]
str x1, [sp, #72]
str wzr, [sp, #68]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #56]
add x0, sp, #2136
mov x1, #1024
bl _bzero
ldr w2, [sp, #52] ; 4-byte Folded Reload
mov w0, #2
mov w1, #1
bl _socket
str w0, [sp, #68]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #-1
str w8, [sp, #84]
b LBB0_7
LBB0_2:
sub x8, x29, #40
mov w9, #2
sturb w9, [x29, #-39]
mov w9, #47650
sturh w9, [x29, #-38]
add x2, x8, #4
mov w0, #2
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _inet_pton
subs w8, w0, #0
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #-1
str w8, [sp, #84]
b LBB0_7
LBB0_4:
ldr w0, [sp, #68]
sub x1, x29, #40
mov w2, #16
bl _connect
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #-1
str w8, [sp, #84]
b LBB0_7
LBB0_6:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #1112
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr w0, [sp, #68]
mov x2, #1024
str x2, [sp, #32] ; 8-byte Folded Spill
mov w3, #0
bl _send
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr w0, [sp, #68]
add x1, sp, #88
str x1, [sp, #40] ; 8-byte Folded Spill
bl _read
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, x0
str w9, [sp, #64]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
str wzr, [sp, #84]
b LBB0_7
LBB0_7:
ldr w8, [sp, #84]
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_9
b LBB0_8
LBB0_8:
bl ___stack_chk_fail
LBB0_9:
ldr w0, [sp, #20] ; 4-byte Folded Reload
add sp, sp, #3184
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 "Hello from client"
l_.str.1: ; @.str.1
.asciz "\n Socket creation error \n"
l_.str.2: ; @.str.2
.asciz "127.0.0.1"
l_.str.3: ; @.str.3
.asciz "\nInvalid address/ Address not supported \n"
l_.str.4: ; @.str.4
.asciz "\nConnection Failed \n"
l_.str.5: ; @.str.5
.asciz "Enter sentence: "
l_.str.6: ; @.str.6
.asciz "%[^\n]"
l_.str.7: ; @.str.7
.asciz "Input sent: %s\n"
l_.str.8: ; @.str.8
.asciz "Output recieved: %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 $3152, %rsp ## imm = 0xC50
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -3108(%rbp)
movl %edi, -3112(%rbp)
movq %rsi, -3120(%rbp)
movl $0, -3124(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -3136(%rbp)
leaq -1056(%rbp), %rdi
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -3124(%rbp)
cmpl $0, %eax
jge LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -3108(%rbp)
jmp LBB0_7
LBB0_2:
movb $2, -23(%rbp)
movw $-17886, -22(%rbp) ## imm = 0xBA22
leaq -24(%rbp), %rdx
addq $4, %rdx
movl $2, %edi
leaq L_.str.2(%rip), %rsi
callq _inet_pton
cmpl $0, %eax
jg LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -3108(%rbp)
jmp LBB0_7
LBB0_4:
movl -3124(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _connect
cmpl $0, %eax
jge LBB0_6
## %bb.5:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -3108(%rbp)
jmp LBB0_7
LBB0_6:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq -2080(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _scanf
movl -3124(%rbp), %edi
leaq -2080(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
callq _send
leaq -2080(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl -3124(%rbp), %edi
leaq -3104(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -3128(%rbp)
leaq -3104(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -3108(%rbp)
LBB0_7:
movl -3108(%rbp), %eax
movl %eax, -3140(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
movl -3140(%rbp), %eax ## 4-byte Reload
addq $3152, %rsp ## imm = 0xC50
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello from client"
L_.str.1: ## @.str.1
.asciz "\n Socket creation error \n"
L_.str.2: ## @.str.2
.asciz "127.0.0.1"
L_.str.3: ## @.str.3
.asciz "\nInvalid address/ Address not supported \n"
L_.str.4: ## @.str.4
.asciz "\nConnection Failed \n"
L_.str.5: ## @.str.5
.asciz "Enter sentence: "
L_.str.6: ## @.str.6
.asciz "%[^\n]"
L_.str.7: ## @.str.7
.asciz "Input sent: %s\n"
L_.str.8: ## @.str.8
.asciz "Output recieved: %s \n"
.subsections_via_symbols
| the_stack_data/22012375.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INFO:compiler[NVIDIA]"
.section __DATA,__data
.globl _info_compiler ; @info_compiler
.p2align 3
_info_compiler:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "INFO:platform[Linux]"
.section __DATA,__data
.globl _info_platform ; @info_platform
.p2align 3
_info_platform:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ; @info_arch
.p2align 3
_info_arch:
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "INFO:dialect_default[14]"
.section __DATA,__data
.globl _info_language_dialect_default ; @info_language_dialect_default
.p2align 3
_info_language_dialect_default:
.quad l_.str.3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INFO:compiler[NVIDIA]"
.section __DATA,__data
.globl _info_compiler ## @info_compiler
.p2align 3
_info_compiler:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "INFO:platform[Linux]"
.section __DATA,__data
.globl _info_platform ## @info_platform
.p2align 3
_info_platform:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ## @info_arch
.p2align 3
_info_arch:
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "INFO:dialect_default[14]"
.section __DATA,__data
.globl _info_language_dialect_default ## @info_language_dialect_default
.p2align 3
_info_language_dialect_default:
.quad L_.str.3
.subsections_via_symbols
| the_stack_data/148576899.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f_test_entropy ; -- Begin function f_test_entropy
.p2align 2
_f_test_entropy: ; @f_test_entropy
.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, #1072
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]
str xzr, [sp, #16]
add x0, sp, #40
mov x1, #1024
bl _bzero
str xzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #32]
ldr x9, [sp, #8]
ldrb w8, [x8, x9]
mov x9, x8
add x8, sp, #40
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_1
LBB0_4:
str xzr, [sp, #8]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #256
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8]
add x9, sp, #40
ldr w8, [x9, x8, lsl #2]
ldr x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
mov x10, x9
adrp x9, _binary_f_log_dat_start@GOTPAGE
ldr x9, [x9, _binary_f_log_dat_start@GOTPAGEOFF]
ldr w9, [x9, x10, lsl #2]
mul w8, w8, w9
mov x9, x8
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_5
LBB0_8:
ldr x8, [sp, #16]
str x8, [sp] ; 8-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
ldr x0, [sp] ; 8-byte Folded Reload
add sp, sp, #1072
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, #2128
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #68]
str w0, [sp, #64]
str x1, [sp, #56]
mov x8, #56416
movk x8, #22544, lsl #16
str x8, [sp, #40]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x3, [x8]
add x0, sp, #72
mov x1, #1
mov x2, #2048
bl _fread
eor x8, x0, #0x800
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
mov x8, #2048
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #68]
b LBB1_6
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #40]
str x8, [sp, #24] ; 8-byte Folded Spill
add x0, sp, #72
mov x1, #2048
bl _f_test_entropy
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x0, [sp, #32]
subs x8, x8, x0
cset w8, ls
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_5:
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _fclose
str wzr, [sp, #68]
b LBB1_6
LBB1_6:
ldr w8, [sp, #68]
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_8
b LBB1_7
LBB1_7:
bl ___stack_chk_fail
LBB1_8:
ldr w0, [sp, #20] ; 4-byte Folded Reload
add sp, sp, #2128
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nReading \"stdin\" ... and calculating entropy data ...\n"
l_.str.1: ; @.str.1
.asciz "\nCould no read data\n"
l_.str.2: ; @.str.2
.asciz "\nStream of data must be at least %d bytes\n"
l_.str.3: ; @.str.3
.asciz "\nEntropy result: %lu\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f_test_entropy ## -- Begin function f_test_entropy
.p2align 4, 0x90
_f_test_entropy: ## @f_test_entropy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1088, %rsp ## imm = 0x440
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1048(%rbp)
movq %rsi, -1056(%rbp)
movq $0, -1064(%rbp)
leaq -1040(%rbp), %rdi
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
movq $0, -1072(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -1072(%rbp), %rax
cmpq -1056(%rbp), %rax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -1048(%rbp), %rax
movq -1072(%rbp), %rcx
movzbl (%rax,%rcx), %eax
## kill: def $rax killed $eax
movl -1040(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -1040(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -1072(%rbp), %rax
addq $1, %rax
movq %rax, -1072(%rbp)
jmp LBB0_1
LBB0_4:
movq $0, -1072(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpq $256, -1072(%rbp) ## imm = 0x100
jae LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -1072(%rbp), %rax
movl -1040(%rbp,%rax,4), %eax
movq -1072(%rbp), %rcx
movl -1040(%rbp,%rcx,4), %ecx
movl %ecx, %edx
movq _binary_f_log_dat_start@GOTPCREL(%rip), %rcx
imull (%rcx,%rdx,4), %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -1064(%rbp), %rax
movq %rax, -1064(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -1072(%rbp), %rax
addq $1, %rax
movq %rax, -1072(%rbp)
jmp LBB0_5
LBB0_8:
movq -1064(%rbp), %rax
movq %rax, -1080(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
movq -1080(%rbp), %rax ## 8-byte Reload
addq $1088, %rsp ## imm = 0x440
popq %rbp
retq
LBB0_10:
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 $2128, %rsp ## imm = 0x850
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2068(%rbp)
movl %edi, -2072(%rbp)
movq %rsi, -2080(%rbp)
movq $1477500000, -2096(%rbp) ## imm = 0x5810DC60
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB1_1: ## =>This Inner Loop Header: Depth=1
leaq -2064(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, %esi
movl $2048, %edx ## imm = 0x800
callq _fread
xorq $2048, %rax ## imm = 0x800
cmpq $0, %rax
je LBB1_3
## %bb.2:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movl $2048, %esi ## imm = 0x800
movb $0, %al
callq _printf
movl $1, -2068(%rbp)
jmp LBB1_6
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movq -2096(%rbp), %rax
movq %rax, -2112(%rbp) ## 8-byte Spill
leaq -2064(%rbp), %rdi
movl $2048, %esi ## imm = 0x800
callq _f_test_entropy
movq %rax, %rcx
movq -2112(%rbp), %rax ## 8-byte Reload
movq %rcx, -2104(%rbp)
cmpq %rcx, %rax
jbe LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_5:
movq -2104(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
movl $0, -2068(%rbp)
LBB1_6:
movl -2068(%rbp), %eax
movl %eax, -2116(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_8
## %bb.7:
movl -2116(%rbp), %eax ## 4-byte Reload
addq $2128, %rsp ## imm = 0x850
popq %rbp
retq
LBB1_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nReading \"stdin\" ... and calculating entropy data ...\n"
L_.str.1: ## @.str.1
.asciz "\nCould no read data\n"
L_.str.2: ## @.str.2
.asciz "\nStream of data must be at least %d bytes\n"
L_.str.3: ## @.str.3
.asciz "\nEntropy result: %lu\n"
.subsections_via_symbols
| the_stack_data/11076238.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #16]
add x0, sp, #20
adrp x1, l___const.main.arr@PAGE
add x1, x1, l___const.main.arr@PAGEOFF
mov x2, #36
bl _memcpy
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #20
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
mov w0, #10
bl _putchar
add x0, sp, #20
mov w1, #0
mov w2, #8
bl _qsort
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #20
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_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:
mov w0, #10
bl _putchar
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_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _qsort ; -- Begin function qsort
.p2align 2
_qsort: ; @qsort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
b LBB1_9
LBB1_2:
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
add w8, w8, w9
mov w9, #2
sdiv w2, w8, w9
bl _swap
ldur w8, [x29, #-12]
str w8, [sp, #8]
ldur w8, [x29, #-12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_8
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldur x0, [x29, #-8]
ldr w8, [sp, #8]
add w1, w8, #1
str w1, [sp, #8]
ldr w2, [sp, #12]
bl _swap
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_8:
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w2, [sp, #8]
bl _swap
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w8, [sp, #8]
subs w2, w8, #1
bl _qsort
ldur x0, [x29, #-8]
ldr w8, [sp, #8]
add w1, w8, #1
ldr w2, [sp, #16]
bl _qsort
b LBB1_9
LBB1_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
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 w1, [sp, #20]
str w2, [sp, #16]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #12]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.arr
l___const.main.arr:
.long 16 ; 0x10
.long 4 ; 0x4
.long 12 ; 0xc
.long 9 ; 0x9
.long 13 ; 0xd
.long 15 ; 0xf
.long 1 ; 0x1
.long 8 ; 0x8
.long 11 ; 0xb
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Before: "
l_.str.1: ; @.str.1
.asciz "%2d "
l_.str.2: ; @.str.2
.asciz "After : "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.arr(%rip), %rsi
movl $36, %edx
callq _memcpy
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -56(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $9, -56(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_1
LBB0_4:
movl $10, %edi
callq _putchar
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _qsort
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -56(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $9, -56(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_5
LBB0_8:
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _qsort ## -- Begin function qsort
.p2align 4, 0x90
_qsort: ## @qsort
.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
cmpl -16(%rbp), %eax
jl LBB1_2
## %bb.1:
jmp LBB1_9
LBB1_2:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -12(%rbp), %eax
addl -16(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %edx
callq _swap
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB1_8
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movslq -12(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB1_6
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movq -8(%rbp), %rdi
movl -24(%rbp), %esi
addl $1, %esi
movl %esi, -24(%rbp)
movl -20(%rbp), %edx
callq _swap
LBB1_6: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_3
LBB1_8:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -24(%rbp), %edx
callq _swap
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -24(%rbp), %edx
subl $1, %edx
callq _qsort
movq -8(%rbp), %rdi
movl -24(%rbp), %esi
addl $1, %esi
movl -16(%rbp), %edx
callq _qsort
LBB1_9:
addq $32, %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
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %edx
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.arr
l___const.main.arr:
.long 16 ## 0x10
.long 4 ## 0x4
.long 12 ## 0xc
.long 9 ## 0x9
.long 13 ## 0xd
.long 15 ## 0xf
.long 1 ## 0x1
.long 8 ## 0x8
.long 11 ## 0xb
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Before: "
L_.str.1: ## @.str.1
.asciz "%2d "
L_.str.2: ## @.str.2
.asciz "After : "
.subsections_via_symbols
| the_stack_data/872196.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #480
sub x8, x29, #144
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, ___darwin_check_fd_set_overflow@GOTPAGE
ldr x8, [x8, ___darwin_check_fd_set_overflow@GOTPAGEOFF]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #44] ; 4-byte Folded Spill
mov w2, #0
str w2, [sp, #88] ; 4-byte Folded Spill
stur wzr, [x29, #-148]
mov w0, #2
str w0, [sp, #68] ; 4-byte Folded Spill
mov w1, #1
bl _socket
ldr w1, [sp, #68] ; 4-byte Folded Reload
ldr w2, [sp, #88] ; 4-byte Folded Reload
stur w0, [x29, #-184]
mov x0, x1
bl _socket
mov x8, x0
ldr w0, [sp, #68] ; 4-byte Folded Reload
stur w8, [x29, #-188]
sub x8, x29, #164
str x8, [sp, #72] ; 8-byte Folded Spill
mov w9, #2
sturb w9, [x29, #-163]
mov w10, #36895
sturh w10, [x29, #-162]
sub x10, x29, #180
str x10, [sp, #56] ; 8-byte Folded Spill
sturb w9, [x29, #-179]
mov w9, #34335
sturh w9, [x29, #-178]
stur wzr, [x29, #-160]
stur wzr, [x29, #-176]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
str x1, [sp, #48] ; 8-byte Folded Spill
add x2, x8, #4
bl _inet_pton
ldr x1, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w0, [sp, #68] ; 4-byte Folded Reload
add x2, x8, #4
bl _inet_pton
ldr x1, [sp, #72] ; 8-byte Folded Reload
ldur w0, [x29, #-184]
mov w2, #16
str w2, [sp, #84] ; 4-byte Folded Spill
bl _bind
ldur w0, [x29, #-184]
mov w1, #10
bl _listen
ldr x1, [sp, #72] ; 8-byte Folded Reload
ldr w2, [sp, #84] ; 4-byte Folded Reload
ldur w0, [x29, #-188]
bl _bind
ldr w1, [sp, #88] ; 4-byte Folded Reload
add x0, sp, #176
mov x2, #128
bl _memset
ldur w8, [x29, #-184]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-184]
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldur w8, [x29, #-188]
add w8, w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w8, [sp, #28] ; 4-byte Folded Reload
str w8, [sp, #120]
b LBB0_4
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_23 Depth 2
; Child Loop BB0_36 Depth 2
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur w9, [x29, #-184]
stur w9, [x29, #-116]
add x9, sp, #176
str x9, [x10, #16]
ldur w11, [x29, #-116]
ldr x9, [x10, #16]
stur w11, [x29, #-40]
str x9, [x10, #96]
tbz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur w0, [x29, #-40]
ldr x1, [x8, #96]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-36]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1
stur w8, [x29, #-36]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 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, #16]
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 LBB0_9
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur w9, [x29, #-188]
stur w9, [x29, #-132]
add x9, sp, #176
str x9, [x10]
ldur w11, [x29, #-132]
ldr x9, [x10]
stur w11, [x29, #-24]
str x9, [x10, #112]
tbz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur w0, [x29, #-24]
ldr x1, [x8, #112]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-20]
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1
stur w8, [x29, #-20]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 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]
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 LBB0_14
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #120]
add x1, sp, #176
str x1, [sp, #16] ; 8-byte Folded Spill
mov x4, #0
mov x2, x4
mov x3, x4
bl _select
str w0, [sp, #116]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldur w11, [x29, #-184]
stur w11, [x29, #-88]
str x9, [x10, #48]
ldur w11, [x29, #-88]
ldr x9, [x10, #48]
stur w11, [x29, #-72]
str x9, [x10, #64]
tbz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur w0, [x29, #-72]
ldr x1, [x8, #64]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-68]
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1
stur w8, [x29, #-68]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #48]
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 LBB0_20
LBB0_19: ; in Loop: Header=BB0_4 Depth=1
stur wzr, [x29, #-84]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-84]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_28
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x2, sp, #112
mov w8, #16
str w8, [sp, #112]
ldur w0, [x29, #-184]
sub x1, x29, #164
bl _accept
str w0, [sp, #108]
bl _fork
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #108]
add x1, sp, #126
mov x2, #50
mov w3, #0
bl _recv
mov x8, x0
str w8, [sp, #104]
stur wzr, [x29, #-192]
b LBB0_23
LBB0_23: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-192]
ldr w9, [sp, #104]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_26
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_23 Depth=2
ldursw x9, [x29, #-192]
add x8, sp, #126
str x8, [sp, #8] ; 8-byte Folded Spill
ldrsb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldursw x8, [x29, #-192]
ldrsb w8, [x9, x8]
subs w8, w8, #32
ldursw x10, [x29, #-192]
strb w8, [x9, x10]
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_23 Depth=2
ldur w8, [x29, #-192]
add w8, w8, #1
stur w8, [x29, #-192]
b LBB0_23
LBB0_26: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #108]
ldrsw x2, [sp, #104]
add x1, sp, #126
mov w3, #0
bl _send
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #108]
bl _close
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur w9, [x29, #-188]
stur w9, [x29, #-104]
add x9, sp, #176
str x9, [x10, #32]
ldur w11, [x29, #-104]
ldr x9, [x10, #32]
stur w11, [x29, #-56]
str x9, [x10, #80]
tbz w8, #0, LBB0_30
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur w0, [x29, #-56]
ldr x1, [x8, #80]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-52]
b LBB0_31
LBB0_30: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1
stur w8, [x29, #-52]
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-52]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #32]
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 LBB0_34
LBB0_33: ; in Loop: Header=BB0_4 Depth=1
stur wzr, [x29, #-100]
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-100]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_40
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_4 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add x5, sp, #100
mov w8, #16
str w8, [sp, #100]
ldur w0, [x29, #-188]
add x1, sp, #126
mov x2, #1024
mov w3, #0
sub x4, x29, #164
bl _recvfrom
mov x8, x0
str w8, [sp, #96]
stur wzr, [x29, #-192]
b LBB0_36
LBB0_36: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-192]
ldr w9, [sp, #96]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_39
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_36 Depth=2
ldursw x8, [x29, #-192]
add x9, sp, #126
ldrsb w8, [x9, x8]
subs w8, w8, #32
ldursw x10, [x29, #-192]
strb w8, [x9, x10]
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_36 Depth=2
ldur w8, [x29, #-192]
add w8, w8, #1
stur w8, [x29, #-192]
b LBB0_36
LBB0_39: ; in Loop: Header=BB0_4 Depth=1
mov w8, #16
str w8, [sp, #92]
ldur w0, [x29, #-188]
ldrsw x2, [sp, #96]
ldr w5, [sp, #92]
add x1, sp, #126
mov w3, #0
sub x4, x29, #180
bl _sendto
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_4 Depth=1
b LBB0_4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "127.0.0.1"
l_.str.1: ; @.str.1
.asciz "Hello\n"
l_.str.2: ; @.str.2
.asciz "Got Connection from TCP\n"
l_.str.3: ; @.str.3
.asciz "%c"
l_.str.4: ; @.str.4
.asciz "Got Connection from UDP"
.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
movl $0, -132(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -172(%rbp)
movl $2, %esi
xorl %edx, %edx
movl %esi, %edi
callq _socket
movl %eax, -176(%rbp)
movb $2, -151(%rbp)
movw $-28641, -150(%rbp) ## imm = 0x901F
movb $2, -167(%rbp)
movw $-31201, -166(%rbp) ## imm = 0x861F
leaq -152(%rbp), %rdi
addq $4, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
leaq -168(%rbp), %rdi
addq $4, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
leaq -152(%rbp), %rdx
addq $4, %rdx
movl $2, %edi
leaq L_.str(%rip), %rsi
callq _inet_pton
leaq -168(%rbp), %rdx
addq $4, %rdx
movl $2, %edi
leaq L_.str(%rip), %rsi
callq _inet_pton
movl -172(%rbp), %edi
leaq -152(%rbp), %rsi
movl $16, %edx
callq _bind
movl -172(%rbp), %edi
movl $10, %esi
callq _listen
movl -176(%rbp), %edi
leaq -152(%rbp), %rsi
movl $16, %edx
callq _bind
leaq -312(%rbp), %rdi
xorl %esi, %esi
movl $128, %edx
callq _memset
movl -172(%rbp), %eax
cmpl -176(%rbp), %eax
jle LBB0_2
## %bb.1:
movl -172(%rbp), %eax
movl %eax, -404(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl -176(%rbp), %eax
addl $1, %eax
movl %eax, -404(%rbp) ## 4-byte Spill
LBB0_3:
movl -404(%rbp), %eax ## 4-byte Reload
movl %eax, -372(%rbp)
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_23 Depth 2
## Child Loop BB0_36 Depth 2
movl -172(%rbp), %eax
movl %eax, -100(%rbp)
leaq -312(%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 LBB0_6
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
movl -24(%rbp), %edi
movq -32(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movl $1, -20(%rbp)
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, -20(%rbp)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 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)
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movl -176(%rbp), %eax
movl %eax, -116(%rbp)
leaq -312(%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 LBB0_11
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -4(%rbp)
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movl $1, -4(%rbp)
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, -4(%rbp)
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
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)
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movl -372(%rbp), %edi
xorl %eax, %eax
movl %eax, -420(%rbp) ## 4-byte Spill
movl %eax, %r8d
leaq -312(%rbp), %rsi
movq %rsi, -416(%rbp) ## 8-byte Spill
movq %r8, %rdx
movq %r8, %rcx
callq _select$1050
movl %eax, %ecx
movl -420(%rbp), %eax ## 4-byte Reload
movl %ecx, -376(%rbp)
leaq L_.str.1(%rip), %rdi
## kill: def $al killed $al killed $eax
callq _printf
## kill: def $ecx killed $eax
movq -416(%rbp), %rax ## 8-byte Reload
movl -172(%rbp), %ecx
movl %ecx, -72(%rbp)
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 LBB0_16
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
movl -56(%rbp), %edi
movq -64(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -52(%rbp)
jmp LBB0_17
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movl $1, -52(%rbp)
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, -52(%rbp)
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_4 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 LBB0_20
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
movl $0, -68(%rbp)
LBB0_20: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, -68(%rbp)
je LBB0_28
## %bb.21: ## in Loop: Header=BB0_4 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $16, -380(%rbp)
movl -172(%rbp), %edi
leaq -152(%rbp), %rsi
leaq -380(%rbp), %rdx
callq _accept
movl %eax, -384(%rbp)
callq _fork
cmpl $0, %eax
jne LBB0_27
## %bb.22: ## in Loop: Header=BB0_4 Depth=1
movl -384(%rbp), %edi
leaq -368(%rbp), %rsi
movl $50, %edx
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax killed $rax
movl %eax, -388(%rbp)
movl $0, -180(%rbp)
LBB0_23: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl -180(%rbp), %eax
cmpl -388(%rbp), %eax
jge LBB0_26
## %bb.24: ## in Loop: Header=BB0_23 Depth=2
movslq -180(%rbp), %rax
movsbl -368(%rbp,%rax), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movslq -180(%rbp), %rax
movsbl -368(%rbp,%rax), %eax
subl $32, %eax
movb %al, %cl
movslq -180(%rbp), %rax
movb %cl, -368(%rbp,%rax)
## %bb.25: ## in Loop: Header=BB0_23 Depth=2
movl -180(%rbp), %eax
addl $1, %eax
movl %eax, -180(%rbp)
jmp LBB0_23
LBB0_26: ## in Loop: Header=BB0_4 Depth=1
movl -384(%rbp), %edi
leaq -368(%rbp), %rsi
movslq -388(%rbp), %rdx
xorl %ecx, %ecx
callq _send
LBB0_27: ## in Loop: Header=BB0_4 Depth=1
movl -384(%rbp), %edi
callq _close
LBB0_28: ## in Loop: Header=BB0_4 Depth=1
movl -176(%rbp), %eax
movl %eax, -88(%rbp)
leaq -312(%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 LBB0_30
jmp LBB0_29
LBB0_29: ## in Loop: Header=BB0_4 Depth=1
movl -40(%rbp), %edi
movq -48(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -36(%rbp)
jmp LBB0_31
LBB0_30: ## in Loop: Header=BB0_4 Depth=1
movl $1, -36(%rbp)
LBB0_31: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, -36(%rbp)
je LBB0_33
## %bb.32: ## in Loop: Header=BB0_4 Depth=1
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 LBB0_34
LBB0_33: ## in Loop: Header=BB0_4 Depth=1
movl $0, -84(%rbp)
LBB0_34: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, -84(%rbp)
je LBB0_40
## %bb.35: ## in Loop: Header=BB0_4 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $16, -392(%rbp)
movl -176(%rbp), %edi
leaq -368(%rbp), %rsi
leaq -152(%rbp), %r8
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
leaq -392(%rbp), %r9
callq _recvfrom
## kill: def $eax killed $eax killed $rax
movl %eax, -396(%rbp)
movl $0, -180(%rbp)
LBB0_36: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl -180(%rbp), %eax
cmpl -396(%rbp), %eax
jge LBB0_39
## %bb.37: ## in Loop: Header=BB0_36 Depth=2
movslq -180(%rbp), %rax
movsbl -368(%rbp,%rax), %eax
subl $32, %eax
movb %al, %cl
movslq -180(%rbp), %rax
movb %cl, -368(%rbp,%rax)
## %bb.38: ## in Loop: Header=BB0_36 Depth=2
movl -180(%rbp), %eax
addl $1, %eax
movl %eax, -180(%rbp)
jmp LBB0_36
LBB0_39: ## in Loop: Header=BB0_4 Depth=1
movl $16, -400(%rbp)
movl -176(%rbp), %edi
leaq -368(%rbp), %rsi
movslq -396(%rbp), %rdx
leaq -168(%rbp), %r8
movl -400(%rbp), %r9d
xorl %ecx, %ecx
callq _sendto
LBB0_40: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "127.0.0.1"
L_.str.1: ## @.str.1
.asciz "Hello\n"
L_.str.2: ## @.str.2
.asciz "Got Connection from TCP\n"
L_.str.3: ## @.str.3
.asciz "%c"
L_.str.4: ## @.str.4
.asciz "Got Connection from UDP"
.subsections_via_symbols
| the_stack_data/175144176.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, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
mov w0, #29
bl _sysconf
mov x8, x0
stur w8, [x29, #-20]
ldur w9, [x29, #-20]
; 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
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
mov w1, #2
bl _open
stur w0, [x29, #-24]
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_2:
ldur w0, [x29, #-24]
add x1, sp, #24
bl _fstat
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_4:
ldr x1, [sp, #120]
ldur w4, [x29, #-24]
mov x0, #0
mov w2, #3
mov w3, #2
mov x5, #0
bl _mmap
str x0, [sp, #8]
ldr x8, [sp, #8]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_6:
ldur w0, [x29, #-24]
bl _close
mov w0, #0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PageSize: %d\n"
l_.str.1: ; @.str.1
.asciz "1GB"
l_.str.2: ; @.str.2
.asciz "open"
l_.str.3: ; @.str.3
.asciz "fstat"
l_.str.4: ; @.str.4
.asciz "mmap"
.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
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $29, %edi
callq _sysconf
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl -20(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movl $2, %esi
movb $0, %al
callq _open
movl %eax, -24(%rbp)
cmpl $0, -24(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_2:
movl -24(%rbp), %edi
leaq -168(%rbp), %rsi
callq _fstat$INODE64
movl %eax, -172(%rbp)
cmpl $0, -172(%rbp)
je LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4:
movq -72(%rbp), %rsi
movl -24(%rbp), %r8d
xorl %eax, %eax
movl %eax, %r9d
movl $3, %edx
movl $2, %ecx
movq %r9, %rdi
callq _mmap
movq %rax, -184(%rbp)
movq $-1, %rax
cmpq %rax, -184(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.4(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_6:
movl -24(%rbp), %edi
callq _close
xorl %eax, %eax
addq $192, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PageSize: %d\n"
L_.str.1: ## @.str.1
.asciz "1GB"
L_.str.2: ## @.str.2
.asciz "open"
L_.str.3: ## @.str.3
.asciz "fstat"
L_.str.4: ## @.str.4
.asciz "mmap"
.subsections_via_symbols
| the_stack_data/237644171.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isprim ; -- Begin function isprim
.p2align 2
_isprim: ; @isprim
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
ldr s1, [sp, #24]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fsqrt d0, d0
fmov d1, #10.00000000
fadd d0, d0, d1
fcvtzs w8, d0
str w8, [sp, #20]
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, gt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
str wzr, [sp, #28]
b LBB0_15
LBB0_2:
ldr w8, [sp, #24]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
str w8, [sp, #28]
b LBB0_15
LBB0_4:
ldr w8, [sp, #24]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
str wzr, [sp, #28]
b LBB0_15
LBB0_6:
mov w8, #3
str w8, [sp, #16]
b LBB0_7
LBB0_7: ; =>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, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_14
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #24]
ldr w10, [sp, #16]
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_11
LBB0_11:
str wzr, [sp, #28]
b LBB0_15
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #16]
add w8, w8, #2
str w8, [sp, #16]
b LBB0_7
LBB0_14:
mov w8, #1
str w8, [sp, #28]
b LBB0_15
LBB0_15:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _iscycle ; -- Begin function iscycle
.p2align 2
_iscycle: ; @iscycle
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
str w8, [sp, #4]
str wzr, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
mov w9, #10
mul w8, w8, w9
ldr w10, [sp, #4]
sdiv w11, w10, w9
mul w11, w11, w9
subs w10, w10, w11
add w8, w8, w10
str w8, [sp]
ldr w8, [sp, #4]
sdiv w8, w8, w9
str w8, [sp, #4]
b LBB1_1
LBB1_3:
ldr w8, [sp]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
mov w8, #1
str w8, [sp, #12]
b LBB1_6
LBB1_5:
str wzr, [sp, #12]
b LBB1_6
LBB1_6:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
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 _freopen
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x2, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _freopen
mov x9, sp
sub x8, x29, #12
str x8, [x9]
add x8, sp, #16
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur w8, [x29, #-12]
stur w8, [x29, #-8]
ldr w8, [sp, #16]
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
str w8, [sp, #16]
b LBB2_2
LBB2_2:
ldur w8, [x29, #-12]
stur w8, [x29, #-8]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_18
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldur w9, [x29, #-8]
mov w8, #1000
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_7
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldur w8, [x29, #-8]
mov w9, #9999
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_3 Depth=1
b LBB2_17
LBB2_7: ; in Loop: Header=BB2_3 Depth=1
ldur w9, [x29, #-8]
mov w8, #34464
movk w8, #1, lsl #16
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_10
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_3 Depth=1
ldur w8, [x29, #-8]
mov w9, #16959
movk w9, #15, lsl #16
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_3 Depth=1
b LBB2_17
LBB2_10: ; in Loop: Header=BB2_3 Depth=1
ldur w8, [x29, #-8]
mov w9, #38528
movk w9, #152, lsl #16
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
b LBB2_18
LBB2_12: ; in Loop: Header=BB2_3 Depth=1
ldur w0, [x29, #-8]
bl _iscycle
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_3 Depth=1
ldur w0, [x29, #-8]
bl _isprim
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_3 Depth=1
ldur w9, [x29, #-8]
; 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 LBB2_15
LBB2_15: ; in Loop: Header=BB2_3 Depth=1
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_3 Depth=1
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_3 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB2_3
LBB2_18:
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 "pprime.in"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "pprime.out"
l_.str.3: ; @.str.3
.asciz "w"
l_.str.4: ; @.str.4
.asciz "%d%d"
l_.str.5: ; @.str.5
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function isprim
LCPI0_0:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__text,regular,pure_instructions
.globl _isprim
.p2align 4, 0x90
_isprim: ## @isprim
.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)
cvtsi2sdl -8(%rbp), %xmm0
sqrtsd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -12(%rbp)
cmpl $1, -8(%rbp)
jg LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_15
LBB0_2:
cmpl $2, -8(%rbp)
jne LBB0_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB0_15
LBB0_4:
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB0_15
LBB0_6:
movl $3, -16(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -8(%rbp), %ecx
movb %al, -17(%rbp) ## 1-byte Spill
jge LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
setl %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_10
jmp LBB0_14
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movl -8(%rbp), %eax
cltd
idivl -16(%rbp)
cmpl $0, %edx
jne LBB0_12
## %bb.11:
movl $0, -4(%rbp)
jmp LBB0_15
LBB0_12: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movl -16(%rbp), %eax
addl $2, %eax
movl %eax, -16(%rbp)
jmp LBB0_7
LBB0_14:
movl $1, -4(%rbp)
LBB0_15:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _iscycle ## -- Begin function iscycle
.p2align 4, 0x90
_iscycle: ## @iscycle
.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, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
imull $10, -16(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -20(%rbp), %eax ## 4-byte Reload
addl %edx, %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_3:
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB1_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB1_6
LBB1_5:
movl $0, -4(%rbp)
LBB1_6:
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)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _freopen
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _freopen
leaq L_.str.4(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -16(%rbp), %rdx
movb $0, %al
callq _scanf
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB2_2
## %bb.1:
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
movl -16(%rbp), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
movl %eax, -16(%rbp)
LBB2_2:
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB2_18
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movl $1000, %eax ## imm = 0x3E8
cmpl -8(%rbp), %eax
jg LBB2_7
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
cmpl $9999, -8(%rbp) ## imm = 0x270F
jg LBB2_7
## %bb.6: ## in Loop: Header=BB2_3 Depth=1
jmp LBB2_17
LBB2_7: ## in Loop: Header=BB2_3 Depth=1
movl $100000, %eax ## imm = 0x186A0
cmpl -8(%rbp), %eax
jg LBB2_10
## %bb.8: ## in Loop: Header=BB2_3 Depth=1
cmpl $999999, -8(%rbp) ## imm = 0xF423F
jg LBB2_10
## %bb.9: ## in Loop: Header=BB2_3 Depth=1
jmp LBB2_17
LBB2_10: ## in Loop: Header=BB2_3 Depth=1
cmpl $10000000, -8(%rbp) ## imm = 0x989680
jl LBB2_12
## %bb.11:
jmp LBB2_18
LBB2_12: ## in Loop: Header=BB2_3 Depth=1
movl -8(%rbp), %edi
callq _iscycle
cmpl $0, %eax
je LBB2_16
## %bb.13: ## in Loop: Header=BB2_3 Depth=1
movl -8(%rbp), %edi
callq _isprim
cmpl $0, %eax
je LBB2_15
## %bb.14: ## in Loop: Header=BB2_3 Depth=1
movl -8(%rbp), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB2_15: ## in Loop: Header=BB2_3 Depth=1
jmp LBB2_16
LBB2_16: ## in Loop: Header=BB2_3 Depth=1
jmp LBB2_17
LBB2_17: ## in Loop: Header=BB2_3 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB2_3
LBB2_18:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pprime.in"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "pprime.out"
L_.str.3: ## @.str.3
.asciz "w"
L_.str.4: ## @.str.4
.asciz "%d%d"
L_.str.5: ## @.str.5
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/190767812.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_words ; -- Begin function print_words
.p2align 2
_print_words: ; @print_words
.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]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #24]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
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 x10, [sp, #24]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-16]
ldr x8, [x8, x9, lsl #3]
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
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp, #24]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_1
LBB0_4:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _INIT_LIST_HEAD ; -- Begin function INIT_LIST_HEAD
.p2align 2
_INIT_LIST_HEAD: ; @INIT_LIST_HEAD
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x9, [sp, #8]
str x8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _list_empty ; -- Begin function list_empty
.p2align 2
_list_empty: ; @list_empty
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, eq
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl ___list_add ; -- Begin function __list_add
.p2align 2
___list_add: ; @__list_add
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
str x8, [x9]
ldr x8, [sp, #16]
ldr x9, [sp, #24]
str x8, [x9, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
str x8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _list_add ; -- Begin function list_add
.p2align 2
_list_add: ; @list_add
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x1, [sp]
ldr x8, [sp]
ldr x2, [x8]
bl ___list_add
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _list_add_tail ; -- Begin function list_add_tail
.p2align 2
_list_add_tail: ; @list_add_tail
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x8, [sp]
ldr x1, [x8, #8]
ldr x2, [sp]
bl ___list_add
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___list_del ; -- Begin function __list_del
.p2align 2
___list_del: ; @__list_del
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
ldr x9, [x9]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
str x8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _list_del ; -- Begin function list_del
.p2align 2
_list_del: ; @list_del
.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 ___list_del
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #8]
str xzr, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _resize ; -- Begin function resize
.p2align 2
_resize: ; @resize
.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]
ldursw x9, [x29, #-12]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
add w8, w8, #1
ldr x9, [sp, #8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB8_9
b LBB8_1
LBB8_1:
ldr x9, [sp, #8]
ldr w8, [x9, #4]
lsl w8, w8, #1
str w8, [x9, #4]
ldr x8, [sp, #8]
ldrsw x8, [x8, #4]
lsl x0, x8, #3
bl _malloc
str x0, [sp]
str wzr, [sp, #16]
b LBB8_2
LBB8_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr x9, [sp, #8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_8
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_2 Depth=1
ldr w8, [sp, #16]
ldr x9, [sp, #8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_5
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_2 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp]
ldrsw x10, [sp, #16]
str x8, [x9, x10, lsl #3]
b LBB8_6
LBB8_5: ; in Loop: Header=BB8_2 Depth=1
mov x0, #16
bl _malloc
ldr x8, [sp]
ldrsw x9, [sp, #16]
str x0, [x8, x9, lsl #3]
ldr x8, [sp]
ldrsw x9, [sp, #16]
ldr x0, [x8, x9, lsl #3]
bl _INIT_LIST_HEAD
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_2 Depth=1
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_2 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB8_2
LBB8_8:
b LBB8_9
LBB8_9:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _dfs ; -- Begin function dfs
.p2align 2
_dfs: ; @dfs
.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, #8
; kill: def $x9 killed $xzr
add x8, x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur w3, [x29, #-36]
stur x4, [x29, #-48]
stur w5, [x29, #-52]
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB9_23
LBB9_2:
ldur x8, [x29, #-48]
ldursw x9, [x29, #-52]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3:
ldur x8, [x29, #-48]
ldursw x9, [x29, #-52]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-8]
b LBB9_23
LBB9_4:
mov x0, #16
str x0, [sp] ; 8-byte Folded Spill
bl _malloc
str x0, [sp, #56]
ldr x8, [sp, #56]
str wzr, [x8]
ldr x9, [sp, #56]
mov w8, #1
str w8, [x9, #4]
mov x0, #8
bl _malloc
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #56]
str x8, [x9, #8]
bl _malloc
ldr x8, [sp, #56]
ldr x8, [x8, #8]
str x0, [x8]
ldr x8, [sp, #56]
ldr x8, [x8, #8]
ldr x0, [x8]
bl _INIT_LIST_HEAD
ldr x8, [sp, #56]
ldur x9, [x29, #-48]
ldursw x10, [x29, #-52]
str x8, [x9, x10, lsl #3]
stur wzr, [x29, #-56]
b LBB9_5
LBB9_5: ; =>This Loop Header: Depth=1
; Child Loop BB9_10 Depth 2
; Child Loop BB9_12 Depth 3
ldur w8, [x29, #-56]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_22
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_5 Depth=1
ldur x0, [x29, #-16]
bl _strlen
ldur x8, [x29, #-32]
ldursw x9, [x29, #-56]
ldrsw x8, [x8, x9, lsl #2]
subs x8, x0, x8
cset w8, lo
tbnz w8, #0, LBB9_20
b LBB9_7
LBB9_7: ; in Loop: Header=BB9_5 Depth=1
ldur x0, [x29, #-16]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-56]
ldr x1, [x8, x9, lsl #3]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-56]
ldrsw x2, [x8, x9, lsl #2]
bl _memcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB9_20
b LBB9_8
LBB9_8: ; in Loop: Header=BB9_5 Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-32]
ldursw x10, [x29, #-56]
ldrsw x9, [x9, x10, lsl #2]
add x0, x8, x9
ldur x1, [x29, #-24]
ldur x2, [x29, #-32]
ldur w3, [x29, #-36]
ldur x4, [x29, #-48]
ldur w8, [x29, #-52]
ldur x9, [x29, #-32]
ldursw x10, [x29, #-56]
ldr w9, [x9, x10, lsl #2]
add w5, w8, w9
bl _dfs
str x0, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_18
b LBB9_9
LBB9_9: ; in Loop: Header=BB9_5 Depth=1
ldr x8, [sp, #56]
ldr w8, [x8]
str w8, [sp, #44]
ldr w8, [sp, #44]
stur w8, [x29, #-60]
b LBB9_10
LBB9_10: ; Parent Loop BB9_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB9_12 Depth 3
ldur w8, [x29, #-60]
ldr w9, [sp, #44]
ldr x10, [sp, #48]
ldr w10, [x10]
add w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_17
b LBB9_11
LBB9_11: ; in Loop: Header=BB9_10 Depth=2
ldur x0, [x29, #-48]
ldur w1, [x29, #-52]
bl _resize
str x0, [sp, #56]
mov x0, #24
bl _malloc
str x0, [sp, #32]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-56]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #32]
str x8, [x9]
ldr x8, [sp, #32]
add x0, x8, #8
ldr x8, [sp, #56]
ldr x8, [x8, #8]
ldursw x9, [x29, #-60]
ldr x1, [x8, x9, lsl #3]
bl _list_add
ldr x8, [sp, #48]
ldr x8, [x8, #8]
ldur w9, [x29, #-60]
ldr w10, [sp, #44]
subs w9, w9, w10
ldr x8, [x8, w9, sxtw #3]
ldr x8, [x8]
str x8, [sp, #24]
b LBB9_12
LBB9_12: ; Parent Loop BB9_5 Depth=1
; Parent Loop BB9_10 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #24]
ldr x9, [sp, #48]
ldr x9, [x9, #8]
ldur w10, [x29, #-60]
ldr w11, [sp, #44]
subs w10, w10, w11
ldr x9, [x9, w10, sxtw #3]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB9_15
b LBB9_13
LBB9_13: ; in Loop: Header=BB9_12 Depth=3
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #24]
mov x10, #24
mneg x9, x9, x10
add x8, x8, x9
str x8, [sp, #16]
mov x0, #24
bl _malloc
str x0, [sp, #32]
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x9, [sp, #32]
str x8, [x9]
ldr x8, [sp, #32]
add x0, x8, #8
ldr x8, [sp, #56]
ldr x8, [x8, #8]
ldursw x9, [x29, #-60]
ldr x1, [x8, x9, lsl #3]
bl _list_add_tail
b LBB9_14
LBB9_14: ; in Loop: Header=BB9_12 Depth=3
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #24]
b LBB9_12
LBB9_15: ; in Loop: Header=BB9_10 Depth=2
ldr x9, [sp, #56]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB9_16
LBB9_16: ; in Loop: Header=BB9_10 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB9_10
LBB9_17: ; in Loop: Header=BB9_5 Depth=1
b LBB9_19
LBB9_18:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB9_23
LBB9_19: ; in Loop: Header=BB9_5 Depth=1
b LBB9_20
LBB9_20: ; in Loop: Header=BB9_5 Depth=1
b LBB9_21
LBB9_21: ; in Loop: Header=BB9_5 Depth=1
ldur w8, [x29, #-56]
add w8, w8, #1
stur w8, [x29, #-56]
b LBB9_5
LBB9_22:
ldr x8, [sp, #56]
stur x8, [x29, #-8]
b LBB9_23
LBB9_23:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _word_break ; -- Begin function word_break
.p2align 2
_word_break: ; @word_break
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB10_7
LBB10_2:
str wzr, [sp, #28]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
str w8, [sp, #24]
ldursw x8, [x29, #-28]
lsl x0, x8, #2
bl _malloc
str x0, [sp, #16]
str wzr, [sp, #32]
b LBB10_3
LBB10_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_6
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_3 Depth=1
ldur x8, [x29, #-24]
ldrsw x9, [sp, #32]
ldr x0, [x8, x9, lsl #3]
bl _strlen
ldr x9, [sp, #16]
ldrsw x10, [sp, #32]
mov x8, x0
str w8, [x9, x10, lsl #2]
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_3 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB10_3
LBB10_6:
ldrsw x8, [sp, #24]
lsl x0, x8, #3
bl _malloc
str x0, [sp, #8]
ldr x0, [sp, #8]
ldrsw x8, [sp, #24]
lsl x2, x8, #3
mov w1, #0
str w1, [sp] ; 4-byte Folded Spill
mov x3, #-1
bl ___memset_chk
ldr w5, [sp] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldr x2, [sp, #16]
ldur w3, [x29, #-28]
ldr x4, [sp, #8]
bl _dfs
subs x8, x0, #0
cset w8, eq
mov w9, #1
and w8, w8, w9
strb w8, [sp, #7]
ldr x0, [sp, #16]
bl _free
ldr x0, [sp, #8]
bl _free
ldrb w8, [sp, #7]
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB10_7
LBB10_7:
ldurb w8, [x29, #-1]
and w0, w8, #0x1
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, #272
.cfi_def_cfa_offset 272
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub x9, x29, #104
str x9, [sp, #16] ; 8-byte Folded Spill
mov x8, x1
adrp x10, ___stack_chk_guard@GOTPAGE
ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
ldr x10, [x10]
stur x10, [x29, #-24]
mov w1, #0
str wzr, [sp, #124]
str w0, [sp, #120]
str x8, [sp, #112]
adrp x8, l___const.main.dict1@PAGE
add x8, x8, l___const.main.dict1@PAGEOFF
ldr q0, [x8]
stur q0, [x9, #56]
adrp x8, l_.str.7@PAGE
add x8, x8, l_.str.7@PAGEOFF
str x8, [sp, #104]
mov w8, #2
str w8, [sp, #100]
adrp x10, l___const.main.dict2@PAGE
add x10, x10, l___const.main.dict2@PAGEOFF
ldr q0, [x10]
stur q0, [x9, #40]
adrp x9, l_.str.10@PAGE
add x9, x9, l_.str.10@PAGEOFF
str x9, [sp, #88]
str w8, [sp, #84]
sub x0, x29, #104
str x0, [sp, #24] ; 8-byte Folded Spill
mov x2, #40
bl _memset
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
adrp x9, l_.str.11@PAGE
add x9, x9, l_.str.11@PAGEOFF
stur x9, [x29, #-104]
adrp x9, l_.str.12@PAGE
add x9, x9, l_.str.12@PAGEOFF
stur x9, [x29, #-96]
adrp x9, l_.str.13@PAGE
add x9, x9, l_.str.13@PAGEOFF
str x9, [x10, #16]
adrp x9, l_.str.14@PAGE
add x9, x9, l_.str.14@PAGEOFF
str x9, [x10, #24]
adrp x9, l_.str.15@PAGE
add x9, x9, l_.str.15@PAGEOFF
str x9, [x10, #32]
adrp x9, l_.str.16@PAGE
add x9, x9, l_.str.16@PAGEOFF
str x9, [sp, #72]
mov w9, #5
str w9, [sp, #68]
ldr x9, [sp, #72]
str x9, [sp, #128]
str x8, [sp, #136]
ldr w8, [sp, #68]
str w8, [sp, #144]
mov w8, #1
str w8, [sp, #60]
str wzr, [sp, #64]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #64]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_4
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
ldrsw x8, [sp, #64]
mov x10, #24
mul x9, x8, x10
add x8, sp, #128
ldr x9, [x8, x9]
str x9, [sp, #48]
ldrsw x9, [sp, #64]
mul x11, x9, x10
mov x9, x8
add x9, x9, x11
ldr x9, [x9, #8]
str x9, [sp, #40]
ldrsw x9, [sp, #64]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
str w8, [sp, #36]
ldr x8, [sp, #48]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldr x0, [sp, #40]
ldr w1, [sp, #36]
bl _print_words
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldr x0, [sp, #48]
ldr x1, [sp, #40]
ldr w2, [sp, #36]
bl _word_break
mov w8, #1
and w8, w0, w8
strb w8, [sp, #35]
ldrb w8, [sp, #35]
and w10, w8, #0x1
adrp x9, l_.str.21@PAGE
add x9, x9, l_.str.21@PAGEOFF
adrp x8, l_.str.20@PAGE
add x8, x8, l_.str.20@PAGEOFF
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB11_3
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
b LBB11_1
LBB11_4:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB11_6
b LBB11_5
LBB11_5:
bl ___stack_chk_fail
LBB11_6:
mov w0, #0
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "["
l_.str.2: ; @.str.2
.asciz "%s\"%s\""
l_.str.3: ; @.str.3
.asciz ", "
l_.str.4: ; @.str.4
.asciz "]"
l_.str.5: ; @.str.5
.asciz "leet"
l_.str.6: ; @.str.6
.asciz "code"
.section __DATA,__const
.p2align 3 ; @__const.main.dict1
l___const.main.dict1:
.quad l_.str.5
.quad l_.str.6
.section __TEXT,__cstring,cstring_literals
l_.str.7: ; @.str.7
.asciz "leetcode"
l_.str.8: ; @.str.8
.asciz "apple"
l_.str.9: ; @.str.9
.asciz "pen"
.section __DATA,__const
.p2align 3 ; @__const.main.dict2
l___const.main.dict2:
.quad l_.str.8
.quad l_.str.9
.section __TEXT,__cstring,cstring_literals
l_.str.10: ; @.str.10
.asciz "applepenapple"
l_.str.11: ; @.str.11
.asciz "cats"
l_.str.12: ; @.str.12
.asciz "dog"
l_.str.13: ; @.str.13
.asciz "sand"
l_.str.14: ; @.str.14
.asciz "and"
l_.str.15: ; @.str.15
.asciz "cat"
l_.str.16: ; @.str.16
.asciz "catsandog"
l_.str.17: ; @.str.17
.asciz "\n Input: s = \"%s\", wordDict = "
l_.str.18: ; @.str.18
.asciz "\n"
l_.str.19: ; @.str.19
.asciz "\n Output: %s\n"
l_.str.20: ; @.str.20
.asciz "true"
l_.str.21: ; @.str.21
.asciz "false"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_words ## -- Begin function print_words
.p2align 4, 0x90
_print_words: ## @print_words
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -24(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
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 -24(%rbp), %rsi
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rax
movq %rax, -24(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _INIT_LIST_HEAD ## -- Begin function INIT_LIST_HEAD
.p2align 4, 0x90
_INIT_LIST_HEAD: ## @INIT_LIST_HEAD
.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 -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _list_empty ## -- Begin function list_empty
.p2align 4, 0x90
_list_empty: ## @list_empty
.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), %rax
cmpq -8(%rbp), %rax
sete %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___list_add ## -- Begin function __list_add
.p2align 4, 0x90
___list_add: ## @__list_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _list_add ## -- Begin function list_add
.p2align 4, 0x90
_list_add: ## @list_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -16(%rbp), %rax
movq (%rax), %rdx
callq ___list_add
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _list_add_tail ## -- Begin function list_add_tail
.p2align 4, 0x90
_list_add_tail: ## @list_add_tail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rsi
movq -16(%rbp), %rdx
callq ___list_add
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___list_del ## -- Begin function __list_del
.p2align 4, 0x90
___list_del: ## @__list_del
.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 8(%rax), %rcx
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _list_del ## -- Begin function list_del
.p2align 4, 0x90
_list_del: ## @list_del
.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 ___list_del
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movq $0, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _resize ## -- Begin function resize
.p2align 4, 0x90
_resize: ## @resize
.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
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
movq -24(%rbp), %rcx
cmpl 4(%rcx), %eax
jle LBB8_9
## %bb.1:
movq -24(%rbp), %rax
movl 4(%rax), %ecx
shll $1, %ecx
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
movslq 4(%rax), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -32(%rbp)
movl $0, -16(%rbp)
LBB8_2: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB8_8
## %bb.3: ## in Loop: Header=BB8_2 Depth=1
movl -16(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB8_5
## %bb.4: ## in Loop: Header=BB8_2 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -32(%rbp), %rax
movslq -16(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
jmp LBB8_6
LBB8_5: ## in Loop: Header=BB8_2 Depth=1
movl $16, %edi
callq _malloc
movq %rax, %rdx
movq -32(%rbp), %rax
movslq -16(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -32(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _INIT_LIST_HEAD
LBB8_6: ## in Loop: Header=BB8_2 Depth=1
jmp LBB8_7
LBB8_7: ## in Loop: Header=BB8_2 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB8_2
LBB8_8:
jmp LBB8_9
LBB8_9:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _free
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dfs ## -- Begin function dfs
.p2align 4, 0x90
_dfs: ## @dfs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movq %r8, -48(%rbp)
movl %r9d, -52(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB9_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB9_23
LBB9_2:
movq -48(%rbp), %rax
movslq -52(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB9_4
## %bb.3:
movq -48(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -8(%rbp)
jmp LBB9_23
LBB9_4:
movl $16, %edi
callq _malloc
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movl $0, (%rax)
movq -72(%rbp), %rax
movl $1, 4(%rax)
movl $8, %edi
callq _malloc
movq %rax, %rcx
movq -72(%rbp), %rax
movq %rcx, 8(%rax)
movl $16, %edi
callq _malloc
movq %rax, %rcx
movq -72(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, (%rax)
movq -72(%rbp), %rax
movq 8(%rax), %rax
movq (%rax), %rdi
callq _INIT_LIST_HEAD
movq -72(%rbp), %rdx
movq -48(%rbp), %rax
movslq -52(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl $0, -56(%rbp)
LBB9_5: ## =>This Loop Header: Depth=1
## Child Loop BB9_10 Depth 2
## Child Loop BB9_12 Depth 3
movl -56(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB9_22
## %bb.6: ## in Loop: Header=BB9_5 Depth=1
movq -16(%rbp), %rdi
callq _strlen
movq -32(%rbp), %rcx
movslq -56(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
cmpq %rcx, %rax
jb LBB9_20
## %bb.7: ## in Loop: Header=BB9_5 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
movslq (%rax,%rcx,4), %rdx
callq _memcmp
cmpl $0, %eax
jne LBB9_20
## %bb.8: ## in Loop: Header=BB9_5 Depth=1
movq -16(%rbp), %rdi
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
movslq (%rax,%rcx,4), %rax
addq %rax, %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movl -36(%rbp), %ecx
movq -48(%rbp), %r8
movl -52(%rbp), %r9d
movq -32(%rbp), %rax
movslq -56(%rbp), %r10
addl (%rax,%r10,4), %r9d
callq _dfs
movq %rax, -80(%rbp)
cmpq $0, -80(%rbp)
je LBB9_18
## %bb.9: ## in Loop: Header=BB9_5 Depth=1
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
movl %eax, -60(%rbp)
LBB9_10: ## Parent Loop BB9_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB9_12 Depth 3
movl -60(%rbp), %eax
movl -84(%rbp), %ecx
movq -80(%rbp), %rdx
addl (%rdx), %ecx
cmpl %ecx, %eax
jge LBB9_17
## %bb.11: ## in Loop: Header=BB9_10 Depth=2
movq -48(%rbp), %rdi
movl -52(%rbp), %esi
callq _resize
movq %rax, -72(%rbp)
movl $24, %edi
callq _malloc
movq %rax, -96(%rbp)
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
movq -96(%rbp), %rax
movq %rcx, (%rax)
movq -96(%rbp), %rdi
addq $8, %rdi
movq -72(%rbp), %rax
movq 8(%rax), %rax
movslq -60(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _list_add
movq -80(%rbp), %rax
movq 8(%rax), %rax
movl -60(%rbp), %ecx
subl -84(%rbp), %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, -104(%rbp)
LBB9_12: ## Parent Loop BB9_5 Depth=1
## Parent Loop BB9_10 Depth=2
## => This Inner Loop Header: Depth=3
movq -104(%rbp), %rax
movq -80(%rbp), %rcx
movq 8(%rcx), %rcx
movl -60(%rbp), %edx
subl -84(%rbp), %edx
movslq %edx, %rdx
cmpq (%rcx,%rdx,8), %rax
je LBB9_15
## %bb.13: ## in Loop: Header=BB9_12 Depth=3
movq -104(%rbp), %rax
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
movq %rcx, %rdx
addq $8, %rdx
subq %rdx, %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movq %rax, -112(%rbp)
movl $24, %edi
callq _malloc
movq %rax, -96(%rbp)
movq -112(%rbp), %rax
movq (%rax), %rcx
movq -96(%rbp), %rax
movq %rcx, (%rax)
movq -96(%rbp), %rdi
addq $8, %rdi
movq -72(%rbp), %rax
movq 8(%rax), %rax
movslq -60(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _list_add_tail
## %bb.14: ## in Loop: Header=BB9_12 Depth=3
movq -104(%rbp), %rax
movq (%rax), %rax
movq %rax, -104(%rbp)
jmp LBB9_12
LBB9_15: ## in Loop: Header=BB9_10 Depth=2
movq -72(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
## %bb.16: ## in Loop: Header=BB9_10 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB9_10
LBB9_17: ## in Loop: Header=BB9_5 Depth=1
jmp LBB9_19
LBB9_18:
movq $0, -8(%rbp)
jmp LBB9_23
LBB9_19: ## in Loop: Header=BB9_5 Depth=1
jmp LBB9_20
LBB9_20: ## in Loop: Header=BB9_5 Depth=1
jmp LBB9_21
LBB9_21: ## in Loop: Header=BB9_5 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB9_5
LBB9_22:
movq -72(%rbp), %rax
movq %rax, -8(%rbp)
LBB9_23:
movq -8(%rbp), %rax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _word_break ## -- Begin function word_break
.p2align 4, 0x90
_word_break: ## @word_break
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
cmpl $1, -28(%rbp)
jge LBB10_2
## %bb.1:
movb $0, -1(%rbp)
jmp LBB10_7
LBB10_2:
movl $0, -36(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movslq -28(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -48(%rbp)
movl $0, -32(%rbp)
LBB10_3: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB10_6
## %bb.4: ## in Loop: Header=BB10_3 Depth=1
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _strlen
movl %eax, %edx
movq -48(%rbp), %rax
movslq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -48(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -36(%rbp), %eax
movl %eax, -36(%rbp)
## %bb.5: ## in Loop: Header=BB10_3 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB10_3
LBB10_6:
movslq -40(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
movslq -40(%rbp), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -48(%rbp), %rdx
movl -28(%rbp), %ecx
movq -56(%rbp), %r8
xorl %r9d, %r9d
callq _dfs
cmpq $0, %rax
sete %al
andb $1, %al
movb %al, -57(%rbp)
movq -48(%rbp), %rdi
callq _free
movq -56(%rbp), %rdi
callq _free
movb -57(%rbp), %al
andb $1, %al
movb %al, -1(%rbp)
LBB10_7:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -132(%rbp)
movl %edi, -136(%rbp)
movq %rsi, -144(%rbp)
movq l___const.main.dict1(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.dict1+8(%rip), %rax
movq %rax, -24(%rbp)
leaq L_.str.7(%rip), %rax
movq %rax, -152(%rbp)
movl $2, -156(%rbp)
movq l___const.main.dict2(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.dict2+8(%rip), %rax
movq %rax, -40(%rbp)
leaq L_.str.10(%rip), %rax
movq %rax, -168(%rbp)
movl $2, -172(%rbp)
leaq -96(%rbp), %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
leaq L_.str.11(%rip), %rax
movq %rax, -96(%rbp)
leaq L_.str.12(%rip), %rax
movq %rax, -88(%rbp)
leaq L_.str.13(%rip), %rax
movq %rax, -80(%rbp)
leaq L_.str.14(%rip), %rax
movq %rax, -72(%rbp)
leaq L_.str.15(%rip), %rax
movq %rax, -64(%rbp)
leaq L_.str.16(%rip), %rax
movq %rax, -184(%rbp)
movl $5, -188(%rbp)
movq -184(%rbp), %rax
movq %rax, -128(%rbp)
leaq -96(%rbp), %rax
movq %rax, -120(%rbp)
movl -188(%rbp), %eax
movl %eax, -112(%rbp)
movl $1, -196(%rbp)
movl $0, -192(%rbp)
LBB11_1: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp), %eax
cmpl -196(%rbp), %eax
jge LBB11_4
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movslq -192(%rbp), %rcx
leaq -128(%rbp), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -208(%rbp)
movslq -192(%rbp), %rcx
leaq -128(%rbp), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movq 8(%rax), %rax
movq %rax, -216(%rbp)
movslq -192(%rbp), %rcx
leaq -128(%rbp), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movl 16(%rax), %eax
movl %eax, -220(%rbp)
movq -208(%rbp), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
movq -216(%rbp), %rdi
movl -220(%rbp), %esi
callq _print_words
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movq -208(%rbp), %rdi
movq -216(%rbp), %rsi
movl -220(%rbp), %edx
callq _word_break
andb $1, %al
movb %al, -221(%rbp)
movb -221(%rbp), %cl
leaq L_.str.21(%rip), %rsi
leaq L_.str.20(%rip), %rax
testb $1, %cl
cmovneq %rax, %rsi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB11_1 Depth=1
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB11_1
LBB11_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB11_6
## %bb.5:
xorl %eax, %eax
addq $224, %rsp
popq %rbp
retq
LBB11_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "["
L_.str.2: ## @.str.2
.asciz "%s\"%s\""
L_.str.3: ## @.str.3
.asciz ", "
L_.str.4: ## @.str.4
.asciz "]"
L_.str.5: ## @.str.5
.asciz "leet"
L_.str.6: ## @.str.6
.asciz "code"
.section __DATA,__const
.p2align 4 ## @__const.main.dict1
l___const.main.dict1:
.quad L_.str.5
.quad L_.str.6
.section __TEXT,__cstring,cstring_literals
L_.str.7: ## @.str.7
.asciz "leetcode"
L_.str.8: ## @.str.8
.asciz "apple"
L_.str.9: ## @.str.9
.asciz "pen"
.section __DATA,__const
.p2align 4 ## @__const.main.dict2
l___const.main.dict2:
.quad L_.str.8
.quad L_.str.9
.section __TEXT,__cstring,cstring_literals
L_.str.10: ## @.str.10
.asciz "applepenapple"
L_.str.11: ## @.str.11
.asciz "cats"
L_.str.12: ## @.str.12
.asciz "dog"
L_.str.13: ## @.str.13
.asciz "sand"
L_.str.14: ## @.str.14
.asciz "and"
L_.str.15: ## @.str.15
.asciz "cat"
L_.str.16: ## @.str.16
.asciz "catsandog"
L_.str.17: ## @.str.17
.asciz "\n Input: s = \"%s\", wordDict = "
L_.str.18: ## @.str.18
.asciz "\n"
L_.str.19: ## @.str.19
.asciz "\n Output: %s\n"
L_.str.20: ## @.str.20
.asciz "true"
L_.str.21: ## @.str.21
.asciz "false"
.subsections_via_symbols
| the_stack_data/151706763.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, #192
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-92]
stur xzr, [x29, #-112]
stur wzr, [x29, #-116]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
sub sp, sp, #16
mov x9, sp
sub x8, x29, #104
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-104]
ldursw x10, [x29, #-116]
sub x9, x29, #88
str x8, [x9, x10, lsl #3]
ldur w8, [x29, #-116]
add w8, w8, #1
stur w8, [x29, #-116]
ldur x8, [x29, #-112]
ldur x9, [x29, #-104]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-104]
stur x8, [x29, #-112]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_5:
ldur x8, [x29, #-112]
mov x9, sp
stur x9, [x29, #-128]
lsl x9, x8, #3
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-176] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-176] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-168] ; 8-byte Folded Spill
stur x8, [x29, #-136]
stur xzr, [x29, #-144]
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-144]
ldur x9, [x29, #-112]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldur x9, [x29, #-168] ; 8-byte Folded Reload
ldur x10, [x29, #-144]
mov x8, #-1
str x8, [x9, x10, lsl #3]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldur x8, [x29, #-144]
add x8, x8, #1
stur x8, [x29, #-144]
b LBB0_6
LBB0_9:
ldur x8, [x29, #-168] ; 8-byte Folded Reload
str xzr, [x8]
stur wzr, [x29, #-148]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-148]
ldur w9, [x29, #-116]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldur x1, [x29, #-168] ; 8-byte Folded Reload
ldursw x9, [x29, #-148]
sub x8, x29, #88
stur x8, [x29, #-184] ; 8-byte Folded Spill
ldr x0, [x8, x9, lsl #3]
bl _func
ldur x9, [x29, #-184] ; 8-byte Folded Reload
ldur x8, [x29, #-168] ; 8-byte Folded Reload
stur x0, [x29, #-160]
ldursw x10, [x29, #-148]
ldr x9, [x9, x10, lsl #3]
ldr x8, [x8, x9, lsl #3]
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #16
ldur w8, [x29, #-148]
add w8, w8, #1
stur w8, [x29, #-148]
b LBB0_10
LBB0_12:
stur wzr, [x29, #-92]
ldur x8, [x29, #-128]
mov sp, x8
ldur w8, [x29, #-92]
stur w8, [x29, #-188] ; 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_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
ldur w0, [x29, #-188] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _func ; -- Begin function func
.p2align 2
_func: ; @func
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
b LBB1_6
LBB1_2:
ldur x8, [x29, #-8]
subs x8, x8, #12
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldur x10, [x29, #-8]
str x8, [x9, x10, lsl #3]
b LBB1_5
LBB1_4:
ldur x8, [x29, #-8]
mov x9, #2
sdiv x0, x8, x9
ldr x1, [sp, #16]
bl _func
str x0, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
mov x9, #3
sdiv x0, x8, x9
ldr x1, [sp, #16]
bl _func
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
add x8, x0, x8
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
mov x9, #4
sdiv x0, x8, x9
ldr x1, [sp, #16]
bl _func
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x8, x8, x0
ldr x9, [sp, #16]
ldur x10, [x29, #-8]
str x8, [x9, x10, lsl #3]
b LBB1_5
LBB1_5:
b LBB1_6
LBB1_6:
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
ldr x0, [x8, x9, lsl #3]
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 "%ld"
l_.str.1: ; @.str.1
.asciz "%ld\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 $192, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
movq $0, -120(%rbp)
movl $0, -124(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -112(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $0, %eax
jle LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -112(%rbp), %rcx
movslq -124(%rbp), %rax
movq %rcx, -96(%rbp,%rax,8)
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
movq -120(%rbp), %rax
cmpq -112(%rbp), %rax
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -112(%rbp), %rax
movq %rax, -120(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_5:
movq -120(%rbp), %rax
movq %rax, -184(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -136(%rbp)
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -184(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -176(%rbp) ## 8-byte Spill
movq %rax, -144(%rbp)
movq $0, -152(%rbp)
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq -152(%rbp), %rax
cmpq -120(%rbp), %rax
jge LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -176(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rcx
movq $-1, (%rax,%rcx,8)
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq -152(%rbp), %rax
addq $1, %rax
movq %rax, -152(%rbp)
jmp LBB0_6
LBB0_9:
movq -176(%rbp), %rax ## 8-byte Reload
movq $0, (%rax)
movl $0, -156(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl -156(%rbp), %eax
cmpl -124(%rbp), %eax
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq -176(%rbp), %rsi ## 8-byte Reload
movslq -156(%rbp), %rax
movq -96(%rbp,%rax,8), %rdi
callq _func
movq %rax, %rcx
movq -176(%rbp), %rax ## 8-byte Reload
movq %rcx, -168(%rbp)
movslq -156(%rbp), %rcx
movq -96(%rbp,%rcx,8), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%rbp)
jmp LBB0_10
LBB0_12:
movl $0, -100(%rbp)
movq -136(%rbp), %rax
movq %rax, %rsp
movl -100(%rbp), %eax
movl %eax, -188(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_14
## %bb.13:
movl -188(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _func ## -- Begin function func
.p2align 4, 0x90
_func: ## @func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB1_2
## %bb.1:
jmp LBB1_6
LBB1_2:
cmpq $12, -8(%rbp)
jge LBB1_4
## %bb.3:
movq -8(%rbp), %rdx
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
jmp LBB1_5
LBB1_4:
movq -8(%rbp), %rax
movl $2, %ecx
cqto
idivq %rcx
movq %rax, %rdi
movq -16(%rbp), %rsi
callq _func
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movl $3, %ecx
cqto
idivq %rcx
movq %rax, %rdi
movq -16(%rbp), %rsi
callq _func
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movl $4, %ecx
cqto
idivq %rcx
movq %rax, %rdi
movq -16(%rbp), %rsi
callq _func
movq -24(%rbp), %rdx ## 8-byte Reload
addq %rax, %rdx
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB1_5:
jmp LBB1_6
LBB1_6:
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%ld"
L_.str.1: ## @.str.1
.asciz "%ld\n"
.subsections_via_symbols
| the_stack_data/182953118.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show_bytes ; -- Begin function show_bytes
.p2align 2
_show_bytes: ; @show_bytes
.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 xzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
ldrb 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_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_1
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _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]
add x0, sp, #8
mov w8, #-1
str w8, [sp, #8]
mov x1, #4
bl _show_bytes
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " %.2x"
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show_bytes ## -- Begin function show_bytes
.p2align 4, 0x90
_show_bytes: ## @show_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 $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movzbl (%rax,%rcx), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
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 $-1, -8(%rbp)
leaq -8(%rbp), %rdi
movl $4, %esi
callq _show_bytes
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %.2x"
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
| the_stack_data/198580363.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _simple ; -- Begin function simple
.p2align 2
_simple: ; @simple
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
mov x8, #2
str x8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #8]
mul x8, x8, x9
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldr x10, [sp, #8]
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
str wzr, [sp, #28]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_1
LBB0_6:
mov w8, #1
str w8, [sp, #28]
b LBB0_7
LBB0_7:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
fmov d0, #2.00000000
stur d0, [x29, #-16]
mov w8, #2
stur w8, [x29, #-20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #31
cset w8, gt
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldursw x0, [x29, #-20]
bl _simple
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur d0, [x29, #-16]
ldur s2, [x29, #-20]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
bl _pow
fmov d1, #1.00000000
fsub d0, d0, d1
fcvtzs x8, d0
str x8, [sp, #16]
ldr x0, [sp, #16]
bl _simple
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB1_1
LBB1_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 "%lld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _simple ## -- Begin function simple
.p2align 4, 0x90
_simple: ## @simple
.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 $2, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
imulq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
cqto
idivq -24(%rbp)
cmpq $0, %rdx
jne LBB0_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_1
LBB0_6:
movl $1, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x4000000000000000 ## double 2
LCPI1_1:
.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 $32, %rsp
movl $0, -4(%rbp)
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movl $2, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $31, -20(%rbp)
jg LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -20(%rbp), %rdi
callq _simple
cmpl $0, %eax
je LBB1_6
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdl -20(%rbp), %xmm1
callq _pow
movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _simple
cmpl $0, %eax
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_6
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_8:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lld\n"
.subsections_via_symbols
| the_stack_data/181392028.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/523935.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dereference_bad ; -- Begin function dereference_bad
.p2align 2
_dereference_bad: ; @dereference_bad
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr x8, [sp, #8]
ldr w0, [x8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _self_assign_bad ; -- Begin function self_assign_bad
.p2align 2
_self_assign_bad: ; @self_assign_bad
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr w8, [sp, #12]
str w8, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _call_to_use_and_mayinit_bad ; -- Begin function call_to_use_and_mayinit_bad
.p2align 2
_call_to_use_and_mayinit_bad: ; @call_to_use_and_mayinit_bad
.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
sub x1, x29, #4
ldur w0, [x29, #-4]
bl _use_and_mayinit
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _malloc_good ; -- Begin function malloc_good
.p2align 2
_malloc_good: ; @malloc_good
.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 x0, #4
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x9, [sp, #8]
mov w8, #5
str w8, [x9]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
b LBB3_2
LBB3_2:
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 _malloc_bad ; -- Begin function malloc_bad
.p2align 2
_malloc_bad: ; @malloc_bad
.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 x0, #4
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
b LBB4_2
LBB4_2:
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 _init_int_ref ; -- Begin function init_int_ref
.p2align 2
_init_int_ref: ; @init_int_ref
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
mov w8, #5
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _interprocedural_init_in_callee_good ; -- Begin function interprocedural_init_in_callee_good
.p2align 2
_interprocedural_init_in_callee_good: ; @interprocedural_init_in_callee_good
.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
sub x0, x29, #4
bl _init_int_ref
ldur w8, [x29, #-4]
str w8, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nop ; -- Begin function nop
.p2align 2
_nop: ; @nop
.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 _interprocedural_nop_in_callee_bad ; -- Begin function interprocedural_nop_in_callee_bad
.p2align 2
_interprocedural_nop_in_callee_bad: ; @interprocedural_nop_in_callee_bad
.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
sub x0, x29, #4
bl _nop
ldur w8, [x29, #-4]
str w8, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _read_int_ref ; -- Begin function read_int_ref
.p2align 2
_read_int_ref: ; @read_int_ref
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _interprocedural_read_in_callee_bad ; -- Begin function interprocedural_read_in_callee_bad
.p2align 2
_interprocedural_read_in_callee_bad: ; @interprocedural_read_in_callee_bad
.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
sub x0, x29, #4
bl _read_int_ref
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _uninit ; -- Begin function uninit
.p2align 2
_uninit: ; @uninit
.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 x0, #4
bl _malloc
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _interprocedural_uninit_in_callee_bad ; -- Begin function interprocedural_uninit_in_callee_bad
.p2align 2
_interprocedural_uninit_in_callee_bad: ; @interprocedural_uninit_in_callee_bad
.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 _uninit
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
b LBB12_2
LBB12_2:
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 _get_field_address_good ; -- Begin function get_field_address_good
.p2align 2
_get_field_address_good: ; @get_field_address_good
.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 x0, #8
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
ldr x8, [sp, #8]
str x8, [sp]
b LBB13_2
LBB13_2:
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 _init_f1 ; -- Begin function init_f1
.p2align 2
_init_f1: ; @init_f1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
mov w8, #5
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _interprocedural_struct_good ; -- Begin function interprocedural_struct_good
.p2align 2
_interprocedural_struct_good: ; @interprocedural_struct_good
.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
add x0, sp, #8
bl _init_f1
ldr w8, [sp, #8]
str w8, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _interprocedural_struct_bad ; -- Begin function interprocedural_struct_bad
.p2align 2
_interprocedural_struct_bad: ; @interprocedural_struct_bad
.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
add x0, sp, #8
bl _init_f1
ldr w8, [sp, #12]
str w8, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _malloc_array_good ; -- Begin function malloc_array_good
.p2align 2
_malloc_array_good: ; @malloc_array_good
.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]
ldursw x0, [x29, #-4]
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
ldr x9, [sp, #16]
mov w8, #97
strb w8, [x9]
ldr x8, [sp, #16]
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB17_2
LBB17_2:
ldr x0, [sp, #16]
bl _free
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _unknown_wrapper ; -- Begin function unknown_wrapper
.p2align 2
_unknown_wrapper: ; @unknown_wrapper
.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 _unknown_struct
str x0, [sp, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _havoc_calling_unknown_struct_good ; -- Begin function havoc_calling_unknown_struct_good
.p2align 2
_havoc_calling_unknown_struct_good: ; @havoc_calling_unknown_struct_good
.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 _unknown_wrapper
str x0, [sp, #8]
ldr w8, [sp, #8]
str w8, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _malloc_array_bad_FN ; -- Begin function malloc_array_bad_FN
.p2align 2
_malloc_array_bad_FN: ; @malloc_array_bad_FN
.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]
ldursw x0, [x29, #-4]
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB20_2
b LBB20_1
LBB20_1:
ldr x9, [sp, #16]
mov w8, #97
strb w8, [x9]
ldr x8, [sp, #16]
ldrb w8, [x8, #1]
strb w8, [sp, #15]
b LBB20_2
LBB20_2:
ldr x0, [sp, #16]
bl _free
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _local_array_good ; -- Begin function local_array_good
.p2align 2
_local_array_good: ; @local_array_good
.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]
add x0, sp, #14
mov w8, #97
strb w8, [sp, #14]
ldrb w8, [sp, #14]
strb w8, [sp, #13]
bl _free
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, LBB21_2
b LBB21_1
LBB21_1:
bl ___stack_chk_fail
LBB21_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _local_array_bad_FN ; -- Begin function local_array_bad_FN
.p2align 2
_local_array_bad_FN: ; @local_array_bad_FN
.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]
add x0, sp, #14
mov w8, #97
strb w8, [sp, #14]
ldrb w8, [sp, #15]
strb w8, [sp, #13]
bl _free
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, LBB22_2
b LBB22_1
LBB22_1:
bl ___stack_chk_fail
LBB22_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _read_g1_f1 ; -- Begin function read_g1_f1
.p2align 2
_read_g1_f1: ; @read_g1_f1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _nested_struct_good ; -- Begin function nested_struct_good
.p2align 2
_nested_struct_good: ; @nested_struct_good
.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
add x0, sp, #4
mov w8, #42
str w8, [sp, #4]
bl _read_g1_f1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nested_struct_bad ; -- Begin function nested_struct_bad
.p2align 2
_nested_struct_bad: ; @nested_struct_bad
.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
add x0, sp, #4
mov w8, #42
str w8, [sp, #8]
bl _read_g1_f1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _init_ptr_zero ; -- Begin function init_ptr_zero
.p2align 2
_init_ptr_zero: ; @init_ptr_zero
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB26_2
b LBB26_1
LBB26_1:
ldr x9, [sp, #8]
mov w8, #42
str w8, [x9]
b LBB26_3
LBB26_2:
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
mov w8, #42
str w8, [x9, x10, lsl #2]
b LBB26_3
LBB26_3:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _call_init_ptr_zero_good ; -- Begin function call_init_ptr_zero_good
.p2align 2
_call_init_ptr_zero_good: ; @call_init_ptr_zero_good
.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
sub x0, x29, #4
mov w1, #0
bl _init_ptr_zero
ldur w8, [x29, #-4]
str w8, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _uninit_if_zero_latent ; -- Begin function uninit_if_zero_latent
.p2align 2
_uninit_if_zero_latent: ; @uninit_if_zero_latent
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB28_2
b LBB28_1
LBB28_1:
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #16]
mov w8, #4
str w8, [sp, #12]
ldr w8, [sp, #12]
str w8, [sp, #28]
b LBB28_3
LBB28_2:
mov w8, #10
str w8, [sp, #28]
b LBB28_3
LBB28_3:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _uninit_interproc_manifest_bad ; -- Begin function uninit_interproc_manifest_bad
.p2align 2
_uninit_interproc_manifest_bad: ; @uninit_interproc_manifest_bad
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
bl _uninit_if_zero_latent
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB29_2
b LBB29_1
LBB29_1:
; kill: def $x8 killed $xzr
str xzr, [sp]
ldr x9, [sp]
mov w8, #42
str w8, [x9]
b LBB29_2
LBB29_2:
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 _dereference_bad ## -- Begin function dereference_bad
.p2align 4, 0x90
_dereference_bad: ## @dereference_bad
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq -8(%rbp), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _self_assign_bad ## -- Begin function self_assign_bad
.p2align 4, 0x90
_self_assign_bad: ## @self_assign_bad
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl -4(%rbp), %eax
movl %eax, -4(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _call_to_use_and_mayinit_bad ## -- Begin function call_to_use_and_mayinit_bad
.p2align 4, 0x90
_call_to_use_and_mayinit_bad: ## @call_to_use_and_mayinit_bad
.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 -4(%rbp), %edi
leaq -4(%rbp), %rsi
callq _use_and_mayinit
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _malloc_good ## -- Begin function malloc_good
.p2align 4, 0x90
_malloc_good: ## @malloc_good
.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 $4, %edi
callq _malloc
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movl $5, (%rax)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
LBB3_2:
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _malloc_bad ## -- Begin function malloc_bad
.p2align 4, 0x90
_malloc_bad: ## @malloc_bad
.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 $4, %edi
callq _malloc
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB4_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
LBB4_2:
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_int_ref ## -- Begin function init_int_ref
.p2align 4, 0x90
_init_int_ref: ## @init_int_ref
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl $5, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _interprocedural_init_in_callee_good ## -- Begin function interprocedural_init_in_callee_good
.p2align 4, 0x90
_interprocedural_init_in_callee_good: ## @interprocedural_init_in_callee_good
.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 -4(%rbp), %rdi
callq _init_int_ref
movl -4(%rbp), %eax
movl %eax, -8(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nop ## -- Begin function nop
.p2align 4, 0x90
_nop: ## @nop
.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 _interprocedural_nop_in_callee_bad ## -- Begin function interprocedural_nop_in_callee_bad
.p2align 4, 0x90
_interprocedural_nop_in_callee_bad: ## @interprocedural_nop_in_callee_bad
.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 -4(%rbp), %rdi
callq _nop
movl -4(%rbp), %eax
movl %eax, -8(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read_int_ref ## -- Begin function read_int_ref
.p2align 4, 0x90
_read_int_ref: ## @read_int_ref
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _interprocedural_read_in_callee_bad ## -- Begin function interprocedural_read_in_callee_bad
.p2align 4, 0x90
_interprocedural_read_in_callee_bad: ## @interprocedural_read_in_callee_bad
.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 -4(%rbp), %rdi
callq _read_int_ref
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _uninit ## -- Begin function uninit
.p2align 4, 0x90
_uninit: ## @uninit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4, %edi
callq _malloc
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _interprocedural_uninit_in_callee_bad ## -- Begin function interprocedural_uninit_in_callee_bad
.p2align 4, 0x90
_interprocedural_uninit_in_callee_bad: ## @interprocedural_uninit_in_callee_bad
.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 _uninit
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB12_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
LBB12_2:
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_field_address_good ## -- Begin function get_field_address_good
.p2align 4, 0x90
_get_field_address_good: ## @get_field_address_good
.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 $8, %edi
callq _malloc
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB13_2
## %bb.1:
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
LBB13_2:
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_f1 ## -- Begin function init_f1
.p2align 4, 0x90
_init_f1: ## @init_f1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl $5, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _interprocedural_struct_good ## -- Begin function interprocedural_struct_good
.p2align 4, 0x90
_interprocedural_struct_good: ## @interprocedural_struct_good
.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 -8(%rbp), %rdi
callq _init_f1
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _interprocedural_struct_bad ## -- Begin function interprocedural_struct_bad
.p2align 4, 0x90
_interprocedural_struct_bad: ## @interprocedural_struct_bad
.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 -8(%rbp), %rdi
callq _init_f1
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _malloc_array_good ## -- Begin function malloc_array_good
.p2align 4, 0x90
_malloc_array_good: ## @malloc_array_good
.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)
movslq -4(%rbp), %rdi
callq _malloc
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB17_2
## %bb.1:
movq -16(%rbp), %rax
movb $97, (%rax)
movq -16(%rbp), %rax
movb (%rax), %al
movb %al, -17(%rbp)
LBB17_2:
movq -16(%rbp), %rdi
callq _free
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _unknown_wrapper ## -- Begin function unknown_wrapper
.p2align 4, 0x90
_unknown_wrapper: ## @unknown_wrapper
.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 _unknown_struct
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _havoc_calling_unknown_struct_good ## -- Begin function havoc_calling_unknown_struct_good
.p2align 4, 0x90
_havoc_calling_unknown_struct_good: ## @havoc_calling_unknown_struct_good
.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 _unknown_wrapper
movq %rax, -8(%rbp)
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _malloc_array_bad_FN ## -- Begin function malloc_array_bad_FN
.p2align 4, 0x90
_malloc_array_bad_FN: ## @malloc_array_bad_FN
.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)
movslq -4(%rbp), %rdi
callq _malloc
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB20_2
## %bb.1:
movq -16(%rbp), %rax
movb $97, (%rax)
movq -16(%rbp), %rax
movb 1(%rax), %al
movb %al, -17(%rbp)
LBB20_2:
movq -16(%rbp), %rdi
callq _free
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _local_array_good ## -- Begin function local_array_good
.p2align 4, 0x90
_local_array_good: ## @local_array_good
.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)
movb $97, -18(%rbp)
movb -18(%rbp), %al
movb %al, -19(%rbp)
leaq -18(%rbp), %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB21_2
## %bb.1:
addq $32, %rsp
popq %rbp
retq
LBB21_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _local_array_bad_FN ## -- Begin function local_array_bad_FN
.p2align 4, 0x90
_local_array_bad_FN: ## @local_array_bad_FN
.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)
movb $97, -18(%rbp)
movb -17(%rbp), %al
movb %al, -19(%rbp)
leaq -18(%rbp), %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB22_2
## %bb.1:
addq $32, %rsp
popq %rbp
retq
LBB22_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _read_g1_f1 ## -- Begin function read_g1_f1
.p2align 4, 0x90
_read_g1_f1: ## @read_g1_f1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nested_struct_good ## -- Begin function nested_struct_good
.p2align 4, 0x90
_nested_struct_good: ## @nested_struct_good
.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 $42, -16(%rbp)
leaq -16(%rbp), %rdi
callq _read_g1_f1
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nested_struct_bad ## -- Begin function nested_struct_bad
.p2align 4, 0x90
_nested_struct_bad: ## @nested_struct_bad
.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 $42, -12(%rbp)
leaq -16(%rbp), %rdi
callq _read_g1_f1
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_ptr_zero ## -- Begin function init_ptr_zero
.p2align 4, 0x90
_init_ptr_zero: ## @init_ptr_zero
.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)
cmpl $0, -12(%rbp)
je LBB26_2
## %bb.1:
movq -8(%rbp), %rax
movl $42, (%rax)
jmp LBB26_3
LBB26_2:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl $42, (%rax,%rcx,4)
LBB26_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _call_init_ptr_zero_good ## -- Begin function call_init_ptr_zero_good
.p2align 4, 0x90
_call_init_ptr_zero_good: ## @call_init_ptr_zero_good
.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 -4(%rbp), %rdi
xorl %esi, %esi
callq _init_ptr_zero
movl -4(%rbp), %eax
movl %eax, -8(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _uninit_if_zero_latent ## -- Begin function uninit_if_zero_latent
.p2align 4, 0x90
_uninit_if_zero_latent: ## @uninit_if_zero_latent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
cmpl $0, -8(%rbp)
jne LBB28_2
## %bb.1:
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl $4, -20(%rbp)
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB28_3
LBB28_2:
movl $10, -4(%rbp)
LBB28_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _uninit_interproc_manifest_bad ## -- Begin function uninit_interproc_manifest_bad
.p2align 4, 0x90
_uninit_interproc_manifest_bad: ## @uninit_interproc_manifest_bad
.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
xorl %edi, %edi
callq _uninit_if_zero_latent
movl %eax, -4(%rbp)
cmpl $4, -4(%rbp)
jne LBB29_2
## %bb.1:
movq $0, -16(%rbp)
movq -16(%rbp), %rax
movl $42, (%rax)
LBB29_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/23724.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/135051.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-20]
adrp x8, l___const.main.texto@PAGE
add x8, x8, l___const.main.texto@PAGEOFF
ldr x8, [x8]
sub x0, x29, #16
str x0, [sp, #16] ; 8-byte Folded Spill
stur x8, [x29, #-16]
bl _ordenacaoBinaria
ldr x8, [sp, #16] ; 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, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ordenacaoBinaria ; -- Begin function ordenacaoBinaria
.p2align 2
_ordenacaoBinaria: ; @ordenacaoBinaria
.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 x0, [x29, #-8]
bl _strlen
mov x8, x0
stur w8, [x29, #-20]
mov w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
; Child Loop BB1_9 Depth 2
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_14
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
str wzr, [sp, #16]
ldur w8, [x29, #-12]
str w8, [sp, #20]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #20]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #24]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
ldrsb w9, [sp, #15]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_7
LBB1_6: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #24]
str w8, [sp, #20]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=2
b LBB1_3
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
stur w8, [x29, #-16]
b LBB1_9
LBB1_9: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_12
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=2
ldur x8, [x29, #-8]
ldur w9, [x29, #-16]
subs w9, w9, #1
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-16]
add x9, x9, x10
strb w8, [x9]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_9 Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB1_9
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
ldrb w8, [sp, #15]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #20]
add x9, x9, x10
strb w8, [x9]
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_14:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.texto: ; @__const.main.texto
.asciz "heflain"
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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -20(%rbp)
movq L___const.main.texto(%rip), %rax
movq %rax, -16(%rbp)
leaq -16(%rbp), %rdi
callq _ordenacaoBinaria
leaq -16(%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 $32, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _ordenacaoBinaria ## -- Begin function ordenacaoBinaria
.p2align 4, 0x90
_ordenacaoBinaria: ## @ordenacaoBinaria
.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), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $1, -12(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
## Child Loop BB1_9 Depth 2
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB1_14
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -33(%rbp)
movl $0, -32(%rbp)
movl -12(%rbp), %eax
movl %eax, -28(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB1_8
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movl -32(%rbp), %eax
addl -28(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -24(%rbp)
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -33(%rbp), %ecx
cmpl %ecx, %eax
jg LBB1_6
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_7
LBB1_6: ## in Loop: Header=BB1_3 Depth=2
movl -24(%rbp), %eax
movl %eax, -28(%rbp)
LBB1_7: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_3
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
movl %eax, -16(%rbp)
LBB1_9: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -32(%rbp), %eax
jle LBB1_12
## %bb.10: ## in Loop: Header=BB1_9 Depth=2
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.11: ## in Loop: Header=BB1_9 Depth=2
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB1_9
LBB1_12: ## in Loop: Header=BB1_1 Depth=1
movb -33(%rbp), %dl
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.13: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_14:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.texto: ## @__const.main.texto
.asciz "heflain"
L_.str: ## @.str
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/12637892.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _remove ; -- Begin function remove
.p2align 2
_remove: ; @remove
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
bl ___error
mov w8, #45
str w8, [x0]
mov w0, #1
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 _remove ## -- Begin function remove
.p2align 4, 0x90
_remove: ## @remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
callq ___error
movl $45, (%rax)
movl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/218892978.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, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldr x0, [x8]
bl _my_basename
adrp x8, _program_name@PAGE
str x0, [x8, _program_name@PAGEOFF]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-24]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_25 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldrsb w8, [x8, #1]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_42
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
add x8, x8, #1
str x8, [sp, #48]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldrsb w8, [x8, #1]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
add x8, x8, #2
str x8, [sp, #48]
ldr x8, [sp, #48]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB0_42
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48]
ldrsb w8, [x8]
adrp x9, l_.str.1@PAGE
ldrsb w9, [x9, l_.str.1@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #48]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _usage
stur wzr, [x29, #-4]
b LBB0_68
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48]
ldrsb w8, [x8]
adrp x9, l_.str.2@PAGE
ldrsb w9, [x9, l_.str.2@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #48]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _usage
mov w8, #1
stur w8, [x29, #-4]
b LBB0_68
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
b LBB0_21
LBB0_17:
ldr x8, [sp, #48]
ldrsb w8, [x8]
adrp x9, l_.str.3@PAGE
ldrsb w9, [x9, l_.str.3@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18:
ldr x0, [sp, #48]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
bl _version
stur wzr, [x29, #-4]
b LBB0_68
LBB0_20:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _usage
mov w8, #1
stur w8, [x29, #-4]
b LBB0_68
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
b LBB0_41
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
b LBB0_25
LBB0_25: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #48]
ldrsb w8, [x8]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #104
cset w8, eq
tbnz w8, #0, LBB0_28
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=2
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #111
cset w8, eq
tbnz w8, #0, LBB0_29
b LBB0_27
LBB0_27:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #118
cset w8, eq
tbnz w8, #0, LBB0_36
b LBB0_37
LBB0_28:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _usage
stur wzr, [x29, #-4]
b LBB0_68
LBB0_29: ; in Loop: Header=BB0_25 Depth=2
ldr x8, [sp, #48]
ldrsb w8, [x8, #1]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_25 Depth=2
ldr x8, [sp, #48]
add x8, x8, #1
stur x8, [x29, #-24]
ldur x0, [x29, #-24]
bl _strlen
ldr x8, [sp, #48]
add x8, x8, x0
str x8, [sp, #48]
b LBB0_35
LBB0_31: ; in Loop: Header=BB0_25 Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _usage
mov w8, #1
stur w8, [x29, #-4]
b LBB0_68
LBB0_33: ; in Loop: Header=BB0_25 Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_25 Depth=2
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_25 Depth=2
b LBB0_38
LBB0_36:
bl _version
stur wzr, [x29, #-4]
b LBB0_68
LBB0_37:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _usage
mov w8, #1
stur w8, [x29, #-4]
b LBB0_68
LBB0_38: ; in Loop: Header=BB0_25 Depth=2
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_25 Depth=2
ldr x8, [sp, #48]
add x9, x8, #1
str x9, [sp, #48]
ldrsb w8, [x8, #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_25
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB0_1
LBB0_42:
ldur x8, [x29, #-24]
ldrsb w8, [x8]
adrp x9, l_.str@PAGE
ldrsb w9, [x9, l_.str@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_45
b LBB0_43
LBB0_43:
ldur x0, [x29, #-24]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
stur x8, [x29, #-32]
b LBB0_49
LBB0_45:
bl ___error
str wzr, [x0]
ldur x0, [x29, #-24]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
mov x8, x0
stur x8, [x29, #-32]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_47
b LBB0_46
LBB0_46:
ldur x0, [x29, #-24]
bl _perror
mov w8, #1
stur w8, [x29, #-4]
b LBB0_68
LBB0_47:
b LBB0_48
LBB0_48:
b LBB0_49
LBB0_49:
stur wzr, [x29, #-36]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, gt
tbnz w8, #0, LBB0_51
b LBB0_50
LBB0_50:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x1, [x29, #-32]
bl _do_escape
b LBB0_65
LBB0_51:
mov w8, #1
str w8, [sp, #44]
b LBB0_52
LBB0_52: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_64
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_52 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #44]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
adrp x9, l_.str@PAGE
ldrsb w9, [x9, l_.str@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_56
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_52 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #44]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_56
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_52 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #32]
b LBB0_60
LBB0_56: ; in Loop: Header=BB0_52 Depth=1
bl ___error
str wzr, [x0]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #44]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #32]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_58
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_52 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #44]
ldr x0, [x8, x9, lsl #3]
bl _perror
mov w8, #1
stur w8, [x29, #-36]
b LBB0_63
LBB0_58: ; in Loop: Header=BB0_52 Depth=1
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_52 Depth=1
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_52 Depth=1
ldr x0, [sp, #32]
ldur x1, [x29, #-32]
bl _do_escape
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #32]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_62
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_52 Depth=1
ldr x0, [sp, #32]
bl _fclose
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_52 Depth=1
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_52 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_52
LBB0_64:
b LBB0_65
LBB0_65:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_67
b LBB0_66
LBB0_66:
ldur x0, [x29, #-32]
bl _fclose
b LBB0_67
LBB0_67:
ldur w8, [x29, #-36]
stur w8, [x29, #-4]
b LBB0_68
LBB0_68:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function my_basename
_my_basename: ; @my_basename
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w9, eq
; 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__.my_basename@PAGE
add x0, x0, l___func__.my_basename@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #85
adrp x3, l_.str.7@PAGE
add x3, x3, l_.str.7@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
ldur x0, [x29, #-8]
mov w1, #47
bl _strrchr
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldur x8, [x29, #-8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB1_6
LBB1_5:
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB1_6
LBB1_6:
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function usage
_usage: ; @usage
.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 w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l___func__.usage@PAGE
add x0, x0, l___func__.usage@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #100
adrp x3, l_.str.8@PAGE
add x3, x3, l_.str.8@PAGEOFF
bl ___assert_rtn
LBB2_2:
b LBB2_3
LBB2_3:
ldr x0, [sp, #8]
adrp x8, _program_name@PAGE
ldr x8, [x8, _program_name@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function version
_version: ; @version
.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, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _program_name@PAGE
ldr x8, [x8, _program_name@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function do_escape
_do_escape: ; @do_escape
.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]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_2
LBB4_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
adrp x0, l___func__.do_escape@PAGE
add x0, x0, l___func__.do_escape@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #127
adrp x3, l_.str.11@PAGE
add x3, x3, l_.str.11@PAGEOFF
bl ___assert_rtn
LBB4_4:
b LBB4_5
LBB4_5:
b LBB4_6
LBB4_6: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-8]
bl _fgetc
str w0, [sp, #12]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB4_11
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_6 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #128
cset w8, lt
tbnz w8, #0, LBB4_9
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_6 Depth=1
ldr x0, [sp, #16]
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
b LBB4_10
LBB4_9: ; in Loop: Header=BB4_6 Depth=1
ldr w0, [sp, #12]
ldr x1, [sp, #16]
bl _fputc
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_6 Depth=1
b LBB4_6
LBB4_11:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_program_name,8,3 ; @program_name
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "-"
l_.str.1: ; @.str.1
.asciz "help"
l_.str.2: ; @.str.2
.asciz "output"
l_.str.3: ; @.str.3
.asciz "version"
l_.str.4: ; @.str.4
.asciz "w"
l_.str.5: ; @.str.5
.asciz "r"
l___func__.my_basename: ; @__func__.my_basename
.asciz "my_basename"
l_.str.6: ; @.str.6
.asciz "112717.c"
l_.str.7: ; @.str.7
.asciz "name != NULL"
l___func__.usage: ; @__func__.usage
.asciz "usage"
l_.str.8: ; @.str.8
.asciz "out != NULL"
l_.str.9: ; @.str.9
.asciz "usage: %s [-hv] [-o output] [file ...]\n"
l_.str.10: ; @.str.10
.asciz "%s 2020-06-21\n"
l___func__.do_escape: ; @__func__.do_escape
.asciz "do_escape"
l_.str.11: ; @.str.11
.asciz "(in != NULL) && (out != NULL)"
l_.str.12: ; @.str.12
.asciz "\\x%02X"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _my_basename
movq %rax, _program_name(%rip)
leaq L_.str(%rip), %rax
movq %rax, -24(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_25 Depth 2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $1, -8(%rbp)
movb %al, -65(%rbp) ## 1-byte Spill
jle LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $45, %ecx
movb %al, -65(%rbp) ## 1-byte Spill
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsbl 1(%rax), %eax
cmpl $0, %eax
setne %al
movb %al, -65(%rbp) ## 1-byte Spill
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movb -65(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_5
jmp LBB0_40
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
addq $1, %rax
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsbl 1(%rax), %eax
cmpl $45, %eax
jne LBB0_24
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
addq $2, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB0_8
## %bb.7:
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
jmp LBB0_40
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax
movsbl (%rax), %eax
movsbl L_.str.1(%rip), %ecx
cmpl %ecx, %eax
jne LBB0_11
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_11
## %bb.10:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _usage
movl $0, -4(%rbp)
jmp LBB0_66
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax
movsbl (%rax), %eax
movsbl L_.str.2(%rip), %ecx
cmpl %ecx, %eax
jne LBB0_17
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_17
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -8(%rbp)
jge LBB0_15
## %bb.14:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _usage
movl $1, -4(%rbp)
jmp LBB0_66
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_21
LBB0_17:
movq -48(%rbp), %rax
movsbl (%rax), %eax
movsbl L_.str.3(%rip), %ecx
cmpl %ecx, %eax
jne LBB0_20
## %bb.18:
movq -48(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_20
## %bb.19:
callq _version
movl $0, -4(%rbp)
jmp LBB0_66
LBB0_20:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _usage
movl $1, -4(%rbp)
jmp LBB0_66
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_39
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_25
LBB0_25: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -48(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
subl $104, %eax
je LBB0_26
jmp LBB0_67
LBB0_67: ## in Loop: Header=BB0_25 Depth=2
movl -72(%rbp), %eax ## 4-byte Reload
subl $111, %eax
je LBB0_27
jmp LBB0_68
LBB0_68:
movl -72(%rbp), %eax ## 4-byte Reload
subl $118, %eax
je LBB0_34
jmp LBB0_35
LBB0_26:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _usage
movl $0, -4(%rbp)
jmp LBB0_66
LBB0_27: ## in Loop: Header=BB0_25 Depth=2
movq -48(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $0, %eax
je LBB0_29
## %bb.28: ## in Loop: Header=BB0_25 Depth=2
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
callq _strlen
addq -48(%rbp), %rax
movq %rax, -48(%rbp)
jmp LBB0_33
LBB0_29: ## in Loop: Header=BB0_25 Depth=2
cmpl $3, -8(%rbp)
jge LBB0_31
## %bb.30:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _usage
movl $1, -4(%rbp)
jmp LBB0_66
LBB0_31: ## in Loop: Header=BB0_25 Depth=2
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
## %bb.32: ## in Loop: Header=BB0_25 Depth=2
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_25 Depth=2
jmp LBB0_36
LBB0_34:
callq _version
movl $0, -4(%rbp)
jmp LBB0_66
LBB0_35:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _usage
movl $1, -4(%rbp)
jmp LBB0_66
LBB0_36: ## in Loop: Header=BB0_25 Depth=2
jmp LBB0_37
LBB0_37: ## in Loop: Header=BB0_25 Depth=2
movq -48(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -48(%rbp)
movsbl 1(%rax), %eax
cmpl $0, %eax
jne LBB0_25
## %bb.38: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_39
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_40:
movq -24(%rbp), %rax
movsbl (%rax), %eax
movsbl L_.str(%rip), %ecx
cmpl %ecx, %eax
jne LBB0_43
## %bb.41:
movq -24(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_43
## %bb.42:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
jmp LBB0_47
LBB0_43:
callq ___error
movl $0, (%rax)
movq -24(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
cmpq $0, %rax
jne LBB0_45
## %bb.44:
movq -24(%rbp), %rdi
callq _perror
movl $1, -4(%rbp)
jmp LBB0_66
LBB0_45:
jmp LBB0_46
LBB0_46:
jmp LBB0_47
LBB0_47:
movl $0, -36(%rbp)
cmpl $1, -8(%rbp)
jg LBB0_49
## %bb.48:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rsi
callq _do_escape
jmp LBB0_63
LBB0_49:
movl $1, -52(%rbp)
LBB0_50: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_62
## %bb.51: ## in Loop: Header=BB0_50 Depth=1
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
movsbl L_.str(%rip), %ecx
cmpl %ecx, %eax
jne LBB0_54
## %bb.52: ## in Loop: Header=BB0_50 Depth=1
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_54
## %bb.53: ## in Loop: Header=BB0_50 Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
jmp LBB0_58
LBB0_54: ## in Loop: Header=BB0_50 Depth=1
callq ___error
movl $0, (%rax)
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -64(%rbp)
cmpq $0, %rax
jne LBB0_56
## %bb.55: ## in Loop: Header=BB0_50 Depth=1
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _perror
movl $1, -36(%rbp)
jmp LBB0_61
LBB0_56: ## in Loop: Header=BB0_50 Depth=1
jmp LBB0_57
LBB0_57: ## in Loop: Header=BB0_50 Depth=1
jmp LBB0_58
LBB0_58: ## in Loop: Header=BB0_50 Depth=1
movq -64(%rbp), %rdi
movq -32(%rbp), %rsi
callq _do_escape
movq -64(%rbp), %rax
movq ___stdinp@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_60
## %bb.59: ## in Loop: Header=BB0_50 Depth=1
movq -64(%rbp), %rdi
callq _fclose
LBB0_60: ## in Loop: Header=BB0_50 Depth=1
jmp LBB0_61
LBB0_61: ## in Loop: Header=BB0_50 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_50
LBB0_62:
jmp LBB0_63
LBB0_63:
movq -32(%rbp), %rax
movq ___stdoutp@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_65
## %bb.64:
movq -32(%rbp), %rdi
callq _fclose
LBB0_65:
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_66:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function my_basename
_my_basename: ## @my_basename
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.my_basename(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.7(%rip), %rcx
movl $85, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
movq -8(%rbp), %rdi
movl $47, %esi
callq _strrchr
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB1_5
## %bb.4:
movq -8(%rbp), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB1_6
LBB1_5:
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
LBB1_6:
movq -24(%rbp), %rax ## 8-byte Reload
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function usage
_usage: ## @usage
.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)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_2
## %bb.1:
leaq L___func__.usage(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.8(%rip), %rcx
movl $100, %edx
callq ___assert_rtn
LBB2_2:
jmp LBB2_3
LBB2_3:
movq -8(%rbp), %rdi
movq _program_name(%rip), %rdx
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function version
_version: ## @version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _program_name(%rip), %rdx
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function do_escape
_do_escape: ## @do_escape
.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)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -8(%rbp)
movb %al, -21(%rbp) ## 1-byte Spill
je LBB4_2
## %bb.1:
cmpq $0, -16(%rbp)
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB4_2:
movb -21(%rbp), %al ## 1-byte Reload
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB4_4
## %bb.3:
leaq L___func__.do_escape(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.11(%rip), %rcx
movl $127, %edx
callq ___assert_rtn
LBB4_4:
jmp LBB4_5
LBB4_5:
jmp LBB4_6
LBB4_6: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rdi
callq _fgetc
movl %eax, -20(%rbp)
cmpl $-1, %eax
je LBB4_11
## %bb.7: ## in Loop: Header=BB4_6 Depth=1
cmpl $128, -20(%rbp)
jl LBB4_9
## %bb.8: ## in Loop: Header=BB4_6 Depth=1
movq -16(%rbp), %rdi
movl -20(%rbp), %edx
leaq L_.str.12(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB4_10
LBB4_9: ## in Loop: Header=BB4_6 Depth=1
movl -20(%rbp), %edi
movq -16(%rbp), %rsi
callq _fputc
LBB4_10: ## in Loop: Header=BB4_6 Depth=1
jmp LBB4_6
LBB4_11:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_program_name,8,3 ## @program_name
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "-"
L_.str.1: ## @.str.1
.asciz "help"
L_.str.2: ## @.str.2
.asciz "output"
L_.str.3: ## @.str.3
.asciz "version"
L_.str.4: ## @.str.4
.asciz "w"
L_.str.5: ## @.str.5
.asciz "r"
L___func__.my_basename: ## @__func__.my_basename
.asciz "my_basename"
L_.str.6: ## @.str.6
.asciz "112717.c"
L_.str.7: ## @.str.7
.asciz "name != NULL"
L___func__.usage: ## @__func__.usage
.asciz "usage"
L_.str.8: ## @.str.8
.asciz "out != NULL"
L_.str.9: ## @.str.9
.asciz "usage: %s [-hv] [-o output] [file ...]\n"
L_.str.10: ## @.str.10
.asciz "%s 2020-06-21\n"
L___func__.do_escape: ## @__func__.do_escape
.asciz "do_escape"
L_.str.11: ## @.str.11
.asciz "(in != NULL) && (out != NULL)"
L_.str.12: ## @.str.12
.asciz "\\x%02X"
.subsections_via_symbols
| the_stack_data/112717.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___readonly_area ; -- Begin function __readonly_area
.p2align 2
___readonly_area: ; @__readonly_area
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
mov w0, #1
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 ___readonly_area ## -- Begin function __readonly_area
.p2align 4, 0x90
___readonly_area: ## @__readonly_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, -8(%rbp)
movq %rsi, -16(%rbp)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/26699574.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]
str wzr, [sp, #16]
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
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>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_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #16]
add w9, w9, #1
mul w8, w8, w9
ldr w9, [sp, #16]
add w9, w9, #2
mul w8, w8, w9
stur w8, [x29, #-12]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_7:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@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 "\nInforme um n\303\272mero 'n' para ver os 'n' primeiros n\303\272meros triangulares: "
l_.str.1: ; @.str.1
.asciz "%i"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "%i."
l_.str.4: ; @.str.4
.asciz "%i,"
l_.str.5: ; @.str.5
.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 $32, %rsp
movl $0, -4(%rbp)
movl $0, -16(%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
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl -16(%rbp), %ecx
addl $1, %ecx
imull %ecx, %eax
movl -16(%rbp), %ecx
addl $2, %ecx
imull %ecx, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -8(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_7:
leaq L_.str.5(%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 "\nInforme um n\303\272mero 'n' para ver os 'n' primeiros n\303\272meros triangulares: "
L_.str.1: ## @.str.1
.asciz "%i"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "%i."
L_.str.4: ## @.str.4
.asciz "%i,"
L_.str.5: ## @.str.5
.asciz "\n\n"
.subsections_via_symbols
| the_stack_data/103266773.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [x9]
bl _printf
stur wzr, [x29, #-8]
stur wzr, [x29, #-12]
stur wzr, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_46
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _getc
stur w0, [x29, #-20]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #3
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w0, [x29, #-20]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x1, [x8]
bl _putc
ldur w8, [x29, #-20]
subs w8, w8, #13
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #47
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_14
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_45
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_44
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB0_24
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_43
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_42
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB0_34
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_41
LBB0_34: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_40
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-16]
stur wzr, [x29, #-12]
stur wzr, [x29, #-8]
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
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
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_1 Depth=1
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_46:
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [x9]
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
l_.str.1: ; @.str.1
.asciz "<meta charset='utf-8' emacsmode='-*- markdown -*-'>"
l_.str.2: ; @.str.2
.asciz "<link rel='stylesheet' href='https://casual-effects.com/markdeep/latest/apidoc.css?'>"
l_.str.3: ; @.str.3
.asciz "<script>markdeepOptions={tocStyle:'medium'};</script>"
l_.str.4: ; @.str.4
.asciz "<!-- Markdeep: --><script src='https://casual-effects.com/markdeep/latest/markdeep.min.js?'></script>"
.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 L_.str.1(%rip), %rsi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _printf
movl $0, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_2
jmp LBB0_46
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _getc
movl %eax, -20(%rbp)
cmpl $3, -8(%rbp)
jg LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -12(%rbp)
jg LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -16(%rbp)
jle LBB0_9
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _putc
cmpl $13, -20(%rbp)
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, -20(%rbp)
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -8(%rbp)
jg LBB0_14
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
cmpl $47, -20(%rbp)
jne LBB0_14
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -12(%rbp)
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -16(%rbp)
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_45
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -8(%rbp)
jne LBB0_19
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, -20(%rbp)
jne LBB0_19
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -12(%rbp)
jne LBB0_19
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -16(%rbp)
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_44
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -12(%rbp)
jg LBB0_24
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
cmpl $45, -20(%rbp)
jne LBB0_24
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
jne LBB0_24
## %bb.22: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -16(%rbp)
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_43
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -12(%rbp)
jne LBB0_29
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, -20(%rbp)
jne LBB0_29
## %bb.26: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
jne LBB0_29
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -16(%rbp)
jne LBB0_29
## %bb.28: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_42
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -16(%rbp)
jg LBB0_34
## %bb.30: ## in Loop: Header=BB0_1 Depth=1
cmpl $35, -20(%rbp)
jne LBB0_34
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
jne LBB0_34
## %bb.32: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -12(%rbp)
jne LBB0_34
## %bb.33: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_41
LBB0_34: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -16(%rbp)
jne LBB0_39
## %bb.35: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, -20(%rbp)
jne LBB0_39
## %bb.36: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
jne LBB0_39
## %bb.37: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -12(%rbp)
jne LBB0_39
## %bb.38: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_40
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
movl $0, -16(%rbp)
movl $0, -12(%rbp)
movl $0, -8(%rbp)
LBB0_40: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_41
LBB0_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
jmp LBB0_44
LBB0_44: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_45
LBB0_45: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_46:
leaq L_.str(%rip), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
L_.str.1: ## @.str.1
.asciz "<meta charset='utf-8' emacsmode='-*- markdown -*-'>"
L_.str.2: ## @.str.2
.asciz "<link rel='stylesheet' href='https://casual-effects.com/markdeep/latest/apidoc.css?'>"
L_.str.3: ## @.str.3
.asciz "<script>markdeepOptions={tocStyle:'medium'};</script>"
L_.str.4: ## @.str.4
.asciz "<!-- Markdeep: --><script src='https://casual-effects.com/markdeep/latest/markdeep.min.js?'></script>"
.subsections_via_symbols
| the_stack_data/200143086.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_contour_d2i2i2d2d0d0_ ; -- Begin function scilab_rt_contour_d2i2i2d2d0d0_
.p2align 2
_scilab_rt_contour_d2i2i2d2d0d0_: ; @scilab_rt_contour_d2i2i2d2d0d0_
.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
ldr x11, [x29, #16]
ldr w10, [x29, #24]
ldr w9, [x29, #28]
ldr x8, [x29, #32]
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur x2, [x29, #-16]
stur w3, [x29, #-20]
stur w4, [x29, #-24]
stur x5, [x29, #-32]
stur w6, [x29, #-36]
stur w7, [x29, #-40]
stur x11, [x29, #-48]
stur w10, [x29, #-52]
stur w9, [x29, #-56]
stur x8, [x29, #-64]
stur d0, [x29, #-72]
str d1, [sp, #80]
ldur w8, [x29, #-8]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
ldur w8, [x29, #-40]
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
ldur w8, [x29, #-56]
; kill: def $x8 killed $w8
str x8, [sp, #40] ; 8-byte Folded Spill
movi d0, #0000000000000000
str d0, [sp, #64]
str wzr, [sp, #60]
str wzr, [sp, #56]
str d0, [sp, #48]
str wzr, [sp, #76]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #76]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #72]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #72]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldrsw x9, [sp, #76]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #72]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #64]
fadd d0, d0, d1
str d0, [sp, #64]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #72]
add w8, w8, #1
str w8, [sp, #72]
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, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB0_1
LBB0_8:
ldr d0, [sp, #64]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #76]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #76]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #72]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #72]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldrsw x9, [sp, #76]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #72]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #60]
add w8, w8, w9
str w8, [sp, #60]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #72]
add w8, w8, #1
str w8, [sp, #72]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB0_9
LBB0_16:
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #76]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr w8, [sp, #76]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
str wzr, [sp, #72]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #72]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldrsw x9, [sp, #76]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #72]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #56]
add w8, w8, w9
str w8, [sp, #56]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldr w8, [sp, #72]
add w8, w8, #1
str w8, [sp, #72]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB0_17
LBB0_24:
ldr w9, [sp, #56]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #76]
b LBB0_25
LBB0_25: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
ldr w8, [sp, #76]
ldur w9, [x29, #-52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
str wzr, [sp, #72]
b LBB0_27
LBB0_27: ; Parent Loop BB0_25 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #72]
ldur w9, [x29, #-56]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=2
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-64]
ldrsw x9, [sp, #76]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #72]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #48]
fadd d0, d0, d1
str d0, [sp, #48]
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_27 Depth=2
ldr w8, [sp, #72]
add w8, w8, #1
str w8, [sp, #72]
b LBB0_27
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB0_25
LBB0_32:
ldr d0, [sp, #48]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur d0, [x29, #-72]
mov x8, sp
str d0, [x8]
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr d0, [sp, #80]
mov x8, sp
str d0, [x8]
bl _printf
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 "%f"
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 _scilab_rt_contour_d2i2i2d2d0d0_ ## -- Begin function scilab_rt_contour_d2i2i2d2d0d0_
.p2align 4, 0x90
_scilab_rt_contour_d2i2i2d2d0d0_: ## @scilab_rt_contour_d2i2i2d2d0d0_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq 56(%rbp), %rax
movl 48(%rbp), %eax
movl 40(%rbp), %eax
movq 32(%rbp), %rax
movl 24(%rbp), %eax
movl 16(%rbp), %eax
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movl %ecx, -20(%rbp)
movl %r8d, -24(%rbp)
movq %r9, -32(%rbp)
movsd %xmm0, -40(%rbp)
movsd %xmm1, -48(%rbp)
movl -8(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
movl 24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl 48(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movsd %xmm0, -64(%rbp)
movl $0, -68(%rbp)
movl $0, -72(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -80(%rbp)
movl $0, -52(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -52(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -56(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -112(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -64(%rbp), %xmm0
movsd %xmm0, -64(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_1
LBB0_8:
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -52(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -52(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -56(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -104(%rbp), %rdx ## 8-byte Reload
movq -32(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -68(%rbp), %eax
movl %eax, -68(%rbp)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%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 -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_9
LBB0_16:
movl -68(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movl -52(%rbp), %eax
cmpl 16(%rbp), %eax
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -56(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl 24(%rbp), %eax
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq -96(%rbp), %rdx ## 8-byte Reload
movq 32(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -72(%rbp), %eax
movl %eax, -72(%rbp)
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_19
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_17 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_17
LBB0_24:
movl -72(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
movl -52(%rbp), %eax
cmpl 40(%rbp), %eax
jge LBB0_32
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movl $0, -56(%rbp)
LBB0_27: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl 48(%rbp), %eax
jge LBB0_30
## %bb.28: ## in Loop: Header=BB0_27 Depth=2
movq -88(%rbp), %rdx ## 8-byte Reload
movq 56(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -80(%rbp), %xmm0
movsd %xmm0, -80(%rbp)
## %bb.29: ## in Loop: Header=BB0_27 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_27
LBB0_30: ## in Loop: Header=BB0_25 Depth=1
jmp LBB0_31
LBB0_31: ## in Loop: Header=BB0_25 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_25
LBB0_32:
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/821305.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.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #20
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldr x0, [sp, #16]
bl _fclose
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #25
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_5:
b LBB0_6
LBB0_6:
str xzr, [sp, #8]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #2539
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
adrp x8, _main.al@PAGE
ldr x0, [x8, _main.al@PAGEOFF]
ldr x1, [sp, #16]
bl _fputs
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_7
LBB0_10:
ldr x0, [sp, #16]
bl _fclose
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #32
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_12:
b LBB0_13
LBB0_13:
str xzr, [sp, #8]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
mov x9, #16501
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
adrp x8, _main.ws@PAGE
ldr x0, [x8, _main.ws@PAGEOFF]
ldr x1, [sp, #16]
bl _fputs
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_14
LBB0_17:
ldr x0, [sp, #16]
bl _fclose
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #39
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_19:
b LBB0_20
LBB0_20:
str xzr, [sp, #8]
b LBB0_21
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
mov x9, #464
movk x9, #1, lsl #16
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_24
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_21 Depth=1
ldr x1, [sp, #16]
mov w0, #10
bl _fputc
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_21
LBB0_24:
ldr x0, [sp, #16]
bl _fclose
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #49
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_26:
b LBB0_27
LBB0_27:
ldr x1, [sp, #16]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _fputs
str xzr, [sp, #8]
b LBB0_28
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #2539
cset w8, hs
tbnz w8, #0, LBB0_31
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_28 Depth=1
adrp x8, _main.ws@PAGE
ldr x0, [x8, _main.ws@PAGEOFF]
ldr x1, [sp, #16]
bl _fputs
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_28 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_28
LBB0_31:
ldr x1, [sp, #16]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _fputs
ldr x0, [sp, #16]
bl _fclose
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #60
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_33:
b LBB0_34
LBB0_34:
str xzr, [sp, #8]
b LBB0_35
LBB0_35: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #1000
cset w8, hs
tbnz w8, #0, LBB0_38
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_35 Depth=1
adrp x8, _main.i5@PAGE
ldr x0, [x8, _main.i5@PAGEOFF]
ldr x1, [sp, #16]
bl _fputs
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_35 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_35
LBB0_38:
ldr x0, [sp, #16]
bl _fclose
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_40
b LBB0_39
LBB0_39:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #67
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_40:
b LBB0_41
LBB0_41:
str xzr, [sp, #8]
b LBB0_42
LBB0_42: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
mov x9, #464
movk x9, #1, lsl #16
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_45
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_42 Depth=1
ldr x1, [sp, #16]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _fputs
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_42 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_42
LBB0_45:
ldr x0, [sp, #16]
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @main.ws
_main.ws:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " \f\t\013"
.section __DATA,__data
.p2align 3 ; @main.al
_main.al:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "abcdefghijklmnopqrstuvwxyz"
.section __DATA,__data
.p2align 3 ; @main.i5
_main.i5:
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n\n"
l_.str.3: ; @.str.3
.asciz "test0"
l_.str.4: ; @.str.4
.asciz "w"
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.5: ; @.str.5
.asciz "89201373.c"
l_.str.6: ; @.str.6
.asciz "f != NULL"
l_.str.7: ; @.str.7
.asciz "test1"
l_.str.8: ; @.str.8
.asciz "test2"
l_.str.9: ; @.str.9
.asciz "test3"
l_.str.10: ; @.str.10
.asciz "test4"
l_.str.11: ; @.str.11
.asciz "word"
l_.str.12: ; @.str.12
.asciz "test5"
l_.str.13: ; @.str.13
.asciz "test6"
l_.str.14: ; @.str.14
.asciz "word "
.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.3(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $20, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movq -16(%rbp), %rdi
callq _fclose
leaq L_.str.7(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_5
## %bb.4:
leaq L___func__.main(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $25, %edx
callq ___assert_rtn
LBB0_5:
jmp LBB0_6
LBB0_6:
movq $0, -24(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpq $2539, -24(%rbp) ## imm = 0x9EB
jae LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq _main.al(%rip), %rdi
movq -16(%rbp), %rsi
callq _fputs
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_7
LBB0_10:
movq -16(%rbp), %rdi
callq _fclose
leaq L_.str.8(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_12
## %bb.11:
leaq L___func__.main(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $32, %edx
callq ___assert_rtn
LBB0_12:
jmp LBB0_13
LBB0_13:
movq $0, -24(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
cmpq $16501, -24(%rbp) ## imm = 0x4075
jae LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq _main.ws(%rip), %rdi
movq -16(%rbp), %rsi
callq _fputs
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_14
LBB0_17:
movq -16(%rbp), %rdi
callq _fclose
leaq L_.str.9(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_19
## %bb.18:
leaq L___func__.main(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $39, %edx
callq ___assert_rtn
LBB0_19:
jmp LBB0_20
LBB0_20:
movq $0, -24(%rbp)
LBB0_21: ## =>This Inner Loop Header: Depth=1
cmpq $66000, -24(%rbp) ## imm = 0x101D0
jae LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movq -16(%rbp), %rsi
movl $10, %edi
callq _fputc
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_21
LBB0_24:
movq -16(%rbp), %rdi
callq _fclose
leaq L_.str.10(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_26
## %bb.25:
leaq L___func__.main(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $49, %edx
callq ___assert_rtn
LBB0_26:
jmp LBB0_27
LBB0_27:
movq -16(%rbp), %rsi
leaq L_.str.11(%rip), %rdi
callq _fputs
movq $0, -24(%rbp)
LBB0_28: ## =>This Inner Loop Header: Depth=1
cmpq $2539, -24(%rbp) ## imm = 0x9EB
jae LBB0_31
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movq _main.ws(%rip), %rdi
movq -16(%rbp), %rsi
callq _fputs
## %bb.30: ## in Loop: Header=BB0_28 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_28
LBB0_31:
movq -16(%rbp), %rsi
leaq L_.str.11(%rip), %rdi
callq _fputs
movq -16(%rbp), %rdi
callq _fclose
leaq L_.str.12(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_33
## %bb.32:
leaq L___func__.main(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $60, %edx
callq ___assert_rtn
LBB0_33:
jmp LBB0_34
LBB0_34:
movq $0, -24(%rbp)
LBB0_35: ## =>This Inner Loop Header: Depth=1
cmpq $1000, -24(%rbp) ## imm = 0x3E8
jae LBB0_38
## %bb.36: ## in Loop: Header=BB0_35 Depth=1
movq _main.i5(%rip), %rdi
movq -16(%rbp), %rsi
callq _fputs
## %bb.37: ## in Loop: Header=BB0_35 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_35
LBB0_38:
movq -16(%rbp), %rdi
callq _fclose
leaq L_.str.13(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_40
## %bb.39:
leaq L___func__.main(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $67, %edx
callq ___assert_rtn
LBB0_40:
jmp LBB0_41
LBB0_41:
movq $0, -24(%rbp)
LBB0_42: ## =>This Inner Loop Header: Depth=1
cmpq $66000, -24(%rbp) ## imm = 0x101D0
jae LBB0_45
## %bb.43: ## in Loop: Header=BB0_42 Depth=1
movq -16(%rbp), %rsi
leaq L_.str.14(%rip), %rdi
callq _fputs
## %bb.44: ## in Loop: Header=BB0_42 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_42
LBB0_45:
movq -16(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 3 ## @main.ws
_main.ws:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " \f\t\013"
.section __DATA,__data
.p2align 3 ## @main.al
_main.al:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "abcdefghijklmnopqrstuvwxyz"
.section __DATA,__data
.p2align 3 ## @main.i5
_main.i5:
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n\n"
L_.str.3: ## @.str.3
.asciz "test0"
L_.str.4: ## @.str.4
.asciz "w"
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.5: ## @.str.5
.asciz "89201373.c"
L_.str.6: ## @.str.6
.asciz "f != NULL"
L_.str.7: ## @.str.7
.asciz "test1"
L_.str.8: ## @.str.8
.asciz "test2"
L_.str.9: ## @.str.9
.asciz "test3"
L_.str.10: ## @.str.10
.asciz "test4"
L_.str.11: ## @.str.11
.asciz "word"
L_.str.12: ## @.str.12
.asciz "test5"
L_.str.13: ## @.str.13
.asciz "test6"
L_.str.14: ## @.str.14
.asciz "word "
.subsections_via_symbols
| the_stack_data/89201373.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 x9, sp
mov x8, #32
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
mov x8, #40
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, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "union byte buyuklugu: %d\n\n"
l_.str.1: ; @.str.1
.asciz "struct byte buyuklugu: %d\n\n"
.comm _Uni_J,32,2 ; @Uni_J
.comm _Stu_J,40,2 ; @Stu_J
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $32, %esi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movl $40, %esi
movb $0, %al
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "union byte buyuklugu: %d\n\n"
L_.str.1: ## @.str.1
.asciz "struct byte buyuklugu: %d\n\n"
.comm _Uni_J,32,2 ## @Uni_J
.comm _Stu_J,40,2 ## @Stu_J
.subsections_via_symbols
| the_stack_data/34512205.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 w8, [x29, #-8]
mov w10, #3
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [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_2
b LBB0_1
LBB0_1:
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 _printf
b LBB0_3
LBB0_3:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #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 "Please enter a valid unsigned integer!"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "The number you entered is div. by 3!\n"
l_.str.3: ; @.str.3
.asciz "The number you entered is not div. by 3!\n"
l_.str.4: ; @.str.4
.asciz "The reminder of the operatio nis: %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
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
movl $3, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
movl -8(%rbp), %eax
movl $3, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
movl -12(%rbp), %esi
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 "Please enter a valid unsigned integer!"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "The number you entered is div. by 3!\n"
L_.str.3: ## @.str.3
.asciz "The number you entered is not div. by 3!\n"
L_.str.4: ## @.str.4
.asciz "The reminder of the operatio nis: %d\n"
.subsections_via_symbols
| the_stack_data/54824964.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov x8, #1
stur x8, [x29, #-8]
b LBB0_6
LBB0_3:
ldr x8, [sp, #8]
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_6
LBB0_5:
ldr x8, [sp, #16]
subs x0, x8, #1
ldr x1, [sp, #8]
bl _sum
str x0, [sp] ; 8-byte Folded Spill
ldr x8, [sp, #16]
subs x0, x8, #1
ldr x8, [sp, #8]
subs x1, x8, #1
bl _sum
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
add x8, x0, x8
stur x8, [x29, #-8]
b LBB0_6
LBB0_6:
ldur x0, [x29, #-8]
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, #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, #28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #16
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, #24
str x8, [x9]
bl _scanf
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
bl _sum
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #32]
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
bl _printf
ldr w0, [sp, #28] ; 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 "%lld"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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 $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
je LBB0_2
## %bb.1:
cmpq $0, -24(%rbp)
jne LBB0_3
LBB0_2:
movq $1, -8(%rbp)
jmp LBB0_6
LBB0_3:
cmpq $1, -24(%rbp)
jne LBB0_5
## %bb.4:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_6
LBB0_5:
movq -16(%rbp), %rdi
subq $1, %rdi
movq -24(%rbp), %rsi
callq _sum
movq %rax, -32(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
subq $1, %rdi
movq -24(%rbp), %rsi
subq $1, %rsi
callq _sum
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
movq %rax, -8(%rbp)
LBB0_6:
movq -8(%rbp), %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 $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _sum
movq %rax, -32(%rbp)
movq -32(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lld"
.subsections_via_symbols
| the_stack_data/12638884.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_mat ; -- Begin function init_mat
.p2align 2
_init_mat: ; @init_mat
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
ldr w8, [sp, #28]
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #12]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #8]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldr w9, [sp, #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
ldr x10, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mul x9, x9, x10
add x9, x8, x9, lsl #2
ldrsw x10, [sp, #8]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
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, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_8:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _add_edge ; -- Begin function add_edge
.p2align 2
_add_edge: ; @add_edge
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
str w2, [sp, #12]
str w3, [sp, #8]
ldr w8, [sp, #28]
mov x11, x8
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mul x9, x9, x11
add x9, x8, x9, lsl #2
ldrsw x10, [sp, #8]
mov w8, #1
str w8, [x9, x10, lsl #2]
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
mul x10, x10, x11
add x9, x9, x10, lsl #2
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print_mat ; -- Begin function print_mat
.p2align 2
_print_mat: ; @print_mat
.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]
ldur w8, [x29, #-4]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-20]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldur w8, [x29, #-20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldursw x8, [x29, #-20]
mov x9, #20
mul x9, x8, x9
adrp x8, _name_index@PAGE
add x8, x8, _name_index@PAGEOFF
add x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #24]
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 LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_3
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-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 _check_cave_exists ; -- Begin function check_cave_exists
.p2align 2
_check_cave_exists: ; @check_cave_exists
.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 wzr, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
adrp x9, _top@PAGE
ldr x9, [x9, _top@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x0, [sp, #16]
ldrsw x8, [sp, #12]
mov x9, #20
mul x9, x8, x9
adrp x8, _name_index@PAGE
add x8, x8, _name_index@PAGEOFF
add x1, x8, x9
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB3_7
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_1
LBB3_6:
stur wzr, [x29, #-4]
b LBB3_7
LBB3_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _get_cave_index ; -- Begin function get_cave_index
.p2align 2
_get_cave_index: ; @get_cave_index
.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 wzr, [sp, #12]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
adrp x9, _top@PAGE
ldr x9, [x9, _top@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB4_6
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x0, [sp, #16]
ldrsw x8, [sp, #12]
mov x9, #20
mul x9, x8, x9
adrp x8, _name_index@PAGE
add x8, x8, _name_index@PAGEOFF
add x1, x8, x9
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB4_7
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_1
LBB4_6:
mov w8, #-1
stur w8, [x29, #-4]
b LBB4_7
LBB4_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _add_cave_index ; -- Begin function add_cave_index
.p2align 2
_add_cave_index: ; @add_cave_index
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _check_cave_exists
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr x0, [sp, #16]
bl _get_cave_index
stur w0, [x29, #-4]
b LBB5_3
LBB5_2:
adrp x10, _top@PAGE
str x10, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x10, _top@PAGEOFF]
add x9, x8, #1
str x9, [x10, _top@PAGEOFF]
mov x9, #20
mul x9, x8, x9
adrp x8, _name_index@PAGE
add x8, x8, _name_index@PAGEOFF
add x0, x8, x9
ldr x1, [sp, #16]
mov x2, #-1
bl ___strcpy_chk
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, _top@PAGEOFF]
subs x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB5_3
LBB5_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _count_paths ; -- Begin function count_paths
.p2align 2
_count_paths: ; @count_paths
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
ldur w8, [x29, #-4]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
ldur w8, [x29, #-20]
str w8, [sp, #28] ; 4-byte Folded Spill
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _get_cave_index
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_1
LBB6_1:
ldur w8, [x29, #-20]
adrp x11, _cave_top@PAGE
ldr x10, [x11, _cave_top@PAGEOFF]
add x9, x10, #1
str x9, [x11, _cave_top@PAGEOFF]
adrp x9, _caves@PAGE
add x9, x9, _caves@PAGEOFF
str w8, [x9, x10, lsl #2]
stur wzr, [x29, #-24]
b LBB6_2
LBB6_2: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-24]
adrp x9, _cave_top@PAGE
ldr x9, [x9, _cave_top@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_5
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_2 Depth=1
ldursw x9, [x29, #-24]
adrp x8, _caves@PAGE
add x8, x8, _caves@PAGEOFF
ldrsw x8, [x8, x9, lsl #2]
mov x9, #20
mul x9, x8, x9
adrp x8, _name_index@PAGE
add x8, x8, _name_index@PAGEOFF
add x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_2 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB6_2
LBB6_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x9, _paths@PAGE
ldr w8, [x9, _paths@PAGEOFF]
add w8, w8, #1
str w8, [x9, _paths@PAGEOFF]
adrp x9, _cave_top@PAGE
ldr x8, [x9, _cave_top@PAGEOFF]
subs x8, x8, #1
str x8, [x9, _cave_top@PAGEOFF]
b LBB6_22
LBB6_6:
ldursw x8, [x29, #-20]
mov x9, #20
mul x9, x8, x9
adrp x8, _name_index@PAGE
add x8, x8, _name_index@PAGEOFF
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, le
tbnz w8, #0, LBB6_14
b LBB6_7
LBB6_7:
stur wzr, [x29, #-28]
b LBB6_8
LBB6_8: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-28]
adrp x9, _cave_top@PAGE
ldr x9, [x9, _cave_top@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_13
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_8 Depth=1
ldursw x8, [x29, #-20]
mov x10, #20
mul x11, x8, x10
adrp x8, _name_index@PAGE
add x8, x8, _name_index@PAGEOFF
mov x9, x8
add x0, x9, x11
ldursw x11, [x29, #-28]
adrp x9, _caves@PAGE
add x9, x9, _caves@PAGEOFF
ldrsw x9, [x9, x11, lsl #2]
mul x9, x9, x10
add x1, x8, x9
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_11
b LBB6_10
LBB6_10:
b LBB6_22
LBB6_11: ; in Loop: Header=BB6_8 Depth=1
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_8 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB6_8
LBB6_13:
b LBB6_14
LBB6_14:
ldur w8, [x29, #-20]
adrp x11, _cave_top@PAGE
ldr x10, [x11, _cave_top@PAGEOFF]
add x9, x10, #1
str x9, [x11, _cave_top@PAGEOFF]
adrp x9, _caves@PAGE
add x9, x9, _caves@PAGEOFF
str w8, [x9, x10, lsl #2]
str wzr, [sp, #32]
b LBB6_15
LBB6_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_21
b LBB6_16
LBB6_16: ; in Loop: Header=BB6_15 Depth=1
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #32]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB6_18
b LBB6_17
LBB6_17: ; in Loop: Header=BB6_15 Depth=1
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldrsw x9, [sp, #32]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_19
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_15 Depth=1
ldur w0, [x29, #-4]
ldur x1, [x29, #-16]
ldr w2, [sp, #32]
bl _count_paths
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_15 Depth=1
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_15 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB6_15
LBB6_21:
adrp x9, _cave_top@PAGE
ldr x8, [x9, _cave_top@PAGEOFF]
subs x8, x8, #1
str x8, [x9, _cave_top@PAGEOFF]
b LBB6_22
LBB6_22:
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:
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, #192
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-32]
adrp x0, _INPUT_FILE@PAGE
add x0, x0, _INPUT_FILE@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
stur x0, [x29, #-40]
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
mov w8, #1
stur w8, [x29, #-32]
b LBB7_9
LBB7_2:
b LBB7_3
LBB7_3: ; =>This Inner Loop Header: Depth=1
ldur x2, [x29, #-40]
sub x0, x29, #28
mov w1, #20
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_3 Depth=1
sub x0, x29, #28
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
stur x1, [x29, #-136] ; 8-byte Folded Spill
bl _strtok
stur x0, [x29, #-48]
ldur x0, [x29, #-48]
bl _add_cave_index
ldur x1, [x29, #-136] ; 8-byte Folded Reload
stur w0, [x29, #-52]
mov x0, #0
bl _strtok
stur x0, [x29, #-64]
ldur x0, [x29, #-64]
bl _add_cave_index
stur w0, [x29, #-68]
b LBB7_3
LBB7_5:
ldur x0, [x29, #-40]
bl _rewind
adrp x8, _top@PAGE
ldr x9, [x8, _top@PAGEOFF]
stur x9, [x29, #-160] ; 8-byte Folded Spill
ldr x10, [x8, _top@PAGEOFF]
stur x10, [x29, #-152] ; 8-byte Folded Spill
mov x11, sp
stur x11, [x29, #-80]
mul x9, x9, x10
lsl x9, x9, #2
add x9, x9, #15
and x12, x9, #0xfffffffffffffff0
mov x9, x12
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-160] ; 8-byte Folded Reload
ldur x9, [x29, #-152] ; 8-byte Folded Reload
mov x11, sp
subs x1, x11, x12
stur x1, [x29, #-144] ; 8-byte Folded Spill
mov sp, x1
stur x10, [x29, #-88]
stur x9, [x29, #-96]
ldr x8, [x8, _top@PAGEOFF]
mov x0, x8
bl _init_mat
b LBB7_6
LBB7_6: ; =>This Inner Loop Header: Depth=1
ldur x2, [x29, #-40]
sub x0, x29, #28
mov w1, #20
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB7_8
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_6 Depth=1
sub x0, x29, #28
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
stur x1, [x29, #-168] ; 8-byte Folded Spill
bl _strtok
stur x0, [x29, #-104]
ldur x0, [x29, #-104]
bl _get_cave_index
ldur x1, [x29, #-168] ; 8-byte Folded Reload
stur w0, [x29, #-108]
mov x0, #0
bl _strtok
stur x0, [x29, #-120]
ldur x0, [x29, #-120]
bl _get_cave_index
ldur x1, [x29, #-144] ; 8-byte Folded Reload
stur w0, [x29, #-124]
adrp x8, _top@PAGE
ldr x8, [x8, _top@PAGEOFF]
mov x0, x8
ldur w2, [x29, #-108]
ldur w3, [x29, #-124]
bl _add_edge
b LBB7_6
LBB7_8:
ldur x1, [x29, #-144] ; 8-byte Folded Reload
adrp x8, _top@PAGE
stur x8, [x29, #-184] ; 8-byte Folded Spill
ldr x8, [x8, _top@PAGEOFF]
mov x0, x8
bl _print_mat
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x8, [x29, #-184] ; 8-byte Folded Reload
ldr x8, [x8, _top@PAGEOFF]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-172] ; 4-byte Folded Spill
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _get_cave_index
ldur x1, [x29, #-144] ; 8-byte Folded Reload
mov x2, x0
ldur w0, [x29, #-172] ; 4-byte Folded Reload
bl _count_paths
adrp x8, _paths@PAGE
ldr w9, [x8, _paths@PAGEOFF]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
add sp, sp, #16
stur wzr, [x29, #-32]
ldur x8, [x29, #-80]
mov sp, x8
b LBB7_9
LBB7_9:
ldur w8, [x29, #-32]
stur w8, [x29, #-188] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB7_11
b LBB7_10
LBB7_10:
bl ___stack_chk_fail
LBB7_11:
ldur w0, [x29, #-188] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _INPUT_FILE ; @INPUT_FILE
_INPUT_FILE:
.asciz "input"
.globl _name_index ; @name_index
.zerofill __DATA,__common,_name_index,2000,0
.globl _top ; @top
.zerofill __DATA,__common,_top,8,3
.globl _caves ; @caves
.zerofill __DATA,__common,_caves,400,2
.globl _cave_top ; @cave_top
.zerofill __DATA,__common,_cave_top,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%5s: "
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "\n"
.globl _paths ; @paths
.zerofill __DATA,__common,_paths,4,2
l_.str.3: ; @.str.3
.asciz "end"
l_.str.4: ; @.str.4
.asciz "%s "
l_.str.5: ; @.str.5
.asciz "r"
l_.str.6: ; @.str.6
.asciz "-\n\r"
l_.str.7: ; @.str.7
.asciz "---\n"
l_.str.8: ; @.str.8
.asciz "start"
l_.str.9: ; @.str.9
.asciz "paths: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_mat ## -- Begin function init_mat
.p2align 4, 0x90
_init_mat: ## @init_mat
.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 -4(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
movl $0, -20(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -24(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -32(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movl $0, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%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:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_edge ## -- Begin function add_edge
.p2align 4, 0x90
_add_edge: ## @add_edge
.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 %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movl -4(%rbp), %eax
movl %eax, %edx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
movl $1, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_mat ## -- Begin function print_mat
.p2align 4, 0x90
_print_mat: ## @print_mat
.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
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
movl $0, -20(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -20(%rbp), %rax
leaq _name_index(%rip), %rsi
imulq $20, %rax, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -24(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -32(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_3
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_cave_exists ## -- Begin function check_cave_exists
.p2align 4, 0x90
_check_cave_exists: ## @check_cave_exists
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl $0, -20(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
cmpq _top(%rip), %rax
jae LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rdi
movslq -20(%rbp), %rax
leaq _name_index(%rip), %rsi
imulq $20, %rax, %rax
addq %rax, %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB3_7
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_1
LBB3_6:
movl $0, -4(%rbp)
LBB3_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_cave_index ## -- Begin function get_cave_index
.p2align 4, 0x90
_get_cave_index: ## @get_cave_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl $0, -20(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
cmpq _top(%rip), %rax
jae LBB4_6
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rdi
movslq -20(%rbp), %rax
leaq _name_index(%rip), %rsi
imulq $20, %rax, %rax
addq %rax, %rsi
callq _strcmp
cmpl $0, %eax
jne LBB4_4
## %bb.3:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB4_7
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_5
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB4_1
LBB4_6:
movl $-1, -4(%rbp)
LBB4_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_cave_index ## -- Begin function add_cave_index
.p2align 4, 0x90
_add_cave_index: ## @add_cave_index
.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, -16(%rbp)
movq -16(%rbp), %rdi
callq _check_cave_exists
cmpl $0, %eax
je LBB5_2
## %bb.1:
movq -16(%rbp), %rdi
callq _get_cave_index
movl %eax, -4(%rbp)
jmp LBB5_3
LBB5_2:
movq _top(%rip), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, _top(%rip)
leaq _name_index(%rip), %rdi
imulq $20, %rax, %rax
addq %rax, %rdi
movq -16(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq _top(%rip), %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
LBB5_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count_paths ## -- Begin function count_paths
.p2align 4, 0x90
_count_paths: ## @count_paths
.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)
movl %edx, -20(%rbp)
movl -4(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
movl -20(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
leaq L_.str.3(%rip), %rdi
callq _get_cave_index
movl %eax, %ecx
movl -36(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB6_6
## %bb.1:
movl -20(%rbp), %edx
movq _cave_top(%rip), %rcx
movq %rcx, %rax
addq $1, %rax
movq %rax, _cave_top(%rip)
leaq _caves(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl $0, -24(%rbp)
LBB6_2: ## =>This Inner Loop Header: Depth=1
movslq -24(%rbp), %rax
cmpq _cave_top(%rip), %rax
jae LBB6_5
## %bb.3: ## in Loop: Header=BB6_2 Depth=1
movslq -24(%rbp), %rcx
leaq _caves(%rip), %rax
movslq (%rax,%rcx,4), %rax
leaq _name_index(%rip), %rsi
imulq $20, %rax, %rax
addq %rax, %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.4: ## in Loop: Header=BB6_2 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB6_2
LBB6_5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl _paths(%rip), %eax
addl $1, %eax
movl %eax, _paths(%rip)
movq _cave_top(%rip), %rax
addq $-1, %rax
movq %rax, _cave_top(%rip)
jmp LBB6_22
LBB6_6:
movslq -20(%rbp), %rcx
leaq _name_index(%rip), %rax
imulq $20, %rcx, %rcx
addq %rcx, %rax
movsbl (%rax), %eax
cmpl $90, %eax
jle LBB6_14
## %bb.7:
movl $0, -28(%rbp)
LBB6_8: ## =>This Inner Loop Header: Depth=1
movslq -28(%rbp), %rax
cmpq _cave_top(%rip), %rax
jae LBB6_13
## %bb.9: ## in Loop: Header=BB6_8 Depth=1
movslq -20(%rbp), %rax
leaq _name_index(%rip), %rdi
imulq $20, %rax, %rax
addq %rax, %rdi
movslq -28(%rbp), %rcx
leaq _caves(%rip), %rax
movslq (%rax,%rcx,4), %rax
leaq _name_index(%rip), %rsi
imulq $20, %rax, %rax
addq %rax, %rsi
callq _strcmp
cmpl $0, %eax
jne LBB6_11
## %bb.10:
jmp LBB6_22
LBB6_11: ## in Loop: Header=BB6_8 Depth=1
jmp LBB6_12
LBB6_12: ## in Loop: Header=BB6_8 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB6_8
LBB6_13:
jmp LBB6_14
LBB6_14:
movl -20(%rbp), %edx
movq _cave_top(%rip), %rcx
movq %rcx, %rax
addq $1, %rax
movq %rax, _cave_top(%rip)
leaq _caves(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl $0, -32(%rbp)
LBB6_15: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB6_21
## %bb.16: ## in Loop: Header=BB6_15 Depth=1
movq -48(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -32(%rbp), %rcx
cmpl $1, (%rax,%rcx,4)
je LBB6_18
## %bb.17: ## in Loop: Header=BB6_15 Depth=1
movq -48(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB6_19
LBB6_18: ## in Loop: Header=BB6_15 Depth=1
movl -4(%rbp), %edi
movq -16(%rbp), %rsi
movl -32(%rbp), %edx
callq _count_paths
LBB6_19: ## in Loop: Header=BB6_15 Depth=1
jmp LBB6_20
LBB6_20: ## in Loop: Header=BB6_15 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB6_15
LBB6_21:
movq _cave_top(%rip), %rax
addq $-1, %rax
movq %rax, _cave_top(%rip)
LBB6_22:
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 $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
leaq _INPUT_FILE(%rip), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB7_2
## %bb.1:
movl $1, -36(%rbp)
jmp LBB7_9
LBB7_2:
jmp LBB7_3
LBB7_3: ## =>This Inner Loop Header: Depth=1
leaq -32(%rbp), %rdi
movq -48(%rbp), %rdx
movl $20, %esi
callq _fgets
cmpq $0, %rax
je LBB7_5
## %bb.4: ## in Loop: Header=BB7_3 Depth=1
leaq -32(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _strtok
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
callq _add_cave_index
movl %eax, -60(%rbp)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.6(%rip), %rsi
callq _strtok
movq %rax, -72(%rbp)
movq -72(%rbp), %rdi
callq _add_cave_index
movl %eax, -76(%rbp)
jmp LBB7_3
LBB7_5:
movq -48(%rbp), %rdi
callq _rewind
movq _top(%rip), %rax
movq %rax, -152(%rbp) ## 8-byte Spill
movq %rax, %rcx
movq %rcx, -160(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -88(%rbp)
imulq %rax, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -160(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -152(%rbp), %rax ## 8-byte Reload
movq %rsp, %rsi
movq %rsi, -144(%rbp) ## 8-byte Spill
movq %rcx, -96(%rbp)
movq %rax, -104(%rbp)
movq _top(%rip), %rax
movl %eax, %edi
callq _init_mat
LBB7_6: ## =>This Inner Loop Header: Depth=1
leaq -32(%rbp), %rdi
movq -48(%rbp), %rdx
movl $20, %esi
callq _fgets
cmpq $0, %rax
je LBB7_8
## %bb.7: ## in Loop: Header=BB7_6 Depth=1
leaq -32(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _strtok
movq %rax, -112(%rbp)
movq -112(%rbp), %rdi
callq _get_cave_index
movl %eax, -116(%rbp)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.6(%rip), %rsi
callq _strtok
movq %rax, -128(%rbp)
movq -128(%rbp), %rdi
callq _get_cave_index
movq -144(%rbp), %rsi ## 8-byte Reload
movl %eax, -132(%rbp)
movq _top(%rip), %rax
movl %eax, %edi
movl -116(%rbp), %edx
movl -132(%rbp), %ecx
callq _add_edge
jmp LBB7_6
LBB7_8:
movq -144(%rbp), %rsi ## 8-byte Reload
movq _top(%rip), %rax
movl %eax, %edi
callq _print_mat
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq _top(%rip), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -164(%rbp) ## 4-byte Spill
leaq L_.str.8(%rip), %rdi
callq _get_cave_index
movl -164(%rbp), %edi ## 4-byte Reload
movq -144(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
callq _count_paths
movl _paths(%rip), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
movq -88(%rbp), %rax
movq %rax, %rsp
LBB7_9:
movl -36(%rbp), %eax
movl %eax, -168(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_11
## %bb.10:
movl -168(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB7_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _INPUT_FILE ## @INPUT_FILE
_INPUT_FILE:
.asciz "input"
.globl _name_index ## @name_index
.zerofill __DATA,__common,_name_index,2000,4
.globl _top ## @top
.zerofill __DATA,__common,_top,8,3
.globl _caves ## @caves
.zerofill __DATA,__common,_caves,400,4
.globl _cave_top ## @cave_top
.zerofill __DATA,__common,_cave_top,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%5s: "
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\n"
.globl _paths ## @paths
.zerofill __DATA,__common,_paths,4,2
L_.str.3: ## @.str.3
.asciz "end"
L_.str.4: ## @.str.4
.asciz "%s "
L_.str.5: ## @.str.5
.asciz "r"
L_.str.6: ## @.str.6
.asciz "-\n\r"
L_.str.7: ## @.str.7
.asciz "---\n"
L_.str.8: ## @.str.8
.asciz "start"
L_.str.9: ## @.str.9
.asciz "paths: %d\n"
.subsections_via_symbols
| the_stack_data/613382.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ; -- Begin function sort
.p2align 2
_sort: ; @sort
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
mov w8, #1
and w8, w2, w8
strb w8, [sp, #19]
ldrb w8, [sp, #19]
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_1
LBB0_1:
str wzr, [sp, #12]
b LBB0_2
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_4
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #4]
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #4]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
str w8, [x9, x10, lsl #2]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=2
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_4
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_2
LBB0_11:
b LBB0_12
LBB0_12:
ldrb w8, [sp, #19]
and w8, w8, #0x1
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_13
LBB0_13:
str wzr, [sp, #12]
b LBB0_14
LBB0_14: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_23
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_16
LBB0_16: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_16 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #4]
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #4]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
str w8, [x9, x10, lsl #2]
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_16 Depth=2
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_16 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_16
LBB0_21: ; in Loop: Header=BB0_14 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_14
LBB0_23:
b LBB0_24
LBB0_24:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 wzr, [sp, #20]
add x0, sp, #24
adrp x1, l___const.main.array@PAGE
add x1, x1, l___const.main.array@PAGEOFF
mov x2, #64
bl _memcpy
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
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_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_4:
add x0, sp, #24
mov w1, #16
mov w8, #1
and w2, w8, #0x1
bl _sort
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
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_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_5
LBB1_8:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
bl ___stack_chk_fail
LBB1_10:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.array
l___const.main.array:
.long 34 ; 0x22
.long 4294967291 ; 0xfffffffb
.long 6 ; 0x6
.long 0 ; 0x0
.long 12 ; 0xc
.long 100 ; 0x64
.long 56 ; 0x38
.long 22 ; 0x16
.long 44 ; 0x2c
.long 4294967293 ; 0xfffffffd
.long 4294967287 ; 0xfffffff7
.long 12 ; 0xc
.long 17 ; 0x11
.long 22 ; 0x16
.long 6 ; 0x6
.long 11 ; 0xb
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The array before the sort:\n"
l_.str.1: ; @.str.1
.asciz "%i "
l_.str.2: ; @.str.2
.asciz "\n\nThe array after the sort:\n"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ## -- Begin function sort
.p2align 4, 0x90
_sort: ## @sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dl, %al
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
andb $1, %al
movb %al, -13(%rbp)
movb -13(%rbp), %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_12
## %bb.1:
movl $0, -20(%rbp)
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_11
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movslq -24(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_4
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_2
LBB0_11:
jmp LBB0_12
LBB0_12:
movb -13(%rbp), %al
andb $1, %al
movzbl %al, %eax
cmpl $1, %eax
jne LBB0_24
## %bb.13:
movl $0, -20(%rbp)
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_23
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB0_16: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_21
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movslq -24(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB0_19
## %bb.18: ## in Loop: Header=BB0_16 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_19: ## in Loop: Header=BB0_16 Depth=2
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_16 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_16
LBB0_21: ## in Loop: Header=BB0_14 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_14 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_14
LBB0_23:
jmp LBB0_24
LBB0_24:
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, -84(%rbp)
leaq -80(%rbp), %rdi
leaq l___const.main.array(%rip), %rsi
movl $64, %edx
callq _memcpy
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -88(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -88(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -88(%rbp), %rax
movl -80(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB1_1
LBB1_4:
leaq -80(%rbp), %rdi
movl $16, %esi
movl $1, %edx
callq _sort
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -88(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -88(%rbp)
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movslq -88(%rbp), %rax
movl -80(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB1_5
LBB1_8:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_10
## %bb.9:
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
LBB1_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.array
l___const.main.array:
.long 34 ## 0x22
.long 4294967291 ## 0xfffffffb
.long 6 ## 0x6
.long 0 ## 0x0
.long 12 ## 0xc
.long 100 ## 0x64
.long 56 ## 0x38
.long 22 ## 0x16
.long 44 ## 0x2c
.long 4294967293 ## 0xfffffffd
.long 4294967287 ## 0xfffffff7
.long 12 ## 0xc
.long 17 ## 0x11
.long 22 ## 0x16
.long 6 ## 0x6
.long 11 ## 0xb
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The array before the sort:\n"
L_.str.1: ## @.str.1
.asciz "%i "
L_.str.2: ## @.str.2
.asciz "\n\nThe array after the sort:\n"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/1162758.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #24
bl _malloc
str x0, [sp, #8]
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
ldr x9, [x9]
str x8, [x9, #16]
b LBB0_2
LBB0_2:
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insertBefore ; -- Begin function insertBefore
.p2align 2
_insertBefore: ; @insertBefore
.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]
ldr x8, [sp, #16]
subs x8, x8, #0
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
b LBB1_5
LBB1_2:
mov x0, #24
bl _malloc
str x0, [sp]
ldr w8, [sp, #12]
ldr x9, [sp]
str w8, [x9]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp]
str x8, [x9, #16]
ldr x8, [sp]
ldr x9, [sp, #16]
str x8, [x9, #16]
ldr x8, [sp, #16]
ldr x9, [sp]
str x8, [x9, #8]
ldr x8, [sp]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr x8, [sp]
ldr x9, [sp]
ldr x9, [x9, #16]
str x8, [x9, #8]
b LBB1_5
LBB1_4:
ldr x8, [sp]
ldur x9, [x29, #-8]
str x8, [x9]
b LBB1_5
LBB1_5:
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, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-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
ldur x8, [x29, #-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
ldur x8, [x29, #-8]
str x8, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
stur x8, [x29, #-8]
b LBB2_1
LBB2_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB2_4
LBB2_6:
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, #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]
add x0, sp, #16
str x0, [sp] ; 8-byte Folded Spill
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
mov w1, #2
bl _push
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #3
bl _push
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #5
bl _push
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #1
bl _push
ldr x0, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #16]
ldr x1, [x8, #8]
mov w2, #8
bl _insertBefore
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #16]
bl _printList
bl _getchar
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 "Next Node Tidak Boleh NULL!"
l_.str.1: ; @.str.1
.asciz "\nTampil dari arah depan : \n"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "\nTampil dari arah belakang : \n"
l_.str.4: ; @.str.4
.asciz "Double Linked List : "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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 $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $24, %edi
callq _malloc
movq %rax, -24(%rbp)
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.1:
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rcx, 16(%rax)
LBB0_2:
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insertBefore ## -- Begin function insertBefore
.p2align 4, 0x90
_insertBefore: ## @insertBefore
.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)
cmpq $0, -16(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_5
LBB1_2:
movl $24, %edi
callq _malloc
movq %rax, -32(%rbp)
movl -20(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq 16(%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 16(%rax)
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rax
cmpq $0, 16(%rax)
je LBB1_4
## %bb.3:
movq -32(%rbp), %rcx
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq %rcx, 8(%rax)
jmp LBB1_5
LBB1_4:
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
LBB1_5:
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 %rdi, -8(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
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 %rax, -16(%rbp)
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
LBB2_4: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB2_4
LBB2_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movq $0, -16(%rbp)
leaq -16(%rbp), %rdi
movl $2, %esi
callq _push
leaq -16(%rbp), %rdi
movl $3, %esi
callq _push
leaq -16(%rbp), %rdi
movl $5, %esi
callq _push
leaq -16(%rbp), %rdi
movl $1, %esi
callq _push
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq -16(%rbp), %rdi
movl $8, %edx
callq _insertBefore
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
callq _printList
callq _getchar
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Next Node Tidak Boleh NULL!"
L_.str.1: ## @.str.1
.asciz "\nTampil dari arah depan : \n"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "\nTampil dari arah belakang : \n"
L_.str.4: ## @.str.4
.asciz "Double Linked List : "
.subsections_via_symbols
| the_stack_data/14138.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _acchujiao ; @acchujiao
_acchujiao:
.asciz "BM6$\000\000\000\000\000\0006\000\000\000(\000\000\0000\000\000\0000\000\000\000\001\000 \000\000\000\000\000\000$\000\000\303\016\000\000\303\016\000\000\000\000\000\000\000\000\000\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000)))\rLLL5```xhhh\236lll\245ccc\214YYYM:::\034\000\000\000\001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\000\000\000\t\031\031\031\023111\032\027\027\027\022\001\001\001\n\000\000\000\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000!!!\021iii\204\206\206\206\324\227\227\227\370\233\233\233\374\234\234\234\375\227\227\227\373\210\210\210\350|||\264<<<1\016\016\016\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\016\016\016\n///)UUUpjjj\225sss\254yyy\272rrr\252mmm\231TTTh333/\004\004\004\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000HHH\037xxx\244\237\237\237\375\247\247\247\377\243\245\243\377\227\236\232\376\225\237\231\376\232\237\234\376\240\240\240\377\243\243\243\377\213\213\213\330^^^Q\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000(((\017UUUHrrr\270\202\202\202\355\221\221\221\376\221\221\221\377\220\220\220\377\220\220\220\377\217\217\217\377\220\220\220\377\220\220\220\375\203\203\203\361ooo\252XXXR\016\016\016\n\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001rrr}\237\237\237\364\252\252\252\377\230\236\233\377\\\244}\377V\301\210\376Z\310\216\376Y\271\205\376\177\233\214\376\246\250\247\377\245\245\245\375\212\212\212\313###\024\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000!!!\023lll\221\205\205\205\341\221\221\221\376\231\231\231\377\234\234\234\377\237\237\237\377\240\240\240\377\240\240\240\377\237\237\237\377\237\237\237\377\224\224\224\377\216\216\216\377\220\220\220\374\206\206\206\350fff\177000\027\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000BBB\037\231\231\231\350\256\256\256\377\212\234\223\377G\256w\377R\355\233\377n\367\260\377~\372\271\377i\367\254\377J\325\213\377i\237\202\377\254\255\255\377\247\247\247\375sss\203'''\013\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000OOO.yyy\262\224\224\224\375\233\233\233\377\243\243\243\377\243\243\243\377\240\236\235\376\232\224\222\376\233\215\206\376\235\215\204\376\233\216\210\376\233\225\222\376\234\233\232\377\232\232\232\377\242\242\242\377\233\233\233\377\221\221\221\371zzz\273@@@!\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001eeeS\254\254\254\375\255\255\255\377X\227v\377>\323\205\377^\365\245\377t\371\263\377~\373\271\377p\370\261\377S\357\235\377>\273x\377\233\241\236\377\261\261\261\377\224\224\224\336ZZZ\\\005\005\005\006\377\377\377\000\004\004\004\003'''!}}}\270\223\223\223\370\242\242\242\377\246\246\246\377\241\241\241\377\230\220\215\377\226lX\376\251tG\376\273\203C\376\306\217D\376\273\205D\376\260|I\376\227s^\377\233\220\213\377\242\241\241\377\244\244\244\377\240\240\240\377\225\225\225\373vvv\230555\025\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\205\205\205~\264\264\264\377\247\247\247\377:\233i\377@\337\213\377Z\364\243\377h\366\254\377n\367\257\377f\366\252\377R\361\235\377=\332\207\377x\220\203\376\263\263\263\377\247\247\247\377\232\232\232\370yyy\270jjj\223sss\253\207\207\207\343\233\233\233\377\245\245\245\377\250\250\250\377\236\233\232\377\231o[\377\262m3\377\342\251B\377\356\304L\377\364\323P\377\365\326Q\377\364\324Q\377\361\314N\377\342\257D\377\275}7\377\235{g\377\237\231\227\377\246\246\246\377\246\246\246\377\225\225\225\370ttt\212\025\025\025\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\215\215\215\200\267\267\267\377\245\247\246\3774\225c\377<\331\206\377S\360\236\377g\365\253\377j\366\255\377_\364\246\377K\354\227\3778\321\200\377u\221\202\376\266\266\266\377\251\251\251\377\243\243\243\377\242\242\242\376\240\240\240\373\237\237\237\375\235\235\235\376\244\244\244\377\254\254\254\377\240\234\233\377\223k[\377\304z4\377\342\252B\377\362\315N\377\366\326R\377\371\335S\377\372\340T\377\371\335T\377\367\331R\377\363\321P\377\352\274H\377\305\205;\377\235rY\377\243\243\242\377\252\252\252\377\243\243\243\376\220\220\220\345JJJ)\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001\200\200\200a\261\261\261\377\245\245\245\377E\207e\377/\275t\377T\346\231\377d\360\247\377[\362\243\377^\357\243\377C\334\213\377,\252h\377\216\231\223\377\273\273\273\377\251\251\251\377\245\245\245\377\245\245\245\377\245\245\245\377\241\241\241\377\240\240\240\377\261\261\261\377\247\247\247\377\223l]\377\273n0\377\344\253C\377\360\313N\377\366\327Q\377\370\334S\377\373\341U\377\374\344V\377\373\342U\377\371\335T\377\366\330R\377\364\322P\377\350\265F\377\311\2025\377\230xi\377\245\244\243\377\255\255\255\377\242\242\242\377\177\177\177\221;;;\013\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000jjj)\257\257\257\363\267\267\267\377t\215\201\377+\214\\\377P\322\216\377n\350\250\377h\352\246\377d\344\241\377:\266v\377L\215k\377\255\256\256\377\300\300\300\377\246\246\246\377\246\246\246\377\246\246\246\377\246\246\246\377\240\240\240\377\245\245\245\377\256\256\256\377\233\223\222\376\236W/\376\325\2138\377\353\275I\377\363\322P\377\366\330R\377\371\334S\377\373\341U\377\373\342V\377\373\341U\377\372\336T\377\367\331R\377\365\325Q\377\356\305L\377\341\244@\377\250i=\377\236\220\214\377\256\256\256\377\252\252\252\377\222\222\222\310ccc$\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000,,,\003\237\237\237\230\303\303\303\372\257\261\260\377z\217\205\377A\210f\377U\250\200\377W\262\204\377L\237v\377^\212t\377\225\233\230\377\300\300\300\377\264\264\264\377\247\247\247\377\247\247\247\377\247\247\247\377\245\245\245\377\244\244\244\377\237\237\237\377\243\243\243\377\211cX\377\276m-\377\336\235>\377\357\306L\377\364\323P\377\367\330R\377\370\333S\377\371\336T\377\372\337T\377\371\336T\377\371\335S\377\367\331R\377\365\326Q\377\361\314N\377\346\261E\377\303y3\377\230q_\377\253\253\253\377\264\264\264\377\235\235\235\357zzzR\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\206\206\206/\255\255\255\307\310\310\310\376\272\272\272\377\213\227\221\377}\222\207\377z\222\206\377\202\223\212\377\254\257\256\377\273\273\273\377\262\262\262\376\252\252\252\374\250\250\250\375\250\250\250\376\250\250\250\377\246\246\246\377\251\251\251\377\267\267\267\377\241\234\233\377\212S?\377\313{2\377\340\242@\377\357\307L\377\364\323P\377\366\327R\377\367\332S\377\370\334S\377\371\335T\377\371\334S\377\370\333S\377\366\330R\377\365\325Q\377\361\314N\377\347\264F\377\315\2045\377\230\\>\377\252\252\252\377\266\266\266\377\245\245\245\370\200\200\200q\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000uuu\036\253\253\253\260\304\304\304\354\316\316\316\376\313\313\313\377\306\306\306\377\316\316\316\377\310\310\310\366\267\267\267\324\230\230\230{\213\213\213E\213\213\213C\232\232\232\206\245\245\245\350\247\247\247\376\256\256\256\377\273\273\273\377\236\223\222\377\217Q5\377\315\1773\377\340\241?\377\355\304L\377\363\322P\377\365\326Q\377\366\330R\377\367\331R\377\367\332S\377\367\331R\377\367\330R\377\365\326Q\377\364\324Q\377\360\311M\377\347\262E\377\321\2117\377\230S-\377\252\251\251\377\270\270\270\377\256\256\256\374\207\207\207\224\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\210\210\210\032\236\236\236W\257\257\257\247\266\266\266\317\271\271\271\326\262\262\262\274\246\246\246t\221\221\2210ggg\005\377\377\377\000\377\377\377\000kkk\b\223\223\223q\245\245\245\355\261\261\261\377\275\275\275\377\236\222\220\377\214N2\377\312z2\377\335\234=\377\353\274I\377\362\316O\377\364\324Q\377\365\326Q\377\366\327R\377\366\330R\377\366\330R\377\365\326R\377\365\324Q\377\363\322P\377\355\302K\377\344\253C\377\316\2045\377\226O*\377\250\246\245\377\271\271\271\377\261\261\261\375\215\215\215\237\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\000\000\000\004\000\000\000\001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000lll\021\232\232\232\252\263\263\263\377\301\301\301\377\241\227\225\376\212N4\376\275l,\377\332\222:\377\345\257D\377\355\302K\377\362\321P\377\364\325Y\377\366\332e\377\367\333g\377\366\332c\377\365\326Z\377\363\321Q\377\360\312M\377\347\265F\377\340\240?\377\304w0\377\220K,\377\255\255\255\377\274\274\274\377\262\262\262\373\213\213\213\216\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000999\002\216\216\216o\263\263\263\376\305\305\305\377\251\244\244\376\207S@\376\253[%\377\322\2066\377\340\243@\377\347\264F\377\357\311V\377\364\326h\377\366\331e\377\366\331`\377\366\331c\377\365\330f\377\360\314W\377\353\274I\377\342\250B\377\332\225;\377\263d)\377\217U>\377\260\260\260\377\301\301\301\377\261\261\261\367\216\216\216k\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000ooo4\260\260\260\372\305\305\305\377\272\272\272\377\217ng\377\220D\035\377\274k,\377\331\222<\377\340\243E\377\353\277a\377\357\312e\377\361\315Z\377\361\315S\377\361\316X\377\360\314_\377\354\301^\377\344\255L\377\333\230@\377\311}2\377\230N$\377\227vl\377\270\270\270\377\305\305\305\377\253\253\253\345\211\211\211@\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000***\t\247\247\247\335\302\302\302\376\304\304\304\377\246\236\235\377\202A'\377\235O \377\314\1778\377\334\232J\377\350\267d\377\355\305r\377\356\310k\377\354\301U\377\357\312o\377\355\310r\377\350\270`\377\341\246U\377\320\207?\377\257a)\377\216P6\377\243\227\224\377\273\273\273\377\301\301\301\377\246\246\246\300~~~\036\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\231\231\231w\265\265\265\366\315\315\315\377\274\274\274\377\224yr\377\204@#\377\242V(\377\302x=\377\335\243\\\377\346\267r\377\352\276u\377\346\262X\377\353\303~\377\350\274v\377\336\245[\377\314\210J\377\247[*\377\216E\"\377\233\204\177\377\265\265\265\377\251\251\251\377\262\262\262\374\226\226\226g\030\030\030\002\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\217\217\217,\253\253\253\313\306\306\306\377\315\315\315\377\261\255\254\377\221md\377\210@ \377\240Z2\377\300\201M\377\325\237e\377\337\254n\377\333\241V\377\340\261t\377\330\242e\377\305\210R\377\253f:\377\215G'\377\223ma\377\264\262\262\377\311\311\311\377\305\305\305\377\253\253\253\324sss\030\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000:::\001\221\221\221I\265\265\265\360\313\313\313\377\315\315\315\377\273\273\273\377\226zu\377\210P<\377\216H(\377\247jD\377\276\214f\377\270\177P\377\301\222m\377\255rJ\377\223O.\377\213P9\377\235\205\200\377\266\265\264\377\315\315\315\377\315\315\315\377\265\265\265\367\225\225\225i\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000bbb\005\242\242\242\202\272\272\272\363\320\320\320\377\323\323\323\377\277\276\276\377\250\236\235\377\226vn\377\213ZJ\377\214S=\377\214O4\377\216VA\377\215ZJ\377\231}u\377\247\234\232\377\300\277\277\377\317\317\317\377\317\317\317\377\276\276\276\377\255\255\255\344\221\221\221@\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000nnn\t\236\236\236}\272\272\272\374\313\313\313\377\326\326\326\377\322\322\322\377\264\264\264\377\272\272\272\377\265\262\262\377\262\256\256\377\266\263\263\377\274\273\273\377\305\305\305\377\321\321\321\377\325\325\325\377\315\315\315\377\272\272\272\377\265\265\265\377\256\256\256\352\206\206\206N\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000kkk\035\253\253\253\343\270\270\270\377\306\306\306\377\316\316\316\377\267\267\267\377\322\322\322\377\325\325\325\377\325\325\325\377\325\325\325\377\326\326\326\377\330\330\330\377\323\323\323\377\304\304\304\377\272\272\272\377\266\266\266\377\267\267\267\377\265\265\265\374\213\213\213\214\004\004\004\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\004\236\236\236\301\271\271\271\377\266\266\266\377\267\267\267\377\275\275\275\377\304\304\304\377\312\312\312\376\314\314\314\375\311\311\311\367\304\304\304\356\273\273\273\345\265\265\265\351\265\265\265\373\270\270\270\377\271\271\271\377\271\271\271\377\271\271\271\377\255\255\255\361iiiO)))\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\b\240\240\240\315\271\271\271\377\271\271\271\377\271\271\271\377\270\270\270\377\267\267\267\373\255\255\255\301\253\253\253\207\250\250\250l\247\247\247T\240\240\240?\243\243\243H\252\252\252\226\265\265\265\355\271\271\271\377\271\271\271\377\271\271\271\377\271\271\271\376\242\242\242\322nnnj%%%\031\000\000\000\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001[[[<\263\263\263\361\273\273\273\377\273\273\273\377\273\273\273\377\270\270\270\361\246\246\246\202]]]\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000ddd\005\231\231\231Y\270\270\270\365\273\273\273\377\273\273\273\377\274\274\274\377\275\275\275\377\272\272\272\375\240\240\240\331\206\206\206\227VVV*\000\000\000\002\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000AAA$\226\226\226\253\272\272\272\376\274\274\274\377\274\274\274\377\274\274\274\377\256\256\256\270}}}\031\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000LLL\005\251\251\251\252\273\273\273\374\275\275\275\377\270\270\270\377\275\275\275\377\273\274\275\377\276\276\276\377\274\274\274\374\235\235\235\271ggg/\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000///\016RRR,pppY|||\204\240\240\240\330\272\272\272\374\275\275\275\377\275\275\275\377\275\275\275\377\275\275\275\376\230\230\230l\000\000\000\001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\223\223\223M\267\267\267\355\276\277\277\377\216\242\254\3766\244\304\376\032\265\330\3765\253\310\376\205\253\271\377\275\275\275\375\234\234\234\254###\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\f\f\f\004>>>2\215\215\215\231\244\244\244\320\253\253\253\355\261\261\261\370\270\270\270\376\270\270\270\377\273\273\273\377\276\276\276\377\276\276\276\377\275\275\275\376\216\216\216S\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\211\211\211A\263\263\263\345\257\264\271\377@\241\304\376\000\317\365\377\000\332\375\377\001\325\371\377!\260\324\376\260\264\270\376\260\260\260\352[[[!\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000===\021\203\203\203\206\256\256\256\353\274\274\274\377\276\276\276\377\305\305\305\377\306\306\306\377\306\306\306\377\305\305\305\377\266\266\266\377\256\256\256\377\275\275\275\377\277\277\277\377\222\222\222\205\037\037\037\007\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\212\212\212B\257\257\257\346\220\244\257\377\026\241\315\377\003\323\370\377\t\333\372\377\002\327\372\377\002\277\352\376\217\246\262\376\271\271\271\376\202\202\2028\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000>>>\020\206\206\206{\266\266\266\364\302\302\302\376\307\307\307\377\312\312\312\377\277\270\277\377\276\257\275\377\275\254\273\377\275\264\275\376\274\273\274\377\271\271\271\377\304\304\304\377\277\277\277\377\252\252\252\317ggg3\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\220\220\220;\255\255\255\341\223\240\251\376\037\223\277\376\024\313\355\377#\333\353\377\025\322\357\377\n\257\334\377\222\242\254\377\264\264\264\373\202\202\2021\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001\211\211\211x\270\270\270\361\310\310\310\377\314\314\314\377\272\245\272\377\261n\256\377\303P\277\377\324V\317\377\331[\324\377\315U\310\376\270e\265\377\267\222\265\377\311\307\310\377\313\313\313\377\300\300\300\375\235\235\235\267CCC\022\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\212\212\212\030\251\251\251\262\247\251\252\376a\207\236\3767\241\304\377Q\301\326\377A\256\314\377N\220\254\377\252\252\253\376\250\250\250\305ggg\r\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000;;;\036\260\260\260\340\310\310\310\376\316\316\316\377\265\240\265\377\270M\264\377\337V\332\377\364y\357\377\370\221\364\377\371\231\366\377\367\207\363\377\354h\350\377\320S\313\377\256\203\254\377\311\306\310\377\314\314\314\377\277\277\277\371\202\202\202_\000\000\000\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000ZZZ\003\234\234\234G\247\247\247\360\237\241\244\377|\222\237\377p\223\243\377z\222\237\377\220\227\233\377\247\247\247\355\235\235\235b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000777\006\224\224\224~\307\307\307\376\321\321\321\377\270\246\267\377\255F\252\377\346X\341\377\364u\360\377\371\227\366\377\373\256\370\377\374\267\372\377\372\243\367\377\367\204\363\377\361j\354\377\310K\305\377\256\203\255\377\320\320\320\377\314\314\314\377\255\255\255\276kkk\037\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\240\240\240R\243\243\243\300\242\242\242\363\242\242\242\370\243\243\243\363\244\244\244\325\240\240\240Qiii\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000aaa\027\260\260\260\272\317\317\317\377\321\321\321\377\240i\237\377\306?\302\377\356d\351\377\366}\362\377\371\231\366\377\372\250\367\377\373\255\371\377\372\242\367\377\367\213\364\377\365t\360\377\337R\333\377\251I\250\377\307\304\307\377\324\324\324\377\273\273\273\346\211\211\211D\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\201\201\201\004\232\232\232 \244\244\244Z\246\246\246p\246\246\246[\241\241\2410ppp\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\201\201\2015\272\272\272\333\327\327\327\377\310\304\310\377\2236\223\377\330H\324\377\360h\353\377\366|\362\377\370\220\364\377\371\232\366\377\372\235\366\377\371\226\365\377\367\206\363\377\366t\361\377\350Y\343\377\274;\272\377\260\234\260\377\325\325\325\377\313\313\313\370\231\231\231p\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\226\226\226@\302\302\302\344\330\330\330\377\301\272\302\377\221'\222\377\333J\326\377\357d\352\377\365v\361\377\367\206\363\377\370\215\364\377\371\220\365\377\370\213\364\377\367~\362\377\365p\360\377\346X\341\377\301;\277\377\241\177\242\377\325\325\325\377\320\320\320\373\236\236\236\211\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\232\232\232?\305\305\305\344\333\333\333\377\301\272\301\377\211#\213\377\324C\317\377\351[\344\377\363j\356\377\366z\362\377\367\204\363\377\367\205\364\377\366\177\362\377\365r\360\377\360e\353\377\341Q\334\377\2675\266\377\237{\237\377\327\327\327\377\323\323\323\373\242\242\242\211\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\223\223\2233\305\305\305\332\327\327\327\377\305\300\305\377\177+\201\377\303:\301\377\342R\335\377\354`\347\377\365z\361\377\366|\363\377\366y\364\377\365{\363\377\361i\354\377\351[\344\377\327G\323\377\241,\243\377\257\231\257\377\331\331\331\377\324\324\324\367\247\247\247k\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000{{{\023\277\277\277\265\273\273\273\377\306\306\306\377\215_\217\377\225'\230\377\325G\322\377\344_\340\377\356v\353\377\360m\356\377\360g\356\377\357q\355\377\351i\345\377\340V\333\377\2675\265\377\2105\212\377\307\303\307\377\340\340\340\377\315\315\315\346\240\240\240B\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000]]]\005\255\255\255z\327\327\327\376\337\337\337\377\260\236\260\377x.}\377\2576\257\377\331Z\325\377\351{\347\377\353y\351\377\352r\351\377\353\200\352\377\341f\336\377\310J\305\377\214)\217\377\234r\234\377\330\330\330\377\342\342\342\377\303\303\303\275\220\220\220\035\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000eee\025\314\314\314\337\344\344\344\376\333\333\333\377\252\226\253\377x1}\377\226;\232\377\310a\311\377\330o\327\377\331j\330\377\321j\321\377\256I\257\377\2070\214\377\225m\226\377\307\303\307\377\346\346\346\377\331\331\331\370\254\254\254X \001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\266\266\266r\331\331\331\360\347\347\347\377\331\330\331\377\251\224\252\377\207T\212\377\2049\211\377\234Q\240\377\237O\243\377\220B\224\377\203C\207\377\235z\236\377\304\300\304\377\274\274\274\377\334\334\334\375\304\304\304\264|||\016\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\215\215\215\013\273\273\273u\336\336\336\363\352\352\352\377\342\342\342\377\322\322\322\377\275\260\275\377\260\237\261\377\252\226\253\377\270\251\270\377\314\311\313\377\333\333\333\377\350\350\350\377\324\324\324\375\306\306\306\257\236\236\236$\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\215\215\215\n\277\277\277y\327\327\327\345\351\351\351\377\355\355\355\377\346\346\346\377\344\344\344\377\344\344\344\377\344\344\344\377\353\353\353\377\354\354\354\377\336\336\336\366\311\311\311\255\243\243\243#\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000iii\002\242\242\242%\307\307\307\216\326\326\326\310\340\340\340\354\345\345\345\364\345\345\345\365\342\342\342\361\331\331\331\327\316\316\316\253\261\261\261D\211\211\211\n\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\226\226\226\n\265\265\265\"\275\275\275G\303\303\303X\304\304\304\\\277\277\277N\270\270\270/\246\246\246\023\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _acchujiao ## @acchujiao
.p2align 4
_acchujiao:
.asciz "BM6$\000\000\000\000\000\0006\000\000\000(\000\000\0000\000\000\0000\000\000\000\001\000 \000\000\000\000\000\000$\000\000\303\016\000\000\303\016\000\000\000\000\000\000\000\000\000\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000)))\rLLL5```xhhh\236lll\245ccc\214YYYM:::\034\000\000\000\001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\000\000\000\t\031\031\031\023111\032\027\027\027\022\001\001\001\n\000\000\000\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000!!!\021iii\204\206\206\206\324\227\227\227\370\233\233\233\374\234\234\234\375\227\227\227\373\210\210\210\350|||\264<<<1\016\016\016\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\016\016\016\n///)UUUpjjj\225sss\254yyy\272rrr\252mmm\231TTTh333/\004\004\004\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000HHH\037xxx\244\237\237\237\375\247\247\247\377\243\245\243\377\227\236\232\376\225\237\231\376\232\237\234\376\240\240\240\377\243\243\243\377\213\213\213\330^^^Q\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000(((\017UUUHrrr\270\202\202\202\355\221\221\221\376\221\221\221\377\220\220\220\377\220\220\220\377\217\217\217\377\220\220\220\377\220\220\220\375\203\203\203\361ooo\252XXXR\016\016\016\n\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001rrr}\237\237\237\364\252\252\252\377\230\236\233\377\\\244}\377V\301\210\376Z\310\216\376Y\271\205\376\177\233\214\376\246\250\247\377\245\245\245\375\212\212\212\313###\024\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000!!!\023lll\221\205\205\205\341\221\221\221\376\231\231\231\377\234\234\234\377\237\237\237\377\240\240\240\377\240\240\240\377\237\237\237\377\237\237\237\377\224\224\224\377\216\216\216\377\220\220\220\374\206\206\206\350fff\177000\027\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000BBB\037\231\231\231\350\256\256\256\377\212\234\223\377G\256w\377R\355\233\377n\367\260\377~\372\271\377i\367\254\377J\325\213\377i\237\202\377\254\255\255\377\247\247\247\375sss\203'''\013\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000OOO.yyy\262\224\224\224\375\233\233\233\377\243\243\243\377\243\243\243\377\240\236\235\376\232\224\222\376\233\215\206\376\235\215\204\376\233\216\210\376\233\225\222\376\234\233\232\377\232\232\232\377\242\242\242\377\233\233\233\377\221\221\221\371zzz\273@@@!\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001eeeS\254\254\254\375\255\255\255\377X\227v\377>\323\205\377^\365\245\377t\371\263\377~\373\271\377p\370\261\377S\357\235\377>\273x\377\233\241\236\377\261\261\261\377\224\224\224\336ZZZ\\\005\005\005\006\377\377\377\000\004\004\004\003'''!}}}\270\223\223\223\370\242\242\242\377\246\246\246\377\241\241\241\377\230\220\215\377\226lX\376\251tG\376\273\203C\376\306\217D\376\273\205D\376\260|I\376\227s^\377\233\220\213\377\242\241\241\377\244\244\244\377\240\240\240\377\225\225\225\373vvv\230555\025\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\205\205\205~\264\264\264\377\247\247\247\377:\233i\377@\337\213\377Z\364\243\377h\366\254\377n\367\257\377f\366\252\377R\361\235\377=\332\207\377x\220\203\376\263\263\263\377\247\247\247\377\232\232\232\370yyy\270jjj\223sss\253\207\207\207\343\233\233\233\377\245\245\245\377\250\250\250\377\236\233\232\377\231o[\377\262m3\377\342\251B\377\356\304L\377\364\323P\377\365\326Q\377\364\324Q\377\361\314N\377\342\257D\377\275}7\377\235{g\377\237\231\227\377\246\246\246\377\246\246\246\377\225\225\225\370ttt\212\025\025\025\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\215\215\215\200\267\267\267\377\245\247\246\3774\225c\377<\331\206\377S\360\236\377g\365\253\377j\366\255\377_\364\246\377K\354\227\3778\321\200\377u\221\202\376\266\266\266\377\251\251\251\377\243\243\243\377\242\242\242\376\240\240\240\373\237\237\237\375\235\235\235\376\244\244\244\377\254\254\254\377\240\234\233\377\223k[\377\304z4\377\342\252B\377\362\315N\377\366\326R\377\371\335S\377\372\340T\377\371\335T\377\367\331R\377\363\321P\377\352\274H\377\305\205;\377\235rY\377\243\243\242\377\252\252\252\377\243\243\243\376\220\220\220\345JJJ)\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001\200\200\200a\261\261\261\377\245\245\245\377E\207e\377/\275t\377T\346\231\377d\360\247\377[\362\243\377^\357\243\377C\334\213\377,\252h\377\216\231\223\377\273\273\273\377\251\251\251\377\245\245\245\377\245\245\245\377\245\245\245\377\241\241\241\377\240\240\240\377\261\261\261\377\247\247\247\377\223l]\377\273n0\377\344\253C\377\360\313N\377\366\327Q\377\370\334S\377\373\341U\377\374\344V\377\373\342U\377\371\335T\377\366\330R\377\364\322P\377\350\265F\377\311\2025\377\230xi\377\245\244\243\377\255\255\255\377\242\242\242\377\177\177\177\221;;;\013\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000jjj)\257\257\257\363\267\267\267\377t\215\201\377+\214\\\377P\322\216\377n\350\250\377h\352\246\377d\344\241\377:\266v\377L\215k\377\255\256\256\377\300\300\300\377\246\246\246\377\246\246\246\377\246\246\246\377\246\246\246\377\240\240\240\377\245\245\245\377\256\256\256\377\233\223\222\376\236W/\376\325\2138\377\353\275I\377\363\322P\377\366\330R\377\371\334S\377\373\341U\377\373\342V\377\373\341U\377\372\336T\377\367\331R\377\365\325Q\377\356\305L\377\341\244@\377\250i=\377\236\220\214\377\256\256\256\377\252\252\252\377\222\222\222\310ccc$\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000,,,\003\237\237\237\230\303\303\303\372\257\261\260\377z\217\205\377A\210f\377U\250\200\377W\262\204\377L\237v\377^\212t\377\225\233\230\377\300\300\300\377\264\264\264\377\247\247\247\377\247\247\247\377\247\247\247\377\245\245\245\377\244\244\244\377\237\237\237\377\243\243\243\377\211cX\377\276m-\377\336\235>\377\357\306L\377\364\323P\377\367\330R\377\370\333S\377\371\336T\377\372\337T\377\371\336T\377\371\335S\377\367\331R\377\365\326Q\377\361\314N\377\346\261E\377\303y3\377\230q_\377\253\253\253\377\264\264\264\377\235\235\235\357zzzR\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\206\206\206/\255\255\255\307\310\310\310\376\272\272\272\377\213\227\221\377}\222\207\377z\222\206\377\202\223\212\377\254\257\256\377\273\273\273\377\262\262\262\376\252\252\252\374\250\250\250\375\250\250\250\376\250\250\250\377\246\246\246\377\251\251\251\377\267\267\267\377\241\234\233\377\212S?\377\313{2\377\340\242@\377\357\307L\377\364\323P\377\366\327R\377\367\332S\377\370\334S\377\371\335T\377\371\334S\377\370\333S\377\366\330R\377\365\325Q\377\361\314N\377\347\264F\377\315\2045\377\230\\>\377\252\252\252\377\266\266\266\377\245\245\245\370\200\200\200q\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000uuu\036\253\253\253\260\304\304\304\354\316\316\316\376\313\313\313\377\306\306\306\377\316\316\316\377\310\310\310\366\267\267\267\324\230\230\230{\213\213\213E\213\213\213C\232\232\232\206\245\245\245\350\247\247\247\376\256\256\256\377\273\273\273\377\236\223\222\377\217Q5\377\315\1773\377\340\241?\377\355\304L\377\363\322P\377\365\326Q\377\366\330R\377\367\331R\377\367\332S\377\367\331R\377\367\330R\377\365\326Q\377\364\324Q\377\360\311M\377\347\262E\377\321\2117\377\230S-\377\252\251\251\377\270\270\270\377\256\256\256\374\207\207\207\224\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\210\210\210\032\236\236\236W\257\257\257\247\266\266\266\317\271\271\271\326\262\262\262\274\246\246\246t\221\221\2210ggg\005\377\377\377\000\377\377\377\000kkk\b\223\223\223q\245\245\245\355\261\261\261\377\275\275\275\377\236\222\220\377\214N2\377\312z2\377\335\234=\377\353\274I\377\362\316O\377\364\324Q\377\365\326Q\377\366\327R\377\366\330R\377\366\330R\377\365\326R\377\365\324Q\377\363\322P\377\355\302K\377\344\253C\377\316\2045\377\226O*\377\250\246\245\377\271\271\271\377\261\261\261\375\215\215\215\237\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\003\000\000\000\004\000\000\000\001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000lll\021\232\232\232\252\263\263\263\377\301\301\301\377\241\227\225\376\212N4\376\275l,\377\332\222:\377\345\257D\377\355\302K\377\362\321P\377\364\325Y\377\366\332e\377\367\333g\377\366\332c\377\365\326Z\377\363\321Q\377\360\312M\377\347\265F\377\340\240?\377\304w0\377\220K,\377\255\255\255\377\274\274\274\377\262\262\262\373\213\213\213\216\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000999\002\216\216\216o\263\263\263\376\305\305\305\377\251\244\244\376\207S@\376\253[%\377\322\2066\377\340\243@\377\347\264F\377\357\311V\377\364\326h\377\366\331e\377\366\331`\377\366\331c\377\365\330f\377\360\314W\377\353\274I\377\342\250B\377\332\225;\377\263d)\377\217U>\377\260\260\260\377\301\301\301\377\261\261\261\367\216\216\216k\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000ooo4\260\260\260\372\305\305\305\377\272\272\272\377\217ng\377\220D\035\377\274k,\377\331\222<\377\340\243E\377\353\277a\377\357\312e\377\361\315Z\377\361\315S\377\361\316X\377\360\314_\377\354\301^\377\344\255L\377\333\230@\377\311}2\377\230N$\377\227vl\377\270\270\270\377\305\305\305\377\253\253\253\345\211\211\211@\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000***\t\247\247\247\335\302\302\302\376\304\304\304\377\246\236\235\377\202A'\377\235O \377\314\1778\377\334\232J\377\350\267d\377\355\305r\377\356\310k\377\354\301U\377\357\312o\377\355\310r\377\350\270`\377\341\246U\377\320\207?\377\257a)\377\216P6\377\243\227\224\377\273\273\273\377\301\301\301\377\246\246\246\300~~~\036\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\231\231\231w\265\265\265\366\315\315\315\377\274\274\274\377\224yr\377\204@#\377\242V(\377\302x=\377\335\243\\\377\346\267r\377\352\276u\377\346\262X\377\353\303~\377\350\274v\377\336\245[\377\314\210J\377\247[*\377\216E\"\377\233\204\177\377\265\265\265\377\251\251\251\377\262\262\262\374\226\226\226g\030\030\030\002\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\217\217\217,\253\253\253\313\306\306\306\377\315\315\315\377\261\255\254\377\221md\377\210@ \377\240Z2\377\300\201M\377\325\237e\377\337\254n\377\333\241V\377\340\261t\377\330\242e\377\305\210R\377\253f:\377\215G'\377\223ma\377\264\262\262\377\311\311\311\377\305\305\305\377\253\253\253\324sss\030\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000:::\001\221\221\221I\265\265\265\360\313\313\313\377\315\315\315\377\273\273\273\377\226zu\377\210P<\377\216H(\377\247jD\377\276\214f\377\270\177P\377\301\222m\377\255rJ\377\223O.\377\213P9\377\235\205\200\377\266\265\264\377\315\315\315\377\315\315\315\377\265\265\265\367\225\225\225i\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000bbb\005\242\242\242\202\272\272\272\363\320\320\320\377\323\323\323\377\277\276\276\377\250\236\235\377\226vn\377\213ZJ\377\214S=\377\214O4\377\216VA\377\215ZJ\377\231}u\377\247\234\232\377\300\277\277\377\317\317\317\377\317\317\317\377\276\276\276\377\255\255\255\344\221\221\221@\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000nnn\t\236\236\236}\272\272\272\374\313\313\313\377\326\326\326\377\322\322\322\377\264\264\264\377\272\272\272\377\265\262\262\377\262\256\256\377\266\263\263\377\274\273\273\377\305\305\305\377\321\321\321\377\325\325\325\377\315\315\315\377\272\272\272\377\265\265\265\377\256\256\256\352\206\206\206N\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000kkk\035\253\253\253\343\270\270\270\377\306\306\306\377\316\316\316\377\267\267\267\377\322\322\322\377\325\325\325\377\325\325\325\377\325\325\325\377\326\326\326\377\330\330\330\377\323\323\323\377\304\304\304\377\272\272\272\377\266\266\266\377\267\267\267\377\265\265\265\374\213\213\213\214\004\004\004\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\004\236\236\236\301\271\271\271\377\266\266\266\377\267\267\267\377\275\275\275\377\304\304\304\377\312\312\312\376\314\314\314\375\311\311\311\367\304\304\304\356\273\273\273\345\265\265\265\351\265\265\265\373\270\270\270\377\271\271\271\377\271\271\271\377\271\271\271\377\255\255\255\361iiiO)))\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\b\240\240\240\315\271\271\271\377\271\271\271\377\271\271\271\377\270\270\270\377\267\267\267\373\255\255\255\301\253\253\253\207\250\250\250l\247\247\247T\240\240\240?\243\243\243H\252\252\252\226\265\265\265\355\271\271\271\377\271\271\271\377\271\271\271\377\271\271\271\376\242\242\242\322nnnj%%%\031\000\000\000\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001[[[<\263\263\263\361\273\273\273\377\273\273\273\377\273\273\273\377\270\270\270\361\246\246\246\202]]]\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000ddd\005\231\231\231Y\270\270\270\365\273\273\273\377\273\273\273\377\274\274\274\377\275\275\275\377\272\272\272\375\240\240\240\331\206\206\206\227VVV*\000\000\000\002\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000AAA$\226\226\226\253\272\272\272\376\274\274\274\377\274\274\274\377\274\274\274\377\256\256\256\270}}}\031\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000LLL\005\251\251\251\252\273\273\273\374\275\275\275\377\270\270\270\377\275\275\275\377\273\274\275\377\276\276\276\377\274\274\274\374\235\235\235\271ggg/\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000///\016RRR,pppY|||\204\240\240\240\330\272\272\272\374\275\275\275\377\275\275\275\377\275\275\275\377\275\275\275\376\230\230\230l\000\000\000\001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\223\223\223M\267\267\267\355\276\277\277\377\216\242\254\3766\244\304\376\032\265\330\3765\253\310\376\205\253\271\377\275\275\275\375\234\234\234\254###\b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\f\f\f\004>>>2\215\215\215\231\244\244\244\320\253\253\253\355\261\261\261\370\270\270\270\376\270\270\270\377\273\273\273\377\276\276\276\377\276\276\276\377\275\275\275\376\216\216\216S\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\211\211\211A\263\263\263\345\257\264\271\377@\241\304\376\000\317\365\377\000\332\375\377\001\325\371\377!\260\324\376\260\264\270\376\260\260\260\352[[[!\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000===\021\203\203\203\206\256\256\256\353\274\274\274\377\276\276\276\377\305\305\305\377\306\306\306\377\306\306\306\377\305\305\305\377\266\266\266\377\256\256\256\377\275\275\275\377\277\277\277\377\222\222\222\205\037\037\037\007\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\212\212\212B\257\257\257\346\220\244\257\377\026\241\315\377\003\323\370\377\t\333\372\377\002\327\372\377\002\277\352\376\217\246\262\376\271\271\271\376\202\202\2028\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000>>>\020\206\206\206{\266\266\266\364\302\302\302\376\307\307\307\377\312\312\312\377\277\270\277\377\276\257\275\377\275\254\273\377\275\264\275\376\274\273\274\377\271\271\271\377\304\304\304\377\277\277\277\377\252\252\252\317ggg3\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\220\220\220;\255\255\255\341\223\240\251\376\037\223\277\376\024\313\355\377#\333\353\377\025\322\357\377\n\257\334\377\222\242\254\377\264\264\264\373\202\202\2021\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\000\000\000\001\211\211\211x\270\270\270\361\310\310\310\377\314\314\314\377\272\245\272\377\261n\256\377\303P\277\377\324V\317\377\331[\324\377\315U\310\376\270e\265\377\267\222\265\377\311\307\310\377\313\313\313\377\300\300\300\375\235\235\235\267CCC\022\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\212\212\212\030\251\251\251\262\247\251\252\376a\207\236\3767\241\304\377Q\301\326\377A\256\314\377N\220\254\377\252\252\253\376\250\250\250\305ggg\r\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000;;;\036\260\260\260\340\310\310\310\376\316\316\316\377\265\240\265\377\270M\264\377\337V\332\377\364y\357\377\370\221\364\377\371\231\366\377\367\207\363\377\354h\350\377\320S\313\377\256\203\254\377\311\306\310\377\314\314\314\377\277\277\277\371\202\202\202_\000\000\000\003\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000ZZZ\003\234\234\234G\247\247\247\360\237\241\244\377|\222\237\377p\223\243\377z\222\237\377\220\227\233\377\247\247\247\355\235\235\235b\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000777\006\224\224\224~\307\307\307\376\321\321\321\377\270\246\267\377\255F\252\377\346X\341\377\364u\360\377\371\227\366\377\373\256\370\377\374\267\372\377\372\243\367\377\367\204\363\377\361j\354\377\310K\305\377\256\203\255\377\320\320\320\377\314\314\314\377\255\255\255\276kkk\037\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\240\240\240R\243\243\243\300\242\242\242\363\242\242\242\370\243\243\243\363\244\244\244\325\240\240\240Qiii\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000aaa\027\260\260\260\272\317\317\317\377\321\321\321\377\240i\237\377\306?\302\377\356d\351\377\366}\362\377\371\231\366\377\372\250\367\377\373\255\371\377\372\242\367\377\367\213\364\377\365t\360\377\337R\333\377\251I\250\377\307\304\307\377\324\324\324\377\273\273\273\346\211\211\211D\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\201\201\201\004\232\232\232 \244\244\244Z\246\246\246p\246\246\246[\241\241\2410ppp\004\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\201\201\2015\272\272\272\333\327\327\327\377\310\304\310\377\2236\223\377\330H\324\377\360h\353\377\366|\362\377\370\220\364\377\371\232\366\377\372\235\366\377\371\226\365\377\367\206\363\377\366t\361\377\350Y\343\377\274;\272\377\260\234\260\377\325\325\325\377\313\313\313\370\231\231\231p\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\226\226\226@\302\302\302\344\330\330\330\377\301\272\302\377\221'\222\377\333J\326\377\357d\352\377\365v\361\377\367\206\363\377\370\215\364\377\371\220\365\377\370\213\364\377\367~\362\377\365p\360\377\346X\341\377\301;\277\377\241\177\242\377\325\325\325\377\320\320\320\373\236\236\236\211\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\232\232\232?\305\305\305\344\333\333\333\377\301\272\301\377\211#\213\377\324C\317\377\351[\344\377\363j\356\377\366z\362\377\367\204\363\377\367\205\364\377\366\177\362\377\365r\360\377\360e\353\377\341Q\334\377\2675\266\377\237{\237\377\327\327\327\377\323\323\323\373\242\242\242\211\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\223\223\2233\305\305\305\332\327\327\327\377\305\300\305\377\177+\201\377\303:\301\377\342R\335\377\354`\347\377\365z\361\377\366|\363\377\366y\364\377\365{\363\377\361i\354\377\351[\344\377\327G\323\377\241,\243\377\257\231\257\377\331\331\331\377\324\324\324\367\247\247\247k\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000{{{\023\277\277\277\265\273\273\273\377\306\306\306\377\215_\217\377\225'\230\377\325G\322\377\344_\340\377\356v\353\377\360m\356\377\360g\356\377\357q\355\377\351i\345\377\340V\333\377\2675\265\377\2105\212\377\307\303\307\377\340\340\340\377\315\315\315\346\240\240\240B\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000]]]\005\255\255\255z\327\327\327\376\337\337\337\377\260\236\260\377x.}\377\2576\257\377\331Z\325\377\351{\347\377\353y\351\377\352r\351\377\353\200\352\377\341f\336\377\310J\305\377\214)\217\377\234r\234\377\330\330\330\377\342\342\342\377\303\303\303\275\220\220\220\035\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000eee\025\314\314\314\337\344\344\344\376\333\333\333\377\252\226\253\377x1}\377\226;\232\377\310a\311\377\330o\327\377\331j\330\377\321j\321\377\256I\257\377\2070\214\377\225m\226\377\307\303\307\377\346\346\346\377\331\331\331\370\254\254\254X \001\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\266\266\266r\331\331\331\360\347\347\347\377\331\330\331\377\251\224\252\377\207T\212\377\2049\211\377\234Q\240\377\237O\243\377\220B\224\377\203C\207\377\235z\236\377\304\300\304\377\274\274\274\377\334\334\334\375\304\304\304\264|||\016\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\215\215\215\013\273\273\273u\336\336\336\363\352\352\352\377\342\342\342\377\322\322\322\377\275\260\275\377\260\237\261\377\252\226\253\377\270\251\270\377\314\311\313\377\333\333\333\377\350\350\350\377\324\324\324\375\306\306\306\257\236\236\236$\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\215\215\215\n\277\277\277y\327\327\327\345\351\351\351\377\355\355\355\377\346\346\346\377\344\344\344\377\344\344\344\377\344\344\344\377\353\353\353\377\354\354\354\377\336\336\336\366\311\311\311\255\243\243\243#\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000iii\002\242\242\242%\307\307\307\216\326\326\326\310\340\340\340\354\345\345\345\364\345\345\345\365\342\342\342\361\331\331\331\327\316\316\316\253\261\261\261D\211\211\211\n\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\226\226\226\n\265\265\265\"\275\275\275G\303\303\303X\304\304\304\\\277\277\277N\270\270\270/\246\246\246\023\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000\377\377\377\000"
.subsections_via_symbols
| the_stack_data/162642283.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
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
ldr x0, [sp, #8] ; 8-byte Folded Reload
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
stur w8, [x29, #-16]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w8, [x29, #-16]
mov w9, #3
sdiv w8, w8, w9
scvtf s0, w8
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 first number :"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Total is : %d\n"
l_.str.3: ; @.str.3
.asciz "Aveage is : %.2f"
.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 -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%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
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %eax
movl $3, %ecx
cltd
idivl %ecx
cvtsi2ss %eax, %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 first number :"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Total is : %d\n"
L_.str.3: ## @.str.3
.asciz "Aveage is : %.2f"
.subsections_via_symbols
| the_stack_data/124283.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, #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 wzr, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
stur w8, [x29, #-8]
ldur w0, [x29, #-4]
bl _cut
ldr w8, [sp, #12] ; 4-byte Folded Reload
add w9, w0, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-12]
mov w0, #0
bl _cut
ldur w8, [x29, #-12]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur w0, [x29, #-12]
bl _cut
ldr w8, [sp, #8] ; 4-byte Folded Reload
add w8, w8, w0
str w8, [sp, #16]
ldr w0, [sp, #16]
bl _cut
b LBB0_1
LBB0_3:
ldur w0, [x29, #-8]
bl _cut
add w0, w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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 $32, %rsp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl %eax, -8(%rbp)
movl -4(%rbp), %edi
callq _cut
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
addl $1, %ecx
cmpl %ecx, %eax
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
xorl %edi, %edi
callq _cut
movl -12(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -12(%rbp), %edi
callq _cut
movl %eax, %ecx
movl -24(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %edi
callq _cut
jmp LBB0_1
LBB0_3:
movl -8(%rbp), %edi
callq _cut
addl $1, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/816519.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, #-44]
str wzr, [sp, #40]
str wzr, [sp, #32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #28
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w0, #36
bl _push
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _strlen
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, x0
str w9, [sp, #44]
ldrsw x10, [sp, #44]
mov x9, x8
add x10, x9, x10
mov w9, #36
strb w9, [x10]
ldr w9, [sp, #44]
add w9, w9, #1
add x8, x8, w9, sxtw
strb wzr, [x8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_19 Depth 2
ldrsw x9, [sp, #40]
sub x8, x29, #28
ldrsb w8, [x8, x9]
subs w8, w8, #36
cset w8, ne
mov w9, #1
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _peek
sxtb w8, w0
subs w8, w8, #36
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB0_25
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #40]
sub x8, x29, #28
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #40]
sub x8, x29, #28
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #40]
sub x8, x29, #28
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, lt
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldrsw x9, [sp, #40]
sub x8, x29, #28
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, le
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_7
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #40]
subs w9, w8, #1
str w9, [sp, #40]
sub x8, x29, #28
add x9, x8, w9, sxtw
mov w8, #105
strb w8, [x9]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
bl _peek
ldrsw x9, [sp, #40]
sub x8, x29, #28
ldrsb w1, [x8, x9]
sxtb w0, w0
bl _preced
str w0, [sp, #36]
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #40]
sub x8, x29, #28
ldrsb w8, [x8, x9]
subs w8, w8, #105
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #1
str w8, [sp, #32]
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #40]
mov x8, x9
add w8, w8, #1
str w8, [sp, #40]
sub x8, x29, #28
ldrsb w0, [x8, x9]
bl _push
b LBB0_24
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
b LBB0_19
LBB0_19: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _pop
sturb w0, [x29, #-45]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
bl _peek
ldursb w1, [x29, #-45]
sxtb w0, w0
bl _preced
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
bl _error
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_25:
ldr w8, [sp, #32]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
bl _error
b LBB0_27
LBB0_27:
ldr w9, [sp, #32]
; 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 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_29
b LBB0_28
LBB0_28:
bl ___stack_chk_fail
LBB0_29:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrb w8, [sp, #15]
adrp x9, _stkPtr@PAGE
ldr w10, [x9, _stkPtr@PAGEOFF]
add w10, w10, #1
str w10, [x9, _stkPtr@PAGEOFF]
adrp x9, _stack@GOTPAGE
ldr x9, [x9, _stack@GOTPAGEOFF]
add x9, x9, w10, sxtw
strb w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _preced ; -- Begin function preced
.p2align 2
_preced: ; @preced
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-5]
sturb w1, [x29, #-6]
str wzr, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #4]
adrp x8, _tab_ordr@PAGE
add x8, x8, _tab_ordr@PAGEOFF
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-5]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
b LBB2_6
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_6:
str wzr, [sp]
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
ldrsw x9, [sp]
adrp x8, _tab_ordr@PAGE
add x8, x8, _tab_ordr@PAGEOFF
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-6]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
b LBB2_12
LBB2_10: ; in Loop: Header=BB2_7 Depth=1
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_7 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB2_7
LBB2_12:
ldr w8, [sp, #4]
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13:
ldr w8, [sp]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
bl _error
b LBB2_20
LBB2_15:
ldrsw x9, [sp, #4]
adrp x8, _table@PAGE
add x8, x8, _table@PAGEOFF
add x8, x8, x9, lsl #2
ldrsw x9, [sp]
ldrsb w8, [x8, x9]
subs w8, w8, #60
cset w8, ne
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16:
stur wzr, [x29, #-4]
b LBB2_20
LBB2_17:
ldrsw x9, [sp, #4]
adrp x8, _table@PAGE
add x8, x8, _table@PAGEOFF
add x8, x8, x9, lsl #2
ldrsw x9, [sp]
ldrsb w8, [x8, x9]
subs w8, w8, #62
cset w8, ne
tbnz w8, #0, LBB2_19
b LBB2_18
LBB2_18:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_20
LBB2_19:
mov w8, #2
stur w8, [x29, #-4]
b LBB2_20
LBB2_20:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.cfi_startproc
; %bb.0:
adrp x10, _stkPtr@PAGE
ldrsw x9, [x10, _stkPtr@PAGEOFF]
mov x8, x9
subs w8, w8, #1
str w8, [x10, _stkPtr@PAGEOFF]
adrp x8, _stack@GOTPAGE
ldr x8, [x8, _stack@GOTPAGEOFF]
ldrsb w0, [x8, x9]
ret
.cfi_endproc
; -- End function
.globl _peek ; -- Begin function peek
.p2align 2
_peek: ; @peek
.cfi_startproc
; %bb.0:
adrp x8, _stkPtr@PAGE
ldrsw x9, [x8, _stkPtr@PAGEOFF]
adrp x8, _stack@GOTPAGE
ldr x8, [x8, _stack@GOTPAGEOFF]
ldrsb w0, [x8, x9]
ret
.cfi_endproc
; -- End function
.globl _error ; -- Begin function error
.p2align 2
_error: ; @error
.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
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _table ; @table
_table:
.ascii "0>>>"
.ascii "<><>"
.ascii "<>>>"
.ascii "<<<0"
.globl _tab_ordr ; @tab_ordr
_tab_ordr:
.ascii "i+*$"
.globl _stkPtr ; @stkPtr
.p2align 2
_stkPtr:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the expression:- "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Success\n"
.comm _stack,100,0 ; @stack
l_.str.3: ; @.str.3
.asciz "Error\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, -48(%rbp)
movl $0, -60(%rbp)
movl $0, -68(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl $36, %edi
callq _push
leaq -32(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -56(%rbp)
movslq -56(%rbp), %rax
movb $36, -32(%rbp,%rax)
movl -56(%rbp), %eax
addl $1, %eax
cltq
movb $0, -32(%rbp,%rax)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_19 Depth 2
movslq -60(%rbp), %rax
movsbl -32(%rbp,%rax), %ecx
movb $1, %al
cmpl $36, %ecx
movb %al, -69(%rbp) ## 1-byte Spill
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
callq _peek
movsbl %al, %eax
cmpl $36, %eax
setne %al
movb %al, -69(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -69(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_25
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movslq -60(%rbp), %rax
movsbl -32(%rbp,%rax), %eax
cmpl $48, %eax
jl LBB0_12
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movslq -60(%rbp), %rax
movsbl -32(%rbp,%rax), %eax
cmpl $57, %eax
jg LBB0_12
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -60(%rbp), %rax
movsbl -32(%rbp,%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $48, %ecx
movb %al, -70(%rbp) ## 1-byte Spill
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movslq -60(%rbp), %rax
movsbl -32(%rbp,%rax), %eax
cmpl $57, %eax
setle %al
movb %al, -70(%rbp) ## 1-byte Spill
LBB0_9: ## in Loop: Header=BB0_7 Depth=2
movb -70(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_10
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_7
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
addl $-1, %eax
movl %eax, -60(%rbp)
cltq
movb $105, -32(%rbp,%rax)
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
callq _peek
movb %al, %cl
movslq -60(%rbp), %rax
movsbl %cl, %edi
movsbl -32(%rbp,%rax), %esi
callq _preced
movl %eax, -64(%rbp)
cmpl $0, -64(%rbp)
jne LBB0_17
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movslq -60(%rbp), %rax
movsbl -32(%rbp,%rax), %eax
cmpl $105, %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax
addl $-1, %eax
movl %eax, -68(%rbp)
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
cltq
movsbl -32(%rbp,%rax), %edi
callq _push
jmp LBB0_24
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, -64(%rbp)
jne LBB0_22
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_19
LBB0_19: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _pop
movb %al, -49(%rbp)
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
callq _peek
movsbl %al, %edi
movsbl -49(%rbp), %esi
callq _preced
cmpl $0, %eax
jne LBB0_19
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_23
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
callq _error
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_25:
cmpl $1, -68(%rbp)
je LBB0_27
## %bb.26:
callq _error
LBB0_27:
movl -68(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_29
## %bb.28:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_29:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movb -1(%rbp), %dl
movl _stkPtr(%rip), %eax
addl $1, %eax
movl %eax, _stkPtr(%rip)
movslq %eax, %rcx
movq _stack@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _preced ## -- Begin function preced
.p2align 4, 0x90
_preced: ## @preced
.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 %sil, %al
movb %dil, %cl
movb %cl, -5(%rbp)
movb %al, -6(%rbp)
movl $0, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $4, -12(%rbp)
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -12(%rbp), %rcx
leaq _tab_ordr(%rip), %rax
movsbl (%rax,%rcx), %eax
movsbl -5(%rbp), %ecx
cmpl %ecx, %eax
jne LBB2_4
## %bb.3:
jmp LBB2_6
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 $0, -16(%rbp)
LBB2_7: ## =>This Inner Loop Header: Depth=1
cmpl $4, -16(%rbp)
jge LBB2_12
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
movslq -16(%rbp), %rcx
leaq _tab_ordr(%rip), %rax
movsbl (%rax,%rcx), %eax
movsbl -6(%rbp), %ecx
cmpl %ecx, %eax
jne LBB2_10
## %bb.9:
jmp LBB2_12
LBB2_10: ## in Loop: Header=BB2_7 Depth=1
jmp LBB2_11
LBB2_11: ## in Loop: Header=BB2_7 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_7
LBB2_12:
cmpl $4, -12(%rbp)
je LBB2_14
## %bb.13:
cmpl $4, -16(%rbp)
jne LBB2_15
LBB2_14:
callq _error
jmp LBB2_20
LBB2_15:
movslq -12(%rbp), %rcx
leaq _table(%rip), %rax
shlq $2, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $60, %eax
jne LBB2_17
## %bb.16:
movl $0, -4(%rbp)
jmp LBB2_20
LBB2_17:
movslq -12(%rbp), %rcx
leaq _table(%rip), %rax
shlq $2, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $62, %eax
jne LBB2_19
## %bb.18:
movl $1, -4(%rbp)
jmp LBB2_20
LBB2_19:
movl $2, -4(%rbp)
LBB2_20:
movl -4(%rbp), %eax
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
movl _stkPtr(%rip), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, _stkPtr(%rip)
movslq %eax, %rcx
movq _stack@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _peek ## -- Begin function peek
.p2align 4, 0x90
_peek: ## @peek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _stkPtr(%rip), %rcx
movq _stack@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
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
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _table ## @table
.p2align 4
_table:
.ascii "0>>>"
.ascii "<><>"
.ascii "<>>>"
.ascii "<<<0"
.globl _tab_ordr ## @tab_ordr
_tab_ordr:
.ascii "i+*$"
.globl _stkPtr ## @stkPtr
.p2align 2
_stkPtr:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the expression:- "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Success\n"
.comm _stack,100,4 ## @stack
L_.str.3: ## @.str.3
.asciz "Error\n"
.subsections_via_symbols
| the_stack_data/126701995.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sleep ; -- Begin function sleep
.p2align 2
_sleep: ; @sleep
.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, ___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, #3
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ERROR: In deepbind_syscalls.c implementation of sleep\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sleep ## -- Begin function sleep
.p2align 4, 0x90
_sleep: ## @sleep
.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 ___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 $3, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ERROR: In deepbind_syscalls.c implementation of sleep\n"
.subsections_via_symbols
| the_stack_data/187641857.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, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
ldr w8, [sp, #16]
mul w8, w8, w9
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@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 "Enter the number: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "The factorial of %d 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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
imull -16(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl -12(%rbp), %esi
movl -16(%rbp), %edx
leaq L_.str.2(%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 "Enter the number: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "The factorial of %d is %d\n"
.subsections_via_symbols
| the_stack_data/1213375.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]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
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 "OpenGL support not enabled in %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)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "OpenGL support not enabled in %s.\n"
.subsections_via_symbols
| the_stack_data/50137918.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, _buf@PAGE
add x8, x8, _buf@PAGEOFF
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #32] ; 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, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_4:
ldur x3, [x29, #-24]
adrp x0, _buf@PAGE
add x0, x0, _buf@PAGEOFF
mov x1, #6
mov x2, #1
bl _fread
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldur x0, [x29, #-24]
bl _fclose
mov w0, #1
bl _exit
LBB0_6:
ldur x0, [x29, #-24]
mov x1, #0
mov w2, #0
bl _fseek
adrp x8, _buf@PAGE
ldrsb w8, [x8, _buf@PAGEOFF]
subs w8, w8, #48
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_7
LBB0_7:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8, #1]
subs w8, w8, #55
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_8
LBB0_8:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8, #2]
subs w8, w8, #48
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_9
LBB0_9:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8, #3]
subs w8, w8, #55
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_10
LBB0_10:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8, #4]
subs w8, w8, #48
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_11
LBB0_11:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8, #5]
subs w8, w8, #49
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_12
LBB0_12:
stur xzr, [x29, #-40]
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-24]
ldur x1, [x29, #-40]
mov w2, #0
bl _fseek
ldr x8, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x8, #20]
ldur x3, [x29, #-24]
adrp x0, _buf@PAGE
add x0, x0, _buf@PAGEOFF
mov x1, #10
mov x2, #2
bl _fread
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
b LBB0_19
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
adrp x0, _buf@PAGE
add x0, x0, _buf@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strstr
str x0, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #48]
subs x8, x8, x9
ldur x9, [x29, #-40]
add x8, x8, x9
add x8, x8, #10
stur x8, [x29, #-40]
ldur x0, [x29, #-24]
ldur x1, [x29, #-40]
mov w2, #0
bl _fseek
b LBB0_19
LBB0_17: ; in Loop: Header=BB0_13 Depth=1
ldur x8, [x29, #-40]
add x8, x8, #10
stur x8, [x29, #-40]
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_13 Depth=1
ldur x0, [x29, #-24]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_19
LBB0_19:
ldur x0, [x29, #-24]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
ldur x0, [x29, #-24]
mov x1, #0
mov w2, #0
bl _fseek
b LBB0_35
LBB0_21:
b LBB0_22
LBB0_22: ; =>This Loop Header: Depth=1
; Child Loop BB0_26 Depth 2
ldur x0, [x29, #-24]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_22 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x8, #20]
ldur x3, [x29, #-24]
adrp x0, _buf@PAGE
add x0, x0, _buf@PAGEOFF
mov x1, #1
mov x2, #20
bl _fread
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
b LBB0_34
LBB0_25: ; in Loop: Header=BB0_22 Depth=1
str xzr, [sp, #40]
b LBB0_26
LBB0_26: ; Parent Loop BB0_22 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #40]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, hs
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_26 Depth=2
ldr x9, [sp, #40]
adrp x8, _buf@PAGE
add x8, x8, _buf@PAGEOFF
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_26 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_31
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_26 Depth=2
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_26 Depth=2
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB0_26
LBB0_31: ; in Loop: Header=BB0_22 Depth=1
ldr x9, [sp, #40]
adrp x8, _buf@PAGE
add x8, x8, _buf@PAGEOFF
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
ldr x9, [sp, #40]
ldur x8, [x29, #-40]
add x8, x8, x9
stur x8, [x29, #-40]
ldur x0, [x29, #-24]
ldur x1, [x29, #-40]
mov w2, #0
bl _fseek
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_22 Depth=1
ldur x9, [x29, #-32]
ldur x8, [x29, #-40]
add x8, x8, x9
stur x8, [x29, #-40]
b LBB0_22
LBB0_34:
b LBB0_35
LBB0_35:
b LBB0_36
LBB0_36:
b LBB0_37
LBB0_37: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-24]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_43
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_37 Depth=1
ldur x3, [x29, #-24]
adrp x0, _buf@PAGE
add x0, x0, _buf@PAGEOFF
mov x1, #1
mov x2, #21
bl _fread
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB0_40
b LBB0_39
LBB0_39:
b LBB0_43
LBB0_40: ; in Loop: Header=BB0_37 Depth=1
ldur x2, [x29, #-32]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x3, [x8]
adrp x0, _buf@PAGE
add x0, x0, _buf@PAGEOFF
mov x1, #1
bl _fwrite
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41:
b LBB0_43
LBB0_42: ; in Loop: Header=BB0_37 Depth=1
b LBB0_37
LBB0_43:
ldur x0, [x29, #-24]
bl _fclose
mov w0, #0
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 "Usage: %s <file>\n"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Cannot open file '%s'\n"
.zerofill __DATA,__bss,_buf,21,0 ; @buf
l_.str.3: ; @.str.3
.asciz "Read error from file '%s'\n"
l_.str.4: ; @.str.4
.asciz "TRAILER!!!"
.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)
cmpl $2, -8(%rbp)
je LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rdx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_4:
movq -24(%rbp), %rcx
leaq _buf(%rip), %rdi
movl $6, %esi
movl $1, %edx
callq _fread
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
ja LBB0_6
## %bb.5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rdx
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movq -24(%rbp), %rdi
callq _fclose
movl $1, %edi
callq _exit
LBB0_6:
movq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
movsbl _buf(%rip), %eax
cmpl $48, %eax
jne LBB0_36
## %bb.7:
movsbl _buf+1(%rip), %eax
cmpl $55, %eax
jne LBB0_36
## %bb.8:
movsbl _buf+2(%rip), %eax
cmpl $48, %eax
jne LBB0_36
## %bb.9:
movsbl _buf+3(%rip), %eax
cmpl $55, %eax
jne LBB0_36
## %bb.10:
movsbl _buf+4(%rip), %eax
cmpl $48, %eax
jne LBB0_36
## %bb.11:
movsbl _buf+5(%rip), %eax
cmpl $49, %eax
jne LBB0_36
## %bb.12:
movq $0, -40(%rbp)
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rdi
movq -40(%rbp), %rsi
xorl %edx, %edx
callq _fseek
movb $0, _buf+20(%rip)
movq -24(%rbp), %rcx
leaq _buf(%rip), %rdi
movl $10, %esi
movl $2, %edx
callq _fread
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
ja LBB0_15
## %bb.14:
jmp LBB0_19
LBB0_15: ## in Loop: Header=BB0_13 Depth=1
leaq _buf(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _strstr
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB0_17
## %bb.16:
movq -48(%rbp), %rax
leaq _buf(%rip), %rcx
subq %rcx, %rax
addq -40(%rbp), %rax
addq $10, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rdi
movq -40(%rbp), %rsi
xorl %edx, %edx
callq _fseek
jmp LBB0_19
LBB0_17: ## in Loop: Header=BB0_13 Depth=1
movq -40(%rbp), %rax
addq $10, %rax
movq %rax, -40(%rbp)
## %bb.18: ## in Loop: Header=BB0_13 Depth=1
movq -24(%rbp), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_13
LBB0_19:
movq -24(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB0_21
## %bb.20:
movq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
jmp LBB0_35
LBB0_21:
jmp LBB0_22
LBB0_22: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
movq -24(%rbp), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_23
jmp LBB0_34
LBB0_23: ## in Loop: Header=BB0_22 Depth=1
movb $0, _buf+20(%rip)
movq -24(%rbp), %rcx
leaq _buf(%rip), %rdi
movl $1, %esi
movl $20, %edx
callq _fread
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
ja LBB0_25
## %bb.24:
jmp LBB0_34
LBB0_25: ## in Loop: Header=BB0_22 Depth=1
movq $0, -56(%rbp)
LBB0_26: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -32(%rbp), %rcx
movb %al, -57(%rbp) ## 1-byte Spill
jae LBB0_28
## %bb.27: ## in Loop: Header=BB0_26 Depth=2
movq -56(%rbp), %rcx
leaq _buf(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
sete %al
movb %al, -57(%rbp) ## 1-byte Spill
LBB0_28: ## in Loop: Header=BB0_26 Depth=2
movb -57(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_29
jmp LBB0_31
LBB0_29: ## in Loop: Header=BB0_26 Depth=2
jmp LBB0_30
LBB0_30: ## in Loop: Header=BB0_26 Depth=2
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB0_26
LBB0_31: ## in Loop: Header=BB0_22 Depth=1
movq -56(%rbp), %rcx
leaq _buf(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_33
## %bb.32:
movq -56(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rdi
movq -40(%rbp), %rsi
xorl %edx, %edx
callq _fseek
jmp LBB0_34
LBB0_33: ## in Loop: Header=BB0_22 Depth=1
movq -32(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
jmp LBB0_22
LBB0_34:
jmp LBB0_35
LBB0_35:
jmp LBB0_36
LBB0_36:
jmp LBB0_37
LBB0_37: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_38
jmp LBB0_43
LBB0_38: ## in Loop: Header=BB0_37 Depth=1
movq -24(%rbp), %rcx
leaq _buf(%rip), %rdi
movl $1, %esi
movl $21, %edx
callq _fread
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
ja LBB0_40
## %bb.39:
jmp LBB0_43
LBB0_40: ## in Loop: Header=BB0_37 Depth=1
movq -32(%rbp), %rdx
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq _buf(%rip), %rdi
movl $1, %esi
callq _fwrite
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
ja LBB0_42
## %bb.41:
jmp LBB0_43
LBB0_42: ## in Loop: Header=BB0_37 Depth=1
jmp LBB0_37
LBB0_43:
movq -24(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s <file>\n"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Cannot open file '%s'\n"
.zerofill __DATA,__bss,_buf,21,4 ## @buf
L_.str.3: ## @.str.3
.asciz "Read error from file '%s'\n"
L_.str.4: ## @.str.4
.asciz "TRAILER!!!"
.subsections_via_symbols
| the_stack_data/122015221.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _engine ; -- Begin function engine
.p2align 2
_engine: ; @engine
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
adrp x9, _num_disks@PAGE
str w8, [x9, _num_disks@PAGEOFF]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr w2, [x8]
ldr x8, [sp, #8]
ldr w3, [x8, #4]
mov w0, #0
str w0, [sp, #4] ; 4-byte Folded Spill
mov w1, #2
str w1, [sp] ; 4-byte Folded Spill
bl _move_disks
ldr w0, [sp] ; 4-byte Folded Reload
ldr w1, [sp, #4] ; 4-byte Folded Reload
ldr x8, [sp, #8]
ldr w2, [x8]
ldr x8, [sp, #8]
ldr w3, [x8, #4]
bl _move_disks
b LBB0_1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function move_disks
_move_disks: ; @move_disks
.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 w2, [x29, #-12]
str w3, [sp, #16]
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w9, eq
; 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__.move_disks@PAGE
add x0, x0, l___func__.move_disks@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #40
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
ldur w8, [x29, #-4]
mov w9, #3
mul w8, w8, w9
ldur w9, [x29, #-8]
add w9, w8, w9
adrp x8, _move_disks.other_table@PAGE
add x8, x8, _move_disks.other_table@PAGEOFF
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #12]
ldr w8, [sp, #12]
adds w8, w8, #1
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
adrp x0, l___func__.move_disks@PAGE
add x0, x0, l___func__.move_disks@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #42
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB1_5:
b LBB1_6
LBB1_6:
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
ldr w2, [sp, #16]
bl _move_disk
b LBB1_9
LBB1_8:
ldur w0, [x29, #-4]
ldr w1, [sp, #12]
ldur w8, [x29, #-12]
subs w2, w8, #1
ldr w3, [sp, #16]
bl _move_disks
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
ldr w2, [sp, #16]
bl _move_disk
ldr w0, [sp, #12]
ldur w1, [x29, #-8]
ldur w8, [x29, #-12]
subs w2, w8, #1
ldr w3, [sp, #16]
bl _move_disks
b LBB1_9
LBB1_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function move_disk
_move_disk: ; @move_disk
.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 w2, [x29, #-12]
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l___func__.move_disk@PAGE
add x0, x0, l___func__.move_disk@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #17
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB2_2:
b LBB2_3
LBB2_3:
ldursw x10, [x29, #-4]
adrp x8, _num_disks@PAGE
add x8, x8, _num_disks@PAGEOFF
mov x9, x8
add x10, x9, x10, lsl #2
ldr w9, [x10]
subs w9, w9, #1
str w9, [x10]
ldursw x9, [x29, #-8]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
sub x1, x29, #15
mov w8, #77
sturb w8, [x29, #-15]
ldur w8, [x29, #-4]
sturb w8, [x29, #-14]
ldur w8, [x29, #-8]
sturb w8, [x29, #-13]
ldur w0, [x29, #-12]
mov x2, #3
str x2, [sp, #8] ; 8-byte Folded Spill
bl _write
ldr x8, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_num_disks,12,2 ; @num_disks
.section __DATA,__data
.p2align 2 ; @move_disks.other_table
_move_disks.other_table:
.long 4294967295 ; 0xffffffff
.long 2 ; 0x2
.long 1 ; 0x1
.long 2 ; 0x2
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l___func__.move_disks: ; @__func__.move_disks
.asciz "move_disks"
l_.str: ; @.str
.asciz "101896.c"
l_.str.1: ; @.str.1
.asciz "from != to"
l_.str.2: ; @.str.2
.asciz "other != -1"
l___func__.move_disk: ; @__func__.move_disk
.asciz "move_disk"
l_.str.3: ; @.str.3
.asciz "can't write"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _engine ## -- Begin function engine
.p2align 4, 0x90
_engine: ## @engine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, _num_disks(%rip)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movl (%rax), %edx
movq -8(%rbp), %rax
movl 4(%rax), %ecx
xorl %edi, %edi
movl $2, %esi
callq _move_disks
movq -8(%rbp), %rax
movl (%rax), %edx
movq -8(%rbp), %rax
movl 4(%rax), %ecx
movl $2, %edi
xorl %esi, %esi
callq _move_disks
jmp LBB0_1
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function move_disks
_move_disks: ## @move_disks
.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), %eax
cmpl -8(%rbp), %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.move_disks(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $40, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
imull $3, -4(%rbp), %eax
addl -8(%rbp), %eax
movslq %eax, %rcx
leaq _move_disks.other_table(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
cmpl $-1, -20(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_5
## %bb.4:
leaq L___func__.move_disks(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $42, %edx
callq ___assert_rtn
LBB1_5:
jmp LBB1_6
LBB1_6:
cmpl $1, -12(%rbp)
jne LBB1_8
## %bb.7:
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -16(%rbp), %edx
callq _move_disk
jmp LBB1_9
LBB1_8:
movl -4(%rbp), %edi
movl -20(%rbp), %esi
movl -12(%rbp), %edx
subl $1, %edx
movl -16(%rbp), %ecx
callq _move_disks
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -16(%rbp), %edx
callq _move_disk
movl -20(%rbp), %edi
movl -8(%rbp), %esi
movl -12(%rbp), %edx
subl $1, %edx
movl -16(%rbp), %ecx
callq _move_disks
LBB1_9:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function move_disk
_move_disk: ## @move_disk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_2
## %bb.1:
leaq L___func__.move_disk(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $17, %edx
callq ___assert_rtn
LBB2_2:
jmp LBB2_3
LBB2_3:
movslq -4(%rbp), %rcx
leaq _num_disks(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $-1, %edx
leaq _num_disks(%rip), %rax
movl %edx, (%rax,%rcx,4)
movslq -8(%rbp), %rcx
leaq _num_disks(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
leaq _num_disks(%rip), %rax
movl %edx, (%rax,%rcx,4)
movb $77, -15(%rbp)
movl -4(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -14(%rbp)
movl -8(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -13(%rbp)
movl -12(%rbp), %edi
leaq -15(%rbp), %rsi
movl $3, %edx
callq _write
movq %rax, %rcx
movl $3, %eax
cmpq %rcx, %rax
je LBB2_5
## %bb.4:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_num_disks,12,2 ## @num_disks
.section __DATA,__data
.p2align 4 ## @move_disks.other_table
_move_disks.other_table:
.long 4294967295 ## 0xffffffff
.long 2 ## 0x2
.long 1 ## 0x1
.long 2 ## 0x2
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L___func__.move_disks: ## @__func__.move_disks
.asciz "move_disks"
L_.str: ## @.str
.asciz "101896.c"
L_.str.1: ## @.str.1
.asciz "from != to"
L_.str.2: ## @.str.2
.asciz "other != -1"
L___func__.move_disk: ## @__func__.move_disk
.asciz "move_disk"
L_.str.3: ## @.str.3
.asciz "can't write"
.subsections_via_symbols
| the_stack_data/101896.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Incrementa_Variavel_Global ; -- Begin function Incrementa_Variavel_Global
.p2align 2
_Incrementa_Variavel_Global: ; @Incrementa_Variavel_Global
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x9, _v_global@PAGE
str x9, [sp, #16] ; 8-byte Folded Spill
ldr w8, [x9, _v_global@PAGEOFF]
add w8, w8, #1
str w8, [x9, _v_global@PAGEOFF]
ldur w9, [x29, #-4]
; 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, #16] ; 8-byte Folded Reload
ldr w9, [x8, _v_global@PAGEOFF]
; 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
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _fork
stur w0, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_1
LBB1_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
stur x0, [x29, #-24] ; 8-byte Folded Spill
bl _printf
bl _getpid
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x0, [x29, #-24] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
bl _getpid
bl _Incrementa_Variavel_Global
bl _fork
stur w0, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _printf
bl _getpid
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
bl _getpid
bl _Incrementa_Variavel_Global
bl _fork
stur w0, [x29, #-16]
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
bl _getpid
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
bl _getpid
bl _Incrementa_Variavel_Global
b LBB1_4
LBB1_4:
b LBB1_5
LBB1_5:
b LBB1_7
LBB1_6:
mov w0, #1
bl _sleep
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
bl _getpid
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_7
LBB1_7:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _v_global ; @v_global
.zerofill __DATA,__common,_v_global,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ID do processo que executou esta funcao = %d\n"
l_.str.1: ; @.str.1
.asciz "v_global = %d\n"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "********************************************************************\n"
l_.str.4: ; @.str.4
.asciz "* Este texto foi escrito no terminal pelo processo FILHO (ID=%d) *\n"
l_.str.5: ; @.str.5
.asciz "* Este texto foi escrito no terminal pelo processo FILHO 1 (ID=%d) *\n"
l_.str.6: ; @.str.6
.asciz "* Este texto foi escrito no terminal pelo processo FILHO 2 (ID=%d) *\n"
l_.str.7: ; @.str.7
.asciz "******************************************************************\n"
l_.str.8: ; @.str.8
.asciz "* Este texto foi escrito no terminal pelo processo PAI (ID=%d) *\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Incrementa_Variavel_Global ## -- Begin function Incrementa_Variavel_Global
.p2align 4, 0x90
_Incrementa_Variavel_Global: ## @Incrementa_Variavel_Global
.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 _v_global(%rip), %eax
addl $1, %eax
movl %eax, _v_global(%rip)
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl _v_global(%rip), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _fork
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
jne LBB1_6
## %bb.1:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
callq _getpid
movl %eax, %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
callq _getpid
movl %eax, %edi
callq _Incrementa_Variavel_Global
callq _fork
movl %eax, -12(%rbp)
cmpl $0, -12(%rbp)
jne LBB1_5
## %bb.2:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
callq _getpid
movl %eax, %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
callq _getpid
movl %eax, %edi
callq _Incrementa_Variavel_Global
callq _fork
movl %eax, -16(%rbp)
cmpl $0, -16(%rbp)
jne LBB1_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
callq _getpid
movl %eax, %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
callq _getpid
movl %eax, %edi
callq _Incrementa_Variavel_Global
LBB1_4:
jmp LBB1_5
LBB1_5:
jmp LBB1_7
LBB1_6:
movl $1, %edi
callq _sleep
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
callq _getpid
movl %eax, %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB1_7:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _v_global ## @v_global
.zerofill __DATA,__common,_v_global,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ID do processo que executou esta funcao = %d\n"
L_.str.1: ## @.str.1
.asciz "v_global = %d\n"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "********************************************************************\n"
L_.str.4: ## @.str.4
.asciz "* Este texto foi escrito no terminal pelo processo FILHO (ID=%d) *\n"
L_.str.5: ## @.str.5
.asciz "* Este texto foi escrito no terminal pelo processo FILHO 1 (ID=%d) *\n"
L_.str.6: ## @.str.6
.asciz "* Este texto foi escrito no terminal pelo processo FILHO 2 (ID=%d) *\n"
L_.str.7: ## @.str.7
.asciz "******************************************************************\n"
L_.str.8: ## @.str.8
.asciz "* Este texto foi escrito no terminal pelo processo PAI (ID=%d) *\n"
.subsections_via_symbols
| the_stack_data/115766603.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printBuffer ; -- Begin function printBuffer
.p2align 2
_printBuffer: ; @printBuffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #52
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
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
ldur w8, [x29, #-12]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_6:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _spread_fire ; -- Begin function spread_fire
.p2align 2
_spread_fire: ; @spread_fire
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #13
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
bl _rand
mov w9, #3
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
subs w8, w8, #3
str w8, [sp, #12]
ldr w8, [sp, #16]
mov w9, #13
mul w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #13
str w8, [sp, #4]
ldur x8, [x29, #-8]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #12]
and w9, w9, #0x3
subs w8, w8, w9
ldur x9, [x29, #-8]
ldr w10, [sp, #4]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
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
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:
ldur x0, [x29, #-8]
bl _printBuffer
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _init_fire_effect ; -- Begin function init_fire_effect
.p2align 2
_init_fire_effect: ; @init_fire_effect
.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]
mov w1, #0
mov x2, #208
mov x3, #-1
bl ___memset_chk
str wzr, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #13
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x9, [sp, #8]
ldr w8, [sp, #4]
add w10, w8, #39
mov w8, #5
str w8, [x9, w10, sxtw #2]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _run_fire_effect ; -- Begin function run_fire_effect
.p2align 2
_run_fire_effect: ; @run_fire_effect
.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 _init_fire_effect
str wzr, [sp, #4]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x0, [sp, #8]
bl _spread_fire
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB3_1
LBB3_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _init_digital_rain ; -- Begin function init_digital_rain
.p2align 2
_init_digital_rain: ; @init_digital_rain
.cfi_startproc
; %bb.0:
sub sp, sp, #496
.cfi_def_cfa_offset 496
stp x28, x27, [sp, #464] ; 16-byte Folded Spill
stp x29, x30, [sp, #480] ; 16-byte Folded Spill
add x29, sp, #480
.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 x0, [sp, #32]
mov w8, #1
str w8, [sp, #28]
mov w8, #3
str w8, [sp, #24]
mov w8, #2
str w8, [sp, #20]
mov w8, #8
str w8, [sp, #16]
ldr x0, [sp, #32]
mov w1, #0
mov x2, #208
mov x3, #-1
bl ___memset_chk
str wzr, [sp, #12]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #13
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr w9, [sp, #12]
ldrsw x8, [sp, #12]
lsl x10, x8, #5
add x8, sp, #40
str x8, [sp] ; 8-byte Folded Spill
str w9, [x8, x10]
ldrsw x9, [sp, #12]
add x9, x8, x9, lsl #5
mov w8, #-1
str w8, [x9, #4]
bl _rand
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #24]
add w8, w8, #1
ldr w10, [sp, #28]
subs w10, w8, w10
udiv w8, w0, w10
mul w8, w8, w10
subs w8, w0, w8
ldr w10, [sp, #28]
add w8, w8, w10
ldrsw x10, [sp, #12]
add x9, x9, x10, lsl #5
str w8, [x9, #8]
bl _rand
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
add w8, w8, #1
ldr w10, [sp, #20]
subs w10, w8, w10
udiv w8, w0, w10
mul w8, w8, w10
subs w8, w0, w8
ldr w10, [sp, #20]
add w8, w8, w10
ldrsw x11, [sp, #12]
mov x10, x9
add x10, x10, x11, lsl #5
str w8, [x10, #12]
ldrsw x10, [sp, #12]
mov x8, x9
add x8, x8, x10, lsl #5
str wzr, [x8, #16]
ldrsw x10, [sp, #12]
mov x8, x9
add x8, x8, x10, lsl #5
str wzr, [x8, #20]
ldrsw x10, [sp, #12]
mov x8, x9
add x8, x8, x10, lsl #5
ldr w8, [x8, #20]
ldrsw x11, [sp, #12]
mov x10, x9
add x10, x10, x11, lsl #5
ldr w10, [x10, #12]
subs w8, w8, w10
ldrsw x11, [sp, #12]
mov x10, x9
add x10, x10, x11, lsl #5
str w8, [x10, #24]
ldrsw x10, [sp, #12]
mov x8, x9
add x8, x8, x10, lsl #5
ldr w8, [x8, #12]
mov w10, #4
udiv w8, w8, w10
ldrsw x10, [sp, #12]
add x9, x9, x10, lsl #5
str w8, [x9, #28]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_1
LBB4_4:
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, LBB4_6
b LBB4_5
LBB4_5:
bl ___stack_chk_fail
LBB4_6:
add x0, sp, #40
ldp x29, x30, [sp, #480] ; 16-byte Folded Reload
ldp x28, x27, [sp, #464] ; 16-byte Folded Reload
add sp, sp, #496
ret
.cfi_endproc
; -- End function
.globl _update_rain_cloud ; -- Begin function update_rain_cloud
.p2align 2
_update_rain_cloud: ; @update_rain_cloud
.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 _display_digital_rain ; -- Begin function display_digital_rain
.p2align 2
_display_digital_rain: ; @display_digital_rain
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _run_digital_rain ; -- Begin function run_digital_rain
.p2align 2
_run_digital_rain: ; @run_digital_rain
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
bl _init_digital_rain
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #16]
bl _update_rain_cloud
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _display_digital_rain
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB7_1
LBB7_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, #272
.cfi_def_cfa_offset 272
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
add x0, sp, #24
str x0, [sp, #8] ; 8-byte Folded Spill
bl _run_fire_effect
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _run_digital_rain
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
bl ___stack_chk_fail
LBB8_2:
mov w0, #0
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "===========\n"
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 _printBuffer ## -- Begin function printBuffer
.p2align 4, 0x90
_printBuffer: ## @printBuffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $52, -12(%rbp)
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
cmpl $3, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
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:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _spread_fire ## -- Begin function spread_fire
.p2align 4, 0x90
_spread_fire: ## @spread_fire
.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)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpl $13, -12(%rbp)
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $1, -16(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -16(%rbp)
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
callq _rand
movl $3, %ecx
cltd
idivl %ecx
subl $3, %edx
movl %edx, -20(%rbp)
imull $13, -16(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
subl $13, %eax
movl %eax, -28(%rbp)
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %edx
movl -20(%rbp), %eax
andl $3, %eax
subl %eax, %edx
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
## %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
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_8:
movq -8(%rbp), %rdi
callq _printBuffer
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_fire_effect ## -- Begin function init_fire_effect
.p2align 4, 0x90
_init_fire_effect: ## @init_fire_effect
.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
xorl %esi, %esi
movl $208, %edx
movq $-1, %rcx
callq ___memset_chk
movl $0, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $13, -12(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $39, %ecx
movslq %ecx, %rcx
movl $5, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _run_fire_effect ## -- Begin function run_fire_effect
.p2align 4, 0x90
_run_fire_effect: ## @run_fire_effect
.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 _init_fire_effect
movl $0, -12(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -12(%rbp)
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rdi
callq _spread_fire
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB3_1
LBB3_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_digital_rain ## -- Begin function init_digital_rain
.p2align 4, 0x90
_init_digital_rain: ## @init_digital_rain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $480, %rsp ## imm = 0x1E0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -440(%rbp)
movl $1, -444(%rbp)
movl $3, -448(%rbp)
movl $2, -452(%rbp)
movl $8, -456(%rbp)
movq -440(%rbp), %rdi
xorl %esi, %esi
movl $208, %edx
movq $-1, %rcx
callq ___memset_chk
movl $0, -460(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $13, -460(%rbp)
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl -460(%rbp), %ecx
movslq -460(%rbp), %rdx
leaq -432(%rbp), %rax
shlq $5, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movslq -460(%rbp), %rcx
leaq -432(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movl $-1, 4(%rax)
callq _rand
movl -448(%rbp), %ecx
addl $1, %ecx
subl -444(%rbp), %ecx
xorl %edx, %edx
divl %ecx
addl -444(%rbp), %edx
movslq -460(%rbp), %rcx
leaq -432(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movl %edx, 8(%rax)
callq _rand
movl -456(%rbp), %ecx
addl $1, %ecx
subl -452(%rbp), %ecx
xorl %edx, %edx
divl %ecx
addl -452(%rbp), %edx
movslq -460(%rbp), %rcx
leaq -432(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movl %edx, 12(%rax)
movslq -460(%rbp), %rcx
leaq -432(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movl $0, 16(%rax)
movslq -460(%rbp), %rcx
leaq -432(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movl $0, 20(%rax)
movslq -460(%rbp), %rcx
leaq -432(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movl 20(%rax), %ecx
movslq -460(%rbp), %rdx
leaq -432(%rbp), %rax
shlq $5, %rdx
addq %rdx, %rax
subl 12(%rax), %ecx
movslq -460(%rbp), %rdx
leaq -432(%rbp), %rax
shlq $5, %rdx
addq %rdx, %rax
movl %ecx, 24(%rax)
movslq -460(%rbp), %rcx
leaq -432(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movl 12(%rax), %ecx
shrl $2, %ecx
movslq -460(%rbp), %rdx
leaq -432(%rbp), %rax
shlq $5, %rdx
addq %rdx, %rax
movl %ecx, 28(%rax)
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -460(%rbp), %eax
addl $1, %eax
movl %eax, -460(%rbp)
jmp LBB4_1
LBB4_4:
leaq -432(%rbp), %rax
movq %rax, -472(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_6
## %bb.5:
movq -472(%rbp), %rax ## 8-byte Reload
addq $480, %rsp ## imm = 0x1E0
popq %rbp
retq
LBB4_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _update_rain_cloud ## -- Begin function update_rain_cloud
.p2align 4, 0x90
_update_rain_cloud: ## @update_rain_cloud
.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 _display_digital_rain ## -- Begin function display_digital_rain
.p2align 4, 0x90
_display_digital_rain: ## @display_digital_rain
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _run_digital_rain ## -- Begin function run_digital_rain
.p2align 4, 0x90
_run_digital_rain: ## @run_digital_rain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _init_digital_rain
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -20(%rbp)
jge LBB7_4
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rdi
callq _update_rain_cloud
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _display_digital_rain
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB7_1
LBB7_4:
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 $240, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -228(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
leaq -224(%rbp), %rdi
callq _run_fire_effect
leaq -224(%rbp), %rdi
callq _run_digital_rain
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB8_2
## %bb.1:
xorl %eax, %eax
addq $240, %rsp
popq %rbp
retq
LBB8_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "===========\n"
L_.str.1: ## @.str.1
.asciz "%d, "
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/211080575.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
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 w9, [sp, #8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
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:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldur w0, [x29, #-4]
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 ANSI world %d via printf\n"
l_.str.1: ; @.str.1
.asciz "hello ANSI world via stdout\n"
l_.str.2: ; @.str.2
.asciz "hello ANSI world via stderr\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $100, -8(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hello ANSI world %d via printf\n"
L_.str.1: ## @.str.1
.asciz "hello ANSI world via stdout\n"
L_.str.2: ## @.str.2
.asciz "hello ANSI world via stderr\n"
.subsections_via_symbols
| the_stack_data/81223.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/190768804.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
mov w0, #1
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 _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)
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/154831439.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _buscaChave ; -- Begin function buscaChave
.p2align 2
_buscaChave: ; @buscaChave
.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]
str x1, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_10
LBB0_2:
ldr x8, [sp, #24]
ldr w8, [x8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB0_10
LBB0_4:
ldr x8, [sp, #24]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur w0, [x29, #-12]
ldr x1, [sp, #16]
bl _buscaChave
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB0_5
LBB0_9:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_10
LBB0_10:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _criarNovoNo ; -- Begin function criarNovoNo
.p2align 2
_criarNovoNo: ; @criarNovoNo
.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 x0, #24
bl _malloc
str x0, [sp]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp]
str xzr, [x8, #16]
ldur w8, [x29, #-4]
ldr x9, [sp]
str w8, [x9]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _inserirNo ; -- Begin function inserirNo
.p2align 2
_inserirNo: ; @inserirNo
.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]
stur w1, [x29, #-20]
str w2, [sp, #24]
ldr w0, [sp, #24]
ldur x1, [x29, #-16]
bl _buscaChave
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
stur wzr, [x29, #-4]
b LBB2_9
LBB2_2:
ldur w0, [x29, #-20]
bl _criarNovoNo
str x0, [sp, #8]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9, #8]
b LBB2_8
LBB2_4:
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [sp]
ldr x8, [x8, #16]
str x8, [sp]
b LBB2_5
LBB2_7:
ldr x8, [sp, #8]
ldr x9, [sp]
str x8, [x9, #16]
b LBB2_8
LBB2_8:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_9
LBB2_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _exibirArvore ; -- Begin function exibirArvore
.p2align 2
_exibirArvore: ; @exibirArvore
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
b LBB3_6
LBB3_2:
ldur x8, [x29, #-8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldr x0, [sp, #16]
bl _exibirArvore
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB3_3
LBB3_5:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB3_6
LBB3_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _inicializarArvore ; -- Begin function inicializarArvore
.p2align 2
_inicializarArvore: ; @inicializarArvore
.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 _criarNovoNo
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, #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, #8
str w0, [sp, #4] ; 4-byte Folded Spill
bl _inicializarArvore
ldr w2, [sp, #4] ; 4-byte Folded Reload
str x0, [sp, #16]
ldr x0, [sp, #16]
mov w1, #15
str w1, [sp] ; 4-byte Folded Spill
bl _inserirNo
ldr w2, [sp] ; 4-byte Folded Reload
ldr x0, [sp, #16]
mov w1, #20
bl _inserirNo
ldr w2, [sp] ; 4-byte Folded Reload
ldr x0, [sp, #16]
mov w1, #10
bl _inserirNo
ldr w2, [sp] ; 4-byte Folded Reload
ldr x0, [sp, #16]
mov w1, #28
bl _inserirNo
ldr w2, [sp, #4] ; 4-byte Folded Reload
ldr x0, [sp, #16]
mov w1, #23
bl _inserirNo
ldr w2, [sp, #4] ; 4-byte Folded Reload
ldr x0, [sp, #16]
mov w1, #2
str w1, [sp, #8] ; 4-byte Folded Spill
bl _inserirNo
ldr w2, [sp, #8] ; 4-byte Folded Reload
ldr x0, [sp, #16]
mov w1, #36
bl _inserirNo
ldr w2, [sp, #8] ; 4-byte Folded Reload
ldr x0, [sp, #16]
mov w1, #7
bl _inserirNo
ldr x0, [sp, #16]
bl _exibirArvore
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 "%d("
l_.str.1: ; @.str.1
.asciz ")"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _buscaChave ## -- Begin function buscaChave
.p2align 4, 0x90
_buscaChave: ## @buscaChave
.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)
movq %rsi, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB0_10
LBB0_2:
movq -24(%rbp), %rax
movl (%rax), %eax
cmpl -12(%rbp), %eax
jne LBB0_4
## %bb.3:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_10
LBB0_4:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -12(%rbp), %edi
movq -32(%rbp), %rsi
callq _buscaChave
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je LBB0_8
## %bb.7:
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_10
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB0_5
LBB0_9:
movq $0, -8(%rbp)
LBB0_10:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _criarNovoNo ## -- Begin function criarNovoNo
.p2align 4, 0x90
_criarNovoNo: ## @criarNovoNo
.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 $24, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
movq $0, 16(%rax)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inserirNo ## -- Begin function inserirNo
.p2align 4, 0x90
_inserirNo: ## @inserirNo
.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 %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl -24(%rbp), %edi
movq -16(%rbp), %rsi
callq _buscaChave
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB2_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB2_9
LBB2_2:
movl -20(%rbp), %edi
callq _criarNovoNo
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB2_4
## %bb.3:
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB2_8
LBB2_4:
jmp LBB2_5
LBB2_5: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rax
cmpq $0, 16(%rax)
je LBB2_7
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movq -48(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -48(%rbp)
jmp LBB2_5
LBB2_7:
movq -40(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 16(%rax)
LBB2_8:
movl $1, -4(%rbp)
LBB2_9:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _exibirArvore ## -- Begin function exibirArvore
.p2align 4, 0x90
_exibirArvore: ## @exibirArvore
.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 LBB3_2
## %bb.1:
jmp LBB3_6
LBB3_2:
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
LBB3_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB3_5
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movq -16(%rbp), %rdi
callq _exibirArvore
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB3_3
LBB3_5:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB3_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inicializarArvore ## -- Begin function inicializarArvore
.p2align 4, 0x90
_inicializarArvore: ## @inicializarArvore
.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 _criarNovoNo
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 $8, %edi
callq _inicializarArvore
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movl $15, %esi
movl $8, %edx
callq _inserirNo
movq -16(%rbp), %rdi
movl $20, %esi
movl $15, %edx
callq _inserirNo
movq -16(%rbp), %rdi
movl $10, %esi
movl $15, %edx
callq _inserirNo
movq -16(%rbp), %rdi
movl $28, %esi
movl $15, %edx
callq _inserirNo
movq -16(%rbp), %rdi
movl $23, %esi
movl $8, %edx
callq _inserirNo
movq -16(%rbp), %rdi
movl $2, %esi
movl $8, %edx
callq _inserirNo
movq -16(%rbp), %rdi
movl $36, %esi
movl $2, %edx
callq _inserirNo
movq -16(%rbp), %rdi
movl $7, %esi
movl $2, %edx
callq _inserirNo
movq -16(%rbp), %rdi
callq _exibirArvore
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 ")"
.subsections_via_symbols
| the_stack_data/641299.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str xzr, [sp, #32]
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [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, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #20]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #24
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
add x8, x8, x9
str x8, [sp, #32]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr x8, [sp, #32]
mov x9, #10
sdiv x8, x8, x9
str x8, [sp, #32]
b LBB0_3
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #20]
; 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_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%lld %lld"
l_.str.2: ; @.str.2
.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 $48, %rsp
movl $0, -4(%rbp)
movq $0, -32(%rbp)
leaq L_.str(%rip), %rdi
leaq -40(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -36(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -36(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -44(%rbp)
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -24(%rbp), %rdx
movb $0, %al
callq _scanf
movq -16(%rbp), %rax
addq -24(%rbp), %rax
movq %rax, -32(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -32(%rbp)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
movq -32(%rbp), %rax
movl $10, %ecx
cqto
idivq %rcx
movq %rax, -32(%rbp)
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_7:
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 "%lld %lld"
L_.str.2: ## @.str.2
.asciz "%lld\n"
.subsections_via_symbols
| the_stack_data/54826437.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #8
str x8, [x9, #8]
sub x8, x29, #12
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur w8, [x29, #-16]
stur w8, [x29, #-20] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur w8, [x29, #-20] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldur w8, [x29, #-20] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_6
LBB0_3:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_4:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_5:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
mul w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_6:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_7
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 "Press 1 to add and enter the two numbers.\n"
l_.str.1: ; @.str.1
.asciz "Press 2 to substract and enter two numbers. \n "
l_.str.2: ; @.str.2
.asciz "Press 3 to multiply and enter the two numbers \n"
l_.str.3: ; @.str.3
.asciz "%d %d %d"
l_.str.4: ; @.str.4
.asciz "Result: %d \n"
l_.str.5: ; @.str.5
.asciz "Enter the valid options. \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -21(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -21(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -21(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -21(%rbp), %al ## 1-byte Reload
leaq L_.str.3(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -8(%rbp), %rdx
leaq -12(%rbp), %rcx
callq _scanf
movl -16(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB0_1
jmp LBB0_6
LBB0_6:
movl -20(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_2
jmp LBB0_7
LBB0_7:
movl -20(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB0_3
jmp LBB0_4
LBB0_1:
movl -8(%rbp), %esi
addl -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_2:
movl -8(%rbp), %esi
subl -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_3:
movl -8(%rbp), %esi
imull -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_4:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Press 1 to add and enter the two numbers.\n"
L_.str.1: ## @.str.1
.asciz "Press 2 to substract and enter two numbers. \n "
L_.str.2: ## @.str.2
.asciz "Press 3 to multiply and enter the two numbers \n"
L_.str.3: ## @.str.3
.asciz "%d %d %d"
L_.str.4: ## @.str.4
.asciz "Result: %d \n"
L_.str.5: ## @.str.5
.asciz "Enter the valid options. \n"
.subsections_via_symbols
| the_stack_data/61765.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/46023.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]
stur xzr, [x29, #-32]
ldur w8, [x29, #-8]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl _abort
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #24]
mov x9, sp
sub x8, x29, #20
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_4
b LBB0_3
LBB0_3:
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _exit_with_msg
b LBB0_4
LBB0_4:
ldur w8, [x29, #-8]
subs w8, w8, #5
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
mov x9, sp
sub x8, x29, #32
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _sscanf
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _exit_with_msg
b LBB0_7
LBB0_7:
b LBB0_8
LBB0_8:
ldur x8, [x29, #-16]
ldr x1, [x8, #8]
add x0, sp, #16
str x0, [sp, #8] ; 8-byte Folded Spill
bl _elfbuf_init_from_file
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur w1, [x29, #-20]
ldur x2, [x29, #-32]
bl _elfbuf_handle_core_notes
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x1, [x8, #16]
bl _elfbuf_write_to_file
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function exit_with_msg
_exit_with_msg: ; @exit_with_msg
.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, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x10, sp, #16
add x9, x29, #16
str x9, [x10]
ldr x0, [x8]
ldur x1, [x29, #-8]
ldr x2, [sp, #16]
bl _vfprintf
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x1, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _fputs
mov x0, #0
bl _perror
b LBB1_3
LBB1_2:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x1, [x8]
mov w0, #10
bl _fputc
b LBB1_3
LBB1_3:
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function elfbuf_init_from_file
_elfbuf_init_from_file: ; @elfbuf_init_from_file
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x0, [x29, #-16]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
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:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _exit_with_msg
b LBB2_2
LBB2_2:
ldur x2, [x29, #-24]
sub x0, x29, #32
sub x1, x29, #40
bl _read_file
ldur x0, [x29, #-24]
bl _fclose
ldur x8, [x29, #-40]
subs x8, x8, #16
cset w8, lo
tbnz w8, #0, LBB2_11
b LBB2_3
LBB2_3:
ldur x8, [x29, #-32]
ldrb w8, [x8]
subs w8, w8, #127
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_4
LBB2_4:
ldur x8, [x29, #-32]
ldrb w8, [x8, #1]
subs w8, w8, #69
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_5
LBB2_5:
ldur x8, [x29, #-32]
ldrb w8, [x8, #2]
subs w8, w8, #76
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_6
LBB2_6:
ldur x8, [x29, #-32]
ldrb w8, [x8, #3]
subs w8, w8, #70
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_7
LBB2_7:
ldur x8, [x29, #-32]
ldrb w8, [x8, #4]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB2_11
b LBB2_8
LBB2_8:
ldur x8, [x29, #-32]
ldrb w8, [x8, #4]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB2_11
b LBB2_9
LBB2_9:
ldur x8, [x29, #-32]
ldrb w8, [x8, #5]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
ldur x8, [x29, #-32]
ldrb w8, [x8, #5]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _exit_with_msg
b LBB2_12
LBB2_12:
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
str x8, [x9]
ldur x8, [x29, #-32]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldur x8, [x29, #-40]
ldur x9, [x29, #-8]
str x8, [x9, #16]
ldur x8, [x29, #-32]
ldrb w8, [x8, #4]
ldur x9, [x29, #-8]
str w8, [x9, #24]
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, eq
and w10, w8, #0x1
mov x9, #64
mov x8, #52
ands w10, w10, #0x1
csel x8, x8, x9, ne
ldur x9, [x29, #-40]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB2_24
b LBB2_13
LBB2_13:
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr w8, [x8, #28]
; kill: def $x8 killed $w8
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB2_16
LBB2_15:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr x8, [x8, #32]
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB2_16
LBB2_16:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur x9, [x29, #-40]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB2_24
b LBB2_17
LBB2_17:
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_19
b LBB2_18
LBB2_18:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #44]
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB2_20
LBB2_19:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #56]
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB2_20
LBB2_20:
ldr w9, [sp, #44] ; 4-byte Folded Reload
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x8, [x29, #-40]
str x8, [sp, #32] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_22
b LBB2_21
LBB2_21:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr w8, [x8, #28]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB2_23
LBB2_22:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr x8, [x8, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB2_23
LBB2_23:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
subs x9, x9, x10
ldur x10, [x29, #-8]
ldr w10, [x10, #24]
subs w10, w10, #1
cset w10, eq
and w12, w10, #0x1
mov x11, #56
mov x10, #32
ands w12, w12, #0x1
csel x10, x10, x11, ne
udiv x9, x9, x10
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB2_25
b LBB2_24
LBB2_24:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _exit_with_msg
b LBB2_25
LBB2_25:
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_27
b LBB2_26
LBB2_26:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #42]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_28
LBB2_27:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #54]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_28
LBB2_28:
ldr w9, [sp, #12] ; 4-byte Folded Reload
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
ldur x9, [x29, #-8]
ldr w9, [x9, #24]
subs w9, w9, #1
cset w9, eq
and w11, w9, #0x1
mov x10, #56
mov x9, #32
ands w11, w11, #0x1
csel x9, x9, x10, ne
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_30
b LBB2_29
LBB2_29:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _exit_with_msg
b LBB2_30
LBB2_30:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function elfbuf_handle_core_notes
_elfbuf_handle_core_notes: ; @elfbuf_handle_core_notes
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #16]
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB3_3
LBB3_2:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #16]
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB3_3
LBB3_3:
ldr w8, [sp, #44] ; 4-byte Folded Reload
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
ldur x8, [x29, #-8]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _exit_with_msg
b LBB3_5
LBB3_5:
stur wzr, [x29, #-28]
b LBB3_6
LBB3_6: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
str w8, [sp, #40] ; 4-byte Folded Spill
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #44]
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB3_9
LBB3_8: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrh w8, [x8, #56]
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_6 Depth=1
ldr w8, [sp, #40] ; 4-byte Folded Reload
ldr w9, [sp, #36] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB3_26
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #28]
; kill: def $x9 killed $w9
add x8, x8, x9
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #5
ldr w8, [x8, #4]
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB3_13
LBB3_12: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr x9, [x9, #32]
add x8, x8, x9
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr x8, [x8, #8]
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_6 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x8, [x29, #-40]
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_15
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #28]
; kill: def $x9 killed $w9
add x8, x8, x9
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #5
ldr w8, [x8, #16]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB3_16
LBB3_15: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr x9, [x9, #32]
add x8, x8, x9
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
ldr x8, [x8, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_6 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #48]
ldur x8, [x29, #-40]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB3_18
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_6 Depth=1
ldr x8, [sp, #48]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
ldur x10, [x29, #-40]
subs x9, x9, x10
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB3_19
b LBB3_18
LBB3_18: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _exit_with_msg
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_21
b LBB3_20
LBB3_20: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #28]
; kill: def $x9 killed $w9
add x8, x8, x9
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
lsl x9, x9, #5
ldr w8, [x8, x9]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_22
LBB3_21: ; in Loop: Header=BB3_6 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr x9, [x9, #32]
add x8, x8, x9
ldur w9, [x29, #-28]
; kill: def $x9 killed $w9
mov x10, #56
mul x9, x9, x10
ldr w8, [x8, x9]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_22
LBB3_22: ; in Loop: Header=BB3_6 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB3_24
b LBB3_23
LBB3_23: ; in Loop: Header=BB3_6 Depth=1
b LBB3_25
LBB3_24: ; in Loop: Header=BB3_6 Depth=1
ldur x0, [x29, #-8]
ldur x1, [x29, #-40]
ldr x2, [sp, #48]
ldur w3, [x29, #-12]
ldur x4, [x29, #-24]
bl _elfbuf_handle_note_segment
b LBB3_25
LBB3_25: ; in Loop: Header=BB3_6 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB3_6
LBB3_26:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function elfbuf_write_to_file
_elfbuf_write_to_file: ; @elfbuf_write_to_file
.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]
ldr x0, [sp, #16]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fopen
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:
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _exit_with_msg
b LBB4_2
LBB4_2:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur x8, [x29, #-8]
ldr x1, [x8, #16]
ldr x2, [sp, #8]
bl _write_file
ldr x0, [sp, #8]
bl _fclose
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function read_file
_read_file: ; @read_file
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
str xzr, [sp, #32]
mov x8, #1024
str x8, [sp, #24]
ldr x0, [sp, #24]
bl _malloc
str x0, [sp, #8]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #32]
add x0, x8, x9
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x2, x8, x9
ldur x3, [x29, #-24]
mov x1, #1
bl _fread
str x0, [sp, #16]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #24]
str x8, [sp, #32]
ldr x8, [sp, #24]
lsl x8, x8, #1
str x8, [sp, #24]
ldr x0, [sp, #8]
ldr x1, [sp, #24]
bl _realloc
str x0, [sp, #8]
b LBB5_1
LBB5_3:
ldr x9, [sp, #16]
ldr x8, [sp, #32]
add x8, x8, x9
str x8, [sp, #32]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
ldr x8, [sp, #32]
ldur x9, [x29, #-16]
str x8, [x9]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function elfbuf_handle_note_segment
_elfbuf_handle_note_segment: ; @elfbuf_handle_note_segment
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
str x4, [sp, #40]
str xzr, [sp, #32]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
add x8, x8, #12
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_12
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-16]
add x8, x8, x9
ldr x9, [sp, #32]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #32]
add x8, x8, #12
ldr x9, [sp, #24]
ldr w9, [x9]
add w9, w9, #3
and w9, w9, #0xfffffffc
; kill: def $x9 killed $w9
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #24]
ldr w9, [x9, #4]
add w9, w9, #3
and w9, w9, #0xfffffffc
; kill: def $x9 killed $w9
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #16]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #8]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _exit_with_msg
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8, #8]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9, #8]
orr w8, w8, #0xff000000
str w8, [x9, #8]
b LBB6_11
LBB6_7: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8, #8]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB6_10
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_10
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_1 Depth=1
ldur x0, [x29, #-8]
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
add x1, x8, x9
ldr x8, [sp, #24]
ldr w8, [x8, #4]
mov x2, x8
ldr x3, [sp, #40]
bl _elfbuf_handle_auxv
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_1 Depth=1
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #8]
str x8, [sp, #32]
b LBB6_1
LBB6_12:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function elfbuf_handle_auxv
_elfbuf_handle_auxv: ; @elfbuf_handle_auxv
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, #72]
str x1, [sp, #64]
str x2, [sp, #56]
str x3, [sp, #48]
ldr x8, [sp, #72]
ldr x8, [x8, #8]
ldr x9, [sp, #64]
add x8, x8, x9
str x8, [sp, #32]
ldr x8, [sp, #32]
str x8, [sp, #24]
ldr x8, [sp, #72]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, eq
and w10, w8, #0x1
mov x9, #8
mov x8, #4
ands w10, w10, #0x1
csel x8, x8, x9, ne
str x8, [sp, #16]
str xzr, [sp, #40]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #56]
ldr x10, [sp, #16]
udiv x9, x9, x10
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_14
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #72]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #32]
ldr x10, [sp, #40]
mov x9, #2
mul x9, x9, x10
ldr w8, [x8, x9, lsl #2]
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
b LBB7_5
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #24]
ldr x10, [sp, #40]
mov x9, #2
mul x9, x9, x10
ldr x8, [x8, x9, lsl #3]
str x8, [sp] ; 8-byte Folded Spill
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_7
b LBB7_6
LBB7_6:
b LBB7_14
LBB7_7: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #8]
subs x8, x8, #16
cset w8, eq
tbnz w8, #0, LBB7_9
b LBB7_8
LBB7_8: ; in Loop: Header=BB7_1 Depth=1
b LBB7_13
LBB7_9: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #72]
ldr w8, [x8, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB7_11
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #48]
mov x10, x8
ldr x8, [sp, #32]
ldr x11, [sp, #40]
mov x9, #2
mul x9, x9, x11
add x9, x9, #1
add x9, x8, x9, lsl #2
ldr w8, [x9]
and w8, w8, w10
str w8, [x9]
b LBB7_12
LBB7_11: ; in Loop: Header=BB7_1 Depth=1
ldr x10, [sp, #48]
ldr x8, [sp, #24]
ldr x11, [sp, #40]
mov x9, #2
mul x9, x9, x11
add x9, x9, #1
add x9, x8, x9, lsl #3
ldr x8, [x9]
and x8, x8, x10
str x8, [x9]
b LBB7_12
LBB7_12: ; in Loop: Header=BB7_1 Depth=1
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB7_1
LBB7_14:
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function write_file
_write_file: ; @write_file
.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 x2, [sp, #8]
ldur x0, [x29, #-8]
ldr x2, [sp, #16]
ldr x3, [sp, #8]
mov x1, #1
bl _fwrite
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 "%u"
l_.str.1: ; @.str.1
.asciz "%s: bad command line arguments\n"
l_.str.2: ; @.str.2
.asciz "%lu"
l_.str.3: ; @.str.3
.asciz ": "
l_.str.4: ; @.str.4
.asciz "rb"
l_.str.5: ; @.str.5
.asciz "%s"
l_.str.6: ; @.str.6
.asciz "%s: unsupported or invalid ELF file"
l_.str.7: ; @.str.7
.asciz "%s: unexpected end of data"
l_.str.8: ; @.str.8
.asciz "%s: inconsistent ELF header"
l_.str.9: ; @.str.9
.asciz "%s: not a core file"
l_.str.10: ; @.str.10
.asciz "%s: corrupt notes data"
l_.str.11: ; @.str.11
.asciz "wb"
.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)
movq $0, -32(%rbp)
cmpl $4, -8(%rbp)
jge LBB0_2
## %bb.1:
callq _abort
LBB0_2:
movq -16(%rbp), %rax
movq 24(%rax), %rdi
leaq L_.str(%rip), %rsi
leaq -20(%rbp), %rdx
movb $0, %al
callq _sscanf
cmpl $1, %eax
je LBB0_4
## %bb.3:
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB0_4:
cmpl $5, -8(%rbp)
jl LBB0_8
## %bb.5:
movq -16(%rbp), %rax
movq 32(%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq -32(%rbp), %rdx
movb $0, %al
callq _sscanf
cmpl $1, %eax
je LBB0_7
## %bb.6:
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB0_7:
jmp LBB0_8
LBB0_8:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq -64(%rbp), %rdi
callq _elfbuf_init_from_file
movl -20(%rbp), %esi
movq -32(%rbp), %rdx
leaq -64(%rbp), %rdi
callq _elfbuf_handle_core_notes
movq -16(%rbp), %rax
movq 16(%rax), %rsi
leaq -64(%rbp), %rdi
callq _elfbuf_write_to_file
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function exit_with_msg
_exit_with_msg: ## @exit_with_msg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
testb %al, %al
je LBB1_5
## %bb.4:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB1_5:
movq %r9, -168(%rbp)
movq %r8, -176(%rbp)
movq %rcx, -184(%rbp)
movq %rdx, -192(%rbp)
movq %rsi, -200(%rbp)
movq %rdi, -8(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
leaq -32(%rbp), %rax
leaq -208(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rsi
leaq -32(%rbp), %rdx
callq _vfprintf
leaq -32(%rbp), %rax
callq ___error
cmpl $0, (%rax)
je LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.3(%rip), %rdi
callq _fputs
xorl %eax, %eax
movl %eax, %edi
callq _perror
jmp LBB1_3
LBB1_2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _fputc
LBB1_3:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function elfbuf_init_from_file
_elfbuf_init_from_file: ## @elfbuf_init_from_file
.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 %rsi, -16(%rbp)
movq -16(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB2_2
## %bb.1:
movq -16(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB2_2:
movq -24(%rbp), %rdx
leaq -32(%rbp), %rdi
leaq -40(%rbp), %rsi
callq _read_file
movq -24(%rbp), %rdi
callq _fclose
cmpq $16, -40(%rbp)
jb LBB2_11
## %bb.3:
movq -32(%rbp), %rax
movzbl (%rax), %eax
cmpl $127, %eax
jne LBB2_11
## %bb.4:
movq -32(%rbp), %rax
movzbl 1(%rax), %eax
cmpl $69, %eax
jne LBB2_11
## %bb.5:
movq -32(%rbp), %rax
movzbl 2(%rax), %eax
cmpl $76, %eax
jne LBB2_11
## %bb.6:
movq -32(%rbp), %rax
movzbl 3(%rax), %eax
cmpl $70, %eax
jne LBB2_11
## %bb.7:
movq -32(%rbp), %rax
movzbl 4(%rax), %eax
cmpl $1, %eax
jl LBB2_11
## %bb.8:
movq -32(%rbp), %rax
movzbl 4(%rax), %eax
cmpl $2, %eax
jg LBB2_11
## %bb.9:
movq -32(%rbp), %rax
movzbl 5(%rax), %eax
cmpl $1, %eax
jl LBB2_11
## %bb.10:
movq -32(%rbp), %rax
movzbl 5(%rax), %eax
cmpl $2, %eax
jle LBB2_12
LBB2_11:
movq -16(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB2_12:
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -40(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -32(%rbp), %rax
movzbl 4(%rax), %ecx
movq -8(%rbp), %rax
movl %ecx, 24(%rax)
movq -8(%rbp), %rax
movl 24(%rax), %edx
movl $64, %eax
movl $52, %ecx
cmpl $1, %edx
cmoveq %rcx, %rax
cmpq -40(%rbp), %rax
ja LBB2_24
## %bb.13:
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB2_15
## %bb.14:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB2_16
LBB2_15:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq 32(%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
LBB2_16:
movq -48(%rbp), %rax ## 8-byte Reload
cmpq -40(%rbp), %rax
ja LBB2_24
## %bb.17:
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB2_19
## %bb.18:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 44(%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB2_20
LBB2_19:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 56(%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
LBB2_20:
movl -52(%rbp), %eax ## 4-byte Reload
cltq
movq %rax, -72(%rbp) ## 8-byte Spill
movq -40(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB2_22
## %bb.21:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB2_23
LBB2_22:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq 32(%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
LBB2_23:
movq -64(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
subq %rcx, %rax
movq -8(%rbp), %rcx
movl 24(%rcx), %esi
movl $56, %ecx
movl $32, %edx
cmpl $1, %esi
cmoveq %rdx, %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq %rax, %rcx
movq -72(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jbe LBB2_25
LBB2_24:
movq -16(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB2_25:
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB2_27
## %bb.26:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 42(%rax), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB2_28
LBB2_27:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 54(%rax), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
LBB2_28:
movl -84(%rbp), %eax ## 4-byte Reload
cltq
movq -8(%rbp), %rcx
movl 24(%rcx), %esi
movl $56, %ecx
movl $32, %edx
cmpl $1, %esi
cmoveq %rdx, %rcx
cmpq %rcx, %rax
je LBB2_30
## %bb.29:
movq -16(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB2_30:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function elfbuf_handle_core_notes
_elfbuf_handle_core_notes: ## @elfbuf_handle_core_notes
.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)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 16(%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB3_3
LBB3_2:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 16(%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
LBB3_3:
movl -52(%rbp), %eax ## 4-byte Reload
cmpl $4, %eax
je LBB3_5
## %bb.4:
movq -8(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB3_5:
movl $0, -28(%rbp)
LBB3_6: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB3_8
## %bb.7: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 44(%rax), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
jmp LBB3_9
LBB3_8: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzwl 56(%rax), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
LBB3_9: ## in Loop: Header=BB3_6 Depth=1
movl -56(%rbp), %eax ## 4-byte Reload
movl -60(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
je LBB3_26
## %bb.10: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB3_12
## %bb.11: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
movl 28(%rcx), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
shlq $5, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB3_13
LBB3_12: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
addq 32(%rcx), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movq 8(%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
LBB3_13: ## in Loop: Header=BB3_6 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB3_15
## %bb.14: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
movl 28(%rcx), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
shlq $5, %rcx
addq %rcx, %rax
movl 16(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB3_16
LBB3_15: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
addq 32(%rcx), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movq 32(%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
LBB3_16: ## in Loop: Header=BB3_6 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
movq -8(%rbp), %rcx
cmpq 16(%rcx), %rax
ja LBB3_18
## %bb.17: ## in Loop: Header=BB3_6 Depth=1
movq -48(%rbp), %rax
movq -8(%rbp), %rcx
movq 16(%rcx), %rcx
subq -40(%rbp), %rcx
cmpq %rcx, %rax
jbe LBB3_19
LBB3_18: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB3_19: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB3_21
## %bb.20: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
movl 28(%rcx), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
shlq $5, %rcx
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB3_22
LBB3_21: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
addq 32(%rcx), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
LBB3_22: ## in Loop: Header=BB3_6 Depth=1
movl -84(%rbp), %eax ## 4-byte Reload
cmpl $4, %eax
je LBB3_24
## %bb.23: ## in Loop: Header=BB3_6 Depth=1
jmp LBB3_25
LBB3_24: ## in Loop: Header=BB3_6 Depth=1
movq -8(%rbp), %rdi
movq -40(%rbp), %rsi
movq -48(%rbp), %rdx
movl -12(%rbp), %ecx
movq -24(%rbp), %r8
callq _elfbuf_handle_note_segment
LBB3_25: ## in Loop: Header=BB3_6 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB3_6
LBB3_26:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function elfbuf_write_to_file
_elfbuf_write_to_file: ## @elfbuf_write_to_file
.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 -16(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB4_2
## %bb.1:
movq -16(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB4_2:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movq -8(%rbp), %rax
movq 16(%rax), %rsi
movq -24(%rbp), %rdx
callq _write_file
movq -24(%rbp), %rdi
callq _fclose
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function read_file
_read_file: ## @read_file
.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 %rdx, -24(%rbp)
movq $0, -32(%rbp)
movq $1024, -40(%rbp) ## imm = 0x400
movq -40(%rbp), %rdi
callq _malloc
movq %rax, -56(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rdi
addq -32(%rbp), %rdi
movq -40(%rbp), %rdx
subq -32(%rbp), %rdx
movq -24(%rbp), %rcx
movl $1, %esi
callq _fread
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
subq -32(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -40(%rbp), %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rax
shlq $1, %rax
movq %rax, -40(%rbp)
movq -56(%rbp), %rdi
movq -40(%rbp), %rsi
callq _realloc
movq %rax, -56(%rbp)
jmp LBB5_1
LBB5_3:
movq -48(%rbp), %rax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -56(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function elfbuf_handle_note_segment
_elfbuf_handle_note_segment: ## @elfbuf_handle_note_segment
.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)
movl %ecx, -28(%rbp)
movq %r8, -40(%rbp)
movq $0, -48(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rax
addq $12, %rax
cmpq -24(%rbp), %rax
jae LBB6_12
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
addq -16(%rbp), %rax
addq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq -48(%rbp), %rax
addq $12, %rax
movq -56(%rbp), %rcx
movl (%rcx), %ecx
addl $3, %ecx
andl $-4, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movq -56(%rbp), %rcx
movl 4(%rcx), %ecx
addl $3, %ecx
andl $-4, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movq %rax, -72(%rbp)
movq -64(%rbp), %rax
cmpq -24(%rbp), %rax
ja LBB6_4
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
movq -72(%rbp), %rax
cmpq -24(%rbp), %rax
jbe LBB6_5
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _exit_with_msg
LBB6_5: ## in Loop: Header=BB6_1 Depth=1
movq -56(%rbp), %rax
movl 8(%rax), %eax
cmpl -28(%rbp), %eax
jne LBB6_7
## %bb.6: ## in Loop: Header=BB6_1 Depth=1
movq -56(%rbp), %rax
movl 8(%rax), %ecx
orl $-16777216, %ecx ## imm = 0xFF000000
movl %ecx, 8(%rax)
jmp LBB6_11
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
movq -56(%rbp), %rax
cmpl $6, 8(%rax)
jne LBB6_10
## %bb.8: ## in Loop: Header=BB6_1 Depth=1
cmpq $0, -40(%rbp)
je LBB6_10
## %bb.9: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
addq -64(%rbp), %rsi
movq -56(%rbp), %rax
movl 4(%rax), %eax
movl %eax, %edx
movq -40(%rbp), %rcx
callq _elfbuf_handle_auxv
LBB6_10: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_11
LBB6_11: ## in Loop: Header=BB6_1 Depth=1
movq -72(%rbp), %rax
movq %rax, -48(%rbp)
jmp LBB6_1
LBB6_12:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function elfbuf_handle_auxv
_elfbuf_handle_auxv: ## @elfbuf_handle_auxv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
addq -16(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq -8(%rbp), %rax
movl 24(%rax), %edx
movl $8, %eax
movl $4, %ecx
cmpl $1, %edx
cmoveq %rcx, %rax
movq %rax, -64(%rbp)
movq $0, -40(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -24(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq -64(%rbp)
movq %rax, %rcx
movq -80(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB7_14
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB7_4
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movq -48(%rbp), %rax
movq -40(%rbp), %rcx
shlq $1, %rcx
movl (%rax,%rcx,4), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB7_5
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
movq -56(%rbp), %rax
movq -40(%rbp), %rcx
shlq $1, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB7_7
## %bb.6:
jmp LBB7_14
LBB7_7: ## in Loop: Header=BB7_1 Depth=1
cmpq $16, -72(%rbp)
je LBB7_9
## %bb.8: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_13
LBB7_9: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
cmpl $1, 24(%rax)
jne LBB7_11
## %bb.10: ## in Loop: Header=BB7_1 Depth=1
movq -32(%rbp), %rax
movl %eax, %edx
movq -48(%rbp), %rax
movq -40(%rbp), %rcx
shlq $1, %rcx
andl 4(%rax,%rcx,4), %edx
movl %edx, 4(%rax,%rcx,4)
jmp LBB7_12
LBB7_11: ## in Loop: Header=BB7_1 Depth=1
movq -32(%rbp), %rdx
movq -56(%rbp), %rax
movq -40(%rbp), %rcx
shlq $1, %rcx
andq 8(%rax,%rcx,8), %rdx
movq %rdx, 8(%rax,%rcx,8)
LBB7_12: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_13
LBB7_13: ## in Loop: Header=BB7_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB7_1
LBB7_14:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function write_file
_write_file: ## @write_file
.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), %rdi
movq -16(%rbp), %rdx
movq -24(%rbp), %rcx
movl $1, %esi
callq _fwrite
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u"
L_.str.1: ## @.str.1
.asciz "%s: bad command line arguments\n"
L_.str.2: ## @.str.2
.asciz "%lu"
L_.str.3: ## @.str.3
.asciz ": "
L_.str.4: ## @.str.4
.asciz "rb"
L_.str.5: ## @.str.5
.asciz "%s"
L_.str.6: ## @.str.6
.asciz "%s: unsupported or invalid ELF file"
L_.str.7: ## @.str.7
.asciz "%s: unexpected end of data"
L_.str.8: ## @.str.8
.asciz "%s: inconsistent ELF header"
L_.str.9: ## @.str.9
.asciz "%s: not a core file"
L_.str.10: ## @.str.10
.asciz "%s: corrupt notes data"
L_.str.11: ## @.str.11
.asciz "wb"
.subsections_via_symbols
| the_stack_data/187643504.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
str wzr, [sp, #12]
mov w8, #1
str w8, [sp, #8]
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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 $1, -8(%rbp)
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/150756.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _attr_thread1 ; -- Begin function attr_thread1
.p2align 2
_attr_thread1: ; @attr_thread1
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _sleep
mov x0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _attr_thread2 ; -- Begin function attr_thread2
.p2align 2
_attr_thread2: ; @attr_thread2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _sleep
mov x0, #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, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-76]
sub x0, x29, #72
str x0, [sp, #48] ; 8-byte Folded Spill
bl _pthread_attr_init
ldr x0, [sp, #48] ; 8-byte Folded Reload
mov w1, #1
bl _pthread_attr_setdetachstate
str w0, [sp, #76]
ldr w8, [sp, #76]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB2_2:
add x0, sp, #88
sub x1, x29, #72
str x1, [sp, #40] ; 8-byte Folded Spill
adrp x2, _attr_thread1@PAGE
add x2, x2, _attr_thread1@PAGEOFF
mov x3, #0
bl _pthread_create
ldr x0, [sp, #40] ; 8-byte Folded Reload
mov w1, #2
bl _pthread_attr_setdetachstate
str w0, [sp, #76]
ldr w8, [sp, #76]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB2_4:
add x0, sp, #80
sub x1, x29, #72
str x1, [sp, #24] ; 8-byte Folded Spill
adrp x2, _attr_thread2@PAGE
add x2, x2, _attr_thread2@PAGEOFF
mov x3, #0
bl _pthread_create
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _pthread_attr_destroy
ldr x0, [sp, #88]
add x1, sp, #64
bl _pthread_join
ldr x0, [sp, #80]
add x1, sp, #56
bl _pthread_join
ldr x8, [sp, #64]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #56]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #64]
subs x8, x8, #1
cset w8, ne
mov w9, #1
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
ldr x8, [sp, #56]
subs x8, x8, #2
cset w8, ne
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB2_6
LBB2_6:
ldr w8, [sp, #36] ; 4-byte Folded Reload
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
bl ___stack_chk_fail
LBB2_8:
ldr w8, [sp, #20] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Thread 1\n"
l_.str.1: ; @.str.1
.asciz "Thread 2\n"
l_.str.2: ; @.str.2
.asciz "Setdetachstate\n"
l_.str.3: ; @.str.3
.asciz "res1 = %p\n"
l_.str.4: ; @.str.4
.asciz "res2 = %p\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _attr_thread1 ## -- Begin function attr_thread1
.p2align 4, 0x90
_attr_thread1: ## @attr_thread1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
movl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _attr_thread2 ## -- Begin function attr_thread2
.p2align 4, 0x90
_attr_thread2: ## @attr_thread2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
movl $2, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -76(%rbp)
leaq -72(%rbp), %rdi
callq _pthread_attr_init
leaq -72(%rbp), %rdi
movl $1, %esi
callq _pthread_attr_setdetachstate
movl %eax, -100(%rbp)
cmpl $0, -100(%rbp)
je LBB2_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB2_2:
leaq -88(%rbp), %rdi
leaq -72(%rbp), %rsi
leaq _attr_thread1(%rip), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq _pthread_create
leaq -72(%rbp), %rdi
movl $2, %esi
callq _pthread_attr_setdetachstate
movl %eax, -100(%rbp)
cmpl $0, -100(%rbp)
je LBB2_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB2_4:
leaq -96(%rbp), %rdi
leaq -72(%rbp), %rsi
leaq _attr_thread2(%rip), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq _pthread_create
leaq -72(%rbp), %rdi
callq _pthread_attr_destroy
movq -88(%rbp), %rdi
leaq -112(%rbp), %rsi
callq _pthread_join
movq -96(%rbp), %rdi
leaq -120(%rbp), %rsi
callq _pthread_join
movq -112(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -120(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movb $1, %al
movl $1, %ecx
cmpq %rcx, -112(%rbp)
movb %al, -121(%rbp) ## 1-byte Spill
jne LBB2_6
## %bb.5:
movl $2, %eax
cmpq %rax, -120(%rbp)
setne %al
movb %al, -121(%rbp) ## 1-byte Spill
LBB2_6:
movb -121(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -128(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_8
## %bb.7:
movl -128(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB2_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Thread 1\n"
L_.str.1: ## @.str.1
.asciz "Thread 2\n"
L_.str.2: ## @.str.2
.asciz "Setdetachstate\n"
L_.str.3: ## @.str.3
.asciz "res1 = %p\n"
L_.str.4: ## @.str.4
.asciz "res2 = %p\n"
.subsections_via_symbols
| the_stack_data/76701453.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
sub x0, x29, #8
bl _mutex_lock
bl _ldv_check_final_state
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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
leaq -8(%rbp), %rdi
callq _mutex_lock
callq _ldv_check_final_state
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/844402.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-16]
ldur x0, [x29, #-16]
mov w1, #438
bl _mkfifo
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-16]
mov w1, #0
bl _open
stur w0, [x29, #-8]
ldur w0, [x29, #-8]
add x1, sp, #16
str x1, [sp, #8] ; 8-byte Folded Spill
mov x2, #80
bl _read
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-8]
bl _close
b LBB0_1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/tmp/myfifo"
l_.str.1: ; @.str.1
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movl $438, %esi ## imm = 0x1B6
callq _mkfifo
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
leaq -96(%rbp), %rsi
movl $80, %edx
callq _read
leaq -96(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %edi
callq _close
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/tmp/myfifo"
L_.str.1: ## @.str.1
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/438549.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 x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
mov x8, #3
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
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 "asdf %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
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movl $3, %edx
movb $0, %al
callq _fprintf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "asdf %d\n"
.subsections_via_symbols
| the_stack_data/18886620.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, #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]
stur wzr, [x29, #-24]
mov w8, #1
stur w8, [x29, #-28]
mov w8, #-1
stur w8, [x29, #-36]
sub sp, sp, #16
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-20]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-48]
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, #-56]
stur wzr, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
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
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
add x8, x8, x9, lsl #2
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_1
LBB0_4:
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
stur wzr, [x29, #-28]
stur wzr, [x29, #-16]
b LBB0_6
LBB0_6: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=2
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldursw x8, [x29, #-16]
ldr w8, [x9, x8, lsl #2]
ldur w10, [x29, #-16]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=2
ldur x9, [x29, #-64] ; 8-byte Folded Reload
mov w8, #1
stur w8, [x29, #-28]
ldursw x8, [x29, #-16]
ldr w8, [x9, x8, lsl #2]
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
add w8, w8, #1
ldr w8, [x9, w8, sxtw #2]
ldursw x10, [x29, #-16]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-32]
ldur w10, [x29, #-16]
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_6 Depth=2
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_6 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_6
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_13
LBB0_13:
stur wzr, [x29, #-16]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldursw x8, [x29, #-16]
ldr w8, [x9, x8, lsl #2]
ldur w10, [x29, #-16]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_14 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_23
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_14 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_14 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur w9, [x29, #-24]
stur w9, [x29, #-36]
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-40]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_14 Depth=1
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldursw x8, [x29, #-16]
ldr w8, [x9, x8, lsl #2]
ldur w10, [x29, #-16]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_14 Depth=1
stur wzr, [x29, #-24]
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_14 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_14 Depth=1
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_14 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_14
LBB0_25:
ldur w9, [x29, #-40]
; 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, #-48]
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, LBB0_27
b LBB0_26
LBB0_26:
bl ___stack_chk_fail
LBB0_27:
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 "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -24(%rbp)
movl $1, -28(%rbp)
movl $-1, -36(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -20(%rbp), %rsi
callq _scanf
movl -20(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -48(%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, -56(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rsi ## 8-byte Reload
movslq -16(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
jmp LBB0_5
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movl $0, -28(%rbp)
movl $0, -16(%rbp)
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movl -20(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_11
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movq -64(%rbp), %rcx ## 8-byte Reload
movslq -16(%rbp), %rax
movl (%rcx,%rax,4), %eax
movl -16(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movl $1, -28(%rbp)
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movl %ecx, -32(%rbp)
movl -16(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -32(%rbp), %edx
movl -16(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
LBB0_9: ## in Loop: Header=BB0_6 Depth=2
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_6 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_6
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
cmpl $1, -28(%rbp)
je LBB0_5
## %bb.13:
movl $0, -16(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_25
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movslq -16(%rbp), %rax
movl (%rcx,%rax,4), %eax
movl -16(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB0_17: ## in Loop: Header=BB0_14 Depth=1
cmpl $0, -24(%rbp)
jle LBB0_23
## %bb.18: ## in Loop: Header=BB0_14 Depth=1
movl -24(%rbp), %eax
cmpl -36(%rbp), %eax
jle LBB0_20
## %bb.19: ## in Loop: Header=BB0_14 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movl -24(%rbp), %ecx
movl %ecx, -36(%rbp)
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -40(%rbp)
LBB0_20: ## in Loop: Header=BB0_14 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movslq -16(%rbp), %rax
movl (%rcx,%rax,4), %eax
movl -16(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_22
## %bb.21: ## in Loop: Header=BB0_14 Depth=1
movl $0, -24(%rbp)
LBB0_22: ## in Loop: Header=BB0_14 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_14 Depth=1
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_14 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_14
LBB0_25:
movl -40(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -48(%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 LBB0_27
## %bb.26:
movl -76(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_27:
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/1068.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/635607.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, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #72]
str w0, [sp, #68]
str x1, [sp, #56]
ldr w8, [sp, #68]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #72]
b LBB0_26
LBB0_2:
ldr x8, [sp, #56]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
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 _printf
mov w8, #1
str w8, [sp, #72]
b LBB0_26
LBB0_4:
add x0, sp, #88
mov w1, #0
mov x2, #96
bl _memset
mov w8, #12
str w8, [sp, #44]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr x0, [sp, #48]
mov x9, sp
add x8, sp, #76
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fscanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #40]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldrsw x9, [sp, #40]
add x8, sp, #76
ldrsb w8, [x8, x9]
str w8, [sp, #24] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #48
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #49
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
ldrsw x9, [sp, #40]
add x8, sp, #88
add x9, x8, x9, lsl #3
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_15
LBB0_12: ; in Loop: Header=BB0_7 Depth=2
ldrsw x9, [sp, #40]
add x8, sp, #88
add x9, x8, x9, lsl #3
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #40]
str w8, [sp, #44]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_7 Depth=2
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_7 Depth=2
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_7
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
b LBB0_5
LBB0_18:
strh wzr, [sp, #38]
strh wzr, [sp, #36]
str wzr, [sp, #32]
b LBB0_19
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #1
ldr w9, [sp, #32]
subs w8, w8, w9
str w8, [sp, #28]
ldrsw x10, [sp, #32]
add x9, sp, #88
mov x8, x9
add x8, x8, x10, lsl #3
ldr w8, [x8, #4]
ldrsw x10, [sp, #32]
lsl x10, x10, #3
ldr w9, [x9, x10]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=1
ldr w9, [sp, #28]
mov w8, #1
lsl w9, w8, w9
ldrh w8, [sp, #38]
orr w8, w8, w9
strh w8, [sp, #38]
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_19 Depth=1
ldr w9, [sp, #28]
mov w8, #1
lsl w9, w8, w9
ldrh w8, [sp, #36]
orr w8, w8, w9
strh w8, [sp, #36]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_19 Depth=1
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_19 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_19
LBB0_25:
ldrh w8, [sp, #38]
ldrh w9, [sp, #36]
mul w10, w8, w9
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
ldr x0, [sp, #48]
bl _fclose
str wzr, [sp, #72]
b LBB0_26
LBB0_26:
ldr w8, [sp, #72]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
bl ___stack_chk_fail
LBB0_28:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Missing input file"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Failed to open the input file"
l_.str.3: ; @.str.3
.asciz "%s\n"
l_.str.4: ; @.str.4
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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, -128(%rbp)
movl %edi, -132(%rbp)
movq %rsi, -144(%rbp)
cmpl $2, -132(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -128(%rbp)
jmp LBB0_24
LBB0_2:
movq -144(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -152(%rbp)
cmpq $0, -152(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -128(%rbp)
jmp LBB0_24
LBB0_4:
leaq -112(%rbp), %rdi
xorl %esi, %esi
movl $96, %edx
callq _memset
movl $12, -156(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movq -152(%rbp), %rdi
leaq -124(%rbp), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fscanf
cmpl $-1, %eax
je LBB0_16
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl $0, -160(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -160(%rbp), %eax
cmpl -156(%rbp), %eax
jge LBB0_15
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movslq -160(%rbp), %rax
movsbl -124(%rbp,%rax), %eax
movl %eax, -176(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_11
jmp LBB0_27
LBB0_27: ## in Loop: Header=BB0_7 Depth=2
movl -176(%rbp), %eax ## 4-byte Reload
subl $48, %eax
je LBB0_9
jmp LBB0_28
LBB0_28: ## in Loop: Header=BB0_7 Depth=2
movl -176(%rbp), %eax ## 4-byte Reload
subl $49, %eax
je LBB0_10
jmp LBB0_12
LBB0_9: ## in Loop: Header=BB0_7 Depth=2
movslq -160(%rbp), %rax
movl -112(%rbp,%rax,8), %ecx
addl $1, %ecx
movl %ecx, -112(%rbp,%rax,8)
jmp LBB0_13
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
movslq -160(%rbp), %rax
movl -108(%rbp,%rax,8), %ecx
addl $1, %ecx
movl %ecx, -108(%rbp,%rax,8)
jmp LBB0_13
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movl -160(%rbp), %eax
movl %eax, -156(%rbp)
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_7 Depth=2
movl -160(%rbp), %eax
addl $1, %eax
movl %eax, -160(%rbp)
jmp LBB0_7
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_5
LBB0_16:
movw $0, -162(%rbp)
movw $0, -164(%rbp)
movl $0, -168(%rbp)
LBB0_17: ## =>This Inner Loop Header: Depth=1
movl -168(%rbp), %eax
cmpl -156(%rbp), %eax
jge LBB0_23
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl -156(%rbp), %eax
subl $1, %eax
subl -168(%rbp), %eax
movl %eax, -172(%rbp)
movslq -168(%rbp), %rax
movl -108(%rbp,%rax,8), %eax
movslq -168(%rbp), %rcx
cmpl -112(%rbp,%rcx,8), %eax
jle LBB0_20
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
movl -172(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movzwl -162(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -162(%rbp)
jmp LBB0_21
LBB0_20: ## in Loop: Header=BB0_17 Depth=1
movl -172(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movzwl -164(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -164(%rbp)
LBB0_21: ## in Loop: Header=BB0_17 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -168(%rbp)
jmp LBB0_17
LBB0_23:
movzwl -162(%rbp), %esi
movzwl -164(%rbp), %eax
imull %eax, %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -152(%rbp), %rdi
callq _fclose
movl $0, -128(%rbp)
LBB0_24:
movl -128(%rbp), %eax
movl %eax, -180(%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 -180(%rbp), %eax ## 4-byte Reload
addq $192, %rsp
popq %rbp
retq
LBB0_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Missing input file"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Failed to open the input file"
L_.str.3: ## @.str.3
.asciz "%s\n"
L_.str.4: ## @.str.4
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/29824925.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ffiapi_receiveInput ; -- Begin function ffiapi_receiveInput
.p2align 2
_ffiapi_receiveInput: ; @ffiapi_receiveInput
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
str x3, [sp]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ffiapi_sendOutput ; -- Begin function ffiapi_sendOutput
.p2align 2
_ffiapi_sendOutput: ; @ffiapi_sendOutput
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
str x3, [sp]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ffiapi_logInfo ; -- Begin function ffiapi_logInfo
.p2align 2
_ffiapi_logInfo: ; @ffiapi_logInfo
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ffiapi_logDebug ; -- Begin function ffiapi_logDebug
.p2align 2
_ffiapi_logDebug: ; @ffiapi_logDebug
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ffiapi_logError ; -- Begin function ffiapi_logError
.p2align 2
_ffiapi_logError: ; @ffiapi_logError
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _difftimeval ; -- Begin function difftimeval
.p2align 2
_difftimeval: ; @difftimeval
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [sp, #24]
str x2, [sp]
str x3, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp]
subs x8, x8, x9
mov x9, #16960
movk x9, #15, lsl #16
mul x8, x8, x9
ldr w9, [sp, #24]
ldr w10, [sp, #8]
subs w9, w9, w10
add x8, x8, w9, sxtw
mov x0, x8
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ffisb_pacer_notification_wait ; -- Begin function ffisb_pacer_notification_wait
.p2align 2
_ffisb_pacer_notification_wait: ; @ffisb_pacer_notification_wait
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
adrp x8, _ffisb_pacer_notification_wait.firstRun@PAGE
ldrb w8, [x8, _ffisb_pacer_notification_wait.firstRun@PAGEOFF]
tbz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x8, _ffisb_pacer_notification_wait.firstRun@PAGE
strb wzr, [x8, _ffisb_pacer_notification_wait.firstRun@PAGEOFF]
adrp x0, _ffisb_pacer_notification_wait.prev@PAGE
add x0, x0, _ffisb_pacer_notification_wait.prev@PAGEOFF
mov x1, #0
bl _gettimeofday
b LBB6_7
LBB6_2:
mov x0, sp
mov x1, #0
bl _gettimeofday
b LBB6_3
LBB6_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp]
ldr x1, [sp, #8]
adrp x9, _ffisb_pacer_notification_wait.prev@PAGE
adrp x8, _ffisb_pacer_notification_wait.prev@PAGE
add x8, x8, _ffisb_pacer_notification_wait.prev@PAGEOFF
ldr x2, [x9, _ffisb_pacer_notification_wait.prev@PAGEOFF]
ldr x3, [x8, #8]
bl _difftimeval
mov w8, #41248
movk w8, #7, lsl #16
subs w8, w0, w8
cset w8, ge
tbnz w8, #0, LBB6_6
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=1
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_3 Depth=1
mov x0, sp
mov x1, #0
bl _gettimeofday
b LBB6_3
LBB6_6:
ldr q0, [sp]
adrp x8, _ffisb_pacer_notification_wait.prev@PAGE
add x8, x8, _ffisb_pacer_notification_wait.prev@PAGEOFF
str q0, [x8]
b LBB6_7
LBB6_7:
ldr x9, [sp, #24]
mov w8, #1
strb w8, [x9]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ffisb_pacer_notification_emit ; -- Begin function ffisb_pacer_notification_emit
.p2align 2
_ffisb_pacer_notification_emit: ; @ffisb_pacer_notification_emit
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
str x3, [sp]
ldr x9, [sp, #8]
mov w8, #1
strb w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INFO: %s\n"
l_.str.1: ; @.str.1
.asciz "DEBUG: %s\n"
l_.str.2: ; @.str.2
.asciz "ERROR: %s\n"
.section __DATA,__data
_ffisb_pacer_notification_wait.firstRun: ; @ffisb_pacer_notification_wait.firstRun
.byte 1 ; 0x1
.zerofill __DATA,__bss,_ffisb_pacer_notification_wait.prev,16,3 ; @ffisb_pacer_notification_wait.prev
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ffiapi_receiveInput ## -- Begin function ffiapi_receiveInput
.p2align 4, 0x90
_ffiapi_receiveInput: ## @ffiapi_receiveInput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffiapi_sendOutput ## -- Begin function ffiapi_sendOutput
.p2align 4, 0x90
_ffiapi_sendOutput: ## @ffiapi_sendOutput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffiapi_logInfo ## -- Begin function ffiapi_logInfo
.p2align 4, 0x90
_ffiapi_logInfo: ## @ffiapi_logInfo
.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 %rcx, -32(%rbp)
movq -8(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffiapi_logDebug ## -- Begin function ffiapi_logDebug
.p2align 4, 0x90
_ffiapi_logDebug: ## @ffiapi_logDebug
.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 %rcx, -32(%rbp)
movq -8(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffiapi_logError ## -- Begin function ffiapi_logError
.p2align 4, 0x90
_ffiapi_logError: ## @ffiapi_logError
.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 %rcx, -32(%rbp)
movq -8(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _difftimeval ## -- Begin function difftimeval
.p2align 4, 0x90
_difftimeval: ## @difftimeval
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -24(%rbp)
movq -16(%rbp), %rax
subq -32(%rbp), %rax
imulq $1000000, %rax, %rax ## imm = 0xF4240
movl -8(%rbp), %ecx
subl -24(%rbp), %ecx
movslq %ecx, %rcx
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffisb_pacer_notification_wait ## -- Begin function ffisb_pacer_notification_wait
.p2align 4, 0x90
_ffisb_pacer_notification_wait: ## @ffisb_pacer_notification_wait
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
testb $1, _ffisb_pacer_notification_wait.firstRun(%rip)
je LBB6_2
## %bb.1:
movb $0, _ffisb_pacer_notification_wait.firstRun(%rip)
leaq _ffisb_pacer_notification_wait.prev(%rip), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
jmp LBB6_7
LBB6_2:
leaq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
LBB6_3: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdi
movl -40(%rbp), %esi
movq _ffisb_pacer_notification_wait.prev(%rip), %rdx
movl _ffisb_pacer_notification_wait.prev+8(%rip), %ecx
callq _difftimeval
cmpl $500000, %eax ## imm = 0x7A120
jge LBB6_6
## %bb.4: ## in Loop: Header=BB6_3 Depth=1
jmp LBB6_5
LBB6_5: ## in Loop: Header=BB6_3 Depth=1
leaq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
jmp LBB6_3
LBB6_6:
movq -48(%rbp), %rax
movq %rax, _ffisb_pacer_notification_wait.prev(%rip)
movq -40(%rbp), %rax
movq %rax, _ffisb_pacer_notification_wait.prev+8(%rip)
LBB6_7:
movq -24(%rbp), %rax
movb $1, (%rax)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffisb_pacer_notification_emit ## -- Begin function ffisb_pacer_notification_emit
.p2align 4, 0x90
_ffisb_pacer_notification_emit: ## @ffisb_pacer_notification_emit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -24(%rbp), %rax
movb $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INFO: %s\n"
L_.str.1: ## @.str.1
.asciz "DEBUG: %s\n"
L_.str.2: ## @.str.2
.asciz "ERROR: %s\n"
.section __DATA,__data
_ffisb_pacer_notification_wait.firstRun: ## @ffisb_pacer_notification_wait.firstRun
.byte 1 ## 0x1
.zerofill __DATA,__bss,_ffisb_pacer_notification_wait.prev,16,3 ## @ffisb_pacer_notification_wait.prev
.subsections_via_symbols
| the_stack_data/75136734.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zhetri_rook_ ; -- Begin function zhetri_rook_
.p2align 2
_zhetri_rook_: ; @zhetri_rook_
.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, #768
stur x0, [x29, #-32]
stur x1, [x29, #-40]
stur x2, [x29, #-48]
stur x3, [x29, #-56]
stur x4, [x29, #-64]
stur x5, [x29, #-72]
stur x6, [x29, #-80]
ldur x8, [x29, #-56]
ldr w8, [x8]
stur w8, [x29, #-84]
ldur w8, [x29, #-84]
mov x9, #0
lsr w8, w8, #0
add w8, w8, #1
stur w8, [x29, #-88]
ldursw x10, [x29, #-88]
ldur x8, [x29, #-48]
subs x9, x9, x10
add x8, x8, x9, lsl #4
stur x8, [x29, #-48]
ldur x8, [x29, #-64]
subs x8, x8, #4
stur x8, [x29, #-64]
ldur x8, [x29, #-72]
subs x8, x8, #16
stur x8, [x29, #-72]
ldur x8, [x29, #-80]
str wzr, [x8]
ldur x0, [x29, #-32]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _lsame_
stur w0, [x29, #-208]
ldur w8, [x29, #-208]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur x0, [x29, #-32]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur x9, [x29, #-80]
mov w8, #-1
str w8, [x9]
b LBB0_12
LBB0_3:
ldur x8, [x29, #-40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur x9, [x29, #-80]
mov w8, #-2
str w8, [x9]
b LBB0_11
LBB0_5:
ldur x8, [x29, #-56]
ldr w8, [x8]
str w8, [sp, #516] ; 4-byte Folded Spill
ldur x8, [x29, #-40]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov w8, #1
str w8, [sp, #512] ; 4-byte Folded Spill
b LBB0_8
LBB0_7:
ldur x8, [x29, #-40]
ldr w8, [x8]
str w8, [sp, #512] ; 4-byte Folded Spill
b LBB0_8
LBB0_8:
ldr w8, [sp, #516] ; 4-byte Folded Reload
ldr w9, [sp, #512] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x9, [x29, #-80]
mov w8, #-4
str w8, [x9]
b LBB0_10
LBB0_10:
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
ldur x8, [x29, #-80]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur x8, [x29, #-80]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
sub x1, x29, #92
stur w8, [x29, #-92]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
mov w2, #11
bl _xerbla_
stur wzr, [x29, #-20]
b LBB0_115
LBB0_14:
ldur x8, [x29, #-40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
stur wzr, [x29, #-20]
b LBB0_115
LBB0_16:
ldur w8, [x29, #-208]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_17
LBB0_17:
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur x9, [x29, #-80]
str w8, [x9]
b LBB0_18
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-80]
ldr w8, [x8]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_25
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=1
ldur x8, [x29, #-80]
ldr w8, [x8]
ldur x9, [x29, #-80]
ldr w9, [x9]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-64]
ldur x9, [x29, #-80]
ldrsw x9, [x9]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_23
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=1
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_23
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=1
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
stur wzr, [x29, #-20]
b LBB0_115
LBB0_23: ; in Loop: Header=BB0_18 Depth=1
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_18 Depth=1
ldur x9, [x29, #-80]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB0_18
LBB0_25:
b LBB0_35
LBB0_26:
ldur x8, [x29, #-40]
ldr w8, [x8]
stur w8, [x29, #-92]
ldur x9, [x29, #-80]
mov w8, #1
str w8, [x9]
b LBB0_27
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-80]
ldr w8, [x8]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_34
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=1
ldur x8, [x29, #-80]
ldr w8, [x8]
ldur x9, [x29, #-80]
ldr w9, [x9]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-64]
ldur x9, [x29, #-80]
ldrsw x9, [x9]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_32
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_27 Depth=1
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_27 Depth=1
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31:
stur wzr, [x29, #-20]
b LBB0_115
LBB0_32: ; in Loop: Header=BB0_27 Depth=1
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_27 Depth=1
ldur x9, [x29, #-80]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_27
LBB0_34:
b LBB0_35
LBB0_35:
ldur x8, [x29, #-80]
str wzr, [x8]
ldur w8, [x29, #-208]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_75
b LBB0_36
LBB0_36:
mov w8, #1
stur w8, [x29, #-192]
b LBB0_37
LBB0_37: ; =>This Loop Header: Depth=1
; Child Loop BB0_60 Depth 2
; Child Loop BB0_68 Depth 2
; Child Loop BB0_51 Depth 2
ldur w8, [x29, #-192]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
b LBB0_74
LBB0_39: ; in Loop: Header=BB0_37 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_43
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d1, [x8, x9]
fmov d0, #1.00000000
fdiv d0, d0, d1
stur d0, [x29, #-112]
ldur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
movi d0, #0000000000000000
str d0, [x8, #8]
ldur w8, [x29, #-192]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
subs w8, w8, #1
sub x0, x29, #92
str x0, [sp, #496] ; 8-byte Folded Spill
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-72]
add x3, x8, #16
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
str x4, [sp, #504] ; 8-byte Folded Spill
mov x2, x4
bl _zcopy_
ldr x1, [sp, #496] ; 8-byte Folded Reload
ldr x6, [sp, #504] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-92]
sub x2, x29, #128
fmov d0, #-1.00000000
stur d0, [x29, #-128]
movi d0, #0000000000000000
stur d0, [x29, #-120]
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-88]
add x3, x8, x9, lsl #4
ldur x4, [x29, #-56]
ldur x8, [x29, #-72]
add x5, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x8, x8, w9, sxtw #4
mov x9, sp
str x8, [x9]
mov x8, x6
str x8, [x9, #8]
adrp x7, _c_b2@PAGE
add x7, x7, _c_b2@PAGEOFF
bl _zhemv_
ldr x5, [sp, #504] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur w8, [x29, #-192]
subs w8, w8, #1
sub x1, x29, #100
stur w8, [x29, #-100]
ldur x8, [x29, #-72]
add x2, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x4, x8, w9, sxtw #4
sub x0, x29, #144
mov x3, x5
bl _zdotc_
ldur d0, [x29, #-144]
stur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-112]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_37 Depth=1
mov w8, #1
stur w8, [x29, #-204]
b LBB0_46
LBB0_43: ; in Loop: Header=BB0_37 Depth=1
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-192]
add w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
stur d0, [x29, #-248]
stur d1, [x29, #-240]
ldur d0, [x29, #-248]
ldur d1, [x29, #-240]
bl _cabs
stur d0, [x29, #-200]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-216]
ldur w8, [x29, #-192]
add w8, w8, #1
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-232]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
stur d0, [x29, #-176]
ldur d0, [x29, #-120]
stur d0, [x29, #-168]
ldur d0, [x29, #-200]
ldur d1, [x29, #-216]
ldur d2, [x29, #-232]
fmov d3, #-1.00000000
fmadd d1, d1, d2, d3
fmul d0, d0, d1
stur d0, [x29, #-184]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-232]
ldur d1, [x29, #-184]
fdiv d0, d0, d1
stur d0, [x29, #-112]
ldur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
movi d0, #0000000000000000
str d0, [x8, #8]
ldur w8, [x29, #-192]
add w8, w8, #1
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d1, [x29, #-216]
ldur d2, [x29, #-184]
fdiv d1, d1, d2
stur d1, [x29, #-112]
ldur d1, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d1, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-176]
fneg d0, d0
stur d0, [x29, #-144]
ldur d0, [x29, #-168]
fneg d0, d0
stur d0, [x29, #-136]
ldur d0, [x29, #-144]
ldur d1, [x29, #-184]
fdiv d0, d0, d1
stur d0, [x29, #-128]
ldur d0, [x29, #-136]
ldur d1, [x29, #-184]
fdiv d0, d0, d1
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
subs w8, w8, #1
sub x0, x29, #92
str x0, [sp, #448] ; 8-byte Folded Spill
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-72]
add x3, x8, #16
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
str x4, [sp, #480] ; 8-byte Folded Spill
mov x2, x4
bl _zcopy_
ldr x1, [sp, #448] ; 8-byte Folded Reload
ldr x6, [sp, #480] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-92]
sub x2, x29, #128
str x2, [sp, #456] ; 8-byte Folded Spill
fmov d0, #-1.00000000
str d0, [sp, #432] ; 8-byte Folded Spill
stur d0, [x29, #-128]
movi d0, #0000000000000000
str d0, [sp, #440] ; 8-byte Folded Spill
stur d0, [x29, #-120]
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-88]
add x3, x8, x9, lsl #4
ldur x4, [x29, #-56]
ldur x8, [x29, #-72]
add x5, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x8, x8, w9, sxtw #4
mov x9, sp
str x8, [x9]
mov x8, x6
str x8, [x9, #8]
adrp x7, _c_b2@PAGE
add x7, x7, _c_b2@PAGEOFF
str x7, [sp, #464] ; 8-byte Folded Spill
bl _zhemv_
ldr x5, [sp, #480] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur w8, [x29, #-192]
subs w8, w8, #1
sub x1, x29, #100
str x1, [sp, #472] ; 8-byte Folded Spill
stur w8, [x29, #-100]
ldur x8, [x29, #-72]
add x2, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x4, x8, w9, sxtw #4
sub x0, x29, #144
str x0, [sp, #488] ; 8-byte Folded Spill
mov x3, x5
bl _zdotc_
ldr x0, [sp, #488] ; 8-byte Folded Reload
ldr x1, [sp, #472] ; 8-byte Folded Reload
ldr x5, [sp, #480] ; 8-byte Folded Reload
ldur d0, [x29, #-144]
stur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-112]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-100]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x2, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x4, x8, w9, sxtw #4
mov x3, x5
bl _zdotc_
ldr x0, [sp, #448] ; 8-byte Folded Reload
ldr x4, [sp, #480] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-144]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur d1, [x29, #-136]
fsub d0, d0, d1
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-72]
add x3, x8, #16
mov x2, x4
bl _zcopy_
ldr d1, [sp, #432] ; 8-byte Folded Reload
ldr d0, [sp, #440] ; 8-byte Folded Reload
ldr x1, [sp, #448] ; 8-byte Folded Reload
ldr x2, [sp, #456] ; 8-byte Folded Reload
ldr x7, [sp, #464] ; 8-byte Folded Reload
ldr x6, [sp, #480] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-92]
stur d1, [x29, #-128]
stur d0, [x29, #-120]
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-88]
add x3, x8, x9, lsl #4
ldur x4, [x29, #-56]
ldur x8, [x29, #-72]
add x5, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x8, x8, w9, sxtw #4
mov x9, sp
str x8, [x9]
mov x8, x6
str x8, [x9, #8]
bl _zhemv_
ldr x1, [sp, #472] ; 8-byte Folded Reload
ldr x5, [sp, #480] ; 8-byte Folded Reload
ldr x0, [sp, #488] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
add w8, w8, #1
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
add w8, w8, #1
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-100]
ldur x8, [x29, #-72]
add x2, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x4, x8, w9, sxtw #4
mov x3, x5
bl _zdotc_
ldur d0, [x29, #-144]
stur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-112]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_37 Depth=1
mov w8, #2
stur w8, [x29, #-204]
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-204]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_56
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_37 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-220]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_55
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
sub x0, x29, #92
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x3, x8, w9, sxtw #4
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
mov x2, x4
bl _zswap_
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_51
LBB0_51: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-188]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_54
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_51 Depth=2
ldur x8, [x29, #-48]
ldur w9, [x29, #-188]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #392] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #400] ; 8-byte Folded Spill
sub x0, x29, #128
str x0, [sp, #408] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #392] ; 8-byte Folded Reload
ldr d0, [sp, #400] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
stur d0, [x29, #-160]
ldur d0, [x29, #-120]
stur d0, [x29, #-152]
ldur w8, [x29, #-188]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-188]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
ldr x0, [sp, #408] ; 8-byte Folded Reload
str d0, [sp, #416] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #424] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #416] ; 8-byte Folded Reload
ldr d0, [sp, #424] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-188]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_51 Depth=2
ldur w8, [x29, #-188]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_51
LBB0_54: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #376] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #384] ; 8-byte Folded Spill
sub x0, x29, #128
bl __pCd
ldr d1, [sp, #376] ; 8-byte Folded Reload
ldr d0, [sp, #384] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_37 Depth=1
b LBB0_73
LBB0_56: ; in Loop: Header=BB0_37 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w9, [x8, x9, lsl #2]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-220]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_64
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_59
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
sub x0, x29, #92
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x3, x8, w9, sxtw #4
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
mov x2, x4
bl _zswap_
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_60
LBB0_60: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-188]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_63
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_60 Depth=2
ldur x8, [x29, #-48]
ldur w9, [x29, #-188]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #336] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #344] ; 8-byte Folded Spill
sub x0, x29, #128
str x0, [sp, #352] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #336] ; 8-byte Folded Reload
ldr d0, [sp, #344] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
stur d0, [x29, #-160]
ldur d0, [x29, #-120]
stur d0, [x29, #-152]
ldur w8, [x29, #-188]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-188]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
ldr x0, [sp, #352] ; 8-byte Folded Reload
str d0, [sp, #360] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #368] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #360] ; 8-byte Folded Reload
ldr d0, [sp, #368] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-188]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_60 Depth=2
ldur w8, [x29, #-188]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_60
LBB0_63: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #320] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #328] ; 8-byte Folded Spill
sub x0, x29, #128
bl __pCd
ldr d1, [sp, #320] ; 8-byte Folded Reload
ldr d0, [sp, #328] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
add w8, w8, #1
stur w8, [x29, #-192]
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w9, [x8, x9, lsl #2]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-220]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_72
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_67
b LBB0_66
LBB0_66: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
sub x0, x29, #92
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w9, w9, #1
add x3, x8, w9, sxtw #4
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
mov x2, x4
bl _zswap_
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_68
LBB0_68: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-188]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_71
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_68 Depth=2
ldur x8, [x29, #-48]
ldur w9, [x29, #-188]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #280] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #288] ; 8-byte Folded Spill
sub x0, x29, #128
str x0, [sp, #296] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #280] ; 8-byte Folded Reload
ldr d0, [sp, #288] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
stur d0, [x29, #-160]
ldur d0, [x29, #-120]
stur d0, [x29, #-152]
ldur w8, [x29, #-188]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-188]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
ldr x0, [sp, #296] ; 8-byte Folded Reload
str d0, [sp, #304] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #312] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #304] ; 8-byte Folded Reload
ldr d0, [sp, #312] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-188]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_70
LBB0_70: ; in Loop: Header=BB0_68 Depth=2
ldur w8, [x29, #-188]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_68
LBB0_71: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #264] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #272] ; 8-byte Folded Spill
sub x0, x29, #128
bl __pCd
ldr d1, [sp, #264] ; 8-byte Folded Reload
ldr d0, [sp, #272] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_37 Depth=1
b LBB0_73
LBB0_73: ; in Loop: Header=BB0_37 Depth=1
ldur w8, [x29, #-192]
add w8, w8, #1
stur w8, [x29, #-192]
b LBB0_37
LBB0_74:
b LBB0_114
LBB0_75:
ldur x8, [x29, #-40]
ldr w8, [x8]
stur w8, [x29, #-192]
b LBB0_76
LBB0_76: ; =>This Loop Header: Depth=1
; Child Loop BB0_99 Depth 2
; Child Loop BB0_107 Depth 2
; Child Loop BB0_90 Depth 2
ldur w8, [x29, #-192]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_78
b LBB0_77
LBB0_77:
b LBB0_113
LBB0_78: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_82
b LBB0_79
LBB0_79: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d1, [x8, x9]
fmov d0, #1.00000000
fdiv d0, d0, d1
stur d0, [x29, #-112]
ldur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
movi d0, #0000000000000000
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_81
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
sub x0, x29, #92
str x0, [sp, #248] ; 8-byte Folded Spill
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-72]
add x3, x8, #16
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
str x4, [sp, #256] ; 8-byte Folded Spill
mov x2, x4
bl _zcopy_
ldr x1, [sp, #248] ; 8-byte Folded Reload
ldr x6, [sp, #256] ; 8-byte Folded Reload
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
stur w8, [x29, #-92]
sub x2, x29, #128
fmov d0, #-1.00000000
stur d0, [x29, #-128]
movi d0, #0000000000000000
stur d0, [x29, #-120]
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
add w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x3, x8, w9, sxtw #4
ldur x4, [x29, #-56]
ldur x8, [x29, #-72]
add x5, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x8, x8, w9, sxtw #4
mov x9, sp
str x8, [x9]
mov x8, x6
str x8, [x9, #8]
adrp x7, _c_b2@PAGE
add x7, x7, _c_b2@PAGEOFF
bl _zhemv_
ldr x5, [sp, #256] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
sub x1, x29, #100
stur w8, [x29, #-100]
ldur x8, [x29, #-72]
add x2, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x4, x8, w9, sxtw #4
sub x0, x29, #144
mov x3, x5
bl _zdotc_
ldur d0, [x29, #-144]
stur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-112]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_81
LBB0_81: ; in Loop: Header=BB0_76 Depth=1
mov w8, #1
stur w8, [x29, #-204]
b LBB0_85
LBB0_82: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
ldur w10, [x29, #-192]
subs w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #520]
str d1, [sp, #528]
ldr d0, [sp, #520]
ldr d1, [sp, #528]
bl _cabs
stur d0, [x29, #-200]
ldur w8, [x29, #-192]
subs w8, w8, #1
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-216]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-232]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur d1, [x29, #-200]
fdiv d0, d0, d1
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
stur d0, [x29, #-176]
ldur d0, [x29, #-120]
stur d0, [x29, #-168]
ldur d0, [x29, #-200]
ldur d1, [x29, #-216]
ldur d2, [x29, #-232]
fmov d3, #-1.00000000
fmadd d1, d1, d2, d3
fmul d0, d0, d1
stur d0, [x29, #-184]
ldur w8, [x29, #-192]
subs w8, w8, #1
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-232]
ldur d1, [x29, #-184]
fdiv d0, d0, d1
stur d0, [x29, #-112]
ldur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
movi d0, #0000000000000000
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d1, [x29, #-216]
ldur d2, [x29, #-184]
fdiv d1, d1, d2
stur d1, [x29, #-112]
ldur d1, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d1, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-176]
fneg d0, d0
stur d0, [x29, #-144]
ldur d0, [x29, #-168]
fneg d0, d0
stur d0, [x29, #-136]
ldur d0, [x29, #-144]
ldur d1, [x29, #-184]
fdiv d0, d0, d1
stur d0, [x29, #-128]
ldur d0, [x29, #-136]
ldur d1, [x29, #-184]
fdiv d0, d0, d1
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_84
b LBB0_83
LBB0_83: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
sub x0, x29, #92
str x0, [sp, #200] ; 8-byte Folded Spill
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-72]
add x3, x8, #16
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
str x4, [sp, #232] ; 8-byte Folded Spill
mov x2, x4
bl _zcopy_
ldr x1, [sp, #200] ; 8-byte Folded Reload
ldr x6, [sp, #232] ; 8-byte Folded Reload
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
stur w8, [x29, #-92]
sub x2, x29, #128
str x2, [sp, #208] ; 8-byte Folded Spill
fmov d0, #-1.00000000
str d0, [sp, #184] ; 8-byte Folded Spill
stur d0, [x29, #-128]
movi d0, #0000000000000000
str d0, [sp, #192] ; 8-byte Folded Spill
stur d0, [x29, #-120]
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
add w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x3, x8, w9, sxtw #4
ldur x4, [x29, #-56]
ldur x8, [x29, #-72]
add x5, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x8, x8, w9, sxtw #4
mov x9, sp
str x8, [x9]
mov x8, x6
str x8, [x9, #8]
adrp x7, _c_b2@PAGE
add x7, x7, _c_b2@PAGEOFF
str x7, [sp, #216] ; 8-byte Folded Spill
bl _zhemv_
ldr x5, [sp, #232] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
sub x1, x29, #100
str x1, [sp, #224] ; 8-byte Folded Spill
stur w8, [x29, #-100]
ldur x8, [x29, #-72]
add x2, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x4, x8, w9, sxtw #4
sub x0, x29, #144
str x0, [sp, #240] ; 8-byte Folded Spill
mov x3, x5
bl _zdotc_
ldr x0, [sp, #240] ; 8-byte Folded Reload
ldr x1, [sp, #224] ; 8-byte Folded Reload
ldr x5, [sp, #232] ; 8-byte Folded Reload
ldur d0, [x29, #-144]
stur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-112]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
stur w8, [x29, #-100]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x2, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
subs w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x4, x8, w9, sxtw #4
mov x3, x5
bl _zdotc_
ldr x0, [sp, #200] ; 8-byte Folded Reload
ldr x4, [sp, #232] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-144]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur d1, [x29, #-136]
fsub d0, d0, d1
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
subs w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-72]
add x3, x8, #16
mov x2, x4
bl _zcopy_
ldr d1, [sp, #184] ; 8-byte Folded Reload
ldr d0, [sp, #192] ; 8-byte Folded Reload
ldr x1, [sp, #200] ; 8-byte Folded Reload
ldr x2, [sp, #208] ; 8-byte Folded Reload
ldr x7, [sp, #216] ; 8-byte Folded Reload
ldr x6, [sp, #232] ; 8-byte Folded Reload
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
stur w8, [x29, #-92]
stur d1, [x29, #-128]
stur d0, [x29, #-120]
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
add w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x3, x8, w9, sxtw #4
ldur x4, [x29, #-56]
ldur x8, [x29, #-72]
add x5, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
subs w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x8, x8, w9, sxtw #4
mov x9, sp
str x8, [x9]
mov x8, x6
str x8, [x9, #8]
bl _zhemv_
ldr x1, [sp, #224] ; 8-byte Folded Reload
ldr x5, [sp, #232] ; 8-byte Folded Reload
ldr x0, [sp, #240] ; 8-byte Folded Reload
ldur w8, [x29, #-192]
subs w8, w8, #1
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
subs w8, w8, #1
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-192]
subs w8, w8, w9
stur w8, [x29, #-100]
ldur x8, [x29, #-72]
add x2, x8, #16
ldur x8, [x29, #-48]
ldur w9, [x29, #-192]
add w9, w9, #1
ldur w10, [x29, #-192]
subs w10, w10, #1
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x4, x8, w9, sxtw #4
mov x3, x5
bl _zdotc_
ldur d0, [x29, #-144]
stur d0, [x29, #-112]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur d1, [x29, #-112]
fsub d0, d0, d1
stur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-120]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_84
LBB0_84: ; in Loop: Header=BB0_76 Depth=1
mov w8, #2
stur w8, [x29, #-204]
b LBB0_85
LBB0_85: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-204]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_95
b LBB0_86
LBB0_86: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-220]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_94
b LBB0_87
LBB0_87: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_89
b LBB0_88
LBB0_88: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-220]
subs w8, w8, w9
sub x0, x29, #92
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
add w9, w9, #1
ldur w10, [x29, #-220]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x3, x8, w9, sxtw #4
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
mov x2, x4
bl _zswap_
b LBB0_89
LBB0_89: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_90
LBB0_90: ; Parent Loop BB0_76 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-188]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_93
b LBB0_91
LBB0_91: ; in Loop: Header=BB0_90 Depth=2
ldur x8, [x29, #-48]
ldur w9, [x29, #-188]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #144] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #152] ; 8-byte Folded Spill
sub x0, x29, #128
str x0, [sp, #160] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #144] ; 8-byte Folded Reload
ldr d0, [sp, #152] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
stur d0, [x29, #-160]
ldur d0, [x29, #-120]
stur d0, [x29, #-152]
ldur w8, [x29, #-188]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-188]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
ldr x0, [sp, #160] ; 8-byte Folded Reload
str d0, [sp, #168] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #176] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #168] ; 8-byte Folded Reload
ldr d0, [sp, #176] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-188]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_92
LBB0_92: ; in Loop: Header=BB0_90 Depth=2
ldur w8, [x29, #-188]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_90
LBB0_93: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #128] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #136] ; 8-byte Folded Spill
sub x0, x29, #128
bl __pCd
ldr d1, [sp, #128] ; 8-byte Folded Reload
ldr d0, [sp, #136] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_94
LBB0_94: ; in Loop: Header=BB0_76 Depth=1
b LBB0_112
LBB0_95: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w9, [x8, x9, lsl #2]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-220]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_103
b LBB0_96
LBB0_96: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_98
b LBB0_97
LBB0_97: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-220]
subs w8, w8, w9
sub x0, x29, #92
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
add w9, w9, #1
ldur w10, [x29, #-220]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x3, x8, w9, sxtw #4
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
mov x2, x4
bl _zswap_
b LBB0_98
LBB0_98: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_99
LBB0_99: ; Parent Loop BB0_76 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-188]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_102
b LBB0_100
LBB0_100: ; in Loop: Header=BB0_99 Depth=2
ldur x8, [x29, #-48]
ldur w9, [x29, #-188]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #88] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #96] ; 8-byte Folded Spill
sub x0, x29, #128
str x0, [sp, #104] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #88] ; 8-byte Folded Reload
ldr d0, [sp, #96] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
stur d0, [x29, #-160]
ldur d0, [x29, #-120]
stur d0, [x29, #-152]
ldur w8, [x29, #-188]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-188]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
ldr x0, [sp, #104] ; 8-byte Folded Reload
str d0, [sp, #112] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #120] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #112] ; 8-byte Folded Reload
ldr d0, [sp, #120] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-188]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_101
LBB0_101: ; in Loop: Header=BB0_99 Depth=2
ldur w8, [x29, #-188]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_99
LBB0_102: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #72] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #80] ; 8-byte Folded Spill
sub x0, x29, #128
bl __pCd
ldr d1, [sp, #72] ; 8-byte Folded Reload
ldr d0, [sp, #80] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w9, w9, #1
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_103
LBB0_103: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-192]
ldur x8, [x29, #-64]
ldursw x9, [x29, #-192]
ldr w9, [x8, x9, lsl #2]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-220]
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_111
b LBB0_104
LBB0_104: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_106
b LBB0_105
LBB0_105: ; in Loop: Header=BB0_76 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur w9, [x29, #-220]
subs w8, w8, w9
sub x0, x29, #92
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
add w9, w9, #1
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x1, x8, w9, sxtw #4
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
add w9, w9, #1
ldur w10, [x29, #-220]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x3, x8, w9, sxtw #4
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
mov x2, x4
bl _zswap_
b LBB0_106
LBB0_106: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
subs w8, w8, #1
stur w8, [x29, #-92]
ldur w8, [x29, #-192]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_107
LBB0_107: ; Parent Loop BB0_76 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-188]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_110
b LBB0_108
LBB0_108: ; in Loop: Header=BB0_107 Depth=2
ldur x8, [x29, #-48]
ldur w9, [x29, #-188]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #32] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #40] ; 8-byte Folded Spill
sub x0, x29, #128
str x0, [sp, #48] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #32] ; 8-byte Folded Reload
ldr d0, [sp, #40] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
stur d0, [x29, #-160]
ldur d0, [x29, #-120]
stur d0, [x29, #-152]
ldur w8, [x29, #-188]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-188]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
ldr x0, [sp, #48] ; 8-byte Folded Reload
str d0, [sp, #56] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #64] ; 8-byte Folded Spill
bl __pCd
ldr d1, [sp, #56] ; 8-byte Folded Reload
ldr d0, [sp, #64] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-188]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_109
LBB0_109: ; in Loop: Header=BB0_107 Depth=2
ldur w8, [x29, #-188]
add w8, w8, #1
stur w8, [x29, #-188]
b LBB0_107
LBB0_110: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-220]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldur w9, [x29, #-220]
ldur w10, [x29, #-192]
ldur w11, [x29, #-84]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #16] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #24] ; 8-byte Folded Spill
sub x0, x29, #128
bl __pCd
ldr d1, [sp, #16] ; 8-byte Folded Reload
ldr d0, [sp, #24] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldur d0, [x29, #-128]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-120]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
ldr d0, [x8, x9]
stur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
stur d0, [x29, #-152]
ldur w8, [x29, #-192]
ldur w9, [x29, #-192]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-96]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
lsl x9, x9, #4
ldr d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-96]
add x8, x8, x9, lsl #4
ldr d0, [x8, #8]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
ldur w8, [x29, #-220]
ldur w9, [x29, #-220]
ldur w10, [x29, #-84]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-92]
ldur d0, [x29, #-160]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
lsl x9, x9, #4
str d0, [x8, x9]
ldur d0, [x29, #-152]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_111
LBB0_111: ; in Loop: Header=BB0_76 Depth=1
b LBB0_112
LBB0_112: ; in Loop: Header=BB0_76 Depth=1
ldur w8, [x29, #-192]
subs w8, w8, #1
stur w8, [x29, #-192]
b LBB0_76
LBB0_113:
b LBB0_114
LBB0_114:
stur wzr, [x29, #-20]
b LBB0_115
LBB0_115:
ldur w0, [x29, #-20]
add sp, sp, #768
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 zdotc_
_zdotc_: ; @zdotc_
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
stur x4, [x29, #-40]
stur x5, [x29, #-48]
ldur x8, [x29, #-16]
ldr w8, [x8]
stur w8, [x29, #-52]
ldur x8, [x29, #-32]
ldr w8, [x8]
stur w8, [x29, #-56]
ldur x8, [x29, #-48]
ldr w8, [x8]
stur w8, [x29, #-60]
movi d0, #0000000000000000
stur d0, [x29, #-80]
stur d0, [x29, #-72]
ldur w8, [x29, #-56]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_1
LBB1_1:
ldur w8, [x29, #-60]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_2
LBB1_2:
stur wzr, [x29, #-64]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-64]
ldur w9, [x29, #-52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-64]
add x0, x8, x9, lsl #4
bl _Cd
str d0, [sp, #96] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #80] ; 8-byte Folded Spill
ldur x8, [x29, #-40]
ldursw x9, [x29, #-64]
add x0, x8, x9, lsl #4
bl _Cd
ldr d2, [sp, #80] ; 8-byte Folded Reload
fmov d4, d0
str d4, [sp, #88] ; 8-byte Folded Spill
fmov d5, d1
ldr d1, [sp, #96] ; 8-byte Folded Reload
str d5, [sp, #104] ; 8-byte Folded Spill
fmul d0, d1, d4
fmul d3, d2, d5
fmul d1, d1, d5
fmul d2, d2, d4
fsub d0, d0, d3
str d0, [sp, #112] ; 8-byte Folded Spill
fadd d1, d1, d2
stur d1, [x29, #-104] ; 8-byte Folded Spill
fcmp d0, d0
cset w8, vc
stur d0, [x29, #-96] ; 8-byte Folded Spill
stur d1, [x29, #-88] ; 8-byte Folded Spill
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldur d1, [x29, #-104] ; 8-byte Folded Reload
ldr d0, [sp, #112] ; 8-byte Folded Reload
fcmp d1, d1
cset w8, vc
stur d0, [x29, #-96] ; 8-byte Folded Spill
stur d1, [x29, #-88] ; 8-byte Folded Spill
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
ldr d3, [sp, #104] ; 8-byte Folded Reload
ldr d2, [sp, #88] ; 8-byte Folded Reload
ldr d1, [sp, #80] ; 8-byte Folded Reload
ldr d0, [sp, #96] ; 8-byte Folded Reload
bl ___muldc3
stur d0, [x29, #-96] ; 8-byte Folded Spill
stur d1, [x29, #-88] ; 8-byte Folded Spill
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
ldur d3, [x29, #-96] ; 8-byte Folded Reload
ldur d2, [x29, #-88] ; 8-byte Folded Reload
ldur d1, [x29, #-80]
ldur d0, [x29, #-72]
fadd d1, d1, d3
fadd d0, d0, d2
stur d1, [x29, #-80]
stur d0, [x29, #-72]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB1_3
LBB1_9:
b LBB1_18
LBB1_10:
stur wzr, [x29, #-64]
b LBB1_11
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-64]
ldur w9, [x29, #-52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_17
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_11 Depth=1
ldur x8, [x29, #-24]
ldur w9, [x29, #-64]
ldur w10, [x29, #-56]
mul w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
str d0, [sp, #32] ; 8-byte Folded Spill
fneg d0, d1
str d0, [sp, #16] ; 8-byte Folded Spill
ldur x8, [x29, #-40]
ldur w9, [x29, #-64]
ldur w10, [x29, #-60]
mul w9, w9, w10
add x0, x8, w9, sxtw #4
bl _Cd
ldr d2, [sp, #16] ; 8-byte Folded Reload
fmov d4, d0
str d4, [sp, #24] ; 8-byte Folded Spill
fmov d5, d1
ldr d1, [sp, #32] ; 8-byte Folded Reload
str d5, [sp, #40] ; 8-byte Folded Spill
fmul d0, d1, d4
fmul d3, d2, d5
fmul d1, d1, d5
fmul d2, d2, d4
fsub d0, d0, d3
str d0, [sp, #48] ; 8-byte Folded Spill
fadd d1, d1, d2
str d1, [sp, #56] ; 8-byte Folded Spill
fcmp d0, d0
cset w8, vc
str d0, [sp, #64] ; 8-byte Folded Spill
str d1, [sp, #72] ; 8-byte Folded Spill
tbnz w8, #0, LBB1_15
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_11 Depth=1
ldr d1, [sp, #56] ; 8-byte Folded Reload
ldr d0, [sp, #48] ; 8-byte Folded Reload
fcmp d1, d1
cset w8, vc
str d0, [sp, #64] ; 8-byte Folded Spill
str d1, [sp, #72] ; 8-byte Folded Spill
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_11 Depth=1
ldr d3, [sp, #40] ; 8-byte Folded Reload
ldr d2, [sp, #24] ; 8-byte Folded Reload
ldr d1, [sp, #16] ; 8-byte Folded Reload
ldr d0, [sp, #32] ; 8-byte Folded Reload
bl ___muldc3
str d0, [sp, #64] ; 8-byte Folded Spill
str d1, [sp, #72] ; 8-byte Folded Spill
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_11 Depth=1
ldr d3, [sp, #64] ; 8-byte Folded Reload
ldr d2, [sp, #72] ; 8-byte Folded Reload
ldur d1, [x29, #-80]
ldur d0, [x29, #-72]
fadd d1, d1, d3
fadd d0, d0, d2
stur d1, [x29, #-80]
stur d0, [x29, #-72]
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_11 Depth=1
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB1_11
LBB1_17:
b LBB1_18
LBB1_18:
ldur d0, [x29, #-80]
str d0, [sp] ; 8-byte Folded Spill
ldur d0, [x29, #-72]
str d0, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl __pCd
ldr d1, [sp] ; 8-byte Folded Reload
ldr d0, [sp, #8] ; 8-byte Folded Reload
str d1, [x0]
str d0, [x0, #8]
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
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
.p2align 2 ; -- Begin function _pCd
__pCd: ; @_pCd
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "U"
l_.str.1: ; @.str.1
.asciz "L"
l_.str.2: ; @.str.2
.asciz "ZHETRI_ROOK"
.section __DATA,__data
.p2align 2 ; @c__1
_c__1:
.long 1 ; 0x1
.zerofill __DATA,__bss,_c_b2,16,3 ; @c_b2
.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 zhetri_rook_
LCPI0_0:
.quad 0xbff0000000000000 ## double -1
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _zhetri_rook_
.p2align 4, 0x90
_zhetri_rook_: ## @zhetri_rook_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $576, %rsp ## imm = 0x240
movq 16(%rbp), %rax
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -40(%rbp), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movl -60(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -64(%rbp)
movl -64(%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 $-4, %rax
movq %rax, -48(%rbp)
movq -56(%rbp), %rax
addq $-16, %rax
movq %rax, -56(%rbp)
movq 16(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _lsame_
movl %eax, -184(%rbp)
cmpl $0, -184(%rbp)
jne LBB0_3
## %bb.1:
movq -16(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_3
## %bb.2:
movq 16(%rbp), %rax
movl $-1, (%rax)
jmp LBB0_12
LBB0_3:
movq -24(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_5
## %bb.4:
movq 16(%rbp), %rax
movl $-2, (%rax)
jmp LBB0_11
LBB0_5:
movq -40(%rbp), %rax
movl (%rax), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
movq -24(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_7
## %bb.6:
movl $1, %eax
movl %eax, -248(%rbp) ## 4-byte Spill
jmp LBB0_8
LBB0_7:
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -248(%rbp) ## 4-byte Spill
LBB0_8:
movl -244(%rbp), %eax ## 4-byte Reload
movl -248(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_10
## %bb.9:
movq 16(%rbp), %rax
movl $-4, (%rax)
LBB0_10:
jmp LBB0_11
LBB0_11:
jmp LBB0_12
LBB0_12:
movq 16(%rbp), %rax
cmpl $0, (%rax)
je LBB0_14
## %bb.13:
movq 16(%rbp), %rcx
xorl %eax, %eax
subl (%rcx), %eax
movl %eax, -68(%rbp)
leaq L_.str.2(%rip), %rdi
leaq -68(%rbp), %rsi
movl $11, %edx
callq _xerbla_
movl $0, -4(%rbp)
jmp LBB0_115
LBB0_14:
movq -24(%rbp), %rax
cmpl $0, (%rax)
jne LBB0_16
## %bb.15:
movl $0, -4(%rbp)
jmp LBB0_115
LBB0_16:
cmpl $0, -184(%rbp)
je LBB0_26
## %bb.17:
movq -24(%rbp), %rax
movl (%rax), %ecx
movq 16(%rbp), %rax
movl %ecx, (%rax)
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq 16(%rbp), %rax
cmpl $1, (%rax)
jl LBB0_25
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movq 16(%rbp), %rax
movl (%rax), %eax
movq 16(%rbp), %rcx
movl (%rcx), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -48(%rbp), %rax
movq 16(%rbp), %rcx
movslq (%rcx), %rcx
cmpl $0, (%rax,%rcx,4)
jle LBB0_23
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_23
jp LBB0_23
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_23
jp LBB0_23
## %bb.22:
movl $0, -4(%rbp)
jmp LBB0_115
LBB0_23: ## in Loop: Header=BB0_18 Depth=1
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_18 Depth=1
movq 16(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
jmp LBB0_18
LBB0_25:
jmp LBB0_35
LBB0_26:
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -68(%rbp)
movq 16(%rbp), %rax
movl $1, (%rax)
LBB0_27: ## =>This Inner Loop Header: Depth=1
movq 16(%rbp), %rax
movl (%rax), %eax
cmpl -68(%rbp), %eax
jg LBB0_34
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movq 16(%rbp), %rax
movl (%rax), %eax
movq 16(%rbp), %rcx
movl (%rcx), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -48(%rbp), %rax
movq 16(%rbp), %rcx
movslq (%rcx), %rcx
cmpl $0, (%rax,%rcx,4)
jle LBB0_32
## %bb.29: ## in Loop: Header=BB0_27 Depth=1
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_32
jp LBB0_32
## %bb.30: ## in Loop: Header=BB0_27 Depth=1
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_32
jp LBB0_32
## %bb.31:
movl $0, -4(%rbp)
jmp LBB0_115
LBB0_32: ## in Loop: Header=BB0_27 Depth=1
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_27 Depth=1
movq 16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB0_27
LBB0_34:
jmp LBB0_35
LBB0_35:
movq 16(%rbp), %rax
movl $0, (%rax)
cmpl $0, -184(%rbp)
je LBB0_75
## %bb.36:
movl $1, -168(%rbp)
LBB0_37: ## =>This Loop Header: Depth=1
## Child Loop BB0_51 Depth 2
## Child Loop BB0_60 Depth 2
## Child Loop BB0_68 Depth 2
movl -168(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB0_39
## %bb.38:
jmp LBB0_74
LBB0_39: ## in Loop: Header=BB0_37 Depth=1
movq -48(%rbp), %rax
movslq -168(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jle LBB0_43
## %bb.40: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd (%rax), %xmm0
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
cmpl $1, -168(%rbp)
jle LBB0_42
## %bb.41: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -56(%rbp), %rcx
addq $16, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zcopy_
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -96(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rcx
movslq -64(%rbp), %rax
shlq $4, %rax
addq %rax, %rcx
movq -40(%rbp), %r8
movq -56(%rbp), %r9
addq $16, %r9
movq -32(%rbp), %r10
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r10
leaq -68(%rbp), %rsi
leaq -104(%rbp), %rdx
leaq _c__1(%rip), %rax
leaq _c_b2(%rip), %r11
movq %rax, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zhemv_
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -76(%rbp)
movq -56(%rbp), %rdx
addq $16, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -88(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_42: ## in Loop: Header=BB0_37 Depth=1
movl $1, -180(%rbp)
jmp LBB0_46
LBB0_43: ## in Loop: Header=BB0_37 Depth=1
movq -32(%rbp), %rdi
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -224(%rbp)
movsd %xmm1, -216(%rbp)
movsd -224(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -216(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _cabs
movsd %xmm0, -176(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -192(%rbp)
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -208(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -152(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -144(%rbp)
movsd -176(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -192(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -208(%rbp), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm1
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -160(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -192(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -120(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -112(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movsd -112(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
cmpl $1, -168(%rbp)
jle LBB0_45
## %bb.44: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -56(%rbp), %rcx
addq $16, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zcopy_
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -96(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rcx
movslq -64(%rbp), %rax
shlq $4, %rax
addq %rax, %rcx
movq -40(%rbp), %r8
movq -56(%rbp), %r9
addq $16, %r9
movq -32(%rbp), %r10
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r10
leaq -68(%rbp), %rsi
leaq -104(%rbp), %rdx
leaq _c__1(%rip), %rax
leaq _c_b2(%rip), %r11
movq %rax, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zhemv_
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -76(%rbp)
movq -56(%rbp), %rdx
addq $16, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -88(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -76(%rbp)
movq -32(%rbp), %rdx
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
addl $1, %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -120(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -112(%rbp), %xmm0
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
addl $1, %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -56(%rbp), %rcx
addq $16, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zcopy_
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -96(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rcx
movslq -64(%rbp), %rax
shlq $4, %rax
addq %rax, %rcx
movq -40(%rbp), %r8
movq -56(%rbp), %r9
addq $16, %r9
movq -32(%rbp), %r10
movl -168(%rbp), %eax
addl $1, %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r10
leaq -68(%rbp), %rsi
leaq -104(%rbp), %rdx
leaq _c__1(%rip), %rax
leaq _c_b2(%rip), %r11
movq %rax, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zhemv_
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -76(%rbp)
movq -56(%rbp), %rdx
addq $16, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
addl $1, %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -88(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_45: ## in Loop: Header=BB0_37 Depth=1
movl $2, -180(%rbp)
LBB0_46: ## in Loop: Header=BB0_37 Depth=1
cmpl $1, -180(%rbp)
jne LBB0_56
## %bb.47: ## in Loop: Header=BB0_37 Depth=1
movq -48(%rbp), %rax
movslq -168(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -196(%rbp)
movl -196(%rbp), %eax
cmpl -168(%rbp), %eax
je LBB0_55
## %bb.48: ## in Loop: Header=BB0_37 Depth=1
cmpl $1, -196(%rbp)
jle LBB0_50
## %bb.49: ## in Loop: Header=BB0_37 Depth=1
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -32(%rbp), %rcx
movl -196(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zswap_
LBB0_50: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
LBB0_51: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
movl -164(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB0_54
## %bb.52: ## in Loop: Header=BB0_51 Depth=2
movq -32(%rbp), %rdi
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -280(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -272(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -280(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -272(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -264(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -256(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -264(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -256(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.53: ## in Loop: Header=BB0_51 Depth=2
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_51
LBB0_54: ## in Loop: Header=BB0_37 Depth=1
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -296(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -288(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -296(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -288(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_55: ## in Loop: Header=BB0_37 Depth=1
jmp LBB0_73
LBB0_56: ## in Loop: Header=BB0_37 Depth=1
movq -48(%rbp), %rcx
movslq -168(%rbp), %rdx
xorl %eax, %eax
subl (%rcx,%rdx,4), %eax
movl %eax, -196(%rbp)
movl -196(%rbp), %eax
cmpl -168(%rbp), %eax
je LBB0_64
## %bb.57: ## in Loop: Header=BB0_37 Depth=1
cmpl $1, -196(%rbp)
jle LBB0_59
## %bb.58: ## in Loop: Header=BB0_37 Depth=1
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -32(%rbp), %rcx
movl -196(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zswap_
LBB0_59: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
LBB0_60: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
movl -164(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB0_63
## %bb.61: ## in Loop: Header=BB0_60 Depth=2
movq -32(%rbp), %rdi
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -328(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -320(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -328(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -320(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -312(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -304(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -312(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -304(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.62: ## in Loop: Header=BB0_60 Depth=2
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_60
LBB0_63: ## in Loop: Header=BB0_37 Depth=1
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -344(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -336(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -344(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -336(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
addl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_64: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -168(%rbp)
movq -48(%rbp), %rcx
movslq -168(%rbp), %rdx
xorl %eax, %eax
subl (%rcx,%rdx,4), %eax
movl %eax, -196(%rbp)
movl -196(%rbp), %eax
cmpl -168(%rbp), %eax
je LBB0_72
## %bb.65: ## in Loop: Header=BB0_37 Depth=1
cmpl $1, -196(%rbp)
jle LBB0_67
## %bb.66: ## in Loop: Header=BB0_37 Depth=1
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -32(%rbp), %rcx
movl -196(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zswap_
LBB0_67: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
LBB0_68: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
movl -164(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB0_71
## %bb.69: ## in Loop: Header=BB0_68 Depth=2
movq -32(%rbp), %rdi
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -376(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -368(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -376(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -368(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -360(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -352(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -360(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -352(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.70: ## in Loop: Header=BB0_68 Depth=2
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_68
LBB0_71: ## in Loop: Header=BB0_37 Depth=1
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -392(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -384(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -392(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -384(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_72: ## in Loop: Header=BB0_37 Depth=1
jmp LBB0_73
LBB0_73: ## in Loop: Header=BB0_37 Depth=1
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -168(%rbp)
jmp LBB0_37
LBB0_74:
jmp LBB0_114
LBB0_75:
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -168(%rbp)
LBB0_76: ## =>This Loop Header: Depth=1
## Child Loop BB0_90 Depth 2
## Child Loop BB0_99 Depth 2
## Child Loop BB0_107 Depth 2
cmpl $1, -168(%rbp)
jge LBB0_78
## %bb.77:
jmp LBB0_113
LBB0_78: ## in Loop: Header=BB0_76 Depth=1
movq -48(%rbp), %rax
movslq -168(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jle LBB0_82
## %bb.79: ## in Loop: Header=BB0_76 Depth=1
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd (%rax), %xmm0
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_81
## %bb.80: ## in Loop: Header=BB0_76 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -56(%rbp), %rcx
addq $16, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zcopy_
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -68(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -96(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rcx
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %edx
addl $1, %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
movq -40(%rbp), %r8
movq -56(%rbp), %r9
addq $16, %r9
movq -32(%rbp), %r10
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %r10
leaq -68(%rbp), %rsi
leaq -104(%rbp), %rdx
leaq _c__1(%rip), %rax
leaq _c_b2(%rip), %r11
movq %rax, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zhemv_
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -76(%rbp)
movq -56(%rbp), %rdx
addq $16, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -88(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_81: ## in Loop: Header=BB0_76 Depth=1
movl $1, -180(%rbp)
jmp LBB0_85
LBB0_82: ## in Loop: Header=BB0_76 Depth=1
movq -32(%rbp), %rdi
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -240(%rbp)
movsd %xmm1, -232(%rbp)
movsd -240(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -232(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _cabs
movsd %xmm0, -176(%rbp)
movl -168(%rbp), %eax
subl $1, %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -192(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -208(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
divsd -176(%rbp), %xmm0
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -152(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -144(%rbp)
movsd -176(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -192(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -208(%rbp), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm1
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -160(%rbp)
movl -168(%rbp), %eax
subl $1, %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -192(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -120(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -112(%rbp)
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movsd -112(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -160(%rbp), %xmm0
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_84
## %bb.83: ## in Loop: Header=BB0_76 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -56(%rbp), %rcx
addq $16, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zcopy_
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -68(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -96(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rcx
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %edx
addl $1, %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
movq -40(%rbp), %r8
movq -56(%rbp), %r9
addq $16, %r9
movq -32(%rbp), %r10
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %r10
leaq -68(%rbp), %rsi
leaq -104(%rbp), %rdx
leaq _c__1(%rip), %rax
leaq _c_b2(%rip), %r11
movq %rax, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zhemv_
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -76(%rbp)
movq -56(%rbp), %rdx
addq $16, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -88(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -76(%rbp)
movq -32(%rbp), %rdx
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -120(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -112(%rbp), %xmm0
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -56(%rbp), %rcx
addq $16, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zcopy_
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -68(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -96(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rcx
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %edx
addl $1, %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
movq -40(%rbp), %r8
movq -56(%rbp), %r9
addq $16, %r9
movq -32(%rbp), %r10
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %edx
subl $1, %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %r10
leaq -68(%rbp), %rsi
leaq -104(%rbp), %rdx
leaq _c__1(%rip), %rax
leaq _c_b2(%rip), %r11
movq %rax, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zhemv_
movl -168(%rbp), %eax
subl $1, %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
subl $1, %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
subl -168(%rbp), %eax
movl %eax, -76(%rbp)
movq -56(%rbp), %rdx
addq $16, %rdx
movq -32(%rbp), %r8
movl -168(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %r8
leaq -120(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c__1(%rip), %r9
movq %r9, %rcx
callq _zdotc_
movsd -120(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
subsd -88(%rbp), %xmm0
movsd %xmm0, -104(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_84: ## in Loop: Header=BB0_76 Depth=1
movl $2, -180(%rbp)
LBB0_85: ## in Loop: Header=BB0_76 Depth=1
cmpl $1, -180(%rbp)
jne LBB0_95
## %bb.86: ## in Loop: Header=BB0_76 Depth=1
movq -48(%rbp), %rax
movslq -168(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -196(%rbp)
movl -196(%rbp), %eax
cmpl -168(%rbp), %eax
je LBB0_94
## %bb.87: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_89
## %bb.88: ## in Loop: Header=BB0_76 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -196(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -32(%rbp), %rcx
movl -196(%rbp), %eax
addl $1, %eax
movl -196(%rbp), %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zswap_
LBB0_89: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
LBB0_90: ## Parent Loop BB0_76 Depth=1
## => This Inner Loop Header: Depth=2
movl -164(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB0_93
## %bb.91: ## in Loop: Header=BB0_90 Depth=2
movq -32(%rbp), %rdi
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -424(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -416(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -424(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -416(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -408(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -400(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -408(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -400(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.92: ## in Loop: Header=BB0_90 Depth=2
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_90
LBB0_93: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -440(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -432(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -440(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -432(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_94: ## in Loop: Header=BB0_76 Depth=1
jmp LBB0_112
LBB0_95: ## in Loop: Header=BB0_76 Depth=1
movq -48(%rbp), %rcx
movslq -168(%rbp), %rdx
xorl %eax, %eax
subl (%rcx,%rdx,4), %eax
movl %eax, -196(%rbp)
movl -196(%rbp), %eax
cmpl -168(%rbp), %eax
je LBB0_103
## %bb.96: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_98
## %bb.97: ## in Loop: Header=BB0_76 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -196(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -32(%rbp), %rcx
movl -196(%rbp), %eax
addl $1, %eax
movl -196(%rbp), %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zswap_
LBB0_98: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
LBB0_99: ## Parent Loop BB0_76 Depth=1
## => This Inner Loop Header: Depth=2
movl -164(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB0_102
## %bb.100: ## in Loop: Header=BB0_99 Depth=2
movq -32(%rbp), %rdi
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -472(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -464(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -472(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -464(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -456(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -448(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -456(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -448(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.101: ## in Loop: Header=BB0_99 Depth=2
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_99
LBB0_102: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -488(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -480(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -488(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -480(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
subl $1, %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_103: ## in Loop: Header=BB0_76 Depth=1
movl -168(%rbp), %eax
addl $-1, %eax
movl %eax, -168(%rbp)
movq -48(%rbp), %rcx
movslq -168(%rbp), %rdx
xorl %eax, %eax
subl (%rcx,%rdx,4), %eax
movl %eax, -196(%rbp)
movl -196(%rbp), %eax
cmpl -168(%rbp), %eax
je LBB0_111
## %bb.104: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_106
## %bb.105: ## in Loop: Header=BB0_76 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rsi
movl -196(%rbp), %eax
addl $1, %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rsi
movq -32(%rbp), %rcx
movl -196(%rbp), %eax
addl $1, %eax
movl -196(%rbp), %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $4, %rax
addq %rax, %rcx
leaq -68(%rbp), %rdi
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _zswap_
LBB0_106: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
LBB0_107: ## Parent Loop BB0_76 Depth=1
## => This Inner Loop Header: Depth=2
movl -164(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB0_110
## %bb.108: ## in Loop: Header=BB0_107 Depth=2
movq -32(%rbp), %rdi
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -520(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -512(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -520(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -512(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -164(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -504(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -496(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -504(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -496(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -164(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.109: ## in Loop: Header=BB0_107 Depth=2
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_107
LBB0_110: ## in Loop: Header=BB0_76 Depth=1
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rdi
movl -196(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -536(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -528(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdi
callq __pCd
movsd -536(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -528(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp)
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp)
movl -168(%rbp), %eax
movl -168(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movslq -72(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
movl -196(%rbp), %eax
movl -196(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
LBB0_111: ## in Loop: Header=BB0_76 Depth=1
jmp LBB0_112
LBB0_112: ## in Loop: Header=BB0_76 Depth=1
movl -168(%rbp), %eax
addl $-1, %eax
movl %eax, -168(%rbp)
jmp LBB0_76
LBB0_113:
jmp LBB0_114
LBB0_114:
movl $0, -4(%rbp)
LBB0_115:
movl -4(%rbp), %eax
addq $576, %rsp ## imm = 0x240
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function zdotc_
_zdotc_: ## @zdotc_
.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
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -80(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -72(%rbp)
cmpl $1, -56(%rbp)
jne LBB1_10
## %bb.1:
cmpl $1, -60(%rbp)
jne LBB1_10
## %bb.2:
movl $0, -64(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB1_9
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -24(%rbp), %rdi
movslq -64(%rbp), %rax
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -128(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -144(%rbp) ## 8-byte Spill
movq -40(%rbp), %rdi
movslq -64(%rbp), %rax
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd -144(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movaps %xmm0, %xmm4
movsd %xmm4, -136(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm5
movsd -128(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd %xmm5, -120(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm0
mulsd %xmm4, %xmm0
movaps %xmm2, %xmm3
mulsd %xmm5, %xmm3
mulsd %xmm5, %xmm1
mulsd %xmm4, %xmm2
subsd %xmm3, %xmm0
movsd %xmm0, -112(%rbp) ## 8-byte Spill
addsd %xmm2, %xmm1
movsd %xmm1, -104(%rbp) ## 8-byte Spill
ucomisd %xmm0, %xmm0
movsd %xmm0, -96(%rbp) ## 8-byte Spill
movsd %xmm1, -88(%rbp) ## 8-byte Spill
jnp LBB1_7
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movsd -104(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -112(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm1
movsd %xmm0, -96(%rbp) ## 8-byte Spill
movsd %xmm1, -88(%rbp) ## 8-byte Spill
jnp LBB1_7
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
movsd -120(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -136(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -144(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -128(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq ___muldc3
movsd %xmm0, -96(%rbp) ## 8-byte Spill
movsd %xmm1, -88(%rbp) ## 8-byte Spill
LBB1_7: ## in Loop: Header=BB1_3 Depth=1
movsd -96(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -88(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -80(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm3, %xmm1
addsd %xmm2, %xmm0
movsd %xmm1, -80(%rbp)
movsd %xmm0, -72(%rbp)
## %bb.8: ## in Loop: Header=BB1_3 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB1_3
LBB1_9:
jmp LBB1_18
LBB1_10:
movl $0, -64(%rbp)
LBB1_11: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB1_17
## %bb.12: ## in Loop: Header=BB1_11 Depth=1
movq -24(%rbp), %rdi
movl -64(%rbp), %eax
imull -56(%rbp), %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd %xmm0, -192(%rbp) ## 8-byte Spill
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -208(%rbp) ## 8-byte Spill
movq -40(%rbp), %rdi
movl -64(%rbp), %eax
imull -60(%rbp), %eax
cltq
shlq $4, %rax
addq %rax, %rdi
callq _Cd
movsd -208(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movaps %xmm0, %xmm4
movsd %xmm4, -200(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm5
movsd -192(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd %xmm5, -184(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm0
mulsd %xmm4, %xmm0
movaps %xmm2, %xmm3
mulsd %xmm5, %xmm3
mulsd %xmm5, %xmm1
mulsd %xmm4, %xmm2
subsd %xmm3, %xmm0
movsd %xmm0, -176(%rbp) ## 8-byte Spill
addsd %xmm2, %xmm1
movsd %xmm1, -168(%rbp) ## 8-byte Spill
ucomisd %xmm0, %xmm0
movsd %xmm0, -160(%rbp) ## 8-byte Spill
movsd %xmm1, -152(%rbp) ## 8-byte Spill
jnp LBB1_15
## %bb.13: ## in Loop: Header=BB1_11 Depth=1
movsd -168(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -176(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm1
movsd %xmm0, -160(%rbp) ## 8-byte Spill
movsd %xmm1, -152(%rbp) ## 8-byte Spill
jnp LBB1_15
## %bb.14: ## in Loop: Header=BB1_11 Depth=1
movsd -184(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -200(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -208(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -192(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq ___muldc3
movsd %xmm0, -160(%rbp) ## 8-byte Spill
movsd %xmm1, -152(%rbp) ## 8-byte Spill
LBB1_15: ## in Loop: Header=BB1_11 Depth=1
movsd -160(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -152(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -80(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm3, %xmm1
addsd %xmm2, %xmm0
movsd %xmm1, -80(%rbp)
movsd %xmm0, -72(%rbp)
## %bb.16: ## in Loop: Header=BB1_11 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB1_11
LBB1_17:
jmp LBB1_18
LBB1_18:
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -224(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -216(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq __pCd
movsd -224(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -216(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
addq $224, %rsp
popq %rbp
retq
.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
.p2align 4, 0x90 ## -- Begin function _pCd
__pCd: ## @_pCd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "U"
L_.str.1: ## @.str.1
.asciz "L"
L_.str.2: ## @.str.2
.asciz "ZHETRI_ROOK"
.section __DATA,__data
.p2align 2 ## @c__1
_c__1:
.long 1 ## 0x1
.zerofill __DATA,__bss,_c_b2,16,3 ## @c_b2
.subsections_via_symbols
| the_stack_data/215768410.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
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, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8]
mov x9, #26986
movk x9, #13958, lsl #16
and x8, x8, x9
lsl x8, x8, #7
stur x8, [x29, #-16]
str xzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #24]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_9
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
sub x9, x29, #16
ldur x8, [x29, #-16]
ldr x10, [sp, #8]
ldr x10, [x9, x10, lsl #3]
lsr x10, x10, #1
and x10, x10, #0x7
orr x10, x10, #0x1
lsl x8, x8, x10
ldr x10, [sp, #8]
str x8, [x9, x10, lsl #3]
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-16]
str w8, [sp, #4]
ldur w8, [x29, #-12]
stur w8, [x29, #-16]
ldr w8, [sp, #4]
stur w8, [x29, #-12]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
sub x9, x29, #16
ldur x8, [x29, #-16]
ldur x10, [x29, #-16]
lsr x10, x10, #3
and x10, x10, #0x7
orr x10, x10, #0x1
lsr x8, x8, x10
ldr x10, [sp, #8]
str x8, [x9, x10, lsl #3]
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
lsl x8, x8, #3
sub x9, x29, #16
ldr w8, [x9, x8]
str w8, [sp]
ldr x10, [sp, #8]
mov x8, x9
add x8, x8, x10, lsl #3
ldr w8, [x8, #4]
ldr x10, [sp, #8]
lsl x10, x10, #3
str w8, [x9, x10]
ldr w8, [sp]
ldr x10, [sp, #8]
add x9, x9, x10, lsl #3
str w8, [x9, #4]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB1_1
LBB1_9:
ldur x8, [x29, #-16]
mov x9, #258
movk x9, #8212, lsl #16
orr x8, x8, x9
ldr x9, [sp, #16]
str x8, [x9]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
bl ___stack_chk_fail
LBB1_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-28]
stur w0, [x29, #-32]
str x1, [sp, #40]
bl _megaInit
ldur w8, [x29, #-32]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB2_2:
b LBB2_3
LBB2_3:
str wzr, [sp, #36]
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldr x8, [sp, #40]
ldr w9, [sp, #36]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
mov x1, #0
mov w2, #10
bl _strtoul
str x0, [sp, #24]
ldr x8, [sp, #24]
ldrsw x10, [sp, #36]
sub x9, x29, #16
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB2_4
LBB2_6:
sub x0, x29, #16
sub x1, x29, #24
bl _RandomFunc
ldur x8, [x29, #-24]
mov x9, #16818
movk x9, #64734, lsl #16
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_9
LBB2_8:
b LBB2_9
LBB2_9:
str wzr, [sp, #20]
b LBB2_10
LBB2_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_10 Depth=1
ldrsw x9, [sp, #20]
sub x8, x29, #24
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
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_10
LBB2_12:
ldur w8, [x29, #-28]
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, LBB2_14
b LBB2_13
LBB2_13:
bl ___stack_chk_fail
LBB2_14:
ldr w0, [sp, #16] ; 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 "Call this program with %i arguments\n"
l_.str.1: ; @.str.1
.asciz "You win!\n"
l_.str.2: ; @.str.2
.asciz "%lu\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
andq $914778474, %rax ## imm = 0x3686696A
shlq $7, %rax
movq %rax, -16(%rbp)
movq $0, -40(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movq -24(%rbp), %rcx
cmpq 8(%rcx), %rax
jae LBB1_9
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
cmpq -40(%rbp), %rax
jbe LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movq -40(%rbp), %rcx
movq -16(%rbp,%rcx,8), %rcx
shrq $1, %rcx
andq $7, %rcx
orq $1, %rcx
## kill: def $cl killed $rcx
shlq %cl, %rax
movq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, -16(%rbp,%rax,8)
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -44(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -44(%rbp), %eax
movl %eax, -12(%rbp)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
cmpq -40(%rbp), %rax
jae LBB1_7
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $7, %rcx
orq $1, %rcx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, -16(%rbp,%rax,8)
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movq -40(%rbp), %rax
movl -16(%rbp,%rax,8), %eax
movl %eax, -48(%rbp)
movq -40(%rbp), %rax
movl -12(%rbp,%rax,8), %ecx
movq -40(%rbp), %rax
movl %ecx, -16(%rbp,%rax,8)
movl -48(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, -12(%rbp,%rax,8)
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB1_1
LBB1_9:
movq -16(%rbp), %rcx
orq $538181890, %rcx ## imm = 0x20140102
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_11
## %bb.10:
addq $48, %rsp
popq %rbp
retq
LBB1_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
movl %edi, -32(%rbp)
movq %rsi, -40(%rbp)
callq _megaInit
cmpl $2, -32(%rbp)
je LBB2_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %esi
callq _printf
movl $-1, %edi
callq _exit
LBB2_2:
jmp LBB2_3
LBB2_3:
movl $0, -44(%rbp)
LBB2_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -44(%rbp)
jge LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq -40(%rbp), %rax
movl -44(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $10, %edx
callq _strtoul
movq %rax, -56(%rbp)
movq -56(%rbp), %rcx
movslq -44(%rbp), %rax
movq %rcx, -16(%rbp,%rax,8)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB2_4
LBB2_6:
leaq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _RandomFunc
movl $4242424242, %eax ## imm = 0xFCDE41B2
cmpq %rax, -24(%rbp)
jne LBB2_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_9
LBB2_8:
jmp LBB2_9
LBB2_9:
movl $0, -60(%rbp)
LBB2_10: ## =>This Inner Loop Header: Depth=1
cmpl $1, -60(%rbp)
jge LBB2_12
## %bb.11: ## in Loop: Header=BB2_10 Depth=1
movslq -60(%rbp), %rax
movq -24(%rbp,%rax,8), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB2_10
LBB2_12:
movl -28(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_14
## %bb.13:
movl -64(%rbp), %eax ## 4-byte Reload
addq $64, %rsp
popq %rbp
retq
LBB2_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.1: ## @.str.1
.asciz "You win!\n"
L_.str.2: ## @.str.2
.asciz "%lu\n"
.subsections_via_symbols
| the_stack_data/14073.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_7
LBB0_2:
ldr x0, [sp, #24]
add x1, sp, #20
bl _readTriangle
str x0, [sp, #8]
ldr x0, [sp, #24]
bl _fclose
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_7
LBB0_4:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x0, [sp, #8]
ldr w3, [sp, #20]
mov w2, #0
mov x1, x2
bl _solveTriangle
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
b LBB0_6
LBB0_6:
ldr x0, [sp, #8]
ldr w1, [sp, #20]
bl _freeTriangle
stur wzr, [x29, #-4]
b LBB0_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _readTriangle ; -- Begin function readTriangle
.p2align 2
_readTriangle: ; @readTriangle
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x0, [x29, #-16]
mov x1, #0
mov w2, #2
bl _fseek
ldur x0, [x29, #-16]
bl _ftell
mov x8, x0
stur w8, [x29, #-28]
str wzr, [sp, #32]
mov w8, #3
str w8, [sp, #28]
ldur x8, [x29, #-24]
str wzr, [x8]
ldur w8, [x29, #-28]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_5
b LBB1_1
LBB1_1:
b LBB1_2
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #28]
ldr w8, [sp, #32]
add w8, w8, w9
str w8, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, #3
str w8, [sp, #28]
ldur x9, [x29, #-24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_2
LBB1_4:
b LBB1_5
LBB1_5:
ldur x8, [x29, #-24]
ldrsw x9, [x8]
mov x8, #8
mul x0, x8, x9
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB1_20
LBB1_7:
ldur x0, [x29, #-16]
bl _rewind
strh wzr, [sp, #12]
strb wzr, [sp, #14]
str wzr, [sp, #8]
b LBB1_8
LBB1_8: ; =>This Loop Header: Depth=1
; Child Loop BB1_12 Depth 2
ldr w8, [sp, #8]
ldur x9, [x29, #-24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_19
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #8]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #1
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
str x0, [x8, x9, lsl #3]
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
ldr x0, [sp, #16]
ldr w1, [sp, #8]
bl _freeTriangle
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB1_20
LBB1_11: ; in Loop: Header=BB1_8 Depth=1
str wzr, [sp, #4]
b LBB1_12
LBB1_12: ; Parent Loop BB1_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_17
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_12 Depth=2
ldur x3, [x29, #-16]
add x0, sp, #12
mov x1, #1
mov x2, #2
bl _fread
subs x8, x0, #2
cset w8, eq
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
ldr x0, [sp, #16]
ldr w8, [sp, #8]
add w1, w8, #1
bl _freeTriangle
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB1_20
LBB1_15: ; in Loop: Header=BB1_12 Depth=2
ldur x0, [x29, #-16]
mov x1, #1
mov w2, #1
bl _fseek
add x0, sp, #12
bl _atoi
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
strb w0, [x8, x9]
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_12 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_12
LBB1_17: ; in Loop: Header=BB1_8 Depth=1
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_8
LBB1_19:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB1_20
LBB1_20:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _solveTriangle ; -- Begin function solveTriangle
.p2align 2
_solveTriangle: ; @solveTriangle
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur w2, [x29, #-24]
stur w3, [x29, #-28]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
str w8, [sp, #32]
ldur w8, [x29, #-28]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB2_10
b LBB2_1
LBB2_1:
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w9, w9, #2
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2:
ldur x8, [x29, #-16]
ldur w9, [x29, #-20]
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
ldursw x9, [x29, #-24]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #31]
ldur x8, [x29, #-16]
ldur w9, [x29, #-20]
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
ldur w9, [x29, #-24]
add w9, w9, #1
add x8, x8, w9, sxtw
ldrb w8, [x8]
strb w8, [sp, #30]
ldr w8, [sp, #32]
str w8, [sp, #24] ; 4-byte Folded Spill
ldrsb w8, [sp, #31]
ldrsb w9, [sp, #30]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldrsb w8, [sp, #31]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB2_5
LBB2_4:
ldrsb w8, [sp, #30]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB2_5
LBB2_5:
ldr w8, [sp, #24] ; 4-byte Folded Reload
ldr w9, [sp, #20] ; 4-byte Folded Reload
add w8, w8, w9
stur w8, [x29, #-4]
b LBB2_11
LBB2_6:
ldr w8, [sp, #32]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
add w1, w8, #1
ldur w2, [x29, #-24]
ldur w3, [x29, #-28]
bl _solveTriangle
str w0, [sp, #16] ; 4-byte Folded Spill
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
add w1, w8, #1
ldur w8, [x29, #-24]
add w2, w8, #1
ldur w3, [x29, #-28]
bl _solveTriangle
mov x8, x0
ldr w0, [sp, #16] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, le
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
add w1, w8, #1
ldur w2, [x29, #-24]
ldur w3, [x29, #-28]
bl _solveTriangle
str w0, [sp, #8] ; 4-byte Folded Spill
b LBB2_9
LBB2_8:
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
add w1, w8, #1
ldur w8, [x29, #-24]
add w2, w8, #1
ldur w3, [x29, #-28]
bl _solveTriangle
str w0, [sp, #8] ; 4-byte Folded Spill
b LBB2_9
LBB2_9:
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldr w9, [sp, #8] ; 4-byte Folded Reload
add w8, w8, w9
stur w8, [x29, #-4]
b LBB2_11
LBB2_10:
ldr w8, [sp, #32]
stur w8, [x29, #-4]
b LBB2_11
LBB2_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _freeTriangle ; -- Begin function freeTriangle
.p2align 2
_freeTriangle: ; @freeTriangle
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #4]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB3_1
LBB3_3:
ldr x0, [sp, #8]
bl _free
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 "triangle.txt"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Solution: %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)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_7
LBB0_2:
movq -24(%rbp), %rdi
leaq -28(%rbp), %rsi
callq _readTriangle
movq %rax, -40(%rbp)
movq -24(%rbp), %rdi
callq _fclose
cmpq $0, -40(%rbp)
jne LBB0_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB0_7
LBB0_4:
cmpl $0, -28(%rbp)
jle LBB0_6
## %bb.5:
movq -40(%rbp), %rdi
movl -28(%rbp), %ecx
xorl %edx, %edx
movl %edx, %esi
callq _solveTriangle
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
movq -40(%rbp), %rdi
movl -28(%rbp), %esi
callq _freeTriangle
movl $0, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readTriangle ## -- Begin function readTriangle
.p2align 4, 0x90
_readTriangle: ## @readTriangle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movq -16(%rbp), %rdi
callq _ftell
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
movl $3, -36(%rbp)
movq -24(%rbp), %rax
movl $0, (%rax)
movl -28(%rbp), %eax
cmpl -36(%rbp), %eax
jl LBB1_5
## %bb.1:
jmp LBB1_2
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movl -36(%rbp), %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -36(%rbp), %eax
addl $3, %eax
movl %eax, -36(%rbp)
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB1_2
LBB1_4:
jmp LBB1_5
LBB1_5:
movq -24(%rbp), %rax
movslq (%rax), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB1_7
## %bb.6:
movq $0, -8(%rbp)
jmp LBB1_20
LBB1_7:
movq -16(%rbp), %rdi
callq _rewind
leaq -51(%rbp), %rdi
xorl %esi, %esi
movl $3, %edx
callq _memset
movl $0, -56(%rbp)
LBB1_8: ## =>This Loop Header: Depth=1
## Child Loop BB1_12 Depth 2
movl -56(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB1_19
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, %rdx
movq -48(%rbp), %rax
movslq -56(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -48(%rbp), %rax
movslq -56(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB1_11
## %bb.10:
movq -48(%rbp), %rdi
movl -56(%rbp), %esi
callq _freeTriangle
movq $0, -8(%rbp)
jmp LBB1_20
LBB1_11: ## in Loop: Header=BB1_8 Depth=1
movl $0, -60(%rbp)
LBB1_12: ## Parent Loop BB1_8 Depth=1
## => This Inner Loop Header: Depth=2
movl -60(%rbp), %eax
cmpl -56(%rbp), %eax
jg LBB1_17
## %bb.13: ## in Loop: Header=BB1_12 Depth=2
leaq -51(%rbp), %rdi
movq -16(%rbp), %rcx
movl $1, %esi
movl $2, %edx
callq _fread
cmpq $2, %rax
je LBB1_15
## %bb.14:
movq -48(%rbp), %rdi
movl -56(%rbp), %esi
addl $1, %esi
callq _freeTriangle
movq $0, -8(%rbp)
jmp LBB1_20
LBB1_15: ## in Loop: Header=BB1_12 Depth=2
movq -16(%rbp), %rdi
movl $1, %esi
movl $1, %edx
callq _fseek
leaq -51(%rbp), %rdi
callq _atoi
movb %al, %dl
movq -48(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.16: ## in Loop: Header=BB1_12 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB1_12
LBB1_17: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_18
LBB1_18: ## in Loop: Header=BB1_8 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB1_8
LBB1_19:
movq -48(%rbp), %rax
movq %rax, -8(%rbp)
LBB1_20:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solveTriangle ## -- Begin function solveTriangle
.p2align 4, 0x90
_solveTriangle: ## @solveTriangle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movl %eax, -32(%rbp)
cmpl $1, -28(%rbp)
jle LBB2_10
## %bb.1:
movl -20(%rbp), %eax
movl -28(%rbp), %ecx
subl $2, %ecx
cmpl %ecx, %eax
jne LBB2_6
## %bb.2:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movslq -24(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -33(%rbp)
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %al
movb %al, -34(%rbp)
movl -32(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
movsbl -33(%rbp), %eax
movsbl -34(%rbp), %ecx
cmpl %ecx, %eax
jle LBB2_4
## %bb.3:
movsbl -33(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB2_5
LBB2_4:
movsbl -34(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB2_5:
movl -40(%rbp), %eax ## 4-byte Reload
movl -44(%rbp), %ecx ## 4-byte Reload
addl %ecx, %eax
movl %eax, -4(%rbp)
jmp LBB2_11
LBB2_6:
movl -32(%rbp), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
addl $1, %esi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
callq _solveTriangle
movl %eax, -48(%rbp) ## 4-byte Spill
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
addl $1, %esi
movl -24(%rbp), %edx
addl $1, %edx
movl -28(%rbp), %ecx
callq _solveTriangle
movl %eax, %ecx
movl -48(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jle LBB2_8
## %bb.7:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
addl $1, %esi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
callq _solveTriangle
movl %eax, -56(%rbp) ## 4-byte Spill
jmp LBB2_9
LBB2_8:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
addl $1, %esi
movl -24(%rbp), %edx
addl $1, %edx
movl -28(%rbp), %ecx
callq _solveTriangle
movl %eax, -56(%rbp) ## 4-byte Spill
LBB2_9:
movl -52(%rbp), %eax ## 4-byte Reload
movl -56(%rbp), %ecx ## 4-byte Reload
addl %ecx, %eax
movl %eax, -4(%rbp)
jmp LBB2_11
LBB2_10:
movl -32(%rbp), %eax
movl %eax, -4(%rbp)
LBB2_11:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _freeTriangle ## -- Begin function freeTriangle
.p2align 4, 0x90
_freeTriangle: ## @freeTriangle
.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)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
jl LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _free
jmp LBB3_1
LBB3_3:
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "triangle.txt"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Solution: %d.\n"
.subsections_via_symbols
| the_stack_data/33735.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #2096
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #84]
str w0, [sp, #80]
str x1, [sp, #72]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_9 Depth 2
mov x9, sp
add x8, sp, #68
str x8, [x9]
add x8, sp, #64
str x8, [x9, #8]
add x8, sp, #60
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #40] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #68]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #40] ; 4-byte Folded Reload
tbz w8, #0, LBB0_24
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #88
mov x1, #400
bl _bzero
add x0, sp, #488
mov w1, #-1
mov x2, #1600
bl _memset
str wzr, [sp, #56]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #56]
ldr w9, [sp, #68]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=2
ldrsw x8, [sp, #56]
mov x9, #20
mul x9, x8, x9
add x8, sp, #88
add x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
ldr w8, [sp, #56]
add w8, w8, #1
str w8, [sp, #56]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #52]
ldr w8, [sp, #60]
subs w8, w8, #1
str w8, [sp, #48]
str wzr, [sp, #44]
b LBB0_9
LBB0_9: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #44]
add w9, w8, #1
str w9, [sp, #44]
ldrsw x9, [sp, #52]
mov x10, #80
mul x10, x9, x10
add x9, sp, #488
add x9, x9, x10
ldrsw x10, [sp, #48]
str w8, [x9, x10, lsl #2]
ldrsw x8, [sp, #52]
mov x9, #20
mul x9, x8, x9
add x8, sp, #88
add x8, x8, x9
ldrsw x9, [sp, #48]
ldrsb w8, [x8, x9]
subs w8, w8, #69
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #18
cset w8, hi
tbnz w8, #0, LBB0_15
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
ldr x11, [sp, #32] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_11: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #1
str w8, [sp, #52]
b LBB0_15
LBB0_12: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #48]
subs w8, w8, #1
str w8, [sp, #48]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #52]
ldr w9, [sp, #68]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #48]
ldr w9, [sp, #64]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #44]
; 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_23
LBB0_20: ; in Loop: Header=BB0_9 Depth=2
ldrsw x8, [sp, #52]
mov x9, #80
mul x9, x8, x9
add x8, sp, #488
add x8, x8, x9
ldrsw x9, [sp, #48]
ldr w8, [x8, x9, lsl #2]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
ldrsw x8, [sp, #52]
mov x12, #80
mul x9, x8, x12
add x10, sp, #488
mov x8, x10
add x8, x8, x9
ldrsw x9, [sp, #48]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
ldr w9, [sp, #44]
ldrsw x11, [sp, #52]
mul x11, x11, x12
add x10, x10, x11
ldrsw x11, [sp, #48]
ldr w10, [x10, x11, lsl #2]
subs w10, w9, w10
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_9 Depth=2
b LBB0_9
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_24:
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_26
b LBB0_25
LBB0_25:
bl ___stack_chk_fail
LBB0_26:
mov w0, #0
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
.p2align 2
lJTI0_0:
.long LBB0_13-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_11-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_14-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d%d"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "%d step(s) to exit\n"
l_.str.3: ; @.str.3
.asciz "%d step(s) before a loop of %d step(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 $2080, %rsp ## imm = 0x820
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2020(%rbp)
movl %edi, -2024(%rbp)
movq %rsi, -2032(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_9 Depth 2
leaq L_.str(%rip), %rdi
leaq -2036(%rbp), %rsi
leaq -2040(%rbp), %rdx
leaq -2044(%rbp), %rcx
movb $0, %al
callq _scanf
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -2061(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -2036(%rbp)
setne %al
movb %al, -2061(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -2061(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_23
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq -2016(%rbp), %rdi
xorl %esi, %esi
movl $400, %edx ## imm = 0x190
callq _memset
leaq -1616(%rbp), %rdi
movl $255, %esi
movl $1600, %edx ## imm = 0x640
callq _memset
movl $0, -2048(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -2048(%rbp), %eax
cmpl -2036(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movslq -2048(%rbp), %rax
leaq -2016(%rbp), %rsi
imulq $20, %rax, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movl -2048(%rbp), %eax
addl $1, %eax
movl %eax, -2048(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl $0, -2052(%rbp)
movl -2044(%rbp), %eax
subl $1, %eax
movl %eax, -2056(%rbp)
movl $0, -2060(%rbp)
LBB0_9: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -2060(%rbp), %edx
movl %edx, %eax
incl %eax
movl %eax, -2060(%rbp)
movslq -2052(%rbp), %rax
leaq (%rax,%rax,4), %rax
shlq $4, %rax
leaq -1616(%rbp,%rax), %rax
movslq -2056(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movslq -2052(%rbp), %rax
leaq (%rax,%rax,4), %rax
leaq -2016(%rbp,%rax,4), %rcx
movslq -2056(%rbp), %rax
movsbl (%rax,%rcx), %eax
addl $-69, %eax
movl %eax, %ecx
movq %rcx, -2072(%rbp) ## 8-byte Spill
subl $18, %eax
ja LBB0_14
## %bb.26: ## in Loop: Header=BB0_9 Depth=2
movq -2072(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_10: ## in Loop: Header=BB0_9 Depth=2
movl -2052(%rbp), %eax
addl $-1, %eax
movl %eax, -2052(%rbp)
jmp LBB0_14
LBB0_11: ## in Loop: Header=BB0_9 Depth=2
movl -2052(%rbp), %eax
addl $1, %eax
movl %eax, -2052(%rbp)
jmp LBB0_14
LBB0_12: ## in Loop: Header=BB0_9 Depth=2
movl -2056(%rbp), %eax
addl $1, %eax
movl %eax, -2056(%rbp)
jmp LBB0_14
LBB0_13: ## in Loop: Header=BB0_9 Depth=2
movl -2056(%rbp), %eax
addl $-1, %eax
movl %eax, -2056(%rbp)
LBB0_14: ## in Loop: Header=BB0_9 Depth=2
cmpl $0, -2052(%rbp)
jl LBB0_18
## %bb.15: ## in Loop: Header=BB0_9 Depth=2
movl -2052(%rbp), %eax
cmpl -2036(%rbp), %eax
je LBB0_18
## %bb.16: ## in Loop: Header=BB0_9 Depth=2
cmpl $0, -2056(%rbp)
jl LBB0_18
## %bb.17: ## in Loop: Header=BB0_9 Depth=2
movl -2056(%rbp), %eax
cmpl -2040(%rbp), %eax
jne LBB0_19
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movl -2060(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_22
LBB0_19: ## in Loop: Header=BB0_9 Depth=2
movslq -2052(%rbp), %rcx
leaq -1616(%rbp), %rax
imulq $80, %rcx, %rcx
addq %rcx, %rax
movslq -2056(%rbp), %rcx
cmpl $-1, (%rax,%rcx,4)
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movslq -2052(%rbp), %rcx
leaq -1616(%rbp), %rax
imulq $80, %rcx, %rcx
addq %rcx, %rax
movslq -2056(%rbp), %rcx
movl (%rax,%rcx,4), %esi
movl -2060(%rbp), %edx
movslq -2052(%rbp), %rcx
leaq -1616(%rbp), %rax
imulq $80, %rcx, %rcx
addq %rcx, %rax
movslq -2056(%rbp), %rcx
subl (%rax,%rcx,4), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_9 Depth=2
jmp LBB0_9
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_23:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_25
## %bb.24:
xorl %eax, %eax
addq $2080, %rsp ## imm = 0x820
popq %rbp
retq
LBB0_25:
callq ___stack_chk_fail
ud2
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_12
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_10
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_11
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_13
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d%d"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "%d step(s) to exit\n"
L_.str.3: ## @.str.3
.asciz "%d step(s) before a loop of %d step(s)\n"
.subsections_via_symbols
| the_stack_data/89201238.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 _fork
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 _fork
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/50137853.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getDetails ; -- Begin function getDetails
.p2align 2
_getDetails: ; @getDetails
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
add x8, x8, #4
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
add x8, x8, #56
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
add x8, x8, #60
mov x9, sp
str x8, [x9]
bl _scanf
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, #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
ldr s0, [x0, #60]
scvtf s0, s0
fmov s1, #2.00000000
fmul s0, s0, s1
stur s0, [x29, #-4]
ldr w8, [x0]
; implicit-def: $x11
mov x11, x8
add x10, x0, #4
ldr w8, [x0, #56]
; implicit-def: $x9
mov x9, x8
ldur s0, [x29, #-4]
fcvt d0, s0
mov x8, sp
str x11, [x8]
str x10, [x8, #8]
str x9, [x8, #16]
str d0, [x8, #24]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
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, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #36]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldrsw x8, [sp, #32]
lsl x0, x8, #6
bl _malloc
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #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
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x0, x8, x9, lsl #6
bl _getDetails
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_4:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x1, x8, x9, lsl #6
add x0, sp, #40
str x0, [sp, #8] ; 8-byte Folded Spill
mov x2, #64
bl _memcpy
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _display
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB2_5
LBB2_8:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
bl ___stack_chk_fail
LBB2_10:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the employee details: \n"
l_.str.1: ; @.str.1
.asciz "Enter the name: "
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "Enter the age: "
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "Enter the ID: "
l_.str.6: ; @.str.6
.asciz "Enter the basic pay: "
l_.str.7: ; @.str.7
.asciz "\t%d\t %s\t%d\t %.2f\n"
l_.str.8: ; @.str.8
.asciz "Enter the number of employees you want: "
l_.str.9: ; @.str.9
.asciz "-------------------------------------------------------\n"
l_.str.10: ; @.str.10
.asciz "| Employee ID | Name | Age | Gross Salary |\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getDetails ## -- Begin function getDetails
.p2align 4, 0x90
_getDetails: ## @getDetails
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $4, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $56, %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $60, %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _scanf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function display
LCPI1_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _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
leaq 16(%rbp), %rax
cvtsi2ssl 60(%rax), %xmm0
movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movss %xmm0, -4(%rbp)
movl (%rax), %esi
movq %rax, %rdx
addq $4, %rdx
movl 56(%rax), %ecx
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
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 $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -76(%rbp)
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -80(%rbp), %rsi
movb $0, %al
callq _scanf
movslq -80(%rbp), %rdi
shlq $6, %rdi
callq _malloc
movq %rax, -88(%rbp)
movl $0, -92(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -92(%rbp), %eax
cmpl -80(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -88(%rbp), %rdi
movslq -92(%rbp), %rax
shlq $6, %rax
addq %rax, %rdi
callq _getDetails
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB2_1
LBB2_4:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -96(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
movl -96(%rbp), %eax
cmpl -80(%rbp), %eax
jge LBB2_8
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movq -88(%rbp), %rsi
movslq -96(%rbp), %rax
shlq $6, %rax
addq %rax, %rsi
leaq -72(%rbp), %rdi
movl $64, %edx
callq _memcpy
movups -72(%rbp), %xmm0
movups -56(%rbp), %xmm1
movups -40(%rbp), %xmm2
movups -24(%rbp), %xmm3
movq %rsp, %rax
movups %xmm3, 48(%rax)
movups %xmm2, 32(%rax)
movups %xmm1, 16(%rax)
movups %xmm0, (%rax)
callq _display
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movl -96(%rbp), %eax
addl $1, %eax
movl %eax, -96(%rbp)
jmp LBB2_5
LBB2_8:
leaq L_.str.9(%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_10
## %bb.9:
xorl %eax, %eax
addq $160, %rsp
popq %rbp
retq
LBB2_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the employee details: \n"
L_.str.1: ## @.str.1
.asciz "Enter the name: "
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "Enter the age: "
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "Enter the ID: "
L_.str.6: ## @.str.6
.asciz "Enter the basic pay: "
L_.str.7: ## @.str.7
.asciz "\t%d\t %s\t%d\t %.2f\n"
L_.str.8: ## @.str.8
.asciz "Enter the number of employees you want: "
L_.str.9: ## @.str.9
.asciz "-------------------------------------------------------\n"
L_.str.10: ## @.str.10
.asciz "| Employee ID | Name | Age | Gross Salary |\n"
.subsections_via_symbols
| the_stack_data/115765993.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_palindrome ; -- Begin function is_palindrome
.p2align 2
_is_palindrome: ; @is_palindrome
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
str w8, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
mov w11, #10
mul w8, w8, w11
ldr w9, [sp, #12]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
add w8, w8, w9
str w8, [sp, #4]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
mov w9, #10
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB0_1
LBB0_4:
ldr w8, [sp, #8]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _solve ; -- Begin function solve
.p2align 2
_solve: ; @solve
.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, #1000
stur w8, [x29, #-4]
str wzr, [sp, #8]
mov w8, #100
str w8, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #4]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov w8, #100
str w8, [sp]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #4]
ldr w9, [sp]
mul w0, w8, w9
bl _is_palindrome
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #4]
ldr w9, [sp]
mul w8, w8, w9
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #4]
ldr w9, [sp]
mul w8, w8, w9
str w8, [sp, #8]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=2
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_3
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_11:
ldr w0, [sp, #8]
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 main
lCPI2_0:
.quad 0x412e848000000000 ; double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _clock
stur x0, [x29, #-8]
bl _solve
stur w0, [x29, #-12]
bl _clock
str x0, [sp, #24]
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
subs x8, x8, x9
ucvtf d0, x8
adrp x8, lCPI2_0@PAGE
ldr d1, [x8, lCPI2_0@PAGEOFF]
fdiv d0, d0, d1
str d0, [sp, #16]
ldur w8, [x29, #-12]
; implicit-def: $x9
mov x9, x8
ldr d0, [sp, #16]
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d [in %f seconds]"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_palindrome ## -- Begin function is_palindrome
.p2align 4, 0x90
_is_palindrome: ## @is_palindrome
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
jle LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
imull $10, -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -16(%rbp), %eax ## 4-byte Reload
addl %edx, %eax
movl %eax, -12(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
sete %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solve ## -- Begin function solve
.p2align 4, 0x90
_solve: ## @solve
.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 $1000, -4(%rbp) ## imm = 0x3E8
movl $0, -8(%rbp)
movl $100, -12(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_11
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $100, -16(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_9
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movl -12(%rbp), %edi
imull -16(%rbp), %edi
callq _is_palindrome
cmpl $0, %eax
je LBB1_7
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -12(%rbp), %eax
imull -16(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB1_7
## %bb.6: ## in Loop: Header=BB1_3 Depth=2
movl -12(%rbp), %eax
imull -16(%rbp), %eax
movl %eax, -8(%rbp)
LBB1_7: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_8
LBB1_8: ## in Loop: Header=BB1_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_11:
movl -8(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI2_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI2_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI2_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
callq _clock
movq %rax, -8(%rbp)
callq _solve
movl %eax, -12(%rbp)
callq _clock
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq -8(%rbp), %rcx
subq %rcx, %rax
movq %rax, %xmm0
movaps LCPI2_1(%rip), %xmm1 ## xmm1 = [1127219200,1160773632,0,0]
punpckldq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd LCPI2_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,1.9342813113834067E+25]
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0 ## xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp)
movl -12(%rbp), %esi
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d [in %f seconds]"
.subsections_via_symbols
| the_stack_data/73574160.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CompressData ; -- Begin function CompressData
.p2align 2
_CompressData: ; @CompressData
.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, #944
movk w9, #4, lsl #16
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #64, lsl #12 ; =262144
sub sp, sp, #944
add x8, sp, #64, lsl #12 ; =262144
add x8, x8, #124
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w9, [x29, #16]
adrp x10, ___stack_chk_guard@GOTPAGE
ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
ldr x10, [x10]
stur x10, [x29, #-24]
stur x0, [x8, #36]
stur x1, [x8, #28]
str w2, [x8, #24]
str w3, [x8, #20]
str w4, [x8, #16]
str w5, [x8, #12]
str w6, [x8, #8]
str w7, [x8, #4]
str w9, [x8]
ldur x1, [x8, #36]
add x0, sp, #64, lsl #12 ; =262144
add x0, x0, #88
bl _InitRangeEncoder
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x1, [x8, #28]
ldr w2, [x8, #24]
add x0, sp, #64
bl _InitDictionaryLookup
mov w8, #2048
strh w8, [sp, #62]
str wzr, [sp, #56]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #56]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #56]
add x8, sp, #64, lsl #12 ; =262144
add x8, x8, #680
add x9, x8, x9, lsl #1
mov w8, #2048
strh w8, [x9]
ldrsw x10, [sp, #56]
sub x9, x29, #216
add x9, x9, x10, lsl #1
strh w8, [x9]
ldrsw x10, [sp, #56]
sub x9, x29, #152
add x9, x9, x10, lsl #1
strh w8, [x9]
ldrsw x10, [sp, #56]
sub x9, x29, #88
add x9, x9, x10, lsl #1
strh w8, [x9]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #56]
add w8, w8, #1
str w8, [sp, #56]
b LBB0_1
LBB0_4:
str wzr, [sp, #52]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #52]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #48]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #48]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldrsw x9, [sp, #52]
add x8, sp, #64, lsl #12 ; =262144
add x8, x8, #168
add x8, x8, x9, lsl #5
ldrsw x9, [sp, #48]
add x9, x8, x9, lsl #1
mov w8, #2048
strh w8, [x9]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB0_5
LBB0_12:
str wzr, [sp, #44]
b LBB0_13
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #44]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_22
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldr w1, [sp, #44]
add x0, sp, #64
add x2, sp, #40
add x3, sp, #36
bl _FindDictionaryMatch
tbz w0, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w3, [x8, #20]
add x0, sp, #64, lsl #12 ; =262144
add x0, x0, #88
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #1
add x2, sp, #62
bl _WriteBitAndUpdateWeight
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #40]
mov w10, #2
str w10, [sp, #4] ; 4-byte Folded Spill
sdiv w9, w9, w10
subs w1, w9, #2
ldr w3, [x8, #12]
ldr w5, [x8, #8]
sub x2, x29, #88
sub x4, x29, #152
bl _WriteUniversalCode
ldr w10, [sp, #4] ; 4-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #44]
ldr w11, [sp, #36]
subs w9, w9, w11
sdiv w9, w9, w10
subs w1, w9, #1
ldr w3, [x8, #4]
ldr w5, [x8]
sub x2, x29, #216
add x4, sp, #64, lsl #12 ; =262144
add x4, x4, #680
bl _WriteUniversalCode
ldr w9, [sp, #40]
ldr w8, [sp, #44]
add w8, w8, w9
str w8, [sp, #44]
b LBB0_21
LBB0_16: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w3, [x8, #20]
add x0, sp, #64, lsl #12 ; =262144
add x0, x0, #88
mov w1, #0
add x2, sp, #62
bl _WriteBitAndUpdateWeight
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x8, #28]
ldrsw x9, [sp, #44]
add x0, x8, x9
bl _GetUInt16LE
strh w0, [sp, #34]
mov w8, #15
str w8, [sp, #28]
b LBB0_17
LBB0_17: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrh w9, [sp, #34]
ldr w10, [sp, #28]
asr w9, w9, w10
and w1, w9, #0x1
ldrsw x10, [sp, #28]
add x9, sp, #64, lsl #12 ; =262144
add x9, x9, #168
add x9, x9, x10, lsl #5
ldrh w10, [sp, #34]
ldr w11, [sp, #28]
add w11, w11, #1
asr w10, w10, w11
and w10, w10, #0xf
add x2, x9, w10, sxtw #1
ldr w3, [x8, #16]
add x0, sp, #64, lsl #12 ; =262144
add x0, x0, #88
bl _WriteBitAndUpdateWeight
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_17 Depth=2
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #28]
b LBB0_17
LBB0_20: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #44]
add w8, w8, #2
str w8, [sp, #44]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_13 Depth=1
b LBB0_13
LBB0_22:
add x0, sp, #64, lsl #12 ; =262144
add x0, x0, #88
bl _FinishRangeEncoder
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_24
b LBB0_23
LBB0_23:
bl ___stack_chk_fail
LBB0_24:
add sp, sp, #64, lsl #12 ; =262144
add sp, sp, #944
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 InitRangeEncoder
_InitRangeEncoder: ; @InitRangeEncoder
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
ldr x9, [sp, #8]
mov w8, #-1
str w8, [x9]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x9, [sp, #8]
mov w8, #255
strb w8, [x9, #16]
ldr x8, [sp, #8]
str wzr, [x8, #20]
ldr x8, [sp]
ldr x9, [sp, #8]
str x8, [x9, #24]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function InitDictionaryLookup
_InitDictionaryLookup: ; @InitDictionaryLookup
.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 w2, [x29, #-20]
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
str x8, [x9]
ldur w8, [x29, #-20]
ldur x9, [x29, #-8]
str w8, [x9, #8]
ldur w8, [x29, #-20]
mov w9, #2
str w9, [sp, #4] ; 4-byte Folded Spill
udiv w8, w8, w9
; kill: def $x8 killed $w8
lsl x0, x8, #3
bl _malloc
ldur x8, [x29, #-8]
str x0, [x8, #16]
ldur x8, [x29, #-8]
add x0, x8, #24
mov w1, #255
mov x2, #262144
mov x3, #-1
bl ___memset_chk
ldr w9, [sp, #4] ; 4-byte Folded Reload
ldur w8, [x29, #-20]
udiv w8, w8, w9
subs w8, w8, #2
str w8, [sp, #24]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #24]
lsl w9, w9, #1
add x0, x8, w9, sxtw
bl _GetUInt16LE
strh w0, [sp, #22]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #24]
add x8, x8, x9, lsl #3
str x8, [sp, #8]
ldr w8, [sp, #24]
lsl w8, w8, #1
ldr x9, [sp, #8]
str w8, [x9]
ldur x8, [x29, #-8]
add x8, x8, #24
ldrh w9, [sp, #22]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
str w8, [x9, #4]
ldr w8, [sp, #24]
ldur x9, [x29, #-8]
add x9, x9, #24
ldrh w10, [sp, #22]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function FindDictionaryMatch
_FindDictionaryMatch: ; @FindDictionaryMatch
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur x2, [x29, #-32]
str x3, [sp, #40]
str wzr, [sp, #36]
mov w8, #-1
str w8, [sp, #32]
ldur x8, [x29, #-16]
ldr x8, [x8]
ldursw x9, [x29, #-20]
add x0, x8, x9
bl _GetUInt16LE
strh w0, [sp, #30]
ldur x8, [x29, #-16]
add x8, x8, #24
ldrh w9, [sp, #30]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #24]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_5 Depth 2
ldr w8, [sp, #24]
adds w8, w8, #1
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
lsl x9, x9, #3
ldr w8, [x8, x9]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, lo
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB3_14
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
lsl x9, x9, #3
ldr w8, [x8, x9]
str w8, [sp, #20]
mov w8, #2
str w8, [sp, #16]
b LBB3_5
LBB3_5: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
add w8, w8, #2
ldur x9, [x29, #-16]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, hi
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_9
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=2
ldur w8, [x29, #-20]
ldr w9, [sp, #16]
add w8, w8, w9
add w8, w8, #2
ldur x9, [x29, #-16]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, hi
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_9
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=2
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr w9, [sp, #20]
ldr w10, [sp, #16]
add w9, w9, w10
ldrb w8, [x8, w9, sxtw]
ldur x9, [x29, #-16]
ldr x9, [x9]
ldur w10, [x29, #-20]
ldr w11, [sp, #16]
add w10, w10, w11
ldrb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_5 Depth=2
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr w9, [sp, #20]
ldr w10, [sp, #16]
add w9, w9, w10
add w9, w9, #1
ldrb w8, [x8, w9, sxtw]
ldur x9, [x29, #-16]
ldr x9, [x9]
ldur w10, [x29, #-20]
ldr w11, [sp, #16]
add w10, w10, w11
add w10, w10, #1
ldrb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_5 Depth=2
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB3_11
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_5 Depth=2
ldr w8, [sp, #16]
add w8, w8, #2
str w8, [sp, #16]
b LBB3_5
LBB3_11: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB3_13
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #16]
str w8, [sp, #36]
ldr w8, [sp, #20]
str w8, [sp, #32]
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
str w8, [sp, #24]
b LBB3_1
LBB3_14:
ldr w8, [sp, #36]
subs w8, w8, #4
cset w8, lt
tbnz w8, #0, LBB3_16
b LBB3_15
LBB3_15:
ldr w8, [sp, #36]
ldur x9, [x29, #-32]
str w8, [x9]
ldr w8, [sp, #32]
ldr x9, [sp, #40]
str w8, [x9]
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB3_17
LBB3_16:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB3_17
LBB3_17:
ldurb w8, [x29, #-1]
and w0, w8, #0x1
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function WriteBitAndUpdateWeight
_WriteBitAndUpdateWeight: ; @WriteBitAndUpdateWeight
.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 x2, [sp, #8]
str w3, [sp, #4]
ldur x8, [x29, #-8]
ldr w8, [x8]
lsr w8, w8, #12
ldr x9, [sp, #8]
ldrh w9, [x9]
mul w8, w8, w9
str w8, [sp]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr w8, [sp]
ldur x9, [x29, #-8]
str w8, [x9]
ldr x8, [sp, #8]
ldrh w9, [x8]
mov w8, #4096
subs w8, w8, w9
ldr w9, [sp, #4]
asr w10, w8, w9
ldr x9, [sp, #8]
ldrh w8, [x9]
add w8, w8, w10
strh w8, [x9]
b LBB4_3
LBB4_2:
ldr w10, [sp]
ldur x9, [x29, #-8]
ldr w8, [x9]
subs w8, w8, w10
str w8, [x9]
ldr w8, [sp]
mov x10, x8
ldur x9, [x29, #-8]
ldr x8, [x9, #8]
add x8, x8, x10
str x8, [x9, #8]
ldr x8, [sp, #8]
ldrh w8, [x8]
ldr w9, [sp, #4]
asr w10, w8, w9
ldr x9, [sp, #8]
ldrh w8, [x9]
subs w8, w8, w10
strh w8, [x9]
b LBB4_3
LBB4_3:
b LBB4_4
LBB4_4: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8]
mov w9, #16777216
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_4 Depth=1
ldur x9, [x29, #-8]
ldr w8, [x9]
lsl w8, w8, #8
str w8, [x9]
ldur x0, [x29, #-8]
bl _ShiftOutputFromRangeEncoder
b LBB4_4
LBB4_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function WriteUniversalCode
_WriteUniversalCode: ; @WriteUniversalCode
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
str x4, [sp, #24]
str w5, [sp, #20]
mov w8, #31
str w8, [sp, #16]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
lsr w8, w8, w9
ands w8, w8, #0x1
cset w8, eq
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB5_5
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB5_1
LBB5_5:
str wzr, [sp, #12]
b LBB5_6
LBB5_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB5_9
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_6 Depth=1
ldur x0, [x29, #-8]
ldur x8, [x29, #-24]
ldrsw x9, [sp, #12]
add x2, x8, x9, lsl #1
ldur w3, [x29, #-28]
mov w1, #1
bl _WriteBitAndUpdateWeight
b LBB5_8
LBB5_8: ; in Loop: Header=BB5_6 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_6
LBB5_9:
ldur x0, [x29, #-8]
ldur x8, [x29, #-24]
ldr w9, [sp, #16]
add w9, w9, #1
add x2, x8, w9, sxtw #1
ldur w3, [x29, #-28]
mov w1, #0
bl _WriteBitAndUpdateWeight
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #8]
b LBB5_10
LBB5_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB5_13
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_10 Depth=1
ldur x0, [x29, #-8]
ldur w8, [x29, #-12]
ldr w9, [sp, #8]
lsr w8, w8, w9
and w1, w8, #0x1
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
add x2, x8, x9, lsl #1
ldr w3, [sp, #20]
bl _WriteBitAndUpdateWeight
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_10 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
b LBB5_10
LBB5_13:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function GetUInt16LE
_GetUInt16LE: ; @GetUInt16LE
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldrb w8, [x8]
ldr x9, [sp, #8]
ldrb w9, [x9, #1]
add w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function FinishRangeEncoder
_FinishRangeEncoder: ; @FinishRangeEncoder
.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 LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #8]
bl _ShiftOutputFromRangeEncoder
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB7_1
LBB7_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _AllocAndReadFile ; -- Begin function AllocAndReadFile
.p2align 2
_AllocAndReadFile: ; @AllocAndReadFile
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
mov w8, #4096
stur w8, [x29, #-20]
mov x0, #4096
bl _malloc
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
add x0, x8, x9
ldur x3, [x29, #-8]
mov x1, #1
mov x2, #4096
bl _fread
mov x8, x0
str w8, [sp, #8]
ldr w9, [sp, #8]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #8]
subs w8, w8, #1, lsl #12 ; =4096
cset w8, hs
tbnz w8, #0, LBB8_3
b LBB8_2
LBB8_2:
b LBB8_4
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldr x0, [sp, #16]
ldr w8, [sp, #12]
add w8, w8, #1, lsl #12 ; =4096
mov x1, x8
bl _realloc
str x0, [sp, #16]
b LBB8_1
LBB8_4:
ldr w8, [sp, #12]
ldur x9, [x29, #-16]
str w8, [x9]
ldr x0, [sp, #16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB9_3
b LBB9_1
LBB9_1:
ldur w8, [x29, #-8]
subs w8, w8, #7
cset w8, eq
tbnz w8, #0, LBB9_3
b LBB9_2
LBB9_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@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB9_3:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
sub x1, x29, #20
bl _AllocAndReadFile
stur x0, [x29, #-32]
mov w8, #4
stur w8, [x29, #-36]
mov w9, #2
str w9, [sp, #40]
str w8, [sp, #36]
str w8, [sp, #32]
str w8, [sp, #28]
str w8, [sp, #24]
ldur w8, [x29, #-8]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _atoi
stur w0, [x29, #-36]
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _atoi
str w0, [sp, #40]
ldur x8, [x29, #-16]
ldr x0, [x8, #24]
bl _atoi
str w0, [sp, #36]
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
bl _atoi
str w0, [sp, #32]
ldur x8, [x29, #-16]
ldr x0, [x8, #40]
bl _atoi
str w0, [sp, #28]
ldur x8, [x29, #-16]
ldr x0, [x8, #48]
bl _atoi
str w0, [sp, #24]
b LBB9_5
LBB9_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldurb w0, [x29, #-20]
ldr x1, [x8]
bl _fputc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
lsr w9, w9, #8
and w0, w9, #0xff
ldr x1, [x8]
bl _fputc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
lsr w9, w9, #16
and w0, w9, #0xff
ldr x1, [x8]
bl _fputc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
lsr w9, w9, #24
and w0, w9, #0xff
ldr x1, [x8]
bl _fputc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w10, [sp, #28]
ldr w9, [sp, #24]
orr w0, w9, w10, lsl #4
ldr x1, [x8]
bl _fputc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w10, [sp, #36]
ldr w9, [sp, #32]
orr w0, w9, w10, lsl #4
ldr x1, [x8]
bl _fputc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w10, [x29, #-36]
ldr w9, [sp, #40]
orr w0, w9, w10, lsl #4
ldr x1, [x8]
bl _fputc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x1, [x29, #-32]
ldur w2, [x29, #-20]
ldur w3, [x29, #-36]
ldr w4, [sp, #40]
ldr w5, [sp, #36]
ldr w6, [sp, #32]
ldr w7, [sp, #28]
ldr w8, [sp, #24]
mov x9, sp
str w8, [x9]
bl _CompressData
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function ShiftOutputFromRangeEncoder
_ShiftOutputFromRangeEncoder: ; @ShiftOutputFromRangeEncoder
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #8]
; kill: def $x8 killed $w8
mov x9, #4278190080
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
lsr x8, x8, #32
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_7
b LBB10_2
LBB10_2:
ldr x8, [sp, #8]
ldrb w8, [x8, #16]
strb w8, [sp, #7]
str wzr, [sp]
b LBB10_3
LBB10_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr x9, [sp, #8]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB10_6
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_3 Depth=1
ldrb w8, [sp, #7]
; kill: def $x8 killed $w8
ldr x9, [sp, #8]
ldr x9, [x9, #8]
add x8, x8, x9, lsr #32
and x8, x8, #0xff
mov x0, x8
ldr x8, [sp, #8]
ldr x1, [x8, #24]
bl _fputc
mov w8, #255
strb w8, [sp, #7]
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_3 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB10_3
LBB10_6:
ldr x8, [sp, #8]
str wzr, [x8, #20]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
lsr x8, x8, #24
and x8, x8, #0xff
ldr x9, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, #16]
b LBB10_7
LBB10_7:
ldr x9, [sp, #8]
ldr w8, [x9, #20]
add w8, w8, #1
str w8, [x9, #20]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
lsl x8, x8, #8
and x8, x8, #0xffffffff
ldr x9, [sp, #8]
str x8, [x9, #8]
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 "Usage: %s <inputfile >outputfile [typeshift literalshift lengthshift1 lengthshift2 offsetshift1 offsetshift2]\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CompressData ## -- Begin function CompressData
.p2align 4, 0x90
_CompressData: ## @CompressData
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $263056, %eax ## imm = 0x40390
callq ____chkstk_darwin
subq %rax, %rsp
movl 32(%rbp), %eax
movl 24(%rbp), %eax
movl 16(%rbp), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -792(%rbp)
movq %rsi, -800(%rbp)
movl %edx, -804(%rbp)
movl %ecx, -808(%rbp)
movl %r8d, -812(%rbp)
movl %r9d, -816(%rbp)
movq -792(%rbp), %rsi
leaq -848(%rbp), %rdi
callq _InitRangeEncoder
movq -800(%rbp), %rsi
movl -804(%rbp), %edx
leaq -263016(%rbp), %rdi
callq _InitDictionaryLookup
movw $2048, -263018(%rbp) ## imm = 0x800
movl $0, -263024(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $32, -263024(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -263024(%rbp), %rax
movw $2048, -272(%rbp,%rax,2) ## imm = 0x800
movslq -263024(%rbp), %rax
movw $2048, -208(%rbp,%rax,2) ## imm = 0x800
movslq -263024(%rbp), %rax
movw $2048, -144(%rbp,%rax,2) ## imm = 0x800
movslq -263024(%rbp), %rax
movw $2048, -80(%rbp,%rax,2) ## imm = 0x800
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -263024(%rbp), %eax
addl $1, %eax
movl %eax, -263024(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -263028(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
cmpl $16, -263028(%rbp)
jge LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl $0, -263032(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $16, -263032(%rbp)
jge LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movslq -263028(%rbp), %rcx
leaq -784(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movslq -263032(%rbp), %rcx
movw $2048, (%rax,%rcx,2) ## imm = 0x800
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -263032(%rbp), %eax
addl $1, %eax
movl %eax, -263032(%rbp)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl -263028(%rbp), %eax
addl $1, %eax
movl %eax, -263028(%rbp)
jmp LBB0_5
LBB0_12:
movl $0, -263036(%rbp)
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movl -263036(%rbp), %eax
cmpl -804(%rbp), %eax
jae LBB0_22
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movl -263036(%rbp), %esi
leaq -263016(%rbp), %rdi
leaq -263040(%rbp), %rdx
leaq -263044(%rbp), %rcx
callq _FindDictionaryMatch
testb $1, %al
jne LBB0_15
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_13 Depth=1
movl -808(%rbp), %ecx
leaq -848(%rbp), %rdi
movl $1, %esi
leaq -263018(%rbp), %rdx
callq _WriteBitAndUpdateWeight
movl -263040(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %esi
subl $2, %esi
leaq -80(%rbp), %rdx
movl -816(%rbp), %ecx
leaq -144(%rbp), %r8
movl 16(%rbp), %r9d
leaq -848(%rbp), %rdi
callq _WriteUniversalCode
movl -263036(%rbp), %eax
subl -263044(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %esi
subl $1, %esi
leaq -208(%rbp), %rdx
movl 24(%rbp), %ecx
leaq -272(%rbp), %r8
movl 32(%rbp), %r9d
leaq -848(%rbp), %rdi
callq _WriteUniversalCode
movl -263040(%rbp), %eax
addl -263036(%rbp), %eax
movl %eax, -263036(%rbp)
jmp LBB0_21
LBB0_16: ## in Loop: Header=BB0_13 Depth=1
movl -808(%rbp), %ecx
leaq -848(%rbp), %rdi
xorl %esi, %esi
leaq -263018(%rbp), %rdx
callq _WriteBitAndUpdateWeight
movq -800(%rbp), %rdi
movslq -263036(%rbp), %rax
addq %rax, %rdi
callq _GetUInt16LE
movw %ax, -263046(%rbp)
movl $15, -263052(%rbp)
LBB0_17: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -263052(%rbp)
jl LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
movzwl -263046(%rbp), %esi
movl -263052(%rbp), %ecx
## kill: def $cl killed $ecx
sarl %cl, %esi
andl $1, %esi
movslq -263052(%rbp), %rax
leaq -784(%rbp), %rdx
shlq $5, %rax
addq %rax, %rdx
movzwl -263046(%rbp), %eax
movl -263052(%rbp), %ecx
addl $1, %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
andl $15, %eax
cltq
shlq $1, %rax
addq %rax, %rdx
movl -812(%rbp), %ecx
leaq -848(%rbp), %rdi
callq _WriteBitAndUpdateWeight
## %bb.19: ## in Loop: Header=BB0_17 Depth=2
movl -263052(%rbp), %eax
addl $-1, %eax
movl %eax, -263052(%rbp)
jmp LBB0_17
LBB0_20: ## in Loop: Header=BB0_13 Depth=1
movl -263036(%rbp), %eax
addl $2, %eax
movl %eax, -263036(%rbp)
LBB0_21: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_13
LBB0_22:
leaq -848(%rbp), %rdi
callq _FinishRangeEncoder
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_24
## %bb.23:
addq $263056, %rsp ## imm = 0x40390
popq %rbp
retq
LBB0_24:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function InitRangeEncoder
_InitRangeEncoder: ## @InitRangeEncoder
.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
movl $-1, (%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movb $-1, 16(%rax)
movq -8(%rbp), %rax
movl $0, 20(%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 24(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function InitDictionaryLookup
_InitDictionaryLookup: ## @InitDictionaryLookup
.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 %edx, -20(%rbp)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movl -20(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 8(%rax)
movl -20(%rbp), %eax
shrl $1, %eax
movl %eax, %eax
movl %eax, %edi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rdi
addq $24, %rdi
movl $255, %esi
movl $262144, %edx ## imm = 0x40000
movq $-1, %rcx
callq ___memset_chk
movl -20(%rbp), %eax
shrl $1, %eax
subl $2, %eax
movl %eax, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -24(%rbp)
jl LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rdi
movl -24(%rbp), %eax
shll $1, %eax
cltq
addq %rax, %rdi
callq _GetUInt16LE
movw %ax, -26(%rbp)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -24(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movl -24(%rbp), %ecx
shll $1, %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rax
movzwl -26(%rbp), %ecx
## kill: def $rcx killed $ecx
movl 24(%rax,%rcx,4), %ecx
movq -40(%rbp), %rax
movl %ecx, 4(%rax)
movl -24(%rbp), %edx
movq -8(%rbp), %rax
movzwl -26(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, 24(%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
jmp LBB2_1
LBB2_4:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function FindDictionaryMatch
_FindDictionaryMatch: ## @FindDictionaryMatch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movl $0, -44(%rbp)
movl $-1, -48(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rdi
movslq -20(%rbp), %rax
addq %rax, %rdi
callq _GetUInt16LE
movw %ax, -50(%rbp)
movq -16(%rbp), %rax
movzwl -50(%rbp), %ecx
## kill: def $rcx killed $ecx
movl 24(%rax,%rcx,4), %eax
movl %eax, -56(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_5 Depth 2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, -56(%rbp)
movb %al, -65(%rbp) ## 1-byte Spill
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 16(%rax), %rax
movl -56(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,8), %eax
cmpl -20(%rbp), %eax
setb %al
movb %al, -65(%rbp) ## 1-byte Spill
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movb -65(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_4
jmp LBB3_14
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 16(%rax), %rax
movl -56(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,8), %eax
movl %eax, -60(%rbp)
movl $2, -64(%rbp)
LBB3_5: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -60(%rbp), %ecx
addl -64(%rbp), %ecx
addl $2, %ecx
movq -16(%rbp), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl 8(%rdx), %ecx
movb %al, -66(%rbp) ## 1-byte Spill
ja LBB3_9
## %bb.6: ## in Loop: Header=BB3_5 Depth=2
movl -20(%rbp), %ecx
addl -64(%rbp), %ecx
addl $2, %ecx
movq -16(%rbp), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl 8(%rdx), %ecx
movb %al, -66(%rbp) ## 1-byte Spill
ja LBB3_9
## %bb.7: ## in Loop: Header=BB3_5 Depth=2
movq -16(%rbp), %rax
movq (%rax), %rax
movl -60(%rbp), %ecx
addl -64(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %ecx
movq -16(%rbp), %rax
movq (%rax), %rax
movl -20(%rbp), %edx
addl -64(%rbp), %edx
movslq %edx, %rdx
movzbl (%rax,%rdx), %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -66(%rbp) ## 1-byte Spill
jne LBB3_9
## %bb.8: ## in Loop: Header=BB3_5 Depth=2
movq -16(%rbp), %rax
movq (%rax), %rax
movl -60(%rbp), %ecx
addl -64(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movq (%rcx), %rcx
movl -20(%rbp), %edx
addl -64(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
sete %al
movb %al, -66(%rbp) ## 1-byte Spill
LBB3_9: ## in Loop: Header=BB3_5 Depth=2
movb -66(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_10
jmp LBB3_11
LBB3_10: ## in Loop: Header=BB3_5 Depth=2
movl -64(%rbp), %eax
addl $2, %eax
movl %eax, -64(%rbp)
jmp LBB3_5
LBB3_11: ## in Loop: Header=BB3_1 Depth=1
movl -64(%rbp), %eax
cmpl -44(%rbp), %eax
jl LBB3_13
## %bb.12: ## in Loop: Header=BB3_1 Depth=1
movl -64(%rbp), %eax
movl %eax, -44(%rbp)
movl -60(%rbp), %eax
movl %eax, -48(%rbp)
LBB3_13: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 16(%rax), %rax
movl -56(%rbp), %ecx
## kill: def $rcx killed $ecx
movl 4(%rax,%rcx,8), %eax
movl %eax, -56(%rbp)
jmp LBB3_1
LBB3_14:
cmpl $4, -44(%rbp)
jl LBB3_16
## %bb.15:
movl -44(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movl -48(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movb $1, -1(%rbp)
jmp LBB3_17
LBB3_16:
movb $0, -1(%rbp)
LBB3_17:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function WriteBitAndUpdateWeight
_WriteBitAndUpdateWeight: ## @WriteBitAndUpdateWeight
.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 %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
shrl $12, %eax
movq -24(%rbp), %rcx
movzwl (%rcx), %ecx
imull %ecx, %eax
movl %eax, -32(%rbp)
cmpl $0, -12(%rbp)
jne LBB4_2
## %bb.1:
movl -32(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movq -24(%rbp), %rax
movzwl (%rax), %eax
movl $4096, %edx ## imm = 0x1000
subl %eax, %edx
movl -28(%rbp), %ecx
## kill: def $cl killed $ecx
sarl %cl, %edx
movq -24(%rbp), %rax
movzwl (%rax), %ecx
addl %edx, %ecx
## kill: def $cx killed $cx killed $ecx
movw %cx, (%rax)
jmp LBB4_3
LBB4_2:
movl -32(%rbp), %edx
movq -8(%rbp), %rax
movl (%rax), %ecx
subl %edx, %ecx
movl %ecx, (%rax)
movl -32(%rbp), %eax
movl %eax, %ecx
movq -8(%rbp), %rax
addq 8(%rax), %rcx
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movzwl (%rax), %edx
movl -28(%rbp), %ecx
## kill: def $cl killed $ecx
sarl %cl, %edx
movq -24(%rbp), %rax
movzwl (%rax), %ecx
subl %edx, %ecx
## kill: def $cx killed $cx killed $ecx
movw %cx, (%rax)
LBB4_3:
jmp LBB4_4
LBB4_4: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpl $16777216, (%rax) ## imm = 0x1000000
jae LBB4_6
## %bb.5: ## in Loop: Header=BB4_4 Depth=1
movq -8(%rbp), %rax
movl (%rax), %ecx
shll $8, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rdi
callq _ShiftOutputFromRangeEncoder
jmp LBB4_4
LBB4_6:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function WriteUniversalCode
_WriteUniversalCode: ## @WriteUniversalCode
.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)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq %r8, -40(%rbp)
movl %r9d, -44(%rbp)
movl $31, -48(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -48(%rbp)
movb %al, -57(%rbp) ## 1-byte Spill
jl LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl -12(%rbp), %eax
movl -48(%rbp), %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
andl $1, %eax
cmpl $0, %eax
sete %al
movb %al, -57(%rbp) ## 1-byte Spill
LBB5_3: ## in Loop: Header=BB5_1 Depth=1
movb -57(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_4
jmp LBB5_5
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movl -48(%rbp), %eax
addl $-1, %eax
movl %eax, -48(%rbp)
jmp LBB5_1
LBB5_5:
movl $0, -52(%rbp)
LBB5_6: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -48(%rbp), %eax
jg LBB5_9
## %bb.7: ## in Loop: Header=BB5_6 Depth=1
movq -8(%rbp), %rdi
movq -24(%rbp), %rdx
movslq -52(%rbp), %rax
shlq $1, %rax
addq %rax, %rdx
movl -28(%rbp), %ecx
movl $1, %esi
callq _WriteBitAndUpdateWeight
## %bb.8: ## in Loop: Header=BB5_6 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB5_6
LBB5_9:
movq -8(%rbp), %rdi
movq -24(%rbp), %rdx
movl -48(%rbp), %eax
addl $1, %eax
cltq
shlq $1, %rax
addq %rax, %rdx
movl -28(%rbp), %ecx
xorl %esi, %esi
callq _WriteBitAndUpdateWeight
movl -48(%rbp), %eax
subl $1, %eax
movl %eax, -56(%rbp)
LBB5_10: ## =>This Inner Loop Header: Depth=1
cmpl $0, -56(%rbp)
jl LBB5_13
## %bb.11: ## in Loop: Header=BB5_10 Depth=1
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -56(%rbp), %ecx
## kill: def $cl killed $ecx
shrl %cl, %esi
andl $1, %esi
movq -40(%rbp), %rdx
movslq -56(%rbp), %rax
shlq $1, %rax
addq %rax, %rdx
movl -44(%rbp), %ecx
callq _WriteBitAndUpdateWeight
## %bb.12: ## in Loop: Header=BB5_10 Depth=1
movl -56(%rbp), %eax
addl $-1, %eax
movl %eax, -56(%rbp)
jmp LBB5_10
LBB5_13:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function GetUInt16LE
_GetUInt16LE: ## @GetUInt16LE
.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
movzbl (%rax), %eax
movq -8(%rbp), %rcx
movzbl 1(%rcx), %ecx
shll $8, %ecx
addl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function FinishRangeEncoder
_FinishRangeEncoder: ## @FinishRangeEncoder
.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)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -12(%rbp)
jge LBB7_4
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rdi
callq _ShiftOutputFromRangeEncoder
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB7_1
LBB7_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _AllocAndReadFile ## -- Begin function AllocAndReadFile
.p2align 4, 0x90
_AllocAndReadFile: ## @AllocAndReadFile
.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 $4096, -20(%rbp) ## imm = 0x1000
movl $4096, %edi ## imm = 0x1000
callq _malloc
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rdi
movl -36(%rbp), %eax
## kill: def $rax killed $eax
addq %rax, %rdi
movq -8(%rbp), %rcx
movl $1, %esi
movl $4096, %edx ## imm = 0x1000
callq _fread
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movl -40(%rbp), %eax
addl -36(%rbp), %eax
movl %eax, -36(%rbp)
cmpl $4096, -40(%rbp) ## imm = 0x1000
jae LBB8_3
## %bb.2:
jmp LBB8_4
LBB8_3: ## in Loop: Header=BB8_1 Depth=1
movq -32(%rbp), %rdi
movl -36(%rbp), %eax
addl $4096, %eax ## imm = 0x1000
movl %eax, %eax
movl %eax, %esi
callq _realloc
movq %rax, -32(%rbp)
jmp LBB8_1
LBB8_4:
movl -36(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -32(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
je LBB9_3
## %bb.1:
cmpl $7, -8(%rbp)
je LBB9_3
## %bb.2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB9_3:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq -20(%rbp), %rsi
callq _AllocAndReadFile
movq %rax, -32(%rbp)
movl $4, -36(%rbp)
movl $2, -40(%rbp)
movl $4, -44(%rbp)
movl $4, -48(%rbp)
movl $4, -52(%rbp)
movl $4, -56(%rbp)
cmpl $7, -8(%rbp)
jne LBB9_5
## %bb.4:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -36(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, -40(%rbp)
movq -16(%rbp), %rax
movq 24(%rax), %rdi
callq _atoi
movl %eax, -44(%rbp)
movq -16(%rbp), %rax
movq 32(%rax), %rdi
callq _atoi
movl %eax, -48(%rbp)
movq -16(%rbp), %rax
movq 40(%rax), %rdi
callq _atoi
movl %eax, -52(%rbp)
movq -16(%rbp), %rax
movq 48(%rax), %rdi
callq _atoi
movl %eax, -56(%rbp)
LBB9_5:
movl -20(%rbp), %edi
andl $255, %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputc
movl -20(%rbp), %edi
shrl $8, %edi
andl $255, %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputc
movl -20(%rbp), %edi
shrl $16, %edi
andl $255, %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputc
movl -20(%rbp), %edi
shrl $24, %edi
andl $255, %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputc
movl -52(%rbp), %edi
shll $4, %edi
orl -56(%rbp), %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputc
movl -44(%rbp), %edi
shll $4, %edi
orl -48(%rbp), %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputc
movl -36(%rbp), %edi
shll $4, %edi
orl -40(%rbp), %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputc
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rsi
movl -20(%rbp), %edx
movl -36(%rbp), %ecx
movl -40(%rbp), %r8d
movl -44(%rbp), %r9d
movl -48(%rbp), %r11d
movl -52(%rbp), %r10d
movl -56(%rbp), %eax
movl %r11d, (%rsp)
movl %r10d, 8(%rsp)
movl %eax, 16(%rsp)
callq _CompressData
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function ShiftOutputFromRangeEncoder
_ShiftOutputFromRangeEncoder: ## @ShiftOutputFromRangeEncoder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rcx
movabsq $4294967295, %rax ## imm = 0xFFFFFFFF
andq 8(%rcx), %rax
movl $4278190080, %ecx ## imm = 0xFF000000
cmpq %rcx, %rax
jb LBB10_2
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rax
shrq $32, %rax
cmpq $0, %rax
je LBB10_7
LBB10_2:
movq -8(%rbp), %rax
movb 16(%rax), %al
movb %al, -9(%rbp)
movl $0, -16(%rbp)
LBB10_3: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 20(%rcx), %eax
jae LBB10_6
## %bb.4: ## in Loop: Header=BB10_3 Depth=1
movzbl -9(%rbp), %eax
## kill: def $rax killed $eax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
shrq $32, %rcx
addq %rcx, %rax
andq $255, %rax
movl %eax, %edi
movq -8(%rbp), %rax
movq 24(%rax), %rsi
callq _fputc
movb $-1, -9(%rbp)
## %bb.5: ## in Loop: Header=BB10_3 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB10_3
LBB10_6:
movq -8(%rbp), %rax
movl $0, 20(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
shrq $24, %rax
andq $255, %rax
movb %al, %cl
movq -8(%rbp), %rax
movb %cl, 16(%rax)
LBB10_7:
movq -8(%rbp), %rax
movl 20(%rax), %ecx
addl $1, %ecx
movl %ecx, 20(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rcx
shlq $8, %rcx
movabsq $4294967295, %rax ## imm = 0xFFFFFFFF
andq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s <inputfile >outputfile [typeshift literalshift lengthshift1 lengthshift2 offsetshift1 offsetshift2]\n"
.subsections_via_symbols
| the_stack_data/102706.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strtok_r ; -- Begin function strtok_r
.p2align 2
_strtok_r: ; @strtok_r
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x8, [x8]
mov x9, x8
stur x9, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_9
LBB0_3:
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
bl _strspn
ldur x8, [x29, #-16]
add x8, x8, x0
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8]
stur xzr, [x29, #-8]
b LBB0_9
LBB0_5:
ldur x8, [x29, #-16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
bl _strcspn
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x8, x8, x0
ldr x9, [sp, #16]
str x8, [x9]
ldr x8, [sp, #16]
ldr x8, [x8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x10, [sp, #16]
ldr x8, [x10]
add x9, x8, #1
str x9, [x10]
strb wzr, [x8]
b LBB0_8
LBB0_7:
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8]
b LBB0_8
LBB0_8:
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB0_9
LBB0_9:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strtok_r ## -- Begin function strtok_r
.p2align 4, 0x90
_strtok_r: ## @strtok_r
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_3
## %bb.1:
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
cmpq $0, %rax
jne LBB0_3
## %bb.2:
movq $0, -8(%rbp)
jmp LBB0_9
LBB0_3:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _strspn
addq -16(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_5
## %bb.4:
movq -32(%rbp), %rax
movq $0, (%rax)
movq $0, -8(%rbp)
jmp LBB0_9
LBB0_5:
movq -16(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _strcspn
movq -40(%rbp), %rcx ## 8-byte Reload
addq %rax, %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rax
movq (%rax), %rax
cmpb $0, (%rax)
je LBB0_7
## %bb.6:
movq -32(%rbp), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, (%rcx)
movb $0, (%rax)
jmp LBB0_8
LBB0_7:
movq -32(%rbp), %rax
movq $0, (%rax)
LBB0_8:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_9:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/162643040.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _count_positives_sum_negatives ; -- Begin function count_positives_sum_negatives
.p2align 2
_count_positives_sum_negatives: ; @count_positives_sum_negatives
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str x2, [sp, #24]
str x3, [sp, #16]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #12]
ldr w10, [x8, x9, lsl #2]
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_8:
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _count_positives_sum_negatives ## -- Begin function count_positives_sum_negatives
.p2align 4, 0x90
_count_positives_sum_negatives: ## @count_positives_sum_negatives
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -36(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -36(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -36(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -32(%rbp), %rax
addl (%rax), %ecx
movl %ecx, (%rax)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/340807.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #20
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #20
bl _fgets
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _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, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "What is your name?"
l_.str.1: ; @.str.1
.asciz "Hello %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 $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $20, %esi
callq _fgets
leaq -32(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "What is your name?"
L_.str.1: ## @.str.1
.asciz "Hello %s"
.subsections_via_symbols
| the_stack_data/46168.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putchar ; -- Begin function ft_putchar
.p2align 2
_ft_putchar: ; @ft_putchar
.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
sub x1, x29, #1
sturb w0, [x29, #-1]
mov w0, #1
mov x2, #1
bl _write
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ft_putstr ; -- Begin function ft_putstr
.p2align 2
_ft_putstr: ; @ft_putstr
.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 LBB1_1
LBB1_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, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w0, [x8, x9]
bl _ft_putchar
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_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:
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-byte Folded Spill
stur wzr, [x29, #-4]
adrp x8, l___const.main.t@PAGE
add x8, x8, l___const.main.t@PAGEOFF
ldr w9, [x8]
add x0, sp, #4
str w9, [sp, #4]
ldur w8, [x8, #3]
stur w8, [x0, #3]
bl _ft_putstr
ldr w0, [sp] ; 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___const.main.t: ; @__const.main.t
.asciz "Hello\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putchar ## -- Begin function ft_putchar
.p2align 4, 0x90
_ft_putchar: ## @ft_putchar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %dil, %al
movb %al, -1(%rbp)
movl $1, %edi
leaq -1(%rbp), %rsi
movl $1, %edx
callq _write
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_putstr ## -- Begin function ft_putstr
.p2align 4, 0x90
_ft_putstr: ## @ft_putstr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _ft_putchar
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_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 $16, %rsp
movl $0, -4(%rbp)
movl L___const.main.t(%rip), %eax
movl %eax, -11(%rbp)
movw L___const.main.t+4(%rip), %ax
movw %ax, -7(%rbp)
movb L___const.main.t+6(%rip), %al
movb %al, -5(%rbp)
leaq -11(%rbp), %rdi
callq _ft_putstr
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.t: ## @__const.main.t
.asciz "Hello\n"
.subsections_via_symbols
| the_stack_data/154831572.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function tension
lCPI0_0:
.quad 0x4202a05f20000000 ; double 1.0E+10
lCPI0_1:
.quad 0xc202a05f20000000 ; double -1.0E+10
lCPI0_2:
.quad 0xbf1a36e2eb1c432d ; double -1.0E-4
lCPI0_3:
.quad 0x3f1a36e2eb1c432d ; double 1.0E-4
.section __TEXT,__text,regular,pure_instructions
.globl _tension
.p2align 2
_tension: ; @tension
.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, #240
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur w0, [x29, #-28]
stur x1, [x29, #-40]
stur x2, [x29, #-48]
stur x3, [x29, #-56]
ldur w8, [x29, #-28]
mov x9, x8
stur x9, [x29, #-168] ; 8-byte Folded Spill
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
stur x8, [x29, #-184] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-96]
mul x9, x9, x8
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-176] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-176] ; 8-byte Folded Reload
ldur x9, [x29, #-168] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-160] ; 8-byte Folded Spill
stur x9, [x29, #-104]
stur x8, [x29, #-112]
stur wzr, [x29, #-60]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
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
stur wzr, [x29, #-64]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldur x10, [x29, #-184] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
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, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_1
LBB0_8:
stur wzr, [x29, #-60]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_19
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
stur wzr, [x29, #-64]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_17
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-40]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldur x10, [x29, #-184] ; 8-byte Folded Reload
ldur x9, [x29, #-48]
ldursw x11, [x29, #-60]
ldr x9, [x9, x11, lsl #3]
ldursw x11, [x29, #-64]
ldr s0, [x9, x11, lsl #2]
ldur x9, [x29, #-40]
ldursw x11, [x29, #-60]
ldr x9, [x9, x11, lsl #3]
ldursw x11, [x29, #-64]
ldr s1, [x9, x11, lsl #2]
fmul s0, s0, s1
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
str s0, [x8, x9, lsl #2]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_11 Depth=2
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_11 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_11
LBB0_17: ; in Loop: Header=BB0_9 Depth=1
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_9
LBB0_19:
stur wzr, [x29, #-60]
b LBB0_20
LBB0_20: ; =>This Loop Header: Depth=1
; Child Loop BB0_22 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_30
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_20 Depth=1
stur wzr, [x29, #-64]
b LBB0_22
LBB0_22: ; Parent Loop BB0_20 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_28
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_22 Depth=2
ldur x8, [x29, #-56]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_22 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_22 Depth=2
ldur w8, [x29, #-60]
stur w8, [x29, #-68]
ldur w8, [x29, #-64]
stur w8, [x29, #-72]
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_22 Depth=2
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_22 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_22
LBB0_28: ; in Loop: Header=BB0_20 Depth=1
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_20 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_20
LBB0_30:
ldur w8, [x29, #-28]
mov x9, x8
stur x9, [x29, #-232] ; 8-byte Folded Spill
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
stur x8, [x29, #-248] ; 8-byte Folded Spill
mul x9, x9, x8
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-240] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-240] ; 8-byte Folded Reload
ldur x9, [x29, #-232] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-224] ; 8-byte Folded Spill
stur x9, [x29, #-120]
stur x8, [x29, #-128]
ldur w8, [x29, #-28]
mov x9, x8
stur x9, [x29, #-200] ; 8-byte Folded Spill
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
stur x8, [x29, #-216] ; 8-byte Folded Spill
mul x9, x9, x8
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-208] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-208] ; 8-byte Folded Reload
ldur x9, [x29, #-200] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-192] ; 8-byte Folded Spill
stur x9, [x29, #-136]
stur x8, [x29, #-144]
stur wzr, [x29, #-60]
b LBB0_31
LBB0_31: ; =>This Loop Header: Depth=1
; Child Loop BB0_33 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_38
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_31 Depth=1
stur wzr, [x29, #-64]
b LBB0_33
LBB0_33: ; Parent Loop BB0_31 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_36
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_33 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldur x9, [x29, #-192] ; 8-byte Folded Reload
ldur x12, [x29, #-216] ; 8-byte Folded Reload
ldursw x11, [x29, #-60]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-64]
mov w12, #761
movk w12, #20501, lsl #16
fmov s0, w12
str s0, [x9, x11, lsl #2]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
str s0, [x8, x9, lsl #2]
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_33 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_33
LBB0_36: ; in Loop: Header=BB0_31 Depth=1
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_31 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_31
LBB0_38:
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x10, [x29, #-216] ; 8-byte Folded Reload
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur x12, [x29, #-184] ; 8-byte Folded Reload
ldur x11, [x29, #-56]
ldursw x13, [x29, #-68]
ldr x11, [x11, x13, lsl #3]
ldursw x13, [x29, #-72]
ldr s0, [x11, x13, lsl #2]
ldursw x11, [x29, #-68]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fsub s0, s0, s1
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
str s0, [x8, x9, lsl #2]
ldur w8, [x29, #-68]
stur w8, [x29, #-76]
ldur w8, [x29, #-72]
stur w8, [x29, #-80]
b LBB0_39
LBB0_39: ; =>This Loop Header: Depth=1
; Child Loop BB0_41 Depth 2
ldur w8, [x29, #-72]
ldur w9, [x29, #-64]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_53
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_39 Depth=1
ldur w8, [x29, #-68]
stur w8, [x29, #-60]
ldur w8, [x29, #-72]
stur w8, [x29, #-64]
stur wzr, [x29, #-84]
b LBB0_41
LBB0_41: ; Parent Loop BB0_39 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-84]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_47
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_41 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-72]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-84]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_45
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_41 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-72]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-84]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_39 Depth=1
ldur w8, [x29, #-72]
stur w8, [x29, #-68]
ldur w8, [x29, #-84]
stur w8, [x29, #-72]
b LBB0_47
LBB0_45: ; in Loop: Header=BB0_41 Depth=2
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_41 Depth=2
ldur w8, [x29, #-84]
add w8, w8, #1
stur w8, [x29, #-84]
b LBB0_41
LBB0_47: ; in Loop: Header=BB0_39 Depth=1
ldur w8, [x29, #-68]
ldur w9, [x29, #-76]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_49
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_39 Depth=1
ldur w8, [x29, #-72]
ldur w9, [x29, #-80]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_52
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_39 Depth=1
ldur w8, [x29, #-68]
ldur w9, [x29, #-60]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_51
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_39 Depth=1
ldur w8, [x29, #-72]
ldur w9, [x29, #-64]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_39 Depth=1
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x10, [x29, #-216] ; 8-byte Folded Reload
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur x12, [x29, #-184] ; 8-byte Folded Reload
ldur x11, [x29, #-224] ; 8-byte Folded Reload
ldur x14, [x29, #-248] ; 8-byte Folded Reload
ldursw x13, [x29, #-60]
mul x13, x13, x10
add x13, x8, x13, lsl #2
ldursw x15, [x29, #-64]
ldr s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x13, x11, x13, lsl #2
ldursw x15, [x29, #-72]
str s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x11, x11, x13, lsl #2
ldursw x13, [x29, #-72]
ldr s0, [x11, x13, lsl #2]
ldur x11, [x29, #-56]
ldursw x13, [x29, #-68]
ldr x11, [x11, x13, lsl #3]
ldursw x13, [x29, #-72]
ldr s1, [x11, x13, lsl #2]
fadd s0, s0, s1
ldursw x11, [x29, #-68]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fsub s0, s0, s1
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
str s0, [x8, x9, lsl #2]
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_39 Depth=1
b LBB0_39
LBB0_53:
stur wzr, [x29, #-60]
b LBB0_54
LBB0_54: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_60
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_54 Depth=1
ldur x8, [x29, #-48]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-76]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_58
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_54 Depth=1
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x10, [x29, #-216] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-76]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_58
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_54 Depth=1
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldur x9, [x29, #-192] ; 8-byte Folded Reload
ldur x12, [x29, #-216] ; 8-byte Folded Reload
ldursw x11, [x29, #-60]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-76]
ldr s0, [x9, x11, lsl #2]
ldursw x9, [x29, #-76]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-80]
str s0, [x8, x9, lsl #2]
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_54 Depth=1
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_54 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_54
LBB0_60:
stur wzr, [x29, #-60]
b LBB0_61
LBB0_61: ; =>This Loop Header: Depth=1
; Child Loop BB0_63 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_70
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_61 Depth=1
stur wzr, [x29, #-64]
b LBB0_63
LBB0_63: ; Parent Loop BB0_61 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_68
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_63 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_66
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_63 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldur x9, [x29, #-192] ; 8-byte Folded Reload
ldur x12, [x29, #-216] ; 8-byte Folded Reload
ldursw x11, [x29, #-60]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-64]
movi d0, #0000000000000000
str s0, [x9, x11, lsl #2]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
str s0, [x8, x9, lsl #2]
b LBB0_66
LBB0_66: ; in Loop: Header=BB0_63 Depth=2
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_63 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_63
LBB0_68: ; in Loop: Header=BB0_61 Depth=1
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_61 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_61
LBB0_70:
mov w8, #1
stur w8, [x29, #-88]
stur wzr, [x29, #-60]
b LBB0_71
LBB0_71: ; =>This Loop Header: Depth=1
; Child Loop BB0_73 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_80
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_71 Depth=1
stur wzr, [x29, #-64]
b LBB0_73
LBB0_73: ; Parent Loop BB0_71 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_78
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_73 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_76
b LBB0_75
LBB0_75: ; in Loop: Header=BB0_73 Depth=2
stur wzr, [x29, #-88]
b LBB0_76
LBB0_76: ; in Loop: Header=BB0_73 Depth=2
b LBB0_77
LBB0_77: ; in Loop: Header=BB0_73 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_73
LBB0_78: ; in Loop: Header=BB0_71 Depth=1
b LBB0_79
LBB0_79: ; in Loop: Header=BB0_71 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_71
LBB0_80:
b LBB0_81
LBB0_81: ; =>This Loop Header: Depth=1
; Child Loop BB0_83 Depth 2
; Child Loop BB0_85 Depth 3
; Child Loop BB0_94 Depth 2
; Child Loop BB0_141 Depth 2
; Child Loop BB0_143 Depth 3
; Child Loop BB0_127 Depth 2
; Child Loop BB0_129 Depth 3
; Child Loop BB0_113 Depth 2
; Child Loop BB0_115 Depth 3
; Child Loop BB0_99 Depth 2
; Child Loop BB0_101 Depth 3
; Child Loop BB0_161 Depth 2
; Child Loop BB0_163 Depth 3
ldur w8, [x29, #-88]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_172
b LBB0_82
LBB0_82: ; in Loop: Header=BB0_81 Depth=1
stur wzr, [x29, #-60]
b LBB0_83
LBB0_83: ; Parent Loop BB0_81 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_85 Depth 3
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_93
b LBB0_84
LBB0_84: ; in Loop: Header=BB0_83 Depth=2
stur wzr, [x29, #-64]
b LBB0_85
LBB0_85: ; Parent Loop BB0_81 Depth=1
; Parent Loop BB0_83 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_91
b LBB0_86
LBB0_86: ; in Loop: Header=BB0_85 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_89
b LBB0_87
LBB0_87: ; in Loop: Header=BB0_85 Depth=3
ldur x8, [x29, #-48]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_89
b LBB0_88
LBB0_88: ; in Loop: Header=BB0_85 Depth=3
ldur w8, [x29, #-60]
stur w8, [x29, #-68]
ldur w8, [x29, #-64]
stur w8, [x29, #-72]
b LBB0_89
LBB0_89: ; in Loop: Header=BB0_85 Depth=3
b LBB0_90
LBB0_90: ; in Loop: Header=BB0_85 Depth=3
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_85
LBB0_91: ; in Loop: Header=BB0_83 Depth=2
b LBB0_92
LBB0_92: ; in Loop: Header=BB0_83 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_83
LBB0_93: ; in Loop: Header=BB0_81 Depth=1
mov w8, #-1
stur w8, [x29, #-84]
stur wzr, [x29, #-64]
b LBB0_94
LBB0_94: ; Parent Loop BB0_81 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_160
b LBB0_95
LBB0_95: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_109
b LBB0_96
LBB0_96: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_109
b LBB0_97
LBB0_97: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-68]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_109
b LBB0_98
LBB0_98: ; in Loop: Header=BB0_81 Depth=1
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x10, [x29, #-216] ; 8-byte Folded Reload
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur x12, [x29, #-184] ; 8-byte Folded Reload
ldur x11, [x29, #-224] ; 8-byte Folded Reload
ldur x14, [x29, #-248] ; 8-byte Folded Reload
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x13, x11, x13, lsl #2
ldursw x15, [x29, #-64]
ldr s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x13, x11, x13, lsl #2
ldursw x15, [x29, #-72]
str s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x11, x11, x13, lsl #2
ldursw x13, [x29, #-72]
ldr s0, [x11, x13, lsl #2]
ldursw x11, [x29, #-68]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fsub s0, s0, s1
ldur x9, [x29, #-56]
ldursw x11, [x29, #-68]
ldr x9, [x9, x11, lsl #3]
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fadd s0, s0, s1
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
str s0, [x8, x9, lsl #2]
mov w8, #1
stur w8, [x29, #-84]
stur wzr, [x29, #-60]
b LBB0_99
LBB0_99: ; Parent Loop BB0_81 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_101 Depth 3
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_108
b LBB0_100
LBB0_100: ; in Loop: Header=BB0_99 Depth=2
stur wzr, [x29, #-64]
b LBB0_101
LBB0_101: ; Parent Loop BB0_81 Depth=1
; Parent Loop BB0_99 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_106
b LBB0_102
LBB0_102: ; in Loop: Header=BB0_101 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_104
b LBB0_103
LBB0_103: ; in Loop: Header=BB0_101 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
mov w10, #761
movk w10, #20501, lsl #16
fmov s0, w10
str s0, [x8, x9, lsl #2]
b LBB0_104
LBB0_104: ; in Loop: Header=BB0_101 Depth=3
b LBB0_105
LBB0_105: ; in Loop: Header=BB0_101 Depth=3
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_101
LBB0_106: ; in Loop: Header=BB0_99 Depth=2
b LBB0_107
LBB0_107: ; in Loop: Header=BB0_99 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_99
LBB0_108: ; in Loop: Header=BB0_81 Depth=1
b LBB0_160
LBB0_109: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-64]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-68]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_123
b LBB0_110
LBB0_110: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-64]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-68]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_123
b LBB0_111
LBB0_111: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-64]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-68]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_123
b LBB0_112
LBB0_112: ; in Loop: Header=BB0_81 Depth=1
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x10, [x29, #-216] ; 8-byte Folded Reload
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur x12, [x29, #-184] ; 8-byte Folded Reload
ldur x11, [x29, #-224] ; 8-byte Folded Reload
ldur x14, [x29, #-248] ; 8-byte Folded Reload
ldursw x13, [x29, #-64]
mul x13, x13, x10
add x13, x8, x13, lsl #2
ldursw x15, [x29, #-68]
ldr s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x13, x11, x13, lsl #2
ldursw x15, [x29, #-72]
str s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x11, x11, x13, lsl #2
ldursw x13, [x29, #-72]
ldr s0, [x11, x13, lsl #2]
ldursw x11, [x29, #-68]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fsub s0, s0, s1
ldur x9, [x29, #-56]
ldursw x11, [x29, #-68]
ldr x9, [x9, x11, lsl #3]
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fadd s0, s0, s1
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
str s0, [x8, x9, lsl #2]
mov w8, #1
stur w8, [x29, #-84]
stur wzr, [x29, #-60]
b LBB0_113
LBB0_113: ; Parent Loop BB0_81 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_115 Depth 3
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_122
b LBB0_114
LBB0_114: ; in Loop: Header=BB0_113 Depth=2
stur wzr, [x29, #-64]
b LBB0_115
LBB0_115: ; Parent Loop BB0_81 Depth=1
; Parent Loop BB0_113 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_120
b LBB0_116
LBB0_116: ; in Loop: Header=BB0_115 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_118
b LBB0_117
LBB0_117: ; in Loop: Header=BB0_115 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
mov w10, #761
movk w10, #20501, lsl #16
fmov s0, w10
str s0, [x8, x9, lsl #2]
b LBB0_118
LBB0_118: ; in Loop: Header=BB0_115 Depth=3
b LBB0_119
LBB0_119: ; in Loop: Header=BB0_115 Depth=3
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_115
LBB0_120: ; in Loop: Header=BB0_113 Depth=2
b LBB0_121
LBB0_121: ; in Loop: Header=BB0_113 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_113
LBB0_122: ; in Loop: Header=BB0_81 Depth=1
b LBB0_160
LBB0_123: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-72]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_137
b LBB0_124
LBB0_124: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-72]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_137
b LBB0_125
LBB0_125: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-72]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_137
b LBB0_126
LBB0_126: ; in Loop: Header=BB0_81 Depth=1
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur x12, [x29, #-184] ; 8-byte Folded Reload
ldur x11, [x29, #-192] ; 8-byte Folded Reload
ldur x14, [x29, #-216] ; 8-byte Folded Reload
ldursw x13, [x29, #-72]
mul x13, x13, x10
add x13, x8, x13, lsl #2
ldursw x15, [x29, #-64]
ldr s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x13, x11, x13, lsl #2
ldursw x15, [x29, #-72]
str s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x11, x11, x13, lsl #2
ldursw x13, [x29, #-72]
ldr s0, [x11, x13, lsl #2]
ldursw x11, [x29, #-68]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fadd s0, s0, s1
ldur x9, [x29, #-56]
ldursw x11, [x29, #-68]
ldr x9, [x9, x11, lsl #3]
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fsub s0, s0, s1
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
str s0, [x8, x9, lsl #2]
mov w8, #1
stur w8, [x29, #-84]
stur wzr, [x29, #-60]
b LBB0_127
LBB0_127: ; Parent Loop BB0_81 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_129 Depth 3
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_136
b LBB0_128
LBB0_128: ; in Loop: Header=BB0_127 Depth=2
stur wzr, [x29, #-64]
b LBB0_129
LBB0_129: ; Parent Loop BB0_81 Depth=1
; Parent Loop BB0_127 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_134
b LBB0_130
LBB0_130: ; in Loop: Header=BB0_129 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_132
b LBB0_131
LBB0_131: ; in Loop: Header=BB0_129 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
mov w10, #761
movk w10, #20501, lsl #16
fmov s0, w10
str s0, [x8, x9, lsl #2]
b LBB0_132
LBB0_132: ; in Loop: Header=BB0_129 Depth=3
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_129 Depth=3
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_129
LBB0_134: ; in Loop: Header=BB0_127 Depth=2
b LBB0_135
LBB0_135: ; in Loop: Header=BB0_127 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_127
LBB0_136: ; in Loop: Header=BB0_81 Depth=1
b LBB0_160
LBB0_137: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-64]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_151
b LBB0_138
LBB0_138: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-64]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_151
b LBB0_139
LBB0_139: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-48]
ldursw x9, [x29, #-64]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-72]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_151
b LBB0_140
LBB0_140: ; in Loop: Header=BB0_81 Depth=1
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur x12, [x29, #-184] ; 8-byte Folded Reload
ldur x11, [x29, #-192] ; 8-byte Folded Reload
ldur x14, [x29, #-216] ; 8-byte Folded Reload
ldursw x13, [x29, #-64]
mul x13, x13, x14
add x13, x11, x13, lsl #2
ldursw x15, [x29, #-72]
ldr s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x13, x11, x13, lsl #2
ldursw x15, [x29, #-72]
str s0, [x13, x15, lsl #2]
ldursw x13, [x29, #-68]
mul x13, x13, x14
add x11, x11, x13, lsl #2
ldursw x13, [x29, #-72]
ldr s0, [x11, x13, lsl #2]
ldursw x11, [x29, #-68]
mul x11, x11, x12
add x9, x9, x11, lsl #2
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fadd s0, s0, s1
ldur x9, [x29, #-56]
ldursw x11, [x29, #-68]
ldr x9, [x9, x11, lsl #3]
ldursw x11, [x29, #-72]
ldr s1, [x9, x11, lsl #2]
fsub s0, s0, s1
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
str s0, [x8, x9, lsl #2]
mov w8, #1
stur w8, [x29, #-84]
stur wzr, [x29, #-60]
b LBB0_141
LBB0_141: ; Parent Loop BB0_81 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_143 Depth 3
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_150
b LBB0_142
LBB0_142: ; in Loop: Header=BB0_141 Depth=2
stur wzr, [x29, #-64]
b LBB0_143
LBB0_143: ; Parent Loop BB0_81 Depth=1
; Parent Loop BB0_141 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_148
b LBB0_144
LBB0_144: ; in Loop: Header=BB0_143 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_146
b LBB0_145
LBB0_145: ; in Loop: Header=BB0_143 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
mov w10, #761
movk w10, #20501, lsl #16
fmov s0, w10
str s0, [x8, x9, lsl #2]
b LBB0_146
LBB0_146: ; in Loop: Header=BB0_143 Depth=3
b LBB0_147
LBB0_147: ; in Loop: Header=BB0_143 Depth=3
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_143
LBB0_148: ; in Loop: Header=BB0_141 Depth=2
b LBB0_149
LBB0_149: ; in Loop: Header=BB0_141 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_141
LBB0_150: ; in Loop: Header=BB0_81 Depth=1
b LBB0_160
LBB0_151: ; in Loop: Header=BB0_94 Depth=2
ldur w8, [x29, #-84]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_154
b LBB0_152
LBB0_152: ; in Loop: Header=BB0_94 Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_154
b LBB0_153
LBB0_153: ; in Loop: Header=BB0_94 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-68]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-72]
mov w10, #761
movk w10, #53269, lsl #16
fmov s0, w10
str s0, [x8, x9, lsl #2]
b LBB0_154
LBB0_154: ; in Loop: Header=BB0_94 Depth=2
b LBB0_155
LBB0_155: ; in Loop: Header=BB0_94 Depth=2
b LBB0_156
LBB0_156: ; in Loop: Header=BB0_94 Depth=2
b LBB0_157
LBB0_157: ; in Loop: Header=BB0_94 Depth=2
b LBB0_158
LBB0_158: ; in Loop: Header=BB0_94 Depth=2
b LBB0_159
LBB0_159: ; in Loop: Header=BB0_94 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_94
LBB0_160: ; in Loop: Header=BB0_81 Depth=1
mov w8, #1
stur w8, [x29, #-88]
stur wzr, [x29, #-60]
b LBB0_161
LBB0_161: ; Parent Loop BB0_81 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_163 Depth 3
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_171
b LBB0_162
LBB0_162: ; in Loop: Header=BB0_161 Depth=2
stur wzr, [x29, #-64]
b LBB0_163
LBB0_163: ; Parent Loop BB0_81 Depth=1
; Parent Loop BB0_161 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_169
b LBB0_164
LBB0_164: ; in Loop: Header=BB0_163 Depth=3
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_167
b LBB0_165
LBB0_165: ; in Loop: Header=BB0_163 Depth=3
ldur x8, [x29, #-48]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_167
b LBB0_166
LBB0_166: ; in Loop: Header=BB0_163 Depth=3
stur wzr, [x29, #-88]
b LBB0_167
LBB0_167: ; in Loop: Header=BB0_163 Depth=3
b LBB0_168
LBB0_168: ; in Loop: Header=BB0_163 Depth=3
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_163
LBB0_169: ; in Loop: Header=BB0_161 Depth=2
b LBB0_170
LBB0_170: ; in Loop: Header=BB0_161 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_161
LBB0_171: ; in Loop: Header=BB0_81 Depth=1
b LBB0_81
LBB0_172:
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-76]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-80]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_3@PAGE
ldr d1, [x8, lCPI0_3@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_175
b LBB0_173
LBB0_173:
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldursw x9, [x29, #-76]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-80]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
adrp x8, lCPI0_2@PAGE
ldr d1, [x8, lCPI0_2@PAGEOFF]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_175
b LBB0_174
LBB0_174:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_175
LBB0_175:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
stur x0, [x29, #-152]
ldur x0, [x29, #-152]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
stur wzr, [x29, #-60]
b LBB0_176
LBB0_176: ; =>This Loop Header: Depth=1
; Child Loop BB0_178 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_183
b LBB0_177
LBB0_177: ; in Loop: Header=BB0_176 Depth=1
stur wzr, [x29, #-64]
b LBB0_178
LBB0_178: ; Parent Loop BB0_176 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_181
b LBB0_179
LBB0_179: ; in Loop: Header=BB0_178 Depth=2
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldur x0, [x29, #-152]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
add sp, sp, #16
b LBB0_180
LBB0_180: ; in Loop: Header=BB0_178 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_178
LBB0_181: ; in Loop: Header=BB0_176 Depth=1
ldur x8, [x29, #-224] ; 8-byte Folded Reload
ldur x10, [x29, #-248] ; 8-byte Folded Reload
ldur x0, [x29, #-152]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldur w9, [x29, #-28]
subs w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
add sp, sp, #16
b LBB0_182
LBB0_182: ; in Loop: Header=BB0_176 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_176
LBB0_183:
ldur x0, [x29, #-152]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
stur wzr, [x29, #-60]
b LBB0_184
LBB0_184: ; =>This Loop Header: Depth=1
; Child Loop BB0_186 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_191
b LBB0_185
LBB0_185: ; in Loop: Header=BB0_184 Depth=1
stur wzr, [x29, #-64]
b LBB0_186
LBB0_186: ; Parent Loop BB0_184 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_189
b LBB0_187
LBB0_187: ; in Loop: Header=BB0_186 Depth=2
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x10, [x29, #-216] ; 8-byte Folded Reload
ldur x0, [x29, #-152]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
add sp, sp, #16
b LBB0_188
LBB0_188: ; in Loop: Header=BB0_186 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_186
LBB0_189: ; in Loop: Header=BB0_184 Depth=1
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x10, [x29, #-216] ; 8-byte Folded Reload
ldur x0, [x29, #-152]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldur w9, [x29, #-28]
subs w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
add sp, sp, #16
b LBB0_190
LBB0_190: ; in Loop: Header=BB0_184 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_184
LBB0_191:
ldur x0, [x29, #-152]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
stur wzr, [x29, #-60]
b LBB0_192
LBB0_192: ; =>This Loop Header: Depth=1
; Child Loop BB0_194 Depth 2
ldur w8, [x29, #-60]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_199
b LBB0_193
LBB0_193: ; in Loop: Header=BB0_192 Depth=1
stur wzr, [x29, #-64]
b LBB0_194
LBB0_194: ; Parent Loop BB0_192 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_197
b LBB0_195
LBB0_195: ; in Loop: Header=BB0_194 Depth=2
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldur x10, [x29, #-184] ; 8-byte Folded Reload
ldur x0, [x29, #-152]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-64]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
add sp, sp, #16
b LBB0_196
LBB0_196: ; in Loop: Header=BB0_194 Depth=2
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB0_194
LBB0_197: ; in Loop: Header=BB0_192 Depth=1
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldur x10, [x29, #-184] ; 8-byte Folded Reload
ldur x0, [x29, #-152]
ldursw x9, [x29, #-60]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldur w9, [x29, #-28]
subs w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
add sp, sp, #16
b LBB0_198
LBB0_198: ; in Loop: Header=BB0_192 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB0_192
LBB0_199:
ldur x8, [x29, #-152]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_201
b LBB0_200
LBB0_200:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_202
LBB0_201:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_202
LBB0_202:
ldur x8, [x29, #-96]
stur x8, [x29, #-256] ; 8-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_204
b LBB0_203
LBB0_203:
bl ___stack_chk_fail
LBB0_204:
ldur x8, [x29, #-256] ; 8-byte Folded Reload
mov sp, x8
sub sp, x29, #16
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 "\nResults pass the final check\n"
l_.str.1: ; @.str.1
.asciz "tension.dat"
l_.str.2: ; @.str.2
.asciz "w"
l_.str.3: ; @.str.3
.asciz "The initial voltage matrix stores voltages at the start of each branch, where the start of branch is defined by current flow\n"
l_.str.4: ; @.str.4
.asciz "%f\t"
l_.str.5: ; @.str.5
.asciz "%f\n"
l_.str.6: ; @.str.6
.asciz "The final voltage matrix stores the voltages at the end of each branch.\n"
l_.str.7: ; @.str.7
.asciz "The voltage matrix stores voltages across each resistor.\n"
l_.str.8: ; @.str.8
.asciz "\nError while writing tension.dat\n"
l_.str.9: ; @.str.9
.asciz "\nFile tension.dat has been written\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 tension
LCPI0_0:
.quad 0x3f1a36e2eb1c432d ## double 1.0E-4
LCPI0_1:
.quad 0xbf1a36e2eb1c432d ## double -1.0E-4
LCPI0_2:
.quad 0x4202a05f20000000 ## double 1.0E+10
LCPI0_3:
.quad 0xc202a05f20000000 ## double -1.0E+10
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_4:
.long 0xd01502f9 ## float -1.0E+10
LCPI0_5:
.long 0x501502f9 ## float 1.0E+10
.section __TEXT,__text,regular,pure_instructions
.globl _tension
.p2align 4, 0x90
_tension: ## @tension
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -12(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movl -12(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -160(%rbp) ## 8-byte Spill
movq %rax, %rcx
movq %rcx, -152(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -80(%rbp)
imulq %rax, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -160(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -152(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -144(%rbp) ## 8-byte Spill
movq %rcx, -88(%rbp)
movq %rax, -96(%rbp)
movl $0, -44(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -44(%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 $0, -48(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -144(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%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 -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_8:
movl $0, -44(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_19
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -48(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_17
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -24(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_13
jp LBB0_13
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_14
jp LBB0_14
jmp LBB0_15
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
movq -144(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rdx ## 8-byte Reload
movq -32(%rbp), %rcx
movslq -44(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq -48(%rbp), %rsi
movss (%rcx,%rsi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rcx
movslq -44(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq -48(%rbp), %rsi
mulss (%rcx,%rsi,4), %xmm0
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB0_15: ## in Loop: Header=BB0_11 Depth=2
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_11 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_11
LBB0_17: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_9 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_9
LBB0_19:
movl $0, -44(%rbp)
LBB0_20: ## =>This Loop Header: Depth=1
## Child Loop BB0_22 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_30
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
movl $0, -48(%rbp)
LBB0_22: ## Parent Loop BB0_20 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_28
## %bb.23: ## in Loop: Header=BB0_22 Depth=2
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_24
jp LBB0_24
jmp LBB0_26
LBB0_24: ## in Loop: Header=BB0_22 Depth=2
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_25
jp LBB0_25
jmp LBB0_26
LBB0_25: ## in Loop: Header=BB0_22 Depth=2
movl -44(%rbp), %eax
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
movl %eax, -56(%rbp)
LBB0_26: ## in Loop: Header=BB0_22 Depth=2
jmp LBB0_27
LBB0_27: ## in Loop: Header=BB0_22 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_22
LBB0_28: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_29
LBB0_29: ## in Loop: Header=BB0_20 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_20
LBB0_30:
movl -12(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -200(%rbp) ## 8-byte Spill
imulq %rax, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -200(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -192(%rbp) ## 8-byte Spill
movq %rax, -104(%rbp)
movq %rax, -112(%rbp)
movl -12(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -184(%rbp) ## 8-byte Spill
movq %rax, %rcx
movq %rcx, -176(%rbp) ## 8-byte Spill
imulq %rax, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -184(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -176(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -168(%rbp) ## 8-byte Spill
movq %rcx, -120(%rbp)
movq %rax, -128(%rbp)
movl $0, -44(%rbp)
LBB0_31: ## =>This Loop Header: Depth=1
## Child Loop BB0_33 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_38
## %bb.32: ## in Loop: Header=BB0_31 Depth=1
movl $0, -48(%rbp)
LBB0_33: ## Parent Loop BB0_31 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_36
## %bb.34: ## in Loop: Header=BB0_33 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movq -168(%rbp), %rcx ## 8-byte Reload
movq -176(%rbp), %rdi ## 8-byte Reload
movslq -44(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -48(%rbp), %rsi
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rcx,%rsi,4)
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
## %bb.35: ## in Loop: Header=BB0_33 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_33
LBB0_36: ## in Loop: Header=BB0_31 Depth=1
jmp LBB0_37
LBB0_37: ## in Loop: Header=BB0_31 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_31
LBB0_38:
movq -168(%rbp), %rax ## 8-byte Reload
movq -176(%rbp), %rdx ## 8-byte Reload
movq -144(%rbp), %rcx ## 8-byte Reload
movq -152(%rbp), %rdi ## 8-byte Reload
movq -40(%rbp), %rsi
movslq -52(%rbp), %r8
movq (%rsi,%r8,8), %rsi
movslq -56(%rbp), %r8
movss (%rsi,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -56(%rbp), %rsi
subss (%rcx,%rsi,4), %xmm0
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -52(%rbp), %eax
movl %eax, -60(%rbp)
movl -56(%rbp), %eax
movl %eax, -64(%rbp)
LBB0_39: ## =>This Loop Header: Depth=1
## Child Loop BB0_41 Depth 2
movl -56(%rbp), %eax
cmpl -48(%rbp), %eax
je LBB0_53
## %bb.40: ## in Loop: Header=BB0_39 Depth=1
movl -52(%rbp), %eax
movl %eax, -44(%rbp)
movl -56(%rbp), %eax
movl %eax, -48(%rbp)
movl $0, -68(%rbp)
LBB0_41: ## Parent Loop BB0_39 Depth=1
## => This Inner Loop Header: Depth=2
movl -68(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_47
## %bb.42: ## in Loop: Header=BB0_41 Depth=2
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -68(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_43
jp LBB0_43
jmp LBB0_45
LBB0_43: ## in Loop: Header=BB0_41 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -56(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -68(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_45
jp LBB0_45
## %bb.44: ## in Loop: Header=BB0_39 Depth=1
movl -56(%rbp), %eax
movl %eax, -52(%rbp)
movl -68(%rbp), %eax
movl %eax, -56(%rbp)
jmp LBB0_47
LBB0_45: ## in Loop: Header=BB0_41 Depth=2
jmp LBB0_46
LBB0_46: ## in Loop: Header=BB0_41 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_41
LBB0_47: ## in Loop: Header=BB0_39 Depth=1
movl -52(%rbp), %eax
cmpl -60(%rbp), %eax
jne LBB0_49
## %bb.48: ## in Loop: Header=BB0_39 Depth=1
movl -56(%rbp), %eax
cmpl -64(%rbp), %eax
je LBB0_52
LBB0_49: ## in Loop: Header=BB0_39 Depth=1
movl -52(%rbp), %eax
cmpl -44(%rbp), %eax
jne LBB0_51
## %bb.50: ## in Loop: Header=BB0_39 Depth=1
movl -56(%rbp), %eax
cmpl -48(%rbp), %eax
je LBB0_52
LBB0_51: ## in Loop: Header=BB0_39 Depth=1
movq -168(%rbp), %rax ## 8-byte Reload
movq -176(%rbp), %rdx ## 8-byte Reload
movq -144(%rbp), %rcx ## 8-byte Reload
movq -152(%rbp), %rdi ## 8-byte Reload
movq -192(%rbp), %rsi ## 8-byte Reload
movq -200(%rbp), %r9 ## 8-byte Reload
movslq -44(%rbp), %r10
imulq %rdx, %r10
shlq $2, %r10
movq %rax, %r8
addq %r10, %r8
movslq -48(%rbp), %r10
movss (%r8,%r10,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %r10
imulq %r9, %r10
shlq $2, %r10
movq %rsi, %r8
addq %r10, %r8
movslq -56(%rbp), %r10
movss %xmm0, (%r8,%r10,4)
movslq -52(%rbp), %r8
imulq %r9, %r8
shlq $2, %r8
addq %r8, %rsi
movslq -56(%rbp), %r8
movss (%rsi,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rsi
movslq -52(%rbp), %r8
movq (%rsi,%r8,8), %rsi
movslq -56(%rbp), %r8
addss (%rsi,%r8,4), %xmm0
movslq -52(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -56(%rbp), %rsi
subss (%rcx,%rsi,4), %xmm0
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB0_52: ## in Loop: Header=BB0_39 Depth=1
jmp LBB0_39
LBB0_53:
movl $0, -44(%rbp)
LBB0_54: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_60
## %bb.55: ## in Loop: Header=BB0_54 Depth=1
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_56
jp LBB0_56
jmp LBB0_58
LBB0_56: ## in Loop: Header=BB0_54 Depth=1
movq -168(%rbp), %rax ## 8-byte Reload
movq -176(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -60(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_57
jp LBB0_57
jmp LBB0_58
LBB0_57: ## in Loop: Header=BB0_54 Depth=1
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movq -168(%rbp), %rcx ## 8-byte Reload
movq -176(%rbp), %rdi ## 8-byte Reload
movslq -44(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -60(%rbp), %rsi
movss (%rcx,%rsi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -60(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -64(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB0_58: ## in Loop: Header=BB0_54 Depth=1
jmp LBB0_59
LBB0_59: ## in Loop: Header=BB0_54 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_54
LBB0_60:
movl $0, -44(%rbp)
LBB0_61: ## =>This Loop Header: Depth=1
## Child Loop BB0_63 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_70
## %bb.62: ## in Loop: Header=BB0_61 Depth=1
movl $0, -48(%rbp)
LBB0_63: ## Parent Loop BB0_61 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_68
## %bb.64: ## in Loop: Header=BB0_63 Depth=2
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_66
jp LBB0_66
## %bb.65: ## in Loop: Header=BB0_63 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movq -168(%rbp), %rcx ## 8-byte Reload
movq -176(%rbp), %rdi ## 8-byte Reload
movslq -44(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -48(%rbp), %rsi
xorps %xmm0, %xmm0
movss %xmm0, (%rcx,%rsi,4)
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB0_66: ## in Loop: Header=BB0_63 Depth=2
jmp LBB0_67
LBB0_67: ## in Loop: Header=BB0_63 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_63
LBB0_68: ## in Loop: Header=BB0_61 Depth=1
jmp LBB0_69
LBB0_69: ## in Loop: Header=BB0_61 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_61
LBB0_70:
movl $1, -72(%rbp)
movl $0, -44(%rbp)
LBB0_71: ## =>This Loop Header: Depth=1
## Child Loop BB0_73 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_80
## %bb.72: ## in Loop: Header=BB0_71 Depth=1
movl $0, -48(%rbp)
LBB0_73: ## Parent Loop BB0_71 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_78
## %bb.74: ## in Loop: Header=BB0_73 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_76
jp LBB0_76
## %bb.75: ## in Loop: Header=BB0_73 Depth=2
movl $0, -72(%rbp)
LBB0_76: ## in Loop: Header=BB0_73 Depth=2
jmp LBB0_77
LBB0_77: ## in Loop: Header=BB0_73 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_73
LBB0_78: ## in Loop: Header=BB0_71 Depth=1
jmp LBB0_79
LBB0_79: ## in Loop: Header=BB0_71 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_71
LBB0_80:
jmp LBB0_81
LBB0_81: ## =>This Loop Header: Depth=1
## Child Loop BB0_83 Depth 2
## Child Loop BB0_85 Depth 3
## Child Loop BB0_94 Depth 2
## Child Loop BB0_141 Depth 2
## Child Loop BB0_143 Depth 3
## Child Loop BB0_127 Depth 2
## Child Loop BB0_129 Depth 3
## Child Loop BB0_113 Depth 2
## Child Loop BB0_115 Depth 3
## Child Loop BB0_99 Depth 2
## Child Loop BB0_101 Depth 3
## Child Loop BB0_161 Depth 2
## Child Loop BB0_163 Depth 3
cmpl $0, -72(%rbp)
jne LBB0_172
## %bb.82: ## in Loop: Header=BB0_81 Depth=1
movl $0, -44(%rbp)
LBB0_83: ## Parent Loop BB0_81 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_85 Depth 3
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_93
## %bb.84: ## in Loop: Header=BB0_83 Depth=2
movl $0, -48(%rbp)
LBB0_85: ## Parent Loop BB0_81 Depth=1
## Parent Loop BB0_83 Depth=2
## => This Inner Loop Header: Depth=3
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_91
## %bb.86: ## in Loop: Header=BB0_85 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_89
jp LBB0_89
## %bb.87: ## in Loop: Header=BB0_85 Depth=3
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_88
jp LBB0_88
jmp LBB0_89
LBB0_88: ## in Loop: Header=BB0_85 Depth=3
movl -44(%rbp), %eax
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
movl %eax, -56(%rbp)
LBB0_89: ## in Loop: Header=BB0_85 Depth=3
jmp LBB0_90
LBB0_90: ## in Loop: Header=BB0_85 Depth=3
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_85
LBB0_91: ## in Loop: Header=BB0_83 Depth=2
jmp LBB0_92
LBB0_92: ## in Loop: Header=BB0_83 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_83
LBB0_93: ## in Loop: Header=BB0_81 Depth=1
movl $-1, -68(%rbp)
movl $0, -48(%rbp)
LBB0_94: ## Parent Loop BB0_81 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_160
## %bb.95: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_96
jp LBB0_96
jmp LBB0_109
LBB0_96: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_97
jp LBB0_97
jmp LBB0_109
LBB0_97: ## in Loop: Header=BB0_94 Depth=2
movq -32(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_98
jp LBB0_98
jmp LBB0_109
LBB0_98: ## in Loop: Header=BB0_81 Depth=1
movq -168(%rbp), %rax ## 8-byte Reload
movq -176(%rbp), %rdx ## 8-byte Reload
movq -144(%rbp), %rcx ## 8-byte Reload
movq -152(%rbp), %rdi ## 8-byte Reload
movq -192(%rbp), %rsi ## 8-byte Reload
movq -200(%rbp), %r9 ## 8-byte Reload
movslq -52(%rbp), %r10
imulq %r9, %r10
shlq $2, %r10
movq %rsi, %r8
addq %r10, %r8
movslq -48(%rbp), %r10
movss (%r8,%r10,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %r10
imulq %r9, %r10
shlq $2, %r10
movq %rsi, %r8
addq %r10, %r8
movslq -56(%rbp), %r10
movss %xmm0, (%r8,%r10,4)
movslq -52(%rbp), %r8
imulq %r9, %r8
shlq $2, %r8
addq %r8, %rsi
movslq -56(%rbp), %r8
movss (%rsi,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -56(%rbp), %rsi
subss (%rcx,%rsi,4), %xmm0
movq -40(%rbp), %rcx
movslq -52(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq -56(%rbp), %rsi
addss (%rcx,%rsi,4), %xmm0
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl $1, -68(%rbp)
movl $0, -44(%rbp)
LBB0_99: ## Parent Loop BB0_81 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_101 Depth 3
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_108
## %bb.100: ## in Loop: Header=BB0_99 Depth=2
movl $0, -48(%rbp)
LBB0_101: ## Parent Loop BB0_81 Depth=1
## Parent Loop BB0_99 Depth=2
## => This Inner Loop Header: Depth=3
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_106
## %bb.102: ## in Loop: Header=BB0_101 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_104
jp LBB0_104
## %bb.103: ## in Loop: Header=BB0_101 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
LBB0_104: ## in Loop: Header=BB0_101 Depth=3
jmp LBB0_105
LBB0_105: ## in Loop: Header=BB0_101 Depth=3
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_101
LBB0_106: ## in Loop: Header=BB0_99 Depth=2
jmp LBB0_107
LBB0_107: ## in Loop: Header=BB0_99 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_99
LBB0_108: ## in Loop: Header=BB0_81 Depth=1
jmp LBB0_160
LBB0_109: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -48(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -52(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_110
jp LBB0_110
jmp LBB0_123
LBB0_110: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -48(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -52(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_111
jp LBB0_111
jmp LBB0_123
LBB0_111: ## in Loop: Header=BB0_94 Depth=2
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -52(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_112
jp LBB0_112
jmp LBB0_123
LBB0_112: ## in Loop: Header=BB0_81 Depth=1
movq -168(%rbp), %rax ## 8-byte Reload
movq -176(%rbp), %rdx ## 8-byte Reload
movq -144(%rbp), %rcx ## 8-byte Reload
movq -152(%rbp), %rdi ## 8-byte Reload
movq -192(%rbp), %rsi ## 8-byte Reload
movq -200(%rbp), %r9 ## 8-byte Reload
movslq -48(%rbp), %r10
imulq %rdx, %r10
shlq $2, %r10
movq %rax, %r8
addq %r10, %r8
movslq -52(%rbp), %r10
movss (%r8,%r10,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %r10
imulq %r9, %r10
shlq $2, %r10
movq %rsi, %r8
addq %r10, %r8
movslq -56(%rbp), %r10
movss %xmm0, (%r8,%r10,4)
movslq -52(%rbp), %r8
imulq %r9, %r8
shlq $2, %r8
addq %r8, %rsi
movslq -56(%rbp), %r8
movss (%rsi,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -56(%rbp), %rsi
subss (%rcx,%rsi,4), %xmm0
movq -40(%rbp), %rcx
movslq -52(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq -56(%rbp), %rsi
addss (%rcx,%rsi,4), %xmm0
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl $1, -68(%rbp)
movl $0, -44(%rbp)
LBB0_113: ## Parent Loop BB0_81 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_115 Depth 3
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_122
## %bb.114: ## in Loop: Header=BB0_113 Depth=2
movl $0, -48(%rbp)
LBB0_115: ## Parent Loop BB0_81 Depth=1
## Parent Loop BB0_113 Depth=2
## => This Inner Loop Header: Depth=3
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_120
## %bb.116: ## in Loop: Header=BB0_115 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_118
jp LBB0_118
## %bb.117: ## in Loop: Header=BB0_115 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
LBB0_118: ## in Loop: Header=BB0_115 Depth=3
jmp LBB0_119
LBB0_119: ## in Loop: Header=BB0_115 Depth=3
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_115
LBB0_120: ## in Loop: Header=BB0_113 Depth=2
jmp LBB0_121
LBB0_121: ## in Loop: Header=BB0_113 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_113
LBB0_122: ## in Loop: Header=BB0_81 Depth=1
jmp LBB0_160
LBB0_123: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -56(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_124
jp LBB0_124
jmp LBB0_137
LBB0_124: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -56(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_125
jp LBB0_125
jmp LBB0_137
LBB0_125: ## in Loop: Header=BB0_94 Depth=2
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_126
jp LBB0_126
jmp LBB0_137
LBB0_126: ## in Loop: Header=BB0_81 Depth=1
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movq -144(%rbp), %rcx ## 8-byte Reload
movq -152(%rbp), %rdi ## 8-byte Reload
movq -168(%rbp), %rsi ## 8-byte Reload
movq -176(%rbp), %r9 ## 8-byte Reload
movslq -56(%rbp), %r10
imulq %rdx, %r10
shlq $2, %r10
movq %rax, %r8
addq %r10, %r8
movslq -48(%rbp), %r10
movss (%r8,%r10,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %r10
imulq %r9, %r10
shlq $2, %r10
movq %rsi, %r8
addq %r10, %r8
movslq -56(%rbp), %r10
movss %xmm0, (%r8,%r10,4)
movslq -52(%rbp), %r8
imulq %r9, %r8
shlq $2, %r8
addq %r8, %rsi
movslq -56(%rbp), %r8
movss (%rsi,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -56(%rbp), %rsi
addss (%rcx,%rsi,4), %xmm0
movq -40(%rbp), %rcx
movslq -52(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq -56(%rbp), %rsi
subss (%rcx,%rsi,4), %xmm0
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl $1, -68(%rbp)
movl $0, -44(%rbp)
LBB0_127: ## Parent Loop BB0_81 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_129 Depth 3
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_136
## %bb.128: ## in Loop: Header=BB0_127 Depth=2
movl $0, -48(%rbp)
LBB0_129: ## Parent Loop BB0_81 Depth=1
## Parent Loop BB0_127 Depth=2
## => This Inner Loop Header: Depth=3
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_134
## %bb.130: ## in Loop: Header=BB0_129 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_132
jp LBB0_132
## %bb.131: ## in Loop: Header=BB0_129 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
LBB0_132: ## in Loop: Header=BB0_129 Depth=3
jmp LBB0_133
LBB0_133: ## in Loop: Header=BB0_129 Depth=3
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_129
LBB0_134: ## in Loop: Header=BB0_127 Depth=2
jmp LBB0_135
LBB0_135: ## in Loop: Header=BB0_127 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_127
LBB0_136: ## in Loop: Header=BB0_81 Depth=1
jmp LBB0_160
LBB0_137: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -48(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_138
jp LBB0_138
jmp LBB0_151
LBB0_138: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -48(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_139
jp LBB0_139
jmp LBB0_151
LBB0_139: ## in Loop: Header=BB0_94 Depth=2
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -56(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_140
jp LBB0_140
jmp LBB0_151
LBB0_140: ## in Loop: Header=BB0_81 Depth=1
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movq -144(%rbp), %rcx ## 8-byte Reload
movq -152(%rbp), %rdi ## 8-byte Reload
movq -168(%rbp), %rsi ## 8-byte Reload
movq -176(%rbp), %r9 ## 8-byte Reload
movslq -48(%rbp), %r10
imulq %r9, %r10
shlq $2, %r10
movq %rsi, %r8
addq %r10, %r8
movslq -56(%rbp), %r10
movss (%r8,%r10,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %r10
imulq %r9, %r10
shlq $2, %r10
movq %rsi, %r8
addq %r10, %r8
movslq -56(%rbp), %r10
movss %xmm0, (%r8,%r10,4)
movslq -52(%rbp), %r8
imulq %r9, %r8
shlq $2, %r8
addq %r8, %rsi
movslq -56(%rbp), %r8
movss (%rsi,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -52(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rcx
movslq -56(%rbp), %rsi
addss (%rcx,%rsi,4), %xmm0
movq -40(%rbp), %rcx
movslq -52(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq -56(%rbp), %rsi
subss (%rcx,%rsi,4), %xmm0
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl $1, -68(%rbp)
movl $0, -44(%rbp)
LBB0_141: ## Parent Loop BB0_81 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_143 Depth 3
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_150
## %bb.142: ## in Loop: Header=BB0_141 Depth=2
movl $0, -48(%rbp)
LBB0_143: ## Parent Loop BB0_81 Depth=1
## Parent Loop BB0_141 Depth=2
## => This Inner Loop Header: Depth=3
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_148
## %bb.144: ## in Loop: Header=BB0_143 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_146
jp LBB0_146
## %bb.145: ## in Loop: Header=BB0_143 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
LBB0_146: ## in Loop: Header=BB0_143 Depth=3
jmp LBB0_147
LBB0_147: ## in Loop: Header=BB0_143 Depth=3
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_143
LBB0_148: ## in Loop: Header=BB0_141 Depth=2
jmp LBB0_149
LBB0_149: ## in Loop: Header=BB0_141 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_141
LBB0_150: ## in Loop: Header=BB0_81 Depth=1
jmp LBB0_160
LBB0_151: ## in Loop: Header=BB0_94 Depth=2
cmpl $-1, -68(%rbp)
jne LBB0_154
## %bb.152: ## in Loop: Header=BB0_94 Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB0_154
## %bb.153: ## in Loop: Header=BB0_94 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movss LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
LBB0_154: ## in Loop: Header=BB0_94 Depth=2
jmp LBB0_155
LBB0_155: ## in Loop: Header=BB0_94 Depth=2
jmp LBB0_156
LBB0_156: ## in Loop: Header=BB0_94 Depth=2
jmp LBB0_157
LBB0_157: ## in Loop: Header=BB0_94 Depth=2
jmp LBB0_158
LBB0_158: ## in Loop: Header=BB0_94 Depth=2
jmp LBB0_159
LBB0_159: ## in Loop: Header=BB0_94 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_94
LBB0_160: ## in Loop: Header=BB0_81 Depth=1
movl $1, -72(%rbp)
movl $0, -44(%rbp)
LBB0_161: ## Parent Loop BB0_81 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_163 Depth 3
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_171
## %bb.162: ## in Loop: Header=BB0_161 Depth=2
movl $0, -48(%rbp)
LBB0_163: ## Parent Loop BB0_81 Depth=1
## Parent Loop BB0_161 Depth=2
## => This Inner Loop Header: Depth=3
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_169
## %bb.164: ## in Loop: Header=BB0_163 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB0_167
jp LBB0_167
## %bb.165: ## in Loop: Header=BB0_163 Depth=3
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_166
jp LBB0_166
jmp LBB0_167
LBB0_166: ## in Loop: Header=BB0_163 Depth=3
movl $0, -72(%rbp)
LBB0_167: ## in Loop: Header=BB0_163 Depth=3
jmp LBB0_168
LBB0_168: ## in Loop: Header=BB0_163 Depth=3
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_163
LBB0_169: ## in Loop: Header=BB0_161 Depth=2
jmp LBB0_170
LBB0_170: ## in Loop: Header=BB0_161 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_161
LBB0_171: ## in Loop: Header=BB0_81 Depth=1
jmp LBB0_81
LBB0_172:
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -60(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -64(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_175
## %bb.173:
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movslq -60(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -64(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_175
## %bb.174:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_175:
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, -136(%rbp)
movq -136(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -44(%rbp)
LBB0_176: ## =>This Loop Header: Depth=1
## Child Loop BB0_178 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_183
## %bb.177: ## in Loop: Header=BB0_176 Depth=1
movl $0, -48(%rbp)
LBB0_178: ## Parent Loop BB0_176 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_181
## %bb.179: ## in Loop: Header=BB0_178 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movq -136(%rbp), %rdi
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.180: ## in Loop: Header=BB0_178 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_178
LBB0_181: ## in Loop: Header=BB0_176 Depth=1
movq -192(%rbp), %rax ## 8-byte Reload
movq -200(%rbp), %rdx ## 8-byte Reload
movq -136(%rbp), %rdi
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.5(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.182: ## in Loop: Header=BB0_176 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_176
LBB0_183:
movq -136(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -44(%rbp)
LBB0_184: ## =>This Loop Header: Depth=1
## Child Loop BB0_186 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_191
## %bb.185: ## in Loop: Header=BB0_184 Depth=1
movl $0, -48(%rbp)
LBB0_186: ## Parent Loop BB0_184 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_189
## %bb.187: ## in Loop: Header=BB0_186 Depth=2
movq -168(%rbp), %rax ## 8-byte Reload
movq -176(%rbp), %rdx ## 8-byte Reload
movq -136(%rbp), %rdi
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.188: ## in Loop: Header=BB0_186 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_186
LBB0_189: ## in Loop: Header=BB0_184 Depth=1
movq -168(%rbp), %rax ## 8-byte Reload
movq -176(%rbp), %rdx ## 8-byte Reload
movq -136(%rbp), %rdi
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.5(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.190: ## in Loop: Header=BB0_184 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_184
LBB0_191:
movq -136(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -44(%rbp)
LBB0_192: ## =>This Loop Header: Depth=1
## Child Loop BB0_194 Depth 2
movl -44(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_199
## %bb.193: ## in Loop: Header=BB0_192 Depth=1
movl $0, -48(%rbp)
LBB0_194: ## Parent Loop BB0_192 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_197
## %bb.195: ## in Loop: Header=BB0_194 Depth=2
movq -144(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rdx ## 8-byte Reload
movq -136(%rbp), %rdi
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.196: ## in Loop: Header=BB0_194 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_194
LBB0_197: ## in Loop: Header=BB0_192 Depth=1
movq -144(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rdx ## 8-byte Reload
movq -136(%rbp), %rdi
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.5(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.198: ## in Loop: Header=BB0_192 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_192
LBB0_199:
cmpq $0, -136(%rbp)
jne LBB0_201
## %bb.200:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_202
LBB0_201:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB0_202:
movq -80(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_204
## %bb.203:
movq %rbp, %rsp
popq %rbp
retq
LBB0_204:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nResults pass the final check\n"
L_.str.1: ## @.str.1
.asciz "tension.dat"
L_.str.2: ## @.str.2
.asciz "w"
L_.str.3: ## @.str.3
.asciz "The initial voltage matrix stores voltages at the start of each branch, where the start of branch is defined by current flow\n"
L_.str.4: ## @.str.4
.asciz "%f\t"
L_.str.5: ## @.str.5
.asciz "%f\n"
L_.str.6: ## @.str.6
.asciz "The final voltage matrix stores the voltages at the end of each branch.\n"
L_.str.7: ## @.str.7
.asciz "The voltage matrix stores voltages across each resistor.\n"
L_.str.8: ## @.str.8
.asciz "\nError while writing tension.dat\n"
L_.str.9: ## @.str.9
.asciz "\nFile tension.dat has been written\n"
.subsections_via_symbols
| the_stack_data/93886626.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, _p@PAGE
ldr x8, [x8, _p@PAGEOFF]
ldrsw x9, [sp, #12]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #11]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "abc"
.section __DATA,__data
.globl _p ; @p
.p2align 3
_p:
.quad l_.str
.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 _p(%rip), %rax
movslq -4(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -5(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "abc"
.section __DATA,__data
.globl _p ## @p
.p2align 3
_p:
.quad L_.str
.subsections_via_symbols
| the_stack_data/115766748.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _adpcm_reset ; -- Begin function adpcm_reset
.p2align 2
_adpcm_reset: ; @adpcm_reset
.cfi_startproc
; %bb.0:
adrp x9, _state@PAGE
adrp x8, _state@PAGE
add x8, x8, _state@PAGEOFF
str wzr, [x9, _state@PAGEOFF]
str wzr, [x8, #4]
str wzr, [x8, #8]
str wzr, [x8, #12]
ret
.cfi_endproc
; -- End function
.globl _adpcm_valprev ; -- Begin function adpcm_valprev
.p2align 2
_adpcm_valprev: ; @adpcm_valprev
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldrsw x9, [sp, #12]
adrp x8, _state@PAGE
add x8, x8, _state@PAGEOFF
ldr w8, [x8, x9, lsl #2]
sxth w0, w8
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _adpcm_index ; -- Begin function adpcm_index
.p2align 2
_adpcm_index: ; @adpcm_index
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _state@PAGE
add x8, x8, _state@PAGEOFF
add x8, x8, #8
str w0, [sp, #12]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
and w0, w8, #0xff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _adpcm_loop_reset ; -- Begin function adpcm_loop_reset
.p2align 2
_adpcm_loop_reset: ; @adpcm_loop_reset
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x10, _state@PAGE
add x10, x10, _state@PAGEOFF
add x9, x10, #8
str w0, [sp, #12]
strh w1, [sp, #10]
strb w2, [sp, #9]
ldrsh w8, [sp, #10]
ldrsw x11, [sp, #12]
str w8, [x10, x11, lsl #2]
ldrb w8, [sp, #9]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _adpcm_encode_mono ; -- Begin function adpcm_encode_mono
.p2align 2
_adpcm_encode_mono: ; @adpcm_encode_mono
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
adrp x8, _state@PAGE
add x8, x8, _state@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
str x0, [sp, #64]
str x1, [sp, #56]
str w2, [sp, #52]
str wzr, [sp, #48]
str wzr, [sp, #44]
str wzr, [sp, #40]
str wzr, [sp, #36]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_3
b LBB4_1
LBB4_1:
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2:
ldr w8, [sp, #52]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
str wzr, [sp, #76]
b LBB4_34
LBB4_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #52]
mov w10, #2
sdiv w9, w9, w10
str w9, [sp, #52]
ldrsw x9, [x8, #8]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #32]
mov w8, #1
str w8, [sp, #20]
b LBB4_5
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_31
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #64]
add x9, x8, #2
str x9, [sp, #64]
ldrsh w8, [x8]
str w8, [sp, #48]
ldr w8, [sp, #48]
adrp x9, _state@PAGE
ldr w9, [x9, _state@PAGEOFF]
subs w8, w8, w9
str w8, [sp, #36]
ldr w8, [sp, #36]
mov w9, #0
subs w8, w8, #0
cset w8, lt
and w10, w8, #0x1
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_5 Depth=1
ldr w9, [sp, #36]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #36]
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_5 Depth=1
str wzr, [sp, #40]
ldr w8, [sp, #32]
asr w8, w8, #3
str w8, [sp, #28]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_5 Depth=1
mov w8, #4
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #36]
subs w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #32]
asr w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #40]
orr w8, w8, #0x2
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #36]
subs w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #32]
asr w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB4_14
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #40]
orr w8, w8, #0x1
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_16
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_5 Depth=1
ldr w10, [sp, #28]
adrp x9, _state@PAGE
ldr w8, [x9, _state@PAGEOFF]
subs w8, w8, w10
str w8, [x9, _state@PAGEOFF]
b LBB4_17
LBB4_16: ; in Loop: Header=BB4_5 Depth=1
ldr w10, [sp, #28]
adrp x9, _state@PAGE
ldr w8, [x9, _state@PAGEOFF]
add w8, w8, w10
str w8, [x9, _state@PAGEOFF]
b LBB4_17
LBB4_17: ; in Loop: Header=BB4_5 Depth=1
adrp x8, _state@PAGE
ldr w8, [x8, _state@PAGEOFF]
subs w8, w8, #8, lsl #12 ; =32768
cset w8, lt
tbnz w8, #0, LBB4_19
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_5 Depth=1
mov w8, #32767
adrp x9, _state@PAGE
str w8, [x9, _state@PAGEOFF]
b LBB4_22
LBB4_19: ; in Loop: Header=BB4_5 Depth=1
adrp x8, _state@PAGE
ldr w8, [x8, _state@PAGEOFF]
adds w8, w8, #8, lsl #12 ; =32768
cset w8, ge
tbnz w8, #0, LBB4_21
b LBB4_20
LBB4_20: ; in Loop: Header=BB4_5 Depth=1
mov w8, #-32768
adrp x9, _state@PAGE
str w8, [x9, _state@PAGEOFF]
b LBB4_21
LBB4_21: ; in Loop: Header=BB4_5 Depth=1
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w10, [sp, #44]
ldr w9, [sp, #40]
orr w9, w9, w10
str w9, [sp, #40]
ldrsw x10, [sp, #40]
adrp x9, _indexTable@PAGE
add x9, x9, _indexTable@PAGEOFF
ldr w10, [x9, x10, lsl #2]
ldr w9, [x8, #8]
add w9, w9, w10
str w9, [x8, #8]
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_24
b LBB4_23
LBB4_23: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8, #8]
b LBB4_24
LBB4_24: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8, #8]
subs w8, w8, #88
cset w8, le
tbnz w8, #0, LBB4_26
b LBB4_25
LBB4_25: ; in Loop: Header=BB4_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #88
str w8, [x9, #8]
b LBB4_26
LBB4_26: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrsw x9, [x8, #8]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #32]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_28
b LBB4_27
LBB4_27: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #40]
lsl w8, w8, #4
and w8, w8, #0xf0
str w8, [sp, #24]
b LBB4_29
LBB4_28: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #40]
and w8, w8, #0xf
ldr w9, [sp, #24]
orr w8, w8, w9
ldr x9, [sp, #56]
add x10, x9, #1
str x10, [sp, #56]
strb w8, [x9]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB4_29
LBB4_29: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #20]
b LBB4_30
LBB4_30: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #1
str w8, [sp, #52]
b LBB4_5
LBB4_31:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_33
b LBB4_32
LBB4_32:
ldr w8, [sp, #24]
ldr x9, [sp, #56]
add x10, x9, #1
str x10, [sp, #56]
strb w8, [x9]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB4_33
LBB4_33:
ldr w8, [sp, #16]
str w8, [sp, #76]
b LBB4_34
LBB4_34:
ldr w0, [sp, #76]
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _adpcm_decode_mono ; -- Begin function adpcm_decode_mono
.p2align 2
_adpcm_decode_mono: ; @adpcm_decode_mono
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
adrp x8, _state@PAGE
add x8, x8, _state@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
str x0, [sp, #64]
str x1, [sp, #56]
str w2, [sp, #52]
str wzr, [sp, #48]
str wzr, [sp, #44]
str wzr, [sp, #40]
str wzr, [sp, #36]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
str wzr, [sp, #20]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_3
b LBB5_1
LBB5_1:
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2:
ldr w8, [sp, #52]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
str wzr, [sp, #76]
b LBB5_30
LBB5_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #52]
lsl w9, w9, #1
str w9, [sp, #52]
adrp x9, _state@PAGE
ldr w9, [x9, _state@PAGEOFF]
str w9, [sp, #36]
ldr w8, [x8, #8]
str w8, [sp, #28]
ldrsw x9, [sp, #28]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #40]
str wzr, [sp, #20]
b LBB5_5
LBB5_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_29
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #20]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #24]
and w8, w8, #0xf
str w8, [sp, #44]
b LBB5_9
LBB5_8: ; in Loop: Header=BB5_5 Depth=1
ldr x8, [sp, #64]
add x9, x8, #1
str x9, [sp, #64]
ldrb w8, [x8]
str w8, [sp, #24]
ldr w8, [sp, #24]
asr w8, w8, #4
and w8, w8, #0xf
str w8, [sp, #44]
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_5 Depth=1
ldrsw x9, [sp, #44]
adrp x8, _indexTable@PAGE
add x8, x8, _indexTable@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB5_11
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_5 Depth=1
str wzr, [sp, #28]
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #88
cset w8, le
tbnz w8, #0, LBB5_13
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_5 Depth=1
mov w8, #88
str w8, [sp, #28]
b LBB5_13
LBB5_13: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #44]
and w8, w8, #0x8
str w8, [sp, #48]
ldr w8, [sp, #44]
and w8, w8, #0x7
str w8, [sp, #44]
ldr w8, [sp, #40]
asr w8, w8, #3
str w8, [sp, #32]
ldr w8, [sp, #44]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB5_15
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_5 Depth=1
ldr w9, [sp, #40]
ldr w8, [sp, #32]
add w8, w8, w9
str w8, [sp, #32]
b LBB5_15
LBB5_15: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #44]
ands w8, w8, #0x2
cset w8, eq
tbnz w8, #0, LBB5_17
b LBB5_16
LBB5_16: ; in Loop: Header=BB5_5 Depth=1
ldr w9, [sp, #40]
ldr w8, [sp, #32]
add w8, w8, w9, asr #1
str w8, [sp, #32]
b LBB5_17
LBB5_17: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #44]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB5_19
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_5 Depth=1
ldr w9, [sp, #40]
ldr w8, [sp, #32]
add w8, w8, w9, asr #2
str w8, [sp, #32]
b LBB5_19
LBB5_19: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_21
b LBB5_20
LBB5_20: ; in Loop: Header=BB5_5 Depth=1
ldr w9, [sp, #32]
ldr w8, [sp, #36]
subs w8, w8, w9
str w8, [sp, #36]
b LBB5_22
LBB5_21: ; in Loop: Header=BB5_5 Depth=1
ldr w9, [sp, #32]
ldr w8, [sp, #36]
add w8, w8, w9
str w8, [sp, #36]
b LBB5_22
LBB5_22: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #8, lsl #12 ; =32768
cset w8, lt
tbnz w8, #0, LBB5_24
b LBB5_23
LBB5_23: ; in Loop: Header=BB5_5 Depth=1
mov w8, #32767
str w8, [sp, #36]
b LBB5_27
LBB5_24: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #36]
adds w8, w8, #8, lsl #12 ; =32768
cset w8, ge
tbnz w8, #0, LBB5_26
b LBB5_25
LBB5_25: ; in Loop: Header=BB5_5 Depth=1
mov w8, #-32768
str w8, [sp, #36]
b LBB5_26
LBB5_26: ; in Loop: Header=BB5_5 Depth=1
b LBB5_27
LBB5_27: ; in Loop: Header=BB5_5 Depth=1
ldrsw x9, [sp, #28]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #40]
ldr w8, [sp, #36]
ldr x9, [sp, #56]
add x10, x9, #2
str x10, [sp, #56]
strh w8, [x9]
b LBB5_28
LBB5_28: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB5_5
LBB5_29:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #36]
adrp x10, _state@PAGE
str w8, [x10, _state@PAGEOFF]
ldr w8, [sp, #28]
str w8, [x9, #8]
ldr w8, [sp, #20]
lsl w8, w8, #1
str w8, [sp, #76]
b LBB5_30
LBB5_30:
ldr w0, [sp, #76]
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _adpcm_encode_stereo ; -- Begin function adpcm_encode_stereo
.p2align 2
_adpcm_encode_stereo: ; @adpcm_encode_stereo
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
adrp x8, _state@PAGE
add x8, x8, _state@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
str x0, [sp, #64]
str x1, [sp, #56]
str w2, [sp, #52]
str wzr, [sp, #48]
str wzr, [sp, #44]
str wzr, [sp, #40]
str wzr, [sp, #36]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
str wzr, [sp, #20]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_1
LBB6_1:
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
ldr w8, [sp, #52]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
str wzr, [sp, #76]
b LBB6_49
LBB6_4:
ldr w8, [sp, #52]
mov w9, #4
sdiv w8, w8, w9
str w8, [sp, #52]
str wzr, [sp, #20]
b LBB6_5
LBB6_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_48
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrsw x9, [x8, #8]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #32]
ldr x8, [sp, #64]
add x9, x8, #2
str x9, [sp, #64]
ldrsh w8, [x8]
str w8, [sp, #48]
ldr w8, [sp, #48]
adrp x9, _state@PAGE
ldr w9, [x9, _state@PAGEOFF]
subs w8, w8, w9
str w8, [sp, #36]
ldr w8, [sp, #36]
mov w9, #0
subs w8, w8, #0
cset w8, lt
and w10, w8, #0x1
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_5 Depth=1
ldr w9, [sp, #36]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #36]
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_5 Depth=1
str wzr, [sp, #40]
ldr w8, [sp, #32]
asr w8, w8, #3
str w8, [sp, #28]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB6_10
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_5 Depth=1
mov w8, #4
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #36]
subs w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #32]
asr w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #40]
orr w8, w8, #0x2
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #36]
subs w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #32]
asr w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB6_14
b LBB6_13
LBB6_13: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #40]
orr w8, w8, #0x1
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_16
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_5 Depth=1
ldr w10, [sp, #28]
adrp x9, _state@PAGE
ldr w8, [x9, _state@PAGEOFF]
subs w8, w8, w10
str w8, [x9, _state@PAGEOFF]
b LBB6_17
LBB6_16: ; in Loop: Header=BB6_5 Depth=1
ldr w10, [sp, #28]
adrp x9, _state@PAGE
ldr w8, [x9, _state@PAGEOFF]
add w8, w8, w10
str w8, [x9, _state@PAGEOFF]
b LBB6_17
LBB6_17: ; in Loop: Header=BB6_5 Depth=1
adrp x8, _state@PAGE
ldr w8, [x8, _state@PAGEOFF]
subs w8, w8, #8, lsl #12 ; =32768
cset w8, lt
tbnz w8, #0, LBB6_19
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_5 Depth=1
mov w8, #32767
adrp x9, _state@PAGE
str w8, [x9, _state@PAGEOFF]
b LBB6_22
LBB6_19: ; in Loop: Header=BB6_5 Depth=1
adrp x8, _state@PAGE
ldr w8, [x8, _state@PAGEOFF]
adds w8, w8, #8, lsl #12 ; =32768
cset w8, ge
tbnz w8, #0, LBB6_21
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_5 Depth=1
mov w8, #-32768
adrp x9, _state@PAGE
str w8, [x9, _state@PAGEOFF]
b LBB6_21
LBB6_21: ; in Loop: Header=BB6_5 Depth=1
b LBB6_22
LBB6_22: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w10, [sp, #44]
ldr w9, [sp, #40]
orr w9, w9, w10
str w9, [sp, #40]
ldrsw x10, [sp, #40]
adrp x9, _indexTable@PAGE
add x9, x9, _indexTable@PAGEOFF
ldr w10, [x9, x10, lsl #2]
ldr w9, [x8, #8]
add w9, w9, w10
str w9, [x8, #8]
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB6_24
b LBB6_23
LBB6_23: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8, #8]
b LBB6_24
LBB6_24: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8, #8]
subs w8, w8, #88
cset w8, le
tbnz w8, #0, LBB6_26
b LBB6_25
LBB6_25: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #88
str w8, [x9, #8]
b LBB6_26
LBB6_26: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [x9, #8]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w10, [x8, x10, lsl #2]
str w10, [sp, #32]
ldr w10, [sp, #40]
lsl w10, w10, #4
and w10, w10, #0xf0
str w10, [sp, #24]
ldrsw x10, [x9, #12]
ldr w8, [x8, x10, lsl #2]
str w8, [sp, #32]
ldr x8, [sp, #64]
add x10, x8, #2
str x10, [sp, #64]
ldrsh w8, [x8]
str w8, [sp, #48]
ldr w8, [sp, #48]
ldr w9, [x9, #4]
subs w8, w8, w9
str w8, [sp, #36]
ldr w8, [sp, #36]
mov w9, #0
subs w8, w8, #0
cset w8, lt
and w10, w8, #0x1
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_28
b LBB6_27
LBB6_27: ; in Loop: Header=BB6_5 Depth=1
ldr w9, [sp, #36]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #36]
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_5 Depth=1
str wzr, [sp, #40]
ldr w8, [sp, #32]
asr w8, w8, #3
str w8, [sp, #28]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB6_30
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_5 Depth=1
mov w8, #4
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #36]
subs w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #32]
asr w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB6_32
b LBB6_31
LBB6_31: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #40]
orr w8, w8, #0x2
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #36]
subs w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB6_32
LBB6_32: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #32]
asr w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB6_34
b LBB6_33
LBB6_33: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #40]
orr w8, w8, #0x1
str w8, [sp, #40]
ldr w9, [sp, #32]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB6_34
LBB6_34: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_36
b LBB6_35
LBB6_35: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w10, [sp, #28]
ldr w8, [x9, #4]
subs w8, w8, w10
str w8, [x9, #4]
b LBB6_37
LBB6_36: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w10, [sp, #28]
ldr w8, [x9, #4]
add w8, w8, w10
str w8, [x9, #4]
b LBB6_37
LBB6_37: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #8, lsl #12 ; =32768
cset w8, lt
tbnz w8, #0, LBB6_39
b LBB6_38
LBB6_38: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #32767
str w8, [x9, #4]
b LBB6_42
LBB6_39: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8, #4]
adds w8, w8, #8, lsl #12 ; =32768
cset w8, ge
tbnz w8, #0, LBB6_41
b LBB6_40
LBB6_40: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #-32768
str w8, [x9, #4]
b LBB6_41
LBB6_41: ; in Loop: Header=BB6_5 Depth=1
b LBB6_42
LBB6_42: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w10, [sp, #44]
ldr w9, [sp, #40]
orr w9, w9, w10
str w9, [sp, #40]
ldrsw x10, [sp, #40]
adrp x9, _indexTable@PAGE
add x9, x9, _indexTable@PAGEOFF
ldr w10, [x9, x10, lsl #2]
ldr w9, [x8, #12]
add w9, w9, w10
str w9, [x8, #12]
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB6_44
b LBB6_43
LBB6_43: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8, #12]
b LBB6_44
LBB6_44: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8, #12]
subs w8, w8, #88
cset w8, le
tbnz w8, #0, LBB6_46
b LBB6_45
LBB6_45: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #88
str w8, [x9, #12]
b LBB6_46
LBB6_46: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrsw x9, [x8, #12]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #32]
ldr w8, [sp, #40]
and w8, w8, #0xf
ldr w9, [sp, #24]
orr w8, w8, w9
ldr x9, [sp, #56]
add x10, x9, #1
str x10, [sp, #56]
strb w8, [x9]
b LBB6_47
LBB6_47: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB6_5
LBB6_48:
ldr w8, [sp, #20]
str w8, [sp, #76]
b LBB6_49
LBB6_49:
ldr w0, [sp, #76]
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _adpcm_decode_stereo ; -- Begin function adpcm_decode_stereo
.p2align 2
_adpcm_decode_stereo: ; @adpcm_decode_stereo
.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, _state@PAGE
add x8, x8, _state@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #48]
str x1, [sp, #40]
str w2, [sp, #36]
str wzr, [sp, #32]
str wzr, [sp, #28]
stur xzr, [x29, #-16]
stur xzr, [x29, #-24]
str wzr, [sp, #24]
stur xzr, [x29, #-32]
str wzr, [sp, #20]
str wzr, [sp, #16]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_1
LBB7_1:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2:
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
stur wzr, [x29, #-36]
b LBB7_45
LBB7_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x9, _state@PAGE
ldr w9, [x9, _state@PAGEOFF]
stur w9, [x29, #-24]
ldr w9, [x8, #4]
stur w9, [x29, #-20]
ldr w9, [x8, #8]
stur w9, [x29, #-32]
ldr w8, [x8, #12]
stur w8, [x29, #-28]
ldursw x9, [x29, #-32]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w9, [x8, x9, lsl #2]
stur w9, [x29, #-16]
ldursw x9, [x29, #-28]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
str wzr, [sp, #16]
b LBB7_5
LBB7_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB7_44
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_5 Depth=1
ldr x8, [sp, #48]
add x9, x8, #1
str x9, [sp, #48]
ldrb w8, [x8]
str w8, [sp, #20]
ldr w8, [sp, #20]
asr w8, w8, #4
and w8, w8, #0xf
str w8, [sp, #28]
ldrsw x9, [sp, #28]
adrp x8, _indexTable@PAGE
add x8, x8, _indexTable@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldur w8, [x29, #-32]
add w8, w8, w9
stur w8, [x29, #-32]
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB7_8
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_5 Depth=1
stur wzr, [x29, #-32]
b LBB7_8
LBB7_8: ; in Loop: Header=BB7_5 Depth=1
ldur w8, [x29, #-32]
subs w8, w8, #88
cset w8, le
tbnz w8, #0, LBB7_10
b LBB7_9
LBB7_9: ; in Loop: Header=BB7_5 Depth=1
mov w8, #88
stur w8, [x29, #-32]
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #28]
and w8, w8, #0x8
str w8, [sp, #32]
ldr w8, [sp, #28]
and w8, w8, #0x7
str w8, [sp, #28]
ldur w8, [x29, #-16]
asr w8, w8, #3
str w8, [sp, #24]
ldr w8, [sp, #28]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB7_12
b LBB7_11
LBB7_11: ; in Loop: Header=BB7_5 Depth=1
ldur w9, [x29, #-16]
ldr w8, [sp, #24]
add w8, w8, w9
str w8, [sp, #24]
b LBB7_12
LBB7_12: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #28]
ands w8, w8, #0x2
cset w8, eq
tbnz w8, #0, LBB7_14
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_5 Depth=1
ldur w9, [x29, #-16]
ldr w8, [sp, #24]
add w8, w8, w9, asr #1
str w8, [sp, #24]
b LBB7_14
LBB7_14: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #28]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB7_16
b LBB7_15
LBB7_15: ; in Loop: Header=BB7_5 Depth=1
ldur w9, [x29, #-16]
ldr w8, [sp, #24]
add w8, w8, w9, asr #2
str w8, [sp, #24]
b LBB7_16
LBB7_16: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_18
b LBB7_17
LBB7_17: ; in Loop: Header=BB7_5 Depth=1
ldr w9, [sp, #24]
ldur w8, [x29, #-24]
subs w8, w8, w9
stur w8, [x29, #-24]
b LBB7_19
LBB7_18: ; in Loop: Header=BB7_5 Depth=1
ldr w9, [sp, #24]
ldur w8, [x29, #-24]
add w8, w8, w9
stur w8, [x29, #-24]
b LBB7_19
LBB7_19: ; in Loop: Header=BB7_5 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #8, lsl #12 ; =32768
cset w8, lt
tbnz w8, #0, LBB7_21
b LBB7_20
LBB7_20: ; in Loop: Header=BB7_5 Depth=1
mov w8, #32767
stur w8, [x29, #-24]
b LBB7_24
LBB7_21: ; in Loop: Header=BB7_5 Depth=1
ldur w8, [x29, #-24]
adds w8, w8, #8, lsl #12 ; =32768
cset w8, ge
tbnz w8, #0, LBB7_23
b LBB7_22
LBB7_22: ; in Loop: Header=BB7_5 Depth=1
mov w8, #-32768
stur w8, [x29, #-24]
b LBB7_23
LBB7_23: ; in Loop: Header=BB7_5 Depth=1
b LBB7_24
LBB7_24: ; in Loop: Header=BB7_5 Depth=1
ldursw x9, [x29, #-32]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-16]
ldur w8, [x29, #-24]
ldr x9, [sp, #40]
add x10, x9, #2
str x10, [sp, #40]
strh w8, [x9]
ldr w8, [sp, #20]
and w8, w8, #0xf
str w8, [sp, #28]
ldrsw x9, [sp, #28]
adrp x8, _indexTable@PAGE
add x8, x8, _indexTable@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldur w8, [x29, #-28]
add w8, w8, w9
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB7_26
b LBB7_25
LBB7_25: ; in Loop: Header=BB7_5 Depth=1
stur wzr, [x29, #-28]
b LBB7_26
LBB7_26: ; in Loop: Header=BB7_5 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #88
cset w8, le
tbnz w8, #0, LBB7_28
b LBB7_27
LBB7_27: ; in Loop: Header=BB7_5 Depth=1
mov w8, #88
stur w8, [x29, #-28]
b LBB7_28
LBB7_28: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #28]
and w8, w8, #0x8
str w8, [sp, #32]
ldr w8, [sp, #28]
and w8, w8, #0x7
str w8, [sp, #28]
ldur w8, [x29, #-12]
asr w8, w8, #3
str w8, [sp, #24]
ldr w8, [sp, #28]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB7_30
b LBB7_29
LBB7_29: ; in Loop: Header=BB7_5 Depth=1
ldur w9, [x29, #-12]
ldr w8, [sp, #24]
add w8, w8, w9
str w8, [sp, #24]
b LBB7_30
LBB7_30: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #28]
ands w8, w8, #0x2
cset w8, eq
tbnz w8, #0, LBB7_32
b LBB7_31
LBB7_31: ; in Loop: Header=BB7_5 Depth=1
ldur w9, [x29, #-12]
ldr w8, [sp, #24]
add w8, w8, w9, asr #1
str w8, [sp, #24]
b LBB7_32
LBB7_32: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #28]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB7_34
b LBB7_33
LBB7_33: ; in Loop: Header=BB7_5 Depth=1
ldur w9, [x29, #-12]
ldr w8, [sp, #24]
add w8, w8, w9, asr #2
str w8, [sp, #24]
b LBB7_34
LBB7_34: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_36
b LBB7_35
LBB7_35: ; in Loop: Header=BB7_5 Depth=1
ldr w9, [sp, #24]
ldur w8, [x29, #-20]
subs w8, w8, w9
stur w8, [x29, #-20]
b LBB7_37
LBB7_36: ; in Loop: Header=BB7_5 Depth=1
ldr w9, [sp, #24]
ldur w8, [x29, #-20]
add w8, w8, w9
stur w8, [x29, #-20]
b LBB7_37
LBB7_37: ; in Loop: Header=BB7_5 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #8, lsl #12 ; =32768
cset w8, lt
tbnz w8, #0, LBB7_39
b LBB7_38
LBB7_38: ; in Loop: Header=BB7_5 Depth=1
mov w8, #32767
stur w8, [x29, #-20]
b LBB7_42
LBB7_39: ; in Loop: Header=BB7_5 Depth=1
ldur w8, [x29, #-20]
adds w8, w8, #8, lsl #12 ; =32768
cset w8, ge
tbnz w8, #0, LBB7_41
b LBB7_40
LBB7_40: ; in Loop: Header=BB7_5 Depth=1
mov w8, #-32768
stur w8, [x29, #-20]
b LBB7_41
LBB7_41: ; in Loop: Header=BB7_5 Depth=1
b LBB7_42
LBB7_42: ; in Loop: Header=BB7_5 Depth=1
ldursw x9, [x29, #-28]
adrp x8, _stepsizeTable@PAGE
add x8, x8, _stepsizeTable@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
ldur w8, [x29, #-20]
ldr x9, [sp, #40]
add x10, x9, #2
str x10, [sp, #40]
strh w8, [x9]
b LBB7_43
LBB7_43: ; in Loop: Header=BB7_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB7_5
LBB7_44:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
adrp x10, _state@PAGE
str w8, [x10, _state@PAGEOFF]
ldur w8, [x29, #-20]
str w8, [x9, #4]
ldur w8, [x29, #-32]
str w8, [x9, #8]
ldur w8, [x29, #-28]
str w8, [x9, #12]
ldr w8, [sp, #16]
lsl w8, w8, #2
stur w8, [x29, #-36]
b LBB7_45
LBB7_45:
ldur w8, [x29, #-36]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB7_47
b LBB7_46
LBB7_46:
bl ___stack_chk_fail
LBB7_47:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _adpcm_encode ; -- Begin function adpcm_encode
.p2align 2
_adpcm_encode: ; @adpcm_encode
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
ldr w8, [sp]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
ldr w2, [sp, #4]
bl _adpcm_encode_stereo
stur w0, [x29, #-4]
b LBB8_3
LBB8_2:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
ldr w2, [sp, #4]
bl _adpcm_encode_mono
stur w0, [x29, #-4]
b LBB8_3
LBB8_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _adpcm_decode ; -- Begin function adpcm_decode
.p2align 2
_adpcm_decode: ; @adpcm_decode
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
ldr w8, [sp]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
ldr w2, [sp, #4]
bl _adpcm_decode_stereo
stur w0, [x29, #-4]
b LBB9_3
LBB9_2:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
ldr w2, [sp, #4]
bl _adpcm_decode_mono
stur w0, [x29, #-4]
b LBB9_3
LBB9_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_state,16,2 ; @state
.section __DATA,__data
.p2align 2 ; @stepsizeTable
_stepsizeTable:
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 16 ; 0x10
.long 17 ; 0x11
.long 19 ; 0x13
.long 21 ; 0x15
.long 23 ; 0x17
.long 25 ; 0x19
.long 28 ; 0x1c
.long 31 ; 0x1f
.long 34 ; 0x22
.long 37 ; 0x25
.long 41 ; 0x29
.long 45 ; 0x2d
.long 50 ; 0x32
.long 55 ; 0x37
.long 60 ; 0x3c
.long 66 ; 0x42
.long 73 ; 0x49
.long 80 ; 0x50
.long 88 ; 0x58
.long 97 ; 0x61
.long 107 ; 0x6b
.long 118 ; 0x76
.long 130 ; 0x82
.long 143 ; 0x8f
.long 157 ; 0x9d
.long 173 ; 0xad
.long 190 ; 0xbe
.long 209 ; 0xd1
.long 230 ; 0xe6
.long 253 ; 0xfd
.long 279 ; 0x117
.long 307 ; 0x133
.long 337 ; 0x151
.long 371 ; 0x173
.long 408 ; 0x198
.long 449 ; 0x1c1
.long 494 ; 0x1ee
.long 544 ; 0x220
.long 598 ; 0x256
.long 658 ; 0x292
.long 724 ; 0x2d4
.long 796 ; 0x31c
.long 876 ; 0x36c
.long 963 ; 0x3c3
.long 1060 ; 0x424
.long 1166 ; 0x48e
.long 1282 ; 0x502
.long 1411 ; 0x583
.long 1552 ; 0x610
.long 1707 ; 0x6ab
.long 1878 ; 0x756
.long 2066 ; 0x812
.long 2272 ; 0x8e0
.long 2499 ; 0x9c3
.long 2749 ; 0xabd
.long 3024 ; 0xbd0
.long 3327 ; 0xcff
.long 3660 ; 0xe4c
.long 4026 ; 0xfba
.long 4428 ; 0x114c
.long 4871 ; 0x1307
.long 5358 ; 0x14ee
.long 5894 ; 0x1706
.long 6484 ; 0x1954
.long 7132 ; 0x1bdc
.long 7845 ; 0x1ea5
.long 8630 ; 0x21b6
.long 9493 ; 0x2515
.long 10442 ; 0x28ca
.long 11487 ; 0x2cdf
.long 12635 ; 0x315b
.long 13899 ; 0x364b
.long 15289 ; 0x3bb9
.long 16818 ; 0x41b2
.long 18500 ; 0x4844
.long 20350 ; 0x4f7e
.long 22385 ; 0x5771
.long 24623 ; 0x602f
.long 27086 ; 0x69ce
.long 29794 ; 0x7462
.long 32767 ; 0x7fff
.p2align 2 ; @indexTable
_indexTable:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 2 ; 0x2
.long 4 ; 0x4
.long 6 ; 0x6
.long 8 ; 0x8
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 2 ; 0x2
.long 4 ; 0x4
.long 6 ; 0x6
.long 8 ; 0x8
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _adpcm_reset ## -- Begin function adpcm_reset
.p2align 4, 0x90
_adpcm_reset: ## @adpcm_reset
.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, _state(%rip)
movl $0, _state+4(%rip)
movl $0, _state+8(%rip)
movl $0, _state+12(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_valprev ## -- Begin function adpcm_valprev
.p2align 4, 0x90
_adpcm_valprev: ## @adpcm_valprev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movslq -4(%rbp), %rcx
leaq _state(%rip), %rax
movl (%rax,%rcx,4), %eax
## kill: def $ax killed $ax killed $eax
cwtl
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_index ## -- Begin function adpcm_index
.p2align 4, 0x90
_adpcm_index: ## @adpcm_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movslq -4(%rbp), %rcx
leaq _state(%rip), %rax
movl 8(%rax,%rcx,4), %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_loop_reset ## -- Begin function adpcm_loop_reset
.p2align 4, 0x90
_adpcm_loop_reset: ## @adpcm_loop_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dl, %al
movw %si, %cx
movl %edi, -4(%rbp)
movw %cx, -6(%rbp)
movb %al, -7(%rbp)
movswl -6(%rbp), %edx
movslq -4(%rbp), %rcx
leaq _state(%rip), %rax
movl %edx, (%rax,%rcx,4)
movzbl -7(%rbp), %edx
movslq -4(%rbp), %rcx
leaq _state(%rip), %rax
movl %edx, 8(%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_encode_mono ## -- Begin function adpcm_encode_mono
.p2align 4, 0x90
_adpcm_encode_mono: ## @adpcm_encode_mono
.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)
movl %edx, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
movl $0, -52(%rbp)
movl $0, -56(%rbp)
movl $0, -60(%rbp)
movl $0, -64(%rbp)
cmpq $0, -16(%rbp)
je LBB4_3
## %bb.1:
cmpq $0, -24(%rbp)
je LBB4_3
## %bb.2:
cmpl $2, -28(%rbp)
jge LBB4_4
LBB4_3:
movl $0, -4(%rbp)
jmp LBB4_34
LBB4_4:
movl -28(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -28(%rbp)
movslq _state+8(%rip), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp)
movl $1, -60(%rbp)
LBB4_5: ## =>This Inner Loop Header: Depth=1
cmpl $0, -28(%rbp)
jle LBB4_31
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $2, %rcx
movq %rcx, -16(%rbp)
movswl (%rax), %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
subl _state(%rip), %eax
movl %eax, -44(%rbp)
movl -44(%rbp), %edx
xorl %eax, %eax
movl $8, %ecx
cmpl $0, %edx
cmovll %ecx, %eax
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
je LBB4_8
## %bb.7: ## in Loop: Header=BB4_5 Depth=1
xorl %eax, %eax
subl -44(%rbp), %eax
movl %eax, -44(%rbp)
LBB4_8: ## in Loop: Header=BB4_5 Depth=1
movl $0, -40(%rbp)
movl -48(%rbp), %eax
sarl $3, %eax
movl %eax, -52(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB4_10
## %bb.9: ## in Loop: Header=BB4_5 Depth=1
movl $4, -40(%rbp)
movl -48(%rbp), %ecx
movl -44(%rbp), %eax
subl %ecx, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB4_10: ## in Loop: Header=BB4_5 Depth=1
movl -48(%rbp), %eax
sarl $1, %eax
movl %eax, -48(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB4_12
## %bb.11: ## in Loop: Header=BB4_5 Depth=1
movl -40(%rbp), %eax
orl $2, %eax
movl %eax, -40(%rbp)
movl -48(%rbp), %ecx
movl -44(%rbp), %eax
subl %ecx, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB4_12: ## in Loop: Header=BB4_5 Depth=1
movl -48(%rbp), %eax
sarl $1, %eax
movl %eax, -48(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB4_14
## %bb.13: ## in Loop: Header=BB4_5 Depth=1
movl -40(%rbp), %eax
orl $1, %eax
movl %eax, -40(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB4_14: ## in Loop: Header=BB4_5 Depth=1
cmpl $0, -36(%rbp)
je LBB4_16
## %bb.15: ## in Loop: Header=BB4_5 Depth=1
movl -52(%rbp), %ecx
movl _state(%rip), %eax
subl %ecx, %eax
movl %eax, _state(%rip)
jmp LBB4_17
LBB4_16: ## in Loop: Header=BB4_5 Depth=1
movl -52(%rbp), %eax
addl _state(%rip), %eax
movl %eax, _state(%rip)
LBB4_17: ## in Loop: Header=BB4_5 Depth=1
cmpl $32767, _state(%rip) ## imm = 0x7FFF
jle LBB4_19
## %bb.18: ## in Loop: Header=BB4_5 Depth=1
movl $32767, _state(%rip) ## imm = 0x7FFF
jmp LBB4_22
LBB4_19: ## in Loop: Header=BB4_5 Depth=1
cmpl $-32768, _state(%rip) ## imm = 0x8000
jge LBB4_21
## %bb.20: ## in Loop: Header=BB4_5 Depth=1
movl $-32768, _state(%rip) ## imm = 0x8000
LBB4_21: ## in Loop: Header=BB4_5 Depth=1
jmp LBB4_22
LBB4_22: ## in Loop: Header=BB4_5 Depth=1
movl -36(%rbp), %eax
orl -40(%rbp), %eax
movl %eax, -40(%rbp)
movslq -40(%rbp), %rcx
leaq _indexTable(%rip), %rax
movl (%rax,%rcx,4), %eax
addl _state+8(%rip), %eax
movl %eax, _state+8(%rip)
cmpl $0, _state+8(%rip)
jge LBB4_24
## %bb.23: ## in Loop: Header=BB4_5 Depth=1
movl $0, _state+8(%rip)
LBB4_24: ## in Loop: Header=BB4_5 Depth=1
cmpl $88, _state+8(%rip)
jle LBB4_26
## %bb.25: ## in Loop: Header=BB4_5 Depth=1
movl $88, _state+8(%rip)
LBB4_26: ## in Loop: Header=BB4_5 Depth=1
movslq _state+8(%rip), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp)
cmpl $0, -60(%rbp)
je LBB4_28
## %bb.27: ## in Loop: Header=BB4_5 Depth=1
movl -40(%rbp), %eax
shll $4, %eax
andl $240, %eax
movl %eax, -56(%rbp)
jmp LBB4_29
LBB4_28: ## in Loop: Header=BB4_5 Depth=1
movl -40(%rbp), %eax
andl $15, %eax
orl -56(%rbp), %eax
movb %al, %cl
movq -24(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -24(%rbp)
movb %cl, (%rax)
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
LBB4_29: ## in Loop: Header=BB4_5 Depth=1
cmpl $0, -60(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -60(%rbp)
## %bb.30: ## in Loop: Header=BB4_5 Depth=1
movl -28(%rbp), %eax
addl $-1, %eax
movl %eax, -28(%rbp)
jmp LBB4_5
LBB4_31:
cmpl $0, -60(%rbp)
jne LBB4_33
## %bb.32:
movl -56(%rbp), %eax
movb %al, %cl
movq -24(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -24(%rbp)
movb %cl, (%rax)
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
LBB4_33:
movl -64(%rbp), %eax
movl %eax, -4(%rbp)
LBB4_34:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_decode_mono ## -- Begin function adpcm_decode_mono
.p2align 4, 0x90
_adpcm_decode_mono: ## @adpcm_decode_mono
.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)
movl %edx, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
movl $0, -52(%rbp)
movl $0, -56(%rbp)
movl $0, -60(%rbp)
cmpq $0, -16(%rbp)
je LBB5_3
## %bb.1:
cmpq $0, -24(%rbp)
je LBB5_3
## %bb.2:
cmpl $1, -28(%rbp)
jge LBB5_4
LBB5_3:
movl $0, -4(%rbp)
jmp LBB5_30
LBB5_4:
movl -28(%rbp), %eax
shll $1, %eax
movl %eax, -28(%rbp)
movl _state(%rip), %eax
movl %eax, -44(%rbp)
movl _state+8(%rip), %eax
movl %eax, -52(%rbp)
movslq -52(%rbp), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -40(%rbp)
movl $0, -60(%rbp)
LBB5_5: ## =>This Inner Loop Header: Depth=1
movl -60(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB5_29
## %bb.6: ## in Loop: Header=BB5_5 Depth=1
movl -60(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB5_8
## %bb.7: ## in Loop: Header=BB5_5 Depth=1
movl -56(%rbp), %eax
andl $15, %eax
movl %eax, -36(%rbp)
jmp LBB5_9
LBB5_8: ## in Loop: Header=BB5_5 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movzbl (%rax), %eax
movl %eax, -56(%rbp)
movl -56(%rbp), %eax
sarl $4, %eax
andl $15, %eax
movl %eax, -36(%rbp)
LBB5_9: ## in Loop: Header=BB5_5 Depth=1
movslq -36(%rbp), %rcx
leaq _indexTable(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
cmpl $0, -52(%rbp)
jge LBB5_11
## %bb.10: ## in Loop: Header=BB5_5 Depth=1
movl $0, -52(%rbp)
LBB5_11: ## in Loop: Header=BB5_5 Depth=1
cmpl $88, -52(%rbp)
jle LBB5_13
## %bb.12: ## in Loop: Header=BB5_5 Depth=1
movl $88, -52(%rbp)
LBB5_13: ## in Loop: Header=BB5_5 Depth=1
movl -36(%rbp), %eax
andl $8, %eax
movl %eax, -32(%rbp)
movl -36(%rbp), %eax
andl $7, %eax
movl %eax, -36(%rbp)
movl -40(%rbp), %eax
sarl $3, %eax
movl %eax, -48(%rbp)
movl -36(%rbp), %eax
andl $4, %eax
cmpl $0, %eax
je LBB5_15
## %bb.14: ## in Loop: Header=BB5_5 Depth=1
movl -40(%rbp), %eax
addl -48(%rbp), %eax
movl %eax, -48(%rbp)
LBB5_15: ## in Loop: Header=BB5_5 Depth=1
movl -36(%rbp), %eax
andl $2, %eax
cmpl $0, %eax
je LBB5_17
## %bb.16: ## in Loop: Header=BB5_5 Depth=1
movl -40(%rbp), %eax
sarl $1, %eax
addl -48(%rbp), %eax
movl %eax, -48(%rbp)
LBB5_17: ## in Loop: Header=BB5_5 Depth=1
movl -36(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB5_19
## %bb.18: ## in Loop: Header=BB5_5 Depth=1
movl -40(%rbp), %eax
sarl $2, %eax
addl -48(%rbp), %eax
movl %eax, -48(%rbp)
LBB5_19: ## in Loop: Header=BB5_5 Depth=1
cmpl $0, -32(%rbp)
je LBB5_21
## %bb.20: ## in Loop: Header=BB5_5 Depth=1
movl -48(%rbp), %ecx
movl -44(%rbp), %eax
subl %ecx, %eax
movl %eax, -44(%rbp)
jmp LBB5_22
LBB5_21: ## in Loop: Header=BB5_5 Depth=1
movl -48(%rbp), %eax
addl -44(%rbp), %eax
movl %eax, -44(%rbp)
LBB5_22: ## in Loop: Header=BB5_5 Depth=1
cmpl $32767, -44(%rbp) ## imm = 0x7FFF
jle LBB5_24
## %bb.23: ## in Loop: Header=BB5_5 Depth=1
movl $32767, -44(%rbp) ## imm = 0x7FFF
jmp LBB5_27
LBB5_24: ## in Loop: Header=BB5_5 Depth=1
cmpl $-32768, -44(%rbp) ## imm = 0x8000
jge LBB5_26
## %bb.25: ## in Loop: Header=BB5_5 Depth=1
movl $-32768, -44(%rbp) ## imm = 0x8000
LBB5_26: ## in Loop: Header=BB5_5 Depth=1
jmp LBB5_27
LBB5_27: ## in Loop: Header=BB5_5 Depth=1
movslq -52(%rbp), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -40(%rbp)
movl -44(%rbp), %eax
movw %ax, %cx
movq -24(%rbp), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, -24(%rbp)
movw %cx, (%rax)
## %bb.28: ## in Loop: Header=BB5_5 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB5_5
LBB5_29:
movl -44(%rbp), %eax
movl %eax, _state(%rip)
movl -52(%rbp), %eax
movl %eax, _state+8(%rip)
movl -60(%rbp), %eax
shll $1, %eax
movl %eax, -4(%rbp)
LBB5_30:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_encode_stereo ## -- Begin function adpcm_encode_stereo
.p2align 4, 0x90
_adpcm_encode_stereo: ## @adpcm_encode_stereo
.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)
movl %edx, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
movl $0, -52(%rbp)
movl $0, -56(%rbp)
movl $0, -60(%rbp)
cmpq $0, -16(%rbp)
je LBB6_3
## %bb.1:
cmpq $0, -24(%rbp)
je LBB6_3
## %bb.2:
cmpl $4, -28(%rbp)
jge LBB6_4
LBB6_3:
movl $0, -4(%rbp)
jmp LBB6_49
LBB6_4:
movl -28(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
movl %eax, -28(%rbp)
movl $0, -60(%rbp)
LBB6_5: ## =>This Inner Loop Header: Depth=1
movl -60(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB6_48
## %bb.6: ## in Loop: Header=BB6_5 Depth=1
movslq _state+8(%rip), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp)
movq -16(%rbp), %rax
movq %rax, %rcx
addq $2, %rcx
movq %rcx, -16(%rbp)
movswl (%rax), %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
subl _state(%rip), %eax
movl %eax, -44(%rbp)
movl -44(%rbp), %edx
xorl %eax, %eax
movl $8, %ecx
cmpl $0, %edx
cmovll %ecx, %eax
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
je LBB6_8
## %bb.7: ## in Loop: Header=BB6_5 Depth=1
xorl %eax, %eax
subl -44(%rbp), %eax
movl %eax, -44(%rbp)
LBB6_8: ## in Loop: Header=BB6_5 Depth=1
movl $0, -40(%rbp)
movl -48(%rbp), %eax
sarl $3, %eax
movl %eax, -52(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB6_10
## %bb.9: ## in Loop: Header=BB6_5 Depth=1
movl $4, -40(%rbp)
movl -48(%rbp), %ecx
movl -44(%rbp), %eax
subl %ecx, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB6_10: ## in Loop: Header=BB6_5 Depth=1
movl -48(%rbp), %eax
sarl $1, %eax
movl %eax, -48(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB6_12
## %bb.11: ## in Loop: Header=BB6_5 Depth=1
movl -40(%rbp), %eax
orl $2, %eax
movl %eax, -40(%rbp)
movl -48(%rbp), %ecx
movl -44(%rbp), %eax
subl %ecx, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB6_12: ## in Loop: Header=BB6_5 Depth=1
movl -48(%rbp), %eax
sarl $1, %eax
movl %eax, -48(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB6_14
## %bb.13: ## in Loop: Header=BB6_5 Depth=1
movl -40(%rbp), %eax
orl $1, %eax
movl %eax, -40(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB6_14: ## in Loop: Header=BB6_5 Depth=1
cmpl $0, -36(%rbp)
je LBB6_16
## %bb.15: ## in Loop: Header=BB6_5 Depth=1
movl -52(%rbp), %ecx
movl _state(%rip), %eax
subl %ecx, %eax
movl %eax, _state(%rip)
jmp LBB6_17
LBB6_16: ## in Loop: Header=BB6_5 Depth=1
movl -52(%rbp), %eax
addl _state(%rip), %eax
movl %eax, _state(%rip)
LBB6_17: ## in Loop: Header=BB6_5 Depth=1
cmpl $32767, _state(%rip) ## imm = 0x7FFF
jle LBB6_19
## %bb.18: ## in Loop: Header=BB6_5 Depth=1
movl $32767, _state(%rip) ## imm = 0x7FFF
jmp LBB6_22
LBB6_19: ## in Loop: Header=BB6_5 Depth=1
cmpl $-32768, _state(%rip) ## imm = 0x8000
jge LBB6_21
## %bb.20: ## in Loop: Header=BB6_5 Depth=1
movl $-32768, _state(%rip) ## imm = 0x8000
LBB6_21: ## in Loop: Header=BB6_5 Depth=1
jmp LBB6_22
LBB6_22: ## in Loop: Header=BB6_5 Depth=1
movl -36(%rbp), %eax
orl -40(%rbp), %eax
movl %eax, -40(%rbp)
movslq -40(%rbp), %rcx
leaq _indexTable(%rip), %rax
movl (%rax,%rcx,4), %eax
addl _state+8(%rip), %eax
movl %eax, _state+8(%rip)
cmpl $0, _state+8(%rip)
jge LBB6_24
## %bb.23: ## in Loop: Header=BB6_5 Depth=1
movl $0, _state+8(%rip)
LBB6_24: ## in Loop: Header=BB6_5 Depth=1
cmpl $88, _state+8(%rip)
jle LBB6_26
## %bb.25: ## in Loop: Header=BB6_5 Depth=1
movl $88, _state+8(%rip)
LBB6_26: ## in Loop: Header=BB6_5 Depth=1
movslq _state+8(%rip), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp)
movl -40(%rbp), %eax
shll $4, %eax
andl $240, %eax
movl %eax, -56(%rbp)
movslq _state+12(%rip), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp)
movq -16(%rbp), %rax
movq %rax, %rcx
addq $2, %rcx
movq %rcx, -16(%rbp)
movswl (%rax), %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
subl _state+4(%rip), %eax
movl %eax, -44(%rbp)
movl -44(%rbp), %edx
xorl %eax, %eax
movl $8, %ecx
cmpl $0, %edx
cmovll %ecx, %eax
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
je LBB6_28
## %bb.27: ## in Loop: Header=BB6_5 Depth=1
xorl %eax, %eax
subl -44(%rbp), %eax
movl %eax, -44(%rbp)
LBB6_28: ## in Loop: Header=BB6_5 Depth=1
movl $0, -40(%rbp)
movl -48(%rbp), %eax
sarl $3, %eax
movl %eax, -52(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB6_30
## %bb.29: ## in Loop: Header=BB6_5 Depth=1
movl $4, -40(%rbp)
movl -48(%rbp), %ecx
movl -44(%rbp), %eax
subl %ecx, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB6_30: ## in Loop: Header=BB6_5 Depth=1
movl -48(%rbp), %eax
sarl $1, %eax
movl %eax, -48(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB6_32
## %bb.31: ## in Loop: Header=BB6_5 Depth=1
movl -40(%rbp), %eax
orl $2, %eax
movl %eax, -40(%rbp)
movl -48(%rbp), %ecx
movl -44(%rbp), %eax
subl %ecx, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB6_32: ## in Loop: Header=BB6_5 Depth=1
movl -48(%rbp), %eax
sarl $1, %eax
movl %eax, -48(%rbp)
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jl LBB6_34
## %bb.33: ## in Loop: Header=BB6_5 Depth=1
movl -40(%rbp), %eax
orl $1, %eax
movl %eax, -40(%rbp)
movl -48(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB6_34: ## in Loop: Header=BB6_5 Depth=1
cmpl $0, -36(%rbp)
je LBB6_36
## %bb.35: ## in Loop: Header=BB6_5 Depth=1
movl -52(%rbp), %ecx
movl _state+4(%rip), %eax
subl %ecx, %eax
movl %eax, _state+4(%rip)
jmp LBB6_37
LBB6_36: ## in Loop: Header=BB6_5 Depth=1
movl -52(%rbp), %eax
addl _state+4(%rip), %eax
movl %eax, _state+4(%rip)
LBB6_37: ## in Loop: Header=BB6_5 Depth=1
cmpl $32767, _state+4(%rip) ## imm = 0x7FFF
jle LBB6_39
## %bb.38: ## in Loop: Header=BB6_5 Depth=1
movl $32767, _state+4(%rip) ## imm = 0x7FFF
jmp LBB6_42
LBB6_39: ## in Loop: Header=BB6_5 Depth=1
cmpl $-32768, _state+4(%rip) ## imm = 0x8000
jge LBB6_41
## %bb.40: ## in Loop: Header=BB6_5 Depth=1
movl $-32768, _state+4(%rip) ## imm = 0x8000
LBB6_41: ## in Loop: Header=BB6_5 Depth=1
jmp LBB6_42
LBB6_42: ## in Loop: Header=BB6_5 Depth=1
movl -36(%rbp), %eax
orl -40(%rbp), %eax
movl %eax, -40(%rbp)
movslq -40(%rbp), %rcx
leaq _indexTable(%rip), %rax
movl (%rax,%rcx,4), %eax
addl _state+12(%rip), %eax
movl %eax, _state+12(%rip)
cmpl $0, _state+12(%rip)
jge LBB6_44
## %bb.43: ## in Loop: Header=BB6_5 Depth=1
movl $0, _state+12(%rip)
LBB6_44: ## in Loop: Header=BB6_5 Depth=1
cmpl $88, _state+12(%rip)
jle LBB6_46
## %bb.45: ## in Loop: Header=BB6_5 Depth=1
movl $88, _state+12(%rip)
LBB6_46: ## in Loop: Header=BB6_5 Depth=1
movslq _state+12(%rip), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp)
movl -40(%rbp), %eax
andl $15, %eax
orl -56(%rbp), %eax
movb %al, %cl
movq -24(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -24(%rbp)
movb %cl, (%rax)
## %bb.47: ## in Loop: Header=BB6_5 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB6_5
LBB6_48:
movl -60(%rbp), %eax
movl %eax, -4(%rbp)
LBB6_49:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_decode_stereo ## -- Begin function adpcm_decode_stereo
.p2align 4, 0x90
_adpcm_decode_stereo: ## @adpcm_decode_stereo
.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, -48(%rbp)
movq %rsi, -56(%rbp)
movl %edx, -60(%rbp)
movl $0, -64(%rbp)
movl $0, -68(%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
movl $0, -72(%rbp)
leaq -32(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movl $0, -76(%rbp)
movl $0, -80(%rbp)
cmpq $0, -48(%rbp)
je LBB7_3
## %bb.1:
cmpq $0, -56(%rbp)
je LBB7_3
## %bb.2:
cmpl $1, -60(%rbp)
jge LBB7_4
LBB7_3:
movl $0, -36(%rbp)
jmp LBB7_45
LBB7_4:
movl _state(%rip), %eax
movl %eax, -24(%rbp)
movl _state+4(%rip), %eax
movl %eax, -20(%rbp)
movl _state+8(%rip), %eax
movl %eax, -32(%rbp)
movl _state+12(%rip), %eax
movl %eax, -28(%rbp)
movslq -32(%rbp), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
movslq -28(%rbp), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
movl $0, -80(%rbp)
LBB7_5: ## =>This Inner Loop Header: Depth=1
movl -80(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB7_44
## %bb.6: ## in Loop: Header=BB7_5 Depth=1
movq -48(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -48(%rbp)
movzbl (%rax), %eax
movl %eax, -76(%rbp)
movl -76(%rbp), %eax
sarl $4, %eax
andl $15, %eax
movl %eax, -68(%rbp)
movslq -68(%rbp), %rcx
leaq _indexTable(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
cmpl $0, -32(%rbp)
jge LBB7_8
## %bb.7: ## in Loop: Header=BB7_5 Depth=1
movl $0, -32(%rbp)
LBB7_8: ## in Loop: Header=BB7_5 Depth=1
cmpl $88, -32(%rbp)
jle LBB7_10
## %bb.9: ## in Loop: Header=BB7_5 Depth=1
movl $88, -32(%rbp)
LBB7_10: ## in Loop: Header=BB7_5 Depth=1
movl -68(%rbp), %eax
andl $8, %eax
movl %eax, -64(%rbp)
movl -68(%rbp), %eax
andl $7, %eax
movl %eax, -68(%rbp)
movl -16(%rbp), %eax
sarl $3, %eax
movl %eax, -72(%rbp)
movl -68(%rbp), %eax
andl $4, %eax
cmpl $0, %eax
je LBB7_12
## %bb.11: ## in Loop: Header=BB7_5 Depth=1
movl -16(%rbp), %eax
addl -72(%rbp), %eax
movl %eax, -72(%rbp)
LBB7_12: ## in Loop: Header=BB7_5 Depth=1
movl -68(%rbp), %eax
andl $2, %eax
cmpl $0, %eax
je LBB7_14
## %bb.13: ## in Loop: Header=BB7_5 Depth=1
movl -16(%rbp), %eax
sarl $1, %eax
addl -72(%rbp), %eax
movl %eax, -72(%rbp)
LBB7_14: ## in Loop: Header=BB7_5 Depth=1
movl -68(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB7_16
## %bb.15: ## in Loop: Header=BB7_5 Depth=1
movl -16(%rbp), %eax
sarl $2, %eax
addl -72(%rbp), %eax
movl %eax, -72(%rbp)
LBB7_16: ## in Loop: Header=BB7_5 Depth=1
cmpl $0, -64(%rbp)
je LBB7_18
## %bb.17: ## in Loop: Header=BB7_5 Depth=1
movl -72(%rbp), %ecx
movl -24(%rbp), %eax
subl %ecx, %eax
movl %eax, -24(%rbp)
jmp LBB7_19
LBB7_18: ## in Loop: Header=BB7_5 Depth=1
movl -72(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
LBB7_19: ## in Loop: Header=BB7_5 Depth=1
cmpl $32767, -24(%rbp) ## imm = 0x7FFF
jle LBB7_21
## %bb.20: ## in Loop: Header=BB7_5 Depth=1
movl $32767, -24(%rbp) ## imm = 0x7FFF
jmp LBB7_24
LBB7_21: ## in Loop: Header=BB7_5 Depth=1
cmpl $-32768, -24(%rbp) ## imm = 0x8000
jge LBB7_23
## %bb.22: ## in Loop: Header=BB7_5 Depth=1
movl $-32768, -24(%rbp) ## imm = 0x8000
LBB7_23: ## in Loop: Header=BB7_5 Depth=1
jmp LBB7_24
LBB7_24: ## in Loop: Header=BB7_5 Depth=1
movslq -32(%rbp), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
movl -24(%rbp), %eax
movw %ax, %cx
movq -56(%rbp), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, -56(%rbp)
movw %cx, (%rax)
movl -76(%rbp), %eax
andl $15, %eax
movl %eax, -68(%rbp)
movslq -68(%rbp), %rcx
leaq _indexTable(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jge LBB7_26
## %bb.25: ## in Loop: Header=BB7_5 Depth=1
movl $0, -28(%rbp)
LBB7_26: ## in Loop: Header=BB7_5 Depth=1
cmpl $88, -28(%rbp)
jle LBB7_28
## %bb.27: ## in Loop: Header=BB7_5 Depth=1
movl $88, -28(%rbp)
LBB7_28: ## in Loop: Header=BB7_5 Depth=1
movl -68(%rbp), %eax
andl $8, %eax
movl %eax, -64(%rbp)
movl -68(%rbp), %eax
andl $7, %eax
movl %eax, -68(%rbp)
movl -12(%rbp), %eax
sarl $3, %eax
movl %eax, -72(%rbp)
movl -68(%rbp), %eax
andl $4, %eax
cmpl $0, %eax
je LBB7_30
## %bb.29: ## in Loop: Header=BB7_5 Depth=1
movl -12(%rbp), %eax
addl -72(%rbp), %eax
movl %eax, -72(%rbp)
LBB7_30: ## in Loop: Header=BB7_5 Depth=1
movl -68(%rbp), %eax
andl $2, %eax
cmpl $0, %eax
je LBB7_32
## %bb.31: ## in Loop: Header=BB7_5 Depth=1
movl -12(%rbp), %eax
sarl $1, %eax
addl -72(%rbp), %eax
movl %eax, -72(%rbp)
LBB7_32: ## in Loop: Header=BB7_5 Depth=1
movl -68(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB7_34
## %bb.33: ## in Loop: Header=BB7_5 Depth=1
movl -12(%rbp), %eax
sarl $2, %eax
addl -72(%rbp), %eax
movl %eax, -72(%rbp)
LBB7_34: ## in Loop: Header=BB7_5 Depth=1
cmpl $0, -64(%rbp)
je LBB7_36
## %bb.35: ## in Loop: Header=BB7_5 Depth=1
movl -72(%rbp), %ecx
movl -20(%rbp), %eax
subl %ecx, %eax
movl %eax, -20(%rbp)
jmp LBB7_37
LBB7_36: ## in Loop: Header=BB7_5 Depth=1
movl -72(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB7_37: ## in Loop: Header=BB7_5 Depth=1
cmpl $32767, -20(%rbp) ## imm = 0x7FFF
jle LBB7_39
## %bb.38: ## in Loop: Header=BB7_5 Depth=1
movl $32767, -20(%rbp) ## imm = 0x7FFF
jmp LBB7_42
LBB7_39: ## in Loop: Header=BB7_5 Depth=1
cmpl $-32768, -20(%rbp) ## imm = 0x8000
jge LBB7_41
## %bb.40: ## in Loop: Header=BB7_5 Depth=1
movl $-32768, -20(%rbp) ## imm = 0x8000
LBB7_41: ## in Loop: Header=BB7_5 Depth=1
jmp LBB7_42
LBB7_42: ## in Loop: Header=BB7_5 Depth=1
movslq -28(%rbp), %rcx
leaq _stepsizeTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
movl -20(%rbp), %eax
movw %ax, %cx
movq -56(%rbp), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, -56(%rbp)
movw %cx, (%rax)
## %bb.43: ## in Loop: Header=BB7_5 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB7_5
LBB7_44:
movl -24(%rbp), %eax
movl %eax, _state(%rip)
movl -20(%rbp), %eax
movl %eax, _state+4(%rip)
movl -32(%rbp), %eax
movl %eax, _state+8(%rip)
movl -28(%rbp), %eax
movl %eax, _state+12(%rip)
movl -80(%rbp), %eax
shll $2, %eax
movl %eax, -36(%rbp)
LBB7_45:
movl -36(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_47
## %bb.46:
movl -84(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB7_47:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _adpcm_encode ## -- Begin function adpcm_encode
.p2align 4, 0x90
_adpcm_encode: ## @adpcm_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
cmpl $2, -32(%rbp)
jne LBB8_2
## %bb.1:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
callq _adpcm_encode_stereo
movl %eax, -4(%rbp)
jmp LBB8_3
LBB8_2:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
callq _adpcm_encode_mono
movl %eax, -4(%rbp)
LBB8_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adpcm_decode ## -- Begin function adpcm_decode
.p2align 4, 0x90
_adpcm_decode: ## @adpcm_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
cmpl $2, -32(%rbp)
jne LBB9_2
## %bb.1:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
callq _adpcm_decode_stereo
movl %eax, -4(%rbp)
jmp LBB9_3
LBB9_2:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
callq _adpcm_decode_mono
movl %eax, -4(%rbp)
LBB9_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_state,16,2 ## @state
.section __DATA,__data
.p2align 4 ## @stepsizeTable
_stepsizeTable:
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 16 ## 0x10
.long 17 ## 0x11
.long 19 ## 0x13
.long 21 ## 0x15
.long 23 ## 0x17
.long 25 ## 0x19
.long 28 ## 0x1c
.long 31 ## 0x1f
.long 34 ## 0x22
.long 37 ## 0x25
.long 41 ## 0x29
.long 45 ## 0x2d
.long 50 ## 0x32
.long 55 ## 0x37
.long 60 ## 0x3c
.long 66 ## 0x42
.long 73 ## 0x49
.long 80 ## 0x50
.long 88 ## 0x58
.long 97 ## 0x61
.long 107 ## 0x6b
.long 118 ## 0x76
.long 130 ## 0x82
.long 143 ## 0x8f
.long 157 ## 0x9d
.long 173 ## 0xad
.long 190 ## 0xbe
.long 209 ## 0xd1
.long 230 ## 0xe6
.long 253 ## 0xfd
.long 279 ## 0x117
.long 307 ## 0x133
.long 337 ## 0x151
.long 371 ## 0x173
.long 408 ## 0x198
.long 449 ## 0x1c1
.long 494 ## 0x1ee
.long 544 ## 0x220
.long 598 ## 0x256
.long 658 ## 0x292
.long 724 ## 0x2d4
.long 796 ## 0x31c
.long 876 ## 0x36c
.long 963 ## 0x3c3
.long 1060 ## 0x424
.long 1166 ## 0x48e
.long 1282 ## 0x502
.long 1411 ## 0x583
.long 1552 ## 0x610
.long 1707 ## 0x6ab
.long 1878 ## 0x756
.long 2066 ## 0x812
.long 2272 ## 0x8e0
.long 2499 ## 0x9c3
.long 2749 ## 0xabd
.long 3024 ## 0xbd0
.long 3327 ## 0xcff
.long 3660 ## 0xe4c
.long 4026 ## 0xfba
.long 4428 ## 0x114c
.long 4871 ## 0x1307
.long 5358 ## 0x14ee
.long 5894 ## 0x1706
.long 6484 ## 0x1954
.long 7132 ## 0x1bdc
.long 7845 ## 0x1ea5
.long 8630 ## 0x21b6
.long 9493 ## 0x2515
.long 10442 ## 0x28ca
.long 11487 ## 0x2cdf
.long 12635 ## 0x315b
.long 13899 ## 0x364b
.long 15289 ## 0x3bb9
.long 16818 ## 0x41b2
.long 18500 ## 0x4844
.long 20350 ## 0x4f7e
.long 22385 ## 0x5771
.long 24623 ## 0x602f
.long 27086 ## 0x69ce
.long 29794 ## 0x7462
.long 32767 ## 0x7fff
.p2align 4 ## @indexTable
_indexTable:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 2 ## 0x2
.long 4 ## 0x4
.long 6 ## 0x6
.long 8 ## 0x8
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 2 ## 0x2
.long 4 ## 0x4
.long 6 ## 0x6
.long 8 ## 0x8
.subsections_via_symbols
| the_stack_data/126702605.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/81368.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 x8, #42247
movk x8, #45274, lsl #16
movk x8, #142, lsl #32
stur x8, [x29, #-16]
mov x8, #2
str x8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x10, [sp, #24]
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
str x8, [sp, #16]
ldur x8, [x29, #-16]
ldr x9, [sp, #24]
sdiv x8, x8, x9
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_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 "%ld\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)
movabsq $612852475143, %rax ## imm = 0x8EB0DAA507
movq %rax, -16(%rbp)
movq $2, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
cqto
idivq -24(%rbp)
cmpq $0, %rdx
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
cqto
idivq -24(%rbp)
movq %rax, -16(%rbp)
cmpq $1, -16(%rbp)
jne LBB0_6
## %bb.5:
movq -32(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_8:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%ld\n"
.subsections_via_symbols
| the_stack_data/232956975.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, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_7 Depth 2
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
ldur w10, [x29, #-8]
subs w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
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, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
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
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_12:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the height\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "* "
l_.str.4: ; @.str.4
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
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 $1, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movl -16(%rbp), %ecx
subl -8(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%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 -8(%rbp), %eax
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %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
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_12:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the height\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "* "
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| the_stack_data/1123.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #4192
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #84]
str w0, [sp, #80]
str x1, [sp, #72]
ldr w8, [sp, #80]
subs w8, w8, #2
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 _printf
mov w8, #-1
str w8, [sp, #84]
b LBB0_12
LBB0_2:
ldr x8, [sp, #72]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #64]
ldr x3, [sp, #64]
add x0, sp, #88
mov x1, #4
mov x2, #1024
bl _fread
ldr x0, [sp, #64]
bl _fclose
str wzr, [sp, #60]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #60]
subs x8, x8, #1024
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldrsw x8, [sp, #60]
add x9, sp, #88
ldr w8, [x9, x8, lsl #2]
str w8, [sp, #56]
ldrb w10, [sp, #56]
ldr w8, [sp, #56]
and w8, w8, #0xff00
lsl w8, w8, #8
orr w8, w8, w10, lsl #24
ldr w10, [sp, #56]
and w10, w10, #0xff0000
orr w8, w8, w10, lsr #8
ldr w10, [sp, #56]
and w10, w10, #0xff000000
orr w8, w8, w10, lsr #24
str w8, [sp, #52]
ldr w8, [sp, #52]
ldrsw x10, [sp, #60]
str w8, [x9, x10, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB0_3
LBB0_6:
ldr w8, [sp, #80]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
add x8, sp, #88
add x0, x8, #64
bl _calculate_checksum
str x0, [sp, #40]
ldr x8, [sp, #40]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #84]
b LBB0_12
LBB0_8:
ldr w8, [sp, #80]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_9
LBB0_9:
ldr x8, [sp, #72]
ldr x0, [x8, #16]
mov x1, #0
mov w2, #0
bl _strtoll
str x0, [sp, #32]
add x8, sp, #88
add x0, x8, #64
bl _calculate_checksum
str x0, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str wzr, [sp, #84]
b LBB0_12
LBB0_11:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x10, [sp, #32]
ldr x8, [sp, #24]
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
mov w8, #-1
str w8, [sp, #84]
b LBB0_12
LBB0_12:
ldr w8, [sp, #84]
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_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
ldr w0, [sp, #20] ; 4-byte Folded Reload
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #96
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _calculate_checksum ; -- Begin function calculate_checksum
.p2align 2
_calculate_checksum: ; @calculate_checksum
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #96]
ldr x8, [sp, #96]
str x8, [sp, #88]
str wzr, [sp, #84]
ldr x8, [sp, #88]
ldr w8, [x8]
str w8, [sp, #80]
ldr w9, [sp, #80]
mov w8, #53212
movk w8, #38362, lsl #16
eor w8, w8, w9
str w8, [sp, #68]
str wzr, [sp, #64]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #64]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #68]
ldrsw x10, [sp, #64]
sub x9, x29, #72
str w8, [x9, x10, lsl #2]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
b LBB1_1
LBB1_4:
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #80]
str w8, [sp, #72]
ldr x8, [sp, #88]
ldr w8, [x8]
str w8, [sp, #80]
ldr w8, [sp, #84]
add w8, w8, #1
str w8, [sp, #84]
ldr x8, [sp, #88]
add x8, x8, #4
str x8, [sp, #88]
ldr x8, [sp, #88]
ldr w8, [x8]
str w8, [sp, #76]
ldr w9, [sp, #84]
mov w8, #1007
subs w8, w8, w9
mov x0, x8
ldr w8, [sp, #80]
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
ldur w8, [x29, #-72]
; kill: def $x8 killed $w8
add x8, x8, x0
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-72]
ldur w8, [x29, #-68]
mov x0, x8
ldr w8, [sp, #80]
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-68]
ldr w9, [sp, #80]
ldur w8, [x29, #-64]
eor w8, w8, w9
stur w8, [x29, #-64]
ldr w8, [sp, #80]
add w8, w8, #5
mov x0, x8
ldr w8, [sp, #84]
mov x2, x8
mov x1, #35173
movk x1, #27655, lsl #16
bl _checksum_helper
ldur w8, [x29, #-60]
; kill: def $x8 killed $w8
add x8, x8, x0
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-60]
ldr w8, [sp, #72]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldur w8, [x29, #-36]
mov x0, x8
ldr w8, [sp, #80]
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-36]
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w9, [sp, #80]
ldur w8, [x29, #-36]
add w8, w8, w9
stur w8, [x29, #-36]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #80]
ldr w9, [sp, #72]
and w10, w9, #0x1f
mov w9, #32
subs w10, w9, w10
lsl w8, w8, w10
ldr w10, [sp, #80]
ldr w11, [sp, #72]
and w11, w11, #0x1f
lsr w10, w10, w11
orr w10, w8, w10
ldur w8, [x29, #-56]
add w8, w8, w10
stur w8, [x29, #-56]
ldur w8, [x29, #-44]
mov x0, x8
ldr w8, [sp, #80]
ldr w10, [sp, #72]
and w10, w10, #0x1f
subs w9, w9, w10
lsr w8, w8, w9
ldr w9, [sp, #80]
ldr w10, [sp, #72]
and w10, w10, #0x1f
lsl w9, w9, w10
orr w8, w8, w9
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-44]
ldr w8, [sp, #80]
ldur w9, [x29, #-48]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #80]
ldr w9, [sp, #84]
add w8, w8, w9
ldur w9, [x29, #-60]
ldur w10, [x29, #-48]
add w9, w9, w10
eor w8, w8, w9
stur w8, [x29, #-48]
b LBB1_11
LBB1_10: ; in Loop: Header=BB1_5 Depth=1
ldur w8, [x29, #-56]
ldr w9, [sp, #80]
add w8, w8, w9
ldur w9, [x29, #-48]
eor w8, w8, w9
stur w8, [x29, #-48]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #80]
ldr w10, [sp, #72]
mov w9, #32
subs w10, w9, w10, lsr #27
lsr w8, w8, w10
ldr w10, [sp, #80]
ldr w11, [sp, #72]
lsr w11, w11, #27
lsl w10, w10, w11
orr w10, w8, w10
ldur w8, [x29, #-52]
add w8, w8, w10
stur w8, [x29, #-52]
ldur w8, [x29, #-40]
mov x0, x8
ldr w8, [sp, #80]
ldr w10, [sp, #72]
subs w9, w9, w10, lsr #27
lsl w8, w8, w9
ldr w9, [sp, #80]
ldr w10, [sp, #72]
lsr w10, w10, #27
lsr w9, w9, w10
orr w8, w8, w9
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-40]
ldr w8, [sp, #84]
subs w8, w8, #1008
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
b LBB1_14
LBB1_13: ; in Loop: Header=BB1_5 Depth=1
ldur w8, [x29, #-12]
mov x0, x8
ldr w8, [sp, #80]
ldr w10, [sp, #72]
mov w9, #32
str w9, [sp, #12] ; 4-byte Folded Spill
subs w9, w9, w10, lsr #27
lsr w8, w8, w9
ldr w9, [sp, #80]
ldr w10, [sp, #72]
lsr w10, w10, #27
lsl w9, w9, w10
orr w8, w8, w9
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
ldr w10, [sp, #12] ; 4-byte Folded Reload
mov x8, x0
str w8, [sp, #60]
ldr w8, [sp, #60]
mov x0, x8
ldr w8, [sp, #76]
ldr w9, [sp, #80]
lsr w9, w9, #27
lsl w8, w8, w9
ldr w9, [sp, #76]
ldr w11, [sp, #80]
subs w10, w10, w11, lsr #27
lsr w9, w9, w10
orr w8, w8, w9
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
ldr w9, [sp, #12] ; 4-byte Folded Reload
mov x8, x0
stur w8, [x29, #-12]
ldr w8, [sp, #80]
ldr w10, [sp, #72]
and w10, w10, #0x1f
subs w9, w9, w10
lsl w8, w8, w9
ldr w9, [sp, #80]
ldr w10, [sp, #72]
and w10, w10, #0x1f
lsr w9, w9, w10
orr w8, w8, w9
str w8, [sp, #56]
ldur w8, [x29, #-16]
mov x0, x8
ldr w8, [sp, #56]
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
ldr w10, [sp, #12] ; 4-byte Folded Reload
mov x8, x0
str w8, [sp, #52]
ldr w8, [sp, #52]
mov x0, x8
ldr w8, [sp, #76]
ldr w9, [sp, #80]
and w9, w9, #0x1f
lsr w8, w8, w9
ldr w9, [sp, #76]
ldr w11, [sp, #80]
and w11, w11, #0x1f
subs w10, w10, w11
lsl w9, w9, w10
orr w8, w8, w9
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
ldr w11, [sp, #12] ; 4-byte Folded Reload
mov x8, x0
str w8, [sp, #48]
ldr w8, [sp, #48]
stur w8, [x29, #-16]
ldr w8, [sp, #80]
ldr w9, [sp, #80]
and w9, w9, #0x1f
lsr w8, w8, w9
ldr w9, [sp, #80]
ldr w10, [sp, #80]
and w10, w10, #0x1f
subs w10, w11, w10
lsl w9, w9, w10
orr w8, w8, w9
ldr w9, [sp, #76]
ldr w10, [sp, #76]
and w10, w10, #0x1f
lsr w9, w9, w10
ldr w10, [sp, #76]
ldr w12, [sp, #76]
and w12, w12, #0x1f
subs w11, w11, w12
lsl w10, w10, w11
orr w9, w9, w10
add w9, w8, w9
ldur w8, [x29, #-20]
add w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-32]
ldr w9, [sp, #80]
add w8, w8, w9
mov x0, x8
ldr w8, [sp, #76]
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-32]
ldur w8, [x29, #-28]
ldr w9, [sp, #80]
eor w8, w8, w9
mov x0, x8
ldr w8, [sp, #76]
mov x1, x8
ldr w8, [sp, #84]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-28]
ldur w8, [x29, #-40]
ldr w9, [sp, #80]
eor w9, w8, w9
ldur w8, [x29, #-24]
add w8, w8, w9
stur w8, [x29, #-24]
b LBB1_5
LBB1_14:
str wzr, [sp, #44]
b LBB1_15
LBB1_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_18
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_15 Depth=1
ldur w8, [x29, #-72]
ldrsw x10, [sp, #44]
sub x9, x29, #88
str w8, [x9, x10, lsl #2]
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_15 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB1_15
LBB1_18:
sub x8, x29, #72
str x8, [sp, #32]
str wzr, [sp, #24]
b LBB1_19
LBB1_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #16
cset w8, eq
tbnz w8, #0, LBB1_31
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_19 Depth=1
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #28]
ldr w8, [sp, #28]
ldr w10, [sp, #28]
mov w9, #32
subs w9, w9, w10
and w9, w9, #0x1f
lsl w8, w8, w9
ldr w9, [sp, #28]
ldr w10, [sp, #28]
and w10, w10, #0x1f
lsr w9, w9, w10
orr w9, w8, w9
ldur w8, [x29, #-88]
add w8, w8, w9
stur w8, [x29, #-88]
ldr w8, [sp, #28]
ldur w9, [x29, #-88]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_19 Depth=1
ldr w9, [sp, #28]
ldur w8, [x29, #-84]
add w8, w8, w9
stur w8, [x29, #-84]
b LBB1_23
LBB1_22: ; in Loop: Header=BB1_19 Depth=1
ldur w8, [x29, #-84]
mov x0, x8
ldr w8, [sp, #28]
mov x1, x8
mov x2, #0
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-84]
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_19 Depth=1
ldr w8, [sp, #28]
and w9, w8, #0x2
ldr w8, [sp, #28]
and w8, w8, #0x1
subs w8, w8, w9, lsr #1
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_19 Depth=1
ldr w9, [sp, #28]
ldur w8, [x29, #-80]
add w8, w8, w9
stur w8, [x29, #-80]
b LBB1_26
LBB1_25: ; in Loop: Header=BB1_19 Depth=1
ldur w8, [x29, #-80]
mov x0, x8
ldr w8, [sp, #28]
mov x1, x8
ldr w8, [sp, #24]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-80]
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_19 Depth=1
ldr w8, [sp, #28]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27: ; in Loop: Header=BB1_19 Depth=1
ldr w9, [sp, #28]
ldur w8, [x29, #-76]
eor w8, w8, w9
stur w8, [x29, #-76]
b LBB1_29
LBB1_28: ; in Loop: Header=BB1_19 Depth=1
ldur w8, [x29, #-76]
mov x0, x8
ldr w8, [sp, #28]
mov x1, x8
ldr w8, [sp, #24]
mov x2, x8
bl _checksum_helper
mov x8, x0
stur w8, [x29, #-76]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_19 Depth=1
ldr x8, [sp, #32]
add x8, x8, #4
str x8, [sp, #32]
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_19 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_19
LBB1_31:
ldur w8, [x29, #-80]
ldur w9, [x29, #-76]
eor w8, w8, w9
; kill: def $x8 killed $w8
str x8, [sp, #16]
ldur w8, [x29, #-88]
mov x0, x8
ldur w8, [x29, #-84]
mov x1, x8
mov x2, #16
bl _checksum_helper
ldr x8, [sp, #16]
orr x8, x8, x0, lsl #32
str x8, [sp, #16]
ldr x8, [sp, #16]
and x8, x8, #0xffffffffffff
str x8, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_33
b LBB1_32
LBB1_32:
bl ___stack_chk_fail
LBB1_33:
ldr x0, [sp] ; 8-byte Folded Reload
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function checksum_helper
_checksum_helper: ; @checksum_helper
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str x1, [sp, #24]
str x2, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB2_2
LBB2_2:
ldr x8, [sp, #32]
ldr x9, [sp, #24]
mul x8, x8, x9
and x8, x8, #0xffffffff
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #8]
ldr x8, [sp, #32]
ldr x9, [sp, #24]
mul x8, x8, x9
and x8, x8, #0xffffffff00000000
lsr x8, x8, #32
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldrsw x8, [sp, #8]
str x8, [sp, #40]
b LBB2_5
LBB2_4:
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #40]
b LBB2_5
LBB2_5:
ldr x0, [sp, #40]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: bootcsum <rom file> [<expected checksum>]\n"
l_.str.1: ; @.str.1
.asciz "rb"
l_.str.2: ; @.str.2
.asciz "0x%llx\n"
l_.str.3: ; @.str.3
.asciz "Correct\n"
l_.str.4: ; @.str.4
.asciz "Incorrect:\n"
l_.str.5: ; @.str.5
.asciz "Expected 0x%llx, got 0x%llx\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
movl $4192, %eax ## imm = 0x1060
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -4116(%rbp)
movl %edi, -4120(%rbp)
movq %rsi, -4128(%rbp)
cmpl $2, -4120(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4116(%rbp)
jmp LBB0_12
LBB0_2:
movq -4128(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -4136(%rbp)
leaq -4112(%rbp), %rdi
movq -4136(%rbp), %rcx
movl $4, %esi
movl $1024, %edx ## imm = 0x400
callq _fread
movq -4136(%rbp), %rdi
callq _fclose
movl $0, -4140(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movslq -4140(%rbp), %rax
cmpq $1024, %rax ## imm = 0x400
jae LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq -4140(%rbp), %rax
movl -4112(%rbp,%rax,4), %eax
movl %eax, -4144(%rbp)
movl -4144(%rbp), %eax
andl $255, %eax
shll $24, %eax
movl -4144(%rbp), %ecx
andl $65280, %ecx ## imm = 0xFF00
shll $8, %ecx
orl %ecx, %eax
movl -4144(%rbp), %ecx
andl $16711680, %ecx ## imm = 0xFF0000
shrl $8, %ecx
orl %ecx, %eax
movl -4144(%rbp), %ecx
andl $-16777216, %ecx ## imm = 0xFF000000
shrl $24, %ecx
orl %ecx, %eax
movl %eax, -4148(%rbp)
movl -4148(%rbp), %ecx
movslq -4140(%rbp), %rax
movl %ecx, -4112(%rbp,%rax,4)
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -4140(%rbp), %eax
addl $1, %eax
movl %eax, -4140(%rbp)
jmp LBB0_3
LBB0_6:
cmpl $2, -4120(%rbp)
jne LBB0_8
## %bb.7:
leaq -4112(%rbp), %rdi
addq $64, %rdi
callq _calculate_checksum
movq %rax, -4160(%rbp)
movq -4160(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4116(%rbp)
jmp LBB0_12
LBB0_8:
cmpl $3, -4120(%rbp)
jne LBB0_12
## %bb.9:
movq -4128(%rbp), %rax
movq 16(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _strtoll
movq %rax, -4168(%rbp)
leaq -4112(%rbp), %rdi
addq $64, %rdi
callq _calculate_checksum
movq %rax, -4176(%rbp)
movq -4176(%rbp), %rax
cmpq -4168(%rbp), %rax
jne LBB0_11
## %bb.10:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4116(%rbp)
jmp LBB0_12
LBB0_11:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -4168(%rbp), %rsi
movq -4176(%rbp), %rdx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4116(%rbp)
LBB0_12:
movl -4116(%rbp), %eax
movl %eax, -4180(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_14
## %bb.13:
movl -4180(%rbp), %eax ## 4-byte Reload
addq $4192, %rsp ## imm = 0x1060
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _calculate_checksum ## -- Begin function calculate_checksum
.p2align 4, 0x90
_calculate_checksum: ## @calculate_checksum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -104(%rbp)
movq -104(%rbp), %rax
movq %rax, -112(%rbp)
movl $0, -116(%rbp)
movq -112(%rbp), %rax
movl (%rax), %eax
movl %eax, -120(%rbp)
movl -120(%rbp), %eax
xorl $2514145244, %eax ## imm = 0x95DACFDC
movl %eax, -132(%rbp)
movl $0, -136(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -136(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -132(%rbp), %ecx
movslq -136(%rbp), %rax
movl %ecx, -80(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -136(%rbp), %eax
addl $1, %eax
movl %eax, -136(%rbp)
jmp LBB1_1
LBB1_4:
jmp LBB1_5
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -120(%rbp), %eax
movl %eax, -128(%rbp)
movq -112(%rbp), %rax
movl (%rax), %eax
movl %eax, -120(%rbp)
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
movq -112(%rbp), %rax
addq $4, %rax
movq %rax, -112(%rbp)
movq -112(%rbp), %rax
movl (%rax), %eax
movl %eax, -124(%rbp)
movl $1007, %eax ## imm = 0x3EF
subl -116(%rbp), %eax
movl %eax, %eax
movl %eax, %edi
movl -120(%rbp), %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
movq %rax, %rcx
movl -80(%rbp), %eax
## kill: def $rax killed $eax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -80(%rbp)
movl -76(%rbp), %eax
movl %eax, %edi
movl -120(%rbp), %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -76(%rbp)
movl -120(%rbp), %eax
xorl -72(%rbp), %eax
movl %eax, -72(%rbp)
movl -120(%rbp), %eax
addl $5, %eax
movl %eax, %eax
movl %eax, %edi
movl -116(%rbp), %eax
movl %eax, %edx
movl $1812433253, %esi ## imm = 0x6C078965
callq _checksum_helper
movq %rax, %rcx
movl -68(%rbp), %eax
## kill: def $rax killed $eax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp)
movl -128(%rbp), %eax
cmpl -120(%rbp), %eax
jae LBB1_7
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movl -44(%rbp), %eax
movl %eax, %edi
movl -120(%rbp), %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -44(%rbp)
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_5 Depth=1
movl -120(%rbp), %eax
addl -44(%rbp), %eax
movl %eax, -44(%rbp)
LBB1_8: ## in Loop: Header=BB1_5 Depth=1
movl -120(%rbp), %eax
movl -128(%rbp), %edx
andl $31, %edx
movl $32, %ecx
subl %edx, %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
movl -120(%rbp), %edx
movl -128(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
addl -64(%rbp), %eax
movl %eax, -64(%rbp)
movl -52(%rbp), %eax
movl %eax, %edi
movl -120(%rbp), %eax
movl -128(%rbp), %edx
andl $31, %edx
movl $32, %ecx
subl %edx, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
movl -120(%rbp), %edx
movl -128(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movl %eax, %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -52(%rbp)
movl -120(%rbp), %eax
cmpl -56(%rbp), %eax
jae LBB1_10
## %bb.9: ## in Loop: Header=BB1_5 Depth=1
movl -120(%rbp), %eax
addl -116(%rbp), %eax
movl -68(%rbp), %ecx
addl -56(%rbp), %ecx
xorl %ecx, %eax
movl %eax, -56(%rbp)
jmp LBB1_11
LBB1_10: ## in Loop: Header=BB1_5 Depth=1
movl -64(%rbp), %eax
addl -120(%rbp), %eax
xorl -56(%rbp), %eax
movl %eax, -56(%rbp)
LBB1_11: ## in Loop: Header=BB1_5 Depth=1
movl -120(%rbp), %eax
movl -128(%rbp), %edx
shrl $27, %edx
movl $32, %ecx
subl %edx, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
movl -120(%rbp), %edx
movl -128(%rbp), %ecx
shrl $27, %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
addl -60(%rbp), %eax
movl %eax, -60(%rbp)
movl -48(%rbp), %eax
movl %eax, %edi
movl -120(%rbp), %eax
movl -128(%rbp), %edx
shrl $27, %edx
movl $32, %ecx
subl %edx, %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
movl -120(%rbp), %edx
movl -128(%rbp), %ecx
shrl $27, %ecx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movl %eax, %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -48(%rbp)
cmpl $1008, -116(%rbp) ## imm = 0x3F0
jne LBB1_13
## %bb.12:
jmp LBB1_14
LBB1_13: ## in Loop: Header=BB1_5 Depth=1
movl -20(%rbp), %eax
movl %eax, %edi
movl -120(%rbp), %eax
movl -128(%rbp), %edx
shrl $27, %edx
movl $32, %ecx
subl %edx, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
movl -120(%rbp), %edx
movl -128(%rbp), %ecx
shrl $27, %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movl %eax, %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -140(%rbp)
movl -140(%rbp), %eax
movl %eax, %edi
movl -124(%rbp), %eax
movl -120(%rbp), %ecx
shrl $27, %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
movl -124(%rbp), %edx
movl -120(%rbp), %esi
shrl $27, %esi
movl $32, %ecx
subl %esi, %ecx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movl %eax, %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl -120(%rbp), %eax
movl -128(%rbp), %edx
andl $31, %edx
movl $32, %ecx
subl %edx, %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
movl -120(%rbp), %edx
movl -128(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movl %eax, -144(%rbp)
movl -24(%rbp), %eax
movl %eax, %edi
movl -144(%rbp), %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -148(%rbp)
movl -148(%rbp), %eax
movl %eax, %edi
movl -124(%rbp), %eax
movl -120(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
movl -124(%rbp), %edx
movl -120(%rbp), %esi
andl $31, %esi
movl $32, %ecx
subl %esi, %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movl %eax, %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -152(%rbp)
movl -152(%rbp), %eax
movl %eax, -24(%rbp)
movl -120(%rbp), %eax
movl -120(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
movl -120(%rbp), %edx
movl -120(%rbp), %esi
andl $31, %esi
movl $32, %ecx
subl %esi, %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movl -124(%rbp), %edx
movl -124(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, -188(%rbp) ## 4-byte Spill
movl -124(%rbp), %edx
movl -124(%rbp), %esi
andl $31, %esi
movl $32, %ecx
subl %esi, %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl -188(%rbp), %ecx ## 4-byte Reload
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -40(%rbp), %eax
addl -120(%rbp), %eax
movl %eax, %eax
movl %eax, %edi
movl -124(%rbp), %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movl -36(%rbp), %eax
xorl -120(%rbp), %eax
movl %eax, %eax
movl %eax, %edi
movl -124(%rbp), %eax
movl %eax, %esi
movl -116(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movl -48(%rbp), %eax
xorl -120(%rbp), %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
jmp LBB1_5
LBB1_14:
movl $0, -156(%rbp)
LBB1_15: ## =>This Inner Loop Header: Depth=1
cmpl $4, -156(%rbp)
jge LBB1_18
## %bb.16: ## in Loop: Header=BB1_15 Depth=1
movl -80(%rbp), %ecx
movslq -156(%rbp), %rax
movl %ecx, -96(%rbp,%rax,4)
## %bb.17: ## in Loop: Header=BB1_15 Depth=1
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%rbp)
jmp LBB1_15
LBB1_18:
leaq -80(%rbp), %rax
movq %rax, -168(%rbp)
movl $0, -176(%rbp)
LBB1_19: ## =>This Inner Loop Header: Depth=1
cmpl $16, -176(%rbp)
je LBB1_31
## %bb.20: ## in Loop: Header=BB1_19 Depth=1
movq -168(%rbp), %rax
movl (%rax), %eax
movl %eax, -172(%rbp)
movl -172(%rbp), %eax
movl $32, %ecx
subl -172(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
movl -172(%rbp), %edx
movl -172(%rbp), %ecx
andl $31, %ecx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
addl -96(%rbp), %eax
movl %eax, -96(%rbp)
movl -172(%rbp), %eax
cmpl -96(%rbp), %eax
jae LBB1_22
## %bb.21: ## in Loop: Header=BB1_19 Depth=1
movl -172(%rbp), %eax
addl -92(%rbp), %eax
movl %eax, -92(%rbp)
jmp LBB1_23
LBB1_22: ## in Loop: Header=BB1_19 Depth=1
movl -92(%rbp), %eax
movl %eax, %edi
movl -172(%rbp), %eax
movl %eax, %esi
xorl %eax, %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -92(%rbp)
LBB1_23: ## in Loop: Header=BB1_19 Depth=1
movl -172(%rbp), %eax
andl $2, %eax
shrl $1, %eax
movl -172(%rbp), %ecx
andl $1, %ecx
cmpl %ecx, %eax
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_19 Depth=1
movl -172(%rbp), %eax
addl -88(%rbp), %eax
movl %eax, -88(%rbp)
jmp LBB1_26
LBB1_25: ## in Loop: Header=BB1_19 Depth=1
movl -88(%rbp), %eax
movl %eax, %edi
movl -172(%rbp), %eax
movl %eax, %esi
movl -176(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -88(%rbp)
LBB1_26: ## in Loop: Header=BB1_19 Depth=1
movl -172(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB1_28
## %bb.27: ## in Loop: Header=BB1_19 Depth=1
movl -172(%rbp), %eax
xorl -84(%rbp), %eax
movl %eax, -84(%rbp)
jmp LBB1_29
LBB1_28: ## in Loop: Header=BB1_19 Depth=1
movl -84(%rbp), %eax
movl %eax, %edi
movl -172(%rbp), %eax
movl %eax, %esi
movl -176(%rbp), %eax
movl %eax, %edx
callq _checksum_helper
## kill: def $eax killed $eax killed $rax
movl %eax, -84(%rbp)
LBB1_29: ## in Loop: Header=BB1_19 Depth=1
movq -168(%rbp), %rax
addq $4, %rax
movq %rax, -168(%rbp)
## %bb.30: ## in Loop: Header=BB1_19 Depth=1
movl -176(%rbp), %eax
addl $1, %eax
movl %eax, -176(%rbp)
jmp LBB1_19
LBB1_31:
movl -88(%rbp), %eax
xorl -84(%rbp), %eax
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -184(%rbp)
movl -96(%rbp), %eax
movl %eax, %edi
movl -92(%rbp), %eax
movl %eax, %esi
movl $16, %edx
callq _checksum_helper
shlq $32, %rax
orq -184(%rbp), %rax
movq %rax, -184(%rbp)
movabsq $281474976710655, %rax ## imm = 0xFFFFFFFFFFFF
andq -184(%rbp), %rax
movq %rax, -184(%rbp)
movq -184(%rbp), %rax
movq %rax, -200(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_33
## %bb.32:
movq -200(%rbp), %rax ## 8-byte Reload
addq $208, %rsp
popq %rbp
retq
LBB1_33:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function checksum_helper
_checksum_helper: ## @checksum_helper
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
cmpq $0, -24(%rbp)
jne LBB2_2
## %bb.1:
movq -32(%rbp), %rax
movq %rax, -24(%rbp)
LBB2_2:
movq -16(%rbp), %rax
imulq -24(%rbp), %rax
movabsq $4294967295, %rcx ## imm = 0xFFFFFFFF
andq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movq -16(%rbp), %rax
imulq -24(%rbp), %rax
movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000
andq %rcx, %rax
shrq $32, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movl -36(%rbp), %eax
subl -40(%rbp), %eax
cmpl $0, %eax
jne LBB2_4
## %bb.3:
movslq -40(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB2_5
LBB2_4:
movl -36(%rbp), %eax
subl -40(%rbp), %eax
cltq
movq %rax, -8(%rbp)
LBB2_5:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: bootcsum <rom file> [<expected checksum>]\n"
L_.str.1: ## @.str.1
.asciz "rb"
L_.str.2: ## @.str.2
.asciz "0x%llx\n"
L_.str.3: ## @.str.3
.asciz "Correct\n"
L_.str.4: ## @.str.4
.asciz "Incorrect:\n"
L_.str.5: ## @.str.5
.asciz "Expected 0x%llx, got 0x%llx\n"
.subsections_via_symbols
| the_stack_data/125140274.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]
sub x8, x29, #8
str x8, [sp, #8] ; 8-byte Folded Spill
movi d0, #0000000000000000
stur s0, [x29, #-8]
sub x8, x29, #12
str x8, [sp, #16] ; 8-byte Folded Spill
stur s0, [x29, #-12]
stur s0, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
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 x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
bl _scanf
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fadd s0, s0, s1
fmov s1, #2.00000000
fdiv s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fmov s1, #6.00000000
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Nota da av1"
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Nota da av2"
l_.str.3: ; @.str.3
.asciz "Aprovado"
l_.str.4: ; @.str.4
.asciz "Reprovado"
.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 0x40c00000 ## float 6
LCPI0_1:
.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)
xorps %xmm0, %xmm0
movss %xmm0, -8(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -12(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -16(%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
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -12(%rbp), %xmm0
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jb LBB0_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Nota da av1"
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Nota da av2"
L_.str.3: ## @.str.3
.asciz "Aprovado"
L_.str.4: ## @.str.4
.asciz "Reprovado"
.subsections_via_symbols
| the_stack_data/59024.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #44]
str wzr, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x10, [sp, #36]
add x9, sp, #48
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_1
LBB0_4:
str wzr, [sp, #32]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #40]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #40]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #48
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
str wzr, [sp, #32]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
b LBB0_5
LBB0_11:
str wzr, [sp, #36]
b LBB0_12
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
ldr w8, [sp, #36]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #48
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [sp, #36]
subs w11, w8, #1
ldrsw x9, [sp, #36]
add x8, sp, #48
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #28]
b LBB0_15
LBB0_15: ; Parent Loop BB0_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
ldrsw x10, [sp, #36]
add x9, sp, #48
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=2
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_12 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_12 Depth=1
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_12
LBB0_21:
ldr w8, [sp, #44]
str w8, [sp, #24] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
ldr w0, [sp, #24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Slow o dlugosci %d jest: %d "
l_.str.1: ; @.str.1
.asciz "_"
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 $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -132(%rbp)
movl $0, -140(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $30, -140(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -140(%rbp), %rax
movl $0, -128(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -140(%rbp), %eax
addl $1, %eax
movl %eax, -140(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -144(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -136(%rbp)
cmpl $-1, %eax
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -144(%rbp), %eax
addl $1, %eax
movl %eax, -144(%rbp)
cmpl $10, -136(%rbp)
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpl $9, -136(%rbp)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
cmpl $32, -136(%rbp)
jne LBB0_10
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movslq -144(%rbp), %rax
movl -128(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -128(%rbp,%rax,4)
movl $0, -144(%rbp)
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_5
LBB0_11:
movl $0, -140(%rbp)
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
cmpl $30, -140(%rbp)
jge LBB0_21
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movslq -140(%rbp), %rax
cmpl $0, -128(%rbp,%rax,4)
je LBB0_19
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl -140(%rbp), %esi
subl $1, %esi
movslq -140(%rbp), %rax
movl -128(%rbp,%rax,4), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -148(%rbp)
LBB0_15: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movl -148(%rbp), %eax
movslq -140(%rbp), %rcx
cmpl -128(%rbp,%rcx,4), %eax
jge LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_15 Depth=2
movl -148(%rbp), %eax
addl $1, %eax
movl %eax, -148(%rbp)
jmp LBB0_15
LBB0_18: ## in Loop: Header=BB0_12 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_12 Depth=1
movl -140(%rbp), %eax
addl $1, %eax
movl %eax, -140(%rbp)
jmp LBB0_12
LBB0_21:
movl -132(%rbp), %eax
movl %eax, -152(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_23
## %bb.22:
movl -152(%rbp), %eax ## 4-byte Reload
addq $160, %rsp
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Slow o dlugosci %d jest: %d "
L_.str.1: ## @.str.1
.asciz "_"
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/29826476.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
str wzr, [sp, #12]
mov w8, #10
str w8, [sp, #8]
mov w8, #14
str w8, [sp, #4]
ldr w8, [sp, #8]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, gt
and w8, w8, #0x1
str w8, [sp]
ldr w0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $10, -8(%rbp)
movl $14, -12(%rbp)
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
setg %al
andb $1, %al
movzbl %al, %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/196795.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, #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, #44]
str w0, [sp, #40]
str x1, [sp, #32]
add x0, sp, #48
str x0, [sp, #16] ; 8-byte Folded Spill
bl _pthread_attr_init
ldr x0, [sp, #16] ; 8-byte Folded Reload
add x1, sp, #24
bl _pthread_attr_getschedpolicy
subs w8, w0, #0
cset w8, eq
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
b LBB0_11
LBB0_2:
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_10
LBB0_4:
ldr w8, [sp, #24]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_6:
ldr w8, [sp, #24]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
b LBB0_10
LBB0_10:
b LBB0_11
LBB0_11:
add x0, sp, #48
mov w1, #1
bl _pthread_attr_setschedpolicy
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_13
LBB0_13:
str wzr, [sp, #28]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldrsw x9, [sp, #28]
sub x8, x29, #48
add x0, x8, x9, lsl #3
add x1, sp, #48
adrp x2, _runner@PAGE
add x2, x2, _runner@PAGEOFF
mov x3, #0
bl _pthread_create
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_14
LBB0_17:
str wzr, [sp, #28]
b LBB0_18
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=1
ldrsw x9, [sp, #28]
sub x8, x29, #48
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_18
LBB0_21:
ldr w8, [sp, #44]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.globl _runner ; -- Begin function runner
.p2align 2
_runner: ; @runner
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to get policy.\n"
l_.str.1: ; @.str.1
.asciz "SCHED_OTHER\n"
l_.str.2: ; @.str.2
.asciz "SCHED_FIFO\n"
l_.str.3: ; @.str.3
.asciz "unable to set scheduling policy to SCHED_OTHER \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, -116(%rbp)
movl %edi, -120(%rbp)
movq %rsi, -128(%rbp)
leaq -112(%rbp), %rdi
callq _pthread_attr_init
leaq -112(%rbp), %rdi
leaq -136(%rbp), %rsi
callq _pthread_attr_getschedpolicy
cmpl $0, %eax
je LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB0_11
LBB0_2:
cmpl $1, -136(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_10
LBB0_4:
cmpl $2, -136(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_6:
cmpl $4, -136(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8:
jmp LBB0_9
LBB0_9:
jmp LBB0_10
LBB0_10:
jmp LBB0_11
LBB0_11:
leaq -112(%rbp), %rdi
movl $1, %esi
callq _pthread_attr_setschedpolicy
cmpl $0, %eax
je LBB0_13
## %bb.12:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_13:
movl $0, -132(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
cmpl $5, -132(%rbp)
jge LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movslq -132(%rbp), %rax
leaq -48(%rbp), %rdi
shlq $3, %rax
addq %rax, %rdi
leaq -112(%rbp), %rsi
leaq _runner(%rip), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq _pthread_create
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB0_14
LBB0_17:
movl $0, -132(%rbp)
LBB0_18: ## =>This Inner Loop Header: Depth=1
cmpl $5, -132(%rbp)
jge LBB0_21
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movslq -132(%rbp), %rax
movq -48(%rbp,%rax,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB0_18
LBB0_21:
movl -116(%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_23
## %bb.22:
movl -140(%rbp), %eax ## 4-byte Reload
addq $144, %rsp
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _runner ## -- Begin function runner
.p2align 4, 0x90
_runner: ## @runner
.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)
xorl %eax, %eax
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to get policy.\n"
L_.str.1: ## @.str.1
.asciz "SCHED_OTHER\n"
L_.str.2: ## @.str.2
.asciz "SCHED_FIFO\n"
L_.str.3: ## @.str.3
.asciz "unable to set scheduling policy to SCHED_OTHER \n"
.subsections_via_symbols
| the_stack_data/844549.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1072
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [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 _popen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
ldr x2, [sp, #16]
add x0, sp, #29
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #1000
bl _fgets
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #16]
bl _pclose
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_4
b LBB0_3
LBB0_3:
bl ___stack_chk_fail
LBB0_4:
mov w0, #0
add sp, sp, #1072
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 "python3.6 -c 'from random import choice, randint;from string import ascii_letters, digits; print(*[choice(ascii_letters+digits) for _ in range(randint(10 ,20))], sep=str())'"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Failed to run the command"
l_.str.3: ; @.str.3
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1072, %rsp ## imm = 0x430
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1060(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _popen
movq %rax, -1072(%rbp)
cmpq $0, -1072(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
leaq -1056(%rbp), %rdi
movq -1072(%rbp), %rdx
movl $1000, %esi ## imm = 0x3E8
callq _fgets
leaq -1056(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -1072(%rbp), %rdi
callq _pclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_4
## %bb.3:
xorl %eax, %eax
addq $1072, %rsp ## imm = 0x430
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "python3.6 -c 'from random import choice, randint;from string import ascii_letters, digits; print(*[choice(ascii_letters+digits) for _ in range(randint(10 ,20))], sep=str())'"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Failed to run the command"
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/76700690.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reverse ; -- Begin function reverse
.p2align 2
_reverse: ; @reverse
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
str w8, [sp, #4]
ldr w8, [sp, #8]
mul w8, w8, w9
ldr w10, [sp, #4]
add w8, w8, w10
str w8, [sp, #8]
ldr w8, [sp, #12]
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB0_1
LBB0_3:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #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 w0, [x29, #-8]
bl _reverse
stur w0, [x29, #-16]
ldur w0, [x29, #-12]
bl _reverse
stur w0, [x29, #-20]
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_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.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_6
LBB1_2:
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-8]
; 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
b LBB1_5
LBB1_4:
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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_5
LBB1_5:
b LBB1_6
LBB1_6:
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"
l_.str.2: ; @.str.2
.asciz "%d = %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
imull $10, -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_3:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %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), %edi
callq _reverse
movl %eax, -16(%rbp)
movl -12(%rbp), %edi
callq _reverse
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB1_2
## %bb.1:
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_6
LBB1_2:
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_4
## %bb.3:
movl -12(%rbp), %esi
movl -8(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_5
LBB1_4:
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB1_5:
jmp LBB1_6
LBB1_6:
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"
L_.str.2: ## @.str.2
.asciz "%d = %d"
.subsections_via_symbols
| the_stack_data/862187.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
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, gt
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _getchar
mov x9, sp
add x8, sp, #35
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
str wzr, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [sp, #16]
str x8, [sp, #8] ; 8-byte Folded Spill
add x0, sp, #35
bl _strlen
ldr x8, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #16]
add x8, sp, #35
ldrsb w8, [x8, x9]
subs w10, w8, #64
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_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_8:
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_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%[^\n]"
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, -116(%rbp)
leaq L_.str(%rip), %rdi
leaq -124(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -120(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -120(%rbp), %eax
cmpl -124(%rbp), %eax
jg LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
callq _getchar
leaq -112(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl $0, -128(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -128(%rbp), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
leaq -112(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -136(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -128(%rbp), %rax
movsbl -112(%rbp,%rax), %esi
subl $64, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -128(%rbp), %eax
addl $1, %eax
movl %eax, -128(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_1
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
LBB0_10:
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 "%[^\n]"
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/76701518.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___VERIFIER_error
LBB0_2:
mov w0, #0
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)
cmpl $1, -8(%rbp)
jne LBB0_2
## %bb.1:
callq ___VERIFIER_error
LBB0_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1120652.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __start ; -- Begin function _start
.p2align 2
__start: ; @_start
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1000
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x9, _j@GOTPAGE
ldr x9, [x9, _j@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _j,4,2 ; @j
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __start ## -- Begin function _start
.p2align 4, 0x90
__start: ## @_start
.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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $1000, -4(%rbp) ## imm = 0x3E8
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _j@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _j@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _j,4,2 ## @j
.subsections_via_symbols
| the_stack_data/677646.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BKDRHash ; -- Begin function BKDRHash
.p2align 2
_BKDRHash: ; @BKDRHash
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
mov w8, #131
str w8, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
mul w8, w8, w9
ldr x9, [sp, #24]
ldrsb w9, [x9]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #24]
ldr x8, [sp, #24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [sp, #24]
bl _strlen
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x1, x8
bl _BKDRHash
str w0, [sp, #20]
ldr w9, [sp, #20]
; 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]
mov w9, #33458
movk w9, #48530, lsl #16
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_2
LBB1_2:
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 "%x\n"
l_.str.1: ; @.str.1
.asciz "You win!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BKDRHash ## -- Begin function BKDRHash
.p2align 4, 0x90
_BKDRHash: ## @BKDRHash
.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 $131, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
imull -16(%rbp), %eax
movq -8(%rbp), %rcx
movsbl (%rcx), %ecx
addl %ecx, %eax
movl %eax, -20(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_4:
movl -20(%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 $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _strlen
movq -40(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _BKDRHash
movl %eax, -28(%rbp)
movl -28(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
cmpl $-1114471758, -28(%rbp) ## imm = 0xBD9282B2
jne LBB1_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB1_2:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%x\n"
L_.str.1: ## @.str.1
.asciz "You win!\n"
.subsections_via_symbols
| the_stack_data/206393074.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]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov x9, sp
mov x8, #7
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
mov x8, #5
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
mov x8, #6
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
mov x8, #2
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
mov x8, #1
str x8, [x9]
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\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)
leaq L_.str(%rip), %rdi
movl $7, %esi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movl $5, %esi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movl $6, %esi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movl $2, %esi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movl $1, %esi
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\n"
.subsections_via_symbols
| the_stack_data/20449586.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ternarySearch ; -- Begin function ternarySearch
.p2align 2
_ternarySearch: ; @ternarySearch
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
str x3, [sp, #8]
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_10
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
ldur w10, [x29, #-8]
subs w9, w9, w10
mov w10, #3
sdiv w9, w9, w10
add w8, w8, w9
str w8, [sp, #4]
ldur w8, [x29, #-12]
ldur w9, [x29, #-12]
ldur w11, [x29, #-8]
subs w9, w9, w11
sdiv w9, w9, w10
subs w8, w8, w9
str w8, [sp]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b LBB0_11
LBB0_3:
ldr x8, [sp, #8]
ldrsw x9, [sp]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr w8, [sp]
stur w8, [x29, #-4]
b LBB0_11
LBB0_5:
ldr w8, [sp, #16]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur w0, [x29, #-8]
ldr w8, [sp, #4]
subs w1, w8, #1
ldr w2, [sp, #16]
ldr x3, [sp, #8]
bl _ternarySearch
stur w0, [x29, #-4]
b LBB0_11
LBB0_7:
ldr w8, [sp, #16]
ldr x9, [sp, #8]
ldrsw x10, [sp]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr w8, [sp]
add w0, w8, #1
ldur w1, [x29, #-12]
ldr w2, [sp, #16]
ldr x3, [sp, #8]
bl _ternarySearch
stur w0, [x29, #-4]
b LBB0_11
LBB0_9:
ldr w8, [sp, #4]
add w0, w8, #1
ldr w8, [sp]
subs w1, w8, #1
ldr w2, [sp, #16]
ldr x3, [sp, #8]
bl _ternarySearch
stur w0, [x29, #-4]
b LBB0_11
LBB0_10:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_11
LBB0_11:
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, #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]
add x0, sp, #48
str x0, [sp, #24] ; 8-byte Folded Spill
adrp x1, l___const.main.ar@PAGE
add x1, x1, l___const.main.ar@PAGEOFF
mov x2, #40
bl _memcpy
ldr x3, [sp, #24] ; 8-byte Folded Reload
str wzr, [sp, #44]
mov w8, #9
str w8, [sp, #40]
mov w8, #5
str w8, [sp, #32]
ldr w0, [sp, #44]
ldr w1, [sp, #40]
ldr w2, [sp, #32]
bl _ternarySearch
str w0, [sp, #36]
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@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x3, [sp, #24] ; 8-byte Folded Reload
mov w8, #50
str w8, [sp, #32]
ldr w0, [sp, #44]
ldr w1, [sp, #40]
ldr w2, [sp, #32]
bl _ternarySearch
str w0, [sp, #36]
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.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.ar
l___const.main.ar:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Index of %d is %d\n"
l_.str.1: ; @.str.1
.asciz "Index of %d is %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ternarySearch ## -- Begin function ternarySearch
.p2align 4, 0x90
_ternarySearch: ## @ternarySearch
.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)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq %rcx, -24(%rbp)
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jl LBB0_10
## %bb.1:
movl -8(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
subl -8(%rbp), %eax
movl $3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -40(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -28(%rbp)
movl -12(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
subl -8(%rbp), %eax
movl $3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -36(%rbp), %eax ## 4-byte Reload
subl %ecx, %eax
movl %eax, -32(%rbp)
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -16(%rbp), %eax
jne LBB0_3
## %bb.2:
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_11
LBB0_3:
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -16(%rbp), %eax
jne LBB0_5
## %bb.4:
movl -32(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_11
LBB0_5:
movl -16(%rbp), %eax
movq -24(%rbp), %rcx
movslq -28(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB0_7
## %bb.6:
movl -8(%rbp), %edi
movl -28(%rbp), %esi
subl $1, %esi
movl -16(%rbp), %edx
movq -24(%rbp), %rcx
callq _ternarySearch
movl %eax, -4(%rbp)
jmp LBB0_11
LBB0_7:
movl -16(%rbp), %eax
movq -24(%rbp), %rcx
movslq -32(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_9
## %bb.8:
movl -32(%rbp), %edi
addl $1, %edi
movl -12(%rbp), %esi
movl -16(%rbp), %edx
movq -24(%rbp), %rcx
callq _ternarySearch
movl %eax, -4(%rbp)
jmp LBB0_11
LBB0_9:
movl -28(%rbp), %edi
addl $1, %edi
movl -32(%rbp), %esi
subl $1, %esi
movl -16(%rbp), %edx
movq -24(%rbp), %rcx
callq _ternarySearch
movl %eax, -4(%rbp)
jmp LBB0_11
LBB0_10:
movl $-1, -4(%rbp)
LBB0_11:
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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.ar(%rip), %rsi
movl $40, %edx
callq _memcpy
movl $0, -52(%rbp)
movl $9, -56(%rbp)
movl $5, -64(%rbp)
movl -52(%rbp), %edi
movl -56(%rbp), %esi
movl -64(%rbp), %edx
leaq -48(%rbp), %rcx
callq _ternarySearch
movl %eax, -60(%rbp)
movl -64(%rbp), %esi
movl -60(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $50, -64(%rbp)
movl -52(%rbp), %edi
movl -56(%rbp), %esi
movl -64(%rbp), %edx
leaq -48(%rbp), %rcx
callq _ternarySearch
movl %eax, -60(%rbp)
movl -64(%rbp), %esi
movl -60(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.ar
l___const.main.ar:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Index of %d is %d\n"
L_.str.1: ## @.str.1
.asciz "Index of %d is %d"
.subsections_via_symbols
| the_stack_data/56032.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/571965.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #10
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-8]
ldur w10, [x29, #-12]
mul w10, w9, w10
mov x9, sp
str x11, [x9]
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
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 "Digite n: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%2d x %2d = %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
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -8(%rbp)
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -8(%rbp), %ecx
imull -12(%rbp), %ecx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite n: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%2d x %2d = %d\n"
.subsections_via_symbols
| the_stack_data/71774.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str wzr, [sp, #28]
str w0, [sp, #24]
str x1, [sp, #16]
mov w8, #42
str w8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
b LBB0_4
LBB0_3:
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_5:
mov w0, #0
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $42, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
subl -24(%rbp), %eax
cmpl $0, %eax
jg LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
jmp LBB0_4
LBB0_3:
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_5:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/190767959.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]
adrp x0, _statFilename@PAGE
add x0, x0, _statFilename@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
str x0, [sp, #40]
ldr x0, [sp, #40]
mov x1, #0
str x1, [sp, #8] ; 8-byte Folded Spill
mov w2, #2
bl _fseek
ldr x0, [sp, #40]
bl _ftell
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
str w8, [sp, #36]
ldr x0, [sp, #40]
mov w2, #0
bl _fseek
ldrsw x8, [sp, #36]
lsr x1, x8, #0
mov x0, #1
str x0, [sp, #16] ; 8-byte Folded Spill
bl _calloc
ldr x2, [sp, #16] ; 8-byte Folded Reload
str x0, [sp, #24]
ldr x0, [sp, #24]
ldrsw x1, [sp, #36]
ldr x3, [sp, #40]
bl _fread
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #28
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #40]
bl _fclose
ldr x0, [sp, #24]
bl _free
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __DATA,__data
_statFilename: ; @statFilename
.asciz "stat_serv_file.dsg"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rb"
l_.str.1: ; @.str.1
.asciz "This is data :\n%s"
l_.str.2: ; @.str.2
.asciz "This is pointer address:\n%p"
l_.str.3: ; @.str.3
.asciz "Enter some data :%s"
l_.str.4: ; @.str.4
.asciz "This is modified data :\n%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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq _statFilename(%rip), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movq -40(%rbp), %rdi
callq _ftell
## kill: def $eax killed $eax killed $rax
movl %eax, -44(%rbp)
movq -40(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
movslq -44(%rbp), %rsi
shlq $0, %rsi
movl $1, %edi
callq _calloc
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
movslq -44(%rbp), %rsi
movq -40(%rbp), %rcx
movl $1, %edx
callq _fread
movq -56(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
movq -56(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -40(%rbp), %rdi
callq _fclose
movq -56(%rbp), %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
addq $64, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @statFilename
_statFilename:
.asciz "stat_serv_file.dsg"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rb"
L_.str.1: ## @.str.1
.asciz "This is data :\n%s"
L_.str.2: ## @.str.2
.asciz "This is pointer address:\n%p"
L_.str.3: ## @.str.3
.asciz "Enter some data :%s"
L_.str.4: ## @.str.4
.asciz "This is modified data :\n%s"
.subsections_via_symbols
| the_stack_data/248579849.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.