arm
stringlengths 122
20M
| x86
stringlengths 122
20M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm ___Must_Link_VCL_Apps_With_The_CP32MT_Or_CP32MTI_RTL,1,0 ; @__Must_Link_VCL_Apps_With_The_CP32MT_Or_CP32MTI_RTL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm ___Must_Link_VCL_Apps_With_The_CP32MT_Or_CP32MTI_RTL,1,0 ## @__Must_Link_VCL_Apps_With_The_CP32MT_Or_CP32MTI_RTL
.subsections_via_symbols
| the_stack_data/11170.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ase_get_faces_count ; -- Begin function ase_get_faces_count
.p2align 2
_ase_get_faces_count: ; @ase_get_faces_count
.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 x0, [sp, #16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strstr
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.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_3
LBB0_2:
ldr x8, [sp, #16]
add x8, x8, #15
str x8, [sp, #16]
ldr x0, [sp, #16]
bl _atoi
ldr x8, [sp, #8]
str w0, [x8]
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_3
LBB0_3:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "*MESH_NUMFACES "
l_.str.1: ; @.str.1
.asciz "Failed to find MESH_NUMFACES marker.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ase_get_faces_count ## -- Begin function ase_get_faces_count
.p2align 4, 0x90
_ase_get_faces_count: ## @ase_get_faces_count
.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 -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strstr
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq $0, -8(%rbp)
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
addq $15, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq _atoi
movl %eax, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_3:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "*MESH_NUMFACES "
L_.str.1: ## @.str.1
.asciz "Failed to find MESH_NUMFACES marker.\n"
.subsections_via_symbols
| the_stack_data/64775.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
mov w8, #10
str w8, [sp, #12]
add x0, sp, #32
adrp x1, l___const.main.elements@PAGE
add x1, x1, l___const.main.elements@PAGEOFF
mov x2, #40
bl _memcpy
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #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
ldrsw x9, [sp, #24]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.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, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_4:
str wzr, [sp, #24]
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
str w8, [sp, #8] ; 4-byte Folded Spill
ldr w8, [sp, #12]
mov w9, #2
sdiv w0, w8, w9
bl _abs
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x8, [sp, #20]
add x9, sp, #32
ldr w8, [x9, x8, lsl #2]
str w8, [sp, #16]
ldrsw x8, [sp, #24]
ldr w8, [x9, x8, lsl #2]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #16]
ldrsw x10, [sp, #24]
str w8, [x9, x10, lsl #2]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_8:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_9
LBB0_12:
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, LBB0_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.elements
l___const.main.elements:
.long 11 ; 0xb
.long 24 ; 0x18
.long 66 ; 0x42
.long 21 ; 0x15
.long 25 ; 0x19
.long 70 ; 0x46
.long 44 ; 0x2c
.long 62 ; 0x3e
.long 28 ; 0x1c
.long 63 ; 0x3f
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Normal Order:\n"
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "\nReversed Order:\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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $10, -68(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.elements(%rip), %rsi
movl $40, %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
movl -56(%rbp), %eax
cmpl -68(%rbp), %eax
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 $0, -56(%rbp)
movl -68(%rbp), %eax
subl $1, %eax
movl %eax, -60(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movl -68(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %edi
callq _abs
movl %eax, %ecx
movl -72(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -60(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movl %eax, -64(%rbp)
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %ecx
movslq -60(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
movl -64(%rbp), %ecx
movslq -56(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
movl -60(%rbp), %eax
addl $-1, %eax
movl %eax, -60(%rbp)
jmp LBB0_5
LBB0_8:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -56(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
cmpl -68(%rbp), %eax
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_9
LBB0_12:
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 LBB0_14
## %bb.13:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.elements
l___const.main.elements:
.long 11 ## 0xb
.long 24 ## 0x18
.long 66 ## 0x42
.long 21 ## 0x15
.long 25 ## 0x19
.long 70 ## 0x46
.long 44 ## 0x2c
.long 62 ## 0x3e
.long 28 ## 0x1c
.long 63 ## 0x3f
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Normal Order:\n"
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\nReversed Order:\n"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/181392777.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/717217.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
fmov d0, #1.00000000
str d0, [sp, #24]
str d0, [sp, #16]
mov w8, #1
str w8, [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, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr d0, [sp, #16]
ldur d1, [x29, #-16]
fmul d0, d0, d1
fmov d2, #1.00000000
fmul d0, d0, d2
ldr s3, [sp, #12]
; implicit-def: $d1
fmov s1, s3
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fmul d1, d1, d2
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d1, [sp, #16]
ldr d0, [sp, #24]
fadd d0, d0, d1
str d0, [sp, #24]
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:
ldr d0, [sp, #24]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%lf"
l_.str.2: ; @.str.2
.asciz "%.8lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movl $1, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -36(%rbp), %xmm1
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_4:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%lf"
L_.str.2: ## @.str.2
.asciz "%.8lf\n"
.subsections_via_symbols
| the_stack_data/238054.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]
adrp x8, l___const.main.s1@PAGE
add x8, x8, l___const.main.s1@PAGEOFF
ldr x9, [x8]
add x0, sp, #24
str x9, [sp, #24]
ldrb w8, [x8, #8]
strb w8, [sp, #32]
adrp x8, l___const.main.s2@PAGE
add x8, x8, l___const.main.s2@PAGEOFF
ldr x9, [x8]
add x1, sp, #8
str x9, [sp, #8]
ldrh w8, [x8, #8]
strh w8, [sp, #16]
mov x2, #9
bl ___strcat_chk
mov x8, sp
str x0, [x8]
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:
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.s1: ; @__const.main.s1
.asciz "Gustavo "
l___const.main.s2: ; @__const.main.s2
.asciz "Guanabara"
l_.str: ; @.str
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq L___const.main.s1(%rip), %rax
movq %rax, -17(%rbp)
movb L___const.main.s1+8(%rip), %al
movb %al, -9(%rbp)
movq L___const.main.s2(%rip), %rax
movq %rax, -27(%rbp)
movw L___const.main.s2+8(%rip), %ax
movw %ax, -19(%rbp)
leaq -17(%rbp), %rdi
leaq -27(%rbp), %rsi
movl $9, %edx
callq ___strcat_chk
movq %rax, %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:
addq $32, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.s1: ## @__const.main.s1
.asciz "Gustavo "
L___const.main.s2: ## @__const.main.s2
.asciz "Guanabara"
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/237643645.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _push1 ; -- Begin function push1
.p2align 2
_push1: ; @push1
.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 w3, [sp, #20]
ldur x8, [x29, #-16]
ldr w8, [x8]
ldr x9, [sp, #24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
ldur x8, [x29, #-16]
ldr w8, [x8]
add w8, w8, #1
ldur x9, [x29, #-16]
str w8, [x9]
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
ldur x10, [x29, #-16]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _push2 ; -- Begin function push2
.p2align 2
_push2: ; @push2
.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 w3, [sp, #20]
ldr x8, [sp, #24]
ldr w8, [x8]
ldur x9, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur x8, [x29, #-16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
ldur x8, [x29, #-16]
ldr w8, [x8]
subs w8, w8, #1
ldur x9, [x29, #-16]
str w8, [x9]
ldr w8, [sp, #20]
ldur x9, [x29, #-8]
ldur x10, [x29, #-16]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
b LBB1_3
LBB1_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _pop1 ; -- Begin function pop1
.p2align 2
_pop1: ; @pop1
.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 w8, [x8]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB2_3
LBB2_2:
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #1
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-4]
b LBB2_3
LBB2_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _pop2 ; -- Begin function pop2
.p2align 2
_pop2: ; @pop2
.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 w8, [x8]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB3_3
LBB3_2:
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
ldr x8, [sp, #8]
ldr w8, [x8]
add w8, w8, #1
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-4]
b LBB3_3
LBB3_3:
ldur w0, [x29, #-4]
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, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _printStack1 ; -- Begin function printStack1
.p2align 2
_printStack1: ; @printStack1
.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]
ldur x8, [x29, #-16]
ldr w8, [x8]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
bl _pop1
str w0, [sp, #20]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
bl _printStack1
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
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
ldr w3, [sp, #20]
bl _push1
b LBB5_2
LBB5_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _printStack2 ; -- Begin function printStack2
.p2align 2
_printStack2: ; @printStack2
.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]
ldur x8, [x29, #-16]
ldr w8, [x8]
subs w8, w8, #20
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
bl _pop2
str w0, [sp, #20]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
bl _printStack2
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
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
ldr w3, [sp, #20]
bl _push2
b LBB6_2
LBB6_2:
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, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #52]
mov w8, #-1
str w8, [sp, #48]
mov w8, #20
str w8, [sp, #44]
add x8, sp, #40
str x8, [sp, #24] ; 8-byte Folded Spill
str wzr, [sp, #40]
str wzr, [sp, #36]
str wzr, [sp, #32]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
str w8, [sp, #20] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_7
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
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
ldr w3, [sp, #32]
sub x0, x29, #48
add x1, sp, #48
add x2, sp, #44
bl _push1
b LBB7_8
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
sub x0, x29, #48
add x1, sp, #48
bl _pop1
b LBB7_8
LBB7_6: ; in Loop: Header=BB7_1 Depth=1
sub x0, x29, #48
add x1, sp, #48
add x2, sp, #44
bl _printStack1
b LBB7_8
LBB7_7: ; in Loop: Header=BB7_1 Depth=1
b LBB7_8
LBB7_8: ; in Loop: Header=BB7_1 Depth=1
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
b LBB7_9
LBB7_9: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB7_1
b LBB7_10
LBB7_10:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #40
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
b LBB7_11
LBB7_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
str w8, [sp, #16] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB7_14
b LBB7_12
LBB7_12: ; in Loop: Header=BB7_11 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB7_15
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_11 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB7_16
b LBB7_17
LBB7_14: ; in Loop: Header=BB7_11 Depth=1
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
ldr w3, [sp, #32]
sub x0, x29, #88
add x1, sp, #44
add x2, sp, #48
bl _push2
b LBB7_18
LBB7_15: ; in Loop: Header=BB7_11 Depth=1
sub x0, x29, #88
add x1, sp, #44
bl _pop2
b LBB7_18
LBB7_16: ; in Loop: Header=BB7_11 Depth=1
sub x0, x29, #88
add x1, sp, #44
add x2, sp, #48
bl _printStack2
b LBB7_18
LBB7_17: ; in Loop: Header=BB7_11 Depth=1
b LBB7_18
LBB7_18: ; in Loop: Header=BB7_11 Depth=1
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
b LBB7_19
LBB7_19: ; in Loop: Header=BB7_11 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB7_11
b LBB7_20
LBB7_20:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB7_22
b LBB7_21
LBB7_21:
bl ___stack_chk_fail
LBB7_22:
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d Overflow\n"
l_.str.1: ; @.str.1
.asciz "Underflow\n"
l_.str.2: ; @.str.2
.asciz "%d "
l_.str.3: ; @.str.3
.asciz "1, push1, 2 pop1, 3 print1 : "
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "1, push2, 2 pop2, 3 print2 : "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _push1 ## -- Begin function push1
.p2align 4, 0x90
_push1: ## @push1
.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)
movl %ecx, -28(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _push2 ## -- Begin function push2
.p2align 4, 0x90
_push2: ## @push2
.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)
movl %ecx, -28(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB1_2
## %bb.1:
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
movq -16(%rbp), %rax
movl (%rax), %ecx
subl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
LBB1_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop1 ## -- Begin function pop1
.p2align 4, 0x90
_pop1: ## @pop1
.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
cmpl $-1, (%rax)
jne LBB2_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB2_3
LBB2_2:
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq -24(%rbp), %rax
movl (%rax), %ecx
subl $1, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
LBB2_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop2 ## -- Begin function pop2
.p2align 4, 0x90
_pop2: ## @pop2
.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
cmpl $-1, (%rax)
jne LBB3_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB3_3
LBB3_2:
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
LBB3_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Display ## -- Begin function Display
.p2align 4, 0x90
_Display: ## @Display
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printStack1 ## -- Begin function printStack1
.p2align 4, 0x90
_printStack1: ## @printStack1
.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 -16(%rbp), %rax
cmpl $-1, (%rax)
je LBB5_2
## %bb.1:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _pop1
movl %eax, -28(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _printStack1
movl -28(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
callq _push1
LBB5_2:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printStack2 ## -- Begin function printStack2
.p2align 4, 0x90
_printStack2: ## @printStack2
.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 -16(%rbp), %rax
cmpl $20, (%rax)
je LBB6_2
## %bb.1:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _pop2
movl %eax, -28(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _printStack2
movl -28(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
callq _push2
LBB6_2:
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 $208, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -180(%rbp)
movl $-1, -184(%rbp)
movl $20, -188(%rbp)
movl $0, -192(%rbp)
movl $0, -196(%rbp)
movl $0, -200(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -192(%rbp), %rsi
movb $0, %al
callq _scanf
LBB7_1: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp), %eax
movl %eax, -204(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB7_2
jmp LBB7_19
LBB7_19: ## in Loop: Header=BB7_1 Depth=1
movl -204(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB7_3
jmp LBB7_20
LBB7_20: ## in Loop: Header=BB7_1 Depth=1
movl -204(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB7_4
jmp LBB7_5
LBB7_2: ## in Loop: Header=BB7_1 Depth=1
leaq L_.str.4(%rip), %rdi
leaq -200(%rbp), %rsi
movb $0, %al
callq _scanf
leaq -48(%rbp), %rdi
movl -200(%rbp), %ecx
leaq -184(%rbp), %rsi
leaq -188(%rbp), %rdx
callq _push1
jmp LBB7_6
LBB7_3: ## in Loop: Header=BB7_1 Depth=1
leaq -48(%rbp), %rdi
leaq -184(%rbp), %rsi
callq _pop1
jmp LBB7_6
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
leaq -48(%rbp), %rdi
leaq -184(%rbp), %rsi
leaq -188(%rbp), %rdx
callq _printStack1
jmp LBB7_6
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_6
LBB7_6: ## in Loop: Header=BB7_1 Depth=1
leaq L_.str.4(%rip), %rdi
leaq -196(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.7: ## in Loop: Header=BB7_1 Depth=1
cmpl $1, -196(%rbp)
je LBB7_1
## %bb.8:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -192(%rbp), %rsi
movb $0, %al
callq _scanf
LBB7_9: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp), %eax
movl %eax, -208(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB7_10
jmp LBB7_21
LBB7_21: ## in Loop: Header=BB7_9 Depth=1
movl -208(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB7_11
jmp LBB7_22
LBB7_22: ## in Loop: Header=BB7_9 Depth=1
movl -208(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB7_12
jmp LBB7_13
LBB7_10: ## in Loop: Header=BB7_9 Depth=1
leaq L_.str.4(%rip), %rdi
leaq -200(%rbp), %rsi
movb $0, %al
callq _scanf
leaq -96(%rbp), %rdi
movl -200(%rbp), %ecx
leaq -188(%rbp), %rsi
leaq -184(%rbp), %rdx
callq _push2
jmp LBB7_14
LBB7_11: ## in Loop: Header=BB7_9 Depth=1
leaq -96(%rbp), %rdi
leaq -188(%rbp), %rsi
callq _pop2
jmp LBB7_14
LBB7_12: ## in Loop: Header=BB7_9 Depth=1
leaq -96(%rbp), %rdi
leaq -188(%rbp), %rsi
leaq -184(%rbp), %rdx
callq _printStack2
jmp LBB7_14
LBB7_13: ## in Loop: Header=BB7_9 Depth=1
jmp LBB7_14
LBB7_14: ## in Loop: Header=BB7_9 Depth=1
leaq L_.str.4(%rip), %rdi
leaq -196(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.15: ## in Loop: Header=BB7_9 Depth=1
cmpl $1, -196(%rbp)
je LBB7_9
## %bb.16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_18
## %bb.17:
xorl %eax, %eax
addq $208, %rsp
popq %rbp
retq
LBB7_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d Overflow\n"
L_.str.1: ## @.str.1
.asciz "Underflow\n"
L_.str.2: ## @.str.2
.asciz "%d "
L_.str.3: ## @.str.3
.asciz "1, push1, 2 pop1, 3 print1 : "
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "1, push2, 2 pop2, 3 print2 : "
.subsections_via_symbols
| the_stack_data/161079788.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _consumeLine ; -- Begin function consumeLine
.p2align 2
_consumeLine: ; @consumeLine
.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
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
subs w8, w0, #10
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _menu ; -- Begin function menu
.p2align 2
_menu: ; @menu
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@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
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _scanf
bl _consumeLine
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _printf
ldur w9, [x29, #-8]
mov w8, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur w8, [x29, #-8]
subs w8, w8, #5
cset w8, le
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
stur wzr, [x29, #-4]
b LBB1_4
LBB1_3:
ldur w8, [x29, #-8]
stur w8, [x29, #-4]
b LBB1_4
LBB1_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _writeCatFile ; -- Begin function writeCatFile
.p2align 2
_writeCatFile: ; @writeCatFile
.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, _catalog_f@GOTPAGE
ldr x8, [x8, _catalog_f@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fopen
ldr x9, [sp] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_7
LBB2_2:
str wzr, [sp, #8]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
adrp x9, _numBooks@PAGE
ldr w9, [x9, _numBooks@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x10, [sp, #8]
adrp x9, _name@GOTPAGE
ldr x9, [x9, _name@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x1, [x8]
bl _fputs
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x10, [sp, #8]
adrp x9, _author@GOTPAGE
ldr x9, [x9, _author@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x1, [x8]
bl _fputs
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x10, [sp, #8]
adrp x9, _publisher@GOTPAGE
ldr x9, [x9, _publisher@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x1, [x8]
bl _fputs
ldr x8, [sp] ; 8-byte Folded Reload
ldr x1, [x8]
mov w0, #10
bl _fputc
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_3
LBB2_6:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fclose
stur wzr, [x29, #-4]
b LBB2_7
LBB2_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _readCatFile ; -- Begin function readCatFile
.p2align 2
_readCatFile: ; @readCatFile
.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, _catalog_f@GOTPAGE
ldr x8, [x8, _catalog_f@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
mov w1, #0
bl _access
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB3_15
LBB3_2:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fopen
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB3_15
LBB3_4:
b LBB3_5
LBB3_5:
stur wzr, [x29, #-8]
b LBB3_6
LBB3_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fscanf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fscanf
mov w8, #-1
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_6 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB3_6
LBB3_8:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
bl _rewind
ldur w8, [x29, #-8]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB3_15
LBB3_10:
ldur w8, [x29, #-8]
mov w9, #4
sdiv w8, w8, w9
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
b LBB3_11
LBB3_11: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_14
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_11 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x10, [x29, #-16]
adrp x9, _name@GOTPAGE
ldr x9, [x9, _name@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x2, [x8]
mov w1, #512
str w1, [sp, #20] ; 4-byte Folded Spill
bl _fgets
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x10, [x29, #-16]
adrp x9, _author@GOTPAGE
ldr x9, [x9, _author@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x2, [x8]
bl _fgets
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x10, [x29, #-16]
adrp x9, _publisher@GOTPAGE
ldr x9, [x9, _publisher@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x2, [x8]
bl _fgets
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fscanf
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_11 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB3_11
LBB3_14:
ldur w9, [x29, #-12]
adrp x8, _numBooks@PAGE
str w9, [x8, _numBooks@PAGEOFF]
ldr w9, [x8, _numBooks@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fclose
stur wzr, [x29, #-4]
b LBB3_15
LBB3_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _mEnter ; -- Begin function mEnter
.p2align 2
_mEnter: ; @mEnter
.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, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
stur x8, [x29, #-24] ; 8-byte Folded Spill
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldur x8, [x29, #-24] ; 8-byte Folded Reload
adrp x9, _numBooks@PAGE
str x9, [sp, #24] ; 8-byte Folded Spill
ldrsw x10, [x9, _numBooks@PAGEOFF]
adrp x9, _name@GOTPAGE
ldr x9, [x9, _name@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
add x0, x9, x10, lsl #9
ldr x2, [x8]
mov w1, #512
bl _fgets
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsw x9, [x9, _numBooks@PAGEOFF]
add x8, x8, x9, lsl #9
ldrb w8, [x8, #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2:
b LBB4_4
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldur x8, [x29, #-24] ; 8-byte Folded Reload
adrp x9, _numBooks@PAGE
str x9, [sp, #16] ; 8-byte Folded Spill
ldrsw x10, [x9, _numBooks@PAGEOFF]
adrp x9, _author@GOTPAGE
ldr x9, [x9, _author@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x2, [x8]
mov w1, #512
str w1, [sp, #12] ; 4-byte Folded Spill
bl _fgets
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr w1, [sp, #12] ; 4-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldrsw x10, [x9, _numBooks@PAGEOFF]
adrp x9, _publisher@GOTPAGE
ldr x9, [x9, _publisher@GOTPAGEOFF]
add x0, x9, x10, lsl #9
ldr x2, [x8]
bl _fgets
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9, _numBooks@PAGEOFF]
add w8, w8, #1
str w8, [x9, _numBooks@PAGEOFF]
b LBB4_1
LBB4_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _menuLogic ; -- Begin function menuLogic
.p2align 2
_menuLogic: ; @menuLogic
.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
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
bl _menu
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, LBB5_12
; %bb.2: ; in Loop: Header=BB5_1 Depth=1
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI5_0@PAGE
add x10, x10, lJTI5_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
b LBB5_12
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
bl _mEnter
b LBB5_12
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB5_12
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB5_12
LBB5_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB5_8: ; in Loop: Header=BB5_1 Depth=1
bl _writeCatFile
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_10
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
b LBB5_11
LBB5_10: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_1 Depth=1
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_1 Depth=1
b LBB5_1
.cfi_endproc
.p2align 2
lJTI5_0:
.long LBB5_3-Ltmp0
.long LBB5_4-Ltmp0
.long LBB5_5-Ltmp0
.long LBB5_6-Ltmp0
.long LBB5_7-Ltmp0
.long LBB5_8-Ltmp0
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
bl _readCatFile
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
b LBB6_2
LBB6_2:
bl _menuLogic
adrp x8, _catalog_f@GOTPAGE
ldr x8, [x8, _catalog_f@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
adrp x8, _catalog_f@GOTPAGE
ldr x8, [x8, _catalog_f@GOTPAGEOFF]
ldr x0, [x8]
bl _fclose
b LBB6_4
LBB6_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _numBooks ; @numBooks
.zerofill __DATA,__common,_numBooks,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
l_.str.1: ; @.str.1
.asciz "Card Catalog:\n"
l_.str.2: ; @.str.2
.asciz "1: Enter\n"
l_.str.3: ; @.str.3
.asciz "2: Search by Author\n"
l_.str.4: ; @.str.4
.asciz "3: Search by Title\n"
l_.str.5: ; @.str.5
.asciz "4: Quit\n"
l_.str.6: ; @.str.6
.asciz "5: Save to Disk"
l_.str.7: ; @.str.7
.asciz ":"
l_.str.8: ; @.str.8
.asciz "%d"
l_.str.9: ; @.str.9
.asciz "CATALOG.txt"
l_.str.10: ; @.str.10
.asciz "w"
.comm _catalog_f,8,3 ; @catalog_f
.comm _name,262144,0 ; @name
.comm _author,262144,0 ; @author
.comm _publisher,262144,0 ; @publisher
l_.str.11: ; @.str.11
.asciz "Unable to access Catalog file.\n"
l_.str.12: ; @.str.12
.asciz "r"
l_.str.13: ; @.str.13
.asciz "%*[^\n]"
l_.str.14: ; @.str.14
.asciz "%*c"
l_.str.15: ; @.str.15
.asciz "Malformed Catalog file? (%d lines)"
l_.str.16: ; @.str.16
.asciz "Read %d books into memory.\n"
l_.str.17: ; @.str.17
.asciz "Enter blank name to end.\n"
l_.str.18: ; @.str.18
.asciz "Name: "
l_.str.19: ; @.str.19
.asciz "Author: "
l_.str.20: ; @.str.20
.asciz "Publisher: "
l_.str.21: ; @.str.21
.asciz "Wrong Option.\n"
l_.str.22: ; @.str.22
.asciz "NOOP.\n"
l_.str.23: ; @.str.23
.asciz "Wrote to Catalog file.\n"
l_.str.24: ; @.str.24
.asciz "Failed to write to Catalog file!\n"
l_.str.25: ; @.str.25
.asciz "Unable to read catalog file into memory!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _consumeLine ## -- Begin function consumeLine
.p2align 4, 0x90
_consumeLine: ## @consumeLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
jmp LBB0_1
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
cmpl $10, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _menu ## -- Begin function menu
.p2align 4, 0x90
_menu: ## @menu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
callq _consumeLine
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %eax
cmpl -8(%rbp), %eax
jg LBB1_2
## %bb.1:
cmpl $5, -8(%rbp)
jle LBB1_3
LBB1_2:
movl $0, -4(%rbp)
jmp LBB1_4
LBB1_3:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB1_4:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _writeCatFile ## -- Begin function writeCatFile
.p2align 4, 0x90
_writeCatFile: ## @writeCatFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.9(%rip), %rdi
leaq L_.str.10(%rip), %rsi
callq _fopen
movq _catalog_f@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB2_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB2_7
LBB2_2:
movl $0, -8(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl _numBooks(%rip), %eax
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movslq -8(%rbp), %rax
movq _name@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
movslq -8(%rbp), %rax
movq _author@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
movslq -8(%rbp), %rax
movq _publisher@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _fputc
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB2_3
LBB2_6:
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
movl $0, -4(%rbp)
LBB2_7:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readCatFile ## -- Begin function readCatFile
.p2align 4, 0x90
_readCatFile: ## @readCatFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.9(%rip), %rdi
xorl %esi, %esi
callq _access
cmpl $0, %eax
je LBB3_2
## %bb.1:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB3_15
LBB3_2:
leaq L_.str.9(%rip), %rdi
leaq L_.str.12(%rip), %rsi
callq _fopen
movq _catalog_f@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB3_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB3_15
LBB3_4:
jmp LBB3_5
LBB3_5:
movl $0, -8(%rbp)
LBB3_6: ## =>This Inner Loop Header: Depth=1
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fscanf
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.14(%rip), %rsi
movb $0, %al
callq _fscanf
movl %eax, %ecx
movl $4294967295, %eax ## imm = 0xFFFFFFFF
cmpl %ecx, %eax
je LBB3_8
## %bb.7: ## in Loop: Header=BB3_6 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB3_6
LBB3_8:
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _rewind
movl -8(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB3_10
## %bb.9:
movl -8(%rbp), %esi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB3_15
LBB3_10:
movl -8(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
LBB3_11: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB3_14
## %bb.12: ## in Loop: Header=BB3_11 Depth=1
movslq -16(%rbp), %rax
movq _name@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $512, %esi ## imm = 0x200
callq _fgets
movslq -16(%rbp), %rax
movq _author@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $512, %esi ## imm = 0x200
callq _fgets
movslq -16(%rbp), %rax
movq _publisher@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $512, %esi ## imm = 0x200
callq _fgets
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.14(%rip), %rsi
movb $0, %al
callq _fscanf
## %bb.13: ## in Loop: Header=BB3_11 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB3_11
LBB3_14:
movl -12(%rbp), %eax
movl %eax, _numBooks(%rip)
movl _numBooks(%rip), %esi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
movl $0, -4(%rbp)
LBB3_15:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mEnter ## -- Begin function mEnter
.p2align 4, 0x90
_mEnter: ## @mEnter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
LBB4_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movslq _numBooks(%rip), %rax
movq _name@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $512, %esi ## imm = 0x200
callq _fgets
movslq _numBooks(%rip), %rcx
movq _name@GOTPCREL(%rip), %rax
shlq $9, %rcx
addq %rcx, %rax
cmpb $0, 1(%rax)
jne LBB4_3
## %bb.2:
jmp LBB4_4
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
movslq _numBooks(%rip), %rax
movq _author@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $512, %esi ## imm = 0x200
callq _fgets
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
movslq _numBooks(%rip), %rax
movq _publisher@GOTPCREL(%rip), %rdi
shlq $9, %rax
addq %rax, %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $512, %esi ## imm = 0x200
callq _fgets
movl _numBooks(%rip), %eax
addl $1, %eax
movl %eax, _numBooks(%rip)
jmp LBB4_1
LBB4_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _menuLogic ## -- Begin function menuLogic
.p2align 4, 0x90
_menuLogic: ## @menuLogic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
LBB5_1: ## =>This Inner Loop Header: Depth=1
callq _menu
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
subq $5, %rax
ja LBB5_11
## %bb.12: ## in Loop: Header=BB5_1 Depth=1
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI5_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB5_2: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB5_11
LBB5_3: ## in Loop: Header=BB5_1 Depth=1
callq _mEnter
jmp LBB5_11
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB5_11
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB5_11
LBB5_6:
addq $16, %rsp
popq %rbp
retq
LBB5_7: ## in Loop: Header=BB5_1 Depth=1
callq _writeCatFile
cmpl $0, %eax
jne LBB5_9
## %bb.8: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB5_10
LBB5_9: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
LBB5_10: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_11
LBB5_11: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_1
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L5_0_set_2, LBB5_2-LJTI5_0
.set L5_0_set_3, LBB5_3-LJTI5_0
.set L5_0_set_4, LBB5_4-LJTI5_0
.set L5_0_set_5, LBB5_5-LJTI5_0
.set L5_0_set_6, LBB5_6-LJTI5_0
.set L5_0_set_7, LBB5_7-LJTI5_0
LJTI5_0:
.long L5_0_set_2
.long L5_0_set_3
.long L5_0_set_4
.long L5_0_set_5
.long L5_0_set_6
.long L5_0_set_7
.end_data_region
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _readCatFile
cmpl $0, %eax
je LBB6_2
## %bb.1:
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
LBB6_2:
callq _menuLogic
movq _catalog_f@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB6_4
## %bb.3:
movq _catalog_f@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
LBB6_4:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _numBooks ## @numBooks
.zerofill __DATA,__common,_numBooks,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
L_.str.1: ## @.str.1
.asciz "Card Catalog:\n"
L_.str.2: ## @.str.2
.asciz "1: Enter\n"
L_.str.3: ## @.str.3
.asciz "2: Search by Author\n"
L_.str.4: ## @.str.4
.asciz "3: Search by Title\n"
L_.str.5: ## @.str.5
.asciz "4: Quit\n"
L_.str.6: ## @.str.6
.asciz "5: Save to Disk"
L_.str.7: ## @.str.7
.asciz ":"
L_.str.8: ## @.str.8
.asciz "%d"
L_.str.9: ## @.str.9
.asciz "CATALOG.txt"
L_.str.10: ## @.str.10
.asciz "w"
.comm _catalog_f,8,3 ## @catalog_f
.comm _name,262144,4 ## @name
.comm _author,262144,4 ## @author
.comm _publisher,262144,4 ## @publisher
L_.str.11: ## @.str.11
.asciz "Unable to access Catalog file.\n"
L_.str.12: ## @.str.12
.asciz "r"
L_.str.13: ## @.str.13
.asciz "%*[^\n]"
L_.str.14: ## @.str.14
.asciz "%*c"
L_.str.15: ## @.str.15
.asciz "Malformed Catalog file? (%d lines)"
L_.str.16: ## @.str.16
.asciz "Read %d books into memory.\n"
L_.str.17: ## @.str.17
.asciz "Enter blank name to end.\n"
L_.str.18: ## @.str.18
.asciz "Name: "
L_.str.19: ## @.str.19
.asciz "Author: "
L_.str.20: ## @.str.20
.asciz "Publisher: "
L_.str.21: ## @.str.21
.asciz "Wrong Option.\n"
L_.str.22: ## @.str.22
.asciz "NOOP.\n"
L_.str.23: ## @.str.23
.asciz "Wrote to Catalog file.\n"
L_.str.24: ## @.str.24
.asciz "Failed to write to Catalog file!\n"
L_.str.25: ## @.str.25
.asciz "Unable to read catalog file into memory!\n"
.subsections_via_symbols
| the_stack_data/134879.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #44]
sub x0, x29, #48
adrp x1, l___const.main.arr@PAGE
add x1, x1, l___const.main.arr@PAGEOFF
mov x2, #40
bl _memcpy
adrp x9, l___const.main.str@PAGE
add x9, x9, l___const.main.str@PAGEOFF
ldr q0, [x9]
sub x8, x29, #80
stur q0, [x29, #-80]
ldur q0, [x9, #9]
stur q0, [x8, #9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #40]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #40]
sub x8, x29, #48
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, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_1
LBB0_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str wzr, [sp, #36]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #36]
sub x8, x29, #80
ldrsb w10, [x8, x9]
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_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_5
LBB0_8:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x0, sp, #96
adrp x1, l___const.main.notas1@PAGE
add x1, x1, l___const.main.notas1@PAGEOFF
mov x2, #48
str x2, [sp, #8] ; 8-byte Folded Spill
bl _memcpy
ldr x2, [sp, #8] ; 8-byte Folded Reload
add x0, sp, #48
adrp x1, l___const.main.notas2@PAGE
add x1, x1, l___const.main.notas2@PAGEOFF
bl _memcpy
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str wzr, [sp, #32]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #32]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #28]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldrsw x9, [sp, #32]
add x8, sp, #96
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #28]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_9
LBB0_16:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
str wzr, [sp, #20]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldrsw x8, [sp, #24]
mov x9, #12
mul x9, x8, x9
add x8, sp, #48
add x8, x8, x9
ldrsw x9, [sp, #20]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_17
LBB0_24:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
bl ___stack_chk_fail
LBB0_26:
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.arr
l___const.main.arr:
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 5 ; 0x5
.long 8 ; 0x8
.long 13 ; 0xd
.long 21 ; 0x15
.long 34 ; 0x22
.long 55 ; 0x37
.section __TEXT,__cstring,cstring_literals
l___const.main.str: ; @__const.main.str
.asciz "uma matriz de caracteres"
l_.str: ; @.str
.asciz "arr[10] = "
l_.str.1: ; @.str.1
.asciz "%d, "
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "str[24] = "
l_.str.4: ; @.str.4
.asciz "%c "
.section __TEXT,__const
.p2align 2 ; @__const.main.notas1
l___const.main.notas1:
.long 0x41000000 ; float 8
.long 0x40f00000 ; float 7.5
.long 0x41080000 ; float 8.5
.long 0x41100000 ; float 9
.long 0x410e6666 ; float 8.89999961
.long 0x41100000 ; float 9
.long 0x4109999a ; float 8.60000038
.long 0x41066666 ; float 8.39999961
.long 0x40d9999a ; float 6.80000019
.long 0x40e33333 ; float 7.0999999
.long 0x40e00000 ; float 7
.long 0x40f33333 ; float 7.5999999
.p2align 2 ; @__const.main.notas2
l___const.main.notas2:
.long 0x41000000 ; float 8
.long 0x40f00000 ; float 7.5
.long 0x41080000 ; float 8.5
.long 0x41100000 ; float 9
.long 0x410e6666 ; float 8.89999961
.long 0x41100000 ; float 9
.long 0x4109999a ; float 8.60000038
.long 0x41066666 ; float 8.39999961
.long 0x40d9999a ; float 6.80000019
.long 0x40e33333 ; float 7.0999999
.long 0x40e00000 ; float 7
.long 0x40f33333 ; float 7.5999999
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "matriz[3][4]\n"
l_.str.6: ; @.str.6
.asciz "%.1f, "
l_.str.7: ; @.str.7
.asciz "matriz[4][3]\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 $208, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -180(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.arr(%rip), %rsi
movl $40, %edx
callq _memcpy
movq L___const.main.str(%rip), %rax
movq %rax, -80(%rbp)
movq L___const.main.str+8(%rip), %rax
movq %rax, -72(%rbp)
movq L___const.main.str+16(%rip), %rax
movq %rax, -64(%rbp)
movb L___const.main.str+24(%rip), %al
movb %al, -56(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -184(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -184(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -184(%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 -184(%rbp), %eax
addl $1, %eax
movl %eax, -184(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -188(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $25, -188(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -188(%rbp), %rax
movsbl -80(%rbp,%rax), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB0_5
LBB0_8:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -128(%rbp), %rdi
leaq l___const.main.notas1(%rip), %rsi
movl $48, %edx
callq _memcpy
leaq -176(%rbp), %rdi
leaq l___const.main.notas2(%rip), %rsi
movl $48, %edx
callq _memcpy
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -192(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $3, -192(%rbp)
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -196(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -196(%rbp)
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movslq -192(%rbp), %rcx
leaq -128(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movslq -196(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.6(%rip), %rdi
movb $1, %al
callq _printf
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -196(%rbp), %eax
addl $1, %eax
movl %eax, -196(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB0_9
LBB0_16:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -200(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
cmpl $4, -200(%rbp)
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -204(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -204(%rbp)
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movslq -200(%rbp), %rcx
leaq -176(%rbp), %rax
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -204(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.6(%rip), %rdi
movb $1, %al
callq _printf
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -204(%rbp), %eax
addl $1, %eax
movl %eax, -204(%rbp)
jmp LBB0_19
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.23: ## in Loop: Header=BB0_17 Depth=1
movl -200(%rbp), %eax
addl $1, %eax
movl %eax, -200(%rbp)
jmp LBB0_17
LBB0_24:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_26
## %bb.25:
xorl %eax, %eax
addq $208, %rsp
popq %rbp
retq
LBB0_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.arr
l___const.main.arr:
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 5 ## 0x5
.long 8 ## 0x8
.long 13 ## 0xd
.long 21 ## 0x15
.long 34 ## 0x22
.long 55 ## 0x37
.section __TEXT,__cstring,cstring_literals
.p2align 4 ## @__const.main.str
L___const.main.str:
.asciz "uma matriz de caracteres"
L_.str: ## @.str
.asciz "arr[10] = "
L_.str.1: ## @.str.1
.asciz "%d, "
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "str[24] = "
L_.str.4: ## @.str.4
.asciz "%c "
.section __TEXT,__const
.p2align 4 ## @__const.main.notas1
l___const.main.notas1:
.long 0x41000000 ## float 8
.long 0x40f00000 ## float 7.5
.long 0x41080000 ## float 8.5
.long 0x41100000 ## float 9
.long 0x410e6666 ## float 8.89999961
.long 0x41100000 ## float 9
.long 0x4109999a ## float 8.60000038
.long 0x41066666 ## float 8.39999961
.long 0x40d9999a ## float 6.80000019
.long 0x40e33333 ## float 7.0999999
.long 0x40e00000 ## float 7
.long 0x40f33333 ## float 7.5999999
.p2align 4 ## @__const.main.notas2
l___const.main.notas2:
.long 0x41000000 ## float 8
.long 0x40f00000 ## float 7.5
.long 0x41080000 ## float 8.5
.long 0x41100000 ## float 9
.long 0x410e6666 ## float 8.89999961
.long 0x41100000 ## float 9
.long 0x4109999a ## float 8.60000038
.long 0x41066666 ## float 8.39999961
.long 0x40d9999a ## float 6.80000019
.long 0x40e33333 ## float 7.0999999
.long 0x40e00000 ## float 7
.long 0x40f33333 ## float 7.5999999
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "matriz[3][4]\n"
L_.str.6: ## @.str.6
.asciz "%.1f, "
L_.str.7: ## @.str.7
.asciz "matriz[4][3]\n"
.subsections_via_symbols
| the_stack_data/59511586.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/1016130.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _removeTrailingNewLine ; -- Begin function removeTrailingNewLine
.p2align 2
_removeTrailingNewLine: ; @removeTrailingNewLine
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x8, x8, x9
strb wzr, [x8]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_6:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _hasTrailingSlash ; -- Begin function hasTrailingSlash
.p2align 2
_hasTrailingSlash: ; @hasTrailingSlash
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x9, x0, #1
ldrsb w8, [x8, x9]
subs w8, w8, #47
cset w8, eq
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _runTest ; -- Begin function runTest
.p2align 2
_runTest: ; @runTest
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
mov x0, #1024
mov x1, #1
bl _calloc
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_2:
ldur x0, [x29, #-24]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #1024
bl _fgets
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
b LBB2_14
LBB2_4:
ldur x0, [x29, #-24]
bl _removeTrailingNewLine
mov x0, #1024
mov x1, #1
bl _calloc
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_6:
ldr x0, [sp, #32]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-16]
bl _hasTrailingSlash
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldr x0, [sp, #32]
ldur x10, [x29, #-16]
ldur x8, [x29, #-24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___sprintf_chk
b LBB2_9
LBB2_8:
ldr x0, [sp, #32]
ldur x10, [x29, #-16]
ldur x8, [x29, #-24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___sprintf_chk
b LBB2_9
LBB2_9:
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
ldr x0, [sp, #32]
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
b LBB2_12
LBB2_11:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB2_12
LBB2_12:
b LBB2_13
LBB2_13:
ldr x0, [sp, #32]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
ldur x0, [x29, #-24]
bl _free
ldr x0, [sp, #32]
bl _free
stur wzr, [x29, #-4]
b LBB2_15
LBB2_14:
ldr x0, [sp, #32]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _system
ldur x0, [x29, #-24]
bl _free
ldr x0, [sp, #32]
bl _free
mov w8, #1
stur w8, [x29, #-4]
b LBB2_15
LBB2_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_1
LBB3_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _system
b LBB3_2
LBB3_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x0, [x8, #8]
bl _runTest
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_2 Depth=1
b LBB3_2
LBB3_4:
b LBB3_6
LBB3_5:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB3_6
LBB3_6:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "malloc"
l_.str.1: ; @.str.1
.asciz "rm -rf gvki-0"
l_.str.2: ; @.str.2
.asciz "Running command %s\n"
l_.str.3: ; @.str.3
.asciz "%s%s"
l_.str.4: ; @.str.4
.asciz "%s/%s"
l_.str.5: ; @.str.5
.asciz "mv gvki-0 gvki-%s"
l_.str.6: ; @.str.6
.asciz "Program error\n"
l_.str.7: ; @.str.7
.asciz "Usage: ./automate <binary path>\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _removeTrailingNewLine ## -- Begin function removeTrailingNewLine
.p2align 4, 0x90
_removeTrailingNewLine: ## @removeTrailingNewLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
jne LBB0_4
## %bb.3:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasTrailingSlash ## -- Begin function hasTrailingSlash
.p2align 4, 0x90
_hasTrailingSlash: ## @hasTrailingSlash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -16(%rbp), %rax ## 8-byte Reload
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $47, %eax
sete %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _runTest ## -- Begin function runTest
.p2align 4, 0x90
_runTest: ## @runTest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_2:
movq -24(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $1024, %esi ## imm = 0x400
callq _fgets
cmpq $0, %rax
jne LBB2_4
## %bb.3:
jmp LBB2_14
LBB2_4:
movq -24(%rbp), %rdi
callq _removeTrailingNewLine
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB2_6
## %bb.5:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_6:
movq -32(%rbp), %rdi
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
callq _hasTrailingSlash
cmpl $0, %eax
je LBB2_8
## %bb.7:
movq -32(%rbp), %rdi
movq -16(%rbp), %r8
movq -24(%rbp), %r9
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.3(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
jmp LBB2_9
LBB2_8:
movq -32(%rbp), %rdi
movq -16(%rbp), %r8
movq -24(%rbp), %r9
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.4(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
LBB2_9:
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
jne LBB2_11
## %bb.10:
movq -32(%rbp), %rdi
movq -24(%rbp), %r8
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.5(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
jmp LBB2_12
LBB2_11:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB2_12:
jmp LBB2_13
LBB2_13:
movq -32(%rbp), %rdi
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
movq -24(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
movl $0, -4(%rbp)
jmp LBB2_15
LBB2_14:
movq -32(%rbp), %rdi
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _system
movq -24(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
movl $1, -4(%rbp)
LBB2_15:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jne LBB3_5
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _system
LBB3_2: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _runTest
cmpl $0, %eax
jne LBB3_4
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
jmp LBB3_2
LBB3_4:
jmp LBB3_6
LBB3_5:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB3_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "malloc"
L_.str.1: ## @.str.1
.asciz "rm -rf gvki-0"
L_.str.2: ## @.str.2
.asciz "Running command %s\n"
L_.str.3: ## @.str.3
.asciz "%s%s"
L_.str.4: ## @.str.4
.asciz "%s/%s"
L_.str.5: ## @.str.5
.asciz "mv gvki-0 gvki-%s"
L_.str.6: ## @.str.6
.asciz "Program error\n"
L_.str.7: ## @.str.7
.asciz "Usage: ./automate <binary path>\n"
.subsections_via_symbols
| the_stack_data/42071.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
sturb wzr, [x29, #-5]
ldursb w8, [x29, #-5]
mvn w8, w8
sturb w8, [x29, #-6]
ldursb w11, [x29, #-5]
ldursb w10, [x29, #-6]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov w8, #1
sturb w8, [x29, #-5]
ldursb w8, [x29, #-5]
mvn w8, w8
sturb w8, [x29, #-6]
ldursb w11, [x29, #-5]
ldursb w10, [x29, #-6]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
bl _printf
ldur w0, [x29, #-12] ; 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 "a = %d, b = %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)
movb $0, -5(%rbp)
movsbl -5(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -6(%rbp)
movsbl -5(%rbp), %esi
movsbl -6(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movb $1, -5(%rbp)
movsbl -5(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -6(%rbp)
movsbl -5(%rbp), %esi
movsbl -6(%rbp), %edx
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 "a = %d, b = %d\n"
.subsections_via_symbols
| the_stack_data/96845.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #32]
mov x9, sp
add x8, sp, #28
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, #28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_21
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #39
str x0, [sp, #8] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _strlen
mov x8, x0
str w8, [sp, #16]
str wzr, [sp, #20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
ldrsb w8, [x8, x9]
subs w8, w8, #89
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
ldrsb w8, [x8, x9]
subs w8, w8, #121
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
add x9, x8, x9
ldrsb w8, [x9]
add w8, w8, #1
strb w8, [x9]
b LBB0_15
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
ldrsb w8, [x8, x9]
subs w8, w8, #122
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
add x9, x8, x9
mov w8, #97
strb w8, [x9]
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #39
add x9, x8, x9
mov w8, #65
strb w8, [x9]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_3 Depth=2
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_3 Depth=2
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w9, w8, #1
add x8, sp, #39
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
b LBB0_19
LBB0_17: ; in Loop: Header=BB0_3 Depth=2
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #39
bl _puts
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_21:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
leaq L_.str(%rip), %rdi
leaq -104(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -108(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -108(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB0_21
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -96(%rbp), %rdi
callq _gets
leaq -96(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -116(%rbp)
movl $0, -112(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -112(%rbp), %eax
cmpl -116(%rbp), %eax
jge LBB0_19
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $89, %eax
jg LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $65, %eax
jge LBB0_8
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $121, %eax
jg LBB0_9
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $97, %eax
jl LBB0_9
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movsbl -96(%rbp,%rax), %ecx
addl $1, %ecx
## kill: def $cl killed $cl killed $ecx
movb %cl, -96(%rbp,%rax)
jmp LBB0_15
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $122, %eax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movb $97, -96(%rbp,%rax)
jmp LBB0_14
LBB0_11: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movsbl -96(%rbp,%rax), %eax
cmpl $90, %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=2
movslq -112(%rbp), %rax
movb $65, -96(%rbp,%rax)
LBB0_13: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_3 Depth=2
movl -112(%rbp), %eax
addl $1, %eax
cltq
movsbl -96(%rbp,%rax), %eax
cmpl $0, %eax
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_19
LBB0_17: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_3 Depth=2
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB0_3
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
leaq -96(%rbp), %rdi
callq _puts
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB0_1
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_23
## %bb.22:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/211080103.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_names ; -- Begin function set_names
.p2align 2
_set_names: ; @set_names
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _lanip@GOTPAGE
ldr x8, [x8, _lanip@GOTPAGEOFF]
add x8, x8, #40
str x8, [sp] ; 8-byte Folded Spill
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x10, [sp, #8]
adrp x9, _set_names.tt1@PAGE
add x9, x9, _set_names.tt1@PAGEOFF
str x8, [x9, x10, lsl #3]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_set_names.tt1,64,3 ; @set_names.tt1
.no_dead_strip _set_names.tt1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_names ## -- Begin function set_names
.p2align 4, 0x90
_set_names: ## @set_names
.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, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -8(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -8(%rbp), %rcx
leaq _set_names.tt1(%rip), %rax
movq _lanip@GOTPCREL(%rip), %rdx
addq $40, %rdx
movq %rdx, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_set_names.tt1,64,3 ## @set_names.tt1
.no_dead_strip _set_names.tt1
.subsections_via_symbols
| the_stack_data/110711.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, gt
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 w8, #1
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
ldr w0, [sp, #8]
bl _digits_number
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _digits_number ; -- Begin function digits_number
.p2align 2
_digits_number: ; @digits_number
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
mov w9, #10
sdiv w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_3:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a positive integer: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Try a positive integer.\n"
l_.str.3: ; @.str.3
.asciz "Your integer has %d digits.\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
cmpl $0, -8(%rbp)
jg LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %edi
callq _digits_number
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _digits_number ## -- Begin function digits_number
.p2align 4, 0x90
_digits_number: ## @digits_number
.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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
jle LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_3:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a positive integer: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Try a positive integer.\n"
L_.str.3: ## @.str.3
.asciz "Your integer has %d digits.\n"
.subsections_via_symbols
| the_stack_data/243892527.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intersec ; -- Begin function intersec
.p2align 2
_intersec: ; @intersec
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #56]
str w1, [sp, #52]
str x2, [sp, #40]
str w3, [sp, #36]
str x4, [sp, #24]
str x5, [sp, #16]
str wzr, [sp, #4]
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, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
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, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #56]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #40]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr x8, [sp, #56]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #4]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_10:
add sp, sp, #64
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, #528
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #36]
str wzr, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
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
str wzr, [sp, #20]
b LBB1_1
LBB1_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, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #20]
sub x8, x29, #184
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_4:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _puts
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _puts
mov x9, sp
add x8, sp, #28
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #200
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_5
LBB1_8:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _puts
ldr w1, [sp, #32]
ldr w3, [sp, #28]
sub x0, x29, #184
add x2, sp, #200
add x4, sp, #40
add x5, sp, #24
bl _intersec
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _puts
b LBB1_15
LBB1_10:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _puts
str wzr, [sp, #20]
b LBB1_11
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_14
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_11 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #40
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_11 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_11
LBB1_14:
b LBB1_15
LBB1_15:
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_17
b LBB1_16
LBB1_16:
bl ___stack_chk_fail
LBB1_17:
mov w0, #0
add sp, sp, #528
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 "Entre com o nr. de elementos do primeiro vetor: "
l_.str.1: ; @.str.1
.asciz " %d"
l_.str.2: ; @.str.2
.asciz "Entre com os %d elementos do primeiro vetor: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.space 1
l_.str.5: ; @.str.5
.asciz "Entre com o nr. de elementos do segundo vetor: "
l_.str.6: ; @.str.6
.asciz "Entre com os %d elementos do segundo vetor: "
l_.str.7: ; @.str.7
.asciz "Interseccao vazia."
l_.str.8: ; @.str.8
.asciz "A intereseccao consiste em:"
l_.str.9: ; @.str.9
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intersec ## -- Begin function intersec
.p2align 4, 0x90
_intersec: ## @intersec
.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)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movl $0, -60(%rbp)
movl $0, -52(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_10
## %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 -28(%rbp), %eax
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -24(%rbp), %rcx
movslq -56(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movq -48(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rax
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -40(%rbp), %rax
movslq -60(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_1
LBB0_10:
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 $528, %rsp ## imm = 0x210
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -500(%rbp)
movl $0, -512(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -504(%rbp), %rsi
movb $0, %al
callq _scanf
movl -504(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -516(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -516(%rbp), %eax
cmpl -504(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -516(%rbp), %rax
leaq -176(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -516(%rbp), %eax
addl $1, %eax
movl %eax, -516(%rbp)
jmp LBB1_1
LBB1_4:
leaq L_.str.4(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -508(%rbp), %rsi
movb $0, %al
callq _scanf
movl -508(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -516(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -516(%rbp), %eax
cmpl -508(%rbp), %eax
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movslq -516(%rbp), %rax
leaq -336(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -516(%rbp), %eax
addl $1, %eax
movl %eax, -516(%rbp)
jmp LBB1_5
LBB1_8:
leaq L_.str.4(%rip), %rdi
callq _puts
leaq -176(%rbp), %rdi
movl -504(%rbp), %esi
leaq -336(%rbp), %rdx
movl -508(%rbp), %ecx
leaq -496(%rbp), %r8
leaq -512(%rbp), %r9
callq _intersec
cmpl $0, -512(%rbp)
jne LBB1_10
## %bb.9:
leaq L_.str.7(%rip), %rdi
callq _puts
jmp LBB1_15
LBB1_10:
leaq L_.str.8(%rip), %rdi
callq _puts
movl $0, -516(%rbp)
LBB1_11: ## =>This Inner Loop Header: Depth=1
movl -516(%rbp), %eax
cmpl -512(%rbp), %eax
jge LBB1_14
## %bb.12: ## in Loop: Header=BB1_11 Depth=1
movslq -516(%rbp), %rax
movl -496(%rbp,%rax,4), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
## %bb.13: ## in Loop: Header=BB1_11 Depth=1
movl -516(%rbp), %eax
addl $1, %eax
movl %eax, -516(%rbp)
jmp LBB1_11
LBB1_14:
jmp LBB1_15
LBB1_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_17
## %bb.16:
xorl %eax, %eax
addq $528, %rsp ## imm = 0x210
popq %rbp
retq
LBB1_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Entre com o nr. de elementos do primeiro vetor: "
L_.str.1: ## @.str.1
.asciz " %d"
L_.str.2: ## @.str.2
.asciz "Entre com os %d elementos do primeiro vetor: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.space 1
L_.str.5: ## @.str.5
.asciz "Entre com o nr. de elementos do segundo vetor: "
L_.str.6: ## @.str.6
.asciz "Entre com os %d elementos do segundo vetor: "
L_.str.7: ## @.str.7
.asciz "Interseccao vazia."
L_.str.8: ## @.str.8
.asciz "A intereseccao consiste em:"
L_.str.9: ## @.str.9
.asciz "%d "
.subsections_via_symbols
| the_stack_data/829600.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _foo
bl _have_a_very_merry_interrupt
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _have_a_very_merry_interrupt ; -- Begin function have_a_very_merry_interrupt
.p2align 2
_have_a_very_merry_interrupt: ; @have_a_very_merry_interrupt
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #14
adrp x1, _handler@PAGE
add x1, x1, _handler@PAGEOFF
bl _signal
mov w0, #1
bl _alarm
mov w0, #2
bl _sleep
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
mov x8, #0
strb wzr, [x8]
ret
.cfi_endproc
; -- End function
.globl _handler ; -- Begin function handler
.p2align 2
_handler: ; @handler
.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 _subroutine
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _subroutine ; -- Begin function subroutine
.p2align 2
_subroutine: ; @subroutine
.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]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB5_1
LBB5_3:
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
callq _foo
callq _have_a_very_merry_interrupt
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _have_a_very_merry_interrupt ## -- Begin function have_a_very_merry_interrupt
.p2align 4, 0x90
_have_a_very_merry_interrupt: ## @have_a_very_merry_interrupt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $14, %edi
leaq _handler(%rip), %rsi
callq _signal
movl $1, %edi
callq _alarm
movl $2, %edi
callq _sleep
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
## kill: def $rax killed $eax
movb $0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _handler ## -- Begin function handler
.p2align 4, 0x90
_handler: ## @handler
.cfi_startproc
## %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 _subroutine
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _subroutine ## -- Begin function subroutine
.p2align 4, 0x90
_subroutine: ## @subroutine
.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)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpl $100, -8(%rbp)
jge LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB5_1
LBB5_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/41827.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, #2002
str w8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@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, #-4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_6
LBB0_6:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Senha Invalida\n"
l_.str.2: ; @.str.2
.asciz "Acesso Permitido\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 $2002, -8(%rbp) ## imm = 0x7D2
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB0_3
## %bb.2:
jmp LBB0_6
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne 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
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "Senha Invalida\n"
L_.str.2: ## @.str.2
.asciz "Acesso Permitido\n"
.subsections_via_symbols
| the_stack_data/12637238.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _findTheDifference ; -- Begin function findTheDifference
.p2align 2
_findTheDifference: ; @findTheDifference
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
strb wzr, [sp, #15]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrsb w9, [x8]
ldrsb w8, [sp, #15]
eor w8, w8, w9
strb w8, [sp, #15]
b LBB0_1
LBB0_3:
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrsb w9, [x8]
ldrsb w8, [sp, #15]
eor w8, w8, w9
strb w8, [sp, #15]
b LBB0_4
LBB0_6:
ldrsb w0, [sp, #15]
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 _findTheDifference ## -- Begin function findTheDifference
.p2align 4, 0x90
_findTheDifference: ## @findTheDifference
.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)
movb $0, -17(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -8(%rbp)
movsbl (%rax), %ecx
movsbl -17(%rbp), %eax
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
jmp LBB0_1
LBB0_3:
jmp LBB0_4
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %ecx
movsbl -17(%rbp), %eax
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
jmp LBB0_4
LBB0_6:
movsbl -17(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/100140765.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
sub x8, x29, #16
str x8, [x9, #16]
sub x8, x29, #20
str x8, [x9, #24]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
stur w8, [x29, #-24]
ldur w8, [x29, #-12]
stur w8, [x29, #-28]
b LBB0_3
LBB0_2:
ldur w8, [x29, #-12]
stur w8, [x29, #-24]
ldur w8, [x29, #-8]
stur w8, [x29, #-28]
b LBB0_3
LBB0_3:
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur w8, [x29, #-16]
stur w8, [x29, #-32]
ldur w8, [x29, #-20]
stur w8, [x29, #-36]
b LBB0_6
LBB0_5:
ldur w8, [x29, #-20]
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
stur w8, [x29, #-36]
b LBB0_6
LBB0_6:
ldur w8, [x29, #-24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur w8, [x29, #-24]
str w8, [sp, #40]
b LBB0_9
LBB0_8:
ldur w8, [x29, #-32]
str w8, [sp, #40]
b LBB0_9
LBB0_9:
ldur w8, [x29, #-28]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldur w8, [x29, #-28]
str w8, [sp, #36]
b LBB0_12
LBB0_11:
ldur w8, [x29, #-36]
str w8, [sp, #36]
b LBB0_12
LBB0_12:
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter four integers: "
l_.str.1: ; @.str.1
.asciz "%d %d %d %d"
l_.str.2: ; @.str.2
.asciz "Largest: %d\n"
l_.str.3: ; @.str.3
.asciz "Smallest: %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)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
leaq -20(%rbp), %r8
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB0_2
## %bb.1:
movl -8(%rbp), %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %eax
movl %eax, -28(%rbp)
jmp LBB0_3
LBB0_2:
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl -8(%rbp), %eax
movl %eax, -28(%rbp)
LBB0_3:
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jle LBB0_5
## %bb.4:
movl -16(%rbp), %eax
movl %eax, -32(%rbp)
movl -20(%rbp), %eax
movl %eax, -36(%rbp)
jmp LBB0_6
LBB0_5:
movl -20(%rbp), %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl %eax, -36(%rbp)
LBB0_6:
movl -24(%rbp), %eax
cmpl -32(%rbp), %eax
jle LBB0_8
## %bb.7:
movl -24(%rbp), %eax
movl %eax, -40(%rbp)
jmp LBB0_9
LBB0_8:
movl -32(%rbp), %eax
movl %eax, -40(%rbp)
LBB0_9:
movl -28(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB0_11
## %bb.10:
movl -28(%rbp), %eax
movl %eax, -44(%rbp)
jmp LBB0_12
LBB0_11:
movl -36(%rbp), %eax
movl %eax, -44(%rbp)
LBB0_12:
movl -40(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -44(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter four integers: "
L_.str.1: ## @.str.1
.asciz "%d %d %d %d"
L_.str.2: ## @.str.2
.asciz "Largest: %d\n"
L_.str.3: ## @.str.3
.asciz "Smallest: %d\n"
.subsections_via_symbols
| the_stack_data/59513770.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ; -- Begin function func
.p2align 2
_func: ; @func
.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]
ldur x8, [x29, #-8]
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
ldur x8, [x29, #-16]
add x8, x8, #8
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-24]
ldr w9, [x8, #4]
; 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
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #32]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #32]
ldr w9, [x8, #4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
ldur x9, [x29, #-24]
mov w8, #50
str w8, [x9]
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-28]
sub x3, x29, #24
mov w8, #5
stur w8, [x29, #-24]
mov w8, #10
stur w8, [x29, #-20]
mov w8, #1
stur w8, [x29, #-16]
mov w8, #2
stur w8, [x29, #-12]
add x0, sp, #24
mov x1, #0
str x1, [sp, #16] ; 8-byte Folded Spill
adrp x2, _func@PAGE
add x2, x2, _func@PAGEOFF
bl _pthread_create
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24]
bl _pthread_join
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-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, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d\n"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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 $48, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movl (%rax), %esi
movl 4(%rax), %edx
leaq L_.str(%rip), %rdi
movq %rdi, -48(%rbp) ## 8-byte Spill
xorl %eax, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movb %al, -37(%rbp) ## 1-byte Spill
callq _printf
movq -48(%rbp), %rdi ## 8-byte Reload
## kill: def $ecx killed $eax
movb -37(%rbp), %al ## 1-byte Reload
movq -32(%rbp), %rcx
movl (%rcx), %esi
movl 4(%rcx), %edx
callq _printf
## kill: def $ecx killed $eax
movl -36(%rbp), %eax ## 4-byte Reload
movq -24(%rbp), %rcx
movl $50, (%rcx)
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movl $5, -32(%rbp)
movl $10, -28(%rbp)
movl $1, -24(%rbp)
movl $2, -20(%rbp)
leaq -32(%rbp), %rcx
leaq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq _func(%rip), %rdx
callq _pthread_create
movq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movl -32(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d\n"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/207111.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]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #16
str x8, [x9, #8]
sub x8, x29, #24
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
sub x8, x29, #20
str x8, [x9, #8]
sub x8, x29, #28
str x8, [x9, #16]
bl _scanf
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x8, sp
str xzr, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_21
LBB0_2:
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov x9, sp
mov x8, #10000
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_21
LBB0_4:
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_5
LBB0_5:
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov x8, sp
str xzr, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_21
LBB0_7:
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w9, w8, w9
mov w8, #500
mul w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_21
LBB0_9:
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
mov x8, sp
str xzr, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_21
LBB0_12:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w9, w8, w9
mov w8, #15
mul w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_21
LBB0_14:
b LBB0_15
LBB0_15:
b LBB0_16
LBB0_16:
b LBB0_17
LBB0_17:
b LBB0_18
LBB0_18:
b LBB0_19
LBB0_19:
b LBB0_20
LBB0_20:
b LBB0_21
LBB0_21:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -16(%rbp), %rdx
leaq -24(%rbp), %rcx
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -20(%rbp), %rdx
leaq -28(%rbp), %rcx
movb $0, %al
callq _scanf
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB0_21
LBB0_2:
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
movl $10000, %esi ## imm = 0x2710
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB0_21
LBB0_4:
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB0_19
## %bb.5:
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_7
## %bb.6:
leaq L_.str.1(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB0_21
LBB0_7:
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jle LBB0_9
## %bb.8:
movl -16(%rbp), %eax
subl -20(%rbp), %eax
imull $500, %eax, %esi ## imm = 0x1F4
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB0_21
LBB0_9:
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jne LBB0_16
## %bb.10:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_12
## %bb.11:
leaq L_.str.1(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB0_21
LBB0_12:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB0_14
## %bb.13:
movl -8(%rbp), %eax
subl -12(%rbp), %eax
imull $15, %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB0_21
LBB0_14:
jmp LBB0_15
LBB0_15:
jmp LBB0_16
LBB0_16:
jmp LBB0_17
LBB0_17:
jmp LBB0_18
LBB0_18:
jmp LBB0_19
LBB0_19:
jmp LBB0_20
LBB0_20:
jmp LBB0_21
LBB0_21:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/232956471.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
str w8, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #12]
add w9, w9, #1
str w9, [sp, #8]
ldr w9, [sp, #8]
add w10, w9, #1
adrp x9, _A@GOTPAGE
ldr x9, [x9, _A@GOTPAGEOFF]
str w8, [x9, w10, sxtw #2]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _A,40,2 ; @A
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %edx
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _A@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A,40,4 ## @A
.subsections_via_symbols
| the_stack_data/519721.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]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x10, _i@PAGE
ldr w8, [x10, _i@PAGEOFF]
subs w9, w8, #1
str w9, [x10, _i@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_3
LBB0_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _i ; @i
.p2align 2
_i:
.long 550000000 ; 0x20c85580
.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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl _i(%rip), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, _i(%rip)
cmpl $0, %eax
jne LBB0_1
## %bb.3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _i ## @i
.p2align 2
_i:
.long 550000000 ## 0x20c85580
.subsections_via_symbols
| the_stack_data/67326001.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp 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
bl _fork
bl _fork
bl _fork
bl _getpid
stur w0, [x29, #-12] ; 4-byte Folded Spill
bl _getppid
ldur w10, [x29, #-12] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Bienvenido al programa\n"
l_.str.1: ; @.str.1
.asciz "Process Type PID PPID Time"
l_.str.2: ; @.str.2
.asciz "System process %d %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _fork
callq _fork
callq _fork
callq _getpid
movl %eax, -8(%rbp) ## 4-byte Spill
callq _getppid
movl -8(%rbp), %esi ## 4-byte Reload
movl %eax, %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 "Bienvenido al programa\n"
L_.str.1: ## @.str.1
.asciz "Process Type PID PPID Time"
L_.str.2: ## @.str.2
.asciz "System process %d %d\n"
.subsections_via_symbols
| the_stack_data/247017918.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _abort
.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 _abort
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/87637699.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]
str wzr, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_6 Depth 2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@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
ldr w8, [sp, #32]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldrsw x9, [sp, #36]
mov x8, x9
add w8, w8, #1
str w8, [sp, #36]
add x8, sp, #48
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
str wzr, [sp, #40]
b LBB0_6
LBB0_6: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=2
ldrsw x9, [sp, #40]
add x8, sp, #48
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_6
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_22
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_20
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #28]
mov w8, #1
str w8, [sp, #40]
b LBB0_14
LBB0_14: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=2
ldrsw x8, [sp, #40]
add x9, sp, #48
ldr w8, [x9, x8, lsl #2]
ldrsw x10, [sp, #28]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=2
ldr w8, [sp, #40]
str w8, [sp, #28]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_14 Depth=2
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_14 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_14
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #48
ldr w8, [x8, x9, lsl #2]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
b LBB0_21
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
ldr w8, [sp, #32]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_24
LBB0_24:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
bl ___stack_chk_fail
LBB0_26:
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 "Kerem valasszon opciot:\n"
l_.str.1: ; @.str.1
.asciz " 1. Uj szam bevitele\n"
l_.str.2: ; @.str.2
.asciz " 2. Minimum keresese az eddigi szamokra\n"
l_.str.3: ; @.str.3
.asciz " 3. Kilepes\n"
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "Kerem adja meg a szamot: "
l_.str.6: ; @.str.6
.asciz "A tomb mar tele van.\n"
l_.str.7: ; @.str.7
.asciz "A tomb jelenlegi elemei:\n"
l_.str.8: ; @.str.8
.asciz "%d "
l_.str.9: ; @.str.9
.asciz "\n"
l_.str.10: ; @.str.10
.asciz "Meg nincs szam a tombben.\n"
l_.str.11: ; @.str.11
.asciz "A legkisebb elem: %d (index: %d).\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $0, -60(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_14 Depth 2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -64(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, -64(%rbp)
jne LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, -60(%rbp)
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
cltq
leaq -48(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _scanf
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -56(%rbp)
LBB0_6: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_6
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_22
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -64(%rbp)
jne LBB0_21
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -60(%rbp)
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_20
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl $0, -68(%rbp)
movl $1, -56(%rbp)
LBB0_14: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB0_19
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movslq -68(%rbp), %rcx
cmpl -48(%rbp,%rcx,4), %eax
jge LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 Depth=2
movl -56(%rbp), %eax
movl %eax, -68(%rbp)
LBB0_17: ## in Loop: Header=BB0_14 Depth=2
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_14 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_14
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movslq -68(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
movl -68(%rbp), %edx
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_21
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
cmpl $3, -64(%rbp)
jne LBB0_1
## %bb.24:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_26
## %bb.25:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Kerem valasszon opciot:\n"
L_.str.1: ## @.str.1
.asciz " 1. Uj szam bevitele\n"
L_.str.2: ## @.str.2
.asciz " 2. Minimum keresese az eddigi szamokra\n"
L_.str.3: ## @.str.3
.asciz " 3. Kilepes\n"
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "Kerem adja meg a szamot: "
L_.str.6: ## @.str.6
.asciz "A tomb mar tele van.\n"
L_.str.7: ## @.str.7
.asciz "A tomb jelenlegi elemei:\n"
L_.str.8: ## @.str.8
.asciz "%d "
L_.str.9: ## @.str.9
.asciz "\n"
L_.str.10: ## @.str.10
.asciz "Meg nincs szam a tombben.\n"
L_.str.11: ## @.str.11
.asciz "A legkisebb elem: %d (index: %d).\n"
.subsections_via_symbols
| the_stack_data/1135319.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _solveBoard ; -- Begin function solveBoard
.p2align 2
_solveBoard: ; @solveBoard
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #4
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB0_11
LBB0_2:
str wzr, [sp, #8]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [sp, #16]
ldr w1, [sp, #8]
ldr w2, [sp, #12]
bl _showStep
ldr x0, [sp, #16]
ldr w1, [sp, #8]
ldr w2, [sp, #12]
bl _isSafe
tbz w0, #0, LBB0_8
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
add x9, x8, x9, lsl #4
ldrsw x10, [sp, #12]
mov w8, #1
str w8, [x9, x10, lsl #2]
ldr x0, [sp, #16]
ldr w8, [sp, #12]
add w1, w8, #1
bl _solveBoard
tbz w0, #0, LBB0_7
b LBB0_6
LBB0_6:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB0_11
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
add x9, x8, x9, lsl #4
ldrsw x10, [sp, #12]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_10:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB0_11
LBB0_11:
ldurb w8, [x29, #-1]
and w0, w8, #0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _showStep ; -- Begin function showStep
.p2align 2
_showStep: ; @showStep
.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]
str w2, [sp]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x9, x8, x9, lsl #4
ldrsw x10, [sp]
mov w8, #1
str w8, [x9, x10, lsl #2]
ldr x0, [sp, #8]
bl _printBoard
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x9, x8, x9, lsl #4
ldrsw x10, [sp]
mov w8, #0
str w8, [x9, x10, lsl #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _isSafe ; -- Begin function isSafe
.p2align 2
_isSafe: ; @isSafe
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
str w2, [sp, #24]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #47]
b LBB2_23
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_6:
ldr w8, [sp, #28]
str w8, [sp, #20]
ldr w8, [sp, #24]
str w8, [sp, #16]
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ge
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_7 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB2_14
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_7 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #47]
b LBB2_23
LBB2_12: ; in Loop: Header=BB2_7 Depth=1
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_7 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB2_7
LBB2_14:
ldr w8, [sp, #28]
str w8, [sp, #20]
ldr w8, [sp, #24]
str w8, [sp, #16]
b LBB2_15
LBB2_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_15 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ge
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_15 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB2_22
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_15 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_20
b LBB2_19
LBB2_19:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #47]
b LBB2_23
LBB2_20: ; in Loop: Header=BB2_15 Depth=1
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_15 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB2_15
LBB2_22:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #47]
b LBB2_23
LBB2_23:
ldrb w8, [sp, #47]
and w0, w8, #0x1
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]
mov w1, #0
str w1, [sp, #16] ; 4-byte Folded Spill
str wzr, [sp, #20]
add x0, sp, #24
str x0, [sp, #8] ; 8-byte Folded Spill
mov x2, #64
bl _memset
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w1, [sp, #16] ; 4-byte Folded Reload
bl _solveBoard
ands w8, w0, #0x1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB3_3
LBB3_2:
add x0, sp, #24
bl _printBoard
str wzr, [sp, #20]
b LBB3_3
LBB3_3:
ldr w8, [sp, #20]
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, LBB3_5
b LBB3_4
LBB3_4:
bl ___stack_chk_fail
LBB3_5:
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 _printBoard ; -- Begin function printBoard
.p2align 2
_printBoard: ; @printBoard
.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 LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB4_8
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #16]
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB4_6
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB4_3
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB4_1
LBB4_8:
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No Solution\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 _solveBoard ## -- Begin function solveBoard
.p2align 4, 0x90
_solveBoard: ## @solveBoard
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
cmpl $4, -20(%rbp)
jl LBB0_2
## %bb.1:
movb $1, -1(%rbp)
jmp LBB0_11
LBB0_2:
movl $0, -24(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl $4, -24(%rbp)
jge LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rdi
movl -24(%rbp), %esi
movl -20(%rbp), %edx
callq _showStep
movq -16(%rbp), %rdi
movl -24(%rbp), %esi
movl -20(%rbp), %edx
callq _isSafe
testb $1, %al
jne LBB0_5
jmp LBB0_8
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
addl $1, %esi
callq _solveBoard
testb $1, %al
jne LBB0_6
jmp LBB0_7
LBB0_6:
movb $1, -1(%rbp)
jmp LBB0_11
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
movl $0, (%rax,%rcx,4)
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_10:
movb $0, -1(%rbp)
LBB0_11:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _showStep ## -- Begin function showStep
.p2align 4, 0x90
_showStep: ## @showStep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movq -8(%rbp), %rdi
callq _printBoard
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl $0, (%rax,%rcx,4)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isSafe ## -- Begin function isSafe
.p2align 4, 0x90
_isSafe: ## @isSafe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $4, -28(%rbp)
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -28(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB2_4
## %bb.3:
movb $0, -1(%rbp)
jmp LBB2_23
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 -20(%rbp), %eax
movl %eax, -28(%rbp)
movl -24(%rbp), %eax
movl %eax, -32(%rbp)
LBB2_7: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -28(%rbp)
movb %al, -33(%rbp) ## 1-byte Spill
jl LBB2_9
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
cmpl $0, -32(%rbp)
setge %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB2_9: ## in Loop: Header=BB2_7 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_10
jmp LBB2_14
LBB2_10: ## in Loop: Header=BB2_7 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -32(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB2_12
## %bb.11:
movb $0, -1(%rbp)
jmp LBB2_23
LBB2_12: ## in Loop: Header=BB2_7 Depth=1
jmp LBB2_13
LBB2_13: ## in Loop: Header=BB2_7 Depth=1
movl -28(%rbp), %eax
addl $-1, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
jmp LBB2_7
LBB2_14:
movl -20(%rbp), %eax
movl %eax, -28(%rbp)
movl -24(%rbp), %eax
movl %eax, -32(%rbp)
LBB2_15: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $4, -28(%rbp)
movb %al, -34(%rbp) ## 1-byte Spill
jge LBB2_17
## %bb.16: ## in Loop: Header=BB2_15 Depth=1
cmpl $0, -32(%rbp)
setge %al
movb %al, -34(%rbp) ## 1-byte Spill
LBB2_17: ## in Loop: Header=BB2_15 Depth=1
movb -34(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_18
jmp LBB2_22
LBB2_18: ## in Loop: Header=BB2_15 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -32(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB2_20
## %bb.19:
movb $0, -1(%rbp)
jmp LBB2_23
LBB2_20: ## in Loop: Header=BB2_15 Depth=1
jmp LBB2_21
LBB2_21: ## in Loop: Header=BB2_15 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
jmp LBB2_15
LBB2_22:
movb $1, -1(%rbp)
LBB2_23:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -84(%rbp)
leaq -80(%rbp), %rdi
xorl %esi, %esi
movl $64, %edx
callq _memset
leaq -80(%rbp), %rdi
xorl %esi, %esi
callq _solveBoard
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB3_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -84(%rbp)
jmp LBB3_3
LBB3_2:
leaq -80(%rbp), %rdi
callq _printBoard
movl $0, -84(%rbp)
LBB3_3:
movl -84(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_5
## %bb.4:
movl -88(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB3_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _printBoard ## -- Begin function printBoard
.p2align 4, 0x90
_printBoard: ## @printBoard
.cfi_startproc
## %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)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
cmpl $4, -12(%rbp)
jge LBB4_8
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl $0, -16(%rbp)
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -16(%rbp)
jge LBB4_6
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB4_3
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB4_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB4_1
LBB4_8:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No Solution\n"
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/192331431.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, #20]
adrp x8, l___const.main.str@PAGE
add x8, x8, l___const.main.str@PAGEOFF
ldr x9, [x8]
add x0, sp, #24
str x9, [sp, #24]
ldur x8, [x8, #6]
stur x8, [x0, #6]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strtok
str x0, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x0, #0
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strtok
str x0, [sp, #8]
b LBB0_1
LBB0_3:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.str: ; @__const.main.str
.asciz "TOC;;PLC,USP;"
l_.str: ; @.str
.asciz ";;,"
l_.str.1: ; @.str.1
.asciz "Token=%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
movq L___const.main.str(%rip), %rax
movq %rax, -22(%rbp)
movl L___const.main.str+8(%rip), %eax
movl %eax, -14(%rbp)
movw L___const.main.str+12(%rip), %ax
movw %ax, -10(%rbp)
leaq -22(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strtok
movq %rax, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -40(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
movl %eax, %edi
leaq L_.str(%rip), %rsi
callq _strtok
movq %rax, -40(%rbp)
jmp LBB0_1
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.str: ## @__const.main.str
.asciz "TOC;;PLC,USP;"
L_.str: ## @.str
.asciz ";;,"
L_.str.1: ## @.str.1
.asciz "Token=%s\n"
.subsections_via_symbols
| the_stack_data/96662.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, #-28]
mov w8, #1
str w8, [sp, #36]
mov w8, #4
strh w8, [sp, #40]
strh wzr, [sp, #42]
ldur x9, [sp, #36]
sub x0, x29, #24
stur x9, [x29, #-24]
mov w1, #2
str w1, [sp, #28]
strh w8, [sp, #32]
strh wzr, [sp, #34]
ldur x8, [sp, #28]
stur x8, [x29, #-16]
mov w2, #-1
bl _poll
str w0, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #16
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldursh w8, [x29, #-18]
subs w8, w8, #4
cset w9, ne
; 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@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #17
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB0_5:
b LBB0_6
LBB0_6:
ldursh w8, [x29, #-10]
subs w8, w8, #4
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #18
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_8:
b LBB0_9
LBB0_9:
str wzr, [sp, #20]
mov w8, #1
strh w8, [sp, #24]
strh wzr, [sp, #26]
ldur x8, [sp, #20]
sub x9, x29, #24
str x9, [sp, #8] ; 8-byte Folded Spill
stur x8, [x29, #-24]
sub x0, x29, #40
bl _time
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #1
mov w2, #2000
bl _poll
str w0, [sp, #44]
add x0, sp, #48
bl _time
ldr w8, [sp, #44]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #24
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB0_11:
b LBB0_12
LBB0_12:
ldr x8, [sp, #48]
ldur x9, [x29, #-40]
subs x8, x8, x9
subs x8, x8, #2
cset w9, lt
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #25
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___assert_rtn
LBB0_14:
b LBB0_15
LBB0_15:
mov w0, #1
bl _sleep
add x0, sp, #48
bl _time
ldr x8, [sp, #48]
ldur x9, [x29, #-40]
subs x8, x8, x9
subs x8, x8, #3
cset w9, lt
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #29
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_17:
b LBB0_18
LBB0_18:
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_20
b LBB0_19
LBB0_19:
bl ___stack_chk_fail
LBB0_20:
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___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "95330.c"
l_.str.1: ; @.str.1
.asciz "ret == 2"
l_.str.2: ; @.str.2
.asciz "fds[0].revents == POLLOUT"
l_.str.3: ; @.str.3
.asciz "fds[1].revents == POLLOUT"
l_.str.4: ; @.str.4
.asciz "ret == 0"
l_.str.5: ; @.str.5
.asciz "now - before >= 2"
l_.str.6: ; @.str.6
.asciz "now - before >= 3"
.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, -36(%rbp)
movl $1, -72(%rbp)
movw $4, -68(%rbp)
movw $0, -66(%rbp)
movq -72(%rbp), %rax
movq %rax, -32(%rbp)
movl $2, -80(%rbp)
movw $4, -76(%rbp)
movw $0, -74(%rbp)
movq -80(%rbp), %rax
movq %rax, -24(%rbp)
leaq -32(%rbp), %rdi
movl $2, %esi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
callq _poll
movl %eax, -60(%rbp)
cmpl $2, -60(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $16, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movswl -26(%rbp), %eax
cmpl $4, %eax
sete %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(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $17, %edx
callq ___assert_rtn
LBB0_5:
jmp LBB0_6
LBB0_6:
movswl -18(%rbp), %eax
cmpl $4, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_8
## %bb.7:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $18, %edx
callq ___assert_rtn
LBB0_8:
jmp LBB0_9
LBB0_9:
movl $0, -88(%rbp)
movw $1, -84(%rbp)
movw $0, -82(%rbp)
movq -88(%rbp), %rax
movq %rax, -32(%rbp)
leaq -48(%rbp), %rdi
callq _time
leaq -32(%rbp), %rdi
movl $1, %esi
movl $2000, %edx ## imm = 0x7D0
callq _poll
movl %eax, -60(%rbp)
leaq -56(%rbp), %rdi
callq _time
cmpl $0, -60(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_11
## %bb.10:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movl $24, %edx
callq ___assert_rtn
LBB0_11:
jmp LBB0_12
LBB0_12:
movq -56(%rbp), %rax
subq -48(%rbp), %rax
cmpq $2, %rax
setge %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_14
## %bb.13:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %rcx
movl $25, %edx
callq ___assert_rtn
LBB0_14:
jmp LBB0_15
LBB0_15:
movl $1, %edi
callq _sleep
leaq -56(%rbp), %rdi
callq _time
movq -56(%rbp), %rax
subq -48(%rbp), %rax
cmpq $3, %rax
setge %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_17
## %bb.16:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $29, %edx
callq ___assert_rtn
LBB0_17:
jmp LBB0_18
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_20
## %bb.19:
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
LBB0_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "95330.c"
L_.str.1: ## @.str.1
.asciz "ret == 2"
L_.str.2: ## @.str.2
.asciz "fds[0].revents == POLLOUT"
L_.str.3: ## @.str.3
.asciz "fds[1].revents == POLLOUT"
L_.str.4: ## @.str.4
.asciz "ret == 0"
L_.str.5: ## @.str.5
.asciz "now - before >= 2"
L_.str.6: ## @.str.6
.asciz "now - before >= 3"
.subsections_via_symbols
| the_stack_data/95330.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, #32]
bl _getchar
str w0, [sp, #16]
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x10, [sp, #24]
add x9, sp, #36
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_4:
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #28]
ldr w8, [sp, #16]
subs w8, w0, w8
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #28]
subs w9, w8, #97
add x8, sp, #36
add x9, x8, w9, sxtw #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
b LBB0_5
LBB0_10:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB0_11
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #36
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=1
str wzr, [sp, #20]
b LBB0_15
LBB0_15: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldrsw x10, [sp, #24]
add x9, sp, #36
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
ldr w8, [sp, #24]
add w10, w8, #97
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_11 Depth=1
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_11
LBB0_20:
ldr w8, [sp, #32]
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_22
b LBB0_21
LBB0_21:
bl ___stack_chk_fail
LBB0_22:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Symbols gistogram\n"
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "%c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
callq _getchar
movl %eax, -132(%rbp)
movl $0, -124(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $25, -124(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -124(%rbp), %rax
movl $0, -112(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB0_1
LBB0_4:
jmp LBB0_5
LBB0_5: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -120(%rbp)
cmpl -132(%rbp), %eax
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl $97, -120(%rbp)
jl LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpl $122, -120(%rbp)
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movl -120(%rbp), %eax
subl $97, %eax
cltq
movl -112(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -112(%rbp,%rax,4)
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_5
LBB0_10:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -124(%rbp)
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
cmpl $25, -124(%rbp)
jge LBB0_20
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movslq -124(%rbp), %rax
cmpl $0, -112(%rbp,%rax,4)
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
movl $0, -128(%rbp)
LBB0_15: ## Parent Loop BB0_11 Depth=1
## => This Inner Loop Header: Depth=2
movl -128(%rbp), %eax
movslq -124(%rbp), %rcx
cmpl -112(%rbp,%rcx,4), %eax
jge LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movl -124(%rbp), %esi
addl $97, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_15 Depth=2
movl -128(%rbp), %eax
addl $1, %eax
movl %eax, -128(%rbp)
jmp LBB0_15
LBB0_18: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_19
LBB0_19: ## in Loop: Header=BB0_11 Depth=1
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB0_11
LBB0_20:
movl -116(%rbp), %eax
movl %eax, -136(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_22
## %bb.21:
movl -136(%rbp), %eax ## 4-byte Reload
addq $144, %rsp
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Symbols gistogram\n"
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "%c"
.subsections_via_symbols
| the_stack_data/925556.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 0x400921fb53c8d4f1 ; double 3.1415926500000002
.section __TEXT,__text,regular,pure_instructions
.globl _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]
mov w8, #512
stur w8, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
stur wzr, [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 w8, [x29, #-8]
lsl w8, w8, #1
scvtf d0, w8
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
ldur s2, [x29, #-12]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
str d0, [sp, #32]
ldur x8, [x29, #-24]
str x8, [sp, #24] ; 8-byte Folded Spill
ldr d0, [sp, #32]
str d0, [sp, #16] ; 8-byte Folded Spill
ldr d0, [sp, #32]
bl _sin
ldr d1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
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 x0, [x29, #-24]
bl _fclose
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 "34sin.dat"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "%f %f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x400921fb53c8d4f1 ## double 3.1415926500000002
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $512, -12(%rbp) ## imm = 0x200
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
movl $0, -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
shll $1, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -12(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sin
movq -48(%rbp), %rdi ## 8-byte Reload
movaps %xmm0, %xmm1
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
leaq L_.str.2(%rip), %rsi
movb $2, %al
callq _fprintf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movq -24(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "34sin.dat"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "%f %f\n"
.subsections_via_symbols
| the_stack_data/36076240.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _quote_calc_parse
b LBB0_1
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _quote_calc_parse ; -- Begin function quote_calc_parse
.p2align 2
_quote_calc_parse: ; @quote_calc_parse
.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 x11, _quote_calc_nerrs@GOTPAGE
ldr x11, [x11, _quote_calc_nerrs@GOTPAGEOFF]
str x11, [sp, #24] ; 8-byte Folded Spill
adrp x9, _quote_calc_errflag@GOTPAGE
ldr x9, [x9, _quote_calc_errflag@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
adrp x10, _quote_calc_char@GOTPAGE
ldr x10, [x10, _quote_calc_char@GOTPAGEOFF]
str x10, [sp, #40] ; 8-byte Folded Spill
adrp x8, _yystack@PAGE
add x8, x8, _yystack@PAGEOFF
stur x8, [x29, #-32] ; 8-byte Folded Spill
adrp x12, _quote_calc_val@GOTPAGE
ldr x12, [x12, _quote_calc_val@GOTPAGEOFF]
stur x12, [x29, #-24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
str wzr, [x11]
str wzr, [x9]
mov w9, #-1
str w9, [x10]
stur wzr, [x29, #-12]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
b LBB1_86
LBB1_3:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x9, [x8, #8]
str x9, [x8, #16]
ldr x9, [x8, #32]
str x9, [x8, #40]
stur wzr, [x29, #-12]
ldr x8, [x8, #16]
strh wzr, [x8]
b LBB1_4
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_31 Depth 2
ldursw x9, [x29, #-12]
adrp x8, _quote_calc_defred@PAGE
add x8, x8, _quote_calc_defred@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
b LBB1_46
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
bl _quote_calc_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _quote_calc_sindex@PAGE
add x8, x8, _quote_calc_sindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_20
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_20
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldursw x10, [x29, #-8]
adrp x8, _quote_calc_check@PAGE
add x8, x8, _quote_calc_check@PAGEOFF
ldrsh w8, [x8, x10, lsl #1]
ldr w9, [x9]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_20
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_17
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
b LBB1_86
LBB1_17: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x13, [x29, #-32] ; 8-byte Folded Reload
ldursw x11, [x29, #-8]
adrp x9, _quote_calc_table@PAGE
add x9, x9, _quote_calc_table@PAGEOFF
ldrsh w11, [x9, x11, lsl #1]
stur w11, [x29, #-12]
ldursw x11, [x29, #-8]
add x9, x9, x11, lsl #1
ldrh w9, [x9]
ldr x11, [x13, #16]
add x12, x11, #2
str x12, [x13, #16]
strh w9, [x11, #2]
adrp x9, _quote_calc_lval@GOTPAGE
ldr x9, [x9, _quote_calc_lval@GOTPAGEOFF]
ldr w9, [x9]
ldr x11, [x13, #40]
add x12, x11, #4
str x12, [x13, #40]
str w9, [x11, #4]
mov w9, #-1
str w9, [x10]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_20: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _quote_calc_rindex@PAGE
add x8, x8, _quote_calc_rindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_25
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldursw x10, [x29, #-8]
adrp x8, _quote_calc_check@PAGE
add x8, x8, _quote_calc_check@PAGEOFF
ldrsh w8, [x8, x10, lsl #1]
ldr w9, [x9]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc_table@PAGE
add x8, x8, _quote_calc_table@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
b LBB1_46
LBB1_25: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_27
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_4 Depth=1
b LBB1_29
LBB1_27: ; in Loop: Header=BB1_4 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _quote_calc_error
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_43
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
mov w8, #3
str w8, [x9]
b LBB1_31
LBB1_31: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldrsh x9, [x8]
adrp x8, _quote_calc_sindex@PAGE
add x8, x8, _quote_calc_sindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_39
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #256
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_39
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_39
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_31 Depth=2
ldursw x9, [x29, #-8]
adrp x8, _quote_calc_check@PAGE
add x8, x8, _quote_calc_check@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
subs w8, w8, #256
cset w8, ne
tbnz w8, #0, LBB1_39
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_38
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_38
b LBB1_37
LBB1_37:
b LBB1_86
LBB1_38: ; in Loop: Header=BB1_4 Depth=1
ldur x11, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
adrp x8, _quote_calc_table@PAGE
add x8, x8, _quote_calc_table@PAGEOFF
ldrsh w9, [x8, x9, lsl #1]
stur w9, [x29, #-12]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #1
ldrh w8, [x8]
ldr x9, [x11, #16]
add x10, x9, #2
str x10, [x11, #16]
strh w8, [x9, #2]
adrp x8, _quote_calc_lval@GOTPAGE
ldr x8, [x8, _quote_calc_lval@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_39: ; in Loop: Header=BB1_31 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB1_41
b LBB1_40
LBB1_40:
b LBB1_87
LBB1_41: ; in Loop: Header=BB1_31 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #16]
subs x8, x8, #2
str x8, [x9, #16]
ldr x8, [x9, #40]
subs x8, x8, #4
str x8, [x9, #40]
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_31 Depth=2
b LBB1_31
LBB1_43: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44:
b LBB1_87
LBB1_45: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov w8, #-1
str w8, [x9]
b LBB1_4
LBB1_46: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc_len@PAGE
add x8, x8, _quote_calc_len@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_48
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w11, [x29, #-4]
mov w10, #1
subs w10, w10, w11
ldr w8, [x8, w10, sxtw #2]
str w8, [x9]
b LBB1_49
LBB1_48: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-24] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_49
LBB1_49: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #3
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #15
cset w8, hi
tbnz w8, #0, LBB1_66
; %bb.50: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_51: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_67
LBB1_52: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_67
LBB1_53: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #40]
ldr w8, [x8]
ldr x9, [x9, #40]
ldursw x10, [x9, #-8]
adrp x9, _regs@GOTPAGE
ldr x9, [x9, _regs@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
b LBB1_67
LBB1_54: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w8, [x8, #-4]
str w8, [x9]
b LBB1_67
LBB1_55: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_56: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
subs w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_57: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
mul w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_58: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
sdiv w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_59: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w11, [x10]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_60: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
and w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_61: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
orr w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_62: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w10, [x8]
mov w8, #0
subs w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_63: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldrsw x10, [x8]
adrp x8, _regs@GOTPAGE
ldr x8, [x8, _regs@GOTPAGEOFF]
ldr w8, [x8, x10, lsl #2]
str w8, [x9]
b LBB1_67
LBB1_64: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x10, [x29, #-24] ; 8-byte Folded Reload
ldr x9, [x8, #40]
ldr w9, [x9]
str w9, [x10]
ldr x8, [x8, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
and w10, w8, #0x1
mov w9, #10
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
adrp x9, _base@GOTPAGE
ldr x9, [x9, _base@GOTPAGEOFF]
str w8, [x9]
b LBB1_67
LBB1_65: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
adrp x8, _base@GOTPAGE
ldr x8, [x8, _base@GOTPAGEOFF]
ldr w8, [x8]
ldr x11, [x10, #40]
ldur w11, [x11, #-4]
mul w8, w8, w11
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_66: ; in Loop: Header=BB1_4 Depth=1
b LBB1_67
LBB1_67: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldursw x11, [x29, #-4]
ldr x8, [x9, #16]
mov x10, #0
subs x11, x10, x11
add x8, x8, x11, lsl #1
str x8, [x9, #16]
ldr x8, [x9, #16]
ldrsh w8, [x8]
stur w8, [x29, #-12]
ldursw x11, [x29, #-4]
ldr x8, [x9, #40]
subs x10, x10, x11
add x8, x8, x10, lsl #2
str x8, [x9, #40]
ldursw x9, [x29, #-8]
adrp x8, _quote_calc_lhs@PAGE
add x8, x8, _quote_calc_lhs@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_76
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_76
b LBB1_69
LBB1_69: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x12, [x29, #-32] ; 8-byte Folded Reload
ldur x9, [x29, #-24] ; 8-byte Folded Reload
mov w10, #1
stur w10, [x29, #-12]
ldr x11, [x12, #16]
add x10, x11, #2
str x10, [x12, #16]
mov w10, #1
strh w10, [x11, #2]
ldr w9, [x9]
ldr x10, [x12, #40]
add x11, x10, #4
str x11, [x12, #40]
str w9, [x10, #4]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_73
b LBB1_70
LBB1_70: ; in Loop: Header=BB1_4 Depth=1
bl _quote_calc_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_72
b LBB1_71
LBB1_71: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_72
LBB1_72: ; in Loop: Header=BB1_4 Depth=1
b LBB1_73
LBB1_73: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_75
b LBB1_74
LBB1_74:
b LBB1_88
LBB1_75: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_76: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _quote_calc_gindex@PAGE
add x8, x8, _quote_calc_gindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_81
b LBB1_77
LBB1_77: ; in Loop: Header=BB1_4 Depth=1
ldur w9, [x29, #-12]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_81
b LBB1_78
LBB1_78: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_81
b LBB1_79
LBB1_79: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc_check@PAGE
add x8, x8, _quote_calc_check@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldur w9, [x29, #-12]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_81
b LBB1_80
LBB1_80: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc_table@PAGE
add x8, x8, _quote_calc_table@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-12]
b LBB1_82
LBB1_81: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _quote_calc_dgoto@PAGE
add x8, x8, _quote_calc_dgoto@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-12]
b LBB1_82
LBB1_82: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_85
b LBB1_83
LBB1_83: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_85
b LBB1_84
LBB1_84:
b LBB1_86
LBB1_85: ; in Loop: Header=BB1_4 Depth=1
ldur x11, [x29, #-32] ; 8-byte Folded Reload
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
ldr x10, [x11, #16]
add x12, x10, #2
str x12, [x11, #16]
strh w9, [x10, #2]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_86:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _quote_calc_error
mov w8, #2
stur w8, [x29, #-16]
b LBB1_89
LBB1_87:
mov w8, #1
stur w8, [x29, #-16]
b LBB1_89
LBB1_88:
stur wzr, [x29, #-16]
b LBB1_89
LBB1_89:
ldur w0, [x29, #-16]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_51-Ltmp0
.long LBB1_52-Ltmp0
.long LBB1_53-Ltmp0
.long LBB1_54-Ltmp0
.long LBB1_55-Ltmp0
.long LBB1_56-Ltmp0
.long LBB1_57-Ltmp0
.long LBB1_58-Ltmp0
.long LBB1_59-Ltmp0
.long LBB1_60-Ltmp0
.long LBB1_61-Ltmp0
.long LBB1_62-Ltmp0
.long LBB1_63-Ltmp0
.long LBB1_66-Ltmp0
.long LBB1_64-Ltmp0
.long LBB1_65-Ltmp0
; -- End function
.globl _quote_calc_lex ; -- Begin function quote_calc_lex
.p2align 2
_quote_calc_lex: ; @quote_calc_lex
.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
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #8]
subs w8, w0, #32
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldr w0, [sp, #8]
bl _islower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr w8, [sp, #8]
subs w8, w8, #97
adrp x9, _quote_calc_lval@GOTPAGE
ldr x9, [x9, _quote_calc_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #270
stur w8, [x29, #-4]
b LBB2_8
LBB2_5:
ldr w0, [sp, #8]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr w8, [sp, #8]
subs w8, w8, #48
adrp x9, _quote_calc_lval@GOTPAGE
ldr x9, [x9, _quote_calc_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #269
stur w8, [x29, #-4]
b LBB2_8
LBB2_7:
ldr w8, [sp, #8]
stur w8, [x29, #-4]
b LBB2_8
LBB2_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yygrowstack
_yygrowstack: ; @yygrowstack
.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]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #200
str w8, [sp, #24]
b LBB3_8
LBB3_2:
ldr w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_4:
ldr w8, [sp, #24]
lsl w8, w8, #1
str w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
mov w8, #10000
str w8, [sp, #24]
b LBB3_6
LBB3_6:
b LBB3_7
LBB3_7:
b LBB3_8
LBB3_8:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
subs x8, x8, x9
mov x9, #2
sdiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #1
bl _realloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_10:
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #1
ldur x9, [x29, #-16]
str x8, [x9, #16]
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #2
bl _realloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_12:
ldr x8, [sp, #8]
ldur x9, [x29, #-16]
str x8, [x9, #32]
ldr x8, [sp, #8]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
str x8, [x9, #40]
ldr w8, [sp, #24]
ldur x9, [x29, #-16]
str w8, [x9]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #1
subs x8, x8, #2
ldur x9, [x29, #-16]
str x8, [x9, #24]
stur wzr, [x29, #-4]
b LBB3_13
LBB3_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function quote_calc_error
_quote_calc_error: ; @quote_calc_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _quote_calc_lval,4,2 ; @quote_calc_lval
.comm _quote_calc_nerrs,4,2 ; @quote_calc_nerrs
.comm _quote_calc_errflag,4,2 ; @quote_calc_errflag
.comm _quote_calc_char,4,2 ; @quote_calc_char
.zerofill __DATA,__bss,_yystack,48,3 ; @yystack
.section __TEXT,__const
.p2align 1 ; @quote_calc_defred
_quote_calc_defred:
.short 1 ; 0x1
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 3 ; 0x3
.short 15 ; 0xf
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 2 ; 0x2
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 6 ; 0x6
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.p2align 1 ; @quote_calc_sindex
_quote_calc_sindex:
.short 0 ; 0x0
.short 65498 ; 0xffda
.short 5 ; 0x5
.short 65500 ; 0xffdc
.short 0 ; 0x0
.short 65485 ; 0xffcd
.short 65500 ; 0xffdc
.short 7 ; 0x7
.short 65415 ; 0xff87
.short 65288 ; 0xff08
.short 0 ; 0x0
.short 0 ; 0x0
.short 65293 ; 0xff0d
.short 65500 ; 0xffdc
.short 65514 ; 0xffea
.short 0 ; 0x0
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 0 ; 0x0
.short 65415 ; 0xff87
.short 0 ; 0x0
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65293 ; 0xff0d
.p2align 1 ; @quote_calc_check
_quote_calc_check:
.short 10 ; 0xa
.short 10 ; 0xa
.short 40 ; 0x28
.short 124 ; 0x7c
.short 40 ; 0x28
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 61 ; 0x3d
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 257 ; 0x101
.short 10 ; 0xa
.short 259 ; 0x103
.short 10 ; 0xa
.short 261 ; 0x105
.short 41 ; 0x29
.short 263 ; 0x107
.short 269 ; 0x10d
.short 265 ; 0x109
.short 10 ; 0xa
.short 267 ; 0x10b
.short 10 ; 0xa
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 3 ; 0x3
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 6 ; 0x6
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 13 ; 0xd
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 16 ; 0x10
.short 17 ; 0x11
.short 18 ; 0x12
.short 19 ; 0x13
.short 20 ; 0x14
.short 21 ; 0x15
.short 22 ; 0x16
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 257 ; 0x101
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 261 ; 0x105
.short 65535 ; 0xffff
.short 263 ; 0x107
.short 65535 ; 0xffff
.short 265 ; 0x109
.short 65535 ; 0xffff
.short 267 ; 0x10b
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 256 ; 0x100
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 269 ; 0x10d
.short 270 ; 0x10e
.short 269 ; 0x10d
.short 270 ; 0x10e
.short 257 ; 0x101
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 261 ; 0x105
.short 65535 ; 0xffff
.short 263 ; 0x107
.short 65535 ; 0xffff
.short 265 ; 0x109
.short 65535 ; 0xffff
.short 267 ; 0x10b
.short 65535 ; 0xffff
.short 257 ; 0x101
.short 257 ; 0x101
.short 259 ; 0x103
.short 259 ; 0x103
.short 261 ; 0x105
.short 261 ; 0x105
.short 263 ; 0x107
.short 263 ; 0x107
.short 265 ; 0x109
.short 265 ; 0x109
.short 267 ; 0x10b
.short 267 ; 0x10b
.p2align 1 ; @quote_calc_table
_quote_calc_table:
.short 16 ; 0x10
.short 15 ; 0xf
.short 6 ; 0x6
.short 22 ; 0x16
.short 6 ; 0x6
.short 14 ; 0xe
.short 13 ; 0xd
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 13 ; 0xd
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 16 ; 0x10
.short 10 ; 0xa
.short 17 ; 0x11
.short 15 ; 0xf
.short 18 ; 0x12
.short 25 ; 0x19
.short 19 ; 0x13
.short 23 ; 0x17
.short 20 ; 0x14
.short 4 ; 0x4
.short 21 ; 0x15
.short 5 ; 0x5
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 13 ; 0xd
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 0 ; 0x0
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 12 ; 0xc
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 24 ; 0x18
.short 0 ; 0x0
.short 0 ; 0x0
.short 26 ; 0x1a
.short 27 ; 0x1b
.short 28 ; 0x1c
.short 29 ; 0x1d
.short 30 ; 0x1e
.short 31 ; 0x1f
.short 32 ; 0x20
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 22 ; 0x16
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 15 ; 0xf
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 13 ; 0xd
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 19 ; 0x13
.short 0 ; 0x0
.short 20 ; 0x14
.short 0 ; 0x0
.short 21 ; 0x15
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 2 ; 0x2
.short 0 ; 0x0
.short 0 ; 0x0
.short 3 ; 0x3
.short 0 ; 0x0
.short 3 ; 0x3
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 4 ; 0x4
.short 5 ; 0x5
.short 4 ; 0x4
.short 11 ; 0xb
.short 16 ; 0x10
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 19 ; 0x13
.short 0 ; 0x0
.short 20 ; 0x14
.short 0 ; 0x0
.short 21 ; 0x15
.short 0 ; 0x0
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.p2align 1 ; @quote_calc_rindex
_quote_calc_rindex:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 65527 ; 0xfff7
.short 0 ; 0x0
.short 0 ; 0x0
.short 13 ; 0xd
.short 65526 ; 0xfff6
.short 0 ; 0x0
.short 0 ; 0x0
.short 65531 ; 0xfffb
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 15 ; 0xf
.short 0 ; 0x0
.short 65533 ; 0xfffd
.short 65534 ; 0xfffe
.short 65535 ; 0xffff
.short 1 ; 0x1
.short 2 ; 0x2
.short 3 ; 0x3
.short 65532 ; 0xfffc
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 1 ; @quote_calc_len
_quote_calc_len:
.short 2 ; 0x2
.short 0 ; 0x0
.short 3 ; 0x3
.short 3 ; 0x3
.short 1 ; 0x1
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 2 ; 0x2
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 2 ; 0x2
.comm _quote_calc_val,4,2 ; @quote_calc_val
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\n"
.comm _regs,104,2 ; @regs
.comm _base,4,2 ; @base
.section __TEXT,__const
.p2align 1 ; @quote_calc_lhs
_quote_calc_lhs:
.short 65535 ; 0xffff
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 1 ; 0x1
.short 1 ; 0x1
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 3 ; 0x3
.short 3 ; 0x3
.p2align 1 ; @quote_calc_gindex
_quote_calc_gindex:
.short 0 ; 0x0
.short 0 ; 0x0
.short 42 ; 0x2a
.short 0 ; 0x0
.p2align 1 ; @quote_calc_dgoto
_quote_calc_dgoto:
.short 1 ; 0x1
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "yacc stack overflow"
.comm _quote_calc_debug,4,2 ; @quote_calc_debug
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 $16, %rsp
movl $0, -4(%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_3
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
callq _quote_calc_parse
jmp LBB0_1
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _quote_calc_parse ## -- Begin function quote_calc_parse
.p2align 4, 0x90
_quote_calc_parse: ## @quote_calc_parse
.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, -8(%rbp)
movq _quote_calc_nerrs@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movl $0, -12(%rbp)
cmpq $0, _yystack+8(%rip)
jne LBB1_3
## %bb.1:
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_3
## %bb.2:
jmp LBB1_85
LBB1_3:
movq _yystack+8(%rip), %rax
movq %rax, _yystack+16(%rip)
movq _yystack+32(%rip), %rax
movq %rax, _yystack+40(%rip)
movl $0, -12(%rbp)
movq _yystack+16(%rip), %rax
movw $0, (%rax)
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_31 Depth 2
movslq -12(%rbp), %rcx
leaq _quote_calc_defred(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_46
LBB1_6: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_10
## %bb.7: ## in Loop: Header=BB1_4 Depth=1
callq _quote_calc_lex
movl %eax, %ecx
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _quote_calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
leaq _quote_calc_sindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_20
## %bb.11: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_20
## %bb.12: ## in Loop: Header=BB1_4 Depth=1
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_20
## %bb.13: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
movq _quote_calc_char@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_20
## %bb.14: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_17
## %bb.15: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_17
## %bb.16:
jmp LBB1_85
LBB1_17: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
movslq -8(%rbp), %rcx
leaq _quote_calc_table(%rip), %rax
movw (%rax,%rcx,2), %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _quote_calc_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB1_19
## %bb.18: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_19: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_20: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
leaq _quote_calc_rindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_25
## %bb.21: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_25
## %bb.22: ## in Loop: Header=BB1_4 Depth=1
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_25
## %bb.23: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
movq _quote_calc_char@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
jmp LBB1_46
LBB1_25: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB1_27
## %bb.26: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_29
LBB1_27: ## in Loop: Header=BB1_4 Depth=1
leaq L_.str(%rip), %rdi
callq _quote_calc_error
## %bb.28: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_nerrs@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _quote_calc_nerrs@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_29: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
cmpl $3, (%rax)
jge LBB1_43
## %bb.30: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
movl $3, (%rax)
LBB1_31: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movq _yystack+16(%rip), %rax
movswq (%rax), %rcx
leaq _quote_calc_sindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_39
## %bb.32: ## in Loop: Header=BB1_31 Depth=2
movl -8(%rbp), %eax
addl $256, %eax ## imm = 0x100
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_39
## %bb.33: ## in Loop: Header=BB1_31 Depth=2
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_39
## %bb.34: ## in Loop: Header=BB1_31 Depth=2
movslq -8(%rbp), %rcx
leaq _quote_calc_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl $256, %eax ## imm = 0x100
jne LBB1_39
## %bb.35: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_38
## %bb.36: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_38
## %bb.37:
jmp LBB1_85
LBB1_38: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
movslq -8(%rbp), %rcx
leaq _quote_calc_table(%rip), %rax
movw (%rax,%rcx,2), %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _quote_calc_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_39: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
cmpq _yystack+8(%rip), %rax
ja LBB1_41
## %bb.40:
jmp LBB1_86
LBB1_41: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
addq $-2, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+40(%rip), %rax
addq $-4, %rax
movq %rax, _yystack+40(%rip)
## %bb.42: ## in Loop: Header=BB1_31 Depth=2
jmp LBB1_31
LBB1_43: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_45
## %bb.44:
jmp LBB1_86
LBB1_45: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
jmp LBB1_4
LBB1_46: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_len(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $0, -4(%rbp)
jle LBB1_48
## %bb.47: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl $1, %ecx
subl -4(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_49
LBB1_48: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_val@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
LBB1_49: ## in Loop: Header=BB1_4 Depth=1
movl -8(%rbp), %eax
addl $-3, %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $15, %eax
ja LBB1_65
## %bb.89: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_50: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB1_66
LBB1_51: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_66
LBB1_52: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movq _yystack+40(%rip), %rax
movslq -8(%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
jmp LBB1_66
LBB1_53: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -4(%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_54: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_55: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
subl (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_56: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
imull (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_57: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movl %eax, %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_58: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %edx, (%rax)
jmp LBB1_66
LBB1_59: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
andl (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_60: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
orl (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_61: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_62: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movslq (%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_63: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movl $10, %ecx
movl $8, %eax
cmpl $0, %edx
cmovel %eax, %ecx
movq _base@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_64: ## in Loop: Header=BB1_4 Depth=1
movq _base@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
imull -4(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_65: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_66
LBB1_66: ## in Loop: Header=BB1_4 Depth=1
movl -4(%rbp), %ecx
movq _yystack+16(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $1, %rcx
addq %rcx, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+16(%rip), %rax
movswl (%rax), %eax
movl %eax, -12(%rbp)
movl -4(%rbp), %ecx
movq _yystack+40(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, _yystack+40(%rip)
movslq -8(%rbp), %rcx
leaq _quote_calc_lhs(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $0, -12(%rbp)
jne LBB1_75
## %bb.67: ## in Loop: Header=BB1_4 Depth=1
cmpl $0, -4(%rbp)
jne LBB1_75
## %bb.68: ## in Loop: Header=BB1_4 Depth=1
movl $1, -12(%rbp)
movq _yystack+16(%rip), %rax
movq %rax, %rcx
addq $2, %rcx
movq %rcx, _yystack+16(%rip)
movw $1, 2(%rax)
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _quote_calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_72
## %bb.69: ## in Loop: Header=BB1_4 Depth=1
callq _quote_calc_lex
movl %eax, %ecx
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _quote_calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_71
## %bb.70: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_71: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_72
LBB1_72: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_74
## %bb.73:
jmp LBB1_87
LBB1_74: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_75: ## in Loop: Header=BB1_4 Depth=1
movslq -4(%rbp), %rcx
leaq _quote_calc_gindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_80
## %bb.76: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_80
## %bb.77: ## in Loop: Header=BB1_4 Depth=1
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_80
## %bb.78: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl -12(%rbp), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_80
## %bb.79: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
jmp LBB1_81
LBB1_80: ## in Loop: Header=BB1_4 Depth=1
movslq -4(%rbp), %rcx
leaq _quote_calc_dgoto(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
LBB1_81: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_84
## %bb.82: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_84
## %bb.83:
jmp LBB1_85
LBB1_84: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
movw %ax, %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _quote_calc_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_85:
leaq L_.str.2(%rip), %rdi
callq _quote_calc_error
movl $2, -16(%rbp)
jmp LBB1_88
LBB1_86:
movl $1, -16(%rbp)
jmp LBB1_88
LBB1_87:
movl $0, -16(%rbp)
LBB1_88:
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_50, LBB1_50-LJTI1_0
.set L1_0_set_51, LBB1_51-LJTI1_0
.set L1_0_set_52, LBB1_52-LJTI1_0
.set L1_0_set_53, LBB1_53-LJTI1_0
.set L1_0_set_54, LBB1_54-LJTI1_0
.set L1_0_set_55, LBB1_55-LJTI1_0
.set L1_0_set_56, LBB1_56-LJTI1_0
.set L1_0_set_57, LBB1_57-LJTI1_0
.set L1_0_set_58, LBB1_58-LJTI1_0
.set L1_0_set_59, LBB1_59-LJTI1_0
.set L1_0_set_60, LBB1_60-LJTI1_0
.set L1_0_set_61, LBB1_61-LJTI1_0
.set L1_0_set_62, LBB1_62-LJTI1_0
.set L1_0_set_65, LBB1_65-LJTI1_0
.set L1_0_set_63, LBB1_63-LJTI1_0
.set L1_0_set_64, LBB1_64-LJTI1_0
LJTI1_0:
.long L1_0_set_50
.long L1_0_set_51
.long L1_0_set_52
.long L1_0_set_53
.long L1_0_set_54
.long L1_0_set_55
.long L1_0_set_56
.long L1_0_set_57
.long L1_0_set_58
.long L1_0_set_59
.long L1_0_set_60
.long L1_0_set_61
.long L1_0_set_62
.long L1_0_set_65
.long L1_0_set_63
.long L1_0_set_64
.end_data_region
## -- End function
.globl _quote_calc_lex ## -- Begin function quote_calc_lex
.p2align 4, 0x90
_quote_calc_lex: ## @quote_calc_lex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -8(%rbp)
cmpl $32, %eax
jne LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movl -8(%rbp), %edi
callq _islower
cmpl $0, %eax
je LBB2_5
## %bb.4:
movl -8(%rbp), %ecx
subl $97, %ecx
movq _quote_calc_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $270, -4(%rbp) ## imm = 0x10E
jmp LBB2_8
LBB2_5:
movl -8(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB2_7
## %bb.6:
movl -8(%rbp), %ecx
subl $48, %ecx
movq _quote_calc_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $269, -4(%rbp) ## imm = 0x10D
jmp LBB2_8
LBB2_7:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB2_8:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yygrowstack
_yygrowstack: ## @yygrowstack
.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 -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
cmpl $0, %eax
jne LBB3_2
## %bb.1:
movl $200, -24(%rbp)
jmp LBB3_8
LBB3_2:
cmpl $10000, -24(%rbp) ## imm = 0x2710
jb LBB3_4
## %bb.3:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_4:
movl -24(%rbp), %eax
shll $1, %eax
movl %eax, -24(%rbp)
cmpl $10000, %eax ## imm = 0x2710
jbe LBB3_6
## %bb.5:
movl $10000, -24(%rbp) ## imm = 0x2710
LBB3_6:
jmp LBB3_7
LBB3_7:
jmp LBB3_8
LBB3_8:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
sarq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $1, %rsi
callq _realloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB3_10
## %bb.9:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_10:
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $1, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rax
movq 32(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $2, %rsi
callq _realloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB3_12
## %bb.11:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_12:
movq -40(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 32(%rax)
movq -40(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movl -24(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movl -24(%rbp), %eax
## kill: def $rax killed $eax
shlq $1, %rax
addq %rax, %rcx
addq $-2, %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movl $0, -4(%rbp)
LBB3_13:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function quote_calc_error
_quote_calc_error: ## @quote_calc_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _quote_calc_lval,4,2 ## @quote_calc_lval
.comm _quote_calc_nerrs,4,2 ## @quote_calc_nerrs
.comm _quote_calc_errflag,4,2 ## @quote_calc_errflag
.comm _quote_calc_char,4,2 ## @quote_calc_char
.zerofill __DATA,__bss,_yystack,48,3 ## @yystack
.section __TEXT,__const
.p2align 4 ## @quote_calc_defred
_quote_calc_defred:
.short 1 ## 0x1
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 3 ## 0x3
.short 15 ## 0xf
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 2 ## 0x2
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 6 ## 0x6
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.p2align 4 ## @quote_calc_sindex
_quote_calc_sindex:
.short 0 ## 0x0
.short 65498 ## 0xffda
.short 5 ## 0x5
.short 65500 ## 0xffdc
.short 0 ## 0x0
.short 65485 ## 0xffcd
.short 65500 ## 0xffdc
.short 7 ## 0x7
.short 65415 ## 0xff87
.short 65288 ## 0xff08
.short 0 ## 0x0
.short 0 ## 0x0
.short 65293 ## 0xff0d
.short 65500 ## 0xffdc
.short 65514 ## 0xffea
.short 0 ## 0x0
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 0 ## 0x0
.short 65415 ## 0xff87
.short 0 ## 0x0
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65293 ## 0xff0d
.p2align 4 ## @quote_calc_check
_quote_calc_check:
.short 10 ## 0xa
.short 10 ## 0xa
.short 40 ## 0x28
.short 124 ## 0x7c
.short 40 ## 0x28
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 61 ## 0x3d
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 257 ## 0x101
.short 10 ## 0xa
.short 259 ## 0x103
.short 10 ## 0xa
.short 261 ## 0x105
.short 41 ## 0x29
.short 263 ## 0x107
.short 269 ## 0x10d
.short 265 ## 0x109
.short 10 ## 0xa
.short 267 ## 0x10b
.short 10 ## 0xa
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 3 ## 0x3
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 6 ## 0x6
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 13 ## 0xd
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 16 ## 0x10
.short 17 ## 0x11
.short 18 ## 0x12
.short 19 ## 0x13
.short 20 ## 0x14
.short 21 ## 0x15
.short 22 ## 0x16
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 257 ## 0x101
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 261 ## 0x105
.short 65535 ## 0xffff
.short 263 ## 0x107
.short 65535 ## 0xffff
.short 265 ## 0x109
.short 65535 ## 0xffff
.short 267 ## 0x10b
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 256 ## 0x100
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 269 ## 0x10d
.short 270 ## 0x10e
.short 269 ## 0x10d
.short 270 ## 0x10e
.short 257 ## 0x101
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 261 ## 0x105
.short 65535 ## 0xffff
.short 263 ## 0x107
.short 65535 ## 0xffff
.short 265 ## 0x109
.short 65535 ## 0xffff
.short 267 ## 0x10b
.short 65535 ## 0xffff
.short 257 ## 0x101
.short 257 ## 0x101
.short 259 ## 0x103
.short 259 ## 0x103
.short 261 ## 0x105
.short 261 ## 0x105
.short 263 ## 0x107
.short 263 ## 0x107
.short 265 ## 0x109
.short 265 ## 0x109
.short 267 ## 0x10b
.short 267 ## 0x10b
.p2align 4 ## @quote_calc_table
_quote_calc_table:
.short 16 ## 0x10
.short 15 ## 0xf
.short 6 ## 0x6
.short 22 ## 0x16
.short 6 ## 0x6
.short 14 ## 0xe
.short 13 ## 0xd
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 13 ## 0xd
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 16 ## 0x10
.short 10 ## 0xa
.short 17 ## 0x11
.short 15 ## 0xf
.short 18 ## 0x12
.short 25 ## 0x19
.short 19 ## 0x13
.short 23 ## 0x17
.short 20 ## 0x14
.short 4 ## 0x4
.short 21 ## 0x15
.short 5 ## 0x5
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 13 ## 0xd
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 0 ## 0x0
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 12 ## 0xc
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 24 ## 0x18
.short 0 ## 0x0
.short 0 ## 0x0
.short 26 ## 0x1a
.short 27 ## 0x1b
.short 28 ## 0x1c
.short 29 ## 0x1d
.short 30 ## 0x1e
.short 31 ## 0x1f
.short 32 ## 0x20
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 22 ## 0x16
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 15 ## 0xf
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 13 ## 0xd
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 19 ## 0x13
.short 0 ## 0x0
.short 20 ## 0x14
.short 0 ## 0x0
.short 21 ## 0x15
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 2 ## 0x2
.short 0 ## 0x0
.short 0 ## 0x0
.short 3 ## 0x3
.short 0 ## 0x0
.short 3 ## 0x3
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 4 ## 0x4
.short 5 ## 0x5
.short 4 ## 0x4
.short 11 ## 0xb
.short 16 ## 0x10
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 19 ## 0x13
.short 0 ## 0x0
.short 20 ## 0x14
.short 0 ## 0x0
.short 21 ## 0x15
.short 0 ## 0x0
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.p2align 4 ## @quote_calc_rindex
_quote_calc_rindex:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 65527 ## 0xfff7
.short 0 ## 0x0
.short 0 ## 0x0
.short 13 ## 0xd
.short 65526 ## 0xfff6
.short 0 ## 0x0
.short 0 ## 0x0
.short 65531 ## 0xfffb
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 15 ## 0xf
.short 0 ## 0x0
.short 65533 ## 0xfffd
.short 65534 ## 0xfffe
.short 65535 ## 0xffff
.short 1 ## 0x1
.short 2 ## 0x2
.short 3 ## 0x3
.short 65532 ## 0xfffc
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 4 ## @quote_calc_len
_quote_calc_len:
.short 2 ## 0x2
.short 0 ## 0x0
.short 3 ## 0x3
.short 3 ## 0x3
.short 1 ## 0x1
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 2 ## 0x2
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 2 ## 0x2
.comm _quote_calc_val,4,2 ## @quote_calc_val
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d\n"
.comm _regs,104,4 ## @regs
.comm _base,4,2 ## @base
.section __TEXT,__const
.p2align 4 ## @quote_calc_lhs
_quote_calc_lhs:
.short 65535 ## 0xffff
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 1 ## 0x1
.short 1 ## 0x1
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 3 ## 0x3
.short 3 ## 0x3
.p2align 1 ## @quote_calc_gindex
_quote_calc_gindex:
.short 0 ## 0x0
.short 0 ## 0x0
.short 42 ## 0x2a
.short 0 ## 0x0
.p2align 1 ## @quote_calc_dgoto
_quote_calc_dgoto:
.short 1 ## 0x1
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "yacc stack overflow"
.comm _quote_calc_debug,4,2 ## @quote_calc_debug
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/12645.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]
mov x9, sp
mov x8, #-1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The value of EOF is: %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movl $4294967295, %esi ## imm = 0xFFFFFFFF
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 "The value of EOF is: %d"
.subsections_via_symbols
| the_stack_data/48574171.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kernel_floyd_warshall ; -- Begin function kernel_floyd_warshall
.p2align 2
_kernel_floyd_warshall: ; @kernel_floyd_warshall
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, #44]
str x1, [sp, #32]
ldr w8, [sp, #44]
add w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #20]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #28]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #28]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #24]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #24]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldr x12, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
mul x9, x9, x12
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #32]
ldrsw x10, [sp, #28]
mul x10, x10, x12
add x9, x9, x10, lsl #2
ldrsw x10, [sp, #20]
ldr w9, [x9, x10, lsl #2]
ldr x10, [sp, #32]
ldrsw x11, [sp, #20]
mul x11, x11, x12
add x10, x10, x11, lsl #2
ldrsw x11, [sp, #24]
ldr w10, [x10, x11, lsl #2]
add w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_5 Depth=3
ldr x11, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
mul x9, x9, x11
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #32]
ldrsw x10, [sp, #20]
mul x10, x10, x11
add x9, x9, x10, lsl #2
ldrsw x10, [sp, #24]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=3
ldr x11, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #4] ; 4-byte Folded Reload
ldr x9, [sp, #32]
ldrsw x10, [sp, #28]
mul x10, x10, x11
add x9, x9, x10, lsl #2
ldrsw x10, [sp, #24]
str w8, [x9, x10, lsl #2]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_5
LBB0_11: ; in Loop: Header=BB0_3 Depth=2
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_15:
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 _kernel_floyd_warshall ## -- Begin function kernel_floyd_warshall
.p2align 4, 0x90
_kernel_floyd_warshall: ## @kernel_floyd_warshall
.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
addl $0, %eax
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
movl $0, -28(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
movl -28(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_15
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_13
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $0, -24(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -24(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_11
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movq -40(%rbp), %rdi ## 8-byte Reload
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rdi, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
movslq -20(%rbp), %rdx
imulq %rdi, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movslq -28(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
movq -16(%rbp), %rdx
movslq -28(%rbp), %rsi
imulq %rdi, %rsi
shlq $2, %rsi
addq %rsi, %rdx
movslq -24(%rbp), %rsi
addl (%rdx,%rsi,4), %ecx
cmpl %ecx, %eax
jge LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=3
movq -40(%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), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_5 Depth=3
movq -40(%rbp), %rsi ## 8-byte Reload
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rsi, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
movslq -28(%rbp), %rdx
imulq %rsi, %rdx
shlq $2, %rdx
addq %rdx, %rcx
movslq -24(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB0_9: ## in Loop: Header=BB0_5 Depth=3
movq -40(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rsi, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.10: ## in Loop: Header=BB0_5 Depth=3
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_5
LBB0_11: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_15:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/108444.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, #20]
str w0, [sp, #16]
str x1, [sp, #8]
add x8, sp, #24
add x8, x8, #4
mov x9, #4105
add x9, x8, x9
mov w8, #65
strb w8, [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, 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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
movl %edi, -32(%rbp)
movq %rsi, -40(%rbp)
movb $65, 4085(%rbp)
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
.subsections_via_symbols
| the_stack_data/17322.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 0x3f91df495f7dcd44 ; double 0.017453333333333335
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #180
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur s1, [x29, #-8]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d1, d0
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
fcvt d0, s0
bl _cos
fcvt s0, d0
str s0, [sp, #16]
ldur w8, [x29, #-8]
; implicit-def: $x9
mov x9, x8
ldr s0, [sp, #16]
fcvt d0, s0
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
add w8, w8, #10
stur w8, [x29, #-8]
b LBB0_1
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Angle cos(angle)\n\n"
l_.str.1: ; @.str.1
.asciz "%15d %13.4f \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3f91df495f7dcd44 ## double 0.017453333333333335
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $180, -8(%rbp)
jg LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cvtsi2sdl -8(%rbp), %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
callq _cos
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -16(%rbp)
movl -8(%rbp), %esi
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movl -8(%rbp), %eax
addl $10, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Angle cos(angle)\n\n"
L_.str.1: ## @.str.1
.asciz "%15d %13.4f \n"
.subsections_via_symbols
| the_stack_data/97011514.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, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
mov w8, #1
str w8, [sp, #12]
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Language %d: I am C! Behold me and tremble!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $1, -20(%rbp)
movl -20(%rbp), %esi
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 "Language %d: I am C! Behold me and tremble!\n"
.subsections_via_symbols
| the_stack_data/150553.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
sub x8, x29, #16
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
stur w0, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #12
str x8, [sp, #24] ; 8-byte Folded Spill
ldur s0, [x29, #-12]
sub x8, x29, #16
str x8, [sp, #32] ; 8-byte Folded Spill
ldur s1, [x29, #-16]
bl _user_func
stur s0, [x29, #-20]
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
stur w0, [x29, #-8]
b LBB0_1
LBB0_3:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _user_func ; -- Begin function user_func
.p2align 2
_user_func: ; @user_func
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fsub s0, s0, s1
ldr s1, [sp, #12]
ldr s2, [sp, #8]
fmul s1, s1, s2
fdiv s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a pair of floats: "
l_.str.1: ; @.str.1
.asciz "%f %f"
l_.str.2: ; @.str.2
.asciz "(X - Y) / (X * Y) = %f\n"
l_.str.3: ; @.str.3
.asciz "Enter a new pair of floats: "
l_.str.4: ; @.str.4
.asciz "Done\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 -12(%rbp), %rsi
leaq -16(%rbp), %rdx
movb $0, %al
callq _scanf
movl %eax, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $2, -8(%rbp)
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _user_func
movss %xmm0, -20(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -16(%rbp), %rdx
movb $0, %al
callq _scanf
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_3:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _user_func ## -- Begin function user_func
.p2align 4, 0x90
_user_func: ## @user_func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -8(%rbp), %xmm0
movss -4(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -8(%rbp), %xmm1
divss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a pair of floats: "
L_.str.1: ## @.str.1
.asciz "%f %f"
L_.str.2: ## @.str.2
.asciz "(X - Y) / (X * Y) = %f\n"
L_.str.3: ## @.str.3
.asciz "Enter a new pair of floats: "
L_.str.4: ## @.str.4
.asciz "Done\n"
.subsections_via_symbols
| the_stack_data/57949377.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_toupper ; -- Begin function ft_toupper
.p2align 2
_ft_toupper: ; @ft_toupper
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp, #8]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr w8, [sp, #8]
subs w8, w8, #32
str w8, [sp, #12]
b LBB0_4
LBB0_3:
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB0_4
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_toupper ## -- Begin function ft_toupper
.p2align 4, 0x90
_ft_toupper: ## @ft_toupper
.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 $97, -8(%rbp)
jl LBB0_3
## %bb.1:
cmpl $122, -8(%rbp)
jg LBB0_3
## %bb.2:
movl -8(%rbp), %eax
subl $32, %eax
movl %eax, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/156393762.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_min_heap ; -- Begin function insert_min_heap
.p2align 2
_insert_min_heap: ; @insert_min_heap
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
adrp x8, _heap@GOTPAGE
ldr x8, [x8, _heap@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str w0, [sp, #44]
str w1, [sp, #40]
adrp x9, _heap_size@GOTPAGE
ldr x9, [x9, _heap_size@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
str w8, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #36]
mov w10, #2
sdiv w10, w9, w10
; implicit-def: $x9
mov x9, x10
sxtw x9, w9
lsl x9, x9, #3
ldr w8, [x8, x9]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [sp, #36]
ldr w8, [sp, #36]
mov w11, #2
sdiv w12, w8, w11
; implicit-def: $x8
mov x8, x12
sxtw x8, w8
lsl x8, x8, #3
ldr w8, [x9, x8]
str w8, [sp, #28]
ldr w8, [sp, #36]
sdiv w8, w8, w11
add x8, x9, w8, sxtw #3
ldr w8, [x8, #4]
str w8, [sp, #32]
ldur x8, [sp, #28]
str x8, [x9, x10, lsl #3]
b LBB0_5
LBB0_4:
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #36]
b LBB0_1
LBB0_6:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [sp, #36]
ldr w8, [sp, #44]
str w8, [sp, #20]
ldr w8, [sp, #40]
str w8, [sp, #24]
ldur x8, [sp, #20]
str x8, [x9, x10, lsl #3]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _delete_min_heap ; -- Begin function delete_min_heap
.p2align 2
_delete_min_heap: ; @delete_min_heap
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
adrp x8, _heap@GOTPAGE
ldr x8, [x8, _heap@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x11, _heap_size@GOTPAGE
ldr x11, [x11, _heap_size@GOTPAGEOFF]
str x11, [sp, #24] ; 8-byte Folded Spill
str x0, [sp, #72]
str x1, [sp, #64]
ldr w9, [x8, #8]
ldr x10, [sp, #72]
str w9, [x10]
ldr w9, [x8, #12]
ldr x10, [sp, #64]
str w9, [x10]
ldrsw x9, [x11]
lsl x9, x9, #3
ldr w9, [x8, x9]
str w9, [sp, #60]
ldrsw x9, [x11]
mov x10, x9
subs w10, w10, #1
str w10, [x11]
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
str w8, [sp, #56]
mov w8, #2
str w8, [sp, #52]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [sp, #52]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_9
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldrsw x8, [sp, #52]
lsl x8, x8, #3
ldr w8, [x9, x8]
ldr w10, [sp, #52]
add w11, w10, #1
; implicit-def: $x10
mov x10, x11
sxtw x10, w10
lsl x10, x10, #3
ldr w9, [x9, x10]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #52]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w9, [sp, #12] ; 4-byte Folded Reload
str w9, [sp, #48]
ldrsw x9, [sp, #48]
lsl x9, x9, #3
ldr w8, [x8, x9]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #52]
mov w10, #2
sdiv w10, w8, w10
ldrsw x8, [sp, #48]
lsl x8, x8, #3
ldr w8, [x9, x8]
str w8, [sp, #40]
ldrsw x11, [sp, #48]
mov x8, x9
add x8, x8, x11, lsl #3
ldr w8, [x8, #4]
str w8, [sp, #44]
ldr x8, [sp, #40]
str x8, [x9, w10, sxtw #3]
b LBB1_8
LBB1_7:
b LBB1_9
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #48]
lsl w8, w8, #1
str w8, [sp, #52]
b LBB1_1
LBB1_9:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #52]
mov w10, #2
sdiv w10, w8, w10
ldr w8, [sp, #60]
str w8, [sp, #32]
ldr w8, [sp, #56]
str w8, [sp, #36]
ldr x8, [sp, #32]
str x8, [x9, w10, sxtw #3]
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _dijest ; -- Begin function dijest
.p2align 2
_dijest: ; @dijest
.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, _dist@GOTPAGE
ldr x8, [x8, _dist@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
mov w8, #1
stur w8, [x29, #-12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
adrp x9, _V@GOTPAGE
ldr x9, [x9, _V@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldursw x10, [x29, #-12]
mov w8, #21568
movk w8, #137, lsl #16
str w8, [x9, x10, lsl #2]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB2_1
LBB2_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldursw x10, [x29, #-4]
mov w9, #0
str w9, [x8, x10, lsl #2]
adrp x9, _heap_size@GOTPAGE
ldr x9, [x9, _heap_size@GOTPAGEOFF]
str wzr, [x9]
ldursw x9, [x29, #-4]
ldr w0, [x8, x9, lsl #2]
ldur w1, [x29, #-4]
bl _insert_min_heap
b LBB2_5
LBB2_5: ; =>This Loop Header: Depth=1
; Child Loop BB2_9 Depth 2
adrp x8, _heap_size@GOTPAGE
ldr x8, [x8, _heap_size@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
sub x0, x29, #16
sub x1, x29, #20
bl _delete_min_heap
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
b LBB2_5
LBB2_8: ; in Loop: Header=BB2_5 Depth=1
stur wzr, [x29, #-12]
b LBB2_9
LBB2_9: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldursw x10, [x29, #-20]
adrp x9, _cnt@GOTPAGE
ldr x9, [x9, _cnt@GOTPAGEOFF]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_14
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldursw x8, [x29, #-20]
adrp x10, _edge@GOTPAGE
ldr x10, [x10, _edge@GOTPAGEOFF]
ldr x8, [x10, x8, lsl #3]
ldursw x11, [x29, #-12]
lsl x11, x11, #3
ldr w8, [x8, x11]
str w8, [sp, #24]
ldursw x8, [x29, #-20]
ldr w8, [x9, x8, lsl #2]
ldursw x11, [x29, #-20]
ldr x10, [x10, x11, lsl #3]
ldursw x11, [x29, #-12]
add x10, x10, x11, lsl #3
ldr w10, [x10, #4]
add w8, w8, w10
str w8, [sp, #20]
ldr w8, [sp, #20]
ldrsw x10, [sp, #24]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_9 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #20]
ldrsw x10, [sp, #24]
str w8, [x9, x10, lsl #2]
ldr w0, [sp, #20]
ldr w1, [sp, #24]
bl _insert_min_heap
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_9 Depth=2
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_9 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB2_9
LBB2_14: ; in Loop: Header=BB2_5 Depth=1
b LBB2_5
LBB2_15:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldr w0, [x8, x9, lsl #2]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _comp ; -- Begin function comp
.p2align 2
_comp: ; @comp
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp]
ldr w9, [x9]
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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, #1376
adrp x8, _E@GOTPAGE
ldr x8, [x8, _E@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _cnt@GOTPAGE
ldr x8, [x8, _cnt@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _des@GOTPAGE
ldr x8, [x8, _des@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, _dist@GOTPAGE
ldr x8, [x8, _dist@GOTPAGEOFF]
str x8, [sp, #64] ; 8-byte Folded Spill
adrp x8, _l@GOTPAGE
ldr x8, [x8, _l@GOTPAGEOFF]
str x8, [sp, #72] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #164]
mov x9, sp
add x8, sp, #160
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
; Child Loop BB4_13 Depth 2
; Child Loop BB4_17 Depth 2
; Child Loop BB4_21 Depth 2
; Child Loop BB4_25 Depth 2
; Child Loop BB4_29 Depth 2
; Child Loop BB4_33 Depth 2
; Child Loop BB4_37 Depth 2
; Child Loop BB4_41 Depth 2
; Child Loop BB4_45 Depth 2
; Child Loop BB4_49 Depth 2
; Child Loop BB4_53 Depth 2
ldr w8, [sp, #160]
subs w9, w8, #1
str w9, [sp, #160]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_60
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, sp
adrp x10, _V@GOTPAGE
ldr x10, [x10, _V@GOTPAGEOFF]
str x10, [x9]
str x8, [x9, #8]
add x8, sp, #156
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #152
str x8, [x9]
add x8, sp, #148
str x8, [x9, #8]
add x8, sp, #144
str x8, [x9, #16]
bl _scanf
ldr x0, [sp, #48] ; 8-byte Folded Reload
mov x1, #8004
bl _bzero
str wzr, [sp, #140]
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w8, [sp, #140]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
mov x9, sp
add x8, sp, #128
str x8, [x9]
add x8, sp, #124
str x8, [x9, #8]
add x8, sp, #120
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #128]
ldr w9, [sp, #148]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB4_7
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #124]
ldr w9, [sp, #144]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #120]
str w8, [sp, #132]
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #128]
ldr w9, [sp, #144]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB4_10
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #124]
ldr w9, [sp, #148]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #120]
str w8, [sp, #132]
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x11, [sp, #72] ; 8-byte Folded Reload
ldr w10, [sp, #140]
mov w9, #2
mul w10, w9, w10
mov x13, x11
mov w12, #12
smaddl x12, w10, w12, x13
ldr w10, [sp, #128]
str w10, [sp, #108]
ldr w10, [sp, #124]
str w10, [sp, #112]
ldr w10, [sp, #120]
str w10, [sp, #116]
ldur x10, [sp, #108]
str x10, [x12]
ldr w10, [sp, #116]
str w10, [x12, #8]
ldr w10, [sp, #140]
mul w9, w9, w10
add w9, w9, #1
mov w10, #12
smaddl x10, w9, w10, x11
ldr w9, [sp, #124]
str w9, [sp, #96]
ldr w9, [sp, #128]
str w9, [sp, #100]
ldr w9, [sp, #120]
str w9, [sp, #104]
ldr x9, [sp, #96]
str x9, [x10]
ldr w9, [sp, #104]
str w9, [x10, #8]
ldrsw x10, [sp, #128]
mov x9, x8
add x10, x9, x10, lsl #2
ldr w9, [x10]
add w9, w9, #1
str w9, [x10]
ldrsw x9, [sp, #124]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_3
LBB4_12: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_13
LBB4_13: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
adrp x9, _V@GOTPAGE
ldr x9, [x9, _V@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB4_16
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_13 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldrsw x9, [sp, #140]
ldrsw x9, [x8, x9, lsl #2]
mov x8, #8
mul x0, x8, x9
bl _malloc
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldrsw x10, [sp, #140]
adrp x8, _edge@GOTPAGE
ldr x8, [x8, _edge@GOTPAGEOFF]
str x0, [x8, x10, lsl #3]
ldrsw x10, [sp, #140]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_13 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_13
LBB4_16: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_17
LBB4_17: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w8, [sp, #140]
ldr w10, [x9]
mov w9, #2
mul w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_20
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_17 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldrsw x10, [sp, #140]
mov x13, #12
mul x10, x10, x13
ldr w10, [x9, x10]
str w10, [sp, #92]
ldrsw x11, [sp, #92]
adrp x10, _edge@GOTPAGE
ldr x10, [x10, _edge@GOTPAGEOFF]
ldr x10, [x10, x11, lsl #3]
ldrsw x11, [sp, #92]
ldrsw x11, [x8, x11, lsl #2]
ldrsw x12, [sp, #140]
mul x14, x12, x13
mov x12, x9
add x12, x12, x14
ldr w12, [x12, #4]
str w12, [sp, #84]
ldrsw x12, [sp, #140]
mul x12, x12, x13
add x9, x9, x12
ldr w9, [x9, #8]
str w9, [sp, #88]
ldur x9, [sp, #84]
str x9, [x10, x11, lsl #3]
ldrsw x9, [sp, #92]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB4_19
LBB4_19: ; in Loop: Header=BB4_17 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_17
LBB4_20: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_21
LBB4_21: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_24
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_21 Depth=2
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldrsw x9, [sp, #140]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB4_23
LBB4_23: ; in Loop: Header=BB4_21 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_21
LBB4_24: ; in Loop: Header=BB4_1 Depth=1
ldr x0, [sp, #56] ; 8-byte Folded Reload
ldrsw x1, [sp, #156]
mov x2, #4
adrp x3, _comp@PAGE
add x3, x3, _comp@PAGEOFF
bl _qsort
ldr w0, [sp, #152]
ldr w1, [sp, #148]
bl _dijest
str w0, [sp, #168]
mov w8, #1
str w8, [sp, #140]
b LBB4_25
LBB4_25: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_28
b LBB4_26
LBB4_26: ; in Loop: Header=BB4_25 Depth=2
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrsw x9, [sp, #148]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #140]
add x9, sp, #168
str w8, [x9, x10, lsl #2]
b LBB4_27
LBB4_27: ; in Loop: Header=BB4_25 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_25
LBB4_28: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_29
LBB4_29: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_32
b LBB4_30
LBB4_30: ; in Loop: Header=BB4_29 Depth=2
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrsw x9, [sp, #144]
ldr w8, [x8, x9, lsl #2]
add x9, sp, #168
add x9, x9, #400
ldrsw x10, [sp, #140]
str w8, [x9, x10, lsl #2]
b LBB4_31
LBB4_31: ; in Loop: Header=BB4_29 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_29
LBB4_32: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_33
LBB4_33: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_36
b LBB4_34
LBB4_34: ; in Loop: Header=BB4_33 Depth=2
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrsw x10, [sp, #140]
ldrsw x9, [x9, x10, lsl #2]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #140]
add x9, sp, #968
str w8, [x9, x10, lsl #2]
b LBB4_35
LBB4_35: ; in Loop: Header=BB4_33 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_33
LBB4_36: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_37
LBB4_37: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_40
b LBB4_38
LBB4_38: ; in Loop: Header=BB4_37 Depth=2
ldr w10, [sp, #132]
ldrsw x9, [sp, #140]
add x8, sp, #168
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB4_39
LBB4_39: ; in Loop: Header=BB4_37 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_37
LBB4_40: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_41
LBB4_41: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_44
b LBB4_42
LBB4_42: ; in Loop: Header=BB4_41 Depth=2
ldr w10, [sp, #132]
add x8, sp, #168
add x8, x8, #400
ldrsw x9, [sp, #140]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB4_43
LBB4_43: ; in Loop: Header=BB4_41 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_41
LBB4_44: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w0, [sp, #144]
ldr w1, [x8]
bl _dijest
ldr w8, [sp, #168]
add w8, w8, w0
str w8, [sp, #168]
mov w8, #1
str w8, [sp, #140]
b LBB4_45
LBB4_45: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_48
b LBB4_46
LBB4_46: ; in Loop: Header=BB4_45 Depth=2
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrsw x10, [sp, #140]
ldrsw x9, [x9, x10, lsl #2]
ldr w10, [x8, x9, lsl #2]
ldrsw x9, [sp, #140]
add x8, sp, #168
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB4_47
LBB4_47: ; in Loop: Header=BB4_45 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_45
LBB4_48: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w0, [sp, #148]
ldr w1, [x8]
bl _dijest
ldr w8, [sp, #568]
add w8, w8, w0
str w8, [sp, #568]
mov w8, #1
str w8, [sp, #140]
b LBB4_49
LBB4_49: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_52
b LBB4_50
LBB4_50: ; in Loop: Header=BB4_49 Depth=2
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrsw x10, [sp, #140]
ldrsw x9, [x9, x10, lsl #2]
ldr w10, [x8, x9, lsl #2]
add x8, sp, #168
add x8, x8, #400
ldrsw x9, [sp, #140]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB4_51
LBB4_51: ; in Loop: Header=BB4_49 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_49
LBB4_52: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #140]
b LBB4_53
LBB4_53: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldr w9, [sp, #156]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_59
b LBB4_54
LBB4_54: ; in Loop: Header=BB4_53 Depth=2
ldrsw x9, [sp, #140]
add x8, sp, #168
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #140]
add x9, sp, #968
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB4_56
b LBB4_55
LBB4_55: ; in Loop: Header=BB4_53 Depth=2
add x8, sp, #168
add x8, x8, #400
ldrsw x9, [sp, #140]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #140]
add x9, sp, #968
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB4_57
b LBB4_56
LBB4_56: ; in Loop: Header=BB4_53 Depth=2
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldrsw x9, [sp, #140]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB4_57
LBB4_57: ; in Loop: Header=BB4_53 Depth=2
b LBB4_58
LBB4_58: ; in Loop: Header=BB4_53 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB4_53
LBB4_59: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB4_1
LBB4_60:
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_62
b LBB4_61
LBB4_61:
bl ___stack_chk_fail
LBB4_62:
mov w0, #0
add sp, sp, #1376
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _heap_size,4,2 ; @heap_size
.comm _heap,240000,2 ; @heap
.comm _V,4,2 ; @V
.comm _dist,8004,2 ; @dist
.comm _cnt,8004,2 ; @cnt
.comm _edge,16008,3 ; @edge
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d %d"
.comm _E,4,2 ; @E
.comm _l,1200024,2 ; @l
.comm _des,400,2 ; @des
l_.str.2: ; @.str.2
.asciz "%d "
l_.str.3: ; @.str.3
.asciz "\n"
.comm _K,4,2 ; @K
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_min_heap ## -- Begin function insert_min_heap
.p2align 4, 0x90
_insert_min_heap: ## @insert_min_heap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq _heap_size@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $1, %eax
movq _heap_size@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $1, -12(%rbp)
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movslq %eax, %rcx
movq _heap@GOTPCREL(%rip), %rax
movl (%rax,%rcx,8), %eax
cmpl -4(%rbp), %eax
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq -12(%rbp), %rcx
movl -12(%rbp), %eax
movl $2, %esi
cltd
idivl %esi
movslq %eax, %rdx
movq _heap@GOTPCREL(%rip), %rax
movl (%rax,%rdx,8), %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %eax
movl $2, %esi
cltd
idivl %esi
movslq %eax, %rdx
movq _heap@GOTPCREL(%rip), %rax
movl 4(%rax,%rdx,8), %eax
movl %eax, -20(%rbp)
movq _heap@GOTPCREL(%rip), %rax
movq -24(%rbp), %rdx
movq %rdx, (%rax,%rcx,8)
jmp LBB0_5
LBB0_4:
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_6:
movslq -12(%rbp), %rcx
movl -4(%rbp), %eax
movl %eax, -32(%rbp)
movl -8(%rbp), %eax
movl %eax, -28(%rbp)
movq _heap@GOTPCREL(%rip), %rax
movq -32(%rbp), %rdx
movq %rdx, (%rax,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _delete_min_heap ## -- Begin function delete_min_heap
.p2align 4, 0x90
_delete_min_heap: ## @delete_min_heap
.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 _heap@GOTPCREL(%rip), %rax
movl 8(%rax), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movq _heap@GOTPCREL(%rip), %rax
movl 12(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq _heap_size@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _heap@GOTPCREL(%rip), %rax
movl (%rax,%rcx,8), %eax
movl %eax, -20(%rbp)
movq _heap_size@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %edx
addl $-1, %edx
movq _heap_size@GOTPCREL(%rip), %rcx
movl %edx, (%rcx)
movslq %eax, %rcx
movq _heap@GOTPCREL(%rip), %rax
movl 4(%rax,%rcx,8), %eax
movl %eax, -24(%rbp)
movl $2, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq _heap_size@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB1_9
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -28(%rbp), %rcx
movq _heap@GOTPCREL(%rip), %rax
movl (%rax,%rcx,8), %eax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rdx
movq _heap@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,8), %eax
jge LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, -32(%rbp)
movslq -32(%rbp), %rcx
movq _heap@GOTPCREL(%rip), %rax
movl (%rax,%rcx,8), %eax
cmpl -20(%rbp), %eax
jge LBB1_7
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movslq %eax, %rcx
movslq -32(%rbp), %rdx
movq _heap@GOTPCREL(%rip), %rax
movl (%rax,%rdx,8), %eax
movl %eax, -40(%rbp)
movslq -32(%rbp), %rdx
movq _heap@GOTPCREL(%rip), %rax
movl 4(%rax,%rdx,8), %eax
movl %eax, -36(%rbp)
movq _heap@GOTPCREL(%rip), %rax
movq -40(%rbp), %rdx
movq %rdx, (%rax,%rcx,8)
jmp LBB1_8
LBB1_7:
jmp LBB1_9
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movl -32(%rbp), %eax
shll $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_9:
movl -28(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movslq %eax, %rcx
movl -20(%rbp), %eax
movl %eax, -48(%rbp)
movl -24(%rbp), %eax
movl %eax, -44(%rbp)
movq _heap@GOTPCREL(%rip), %rax
movq -48(%rbp), %rdx
movq %rdx, (%rax,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dijest ## -- Begin function dijest
.p2align 4, 0x90
_dijest: ## @dijest
.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 $1, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movq _V@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -12(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl $9000000, (%rax,%rcx,4) ## imm = 0x895440
## %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:
movslq -4(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl $0, (%rax,%rcx,4)
movq _heap_size@GOTPCREL(%rip), %rax
movl $0, (%rax)
movslq -4(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edi
movl -4(%rbp), %esi
callq _insert_min_heap
LBB2_5: ## =>This Loop Header: Depth=1
## Child Loop BB2_9 Depth 2
movq _heap_size@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB2_15
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
leaq -16(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _delete_min_heap
movl -16(%rbp), %eax
movslq -20(%rbp), %rdx
movq _dist@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jle LBB2_8
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
jmp LBB2_5
LBB2_8: ## in Loop: Header=BB2_5 Depth=1
movl $0, -12(%rbp)
LBB2_9: ## Parent Loop BB2_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movslq -20(%rbp), %rdx
movq _cnt@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jge LBB2_14
## %bb.10: ## in Loop: Header=BB2_9 Depth=2
movslq -20(%rbp), %rcx
movq _edge@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -24(%rbp)
movslq -20(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movslq -20(%rbp), %rdx
movq _edge@GOTPCREL(%rip), %rcx
movq (%rcx,%rdx,8), %rcx
movslq -12(%rbp), %rdx
addl 4(%rcx,%rdx,8), %eax
movl %eax, -28(%rbp)
movl -28(%rbp), %eax
movslq -24(%rbp), %rdx
movq _dist@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jge LBB2_12
## %bb.11: ## in Loop: Header=BB2_9 Depth=2
movl -28(%rbp), %edx
movslq -24(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %edi
movl -24(%rbp), %esi
callq _insert_min_heap
LBB2_12: ## in Loop: Header=BB2_9 Depth=2
jmp LBB2_13
LBB2_13: ## in Loop: Header=BB2_9 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_9
LBB2_14: ## in Loop: Header=BB2_5 Depth=1
jmp LBB2_5
LBB2_15:
movslq -8(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _comp ## -- Begin function comp
.p2align 4, 0x90
_comp: ## @comp
.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 (%rax), %eax
movq -16(%rbp), %rcx
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1312, %rsp ## imm = 0x520
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1220(%rbp)
leaq L_.str(%rip), %rdi
leaq -1224(%rbp), %rsi
movb $0, %al
callq _scanf
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
## Child Loop BB4_13 Depth 2
## Child Loop BB4_17 Depth 2
## Child Loop BB4_21 Depth 2
## Child Loop BB4_25 Depth 2
## Child Loop BB4_29 Depth 2
## Child Loop BB4_33 Depth 2
## Child Loop BB4_37 Depth 2
## Child Loop BB4_41 Depth 2
## Child Loop BB4_45 Depth 2
## Child Loop BB4_49 Depth 2
## Child Loop BB4_53 Depth 2
movl -1224(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -1224(%rbp)
cmpl $0, %eax
je LBB4_60
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.1(%rip), %rdi
movq _V@GOTPCREL(%rip), %rsi
movq _E@GOTPCREL(%rip), %rdx
leaq -1228(%rbp), %rcx
movb $0, %al
callq _scanf
leaq L_.str.1(%rip), %rdi
leaq -1232(%rbp), %rsi
leaq -1236(%rbp), %rdx
leaq -1240(%rbp), %rcx
movb $0, %al
callq _scanf
movq _cnt@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $8004, %edx ## imm = 0x1F44
callq _memset
movl $0, -1244(%rbp)
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
movq _E@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB4_12
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
leaq L_.str.1(%rip), %rdi
leaq -1256(%rbp), %rsi
leaq -1260(%rbp), %rdx
leaq -1264(%rbp), %rcx
movb $0, %al
callq _scanf
movl -1256(%rbp), %eax
cmpl -1236(%rbp), %eax
jne LBB4_7
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
movl -1260(%rbp), %eax
cmpl -1240(%rbp), %eax
jne LBB4_7
## %bb.6: ## in Loop: Header=BB4_3 Depth=2
movl -1264(%rbp), %eax
movl %eax, -1252(%rbp)
LBB4_7: ## in Loop: Header=BB4_3 Depth=2
movl -1256(%rbp), %eax
cmpl -1240(%rbp), %eax
jne LBB4_10
## %bb.8: ## in Loop: Header=BB4_3 Depth=2
movl -1260(%rbp), %eax
cmpl -1236(%rbp), %eax
jne LBB4_10
## %bb.9: ## in Loop: Header=BB4_3 Depth=2
movl -1264(%rbp), %eax
movl %eax, -1252(%rbp)
LBB4_10: ## in Loop: Header=BB4_3 Depth=2
movl -1244(%rbp), %eax
shll $1, %eax
movslq %eax, %rcx
movq _l@GOTPCREL(%rip), %rax
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl -1256(%rbp), %ecx
movl %ecx, -1280(%rbp)
movl -1260(%rbp), %ecx
movl %ecx, -1276(%rbp)
movl -1264(%rbp), %ecx
movl %ecx, -1272(%rbp)
movq -1280(%rbp), %rcx
movq %rcx, (%rax)
movl -1272(%rbp), %ecx
movl %ecx, 8(%rax)
movl -1244(%rbp), %eax
shll $1, %eax
addl $1, %eax
movslq %eax, %rcx
movq _l@GOTPCREL(%rip), %rax
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl -1260(%rbp), %ecx
movl %ecx, -1296(%rbp)
movl -1256(%rbp), %ecx
movl %ecx, -1292(%rbp)
movl -1264(%rbp), %ecx
movl %ecx, -1288(%rbp)
movq -1296(%rbp), %rcx
movq %rcx, (%rax)
movl -1288(%rbp), %ecx
movl %ecx, 8(%rax)
movslq -1256(%rbp), %rcx
movq _cnt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _cnt@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movslq -1260(%rbp), %rcx
movq _cnt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _cnt@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.11: ## in Loop: Header=BB4_3 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_3
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_13: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
movq _V@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB4_16
## %bb.14: ## in Loop: Header=BB4_13 Depth=2
movslq -1244(%rbp), %rcx
movq _cnt@GOTPCREL(%rip), %rax
movslq (%rax,%rcx,4), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rdx
movslq -1244(%rbp), %rcx
movq _edge@GOTPCREL(%rip), %rax
movq %rdx, (%rax,%rcx,8)
movslq -1244(%rbp), %rcx
movq _cnt@GOTPCREL(%rip), %rax
movl $0, (%rax,%rcx,4)
## %bb.15: ## in Loop: Header=BB4_13 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_13
LBB4_16: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_17: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
movq _E@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
shll $1, %ecx
cmpl %ecx, %eax
jge LBB4_20
## %bb.18: ## in Loop: Header=BB4_17 Depth=2
movslq -1244(%rbp), %rcx
movq _l@GOTPCREL(%rip), %rax
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -1300(%rbp)
movslq -1300(%rbp), %rcx
movq _edge@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movslq -1300(%rbp), %rdx
movq _cnt@GOTPCREL(%rip), %rcx
movslq (%rcx,%rdx,4), %rcx
movslq -1244(%rbp), %rsi
movq _l@GOTPCREL(%rip), %rdx
imulq $12, %rsi, %rsi
addq %rsi, %rdx
movl 4(%rdx), %edx
movl %edx, -1312(%rbp)
movslq -1244(%rbp), %rsi
movq _l@GOTPCREL(%rip), %rdx
imulq $12, %rsi, %rsi
addq %rsi, %rdx
movl 8(%rdx), %edx
movl %edx, -1308(%rbp)
movq -1312(%rbp), %rdx
movq %rdx, (%rax,%rcx,8)
movslq -1300(%rbp), %rcx
movq _cnt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _cnt@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.19: ## in Loop: Header=BB4_17 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_17
LBB4_20: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_21: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_24
## %bb.22: ## in Loop: Header=BB4_21 Depth=2
movslq -1244(%rbp), %rax
movq _des@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.23: ## in Loop: Header=BB4_21 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_21
LBB4_24: ## in Loop: Header=BB4_1 Depth=1
movslq -1228(%rbp), %rsi
movq _des@GOTPCREL(%rip), %rdi
movl $4, %edx
leaq _comp(%rip), %rcx
callq _qsort
movl -1232(%rbp), %edi
movl -1236(%rbp), %esi
callq _dijest
movl %eax, -1216(%rbp)
movl $1, -1244(%rbp)
LBB4_25: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_28
## %bb.26: ## in Loop: Header=BB4_25 Depth=2
movslq -1236(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movslq -1244(%rbp), %rax
movl %ecx, -1216(%rbp,%rax,4)
## %bb.27: ## in Loop: Header=BB4_25 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_25
LBB4_28: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_29: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_32
## %bb.30: ## in Loop: Header=BB4_29 Depth=2
movslq -1240(%rbp), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movslq -1244(%rbp), %rax
movl %ecx, -816(%rbp,%rax,4)
## %bb.31: ## in Loop: Header=BB4_29 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_29
LBB4_32: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_33: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_36
## %bb.34: ## in Loop: Header=BB4_33 Depth=2
movslq -1244(%rbp), %rcx
movq _des@GOTPCREL(%rip), %rax
movslq (%rax,%rcx,4), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movslq -1244(%rbp), %rax
movl %ecx, -416(%rbp,%rax,4)
## %bb.35: ## in Loop: Header=BB4_33 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_33
LBB4_36: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_37: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_40
## %bb.38: ## in Loop: Header=BB4_37 Depth=2
movl -1252(%rbp), %ecx
movslq -1244(%rbp), %rax
addl -1216(%rbp,%rax,4), %ecx
movl %ecx, -1216(%rbp,%rax,4)
## %bb.39: ## in Loop: Header=BB4_37 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_37
LBB4_40: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_41: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_44
## %bb.42: ## in Loop: Header=BB4_41 Depth=2
movl -1252(%rbp), %ecx
movslq -1244(%rbp), %rax
addl -816(%rbp,%rax,4), %ecx
movl %ecx, -816(%rbp,%rax,4)
## %bb.43: ## in Loop: Header=BB4_41 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_41
LBB4_44: ## in Loop: Header=BB4_1 Depth=1
movl -1240(%rbp), %edi
movq _des@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _dijest
addl -1216(%rbp), %eax
movl %eax, -1216(%rbp)
movl $1, -1244(%rbp)
LBB4_45: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_48
## %bb.46: ## in Loop: Header=BB4_45 Depth=2
movslq -1244(%rbp), %rcx
movq _des@GOTPCREL(%rip), %rax
movslq (%rax,%rcx,4), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movslq -1244(%rbp), %rax
addl -1216(%rbp,%rax,4), %ecx
movl %ecx, -1216(%rbp,%rax,4)
## %bb.47: ## in Loop: Header=BB4_45 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_45
LBB4_48: ## in Loop: Header=BB4_1 Depth=1
movl -1236(%rbp), %edi
movq _des@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _dijest
addl -816(%rbp), %eax
movl %eax, -816(%rbp)
movl $1, -1244(%rbp)
LBB4_49: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_52
## %bb.50: ## in Loop: Header=BB4_49 Depth=2
movslq -1244(%rbp), %rcx
movq _des@GOTPCREL(%rip), %rax
movslq (%rax,%rcx,4), %rcx
movq _dist@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movslq -1244(%rbp), %rax
addl -816(%rbp,%rax,4), %ecx
movl %ecx, -816(%rbp,%rax,4)
## %bb.51: ## in Loop: Header=BB4_49 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_49
LBB4_52: ## in Loop: Header=BB4_1 Depth=1
movl $0, -1244(%rbp)
LBB4_53: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -1244(%rbp), %eax
cmpl -1228(%rbp), %eax
jge LBB4_59
## %bb.54: ## in Loop: Header=BB4_53 Depth=2
movslq -1244(%rbp), %rax
movl -1216(%rbp,%rax,4), %eax
movslq -1244(%rbp), %rcx
cmpl -416(%rbp,%rcx,4), %eax
je LBB4_56
## %bb.55: ## in Loop: Header=BB4_53 Depth=2
movslq -1244(%rbp), %rax
movl -816(%rbp,%rax,4), %eax
movslq -1244(%rbp), %rcx
cmpl -416(%rbp,%rcx,4), %eax
jne LBB4_57
LBB4_56: ## in Loop: Header=BB4_53 Depth=2
movslq -1244(%rbp), %rcx
movq _des@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB4_57: ## in Loop: Header=BB4_53 Depth=2
jmp LBB4_58
LBB4_58: ## in Loop: Header=BB4_53 Depth=2
movl -1244(%rbp), %eax
addl $1, %eax
movl %eax, -1244(%rbp)
jmp LBB4_53
LBB4_59: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_1
LBB4_60:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_62
## %bb.61:
xorl %eax, %eax
addq $1312, %rsp ## imm = 0x520
popq %rbp
retq
LBB4_62:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _heap_size,4,2 ## @heap_size
.comm _heap,240000,4 ## @heap
.comm _V,4,2 ## @V
.comm _dist,8004,4 ## @dist
.comm _cnt,8004,4 ## @cnt
.comm _edge,16008,4 ## @edge
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d %d"
.comm _E,4,2 ## @E
.comm _l,1200024,4 ## @l
.comm _des,400,4 ## @des
L_.str.2: ## @.str.2
.asciz "%d "
L_.str.3: ## @.str.3
.asciz "\n"
.comm _K,4,2 ## @K
.subsections_via_symbols
| the_stack_data/531466.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NewSquareMtx ; -- Begin function NewSquareMtx
.p2align 2
_NewSquareMtx: ; @NewSquareMtx
.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]
str x2, [sp, #16]
mov x0, #24
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_1
LBB0_1:
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9]
ldur w8, [x29, #-12]
ldur w9, [x29, #-12]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x0, x8, #3
bl _malloc
ldr x8, [sp, #8]
str x0, [x8, #8]
ldursw x8, [x29, #-12]
lsl x0, x8, #3
bl _malloc
ldr x8, [sp, #8]
str x0, [x8, #16]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2:
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_3
LBB0_3:
str wzr, [sp, #4]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldur w9, [x29, #-12]
ldr w10, [sp, #4]
mul w9, w9, w10
add x8, x8, w9, sxtw #3
ldr x9, [sp, #8]
ldr x9, [x9, #16]
ldrsw x10, [sp, #4]
str x8, [x9, x10, lsl #3]
ldr x8, [sp, #24]
ldr x9, [sp, #8]
ldr x9, [x9, #16]
ldrsw x10, [sp, #4]
ldr x0, [x9, x10, lsl #3]
ldr w1, [sp, #4]
ldur w2, [x29, #-12]
ldr x3, [sp, #16]
blr x8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_4
LBB0_7:
b LBB0_9
LBB0_8:
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _free
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free
ldr x0, [sp, #8]
bl _free
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_12
LBB0_9:
b LBB0_11
LBB0_10:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_11
LBB0_11:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB0_12
LBB0_12:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ffMatxSquare ; -- Begin function ffMatxSquare
.p2align 2
_ffMatxSquare: ; @ffMatxSquare
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str w1, [sp, #36]
str w2, [sp, #32]
str x3, [sp, #24]
ldr x8, [sp, #24]
ldr x8, [x8, #16]
ldrsw x9, [sp, #36]
ldr x8, [x8, x9, lsl #3]
str x8, [sp]
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #20]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
movi d0, #0000000000000000
str d0, [sp, #8]
str wzr, [sp, #16]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp]
ldrsw x9, [sp, #16]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #24]
ldr x8, [x8, #16]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #20]
ldr d1, [x8, x9, lsl #3]
ldr d2, [sp, #8]
fmadd d0, d0, d1, d2
str d0, [sp, #8]
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
ldr d0, [sp, #8]
ldr x8, [sp, #40]
ldrsw x9, [sp, #20]
str d0, [x8, x9, lsl #3]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_8:
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ffMatxMulply ; -- Begin function ffMatxMulply
.p2align 2
_ffMatxMulply: ; @ffMatxMulply
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #56]
str w1, [sp, #52]
str w2, [sp, #48]
str x3, [sp, #40]
ldr x8, [sp, #40]
ldr x8, [x8]
str x8, [sp, #32]
ldr x8, [sp, #40]
ldr x8, [x8, #8]
str x8, [sp, #24]
ldr x8, [sp, #32]
ldr x8, [x8, #16]
ldrsw x9, [sp, #52]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
str wzr, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr w8, [sp, #4]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
movi d0, #0000000000000000
str d0, [sp, #16]
str wzr, [sp]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp]
ldr w9, [sp, #48]
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 x8, [sp, #8]
ldrsw x9, [sp]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #24]
ldr x8, [x8, #16]
ldrsw x9, [sp]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr d1, [x8, x9, lsl #3]
ldr d2, [sp, #16]
fmadd d0, d0, d1, d2
str d0, [sp, #16]
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB2_3
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr d0, [sp, #16]
ldr x8, [sp, #56]
ldrsw x9, [sp, #4]
str d0, [x8, x9, lsl #3]
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_8:
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _MatxMul ; -- Begin function MatxMul
.p2align 2
_MatxMul: ; @MatxMul
.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 x0, [sp, #32]
str x1, [sp, #24]
str x2, [sp, #16]
ldr x8, [sp, #24]
stur x8, [x29, #-24]
ldr x8, [sp, #16]
stur x8, [x29, #-16]
str wzr, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr x9, [sp, #24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #16]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
ldr w1, [sp, #12]
ldr x8, [sp, #24]
ldr w2, [x8]
sub x3, x29, #24
bl _ffMatxMulply
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_1
LBB3_4:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
bl ___stack_chk_fail
LBB3_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _ffIdentity ; -- Begin function ffIdentity
.p2align 2
_ffIdentity: ; @ffIdentity
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
str x3, [sp, #8]
str wzr, [sp, #4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #4]
movi d0, #0000000000000000
str d0, [x8, x9, lsl #3]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB4_1
LBB4_4:
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
fmov d0, #1.00000000
str d0, [x8, x9, lsl #3]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ffCopy ; -- Begin function ffCopy
.p2align 2
_ffCopy: ; @ffCopy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
str x3, [sp, #8]
str wzr, [sp, #4]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #24]
ldrsw x9, [sp, #4]
str d0, [x8, x9, lsl #3]
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB5_1
LBB5_4:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _FreeSquareMtx ; -- Begin function FreeSquareMtx
.p2align 2
_FreeSquareMtx: ; @FreeSquareMtx
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _free
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free
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 _SquareMtxPow ; -- Begin function SquareMtxPow
.p2align 2
_SquareMtxPow: ; @SquareMtxPow
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-32]
stur w1, [x29, #-36]
ldur x8, [x29, #-32]
ldr w0, [x8]
adrp x1, _ffIdentity@PAGE
add x1, x1, _ffIdentity@PAGEOFF
mov x2, #0
bl _NewSquareMtx
str x0, [sp, #48]
str xzr, [sp, #40]
ldur x8, [x29, #-32]
ldr w0, [x8]
ldur x2, [x29, #-32]
adrp x1, _ffCopy@PAGE
add x1, x1, _ffCopy@PAGEOFF
bl _NewSquareMtx
str x0, [sp, #32]
str xzr, [sp, #24]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_11
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur w8, [x29, #-36]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_7
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #40]
ldr x1, [sp, #48]
ldr x2, [sp, #32]
bl _MatxMul
b LBB7_6
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #48]
sub x2, x29, #24
stur x8, [x29, #-24]
ldr x8, [sp, #32]
stur x8, [x29, #-16]
ldur x8, [x29, #-32]
ldr w0, [x8]
adrp x1, _ffMatxMulply@PAGE
add x1, x1, _ffMatxMulply@PAGEOFF
bl _NewSquareMtx
str x0, [sp, #40]
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #48]
str x8, [sp, #16]
ldr x8, [sp, #40]
str x8, [sp, #48]
ldr x8, [sp, #16]
str x8, [sp, #40]
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_9
b LBB7_8
LBB7_8: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #24]
ldr x1, [sp, #32]
ldr x2, [sp, #32]
bl _MatxMul
b LBB7_10
LBB7_9: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-32]
ldr w0, [x8]
ldr x2, [sp, #32]
adrp x1, _ffMatxSquare@PAGE
add x1, x1, _ffMatxSquare@PAGEOFF
bl _NewSquareMtx
str x0, [sp, #24]
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #32]
str x8, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp, #32]
ldr x8, [sp, #16]
str x8, [sp, #24]
ldur w8, [x29, #-36]
mov w9, #2
sdiv w8, w8, w9
stur w8, [x29, #-36]
b LBB7_1
LBB7_11:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_13
b LBB7_12
LBB7_12:
ldr x0, [sp, #32]
bl _FreeSquareMtx
b LBB7_13
LBB7_13:
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_15
b LBB7_14
LBB7_14:
ldr x0, [sp, #24]
bl _FreeSquareMtx
b LBB7_15
LBB7_15:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_17
b LBB7_16
LBB7_16:
ldr x0, [sp, #40]
bl _FreeSquareMtx
b LBB7_17
LBB7_17:
ldr x8, [sp, #48]
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, LBB7_19
b LBB7_18
LBB7_18:
bl ___stack_chk_fail
LBB7_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
.globl _SquareMtxPrint ; -- Begin function SquareMtxPrint
.p2align 2
_SquareMtxPrint: ; @SquareMtxPrint
.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, _fout@GOTPAGE
ldr x8, [x8, _fout@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x9, [x29, #-8]
ldr w9, [x9]
stur w9, [x29, #-28]
ldr x0, [x8]
ldur x10, [x29, #-16]
ldur x8, [x29, #-8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
stur wzr, [x29, #-20]
b LBB8_1
LBB8_1: ; =>This Loop Header: Depth=1
; Child Loop BB8_3 Depth 2
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_8
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
stur wzr, [x29, #-24]
b LBB8_3
LBB8_3: ; Parent Loop BB8_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_6
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-24]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB8_3
LBB8_6: ; in Loop: Header=BB8_1 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB8_1
LBB8_8:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function fillInit
lCPI9_0:
.quad 0x3fe0c152382daf40 ; double 0.52359877560000001
.section __TEXT,__text,regular,pure_instructions
.globl _fillInit
.p2align 2
_fillInit: ; @fillInit
.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 w2, [x29, #-16]
stur x3, [x29, #-24]
adrp x8, lCPI9_0@PAGE
ldr d0, [x8, lCPI9_0@PAGEOFF]
str d0, [sp, #32]
ldr d0, [sp, #32]
bl _cos
str d0, [sp, #24]
ldr d0, [sp, #32]
bl _sin
str d0, [sp, #16]
ldur w8, [x29, #-12]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB9_3
b LBB9_1
LBB9_1:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_6
LBB9_3:
ldr d0, [sp, #24]
ldur x8, [x29, #-8]
str d0, [x8]
ldr d0, [sp, #16]
ldur x8, [x29, #-8]
str d0, [x8, #8]
ldur x8, [x29, #-8]
movi d0, #0000000000000000
str d0, [x8, #16]
b LBB9_6
LBB9_4:
ldr d0, [sp, #16]
fneg d0, d0
ldur x8, [x29, #-8]
str d0, [x8]
ldr d0, [sp, #24]
ldur x8, [x29, #-8]
str d0, [x8, #8]
ldur x8, [x29, #-8]
movi d0, #0000000000000000
str d0, [x8, #16]
b LBB9_6
LBB9_5:
ldur x8, [x29, #-8]
movi d0, #0000000000000000
str d0, [x8]
ldur x8, [x29, #-8]
str d0, [x8, #8]
ldur x8, [x29, #-8]
fmov d0, #1.00000000
str d0, [x8, #16]
b LBB9_6
LBB9_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #3
adrp x1, _fillInit@PAGE
add x1, x1, _fillInit@PAGEOFF
mov x2, #0
bl _NewSquareMtx
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
mov w1, #5
bl _SquareMtxPow
stur x0, [x29, #-24]
ldur x0, [x29, #-16]
mov w1, #9
bl _SquareMtxPow
str x0, [sp, #32]
ldur x0, [x29, #-16]
mov w1, #2
bl _SquareMtxPow
str x0, [sp, #24]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fopen
adrp x8, _fout@GOTPAGE
ldr x8, [x8, _fout@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str x0, [x8]
ldur x0, [x29, #-16]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _SquareMtxPrint
ldur x0, [x29, #-16]
bl _FreeSquareMtx
ldur x0, [x29, #-24]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _SquareMtxPrint
ldur x0, [x29, #-24]
bl _FreeSquareMtx
ldr x0, [sp, #32]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _SquareMtxPrint
ldr x0, [sp, #32]
bl _FreeSquareMtx
ldr x0, [sp, #24]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _SquareMtxPrint
ldr x0, [sp, #24]
bl _FreeSquareMtx
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fclose
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Square Matrix allocation failure\n"
l_.str.1: ; @.str.1
.asciz "Malloc failed for square matrix\n"
.comm _fout,8,3 ; @fout
l_.str.2: ; @.str.2
.asciz "%s dim:%d =\n"
l_.str.3: ; @.str.3
.asciz " |"
l_.str.4: ; @.str.4
.asciz "%8.5f "
l_.str.5: ; @.str.5
.asciz " |\n"
l_.str.6: ; @.str.6
.asciz "\n"
l_.str.7: ; @.str.7
.asciz "matrx_exp.txt"
l_.str.8: ; @.str.8
.asciz "w"
l_.str.9: ; @.str.9
.asciz "m0"
l_.str.10: ; @.str.10
.asciz "m0^5"
l_.str.11: ; @.str.11
.asciz "m0^9"
l_.str.12: ; @.str.12
.asciz "m0^2"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NewSquareMtx ## -- Begin function NewSquareMtx
.p2align 4, 0x90
_NewSquareMtx: ## @NewSquareMtx
.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)
movq %rdx, -32(%rbp)
movl $24, %edi
callq _malloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je LBB0_10
## %bb.1:
movl -12(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movl -12(%rbp), %eax
imull -12(%rbp), %eax
movslq %eax, %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
movslq -12(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, 16(%rax)
movq -40(%rbp), %rax
cmpq $0, 8(%rax)
je LBB0_8
## %bb.2:
movq -40(%rbp), %rax
cmpq $0, 16(%rax)
je LBB0_8
## %bb.3:
movl $0, -44(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -40(%rbp), %rax
movq 8(%rax), %rdx
movl -12(%rbp), %eax
imull -44(%rbp), %eax
cltq
shlq $3, %rax
addq %rax, %rdx
movq -40(%rbp), %rax
movq 16(%rax), %rax
movslq -44(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -24(%rbp), %rax
movq -40(%rbp), %rcx
movq 16(%rcx), %rcx
movslq -44(%rbp), %rdx
movq (%rcx,%rdx,8), %rdi
movl -44(%rbp), %esi
movl -12(%rbp), %edx
movq -32(%rbp), %rcx
callq *%rax
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_4
LBB0_7:
jmp LBB0_9
LBB0_8:
movq -40(%rbp), %rax
movq 16(%rax), %rdi
callq _free
movq -40(%rbp), %rax
movq 8(%rax), %rdi
callq _free
movq -40(%rbp), %rdi
callq _free
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq $0, -8(%rbp)
jmp LBB0_12
LBB0_9:
jmp LBB0_11
LBB0_10:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11:
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_12:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffMatxSquare ## -- Begin function ffMatxSquare
.p2align 4, 0x90
_ffMatxSquare: ## @ffMatxSquare
.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 %rcx, -24(%rbp)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -48(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -28(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
xorps %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
movl $0, -32(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -32(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -48(%rbp), %rax
movslq -32(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movq 16(%rax), %rax
movslq -32(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -28(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp)
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffMatxMulply ## -- Begin function ffMatxMulply
.p2align 4, 0x90
_ffMatxMulply: ## @ffMatxMulply
.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 %rcx, -24(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movq 16(%rax), %rax
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -56(%rbp)
movl $0, -60(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movl -60(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
xorps %xmm0, %xmm0
movsd %xmm0, -48(%rbp)
movl $0, -64(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -64(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -56(%rbp), %rax
movslq -64(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
movq 16(%rax), %rax
movslq -64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movsd -48(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp)
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB2_3
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movslq -60(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB2_1
LBB2_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _MatxMul ## -- Begin function MatxMul
.p2align 4, 0x90
_MatxMul: ## @MatxMul
.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)
movq %rdi, -40(%rbp)
movq %rsi, -48(%rbp)
movq %rdx, -56(%rbp)
movq -48(%rbp), %rax
movq %rax, -32(%rbp)
movq -56(%rbp), %rax
movq %rax, -24(%rbp)
movl $0, -60(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -60(%rbp), %eax
movq -48(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -40(%rbp), %rax
movq 16(%rax), %rax
movslq -60(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movl -60(%rbp), %esi
movq -48(%rbp), %rax
movl (%rax), %edx
leaq -32(%rbp), %rcx
callq _ffMatxMulply
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB3_1
LBB3_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_6
## %bb.5:
addq $64, %rsp
popq %rbp
retq
LBB3_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function ffIdentity
LCPI4_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _ffIdentity
.p2align 4, 0x90
_ffIdentity: ## @ffIdentity
.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 %rcx, -24(%rbp)
movl $0, -28(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB4_1
LBB4_4:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ffCopy ## -- Begin function ffCopy
.p2align 4, 0x90
_ffCopy: ## @ffCopy
.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 %rcx, -24(%rbp)
movl $0, -28(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -24(%rbp), %rax
movq 16(%rax), %rax
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -28(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB5_1
LBB5_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _FreeSquareMtx ## -- Begin function FreeSquareMtx
.p2align 4, 0x90
_FreeSquareMtx: ## @FreeSquareMtx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _free
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _SquareMtxPow ## -- Begin function SquareMtxPow
.p2align 4, 0x90
_SquareMtxPow: ## @SquareMtxPow
.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, -40(%rbp)
movl %esi, -44(%rbp)
movq -40(%rbp), %rax
movl (%rax), %edi
leaq _ffIdentity(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _NewSquareMtx
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
movq -40(%rbp), %rax
movl (%rax), %edi
movq -40(%rbp), %rdx
leaq _ffCopy(%rip), %rsi
callq _NewSquareMtx
movq %rax, -72(%rbp)
movq $0, -80(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -44(%rbp)
je LBB7_11
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movl -44(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB7_7
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
cmpq $0, -64(%rbp)
je LBB7_5
## %bb.4: ## in Loop: Header=BB7_1 Depth=1
movq -64(%rbp), %rdi
movq -56(%rbp), %rsi
movq -72(%rbp), %rdx
callq _MatxMul
jmp LBB7_6
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
movq -56(%rbp), %rax
movq %rax, -32(%rbp)
movq -72(%rbp), %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movl (%rax), %edi
leaq -32(%rbp), %rdx
leaq _ffMatxMulply(%rip), %rsi
callq _NewSquareMtx
movq %rax, -64(%rbp)
LBB7_6: ## in Loop: Header=BB7_1 Depth=1
movq -56(%rbp), %rax
movq %rax, -88(%rbp)
movq -64(%rbp), %rax
movq %rax, -56(%rbp)
movq -88(%rbp), %rax
movq %rax, -64(%rbp)
LBB7_7: ## in Loop: Header=BB7_1 Depth=1
cmpq $0, -80(%rbp)
je LBB7_9
## %bb.8: ## in Loop: Header=BB7_1 Depth=1
movq -80(%rbp), %rdi
movq -72(%rbp), %rsi
movq -72(%rbp), %rdx
callq _MatxMul
jmp LBB7_10
LBB7_9: ## in Loop: Header=BB7_1 Depth=1
movq -40(%rbp), %rax
movl (%rax), %edi
movq -72(%rbp), %rdx
leaq _ffMatxSquare(%rip), %rsi
callq _NewSquareMtx
movq %rax, -80(%rbp)
LBB7_10: ## in Loop: Header=BB7_1 Depth=1
movq -72(%rbp), %rax
movq %rax, -88(%rbp)
movq -80(%rbp), %rax
movq %rax, -72(%rbp)
movq -88(%rbp), %rax
movq %rax, -80(%rbp)
movl -44(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -44(%rbp)
jmp LBB7_1
LBB7_11:
cmpq $0, -72(%rbp)
je LBB7_13
## %bb.12:
movq -72(%rbp), %rdi
callq _FreeSquareMtx
LBB7_13:
cmpq $0, -80(%rbp)
je LBB7_15
## %bb.14:
movq -80(%rbp), %rdi
callq _FreeSquareMtx
LBB7_15:
cmpq $0, -64(%rbp)
je LBB7_17
## %bb.16:
movq -64(%rbp), %rdi
callq _FreeSquareMtx
LBB7_17:
movq -56(%rbp), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_19
## %bb.18:
movq -96(%rbp), %rax ## 8-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB7_19:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _SquareMtxPrint ## -- Begin function SquareMtxPrint
.p2align 4, 0x90
_SquareMtxPrint: ## @SquareMtxPrint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq _fout@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
movq -8(%rbp), %rax
movl (%rax), %ecx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -20(%rbp)
LBB8_1: ## =>This Loop Header: Depth=1
## Child Loop BB8_3 Depth 2
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB8_8
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movq _fout@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -24(%rbp)
LBB8_3: ## Parent Loop BB8_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB8_6
## %bb.4: ## in Loop: Header=BB8_3 Depth=2
movq _fout@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.4(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.5: ## in Loop: Header=BB8_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB8_3
LBB8_6: ## in Loop: Header=BB8_1 Depth=1
movq _fout@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.7: ## in Loop: Header=BB8_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB8_1
LBB8_8:
movq _fout@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function fillInit
LCPI9_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _fillInit
.p2align 4, 0x90
_fillInit: ## @fillInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq %rcx, -24(%rbp)
movabsq $4602891378046644032, %rax ## imm = 0x3FE0C152382DAF40
movq %rax, -32(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cos
movsd %xmm0, -40(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sin
movsd %xmm0, -48(%rbp)
movl -12(%rbp), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB9_1
jmp LBB9_5
LBB9_5:
movl -52(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB9_2
jmp LBB9_6
LBB9_6:
movl -52(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB9_3
jmp LBB9_4
LBB9_1:
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movsd %xmm0, (%rax)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movsd %xmm0, 8(%rax)
movq -8(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 16(%rax)
jmp LBB9_4
LBB9_2:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq -8(%rbp), %rax
movsd %xmm0, (%rax)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movsd %xmm0, 8(%rax)
movq -8(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 16(%rax)
jmp LBB9_4
LBB9_3:
movq -8(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq -8(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movq -8(%rbp), %rax
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 16(%rax)
LBB9_4:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $3, %edi
leaq _fillInit(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _NewSquareMtx
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movl $5, %esi
callq _SquareMtxPow
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
movl $9, %esi
callq _SquareMtxPow
movq %rax, -32(%rbp)
movq -16(%rbp), %rdi
movl $2, %esi
callq _SquareMtxPow
movq %rax, -40(%rbp)
leaq L_.str.7(%rip), %rdi
leaq L_.str.8(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _fout@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
callq _SquareMtxPrint
movq -16(%rbp), %rdi
callq _FreeSquareMtx
movq -24(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq _SquareMtxPrint
movq -24(%rbp), %rdi
callq _FreeSquareMtx
movq -32(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
callq _SquareMtxPrint
movq -32(%rbp), %rdi
callq _FreeSquareMtx
movq -40(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
callq _SquareMtxPrint
movq -40(%rbp), %rdi
callq _FreeSquareMtx
movq _fout@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Square Matrix allocation failure\n"
L_.str.1: ## @.str.1
.asciz "Malloc failed for square matrix\n"
.comm _fout,8,3 ## @fout
L_.str.2: ## @.str.2
.asciz "%s dim:%d =\n"
L_.str.3: ## @.str.3
.asciz " |"
L_.str.4: ## @.str.4
.asciz "%8.5f "
L_.str.5: ## @.str.5
.asciz " |\n"
L_.str.6: ## @.str.6
.asciz "\n"
L_.str.7: ## @.str.7
.asciz "matrx_exp.txt"
L_.str.8: ## @.str.8
.asciz "w"
L_.str.9: ## @.str.9
.asciz "m0"
L_.str.10: ## @.str.10
.asciz "m0^5"
L_.str.11: ## @.str.11
.asciz "m0^9"
L_.str.12: ## @.str.12
.asciz "m0^2"
.subsections_via_symbols
| the_stack_data/90766507.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strrchr ; -- Begin function strrchr
.p2align 2
_strrchr: ; @strrchr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
str x8, [sp, #8]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_1
LBB0_5:
ldr x0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strrchr ## -- Begin function strrchr
.p2align 4, 0x90
_strrchr: ## @strrchr
.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)
movq $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl -12(%rbp), %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB0_1
LBB0_5:
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/243893020.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-24]
stur w0, [x29, #-28]
str x1, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _getenv
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x0, [sp, #8]
bl _strlen
mov x8, x0
str w8, [sp, #20]
b LBB0_3
LBB0_2:
str wzr, [sp, #20]
b LBB0_3
LBB0_3:
ldr w8, [sp, #20]
mov w9, #4105
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
stur wzr, [x29, #-24]
b LBB0_6
LBB0_5:
ldrsw x9, [sp, #20]
sub x8, x29, #18
add x9, x8, x9
mov w8, #65
strb w8, [x9]
stur wzr, [x29, #-24]
b LBB0_6
LBB0_6:
ldur w8, [x29, #-24]
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, LBB0_8
b LBB0_7
LBB0_7:
bl ___stack_chk_fail
LBB0_8:
ldr w0, [sp, #4] ; 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 "STRINGLEN_LARGE"
.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, -24(%rbp)
movl %edi, -28(%rbp)
movq %rsi, -40(%rbp)
leaq L_.str(%rip), %rdi
callq _getenv
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
je LBB0_2
## %bb.1:
movq -56(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -44(%rbp)
jmp LBB0_3
LBB0_2:
movl $0, -44(%rbp)
LBB0_3:
cmpl $4105, -44(%rbp) ## imm = 0x1009
jle LBB0_5
## %bb.4:
movl $0, -24(%rbp)
jmp LBB0_6
LBB0_5:
movslq -44(%rbp), %rax
movb $65, -18(%rbp,%rax)
movl $0, -24(%rbp)
LBB0_6:
movl -24(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_8
## %bb.7:
movl -60(%rbp), %eax ## 4-byte Reload
addq $64, %rsp
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "STRINGLEN_LARGE"
.subsections_via_symbols
| the_stack_data/90761834.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, #0
str wzr, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/184518291.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, #4] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #4] ; 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 "Fake program to build all the targets!!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
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 "Fake program to build all the targets!!"
.subsections_via_symbols
| the_stack_data/68886841.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 "/etc/mh/news"
.section __DATA,__data
.globl _mhnews ; @mhnews
.p2align 3
_mhnews:
.quad l_.str
.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 "/etc/mh/news"
.section __DATA,__data
.globl _mhnews ## @mhnews
.p2align 3
_mhnews:
.quad L_.str
.subsections_via_symbols
| the_stack_data/742094.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SHA1Transform ; -- Begin function SHA1Transform
.p2align 2
_SHA1Transform: ; @SHA1Transform
.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 w8, #31129
movk w8, #23170, lsl #16
str w8, [sp] ; 4-byte Folded Spill
mov w8, #60321
movk w8, #28377, lsl #16
str w8, [sp, #4] ; 4-byte Folded Spill
mov w8, #48348
movk w8, #36635, lsl #16
str w8, [sp, #8] ; 4-byte Folded Spill
mov w8, #49622
movk w8, #51810, lsl #16
str w8, [sp, #12] ; 4-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, #24]
str x1, [sp, #16]
ldr x1, [sp, #16]
add x0, sp, #32
mov x2, #64
bl _memcpy
ldr x8, [sp, #24]
ldr q0, [x8]
stur q0, [x29, #-32]
ldr w8, [x8, #16]
stur w8, [x29, #-16]
adrp x8, _SHA1Transform.one@PAGE
ldrb w9, [x8, _SHA1Transform.one@PAGEOFF]
mov w8, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w9, [sp] ; 4-byte Folded Reload
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w11, [sp, #32]
ldr w10, [sp, #32]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #32]
ldr w11, [sp, #32]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #32]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
ldur w11, [x29, #-24]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w11, [sp, #36]
ldr w10, [sp, #36]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #36]
ldr w11, [sp, #36]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #36]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
ldur w11, [x29, #-28]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w11, [sp, #40]
ldr w10, [sp, #40]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #40]
ldr w11, [sp, #40]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #40]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
ldur w11, [x29, #-32]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w11, [sp, #44]
ldr w10, [sp, #44]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #44]
ldr w11, [sp, #44]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #44]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
ldur w11, [x29, #-16]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w11, [sp, #48]
ldr w10, [sp, #48]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #48]
ldr w11, [sp, #48]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #48]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w11, [sp, #52]
ldr w10, [sp, #52]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #52]
ldr w11, [sp, #52]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #52]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
ldur w11, [x29, #-24]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w11, [sp, #56]
ldr w10, [sp, #56]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #56]
ldr w11, [sp, #56]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #56]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
ldur w11, [x29, #-28]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w11, [sp, #60]
ldr w10, [sp, #60]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #60]
ldr w11, [sp, #60]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #60]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
ldur w11, [x29, #-32]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w11, [sp, #64]
ldr w10, [sp, #64]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #64]
ldr w11, [sp, #64]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #64]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
ldur w11, [x29, #-16]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w11, [sp, #68]
ldr w10, [sp, #68]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #68]
ldr w11, [sp, #68]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #68]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w11, [sp, #72]
ldr w10, [sp, #72]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #72]
ldr w11, [sp, #72]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #72]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
ldur w11, [x29, #-24]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w11, [sp, #76]
ldr w10, [sp, #76]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #76]
ldr w11, [sp, #76]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #76]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
ldur w11, [x29, #-28]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w11, [sp, #80]
ldr w10, [sp, #80]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #80]
ldr w11, [sp, #80]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #80]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
ldur w11, [x29, #-32]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w11, [sp, #84]
ldr w10, [sp, #84]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #84]
ldr w11, [sp, #84]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #84]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
ldur w11, [x29, #-16]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w11, [sp, #88]
ldr w10, [sp, #88]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #88]
ldr w11, [sp, #88]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #88]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w11, [sp, #92]
ldr w10, [sp, #92]
lsr w10, w10, #8
orr w10, w10, w11, lsl #24
and w10, w10, #0xff00ff00
ldr w12, [sp, #92]
ldr w11, [sp, #92]
lsr w11, w11, #24
orr w11, w11, w12, lsl #8
and w11, w11, #0xff00ff
orr w10, w10, w11
str w10, [sp, #92]
add w8, w8, w10
add w8, w8, w9
ldur w10, [x29, #-32]
ldur w9, [x29, #-32]
lsr w9, w9, #27
orr w9, w9, w10, lsl #5
add w9, w8, w9
ldur w8, [x29, #-16]
add w8, w8, w9
stur w8, [x29, #-16]
ldur w9, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w9, lsl #30
stur w8, [x29, #-28]
b LBB0_3
LBB0_2:
ldr w9, [sp] ; 4-byte Folded Reload
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #32]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
ldur w11, [x29, #-24]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w10, [sp, #36]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
ldur w11, [x29, #-28]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w10, [sp, #40]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
ldur w11, [x29, #-32]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w10, [sp, #44]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
ldur w11, [x29, #-16]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w10, [sp, #48]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #52]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
ldur w11, [x29, #-24]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w10, [sp, #56]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
ldur w11, [x29, #-28]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w10, [sp, #60]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
ldur w11, [x29, #-32]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w10, [sp, #64]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
ldur w11, [x29, #-16]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w10, [sp, #68]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #72]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
ldur w11, [x29, #-24]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w10, [sp, #76]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
ldur w11, [x29, #-28]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w10, [sp, #80]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
ldur w11, [x29, #-32]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w10, [sp, #84]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
ldur w11, [x29, #-16]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w10, [sp, #88]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
eor w10, w10, w11
and w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #92]
add w8, w8, w10
add w8, w8, w9
ldur w10, [x29, #-32]
ldur w9, [x29, #-32]
lsr w9, w9, #27
orr w9, w9, w10, lsl #5
add w9, w8, w9
ldur w8, [x29, #-16]
add w8, w8, w9
stur w8, [x29, #-16]
ldur w9, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w9, lsl #30
stur w8, [x29, #-28]
b LBB0_3
LBB0_3:
ldr w9, [sp, #12] ; 4-byte Folded Reload
ldr w10, [sp, #8] ; 4-byte Folded Reload
ldr w11, [sp, #4] ; 4-byte Folded Reload
ldr w12, [sp] ; 4-byte Folded Reload
ldur w8, [x29, #-32]
ldur w13, [x29, #-28]
ldur w14, [x29, #-24]
eor w13, w13, w14
and w8, w8, w13
ldur w13, [x29, #-24]
eor w8, w8, w13
ldr w13, [sp, #84]
ldr w14, [sp, #64]
eor w13, w13, w14
ldr w14, [sp, #40]
eor w13, w13, w14
ldr w14, [sp, #32]
eor w14, w13, w14
ldr w13, [sp, #84]
ldr w15, [sp, #64]
eor w13, w13, w15
ldr w15, [sp, #40]
eor w13, w13, w15
ldr w15, [sp, #32]
eor w13, w13, w15
lsr w13, w13, #31
orr w13, w13, w14, lsl #1
str w13, [sp, #32]
add w8, w8, w13
add w8, w8, w12
ldur w14, [x29, #-16]
ldur w13, [x29, #-16]
lsr w13, w13, #27
orr w13, w13, w14, lsl #5
add w13, w8, w13
ldur w8, [x29, #-20]
add w8, w8, w13
stur w8, [x29, #-20]
ldur w13, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w13, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w13, [x29, #-32]
ldur w14, [x29, #-28]
eor w13, w13, w14
and w8, w8, w13
ldur w13, [x29, #-28]
eor w8, w8, w13
ldr w13, [sp, #88]
ldr w14, [sp, #68]
eor w13, w13, w14
ldr w14, [sp, #44]
eor w13, w13, w14
ldr w14, [sp, #36]
eor w14, w13, w14
ldr w13, [sp, #88]
ldr w15, [sp, #68]
eor w13, w13, w15
ldr w15, [sp, #44]
eor w13, w13, w15
ldr w15, [sp, #36]
eor w13, w13, w15
lsr w13, w13, #31
orr w13, w13, w14, lsl #1
str w13, [sp, #36]
add w8, w8, w13
add w8, w8, w12
ldur w14, [x29, #-20]
ldur w13, [x29, #-20]
lsr w13, w13, #27
orr w13, w13, w14, lsl #5
add w13, w8, w13
ldur w8, [x29, #-24]
add w8, w8, w13
stur w8, [x29, #-24]
ldur w13, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w13, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w13, [x29, #-16]
ldur w14, [x29, #-32]
eor w13, w13, w14
and w8, w8, w13
ldur w13, [x29, #-32]
eor w8, w8, w13
ldr w13, [sp, #92]
ldr w14, [sp, #72]
eor w13, w13, w14
ldr w14, [sp, #48]
eor w13, w13, w14
ldr w14, [sp, #40]
eor w14, w13, w14
ldr w13, [sp, #92]
ldr w15, [sp, #72]
eor w13, w13, w15
ldr w15, [sp, #48]
eor w13, w13, w15
ldr w15, [sp, #40]
eor w13, w13, w15
lsr w13, w13, #31
orr w13, w13, w14, lsl #1
str w13, [sp, #40]
add w8, w8, w13
add w8, w8, w12
ldur w14, [x29, #-24]
ldur w13, [x29, #-24]
lsr w13, w13, #27
orr w13, w13, w14, lsl #5
add w13, w8, w13
ldur w8, [x29, #-28]
add w8, w8, w13
stur w8, [x29, #-28]
ldur w13, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w13, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w13, [x29, #-20]
ldur w14, [x29, #-16]
eor w13, w13, w14
and w8, w8, w13
ldur w13, [x29, #-16]
eor w8, w8, w13
ldr w13, [sp, #32]
ldr w14, [sp, #76]
eor w13, w13, w14
ldr w14, [sp, #52]
eor w13, w13, w14
ldr w14, [sp, #44]
eor w14, w13, w14
ldr w13, [sp, #32]
ldr w15, [sp, #76]
eor w13, w13, w15
ldr w15, [sp, #52]
eor w13, w13, w15
ldr w15, [sp, #44]
eor w13, w13, w15
lsr w13, w13, #31
orr w13, w13, w14, lsl #1
str w13, [sp, #44]
add w8, w8, w13
add w8, w8, w12
ldur w13, [x29, #-28]
ldur w12, [x29, #-28]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-32]
add w8, w8, w12
stur w8, [x29, #-32]
ldur w12, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w12, [x29, #-24]
eor w8, w8, w12
ldur w12, [x29, #-20]
eor w8, w8, w12
ldr w12, [sp, #36]
ldr w13, [sp, #80]
eor w12, w12, w13
ldr w13, [sp, #56]
eor w12, w12, w13
ldr w13, [sp, #48]
eor w13, w12, w13
ldr w12, [sp, #36]
ldr w14, [sp, #80]
eor w12, w12, w14
ldr w14, [sp, #56]
eor w12, w12, w14
ldr w14, [sp, #48]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #48]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-32]
ldur w12, [x29, #-32]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-16]
add w8, w8, w12
stur w8, [x29, #-16]
ldur w12, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w12, [x29, #-28]
eor w8, w8, w12
ldur w12, [x29, #-24]
eor w8, w8, w12
ldr w12, [sp, #40]
ldr w13, [sp, #84]
eor w12, w12, w13
ldr w13, [sp, #60]
eor w12, w12, w13
ldr w13, [sp, #52]
eor w13, w12, w13
ldr w12, [sp, #40]
ldr w14, [sp, #84]
eor w12, w12, w14
ldr w14, [sp, #60]
eor w12, w12, w14
ldr w14, [sp, #52]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #52]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-16]
ldur w12, [x29, #-16]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-20]
add w8, w8, w12
stur w8, [x29, #-20]
ldur w12, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w12, [x29, #-32]
eor w8, w8, w12
ldur w12, [x29, #-28]
eor w8, w8, w12
ldr w12, [sp, #44]
ldr w13, [sp, #88]
eor w12, w12, w13
ldr w13, [sp, #64]
eor w12, w12, w13
ldr w13, [sp, #56]
eor w13, w12, w13
ldr w12, [sp, #44]
ldr w14, [sp, #88]
eor w12, w12, w14
ldr w14, [sp, #64]
eor w12, w12, w14
ldr w14, [sp, #56]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #56]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-20]
ldur w12, [x29, #-20]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-24]
add w8, w8, w12
stur w8, [x29, #-24]
ldur w12, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w12, [x29, #-16]
eor w8, w8, w12
ldur w12, [x29, #-32]
eor w8, w8, w12
ldr w12, [sp, #48]
ldr w13, [sp, #92]
eor w12, w12, w13
ldr w13, [sp, #68]
eor w12, w12, w13
ldr w13, [sp, #60]
eor w13, w12, w13
ldr w12, [sp, #48]
ldr w14, [sp, #92]
eor w12, w12, w14
ldr w14, [sp, #68]
eor w12, w12, w14
ldr w14, [sp, #60]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #60]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-24]
ldur w12, [x29, #-24]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-28]
add w8, w8, w12
stur w8, [x29, #-28]
ldur w12, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w12, [x29, #-20]
eor w8, w8, w12
ldur w12, [x29, #-16]
eor w8, w8, w12
ldr w12, [sp, #52]
ldr w13, [sp, #32]
eor w12, w12, w13
ldr w13, [sp, #72]
eor w12, w12, w13
ldr w13, [sp, #64]
eor w13, w12, w13
ldr w12, [sp, #52]
ldr w14, [sp, #32]
eor w12, w12, w14
ldr w14, [sp, #72]
eor w12, w12, w14
ldr w14, [sp, #64]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #64]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-28]
ldur w12, [x29, #-28]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-32]
add w8, w8, w12
stur w8, [x29, #-32]
ldur w12, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w12, [x29, #-24]
eor w8, w8, w12
ldur w12, [x29, #-20]
eor w8, w8, w12
ldr w12, [sp, #56]
ldr w13, [sp, #36]
eor w12, w12, w13
ldr w13, [sp, #76]
eor w12, w12, w13
ldr w13, [sp, #68]
eor w13, w12, w13
ldr w12, [sp, #56]
ldr w14, [sp, #36]
eor w12, w12, w14
ldr w14, [sp, #76]
eor w12, w12, w14
ldr w14, [sp, #68]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #68]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-32]
ldur w12, [x29, #-32]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-16]
add w8, w8, w12
stur w8, [x29, #-16]
ldur w12, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w12, [x29, #-28]
eor w8, w8, w12
ldur w12, [x29, #-24]
eor w8, w8, w12
ldr w12, [sp, #60]
ldr w13, [sp, #40]
eor w12, w12, w13
ldr w13, [sp, #80]
eor w12, w12, w13
ldr w13, [sp, #72]
eor w13, w12, w13
ldr w12, [sp, #60]
ldr w14, [sp, #40]
eor w12, w12, w14
ldr w14, [sp, #80]
eor w12, w12, w14
ldr w14, [sp, #72]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #72]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-16]
ldur w12, [x29, #-16]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-20]
add w8, w8, w12
stur w8, [x29, #-20]
ldur w12, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w12, [x29, #-32]
eor w8, w8, w12
ldur w12, [x29, #-28]
eor w8, w8, w12
ldr w12, [sp, #64]
ldr w13, [sp, #44]
eor w12, w12, w13
ldr w13, [sp, #84]
eor w12, w12, w13
ldr w13, [sp, #76]
eor w13, w12, w13
ldr w12, [sp, #64]
ldr w14, [sp, #44]
eor w12, w12, w14
ldr w14, [sp, #84]
eor w12, w12, w14
ldr w14, [sp, #76]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #76]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-20]
ldur w12, [x29, #-20]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-24]
add w8, w8, w12
stur w8, [x29, #-24]
ldur w12, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w12, [x29, #-16]
eor w8, w8, w12
ldur w12, [x29, #-32]
eor w8, w8, w12
ldr w12, [sp, #68]
ldr w13, [sp, #48]
eor w12, w12, w13
ldr w13, [sp, #88]
eor w12, w12, w13
ldr w13, [sp, #80]
eor w13, w12, w13
ldr w12, [sp, #68]
ldr w14, [sp, #48]
eor w12, w12, w14
ldr w14, [sp, #88]
eor w12, w12, w14
ldr w14, [sp, #80]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #80]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-24]
ldur w12, [x29, #-24]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-28]
add w8, w8, w12
stur w8, [x29, #-28]
ldur w12, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w12, [x29, #-20]
eor w8, w8, w12
ldur w12, [x29, #-16]
eor w8, w8, w12
ldr w12, [sp, #72]
ldr w13, [sp, #52]
eor w12, w12, w13
ldr w13, [sp, #92]
eor w12, w12, w13
ldr w13, [sp, #84]
eor w13, w12, w13
ldr w12, [sp, #72]
ldr w14, [sp, #52]
eor w12, w12, w14
ldr w14, [sp, #92]
eor w12, w12, w14
ldr w14, [sp, #84]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #84]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-28]
ldur w12, [x29, #-28]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-32]
add w8, w8, w12
stur w8, [x29, #-32]
ldur w12, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w12, [x29, #-24]
eor w8, w8, w12
ldur w12, [x29, #-20]
eor w8, w8, w12
ldr w12, [sp, #76]
ldr w13, [sp, #56]
eor w12, w12, w13
ldr w13, [sp, #32]
eor w12, w12, w13
ldr w13, [sp, #88]
eor w13, w12, w13
ldr w12, [sp, #76]
ldr w14, [sp, #56]
eor w12, w12, w14
ldr w14, [sp, #32]
eor w12, w12, w14
ldr w14, [sp, #88]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #88]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-32]
ldur w12, [x29, #-32]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-16]
add w8, w8, w12
stur w8, [x29, #-16]
ldur w12, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w12, [x29, #-28]
eor w8, w8, w12
ldur w12, [x29, #-24]
eor w8, w8, w12
ldr w12, [sp, #80]
ldr w13, [sp, #60]
eor w12, w12, w13
ldr w13, [sp, #36]
eor w12, w12, w13
ldr w13, [sp, #92]
eor w13, w12, w13
ldr w12, [sp, #80]
ldr w14, [sp, #60]
eor w12, w12, w14
ldr w14, [sp, #36]
eor w12, w12, w14
ldr w14, [sp, #92]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #92]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-16]
ldur w12, [x29, #-16]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-20]
add w8, w8, w12
stur w8, [x29, #-20]
ldur w12, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w12, [x29, #-32]
eor w8, w8, w12
ldur w12, [x29, #-28]
eor w8, w8, w12
ldr w12, [sp, #84]
ldr w13, [sp, #64]
eor w12, w12, w13
ldr w13, [sp, #40]
eor w12, w12, w13
ldr w13, [sp, #32]
eor w13, w12, w13
ldr w12, [sp, #84]
ldr w14, [sp, #64]
eor w12, w12, w14
ldr w14, [sp, #40]
eor w12, w12, w14
ldr w14, [sp, #32]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #32]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-20]
ldur w12, [x29, #-20]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-24]
add w8, w8, w12
stur w8, [x29, #-24]
ldur w12, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w12, [x29, #-16]
eor w8, w8, w12
ldur w12, [x29, #-32]
eor w8, w8, w12
ldr w12, [sp, #88]
ldr w13, [sp, #68]
eor w12, w12, w13
ldr w13, [sp, #44]
eor w12, w12, w13
ldr w13, [sp, #36]
eor w13, w12, w13
ldr w12, [sp, #88]
ldr w14, [sp, #68]
eor w12, w12, w14
ldr w14, [sp, #44]
eor w12, w12, w14
ldr w14, [sp, #36]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #36]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-24]
ldur w12, [x29, #-24]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-28]
add w8, w8, w12
stur w8, [x29, #-28]
ldur w12, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w12, [x29, #-20]
eor w8, w8, w12
ldur w12, [x29, #-16]
eor w8, w8, w12
ldr w12, [sp, #92]
ldr w13, [sp, #72]
eor w12, w12, w13
ldr w13, [sp, #48]
eor w12, w12, w13
ldr w13, [sp, #40]
eor w13, w12, w13
ldr w12, [sp, #92]
ldr w14, [sp, #72]
eor w12, w12, w14
ldr w14, [sp, #48]
eor w12, w12, w14
ldr w14, [sp, #40]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #40]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-28]
ldur w12, [x29, #-28]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-32]
add w8, w8, w12
stur w8, [x29, #-32]
ldur w12, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w12, [x29, #-24]
eor w8, w8, w12
ldur w12, [x29, #-20]
eor w8, w8, w12
ldr w12, [sp, #32]
ldr w13, [sp, #76]
eor w12, w12, w13
ldr w13, [sp, #52]
eor w12, w12, w13
ldr w13, [sp, #44]
eor w13, w12, w13
ldr w12, [sp, #32]
ldr w14, [sp, #76]
eor w12, w12, w14
ldr w14, [sp, #52]
eor w12, w12, w14
ldr w14, [sp, #44]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #44]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-32]
ldur w12, [x29, #-32]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-16]
add w8, w8, w12
stur w8, [x29, #-16]
ldur w12, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w12, [x29, #-28]
eor w8, w8, w12
ldur w12, [x29, #-24]
eor w8, w8, w12
ldr w12, [sp, #36]
ldr w13, [sp, #80]
eor w12, w12, w13
ldr w13, [sp, #56]
eor w12, w12, w13
ldr w13, [sp, #48]
eor w13, w12, w13
ldr w12, [sp, #36]
ldr w14, [sp, #80]
eor w12, w12, w14
ldr w14, [sp, #56]
eor w12, w12, w14
ldr w14, [sp, #48]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #48]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-16]
ldur w12, [x29, #-16]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-20]
add w8, w8, w12
stur w8, [x29, #-20]
ldur w12, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w12, [x29, #-32]
eor w8, w8, w12
ldur w12, [x29, #-28]
eor w8, w8, w12
ldr w12, [sp, #40]
ldr w13, [sp, #84]
eor w12, w12, w13
ldr w13, [sp, #60]
eor w12, w12, w13
ldr w13, [sp, #52]
eor w13, w12, w13
ldr w12, [sp, #40]
ldr w14, [sp, #84]
eor w12, w12, w14
ldr w14, [sp, #60]
eor w12, w12, w14
ldr w14, [sp, #52]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #52]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-20]
ldur w12, [x29, #-20]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-24]
add w8, w8, w12
stur w8, [x29, #-24]
ldur w12, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w12, [x29, #-16]
eor w8, w8, w12
ldur w12, [x29, #-32]
eor w8, w8, w12
ldr w12, [sp, #44]
ldr w13, [sp, #88]
eor w12, w12, w13
ldr w13, [sp, #64]
eor w12, w12, w13
ldr w13, [sp, #56]
eor w13, w12, w13
ldr w12, [sp, #44]
ldr w14, [sp, #88]
eor w12, w12, w14
ldr w14, [sp, #64]
eor w12, w12, w14
ldr w14, [sp, #56]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #56]
add w8, w8, w12
add w8, w8, w11
ldur w13, [x29, #-24]
ldur w12, [x29, #-24]
lsr w12, w12, #27
orr w12, w12, w13, lsl #5
add w12, w8, w12
ldur w8, [x29, #-28]
add w8, w8, w12
stur w8, [x29, #-28]
ldur w12, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w12, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w12, [x29, #-20]
eor w8, w8, w12
ldur w12, [x29, #-16]
eor w8, w8, w12
ldr w12, [sp, #48]
ldr w13, [sp, #92]
eor w12, w12, w13
ldr w13, [sp, #68]
eor w12, w12, w13
ldr w13, [sp, #60]
eor w13, w12, w13
ldr w12, [sp, #48]
ldr w14, [sp, #92]
eor w12, w12, w14
ldr w14, [sp, #68]
eor w12, w12, w14
ldr w14, [sp, #60]
eor w12, w12, w14
lsr w12, w12, #31
orr w12, w12, w13, lsl #1
str w12, [sp, #60]
add w8, w8, w12
add w8, w8, w11
ldur w12, [x29, #-28]
ldur w11, [x29, #-28]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-32]
add w8, w8, w11
stur w8, [x29, #-32]
ldur w11, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w11, [x29, #-24]
orr w8, w8, w11
ldur w11, [x29, #-20]
and w8, w8, w11
ldur w11, [x29, #-28]
ldur w12, [x29, #-24]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #52]
ldr w12, [sp, #32]
eor w11, w11, w12
ldr w12, [sp, #72]
eor w11, w11, w12
ldr w12, [sp, #64]
eor w12, w11, w12
ldr w11, [sp, #52]
ldr w13, [sp, #32]
eor w11, w11, w13
ldr w13, [sp, #72]
eor w11, w11, w13
ldr w13, [sp, #64]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #64]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-32]
ldur w11, [x29, #-32]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-16]
add w8, w8, w11
stur w8, [x29, #-16]
ldur w11, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w11, [x29, #-28]
orr w8, w8, w11
ldur w11, [x29, #-24]
and w8, w8, w11
ldur w11, [x29, #-32]
ldur w12, [x29, #-28]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #56]
ldr w12, [sp, #36]
eor w11, w11, w12
ldr w12, [sp, #76]
eor w11, w11, w12
ldr w12, [sp, #68]
eor w12, w11, w12
ldr w11, [sp, #56]
ldr w13, [sp, #36]
eor w11, w11, w13
ldr w13, [sp, #76]
eor w11, w11, w13
ldr w13, [sp, #68]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #68]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-16]
ldur w11, [x29, #-16]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-20]
add w8, w8, w11
stur w8, [x29, #-20]
ldur w11, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w11, [x29, #-32]
orr w8, w8, w11
ldur w11, [x29, #-28]
and w8, w8, w11
ldur w11, [x29, #-16]
ldur w12, [x29, #-32]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #60]
ldr w12, [sp, #40]
eor w11, w11, w12
ldr w12, [sp, #80]
eor w11, w11, w12
ldr w12, [sp, #72]
eor w12, w11, w12
ldr w11, [sp, #60]
ldr w13, [sp, #40]
eor w11, w11, w13
ldr w13, [sp, #80]
eor w11, w11, w13
ldr w13, [sp, #72]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #72]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-20]
ldur w11, [x29, #-20]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-24]
add w8, w8, w11
stur w8, [x29, #-24]
ldur w11, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w11, [x29, #-16]
orr w8, w8, w11
ldur w11, [x29, #-32]
and w8, w8, w11
ldur w11, [x29, #-20]
ldur w12, [x29, #-16]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #64]
ldr w12, [sp, #44]
eor w11, w11, w12
ldr w12, [sp, #84]
eor w11, w11, w12
ldr w12, [sp, #76]
eor w12, w11, w12
ldr w11, [sp, #64]
ldr w13, [sp, #44]
eor w11, w11, w13
ldr w13, [sp, #84]
eor w11, w11, w13
ldr w13, [sp, #76]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #76]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-24]
ldur w11, [x29, #-24]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-28]
add w8, w8, w11
stur w8, [x29, #-28]
ldur w11, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w11, [x29, #-20]
orr w8, w8, w11
ldur w11, [x29, #-16]
and w8, w8, w11
ldur w11, [x29, #-24]
ldur w12, [x29, #-20]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #68]
ldr w12, [sp, #48]
eor w11, w11, w12
ldr w12, [sp, #88]
eor w11, w11, w12
ldr w12, [sp, #80]
eor w12, w11, w12
ldr w11, [sp, #68]
ldr w13, [sp, #48]
eor w11, w11, w13
ldr w13, [sp, #88]
eor w11, w11, w13
ldr w13, [sp, #80]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #80]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-28]
ldur w11, [x29, #-28]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-32]
add w8, w8, w11
stur w8, [x29, #-32]
ldur w11, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w11, [x29, #-24]
orr w8, w8, w11
ldur w11, [x29, #-20]
and w8, w8, w11
ldur w11, [x29, #-28]
ldur w12, [x29, #-24]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #72]
ldr w12, [sp, #52]
eor w11, w11, w12
ldr w12, [sp, #92]
eor w11, w11, w12
ldr w12, [sp, #84]
eor w12, w11, w12
ldr w11, [sp, #72]
ldr w13, [sp, #52]
eor w11, w11, w13
ldr w13, [sp, #92]
eor w11, w11, w13
ldr w13, [sp, #84]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #84]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-32]
ldur w11, [x29, #-32]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-16]
add w8, w8, w11
stur w8, [x29, #-16]
ldur w11, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w11, [x29, #-28]
orr w8, w8, w11
ldur w11, [x29, #-24]
and w8, w8, w11
ldur w11, [x29, #-32]
ldur w12, [x29, #-28]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #76]
ldr w12, [sp, #56]
eor w11, w11, w12
ldr w12, [sp, #32]
eor w11, w11, w12
ldr w12, [sp, #88]
eor w12, w11, w12
ldr w11, [sp, #76]
ldr w13, [sp, #56]
eor w11, w11, w13
ldr w13, [sp, #32]
eor w11, w11, w13
ldr w13, [sp, #88]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #88]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-16]
ldur w11, [x29, #-16]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-20]
add w8, w8, w11
stur w8, [x29, #-20]
ldur w11, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w11, [x29, #-32]
orr w8, w8, w11
ldur w11, [x29, #-28]
and w8, w8, w11
ldur w11, [x29, #-16]
ldur w12, [x29, #-32]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #80]
ldr w12, [sp, #60]
eor w11, w11, w12
ldr w12, [sp, #36]
eor w11, w11, w12
ldr w12, [sp, #92]
eor w12, w11, w12
ldr w11, [sp, #80]
ldr w13, [sp, #60]
eor w11, w11, w13
ldr w13, [sp, #36]
eor w11, w11, w13
ldr w13, [sp, #92]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #92]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-20]
ldur w11, [x29, #-20]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-24]
add w8, w8, w11
stur w8, [x29, #-24]
ldur w11, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w11, [x29, #-16]
orr w8, w8, w11
ldur w11, [x29, #-32]
and w8, w8, w11
ldur w11, [x29, #-20]
ldur w12, [x29, #-16]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #84]
ldr w12, [sp, #64]
eor w11, w11, w12
ldr w12, [sp, #40]
eor w11, w11, w12
ldr w12, [sp, #32]
eor w12, w11, w12
ldr w11, [sp, #84]
ldr w13, [sp, #64]
eor w11, w11, w13
ldr w13, [sp, #40]
eor w11, w11, w13
ldr w13, [sp, #32]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #32]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-24]
ldur w11, [x29, #-24]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-28]
add w8, w8, w11
stur w8, [x29, #-28]
ldur w11, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w11, [x29, #-20]
orr w8, w8, w11
ldur w11, [x29, #-16]
and w8, w8, w11
ldur w11, [x29, #-24]
ldur w12, [x29, #-20]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #88]
ldr w12, [sp, #68]
eor w11, w11, w12
ldr w12, [sp, #44]
eor w11, w11, w12
ldr w12, [sp, #36]
eor w12, w11, w12
ldr w11, [sp, #88]
ldr w13, [sp, #68]
eor w11, w11, w13
ldr w13, [sp, #44]
eor w11, w11, w13
ldr w13, [sp, #36]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #36]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-28]
ldur w11, [x29, #-28]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-32]
add w8, w8, w11
stur w8, [x29, #-32]
ldur w11, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w11, [x29, #-24]
orr w8, w8, w11
ldur w11, [x29, #-20]
and w8, w8, w11
ldur w11, [x29, #-28]
ldur w12, [x29, #-24]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #92]
ldr w12, [sp, #72]
eor w11, w11, w12
ldr w12, [sp, #48]
eor w11, w11, w12
ldr w12, [sp, #40]
eor w12, w11, w12
ldr w11, [sp, #92]
ldr w13, [sp, #72]
eor w11, w11, w13
ldr w13, [sp, #48]
eor w11, w11, w13
ldr w13, [sp, #40]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #40]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-32]
ldur w11, [x29, #-32]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-16]
add w8, w8, w11
stur w8, [x29, #-16]
ldur w11, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w11, [x29, #-28]
orr w8, w8, w11
ldur w11, [x29, #-24]
and w8, w8, w11
ldur w11, [x29, #-32]
ldur w12, [x29, #-28]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #32]
ldr w12, [sp, #76]
eor w11, w11, w12
ldr w12, [sp, #52]
eor w11, w11, w12
ldr w12, [sp, #44]
eor w12, w11, w12
ldr w11, [sp, #32]
ldr w13, [sp, #76]
eor w11, w11, w13
ldr w13, [sp, #52]
eor w11, w11, w13
ldr w13, [sp, #44]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #44]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-16]
ldur w11, [x29, #-16]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-20]
add w8, w8, w11
stur w8, [x29, #-20]
ldur w11, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w11, [x29, #-32]
orr w8, w8, w11
ldur w11, [x29, #-28]
and w8, w8, w11
ldur w11, [x29, #-16]
ldur w12, [x29, #-32]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #36]
ldr w12, [sp, #80]
eor w11, w11, w12
ldr w12, [sp, #56]
eor w11, w11, w12
ldr w12, [sp, #48]
eor w12, w11, w12
ldr w11, [sp, #36]
ldr w13, [sp, #80]
eor w11, w11, w13
ldr w13, [sp, #56]
eor w11, w11, w13
ldr w13, [sp, #48]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #48]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-20]
ldur w11, [x29, #-20]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-24]
add w8, w8, w11
stur w8, [x29, #-24]
ldur w11, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w11, [x29, #-16]
orr w8, w8, w11
ldur w11, [x29, #-32]
and w8, w8, w11
ldur w11, [x29, #-20]
ldur w12, [x29, #-16]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #40]
ldr w12, [sp, #84]
eor w11, w11, w12
ldr w12, [sp, #60]
eor w11, w11, w12
ldr w12, [sp, #52]
eor w12, w11, w12
ldr w11, [sp, #40]
ldr w13, [sp, #84]
eor w11, w11, w13
ldr w13, [sp, #60]
eor w11, w11, w13
ldr w13, [sp, #52]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #52]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-24]
ldur w11, [x29, #-24]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-28]
add w8, w8, w11
stur w8, [x29, #-28]
ldur w11, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w11, [x29, #-20]
orr w8, w8, w11
ldur w11, [x29, #-16]
and w8, w8, w11
ldur w11, [x29, #-24]
ldur w12, [x29, #-20]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #44]
ldr w12, [sp, #88]
eor w11, w11, w12
ldr w12, [sp, #64]
eor w11, w11, w12
ldr w12, [sp, #56]
eor w12, w11, w12
ldr w11, [sp, #44]
ldr w13, [sp, #88]
eor w11, w11, w13
ldr w13, [sp, #64]
eor w11, w11, w13
ldr w13, [sp, #56]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #56]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-28]
ldur w11, [x29, #-28]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-32]
add w8, w8, w11
stur w8, [x29, #-32]
ldur w11, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w11, [x29, #-24]
orr w8, w8, w11
ldur w11, [x29, #-20]
and w8, w8, w11
ldur w11, [x29, #-28]
ldur w12, [x29, #-24]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #48]
ldr w12, [sp, #92]
eor w11, w11, w12
ldr w12, [sp, #68]
eor w11, w11, w12
ldr w12, [sp, #60]
eor w12, w11, w12
ldr w11, [sp, #48]
ldr w13, [sp, #92]
eor w11, w11, w13
ldr w13, [sp, #68]
eor w11, w11, w13
ldr w13, [sp, #60]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #60]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-32]
ldur w11, [x29, #-32]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-16]
add w8, w8, w11
stur w8, [x29, #-16]
ldur w11, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w11, [x29, #-28]
orr w8, w8, w11
ldur w11, [x29, #-24]
and w8, w8, w11
ldur w11, [x29, #-32]
ldur w12, [x29, #-28]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #52]
ldr w12, [sp, #32]
eor w11, w11, w12
ldr w12, [sp, #72]
eor w11, w11, w12
ldr w12, [sp, #64]
eor w12, w11, w12
ldr w11, [sp, #52]
ldr w13, [sp, #32]
eor w11, w11, w13
ldr w13, [sp, #72]
eor w11, w11, w13
ldr w13, [sp, #64]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #64]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-16]
ldur w11, [x29, #-16]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-20]
add w8, w8, w11
stur w8, [x29, #-20]
ldur w11, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w11, [x29, #-32]
orr w8, w8, w11
ldur w11, [x29, #-28]
and w8, w8, w11
ldur w11, [x29, #-16]
ldur w12, [x29, #-32]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #56]
ldr w12, [sp, #36]
eor w11, w11, w12
ldr w12, [sp, #76]
eor w11, w11, w12
ldr w12, [sp, #68]
eor w12, w11, w12
ldr w11, [sp, #56]
ldr w13, [sp, #36]
eor w11, w11, w13
ldr w13, [sp, #76]
eor w11, w11, w13
ldr w13, [sp, #68]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #68]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-20]
ldur w11, [x29, #-20]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-24]
add w8, w8, w11
stur w8, [x29, #-24]
ldur w11, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w11, [x29, #-16]
orr w8, w8, w11
ldur w11, [x29, #-32]
and w8, w8, w11
ldur w11, [x29, #-20]
ldur w12, [x29, #-16]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #60]
ldr w12, [sp, #40]
eor w11, w11, w12
ldr w12, [sp, #80]
eor w11, w11, w12
ldr w12, [sp, #72]
eor w12, w11, w12
ldr w11, [sp, #60]
ldr w13, [sp, #40]
eor w11, w11, w13
ldr w13, [sp, #80]
eor w11, w11, w13
ldr w13, [sp, #72]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #72]
add w8, w8, w11
add w8, w8, w10
ldur w12, [x29, #-24]
ldur w11, [x29, #-24]
lsr w11, w11, #27
orr w11, w11, w12, lsl #5
add w11, w8, w11
ldur w8, [x29, #-28]
add w8, w8, w11
stur w8, [x29, #-28]
ldur w11, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w11, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w11, [x29, #-20]
orr w8, w8, w11
ldur w11, [x29, #-16]
and w8, w8, w11
ldur w11, [x29, #-24]
ldur w12, [x29, #-20]
and w11, w11, w12
orr w8, w8, w11
ldr w11, [sp, #64]
ldr w12, [sp, #44]
eor w11, w11, w12
ldr w12, [sp, #84]
eor w11, w11, w12
ldr w12, [sp, #76]
eor w12, w11, w12
ldr w11, [sp, #64]
ldr w13, [sp, #44]
eor w11, w11, w13
ldr w13, [sp, #84]
eor w11, w11, w13
ldr w13, [sp, #76]
eor w11, w11, w13
lsr w11, w11, #31
orr w11, w11, w12, lsl #1
str w11, [sp, #76]
add w8, w8, w11
add w8, w8, w10
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
eor w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #68]
ldr w11, [sp, #48]
eor w10, w10, w11
ldr w11, [sp, #88]
eor w10, w10, w11
ldr w11, [sp, #80]
eor w11, w10, w11
ldr w10, [sp, #68]
ldr w12, [sp, #48]
eor w10, w10, w12
ldr w12, [sp, #88]
eor w10, w10, w12
ldr w12, [sp, #80]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #80]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
eor w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w10, [sp, #72]
ldr w11, [sp, #52]
eor w10, w10, w11
ldr w11, [sp, #92]
eor w10, w10, w11
ldr w11, [sp, #84]
eor w11, w10, w11
ldr w10, [sp, #72]
ldr w12, [sp, #52]
eor w10, w10, w12
ldr w12, [sp, #92]
eor w10, w10, w12
ldr w12, [sp, #84]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #84]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
eor w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w10, [sp, #76]
ldr w11, [sp, #56]
eor w10, w10, w11
ldr w11, [sp, #32]
eor w10, w10, w11
ldr w11, [sp, #88]
eor w11, w10, w11
ldr w10, [sp, #76]
ldr w12, [sp, #56]
eor w10, w10, w12
ldr w12, [sp, #32]
eor w10, w10, w12
ldr w12, [sp, #88]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #88]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
eor w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w10, [sp, #80]
ldr w11, [sp, #60]
eor w10, w10, w11
ldr w11, [sp, #36]
eor w10, w10, w11
ldr w11, [sp, #92]
eor w11, w10, w11
ldr w10, [sp, #80]
ldr w12, [sp, #60]
eor w10, w10, w12
ldr w12, [sp, #36]
eor w10, w10, w12
ldr w12, [sp, #92]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #92]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
eor w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w10, [sp, #84]
ldr w11, [sp, #64]
eor w10, w10, w11
ldr w11, [sp, #40]
eor w10, w10, w11
ldr w11, [sp, #32]
eor w11, w10, w11
ldr w10, [sp, #84]
ldr w12, [sp, #64]
eor w10, w10, w12
ldr w12, [sp, #40]
eor w10, w10, w12
ldr w12, [sp, #32]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #32]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
eor w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #88]
ldr w11, [sp, #68]
eor w10, w10, w11
ldr w11, [sp, #44]
eor w10, w10, w11
ldr w11, [sp, #36]
eor w11, w10, w11
ldr w10, [sp, #88]
ldr w12, [sp, #68]
eor w10, w10, w12
ldr w12, [sp, #44]
eor w10, w10, w12
ldr w12, [sp, #36]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #36]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
eor w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w10, [sp, #92]
ldr w11, [sp, #72]
eor w10, w10, w11
ldr w11, [sp, #48]
eor w10, w10, w11
ldr w11, [sp, #40]
eor w11, w10, w11
ldr w10, [sp, #92]
ldr w12, [sp, #72]
eor w10, w10, w12
ldr w12, [sp, #48]
eor w10, w10, w12
ldr w12, [sp, #40]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #40]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
eor w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w10, [sp, #32]
ldr w11, [sp, #76]
eor w10, w10, w11
ldr w11, [sp, #52]
eor w10, w10, w11
ldr w11, [sp, #44]
eor w11, w10, w11
ldr w10, [sp, #32]
ldr w12, [sp, #76]
eor w10, w10, w12
ldr w12, [sp, #52]
eor w10, w10, w12
ldr w12, [sp, #44]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #44]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
eor w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w10, [sp, #36]
ldr w11, [sp, #80]
eor w10, w10, w11
ldr w11, [sp, #56]
eor w10, w10, w11
ldr w11, [sp, #48]
eor w11, w10, w11
ldr w10, [sp, #36]
ldr w12, [sp, #80]
eor w10, w10, w12
ldr w12, [sp, #56]
eor w10, w10, w12
ldr w12, [sp, #48]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #48]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
eor w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w10, [sp, #40]
ldr w11, [sp, #84]
eor w10, w10, w11
ldr w11, [sp, #60]
eor w10, w10, w11
ldr w11, [sp, #52]
eor w11, w10, w11
ldr w10, [sp, #40]
ldr w12, [sp, #84]
eor w10, w10, w12
ldr w12, [sp, #60]
eor w10, w10, w12
ldr w12, [sp, #52]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #52]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
eor w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #44]
ldr w11, [sp, #88]
eor w10, w10, w11
ldr w11, [sp, #64]
eor w10, w10, w11
ldr w11, [sp, #56]
eor w11, w10, w11
ldr w10, [sp, #44]
ldr w12, [sp, #88]
eor w10, w10, w12
ldr w12, [sp, #64]
eor w10, w10, w12
ldr w12, [sp, #56]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #56]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
eor w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w10, [sp, #48]
ldr w11, [sp, #92]
eor w10, w10, w11
ldr w11, [sp, #68]
eor w10, w10, w11
ldr w11, [sp, #60]
eor w11, w10, w11
ldr w10, [sp, #48]
ldr w12, [sp, #92]
eor w10, w10, w12
ldr w12, [sp, #68]
eor w10, w10, w12
ldr w12, [sp, #60]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #60]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
eor w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w10, [sp, #52]
ldr w11, [sp, #32]
eor w10, w10, w11
ldr w11, [sp, #72]
eor w10, w10, w11
ldr w11, [sp, #64]
eor w11, w10, w11
ldr w10, [sp, #52]
ldr w12, [sp, #32]
eor w10, w10, w12
ldr w12, [sp, #72]
eor w10, w10, w12
ldr w12, [sp, #64]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #64]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
eor w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w10, [sp, #56]
ldr w11, [sp, #36]
eor w10, w10, w11
ldr w11, [sp, #76]
eor w10, w10, w11
ldr w11, [sp, #68]
eor w11, w10, w11
ldr w10, [sp, #56]
ldr w12, [sp, #36]
eor w10, w10, w12
ldr w12, [sp, #76]
eor w10, w10, w12
ldr w12, [sp, #68]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #68]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
eor w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w10, [sp, #60]
ldr w11, [sp, #40]
eor w10, w10, w11
ldr w11, [sp, #80]
eor w10, w10, w11
ldr w11, [sp, #72]
eor w11, w10, w11
ldr w10, [sp, #60]
ldr w12, [sp, #40]
eor w10, w10, w12
ldr w12, [sp, #80]
eor w10, w10, w12
ldr w12, [sp, #72]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #72]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-28]
ldur w10, [x29, #-28]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-32]
add w8, w8, w10
stur w8, [x29, #-32]
ldur w10, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
ldur w10, [x29, #-24]
eor w8, w8, w10
ldur w10, [x29, #-20]
eor w8, w8, w10
ldr w10, [sp, #64]
ldr w11, [sp, #44]
eor w10, w10, w11
ldr w11, [sp, #84]
eor w10, w10, w11
ldr w11, [sp, #76]
eor w11, w10, w11
ldr w10, [sp, #64]
ldr w12, [sp, #44]
eor w10, w10, w12
ldr w12, [sp, #84]
eor w10, w10, w12
ldr w12, [sp, #76]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #76]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-32]
ldur w10, [x29, #-32]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-16]
add w8, w8, w10
stur w8, [x29, #-16]
ldur w10, [x29, #-28]
ldur w8, [x29, #-28]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-28]
ldur w8, [x29, #-32]
ldur w10, [x29, #-28]
eor w8, w8, w10
ldur w10, [x29, #-24]
eor w8, w8, w10
ldr w10, [sp, #68]
ldr w11, [sp, #48]
eor w10, w10, w11
ldr w11, [sp, #88]
eor w10, w10, w11
ldr w11, [sp, #80]
eor w11, w10, w11
ldr w10, [sp, #68]
ldr w12, [sp, #48]
eor w10, w10, w12
ldr w12, [sp, #88]
eor w10, w10, w12
ldr w12, [sp, #80]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #80]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-16]
ldur w10, [x29, #-16]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-20]
add w8, w8, w10
stur w8, [x29, #-20]
ldur w10, [x29, #-32]
ldur w8, [x29, #-32]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
ldur w10, [x29, #-32]
eor w8, w8, w10
ldur w10, [x29, #-28]
eor w8, w8, w10
ldr w10, [sp, #72]
ldr w11, [sp, #52]
eor w10, w10, w11
ldr w11, [sp, #92]
eor w10, w10, w11
ldr w11, [sp, #84]
eor w11, w10, w11
ldr w10, [sp, #72]
ldr w12, [sp, #52]
eor w10, w10, w12
ldr w12, [sp, #92]
eor w10, w10, w12
ldr w12, [sp, #84]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #84]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-20]
ldur w10, [x29, #-20]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-24]
add w8, w8, w10
stur w8, [x29, #-24]
ldur w10, [x29, #-16]
ldur w8, [x29, #-16]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
ldur w10, [x29, #-16]
eor w8, w8, w10
ldur w10, [x29, #-32]
eor w8, w8, w10
ldr w10, [sp, #76]
ldr w11, [sp, #56]
eor w10, w10, w11
ldr w11, [sp, #32]
eor w10, w10, w11
ldr w11, [sp, #88]
eor w11, w10, w11
ldr w10, [sp, #76]
ldr w12, [sp, #56]
eor w10, w10, w12
ldr w12, [sp, #32]
eor w10, w10, w12
ldr w12, [sp, #88]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #88]
add w8, w8, w10
add w8, w8, w9
ldur w11, [x29, #-24]
ldur w10, [x29, #-24]
lsr w10, w10, #27
orr w10, w10, w11, lsl #5
add w10, w8, w10
ldur w8, [x29, #-28]
add w8, w8, w10
stur w8, [x29, #-28]
ldur w10, [x29, #-20]
ldur w8, [x29, #-20]
lsr w8, w8, #2
orr w8, w8, w10, lsl #30
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
ldur w10, [x29, #-20]
eor w8, w8, w10
ldur w10, [x29, #-16]
eor w8, w8, w10
ldr w10, [sp, #80]
ldr w11, [sp, #60]
eor w10, w10, w11
ldr w11, [sp, #36]
eor w10, w10, w11
ldr w11, [sp, #92]
eor w11, w10, w11
ldr w10, [sp, #80]
ldr w12, [sp, #60]
eor w10, w10, w12
ldr w12, [sp, #36]
eor w10, w10, w12
ldr w12, [sp, #92]
eor w10, w10, w12
lsr w10, w10, #31
orr w10, w10, w11, lsl #1
str w10, [sp, #92]
add w8, w8, w10
add w8, w8, w9
ldur w10, [x29, #-28]
ldur w9, [x29, #-28]
lsr w9, w9, #27
orr w9, w9, w10, lsl #5
add w9, w8, w9
ldur w8, [x29, #-32]
add w8, w8, w9
stur w8, [x29, #-32]
ldur w9, [x29, #-24]
ldur w8, [x29, #-24]
lsr w8, w8, #2
orr w8, w8, w9, lsl #30
stur w8, [x29, #-24]
ldur w10, [x29, #-32]
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
ldur w10, [x29, #-28]
ldr x9, [sp, #24]
ldr w8, [x9, #4]
add w8, w8, w10
str w8, [x9, #4]
ldur w10, [x29, #-24]
ldr x9, [sp, #24]
ldr w8, [x9, #8]
add w8, w8, w10
str w8, [x9, #8]
ldur w10, [x29, #-20]
ldr x9, [sp, #24]
ldr w8, [x9, #12]
add w8, w8, w10
str w8, [x9, #12]
ldur w10, [x29, #-16]
ldr x9, [sp, #24]
ldr w8, [x9, #16]
add w8, w8, w10
str w8, [x9, #16]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
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 x9, _g@GOTPAGE
ldr x9, [x9, _g@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
add x8, x9, #16
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
str xzr, [sp, #56]
str wzr, [sp, #52]
str wzr, [sp, #48]
str wzr, [sp, #44]
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [x9]
mov w0, #1
str w0, [sp, #28] ; 4-byte Folded Spill
bl _sqlite3_config
ldr w8, [sp, #28] ; 4-byte Folded Reload
stur w8, [x29, #-28]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_32
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #32]
ldr x8, [sp, #32]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB1_27
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
ldr x8, [sp, #32]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #32]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-8]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _cmdlineError
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldur w9, [x29, #-28]
add w9, w9, #1
stur w9, [x29, #-28]
ldr x0, [x8, w9, sxtw #3]
mov x1, #0
mov w2, #0
bl _strtol
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
str w8, [x9, #8]
b LBB1_26
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #32]
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, LBB1_11
b LBB1_10
LBB1_10:
bl _showHelp
stur wzr, [x29, #-4]
b LBB1_56
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #32]
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, LBB1_17
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-8]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _cmdlineError
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_16
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _cmdlineError
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldur w9, [x29, #-28]
add w9, w9, #1
stur w9, [x29, #-28]
ldr x8, [x8, w9, sxtw #3]
str x8, [sp, #56]
b LBB1_24
LBB1_17: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #32]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp, #48]
b LBB1_23
LBB1_19: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #32]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp, #52]
b LBB1_22
LBB1_21: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _cmdlineError
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_1 Depth=1
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_1 Depth=1
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_1 Depth=1
b LBB1_25
LBB1_25: ; in Loop: Header=BB1_1 Depth=1
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_1 Depth=1
b LBB1_30
LBB1_27: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
ldr w8, [sp, #44]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_29
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-16]
ldrsw x10, [sp, #44]
str x8, [x9, x10, lsl #3]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_1 Depth=1
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_1 Depth=1
b LBB1_31
LBB1_31: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB1_1
LBB1_32:
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_34
b LBB1_33
LBB1_33:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _cmdlineError
b LBB1_34
LBB1_34:
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_37
b LBB1_35
LBB1_35:
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_37
b LBB1_36
LBB1_36:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _cmdlineError
b LBB1_37
LBB1_37:
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_39
b LBB1_38
LBB1_38:
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
str x8, [sp, #56]
b LBB1_39
LBB1_39:
mov w8, #1
stur w8, [x29, #-28]
b LBB1_40
LBB1_40: ; =>This Loop Header: Depth=1
; Child Loop BB1_48 Depth 2
ldur w8, [x29, #-28]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_55
b LBB1_41
LBB1_41: ; in Loop: Header=BB1_40 Depth=1
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-24]
ldur x0, [x29, #-24]
mov w2, #66
mov x3, #0
bl _sqlite3_open_v2
stur w0, [x29, #-32]
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_43
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_40 Depth=1
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fprintf
b LBB1_54
LBB1_43: ; in Loop: Header=BB1_40 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, #16]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
mov x3, #0
mov x2, x3
sub x4, x29, #40
bl _sqlite3_exec
stur w0, [x29, #-32]
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44: ; in Loop: Header=BB1_40 Depth=1
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_46
b LBB1_45
LBB1_45: ; in Loop: Header=BB1_40 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, #16]
bl _sqlite3_close
ldr x8, [sp, #8] ; 8-byte Folded Reload
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
b LBB1_54
LBB1_46: ; in Loop: Header=BB1_40 Depth=1
bl _hash_init
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_51
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_40 Depth=1
ldr x8, [sp, #56]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _db_prepare
stur x0, [x29, #-48]
b LBB1_48
LBB1_48: ; Parent Loop BB1_40 Depth=1
; => This Inner Loop Header: Depth=2
ldur x0, [x29, #-48]
bl _sqlite3_step
mov w8, #100
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB1_50
b LBB1_49
LBB1_49: ; in Loop: Header=BB1_48 Depth=2
ldur x0, [x29, #-48]
mov w1, #0
bl _sqlite3_column_text
mov x8, sp
str x0, [x8]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _hash_one_query
b LBB1_48
LBB1_50: ; in Loop: Header=BB1_40 Depth=1
ldur x0, [x29, #-48]
bl _sqlite3_finalize
b LBB1_51
LBB1_51: ; in Loop: Header=BB1_40 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_53
b LBB1_52
LBB1_52: ; in Loop: Header=BB1_40 Depth=1
ldr x8, [sp, #56]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _hash_one_query
b LBB1_53
LBB1_53: ; in Loop: Header=BB1_40 Depth=1
ldur x0, [x29, #-24]
bl _hash_finish
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, #16]
bl _sqlite3_close
b LBB1_54
LBB1_54: ; in Loop: Header=BB1_40 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB1_40
LBB1_55:
stur wzr, [x29, #-4]
b LBB1_56
LBB1_56:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cmdlineError
_cmdlineError: ; @cmdlineError
.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, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldr x0, [x8]
adrp x8, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _fprintf
ldr x8, [sp, #16] ; 8-byte Folded Reload
sub x10, x29, #16
add x9, x29, #16
str x9, [x10]
ldr x0, [x8]
ldur x1, [x29, #-8]
ldur x2, [x29, #-16]
bl _vfprintf
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x9]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function showHelp
_showHelp: ; @showHelp
.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, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function hash_init
_hash_init: ; @hash_init
.cfi_startproc
; %bb.0:
adrp x8, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
mov w9, #8961
movk w9, #26437, lsl #16
str w9, [x8, #24]
mov w9, #43913
movk w9, #61389, lsl #16
str w9, [x8, #28]
mov w9, #56574
movk w9, #39098, lsl #16
str w9, [x8, #32]
mov w9, #21622
movk w9, #4146, lsl #16
str w9, [x8, #36]
mov w9, #57840
movk w9, #50130, lsl #16
str w9, [x8, #40]
str wzr, [x8, #48]
str wzr, [x8, #44]
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function db_prepare
_db_prepare: ; @db_prepare
.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]
add x9, sp, #16
add x8, x29, #16
str x8, [x9]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _db_vprepare
str x0, [sp, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function hash_one_query
_hash_one_query: ; @hash_one_query
.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, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-32]
sub x9, x29, #40
add x8, x29, #16
str x8, [x9]
ldur x0, [x29, #-32]
ldur x1, [x29, #-40]
bl _db_vprepare
stur x0, [x29, #-48]
ldur x0, [x29, #-48]
bl _sqlite3_column_count
stur w0, [x29, #-52]
b LBB6_1
LBB6_1: ; =>This Loop Header: Depth=1
; Child Loop BB6_3 Depth 2
; Child Loop BB6_17 Depth 3
; Child Loop BB6_10 Depth 3
ldur x0, [x29, #-48]
bl _sqlite3_step
mov w8, #100
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB6_32
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
stur wzr, [x29, #-56]
b LBB6_3
LBB6_3: ; Parent Loop BB6_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB6_17 Depth 3
; Child Loop BB6_10 Depth 3
ldur w8, [x29, #-56]
ldur w9, [x29, #-52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_31
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=2
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_type
subs w8, w0, #1
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #4
cset w8, hi
tbnz w8, #0, LBB6_29
; %bb.5: ; in Loop: Header=BB6_3 Depth=2
ldr x11, [sp, #32] ; 8-byte Folded Reload
adrp x10, lJTI6_0@PAGE
add x10, x10, lJTI6_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB6_6: ; in Loop: Header=BB6_3 Depth=2
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
mov w1, #1
bl _hash_step
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8, #8]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_3 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _fprintf
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_3 Depth=2
b LBB6_29
LBB6_9: ; in Loop: Header=BB6_3 Depth=2
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_int64
stur x0, [x29, #-80]
ldur x8, [x29, #-80]
stur x8, [x29, #-64]
mov w8, #7
stur w8, [x29, #-68]
b LBB6_10
LBB6_10: ; Parent Loop BB6_1 Depth=1
; Parent Loop BB6_3 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-68]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB6_13
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_10 Depth=3
ldurb w8, [x29, #-64]
; kill: def $x8 killed $w8
ldursw x10, [x29, #-68]
sub x9, x29, #16
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, x10]
ldur x8, [x29, #-64]
lsr x8, x8, #8
stur x8, [x29, #-64]
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_10 Depth=3
ldur w8, [x29, #-68]
subs w8, w8, #1
stur w8, [x29, #-68]
b LBB6_10
LBB6_13: ; in Loop: Header=BB6_3 Depth=2
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
mov w1, #1
bl _hash_step
sub x0, x29, #16
mov w1, #8
bl _hash_step
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8, #8]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB6_15
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_3 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_text
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _fprintf
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_3 Depth=2
b LBB6_29
LBB6_16: ; in Loop: Header=BB6_3 Depth=2
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_double
str d0, [sp, #88]
ldr x8, [sp, #88]
stur x8, [x29, #-88]
mov w8, #7
stur w8, [x29, #-92]
b LBB6_17
LBB6_17: ; Parent Loop BB6_1 Depth=1
; Parent Loop BB6_3 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-92]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB6_20
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_17 Depth=3
ldurb w8, [x29, #-88]
; kill: def $x8 killed $w8
ldursw x10, [x29, #-92]
sub x9, x29, #24
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, x10]
ldur x8, [x29, #-88]
lsr x8, x8, #8
stur x8, [x29, #-88]
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_17 Depth=3
ldur w8, [x29, #-92]
subs w8, w8, #1
stur w8, [x29, #-92]
b LBB6_17
LBB6_20: ; in Loop: Header=BB6_3 Depth=2
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
mov w1, #1
bl _hash_step
sub x0, x29, #24
mov w1, #8
bl _hash_step
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8, #8]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB6_22
b LBB6_21
LBB6_21: ; in Loop: Header=BB6_3 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_text
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
b LBB6_22
LBB6_22: ; in Loop: Header=BB6_3 Depth=2
b LBB6_29
LBB6_23: ; in Loop: Header=BB6_3 Depth=2
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_bytes
str w0, [sp, #84]
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_text
str x0, [sp, #72]
adrp x0, l_.str.30@PAGE
add x0, x0, l_.str.30@PAGEOFF
mov w1, #1
bl _hash_step
ldr x0, [sp, #72]
ldr w1, [sp, #84]
bl _hash_step
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8, #8]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB6_25
b LBB6_24
LBB6_24: ; in Loop: Header=BB6_3 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_text
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x1, l_.str.31@PAGE
add x1, x1, l_.str.31@PAGEOFF
bl _fprintf
b LBB6_25
LBB6_25: ; in Loop: Header=BB6_3 Depth=2
b LBB6_29
LBB6_26: ; in Loop: Header=BB6_3 Depth=2
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_bytes
str w0, [sp, #68]
ldur x0, [x29, #-48]
ldur w1, [x29, #-56]
bl _sqlite3_column_blob
str x0, [sp, #56]
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
mov w1, #1
bl _hash_step
ldr x0, [sp, #56]
ldr w1, [sp, #68]
bl _hash_step
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8, #8]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB6_28
b LBB6_27
LBB6_27: ; in Loop: Header=BB6_3 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #68]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.33@PAGE
add x1, x1, l_.str.33@PAGEOFF
bl _fprintf
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_3 Depth=2
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_3 Depth=2
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_3 Depth=2
ldur w8, [x29, #-56]
add w8, w8, #1
stur w8, [x29, #-56]
b LBB6_3
LBB6_31: ; in Loop: Header=BB6_1 Depth=1
b LBB6_1
LBB6_32:
ldur x0, [x29, #-48]
bl _sqlite3_finalize
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB6_34
b LBB6_33
LBB6_33:
bl ___stack_chk_fail
LBB6_34:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
.p2align 2
lJTI6_0:
.long LBB6_9-Ltmp0
.long LBB6_16-Ltmp0
.long LBB6_23-Ltmp0
.long LBB6_26-Ltmp0
.long LBB6_6-Ltmp0
; -- End function
.p2align 2 ; -- Begin function hash_finish
_hash_finish: ; @hash_finish
.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, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
add x9, x8, #24
str x9, [sp, #32] ; 8-byte Folded Spill
add x8, x8, #44
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #56]
str wzr, [sp, #52]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
subs w8, w8, #8
cset w8, hs
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [sp, #52]
subs w9, w9, #4
cset w9, hs
and w9, w9, #0x1
ands w9, w9, #0x1
cset w9, eq
ldr w8, [x8, w9, sxtw #2]
ldr w10, [sp, #52]
mov w9, #3
and w10, w10, #0x3
subs w9, w9, w10
lsl w9, w9, #3
lsr w8, w8, w9
and w8, w8, #0xff
ldr w9, [sp, #52]
mov x10, x9
sub x9, x29, #16
strb w8, [x9, x10]
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB7_1
LBB7_4:
adrp x0, l_.str.34@PAGE
add x0, x0, l_.str.34@PAGEOFF
mov w1, #1
bl _hash_step
b LBB7_5
LBB7_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, #44]
and w8, w8, #0x1f8
subs w8, w8, #448
cset w8, eq
tbnz w8, #0, LBB7_7
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_5 Depth=1
adrp x0, l_.str.35@PAGE
add x0, x0, l_.str.35@PAGEOFF
mov w1, #1
bl _hash_step
b LBB7_5
LBB7_7:
sub x0, x29, #16
mov w1, #8
bl _hash_step
str wzr, [sp, #52]
b LBB7_8
LBB7_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
subs w8, w8, #20
cset w8, hs
tbnz w8, #0, LBB7_11
b LBB7_9
LBB7_9: ; in Loop: Header=BB7_8 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w9, [sp, #52]
lsr w9, w9, #2
ldr w8, [x8, w9, uxtw #2]
ldr w10, [sp, #52]
mov w9, #3
and w10, w10, #0x3
subs w9, w9, w10
lsl w9, w9, #3
lsr w8, w8, w9
and w8, w8, #0xff
ldr w9, [sp, #52]
mov x10, x9
sub x9, x29, #36
strb w8, [x9, x10]
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_8 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB7_8
LBB7_11:
str wzr, [sp, #52]
b LBB7_12
LBB7_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
subs w8, w8, #20
cset w8, hs
tbnz w8, #0, LBB7_15
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_12 Depth=1
ldr w8, [sp, #52]
; kill: def $x8 killed $w8
sub x10, x29, #36
ldrb w8, [x10, x8]
asr w8, w8, #4
and w9, w8, #0xf
adrp x8, _hash_finish.zEncode@PAGE
add x8, x8, _hash_finish.zEncode@PAGEOFF
add x9, x8, w9, sxtw
ldrb w11, [x9]
ldr w9, [sp, #52]
lsl w9, w9, #1
mov x13, x9
add x9, sp, #67
mov x12, x9
add x12, x12, x13
strb w11, [x12]
ldr w11, [sp, #52]
; kill: def $x11 killed $w11
ldrb w10, [x10, x11]
and w10, w10, #0xf
add x8, x8, w10, sxtw
ldrb w8, [x8]
ldr w10, [sp, #52]
lsl w10, w10, #1
add w10, w10, #1
; kill: def $x10 killed $w10
add x9, x9, x10
strb w8, [x9]
b LBB7_14
LBB7_14: ; in Loop: Header=BB7_12 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB7_12
LBB7_15:
ldr w8, [sp, #52]
lsl w8, w8, #1
mov x9, x8
add x10, sp, #67
mov x8, x10
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #56]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.36@PAGE
add x0, x0, l_.str.36@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB7_17
b LBB7_16
LBB7_16:
bl ___stack_chk_fail
LBB7_17:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function db_vprepare
_db_vprepare: ; @db_vprepare
.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, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
bl _sqlite3_vmprintf
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _runtimeError
b LBB8_2
LBB8_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8, #16]
ldur x1, [x29, #-24]
mov w2, #-1
add x3, sp, #24
mov x4, #0
bl _sqlite3_prepare_v2
stur w0, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8, #16]
bl _sqlite3_errmsg
ldur x8, [x29, #-24]
mov x9, sp
str x0, [x9]
str x8, [x9, #8]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _runtimeError
b LBB8_4
LBB8_4:
ldur x0, [x29, #-24]
bl _sqlite3_free
ldr x0, [sp, #24]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function runtimeError
_runtimeError: ; @runtimeError
.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]
ldr x0, [x8]
adrp x8, _g@GOTPAGE
ldr x8, [x8, _g@GOTPAGEOFF]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _fprintf
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
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function hash_step
_hash_step: ; @hash_step
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x9, _g@GOTPAGE
ldr x9, [x9, _g@GOTPAGEOFF]
str x9, [sp] ; 8-byte Folded Spill
add x8, x9, #52
str x8, [sp, #8] ; 8-byte Folded Spill
add x8, x9, #24
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldr w8, [x9, #44]
stur w8, [x29, #-20]
ldur w10, [x29, #-12]
ldr w8, [x9, #44]
add w8, w8, w10, lsl #3
str w8, [x9, #44]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
ldr x9, [sp] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
lsr w8, w8, #29
add w10, w8, #1
ldr w8, [x9, #48]
add w8, w8, w10
str w8, [x9, #48]
b LBB10_2
LBB10_2:
ldur w8, [x29, #-20]
lsr w8, w8, #3
and w8, w8, #0x3f
stur w8, [x29, #-20]
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
add w8, w8, w9
subs w8, w8, #63
cset w8, ls
tbnz w8, #0, LBB10_8
b LBB10_3
LBB10_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
add x0, x8, x9
ldur x1, [x29, #-8]
ldur w9, [x29, #-20]
mov w8, #64
subs w8, w8, w9
stur w8, [x29, #-16]
mov x2, x8
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
add x1, x8, #52
bl _SHA1Transform
b LBB10_4
LBB10_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
add w8, w8, #63
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB10_7
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_4 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldur w9, [x29, #-16]
; kill: def $x9 killed $w9
add x1, x8, x9
bl _SHA1Transform
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_4 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #64
stur w8, [x29, #-16]
b LBB10_4
LBB10_7:
stur wzr, [x29, #-20]
b LBB10_9
LBB10_8:
stur wzr, [x29, #-16]
b LBB10_9
LBB10_9:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
add x0, x8, x9
ldur x8, [x29, #-8]
ldur w9, [x29, #-16]
; kill: def $x9 killed $w9
add x1, x8, x9
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
mov x2, x8
mov x3, #-1
bl ___memcpy_chk
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @SHA1Transform.one
_SHA1Transform.one:
.long 1 ; 0x1
.comm _g,120,3 ; @g
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "debug"
l_.str.1: ; @.str.1
.asciz "missing argument to %s"
l_.str.2: ; @.str.2
.asciz "help"
l_.str.3: ; @.str.3
.asciz "like"
l_.str.4: ; @.str.4
.asciz "only one --like allowed"
l_.str.5: ; @.str.5
.asciz "schema-only"
l_.str.6: ; @.str.6
.asciz "without-schema"
l_.str.7: ; @.str.7
.asciz "unknown option: %s"
l_.str.8: ; @.str.8
.asciz "no input files specified - nothing to do"
l_.str.9: ; @.str.9
.asciz "only one of --without-schema and --omit-schema allowed"
l_.str.10: ; @.str.10
.asciz "%"
.section __TEXT,__const
.p2align 2 ; @main.openFlags
_main.openFlags:
.long 66 ; 0x42
.section __TEXT,__cstring,cstring_literals
l_.str.11: ; @.str.11
.asciz "cannot open database file '%s'\n"
l_.str.12: ; @.str.12
.asciz "SELECT * FROM sqlite_master"
l_.str.13: ; @.str.13
.asciz "'%s' is not a valid SQLite database\n"
l_.str.14: ; @.str.14
.asciz "SELECT name FROM sqlite_master\n WHERE type='table' AND sql NOT LIKE 'CREATE VIRTUAL%%'\n AND name NOT LIKE 'sqlite_%%'\n AND name LIKE '%q'\n ORDER BY name COLLATE nocase;\n"
l_.str.15: ; @.str.15
.asciz "SELECT * FROM \"%w\""
l_.str.16: ; @.str.16
.asciz "SELECT type, name, tbl_name, sql FROM sqlite_master\n WHERE tbl_name LIKE '%q'\n ORDER BY name COLLATE nocase;\n"
l_.str.17: ; @.str.17
.asciz "%s: "
l_.str.18: ; @.str.18
.asciz "\n\"%s --help\" for more help\n"
l_.str.19: ; @.str.19
.asciz "Usage: %s [options] FILE ...\n"
l_.str.20: ; @.str.20
.asciz "Compute a SHA1 hash on the content of database FILE. System tables such as\nsqlite_stat1, sqlite_stat4, and sqlite_sequence are omitted from the hash.\nOptions:\n --debug N Set debugging flags to N (experts only)\n --like PATTERN Only hash tables whose name is LIKE the pattern\n --schema-only Only hash the schema - omit table content\n --without-schema Only hash table content - omit the schema\n"
l_.str.21: ; @.str.21
.asciz "out of memory"
l_.str.22: ; @.str.22
.asciz "SQL statement error: %s\n\"%s\""
l_.str.23: ; @.str.23
.asciz "\n"
l_.str.24: ; @.str.24
.asciz "0"
l_.str.25: ; @.str.25
.asciz "NULL\n"
l_.str.26: ; @.str.26
.asciz "1"
l_.str.27: ; @.str.27
.asciz "INT %s\n"
l_.str.28: ; @.str.28
.asciz "2"
l_.str.29: ; @.str.29
.asciz "FLOAT %s\n"
l_.str.30: ; @.str.30
.asciz "3"
l_.str.31: ; @.str.31
.asciz "TEXT '%s'\n"
l_.str.32: ; @.str.32
.asciz "4"
l_.str.33: ; @.str.33
.asciz "BLOB (%d bytes)\n"
.section __TEXT,__const
_hash_finish.zEncode: ; @hash_finish.zEncode
.asciz "0123456789abcdef"
.section __TEXT,__cstring,cstring_literals
l_.str.34: ; @.str.34
.asciz "\200"
.section __TEXT,__const
l_.str.35: ; @.str.35
.space 2
.section __TEXT,__cstring,cstring_literals
l_.str.36: ; @.str.36
.asciz "%s %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SHA1Transform ## -- Begin function SHA1Transform
.p2align 4, 0x90
_SHA1Transform: ## @SHA1Transform
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -104(%rbp)
movq %rsi, -112(%rbp)
leaq -96(%rbp), %rdi
movq -112(%rbp), %rsi
movl $64, %edx
callq _memcpy
movq -104(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -32(%rbp)
movq 8(%rax), %rcx
movq %rcx, -24(%rbp)
movl 16(%rax), %eax
movl %eax, -16(%rbp)
movzbl _SHA1Transform.one(%rip), %ecx
movl $1, %eax
cmpl %ecx, %eax
jne LBB0_2
## %bb.1:
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
movl -96(%rbp), %ecx
shll $24, %ecx
movl -96(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -96(%rbp), %edx
shll $8, %edx
movl -96(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -96(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
xorl -24(%rbp), %ecx
andl %ecx, %eax
xorl -24(%rbp), %eax
movl -92(%rbp), %ecx
shll $24, %ecx
movl -92(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -92(%rbp), %edx
shll $8, %edx
movl -92(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -92(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl -32(%rbp), %ecx
xorl -28(%rbp), %ecx
andl %ecx, %eax
xorl -28(%rbp), %eax
movl -88(%rbp), %ecx
shll $24, %ecx
movl -88(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -88(%rbp), %edx
shll $8, %edx
movl -88(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -88(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -16(%rbp), %ecx
xorl -32(%rbp), %ecx
andl %ecx, %eax
xorl -32(%rbp), %eax
movl -84(%rbp), %ecx
shll $24, %ecx
movl -84(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -84(%rbp), %edx
shll $8, %edx
movl -84(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -84(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
xorl -16(%rbp), %ecx
andl %ecx, %eax
xorl -16(%rbp), %eax
movl -80(%rbp), %ecx
shll $24, %ecx
movl -80(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -80(%rbp), %edx
shll $8, %edx
movl -80(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -80(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
movl -76(%rbp), %ecx
shll $24, %ecx
movl -76(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -76(%rbp), %edx
shll $8, %edx
movl -76(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -76(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
xorl -24(%rbp), %ecx
andl %ecx, %eax
xorl -24(%rbp), %eax
movl -72(%rbp), %ecx
shll $24, %ecx
movl -72(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -72(%rbp), %edx
shll $8, %edx
movl -72(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -72(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl -32(%rbp), %ecx
xorl -28(%rbp), %ecx
andl %ecx, %eax
xorl -28(%rbp), %eax
movl -68(%rbp), %ecx
shll $24, %ecx
movl -68(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -68(%rbp), %edx
shll $8, %edx
movl -68(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -68(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -16(%rbp), %ecx
xorl -32(%rbp), %ecx
andl %ecx, %eax
xorl -32(%rbp), %eax
movl -64(%rbp), %ecx
shll $24, %ecx
movl -64(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -64(%rbp), %edx
shll $8, %edx
movl -64(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -64(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
xorl -16(%rbp), %ecx
andl %ecx, %eax
xorl -16(%rbp), %eax
movl -60(%rbp), %ecx
shll $24, %ecx
movl -60(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -60(%rbp), %edx
shll $8, %edx
movl -60(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -60(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
movl -56(%rbp), %ecx
shll $24, %ecx
movl -56(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -56(%rbp), %edx
shll $8, %edx
movl -56(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -56(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
xorl -24(%rbp), %ecx
andl %ecx, %eax
xorl -24(%rbp), %eax
movl -52(%rbp), %ecx
shll $24, %ecx
movl -52(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -52(%rbp), %edx
shll $8, %edx
movl -52(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -52(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl -32(%rbp), %ecx
xorl -28(%rbp), %ecx
andl %ecx, %eax
xorl -28(%rbp), %eax
movl -48(%rbp), %ecx
shll $24, %ecx
movl -48(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -48(%rbp), %edx
shll $8, %edx
movl -48(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -48(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -16(%rbp), %ecx
xorl -32(%rbp), %ecx
andl %ecx, %eax
xorl -32(%rbp), %eax
movl -44(%rbp), %ecx
shll $24, %ecx
movl -44(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -44(%rbp), %edx
shll $8, %edx
movl -44(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -44(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
xorl -16(%rbp), %ecx
andl %ecx, %eax
xorl -16(%rbp), %eax
movl -40(%rbp), %ecx
shll $24, %ecx
movl -40(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -40(%rbp), %edx
shll $8, %edx
movl -40(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -40(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
movl -36(%rbp), %ecx
shll $24, %ecx
movl -36(%rbp), %edx
shrl $8, %edx
orl %edx, %ecx
andl $-16711936, %ecx ## imm = 0xFF00FF00
movl -36(%rbp), %edx
shll $8, %edx
movl -36(%rbp), %esi
shrl $24, %esi
orl %esi, %edx
andl $16711935, %edx ## imm = 0xFF00FF
orl %edx, %ecx
movl %ecx, -36(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
jmp LBB0_3
LBB0_2:
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
addl -96(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
xorl -24(%rbp), %ecx
andl %ecx, %eax
xorl -24(%rbp), %eax
addl -92(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl -32(%rbp), %ecx
xorl -28(%rbp), %ecx
andl %ecx, %eax
xorl -28(%rbp), %eax
addl -88(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -16(%rbp), %ecx
xorl -32(%rbp), %ecx
andl %ecx, %eax
xorl -32(%rbp), %eax
addl -84(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
xorl -16(%rbp), %ecx
andl %ecx, %eax
xorl -16(%rbp), %eax
addl -80(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
addl -76(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
xorl -24(%rbp), %ecx
andl %ecx, %eax
xorl -24(%rbp), %eax
addl -72(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl -32(%rbp), %ecx
xorl -28(%rbp), %ecx
andl %ecx, %eax
xorl -28(%rbp), %eax
addl -68(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -16(%rbp), %ecx
xorl -32(%rbp), %ecx
andl %ecx, %eax
xorl -32(%rbp), %eax
addl -64(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
xorl -16(%rbp), %ecx
andl %ecx, %eax
xorl -16(%rbp), %eax
addl -60(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
addl -56(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
xorl -24(%rbp), %ecx
andl %ecx, %eax
xorl -24(%rbp), %eax
addl -52(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl -32(%rbp), %ecx
xorl -28(%rbp), %ecx
andl %ecx, %eax
xorl -28(%rbp), %eax
addl -48(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -16(%rbp), %ecx
xorl -32(%rbp), %ecx
andl %ecx, %eax
xorl -32(%rbp), %eax
addl -44(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
xorl -16(%rbp), %ecx
andl %ecx, %eax
xorl -16(%rbp), %eax
addl -40(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
movl -24(%rbp), %ecx
xorl -20(%rbp), %ecx
andl %ecx, %eax
xorl -20(%rbp), %eax
addl -36(%rbp), %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
LBB0_3:
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
xorl -24(%rbp), %ecx
andl %ecx, %eax
xorl -24(%rbp), %eax
movl -44(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -96(%rbp), %ecx
shll $1, %ecx
movl -44(%rbp), %edx
xorl -64(%rbp), %edx
xorl -88(%rbp), %edx
xorl -96(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -96(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
movl -32(%rbp), %ecx
xorl -28(%rbp), %ecx
andl %ecx, %eax
xorl -28(%rbp), %eax
movl -40(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -92(%rbp), %ecx
shll $1, %ecx
movl -40(%rbp), %edx
xorl -60(%rbp), %edx
xorl -84(%rbp), %edx
xorl -92(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -92(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
movl -16(%rbp), %ecx
xorl -32(%rbp), %ecx
andl %ecx, %eax
xorl -32(%rbp), %eax
movl -36(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -88(%rbp), %ecx
shll $1, %ecx
movl -36(%rbp), %edx
xorl -56(%rbp), %edx
xorl -80(%rbp), %edx
xorl -88(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -88(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
xorl -16(%rbp), %ecx
andl %ecx, %eax
xorl -16(%rbp), %eax
movl -96(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -84(%rbp), %ecx
shll $1, %ecx
movl -96(%rbp), %edx
xorl -52(%rbp), %edx
xorl -76(%rbp), %edx
xorl -84(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -84(%rbp)
addl %ecx, %eax
addl $1518500249, %eax ## imm = 0x5A827999
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -92(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -80(%rbp), %ecx
shll $1, %ecx
movl -92(%rbp), %edx
xorl -48(%rbp), %edx
xorl -72(%rbp), %edx
xorl -80(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -80(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -88(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -76(%rbp), %ecx
shll $1, %ecx
movl -88(%rbp), %edx
xorl -44(%rbp), %edx
xorl -68(%rbp), %edx
xorl -76(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -76(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -84(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -72(%rbp), %ecx
shll $1, %ecx
movl -84(%rbp), %edx
xorl -40(%rbp), %edx
xorl -64(%rbp), %edx
xorl -72(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -72(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -80(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -68(%rbp), %ecx
shll $1, %ecx
movl -80(%rbp), %edx
xorl -36(%rbp), %edx
xorl -60(%rbp), %edx
xorl -68(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -68(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -76(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -64(%rbp), %ecx
shll $1, %ecx
movl -76(%rbp), %edx
xorl -96(%rbp), %edx
xorl -56(%rbp), %edx
xorl -64(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -64(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -72(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -60(%rbp), %ecx
shll $1, %ecx
movl -72(%rbp), %edx
xorl -92(%rbp), %edx
xorl -52(%rbp), %edx
xorl -60(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -60(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -68(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -56(%rbp), %ecx
shll $1, %ecx
movl -68(%rbp), %edx
xorl -88(%rbp), %edx
xorl -48(%rbp), %edx
xorl -56(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -56(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -64(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -52(%rbp), %ecx
shll $1, %ecx
movl -64(%rbp), %edx
xorl -84(%rbp), %edx
xorl -44(%rbp), %edx
xorl -52(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -52(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -60(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -48(%rbp), %ecx
shll $1, %ecx
movl -60(%rbp), %edx
xorl -80(%rbp), %edx
xorl -40(%rbp), %edx
xorl -48(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -48(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -56(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -44(%rbp), %ecx
shll $1, %ecx
movl -56(%rbp), %edx
xorl -76(%rbp), %edx
xorl -36(%rbp), %edx
xorl -44(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -44(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -52(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -40(%rbp), %ecx
shll $1, %ecx
movl -52(%rbp), %edx
xorl -72(%rbp), %edx
xorl -96(%rbp), %edx
xorl -40(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -40(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -48(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -36(%rbp), %ecx
shll $1, %ecx
movl -48(%rbp), %edx
xorl -68(%rbp), %edx
xorl -92(%rbp), %edx
xorl -36(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -36(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -44(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -96(%rbp), %ecx
shll $1, %ecx
movl -44(%rbp), %edx
xorl -64(%rbp), %edx
xorl -88(%rbp), %edx
xorl -96(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -96(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -40(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -92(%rbp), %ecx
shll $1, %ecx
movl -40(%rbp), %edx
xorl -60(%rbp), %edx
xorl -84(%rbp), %edx
xorl -92(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -92(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -36(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -88(%rbp), %ecx
shll $1, %ecx
movl -36(%rbp), %edx
xorl -56(%rbp), %edx
xorl -80(%rbp), %edx
xorl -88(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -88(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -96(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -84(%rbp), %ecx
shll $1, %ecx
movl -96(%rbp), %edx
xorl -52(%rbp), %edx
xorl -76(%rbp), %edx
xorl -84(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -84(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -92(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -80(%rbp), %ecx
shll $1, %ecx
movl -92(%rbp), %edx
xorl -48(%rbp), %edx
xorl -72(%rbp), %edx
xorl -80(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -80(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -88(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -76(%rbp), %ecx
shll $1, %ecx
movl -88(%rbp), %edx
xorl -44(%rbp), %edx
xorl -68(%rbp), %edx
xorl -76(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -76(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -84(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -72(%rbp), %ecx
shll $1, %ecx
movl -84(%rbp), %edx
xorl -40(%rbp), %edx
xorl -64(%rbp), %edx
xorl -72(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -72(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -80(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -68(%rbp), %ecx
shll $1, %ecx
movl -80(%rbp), %edx
xorl -36(%rbp), %edx
xorl -60(%rbp), %edx
xorl -68(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -68(%rbp)
addl %ecx, %eax
addl $1859775393, %eax ## imm = 0x6ED9EBA1
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
orl -24(%rbp), %eax
andl -20(%rbp), %eax
movl -28(%rbp), %ecx
andl -24(%rbp), %ecx
orl %ecx, %eax
movl -76(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -64(%rbp), %ecx
shll $1, %ecx
movl -76(%rbp), %edx
xorl -96(%rbp), %edx
xorl -56(%rbp), %edx
xorl -64(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -64(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
orl -28(%rbp), %eax
andl -24(%rbp), %eax
movl -32(%rbp), %ecx
andl -28(%rbp), %ecx
orl %ecx, %eax
movl -72(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -60(%rbp), %ecx
shll $1, %ecx
movl -72(%rbp), %edx
xorl -92(%rbp), %edx
xorl -52(%rbp), %edx
xorl -60(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -60(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
orl -32(%rbp), %eax
andl -28(%rbp), %eax
movl -16(%rbp), %ecx
andl -32(%rbp), %ecx
orl %ecx, %eax
movl -68(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -56(%rbp), %ecx
shll $1, %ecx
movl -68(%rbp), %edx
xorl -88(%rbp), %edx
xorl -48(%rbp), %edx
xorl -56(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -56(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
orl -16(%rbp), %eax
andl -32(%rbp), %eax
movl -20(%rbp), %ecx
andl -16(%rbp), %ecx
orl %ecx, %eax
movl -64(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -52(%rbp), %ecx
shll $1, %ecx
movl -64(%rbp), %edx
xorl -84(%rbp), %edx
xorl -44(%rbp), %edx
xorl -52(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -52(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
orl -20(%rbp), %eax
andl -16(%rbp), %eax
movl -24(%rbp), %ecx
andl -20(%rbp), %ecx
orl %ecx, %eax
movl -60(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -48(%rbp), %ecx
shll $1, %ecx
movl -60(%rbp), %edx
xorl -80(%rbp), %edx
xorl -40(%rbp), %edx
xorl -48(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -48(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
orl -24(%rbp), %eax
andl -20(%rbp), %eax
movl -28(%rbp), %ecx
andl -24(%rbp), %ecx
orl %ecx, %eax
movl -56(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -44(%rbp), %ecx
shll $1, %ecx
movl -56(%rbp), %edx
xorl -76(%rbp), %edx
xorl -36(%rbp), %edx
xorl -44(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -44(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
orl -28(%rbp), %eax
andl -24(%rbp), %eax
movl -32(%rbp), %ecx
andl -28(%rbp), %ecx
orl %ecx, %eax
movl -52(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -40(%rbp), %ecx
shll $1, %ecx
movl -52(%rbp), %edx
xorl -72(%rbp), %edx
xorl -96(%rbp), %edx
xorl -40(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -40(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
orl -32(%rbp), %eax
andl -28(%rbp), %eax
movl -16(%rbp), %ecx
andl -32(%rbp), %ecx
orl %ecx, %eax
movl -48(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -36(%rbp), %ecx
shll $1, %ecx
movl -48(%rbp), %edx
xorl -68(%rbp), %edx
xorl -92(%rbp), %edx
xorl -36(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -36(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
orl -16(%rbp), %eax
andl -32(%rbp), %eax
movl -20(%rbp), %ecx
andl -16(%rbp), %ecx
orl %ecx, %eax
movl -44(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -96(%rbp), %ecx
shll $1, %ecx
movl -44(%rbp), %edx
xorl -64(%rbp), %edx
xorl -88(%rbp), %edx
xorl -96(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -96(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
orl -20(%rbp), %eax
andl -16(%rbp), %eax
movl -24(%rbp), %ecx
andl -20(%rbp), %ecx
orl %ecx, %eax
movl -40(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -92(%rbp), %ecx
shll $1, %ecx
movl -40(%rbp), %edx
xorl -60(%rbp), %edx
xorl -84(%rbp), %edx
xorl -92(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -92(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
orl -24(%rbp), %eax
andl -20(%rbp), %eax
movl -28(%rbp), %ecx
andl -24(%rbp), %ecx
orl %ecx, %eax
movl -36(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -88(%rbp), %ecx
shll $1, %ecx
movl -36(%rbp), %edx
xorl -56(%rbp), %edx
xorl -80(%rbp), %edx
xorl -88(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -88(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
orl -28(%rbp), %eax
andl -24(%rbp), %eax
movl -32(%rbp), %ecx
andl -28(%rbp), %ecx
orl %ecx, %eax
movl -96(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -84(%rbp), %ecx
shll $1, %ecx
movl -96(%rbp), %edx
xorl -52(%rbp), %edx
xorl -76(%rbp), %edx
xorl -84(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -84(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
orl -32(%rbp), %eax
andl -28(%rbp), %eax
movl -16(%rbp), %ecx
andl -32(%rbp), %ecx
orl %ecx, %eax
movl -92(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -80(%rbp), %ecx
shll $1, %ecx
movl -92(%rbp), %edx
xorl -48(%rbp), %edx
xorl -72(%rbp), %edx
xorl -80(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -80(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
orl -16(%rbp), %eax
andl -32(%rbp), %eax
movl -20(%rbp), %ecx
andl -16(%rbp), %ecx
orl %ecx, %eax
movl -88(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -76(%rbp), %ecx
shll $1, %ecx
movl -88(%rbp), %edx
xorl -44(%rbp), %edx
xorl -68(%rbp), %edx
xorl -76(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -76(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
orl -20(%rbp), %eax
andl -16(%rbp), %eax
movl -24(%rbp), %ecx
andl -20(%rbp), %ecx
orl %ecx, %eax
movl -84(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -72(%rbp), %ecx
shll $1, %ecx
movl -84(%rbp), %edx
xorl -40(%rbp), %edx
xorl -64(%rbp), %edx
xorl -72(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -72(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
orl -24(%rbp), %eax
andl -20(%rbp), %eax
movl -28(%rbp), %ecx
andl -24(%rbp), %ecx
orl %ecx, %eax
movl -80(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -68(%rbp), %ecx
shll $1, %ecx
movl -80(%rbp), %edx
xorl -36(%rbp), %edx
xorl -60(%rbp), %edx
xorl -68(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -68(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
orl -28(%rbp), %eax
andl -24(%rbp), %eax
movl -32(%rbp), %ecx
andl -28(%rbp), %ecx
orl %ecx, %eax
movl -76(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -64(%rbp), %ecx
shll $1, %ecx
movl -76(%rbp), %edx
xorl -96(%rbp), %edx
xorl -56(%rbp), %edx
xorl -64(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -64(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
orl -32(%rbp), %eax
andl -28(%rbp), %eax
movl -16(%rbp), %ecx
andl -32(%rbp), %ecx
orl %ecx, %eax
movl -72(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -60(%rbp), %ecx
shll $1, %ecx
movl -72(%rbp), %edx
xorl -92(%rbp), %edx
xorl -52(%rbp), %edx
xorl -60(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -60(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
orl -16(%rbp), %eax
andl -32(%rbp), %eax
movl -20(%rbp), %ecx
andl -16(%rbp), %ecx
orl %ecx, %eax
movl -68(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -56(%rbp), %ecx
shll $1, %ecx
movl -68(%rbp), %edx
xorl -88(%rbp), %edx
xorl -48(%rbp), %edx
xorl -56(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -56(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
orl -20(%rbp), %eax
andl -16(%rbp), %eax
movl -24(%rbp), %ecx
andl -20(%rbp), %ecx
orl %ecx, %eax
movl -64(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -52(%rbp), %ecx
shll $1, %ecx
movl -64(%rbp), %edx
xorl -84(%rbp), %edx
xorl -44(%rbp), %edx
xorl -52(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -52(%rbp)
addl %ecx, %eax
addl $-1894007588, %eax ## imm = 0x8F1BBCDC
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -60(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -48(%rbp), %ecx
shll $1, %ecx
movl -60(%rbp), %edx
xorl -80(%rbp), %edx
xorl -40(%rbp), %edx
xorl -48(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -48(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -56(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -44(%rbp), %ecx
shll $1, %ecx
movl -56(%rbp), %edx
xorl -76(%rbp), %edx
xorl -36(%rbp), %edx
xorl -44(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -44(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -52(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -40(%rbp), %ecx
shll $1, %ecx
movl -52(%rbp), %edx
xorl -72(%rbp), %edx
xorl -96(%rbp), %edx
xorl -40(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -40(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -48(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -36(%rbp), %ecx
shll $1, %ecx
movl -48(%rbp), %edx
xorl -68(%rbp), %edx
xorl -92(%rbp), %edx
xorl -36(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -36(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -44(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -96(%rbp), %ecx
shll $1, %ecx
movl -44(%rbp), %edx
xorl -64(%rbp), %edx
xorl -88(%rbp), %edx
xorl -96(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -96(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -40(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -92(%rbp), %ecx
shll $1, %ecx
movl -40(%rbp), %edx
xorl -60(%rbp), %edx
xorl -84(%rbp), %edx
xorl -92(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -92(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -36(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -88(%rbp), %ecx
shll $1, %ecx
movl -36(%rbp), %edx
xorl -56(%rbp), %edx
xorl -80(%rbp), %edx
xorl -88(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -88(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -96(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -84(%rbp), %ecx
shll $1, %ecx
movl -96(%rbp), %edx
xorl -52(%rbp), %edx
xorl -76(%rbp), %edx
xorl -84(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -84(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -92(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -80(%rbp), %ecx
shll $1, %ecx
movl -92(%rbp), %edx
xorl -48(%rbp), %edx
xorl -72(%rbp), %edx
xorl -80(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -80(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -88(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -76(%rbp), %ecx
shll $1, %ecx
movl -88(%rbp), %edx
xorl -44(%rbp), %edx
xorl -68(%rbp), %edx
xorl -76(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -76(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -84(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -64(%rbp), %ecx
xorl -72(%rbp), %ecx
shll $1, %ecx
movl -84(%rbp), %edx
xorl -40(%rbp), %edx
xorl -64(%rbp), %edx
xorl -72(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -72(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -80(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -60(%rbp), %ecx
xorl -68(%rbp), %ecx
shll $1, %ecx
movl -80(%rbp), %edx
xorl -36(%rbp), %edx
xorl -60(%rbp), %edx
xorl -68(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -68(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -76(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -56(%rbp), %ecx
xorl -64(%rbp), %ecx
shll $1, %ecx
movl -76(%rbp), %edx
xorl -96(%rbp), %edx
xorl -56(%rbp), %edx
xorl -64(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -64(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -72(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -52(%rbp), %ecx
xorl -60(%rbp), %ecx
shll $1, %ecx
movl -72(%rbp), %edx
xorl -92(%rbp), %edx
xorl -52(%rbp), %edx
xorl -60(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -60(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -68(%rbp), %ecx
xorl -88(%rbp), %ecx
xorl -48(%rbp), %ecx
xorl -56(%rbp), %ecx
shll $1, %ecx
movl -68(%rbp), %edx
xorl -88(%rbp), %edx
xorl -48(%rbp), %edx
xorl -56(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -56(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
xorl -24(%rbp), %eax
xorl -20(%rbp), %eax
movl -64(%rbp), %ecx
xorl -84(%rbp), %ecx
xorl -44(%rbp), %ecx
xorl -52(%rbp), %ecx
shll $1, %ecx
movl -64(%rbp), %edx
xorl -84(%rbp), %edx
xorl -44(%rbp), %edx
xorl -52(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -52(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -32(%rbp), %ecx
shll $5, %ecx
movl -32(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
shll $30, %eax
movl -28(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
xorl -28(%rbp), %eax
xorl -24(%rbp), %eax
movl -60(%rbp), %ecx
xorl -80(%rbp), %ecx
xorl -40(%rbp), %ecx
xorl -48(%rbp), %ecx
shll $1, %ecx
movl -60(%rbp), %edx
xorl -80(%rbp), %edx
xorl -40(%rbp), %edx
xorl -48(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -48(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -16(%rbp), %ecx
shll $5, %ecx
movl -16(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl -32(%rbp), %eax
shll $30, %eax
movl -32(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -32(%rbp)
movl -16(%rbp), %eax
xorl -32(%rbp), %eax
xorl -28(%rbp), %eax
movl -56(%rbp), %ecx
xorl -76(%rbp), %ecx
xorl -36(%rbp), %ecx
xorl -44(%rbp), %ecx
shll $1, %ecx
movl -56(%rbp), %edx
xorl -76(%rbp), %edx
xorl -36(%rbp), %edx
xorl -44(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -44(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -20(%rbp), %ecx
shll $5, %ecx
movl -20(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
shll $30, %eax
movl -16(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
xorl -16(%rbp), %eax
xorl -32(%rbp), %eax
movl -52(%rbp), %ecx
xorl -72(%rbp), %ecx
xorl -96(%rbp), %ecx
xorl -40(%rbp), %ecx
shll $1, %ecx
movl -52(%rbp), %edx
xorl -72(%rbp), %edx
xorl -96(%rbp), %edx
xorl -40(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -40(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -24(%rbp), %ecx
shll $5, %ecx
movl -24(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
shll $30, %eax
movl -20(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
xorl -20(%rbp), %eax
xorl -16(%rbp), %eax
movl -48(%rbp), %ecx
xorl -68(%rbp), %ecx
xorl -92(%rbp), %ecx
xorl -36(%rbp), %ecx
shll $1, %ecx
movl -48(%rbp), %edx
xorl -68(%rbp), %edx
xorl -92(%rbp), %edx
xorl -36(%rbp), %edx
shrl $31, %edx
orl %edx, %ecx
movl %ecx, -36(%rbp)
addl %ecx, %eax
addl $-899497514, %eax ## imm = 0xCA62C1D6
movl -28(%rbp), %ecx
shll $5, %ecx
movl -28(%rbp), %edx
shrl $27, %edx
orl %edx, %ecx
addl %ecx, %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
shll $30, %eax
movl -24(%rbp), %ecx
shrl $2, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -32(%rbp), %ecx
movq -104(%rbp), %rax
addl (%rax), %ecx
movl %ecx, (%rax)
movl -28(%rbp), %ecx
movq -104(%rbp), %rax
addl 4(%rax), %ecx
movl %ecx, 4(%rax)
movl -24(%rbp), %ecx
movq -104(%rbp), %rax
addl 8(%rax), %ecx
movl %ecx, 8(%rax)
movl -20(%rbp), %ecx
movq -104(%rbp), %rax
addl 12(%rax), %ecx
movl %ecx, 12(%rax)
movl -16(%rbp), %ecx
movq -104(%rbp), %rax
addl 16(%rax), %ecx
movl %ecx, 16(%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
addq $112, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq $0, -24(%rbp)
movq $0, -56(%rbp)
movl $0, -60(%rbp)
movl $0, -64(%rbp)
movl $0, -68(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rcx
movq _g@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $1, %edi
movb $0, %al
callq _sqlite3_config
movl $1, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_32
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB1_27
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rax
addq $1, %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rax
addq $1, %rax
movq %rax, -80(%rbp)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_9
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
movl -8(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB1_8
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _cmdlineError
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movl %ecx, -28(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _strtol
movl %eax, %ecx
movq _g@GOTPCREL(%rip), %rax
movl %ecx, 8(%rax)
jmp LBB1_26
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_11
## %bb.10:
callq _showHelp
movl $0, -4(%rbp)
jmp LBB1_56
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_17
## %bb.12: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
movl -8(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB1_14
## %bb.13: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _cmdlineError
LBB1_14: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -56(%rbp)
je LBB1_16
## %bb.15: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _cmdlineError
LBB1_16: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movl %ecx, -28(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -56(%rbp)
jmp LBB1_24
LBB1_17: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_19
## %bb.18: ## in Loop: Header=BB1_1 Depth=1
movl $1, -64(%rbp)
jmp LBB1_23
LBB1_19: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_21
## %bb.20: ## in Loop: Header=BB1_1 Depth=1
movl $1, -60(%rbp)
jmp LBB1_22
LBB1_21: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _cmdlineError
LBB1_22: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_23
LBB1_23: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_24
LBB1_24: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_25
LBB1_25: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_26
LBB1_26: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_30
LBB1_27: ## in Loop: Header=BB1_1 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
movl -68(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB1_29
## %bb.28: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -16(%rbp), %rax
movslq -68(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB1_29: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_30
LBB1_30: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_31
LBB1_31: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_32:
cmpl $0, -68(%rbp)
jne LBB1_34
## %bb.33:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _cmdlineError
LBB1_34:
cmpl $0, -60(%rbp)
je LBB1_37
## %bb.35:
cmpl $0, -64(%rbp)
je LBB1_37
## %bb.36:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _cmdlineError
LBB1_37:
cmpq $0, -56(%rbp)
jne LBB1_39
## %bb.38:
leaq L_.str.10(%rip), %rax
movq %rax, -56(%rbp)
LBB1_39:
movl $1, -28(%rbp)
LBB1_40: ## =>This Loop Header: Depth=1
## Child Loop BB1_48 Depth 2
movl -28(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB1_55
## %bb.41: ## in Loop: Header=BB1_40 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movq _g@GOTPCREL(%rip), %rsi
addq $16, %rsi
movl $66, %edx
xorl %eax, %eax
movl %eax, %ecx
callq _sqlite3_open_v2
movl %eax, -32(%rbp)
cmpl $0, -32(%rbp)
je LBB1_43
## %bb.42: ## in Loop: Header=BB1_40 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rdx
leaq L_.str.11(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB1_54
LBB1_43: ## in Loop: Header=BB1_40 Depth=1
movq _g@GOTPCREL(%rip), %rax
movq 16(%rax), %rdi
leaq L_.str.12(%rip), %rsi
xorl %eax, %eax
movl %eax, %ecx
leaq -40(%rbp), %r8
movq %rcx, %rdx
callq _sqlite3_exec
movl %eax, -32(%rbp)
cmpl $0, -32(%rbp)
jne LBB1_45
## %bb.44: ## in Loop: Header=BB1_40 Depth=1
cmpq $0, -40(%rbp)
je LBB1_46
LBB1_45: ## in Loop: Header=BB1_40 Depth=1
movq _g@GOTPCREL(%rip), %rax
movq 16(%rax), %rdi
callq _sqlite3_close
movq _g@GOTPCREL(%rip), %rax
movq $0, 16(%rax)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rdx
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB1_54
LBB1_46: ## in Loop: Header=BB1_40 Depth=1
callq _hash_init
cmpl $0, -64(%rbp)
jne LBB1_51
## %bb.47: ## in Loop: Header=BB1_40 Depth=1
movq -56(%rbp), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _db_prepare
movq %rax, -48(%rbp)
LBB1_48: ## Parent Loop BB1_40 Depth=1
## => This Inner Loop Header: Depth=2
movq -48(%rbp), %rdi
callq _sqlite3_step
movl %eax, %ecx
movl $100, %eax
cmpl %ecx, %eax
jne LBB1_50
## %bb.49: ## in Loop: Header=BB1_48 Depth=2
movq -48(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_column_text
movq %rax, %rsi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _hash_one_query
jmp LBB1_48
LBB1_50: ## in Loop: Header=BB1_40 Depth=1
movq -48(%rbp), %rdi
callq _sqlite3_finalize
LBB1_51: ## in Loop: Header=BB1_40 Depth=1
cmpl $0, -60(%rbp)
jne LBB1_53
## %bb.52: ## in Loop: Header=BB1_40 Depth=1
movq -56(%rbp), %rsi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _hash_one_query
LBB1_53: ## in Loop: Header=BB1_40 Depth=1
movq -24(%rbp), %rdi
callq _hash_finish
movq _g@GOTPCREL(%rip), %rax
movq 16(%rax), %rdi
callq _sqlite3_close
LBB1_54: ## in Loop: Header=BB1_40 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_40
LBB1_55:
movl $0, -4(%rbp)
LBB1_56:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function cmdlineError
_cmdlineError: ## @cmdlineError
.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 LBB2_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)
LBB2_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)
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -232(%rbp) ## 8-byte Spill
movq (%rax), %rdi
movq _g@GOTPCREL(%rip), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
movq (%rax), %rdx
leaq L_.str.17(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -209(%rbp) ## 1-byte Spill
callq _fprintf
## kill: def $ecx killed $eax
movq -232(%rbp), %rax ## 8-byte Reload
leaq -208(%rbp), %rcx
movq %rcx, -16(%rbp)
leaq 16(%rbp), %rcx
movq %rcx, -24(%rbp)
movl $48, -28(%rbp)
movl $8, -32(%rbp)
movq (%rax), %rdi
movq -8(%rbp), %rsi
leaq -32(%rbp), %rdx
callq _vfprintf
movq -232(%rbp), %rdx ## 8-byte Reload
movq -224(%rbp), %rcx ## 8-byte Reload
## kill: def $esi killed $eax
movb -209(%rbp), %al ## 1-byte Reload
movq (%rdx), %rdi
movq (%rcx), %rdx
leaq L_.str.18(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function showHelp
_showHelp: ## @showHelp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _g@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function hash_init
_hash_init: ## @hash_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _g@GOTPCREL(%rip), %rax
movl $1732584193, 24(%rax) ## imm = 0x67452301
movq _g@GOTPCREL(%rip), %rax
movl $-271733879, 28(%rax) ## imm = 0xEFCDAB89
movq _g@GOTPCREL(%rip), %rax
movl $-1732584194, 32(%rax) ## imm = 0x98BADCFE
movq _g@GOTPCREL(%rip), %rax
movl $271733878, 36(%rax) ## imm = 0x10325476
movq _g@GOTPCREL(%rip), %rax
movl $-1009589776, 40(%rax) ## imm = 0xC3D2E1F0
movq _g@GOTPCREL(%rip), %rax
movl $0, 48(%rax)
movq _g@GOTPCREL(%rip), %rax
movl $0, 44(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function db_prepare
_db_prepare: ## @db_prepare
.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_4
## %bb.3:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB5_4:
movq %r9, -184(%rbp)
movq %r8, -192(%rbp)
movq %rcx, -200(%rbp)
movq %rdx, -208(%rbp)
movq %rsi, -216(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -40(%rbp)
leaq -32(%rbp), %rax
leaq -224(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movq -40(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _db_vprepare
movq %rax, -48(%rbp)
leaq -32(%rbp), %rax
movq -48(%rbp), %rax
movq %rax, -232(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_2
## %bb.1:
movq -232(%rbp), %rax ## 8-byte Reload
addq $240, %rsp
popq %rbp
retq
LBB5_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function hash_one_query
_hash_one_query: ## @hash_one_query
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $368, %rsp ## imm = 0x170
testb %al, %al
je LBB6_36
## %bb.35:
movaps %xmm0, -288(%rbp)
movaps %xmm1, -272(%rbp)
movaps %xmm2, -256(%rbp)
movaps %xmm3, -240(%rbp)
movaps %xmm4, -224(%rbp)
movaps %xmm5, -208(%rbp)
movaps %xmm6, -192(%rbp)
movaps %xmm7, -176(%rbp)
LBB6_36:
movq %r9, -296(%rbp)
movq %r8, -304(%rbp)
movq %rcx, -312(%rbp)
movq %rdx, -320(%rbp)
movq %rsi, -328(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -56(%rbp)
leaq -32(%rbp), %rax
leaq -336(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movq -56(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _db_vprepare
movq %rax, -64(%rbp)
leaq -32(%rbp), %rax
movq -64(%rbp), %rdi
callq _sqlite3_column_count
movl %eax, -68(%rbp)
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_3 Depth 2
## Child Loop BB6_16 Depth 3
## Child Loop BB6_9 Depth 3
movq -64(%rbp), %rdi
callq _sqlite3_step
movl %eax, %ecx
movl $100, %eax
cmpl %ecx, %eax
jne LBB6_31
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movl $0, -72(%rbp)
LBB6_3: ## Parent Loop BB6_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB6_16 Depth 3
## Child Loop BB6_9 Depth 3
movl -72(%rbp), %eax
cmpl -68(%rbp), %eax
jge LBB6_30
## %bb.4: ## in Loop: Header=BB6_3 Depth=2
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_type
decl %eax
movl %eax, %ecx
movq %rcx, -344(%rbp) ## 8-byte Spill
subl $4, %eax
ja LBB6_28
## %bb.34: ## in Loop: Header=BB6_3 Depth=2
movq -344(%rbp), %rax ## 8-byte Reload
leaq LJTI6_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB6_5: ## in Loop: Header=BB6_3 Depth=2
leaq L_.str.24(%rip), %rdi
movl $1, %esi
callq _hash_step
movq _g@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB6_7
## %bb.6: ## in Loop: Header=BB6_3 Depth=2
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.25(%rip), %rsi
movb $0, %al
callq _fprintf
LBB6_7: ## in Loop: Header=BB6_3 Depth=2
jmp LBB6_28
LBB6_8: ## in Loop: Header=BB6_3 Depth=2
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_int64
movq %rax, -96(%rbp)
movq -96(%rbp), %rax
movq %rax, -80(%rbp)
movl $7, -84(%rbp)
LBB6_9: ## Parent Loop BB6_1 Depth=1
## Parent Loop BB6_3 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $0, -84(%rbp)
jl LBB6_12
## %bb.10: ## in Loop: Header=BB6_9 Depth=3
movq -80(%rbp), %rax
andq $255, %rax
movb %al, %cl
movslq -84(%rbp), %rax
movb %cl, -40(%rbp,%rax)
movq -80(%rbp), %rax
shrq $8, %rax
movq %rax, -80(%rbp)
## %bb.11: ## in Loop: Header=BB6_9 Depth=3
movl -84(%rbp), %eax
addl $-1, %eax
movl %eax, -84(%rbp)
jmp LBB6_9
LBB6_12: ## in Loop: Header=BB6_3 Depth=2
leaq L_.str.26(%rip), %rdi
movl $1, %esi
callq _hash_step
leaq -40(%rbp), %rdi
movl $8, %esi
callq _hash_step
movq _g@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB6_14
## %bb.13: ## in Loop: Header=BB6_3 Depth=2
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -352(%rbp) ## 8-byte Spill
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_text
movq -352(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.27(%rip), %rsi
movb $0, %al
callq _fprintf
LBB6_14: ## in Loop: Header=BB6_3 Depth=2
jmp LBB6_28
LBB6_15: ## in Loop: Header=BB6_3 Depth=2
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_double
movsd %xmm0, -120(%rbp)
movq -120(%rbp), %rax
movq %rax, -104(%rbp)
movl $7, -108(%rbp)
LBB6_16: ## Parent Loop BB6_1 Depth=1
## Parent Loop BB6_3 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $0, -108(%rbp)
jl LBB6_19
## %bb.17: ## in Loop: Header=BB6_16 Depth=3
movq -104(%rbp), %rax
andq $255, %rax
movb %al, %cl
movslq -108(%rbp), %rax
movb %cl, -48(%rbp,%rax)
movq -104(%rbp), %rax
shrq $8, %rax
movq %rax, -104(%rbp)
## %bb.18: ## in Loop: Header=BB6_16 Depth=3
movl -108(%rbp), %eax
addl $-1, %eax
movl %eax, -108(%rbp)
jmp LBB6_16
LBB6_19: ## in Loop: Header=BB6_3 Depth=2
leaq L_.str.28(%rip), %rdi
movl $1, %esi
callq _hash_step
leaq -48(%rbp), %rdi
movl $8, %esi
callq _hash_step
movq _g@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB6_21
## %bb.20: ## in Loop: Header=BB6_3 Depth=2
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -360(%rbp) ## 8-byte Spill
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_text
movq -360(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.29(%rip), %rsi
movb $0, %al
callq _fprintf
LBB6_21: ## in Loop: Header=BB6_3 Depth=2
jmp LBB6_28
LBB6_22: ## in Loop: Header=BB6_3 Depth=2
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_bytes
movl %eax, -124(%rbp)
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_text
movq %rax, -136(%rbp)
leaq L_.str.30(%rip), %rdi
movl $1, %esi
callq _hash_step
movq -136(%rbp), %rdi
movl -124(%rbp), %esi
callq _hash_step
movq _g@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB6_24
## %bb.23: ## in Loop: Header=BB6_3 Depth=2
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -368(%rbp) ## 8-byte Spill
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_text
movq -368(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.31(%rip), %rsi
movb $0, %al
callq _fprintf
LBB6_24: ## in Loop: Header=BB6_3 Depth=2
jmp LBB6_28
LBB6_25: ## in Loop: Header=BB6_3 Depth=2
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_bytes
movl %eax, -140(%rbp)
movq -64(%rbp), %rdi
movl -72(%rbp), %esi
callq _sqlite3_column_blob
movq %rax, -152(%rbp)
leaq L_.str.32(%rip), %rdi
movl $1, %esi
callq _hash_step
movq -152(%rbp), %rdi
movl -140(%rbp), %esi
callq _hash_step
movq _g@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB6_27
## %bb.26: ## in Loop: Header=BB6_3 Depth=2
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -140(%rbp), %edx
leaq L_.str.33(%rip), %rsi
movb $0, %al
callq _fprintf
LBB6_27: ## in Loop: Header=BB6_3 Depth=2
jmp LBB6_28
LBB6_28: ## in Loop: Header=BB6_3 Depth=2
jmp LBB6_29
LBB6_29: ## in Loop: Header=BB6_3 Depth=2
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB6_3
LBB6_30: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_1
LBB6_31:
movq -64(%rbp), %rdi
callq _sqlite3_finalize
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_33
## %bb.32:
addq $368, %rsp ## imm = 0x170
popq %rbp
retq
LBB6_33:
callq ___stack_chk_fail
ud2
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L6_0_set_8, LBB6_8-LJTI6_0
.set L6_0_set_15, LBB6_15-LJTI6_0
.set L6_0_set_22, LBB6_22-LJTI6_0
.set L6_0_set_25, LBB6_25-LJTI6_0
.set L6_0_set_5, LBB6_5-LJTI6_0
LJTI6_0:
.long L6_0_set_8
.long L6_0_set_15
.long L6_0_set_22
.long L6_0_set_25
.long L6_0_set_5
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function hash_finish
_hash_finish: ## @hash_finish
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -104(%rbp)
movl $0, -108(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -108(%rbp)
jae LBB7_4
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movl -108(%rbp), %edx
movl $1, %eax
xorl %ecx, %ecx
cmpl $4, %edx
cmovael %ecx, %eax
movslq %eax, %rcx
movq _g@GOTPCREL(%rip), %rax
movl 44(%rax,%rcx,4), %eax
movl -108(%rbp), %edx
andl $3, %edx
movl $3, %ecx
subl %edx, %ecx
shll $3, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
andl $255, %eax
movb %al, %cl
movl -108(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -16(%rbp,%rax)
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB7_1
LBB7_4:
leaq L_.str.34(%rip), %rdi
movl $1, %esi
callq _hash_step
LBB7_5: ## =>This Inner Loop Header: Depth=1
movq _g@GOTPCREL(%rip), %rax
movl 44(%rax), %eax
andl $504, %eax ## imm = 0x1F8
cmpl $448, %eax ## imm = 0x1C0
je LBB7_7
## %bb.6: ## in Loop: Header=BB7_5 Depth=1
leaq l_.str.35(%rip), %rdi
movl $1, %esi
callq _hash_step
jmp LBB7_5
LBB7_7:
leaq -16(%rbp), %rdi
movl $8, %esi
callq _hash_step
movl $0, -108(%rbp)
LBB7_8: ## =>This Inner Loop Header: Depth=1
cmpl $20, -108(%rbp)
jae LBB7_11
## %bb.9: ## in Loop: Header=BB7_8 Depth=1
movl -108(%rbp), %eax
shrl $2, %eax
movl %eax, %eax
movl %eax, %ecx
movq _g@GOTPCREL(%rip), %rax
movl 24(%rax,%rcx,4), %eax
movl -108(%rbp), %edx
andl $3, %edx
movl $3, %ecx
subl %edx, %ecx
shll $3, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
andl $255, %eax
movb %al, %cl
movl -108(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -48(%rbp,%rax)
## %bb.10: ## in Loop: Header=BB7_8 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB7_8
LBB7_11:
movl $0, -108(%rbp)
LBB7_12: ## =>This Inner Loop Header: Depth=1
cmpl $20, -108(%rbp)
jae LBB7_15
## %bb.13: ## in Loop: Header=BB7_12 Depth=1
movl -108(%rbp), %eax
## kill: def $rax killed $eax
movzbl -48(%rbp,%rax), %eax
sarl $4, %eax
andl $15, %eax
movslq %eax, %rcx
leaq _hash_finish.zEncode(%rip), %rax
movb (%rax,%rcx), %cl
movl -108(%rbp), %eax
shll $1, %eax
movl %eax, %eax
## kill: def $rax killed $eax
movb %cl, -96(%rbp,%rax)
movl -108(%rbp), %eax
## kill: def $rax killed $eax
movzbl -48(%rbp,%rax), %eax
andl $15, %eax
movslq %eax, %rcx
leaq _hash_finish.zEncode(%rip), %rax
movb (%rax,%rcx), %cl
movl -108(%rbp), %eax
shll $1, %eax
addl $1, %eax
movl %eax, %eax
## kill: def $rax killed $eax
movb %cl, -96(%rbp,%rax)
## %bb.14: ## in Loop: Header=BB7_12 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB7_12
LBB7_15:
movl -108(%rbp), %eax
shll $1, %eax
movl %eax, %eax
## kill: def $rax killed $eax
movb $0, -96(%rbp,%rax)
leaq -96(%rbp), %rsi
movq -104(%rbp), %rdx
leaq L_.str.36(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_17
## %bb.16:
addq $112, %rsp
popq %rbp
retq
LBB7_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function db_vprepare
_db_vprepare: ## @db_vprepare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _sqlite3_vmprintf
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB8_2
## %bb.1:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _runtimeError
LBB8_2:
movq _g@GOTPCREL(%rip), %rax
movq 16(%rax), %rdi
movq -24(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
leaq -40(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
callq _sqlite3_prepare_v2
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
je LBB8_4
## %bb.3:
movq _g@GOTPCREL(%rip), %rax
movq 16(%rax), %rdi
callq _sqlite3_errmsg
movq %rax, %rsi
movq -24(%rbp), %rdx
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _runtimeError
LBB8_4:
movq -24(%rbp), %rdi
callq _sqlite3_free
movq -40(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function runtimeError
_runtimeError: ## @runtimeError
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
testb %al, %al
je LBB9_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)
LBB9_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)
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
movq (%rax), %rdi
movq _g@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.17(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -209(%rbp) ## 1-byte Spill
callq _fprintf
## kill: def $ecx killed $eax
movq -224(%rbp), %rax ## 8-byte Reload
leaq -208(%rbp), %rcx
movq %rcx, -16(%rbp)
leaq 16(%rbp), %rcx
movq %rcx, -24(%rbp)
movl $48, -28(%rbp)
movl $8, -32(%rbp)
movq (%rax), %rdi
movq -8(%rbp), %rsi
leaq -32(%rbp), %rdx
callq _vfprintf
movq -224(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -209(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.23(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function hash_step
_hash_step: ## @hash_step
.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 _g@GOTPCREL(%rip), %rax
movl 44(%rax), %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
shll $3, %eax
movq _g@GOTPCREL(%rip), %rcx
addl 44(%rcx), %eax
movq _g@GOTPCREL(%rip), %rcx
movl %eax, 44(%rcx)
cmpl -20(%rbp), %eax
jae LBB10_2
## %bb.1:
movl -12(%rbp), %ecx
shrl $29, %ecx
addl $1, %ecx
movq _g@GOTPCREL(%rip), %rax
addl 48(%rax), %ecx
movq _g@GOTPCREL(%rip), %rax
movl %ecx, 48(%rax)
LBB10_2:
movl -20(%rbp), %eax
shrl $3, %eax
andl $63, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
addl -12(%rbp), %eax
cmpl $63, %eax
jbe LBB10_8
## %bb.3:
movl -20(%rbp), %eax
## kill: def $rax killed $eax
movq _g@GOTPCREL(%rip), %rdi
addq $52, %rdi
addq %rax, %rdi
movq -8(%rbp), %rsi
movl $64, %eax
subl -20(%rbp), %eax
movl %eax, -16(%rbp)
movl %eax, %eax
movl %eax, %edx
movq $-1, %rcx
callq ___memcpy_chk
movq _g@GOTPCREL(%rip), %rsi
movq %rsi, %rdi
addq $24, %rdi
addq $52, %rsi
callq _SHA1Transform
LBB10_4: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
addl $63, %eax
cmpl -12(%rbp), %eax
jae LBB10_7
## %bb.5: ## in Loop: Header=BB10_4 Depth=1
movq -8(%rbp), %rsi
movl -16(%rbp), %eax
## kill: def $rax killed $eax
addq %rax, %rsi
movq _g@GOTPCREL(%rip), %rdi
addq $24, %rdi
callq _SHA1Transform
## %bb.6: ## in Loop: Header=BB10_4 Depth=1
movl -16(%rbp), %eax
addl $64, %eax
movl %eax, -16(%rbp)
jmp LBB10_4
LBB10_7:
movl $0, -20(%rbp)
jmp LBB10_9
LBB10_8:
movl $0, -16(%rbp)
LBB10_9:
movl -20(%rbp), %eax
## kill: def $rax killed $eax
movq _g@GOTPCREL(%rip), %rdi
addq $52, %rdi
addq %rax, %rdi
movq -8(%rbp), %rsi
movl -16(%rbp), %eax
## kill: def $rax killed $eax
addq %rax, %rsi
movl -12(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, %eax
movl %eax, %edx
movq $-1, %rcx
callq ___memcpy_chk
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 2 ## @SHA1Transform.one
_SHA1Transform.one:
.long 1 ## 0x1
.comm _g,120,3 ## @g
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "debug"
L_.str.1: ## @.str.1
.asciz "missing argument to %s"
L_.str.2: ## @.str.2
.asciz "help"
L_.str.3: ## @.str.3
.asciz "like"
L_.str.4: ## @.str.4
.asciz "only one --like allowed"
L_.str.5: ## @.str.5
.asciz "schema-only"
L_.str.6: ## @.str.6
.asciz "without-schema"
L_.str.7: ## @.str.7
.asciz "unknown option: %s"
L_.str.8: ## @.str.8
.asciz "no input files specified - nothing to do"
L_.str.9: ## @.str.9
.asciz "only one of --without-schema and --omit-schema allowed"
L_.str.10: ## @.str.10
.asciz "%"
.section __TEXT,__const
.p2align 2 ## @main.openFlags
_main.openFlags:
.long 66 ## 0x42
.section __TEXT,__cstring,cstring_literals
L_.str.11: ## @.str.11
.asciz "cannot open database file '%s'\n"
L_.str.12: ## @.str.12
.asciz "SELECT * FROM sqlite_master"
L_.str.13: ## @.str.13
.asciz "'%s' is not a valid SQLite database\n"
L_.str.14: ## @.str.14
.asciz "SELECT name FROM sqlite_master\n WHERE type='table' AND sql NOT LIKE 'CREATE VIRTUAL%%'\n AND name NOT LIKE 'sqlite_%%'\n AND name LIKE '%q'\n ORDER BY name COLLATE nocase;\n"
L_.str.15: ## @.str.15
.asciz "SELECT * FROM \"%w\""
L_.str.16: ## @.str.16
.asciz "SELECT type, name, tbl_name, sql FROM sqlite_master\n WHERE tbl_name LIKE '%q'\n ORDER BY name COLLATE nocase;\n"
L_.str.17: ## @.str.17
.asciz "%s: "
L_.str.18: ## @.str.18
.asciz "\n\"%s --help\" for more help\n"
L_.str.19: ## @.str.19
.asciz "Usage: %s [options] FILE ...\n"
L_.str.20: ## @.str.20
.asciz "Compute a SHA1 hash on the content of database FILE. System tables such as\nsqlite_stat1, sqlite_stat4, and sqlite_sequence are omitted from the hash.\nOptions:\n --debug N Set debugging flags to N (experts only)\n --like PATTERN Only hash tables whose name is LIKE the pattern\n --schema-only Only hash the schema - omit table content\n --without-schema Only hash table content - omit the schema\n"
L_.str.21: ## @.str.21
.asciz "out of memory"
L_.str.22: ## @.str.22
.asciz "SQL statement error: %s\n\"%s\""
L_.str.23: ## @.str.23
.asciz "\n"
L_.str.24: ## @.str.24
.asciz "0"
L_.str.25: ## @.str.25
.asciz "NULL\n"
L_.str.26: ## @.str.26
.asciz "1"
L_.str.27: ## @.str.27
.asciz "INT %s\n"
L_.str.28: ## @.str.28
.asciz "2"
L_.str.29: ## @.str.29
.asciz "FLOAT %s\n"
L_.str.30: ## @.str.30
.asciz "3"
L_.str.31: ## @.str.31
.asciz "TEXT '%s'\n"
L_.str.32: ## @.str.32
.asciz "4"
L_.str.33: ## @.str.33
.asciz "BLOB (%d bytes)\n"
.section __TEXT,__const
.p2align 4 ## @hash_finish.zEncode
_hash_finish.zEncode:
.asciz "0123456789abcdef"
.section __TEXT,__cstring,cstring_literals
L_.str.34: ## @.str.34
.asciz "\200"
.section __TEXT,__const
l_.str.35: ## @.str.35
.space 2
.section __TEXT,__cstring,cstring_literals
L_.str.36: ## @.str.36
.asciz "%s %s\n"
.subsections_via_symbols
| the_stack_data/605078.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
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #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_2
LBB0_2:
bl _getchar
strb w0, [sp, #15]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [sp, #15]
subs w8, w8, #35
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldrsb w0, [sp, #15]
ldr x1, [sp, #16]
bl _fputc
bl _getchar
strb w0, [sp, #15]
b LBB0_3
LBB0_5:
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 __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/home/turing/test.txt"
l_.str.1: ; @.str.1
.asciz "a+"
l_.str.2: ; @.str.2
.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 $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, %rax
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_2:
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl -17(%rbp), %eax
cmpl $35, %eax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movsbl -17(%rbp), %edi
movq -16(%rbp), %rsi
callq _fputc
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
jmp LBB0_3
LBB0_5:
movq -16(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/home/turing/test.txt"
L_.str.1: ## @.str.1
.asciz "a+"
L_.str.2: ## @.str.2
.asciz "Error! \n"
.subsections_via_symbols
| the_stack_data/232955567.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 0x3fd6666666666666 ; double 0.34999999999999998
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-24] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur s0, [x29, #-12]
ldur s1, [x29, #-8]
fsub s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-20]
ldur s0, [x29, #-16]
fcvt d2, s0
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d2, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w0, [x29, #-24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Mileage Reimbursement Calculator\n"
l_.str.1: ; @.str.1
.asciz "Enter beginning odometer reading = "
l_.str.2: ; @.str.2
.asciz "%f"
l_.str.3: ; @.str.3
.asciz "Enter ending odometer reading = "
l_.str.4: ; @.str.4
.asciz "You traveled %.1f miles. At $%.2f per mile,\nyour reimursement is $ %.2f .\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3fd6666666666666 ## double 0.34999999999999998
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -8(%rbp), %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm2
leaq L_.str.4(%rip), %rdi
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
movb $3, %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 "Mileage Reimbursement Calculator\n"
L_.str.1: ## @.str.1
.asciz "Enter beginning odometer reading = "
L_.str.2: ## @.str.2
.asciz "%f"
L_.str.3: ## @.str.3
.asciz "Enter ending odometer reading = "
L_.str.4: ## @.str.4
.asciz "You traveled %.1f miles. At $%.2f per mile,\nyour reimursement is $ %.2f .\n"
.subsections_via_symbols
| the_stack_data/248580995.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_next ; -- Begin function get_next
.p2align 2
_get_next: ; @get_next
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
mov w8, #1
str w8, [sp, #12]
str wzr, [sp, #8]
ldr x8, [sp, #16]
str wzr, [x8, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #8]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
ldr w8, [sp, #8]
ldr x9, [sp, #16]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #8]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _index_KMP ; -- Begin function index_KMP
.p2align 2
_index_KMP: ; @index_KMP
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
ldur w8, [x29, #-28]
stur w8, [x29, #-32]
mov w8, #1
stur w8, [x29, #-36]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-32]
str x8, [sp, #32] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x8, [sp, #32] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hi
mov w9, #0
str w9, [sp, #40] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldursw x8, [x29, #-36]
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
bl _strlen
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, ls
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #40] ; 4-byte Folded Reload
tbz w8, #0, LBB1_9
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldur w9, [x29, #-32]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
ldur x9, [x29, #-24]
ldur w10, [x29, #-36]
subs w10, w10, #1
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldursw x9, [x29, #-36]
adrp x8, _next@GOTPAGE
ldr x8, [x8, _next@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-36]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_9:
ldursw x8, [x29, #-36]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, ls
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
ldursw x8, [x29, #-32]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
bl _strlen
ldr x8, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x0
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB1_12
LBB1_11:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_12
LBB1_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #44]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #124
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #48
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
bl _scanf
ldr x0, [sp, #32] ; 8-byte Folded Reload
adrp x1, _next@GOTPAGE
ldr x1, [x1, _next@GOTPAGEOFF]
bl _get_next
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #40]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #40]
str x8, [sp, #16] ; 8-byte Folded Spill
add x0, sp, #48
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hi
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #40]
adrp x8, _next@GOTPAGE
ldr x8, [x8, _next@GOTPAGEOFF]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB2_1
LBB2_4:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
sub x0, x29, #124
add x1, sp, #48
mov w2, #1
bl _index_KMP
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
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
bl ___stack_chk_fail
LBB2_6:
mov w0, #0
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x28, x27, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
.cfi_endproc
; -- End function
.comm _next,400,2 ; @next
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pattern string\357\274\232\n"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "match string\357\274\232\n"
l_.str.3: ; @.str.3
.asciz "the next value is\n"
l_.str.4: ; @.str.4
.asciz "%d "
l_.str.5: ; @.str.5
.asciz "\n"
l_.str.6: ; @.str.6
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_next ## -- Begin function get_next
.p2align 4, 0x90
_get_next: ## @get_next
.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 $1, -20(%rbp)
movl $0, -24(%rbp)
movq -16(%rbp), %rax
movl $0, 4(%rax)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -24(%rbp)
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -8(%rbp), %rcx
movslq -24(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _index_KMP ## -- Begin function index_KMP
.p2align 4, 0x90
_index_KMP: ## @index_KMP
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl -28(%rbp), %eax
movl %eax, -32(%rbp)
movl $1, -36(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movslq -32(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rax, %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq %rdx, %rcx
movb %al, -37(%rbp) ## 1-byte Spill
ja LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -36(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -56(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
setbe %al
movb %al, -37(%rbp) ## 1-byte Spill
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movb -37(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_4
jmp LBB1_9
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -36(%rbp)
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movl -32(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movq -24(%rbp), %rcx
movl -36(%rbp), %edx
subl $1, %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB1_7
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movslq -36(%rbp), %rcx
movq _next@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_9:
movslq -36(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -64(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jbe LBB1_11
## %bb.10:
movslq -32(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -72(%rbp), %rax ## 8-byte Reload
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB1_12
LBB1_11:
movl $-1, -4(%rbp)
LBB1_12:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $240, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -228(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -224(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -224(%rbp), %rdi
movq _next@GOTPCREL(%rip), %rsi
callq _get_next
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -232(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movslq -232(%rbp), %rax
movq %rax, -240(%rbp) ## 8-byte Spill
leaq -224(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -240(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
ja LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -232(%rbp), %rcx
movq _next@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -232(%rbp), %eax
addl $1, %eax
movl %eax, -232(%rbp)
jmp LBB2_1
LBB2_4:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
leaq -224(%rbp), %rsi
movl $1, %edx
callq _index_KMP
movl %eax, %esi
leaq L_.str.6(%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_6
## %bb.5:
xorl %eax, %eax
addq $240, %rsp
popq %rbp
retq
LBB2_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _next,400,4 ## @next
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pattern string\357\274\232\n"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "match string\357\274\232\n"
L_.str.3: ## @.str.3
.asciz "the next value is\n"
L_.str.4: ## @.str.4
.asciz "%d "
L_.str.5: ## @.str.5
.asciz "\n"
L_.str.6: ## @.str.6
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/29824494.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x0, #10
bl _malloc
str x0, [sp]
ldr x8, [sp]
strb wzr, [x8, #8]
ldr x0, [sp]
bl _strlen
subs x8, x0, #8
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #9
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "184517166.c"
l_.str.1: ; @.str.1
.asciz "strlen(x) == 8"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $10, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movb $0, 8(%rax)
movq -16(%rbp), %rdi
callq _strlen
cmpq $8, %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $9, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "184517166.c"
L_.str.1: ## @.str.1
.asciz "strlen(x) == 8"
.subsections_via_symbols
| the_stack_data/184517166.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
mov w8, #2
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w10, [x29, #-12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #16]
b LBB0_6
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:
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_8
LBB0_8:
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 "%d is not a prime number"
l_.str.3: ; @.str.3
.asciz "%d is a prime number"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $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
movl $2, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl $0, %edx
jne LBB0_4
## %bb.3:
movl -8(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -16(%rbp)
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_6:
cmpl $0, -16(%rbp)
jne LBB0_8
## %bb.7:
movl -8(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8:
xorl %eax, %eax
addq $32, %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 "%d is not a prime number"
L_.str.3: ## @.str.3
.asciz "%d is a prime number"
.subsections_via_symbols
| the_stack_data/782477.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_2
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Bonjour %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)
cmpl $1, -8(%rbp)
jle LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Bonjour %s\n"
.subsections_via_symbols
| the_stack_data/211081406.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/647251.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _newAdjListNode ; -- Begin function newAdjListNode
.p2align 2
_newAdjListNode: ; @newAdjListNode
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
mov x0, #16
bl _malloc
str x0, [sp]
ldur w8, [x29, #-4]
ldr x9, [sp]
str w8, [x9]
ldr w8, [sp, #8]
ldr x9, [sp]
str w8, [x9, #4]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _createGraph ; -- Begin function createGraph
.p2align 2
_createGraph: ; @createGraph
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
mov x0, #16
bl _malloc
str x0, [sp, #16]
ldur w8, [x29, #-4]
ldr x9, [sp, #16]
str w8, [x9]
ldursw x8, [x29, #-4]
lsl x0, x8, #3
bl _malloc
ldr x8, [sp, #16]
str x0, [x8, #8]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldr x9, [x8, #8]
ldrsw x10, [sp, #12]
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_4:
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _addEdge ; -- Begin function addEdge
.p2align 2
_addEdge: ; @addEdge
.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]
str w3, [sp, #12]
ldr w0, [sp, #16]
ldr w1, [sp, #12]
bl _newAdjListNode
str x0, [sp]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldursw x9, [x29, #-12]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp]
str x8, [x9, #8]
ldr x8, [sp]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldursw x10, [x29, #-12]
str x8, [x9, x10, lsl #3]
ldur w0, [x29, #-12]
ldr w1, [sp, #12]
bl _newAdjListNode
str x0, [sp]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp]
str x8, [x9, #8]
ldr x8, [sp]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldrsw x10, [sp, #16]
str x8, [x9, x10, lsl #3]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _newMinHeapNode ; -- Begin function newMinHeapNode
.p2align 2
_newMinHeapNode: ; @newMinHeapNode
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
mov x0, #8
bl _malloc
str x0, [sp]
ldur w8, [x29, #-4]
ldr x9, [sp]
str w8, [x9]
ldr w8, [sp, #8]
ldr x9, [sp]
str w8, [x9, #4]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _createMinHeap ; -- Begin function createMinHeap
.p2align 2
_createMinHeap: ; @createMinHeap
.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]
ldursw x8, [x29, #-4]
lsl x0, x8, #2
bl _malloc
ldr x8, [sp]
str x0, [x8, #8]
ldr x8, [sp]
str wzr, [x8]
ldur w8, [x29, #-4]
ldr x9, [sp]
str w8, [x9, #4]
ldursw x8, [x29, #-4]
lsl x0, x8, #3
bl _malloc
ldr x8, [sp]
str x0, [x8, #16]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _swapMinHeapNode ; -- Begin function swapMinHeapNode
.p2align 2
_swapMinHeapNode: ; @swapMinHeapNode
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x9, [sp, #24]
str x8, [x9]
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _minHeapify ; -- Begin function minHeapify
.p2align 2
_minHeapify: ; @minHeapify
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-12]
stur w8, [x29, #-16]
ldur w9, [x29, #-12]
mov w8, #2
mul w9, w8, w9
add w9, w9, #1
stur w9, [x29, #-20]
ldur w9, [x29, #-12]
mul w8, w8, w9
add w8, w8, #2
str w8, [sp, #24]
ldur w8, [x29, #-20]
ldur x9, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_3
b LBB6_1
LBB6_1:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #4]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
ldursw x10, [x29, #-16]
ldr x9, [x9, x10, lsl #3]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
ldur w8, [x29, #-20]
stur w8, [x29, #-16]
b LBB6_3
LBB6_3:
ldr w8, [sp, #24]
ldur x9, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_6
b LBB6_4
LBB6_4:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #24]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #4]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
ldursw x10, [x29, #-16]
ldr x9, [x9, x10, lsl #3]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
ldr w8, [sp, #24]
stur w8, [x29, #-16]
b LBB6_6
LBB6_6:
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-16]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-12]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr x10, [sp, #16]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-16]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr x10, [sp, #8]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-16]
add x0, x8, x9, lsl #3
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldursw x9, [x29, #-12]
add x1, x8, x9, lsl #3
bl _swapMinHeapNode
ldur x0, [x29, #-8]
ldur w1, [x29, #-16]
bl _minHeapify
b LBB6_8
LBB6_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _isEmpty ; -- Begin function isEmpty
.p2align 2
_isEmpty: ; @isEmpty
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _extractMin ; -- Begin function extractMin
.p2align 2
_extractMin: ; @extractMin
.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 _isEmpty
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB8_3
LBB8_2:
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
str x8, [sp]
ldr x8, [sp]
ldr x9, [sp, #16]
ldr x9, [x9, #16]
str x8, [x9]
ldr x8, [sp, #16]
ldr w8, [x8]
subs w8, w8, #1
ldr x9, [sp, #16]
ldr x9, [x9, #8]
ldr x10, [sp, #8]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp]
ldrsw x9, [x9]
mov w1, #0
str w1, [x8, x9, lsl #2]
ldr x9, [sp, #16]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
ldr x0, [sp, #16]
bl _minHeapify
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB8_3
LBB8_3:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _decreaseKey ; -- Begin function decreaseKey
.p2align 2
_decreaseKey: ; @decreaseKey
.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 x8, [x29, #-8]
ldr x8, [x8, #8]
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
ldrsw x10, [sp, #12]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #4]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_3
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #4]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
ldr w10, [sp, #12]
subs w10, w10, #1
mov w11, #2
sdiv w10, w10, w11
ldr x9, [x9, w10, sxtw #3]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB9_5
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
mov w10, #2
str w10, [sp, #4] ; 4-byte Folded Spill
sdiv w8, w8, w10
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldur x11, [x29, #-8]
ldr x11, [x11, #16]
ldrsw x12, [sp, #12]
ldr x11, [x11, x12, lsl #3]
ldrsw x11, [x11]
str w8, [x9, x11, lsl #2]
ldr w8, [sp, #12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldur x11, [x29, #-8]
ldr x11, [x11, #16]
ldr w12, [sp, #12]
subs w12, w12, #1
sdiv w12, w12, w10
ldr x11, [x11, w12, sxtw #3]
ldrsw x11, [x11]
str w8, [x9, x11, lsl #2]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldrsw x9, [sp, #12]
add x0, x8, x9, lsl #3
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldr w9, [sp, #12]
subs w9, w9, #1
sdiv w9, w9, w10
add x1, x8, w9, sxtw #3
bl _swapMinHeapNode
ldr w9, [sp, #4] ; 4-byte Folded Reload
ldr w8, [sp, #12]
subs w8, w8, #1
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB9_1
LBB9_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _isInMinHeap ; -- Begin function isInMinHeap
.p2align 2
_isInMinHeap: ; @isInMinHeap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB10_3
LBB10_2:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB10_3
LBB10_3:
ldrb w8, [sp, #31]
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _printPath ; -- Begin function printPath
.p2align 2
_printPath: ; @printPath
.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 w8, [x8, x9, lsl #2]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB11_3
LBB11_2:
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldr w1, [x8, x9, lsl #2]
bl _printPath
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB11_3
LBB11_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _printArr ; -- Begin function printArr
.p2align 2
_printArr: ; @printArr
.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]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB12_4
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
ldr w8, [sp, #24]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
ldr w1, [sp, #24]
bl _printPath
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB12_3
LBB12_3: ; in Loop: Header=BB12_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB12_1
LBB12_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _dijkstra ; -- Begin function dijkstra
.p2align 2
_dijkstra: ; @dijkstra
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #144
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur w1, [x29, #-20]
ldur x8, [x29, #-16]
ldr w8, [x8]
stur w8, [x29, #-24]
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-128] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-128] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-120] ; 8-byte Folded Spill
stur x8, [x29, #-40]
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-112] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-112] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-104] ; 8-byte Folded Spill
stur x8, [x29, #-48]
ldursw x10, [x29, #-20]
mov w8, #-1
str w8, [x9, x10, lsl #2]
ldur w0, [x29, #-24]
bl _createMinHeap
stur x0, [x29, #-56]
stur wzr, [x29, #-60]
b LBB13_1
LBB13_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-60]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_4
b LBB13_2
LBB13_2: ; in Loop: Header=BB13_1 Depth=1
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldursw x10, [x29, #-60]
mov w9, #2147483647
str w9, [x8, x10, lsl #2]
ldur w0, [x29, #-60]
ldursw x9, [x29, #-60]
ldr w1, [x8, x9, lsl #2]
bl _newMinHeapNode
ldur x8, [x29, #-56]
ldr x8, [x8, #16]
ldursw x9, [x29, #-60]
str x0, [x8, x9, lsl #3]
ldur w8, [x29, #-60]
ldur x9, [x29, #-56]
ldr x9, [x9, #8]
ldursw x10, [x29, #-60]
str w8, [x9, x10, lsl #2]
b LBB13_3
LBB13_3: ; in Loop: Header=BB13_1 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB13_1
LBB13_4:
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur w0, [x29, #-20]
ldursw x9, [x29, #-20]
ldr w1, [x8, x9, lsl #2]
bl _newMinHeapNode
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur x9, [x29, #-56]
ldr x9, [x9, #16]
ldursw x10, [x29, #-20]
str x0, [x9, x10, lsl #3]
ldur w9, [x29, #-20]
ldur x10, [x29, #-56]
ldr x10, [x10, #8]
ldursw x11, [x29, #-20]
str w9, [x10, x11, lsl #2]
ldursw x10, [x29, #-20]
mov w9, #0
str w9, [x8, x10, lsl #2]
ldur x0, [x29, #-56]
ldur w1, [x29, #-20]
ldursw x9, [x29, #-20]
ldr w2, [x8, x9, lsl #2]
bl _decreaseKey
ldur w8, [x29, #-24]
ldur x9, [x29, #-56]
str w8, [x9]
b LBB13_5
LBB13_5: ; =>This Loop Header: Depth=1
; Child Loop BB13_7 Depth 2
ldur x0, [x29, #-56]
bl _isEmpty
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB13_14
b LBB13_6
LBB13_6: ; in Loop: Header=BB13_5 Depth=1
ldur x0, [x29, #-56]
bl _extractMin
stur x0, [x29, #-72]
ldur x8, [x29, #-72]
ldr w8, [x8]
stur w8, [x29, #-76]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldursw x9, [x29, #-76]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-88]
b LBB13_7
LBB13_7: ; Parent Loop BB13_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-88]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB13_13
b LBB13_8
LBB13_8: ; in Loop: Header=BB13_7 Depth=2
ldur x8, [x29, #-88]
ldr w8, [x8]
stur w8, [x29, #-92]
ldur x0, [x29, #-56]
ldur w1, [x29, #-92]
bl _isInMinHeap
tbz w0, #0, LBB13_12
b LBB13_9
LBB13_9: ; in Loop: Header=BB13_7 Depth=2
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldursw x9, [x29, #-76]
ldr w8, [x8, x9, lsl #2]
mov w9, #2147483647
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB13_12
b LBB13_10
LBB13_10: ; in Loop: Header=BB13_7 Depth=2
ldur x9, [x29, #-120] ; 8-byte Folded Reload
ldur x8, [x29, #-88]
ldr w8, [x8, #4]
ldursw x10, [x29, #-76]
ldr w10, [x9, x10, lsl #2]
add w8, w8, w10
ldursw x10, [x29, #-92]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_12
b LBB13_11
LBB13_11: ; in Loop: Header=BB13_7 Depth=2
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur x10, [x29, #-104] ; 8-byte Folded Reload
ldursw x9, [x29, #-76]
ldr w9, [x8, x9, lsl #2]
ldur x11, [x29, #-88]
ldr w11, [x11, #4]
add w9, w9, w11
ldursw x11, [x29, #-92]
str w9, [x8, x11, lsl #2]
ldur w9, [x29, #-76]
ldursw x11, [x29, #-92]
str w9, [x10, x11, lsl #2]
ldur x0, [x29, #-56]
ldur w1, [x29, #-92]
ldursw x9, [x29, #-92]
ldr w2, [x8, x9, lsl #2]
bl _decreaseKey
b LBB13_12
LBB13_12: ; in Loop: Header=BB13_7 Depth=2
ldur x8, [x29, #-88]
ldr x8, [x8, #8]
stur x8, [x29, #-88]
b LBB13_7
LBB13_13: ; in Loop: Header=BB13_5 Depth=1
b LBB13_5
LBB13_14:
ldur x1, [x29, #-120] ; 8-byte Folded Reload
ldur x0, [x29, #-104] ; 8-byte Folded Reload
ldur w2, [x29, #-24]
bl _printArr
ldur x8, [x29, #-32]
stur x8, [x29, #-136] ; 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, LBB13_16
b LBB13_15
LBB13_15:
bl ___stack_chk_fail
LBB13_16:
ldur x8, [x29, #-136] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #5
str w8, [sp, #4] ; 4-byte Folded Spill
stur w8, [x29, #-8]
ldur w0, [x29, #-8]
bl _createGraph
ldur w1, [x29, #-20] ; 4-byte Folded Reload
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
mov w2, #1
str w2, [sp, #8] ; 4-byte Folded Spill
mov w3, #10
bl _addEdge
ldr w3, [sp, #4] ; 4-byte Folded Reload
ldur w1, [x29, #-20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov w2, #3
str w2, [sp, #16] ; 4-byte Folded Spill
bl _addEdge
ldr w3, [sp, #8] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov x1, x3
mov w2, #2
str w2, [sp, #24] ; 4-byte Folded Spill
bl _addEdge
ldr w1, [sp, #8] ; 4-byte Folded Reload
ldr w2, [sp, #16] ; 4-byte Folded Reload
ldr w3, [sp, #24] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
bl _addEdge
ldr w1, [sp, #24] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov w3, #4
str w3, [sp, #20] ; 4-byte Folded Spill
mov x2, x3
bl _addEdge
ldr w2, [sp, #8] ; 4-byte Folded Reload
ldr w3, [sp, #16] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov x1, x3
bl _addEdge
ldr w1, [sp, #16] ; 4-byte Folded Reload
ldr w2, [sp, #24] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov w3, #9
str w3, [sp, #12] ; 4-byte Folded Spill
bl _addEdge
ldr w3, [sp, #12] ; 4-byte Folded Reload
ldr w1, [sp, #16] ; 4-byte Folded Reload
ldr w2, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
bl _addEdge
ldr w1, [sp, #16] ; 4-byte Folded Reload
ldr w2, [sp, #20] ; 4-byte Folded Reload
ldr w3, [sp, #24] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
bl _addEdge
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldur w2, [x29, #-20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov w3, #7
bl _addEdge
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldr w2, [sp, #24] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov w3, #6
bl _addEdge
ldur w1, [x29, #-20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
bl _dijkstra
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "Vertex Distance from Source\n"
l_.str.2: ; @.str.2
.asciz "%d \t\t %d \t\t Path:"
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 _newAdjListNode ## -- Begin function newAdjListNode
.p2align 4, 0x90
_newAdjListNode: ## @newAdjListNode
.cfi_startproc
## %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 $16, %edi
callq _malloc
movq %rax, -16(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 4(%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createGraph ## -- Begin function createGraph
.p2align 4, 0x90
_createGraph: ## @createGraph
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl $16, %edi
callq _malloc
movq %rax, -16(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movslq -4(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movq $0, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_4:
movq -16(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addEdge ## -- Begin function addEdge
.p2align 4, 0x90
_addEdge: ## @addEdge
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movl -16(%rbp), %edi
movl -20(%rbp), %esi
callq _newAdjListNode
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rdx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -12(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -12(%rbp), %edi
movl -20(%rbp), %esi
callq _newAdjListNode
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rdx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -16(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _newMinHeapNode ## -- Begin function newMinHeapNode
.p2align 4, 0x90
_newMinHeapNode: ## @newMinHeapNode
.cfi_startproc
## %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 $8, %edi
callq _malloc
movq %rax, -16(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 4(%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createMinHeap ## -- Begin function createMinHeap
.p2align 4, 0x90
_createMinHeap: ## @createMinHeap
.cfi_startproc
## %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)
movslq -4(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl $0, (%rax)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 4(%rax)
movslq -4(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swapMinHeapNode ## -- Begin function swapMinHeapNode
.p2align 4, 0x90
_swapMinHeapNode: ## @swapMinHeapNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _minHeapify ## -- Begin function minHeapify
.p2align 4, 0x90
_minHeapify: ## @minHeapify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
shll $1, %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
shll $1, %eax
addl $2, %eax
movl %eax, -24(%rbp)
movl -20(%rbp), %eax
movq -8(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB6_3
## %bb.1:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl 4(%rax), %eax
movq -8(%rbp), %rcx
movq 16(%rcx), %rcx
movslq -16(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl 4(%rcx), %eax
jge LBB6_3
## %bb.2:
movl -20(%rbp), %eax
movl %eax, -16(%rbp)
LBB6_3:
movl -24(%rbp), %eax
movq -8(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB6_6
## %bb.4:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl 4(%rax), %eax
movq -8(%rbp), %rcx
movq 16(%rcx), %rcx
movslq -16(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl 4(%rcx), %eax
jge LBB6_6
## %bb.5:
movl -24(%rbp), %eax
movl %eax, -16(%rbp)
LBB6_6:
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB6_8
## %bb.7:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp)
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -32(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movl -16(%rbp), %edx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -40(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movslq -16(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -8(%rbp), %rax
movq 16(%rax), %rsi
movslq -12(%rbp), %rax
shlq $3, %rax
addq %rax, %rsi
callq _swapMinHeapNode
movq -8(%rbp), %rdi
movl -16(%rbp), %esi
callq _minHeapify
LBB6_8:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isEmpty ## -- Begin function isEmpty
.p2align 4, 0x90
_isEmpty: ## @isEmpty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
sete %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _extractMin ## -- Begin function extractMin
.p2align 4, 0x90
_extractMin: ## @extractMin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _isEmpty
cmpl $0, %eax
je LBB8_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB8_3
LBB8_2:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movl (%rax), %edx
subl $1, %edx
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -24(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -32(%rbp), %rcx
movslq (%rcx), %rcx
movl $0, (%rax,%rcx,4)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _minHeapify
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB8_3:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _decreaseKey ## -- Begin function decreaseKey
.p2align 4, 0x90
_decreaseKey: ## @decreaseKey
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movl -16(%rbp), %ecx
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -20(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 4(%rax)
LBB9_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -20(%rbp)
movb %al, -21(%rbp) ## 1-byte Spill
je LBB9_3
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl 4(%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movq 16(%rax), %rcx
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %esi
cltd
idivl %esi
movl %eax, %edx
movl -28(%rbp), %eax ## 4-byte Reload
movslq %edx, %rdx
movq (%rcx,%rdx,8), %rcx
cmpl 4(%rcx), %eax
setl %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB9_3: ## in Loop: Header=BB9_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB9_4
jmp LBB9_5
LBB9_4: ## in Loop: Header=BB9_1 Depth=1
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %edx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
movq 16(%rcx), %rcx
movslq -20(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq 16(%rax), %rcx
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %esi
cltd
idivl %esi
movl -44(%rbp), %edx ## 4-byte Reload
movl %eax, %esi
movq -40(%rbp), %rax ## 8-byte Reload
movslq %esi, %rsi
movq (%rcx,%rsi,8), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movslq -20(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -8(%rbp), %rax
movq 16(%rax), %rsi
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
cltq
shlq $3, %rax
addq %rax, %rsi
callq _swapMinHeapNode
movl -20(%rbp), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -20(%rbp)
jmp LBB9_1
LBB9_5:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isInMinHeap ## -- Begin function isInMinHeap
.p2align 4, 0x90
_isInMinHeap: ## @isInMinHeap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB10_2
## %bb.1:
movb $1, -1(%rbp)
jmp LBB10_3
LBB10_2:
movb $0, -1(%rbp)
LBB10_3:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printPath ## -- Begin function printPath
.p2align 4, 0x90
_printPath: ## @printPath
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
cmpl $-1, (%rax,%rcx,4)
jne LBB11_2
## %bb.1:
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB11_3
LBB11_2:
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %esi
callq _printPath
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB11_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printArr ## -- Begin function printArr
.p2align 4, 0x90
_printArr: ## @printArr
.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)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -24(%rbp)
LBB12_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB12_4
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movl -24(%rbp), %esi
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl -24(%rbp), %esi
callq _printPath
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB12_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB12_1
LBB12_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dijkstra ## -- Begin function dijkstra
.p2align 4, 0x90
_dijkstra: ## @dijkstra
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -128(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -128(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
movq -112(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp)
movslq -20(%rbp), %rcx
movl $-1, (%rax,%rcx,4)
movl -24(%rbp), %edi
callq _createMinHeap
movq %rax, -56(%rbp)
movl $0, -60(%rbp)
LBB13_1: ## =>This Inner Loop Header: Depth=1
movl -60(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB13_4
## %bb.2: ## in Loop: Header=BB13_1 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
movslq -60(%rbp), %rcx
movl $2147483647, (%rax,%rcx,4) ## imm = 0x7FFFFFFF
movl -60(%rbp), %edi
movslq -60(%rbp), %rcx
movl (%rax,%rcx,4), %esi
callq _newMinHeapNode
movq %rax, %rdx
movq -56(%rbp), %rax
movq 16(%rax), %rax
movslq -60(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -60(%rbp), %edx
movq -56(%rbp), %rax
movq 8(%rax), %rax
movslq -60(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB13_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB13_1
LBB13_4:
movq -120(%rbp), %rax ## 8-byte Reload
movl -20(%rbp), %edi
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %esi
callq _newMinHeapNode
movq %rax, %rsi
movq -120(%rbp), %rax ## 8-byte Reload
movq -56(%rbp), %rcx
movq 16(%rcx), %rcx
movslq -20(%rbp), %rdx
movq %rsi, (%rcx,%rdx,8)
movl -20(%rbp), %esi
movq -56(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -20(%rbp), %rdx
movl %esi, (%rcx,%rdx,4)
movslq -20(%rbp), %rcx
movl $0, (%rax,%rcx,4)
movq -56(%rbp), %rdi
movl -20(%rbp), %esi
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %edx
callq _decreaseKey
movl -24(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
LBB13_5: ## =>This Loop Header: Depth=1
## Child Loop BB13_7 Depth 2
movq -56(%rbp), %rdi
callq _isEmpty
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB13_6
jmp LBB13_14
LBB13_6: ## in Loop: Header=BB13_5 Depth=1
movq -56(%rbp), %rdi
callq _extractMin
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -76(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -76(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -88(%rbp)
LBB13_7: ## Parent Loop BB13_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -88(%rbp)
je LBB13_13
## %bb.8: ## in Loop: Header=BB13_7 Depth=2
movq -88(%rbp), %rax
movl (%rax), %eax
movl %eax, -92(%rbp)
movq -56(%rbp), %rdi
movl -92(%rbp), %esi
callq _isInMinHeap
testb $1, %al
jne LBB13_9
jmp LBB13_12
LBB13_9: ## in Loop: Header=BB13_7 Depth=2
movq -120(%rbp), %rax ## 8-byte Reload
movslq -76(%rbp), %rcx
cmpl $2147483647, (%rax,%rcx,4) ## imm = 0x7FFFFFFF
je LBB13_12
## %bb.10: ## in Loop: Header=BB13_7 Depth=2
movq -120(%rbp), %rcx ## 8-byte Reload
movq -88(%rbp), %rax
movl 4(%rax), %eax
movslq -76(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movslq -92(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB13_12
## %bb.11: ## in Loop: Header=BB13_7 Depth=2
movq -120(%rbp), %rax ## 8-byte Reload
movq -104(%rbp), %rcx ## 8-byte Reload
movslq -76(%rbp), %rdx
movl (%rax,%rdx,4), %esi
movq -88(%rbp), %rdx
addl 4(%rdx), %esi
movslq -92(%rbp), %rdx
movl %esi, (%rax,%rdx,4)
movl -76(%rbp), %esi
movslq -92(%rbp), %rdx
movl %esi, (%rcx,%rdx,4)
movq -56(%rbp), %rdi
movl -92(%rbp), %esi
movslq -92(%rbp), %rcx
movl (%rax,%rcx,4), %edx
callq _decreaseKey
LBB13_12: ## in Loop: Header=BB13_7 Depth=2
movq -88(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -88(%rbp)
jmp LBB13_7
LBB13_13: ## in Loop: Header=BB13_5 Depth=1
jmp LBB13_5
LBB13_14:
movq -120(%rbp), %rsi ## 8-byte Reload
movq -104(%rbp), %rdi ## 8-byte Reload
movl -24(%rbp), %edx
callq _printArr
movq -32(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB13_16
## %bb.15:
movq %rbp, %rsp
popq %rbp
retq
LBB13_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $5, -8(%rbp)
movl -8(%rbp), %edi
callq _createGraph
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
xorl %esi, %esi
movl $1, %edx
movl $10, %ecx
callq _addEdge
movq -16(%rbp), %rdi
xorl %esi, %esi
movl $3, %edx
movl $5, %ecx
callq _addEdge
movq -16(%rbp), %rdi
movl $1, %ecx
movl $2, %edx
movl %ecx, %esi
callq _addEdge
movq -16(%rbp), %rdi
movl $1, %esi
movl $3, %edx
movl $2, %ecx
callq _addEdge
movq -16(%rbp), %rdi
movl $2, %esi
movl $4, %ecx
movl %ecx, %edx
callq _addEdge
movq -16(%rbp), %rdi
movl $3, %ecx
movl $1, %edx
movl %ecx, %esi
callq _addEdge
movq -16(%rbp), %rdi
movl $3, %esi
movl $2, %edx
movl $9, %ecx
callq _addEdge
movq -16(%rbp), %rdi
movl $3, %esi
movl $4, %edx
movl $9, %ecx
callq _addEdge
movq -16(%rbp), %rdi
movl $3, %esi
movl $4, %edx
movl $2, %ecx
callq _addEdge
movq -16(%rbp), %rdi
movl $4, %esi
xorl %edx, %edx
movl $7, %ecx
callq _addEdge
movq -16(%rbp), %rdi
movl $4, %esi
movl $2, %edx
movl $6, %ecx
callq _addEdge
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _dijkstra
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 "Vertex Distance from Source\n"
L_.str.2: ## @.str.2
.asciz "%d \t\t %d \t\t Path:"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/36074527.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _string_not_empty ; -- Begin function string_not_empty
.p2align 2
_string_not_empty: ; @string_not_empty
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
str w8, [sp, #12]
b LBB0_4
LBB0_3:
str wzr, [sp, #12]
b LBB0_4
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
adrp x8, _string_not_empty@PAGE
add x8, x8, _string_not_empty@PAGEOFF
str x8, [sp, #8]
ldr x8, [sp, #8]
mov x0, #0
blr x8
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 _string_not_empty ## -- Begin function string_not_empty
.p2align 4, 0x90
_string_not_empty: ## @string_not_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, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB0_3
## %bb.1:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl $0, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq _string_not_empty(%rip), %rax
movq %rax, -24(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq *-24(%rbp)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/28262895.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
fmov d0, #1.00000000
stur d0, [x29, #-16]
fmov d0, #5.00000000
stur d0, [x29, #-24]
fmov d0, #4.00000000
stur d0, [x29, #-32]
fmov d0, #7.00000000
str d0, [sp, #40]
ldur d0, [x29, #-32]
ldur d1, [x29, #-16]
fsub d0, d0, d1
str d0, [sp, #32]
ldr d0, [sp, #40]
ldur d1, [x29, #-24]
fsub d0, d0, d1
str d0, [sp, #24]
ldr d0, [sp, #32]
ldr d1, [sp, #32]
ldr d2, [sp, #24]
ldr d3, [sp, #24]
fmul d2, d2, d3
fmadd d0, d0, d1, d2
fsqrt d0, d0
str d0, [sp, #16]
ldr d0, [sp, #16]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The distance between the two points is %5.2f \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x401c000000000000 ## double 7
LCPI0_1:
.quad 0x4010000000000000 ## double 4
LCPI0_2:
.quad 0x4014000000000000 ## double 5
LCPI0_3:
.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 $64, %rsp
movl $0, -4(%rbp)
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -16(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -24(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -56(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd -56(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The distance between the two points is %5.2f \n"
.subsections_via_symbols
| the_stack_data/12451.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _A,40,2 ; @A
.comm _B,40,2 ; @B
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _A,40,4 ## @A
.comm _B,40,4 ## @B
.subsections_via_symbols
| the_stack_data/182954017.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w0, #1
bl _exit
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _strlen
str x0, [sp, #24]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldr x8, [sp, #24]
subs x8, x8, #1
mov x1, x8
bl _b2i
str w0, [sp, #20]
ldur x8, [x29, #-16]
ldr x10, [x8, #8]
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _b2i ; -- Begin function b2i
.p2align 2
_b2i: ; @b2i
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str wzr, [sp, #16]
ldr w8, [sp, #20]
str w8, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #48
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #12]
subs w9, w8, w9
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_6:
ldr w0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jge LBB0_2
## %bb.1:
movl $1, %edi
callq _exit
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _strlen
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movq -24(%rbp), %rax
subq $1, %rax
movl %eax, %esi
callq _b2i
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rsi
movl -28(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _b2i ## -- Begin function b2i
.p2align 4, 0x90
_b2i: ## @b2i
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
movl -12(%rbp), %eax
movl %eax, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -20(%rbp)
jl LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %ecx
subl -20(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_6:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s = %d\n"
.subsections_via_symbols
| the_stack_data/1122284.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Fibon1 ; -- Begin function Fibon1
.p2align 2
_Fibon1: ; @Fibon1
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_4
LBB0_3:
ldr w8, [sp, #8]
subs w0, w8, #1
bl _Fibon1
str w0, [sp, #4] ; 4-byte Folded Spill
ldr w8, [sp, #8]
subs w0, w8, #2
bl _Fibon1
mov x8, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
add w8, w0, w8
stur w8, [x29, #-4]
b LBB0_4
LBB0_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _Fibon2 ; -- Begin function Fibon2
.p2align 2
_Fibon2: ; @Fibon2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #1
str w8, [sp, #28]
b LBB1_7
LBB1_2:
mov w8, #1
str w8, [sp, #20]
str w8, [sp, #16]
str wzr, [sp, #12]
mov w8, #3
str w8, [sp, #8]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #16]
str w8, [sp, #20]
ldr w8, [sp, #12]
str w8, [sp, #16]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_3
LBB1_6:
ldr w8, [sp, #12]
str w8, [sp, #28]
b LBB1_7
LBB1_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, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
sub x8, x29, #8
mov w9, #40
stur w9, [x29, #-8]
stur wzr, [x29, #-12]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w0, [x29, #-8]
bl _Fibon2
stur w0, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _system
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "ret = %d\n"
l_.str.2: ; @.str.2
.asciz "pause"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Fibon1 ## -- Begin function Fibon1
.p2align 4, 0x90
_Fibon1: ## @Fibon1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
cmpl $1, -8(%rbp)
je LBB0_2
## %bb.1:
cmpl $2, -8(%rbp)
jne LBB0_3
LBB0_2:
movl $1, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl -8(%rbp), %edi
subl $1, %edi
callq _Fibon1
movl %eax, -12(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
subl $2, %edi
callq _Fibon1
movl %eax, %ecx
movl -12(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Fibon2 ## -- Begin function Fibon2
.p2align 4, 0x90
_Fibon2: ## @Fibon2
.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 $3, -8(%rbp)
jge LBB1_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB1_7
LBB1_2:
movl $1, -12(%rbp)
movl $1, -16(%rbp)
movl $0, -20(%rbp)
movl $3, -24(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl -12(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
movl %eax, -12(%rbp)
movl -20(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_3
LBB1_6:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB1_7:
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)
movl $40, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
callq _Fibon2
movl %eax, -12(%rbp)
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
callq _system
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "ret = %d\n"
L_.str.2: ## @.str.2
.asciz "pause"
.subsections_via_symbols
| the_stack_data/364898.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
add x8, sp, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr s0, [sp, #8]
fcmp s0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr s0, [sp, #8]
fmov s1, #25.00000000
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_16
LBB0_3:
ldr s0, [sp, #8]
fmov s1, #25.00000000
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldr s0, [sp, #8]
mov w8, #1112014848
fmov s1, w8
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_15
LBB0_6:
ldr s0, [sp, #8]
mov w8, #1112014848
fmov s1, w8
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr s0, [sp, #8]
mov w8, #1117126656
fmov s1, w8
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_14
LBB0_9:
ldr s0, [sp, #8]
mov w8, #1117126656
fmov s1, w8
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldr s0, [sp, #8]
mov w8, #1120403456
fmov s1, w8
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_13
LBB0_12:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_13
LBB0_13:
b LBB0_14
LBB0_14:
b LBB0_15
LBB0_15:
b LBB0_16
LBB0_16:
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 "%f"
l_.str.1: ; @.str.1
.asciz "Intervalo [0,25]\n"
l_.str.2: ; @.str.2
.asciz "Intervalo (25,50]\n"
l_.str.3: ; @.str.3
.asciz "Intervalo (50,75]\n"
l_.str.4: ; @.str.4
.asciz "Intervalo (75,100]\n"
l_.str.5: ; @.str.5
.asciz "Fora de intervalo\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x41c80000 ## float 25
LCPI0_1:
.long 0x42480000 ## float 50
LCPI0_2:
.long 0x42960000 ## float 75
LCPI0_3:
.long 0x42c80000 ## float 100
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb LBB0_3
## %bb.1:
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -8(%rbp), %xmm0
jb LBB0_3
## %bb.2:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_16
LBB0_3:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_6
## %bb.4:
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -8(%rbp), %xmm0
jb LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_15
LBB0_6:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_9
## %bb.7:
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -8(%rbp), %xmm0
jb LBB0_9
## %bb.8:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_14
LBB0_9:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_12
## %bb.10:
movss LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -8(%rbp), %xmm0
jb LBB0_12
## %bb.11:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_13
LBB0_12:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_13:
jmp LBB0_14
LBB0_14:
jmp LBB0_15
LBB0_15:
jmp LBB0_16
LBB0_16:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "Intervalo [0,25]\n"
L_.str.2: ## @.str.2
.asciz "Intervalo (25,50]\n"
L_.str.3: ## @.str.3
.asciz "Intervalo (50,75]\n"
L_.str.4: ## @.str.4
.asciz "Intervalo (75,100]\n"
L_.str.5: ## @.str.5
.asciz "Fora de intervalo\n"
.subsections_via_symbols
| the_stack_data/41890.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
sub x0, x29, #12
add x1, sp, #16
sub x2, x29, #8
bl _getDate
ldur w0, [x29, #-8]
bl _getOddToYear
str w0, [sp, #12]
ldur w0, [x29, #-8]
bl _checkleap
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w0, [sp, #16]
ldur w1, [x29, #-12]
mov w2, #1
bl _getOddDayToMD
ldr w8, [sp, #12]
add w8, w8, w0
str w8, [sp, #12]
b LBB0_3
LBB0_2:
ldr w0, [sp, #16]
ldur w1, [x29, #-12]
mov w2, #0
bl _getOddDayToMD
ldr w8, [sp, #12]
add w8, w8, w0
str w8, [sp, #12]
b LBB0_3
LBB0_3:
ldr w8, [sp, #12]
mov w10, #7
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #12]
ldrsw x9, [sp, #12]
adrp x8, _today@PAGE
add x8, x8, _today@PAGEOFF
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _getDate ; -- Begin function getDate
.p2align 2
_getDate: ; @getDate
.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]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
bl _scanf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _getOddToYear ; -- Begin function getOddToYear
.p2align 2
_getOddToYear: ; @getOddToYear
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
ldr w0, [sp, #8]
bl _checkleap
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_1
LBB2_1:
ldr w0, [sp, #8]
bl _checkcentury
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
stur wzr, [x29, #-4]
b LBB2_4
LBB2_3:
str wzr, [sp, #4]
str wzr, [sp]
ldr w8, [sp, #8]
mov w10, #400
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
mov w10, #100
sdiv w8, w8, w10
mov w9, #5
mul w8, w8, w9
str w8, [sp]
ldr w8, [sp, #8]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
ldr w9, [sp, #8]
mov w10, #4
sdiv w9, w9, w10
add w8, w8, w9
str w8, [sp, #4]
ldr w9, [sp]
ldr w8, [sp, #4]
add w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b LBB2_4
LBB2_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _checkleap ; -- Begin function checkleap
.p2align 2
_checkleap: ; @checkleap
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
mov w10, #100
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr w8, [sp, #8]
mov w10, #400
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2:
ldr w8, [sp, #8]
mov w10, #100
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_3
LBB3_3:
ldr w8, [sp, #8]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
mov w8, #1
str w8, [sp, #12]
b LBB3_6
LBB3_5:
str wzr, [sp, #12]
b LBB3_6
LBB3_6:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _getOddDayToMD ; -- Begin function getOddDayToMD
.p2align 2
_getOddDayToMD: ; @getOddDayToMD
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str w2, [sp, #20]
str wzr, [sp, #12]
str wzr, [sp, #16]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #28]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_7
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldrsw x9, [sp, #16]
adrp x8, _monthoddleap@PAGE
add x8, x8, _monthoddleap@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB4_5
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldrsw x9, [sp, #16]
adrp x8, _monthoddnotleap@PAGE
add x8, x8, _monthoddnotleap@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB4_1
LBB4_7:
ldr w8, [sp, #24]
mov w10, #7
sdiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _checkcentury ; -- Begin function checkcentury
.p2align 2
_checkcentury: ; @checkcentury
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
mov w10, #100
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w8, #1
str w8, [sp, #12]
b LBB5_3
LBB5_2:
str wzr, [sp, #12]
b LBB5_3
LBB5_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nThe day is: %s\n"
.section __DATA,__data
.p2align 3 ; @today
_today:
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Enter day: "
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter month: "
l_.str.4: ; @.str.4
.asciz "Enter year: "
.section __TEXT,__const
.p2align 2 ; @monthoddleap
_monthoddleap:
.long 3 ; 0x3
.long 1 ; 0x1
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.p2align 2 ; @monthoddnotleap
_monthoddnotleap:
.long 3 ; 0x3
.long 0 ; 0x0
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.long 2 ; 0x2
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "Sunday"
l_.str.6: ; @.str.6
.asciz "Monday"
l_.str.7: ; @.str.7
.asciz "Tuesday"
l_.str.8: ; @.str.8
.asciz "Wednesday"
l_.str.9: ; @.str.9
.asciz "Thursday"
l_.str.10: ; @.str.10
.asciz "Friday"
l_.str.11: ; @.str.11
.asciz "Saturday"
.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 -12(%rbp), %rdi
leaq -16(%rbp), %rsi
leaq -8(%rbp), %rdx
callq _getDate
movl -8(%rbp), %edi
callq _getOddToYear
movl %eax, -20(%rbp)
movl -8(%rbp), %edi
callq _checkleap
cmpl $0, %eax
je LBB0_2
## %bb.1:
movl -16(%rbp), %edi
movl -12(%rbp), %esi
movl $1, %edx
callq _getOddDayToMD
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_2:
movl -16(%rbp), %edi
movl -12(%rbp), %esi
xorl %edx, %edx
callq _getOddDayToMD
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_3:
movl -20(%rbp), %eax
movl $7, %ecx
cltd
idivl %ecx
movl %edx, -20(%rbp)
movslq -20(%rbp), %rcx
leaq _today(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getDate ## -- Begin function getDate
.p2align 4, 0x90
_getDate: ## @getDate
.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)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getOddToYear ## -- Begin function getOddToYear
.p2align 4, 0x90
_getOddToYear: ## @getOddToYear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -8(%rbp)
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
callq _checkleap
cmpl $0, %eax
je LBB2_3
## %bb.1:
movl -8(%rbp), %edi
callq _checkcentury
cmpl $0, %eax
je LBB2_3
## %bb.2:
movl $0, -4(%rbp)
jmp LBB2_4
LBB2_3:
movl $0, -12(%rbp)
movl $0, -16(%rbp)
movl -8(%rbp), %eax
movl $400, %ecx ## imm = 0x190
cltd
idivl %ecx
movl %edx, -8(%rbp)
movl -8(%rbp), %eax
movl $100, %ecx
cltd
idivl %ecx
imull $5, %eax, %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %eax
movl $100, %ecx
cltd
idivl %ecx
movl %edx, -8(%rbp)
movl -8(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -8(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -4(%rbp)
LBB2_4:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _checkleap ## -- Begin function checkleap
.p2align 4, 0x90
_checkleap: ## @checkleap
.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 $100, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB3_2
## %bb.1:
movl -8(%rbp), %eax
movl $400, %ecx ## imm = 0x190
cltd
idivl %ecx
cmpl $0, %edx
je LBB3_4
LBB3_2:
movl -8(%rbp), %eax
movl $100, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB3_5
## %bb.3:
movl -8(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB3_5
LBB3_4:
movl $1, -4(%rbp)
jmp LBB3_6
LBB3_5:
movl $0, -4(%rbp)
LBB3_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getOddDayToMD ## -- Begin function getOddDayToMD
.p2align 4, 0x90
_getOddDayToMD: ## @getOddDayToMD
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl $0, -20(%rbp)
movl $0, -16(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl -4(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB4_7
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
cmpl $0, -12(%rbp)
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movslq -16(%rbp), %rcx
leaq _monthoddleap(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB4_5
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movslq -16(%rbp), %rcx
leaq _monthoddnotleap(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_6
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB4_1
LBB4_7:
movl -8(%rbp), %eax
movl $7, %ecx
cltd
idivl %ecx
addl -20(%rbp), %edx
movl %edx, -20(%rbp)
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _checkcentury ## -- Begin function checkcentury
.p2align 4, 0x90
_checkcentury: ## @checkcentury
.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 $100, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB5_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB5_3
LBB5_2:
movl $0, -4(%rbp)
LBB5_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nThe day is: %s\n"
.section __DATA,__data
.p2align 4 ## @today
_today:
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Enter day: "
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter month: "
L_.str.4: ## @.str.4
.asciz "Enter year: "
.section __TEXT,__const
.p2align 4 ## @monthoddleap
_monthoddleap:
.long 3 ## 0x3
.long 1 ## 0x1
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.p2align 4 ## @monthoddnotleap
_monthoddnotleap:
.long 3 ## 0x3
.long 0 ## 0x0
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.long 2 ## 0x2
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "Sunday"
L_.str.6: ## @.str.6
.asciz "Monday"
L_.str.7: ## @.str.7
.asciz "Tuesday"
L_.str.8: ## @.str.8
.asciz "Wednesday"
L_.str.9: ## @.str.9
.asciz "Thursday"
L_.str.10: ## @.str.10
.asciz "Friday"
L_.str.11: ## @.str.11
.asciz "Saturday"
.subsections_via_symbols
| the_stack_data/67325117.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/149144.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, #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
stur wzr, [x29, #-20]
stur w0, [x29, #-24]
stur x1, [x29, #-32]
add x0, sp, #124
str x0, [sp, #16] ; 8-byte Folded Spill
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #100
str x2, [sp, #8] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x2, [sp, #8] ; 8-byte Folded Reload
add x0, sp, #24
str x0, [sp] ; 8-byte Folded Spill
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl ___strcpy_chk
ldr x1, [sp] ; 8-byte Folded Reload
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl ___strcat_chk
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #124
bl _system
mov w0, #5
bl _sleep
b LBB0_1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "notify-send "
l_.str.1: ; @.str.1
.asciz "\"Hello World\""
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $240, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq -128(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
leaq -240(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
leaq -128(%rbp), %rdi
leaq -240(%rbp), %rsi
movl $100, %edx
callq ___strcat_chk
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -128(%rbp), %rdi
callq _system
movl $5, %edi
callq _sleep
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "notify-send "
L_.str.1: ## @.str.1
.asciz "\"Hello World\""
.subsections_via_symbols
| the_stack_data/495481.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
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x14, x29, #16
add x13, x14, #4
add x12, x14, #8
sub x11, x29, #28
add x10, x11, #4
add x8, x11, #8
mov x9, sp
str x14, [x9]
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-16]
mov w10, #3600
mul w8, w8, w10
scvtf s0, w8
ldur w8, [x29, #-12]
mov w9, #60
mul w8, w8, w9
scvtf s1, w8
fadd s0, s0, s1
ldur s1, [x29, #-8]
scvtf s1, s1
fadd s0, s0, s1
stur s0, [x29, #-32]
ldur w8, [x29, #-28]
mul w8, w8, w10
scvtf s0, w8
ldur w8, [x29, #-24]
mul w8, w8, w9
scvtf s1, w8
fadd s0, s0, s1
ldur s1, [x29, #-20]
scvtf s1, s1
fadd s0, s0, s1
stur s0, [x29, #-36]
ldur s0, [x29, #-32]
ldur s1, [x29, #-36]
fcmp s0, s1
cset w8, le
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_6
LBB0_2:
ldur s0, [x29, #-32]
ldur s1, [x29, #-36]
fcmp s0, s1
cset w8, pl
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
b LBB0_5
LBB0_4:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
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 "Digite os dois tempos\n"
l_.str.1: ; @.str.1
.asciz "%d %d %d %d %d %d"
l_.str.2: ; @.str.2
.asciz "O primeiro tempo \303\251 maior\n"
l_.str.3: ; @.str.3
.asciz "O segundo tempo \303\251 maior\n"
l_.str.4: ; @.str.4
.asciz "Os tempos s\303\243o iguais\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)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -16(%rbp), %rsi
leaq -16(%rbp), %rdx
addq $4, %rdx
leaq -16(%rbp), %rcx
addq $8, %rcx
leaq -32(%rbp), %r8
leaq -32(%rbp), %r9
addq $4, %r9
leaq -32(%rbp), %rax
addq $8, %rax
leaq L_.str.1(%rip), %rdi
movq %rax, (%rsp)
movb $0, %al
callq _scanf
imull $3600, -16(%rbp), %eax ## imm = 0xE10
cvtsi2ss %eax, %xmm0
imull $60, -12(%rbp), %eax
cvtsi2ss %eax, %xmm1
addss %xmm1, %xmm0
cvtsi2ssl -8(%rbp), %xmm1
addss %xmm1, %xmm0
movss %xmm0, -36(%rbp)
imull $3600, -32(%rbp), %eax ## imm = 0xE10
cvtsi2ss %eax, %xmm0
imull $60, -28(%rbp), %eax
cvtsi2ss %eax, %xmm1
addss %xmm1, %xmm0
cvtsi2ssl -24(%rbp), %xmm1
addss %xmm1, %xmm0
movss %xmm0, -40(%rbp)
movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -40(%rbp), %xmm0
jbe LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_2:
movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_4:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5:
jmp LBB0_6
LBB0_6:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite os dois tempos\n"
L_.str.1: ## @.str.1
.asciz "%d %d %d %d %d %d"
L_.str.2: ## @.str.2
.asciz "O primeiro tempo \303\251 maior\n"
L_.str.3: ## @.str.3
.asciz "O segundo tempo \303\251 maior\n"
L_.str.4: ## @.str.4
.asciz "Os tempos s\303\243o iguais\n"
.subsections_via_symbols
| the_stack_data/132332.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #2
str w8, [sp, #12]
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x10, [sp, #12]
udiv 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:
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
ldrsw x8, [sp, #12]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_8:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_9
LBB0_9:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " %llu"
l_.str.1: ; @.str.1
.asciz "sim"
l_.str.2: ; @.str.2
.asciz "nao"
.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 $2, -20(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
cmpq -16(%rbp), %rax
ja LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
cmpq $0, %rdx
jne LBB0_4
## %bb.3:
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
movslq -20(%rbp), %rax
cmpq -16(%rbp), %rax
jne LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_8:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_9:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %llu"
L_.str.1: ## @.str.1
.asciz "sim"
L_.str.2: ## @.str.2
.asciz "nao"
.subsections_via_symbols
| the_stack_data/25137346.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reach_error ; -- Begin function reach_error
.p2align 2
_reach_error: ; @reach_error
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
b LBB1_2
LBB1_2:
bl _reach_error
bl _abort
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:
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]
mov w8, #34464
movk w8, #1, lsl #16
stur w8, [x29, #-20]
bl ___VERIFIER_nondet_int
stur w0, [x29, #-28]
stur wzr, [x29, #-32]
ldur w8, [x29, #-20]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-40]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-48]
stur wzr, [x29, #-16]
b LBB2_1
LBB2_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, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
bl ___VERIFIER_nondet_int
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
str w0, [x8, x9, lsl #2]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB2_1
LBB2_4:
stur wzr, [x29, #-16]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
mov w9, #0
stur w9, [x29, #-76] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
stur w8, [x29, #-76] ; 4-byte Folded Spill
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldur w8, [x29, #-76] ; 4-byte Folded Reload
tbz w8, #0, LBB2_12
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_5 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_5 Depth=1
mov w8, #1
stur w8, [x29, #-32]
ldur w8, [x29, #-16]
stur w8, [x29, #-24]
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_5 Depth=1
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_5 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB2_5
LBB2_12:
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_18
b LBB2_13
LBB2_13:
ldur w8, [x29, #-24]
stur w8, [x29, #-16]
b LBB2_14
LBB2_14: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_17
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_14 Depth=1
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
add w8, w8, #1
ldr w8, [x9, w8, sxtw #2]
ldursw x10, [x29, #-16]
str w8, [x9, x10, lsl #2]
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_14 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB2_14
LBB2_17:
b LBB2_18
LBB2_18:
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_24
b LBB2_19
LBB2_19:
stur wzr, [x29, #-52]
b LBB2_20
LBB2_20: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-52]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_23
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_20 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
and w0, w8, #0x1
bl ___VERIFIER_assert
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_20 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB2_20
LBB2_23:
b LBB2_24
LBB2_24:
stur wzr, [x29, #-12]
ldur x8, [x29, #-40]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-80] ; 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_26
b LBB2_25
LBB2_25:
bl ___stack_chk_fail
LBB2_26:
ldur w0, [x29, #-80] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reach_error ## -- Begin function reach_error
.p2align 4, 0x90
_reach_error: ## @reach_error
.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 ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jne LBB1_3
## %bb.1:
jmp LBB1_2
LBB1_2:
callq _reach_error
callq _abort
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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl $100000, -20(%rbp) ## imm = 0x186A0
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq ___VERIFIER_nondet_int
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
movl -20(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
movl $0, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, %edx
movq -64(%rbp), %rax ## 8-byte Reload
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_1
LBB2_4:
movl $0, -16(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -20(%rbp), %ecx
movb %al, -73(%rbp) ## 1-byte Spill
jge LBB2_7
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
cmpl $0, -32(%rbp)
setne %al
xorb $-1, %al
movb %al, -73(%rbp) ## 1-byte Spill
LBB2_7: ## in Loop: Header=BB2_5 Depth=1
movb -73(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_8
jmp LBB2_12
LBB2_8: ## in Loop: Header=BB2_5 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -28(%rbp), %eax
jne LBB2_10
## %bb.9: ## in Loop: Header=BB2_5 Depth=1
movl $1, -32(%rbp)
movl -16(%rbp), %eax
movl %eax, -24(%rbp)
LBB2_10: ## in Loop: Header=BB2_5 Depth=1
jmp LBB2_11
LBB2_11: ## in Loop: Header=BB2_5 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_5
LBB2_12:
cmpl $0, -32(%rbp)
je LBB2_18
## %bb.13:
movl -24(%rbp), %eax
movl %eax, -16(%rbp)
LBB2_14: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl -20(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB2_17
## %bb.15: ## in Loop: Header=BB2_14 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movl -16(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.16: ## in Loop: Header=BB2_14 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_14
LBB2_17:
jmp LBB2_18
LBB2_18:
cmpl $0, -32(%rbp)
je LBB2_24
## %bb.19:
movl $0, -52(%rbp)
LBB2_20: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB2_23
## %bb.21: ## in Loop: Header=BB2_20 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -28(%rbp), %eax
setne %al
andb $1, %al
movzbl %al, %edi
callq ___VERIFIER_assert
## %bb.22: ## in Loop: Header=BB2_20 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB2_20
LBB2_23:
jmp LBB2_24
LBB2_24:
movl $0, -12(%rbp)
movq -40(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_26
## %bb.25:
movl -80(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB2_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1069275.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _binary_search ; -- Begin function binary_search
.p2align 2
_binary_search: ; @binary_search
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
str wzr, [sp, #4]
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
ldr w9, [sp]
ldr w10, [sp, #4]
subs w9, w9, w10
mov w10, #2
sdiv w9, w9, w10
add w8, w8, w9
str w8, [sp, #8]
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_10
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_9:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_10
LBB0_10:
ldrb w8, [sp, #31]
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _binary_search ## -- Begin function binary_search
.p2align 4, 0x90
_binary_search: ## @binary_search
.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)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl $0, -28(%rbp)
movl -20(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movl -32(%rbp), %eax
subl -28(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -36(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -24(%rbp)
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -8(%rbp), %eax
jne LBB0_4
## %bb.3:
movb $1, -1(%rbp)
jmp LBB0_10
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_9:
movb $0, -1(%rbp)
LBB0_10:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/648670.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
mov w8, #2147483647
stur w8, [x29, #-12]
bl _read
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_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
ldur w10, [x29, #-8]
subs w9, w9, w10
mov w10, #2
sdiv w9, w9, w10
add w8, w8, w9
str w8, [sp, #16]
ldr w0, [sp, #16]
bl _check
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
stur w8, [x29, #-12]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _read ; -- Begin function read
.p2align 2
_read: ; @read
.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 x9, sp
adrp x8, _m@GOTPAGE
ldr x8, [x8, _m@GOTPAGEOFF]
str x8, [x9]
adrp x8, _k@GOTPAGE
ldr x8, [x8, _k@GOTPAGEOFF]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
adrp x9, _m@GOTPAGE
ldr x9, [x9, _m@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _s@GOTPAGE
ldr x8, [x8, _s@GOTPAGEOFF]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _check ; -- Begin function check
.p2align 2
_check: ; @check
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _s@GOTPAGE
ldr x8, [x8, _s@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
str w0, [sp, #24]
str wzr, [sp, #16]
mov w8, #1
str w8, [sp, #12]
adrp x8, _m@GOTPAGE
ldr x8, [x8, _m@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #24]
ldrsw x10, [sp, #20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
str wzr, [sp, #28]
b LBB2_9
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x9, [sp, #20]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #16]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldr w9, [sp, #12]
add w9, w9, #1
str w9, [sp, #12]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #16]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_8:
ldr w8, [sp, #12]
adrp x9, _k@GOTPAGE
ldr x9, [x9, _k@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
and w8, w8, #0x1
str w8, [sp, #28]
b LBB2_9
LBB2_9:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.comm _m,4,2 ; @m
.comm _s,400036,2 ; @s
.comm _k,4,2 ; @k
l_.str.1: ; @.str.1
.asciz "%d%d"
l_.str.2: ; @.str.2
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $2147483647, -12(%rbp) ## imm = 0x7FFFFFFF
callq _read
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
subl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %edi
callq _check
cmpl $0, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
movl -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read ## -- Begin function read
.p2align 4, 0x90
_read: ## @read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.1(%rip), %rdi
movq _m@GOTPCREL(%rip), %rsi
movq _k@GOTPCREL(%rip), %rdx
movb $0, %al
callq _scanf
movl $1, -4(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movq _m@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -4(%rbp), %rax
movq _s@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB1_1
LBB1_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check ## -- Begin function check
.p2align 4, 0x90
_check: ## @check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl $0, -16(%rbp)
movl $1, -20(%rbp)
movq _m@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $1, -12(%rbp)
jl LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %eax
movslq -12(%rbp), %rdx
movq _s@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jge LBB2_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB2_9
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movslq -12(%rbp), %rcx
movq _s@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movslq -12(%rbp), %rcx
movq _s@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_8:
movl -20(%rbp), %eax
movq _k@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
setle %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
LBB2_9:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.comm _m,4,2 ## @m
.comm _s,400036,4 ## @s
.comm _k,4,2 ## @k
L_.str.1: ## @.str.1
.asciz "%d%d"
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
| the_stack_data/582830.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/31971.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]
sub x8, x29, #8
mov w9, #1
stur w9, [x29, #-8]
mov x9, sp
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
ldur w8, [x29, #-8]
add w10, w8, #1
stur w10, [x29, #-8]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _system
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w8, #5
stur w8, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
subs w10, w8, #1
stur w10, [x29, #-12]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, x8
subs w9, w9, #1
stur w9, [x29, #-12]
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
stur wzr, [x29, #-16]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
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 "%i\n"
l_.str.1: ; @.str.1
.asciz "cls"
.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 $1, -8(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
addl $1, %esi
movl %esi, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
callq _system
movl $5, -12(%rbp)
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %esi
addl $-1, %esi
movl %esi, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %esi
movl %esi, %eax
addl $-1, %eax
movl %eax, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -16(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%i\n"
L_.str.1: ## @.str.1
.asciz "cls"
.subsections_via_symbols
| the_stack_data/182952978.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, _stdscr@GOTPAGE
ldr x8, [x8, _stdscr@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _initscr
bl _start_color
mov w0, #1
str w0, [sp, #12] ; 4-byte Folded Spill
mov w1, #7
mov w2, #4
bl _init_pair
mov w0, #5
str w0, [sp, #8] ; 4-byte Folded Spill
mov w3, #30
mov x1, x3
mov w2, #2
str w2, [sp, #4] ; 4-byte Folded Spill
bl _newwin
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
mov w1, #256
bl _wbkgd
ldur x0, [x29, #-16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #-1
bl _waddnstr
ldur x0, [x29, #-16]
bl _wrefresh
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wgetch
ldr w1, [sp, #4] ; 4-byte Folded Reload
ldr w2, [sp, #8] ; 4-byte Folded Reload
ldr w3, [sp, #12] ; 4-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wtouchln
ldur x0, [x29, #-16]
mov w1, #12
mov w2, #40
bl _mvwin
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wnoutrefresh
ldur x0, [x29, #-16]
bl _wnoutrefresh
bl _doupdate
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wgetch
bl _endwin
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 "I am the peripatetic window"
.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 _initscr
callq _start_color
movl $1, %edi
movl $7, %esi
movl $4, %edx
callq _init_pair
movl $5, %edi
movl $30, %ecx
movl $2, %edx
movl %ecx, %esi
callq _newwin
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movl $256, %esi ## imm = 0x100
callq _wbkgd
movq -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
callq _waddnstr
movq -16(%rbp), %rdi
callq _wrefresh
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wgetch
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl $2, %esi
movl $5, %edx
movl $1, %ecx
callq _wtouchln
movq -16(%rbp), %rdi
movl $12, %esi
movl $40, %edx
callq _mvwin
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wnoutrefresh
movq -16(%rbp), %rdi
callq _wnoutrefresh
callq _doupdate
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wgetch
callq _endwin
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "I am the peripatetic window"
.subsections_via_symbols
| the_stack_data/70449012.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 0x3fe1c71c71c71c72 ; double 0.55555555555555558
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #300
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
; implicit-def: $x9
mov x9, x8
ldur w8, [x29, #-20]
subs w8, w8, #32
scvtf d1, w8
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #20
stur w8, [x29, #-20]
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 "%3d %8.2f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3fe1c71c71c71c72 ## double 0.55555555555555558
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $300, -20(%rbp) ## imm = 0x12C
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %esi
movl -20(%rbp), %eax
subl $32, %eax
cvtsi2sd %eax, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $20, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%3d %8.2f\n"
.subsections_via_symbols
| the_stack_data/27655.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _if_array_satifies_binary_heap_property ; -- Begin function if_array_satifies_binary_heap_property
.p2align 2
_if_array_satifies_binary_heap_property: ; @if_array_satifies_binary_heap_property
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_16
LBB0_3:
str wzr, [sp, #8]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [sp, #8]
mov w8, #2
mul w9, w8, w9
add w9, w9, #1
str w9, [sp, #4]
ldr w9, [sp, #8]
mul w8, w8, w9
add w8, w8, #2
str w8, [sp]
ldr w8, [sp, #4]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_16
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_16
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_4
LBB0_15:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_16
LBB0_16:
ldrb w8, [sp, #31]
and w0, w8, #0x1
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, #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]
mov w8, #0
str w8, [sp, #40] ; 4-byte Folded Spill
str wzr, [sp, #84]
; kill: def $x8 killed $xzr
str xzr, [sp, #72]
mov w8, #10
str w8, [sp, #68]
ldr x0, [sp, #72]
ldr w1, [sp, #68]
bl _if_array_satifies_binary_heap_property
ldr w8, [sp, #40] ; 4-byte Folded Reload
and w9, w0, #0x1
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #95
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
adrp x8, l___const.main.array1@PAGE
ldr w8, [x8, l___const.main.array1@PAGEOFF]
add x0, sp, #64
str w8, [sp, #64]
mov w8, #1
str w8, [sp, #36] ; 4-byte Folded Spill
str w8, [sp, #60]
ldr w1, [sp, #60]
bl _if_array_satifies_binary_heap_property
ldr w8, [sp, #36] ; 4-byte Folded Reload
and w9, w0, #0x1
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #102
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB1_5:
b LBB1_6
LBB1_6:
sub x0, x29, #68
str x0, [sp, #24] ; 8-byte Folded Spill
adrp x1, l___const.main.array2@PAGE
add x1, x1, l___const.main.array2@PAGEOFF
mov x2, #44
bl _memcpy
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov w8, #11
str w8, [sp, #56]
ldr w1, [sp, #56]
bl _if_array_satifies_binary_heap_property
and w9, w0, #0x1
mov w8, #1
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #109
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB1_8:
b LBB1_9
LBB1_9:
sub x0, x29, #112
str x0, [sp, #16] ; 8-byte Folded Spill
adrp x1, l___const.main.array3@PAGE
add x1, x1, l___const.main.array3@PAGEOFF
mov x2, #44
bl _memcpy
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w8, #11
str w8, [sp, #52]
ldr w1, [sp, #52]
bl _if_array_satifies_binary_heap_property
and w9, w0, #0x1
mov w8, #0
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #117
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB1_11:
b LBB1_12
LBB1_12:
add x0, sp, #100
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l___const.main.array4@PAGE
add x1, x1, l___const.main.array4@PAGEOFF
mov x2, #44
bl _memcpy
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w8, #11
str w8, [sp, #48]
ldr w1, [sp, #48]
bl _if_array_satifies_binary_heap_property
and w9, w0, #0x1
mov w8, #0
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #125
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___assert_rtn
LBB1_14:
b LBB1_15
LBB1_15:
adrp x8, l___const.main.array5@PAGE
add x8, x8, l___const.main.array5@PAGEOFF
ldr x8, [x8]
add x0, sp, #88
str x8, [sp, #88]
mov w8, #-90
str w8, [sp, #44]
ldr w1, [sp, #44]
bl _if_array_satifies_binary_heap_property
and w9, w0, #0x1
mov w8, #0
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #133
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB1_17:
b LBB1_18
LBB1_18:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_19
LBB1_19:
bl ___stack_chk_fail
LBB1_20:
mov w0, #0
ldp x29, x30, [sp, #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___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "45449553.c"
l_.str.1: ; @.str.1
.asciz "false == if_array_satifies_binary_heap_property(array0, len0)"
.section __TEXT,__literal4,4byte_literals
.p2align 2 ; @__const.main.array1
l___const.main.array1:
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "true == if_array_satifies_binary_heap_property(array1, len1)"
.section __TEXT,__const
.p2align 2 ; @__const.main.array2
l___const.main.array2:
.long 11 ; 0xb
.long 9 ; 0x9
.long 10 ; 0xa
.long 7 ; 0x7
.long 8 ; 0x8
.long 5 ; 0x5
.long 4 ; 0x4
.long 3 ; 0x3
.long 2 ; 0x2
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "true == if_array_satifies_binary_heap_property(array2, len2)"
.section __TEXT,__const
.p2align 2 ; @__const.main.array3
l___const.main.array3:
.long 11 ; 0xb
.long 9 ; 0x9
.long 10 ; 0xa
.long 7 ; 0x7
.long 8 ; 0x8
.long 5 ; 0x5
.long 4 ; 0x4
.long 3 ; 0x3
.long 13 ; 0xd
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "false == if_array_satifies_binary_heap_property(array3, len3)"
.section __TEXT,__const
.p2align 2 ; @__const.main.array4
l___const.main.array4:
.long 11 ; 0xb
.long 9 ; 0x9
.long 10 ; 0xa
.long 7 ; 0x7
.long 8 ; 0x8
.long 5 ; 0x5
.long 4 ; 0x4
.long 14 ; 0xe
.long 2 ; 0x2
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "false == if_array_satifies_binary_heap_property(array4, len4)"
.section __TEXT,__literal8,8byte_literals
.p2align 2 ; @__const.main.array5
l___const.main.array5:
.long 12 ; 0xc
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "false == if_array_satifies_binary_heap_property(array5, len5)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _if_array_satifies_binary_heap_property ## -- Begin function if_array_satifies_binary_heap_property
.p2align 4, 0x90
_if_array_satifies_binary_heap_property: ## @if_array_satifies_binary_heap_property
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
cmpq $0, -16(%rbp)
je LBB0_2
## %bb.1:
cmpl $0, -20(%rbp)
jg LBB0_3
LBB0_2:
movb $0, -1(%rbp)
jmp LBB0_16
LBB0_3:
movl $0, -24(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_15
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -24(%rbp), %eax
shll $1, %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl -24(%rbp), %eax
shll $1, %eax
addl $2, %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_9
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_8
## %bb.7:
movb $0, -1(%rbp)
jmp LBB0_16
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movl -32(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_13
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_12
## %bb.11:
movb $0, -1(%rbp)
jmp LBB0_16
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_4
LBB0_15:
movb $1, -1(%rbp)
LBB0_16:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -172(%rbp)
movq $0, -184(%rbp)
movl $10, -188(%rbp)
movq -184(%rbp), %rdi
movl -188(%rbp), %esi
callq _if_array_satifies_binary_heap_property
andb $1, %al
movzbl %al, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $95, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
movl L___const.main.array1(%rip), %eax
movl %eax, -192(%rbp)
movl $1, -196(%rbp)
leaq -192(%rbp), %rdi
movl -196(%rbp), %esi
callq _if_array_satifies_binary_heap_property
andb $1, %al
movzbl %al, %ecx
movl $1, %eax
cmpl %ecx, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_5
## %bb.4:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $102, %edx
callq ___assert_rtn
LBB1_5:
jmp LBB1_6
LBB1_6:
leaq -64(%rbp), %rdi
leaq l___const.main.array2(%rip), %rsi
movl $44, %edx
callq _memcpy
movl $11, -200(%rbp)
leaq -64(%rbp), %rdi
movl -200(%rbp), %esi
callq _if_array_satifies_binary_heap_property
andb $1, %al
movzbl %al, %ecx
movl $1, %eax
cmpl %ecx, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_8
## %bb.7:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $109, %edx
callq ___assert_rtn
LBB1_8:
jmp LBB1_9
LBB1_9:
leaq -112(%rbp), %rdi
leaq l___const.main.array3(%rip), %rsi
movl $44, %edx
callq _memcpy
movl $11, -204(%rbp)
leaq -112(%rbp), %rdi
movl -204(%rbp), %esi
callq _if_array_satifies_binary_heap_property
andb $1, %al
movzbl %al, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_11
## %bb.10:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movl $117, %edx
callq ___assert_rtn
LBB1_11:
jmp LBB1_12
LBB1_12:
leaq -160(%rbp), %rdi
leaq l___const.main.array4(%rip), %rsi
movl $44, %edx
callq _memcpy
movl $11, -208(%rbp)
leaq -160(%rbp), %rdi
movl -208(%rbp), %esi
callq _if_array_satifies_binary_heap_property
andb $1, %al
movzbl %al, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_14
## %bb.13:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %rcx
movl $125, %edx
callq ___assert_rtn
LBB1_14:
jmp LBB1_15
LBB1_15:
movq L___const.main.array5(%rip), %rax
movq %rax, -168(%rbp)
movl $-90, -212(%rbp)
leaq -168(%rbp), %rdi
movl -212(%rbp), %esi
callq _if_array_satifies_binary_heap_property
andb $1, %al
movzbl %al, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_17
## %bb.16:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $133, %edx
callq ___assert_rtn
LBB1_17:
jmp LBB1_18
LBB1_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_20
## %bb.19:
xorl %eax, %eax
addq $224, %rsp
popq %rbp
retq
LBB1_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "45449553.c"
L_.str.1: ## @.str.1
.asciz "false == if_array_satifies_binary_heap_property(array0, len0)"
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## @__const.main.array1
L___const.main.array1:
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "true == if_array_satifies_binary_heap_property(array1, len1)"
.section __TEXT,__const
.p2align 4 ## @__const.main.array2
l___const.main.array2:
.long 11 ## 0xb
.long 9 ## 0x9
.long 10 ## 0xa
.long 7 ## 0x7
.long 8 ## 0x8
.long 5 ## 0x5
.long 4 ## 0x4
.long 3 ## 0x3
.long 2 ## 0x2
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "true == if_array_satifies_binary_heap_property(array2, len2)"
.section __TEXT,__const
.p2align 4 ## @__const.main.array3
l___const.main.array3:
.long 11 ## 0xb
.long 9 ## 0x9
.long 10 ## 0xa
.long 7 ## 0x7
.long 8 ## 0x8
.long 5 ## 0x5
.long 4 ## 0x4
.long 3 ## 0x3
.long 13 ## 0xd
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "false == if_array_satifies_binary_heap_property(array3, len3)"
.section __TEXT,__const
.p2align 4 ## @__const.main.array4
l___const.main.array4:
.long 11 ## 0xb
.long 9 ## 0x9
.long 10 ## 0xa
.long 7 ## 0x7
.long 8 ## 0x8
.long 5 ## 0x5
.long 4 ## 0x4
.long 14 ## 0xe
.long 2 ## 0x2
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "false == if_array_satifies_binary_heap_property(array4, len4)"
.section __TEXT,__literal8,8byte_literals
.p2align 2 ## @__const.main.array5
L___const.main.array5:
.long 12 ## 0xc
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "false == if_array_satifies_binary_heap_property(array5, len5)"
.subsections_via_symbols
| the_stack_data/45449553.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, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s0, [x29, #-8]
movi.2s v1, #66, lsl #24
; kill: def $s1 killed $s1 killed $d1
fsub s0, s0, s1
mov w8, #14564
movk w8, #16142, lsl #16
fmov s1, w8
fmul s0, s0, s1
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter Fahrenheit temperature: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Celsius equivalent: %.1f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x3f0e38e4 ## float 0.555555582
LCPI0_1:
.long 0x42000000 ## float 32
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter Fahrenheit temperature: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Celsius equivalent: %.1f\n"
.subsections_via_symbols
| the_stack_data/145454056.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/31388992.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipv6cp_DecodeConfig
_ipv6cp_DecodeConfig: ; @ipv6cp_DecodeConfig
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #336
adrp x8, _IPV6CP_IFIDLEN@GOTPAGE
ldr x8, [x8, _IPV6CP_IFIDLEN@GOTPAGEOFF]
sub x9, x29, #16
stur x8, [x9, #-256] ; 8-byte Folded Spill
adrp x8, _LogIPV6CP@GOTPAGE
ldr x8, [x8, _LogIPV6CP@GOTPAGEOFF]
sub x9, x29, #32
stur x8, [x9, #-256] ; 8-byte Folded Spill
adrp x8, _LogPHASE@GOTPAGE
ldr x8, [x8, _LogPHASE@GOTPAGEOFF]
sub x9, x29, #24
stur x8, [x9, #-256] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur x0, [x29, #-136]
stur x1, [x29, #-144]
stur x2, [x29, #-152]
stur w3, [x29, #-156]
stur x4, [x29, #-168]
ldur x0, [x29, #-136]
bl _fsm2ipv6cp
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
stur x0, [x29, #-176]
ldr w9, [x8]
; kill: def $x9 killed $w9
stur x9, [x29, #-256] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-192]
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
sub x10, x29, #8
stur x9, [x10, #-256] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub x9, x29, #8
ldur x11, [x9, #-256] ; 8-byte Folded Reload
ldur x9, [x29, #-256] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-248] ; 8-byte Folded Spill
stur x9, [x29, #-200]
ldr w9, [x8]
; kill: def $x9 killed $w9
stur x9, [x29, #-232] ; 8-byte Folded Spill
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 x0, x10, x11
stur x0, [x29, #-224] ; 8-byte Folded Spill
mov sp, x0
stur x9, [x29, #-208]
ldr w2, [x8]
mov w1, #0
bl _memset
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_21 Depth 2
; Child Loop BB0_25 Depth 3
ldur x8, [x29, #-152]
ldur x9, [x29, #-144]
subs x8, x8, x9
mov x9, #4
sdiv x8, x8, x9
subs x8, x8, #8
cset w8, lt
tbnz w8, #0, LBB0_46
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
sub x0, x29, #144
bl _fsm_readopt
mov x8, x0
stur x8, [x29, #-216]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_46
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-216]
ldr w0, [x8]
bl _protoname
mov x3, x0
ldur x8, [x29, #-216]
ldr w4, [x8, #4]
sub x0, x29, #124
mov w1, #100
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _snprintf
ldur x8, [x29, #-216]
ldr w8, [x8]
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB0_42
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-248] ; 8-byte Folded Reload
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldur x9, [x29, #-216]
ldr x1, [x9, #8]
ldr w2, [x8]
bl _memcpy
sub x8, x29, #32
ldur x9, [x8, #-256] ; 8-byte Folded Reload
ldur x8, [x29, #-248] ; 8-byte Folded Reload
ldr w0, [x9]
ldr w9, [x8]
; implicit-def: $x16
mov x16, x9
ldr w9, [x8, #4]
; implicit-def: $x15
mov x15, x9
ldr w9, [x8, #8]
; implicit-def: $x14
mov x14, x9
ldr w9, [x8, #12]
; implicit-def: $x13
mov x13, x9
ldr w9, [x8, #16]
; implicit-def: $x12
mov x12, x9
ldr w9, [x8, #20]
; implicit-def: $x11
mov x11, x9
ldr w9, [x8, #24]
; implicit-def: $x10
mov x10, x9
ldr w9, [x8, #28]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #80
mov x9, sp
sub x17, x29, #48
stur x9, [x17, #-256] ; 8-byte Folded Spill
sub x17, x29, #124
str x17, [x9]
str x16, [x9, #8]
str x15, [x9, #16]
str x14, [x9, #24]
str x13, [x9, #32]
str x12, [x9, #40]
str x11, [x9, #48]
str x10, [x9, #56]
str x8, [x9, #64]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _log_Printf
add sp, sp, #80
ldur w8, [x29, #-156]
sub x9, x29, #36
stur w8, [x9, #-256] ; 4-byte Folded Spill
subs w8, w8, #129
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #36
ldur w8, [x8, #-256] ; 4-byte Folded Reload
subs w8, w8, #130
cset w8, eq
tbnz w8, #0, LBB0_40
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #36
ldur w8, [x8, #-256] ; 4-byte Folded Reload
subs w8, w8, #131
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_41
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur x1, [x29, #-248] ; 8-byte Folded Reload
ldur x9, [x29, #-176]
mov w8, #1
str w8, [x9]
ldur x0, [x29, #-176]
ldur x2, [x29, #-168]
bl _ipv6cp_ValidateInterfaceID
b LBB0_41
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur x1, [x29, #-224] ; 8-byte Folded Reload
ldur x0, [x29, #-248] ; 8-byte Folded Reload
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w2, [x8]
bl _memcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #32
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w0, [x8]
bl _log_IsKept
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #32
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w8, [x8]
sub x9, x29, #52
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #24
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w8, [x8]
sub x9, x29, #52
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #52
ldur w0, [x8, #-256] ; 4-byte Folded Reload
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _log_Printf
ldur x8, [x29, #-176]
add x0, x8, #24
bl _fsm_Close
b LBB0_39
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-248] ; 8-byte Folded Reload
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldur x9, [x29, #-176]
ldr x1, [x9, #32]
ldr w2, [x8]
bl _memcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #32
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w0, [x8]
bl _log_IsKept
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #32
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w8, [x8]
sub x9, x29, #56
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #24
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w8, [x8]
sub x9, x29, #56
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-248] ; 8-byte Folded Reload
sub x9, x29, #56
ldur w0, [x9, #-256] ; 4-byte Folded Reload
ldr w9, [x8]
; implicit-def: $x16
mov x16, x9
ldr w9, [x8, #4]
; implicit-def: $x15
mov x15, x9
ldr w9, [x8, #8]
; implicit-def: $x14
mov x14, x9
ldr w9, [x8, #12]
; implicit-def: $x13
mov x13, x9
ldr w9, [x8, #16]
; implicit-def: $x12
mov x12, x9
ldr w9, [x8, #20]
; implicit-def: $x11
mov x11, x9
ldr w9, [x8, #24]
; implicit-def: $x10
mov x10, x9
ldr w9, [x8, #28]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #64
mov x9, sp
sub x17, x29, #64
stur x9, [x17, #-256] ; 8-byte Folded Spill
str x16, [x9]
str x15, [x9, #8]
str x14, [x9, #16]
str x13, [x9, #24]
str x12, [x9, #32]
str x11, [x9, #40]
str x10, [x9, #48]
str x8, [x9, #56]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _log_Printf
add sp, sp, #64
b LBB0_38
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-248] ; 8-byte Folded Reload
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldur x9, [x29, #-176]
ldr x1, [x9, #16]
ldr w2, [x8]
bl _memcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_37
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
mov w8, #100
stur w8, [x29, #-180]
b LBB0_21
LBB0_21: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_25 Depth 3
ldur w8, [x29, #-180]
subs w8, w8, #0
cset w8, eq
mov w9, #0
sub x10, x29, #68
stur w9, [x10, #-256] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_21 Depth=2
ldur x1, [x29, #-248] ; 8-byte Folded Reload
ldur x0, [x29, #-176]
ldur x8, [x29, #-176]
ldr x2, [x8, #32]
bl _ipcp_SetIPv6address
subs w8, w0, #0
cset w8, eq
sub x9, x29, #68
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_21 Depth=2
sub x8, x29, #68
ldur w8, [x8, #-256] ; 4-byte Folded Reload
tbz w8, #0, LBB0_30
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_21 Depth=2
b LBB0_25
LBB0_25: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_21 Depth=2
; => This Inner Loop Header: Depth=3
ldur x0, [x29, #-248] ; 8-byte Folded Reload
ldur w8, [x29, #-180]
subs w8, w8, #1
stur w8, [x29, #-180]
mov w1, #1
bl _SetInterfaceID
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=3
ldur w8, [x29, #-180]
subs w8, w8, #0
cset w8, eq
mov w9, #0
sub x10, x29, #72
stur w9, [x10, #-256] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=3
ldur x0, [x29, #-248] ; 8-byte Folded Reload
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldur x9, [x29, #-176]
ldr x1, [x9, #32]
ldr w2, [x8]
bl _memcmp
subs w8, w0, #0
cset w8, eq
sub x9, x29, #72
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_25 Depth=3
sub x8, x29, #72
ldur w8, [x8, #-256] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_25
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_21 Depth=2
b LBB0_21
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-180]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #32
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w0, [x8]
bl _log_IsKept
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #32
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w8, [x8]
sub x9, x29, #76
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #24
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w8, [x8]
sub x9, x29, #76
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_1 Depth=1
sub x8, x29, #76
ldur w0, [x8, #-256] ; 4-byte Folded Reload
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _log_Printf
ldur x8, [x29, #-176]
add x0, x8, #24
bl _fsm_Close
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-248] ; 8-byte Folded Reload
sub x9, x29, #32
ldur x9, [x9, #-256] ; 8-byte Folded Reload
ldr w0, [x9]
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9]
; implicit-def: $x7
mov x7, x9
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9, #4]
; implicit-def: $x6
mov x6, x9
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9, #8]
; implicit-def: $x5
mov x5, x9
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9, #12]
; implicit-def: $x4
mov x4, x9
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9, #16]
; implicit-def: $x3
mov x3, x9
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9, #20]
; implicit-def: $x2
mov x2, x9
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9, #24]
; implicit-def: $x1
mov x1, x9
ldur x9, [x29, #-176]
ldr x9, [x9, #16]
ldr w9, [x9, #28]
; implicit-def: $x17
mov x17, x9
ldr w9, [x8]
; implicit-def: $x16
mov x16, x9
ldr w9, [x8, #4]
; implicit-def: $x15
mov x15, x9
ldr w9, [x8, #8]
; implicit-def: $x14
mov x14, x9
ldr w9, [x8, #12]
; implicit-def: $x13
mov x13, x9
ldr w9, [x8, #16]
; implicit-def: $x12
mov x12, x9
ldr w9, [x8, #20]
; implicit-def: $x11
mov x11, x9
ldr w9, [x8, #24]
; implicit-def: $x10
mov x10, x9
ldr w9, [x8, #28]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #144
mov x9, sp
sub x19, x29, #88
stur x9, [x19, #-256] ; 8-byte Folded Spill
sub x19, x29, #124
str x19, [x9]
str x7, [x9, #8]
str x6, [x9, #16]
str x5, [x9, #24]
str x4, [x9, #32]
str x3, [x9, #40]
str x2, [x9, #48]
str x1, [x9, #56]
str x17, [x9, #64]
str x16, [x9, #72]
str x15, [x9, #80]
str x14, [x9, #88]
str x13, [x9, #96]
str x12, [x9, #104]
str x11, [x9, #112]
str x10, [x9, #120]
str x8, [x9, #128]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _log_Printf
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldur x1, [x29, #-248] ; 8-byte Folded Reload
add sp, sp, #144
ldur x9, [x29, #-176]
ldr x0, [x9, #16]
ldr w2, [x8]
bl _memcpy
ldur x8, [x29, #-136]
ldr w0, [x8]
ldur x8, [x29, #-176]
add x1, x8, #12
mov x2, #0
bl _bundle_AdjustFilters
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_1 Depth=1
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-216]
ldr w9, [x8]
mov w8, #1
lsl w10, w8, w9
ldur x9, [x29, #-176]
ldr w8, [x9, #4]
orr w8, w8, w10
str w8, [x9, #4]
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
b LBB0_45
LBB0_42: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-156]
adrp x9, _MODE_NOP@GOTPAGE
ldr x9, [x9, _MODE_NOP@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-216]
ldr w9, [x8]
mov w8, #1
lsl w10, w8, w9
ldur x9, [x29, #-176]
ldr w8, [x9, #8]
orr w8, w8, w10
str w8, [x9, #8]
ldur x0, [x29, #-168]
ldur x1, [x29, #-216]
bl _fsm_rej
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:
ldur w8, [x29, #-156]
adrp x9, _MODE_NOP@GOTPAGE
ldr x9, [x9, _MODE_NOP@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_47
LBB0_47:
ldur w8, [x29, #-156]
subs w8, w8, #129
cset w8, ne
tbnz w8, #0, LBB0_53
b LBB0_48
LBB0_48:
ldur x8, [x29, #-176]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_53
b LBB0_49
LBB0_49:
ldur x8, [x29, #-168]
ldr x8, [x8]
ldur x9, [x29, #-168]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_52
b LBB0_50
LBB0_50:
ldur x8, [x29, #-168]
ldr x8, [x8, #16]
ldur x9, [x29, #-168]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51:
ldur x9, [x29, #-176]
mov w8, #1
str w8, [x9]
b LBB0_52
LBB0_52:
ldur x0, [x29, #-248] ; 8-byte Folded Reload
sub x8, x29, #16
ldur x8, [x8, #-256] ; 8-byte Folded Reload
ldr w2, [x8]
mov w1, #0
bl _memset
ldur x1, [x29, #-248] ; 8-byte Folded Reload
ldur x0, [x29, #-176]
ldur x2, [x29, #-168]
bl _ipv6cp_ValidateInterfaceID
b LBB0_53
LBB0_53:
ldur x0, [x29, #-168]
bl _fsm_opt_normalise
b LBB0_54
LBB0_54:
ldur x8, [x29, #-192]
sub x9, x29, #96
stur x8, [x9, #-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_56
b LBB0_55
LBB0_55:
bl ___stack_chk_fail
LBB0_56:
sub x8, x29, #96
ldur x8, [x8, #-256] ; 8-byte Folded Reload
mov sp, x8
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _IPV6CP_IFIDLEN,4,2 ; @IPV6CP_IFIDLEN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " %s[%d]"
.comm _LogIPV6CP,4,2 ; @LogIPV6CP
l_.str.1: ; @.str.1
.asciz "%s 0x%02x%02x%02x%02x%02x%02x%02x%02x\n"
.comm _LogPHASE,4,2 ; @LogPHASE
l_.str.2: ; @.str.2
.asciz "0x0000000000000000: Unacceptable IntefaceID!\n"
l_.str.3: ; @.str.3
.asciz "0x%02x%02x%02x%02x%02x%02x%02x%02x: Unacceptable IntefaceID!\n"
l_.str.4: ; @.str.4
.asciz "%s changing IntefaceID: 0x%02x%02x%02x%02x%02x%02x%02x%02x --> 0x%02x%02x%02x%02x%02x%02x%02x%02x\n"
.comm _MODE_NOP,4,2 ; @MODE_NOP
.no_dead_strip _ipv6cp_DecodeConfig
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipv6cp_DecodeConfig
_ipv6cp_DecodeConfig: ## @ipv6cp_DecodeConfig
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $296, %rsp ## imm = 0x128
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rdi, -168(%rbp)
movq %rsi, -176(%rbp)
movq %rdx, -184(%rbp)
movl %ecx, -188(%rbp)
movq %r8, -200(%rbp)
movq -168(%rbp), %rdi
callq _fsm2ipv6cp
movq %rax, -208(%rbp)
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movq %rax, -280(%rbp) ## 8-byte Spill
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -288(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -224(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
movq -288(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -280(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -272(%rbp) ## 8-byte Spill
movq %rcx, -232(%rbp)
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -264(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -264(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdi
movq %rdi, -256(%rbp) ## 8-byte Spill
movq %rax, -240(%rbp)
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
callq _memset
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
## Child Loop BB0_23 Depth 3
movq -184(%rbp), %rax
movq -176(%rbp), %rcx
subq %rcx, %rax
sarq $2, %rax
cmpq $8, %rax
jl LBB0_44
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -176(%rbp), %rdi
callq _fsm_readopt
movq %rax, -248(%rbp)
cmpq $0, %rax
jne LBB0_4
## %bb.3:
jmp LBB0_44
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -248(%rbp), %rax
movl (%rax), %edi
callq _protoname
movq %rax, %rcx
movq -248(%rbp), %rax
movl 4(%rax), %r8d
leaq L_.str(%rip), %rdx
leaq -160(%rbp), %rdi
movl $100, %esi
callq _snprintf
movq -248(%rbp), %rax
movl (%rax), %eax
subl $128, %eax
jne LBB0_40
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -272(%rbp), %rdi ## 8-byte Reload
movq -248(%rbp), %rax
movq 8(%rax), %rsi
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcpy
## kill: def $ecx killed $eax
movq -272(%rbp), %rax ## 8-byte Reload
movq _LogIPV6CP@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl (%rax), %ecx
movl 4(%rax), %r8d
movl 8(%rax), %r9d
movl 12(%rax), %edx
movl 16(%rax), %esi
movl 20(%rax), %r10d
movl 24(%rax), %r11d
movl 28(%rax), %ebx
subq $48, %rsp
movq %rsp, %rax
movl %ebx, 32(%rax)
movl %r11d, 24(%rax)
movl %r10d, 16(%rax)
movl %esi, 8(%rax)
movl %edx, (%rax)
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -160(%rbp), %rdx
callq _log_Printf
addq $48, %rsp
movl -188(%rbp), %eax
movl %eax, -292(%rbp) ## 4-byte Spill
subl $129, %eax
je LBB0_6
jmp LBB0_55
LBB0_55: ## in Loop: Header=BB0_1 Depth=1
movl -292(%rbp), %eax ## 4-byte Reload
subl $130, %eax
je LBB0_38
jmp LBB0_56
LBB0_56: ## in Loop: Header=BB0_1 Depth=1
movl -292(%rbp), %eax ## 4-byte Reload
subl $131, %eax
je LBB0_7
jmp LBB0_39
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -272(%rbp), %rsi ## 8-byte Reload
movq -208(%rbp), %rax
movl $1, (%rax)
movq -208(%rbp), %rdi
movq -200(%rbp), %rdx
callq _ipv6cp_ValidateInterfaceID
jmp LBB0_39
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -256(%rbp), %rsi ## 8-byte Reload
movq -272(%rbp), %rdi ## 8-byte Reload
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcmp
cmpl $0, %eax
jne LBB0_12
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq _LogIPV6CP@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _log_IsKept
cmpl $0, %eax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq _LogIPV6CP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -296(%rbp) ## 4-byte Spill
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq _LogPHASE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -296(%rbp) ## 4-byte Spill
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -296(%rbp), %edi ## 4-byte Reload
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _log_Printf
movq -208(%rbp), %rdi
addq $24, %rdi
callq _fsm_Close
jmp LBB0_37
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movq -272(%rbp), %rdi ## 8-byte Reload
movq -208(%rbp), %rax
movq 32(%rax), %rsi
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcmp
cmpl $0, %eax
jne LBB0_17
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movq _LogIPV6CP@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _log_IsKept
cmpl $0, %eax
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movq _LogIPV6CP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movq _LogPHASE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq -272(%rbp), %rax ## 8-byte Reload
movl -300(%rbp), %edi ## 4-byte Reload
movl (%rax), %edx
movl 4(%rax), %ecx
movl 8(%rax), %r8d
movl 12(%rax), %r9d
movl 16(%rax), %ebx
movl 20(%rax), %r11d
movl 24(%rax), %r10d
movl 28(%rax), %eax
leaq L_.str.3(%rip), %rsi
subq $32, %rsp
movl %ebx, (%rsp)
movl %r11d, 8(%rsp)
movl %r10d, 16(%rsp)
movl %eax, 24(%rsp)
movb $0, %al
callq _log_Printf
addq $32, %rsp
jmp LBB0_36
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movq -272(%rbp), %rdi ## 8-byte Reload
movq -208(%rbp), %rax
movq 16(%rax), %rsi
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcmp
cmpl $0, %eax
je LBB0_35
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
movl $100, -212(%rbp)
LBB0_19: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_23 Depth 3
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -212(%rbp)
movb %al, -301(%rbp) ## 1-byte Spill
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq -272(%rbp), %rsi ## 8-byte Reload
movq -208(%rbp), %rdi
movq -208(%rbp), %rax
movq 32(%rax), %rdx
callq _ipcp_SetIPv6address
cmpl $0, %eax
setne %al
xorb $-1, %al
movb %al, -301(%rbp) ## 1-byte Spill
LBB0_21: ## in Loop: Header=BB0_19 Depth=2
movb -301(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_22
jmp LBB0_28
LBB0_22: ## in Loop: Header=BB0_19 Depth=2
jmp LBB0_23
LBB0_23: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_19 Depth=2
## => This Inner Loop Header: Depth=3
movq -272(%rbp), %rdi ## 8-byte Reload
movl -212(%rbp), %eax
addl $-1, %eax
movl %eax, -212(%rbp)
movl $1, %esi
callq _SetInterfaceID
## %bb.24: ## in Loop: Header=BB0_23 Depth=3
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -212(%rbp)
movb %al, -302(%rbp) ## 1-byte Spill
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_23 Depth=3
movq -272(%rbp), %rdi ## 8-byte Reload
movq -208(%rbp), %rax
movq 32(%rax), %rsi
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcmp
cmpl $0, %eax
sete %al
movb %al, -302(%rbp) ## 1-byte Spill
LBB0_26: ## in Loop: Header=BB0_23 Depth=3
movb -302(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_23
## %bb.27: ## in Loop: Header=BB0_19 Depth=2
jmp LBB0_19
LBB0_28: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -212(%rbp)
jne LBB0_33
## %bb.29: ## in Loop: Header=BB0_1 Depth=1
movq _LogIPV6CP@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _log_IsKept
cmpl $0, %eax
je LBB0_31
## %bb.30: ## in Loop: Header=BB0_1 Depth=1
movq _LogIPV6CP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -308(%rbp) ## 4-byte Spill
jmp LBB0_32
LBB0_31: ## in Loop: Header=BB0_1 Depth=1
movq _LogPHASE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -308(%rbp) ## 4-byte Spill
LBB0_32: ## in Loop: Header=BB0_1 Depth=1
movl -308(%rbp), %edi ## 4-byte Reload
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _log_Printf
movq -208(%rbp), %rdi
addq $24, %rdi
callq _fsm_Close
jmp LBB0_34
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
movq -272(%rbp), %rsi ## 8-byte Reload
movq _LogIPV6CP@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -160(%rbp), %rdx
movq -208(%rbp), %rax
movq 16(%rax), %rax
movl (%rax), %ecx
movq -208(%rbp), %rax
movq 16(%rax), %rax
movl 4(%rax), %r8d
movq -208(%rbp), %rax
movq 16(%rax), %rax
movl 8(%rax), %r9d
movq -208(%rbp), %rax
movq 16(%rax), %rax
movl 12(%rax), %eax
movq -208(%rbp), %r10
movq 16(%r10), %r10
movl 16(%r10), %r10d
movl %r10d, -328(%rbp) ## 4-byte Spill
movq -208(%rbp), %r10
movq 16(%r10), %r10
movl 20(%r10), %r10d
movl %r10d, -324(%rbp) ## 4-byte Spill
movq -208(%rbp), %r10
movq 16(%r10), %r10
movl 24(%r10), %r10d
movl %r10d, -320(%rbp) ## 4-byte Spill
movq -208(%rbp), %r10
movq 16(%r10), %r10
movl 28(%r10), %r10d
movl %r10d, -316(%rbp) ## 4-byte Spill
movl (%rsi), %r13d
movl 4(%rsi), %r12d
movl 8(%rsi), %r15d
movl 12(%rsi), %r14d
movl 16(%rsi), %ebx
movl 20(%rsi), %r11d
movl 24(%rsi), %r10d
movl 28(%rsi), %esi
movl %esi, -312(%rbp) ## 4-byte Spill
leaq L_.str.4(%rip), %rsi
subq $112, %rsp
movl %eax, (%rsp)
movl -328(%rbp), %eax ## 4-byte Reload
movl %eax, 8(%rsp)
movl -324(%rbp), %eax ## 4-byte Reload
movl %eax, 16(%rsp)
movl -320(%rbp), %eax ## 4-byte Reload
movl %eax, 24(%rsp)
movl -316(%rbp), %eax ## 4-byte Reload
movl %eax, 32(%rsp)
movl -312(%rbp), %eax ## 4-byte Reload
movl %r13d, 40(%rsp)
movl %r12d, 48(%rsp)
movl %r15d, 56(%rsp)
movl %r14d, 64(%rsp)
movl %ebx, 72(%rsp)
movl %r11d, 80(%rsp)
movl %r10d, 88(%rsp)
movl %eax, 96(%rsp)
movb $0, %al
callq _log_Printf
movq -272(%rbp), %rsi ## 8-byte Reload
addq $112, %rsp
movq -208(%rbp), %rax
movq 16(%rax), %rdi
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcpy
movq -168(%rbp), %rax
movl (%rax), %edi
movq -208(%rbp), %rsi
addq $12, %rsi
xorl %eax, %eax
movl %eax, %edx
callq _bundle_AdjustFilters
LBB0_34: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_36
LBB0_36: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_37
LBB0_37: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_39
LBB0_38: ## in Loop: Header=BB0_1 Depth=1
movq -248(%rbp), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movq -208(%rbp), %rax
orl 4(%rax), %ecx
movl %ecx, 4(%rax)
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_43
LBB0_40: ## in Loop: Header=BB0_1 Depth=1
movl -188(%rbp), %eax
movq _MODE_NOP@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_1 Depth=1
movq -248(%rbp), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movq -208(%rbp), %rax
orl 8(%rax), %ecx
movl %ecx, 8(%rax)
movq -200(%rbp), %rdi
movq -248(%rbp), %rsi
callq _fsm_rej
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_43
LBB0_43: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_44:
movl -188(%rbp), %eax
movq _MODE_NOP@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_52
## %bb.45:
cmpl $129, -188(%rbp)
jne LBB0_51
## %bb.46:
movq -208(%rbp), %rax
cmpl $0, (%rax)
jne LBB0_51
## %bb.47:
movq -200(%rbp), %rax
movq (%rax), %rax
movq -200(%rbp), %rcx
cmpq 8(%rcx), %rax
jne LBB0_50
## %bb.48:
movq -200(%rbp), %rax
movq 16(%rax), %rax
movq -200(%rbp), %rcx
cmpq 24(%rcx), %rax
jne LBB0_50
## %bb.49:
movq -208(%rbp), %rax
movl $1, (%rax)
LBB0_50:
movq -272(%rbp), %rdi ## 8-byte Reload
movq _IPV6CP_IFIDLEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
callq _memset
movq -272(%rbp), %rsi ## 8-byte Reload
movq -208(%rbp), %rdi
movq -200(%rbp), %rdx
callq _ipv6cp_ValidateInterfaceID
LBB0_51:
movq -200(%rbp), %rdi
callq _fsm_opt_normalise
LBB0_52:
movq -224(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_54
## %bb.53:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_54:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _IPV6CP_IFIDLEN,4,2 ## @IPV6CP_IFIDLEN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %s[%d]"
.comm _LogIPV6CP,4,2 ## @LogIPV6CP
L_.str.1: ## @.str.1
.asciz "%s 0x%02x%02x%02x%02x%02x%02x%02x%02x\n"
.comm _LogPHASE,4,2 ## @LogPHASE
L_.str.2: ## @.str.2
.asciz "0x0000000000000000: Unacceptable IntefaceID!\n"
L_.str.3: ## @.str.3
.asciz "0x%02x%02x%02x%02x%02x%02x%02x%02x: Unacceptable IntefaceID!\n"
L_.str.4: ## @.str.4
.asciz "%s changing IntefaceID: 0x%02x%02x%02x%02x%02x%02x%02x%02x --> 0x%02x%02x%02x%02x%02x%02x%02x%02x\n"
.comm _MODE_NOP,4,2 ## @MODE_NOP
.no_dead_strip _ipv6cp_DecodeConfig
.subsections_via_symbols
| the_stack_data/150141524.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g ; -- Begin function g
.p2align 2
_g: ; @g
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #6
cset w8, ls
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #32
strb w8, [sp, #15]
b LBB0_3
LBB0_2:
ldr w8, [sp, #8]
mov x9, x8
adrp x8, _D@PAGE
add x8, x8, _D@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB0_3
LBB0_3:
ldrsb w0, [sp, #15]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _D ; @D
_D:
.ascii "mMjvsdL"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g ## -- Begin function g
.p2align 4, 0x90
_g: ## @g
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
cmpl $6, -8(%rbp)
jbe LBB0_2
## %bb.1:
movb $32, -1(%rbp)
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %eax
movl %eax, %ecx
leaq _D(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -1(%rbp)
LBB0_3:
movsbl -1(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _D ## @D
_D:
.ascii "mMjvsdL"
.subsections_via_symbols
| the_stack_data/139769.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #8]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
subs x8, x8, #74
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x8, [sp, #12]
mov x9, #24
mul x9, x8, x9
adrp x8, _test_vectors@PAGE
add x8, x8, _test_vectors@PAGEOFF
add x0, x8, x9
bl _dotest
ldr w8, [sp, #8]
add w8, w8, w0
str w8, [sp, #8]
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:
ldr w0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function dotest
_dotest: ; @dotest
.cfi_startproc
; %bb.0:
sub sp, sp, #368
.cfi_def_cfa_offset 368
stp x28, x27, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #56]
ldr x8, [sp, #56]
ldr d0, [x8]
ldr x8, [sp, #56]
ldr w0, [x8, #8]
add x1, sp, #72
bl _gcvt
str x0, [sp, #48]
ldr x8, [sp, #56]
ldr x0, [x8, #16]
ldr x1, [sp, #48]
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #56]
ldr d0, [x8]
ldr x8, [sp, #56]
ldr w8, [x8, #8]
; implicit-def: $x11
mov x11, x8
ldr x8, [sp, #56]
ldr x10, [x8, #16]
ldr x8, [sp, #48]
mov x9, sp
str d0, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w8, #1
str w8, [sp, #68]
b LBB1_3
LBB1_2:
str wzr, [sp, #68]
b LBB1_3
LBB1_3:
ldr w8, [sp, #68]
str w8, [sp, #44] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
bl ___stack_chk_fail
LBB1_5:
ldr w0, [sp, #44] ; 4-byte Folded Reload
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x28, x27, [sp, #336] ; 16-byte Folded Reload
add sp, sp, #368
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @test_vectors
_test_vectors:
.quad 0x3fb999999999999a ; double 0.10000000000000001
.long 8 ; 0x8
.space 4
.quad l_.str.1
.quad 0x3f847ae147ae147b ; double 0.01
.long 8 ; 0x8
.space 4
.quad l_.str.2
.quad 0x3f50624dd2f1a9fc ; double 0.001
.long 8 ; 0x8
.space 4
.quad l_.str.3
.quad 0x3f1a36e2eb1c432d ; double 1.0E-4
.long 8 ; 0x8
.space 4
.quad l_.str.4
.quad 0x3f1797cc39ffd60f ; double 9.0000000000000006E-5
.long 8 ; 0x8
.space 4
.quad l_.str.5
.quad 0x3ff0000000000000 ; double 1
.long 8 ; 0x8
.space 4
.quad l_.str.6
.quad 0x3ff199999999999a ; double 1.1000000000000001
.long 8 ; 0x8
.space 4
.quad l_.str.7
.quad 0x3ff028f5c28f5c29 ; double 1.01
.long 8 ; 0x8
.space 4
.quad l_.str.8
.quad 0x3ff004189374bc6a ; double 1.0009999999999999
.long 8 ; 0x8
.space 4
.quad l_.str.9
.quad 0x3ff00068db8bac71 ; double 1.0001
.long 8 ; 0x8
.space 4
.quad l_.str.10
.quad 0x3ff0000a7c5ac472 ; double 1.0000100000000001
.long 8 ; 0x8
.space 4
.quad l_.str.11
.quad 0x3ff000010c6f7a0b ; double 1.0000009999999999
.long 8 ; 0x8
.space 4
.quad l_.str.12
.quad 0x0000000000000000 ; double 0
.long 8 ; 0x8
.space 4
.quad l_.str.13
.quad 0xbff0000000000000 ; double -1
.long 8 ; 0x8
.space 4
.quad l_.str.14
.quad 0x40f86a0000000000 ; double 1.0E+5
.long 8 ; 0x8
.space 4
.quad l_.str.15
.quad 0xc0f86a0000000000 ; double -1.0E+5
.long 8 ; 0x8
.space 4
.quad l_.str.16
.quad 0x405edd2f1a9fbe77 ; double 123.456
.long 8 ; 0x8
.space 4
.quad l_.str.17
.quad 0x46fed09bead87c03 ; double 9.9999999999999995E+33
.long 8 ; 0x8
.space 4
.quad l_.str.18
.quad 0x0000000000000000 ; double 0
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.13
.quad 0x0000000000000000 ; double 0
.long 0 ; 0x0
.space 4
.quad l_.str.13
.quad 0x0000000000000000 ; double 0
.long 1 ; 0x1
.space 4
.quad l_.str.13
.quad 0x0000000000000000 ; double 0
.long 2 ; 0x2
.space 4
.quad l_.str.13
.quad 0x3ff0000000000000 ; double 1
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.6
.quad 0x3ff0000000000000 ; double 1
.long 0 ; 0x0
.space 4
.quad l_.str.6
.quad 0x3ff0000000000000 ; double 1
.long 2 ; 0x2
.space 4
.quad l_.str.6
.quad 0x3ff0000000000000 ; double 1
.long 10 ; 0xa
.space 4
.quad l_.str.6
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.19
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 0 ; 0x0
.space 4
.quad l_.str.6
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 1 ; 0x1
.space 4
.quad l_.str.6
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 2 ; 0x2
.space 4
.quad l_.str.20
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 3 ; 0x3
.space 4
.quad l_.str.21
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 4 ; 0x4
.space 4
.quad l_.str.19
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 5 ; 0x5
.space 4
.quad l_.str.19
.quad 0x3ff3c6a7ef9db22d ; double 1.236
.long 6 ; 0x6
.space 4
.quad l_.str.19
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.22
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 0 ; 0x0
.space 4
.quad l_.str.23
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 1 ; 0x1
.space 4
.quad l_.str.23
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 2 ; 0x2
.space 4
.quad l_.str.24
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 3 ; 0x3
.space 4
.quad l_.str.25
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 4 ; 0x4
.space 4
.quad l_.str.22
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 5 ; 0x5
.space 4
.quad l_.str.22
.quad 0x4028b851eb851eb8 ; double 12.359999999999999
.long 6 ; 0x6
.space 4
.quad l_.str.22
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.26
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 0 ; 0x0
.space 4
.quad l_.str.27
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 1 ; 0x1
.space 4
.quad l_.str.27
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 2 ; 0x2
.space 4
.quad l_.str.28
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 3 ; 0x3
.space 4
.quad l_.str.29
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 4 ; 0x4
.space 4
.quad l_.str.26
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 5 ; 0x5
.space 4
.quad l_.str.26
.quad 0x405ee66666666666 ; double 123.59999999999999
.long 6 ; 0x6
.space 4
.quad l_.str.26
.quad 0x4093500000000000 ; double 1236
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.30
.quad 0x4093500000000000 ; double 1236
.long 0 ; 0x0
.space 4
.quad l_.str.31
.quad 0x4093500000000000 ; double 1236
.long 1 ; 0x1
.space 4
.quad l_.str.31
.quad 0x4093500000000000 ; double 1236
.long 2 ; 0x2
.space 4
.quad l_.str.32
.quad 0x4093500000000000 ; double 1236
.long 3 ; 0x3
.space 4
.quad l_.str.33
.quad 0x4093500000000000 ; double 1236
.long 4 ; 0x4
.space 4
.quad l_.str.30
.quad 0x4093500000000000 ; double 1236
.long 5 ; 0x5
.space 4
.quad l_.str.30
.quad 0x4093500000000000 ; double 1236
.long 6 ; 0x6
.space 4
.quad l_.str.30
.quad 0x54b249ad2594c37d ; double 1.0E+100
.long 10 ; 0xa
.space 4
.quad l_.str.34
.quad 0x54b249ad2594c37d ; double 1.0E+100
.long 20 ; 0x14
.space 4
.quad l_.str.35
.quad 0x3f8950331e3a7daa ; double 0.012359999999999999
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.36
.quad 0x3f8950331e3a7daa ; double 0.012359999999999999
.long 0 ; 0x0
.space 4
.quad l_.str.2
.quad 0x3f8950331e3a7daa ; double 0.012359999999999999
.long 1 ; 0x1
.space 4
.quad l_.str.2
.quad 0x3f8950331e3a7daa ; double 0.012359999999999999
.long 2 ; 0x2
.space 4
.quad l_.str.37
.quad 0x3f8950331e3a7daa ; double 0.012359999999999999
.long 3 ; 0x3
.space 4
.quad l_.str.38
.quad 0x3f8950331e3a7daa ; double 0.012359999999999999
.long 4 ; 0x4
.space 4
.quad l_.str.36
.quad 0x2b2bff2ee48e0530 ; double 1.0E-100
.long 20 ; 0x14
.space 4
.quad l_.str.39
.quad 0x2b2bff2ee48e0530 ; double 1.0E-100
.long 4294967295 ; 0xffffffff
.space 4
.quad l_.str.40
.quad 0xbff3333333333333 ; double -1.2
.long 5 ; 0x5
.space 4
.quad l_.str.41
.quad 0xbf9eb851eb851eb8 ; double -0.029999999999999999
.long 5 ; 0x5
.space 4
.quad l_.str.42
.quad 0x3fb999999999999a ; double 0.10000000000000001
.long 1 ; 0x1
.space 4
.quad l_.str.1
.quad 0x3fb999999999999a ; double 0.10000000000000001
.long 0 ; 0x0
.space 4
.quad l_.str.1
.quad 0x3fb99988d2a1f8e4 ; double 0.099999000000000004
.long 10 ; 0xa
.space 4
.quad l_.str.43
.quad 0x3fefffeb074a771d ; double 0.99999000000000004
.long 10 ; 0xa
.space 4
.quad l_.str.44
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%g @ %d: expected %s, got %s\n"
l_.str.1: ; @.str.1
.asciz "0.1"
l_.str.2: ; @.str.2
.asciz "0.01"
l_.str.3: ; @.str.3
.asciz "0.001"
l_.str.4: ; @.str.4
.asciz "0.0001"
l_.str.5: ; @.str.5
.asciz "9e-05"
l_.str.6: ; @.str.6
.asciz "1"
l_.str.7: ; @.str.7
.asciz "1.1"
l_.str.8: ; @.str.8
.asciz "1.01"
l_.str.9: ; @.str.9
.asciz "1.001"
l_.str.10: ; @.str.10
.asciz "1.0001"
l_.str.11: ; @.str.11
.asciz "1.00001"
l_.str.12: ; @.str.12
.asciz "1.000001"
l_.str.13: ; @.str.13
.asciz "0"
l_.str.14: ; @.str.14
.asciz "-1"
l_.str.15: ; @.str.15
.asciz "100000"
l_.str.16: ; @.str.16
.asciz "-100000"
l_.str.17: ; @.str.17
.asciz "123.456"
l_.str.18: ; @.str.18
.asciz "1e+34"
l_.str.19: ; @.str.19
.asciz "1.236"
l_.str.20: ; @.str.20
.asciz "1.2"
l_.str.21: ; @.str.21
.asciz "1.24"
l_.str.22: ; @.str.22
.asciz "12.36"
l_.str.23: ; @.str.23
.asciz "1e+01"
l_.str.24: ; @.str.24
.asciz "12"
l_.str.25: ; @.str.25
.asciz "12.4"
l_.str.26: ; @.str.26
.asciz "123.6"
l_.str.27: ; @.str.27
.asciz "1e+02"
l_.str.28: ; @.str.28
.asciz "1.2e+02"
l_.str.29: ; @.str.29
.asciz "124"
l_.str.30: ; @.str.30
.asciz "1236"
l_.str.31: ; @.str.31
.asciz "1e+03"
l_.str.32: ; @.str.32
.asciz "1.2e+03"
l_.str.33: ; @.str.33
.asciz "1.24e+03"
l_.str.34: ; @.str.34
.asciz "1e+100"
l_.str.35: ; @.str.35
.asciz "1.0000000000000000159e+100"
l_.str.36: ; @.str.36
.asciz "0.01236"
l_.str.37: ; @.str.37
.asciz "0.012"
l_.str.38: ; @.str.38
.asciz "0.0124"
l_.str.39: ; @.str.39
.asciz "1.00000000000000002e-100"
l_.str.40: ; @.str.40
.asciz "1e-100"
l_.str.41: ; @.str.41
.asciz "-1.2"
l_.str.42: ; @.str.42
.asciz "-0.03"
l_.str.43: ; @.str.43
.asciz "0.099999"
l_.str.44: ; @.str.44
.asciz "0.99999"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -24(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
cmpq $74, %rax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -20(%rbp), %rax
leaq _test_vectors(%rip), %rdi
imulq $24, %rax, %rax
addq %rax, %rdi
callq _dotest
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
movl -24(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function dotest
_dotest: ## @dotest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $304, %rsp ## imm = 0x130
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -288(%rbp)
movq -288(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -288(%rbp), %rax
movl 8(%rax), %edi
leaq -272(%rbp), %rsi
callq _gcvt
movq %rax, -296(%rbp)
movq -288(%rbp), %rax
movq 16(%rax), %rdi
movq -296(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -288(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -288(%rbp), %rax
movl 8(%rax), %edx
movq -288(%rbp), %rax
movq 16(%rax), %rcx
movq -296(%rbp), %r8
leaq L_.str(%rip), %rsi
movb $1, %al
callq _fprintf
movl $1, -276(%rbp)
jmp LBB1_3
LBB1_2:
movl $0, -276(%rbp)
LBB1_3:
movl -276(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_5
## %bb.4:
movl -300(%rbp), %eax ## 4-byte Reload
addq $304, %rsp ## imm = 0x130
popq %rbp
retq
LBB1_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @test_vectors
_test_vectors:
.quad 0x3fb999999999999a ## double 0.10000000000000001
.long 8 ## 0x8
.space 4
.quad L_.str.1
.quad 0x3f847ae147ae147b ## double 0.01
.long 8 ## 0x8
.space 4
.quad L_.str.2
.quad 0x3f50624dd2f1a9fc ## double 0.001
.long 8 ## 0x8
.space 4
.quad L_.str.3
.quad 0x3f1a36e2eb1c432d ## double 1.0E-4
.long 8 ## 0x8
.space 4
.quad L_.str.4
.quad 0x3f1797cc39ffd60f ## double 9.0000000000000006E-5
.long 8 ## 0x8
.space 4
.quad L_.str.5
.quad 0x3ff0000000000000 ## double 1
.long 8 ## 0x8
.space 4
.quad L_.str.6
.quad 0x3ff199999999999a ## double 1.1000000000000001
.long 8 ## 0x8
.space 4
.quad L_.str.7
.quad 0x3ff028f5c28f5c29 ## double 1.01
.long 8 ## 0x8
.space 4
.quad L_.str.8
.quad 0x3ff004189374bc6a ## double 1.0009999999999999
.long 8 ## 0x8
.space 4
.quad L_.str.9
.quad 0x3ff00068db8bac71 ## double 1.0001
.long 8 ## 0x8
.space 4
.quad L_.str.10
.quad 0x3ff0000a7c5ac472 ## double 1.0000100000000001
.long 8 ## 0x8
.space 4
.quad L_.str.11
.quad 0x3ff000010c6f7a0b ## double 1.0000009999999999
.long 8 ## 0x8
.space 4
.quad L_.str.12
.quad 0x0000000000000000 ## double 0
.long 8 ## 0x8
.space 4
.quad L_.str.13
.quad 0xbff0000000000000 ## double -1
.long 8 ## 0x8
.space 4
.quad L_.str.14
.quad 0x40f86a0000000000 ## double 1.0E+5
.long 8 ## 0x8
.space 4
.quad L_.str.15
.quad 0xc0f86a0000000000 ## double -1.0E+5
.long 8 ## 0x8
.space 4
.quad L_.str.16
.quad 0x405edd2f1a9fbe77 ## double 123.456
.long 8 ## 0x8
.space 4
.quad L_.str.17
.quad 0x46fed09bead87c03 ## double 9.9999999999999995E+33
.long 8 ## 0x8
.space 4
.quad L_.str.18
.quad 0x0000000000000000 ## double 0
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.13
.quad 0x0000000000000000 ## double 0
.long 0 ## 0x0
.space 4
.quad L_.str.13
.quad 0x0000000000000000 ## double 0
.long 1 ## 0x1
.space 4
.quad L_.str.13
.quad 0x0000000000000000 ## double 0
.long 2 ## 0x2
.space 4
.quad L_.str.13
.quad 0x3ff0000000000000 ## double 1
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.6
.quad 0x3ff0000000000000 ## double 1
.long 0 ## 0x0
.space 4
.quad L_.str.6
.quad 0x3ff0000000000000 ## double 1
.long 2 ## 0x2
.space 4
.quad L_.str.6
.quad 0x3ff0000000000000 ## double 1
.long 10 ## 0xa
.space 4
.quad L_.str.6
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.19
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 0 ## 0x0
.space 4
.quad L_.str.6
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 1 ## 0x1
.space 4
.quad L_.str.6
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 2 ## 0x2
.space 4
.quad L_.str.20
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 3 ## 0x3
.space 4
.quad L_.str.21
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 4 ## 0x4
.space 4
.quad L_.str.19
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 5 ## 0x5
.space 4
.quad L_.str.19
.quad 0x3ff3c6a7ef9db22d ## double 1.236
.long 6 ## 0x6
.space 4
.quad L_.str.19
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.22
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 0 ## 0x0
.space 4
.quad L_.str.23
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 1 ## 0x1
.space 4
.quad L_.str.23
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 2 ## 0x2
.space 4
.quad L_.str.24
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 3 ## 0x3
.space 4
.quad L_.str.25
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 4 ## 0x4
.space 4
.quad L_.str.22
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 5 ## 0x5
.space 4
.quad L_.str.22
.quad 0x4028b851eb851eb8 ## double 12.359999999999999
.long 6 ## 0x6
.space 4
.quad L_.str.22
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.26
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 0 ## 0x0
.space 4
.quad L_.str.27
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 1 ## 0x1
.space 4
.quad L_.str.27
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 2 ## 0x2
.space 4
.quad L_.str.28
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 3 ## 0x3
.space 4
.quad L_.str.29
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 4 ## 0x4
.space 4
.quad L_.str.26
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 5 ## 0x5
.space 4
.quad L_.str.26
.quad 0x405ee66666666666 ## double 123.59999999999999
.long 6 ## 0x6
.space 4
.quad L_.str.26
.quad 0x4093500000000000 ## double 1236
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.30
.quad 0x4093500000000000 ## double 1236
.long 0 ## 0x0
.space 4
.quad L_.str.31
.quad 0x4093500000000000 ## double 1236
.long 1 ## 0x1
.space 4
.quad L_.str.31
.quad 0x4093500000000000 ## double 1236
.long 2 ## 0x2
.space 4
.quad L_.str.32
.quad 0x4093500000000000 ## double 1236
.long 3 ## 0x3
.space 4
.quad L_.str.33
.quad 0x4093500000000000 ## double 1236
.long 4 ## 0x4
.space 4
.quad L_.str.30
.quad 0x4093500000000000 ## double 1236
.long 5 ## 0x5
.space 4
.quad L_.str.30
.quad 0x4093500000000000 ## double 1236
.long 6 ## 0x6
.space 4
.quad L_.str.30
.quad 0x54b249ad2594c37d ## double 1.0E+100
.long 10 ## 0xa
.space 4
.quad L_.str.34
.quad 0x54b249ad2594c37d ## double 1.0E+100
.long 20 ## 0x14
.space 4
.quad L_.str.35
.quad 0x3f8950331e3a7daa ## double 0.012359999999999999
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.36
.quad 0x3f8950331e3a7daa ## double 0.012359999999999999
.long 0 ## 0x0
.space 4
.quad L_.str.2
.quad 0x3f8950331e3a7daa ## double 0.012359999999999999
.long 1 ## 0x1
.space 4
.quad L_.str.2
.quad 0x3f8950331e3a7daa ## double 0.012359999999999999
.long 2 ## 0x2
.space 4
.quad L_.str.37
.quad 0x3f8950331e3a7daa ## double 0.012359999999999999
.long 3 ## 0x3
.space 4
.quad L_.str.38
.quad 0x3f8950331e3a7daa ## double 0.012359999999999999
.long 4 ## 0x4
.space 4
.quad L_.str.36
.quad 0x2b2bff2ee48e0530 ## double 1.0E-100
.long 20 ## 0x14
.space 4
.quad L_.str.39
.quad 0x2b2bff2ee48e0530 ## double 1.0E-100
.long 4294967295 ## 0xffffffff
.space 4
.quad L_.str.40
.quad 0xbff3333333333333 ## double -1.2
.long 5 ## 0x5
.space 4
.quad L_.str.41
.quad 0xbf9eb851eb851eb8 ## double -0.029999999999999999
.long 5 ## 0x5
.space 4
.quad L_.str.42
.quad 0x3fb999999999999a ## double 0.10000000000000001
.long 1 ## 0x1
.space 4
.quad L_.str.1
.quad 0x3fb999999999999a ## double 0.10000000000000001
.long 0 ## 0x0
.space 4
.quad L_.str.1
.quad 0x3fb99988d2a1f8e4 ## double 0.099999000000000004
.long 10 ## 0xa
.space 4
.quad L_.str.43
.quad 0x3fefffeb074a771d ## double 0.99999000000000004
.long 10 ## 0xa
.space 4
.quad L_.str.44
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%g @ %d: expected %s, got %s\n"
L_.str.1: ## @.str.1
.asciz "0.1"
L_.str.2: ## @.str.2
.asciz "0.01"
L_.str.3: ## @.str.3
.asciz "0.001"
L_.str.4: ## @.str.4
.asciz "0.0001"
L_.str.5: ## @.str.5
.asciz "9e-05"
L_.str.6: ## @.str.6
.asciz "1"
L_.str.7: ## @.str.7
.asciz "1.1"
L_.str.8: ## @.str.8
.asciz "1.01"
L_.str.9: ## @.str.9
.asciz "1.001"
L_.str.10: ## @.str.10
.asciz "1.0001"
L_.str.11: ## @.str.11
.asciz "1.00001"
L_.str.12: ## @.str.12
.asciz "1.000001"
L_.str.13: ## @.str.13
.asciz "0"
L_.str.14: ## @.str.14
.asciz "-1"
L_.str.15: ## @.str.15
.asciz "100000"
L_.str.16: ## @.str.16
.asciz "-100000"
L_.str.17: ## @.str.17
.asciz "123.456"
L_.str.18: ## @.str.18
.asciz "1e+34"
L_.str.19: ## @.str.19
.asciz "1.236"
L_.str.20: ## @.str.20
.asciz "1.2"
L_.str.21: ## @.str.21
.asciz "1.24"
L_.str.22: ## @.str.22
.asciz "12.36"
L_.str.23: ## @.str.23
.asciz "1e+01"
L_.str.24: ## @.str.24
.asciz "12"
L_.str.25: ## @.str.25
.asciz "12.4"
L_.str.26: ## @.str.26
.asciz "123.6"
L_.str.27: ## @.str.27
.asciz "1e+02"
L_.str.28: ## @.str.28
.asciz "1.2e+02"
L_.str.29: ## @.str.29
.asciz "124"
L_.str.30: ## @.str.30
.asciz "1236"
L_.str.31: ## @.str.31
.asciz "1e+03"
L_.str.32: ## @.str.32
.asciz "1.2e+03"
L_.str.33: ## @.str.33
.asciz "1.24e+03"
L_.str.34: ## @.str.34
.asciz "1e+100"
L_.str.35: ## @.str.35
.asciz "1.0000000000000000159e+100"
L_.str.36: ## @.str.36
.asciz "0.01236"
L_.str.37: ## @.str.37
.asciz "0.012"
L_.str.38: ## @.str.38
.asciz "0.0124"
L_.str.39: ## @.str.39
.asciz "1.00000000000000002e-100"
L_.str.40: ## @.str.40
.asciz "1e-100"
L_.str.41: ## @.str.41
.asciz "-1.2"
L_.str.42: ## @.str.42
.asciz "-0.03"
L_.str.43: ## @.str.43
.asciz "0.099999"
L_.str.44: ## @.str.44
.asciz "0.99999"
.subsections_via_symbols
| the_stack_data/14199319.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w1, #0
str wzr, [sp, #36]
add x0, sp, #40
mov x2, #40
bl _memset
mov w8, #99
strb w8, [sp, #40]
mov w8, #111
strb w8, [sp, #41]
mov w8, #115
strb w8, [sp, #42]
mov w8, #116
strb w8, [sp, #43]
mov w8, #97
strb w8, [sp, #44]
str wzr, [sp, #28]
str wzr, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x0, x29, #48
str x0, [sp, #16] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #16] ; 8-byte Folded Reload
add x1, sp, #40
bl _strstr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_1
LBB0_6:
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
add x10, sp, #40
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
bl ___stack_chk_fail
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "digite o nome completo\n"
l_.str.1: ; @.str.1
.asciz "num de nome com %s = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
leaq -96(%rbp), %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
movb $99, -96(%rbp)
movb $111, -95(%rbp)
movb $115, -94(%rbp)
movb $116, -93(%rbp)
movb $97, -92(%rbp)
movl $0, -108(%rbp)
movl $0, -104(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $30, -104(%rbp)
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
callq _gets
leaq -48(%rbp), %rdi
leaq -96(%rbp), %rsi
callq _strstr
cmpq $0, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -104(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
jmp LBB0_1
LBB0_6:
leaq -96(%rbp), %rsi
movl -108(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
addq $112, %rsp
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "digite o nome completo\n"
L_.str.1: ## @.str.1
.asciz "num de nome com %s = %d\n"
.subsections_via_symbols
| the_stack_data/90762577.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, #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 wzr, [sp, #52]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
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
str wzr, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #56
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_1
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #28
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
str wzr, [sp, #44]
ldr w8, [sp, #32]
subs w8, w8, #1
str w8, [sp, #40]
ldr w8, [sp, #44]
ldr w9, [sp, #40]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #36]
; 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: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_13
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #56
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_12
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #56
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
ldr w9, [sp, #36]
add w10, w9, #1
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_13
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
str w8, [sp, #40]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #40]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #36]
b LBB0_5
LBB0_13:
ldr w8, [sp, #44]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_15
LBB0_15:
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_17
b LBB0_16
LBB0_16:
bl ___stack_chk_fail
LBB0_17:
mov w0, #0
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number of elements\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter %d integers\n"
l_.str.3: ; @.str.3
.asciz "Enter value to find\n"
l_.str.4: ; @.str.4
.asciz "%d is the middle location \n"
l_.str.5: ; @.str.5
.asciz "%d found at location %d.\n"
l_.str.6: ; @.str.6
.asciz "Not found! %d isn't present in the list.\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 $448, %rsp ## imm = 0x1C0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -440(%rbp), %rsi
movb $0, %al
callq _scanf
movl -440(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -424(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -424(%rbp), %eax
cmpl -440(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -424(%rbp), %rax
leaq -416(%rbp), %rsi
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 -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -444(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -428(%rbp)
movl -440(%rbp), %eax
subl $1, %eax
movl %eax, -432(%rbp)
movl -428(%rbp), %eax
addl -432(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -436(%rbp)
movl -436(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -428(%rbp), %eax
cmpl -432(%rbp), %eax
jg LBB0_13
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -436(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
cmpl -444(%rbp), %eax
jge LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -436(%rbp), %eax
addl $1, %eax
movl %eax, -428(%rbp)
jmp LBB0_12
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movslq -436(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
cmpl -444(%rbp), %eax
jne LBB0_10
## %bb.9:
movl -444(%rbp), %esi
movl -436(%rbp), %edx
addl $1, %edx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_13
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movl -436(%rbp), %eax
subl $1, %eax
movl %eax, -432(%rbp)
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movl -428(%rbp), %eax
addl -432(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -436(%rbp)
jmp LBB0_5
LBB0_13:
movl -428(%rbp), %eax
cmpl -432(%rbp), %eax
jle LBB0_15
## %bb.14:
movl -444(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_17
## %bb.16:
xorl %eax, %eax
addq $448, %rsp ## imm = 0x1C0
popq %rbp
retq
LBB0_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number of elements\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter %d integers\n"
L_.str.3: ## @.str.3
.asciz "Enter value to find\n"
L_.str.4: ## @.str.4
.asciz "%d is the middle location \n"
L_.str.5: ## @.str.5
.asciz "%d found at location %d.\n"
L_.str.6: ## @.str.6
.asciz "Not found! %d isn't present in the list.\n"
.subsections_via_symbols
| the_stack_data/184519270.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 0x4059000000000000 ; double 100
lCPI0_1:
.quad 0x409f400000000000 ; double 2000
lCPI0_2:
.quad 0x4092c00a3d70a3d7 ; double 1200.01
lCPI0_3:
.quad 0x4092c00000000000 ; double 1200
lCPI0_4:
.quad 0x408900147ae147ae ; double 800.00999999999999
lCPI0_5:
.quad 0x4089000000000000 ; double 800
lCPI0_6:
.quad 0x40790028f5c28f5c ; double 400.00999999999999
lCPI0_7:
.quad 0x4079000000000000 ; double 400
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur d0, [x29, #-16]
adrp x8, lCPI0_7@PAGE
ldr d1, [x8, lCPI0_7@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur d1, [x29, #-16]
fmov d0, #15.00000000
fmul d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d1, [sp, #16]
ldur d0, [x29, #-16]
fadd d0, d0, d1
stur d0, [x29, #-16]
ldur d1, [x29, #-16]
ldr d0, [sp, #16]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_18
LBB0_3:
ldur d0, [x29, #-16]
adrp x8, lCPI0_6@PAGE
ldr d1, [x8, lCPI0_6@PAGEOFF]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldur d0, [x29, #-16]
adrp x8, lCPI0_5@PAGE
ldr d1, [x8, lCPI0_5@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur d1, [x29, #-16]
fmov d0, #12.00000000
fmul d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d1, [sp, #16]
ldur d0, [x29, #-16]
fadd d0, d0, d1
stur d0, [x29, #-16]
ldur d1, [x29, #-16]
ldr d0, [sp, #16]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_17
LBB0_6:
ldur d0, [x29, #-16]
adrp x8, lCPI0_4@PAGE
ldr d1, [x8, lCPI0_4@PAGEOFF]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldur d0, [x29, #-16]
adrp x8, lCPI0_3@PAGE
ldr d1, [x8, lCPI0_3@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldur d1, [x29, #-16]
fmov d0, #10.00000000
fmul d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d1, [sp, #16]
ldur d0, [x29, #-16]
fadd d0, d0, d1
stur d0, [x29, #-16]
ldur d1, [x29, #-16]
ldr d0, [sp, #16]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_16
LBB0_9:
ldur d0, [x29, #-16]
adrp x8, lCPI0_2@PAGE
ldr d1, [x8, lCPI0_2@PAGEOFF]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldur d0, [x29, #-16]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldur d1, [x29, #-16]
fmov d0, #7.00000000
fmul d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d1, [sp, #16]
ldur d0, [x29, #-16]
fadd d0, d0, d1
stur d0, [x29, #-16]
ldur d1, [x29, #-16]
ldr d0, [sp, #16]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_15
LBB0_12:
ldur d0, [x29, #-16]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur d1, [x29, #-16]
fmov d0, #4.00000000
fmul d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d1, [sp, #16]
ldur d0, [x29, #-16]
fadd d0, d0, d1
stur d0, [x29, #-16]
ldur d1, [x29, #-16]
ldr d0, [sp, #16]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_14
LBB0_14:
b LBB0_15
LBB0_15:
b LBB0_16
LBB0_16:
b LBB0_17
LBB0_17:
b LBB0_18
LBB0_18:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lf"
l_.str.1: ; @.str.1
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 15 %%\n"
l_.str.2: ; @.str.2
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 12 %%\n"
l_.str.3: ; @.str.3
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 10 %%\n"
l_.str.4: ; @.str.4
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 7 %%\n"
l_.str.5: ; @.str.5
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 4 %%\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4079000000000000 ## double 400
LCPI0_1:
.quad 0x40790028f5c28f5c ## double 400.00999999999999
LCPI0_2:
.quad 0x4089000000000000 ## double 800
LCPI0_3:
.quad 0x408900147ae147ae ## double 800.00999999999999
LCPI0_4:
.quad 0x4092c00000000000 ## double 1200
LCPI0_5:
.quad 0x4092c00a3d70a3d7 ## double 1200.01
LCPI0_6:
.quad 0x409f400000000000 ## double 2000
LCPI0_7:
.quad 0x4059000000000000 ## double 100
LCPI0_8:
.quad 0x4010000000000000 ## double 4
LCPI0_9:
.quad 0x401c000000000000 ## double 7
LCPI0_10:
.quad 0x4024000000000000 ## double 10
LCPI0_11:
.quad 0x4028000000000000 ## double 12
LCPI0_12:
.quad 0x402e000000000000 ## double 15
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb LBB0_3
## %bb.1:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -16(%rbp), %xmm0
jb LBB0_3
## %bb.2:
movsd LCPI0_12(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd LCPI0_7(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $2, %al
callq _printf
jmp LBB0_18
LBB0_3:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_6
## %bb.4:
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -16(%rbp), %xmm0
jb LBB0_6
## %bb.5:
movsd LCPI0_11(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd LCPI0_7(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.2(%rip), %rdi
movb $2, %al
callq _printf
jmp LBB0_17
LBB0_6:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_9
## %bb.7:
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -16(%rbp), %xmm0
jb LBB0_9
## %bb.8:
movsd LCPI0_10(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd LCPI0_7(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.3(%rip), %rdi
movb $2, %al
callq _printf
jmp LBB0_16
LBB0_9:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_12
## %bb.10:
movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -16(%rbp), %xmm0
jb LBB0_12
## %bb.11:
movsd LCPI0_9(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd LCPI0_7(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.4(%rip), %rdi
movb $2, %al
callq _printf
jmp LBB0_15
LBB0_12:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_6(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_14
## %bb.13:
movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd LCPI0_7(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.5(%rip), %rdi
movb $2, %al
callq _printf
LBB0_14:
jmp LBB0_15
LBB0_15:
jmp LBB0_16
LBB0_16:
jmp LBB0_17
LBB0_17:
jmp LBB0_18
LBB0_18:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lf"
L_.str.1: ## @.str.1
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 15 %%\n"
L_.str.2: ## @.str.2
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 12 %%\n"
L_.str.3: ## @.str.3
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 10 %%\n"
L_.str.4: ## @.str.4
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 7 %%\n"
L_.str.5: ## @.str.5
.asciz "Novo salario: %.2lf\nReajuste ganho: %.2lf\nEm percentual: 4 %%\n"
.subsections_via_symbols
| the_stack_data/287876.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, #1088
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
str w0, [sp, #48]
str x1, [sp, #40]
ldr w8, [sp, #48]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #40]
ldr x0, [x8, #8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x8, [sp, #40]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB0_19
LBB0_3:
ldr x8, [sp, #40]
ldr x0, [x8, #8]
mov w1, #0
bl _open
str w0, [sp, #36]
ldr w8, [sp, #36]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #40]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_5:
mov w8, #1537
str w8, [sp, #28]
mov w8, #438
strh w8, [sp, #26]
ldr x8, [sp, #40]
ldr x0, [x8, #16]
ldr w1, [sp, #28]
ldrh w10, [sp, #26]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _open
str w0, [sp, #32]
ldr w8, [sp, #32]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp, #40]
ldr x8, [x8, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB0_19
LBB0_7:
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #36]
add x1, sp, #56
mov x2, #1024
bl _read
str x0, [sp, #16]
subs x8, x0, #0
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #32]
ldr x2, [sp, #16]
add x1, sp, #56
bl _write
ldr x8, [sp, #16]
subs x8, x0, x8
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_12:
ldr x8, [sp, #16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_14
LBB0_14:
ldr w0, [sp, #36]
bl _close
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_16
LBB0_16:
ldr w0, [sp, #32]
bl _close
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_18
LBB0_18:
str wzr, [sp, #52]
b LBB0_19
LBB0_19:
ldr w8, [sp, #52]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
bl ___stack_chk_fail
LBB0_21:
ldr w0, [sp, #12] ; 4-byte Folded Reload
add sp, sp, #1088
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 "--help"
l_.str.1: ; @.str.1
.asciz "%s old-file new-file\n"
l_.str.2: ; @.str.2
.asciz "opening file %s"
l_.str.3: ; @.str.3
.asciz "couldn't write whole buffer"
l_.str.4: ; @.str.4
.asciz "read"
l_.str.5: ; @.str.5
.asciz "close input"
l_.str.6: ; @.str.6
.asciz "close output"
.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 $1088, %rsp ## imm = 0x440
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1044(%rbp)
movl %edi, -1048(%rbp)
movq %rsi, -1056(%rbp)
cmpl $3, -1048(%rbp)
jne LBB0_2
## %bb.1:
movq -1056(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_3
LBB0_2:
movq -1056(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -1044(%rbp)
jmp LBB0_19
LBB0_3:
movq -1056(%rbp), %rax
movq 8(%rax), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -1060(%rbp)
cmpl $-1, -1060(%rbp)
jne LBB0_5
## %bb.4:
movq -1056(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5:
movl $1537, -1068(%rbp) ## imm = 0x601
movw $438, -1070(%rbp) ## imm = 0x1B6
movq -1056(%rbp), %rax
movq 16(%rax), %rdi
movl -1068(%rbp), %esi
movzwl -1070(%rbp), %edx
movb $0, %al
callq _open
movl %eax, -1064(%rbp)
cmpl $-1, -1064(%rbp)
jne LBB0_7
## %bb.6:
movq -1056(%rbp), %rax
movq 16(%rax), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -1044(%rbp)
jmp LBB0_19
LBB0_7:
jmp LBB0_8
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl -1060(%rbp), %edi
leaq -1040(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _read
movq %rax, -1080(%rbp)
cmpq $0, %rax
jle LBB0_12
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl -1064(%rbp), %edi
leaq -1040(%rbp), %rsi
movq -1080(%rbp), %rdx
callq _write
cmpq -1080(%rbp), %rax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_12:
cmpq $-1, -1080(%rbp)
jne LBB0_14
## %bb.13:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_14:
movl -1060(%rbp), %edi
callq _close
cmpl $-1, %eax
jne LBB0_16
## %bb.15:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_16:
movl -1064(%rbp), %edi
callq _close
cmpl $-1, %eax
jne LBB0_18
## %bb.17:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_18:
movl $0, -1044(%rbp)
LBB0_19:
movl -1044(%rbp), %eax
movl %eax, -1084(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_21
## %bb.20:
movl -1084(%rbp), %eax ## 4-byte Reload
addq $1088, %rsp ## imm = 0x440
popq %rbp
retq
LBB0_21:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "--help"
L_.str.1: ## @.str.1
.asciz "%s old-file new-file\n"
L_.str.2: ## @.str.2
.asciz "opening file %s"
L_.str.3: ## @.str.3
.asciz "couldn't write whole buffer"
L_.str.4: ## @.str.4
.asciz "read"
L_.str.5: ## @.str.5
.asciz "close input"
L_.str.6: ## @.str.6
.asciz "close output"
.subsections_via_symbols
| the_stack_data/3262968.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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 LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr 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 LBB0_1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ft_strcmp ; -- Begin function ft_strcmp
.p2align 2
_ft_strcmp: ; @ft_strcmp
.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 wzr, [x29, #-28]
str wzr, [sp, #32]
ldur x10, [x29, #-16]
ldur x8, [x29, #-24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldrsb w8, [x8, x9]
ldur x9, [x29, #-24]
ldursw x10, [x29, #-28]
ldrsb w9, [x9, x10]
subs w8, w8, w9
str w8, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldr w8, [sp, #32]
stur w8, [x29, #-4]
b LBB1_8
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB1_1
LBB1_7:
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldrsb w8, [x8, x9]
ldur x9, [x29, #-24]
ldursw x10, [x29, #-28]
ldrsb w9, [x9, x10]
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB1_8
LBB1_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _ft_swap ; -- Begin function ft_swap
.p2align 2
_ft_swap: ; @ft_swap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp, #8]
ldr x8, [sp, #16]
str x8, [sp, #24]
ldr x8, [sp, #8]
str x8, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _selection_sort ; -- Begin function selection_sort
.p2align 2
_selection_sort: ; @selection_sort
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-24]
mov x9, sp
stur x9, [x29, #-32]
lsl x9, x8, #3
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-40]
stur wzr, [x29, #-52]
ldur x8, [x29, #-24]
subs x8, x8, #2
cset w8, le
tbnz w8, #0, LBB3_15
b LBB3_1
LBB3_1:
b LBB3_2
LBB3_2: ; =>This Loop Header: Depth=1
; Child Loop BB3_4 Depth 2
ldursw x8, [x29, #-52]
ldur x9, [x29, #-24]
subs x9, x9, #1
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB3_11
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_2 Depth=1
stur wzr, [x29, #-44]
stur wzr, [x29, #-48]
b LBB3_4
LBB3_4: ; Parent Loop BB3_2 Depth=1
; => This Inner Loop Header: Depth=2
ldursw x8, [x29, #-44]
ldur x9, [x29, #-24]
subs x9, x9, #1
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_4 Depth=2
ldur x8, [x29, #-16]
ldursw x9, [x29, #-44]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-48]
ldr x1, [x8, x9, lsl #3]
bl _ft_strcmp
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_4 Depth=2
ldur w8, [x29, #-44]
stur w8, [x29, #-48]
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_4 Depth=2
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB3_4
LBB3_8: ; in Loop: Header=BB3_2 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-48]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
subs w8, w8, #127
cset w8, ge
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_2 Depth=1
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x10, [x29, #-48]
ldr x8, [x8, x10, lsl #3]
ldursw x10, [x29, #-52]
str x8, [x9, x10, lsl #3]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-48]
ldr x9, [x8, x9, lsl #3]
mov w8, #127
strb w8, [x9]
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_2 Depth=1
b LBB3_2
LBB3_11:
stur wzr, [x29, #-44]
b LBB3_12
LBB3_12: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-44]
ldur x9, [x29, #-24]
subs x9, x9, #1
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_12 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-44]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-16]
ldursw x10, [x29, #-44]
str x8, [x9, x10, lsl #3]
b LBB3_12
LBB3_14:
b LBB3_15
LBB3_15:
ldur x8, [x29, #-32]
stur x8, [x29, #-80] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16:
bl ___stack_chk_fail
LBB3_17:
ldur x8, [x29, #-80] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _bubble_sort ; -- Begin function bubble_sort
.p2align 2
_bubble_sort: ; @bubble_sort
.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, #1
stur w8, [x29, #-20]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
stur wzr, [x29, #-20]
str wzr, [sp, #24]
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [sp, #24]
ldur x9, [x29, #-16]
subs x9, x9, #2
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB4_7
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-8]
ldr w9, [sp, #24]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
bl _ft_strcmp
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldr x10, [x8, x9, lsl #3]
ldur x8, [x29, #-8]
ldr w9, [sp, #24]
mov w11, #1
str w11, [sp, #20] ; 4-byte Folded Spill
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
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 x8, [x29, #-8]
ldrsw x9, [sp, #24]
add x0, x8, x9, lsl #3
ldur x8, [x29, #-8]
ldr w9, [sp, #24]
add w9, w9, #1
add x1, x8, w9, sxtw #3
bl _ft_swap
ldr w8, [sp, #20] ; 4-byte Folded Reload
stur w8, [x29, #-20]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB4_3
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #16]
ldursw x1, [x29, #-8]
add x0, x8, #8
bl _bubble_sort
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #12]
b LBB5_1
LBB5_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, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
bl _ft_putstr
mov w0, #10
bl _ft_putchar
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_1
LBB5_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "comparing %s and %s\n"
l_.str.1: ; @.str.1
.asciz "swapping %s and %s\n"
l_.str.2: ; @.str.2
.asciz "pre-sort\n"
l_.str.3: ; @.str.3
.asciz "after-sort\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
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 LBB0_1
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_strcmp ## -- Begin function ft_strcmp
.p2align 4, 0x90
_ft_strcmp: ## @ft_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 $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -33(%rbp) ## 1-byte Spill
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
setne %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_4
jmp LBB1_7
LBB1_4: ## in Loop: Header=BB1_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
subl %ecx, %eax
movl %eax, -32(%rbp)
cmpl $0, -32(%rbp)
je LBB1_6
## %bb.5:
movl -32(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB1_8
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_7:
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -24(%rbp), %rcx
movslq -28(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
subl %ecx, %eax
movl %eax, -4(%rbp)
LBB1_8:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_swap ## -- Begin function ft_swap
.p2align 4, 0x90
_ft_swap: ## @ft_swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
movq -24(%rbp), %rax
movq %rax, -16(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _selection_sort ## -- Begin function selection_sort
.p2align 4, 0x90
_selection_sort: ## @selection_sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -24(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl $0, -52(%rbp)
cmpq $2, -24(%rbp)
jle LBB3_15
## %bb.1:
jmp LBB3_2
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_4 Depth 2
movslq -52(%rbp), %rax
movq -24(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jge LBB3_11
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movl $0, -44(%rbp)
movl $0, -48(%rbp)
LBB3_4: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movslq -44(%rbp), %rax
movq -24(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jge LBB3_8
## %bb.5: ## in Loop: Header=BB3_4 Depth=2
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _ft_strcmp
cmpl $0, %eax
jge LBB3_7
## %bb.6: ## in Loop: Header=BB3_4 Depth=2
movl -44(%rbp), %eax
movl %eax, -48(%rbp)
LBB3_7: ## in Loop: Header=BB3_4 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB3_4
LBB3_8: ## in Loop: Header=BB3_2 Depth=1
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $127, %eax
jge LBB3_10
## %bb.9: ## in Loop: Header=BB3_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq -16(%rbp), %rcx
movslq -48(%rbp), %rdx
movq (%rcx,%rdx,8), %rdx
movslq -52(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movb $127, (%rax)
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
LBB3_10: ## in Loop: Header=BB3_2 Depth=1
jmp LBB3_2
LBB3_11:
movl $0, -44(%rbp)
LBB3_12: ## =>This Inner Loop Header: Depth=1
movslq -44(%rbp), %rax
movq -24(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jge LBB3_14
## %bb.13: ## in Loop: Header=BB3_12 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
jmp LBB3_12
LBB3_14:
jmp LBB3_15
LBB3_15:
movq -32(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_17
## %bb.16:
movq %rbp, %rsp
popq %rbp
retq
LBB3_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _bubble_sort ## -- Begin function bubble_sort
.p2align 4, 0x90
_bubble_sort: ## @bubble_sort
.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 $1, -20(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
cmpl $0, -20(%rbp)
je LBB4_8
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl $0, -20(%rbp)
movl $0, -24(%rbp)
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -24(%rbp), %rax
movq -16(%rbp), %rcx
subq $2, %rcx
cmpq %rcx, %rax
jge LBB4_7
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
callq _ft_strcmp
cmpl $0, %eax
jle LBB4_6
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movslq -24(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -8(%rbp), %rsi
movl -24(%rbp), %eax
addl $1, %eax
cltq
shlq $3, %rax
addq %rax, %rsi
callq _ft_swap
movl $1, -20(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB4_6: ## in Loop: Header=BB4_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB4_3
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
addq $8, %rdi
movslq -8(%rbp), %rsi
callq _bubble_sort
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -20(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _ft_putstr
movl $10, %edi
callq _ft_putchar
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB5_1
LBB5_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "comparing %s and %s\n"
L_.str.1: ## @.str.1
.asciz "swapping %s and %s\n"
L_.str.2: ## @.str.2
.asciz "pre-sort\n"
L_.str.3: ## @.str.3
.asciz "after-sort\n"
.subsections_via_symbols
| the_stack_data/82173.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 0x3ee4f8b588e368f1 ; double 1.0000000000000001E-5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
movi d0, #0000000000000000
stur s0, [x29, #-8]
fmov s1, #4.00000000
stur s1, [x29, #-12]
str s0, [sp, #16]
fmov s0, #1.00000000
str s0, [sp, #12]
str s0, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr s0, [sp, #8]
fmov s1, #1.00000000
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-12]
ldr s1, [sp, #12]
fdiv s0, s0, s1
stur s0, [x29, #-8]
ldur s0, [x29, #-8]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #16]
ldur s1, [x29, #-8]
fadd s0, s0, s1
str s0, [sp, #16]
movi d0, #0000000000000000
str s0, [sp, #8]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-8]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-12]
ldr s1, [sp, #12]
fdiv s0, s0, s1
stur s0, [x29, #-8]
ldr s0, [sp, #16]
ldur s1, [x29, #-8]
fsub s0, s0, s1
str s0, [sp, #16]
fmov s0, #1.00000000
str s0, [sp, #8]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-8]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr s0, [sp, #12]
fmov s1, #2.00000000
fadd s0, s0, s1
str s0, [sp, #12]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-8]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, gt
tbnz w8, #0, LBB0_1
b LBB0_10
LBB0_10:
ldr s0, [sp, #16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x3f800000 ## float 1
LCPI0_1:
.long 0x40800000 ## float 4
LCPI0_3:
.long 0x40000000 ## float 2
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_2:
.quad 0x3ee4f8b588e368f1 ## double 1.0000000000000001E-5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -8(%rbp)
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -16(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jne LBB0_5
jp LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -20(%rbp), %xmm0
movss %xmm0, -8(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -8(%rbp), %xmm0
movss %xmm0, -16(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -24(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -20(%rbp), %xmm0
movss %xmm0, -8(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -8(%rbp), %xmm0
movss %xmm0, -16(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -24(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movss LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -20(%rbp), %xmm0
movss %xmm0, -20(%rbp)
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
ja LBB0_1
## %bb.10:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
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 "%f\n"
.subsections_via_symbols
| the_stack_data/84814.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-16]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "X = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "X = %d\n"
.subsections_via_symbols
| the_stack_data/16440.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]
movi d0, #0000000000000000
stur s0, [x29, #-12]
mov w8, #1133903872
fmov s0, w8
stur s0, [x29, #-16]
fmov s0, #20.00000000
stur s0, [x29, #-20]
ldur s0, [x29, #-12]
stur s0, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur s0, [x29, #-8]
ldur s1, [x29, #-16]
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-8]
fcvt d0, s0
str d0, [sp, #16] ; 8-byte Folded Spill
ldur s0, [x29, #-8]
bl _celsius
ldr d1, [sp, #16] ; 8-byte Folded Reload
fcvt d0, s0
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur s0, [x29, #-8]
ldur s1, [x29, #-20]
fadd s0, s0, s1
stur s0, [x29, #-8]
b LBB0_1
LBB0_3:
ldur w0, [x29, #-4]
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 celsius
lCPI1_0:
.quad 0x3fe1c71c71c71c72 ; double 0.55555555555555558
lCPI1_1:
.quad 0x4040000000000000 ; double 32
.section __TEXT,__text,regular,pure_instructions
.globl _celsius
.p2align 2
_celsius: ; @celsius
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
ldr s0, [sp, #12]
fcvt d0, s0
adrp x8, lCPI1_1@PAGE
ldr d1, [x8, lCPI1_1@PAGEOFF]
fsub d1, d0, d1
adrp x8, lCPI1_0@PAGE
ldr d0, [x8, lCPI1_0@PAGEOFF]
fmul d0, d0, d1
fcvt s0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%3.0f %6.1f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x41a00000 ## float 20
LCPI0_1:
.long 0x43960000 ## float 300
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -12(%rbp)
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -16(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jb LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _celsius
movaps %xmm0, %xmm1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cvtss2sd %xmm1, %xmm1
leaq L_.str(%rip), %rdi
movb $2, %al
callq _printf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -20(%rbp), %xmm0
movss %xmm0, -8(%rbp)
jmp LBB0_1
LBB0_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function celsius
LCPI1_0:
.quad 0x3fe1c71c71c71c72 ## double 0.55555555555555558
LCPI1_1:
.quad 0x4040000000000000 ## double 32
.section __TEXT,__text,regular,pure_instructions
.globl _celsius
.p2align 4, 0x90
_celsius: ## @celsius
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero
subsd %xmm0, %xmm1
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%3.0f %6.1f\n"
.subsections_via_symbols
| the_stack_data/145451717.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, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldr 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, #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, #28]
adrp x8, l___const.main.szamok@PAGE
add x8, x8, l___const.main.szamok@PAGEOFF
ldr q0, [x8]
add x1, sp, #32
str q0, [sp, #32]
mov w8, #4
str w8, [sp, #24]
ldr w0, [sp, #24]
bl _sum
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
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, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ; @__const.main.szamok
l___const.main.szamok:
.long 1 ; 0x1
.long 4 ; 0x4
.long 8 ; 0x8
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "osszeg: %d\n"
.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
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_4:
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
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movq L___const.main.szamok(%rip), %rax
movq %rax, -32(%rbp)
movq L___const.main.szamok+8(%rip), %rax
movq %rax, -24(%rbp)
movl $4, -40(%rbp)
movl -40(%rbp), %edi
leaq -32(%rbp), %rsi
callq _sum
movl %eax, -44(%rbp)
movl -44(%rbp), %esi
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 LBB1_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## @__const.main.szamok
L___const.main.szamok:
.long 1 ## 0x1
.long 4 ## 0x4
.long 8 ## 0x8
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "osszeg: %d\n"
.subsections_via_symbols
| the_stack_data/29823952.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w0, #23
bl _foo
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #23
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #15
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _a,4,2 ; @a
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "38618.c"
l_.str.1: ; @.str.1
.asciz "a == 23"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %ecx
movq _a@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $23, %edi
callq _foo
movq _a@GOTPCREL(%rip), %rax
cmpl $23, (%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $15, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,4,2 ## @a
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "38618.c"
L_.str.1: ## @.str.1
.asciz "a == 23"
.subsections_via_symbols
| the_stack_data/38618.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, #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, #28]
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #24]
subs w9, w8, #1
str w9, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #32
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [sp, #16]
add x0, sp, #32
bl _swap
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_1
LBB0_7:
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:
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
.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 wzr, [sp, #8]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
str w8, [sp, #12]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
add w9, w9, #1
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #24]
ldr w9, [sp, #12]
add w9, w9, #1
str w9, [sp, #12]
ldr w8, [x8, w9, sxtw #2]
ldr w9, [sp, #16]
add w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #24]
ldr w9, [sp, #12]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #4]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
subs w10, w10, #1
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #4]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #12]
subs w8, w8, #2
str w8, [sp, #12]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=2
b LBB1_3
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_9:
ldr w0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Optimal train swapping takes %d swaps.\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 $224, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -212(%rbp)
leaq L_.str(%rip), %rdi
leaq -216(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -216(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -216(%rbp)
cmpl $0, %eax
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -224(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -220(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -220(%rbp), %eax
cmpl -224(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -220(%rbp), %rax
leaq -208(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -220(%rbp), %eax
addl $1, %eax
movl %eax, -220(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq -208(%rbp), %rdi
movl -224(%rbp), %esi
callq _swap
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
xorl %eax, %eax
addq $224, %rsp
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.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 $0, -24(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_9
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -20(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl -16(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
je LBB1_7
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movl %ecx, -20(%rbp)
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl -16(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jne LBB1_6
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %eax
subl $2, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB1_6: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_3
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_8
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_9:
movl -24(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "Optimal train swapping takes %d swaps.\n"
.subsections_via_symbols
| the_stack_data/56335.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #2
str w8, [sp, #16]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w9, w8, #1
stur w9, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #16]
mul w8, w8, w9
stur w8, [x29, #-12]
ldr w8, [sp, #16]
; 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 LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d^2 = %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 $2, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -8(%rbp)
cmpl $0, %eax
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
imull -16(%rbp), %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_5:
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 "%d^2 = %d\n"
.subsections_via_symbols
| the_stack_data/78485.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str x1, [sp]
ldr w8, [sp, #12]
ldr x9, [sp]
; InlineAsm Start
; InlineAsm End
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.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
str x1, [sp]
ldr x8, [sp, #8]
; InlineAsm Start
; InlineAsm End
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl _abort
LBB1_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
add x1, sp, #8
str wzr, [sp, #8]
adrp x9, _b@PAGE
mov x8, x1
str x8, [x9, _b@PAGEOFF]
adrp x8, _a@PAGE
ldr w9, [x8, _a@PAGEOFF]
subs w9, w9, #0
cset w9, eq
and w9, w9, #0x1
adrp x10, _c@PAGE
ldr w10, [x10, _c@PAGEOFF]
adrp x11, _e@PAGE
ldrsh w11, [x11, _e@PAGEOFF]
subs w10, w10, w11
cset w10, le
and w10, w10, #0x1
subs w10, w9, w10
adrp x9, _j@PAGE
strb w10, [x9, _j@PAGEOFF]
ldrb w9, [x9, _j@PAGEOFF]
; kill: def $x9 killed $w9
adrp x10, _i@PAGE
ldr x10, [x10, _i@PAGEOFF]
str x9, [x10]
ldr w0, [x8, _a@PAGEOFF]
bl _foo
adrp x8, _f@PAGE
ldr x1, [x8, _f@PAGEOFF]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _bar
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
.globl _a ; @a
.zerofill __DATA,__common,_a,4,2
.globl _b ; @b
.zerofill __DATA,__common,_b,8,3
.globl _c ; @c
.zerofill __DATA,__common,_c,4,2
.section __DATA,__data
.globl _e ; @e
.p2align 1
_e:
.short 1 ; 0x1
.zerofill __DATA,__bss,_f,8,3 ; @f
.globl _i ; @i
.p2align 3
_i:
.quad _f
.globl _j ; @j
.zerofill __DATA,__common,_j,1,0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl -4(%rbp), %eax
movq -16(%rbp), %rcx
## InlineAsm Start
## InlineAsm End
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
leaq -16(%rbp), %rcx
## InlineAsm Start
## InlineAsm End
cmpq $0, -16(%rbp)
je LBB1_2
## %bb.1:
callq _abort
LBB1_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
leaq -8(%rbp), %rax
movq %rax, _b(%rip)
cmpl $0, _a(%rip)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl _c(%rip), %ecx
movswl _e(%rip), %edx
cmpl %edx, %ecx
setle %cl
andb $1, %cl
movzbl %cl, %ecx
subl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, _j(%rip)
movzbl _j(%rip), %eax
movl %eax, %ecx
movq _i(%rip), %rax
movq %rcx, (%rax)
movl _a(%rip), %edi
leaq -8(%rbp), %rsi
callq _foo
movq _f(%rip), %rsi
leaq L_.str(%rip), %rdi
callq _bar
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _a ## @a
.zerofill __DATA,__common,_a,4,2
.globl _b ## @b
.zerofill __DATA,__common,_b,8,3
.globl _c ## @c
.zerofill __DATA,__common,_c,4,2
.section __DATA,__data
.globl _e ## @e
.p2align 1
_e:
.short 1 ## 0x1
.zerofill __DATA,__bss,_f,8,3 ## @f
.globl _i ## @i
.p2align 3
_i:
.quad _f
.globl _j ## @j
.zerofill __DATA,__common,_j,1,0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.subsections_via_symbols
| the_stack_data/1013173.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #52]
ldrsw x9, [sp, #36]
mov x8, #8
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w8, #1
str w8, [sp, #52]
b LBB0_21
LBB0_2:
str wzr, [sp, #48]
b LBB0_3
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #48]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #48]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #40
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldr w8, [sp, #40]
ldrsw x10, [sp, #48]
add x9, sp, #56
str w8, [x9, x10, lsl #2]
ldrsw x9, [sp, #40]
mov x8, #4
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #24]
ldrsw x9, [sp, #48]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w8, #1
str w8, [sp, #52]
b LBB0_21
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
str wzr, [sp, #44]
b LBB0_7
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #44]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #44]
add w10, w8, #1
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 x8, [sp, #24]
ldrsw x9, [sp, #48]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #44]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_3
LBB0_12:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str wzr, [sp, #48]
b LBB0_13
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
ldr w8, [sp, #48]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #48]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str wzr, [sp, #44]
b LBB0_15
LBB0_15: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #44]
ldrsw x10, [sp, #48]
add x9, sp, #56
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
ldr x8, [sp, #24]
ldrsw x9, [sp, #48]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #44]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_13 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_13
LBB0_20:
str wzr, [sp, #52]
b LBB0_21
LBB0_21:
ldr w8, [sp, #52]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Memory allocation failed\n"
l_.str.1: ; @.str.1
.asciz "Enter the number of students of class %d: "
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter marks for student %d: "
l_.str.4: ; @.str.4
.asciz "Output\n"
l_.str.5: ; @.str.5
.asciz "Class %d: "
l_.str.6: ; @.str.6
.asciz "%4d"
l_.str.7: ; @.str.7
.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 $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movslq -84(%rbp), %rdi
shlq $3, %rdi
callq _malloc
cmpq $0, -96(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, -68(%rbp)
jmp LBB0_21
LBB0_2:
movl $0, -72(%rbp)
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
cmpl $2, -72(%rbp)
jge LBB0_12
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -72(%rbp), %esi
addl $1, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -80(%rbp), %rsi
movb $0, %al
callq _scanf
movl -80(%rbp), %ecx
movslq -72(%rbp), %rax
movl %ecx, -64(%rbp,%rax,4)
movslq -80(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq -96(%rbp), %rax
movslq -72(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB0_6
## %bb.5:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, -68(%rbp)
jmp LBB0_21
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl $0, -76(%rbp)
LBB0_7: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -76(%rbp), %eax
cmpl -80(%rbp), %eax
jge LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movl -76(%rbp), %esi
addl $1, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -96(%rbp), %rax
movslq -72(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movslq -76(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_3
LBB0_12:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -72(%rbp)
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
cmpl $2, -72(%rbp)
jge LBB0_20
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movl -72(%rbp), %esi
addl $1, %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -76(%rbp)
LBB0_15: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movl -76(%rbp), %eax
movslq -72(%rbp), %rcx
cmpl -64(%rbp,%rcx,4), %eax
jge LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movq -96(%rbp), %rax
movslq -72(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -76(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_15 Depth=2
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB0_15
LBB0_18: ## in Loop: Header=BB0_13 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
## %bb.19: ## in Loop: Header=BB0_13 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_13
LBB0_20:
movl $0, -68(%rbp)
LBB0_21:
movl -68(%rbp), %eax
movl %eax, -100(%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 -100(%rbp), %eax ## 4-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Memory allocation failed\n"
L_.str.1: ## @.str.1
.asciz "Enter the number of students of class %d: "
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter marks for student %d: "
L_.str.4: ## @.str.4
.asciz "Output\n"
L_.str.5: ## @.str.5
.asciz "Class %d: "
L_.str.6: ## @.str.6
.asciz "%4d"
L_.str.7: ## @.str.7
.asciz "\n"
.subsections_via_symbols
| the_stack_data/118140.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, #53184
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #12, lsl #12 ; =49152
sub sp, sp, #4032
sub x8, x29, #56
str x8, [sp, #264] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #652]
str w0, [sp, #648]
str x1, [sp, #640]
ldr w8, [sp, #648]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #640]
ldr x0, [x8, #16]
bl _atoi
mov w8, #5000
subs w8, w0, w8
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #640]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_3:
mov w8, #16
str w8, [sp, #636]
mov w1, #2
mov x0, x1
mov w2, #0
bl _socket
str w0, [sp, #632]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _print_error
str wzr, [sp, #652]
b LBB0_148
LBB0_5:
ldr w0, [sp, #632]
mov w1, #3
bl _fcntl
str w0, [sp, #468]
ldr w0, [sp, #632]
ldr w8, [sp, #468]
mov w1, #4
orr w10, w8, #0x4
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _fcntl
ldr x8, [sp, #264] ; 8-byte Folded Reload
sub x1, x29, #56
str xzr, [x8]
str xzr, [x8, #8]
mov w9, #2
strb w9, [x8, #1]
str wzr, [x8, #4]
strh wzr, [x8, #2]
ldr w0, [sp, #632]
mov w2, #16
bl _bind
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _print_error
str wzr, [sp, #652]
b LBB0_148
LBB0_7:
ldr x9, [sp, #264] ; 8-byte Folded Reload
str xzr, [x9, #16]
str xzr, [x9, #24]
mov w8, #2
strb w8, [x9, #17]
ldr x8, [sp, #640]
ldr x0, [x8, #8]
bl _inet_addr
ldr x8, [sp, #264] ; 8-byte Folded Reload
str w0, [x8, #20]
ldr x8, [sp, #640]
ldr x0, [x8, #16]
bl _atoi
and w0, w0, #0xffff
bl __OSSwapInt16
ldr x9, [sp, #264] ; 8-byte Folded Reload
and w8, w0, #0xffff
strh w8, [x9, #18]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_8
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_71 Depth 2
; Child Loop BB0_73 Depth 3
; Child Loop BB0_41 Depth 2
; Child Loop BB0_28 Depth 2
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #1828
str x8, [sp, #248] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldr x0, [sp, #248] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #1808
str x8, [sp, #256] ; 8-byte Folded Spill
str x8, [x9]
add x8, sp, #1680
str x8, [x9, #8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _sscanf
ldr x0, [sp, #256] ; 8-byte Folded Reload
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_51
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1680
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_51
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
mov w8, #-1
str w8, [sp, #464]
mov w8, #0
str w8, [sp, #244] ; 4-byte Folded Spill
str wzr, [sp, #460]
str xzr, [sp, #448]
mov x9, sp
add x8, sp, #1680
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w3, [sp, #244] ; 4-byte Folded Reload
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #1828
mov x2, #100
sub x4, x29, #40
bl _sendto
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _print_error
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #460
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #448]
ldr x8, [sp, #448]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_14: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #460]
ldr w9, [sp, #464]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_8
LBB0_16: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #460
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #448]
ldr x8, [sp, #448]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_18: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #460]
ldr w9, [sp, #464]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #460]
ldr w9, [sp, #464]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB0_8
LBB0_21: ; in Loop: Header=BB0_8 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1680
mov w1, #0
bl _access
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_37
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1680
mov w1, #2
bl _access
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_37
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_8 Depth=1
add x1, sp, #440
str xzr, [sp, #440]
str xzr, [sp, #432]
ldr w0, [sp, #632]
mov x2, #8
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #448]
ldr x8, [sp, #448]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_26: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #440]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr x8, [sp, #440]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB0_35
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #440
mov x2, #8
mov w3, #0
sub x4, x29, #40
bl _sendto
add x0, sp, #1680
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _fopen
str x0, [sp, #472]
mov w8, #1
str w8, [sp, #428]
b LBB0_28
LBB0_28: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [sp, #428]
ldr x9, [sp, #440]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_34
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_28 Depth=2
add x0, sp, #1928
str x0, [sp, #232] ; 8-byte Folded Spill
mov x1, #51216
str x1, [sp, #200] ; 8-byte Folded Spill
bl _bzero
ldr x2, [sp, #200] ; 8-byte Folded Reload
ldr x1, [sp, #232] ; 8-byte Folded Reload
ldr w0, [sp, #632]
mov w3, #0
str w3, [sp, #212] ; 4-byte Folded Spill
sub x4, x29, #40
str x4, [sp, #216] ; 8-byte Folded Spill
add x5, sp, #636
mov w6, #8
bl _my_recv_from
ldr w3, [sp, #212] ; 4-byte Folded Reload
ldr x4, [sp, #216] ; 8-byte Folded Reload
ldr x8, [sp, #232] ; 8-byte Folded Reload
ldr w0, [sp, #632]
mov x9, #51200
str x9, [sp, #224] ; 8-byte Folded Spill
add x1, x8, x9
ldr w5, [sp, #636]
mov x2, #8
bl _sendto
ldr x9, [sp, #224] ; 8-byte Folded Reload
ldr x8, [sp, #232] ; 8-byte Folded Reload
ldr x8, [x8, x9]
ldrsw x9, [sp, #428]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_28 Depth=2
ldr w8, [sp, #428]
subs w8, w8, #1
str w8, [sp, #428]
b LBB0_32
LBB0_31: ; in Loop: Header=BB0_28 Depth=2
mov x8, #51208
str x8, [sp, #184] ; 8-byte Folded Spill
add x0, sp, #1928
str x0, [sp, #192] ; 8-byte Folded Spill
ldr x2, [x0, x8]
ldr x3, [sp, #472]
mov x1, #1
bl _fwrite
ldr x9, [sp, #184] ; 8-byte Folded Reload
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldr x9, [x8, x9]
ldr x8, [sp, #432]
add x8, x8, x9
str x8, [sp, #432]
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_28 Depth=2
mov x9, #51200
add x8, sp, #1928
ldr x8, [x8, x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_28 Depth=2
ldr w8, [sp, #428]
add w8, w8, #1
str w8, [sp, #428]
b LBB0_28
LBB0_34: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #432]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldr x0, [sp, #472]
bl _fclose
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldr w0, [sp, #632]
ldr w2, [sp, #636]
sub x1, x29, #40
bl _send_error
b LBB0_8
LBB0_36: ; in Loop: Header=BB0_8 Depth=1
b LBB0_50
LBB0_37: ; in Loop: Header=BB0_8 Depth=1
add x1, sp, #416
str xzr, [sp, #416]
str xzr, [sp, #408]
ldr w0, [sp, #632]
mov x2, #8
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #448]
ldr x8, [sp, #448]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_39: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #416]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr x8, [sp, #416]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB0_48
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #416
mov x2, #8
mov w3, #0
sub x4, x29, #40
bl _sendto
add x0, sp, #1680
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _fopen
str x0, [sp, #472]
mov w8, #1
str w8, [sp, #404]
b LBB0_41
LBB0_41: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [sp, #404]
ldr x9, [sp, #416]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_47
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_41 Depth=2
add x0, sp, #1928
str x0, [sp, #176] ; 8-byte Folded Spill
mov x1, #51216
str x1, [sp, #144] ; 8-byte Folded Spill
bl _bzero
ldr x2, [sp, #144] ; 8-byte Folded Reload
ldr x1, [sp, #176] ; 8-byte Folded Reload
ldr w0, [sp, #632]
mov w3, #0
str w3, [sp, #156] ; 4-byte Folded Spill
sub x4, x29, #40
str x4, [sp, #160] ; 8-byte Folded Spill
add x5, sp, #636
mov w6, #8
bl _my_recv_from
ldr w3, [sp, #156] ; 4-byte Folded Reload
ldr x4, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr w0, [sp, #632]
mov x9, #51200
str x9, [sp, #168] ; 8-byte Folded Spill
add x1, x8, x9
ldr w5, [sp, #636]
mov x2, #8
bl _sendto
ldr x9, [sp, #168] ; 8-byte Folded Reload
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8, x9]
ldrsw x9, [sp, #404]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_41 Depth=2
ldr w8, [sp, #404]
subs w8, w8, #1
str w8, [sp, #404]
b LBB0_45
LBB0_44: ; in Loop: Header=BB0_41 Depth=2
mov x8, #51208
str x8, [sp, #128] ; 8-byte Folded Spill
add x0, sp, #1928
str x0, [sp, #136] ; 8-byte Folded Spill
ldr x2, [x0, x8]
ldr x3, [sp, #472]
mov x1, #1
bl _fwrite
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldr x9, [x8, x9]
ldr x8, [sp, #408]
add x8, x8, x9
str x8, [sp, #408]
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_41 Depth=2
mov x9, #51200
add x8, sp, #1928
ldr x8, [x8, x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_41 Depth=2
ldr w8, [sp, #404]
add w8, w8, #1
str w8, [sp, #404]
b LBB0_41
LBB0_47: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #408]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldr x0, [sp, #472]
bl _fclose
b LBB0_49
LBB0_48: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldr w0, [sp, #632]
ldr w2, [sp, #636]
sub x1, x29, #40
bl _send_error
b LBB0_8
LBB0_49: ; in Loop: Header=BB0_8 Depth=1
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_8 Depth=1
b LBB0_147
LBB0_51: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1808
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_88
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1680
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_88
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_8 Depth=1
mov w8, #-1
str w8, [sp, #400]
mov w8, #0
str w8, [sp, #116] ; 4-byte Folded Spill
str wzr, [sp, #396]
mov x9, sp
add x8, sp, #1680
str x8, [sp, #120] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
ldr w1, [sp, #116] ; 4-byte Folded Reload
ldr x0, [sp, #120] ; 8-byte Folded Reload
bl _access
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_86
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1680
mov w1, #4
bl _access
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_86
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_8 Depth=1
str xzr, [sp, #384]
str xzr, [sp, #376]
str xzr, [sp, #368]
str xzr, [sp, #360]
mov w3, #0
str wzr, [sp, #356]
str wzr, [sp, #352]
str wzr, [sp, #348]
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #1828
mov x2, #100
sub x4, x29, #40
bl _sendto
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_57
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _print_error
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #396
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #368]
ldr x8, [sp, #368]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_59
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_59: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #396]
ldr w9, [sp, #400]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_61
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_8
LBB0_61: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1680
add x1, sp, #488
bl _stat
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_63
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _print_error
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #584]
str x8, [sp, #480]
ldr x8, [sp, #480]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
add x0, sp, #1680
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _fopen
str x0, [sp, #472]
ldr x8, [sp, #480]
mov x10, #51200
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_65
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #480]
mov x9, #51200
sdiv x8, x8, x9
add x8, x8, #1
str x8, [sp, #384]
b LBB0_66
LBB0_65: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #480]
mov x9, #51200
sdiv x8, x8, x9
str x8, [sp, #384]
b LBB0_66
LBB0_66: ; in Loop: Header=BB0_8 Depth=1
add x8, sp, #384
str x8, [sp, #80] ; 8-byte Folded Spill
ldr x8, [sp, #384]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
ldr x1, [sp, #80] ; 8-byte Folded Reload
ldr w0, [sp, #632]
add x8, sp, #636
str x8, [sp, #104] ; 8-byte Folded Spill
ldr w5, [sp, #636]
mov x2, #8
mov w3, #0
str w3, [sp, #92] ; 4-byte Folded Spill
sub x4, x29, #40
str x4, [sp, #96] ; 8-byte Folded Spill
bl _sendto
ldr w3, [sp, #92] ; 4-byte Folded Reload
ldr x4, [sp, #96] ; 8-byte Folded Reload
ldr x5, [sp, #104] ; 8-byte Folded Reload
ldr w0, [sp, #632]
add x1, sp, #396
mov x2, #4
mov w6, #8
bl _my_recv_from
str x0, [sp, #368]
ldr x8, [sp, #368]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_68
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_68: ; in Loop: Header=BB0_8 Depth=1
ldr w9, [sp, #396]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
ldr w8, [sp, #396]
ldr w9, [sp, #400]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_70
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
b LBB0_8
LBB0_70: ; in Loop: Header=BB0_8 Depth=1
str xzr, [sp, #368]
mov w8, #1
str w8, [sp, #344]
b LBB0_71
LBB0_71: ; Parent Loop BB0_8 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_73 Depth 3
ldrsw x8, [sp, #344]
ldr x9, [sp, #384]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_85
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_71 Depth=2
add x0, sp, #1928
str x0, [sp, #72] ; 8-byte Folded Spill
mov x1, #51216
str x1, [sp, #48] ; 8-byte Folded Spill
bl _bzero
ldr x0, [sp, #72] ; 8-byte Folded Reload
str xzr, [sp, #360]
mov w8, #0
str w8, [sp, #60] ; 4-byte Folded Spill
str wzr, [sp, #356]
ldrsw x8, [sp, #344]
mov x9, #51200
str x9, [sp, #64] ; 8-byte Folded Spill
str x8, [x0, x9]
ldr x3, [sp, #472]
mov x1, #1
mov x2, #51200
bl _fread
ldr x2, [sp, #48] ; 8-byte Folded Reload
ldr w3, [sp, #60] ; 4-byte Folded Reload
ldr x1, [sp, #72] ; 8-byte Folded Reload
mov x8, #51208
str x0, [x1, x8]
ldr w0, [sp, #632]
ldr w5, [sp, #636]
sub x4, x29, #40
bl _sendto
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x8, [x8, x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
b LBB0_73
LBB0_73: ; Parent Loop BB0_8 Depth=1
; Parent Loop BB0_71 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #356]
subs w8, w8, #30
cset w8, gt
tbnz w8, #0, LBB0_79
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_73 Depth=3
ldr w0, [sp, #632]
add x1, sp, #360
mov x2, #8
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #2
bl _my_recv_from
str x0, [sp, #368]
ldr x8, [sp, #368]
subs x8, x8, #0
cset w8, lt
tbnz w8, #0, LBB0_76
b LBB0_75
LBB0_75: ; in Loop: Header=BB0_73 Depth=3
mov x9, #51200
add x8, sp, #1928
ldr x8, [x8, x9]
ldr x9, [sp, #360]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_77
b LBB0_76
LBB0_76: ; in Loop: Header=BB0_73 Depth=3
ldr w8, [sp, #352]
add w8, w8, #1
str w8, [sp, #352]
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #1928
str x1, [sp, #40] ; 8-byte Folded Spill
mov x2, #51216
mov w3, #0
sub x4, x29, #40
bl _sendto
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [sp, #356]
add w9, w9, #1
str w9, [sp, #356]
mov x9, #51200
ldr x11, [x8, x9]
ldr w8, [sp, #352]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #356]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _printf
b LBB0_78
LBB0_77: ; in Loop: Header=BB0_71 Depth=2
b LBB0_79
LBB0_78: ; in Loop: Header=BB0_73 Depth=3
b LBB0_73
LBB0_79: ; in Loop: Header=BB0_71 Depth=2
mov x9, #51208
add x8, sp, #1928
ldr x9, [x8, x9]
ldr x8, [sp, #376]
add x8, x8, x9
str x8, [sp, #376]
ldr w8, [sp, #356]
subs w8, w8, #30
cset w8, ne
tbnz w8, #0, LBB0_81
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_71 Depth=2
mov w8, #1
str w8, [sp, #348]
b LBB0_81
LBB0_81: ; in Loop: Header=BB0_71 Depth=2
str wzr, [sp, #356]
str wzr, [sp, #352]
ldr w8, [sp, #348]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_83
b LBB0_82
LBB0_82: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
b LBB0_85
LBB0_83: ; in Loop: Header=BB0_71 Depth=2
b LBB0_84
LBB0_84: ; in Loop: Header=BB0_71 Depth=2
ldr w8, [sp, #344]
add w8, w8, #1
str w8, [sp, #344]
b LBB0_71
LBB0_85: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #376]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.30@PAGE
add x0, x0, l_.str.30@PAGEOFF
bl _printf
ldr x0, [sp, #472]
bl _fclose
b LBB0_87
LBB0_86: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _printf
b LBB0_8
LBB0_87: ; in Loop: Header=BB0_8 Depth=1
b LBB0_146
LBB0_88: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1808
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_102
b LBB0_89
LBB0_89: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1680
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_102
b LBB0_90
LBB0_90: ; in Loop: Header=BB0_8 Depth=1
mov w8, #0
str w8, [sp, #36] ; 4-byte Folded Spill
str wzr, [sp, #340]
mov w8, #-1
str w8, [sp, #336]
str xzr, [sp, #328]
mov x9, sp
add x8, sp, #1680
str x8, [x9]
adrp x0, l_.str.33@PAGE
add x0, x0, l_.str.33@PAGEOFF
bl _printf
ldr w3, [sp, #36] ; 4-byte Folded Reload
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #1828
mov x2, #100
sub x4, x29, #40
bl _sendto
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_92
b LBB0_91
LBB0_91: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _print_error
b LBB0_92
LBB0_92: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #340
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #328]
ldr x8, [sp, #328]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_94
b LBB0_93
LBB0_93: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_94: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #340]
ldr w9, [sp, #336]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_96
b LBB0_95
LBB0_95: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_8
LBB0_96: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #340
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #328]
ldr x8, [sp, #328]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_98
b LBB0_97
LBB0_97: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_98: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #340]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_100
b LBB0_99
LBB0_99: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.34@PAGE
add x0, x0, l_.str.34@PAGEOFF
bl _printf
b LBB0_8
LBB0_100: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.35@PAGE
add x0, x0, l_.str.35@PAGEOFF
bl _printf
b LBB0_101
LBB0_101: ; in Loop: Header=BB0_8 Depth=1
b LBB0_145
LBB0_102: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1808
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_124
b LBB0_103
LBB0_103: ; in Loop: Header=BB0_8 Depth=1
mov w8, #0
str w8, [sp, #32] ; 4-byte Folded Spill
str wzr, [sp, #324]
mov w8, #-1
str w8, [sp, #320]
mov w8, #1
str w8, [sp, #316]
str xzr, [sp, #304]
add x0, sp, #656
mov x1, #1024
bl _bzero
ldr w3, [sp, #32] ; 4-byte Folded Reload
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #1828
mov x2, #100
sub x4, x29, #40
bl _sendto
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_105
b LBB0_104
LBB0_104: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _print_error
b LBB0_105
LBB0_105: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #324
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #304]
ldr x8, [sp, #304]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_107
b LBB0_106
LBB0_106: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_107: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #324]
ldr w9, [sp, #320]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_109
b LBB0_108
LBB0_108: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_8
LBB0_109: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #324
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #304]
subs x8, x0, #0
cset w8, le
tbnz w8, #0, LBB0_113
b LBB0_110
LBB0_110: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #324]
ldr w9, [sp, #320]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_112
b LBB0_111
LBB0_111: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.37@PAGE
add x0, x0, l_.str.37@PAGEOFF
bl _printf
b LBB0_8
LBB0_112: ; in Loop: Header=BB0_8 Depth=1
b LBB0_113
LBB0_113: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #304]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_115
b LBB0_114
LBB0_114: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_115: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #656
mov x2, #1024
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #304]
ldr x8, [sp, #304]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_117
b LBB0_116
LBB0_116: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_117: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #656
bl _strlen
subs x8, x0, #0
cset w8, ls
tbnz w8, #0, LBB0_119
b LBB0_118
LBB0_118: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #316
mov x2, #4
mov w3, #0
sub x4, x29, #40
bl _sendto
b LBB0_120
LBB0_119: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #320
mov x2, #4
mov w3, #0
sub x4, x29, #40
bl _sendto
b LBB0_120
LBB0_120: ; in Loop: Header=BB0_8 Depth=1
ldrsb w8, [sp, #656]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_122
b LBB0_121
LBB0_121: ; in Loop: Header=BB0_8 Depth=1
mov x9, sp
add x8, sp, #656
str x8, [x9]
adrp x0, l_.str.38@PAGE
add x0, x0, l_.str.38@PAGEOFF
bl _printf
b LBB0_123
LBB0_122: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _printf
b LBB0_8
LBB0_123: ; in Loop: Header=BB0_8 Depth=1
b LBB0_144
LBB0_124: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #1808
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_132
b LBB0_125
LBB0_125: ; in Loop: Header=BB0_8 Depth=1
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
str wzr, [sp, #300]
mov w8, #-1
str w8, [sp, #296]
str xzr, [sp, #288]
adrp x0, l_.str.41@PAGE
add x0, x0, l_.str.41@PAGEOFF
bl _printf
ldr w3, [sp, #28] ; 4-byte Folded Reload
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #1828
mov x2, #100
sub x4, x29, #40
bl _sendto
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_127
b LBB0_126
LBB0_126: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _print_error
b LBB0_127
LBB0_127: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #300
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #288]
ldr x8, [sp, #288]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_129
b LBB0_128
LBB0_128: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_129: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #300]
ldr w9, [sp, #296]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_131
b LBB0_130
LBB0_130: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_8
LBB0_131:
adrp x0, l_.str.42@PAGE
add x0, x0, l_.str.42@PAGEOFF
bl _printf
ldr w0, [sp, #632]
bl _close
mov w0, #0
bl _exit
LBB0_132: ; in Loop: Header=BB0_8 Depth=1
mov w3, #0
str wzr, [sp, #284]
mov w8, #-1
str w8, [sp, #280]
str xzr, [sp, #272]
ldr w0, [sp, #632]
ldr w5, [sp, #636]
add x1, sp, #1828
mov x2, #100
sub x4, x29, #40
bl _sendto
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_134
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _print_error
b LBB0_134
LBB0_134: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #284
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #272]
ldr x8, [sp, #272]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_136
b LBB0_135
LBB0_135: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_136: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #284]
ldr w9, [sp, #280]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_138
b LBB0_137
LBB0_137: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_8
LBB0_138: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [sp, #632]
add x1, sp, #284
mov x2, #4
mov w3, #0
sub x4, x29, #40
add x5, sp, #636
mov w6, #8
bl _my_recv_from
str x0, [sp, #272]
ldr x8, [sp, #272]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_140
b LBB0_139
LBB0_139: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_140: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #284]
ldr w9, [sp, #280]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_142
b LBB0_141
LBB0_141: ; in Loop: Header=BB0_8 Depth=1
adrp x0, l_.str.43@PAGE
add x0, x0, l_.str.43@PAGEOFF
bl _printf
b LBB0_8
LBB0_142: ; in Loop: Header=BB0_8 Depth=1
b LBB0_143
LBB0_143: ; in Loop: Header=BB0_8 Depth=1
b LBB0_144
LBB0_144: ; in Loop: Header=BB0_8 Depth=1
b LBB0_145
LBB0_145: ; in Loop: Header=BB0_8 Depth=1
b LBB0_146
LBB0_146: ; in Loop: Header=BB0_8 Depth=1
b LBB0_147
LBB0_147: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_148:
ldr w8, [sp, #652]
str w8, [sp, #24] ; 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_150
b LBB0_149
LBB0_149:
bl ___stack_chk_fail
LBB0_150:
ldr w0, [sp, #24] ; 4-byte Folded Reload
add sp, sp, #12, lsl #12 ; =49152
add sp, sp, #4032
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 print_error
_print_error: ; @print_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.44@PAGE
add x0, x0, l_.str.44@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function my_recv_from
_my_recv_from: ; @my_recv_from
.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 w0, [x29, #-12]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur w3, [x29, #-36]
str x4, [sp, #48]
str x5, [sp, #40]
str w6, [sp, #36]
str xzr, [sp, #24]
str xzr, [sp, #16]
str xzr, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-12]
ldur x1, [x29, #-24]
ldur x2, [x29, #-32]
ldur w3, [x29, #-36]
ldr x4, [sp, #48]
ldr x5, [sp, #40]
bl _recvfrom
str x0, [sp, #24]
subs x8, x0, #0
cset w8, gt
tbnz w8, #0, LBB3_9
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
bl ___error
ldr w8, [x0]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
mov x0, #0
bl _time
str x0, [sp, #8]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
mov x0, #0
bl _time
str x0, [sp, #16]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #16]
subs x8, x8, x9
ldrsw x9, [sp, #36]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
adrp x0, l_.str.45@PAGE
add x0, x0, l_.str.45@PAGEOFF
bl _printf
mov x8, #-1
stur x8, [x29, #-8]
b LBB3_10
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_1 Depth=1
b LBB3_1
LBB3_9:
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB3_10
LBB3_10:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function send_error
_send_error: ; @send_error
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
str w2, [sp, #12]
add x1, sp, #8
mov w8, #-1
str w8, [sp, #8]
ldur w0, [x29, #-4]
ldr x4, [sp, #16]
ldr w5, [sp, #12]
mov x2, #4
mov w3, #0
bl _sendto
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid input/port.\n"
l_.str.1: ; @.str.1
.asciz "Usage --> ./[%s] [Server IP Address] [Port Number]\n"
l_.str.2: ; @.str.2
.asciz "Cannot create socket.\n"
l_.str.3: ; @.str.3
.asciz "Bind failed.\n"
l_.str.4: ; @.str.4
.asciz "Client started.\n"
l_.str.5: ; @.str.5
.asciz "\nAvailable commands:\n 1. get [filename] \n 2. put [filename] \n 3. delete [filename] \n 4. ls (lists current directory on server) \n 5. exit \n"
l_.str.6: ; @.str.6
.asciz " %[^\n]%*c"
l_.str.7: ; @.str.7
.asciz "%s %s"
l_.str.8: ; @.str.8
.asciz "get"
.section __TEXT,__const
l_.str.9: ; @.str.9
.space 2
.section __TEXT,__cstring,cstring_literals
l_.str.10: ; @.str.10
.asciz "Getting file: %s\n"
l_.str.11: ; @.str.11
.asciz "Couldn't send command.\n"
l_.str.12: ; @.str.12
.asciz "No command received by server.\n"
l_.str.13: ; @.str.13
.asciz "No permission to read file.\n"
l_.str.14: ; @.str.14
.asciz "Frames to receive: %ld\n"
l_.str.15: ; @.str.15
.asciz "wb"
l_.str.16: ; @.str.16
.asciz "Frame %ld received.\n"
l_.str.17: ; @.str.17
.asciz "File received; size is %ld bytes.\n"
l_.str.18: ; @.str.18
.asciz "File is empty.\n"
l_.str.19: ; @.str.19
.asciz "put"
l_.str.20: ; @.str.20
.asciz "Sending file: %s\n"
l_.str.21: ; @.str.21
.asciz "Failed to get file size.\n"
l_.str.22: ; @.str.22
.asciz "File size: %ld\n"
l_.str.23: ; @.str.23
.asciz "rb"
l_.str.24: ; @.str.24
.asciz "Packets to send: %ld\n"
l_.str.25: ; @.str.25
.asciz "Recd frames ack %d\n"
l_.str.26: ; @.str.26
.asciz "File empty error from server.\n"
l_.str.27: ; @.str.27
.asciz "Frame no. %ld sent\n"
l_.str.28: ; @.str.28
.asciz "Frame %ld dropped %d times; retries: %d.\n"
l_.str.29: ; @.str.29
.asciz "File not sent. PUT failed.\n"
l_.str.30: ; @.str.30
.asciz "File sent succesfully: %ld bytes.\n"
l_.str.31: ; @.str.31
.asciz "Invalid filename.\n"
l_.str.32: ; @.str.32
.asciz "delete"
l_.str.33: ; @.str.33
.asciz "Deleting file: %s\n"
l_.str.34: ; @.str.34
.asciz "You don't have permissions to delete or file doesn't exist.\n"
l_.str.35: ; @.str.35
.asciz "File deleted successfully.\n"
l_.str.36: ; @.str.36
.asciz "ls"
l_.str.37: ; @.str.37
.asciz "Error listing directory.\n"
l_.str.38: ; @.str.38
.asciz "\nList of files:\n%s \n"
l_.str.39: ; @.str.39
.asciz "Received list is empty.\n"
l_.str.40: ; @.str.40
.asciz "exit"
l_.str.41: ; @.str.41
.asciz "Closing the server.\n"
l_.str.42: ; @.str.42
.asciz "Closing UDP client.\n"
l_.str.43: ; @.str.43
.asciz "Unknown command. Please choose one from the given list.\n"
l_.str.44: ; @.str.44
.asciz "%s\n"
l_.str.45: ; @.str.45
.asciz "Timed out waiting for response from server.\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 $52960, %eax ## imm = 0xCEE0
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52548(%rbp)
movl %edi, -52552(%rbp)
movq %rsi, -52560(%rbp)
cmpl $3, -52552(%rbp)
jne LBB0_2
## %bb.1:
movq -52560(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
cmpl $5000, %eax ## imm = 0x1388
jge LBB0_3
LBB0_2:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -52929(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -52929(%rbp), %al ## 1-byte Reload
movq -52560(%rbp), %rcx
movq (%rcx), %rsi
leaq L_.str.1(%rip), %rdi
callq _printf
movl $1, %edi
callq _exit
LBB0_3:
movl $16, -52564(%rbp)
movl $2, %esi
xorl %edx, %edx
movl %esi, %edi
callq _socket
movl %eax, -52568(%rbp)
cmpl $0, %eax
jge LBB0_5
## %bb.4:
leaq L_.str.2(%rip), %rdi
callq _print_error
movl $0, -52548(%rbp)
jmp LBB0_148
LBB0_5:
movl -52568(%rbp), %edi
movl $3, %esi
movb $0, %al
callq _fcntl
movl %eax, -52732(%rbp)
movl -52568(%rbp), %edi
movl -52732(%rbp), %edx
orl $4, %edx
movl $4, %esi
movb $0, %al
callq _fcntl
leaq -40(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -39(%rbp)
movl $0, -36(%rbp)
movw $0, -38(%rbp)
movl -52568(%rbp), %edi
leaq -40(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $0, %eax
jge LBB0_7
## %bb.6:
leaq L_.str.3(%rip), %rdi
callq _print_error
movl $0, -52548(%rbp)
jmp LBB0_148
LBB0_7:
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -23(%rbp)
movq -52560(%rbp), %rax
movq 8(%rax), %rdi
callq _inet_addr
movl %eax, -20(%rbp)
movq -52560(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq __OSSwapInt16
movzwl %ax, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -22(%rbp)
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_28 Depth 2
## Child Loop BB0_41 Depth 2
## Child Loop BB0_71 Depth 2
## Child Loop BB0_73 Depth 3
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq -51360(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _scanf
leaq -51360(%rbp), %rdi
leaq -51392(%rbp), %rdx
leaq -51520(%rbp), %rcx
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _sscanf
leaq -51392(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_51
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
leaq -51520(%rbp), %rdi
leaq l_.str.9(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_51
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl $-1, -52736(%rbp)
movl $0, -52740(%rbp)
movq $0, -52752(%rbp)
leaq -51520(%rbp), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl -52568(%rbp), %edi
leaq -51360(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $100, %edx
xorl %ecx, %ecx
callq _sendto
cmpq $0, %rax
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.11(%rip), %rdi
callq _print_error
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52740(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52752(%rbp)
cmpq $0, -52752(%rbp)
jge LBB0_14
## %bb.13: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_14: ## in Loop: Header=BB0_8 Depth=1
movl -52740(%rbp), %eax
cmpl -52736(%rbp), %eax
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_16: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52740(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52752(%rbp)
cmpq $0, -52752(%rbp)
jge LBB0_18
## %bb.17: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_18: ## in Loop: Header=BB0_8 Depth=1
movl -52740(%rbp), %eax
cmpl -52736(%rbp), %eax
jne LBB0_22
## %bb.19: ## in Loop: Header=BB0_8 Depth=1
movl -52740(%rbp), %eax
cmpl -52736(%rbp), %eax
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_21: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_8 Depth=1
leaq -51520(%rbp), %rdi
xorl %esi, %esi
callq _access
cmpl $0, %eax
jne LBB0_37
## %bb.23: ## in Loop: Header=BB0_8 Depth=1
leaq -51520(%rbp), %rdi
movl $2, %esi
callq _access
cmpl $0, %eax
jne LBB0_37
## %bb.24: ## in Loop: Header=BB0_8 Depth=1
movq $0, -52760(%rbp)
movq $0, -52768(%rbp)
movl -52568(%rbp), %edi
leaq -52760(%rbp), %rsi
leaq -24(%rbp), %r8
movl $8, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52752(%rbp)
cmpq $0, -52752(%rbp)
jge LBB0_26
## %bb.25: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_26: ## in Loop: Header=BB0_8 Depth=1
movq -52760(%rbp), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
cmpq $0, -52760(%rbp)
jle LBB0_35
## %bb.27: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52760(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $8, %edx
xorl %ecx, %ecx
callq _sendto
leaq -51520(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq _fopen
movq %rax, -52728(%rbp)
movl $1, -52772(%rbp)
LBB0_28: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movslq -52772(%rbp), %rax
cmpq -52760(%rbp), %rax
jg LBB0_34
## %bb.29: ## in Loop: Header=BB0_28 Depth=2
leaq -51256(%rbp), %rdi
xorl %esi, %esi
movl $51216, %edx ## imm = 0xC810
callq _memset
movl -52568(%rbp), %edi
leaq -51256(%rbp), %rsi
leaq -24(%rbp), %r8
movl $51216, %edx ## imm = 0xC810
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movl -52568(%rbp), %edi
leaq -51256(%rbp), %rsi
addq $51200, %rsi ## imm = 0xC800
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $8, %edx
xorl %ecx, %ecx
callq _sendto
movq -56(%rbp), %rax
movslq -52772(%rbp), %rcx
cmpq %rcx, %rax
je LBB0_31
## %bb.30: ## in Loop: Header=BB0_28 Depth=2
movl -52772(%rbp), %eax
addl $-1, %eax
movl %eax, -52772(%rbp)
jmp LBB0_32
LBB0_31: ## in Loop: Header=BB0_28 Depth=2
leaq -51256(%rbp), %rdi
movq -48(%rbp), %rdx
movq -52728(%rbp), %rcx
movl $1, %esi
callq _fwrite
movq -48(%rbp), %rax
addq -52768(%rbp), %rax
movq %rax, -52768(%rbp)
LBB0_32: ## in Loop: Header=BB0_28 Depth=2
movq -56(%rbp), %rsi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
## %bb.33: ## in Loop: Header=BB0_28 Depth=2
movl -52772(%rbp), %eax
addl $1, %eax
movl %eax, -52772(%rbp)
jmp LBB0_28
LBB0_34: ## in Loop: Header=BB0_8 Depth=1
movq -52768(%rbp), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
movq -52728(%rbp), %rdi
callq _fclose
jmp LBB0_36
LBB0_35: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movl -52568(%rbp), %edi
leaq -24(%rbp), %rsi
movl -52564(%rbp), %edx
callq _send_error
jmp LBB0_8
LBB0_36: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_50
LBB0_37: ## in Loop: Header=BB0_8 Depth=1
movq $0, -52784(%rbp)
movq $0, -52792(%rbp)
movl -52568(%rbp), %edi
leaq -52784(%rbp), %rsi
leaq -24(%rbp), %r8
movl $8, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52752(%rbp)
cmpq $0, -52752(%rbp)
jge LBB0_39
## %bb.38: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_39: ## in Loop: Header=BB0_8 Depth=1
movq -52784(%rbp), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
cmpq $0, -52784(%rbp)
jle LBB0_48
## %bb.40: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52784(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $8, %edx
xorl %ecx, %ecx
callq _sendto
leaq -51520(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq _fopen
movq %rax, -52728(%rbp)
movl $1, -52796(%rbp)
LBB0_41: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movslq -52796(%rbp), %rax
cmpq -52784(%rbp), %rax
jg LBB0_47
## %bb.42: ## in Loop: Header=BB0_41 Depth=2
leaq -51256(%rbp), %rdi
xorl %esi, %esi
movl $51216, %edx ## imm = 0xC810
callq _memset
movl -52568(%rbp), %edi
leaq -51256(%rbp), %rsi
leaq -24(%rbp), %r8
movl $51216, %edx ## imm = 0xC810
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movl -52568(%rbp), %edi
leaq -51256(%rbp), %rsi
addq $51200, %rsi ## imm = 0xC800
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $8, %edx
xorl %ecx, %ecx
callq _sendto
movq -56(%rbp), %rax
movslq -52796(%rbp), %rcx
cmpq %rcx, %rax
je LBB0_44
## %bb.43: ## in Loop: Header=BB0_41 Depth=2
movl -52796(%rbp), %eax
addl $-1, %eax
movl %eax, -52796(%rbp)
jmp LBB0_45
LBB0_44: ## in Loop: Header=BB0_41 Depth=2
leaq -51256(%rbp), %rdi
movq -48(%rbp), %rdx
movq -52728(%rbp), %rcx
movl $1, %esi
callq _fwrite
movq -48(%rbp), %rax
addq -52792(%rbp), %rax
movq %rax, -52792(%rbp)
LBB0_45: ## in Loop: Header=BB0_41 Depth=2
movq -56(%rbp), %rsi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
## %bb.46: ## in Loop: Header=BB0_41 Depth=2
movl -52796(%rbp), %eax
addl $1, %eax
movl %eax, -52796(%rbp)
jmp LBB0_41
LBB0_47: ## in Loop: Header=BB0_8 Depth=1
movq -52792(%rbp), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
movq -52728(%rbp), %rdi
callq _fclose
jmp LBB0_49
LBB0_48: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movl -52568(%rbp), %edi
leaq -24(%rbp), %rsi
movl -52564(%rbp), %edx
callq _send_error
jmp LBB0_8
LBB0_49: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_50
LBB0_50: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_147
LBB0_51: ## in Loop: Header=BB0_8 Depth=1
leaq -51392(%rbp), %rdi
leaq L_.str.19(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_88
## %bb.52: ## in Loop: Header=BB0_8 Depth=1
leaq -51520(%rbp), %rdi
leaq l_.str.9(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_88
## %bb.53: ## in Loop: Header=BB0_8 Depth=1
movl $-1, -52800(%rbp)
movl $0, -52804(%rbp)
leaq -51520(%rbp), %rsi
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
leaq -51520(%rbp), %rdi
xorl %esi, %esi
callq _access
cmpl $0, %eax
jne LBB0_86
## %bb.54: ## in Loop: Header=BB0_8 Depth=1
leaq -51520(%rbp), %rdi
movl $4, %esi
callq _access
cmpl $0, %eax
jne LBB0_86
## %bb.55: ## in Loop: Header=BB0_8 Depth=1
movq $0, -52816(%rbp)
movq $0, -52824(%rbp)
movq $0, -52832(%rbp)
movq $0, -52840(%rbp)
movl $0, -52844(%rbp)
movl $0, -52848(%rbp)
movl $0, -52852(%rbp)
movl -52568(%rbp), %edi
leaq -51360(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $100, %edx
xorl %ecx, %ecx
callq _sendto
cmpq $0, %rax
jge LBB0_57
## %bb.56: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.11(%rip), %rdi
callq _print_error
LBB0_57: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52804(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52832(%rbp)
cmpq $0, -52832(%rbp)
jge LBB0_59
## %bb.58: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_59: ## in Loop: Header=BB0_8 Depth=1
movl -52804(%rbp), %eax
cmpl -52800(%rbp), %eax
jne LBB0_61
## %bb.60: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_61: ## in Loop: Header=BB0_8 Depth=1
leaq -51520(%rbp), %rdi
leaq -52712(%rbp), %rsi
callq _stat$INODE64
cmpl $0, %eax
jge LBB0_63
## %bb.62: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.21(%rip), %rdi
callq _print_error
LBB0_63: ## in Loop: Header=BB0_8 Depth=1
movq -52616(%rbp), %rax
movq %rax, -52720(%rbp)
movq -52720(%rbp), %rsi
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
leaq -51520(%rbp), %rdi
leaq L_.str.23(%rip), %rsi
callq _fopen
movq %rax, -52728(%rbp)
movq -52720(%rbp), %rax
movl $51200, %ecx ## imm = 0xC800
cqto
idivq %rcx
cmpq $0, %rdx
je LBB0_65
## %bb.64: ## in Loop: Header=BB0_8 Depth=1
movq -52720(%rbp), %rax
movl $51200, %ecx ## imm = 0xC800
cqto
idivq %rcx
addq $1, %rax
movq %rax, -52816(%rbp)
jmp LBB0_66
LBB0_65: ## in Loop: Header=BB0_8 Depth=1
movq -52720(%rbp), %rax
movl $51200, %ecx ## imm = 0xC800
cqto
idivq %rcx
movq %rax, -52816(%rbp)
LBB0_66: ## in Loop: Header=BB0_8 Depth=1
movq -52816(%rbp), %rsi
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
movl -52568(%rbp), %edi
leaq -52816(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $8, %edx
xorl %ecx, %ecx
callq _sendto
movl -52568(%rbp), %edi
leaq -52804(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52832(%rbp)
cmpq $0, -52832(%rbp)
jge LBB0_68
## %bb.67: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_68: ## in Loop: Header=BB0_8 Depth=1
movl -52804(%rbp), %esi
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
movl -52804(%rbp), %eax
cmpl -52800(%rbp), %eax
jne LBB0_70
## %bb.69: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_70: ## in Loop: Header=BB0_8 Depth=1
movq $0, -52832(%rbp)
movl $1, -52856(%rbp)
LBB0_71: ## Parent Loop BB0_8 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_73 Depth 3
movslq -52856(%rbp), %rax
cmpq -52816(%rbp), %rax
jg LBB0_85
## %bb.72: ## in Loop: Header=BB0_71 Depth=2
leaq -51256(%rbp), %rdi
xorl %esi, %esi
movl $51216, %edx ## imm = 0xC810
callq _memset
movq $0, -52840(%rbp)
movl $0, -52844(%rbp)
movslq -52856(%rbp), %rax
movq %rax, -56(%rbp)
leaq -51256(%rbp), %rdi
movq -52728(%rbp), %rcx
movl $1, %esi
movl $51200, %edx ## imm = 0xC800
callq _fread
movq %rax, -48(%rbp)
movl -52568(%rbp), %edi
leaq -51256(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $51216, %edx ## imm = 0xC810
xorl %ecx, %ecx
callq _sendto
movq -56(%rbp), %rsi
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _printf
LBB0_73: ## Parent Loop BB0_8 Depth=1
## Parent Loop BB0_71 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $30, -52844(%rbp)
jg LBB0_79
## %bb.74: ## in Loop: Header=BB0_73 Depth=3
movl -52568(%rbp), %edi
leaq -52840(%rbp), %rsi
leaq -24(%rbp), %r8
movl $8, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $2, (%rsp)
callq _my_recv_from
movq %rax, -52832(%rbp)
cmpq $0, -52832(%rbp)
jl LBB0_76
## %bb.75: ## in Loop: Header=BB0_73 Depth=3
movq -56(%rbp), %rax
cmpq -52840(%rbp), %rax
je LBB0_77
LBB0_76: ## in Loop: Header=BB0_73 Depth=3
movl -52848(%rbp), %eax
addl $1, %eax
movl %eax, -52848(%rbp)
movl -52568(%rbp), %edi
leaq -51256(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $51216, %edx ## imm = 0xC810
xorl %ecx, %ecx
callq _sendto
movl -52844(%rbp), %eax
addl $1, %eax
movl %eax, -52844(%rbp)
movq -56(%rbp), %rsi
movl -52848(%rbp), %edx
movl -52844(%rbp), %ecx
leaq L_.str.28(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_78
LBB0_77: ## in Loop: Header=BB0_71 Depth=2
jmp LBB0_79
LBB0_78: ## in Loop: Header=BB0_73 Depth=3
jmp LBB0_73
LBB0_79: ## in Loop: Header=BB0_71 Depth=2
movq -48(%rbp), %rax
addq -52824(%rbp), %rax
movq %rax, -52824(%rbp)
cmpl $30, -52844(%rbp)
jne LBB0_81
## %bb.80: ## in Loop: Header=BB0_71 Depth=2
movl $1, -52852(%rbp)
LBB0_81: ## in Loop: Header=BB0_71 Depth=2
movl $0, -52844(%rbp)
movl $0, -52848(%rbp)
cmpl $1, -52852(%rbp)
jne LBB0_83
## %bb.82: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_85
LBB0_83: ## in Loop: Header=BB0_71 Depth=2
jmp LBB0_84
LBB0_84: ## in Loop: Header=BB0_71 Depth=2
movl -52856(%rbp), %eax
addl $1, %eax
movl %eax, -52856(%rbp)
jmp LBB0_71
LBB0_85: ## in Loop: Header=BB0_8 Depth=1
movq -52824(%rbp), %rsi
leaq L_.str.30(%rip), %rdi
movb $0, %al
callq _printf
movq -52728(%rbp), %rdi
callq _fclose
jmp LBB0_87
LBB0_86: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.31(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_87: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_146
LBB0_88: ## in Loop: Header=BB0_8 Depth=1
leaq -51392(%rbp), %rdi
leaq L_.str.32(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_102
## %bb.89: ## in Loop: Header=BB0_8 Depth=1
leaq -51520(%rbp), %rdi
leaq l_.str.9(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_102
## %bb.90: ## in Loop: Header=BB0_8 Depth=1
movl $0, -52860(%rbp)
movl $-1, -52864(%rbp)
movq $0, -52872(%rbp)
leaq -51520(%rbp), %rsi
leaq L_.str.33(%rip), %rdi
movb $0, %al
callq _printf
movl -52568(%rbp), %edi
leaq -51360(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $100, %edx
xorl %ecx, %ecx
callq _sendto
cmpq $0, %rax
jge LBB0_92
## %bb.91: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.11(%rip), %rdi
callq _print_error
LBB0_92: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52860(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52872(%rbp)
cmpq $0, -52872(%rbp)
jge LBB0_94
## %bb.93: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_94: ## in Loop: Header=BB0_8 Depth=1
movl -52860(%rbp), %eax
cmpl -52864(%rbp), %eax
jne LBB0_96
## %bb.95: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_96: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52860(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52872(%rbp)
cmpq $0, -52872(%rbp)
jge LBB0_98
## %bb.97: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_98: ## in Loop: Header=BB0_8 Depth=1
cmpl $-1, -52860(%rbp)
jne LBB0_100
## %bb.99: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.34(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_100: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.35(%rip), %rdi
movb $0, %al
callq _printf
## %bb.101: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_145
LBB0_102: ## in Loop: Header=BB0_8 Depth=1
leaq -51392(%rbp), %rdi
leaq L_.str.36(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_124
## %bb.103: ## in Loop: Header=BB0_8 Depth=1
movl $0, -52876(%rbp)
movl $-1, -52880(%rbp)
movl $1, -52884(%rbp)
movq $0, -52896(%rbp)
leaq -52544(%rbp), %rdi
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
movl -52568(%rbp), %edi
leaq -51360(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $100, %edx
xorl %ecx, %ecx
callq _sendto
cmpq $0, %rax
jge LBB0_105
## %bb.104: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.11(%rip), %rdi
callq _print_error
LBB0_105: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52876(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52896(%rbp)
cmpq $0, -52896(%rbp)
jge LBB0_107
## %bb.106: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_107: ## in Loop: Header=BB0_8 Depth=1
movl -52876(%rbp), %eax
cmpl -52880(%rbp), %eax
jne LBB0_109
## %bb.108: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_109: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52876(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52896(%rbp)
cmpq $0, %rax
jle LBB0_113
## %bb.110: ## in Loop: Header=BB0_8 Depth=1
movl -52876(%rbp), %eax
cmpl -52880(%rbp), %eax
jne LBB0_112
## %bb.111: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.37(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_112: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_113
LBB0_113: ## in Loop: Header=BB0_8 Depth=1
cmpq $0, -52896(%rbp)
jge LBB0_115
## %bb.114: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_115: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52544(%rbp), %rsi
leaq -24(%rbp), %r8
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52896(%rbp)
cmpq $0, -52896(%rbp)
jge LBB0_117
## %bb.116: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_117: ## in Loop: Header=BB0_8 Depth=1
leaq -52544(%rbp), %rdi
callq _strlen
cmpq $0, %rax
jbe LBB0_119
## %bb.118: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52884(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $4, %edx
xorl %ecx, %ecx
callq _sendto
jmp LBB0_120
LBB0_119: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52880(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $4, %edx
xorl %ecx, %ecx
callq _sendto
LBB0_120: ## in Loop: Header=BB0_8 Depth=1
movsbl -52544(%rbp), %eax
cmpl $0, %eax
je LBB0_122
## %bb.121: ## in Loop: Header=BB0_8 Depth=1
leaq -52544(%rbp), %rsi
leaq L_.str.38(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_123
LBB0_122: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.39(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_123: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_144
LBB0_124: ## in Loop: Header=BB0_8 Depth=1
leaq -51392(%rbp), %rdi
leaq L_.str.40(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_132
## %bb.125: ## in Loop: Header=BB0_8 Depth=1
movl $0, -52900(%rbp)
movl $-1, -52904(%rbp)
movq $0, -52912(%rbp)
leaq L_.str.41(%rip), %rdi
movb $0, %al
callq _printf
movl -52568(%rbp), %edi
leaq -51360(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $100, %edx
xorl %ecx, %ecx
callq _sendto
cmpq $0, %rax
jge LBB0_127
## %bb.126: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.11(%rip), %rdi
callq _print_error
LBB0_127: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52900(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52912(%rbp)
cmpq $0, -52912(%rbp)
jge LBB0_129
## %bb.128: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_129: ## in Loop: Header=BB0_8 Depth=1
movl -52900(%rbp), %eax
cmpl -52904(%rbp), %eax
jne LBB0_131
## %bb.130: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_131:
leaq L_.str.42(%rip), %rdi
xorl %eax, %eax
movl %eax, -52936(%rbp) ## 4-byte Spill
callq _printf
movl -52568(%rbp), %edi
callq _close
movl -52936(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_132: ## in Loop: Header=BB0_8 Depth=1
movl $0, -52916(%rbp)
movl $-1, -52920(%rbp)
movq $0, -52928(%rbp)
movl -52568(%rbp), %edi
leaq -51360(%rbp), %rsi
leaq -24(%rbp), %r8
movl -52564(%rbp), %r9d
movl $100, %edx
xorl %ecx, %ecx
callq _sendto
cmpq $0, %rax
jge LBB0_134
## %bb.133: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.11(%rip), %rdi
callq _print_error
LBB0_134: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52916(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52928(%rbp)
cmpq $0, -52928(%rbp)
jge LBB0_136
## %bb.135: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_136: ## in Loop: Header=BB0_8 Depth=1
movl -52916(%rbp), %eax
cmpl -52920(%rbp), %eax
jne LBB0_138
## %bb.137: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_138: ## in Loop: Header=BB0_8 Depth=1
movl -52568(%rbp), %edi
leaq -52916(%rbp), %rsi
leaq -24(%rbp), %r8
movl $4, %edx
xorl %ecx, %ecx
leaq -52564(%rbp), %r9
movl $8, (%rsp)
callq _my_recv_from
movq %rax, -52928(%rbp)
cmpq $0, -52928(%rbp)
jge LBB0_140
## %bb.139: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_140: ## in Loop: Header=BB0_8 Depth=1
movl -52916(%rbp), %eax
cmpl -52920(%rbp), %eax
jne LBB0_142
## %bb.141: ## in Loop: Header=BB0_8 Depth=1
leaq L_.str.43(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_142: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_143
LBB0_143: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_144
LBB0_144: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_145
LBB0_145: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_146
LBB0_146: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_147
LBB0_147: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_148:
movl -52548(%rbp), %eax
movl %eax, -52940(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_150
## %bb.149:
movl -52940(%rbp), %eax ## 4-byte Reload
addq $52960, %rsp ## imm = 0xCEE0
popq %rbp
retq
LBB0_150:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function print_error
_print_error: ## @print_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rsi
leaq L_.str.44(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function my_recv_from
_my_recv_from: ## @my_recv_from
.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 16(%rbp), %eax
movl %edi, -12(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq $0, -64(%rbp)
movq $0, -72(%rbp)
movq $0, -80(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %edi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movl -36(%rbp), %ecx
movq -48(%rbp), %r8
movq -56(%rbp), %r9
callq _recvfrom
movq %rax, -64(%rbp)
cmpq $0, %rax
jg LBB3_9
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
callq ___error
cmpl $35, (%rax)
jne LBB3_8
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
callq _time
movq %rax, -80(%rbp)
cmpq $0, -72(%rbp)
jne LBB3_5
## %bb.4: ## in Loop: Header=BB3_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
callq _time
movq %rax, -72(%rbp)
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq -80(%rbp), %rax
subq -72(%rbp), %rax
movslq 16(%rbp), %rcx
cmpq %rcx, %rax
jle LBB3_7
## %bb.6:
leaq L_.str.45(%rip), %rdi
movb $0, %al
callq _printf
movq $-1, -8(%rbp)
jmp LBB3_10
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_8
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_1
LBB3_9:
movq -64(%rbp), %rax
movq %rax, -8(%rbp)
LBB3_10:
movq -8(%rbp), %rax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function send_error
_send_error: ## @send_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl $-1, -24(%rbp)
movl -4(%rbp), %edi
leaq -24(%rbp), %rsi
movq -16(%rbp), %r8
movl -20(%rbp), %r9d
movl $4, %edx
xorl %ecx, %ecx
callq _sendto
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid input/port.\n"
L_.str.1: ## @.str.1
.asciz "Usage --> ./[%s] [Server IP Address] [Port Number]\n"
L_.str.2: ## @.str.2
.asciz "Cannot create socket.\n"
L_.str.3: ## @.str.3
.asciz "Bind failed.\n"
L_.str.4: ## @.str.4
.asciz "Client started.\n"
L_.str.5: ## @.str.5
.asciz "\nAvailable commands:\n 1. get [filename] \n 2. put [filename] \n 3. delete [filename] \n 4. ls (lists current directory on server) \n 5. exit \n"
L_.str.6: ## @.str.6
.asciz " %[^\n]%*c"
L_.str.7: ## @.str.7
.asciz "%s %s"
L_.str.8: ## @.str.8
.asciz "get"
.section __TEXT,__const
l_.str.9: ## @.str.9
.space 2
.section __TEXT,__cstring,cstring_literals
L_.str.10: ## @.str.10
.asciz "Getting file: %s\n"
L_.str.11: ## @.str.11
.asciz "Couldn't send command.\n"
L_.str.12: ## @.str.12
.asciz "No command received by server.\n"
L_.str.13: ## @.str.13
.asciz "No permission to read file.\n"
L_.str.14: ## @.str.14
.asciz "Frames to receive: %ld\n"
L_.str.15: ## @.str.15
.asciz "wb"
L_.str.16: ## @.str.16
.asciz "Frame %ld received.\n"
L_.str.17: ## @.str.17
.asciz "File received; size is %ld bytes.\n"
L_.str.18: ## @.str.18
.asciz "File is empty.\n"
L_.str.19: ## @.str.19
.asciz "put"
L_.str.20: ## @.str.20
.asciz "Sending file: %s\n"
L_.str.21: ## @.str.21
.asciz "Failed to get file size.\n"
L_.str.22: ## @.str.22
.asciz "File size: %ld\n"
L_.str.23: ## @.str.23
.asciz "rb"
L_.str.24: ## @.str.24
.asciz "Packets to send: %ld\n"
L_.str.25: ## @.str.25
.asciz "Recd frames ack %d\n"
L_.str.26: ## @.str.26
.asciz "File empty error from server.\n"
L_.str.27: ## @.str.27
.asciz "Frame no. %ld sent\n"
L_.str.28: ## @.str.28
.asciz "Frame %ld dropped %d times; retries: %d.\n"
L_.str.29: ## @.str.29
.asciz "File not sent. PUT failed.\n"
L_.str.30: ## @.str.30
.asciz "File sent succesfully: %ld bytes.\n"
L_.str.31: ## @.str.31
.asciz "Invalid filename.\n"
L_.str.32: ## @.str.32
.asciz "delete"
L_.str.33: ## @.str.33
.asciz "Deleting file: %s\n"
L_.str.34: ## @.str.34
.asciz "You don't have permissions to delete or file doesn't exist.\n"
L_.str.35: ## @.str.35
.asciz "File deleted successfully.\n"
L_.str.36: ## @.str.36
.asciz "ls"
L_.str.37: ## @.str.37
.asciz "Error listing directory.\n"
L_.str.38: ## @.str.38
.asciz "\nList of files:\n%s \n"
L_.str.39: ## @.str.39
.asciz "Received list is empty.\n"
L_.str.40: ## @.str.40
.asciz "exit"
L_.str.41: ## @.str.41
.asciz "Closing the server.\n"
L_.str.42: ## @.str.42
.asciz "Closing UDP client.\n"
L_.str.43: ## @.str.43
.asciz "Unknown command. Please choose one from the given list.\n"
L_.str.44: ## @.str.44
.asciz "%s\n"
L_.str.45: ## @.str.45
.asciz "Timed out waiting for response from server.\n"
.subsections_via_symbols
| the_stack_data/226.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, #1024
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #16
mov w1, #1000
bl _getLine
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #16
bl _removeSpace
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_5:
ldr w8, [sp, #12]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
ldr w0, [sp, #8] ; 4-byte Folded Reload
add sp, sp, #1024
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _getLine ; -- Begin function getLine
.p2align 2
_getLine: ; @getLine
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _getchar
str w0, [sp, #16]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_7:
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_9
LBB1_9:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9
strb wzr, [x8]
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _removeSpace ; -- Begin function removeSpace
.p2align 2
_removeSpace: ; @removeSpace
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_3:
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_8
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #9
cset w8, eq
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_4 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_4 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_4 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB2_10
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_4 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
b LBB2_4
LBB2_10:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x9, x8, x9
mov w8, #10
strb w8, [x9]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9
strb wzr, [x8]
b LBB2_12
LBB2_12:
ldr w0, [sp, #20]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1024, %rsp ## imm = 0x400
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1012(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -1008(%rbp), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _getLine
cmpl $0, %eax
jle LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -1008(%rbp), %rdi
callq _removeSpace
cmpl $0, %eax
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq -1008(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_5:
movl -1012(%rbp), %eax
movl %eax, -1016(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.6:
movl -1016(%rbp), %eax ## 4-byte Reload
addq $1024, %rsp ## imm = 0x400
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _getLine ## -- Begin function getLine
.p2align 4, 0x90
_getLine: ## @getLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %ecx
movl -12(%rbp), %edx
subl $1, %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _getchar
movl %eax, %ecx
movl %ecx, -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -16(%rbp)
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_7
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $10, -16(%rbp)
jne LBB1_9
## %bb.8:
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB1_9:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb $0, (%rax,%rcx)
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeSpace ## -- Begin function removeSpace
.p2align 4, 0x90
_removeSpace: ## @removeSpace
.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)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_3:
jmp LBB2_4
LBB2_4: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -12(%rbp)
movb %al, -13(%rbp) ## 1-byte Spill
jle LBB2_8
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
movb $1, %al
cmpl $9, %ecx
movb %al, -14(%rbp) ## 1-byte Spill
je LBB2_7
## %bb.6: ## in Loop: Header=BB2_4 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
sete %al
movb %al, -14(%rbp) ## 1-byte Spill
LBB2_7: ## in Loop: Header=BB2_4 Depth=1
movb -14(%rbp), %al ## 1-byte Reload
movb %al, -13(%rbp) ## 1-byte Spill
LBB2_8: ## in Loop: Header=BB2_4 Depth=1
movb -13(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_9
jmp LBB2_10
LBB2_9: ## in Loop: Header=BB2_4 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB2_4
LBB2_10:
cmpl $0, -12(%rbp)
jle LBB2_12
## %bb.11:
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $10, (%rax,%rcx)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
LBB2_12:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/22011561.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-24]
stur w0, [x29, #-28]
str x1, [sp, #24]
mov w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, hi
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
sxtb w8, w8
add w8, w8, #97
ldr w9, [sp, #20]
mov x10, x9
sub x9, x29, #18
strb w8, [x9, x10]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_4:
mov w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
mov x9, x8
sub x8, x29, #18
ldrsb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_8:
ldur 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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
movl %edi, -28(%rbp)
movq %rsi, -40(%rbp)
movl $1, -44(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -44(%rbp)
ja LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %eax
addl $97, %eax
movb %al, %cl
movl -44(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -18(%rbp,%rax)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_4:
movl $1, -44(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $10, -44(%rbp)
jae LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax
## kill: def $rax killed $eax
movsbl -18(%rbp,%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_5
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 $48, %rsp
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c"
.subsections_via_symbols
| the_stack_data/165764530.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pre_digest ; -- Begin function pre_digest
.p2align 2
_pre_digest: ; @pre_digest
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _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]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _digest
str x0, [sp, #16]
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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 "pre_digest called\n"
l_.str.1: ; @.str.1
.asciz "Hello World"
l_.str.2: ; @.str.2
.asciz "SHA digest of \"Hello World\": %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pre_digest ## -- Begin function pre_digest
.p2align 4, 0x90
_pre_digest: ## @pre_digest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _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.1(%rip), %rdi
callq _digest
movq %rax, -16(%rbp)
movq -16(%rbp), %rsi
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 "pre_digest called\n"
L_.str.1: ## @.str.1
.asciz "Hello World"
L_.str.2: ## @.str.2
.asciz "SHA digest of \"Hello World\": %s"
.subsections_via_symbols
| the_stack_data/6387647.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-12]
stur wzr, [x29, #-8]
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-16]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_4
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_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_7:
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
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 pares, %d impares\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, -12(%rbp)
movl $0, -8(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -20(%rbp)
jge LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl -16(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
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:
movl -12(%rbp), %esi
movl -8(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d pares, %d impares\n"
.subsections_via_symbols
| the_stack_data/107176.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add ; -- Begin function add
.p2align 2
_add: ; @add
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
stur wzr, [x29, #-28]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldur x9, [x29, #-16]
ldr x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-8]
ldr x8, [x8]
add x8, x8, #1
lsr x0, x8, #0
bl _malloc
stur x0, [x29, #-40]
ldur x0, [x29, #-40]
ldur x8, [x29, #-8]
ldr x1, [x8, #8]
mov x2, #-1
str x2, [sp, #8] ; 8-byte Folded Spill
bl ___strcpy_chk
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur x8, [x29, #-16]
ldr x8, [x8]
add x1, x8, #1
bl _realloc
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
str x0, [x8, #8]
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur x8, [x29, #-16]
ldr x1, [x8, #8]
bl ___strcpy_chk
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldur x1, [x29, #-40]
bl ___strcpy_chk
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldur x8, [x29, #-8]
ldr x8, [x8]
add x1, x8, #1
bl _realloc
ldur x8, [x29, #-16]
str x0, [x8, #8]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #48]
ldur x8, [x29, #-16]
ldr x8, [x8]
ldur x9, [x29, #-8]
str x8, [x9]
ldr x8, [sp, #48]
ldur x9, [x29, #-16]
str x8, [x9]
ldur x0, [x29, #-40]
bl _free
b LBB0_2
LBB0_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-24]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, ge
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_11
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #48
sturb w8, [x29, #-29]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #48
sturb w8, [x29, #-30]
ldursb w8, [x29, #-29]
ldursb w9, [x29, #-30]
add w9, w8, w9
ldur w8, [x29, #-28]
add w8, w8, w9
stur w8, [x29, #-28]
subs w8, w8, #9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #10
add w8, w8, #48
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldursw x10, [x29, #-20]
strb w8, [x9, x10]
mov w8, #1
stur w8, [x29, #-28]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #48
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldursw x10, [x29, #-20]
strb w8, [x9, x10]
stur wzr, [x29, #-28]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #1
stur w8, [x29, #-20]
ldur w8, [x29, #-24]
subs w8, w8, #1
stur w8, [x29, #-24]
b LBB0_3
LBB0_11:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_31
b LBB0_12
LBB0_12:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #48
sturb w8, [x29, #-29]
ldursb w9, [x29, #-29]
ldur w8, [x29, #-28]
add w8, w8, w9
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #9
cset w8, le
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldur w8, [x29, #-28]
subs w8, w8, #10
add w8, w8, #48
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldursw x10, [x29, #-20]
strb w8, [x9, x10]
mov w8, #1
stur w8, [x29, #-28]
b LBB0_16
LBB0_15:
ldur w8, [x29, #-28]
add w8, w8, #48
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldursw x10, [x29, #-20]
strb w8, [x9, x10]
stur wzr, [x29, #-28]
b LBB0_16
LBB0_16:
b LBB0_28
LBB0_17:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldur x8, [x29, #-8]
ldr x8, [x8]
add x8, x8, #1
ldur x9, [x29, #-8]
str x8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8]
add x8, x8, #1
lsr x0, x8, #0
bl _malloc
str x0, [sp, #40]
ldr x8, [sp, #40]
add x0, x8, #1
ldur x8, [x29, #-8]
ldr x1, [x8, #8]
mov x2, #-1
bl ___strcpy_chk
ldur w8, [x29, #-28]
add w8, w8, #48
ldr x9, [sp, #40]
strb w8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldr x8, [sp, #40]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldr x0, [sp, #32]
bl _free
stur wzr, [x29, #-28]
b LBB0_27
LBB0_19:
b LBB0_20
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_26
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_20 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldursw x9, [x29, #-20]
ldrsb w8, [x8, x9]
subs w8, w8, #48
sturb w8, [x29, #-29]
ldursb w9, [x29, #-29]
ldur w8, [x29, #-28]
add w8, w8, w9
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #9
cset w8, le
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_20 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #10
add w8, w8, #48
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldursw x10, [x29, #-20]
strb w8, [x9, x10]
mov w8, #1
stur w8, [x29, #-28]
b LBB0_24
LBB0_23:
ldur w8, [x29, #-28]
add w8, w8, #48
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldursw x10, [x29, #-20]
strb w8, [x9, x10]
stur wzr, [x29, #-28]
b LBB0_26
LBB0_24: ; in Loop: Header=BB0_20 Depth=1
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_20 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #1
stur w8, [x29, #-20]
b LBB0_20
LBB0_26:
b LBB0_27
LBB0_27:
b LBB0_28
LBB0_28:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29:
ldur x8, [x29, #-8]
ldr x8, [x8]
add x8, x8, #1
ldur x9, [x29, #-8]
str x8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8]
add x8, x8, #1
lsr x0, x8, #0
bl _malloc
str x0, [sp, #24]
ldr x8, [sp, #24]
add x0, x8, #1
ldur x8, [x29, #-8]
ldr x1, [x8, #8]
mov x2, #-1
bl ___strcpy_chk
ldur w8, [x29, #-28]
add w8, w8, #48
ldr x9, [sp, #24]
strb w8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldr x0, [sp, #16]
bl _free
stur wzr, [x29, #-28]
b LBB0_30
LBB0_30:
b LBB0_31
LBB0_31:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #50
str x8, [sp, #24]
str x8, [sp, #8]
mov x0, #51
str x0, [sp] ; 8-byte Folded Spill
bl _malloc
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
str x8, [sp, #32]
bl _malloc
str x0, [sp, #16]
ldr x0, [sp, #32]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #51
bl _fgets
bl _getchar
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #16]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #51
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
add x0, sp, #24
add x1, sp, #8
bl _add
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
bl _getchar
b LBB1_1
LBB1_4:
ldr x0, [sp, #32]
bl _puts
ldr x0, [sp, #32]
bl _free
ldr x0, [sp, #16]
bl _free
mov w0, #0
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 _add ## -- Begin function add
.p2align 4, 0x90
_add: ## @add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -28(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq -16(%rbp), %rcx
cmpq (%rcx), %rax
jae LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $1, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movq -8(%rbp), %rax
movq 8(%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rsi
addq $1, %rsi
callq _realloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movq -40(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movq -8(%rbp), %rax
movq (%rax), %rsi
addq $1, %rsi
callq _realloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -48(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -40(%rbp), %rdi
callq _free
LBB0_2:
movq -8(%rbp), %rax
movq (%rax), %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -24(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -20(%rbp)
movb %al, -81(%rbp) ## 1-byte Spill
jl LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -24(%rbp)
setge %al
movb %al, -81(%rbp) ## 1-byte Spill
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movb -81(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_6
jmp LBB0_11
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
## kill: def $al killed $al killed $eax
movb %al, -29(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
## kill: def $al killed $al killed $eax
movb %al, -30(%rbp)
movsbl -29(%rbp), %eax
movsbl -30(%rbp), %ecx
addl %ecx, %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
cmpl $9, %eax
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movl -28(%rbp), %eax
subl $10, %eax
addl $48, %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $1, -28(%rbp)
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movl -28(%rbp), %eax
addl $48, %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $0, -28(%rbp)
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_11:
cmpl $0, -28(%rbp)
je LBB0_31
## %bb.12:
cmpl $0, -20(%rbp)
jne LBB0_17
## %bb.13:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
## kill: def $al killed $al killed $eax
movb %al, -29(%rbp)
movsbl -29(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
cmpl $9, -28(%rbp)
jle LBB0_15
## %bb.14:
movl -28(%rbp), %eax
subl $10, %eax
addl $48, %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $1, -28(%rbp)
jmp LBB0_16
LBB0_15:
movl -28(%rbp), %eax
addl $48, %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $0, -28(%rbp)
LBB0_16:
jmp LBB0_28
LBB0_17:
cmpl $0, -20(%rbp)
jge LBB0_19
## %bb.18:
movq -8(%rbp), %rax
movq (%rax), %rcx
addq $1, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $1, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
addq $1, %rdi
movq -8(%rbp), %rax
movq 8(%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movl -28(%rbp), %eax
addl $48, %eax
movb %al, %cl
movq -56(%rbp), %rax
movb %cl, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
movq -56(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -64(%rbp), %rdi
callq _free
movl $0, -28(%rbp)
jmp LBB0_27
LBB0_19:
jmp LBB0_20
LBB0_20: ## =>This Inner Loop Header: Depth=1
cmpl $0, -20(%rbp)
jl LBB0_26
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
## kill: def $al killed $al killed $eax
movb %al, -29(%rbp)
movsbl -29(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
cmpl $9, -28(%rbp)
jle LBB0_23
## %bb.22: ## in Loop: Header=BB0_20 Depth=1
movl -28(%rbp), %eax
subl $10, %eax
addl $48, %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $1, -28(%rbp)
jmp LBB0_24
LBB0_23:
movl -28(%rbp), %eax
addl $48, %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $0, -28(%rbp)
jmp LBB0_26
LBB0_24: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_25
LBB0_25: ## in Loop: Header=BB0_20 Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
jmp LBB0_20
LBB0_26:
jmp LBB0_27
LBB0_27:
jmp LBB0_28
LBB0_28:
cmpl $0, -28(%rbp)
je LBB0_30
## %bb.29:
movq -8(%rbp), %rax
movq (%rax), %rcx
addq $1, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $1, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -72(%rbp)
movq -72(%rbp), %rdi
addq $1, %rdi
movq -8(%rbp), %rax
movq 8(%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movl -28(%rbp), %eax
addl $48, %eax
movb %al, %cl
movq -72(%rbp), %rax
movb %cl, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -80(%rbp)
movq -72(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -80(%rbp), %rdi
callq _free
movl $0, -28(%rbp)
LBB0_30:
jmp LBB0_31
LBB0_31:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movq $50, -24(%rbp)
movq $50, -40(%rbp)
movl $51, %edi
callq _malloc
movq %rax, -16(%rbp)
movl $51, %edi
callq _malloc
movq %rax, -32(%rbp)
movq -16(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $51, %esi
callq _fgets
callq _getchar
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $51, %esi
callq _fgets
cmpq $0, %rax
je LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq -24(%rbp), %rdi
leaq -40(%rbp), %rsi
callq _add
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
callq _getchar
jmp LBB1_1
LBB1_4:
movq -16(%rbp), %rdi
callq _puts
movq -16(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1248267.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.