arm
stringlengths 122
20M
| x86
stringlengths 122
20M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #112
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w8, #1
stur w8, [x29, #-20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
stur x0, [x29, #-96] ; 8-byte Folded Spill
bl _scanf
add sp, sp, #16
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-96] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-12]
mov x9, x8
stur x9, [x29, #-72] ; 8-byte Folded Spill
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
stur x8, [x29, #-88] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-32]
mul x9, x9, x8
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-80] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-80] ; 8-byte Folded Reload
ldur x9, [x29, #-72] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-64] ; 8-byte Folded Spill
stur x9, [x29, #-40]
stur x8, [x29, #-48]
stur wzr, [x29, #-52]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-52]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-56]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-56]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-52]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-56]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x10, [x29, #-88] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
add sp, sp, #16
ldursw x9, [x29, #-52]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-56]
add x8, x8, x9, lsl #2
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-56]
add w8, w8, #1
stur w8, [x29, #-56]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB0_1
LBB0_8:
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_41
b LBB0_9
LBB0_9:
stur wzr, [x29, #-52]
b LBB0_10
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
ldur w8, [x29, #-52]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x29, #-52]
stur w8, [x29, #-56]
b LBB0_12
LBB0_12: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-56]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=2
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur x10, [x29, #-88] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-56]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=2
stur wzr, [x29, #-20]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_12 Depth=2
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_12 Depth=2
ldur w8, [x29, #-56]
add w8, w8, #1
stur w8, [x29, #-56]
b LBB0_12
LBB0_17: ; in Loop: Header=BB0_10 Depth=1
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB0_10
LBB0_19:
mov w8, #1
stur w8, [x29, #-52]
b LBB0_20
LBB0_20: ; =>This Loop Header: Depth=1
; Child Loop BB0_22 Depth 2
ldur w8, [x29, #-52]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_29
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_20 Depth=1
stur wzr, [x29, #-56]
b LBB0_22
LBB0_22: ; Parent Loop BB0_20 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-56]
ldur w9, [x29, #-52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_27
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_22 Depth=2
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur x10, [x29, #-88] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-56]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_22 Depth=2
stur wzr, [x29, #-20]
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_22 Depth=2
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_22 Depth=2
ldur w8, [x29, #-56]
add w8, w8, #1
stur w8, [x29, #-56]
b LBB0_22
LBB0_27: ; in Loop: Header=BB0_20 Depth=1
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_20 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB0_20
LBB0_29:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
stur wzr, [x29, #-52]
b LBB0_30
LBB0_30: ; =>This Loop Header: Depth=1
; Child Loop BB0_32 Depth 2
ldur w8, [x29, #-52]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_37
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_30 Depth=1
stur wzr, [x29, #-56]
b LBB0_32
LBB0_32: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-56]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_35
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_32 Depth=2
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur x10, [x29, #-88] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-56]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add sp, sp, #16
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_32 Depth=2
ldur w8, [x29, #-56]
add w8, w8, #1
stur w8, [x29, #-56]
b LBB0_32
LBB0_35: ; in Loop: Header=BB0_30 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_30 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB0_30
LBB0_37:
ldur w8, [x29, #-20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_40
LBB0_39:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_40
LBB0_40:
b LBB0_42
LBB0_41:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_42
LBB0_42:
ldur x8, [x29, #-32]
stur x8, [x29, #-104] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43:
bl ___stack_chk_fail
LBB0_44:
ldur x8, [x29, #-104] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the number of rows: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\nEnter the number of columns: "
l_.str.3: ; @.str.3
.asciz "\nEnter the array element for %d, %d: "
l_.str.4: ; @.str.4
.asciz "\nThe array is:\n\n"
l_.str.5: ; @.str.5
.asciz "%d \t"
l_.str.6: ; @.str.6
.asciz "\n"
l_.str.7: ; @.str.7
.asciz "\nIt is an upper triangular matrix.\n"
l_.str.8: ; @.str.8
.asciz "\nIt is not an upper triangular matrix.\n"
l_.str.9: ; @.str.9
.asciz "It is not a square matrix.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $1, -20(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -81(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -81(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
movq %rdi, -96(%rbp) ## 8-byte Spill
leaq -12(%rbp), %rsi
callq _scanf
## kill: def $ecx killed $eax
movb -81(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
callq _printf
movq -96(%rbp), %rdi ## 8-byte Reload
## kill: def $ecx killed $eax
movb -81(%rbp), %al ## 1-byte Reload
leaq -16(%rbp), %rsi
callq _scanf
movl -12(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rsp, %rdx
movq %rdx, -32(%rbp)
imulq %rcx, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -80(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rcx, -40(%rbp)
movq %rax, -48(%rbp)
movl $0, -52(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -56(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -52(%rbp), %esi
movl -56(%rbp), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -72(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movslq -52(%rbp), %rax
imulq %rcx, %rax
shlq $2, %rax
addq %rax, %rsi
movslq -56(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_1
LBB0_8:
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jne LBB0_41
## %bb.9:
movl $0, -52(%rbp)
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_19
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movl -52(%rbp), %eax
movl %eax, -56(%rbp)
LBB0_12: ## Parent Loop BB0_10 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_17
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_12 Depth=2
movl $0, -20(%rbp)
LBB0_15: ## in Loop: Header=BB0_12 Depth=2
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_12 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_12
LBB0_17: ## in Loop: Header=BB0_10 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_10 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_10
LBB0_19:
movl $1, -52(%rbp)
LBB0_20: ## =>This Loop Header: Depth=1
## Child Loop BB0_22 Depth 2
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_29
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
movl $0, -56(%rbp)
LBB0_22: ## Parent Loop BB0_20 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_27
## %bb.23: ## in Loop: Header=BB0_22 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_22 Depth=2
movl $0, -20(%rbp)
LBB0_25: ## in Loop: Header=BB0_22 Depth=2
jmp LBB0_26
LBB0_26: ## in Loop: Header=BB0_22 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_22
LBB0_27: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_28
LBB0_28: ## in Loop: Header=BB0_20 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_20
LBB0_29:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
LBB0_30: ## =>This Loop Header: Depth=1
## Child Loop BB0_32 Depth 2
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_37
## %bb.31: ## in Loop: Header=BB0_30 Depth=1
movl $0, -56(%rbp)
LBB0_32: ## Parent Loop BB0_30 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_35
## %bb.33: ## in Loop: Header=BB0_32 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.34: ## in Loop: Header=BB0_32 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_32
LBB0_35: ## in Loop: Header=BB0_30 Depth=1
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
## %bb.36: ## in Loop: Header=BB0_30 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_30
LBB0_37:
cmpl $1, -20(%rbp)
jne LBB0_39
## %bb.38:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_40
LBB0_39:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB0_40:
jmp LBB0_42
LBB0_41:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB0_42:
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 LBB0_44
## %bb.43:
movq %rbp, %rsp
popq %rbp
retq
LBB0_44:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the number of rows: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\nEnter the number of columns: "
L_.str.3: ## @.str.3
.asciz "\nEnter the array element for %d, %d: "
L_.str.4: ## @.str.4
.asciz "\nThe array is:\n\n"
L_.str.5: ## @.str.5
.asciz "%d \t"
L_.str.6: ## @.str.6
.asciz "\n"
L_.str.7: ## @.str.7
.asciz "\nIt is an upper triangular matrix.\n"
L_.str.8: ## @.str.8
.asciz "\nIt is not an upper triangular matrix.\n"
L_.str.9: ## @.str.9
.asciz "It is not a square matrix.\n"
.subsections_via_symbols
| the_stack_data/736438.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kernel ; -- Begin function kernel
.p2align 2
_kernel: ; @kernel
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, #44]
str x1, [sp, #32]
str x2, [sp, #24]
str s0, [sp, #20]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #16]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #12]
movi d0, #0000000000000000
str s0, [sp, #8]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [sp, #8]
ldr s1, [sp, #20]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr s0, [sp, #12]
fmov s1, #1.00000000
fadd s0, s0, s1
str s0, [sp, #12]
ldr s0, [sp, #8]
fmov s1, #2.00000000
fadd s0, s0, s1
ldr s1, [sp, #20]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr s0, [sp, #8]
fmov s1, #1.00000000
fadd s0, s0, s1
str s0, [sp, #8]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #12]
ldr x8, [sp, #32]
ldrsw x9, [sp, #16]
str s0, [x8, x9, lsl #2]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_10:
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
mov w8, #1030
stur w8, [x29, #-16]
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-24]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-88] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-88] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-80] ; 8-byte Folded Spill
stur x8, [x29, #-32]
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-40]
stur wzr, [x29, #-44]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur w9, [x29, #-44]
add w9, w9, #1
scvtf s0, w9
ldursw x9, [x29, #-44]
str s0, [x8, x9, lsl #2]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB1_1
LBB1_4:
ldur x2, [x29, #-64] ; 8-byte Folded Reload
ldur x1, [x29, #-80] ; 8-byte Folded Reload
ldur w0, [x29, #-16]
fmov s0, #5.00000000
bl _kernel
stur wzr, [x29, #-48]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-48]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldur w9, [x29, #-48]
add w9, w9, #5
scvtf s0, w9
stur s0, [x29, #-52]
ldursw x9, [x29, #-48]
ldr s0, [x8, x9, lsl #2]
ldur s1, [x29, #-52]
fcmp s0, s1
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
mov w8, #1
stur w8, [x29, #-12]
stur w8, [x29, #-56]
b LBB1_11
LBB1_8: ; in Loop: Header=BB1_5 Depth=1
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_5 Depth=1
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB1_5
LBB1_10:
stur wzr, [x29, #-12]
mov w8, #1
stur w8, [x29, #-56]
b LBB1_11
LBB1_11:
ldur x8, [x29, #-24]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-92] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
bl ___stack_chk_fail
LBB1_13:
ldur w0, [x29, #-92] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.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 kernel
LCPI0_0:
.long 0x40000000 ## float 2
LCPI0_1:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _kernel
.p2align 4, 0x90
_kernel: ## @kernel
.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)
movq %rdx, -24(%rbp)
movss %xmm0, -28(%rbp)
movl $0, -32(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -32(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -36(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -40(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movss -40(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -36(%rbp), %xmm0
movss %xmm0, -36(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -40(%rbp), %xmm0
ucomiss -28(%rbp), %xmm0
jne LBB0_6
jp LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -40(%rbp), %xmm0
movss %xmm0, -40(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_1
LBB0_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI1_0:
.long 0x40a00000 ## float 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 $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl $1030, -16(%rbp) ## imm = 0x406
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -88(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movl -44(%rbp), %ecx
addl $1, %ecx
cvtsi2ss %ecx, %xmm0
movslq -44(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB1_1
LBB1_4:
movq -64(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %rsi ## 8-byte Reload
movl -16(%rbp), %edi
movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _kernel
movl $0, -48(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_10
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movl -48(%rbp), %ecx
addl $5, %ecx
cvtsi2ss %ecx, %xmm0
movss %xmm0, -52(%rbp)
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -52(%rbp), %xmm0
jne LBB1_7
jp LBB1_7
jmp LBB1_8
LBB1_7:
movl $1, -12(%rbp)
movl $1, -56(%rbp)
jmp LBB1_11
LBB1_8: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_5 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB1_5
LBB1_10:
movl $0, -12(%rbp)
movl $1, -56(%rbp)
LBB1_11:
movq -24(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_13
## %bb.12:
movl -92(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB1_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1108969.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _baz ; -- Begin function baz
.p2align 2
_baz: ; @baz
.cfi_startproc
; %bb.0:
; InlineAsm Start
; InlineAsm End
ret
.cfi_endproc
; -- End function
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB1_2:
adrp x0, _env@PAGE
add x0, x0, _env@PAGEOFF
bl _setjmp
str w0, [sp, #4]
ldr w0, [sp, #4]
bl _g
str w0, [sp]
ldr w8, [sp]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
mov w0, #0
bl _exit
LBB1_4:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl _abort
LBB1_6:
adrp x0, _env@PAGE
add x0, x0, _env@PAGEOFF
mov w1, #42
bl _longjmp
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function g
_g: ; @g
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl _baz
stur wzr, [x29, #-4]
b LBB2_3
LBB2_2:
bl _baz
mov w8, #1
stur w8, [x29, #-4]
b LBB2_3
LBB2_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _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]
add x0, sp, #12
str wzr, [sp, #12]
bl _f
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_env,192,2 ; @env
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _baz ## -- Begin function baz
.p2align 4, 0x90
_baz: ## @baz
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## InlineAsm Start
## InlineAsm End
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
je LBB1_2
## %bb.1:
movl $1, %eax
addq $16, %rsp
popq %rbp
retq
LBB1_2:
leaq _env(%rip), %rdi
callq _setjmp
movl %eax, -12(%rbp)
movl -12(%rbp), %edi
callq _g
movl %eax, -16(%rbp)
cmpl $0, -16(%rbp)
jne LBB1_4
## %bb.3:
xorl %edi, %edi
callq _exit
LBB1_4:
cmpl $0, -12(%rbp)
je LBB1_6
## %bb.5:
callq _abort
LBB1_6:
leaq _env(%rip), %rdi
movl $42, %esi
callq _longjmp
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function g
_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
subq $16, %rsp
movl %edi, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB2_2
## %bb.1:
callq _baz
movl $0, -4(%rbp)
jmp LBB2_3
LBB2_2:
callq _baz
movl $1, -4(%rbp)
LBB2_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
leaq -20(%rbp), %rdi
callq _f
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_env,148,4 ## @env
.subsections_via_symbols
| the_stack_data/36422.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putchar ; -- Begin function ft_putchar
.p2align 2
_ft_putchar: ; @ft_putchar
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x1, x29, #1
sturb w0, [x29, #-1]
mov w0, #1
mov x2, #1
bl _write
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ft_eight_queens_puzzle_2 ; -- Begin function ft_eight_queens_puzzle_2
.p2align 2
_ft_eight_queens_puzzle_2: ; @ft_eight_queens_puzzle_2
.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]
mov w8, #8
str w8, [sp, #4]
str wzr, [sp]
ldr w0, [sp, #4]
ldr w1, [sp]
add x2, sp, #8
bl _solve_queens_puzzle
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function solve_queens_puzzle
_solve_queens_puzzle: ; @solve_queens_puzzle
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur x2, [x29, #-16]
ldur w8, [x29, #-8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_1
LBB2_1:
mov w8, #-1
stur w8, [x29, #-20]
b LBB2_2
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_4 Depth 2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_2 Depth=1
str wzr, [sp, #24]
b LBB2_4
LBB2_4: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_9
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=2
ldr w8, [sp, #24]
add w9, w8, #1
str w9, [sp, #24]
ldur x9, [x29, #-16]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_4 Depth=2
ldr w8, [sp, #24]
add w8, w8, #48
sxtb w0, w8
bl _ft_putchar
b LBB2_8
LBB2_7: ; in Loop: Header=BB2_4 Depth=2
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_4 Depth=2
b LBB2_4
LBB2_9: ; in Loop: Header=BB2_2 Depth=1
b LBB2_2
LBB2_10:
mov w0, #10
bl _ft_putchar
b LBB2_11
LBB2_11:
stur wzr, [x29, #-20]
b LBB2_12
LBB2_12: ; =>This Loop Header: Depth=1
; Child Loop BB2_14 Depth 2
ldur w8, [x29, #-20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_27
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_12 Depth=1
str wzr, [sp, #24]
b LBB2_14
LBB2_14: ; Parent Loop BB2_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_21
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_14 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, eq
mov w9, #1
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_20
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_14 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB2_18
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_14 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-20]
subs w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_19
LBB2_18: ; in Loop: Header=BB2_14 Depth=2
ldur w8, [x29, #-20]
ldur x9, [x29, #-16]
ldrsw x10, [sp, #24]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_19
LBB2_19: ; in Loop: Header=BB2_14 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldur w9, [x29, #-8]
ldr w10, [sp, #24]
subs w9, w9, w10
subs w8, w8, w9
cset w8, eq
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_14 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
eor w8, w8, #0x1
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_14 Depth=2
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB2_23
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_14 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_14
LBB2_23: ; in Loop: Header=BB2_12 Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_26
b LBB2_24
LBB2_24: ; in Loop: Header=BB2_12 Depth=1
ldur w8, [x29, #-20]
add w9, w8, #1
stur w9, [x29, #-20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_26
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_12 Depth=1
b LBB2_12
LBB2_26: ; in Loop: Header=BB2_12 Depth=1
ldur w8, [x29, #-20]
add w9, w8, #1
stur w9, [x29, #-20]
ldur x9, [x29, #-16]
ldursw x10, [x29, #-8]
str w8, [x9, x10, lsl #2]
ldur w0, [x29, #-4]
ldur w8, [x29, #-8]
add w1, w8, #1
ldur x2, [x29, #-16]
bl _solve_queens_puzzle
b LBB2_12
LBB2_27:
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, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _ft_eight_queens_puzzle_2
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putchar ## -- Begin function ft_putchar
.p2align 4, 0x90
_ft_putchar: ## @ft_putchar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %dil, %al
movb %al, -1(%rbp)
movl $1, %edi
leaq -1(%rbp), %rsi
movl $1, %edx
callq _write
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_eight_queens_puzzle_2 ## -- Begin function ft_eight_queens_puzzle_2
.p2align 4, 0x90
_ft_eight_queens_puzzle_2: ## @ft_eight_queens_puzzle_2
.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 $8, -52(%rbp)
movl $0, -56(%rbp)
movl -52(%rbp), %edi
movl -56(%rbp), %esi
leaq -48(%rbp), %rdx
callq _solve_queens_puzzle
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
addq $64, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function solve_queens_puzzle
_solve_queens_puzzle: ## @solve_queens_puzzle
.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)
movq %rdx, -16(%rbp)
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jne LBB2_11
## %bb.1:
movl $-1, -20(%rbp)
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_4 Depth 2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
cmpl -4(%rbp), %eax
jge LBB2_10
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movl $0, -24(%rbp)
LBB2_4: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB2_9
## %bb.5: ## in Loop: Header=BB2_4 Depth=2
movl -24(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -24(%rbp)
movq -16(%rbp), %rcx
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB2_7
## %bb.6: ## in Loop: Header=BB2_4 Depth=2
movl -24(%rbp), %eax
addl $48, %eax
## kill: def $al killed $al killed $eax
movsbl %al, %edi
callq _ft_putchar
jmp LBB2_8
LBB2_7: ## in Loop: Header=BB2_4 Depth=2
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_4 Depth=2
jmp LBB2_4
LBB2_9: ## in Loop: Header=BB2_2 Depth=1
jmp LBB2_2
LBB2_10:
movl $10, %edi
callq _ft_putchar
LBB2_11:
movl $0, -20(%rbp)
LBB2_12: ## =>This Loop Header: Depth=1
## Child Loop BB2_14 Depth 2
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB2_27
## %bb.13: ## in Loop: Header=BB2_12 Depth=1
movl $0, -24(%rbp)
LBB2_14: ## Parent Loop BB2_12 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -8(%rbp), %ecx
movb %al, -25(%rbp) ## 1-byte Spill
jge LBB2_21
## %bb.15: ## in Loop: Header=BB2_14 Depth=2
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movb $1, %al
cmpl -20(%rbp), %ecx
movb %al, -26(%rbp) ## 1-byte Spill
je LBB2_20
## %bb.16: ## in Loop: Header=BB2_14 Depth=2
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -20(%rbp), %eax
jl LBB2_18
## %bb.17: ## in Loop: Header=BB2_14 Depth=2
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -20(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
jmp LBB2_19
LBB2_18: ## in Loop: Header=BB2_14 Depth=2
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
LBB2_19: ## in Loop: Header=BB2_14 Depth=2
movl -32(%rbp), %eax ## 4-byte Reload
movl -8(%rbp), %ecx
subl -24(%rbp), %ecx
cmpl %ecx, %eax
sete %al
movb %al, -26(%rbp) ## 1-byte Spill
LBB2_20: ## in Loop: Header=BB2_14 Depth=2
movb -26(%rbp), %al ## 1-byte Reload
xorb $-1, %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB2_21: ## in Loop: Header=BB2_14 Depth=2
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_22
jmp LBB2_23
LBB2_22: ## in Loop: Header=BB2_14 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_14
LBB2_23: ## in Loop: Header=BB2_12 Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_26
## %bb.24: ## in Loop: Header=BB2_12 Depth=1
movl -20(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -20(%rbp)
cmpl -4(%rbp), %eax
jge LBB2_26
## %bb.25: ## in Loop: Header=BB2_12 Depth=1
jmp LBB2_12
LBB2_26: ## in Loop: Header=BB2_12 Depth=1
movl -20(%rbp), %edx
movl %edx, %eax
addl $1, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
addl $1, %esi
movq -16(%rbp), %rdx
callq _solve_queens_puzzle
jmp LBB2_12
LBB2_27:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _ft_eight_queens_puzzle_2
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/150142055.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
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
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 "What is this? 2005?"
l_.str.1: ; @.str.1
.asciz "CDs are no longer supported."
.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
movl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "What is this? 2005?"
L_.str.1: ## @.str.1
.asciz "CDs are no longer supported."
.subsections_via_symbols
| the_stack_data/1228284.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, #496
sub x8, x29, #168
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #84]
str w0, [sp, #80]
str x1, [sp, #72]
ldr w8, [sp, #80]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr x8, [sp, #72]
ldr x1, [x8, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldr x8, [sp, #72]
ldr x1, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_4:
ldr x8, [sp, #72]
ldr x0, [x8, #8]
mov w1, #131074
bl _open
str w0, [sp, #68]
ldr w8, [sp, #68]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #72]
ldr x0, [x8, #8]
bl _perror
mov w0, #-1
bl _exit
LBB0_6:
ldr w0, [sp, #68]
sub x1, x29, #96
bl _tcgetattr
sub x0, x29, #168
str x0, [sp, #32] ; 8-byte Folded Spill
mov w1, #0
mov x2, #72
bl _memset
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, #40704
str x9, [x8, #16]
mov x9, #4
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #24]
sturb wzr, [x29, #-119]
mov w8, #1
sturb w8, [x29, #-120]
ldr w0, [sp, #68]
mov w1, #1
bl _tcflush
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr w0, [sp, #68]
mov w1, #0
bl _tcsetattr
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
adrp x8, _STOP@PAGE
ldr w8, [x8, _STOP@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [sp, #68]
ldrsw x9, [sp, #52]
add x8, sp, #89
str x8, [sp, #24] ; 8-byte Folded Spill
add x1, x8, x9
mov x2, #1
bl _read
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, x0
str w9, [sp, #60]
ldrsw x9, [sp, #52]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
adrp x9, _STOP@PAGE
mov w8, #1
str w8, [x9, _STOP@PAGEOFF]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB0_7
LBB0_12:
mov x9, sp
add x8, sp, #89
str x8, [sp, #8] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #68]
str w8, [sp, #20] ; 4-byte Folded Spill
bl _strlen
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
add x2, x8, #1
bl _write
mov w0, #1
bl _sleep
ldr w0, [sp, #68]
mov w1, #0
sub x2, x29, #96
bl _tcsetattr
ldr w0, [sp, #68]
bl _close
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
mov w0, #0
add sp, sp, #496
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _STOP ; @STOP
.zerofill __DATA,__common,_STOP,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/dev/ttyS0"
l_.str.1: ; @.str.1
.asciz "/dev/ttyS1"
l_.str.2: ; @.str.2
.asciz "Usage:\tnserial SerialPort\n\tex: nserial /dev/ttyS1\n"
l_.str.3: ; @.str.3
.asciz "New termios structure set\n"
l_.str.4: ; @.str.4
.asciz "Message received: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $480, %rsp ## imm = 0x1E0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
movl %edi, -424(%rbp)
movq %rsi, -432(%rbp)
cmpl $2, -424(%rbp)
jl LBB0_3
## %bb.1:
movq -432(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str(%rip), %rdi
callq _strcmp
cmpl $0, %eax
je LBB0_4
## %bb.2:
movq -432(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.1(%rip), %rdi
callq _strcmp
cmpl $0, %eax
je LBB0_4
LBB0_3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_4:
movq -432(%rbp), %rax
movq 8(%rax), %rdi
movl $131074, %esi ## imm = 0x20002
movb $0, %al
callq _open
movl %eax, -436(%rbp)
cmpl $0, -436(%rbp)
jge LBB0_6
## %bb.5:
movq -432(%rbp), %rax
movq 8(%rax), %rdi
callq _perror
movl $-1, %edi
callq _exit
LBB0_6:
movl -436(%rbp), %edi
leaq -80(%rbp), %rsi
callq _tcgetattr
leaq -152(%rbp), %rdi
xorl %esi, %esi
movl $72, %edx
callq _memset
movq $40704, -136(%rbp) ## imm = 0x9F00
movq $4, -152(%rbp)
movq $0, -144(%rbp)
movq $0, -128(%rbp)
movb $0, -103(%rbp)
movb $1, -104(%rbp)
movl -436(%rbp), %edi
movl $1, %esi
callq _tcflush
movl -436(%rbp), %edi
xorl %esi, %esi
leaq -152(%rbp), %rdx
callq _tcsetattr
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -452(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl _STOP(%rip), %eax
cmpl $0, %eax
jne LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl -436(%rbp), %edi
movslq -452(%rbp), %rax
leaq -416(%rbp), %rsi
addq %rax, %rsi
movl $1, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -444(%rbp)
movslq -452(%rbp), %rax
movsbl -416(%rbp,%rax), %eax
cmpl $0, %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl $1, _STOP(%rip)
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
movl -452(%rbp), %eax
addl $1, %eax
movl %eax, -452(%rbp)
jmp LBB0_7
LBB0_12:
leaq -416(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -436(%rbp), %eax
movl %eax, -468(%rbp) ## 4-byte Spill
leaq -416(%rbp), %rax
movq %rax, -464(%rbp) ## 8-byte Spill
leaq -416(%rbp), %rdi
callq _strlen
movl -468(%rbp), %edi ## 4-byte Reload
movq -464(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
addq $1, %rdx
callq _write
movl $1, %edi
callq _sleep
movl -436(%rbp), %edi
xorl %esi, %esi
leaq -80(%rbp), %rdx
callq _tcsetattr
movl -436(%rbp), %edi
callq _close
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 $480, %rsp ## imm = 0x1E0
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _STOP ## @STOP
.zerofill __DATA,__common,_STOP,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/dev/ttyS0"
L_.str.1: ## @.str.1
.asciz "/dev/ttyS1"
L_.str.2: ## @.str.2
.asciz "Usage:\tnserial SerialPort\n\tex: nserial /dev/ttyS1\n"
L_.str.3: ## @.str.3
.asciz "New termios structure set\n"
L_.str.4: ## @.str.4
.asciz "Message received: %s\n"
.subsections_via_symbols
| the_stack_data/140765620.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-16]
stur wzr, [x29, #-20]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
mov w10, #10
str w10, [sp, #28] ; 4-byte Folded Spill
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
scvtf d0, w8
str d0, [sp, #32] ; 8-byte Folded Spill
ldur s1, [x29, #-8]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur s2, [x29, #-20]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
bl _pow
ldr w9, [sp, #28] ; 4-byte Folded Reload
fmov d1, d0
ldr d0, [sp, #32] ; 8-byte Folded Reload
ldur s3, [x29, #-16]
; implicit-def: $d2
fmov s2, s3
sshll.2d v2, v2, #0
; kill: def $d2 killed $d2 killed $q2
scvtf d2, d2
fmadd d0, d0, d1, d2
fcvtzs w8, d0
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
ldur w8, [x29, #-12]
sdiv w8, w8, w9
stur w8, [x29, #-12]
b LBB0_1
LBB0_3:
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov 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"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
cvtsi2sd %edx, %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
cvtsi2sdl -8(%rbp), %xmm0
cvtsi2sdl -20(%rbp), %xmm1
callq _pow
movaps %xmm0, %xmm2
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cvtsi2sdl -16(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/212642052.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _calcul ; -- Begin function calcul
.p2align 2
_calcul: ; @calcul
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _calcul ## -- Begin function calcul
.p2align 4, 0x90
_calcul: ## @calcul
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/82949573.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, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
sub x0, x29, #21
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #13
bl _fgets
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _check
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _check ; -- Begin function check
.p2align 2
_check: ; @check
.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]
ldrsb w8, [x8]
subs w8, w8, #48
mov w9, #10
mul w8, w8, w9
ldur x10, [x29, #-16]
ldrsb w10, [x10, #1]
subs w10, w10, #48
add w8, w8, w10
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
ldrsb w8, [x8, #2]
subs w8, w8, #48
mul w8, w8, w9
ldur x10, [x29, #-16]
ldrsb w10, [x10, #3]
subs w10, w10, #48
add w8, w8, w10
str w8, [sp, #24]
ldur x8, [x29, #-16]
ldrsb w8, [x8, #4]
subs w8, w8, #48
mul w8, w8, w9
ldur x9, [x29, #-16]
ldrsb w9, [x9, #5]
subs w9, w9, #48
add w8, w8, w9
str w8, [sp, #20]
ldur x8, [x29, #-16]
ldrsb w8, [x8, #6]
subs w8, w8, #48
str w8, [sp, #16]
ldur x8, [x29, #-16]
ldrsb w8, [x8, #7]
subs w8, w8, #48
str w8, [sp, #12]
ldur x8, [x29, #-16]
ldrsb w8, [x8, #8]
subs w8, w8, #48
str w8, [sp, #8]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_5
b LBB1_1
LBB1_1:
ldur w8, [x29, #-20]
subs w8, w8, #16
cset w8, gt
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2:
ldr w8, [sp, #24]
subs w8, w8, #40
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB1_44
LBB1_4:
b LBB1_5
LBB1_5:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6:
ldur w8, [x29, #-20]
subs w8, w8, #16
cset w8, gt
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldr w8, [sp, #24]
subs w8, w8, #40
str w8, [sp, #24]
b LBB1_8
LBB1_8:
ldr w8, [sp, #24]
subs w8, w8, #12
cset w8, lt
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB1_44
LBB1_10:
ldr w8, [sp, #24]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_21
b LBB1_11
LBB1_11:
ldur w8, [x29, #-20]
mov w10, #4
add w8, w8, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_16
b LBB1_12
LBB1_12:
ldr w8, [sp, #20]
subs w8, w8, #29
cset w8, gt
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB1_44
LBB1_15:
b LBB1_20
LBB1_16:
ldr w8, [sp, #20]
subs w8, w8, #28
cset w8, gt
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_19
LBB1_19:
b LBB1_20
LBB1_20:
b LBB1_21
LBB1_21:
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_22
LBB1_22:
ldr w8, [sp, #24]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_23
LBB1_23:
ldr w8, [sp, #24]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_24
LBB1_24:
ldr w8, [sp, #24]
subs w8, w8, #7
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_25
LBB1_25:
ldr w8, [sp, #24]
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_26
LBB1_26:
ldr w8, [sp, #24]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27:
ldr w8, [sp, #24]
subs w8, w8, #12
cset w8, ne
tbnz w8, #0, LBB1_32
b LBB1_28
LBB1_28:
ldr w8, [sp, #20]
subs w8, w8, #31
cset w8, le
tbnz w8, #0, LBB1_31
b LBB1_29
LBB1_29:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_31
b LBB1_30
LBB1_30:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB1_44
LBB1_31:
b LBB1_32
LBB1_32:
ldr w8, [sp, #24]
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB1_36
b LBB1_33
LBB1_33:
ldr w8, [sp, #24]
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB1_36
b LBB1_34
LBB1_34:
ldr w8, [sp, #24]
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB1_36
b LBB1_35
LBB1_35:
ldr w8, [sp, #24]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB1_40
b LBB1_36
LBB1_36:
ldr w8, [sp, #20]
subs w8, w8, #30
cset w8, le
tbnz w8, #0, LBB1_39
b LBB1_37
LBB1_37:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_39
b LBB1_38
LBB1_38:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB1_44
LBB1_39:
b LBB1_40
LBB1_40:
ldur w8, [x29, #-20]
mov w11, #10
str w11, [sp] ; 4-byte Folded Spill
sdiv w9, w8, w11
ldur w8, [x29, #-20]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
lsl w8, w8, #2
add w8, w8, w9, lsl #1
ldr w9, [sp, #24]
sdiv w9, w9, w11
add w8, w8, w9, lsl #3
ldr w9, [sp, #24]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
mov w10, #5
mul w9, w9, w10
add w8, w8, w9
ldr w9, [sp, #20]
sdiv w9, w9, w11
mul w9, w9, w11
add w8, w8, w9
ldr w9, [sp, #20]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
mov w10, #9
mul w9, w9, w10
add w8, w8, w9
ldr w9, [sp, #16]
mov w10, #7
mul w9, w9, w10
add w8, w8, w9
ldr w9, [sp, #12]
mov w10, #3
mul w9, w9, w10
add w8, w8, w9
ldr w9, [sp, #8]
mov w10, #6
mul w9, w9, w10
add w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #4]
mov w10, #11
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_42
b LBB1_41
LBB1_41:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_43
LBB1_42:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_43
LBB1_43:
stur wzr, [x29, #-4]
b LBB1_44
LBB1_44:
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 "0"
l_.str.1: ; @.str.1
.asciz "0\n"
l_.str.2: ; @.str.2
.asciz "\n0"
l_.str.3: ; @.str.3
.asciz "1"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
leaq -21(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $13, %esi
callq _fgets
leaq -21(%rbp), %rdi
callq _check
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _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
subq $64, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %eax
subl $48, %eax
imull $10, %eax, %eax
movq -16(%rbp), %rcx
movsbl 1(%rcx), %ecx
subl $48, %ecx
addl %ecx, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movsbl 2(%rax), %eax
subl $48, %eax
imull $10, %eax, %eax
movq -16(%rbp), %rcx
movsbl 3(%rcx), %ecx
subl $48, %ecx
addl %ecx, %eax
movl %eax, -24(%rbp)
movq -16(%rbp), %rax
movsbl 4(%rax), %eax
subl $48, %eax
imull $10, %eax, %eax
movq -16(%rbp), %rcx
movsbl 5(%rcx), %ecx
subl $48, %ecx
addl %ecx, %eax
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movsbl 6(%rax), %eax
subl $48, %eax
movl %eax, -32(%rbp)
movq -16(%rbp), %rax
movsbl 7(%rax), %eax
subl $48, %eax
movl %eax, -36(%rbp)
movq -16(%rbp), %rax
movsbl 8(%rax), %eax
subl $48, %eax
movl %eax, -40(%rbp)
cmpl $0, -20(%rbp)
jl LBB1_5
## %bb.1:
cmpl $16, -20(%rbp)
jg LBB1_5
## %bb.2:
movl -24(%rbp), %eax
subl $40, %eax
cmpl $0, %eax
jg LBB1_4
## %bb.3:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB1_44
LBB1_4:
jmp LBB1_5
LBB1_5:
cmpl $0, -20(%rbp)
jl LBB1_8
## %bb.6:
cmpl $16, -20(%rbp)
jg LBB1_8
## %bb.7:
movl -24(%rbp), %eax
subl $40, %eax
movl %eax, -24(%rbp)
LBB1_8:
cmpl $12, -24(%rbp)
jl LBB1_10
## %bb.9:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB1_44
LBB1_10:
cmpl $2, -24(%rbp)
jne LBB1_21
## %bb.11:
movl -20(%rbp), %eax
addl $4, %eax
movl $4, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB1_16
## %bb.12:
cmpl $29, -28(%rbp)
jg LBB1_14
## %bb.13:
cmpl $0, -28(%rbp)
jg LBB1_15
LBB1_14:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB1_44
LBB1_15:
jmp LBB1_20
LBB1_16:
cmpl $28, -28(%rbp)
jg LBB1_18
## %bb.17:
cmpl $0, -28(%rbp)
jg LBB1_19
LBB1_18:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB1_19:
jmp LBB1_20
LBB1_20:
jmp LBB1_21
LBB1_21:
cmpl $1, -24(%rbp)
je LBB1_28
## %bb.22:
cmpl $3, -24(%rbp)
je LBB1_28
## %bb.23:
cmpl $5, -24(%rbp)
je LBB1_28
## %bb.24:
cmpl $7, -24(%rbp)
je LBB1_28
## %bb.25:
cmpl $8, -24(%rbp)
je LBB1_28
## %bb.26:
cmpl $10, -24(%rbp)
je LBB1_28
## %bb.27:
cmpl $12, -24(%rbp)
jne LBB1_32
LBB1_28:
cmpl $31, -28(%rbp)
jle LBB1_31
## %bb.29:
cmpl $0, -28(%rbp)
jg LBB1_31
## %bb.30:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB1_44
LBB1_31:
jmp LBB1_32
LBB1_32:
cmpl $4, -24(%rbp)
je LBB1_36
## %bb.33:
cmpl $6, -24(%rbp)
je LBB1_36
## %bb.34:
cmpl $9, -24(%rbp)
je LBB1_36
## %bb.35:
cmpl $11, -24(%rbp)
jne LBB1_40
LBB1_36:
cmpl $30, -28(%rbp)
jle LBB1_39
## %bb.37:
cmpl $0, -28(%rbp)
jg LBB1_39
## %bb.38:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB1_44
LBB1_39:
jmp LBB1_40
LBB1_40:
movl -20(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
shll $1, %eax
movl %eax, -64(%rbp) ## 4-byte Spill
movl -20(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -64(%rbp), %eax ## 4-byte Reload
shll $2, %edx
addl %edx, %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -60(%rbp), %eax ## 4-byte Reload
shll $3, %ecx
addl %ecx, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movl -24(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -56(%rbp), %eax ## 4-byte Reload
imull $5, %edx, %ecx
addl %ecx, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl -28(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -52(%rbp), %eax ## 4-byte Reload
imull $10, %ecx, %ecx
addl %ecx, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl -28(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -48(%rbp), %eax ## 4-byte Reload
imull $9, %edx, %ecx
addl %ecx, %eax
imull $7, -32(%rbp), %ecx
addl %ecx, %eax
imull $3, -36(%rbp), %ecx
addl %ecx, %eax
imull $6, -40(%rbp), %ecx
addl %ecx, %eax
movl %eax, -44(%rbp)
movl -44(%rbp), %eax
movl $11, %ecx
cltd
idivl %ecx
cmpl $10, %edx
jge LBB1_42
## %bb.41:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_43
LBB1_42:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB1_43:
movl $0, -4(%rbp)
LBB1_44:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0"
L_.str.1: ## @.str.1
.asciz "0\n"
L_.str.2: ## @.str.2
.asciz "\n0"
L_.str.3: ## @.str.3
.asciz "1"
.subsections_via_symbols
| the_stack_data/842885.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
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
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
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, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_4:
ldr w1, [sp, #20]
add x0, sp, #32
bl _platform1D
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
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_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.globl _platform1D ; -- Begin function platform1D
.p2align 2
_platform1D: ; @platform1D
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
mov w8, #1
str w8, [sp, #12]
str w8, [sp, #8]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldr w10, [sp, #16]
subs w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_7
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp, #8]
b LBB1_7
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, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter array size: \n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter %d data: \n"
l_.str.3: ; @.str.3
.asciz "platform1D(): %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 $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
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -220(%rbp), %rsi
movb $0, %al
callq _scanf
movl -220(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -216(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -216(%rbp), %eax
cmpl -220(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -216(%rbp), %rax
leaq -208(%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 -216(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
jmp LBB0_1
LBB0_4:
leaq -208(%rbp), %rdi
movl -220(%rbp), %esi
callq _platform1D
movl %eax, %esi
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_6
## %bb.5:
xorl %eax, %eax
addq $224, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _platform1D ## -- Begin function platform1D
.p2align 4, 0x90
_platform1D: ## @platform1D
.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 $1, -20(%rbp)
movl $1, -24(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_9
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movl -16(%rbp), %edx
subl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_7
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
movl %eax, -20(%rbp)
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl $1, -24(%rbp)
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 -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter array size: \n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter %d data: \n"
L_.str.3: ## @.str.3
.asciz "platform1D(): %d\n"
.subsections_via_symbols
| the_stack_data/1168459.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _analyze ; -- Begin function analyze
.p2align 2
_analyze: ; @analyze
.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 x0, [x29, #-16]
bl _strlen
mov x8, x0
stur w8, [x29, #-20]
ldur x0, [x29, #-16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur x0, [x29, #-16]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur x0, [x29, #-16]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #43
sturb w8, [x29, #-1]
b LBB0_12
LBB0_4:
ldur x8, [x29, #-16]
ldur w9, [x29, #-20]
subs w9, w9, #2
add x8, x8, w9, sxtw
str x8, [sp, #16]
ldr x0, [sp, #16]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #45
sturb w8, [x29, #-1]
b LBB0_12
LBB0_6:
ldur x8, [x29, #-16]
ldrb w8, [x8]
strb w8, [sp, #15]
ldur x8, [x29, #-16]
ldur w9, [x29, #-20]
subs w9, w9, #1
add x8, x8, w9, sxtw
ldrb w8, [x8]
strb w8, [sp, #14]
ldrsb w8, [sp, #15]
subs w8, w8, #57
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldrsb w8, [sp, #14]
subs w8, w8, #52
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
mov w8, #42
sturb w8, [x29, #-1]
b LBB0_12
LBB0_9:
ldur x0, [x29, #-16]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x2, #3
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
mov w8, #63
sturb w8, [x29, #-1]
b LBB0_12
LBB0_11:
mov w8, #33
sturb w8, [x29, #-1]
b LBB0_12
LBB0_12:
ldursb w0, [x29, #-1]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #32]
mov x9, sp
add x8, sp, #28
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
str wzr, [sp, #24]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
sub x0, x29, #28
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #20
bl _fgets
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _strtok
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _analyze
strb w0, [sp, #23]
ldrsb w10, [sp, #23]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_1
LBB1_4:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
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 "1"
l_.str.1: ; @.str.1
.asciz "4"
l_.str.2: ; @.str.2
.asciz "78"
l_.str.3: ; @.str.3
.asciz "35"
l_.str.4: ; @.str.4
.asciz "190"
l_.str.5: ; @.str.5
.asciz "%d\n"
l_.str.6: ; @.str.6
.asciz "\n"
l_.str.7: ; @.str.7
.asciz "%c\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _analyze ## -- Begin function analyze
.p2align 4, 0x90
_analyze: ## @analyze
.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), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_3
## %bb.1:
movq -16(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_3
## %bb.2:
movq -16(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_4
LBB0_3:
movb $43, -1(%rbp)
jmp LBB0_12
LBB0_4:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_6
## %bb.5:
movb $45, -1(%rbp)
jmp LBB0_12
LBB0_6:
movq -16(%rbp), %rax
movb (%rax), %al
movb %al, -33(%rbp)
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %al
movb %al, -34(%rbp)
movsbl -33(%rbp), %eax
cmpl $57, %eax
jne LBB0_9
## %bb.7:
movsbl -34(%rbp), %eax
cmpl $52, %eax
jne LBB0_9
## %bb.8:
movb $42, -1(%rbp)
jmp LBB0_12
LBB0_9:
movq -16(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movl $3, %edx
callq _strncmp
cmpl $0, %eax
jne LBB0_11
## %bb.10:
movb $63, -1(%rbp)
jmp LBB0_12
LBB0_11:
movb $33, -1(%rbp)
LBB0_12:
movsbl -1(%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 $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
leaq L_.str.5(%rip), %rdi
leaq -40(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -44(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq -32(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $20, %esi
callq _fgets
leaq -32(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _strtok
leaq -32(%rbp), %rdi
callq _analyze
movb %al, -45(%rbp)
movsbl -45(%rbp), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB1_1
LBB1_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_6
## %bb.5:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "1"
L_.str.1: ## @.str.1
.asciz "4"
L_.str.2: ## @.str.2
.asciz "78"
L_.str.3: ## @.str.3
.asciz "35"
L_.str.4: ## @.str.4
.asciz "190"
L_.str.5: ## @.str.5
.asciz "%d\n"
L_.str.6: ## @.str.6
.asciz "\n"
L_.str.7: ## @.str.7
.asciz "%c\n"
.subsections_via_symbols
| the_stack_data/318600.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur s0, [x29, #-12]
fcvt d1, s0
ldur s0, [x29, #-8]
fcvt d0, s0
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
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Donnez la valeur de a\n"
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Donnez la valeur de b\n"
l_.str.3: ; @.str.3
.asciz "Permutation !\n"
l_.str.4: ; @.str.4
.asciz "%f %f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
leaq L_.str.4(%rip), %rdi
movb $2, %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 "Donnez la valeur de a\n"
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Donnez la valeur de b\n"
L_.str.3: ## @.str.3
.asciz "Permutation !\n"
L_.str.4: ## @.str.4
.asciz "%f %f"
.subsections_via_symbols
| the_stack_data/92324692.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/776861.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _initQueue ; -- Begin function initQueue
.p2align 2
_initQueue: ; @initQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #8]
str xzr, [x8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _enQueue ; -- Begin function enQueue
.p2align 2
_enQueue: ; @enQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #16
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_2:
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldur x9, [x29, #-8]
str x8, [x9]
b LBB1_5
LBB1_4:
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
str x8, [x9, #8]
ldur x9, [x29, #-8]
str x8, [x9, #8]
b LBB1_5
LBB1_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _outQueue ; -- Begin function outQueue
.p2align 2
_outQueue: ; @outQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB2_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #12]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
str x8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldur x8, [x29, #-8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB2_4
LBB2_4:
ldr x0, [sp, #16]
bl _free
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _peekQueue ; -- Begin function peekQueue
.p2align 2
_peekQueue: ; @peekQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
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
mov w0, #1
bl _exit
LBB3_2:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _emptyQueue ; -- Begin function emptyQueue
.p2align 2
_emptyQueue: ; @emptyQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #1
str w8, [sp, #12]
b LBB4_3
LBB4_2:
str wzr, [sp, #12]
b LBB4_3
LBB4_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _clearQueue ; -- Begin function clearQueue
.p2align 2
_clearQueue: ; @clearQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
str x8, [x9]
ldr x0, [sp]
bl _free
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp]
b LBB5_1
LBB5_3:
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-52]
stur w0, [x29, #-56]
str x1, [sp, #64]
adrp x8, l___const.main.a@PAGE
add x8, x8, l___const.main.a@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-48]
ldr q0, [x8, #16]
stur q0, [x29, #-32]
add x0, sp, #48
bl _initQueue
str wzr, [sp, #44]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB6_4
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldrsw x9, [sp, #44]
sub x8, x29, #48
ldr w1, [x8, x9, lsl #2]
add x0, sp, #48
bl _enQueue
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB6_1
LBB6_4:
add x0, sp, #48
str x0, [sp, #24] ; 8-byte Folded Spill
bl _outQueue
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _outQueue
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
str x0, [sp, #32] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov w1, #68
bl _enQueue
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _peekQueue
mov x10, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _outQueue
mov x10, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
b LBB6_5
LBB6_5: ; =>This Inner Loop Header: Depth=1
add x0, sp, #48
bl _emptyQueue
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_5 Depth=1
add x0, sp, #48
bl _outQueue
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB6_5
LBB6_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add x0, sp, #48
bl _clearQueue
ldur w8, [x29, #-52]
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, LBB6_9
b LBB6_8
LBB6_8:
bl ___stack_chk_fail
LBB6_9:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\345\206\205\345\255\230\347\251\272\351\227\264\345\210\206\351\205\215\345\244\261\350\264\245\357\274\201 "
l_.str.1: ; @.str.1
.asciz "\351\230\237\345\210\227\344\270\272\347\251\272\357\274\214\346\227\240\346\263\225\345\210\240\351\231\244\357\274\201 "
.section __TEXT,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 3 ; 0x3
.long 8 ; 0x8
.long 5 ; 0x5
.long 17 ; 0x11
.long 9 ; 0x9
.long 30 ; 0x1e
.long 15 ; 0xf
.long 22 ; 0x16
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "%d "
l_.str.3: ; @.str.3
.asciz "%d "
l_.str.4: ; @.str.4
.asciz " "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _initQueue ## -- Begin function initQueue
.p2align 4, 0x90
_initQueue: ## @initQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movq $0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _enQueue ## -- Begin function enQueue
.p2align 4, 0x90
_enQueue: ## @enQueue
.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 $16, %edi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_2:
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB1_4
## %bb.3:
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq %rcx, (%rax)
jmp LBB1_5
LBB1_4:
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
LBB1_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _outQueue ## -- Begin function outQueue
.p2align 4, 0x90
_outQueue: ## @outQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB2_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB2_2:
movq -8(%rbp), %rax
movq (%rax), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB2_4
## %bb.3:
movq -8(%rbp), %rax
movq $0, 8(%rax)
LBB2_4:
movq -16(%rbp), %rdi
callq _free
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _peekQueue ## -- Begin function peekQueue
.p2align 4, 0x90
_peekQueue: ## @peekQueue
.cfi_startproc
## %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
cmpq $0, (%rax)
jne LBB3_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB3_2:
movq -8(%rbp), %rax
movq (%rax), %rax
movl (%rax), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _emptyQueue ## -- Begin function emptyQueue
.p2align 4, 0x90
_emptyQueue: ## @emptyQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
jne LBB4_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB4_3
LBB4_2:
movl $0, -4(%rbp)
LBB4_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _clearQueue ## -- Begin function clearQueue
.p2align 4, 0x90
_clearQueue: ## @clearQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq 8(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rdi
callq _free
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
jmp LBB5_1
LBB5_3:
movq -8(%rbp), %rax
movq $0, 8(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl %edi, -56(%rbp)
movq %rsi, -64(%rbp)
movq l___const.main.a(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.a+8(%rip), %rax
movq %rax, -40(%rbp)
movq l___const.main.a+16(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.a+24(%rip), %rax
movq %rax, -24(%rbp)
leaq -80(%rbp), %rdi
callq _initQueue
movl $0, -84(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -84(%rbp)
jge LBB6_4
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movslq -84(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq -80(%rbp), %rdi
callq _enQueue
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB6_1
LBB6_4:
leaq -80(%rbp), %rdi
callq _outQueue
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -80(%rbp), %rdi
callq _outQueue
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq -80(%rbp), %rdi
movl $68, %esi
callq _enQueue
leaq -80(%rbp), %rdi
callq _peekQueue
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -80(%rbp), %rdi
callq _outQueue
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB6_5: ## =>This Inner Loop Header: Depth=1
leaq -80(%rbp), %rdi
callq _emptyQueue
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB6_6
jmp LBB6_7
LBB6_6: ## in Loop: Header=BB6_5 Depth=1
leaq -80(%rbp), %rdi
callq _outQueue
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB6_5
LBB6_7:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq -80(%rbp), %rdi
callq _clearQueue
movl -52(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_9
## %bb.8:
movl -88(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB6_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\345\206\205\345\255\230\347\251\272\351\227\264\345\210\206\351\205\215\345\244\261\350\264\245\357\274\201 "
L_.str.1: ## @.str.1
.asciz "\351\230\237\345\210\227\344\270\272\347\251\272\357\274\214\346\227\240\346\263\225\345\210\240\351\231\244\357\274\201 "
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 3 ## 0x3
.long 8 ## 0x8
.long 5 ## 0x5
.long 17 ## 0x11
.long 9 ## 0x9
.long 30 ## 0x1e
.long 15 ## 0xf
.long 22 ## 0x16
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "%d "
L_.str.3: ## @.str.3
.asciz "%d "
L_.str.4: ## @.str.4
.asciz " "
.subsections_via_symbols
| the_stack_data/62636846.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 ft_sqrt
lCPI0_0:
.quad 0x3ddb7cdfd9d7bdbb ; double 1.0E-10
.section __TEXT,__text,regular,pure_instructions
.globl _ft_sqrt
.p2align 2
_ft_sqrt: ; @ft_sqrt
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
mov w9, #2
udiv w8, w8, w9
ucvtf d0, w8
movi d1, #0000000000000000
fadd d0, d0, d1
str d0, [sp, #16]
ldr d0, [sp, #16]
ldur s3, [x29, #-4]
; implicit-def: $d2
fmov s2, s3
ucvtf d2, d2
ldr d3, [sp, #16]
fdiv d2, d2, d3
fadd d0, d0, d2
fmov d2, #2.00000000
fdiv d0, d0, d2
fadd d0, d0, d1
str d0, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr d0, [sp, #16]
ldr d1, [sp, #8]
fsub d0, d0, d1
bl _dabs
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr d0, [sp, #8]
str d0, [sp, #16]
ldr d0, [sp, #16]
ldur s2, [x29, #-4]
; implicit-def: $d1
fmov s1, s2
ucvtf d1, d1
ldr d2, [sp, #16]
fdiv d1, d1, d2
fadd d0, d0, d1
fmov d1, #2.00000000
fdiv d0, d0, d1
str d0, [sp, #8]
b LBB0_1
LBB0_3:
ldr d0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function dabs
_dabs: ; @dabs
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
ldr d1, [sp, #8]
fcmp d1, #0.0
cset w9, mi
mov w8, #1
and w10, w9, #0x1
mov w9, #2
mul w9, w9, w10
subs w8, w8, w9
scvtf d1, w8
fmul d0, d0, d1
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
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function ft_sqrt
LCPI0_0:
.quad 0x4000000000000000 ## double 2
LCPI0_1:
.quad 0x3ddb7cdfd9d7bdbb ## double 1.0E-10
.section __TEXT,__text,regular,pure_instructions
.globl _ft_sqrt
.p2align 4, 0x90
_ft_sqrt: ## @ft_sqrt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
shrl %eax
cvtsi2sd %eax, %xmm0
xorps %xmm1, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -4(%rbp), %eax
## kill: def $rax killed $eax
cvtsi2sd %rax, %xmm1
divsd -16(%rbp), %xmm1
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
xorps %xmm1, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -24(%rbp), %xmm0
callq _dabs
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -4(%rbp), %eax
## kill: def $rax killed $eax
cvtsi2sd %rax, %xmm1
divsd -16(%rbp), %xmm1
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB0_1
LBB0_3:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function dabs
_dabs: ## @dabs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd -8(%rbp), %xmm1
seta %al
andb $1, %al
movzbl %al, %ecx
shll $1, %ecx
movl $1, %eax
subl %ecx, %eax
cvtsi2sd %eax, %xmm1
mulsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/107411.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 w8, [sp, #8]
subs w8, w8, #61
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_24
LBB0_2:
ldr w8, [sp, #8]
subs w8, w8, #71
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_23
LBB0_4:
ldr w8, [sp, #8]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_22
LBB0_6:
ldr w8, [sp, #8]
subs w8, w8, #21
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_21
LBB0_8:
ldr w8, [sp, #8]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_20
LBB0_10:
ldr w8, [sp, #8]
subs w8, w8, #19
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_19
LBB0_12:
ldr w8, [sp, #8]
subs w8, w8, #27
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_18
LBB0_14:
ldr w8, [sp, #8]
subs w8, w8, #31
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_17
LBB0_16:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_17
LBB0_17:
b LBB0_18
LBB0_18:
b LBB0_19
LBB0_19:
b LBB0_20
LBB0_20:
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
b LBB0_23
LBB0_23:
b LBB0_24
LBB0_24:
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 "%d"
l_.str.1: ; @.str.1
.asciz "Brasilia\n"
l_.str.2: ; @.str.2
.asciz "Salvador\n"
l_.str.3: ; @.str.3
.asciz "Sao Paulo\n"
l_.str.4: ; @.str.4
.asciz "Rio de Janeiro\n"
l_.str.5: ; @.str.5
.asciz "Juiz de Fora\n"
l_.str.6: ; @.str.6
.asciz "Campinas\n"
l_.str.7: ; @.str.7
.asciz "Vitoria\n"
l_.str.8: ; @.str.8
.asciz "Belo Horizonte\n"
l_.str.9: ; @.str.9
.asciz "DDD nao cadastrado\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
cmpl $61, -8(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_24
LBB0_2:
cmpl $71, -8(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_23
LBB0_4:
cmpl $11, -8(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_22
LBB0_6:
cmpl $21, -8(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_21
LBB0_8:
cmpl $32, -8(%rbp)
jne LBB0_10
## %bb.9:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_20
LBB0_10:
cmpl $19, -8(%rbp)
jne LBB0_12
## %bb.11:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_19
LBB0_12:
cmpl $27, -8(%rbp)
jne LBB0_14
## %bb.13:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_18
LBB0_14:
cmpl $31, -8(%rbp)
jne LBB0_16
## %bb.15:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_17
LBB0_16:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB0_17:
jmp LBB0_18
LBB0_18:
jmp LBB0_19
LBB0_19:
jmp LBB0_20
LBB0_20:
jmp LBB0_21
LBB0_21:
jmp LBB0_22
LBB0_22:
jmp LBB0_23
LBB0_23:
jmp LBB0_24
LBB0_24:
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 "Brasilia\n"
L_.str.2: ## @.str.2
.asciz "Salvador\n"
L_.str.3: ## @.str.3
.asciz "Sao Paulo\n"
L_.str.4: ## @.str.4
.asciz "Rio de Janeiro\n"
L_.str.5: ## @.str.5
.asciz "Juiz de Fora\n"
L_.str.6: ## @.str.6
.asciz "Campinas\n"
L_.str.7: ## @.str.7
.asciz "Vitoria\n"
L_.str.8: ## @.str.8
.asciz "Belo Horizonte\n"
L_.str.9: ## @.str.9
.asciz "DDD nao cadastrado\n"
.subsections_via_symbols
| the_stack_data/117400.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isascii ; -- Begin function ft_isascii
.p2align 2
_ft_isascii: ; @ft_isascii
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
subs w8, w8, #127
cset w8, le
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_2
LBB0_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
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_isascii ## -- Begin function ft_isascii
.p2align 4, 0x90
_ft_isascii: ## @ft_isascii
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -4(%rbp)
movb %al, -5(%rbp) ## 1-byte Spill
jl LBB0_2
## %bb.1:
cmpl $127, -4(%rbp)
setle %al
movb %al, -5(%rbp) ## 1-byte Spill
LBB0_2:
movb -5(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/39962.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]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
movi d0, #0000000000000000
str d0, [sp, #32]
fmov d0, #2.00000000
str d0, [sp, #24]
fmov d0, #1.00000000
str d0, [sp, #16]
stur wzr, [x29, #-8]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr d0, [sp, #24]
ldr d1, [sp, #16]
fdiv d1, d0, d1
ldr d0, [sp, #32]
fadd d0, d0, d1
str d0, [sp, #32]
ldr d0, [sp, #24]
fcvtzs w8, d0
stur w8, [x29, #-16]
ldr d1, [sp, #16]
ldr d0, [sp, #24]
fadd d0, d0, d1
str d0, [sp, #24]
ldur s1, [x29, #-16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
str d0, [sp, #16]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr d0, [sp, #32]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_1
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "sum = %lf \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, %eax
jne LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movl $0, -8(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -8(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -48(%rbp), %xmm0
addsd -32(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
cvttsd2si -40(%rbp), %eax
movl %eax, -16(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -40(%rbp), %xmm0
movsd %xmm0, -40(%rbp)
cvtsi2sdl -16(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_1
LBB0_7:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "sum = %lf \n"
.subsections_via_symbols
| the_stack_data/46903.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, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov x0, #0
bl _XML_ParserCreate
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #-1
bl _exit
LBB0_2:
ldur x0, [x29, #-24]
adrp x1, _start@PAGE
add x1, x1, _start@PAGEOFF
adrp x2, _end@PAGE
add x2, x2, _end@PAGEOFF
bl _XML_SetElementHandler
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x3, [x8]
adrp x0, _Buff@GOTPAGE
ldr x0, [x0, _Buff@GOTPAGEOFF]
mov x1, #1
mov x2, #8192
bl _fread
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, x0
stur w9, [x29, #-32]
ldr x0, [x8]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w0, #-1
bl _exit
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8]
bl _feof
stur w0, [x29, #-28]
ldur x0, [x29, #-24]
ldur w2, [x29, #-32]
ldur w3, [x29, #-28]
adrp x1, _Buff@GOTPAGE
ldr x1, [x1, _Buff@GOTPAGEOFF]
bl _XML_Parse
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
bl _XML_GetCurrentLineNumber
str x0, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
bl _XML_GetErrorCode
bl _XML_ErrorString
ldr x10, [sp, #16] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
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
mov w0, #-1
bl _exit
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_10:
ldur x0, [x29, #-24]
bl _XML_ParserFree
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function start
_start: ; @start
.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, _Depth@GOTPAGE
ldr x8, [x8, _Depth@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur wzr, [x29, #-28]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-28]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB1_1
LBB1_4:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
stur wzr, [x29, #-28]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
ldr x10, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
ldur w9, [x29, #-28]
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #2
stur w8, [x29, #-28]
b LBB1_5
LBB1_8:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function end
_end: ; @end
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
adrp x9, _Depth@GOTPAGE
ldr x9, [x9, _Depth@GOTPAGEOFF]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Couldn't allocate memory for parser\n"
.comm _Buff,8192,0 ; @Buff
l_.str.1: ; @.str.1
.asciz "Read error\n"
l_.str.2: ; @.str.2
.asciz "Parse error at line %lu:\n%s\n"
.comm _Depth,4,2 ; @Depth
l_.str.3: ; @.str.3
.asciz " "
l_.str.4: ; @.str.4
.asciz "%s"
l_.str.5: ; @.str.5
.asciz " %s='%s'"
l_.str.6: ; @.str.6
.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 $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _XML_ParserCreate
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $-1, %edi
callq _exit
LBB0_2:
movq -24(%rbp), %rdi
leaq _start(%rip), %rsi
leaq _end(%rip), %rdx
callq _XML_SetElementHandler
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _Buff@GOTPCREL(%rip), %rdi
movl $1, %esi
movl $8192, %edx ## imm = 0x2000
callq _fread
## kill: def $eax killed $eax killed $rax
movl %eax, -32(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ferror
cmpl $0, %eax
je LBB0_5
## %bb.4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $-1, %edi
callq _exit
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
movl %eax, -28(%rbp)
movq -24(%rbp), %rdi
movl -32(%rbp), %edx
movl -28(%rbp), %ecx
movq _Buff@GOTPCREL(%rip), %rsi
callq _XML_Parse
cmpl $0, %eax
jne LBB0_7
## %bb.6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _XML_GetCurrentLineNumber
movq %rax, -40(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _XML_GetErrorCode
movl %eax, %edi
callq _XML_ErrorString
movq -48(%rbp), %rdi ## 8-byte Reload
movq -40(%rbp), %rdx ## 8-byte Reload
movq %rax, %rcx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $-1, %edi
callq _exit
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -28(%rbp)
je LBB0_9
## %bb.8:
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_10:
movq -24(%rbp), %rdi
callq _XML_ParserFree
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function start
_start: ## @start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq _Depth@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_4:
movq -16(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -28(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -24(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -28(%rbp), %eax
addl $2, %eax
movl %eax, -28(%rbp)
jmp LBB1_5
LBB1_8:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq _Depth@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _Depth@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function end
_end: ## @end
.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 _Depth@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _Depth@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Couldn't allocate memory for parser\n"
.comm _Buff,8192,4 ## @Buff
L_.str.1: ## @.str.1
.asciz "Read error\n"
L_.str.2: ## @.str.2
.asciz "Parse error at line %lu:\n%s\n"
.comm _Depth,4,2 ## @Depth
L_.str.3: ## @.str.3
.asciz " "
L_.str.4: ## @.str.4
.asciz "%s"
L_.str.5: ## @.str.5
.asciz " %s='%s'"
L_.str.6: ## @.str.6
.asciz "\n"
.subsections_via_symbols
| the_stack_data/120357.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isspace ; -- Begin function ft_isspace
.p2align 2
_ft_isspace: ; @ft_isspace
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrsb w8, [sp, #15]
subs w8, w8, #9
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrsb w8, [sp, #15]
subs w8, w8, #13
cset w8, le
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldrsb w8, [sp, #15]
subs w8, w8, #32
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
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_isspace ## -- Begin function ft_isspace
.p2align 4, 0x90
_ft_isspace: ## @ft_isspace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movsbl -1(%rbp), %eax
cmpl $9, %eax
jl LBB0_2
## %bb.1:
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $13, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
jle LBB0_3
LBB0_2:
movsbl -1(%rbp), %eax
cmpl $32, %eax
sete %al
movb %al, -2(%rbp) ## 1-byte Spill
LBB0_3:
movb -2(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/130346.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #64
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
mov x9, #50
mul x9, x8, x9
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-56] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-56] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-48] ; 8-byte Folded Spill
stur x8, [x29, #-40]
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mov x10, #50
mul x9, x9, x10
add x0, x8, x9
bl _gets
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-12]
ldur x8, [x29, #-32]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-60] ; 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_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
ldur w0, [x29, #-60] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Ciencia da Computacao\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -16(%rbp), %rsi
callq _scanf
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
imulq $50, %rax, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -56(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movslq -20(%rbp), %rax
imulq $50, %rax, %rax
addq %rax, %rdi
callq _gets
## %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:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
movq -32(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
movl -60(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "Ciencia da Computacao\n"
.subsections_via_symbols
| the_stack_data/9512998.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abc ; -- Begin function abc
.p2align 2
_abc: ; @abc
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "This is abc\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abc ## -- Begin function abc
.p2align 4, 0x90
_abc: ## @abc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "This is abc\n"
.subsections_via_symbols
| the_stack_data/803754.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 foo
lCPI0_0:
.quad 0x3f0a36e2eb1c432d ; double 5.0000000000000002E-5
.section __TEXT,__text,regular,pure_instructions
.globl _foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
movi d0, #0000000000000000
str s0, [sp, #8]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #8]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
str s0, [sp, #8]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
ldr s0, [sp, #8]
fcvt d1, s0
fmov d0, #1.00000000
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #8]
movi d0, #0000000000000000
str s0, [sp, #12]
str wzr, [sp, #16]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr s0, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
str s0, [sp, #12]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_5
LBB0_8:
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fmul s0, s0, s1
str s0, [sp, #12]
ldr s0, [sp, #12]
fcvt d1, s0
fmov d0, #-10.00000000
fdiv d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
str wzr, [sp, #20]
b LBB0_10
LBB0_10:
ldr w0, [sp, #20]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function foo
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x3f0a36e2eb1c432d ## double 5.0000000000000002E-5
LCPI0_2:
.quad 0xc024000000000000 ## double -10
.section __TEXT,__text,regular,pure_instructions
.globl _foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -24(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -24(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -24(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movl $0, -16(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -20(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_5
LBB0_8:
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -24(%rbp), %xmm0
movss %xmm0, -20(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_10
## %bb.9:
movl $0, -12(%rbp)
LBB0_10:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1178448.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 w8, [sp, #8]
mov w9, #64741
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Bon festin !\n"
l_.str.2: ; @.str.2
.asciz "Allez-vous-en !\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
cmpl $64741, -8(%rbp) ## imm = 0xFCE5
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
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 "%d"
L_.str.1: ## @.str.1
.asciz "Bon festin !\n"
L_.str.2: ## @.str.2
.asciz "Allez-vous-en !\n"
.subsections_via_symbols
| the_stack_data/23575175.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hello nginx\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
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hello nginx\n"
.subsections_via_symbols
| the_stack_data/122014889.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _solveMeFirst ; -- Begin function solveMeFirst
.p2align 2
_solveMeFirst: ; @solveMeFirst
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
add w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _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]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _solveMeFirst
stur w0, [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 %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 _solveMeFirst ## -- Begin function solveMeFirst
.p2align 4, 0x90
_solveMeFirst: ## @solveMeFirst
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
addl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _solveMeFirst
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 %d"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/165764947.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]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
ldur w10, [x29, #-12]
sdiv w9, w8, w10
mul w9, w9, w10
subs 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 %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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %edx, -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 %d"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/116788.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s1, [x29, #-12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fsqrt d0, d0
fcvtzs w8, d0
str w8, [sp, #16]
ldur w8, [x29, #-12]
subs w8, w8, #1
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:
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_13
LBB0_4:
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_12
LBB0_6:
mov w8, #2
stur w8, [x29, #-8]
b LBB0_7
LBB0_7:
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_11
b LBB0_8
LBB0_8:
ldur w8, [x29, #-12]
ldur w10, [x29, #-8]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_11
LBB0_10:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13:
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 no : "
l_.str.1: ; @.str.1
.asciz " %d"
l_.str.2: ; @.str.2
.asciz "Not a prime no.\n"
l_.str.3: ; @.str.3
.asciz "It is a prime no.\n"
l_.str.4: ; @.str.4
.asciz "\n\nIT is not a prime no\n"
l_.str.5: ; @.str.5
.asciz "\n\nIt is a prime no.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
cvtsi2sdl -12(%rbp), %xmm0
sqrtsd %xmm0, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -16(%rbp)
cmpl $1, -12(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_2:
cmpl $2, -12(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_13
LBB0_4:
cmpl $3, -12(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_12
LBB0_6:
movl $2, -8(%rbp)
## %bb.7:
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_11
## %bb.8:
movl -12(%rbp), %eax
cltd
idivl -8(%rbp)
cmpl $0, %edx
jne LBB0_10
## %bb.9:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_10:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11:
jmp LBB0_12
LBB0_12:
jmp LBB0_13
LBB0_13:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter no : "
L_.str.1: ## @.str.1
.asciz " %d"
L_.str.2: ## @.str.2
.asciz "Not a prime no.\n"
L_.str.3: ## @.str.3
.asciz "It is a prime no.\n"
L_.str.4: ## @.str.4
.asciz "\n\nIT is not a prime no\n"
L_.str.5: ## @.str.5
.asciz "\n\nIt is a prime no.\n"
.subsections_via_symbols
| the_stack_data/242329760.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _c ; -- Begin function c
.p2align 2
_c: ; @c
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_5
LBB0_2:
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_5
LBB0_4:
ldr w8, [sp, #8]
subs w0, w8, #1
ldr w1, [sp, #4]
bl _c
str w0, [sp] ; 4-byte Folded Spill
ldr w8, [sp, #8]
subs w0, w8, #1
ldr w8, [sp, #4]
subs w1, w8, #1
bl _c
mov x8, x0
ldr w0, [sp] ; 4-byte Folded Reload
add w8, w0, w8
stur w8, [x29, #-4]
b LBB0_5
LBB0_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.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]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _c
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
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 %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 _c ## -- Begin function c
.p2align 4, 0x90
_c: ## @c
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $0, -12(%rbp)
jne LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_5
LBB0_2:
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB0_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB0_5
LBB0_4:
movl -8(%rbp), %edi
subl $1, %edi
movl -12(%rbp), %esi
callq _c
movl %eax, -16(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
subl $1, %edi
movl -12(%rbp), %esi
subl $1, %esi
callq _c
movl %eax, %ecx
movl -16(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -4(%rbp)
LBB0_5:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _c
movl %eax, %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 %d"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/158904.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]
sub x8, x29, #8
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #9
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
stur x0, [x29, #-24] ; 8-byte Folded Spill
bl _scanf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur x0, [x29, #-24] ; 8-byte Folded Reload
ldurb w9, [x29, #-9]
sturb w9, [x29, #-10]
mov x9, sp
str x8, [x9]
bl _scanf
ldursb w8, [x29, #-10]
subs w8, w8, #119
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldursb w8, [x29, #-9]
subs w8, w8, #115
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-8]
subs w9, w9, #0
cset w10, eq
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
and x8, x8, #0x1
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_8
LBB0_3:
ldursb w8, [x29, #-10]
subs w8, w8, #115
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldursb w8, [x29, #-10]
subs w8, w8, #119
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
ldursb w8, [x29, #-10]
ldursb w9, [x29, #-9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-8]
subs w9, w9, #0
cset w10, eq
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
and x8, x8, #0x1
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
b LBB0_8
LBB0_8:
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 "Digite o valor de D: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Pressione a alavanca: w - para cima e depois s - para baixo "
l_.str.3: ; @.str.3
.asciz " %c"
l_.str.4: ; @.str.4
.asciz "%d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -9(%rbp), %rsi
movb $0, %al
callq _scanf
movb -9(%rbp), %al
movb %al, -10(%rbp)
leaq L_.str.3(%rip), %rdi
leaq -9(%rbp), %rsi
movb $0, %al
callq _scanf
movsbl -10(%rbp), %eax
cmpl $119, %eax
jne LBB0_3
## %bb.1:
movsbl -9(%rbp), %eax
cmpl $115, %eax
jne LBB0_3
## %bb.2:
movl -8(%rbp), %esi
cmpl $0, -8(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_3:
movsbl -10(%rbp), %eax
cmpl $115, %eax
je LBB0_6
## %bb.4:
movsbl -10(%rbp), %eax
cmpl $119, %eax
jne LBB0_7
## %bb.5:
movsbl -10(%rbp), %eax
movsbl -9(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_7
LBB0_6:
movl -8(%rbp), %esi
cmpl $0, -8(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7:
jmp LBB0_8
LBB0_8:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite o valor de D: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Pressione a alavanca: w - para cima e depois s - para baixo "
L_.str.3: ## @.str.3
.asciz " %c"
L_.str.4: ## @.str.4
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/100141578.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, _nxt@GOTPAGE
ldr x8, [x8, _nxt@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _vis@GOTPAGE
ldr x8, [x8, _vis@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #2139062143
stur w8, [x29, #-16]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-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 x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_4:
mov w8, #1
stur w8, [x29, #-12]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
; Child Loop BB0_20 Depth 2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_27
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr w9, [x8, x9, lsl #2]
stur w9, [x29, #-20]
ldursw x9, [x29, #-12]
ldrsw x9, [x8, x9, lsl #2]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-24]
mov w8, #1
stur w8, [x29, #-28]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
b LBB0_25
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldursw x10, [x29, #-12]
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
b LBB0_12
LBB0_12: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=2
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
b LBB0_25
LBB0_16: ; in Loop: Header=BB0_12 Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldursw x10, [x29, #-20]
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_12 Depth=2
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_12 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
ldr w9, [x8, x9, lsl #2]
stur w9, [x29, #-20]
ldursw x9, [x29, #-24]
ldrsw x9, [x8, x9, lsl #2]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-24]
b LBB0_12
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-20]
mov w8, #1
stur w8, [x29, #-28]
b LBB0_20
LBB0_20: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldursw x11, [x29, #-20]
mov w9, #1
str w9, [x10, x11, lsl #2]
ldur w9, [x29, #-28]
add w9, w9, #1
stur w9, [x29, #-28]
ldursw x9, [x29, #-20]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-20]
b LBB0_20
LBB0_22: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-28]
stur w8, [x29, #-16]
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_5 Depth=1
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_5 Depth=1
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_5
LBB0_27:
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov 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"
.comm _nxt,800036,2 ; @nxt
.comm _vis,800036,2 ; @vis
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $2139062143, -16(%rbp) ## imm = 0x7F7F7F7F
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -12(%rbp), %rax
movq _nxt@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
movl $1, -12(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
## Child Loop BB0_20 Depth 2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_27
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -12(%rbp), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movslq -12(%rbp), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movslq (%rax,%rcx,4), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
movl $1, -28(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movslq -12(%rbp), %rcx
movq _vis@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_25
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movslq -12(%rbp), %rcx
movq _vis@GOTPCREL(%rip), %rax
movl $1, (%rax,%rcx,4)
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_12
LBB0_12: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
je LBB0_19
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_12 Depth=2
movslq -20(%rbp), %rcx
movq _vis@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_25
LBB0_16: ## in Loop: Header=BB0_12 Depth=2
movslq -20(%rbp), %rcx
movq _vis@GOTPCREL(%rip), %rax
movl $1, (%rax,%rcx,4)
## %bb.17: ## in Loop: Header=BB0_12 Depth=2
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_12 Depth=2
movslq -20(%rbp), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movslq -24(%rbp), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movslq (%rax,%rcx,4), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
jmp LBB0_12
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
movslq -20(%rbp), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movl $1, -28(%rbp)
LBB0_20: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_20 Depth=2
movslq -20(%rbp), %rcx
movq _vis@GOTPCREL(%rip), %rax
movl $1, (%rax,%rcx,4)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movslq -20(%rbp), %rcx
movq _nxt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
jmp LBB0_20
LBB0_22: ## in Loop: Header=BB0_5 Depth=1
movl -28(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_24
## %bb.23: ## in Loop: Header=BB0_5 Depth=1
movl -28(%rbp), %eax
movl %eax, -16(%rbp)
LBB0_24: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_25
LBB0_25: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_26
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_5
LBB0_27:
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _nxt,800036,4 ## @nxt
.comm _vis,800036,4 ## @vis
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/726429.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inserir ; -- Begin function inserir
.p2align 2
_inserir: ; @inserir
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
add x8, x8, #52
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
add x8, x8, #56
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
add x8, x8, #60
mov x9, sp
str x8, [x9]
bl _scanf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _exibir ; -- Begin function exibir
.p2align 2
_exibir: ; @exibir
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr w9, [x8, #52]
; 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
ldr x8, [sp, #8]
ldr s0, [x8, #56]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr x8, [sp, #8]
add x8, x8, #60
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
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, #400
.cfi_def_cfa_offset 400
stp x28, x27, [sp, #368] ; 16-byte Folded Spill
stp x29, x30, [sp, #384] ; 16-byte Folded Spill
add x29, sp, #384
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
str wzr, [sp, #16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #16]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldrsw x8, [sp, #16]
mov x9, #112
mul x9, x8, x9
add x8, sp, #24
add x0, x8, x9
bl _inserir
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _system
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB2_1
LBB2_4:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _system
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #12]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldrsw x8, [sp, #12]
mov x9, #112
mul x9, x8, x9
add x8, sp, #24
add x0, x8, x9
bl _exibir
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_5
LBB2_8:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
bl ___stack_chk_fail
LBB2_10:
mov w0, #0
ldp x29, x30, [sp, #384] ; 16-byte Folded Reload
ldp x28, x27, [sp, #368] ; 16-byte Folded Reload
add sp, sp, #400
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite o Nome: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Digite a Idade: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Digite o Peso: "
l_.str.5: ; @.str.5
.asciz "%f"
l_.str.6: ; @.str.6
.asciz "Digite o Time: "
l_.str.7: ; @.str.7
.asciz "Nome: %s\n"
l_.str.8: ; @.str.8
.asciz "Idade: %d\n"
l_.str.9: ; @.str.9
.asciz "Peso: %.2f\n"
l_.str.10: ; @.str.10
.asciz "Time: %s\n\n"
l_.str.11: ; @.str.11
.asciz "Jogador %d\n"
l_.str.12: ; @.str.12
.asciz "cls"
l_.str.13: ; @.str.13
.asciz "Lista de Jogadores!\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inserir ## -- Begin function inserir
.p2align 4, 0x90
_inserir: ## @inserir
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $52, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $56, %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
addq $60, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _exibir ## -- Begin function exibir
.p2align 4, 0x90
_exibir: ## @exibir
.cfi_startproc
## %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.7(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl 52(%rax), %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movss 56(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
movq -8(%rbp), %rsi
addq $60, %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $368, %rsp ## imm = 0x170
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -356(%rbp)
movl $0, -360(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $3, -360(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -360(%rbp), %esi
addl $1, %esi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movslq -360(%rbp), %rax
leaq -352(%rbp), %rdi
imulq $112, %rax, %rax
addq %rax, %rdi
callq _inserir
leaq L_.str.12(%rip), %rdi
callq _system
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -360(%rbp), %eax
addl $1, %eax
movl %eax, -360(%rbp)
jmp LBB2_1
LBB2_4:
leaq L_.str.12(%rip), %rdi
callq _system
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -364(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
cmpl $3, -364(%rbp)
jge LBB2_8
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movl -364(%rbp), %esi
addl $1, %esi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movslq -364(%rbp), %rax
leaq -352(%rbp), %rdi
imulq $112, %rax, %rax
addq %rax, %rdi
callq _exibir
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movl -364(%rbp), %eax
addl $1, %eax
movl %eax, -364(%rbp)
jmp LBB2_5
LBB2_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_10
## %bb.9:
xorl %eax, %eax
addq $368, %rsp ## imm = 0x170
popq %rbp
retq
LBB2_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite o Nome: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Digite a Idade: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Digite o Peso: "
L_.str.5: ## @.str.5
.asciz "%f"
L_.str.6: ## @.str.6
.asciz "Digite o Time: "
L_.str.7: ## @.str.7
.asciz "Nome: %s\n"
L_.str.8: ## @.str.8
.asciz "Idade: %d\n"
L_.str.9: ## @.str.9
.asciz "Peso: %.2f\n"
L_.str.10: ## @.str.10
.asciz "Time: %s\n\n"
L_.str.11: ## @.str.11
.asciz "Jogador %d\n"
L_.str.12: ## @.str.12
.asciz "cls"
L_.str.13: ## @.str.13
.asciz "Lista de Jogadores!\n\n"
.subsections_via_symbols
| the_stack_data/115953.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 x0, #1
str x0, [sp, #8] ; 8-byte Folded Spill
mov x1, #16
bl _calloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur x0, [x29, #-16]
ldur x9, [x29, #-16]
stur x9, [x29, #-24]
mov x9, #5
str x9, [sp, #32]
str x8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x0, #1
mov x1, #16
bl _calloc
ldur x8, [x29, #-24]
str x0, [x8, #8]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
bl ___error
mov w8, #12
str w8, [x0]
mov w8, #1
stur w8, [x29, #-4]
b LBB0_11
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
ldr x8, [sp, #24]
ldur x9, [x29, #-24]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_1
LBB0_6:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
ldur x0, [x29, #-16]
bl _ReverseLinkedList
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
str xzr, [sp, #16]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
stur x8, [x29, #-16]
ldur x0, [x29, #-24]
bl _free
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB0_7
LBB0_10:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
bl _getchar
stur wzr, [x29, #-4]
b LBB0_11
LBB0_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _ReverseLinkedList ; -- Begin function ReverseLinkedList
.p2align 2
_ReverseLinkedList: ; @ReverseLinkedList
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b LBB1_1
LBB1_3:
ldr x0, [sp, #8]
bl _ReverseLinkedListHelper
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ReverseLinkedListHelper ; -- Begin function ReverseLinkedListHelper
.p2align 2
_ReverseLinkedListHelper: ; @ReverseLinkedListHelper
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB2_3
LBB2_2:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _ReverseLinkedListHelper
str x0, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
stur x8, [x29, #-8]
b LBB2_3
LBB2_3:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $1, %edi
movl $16, %esi
callq _calloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movq $5, -32(%rbp)
movq $1, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jae LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, %edi
movl $16, %esi
callq _calloc
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB0_4
## %bb.3:
callq ___error
movl $12, (%rax)
movl $1, -4(%rbp)
jmp LBB0_11
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movl %eax, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB0_1
LBB0_6:
movq $0, -24(%rbp)
movq -16(%rbp), %rdi
callq _ReverseLinkedList
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movq $0, -48(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rax
cmpq -32(%rbp), %rax
jae LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rdi
callq _free
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
jmp LBB0_7
LBB0_10:
movq $0, -16(%rbp)
callq _getchar
movl $0, -4(%rbp)
LBB0_11:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ReverseLinkedList ## -- Begin function ReverseLinkedList
.p2align 4, 0x90
_ReverseLinkedList: ## @ReverseLinkedList
.cfi_startproc
## %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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB1_1
LBB1_3:
movq -8(%rbp), %rdi
callq _ReverseLinkedListHelper
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ReverseLinkedListHelper ## -- Begin function ReverseLinkedListHelper
.p2align 4, 0x90
_ReverseLinkedListHelper: ## @ReverseLinkedListHelper
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB2_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB2_3
LBB2_2:
movq $0, -24(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _ReverseLinkedListHelper
movq %rax, -24(%rbp)
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
LBB2_3:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/190768124.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
adds w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w9, [x29, #-4]
mov w8, #0
subs w8, w8, w9
subs w8, w8, #100
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
bl _abort
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #-3
bl _foo
mov w0, #-99
bl _foo
ldr w0, [sp, #8] ; 4-byte Folded Reload
bl _exit
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $-2, -4(%rbp)
je LBB0_2
## %bb.1:
xorl %eax, %eax
subl -4(%rbp), %eax
subl $100, %eax
cmpl $0, %eax
jl LBB0_3
LBB0_2:
callq _abort
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $-3, %edi
callq _foo
movl $-99, %edi
callq _foo
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/148915.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hello "
l_.str.1: ; @.str.1
.asciz "world"
l_.str.2: ; @.str.2
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $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
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 "hello "
L_.str.1: ## @.str.1
.asciz "world"
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/96120.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, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
str wzr, [sp, #16]
str wzr, [sp, #12]
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, #12]
ldur w9, [x29, #-4]
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 Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #8]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #4]
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, #4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldr w0, [sp, #12]
ldr w1, [sp, #8]
ldr w2, [sp, #4]
bl _foo
ldr w8, [sp, #16]
add w8, w8, w0
str w8, [sp, #16]
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_5
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_3
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:
ldr w0, [sp, #16]
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 _func ## -- Begin function func
.p2align 4, 0x90
_func: ## @func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -24(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $0, -28(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movl -20(%rbp), %edi
movl -24(%rbp), %esi
movl -28(%rbp), %edx
callq _foo
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_5
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_10:
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/173579335.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsr x8, x8, #0
add x8, x8, #1
mov x0, x8
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
addl $1, %eax
cltq
shlq $0, %rax
addq $1, %rax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/947776.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 w2, #0
str wzr, [sp, #44]
mov w1, #2
mov x0, x1
bl _socket
str w0, [sp, #40]
ldr w8, [sp, #40]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
sub x1, x29, #44
mov w8, #2
sturb w8, [x29, #-43]
mov w8, #28695
sturh w8, [x29, #-42]
stur wzr, [x29, #-40]
ldr w0, [sp, #40]
mov w2, #16
bl _bind
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:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_6
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
mov w8, #2
sturb w8, [x29, #-59]
mov w8, #29975
sturh w8, [x29, #-58]
stur wzr, [x29, #-56]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #48
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_7
LBB0_10:
ldr w0, [sp, #40]
add x1, sp, #48
mov x2, #20
mov w3, #0
sub x4, x29, #60
mov w5, #16
bl _sendto
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_12:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr w0, [sp, #40]
add x1, sp, #20
mov x2, #30
mov w3, #10
sub x4, x29, #44
add x5, sp, #28
bl _recvfrom
mov x8, x0
str w8, [sp, #32]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr w8, [sp, #32]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_14:
ldr w9, [sp, #20]
; 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 LBB0_15
LBB0_15:
ldr w0, [sp, #40]
bl _close
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
bl ___stack_chk_fail
LBB0_17:
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 "Socket not created error\n"
l_.str.1: ; @.str.1
.asciz "Socket created successfully\n"
l_.str.2: ; @.str.2
.asciz "Bind not created error\n"
l_.str.3: ; @.str.3
.asciz "Bind created successfully\n"
l_.str.4: ; @.str.4
.asciz "Enter ele\n"
l_.str.5: ; @.str.5
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "sendto"
l_.str.7: ; @.str.7
.asciz "Send Successfully"
l_.str.8: ; @.str.8
.asciz "1"
l_.str.9: ; @.str.9
.asciz "\n %d max\"\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)
movl $2, %esi
xorl %edx, %edx
movl %esi, %edi
callq _socket
movl %eax, -104(%rbp)
cmpl $-1, -104(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
movb $2, -47(%rbp)
movw $28695, -46(%rbp) ## imm = 0x7017
movl $0, -44(%rbp)
movl -104(%rbp), %edi
leaq -48(%rbp), %rsi
movl $16, %edx
callq _bind
movl %eax, -108(%rbp)
cmpl $-1, -108(%rbp)
jne LBB0_5
## %bb.4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
movb $2, -63(%rbp)
movw $29975, -62(%rbp) ## imm = 0x7517
movl $0, -60(%rbp)
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -120(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpl $5, -120(%rbp)
jge LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movslq -120(%rbp), %rax
leaq -96(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_7
LBB0_10:
movl -104(%rbp), %edi
leaq -96(%rbp), %rsi
leaq -64(%rbp), %r8
movl $20, %edx
xorl %ecx, %ecx
movl $16, %r9d
callq _sendto
cmpq $-1, %rax
jne LBB0_12
## %bb.11:
leaq L_.str.6(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_12:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl -104(%rbp), %edi
leaq -124(%rbp), %rsi
leaq -48(%rbp), %r8
movl $30, %edx
movl $10, %ecx
leaq -116(%rbp), %r9
callq _recvfrom
## kill: def $eax killed $eax killed $rax
movl %eax, -112(%rbp)
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
cmpl $-1, -112(%rbp)
jne LBB0_14
## %bb.13:
leaq L_.str.6(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_14:
movl -124(%rbp), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
## %bb.15:
movl -104(%rbp), %edi
callq _close
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 $128, %rsp
popq %rbp
retq
LBB0_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Socket not created error\n"
L_.str.1: ## @.str.1
.asciz "Socket created successfully\n"
L_.str.2: ## @.str.2
.asciz "Bind not created error\n"
L_.str.3: ## @.str.3
.asciz "Bind created successfully\n"
L_.str.4: ## @.str.4
.asciz "Enter ele\n"
L_.str.5: ## @.str.5
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "sendto"
L_.str.7: ## @.str.7
.asciz "Send Successfully"
L_.str.8: ## @.str.8
.asciz "1"
L_.str.9: ## @.str.9
.asciz "\n %d max\"\n"
.subsections_via_symbols
| the_stack_data/145453455.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w1, #0
stur wzr, [x29, #-4]
mov w0, #1
bl _daemon
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_3:
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x9, sp
mov x8, #420
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
mov w1, #521
bl _open
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov x0, #0
bl _time
mov x8, x0
sub x0, x29, #16
stur x8, [x29, #-16]
bl _localtime
bl _asctime
str x0, [sp, #32]
ldur w8, [x29, #-20]
str w8, [sp, #28] ; 4-byte Folded Spill
ldr x8, [sp, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x0, [sp, #32]
bl _strlen
ldr x1, [sp, #16] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _write
ldur w0, [x29, #-20]
bl _close
mov w0, #60
bl _sleep
b LBB0_4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "daemon error"
l_.str.1: ; @.str.1
.asciz "daemon.log"
l_.str.2: ; @.str.2
.asciz "open error"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $1, %edi
xorl %esi, %esi
callq _daemon$1050
cmpl $-1, %eax
jne LBB0_3
## %bb.1:
jmp LBB0_2
LBB0_2:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_3:
jmp LBB0_4
LBB0_4: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
movl $521, %esi ## imm = 0x209
movl $420, %edx ## imm = 0x1A4
movb $0, %al
callq _open
movl %eax, -20(%rbp)
cmpl $-1, -20(%rbp)
jne LBB0_7
## %bb.5:
jmp LBB0_6
LBB0_6:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
movl %eax, %edi
callq _time
movq %rax, -16(%rbp)
leaq -16(%rbp), %rdi
callq _localtime
movq %rax, %rdi
callq _asctime
movq %rax, -32(%rbp)
movl -20(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -32(%rbp), %rdi
callq _strlen
movl -44(%rbp), %edi ## 4-byte Reload
movq -40(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _write
movl -20(%rbp), %edi
callq _close
movl $60, %edi
callq _sleep
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "daemon error"
L_.str.1: ## @.str.1
.asciz "daemon.log"
L_.str.2: ## @.str.2
.asciz "open error"
.subsections_via_symbols
| the_stack_data/106799.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_ct_size ; -- Begin function get_ct_size
.p2align 2
_get_ct_size: ; @get_ct_size
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
mov w10, #16
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp]
ldr w8, [sp]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrsw x8, [sp, #4]
str x8, [sp, #8]
b LBB0_3
LBB0_2:
ldr w8, [sp, #4]
ldr w10, [sp]
mov w9, #16
subs w9, w9, w10
add w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #8]
b LBB0_3
LBB0_3:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _gen_rdm_bytestream ; -- Begin function gen_rdm_bytestream
.p2align 2
_gen_rdm_bytestream: ; @gen_rdm_bytestream
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x0, x8, #1
bl _malloc
str x0, [sp, #16]
str xzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _rand
ldr x8, [sp, #16]
ldr x9, [sp, #8]
strb w0, [x8, x9]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB1_1
LBB1_4:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
add x8, x8, x9
strb wzr, [x8]
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
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, #-16]
mov w0, #256
bl _get_ct_size
str x0, [sp, #24] ; 8-byte Folded Spill
mov w0, #1024
bl _get_ct_size
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov x8, sp
str x9, [x8]
str x0, [x8, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x0, #16
bl _gen_rdm_bytestream
stur x0, [x29, #-24]
stur wzr, [x29, #-28]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x0, [x29, #-16]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
ldrb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_1
LBB2_4:
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 "./mykey"
l_.str.1: ; @.str.1
.asciz "w+"
l_.str.2: ; @.str.2
.asciz "%d %d"
l_.str.3: ; @.str.3
.asciz "%02X "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_ct_size ## -- Begin function get_ct_size
.p2align 4, 0x90
_get_ct_size: ## @get_ct_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -12(%rbp)
movl -12(%rbp), %eax
movl $16, %ecx
cltd
idivl %ecx
movl %edx, -16(%rbp)
cmpl $0, -16(%rbp)
jne LBB0_2
## %bb.1:
movslq -12(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_3
LBB0_2:
movl -12(%rbp), %eax
movl $16, %ecx
subl -16(%rbp), %ecx
addl %ecx, %eax
cltq
movq %rax, -8(%rbp)
LBB0_3:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gen_rdm_bytestream ## -- Begin function gen_rdm_bytestream
.p2align 4, 0x90
_gen_rdm_bytestream: ## @gen_rdm_bytestream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
addq $1, %rdi
callq _malloc
movq %rax, -16(%rbp)
movq $0, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq -8(%rbp), %rax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _rand
movb %al, %dl
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB1_1
LBB1_4:
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -16(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
movl $256, %edi ## imm = 0x100
callq _get_ct_size
movq %rax, -40(%rbp) ## 8-byte Spill
movl $1024, %edi ## imm = 0x400
callq _get_ct_size
movq -40(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $16, %edi
callq _gen_rdm_bytestream
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $32, -28(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %edx
andl $255, %edx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_4:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "./mykey"
L_.str.1: ## @.str.1
.asciz "w+"
L_.str.2: ## @.str.2
.asciz "%d %d"
L_.str.3: ## @.str.3
.asciz "%02X "
.subsections_via_symbols
| the_stack_data/74528.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 0x3ffbae147ae147ae ; double 1.73
.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
str w8, [sp, #16] ; 4-byte Folded Spill
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_6
LBB0_3:
ldur s0, [x29, #-12]
ldur s1, [x29, #-12]
fmul s0, s0, s1
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
fmov d1, #4.00000000
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_4:
ldur s0, [x29, #-12]
ldur s1, [x29, #-12]
fmul s0, s0, s1
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_5:
ldur s1, [x29, #-12]
fmov s0, #6.00000000
fmul s0, s0, s1
ldur s1, [x29, #-12]
fmul s0, s0, s1
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
fmov d1, #4.00000000
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_6:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite o n\303\272mero de lados: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Digite o tamanho dos lados: "
l_.str.3: ; @.str.3
.asciz "%f"
l_.str.4: ; @.str.4
.asciz "\303\201rea do pol\303\255gono: %.2f"
l_.str.5: ; @.str.5
.asciz "N\303\243o sei calcular a \303\241rea"
.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 0x4010000000000000 ## double 4
LCPI0_1:
.quad 0x3ffbae147ae147ae ## double 1.73
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_2:
.long 0x40c00000 ## float 6
.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
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
callq _scanf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
callq _scanf
movl -8(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
subl $3, %eax
je LBB0_1
jmp LBB0_6
LBB0_6:
movl -16(%rbp), %eax ## 4-byte Reload
subl $4, %eax
je LBB0_2
jmp LBB0_7
LBB0_7:
movl -16(%rbp), %eax ## 4-byte Reload
subl $6, %eax
je LBB0_3
jmp LBB0_4
LBB0_1:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_5
LBB0_2:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_5
LBB0_3:
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
mulss -12(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_5
LBB0_4:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite o n\303\272mero de lados: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Digite o tamanho dos lados: "
L_.str.3: ## @.str.3
.asciz "%f"
L_.str.4: ## @.str.4
.asciz "\303\201rea do pol\303\255gono: %.2f"
L_.str.5: ## @.str.5
.asciz "N\303\243o sei calcular a \303\241rea"
.subsections_via_symbols
| the_stack_data/148577231.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, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub x8, x29, #52
str x8, [sp, #24] ; 8-byte Folded Spill
str wzr, [x8, #32]
str w0, [x8, #28]
stur x1, [x8, #20]
str wzr, [x8, #8]
str wzr, [x8, #4]
str wzr, [x8]
ldr w8, [x8, #28]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x8, #20]
ldr x0, [x8, #8]
mov w1, #0
bl _open
ldr x8, [sp, #24] ; 8-byte Folded Reload
str w0, [x8, #16]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_4:
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w0, [x8, #16]
add x1, sp, #35
mov x2, #1
bl _read
subs x8, x0, #0
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsb w8, [sp, #35]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldrb w8, [sp, #35]
ldrsw x11, [x9, #8]
add x10, sp, #136
add x10, x10, x11
strb w8, [x10]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldrsw x11, [x9, #8]
add x8, sp, #136
mov x10, x8
add x10, x10, x11
strb wzr, [x10]
str wzr, [x9, #8]
ldr w9, [x9]
; implicit-def: $x10
mov x10, 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
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #20
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _fgetc
ldr x8, [sp, #24] ; 8-byte Folded Reload
str wzr, [x8, #4]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
b LBB0_5
LBB0_12:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w0, [x8, #16]
bl _close
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x8, #20]
ldr x0, [x8, #16]
mov w1, #0
bl _open
ldr x8, [sp, #24] ; 8-byte Folded Reload
str w0, [x8, #12]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_14:
ldr x8, [sp, #24] ; 8-byte Folded Reload
str wzr, [x8]
b LBB0_15
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w0, [x8, #16]
add x1, sp, #35
mov x2, #1
bl _read
subs x8, x0, #0
cset w8, le
tbnz w8, #0, LBB0_22
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=1
ldrsb w8, [sp, #35]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldrb w8, [sp, #35]
ldrsw x11, [x9, #8]
add x10, sp, #36
add x10, x10, x11
strb w8, [x10]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
b LBB0_21
LBB0_18: ; in Loop: Header=BB0_15 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldrsw x11, [x9, #8]
add x8, sp, #36
mov x10, x8
add x10, x10, x11
strb wzr, [x10]
str wzr, [x9, #8]
ldr w9, [x9]
; implicit-def: $x10
mov x10, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #20
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_15 Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _fgetc
ldr x8, [sp, #24] ; 8-byte Folded Reload
str wzr, [x8, #4]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_15 Depth=1
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_15 Depth=1
b LBB0_15
LBB0_22:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Arguments less than 3\n"
l_.str.1: ; @.str.1
.asciz "File cannot be opened\n"
l_.str.2: ; @.str.2
.asciz "Line: %d \t %s \n"
l_.str.3: ; @.str.3
.asciz "l: %d \t %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 $272, %rsp ## imm = 0x110
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
cmpl $3, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -20(%rbp)
cmpl $-1, %eax
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_4:
jmp LBB0_5
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %edi
leaq -257(%rbp), %rsi
movl $1, %edx
callq _read
cmpq $0, %rax
jle LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movsbl -257(%rbp), %eax
cmpl $10, %eax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movb -257(%rbp), %cl
movslq -28(%rbp), %rax
movb %cl, -144(%rbp,%rax)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_11
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movslq -28(%rbp), %rax
movb $0, -144(%rbp,%rax)
movl $0, -28(%rbp)
movl -36(%rbp), %esi
leaq -144(%rbp), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
cmpl $20, -32(%rbp)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fgetc
movl $0, -32(%rbp)
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_5
LBB0_12:
movl -20(%rbp), %edi
callq _close
movq -16(%rbp), %rax
movq 16(%rax), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -24(%rbp)
cmpl $-1, %eax
jne LBB0_14
## %bb.13:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_14:
movl $0, -36(%rbp)
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %edi
leaq -257(%rbp), %rsi
movl $1, %edx
callq _read
cmpq $0, %rax
jle LBB0_22
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movsbl -257(%rbp), %eax
cmpl $10, %eax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movb -257(%rbp), %cl
movslq -28(%rbp), %rax
movb %cl, -256(%rbp,%rax)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_21
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movslq -28(%rbp), %rax
movb $0, -256(%rbp,%rax)
movl $0, -28(%rbp)
movl -36(%rbp), %esi
leaq -256(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
cmpl $20, -32(%rbp)
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fgetc
movl $0, -32(%rbp)
LBB0_20: ## in Loop: Header=BB0_15 Depth=1
jmp LBB0_21
LBB0_21: ## in Loop: Header=BB0_15 Depth=1
jmp LBB0_15
LBB0_22:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Arguments less than 3\n"
L_.str.1: ## @.str.1
.asciz "File cannot be opened\n"
L_.str.2: ## @.str.2
.asciz "Line: %d \t %s \n"
L_.str.3: ## @.str.3
.asciz "l: %d \t %s \n"
.subsections_via_symbols
| the_stack_data/31388794.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
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "test.txt"
l_.str.1: ; @.str.1
.asciz "r"
.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 L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB0_2
## %bb.1:
jmp LBB0_2
LBB0_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "test.txt"
L_.str.1: ## @.str.1
.asciz "r"
.subsections_via_symbols
| the_stack_data/869045.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/151705098.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createNode ; -- Begin function createNode
.p2align 2
_createNode: ; @createNode
.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, #216
str x0, [sp, #8] ; 8-byte Folded Spill
bl _malloc
ldr x2, [sp, #8] ; 8-byte Folded Reload
str x0, [sp, #16]
ldr x0, [sp, #16]
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur w8, [x29, #-4]
ldr x9, [sp, #16]
str w8, [x9]
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insert ; -- Begin function insert
.p2align 2
_insert: ; @insert
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #97
str w8, [sp, #12]
ldur x8, [x29, #-8]
add x8, x8, #8
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
mov w0, #0
bl _createNode
ldur x8, [x29, #-8]
add x8, x8, #8
ldrsw x9, [sp, #12]
str x0, [x8, x9, lsl #3]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #8
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-8]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB1_1
LBB1_5:
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _addString ; -- Begin function addString
.p2align 2
_addString: ; @addString
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
str w3, [sp, #4]
ldur x0, [x29, #-8]
ldr x8, [sp, #16]
ldr w8, [x8]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #8
mul x1, x8, x9
bl _realloc
stur x0, [x29, #-8]
ldr x0, [sp, #8]
bl _strdup
ldur x8, [x29, #-8]
ldr x11, [sp, #16]
ldrsw x9, [x11]
mov x10, x9
add w10, w10, #1
str w10, [x11]
str x0, [x8, x9, lsl #3]
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _dfs ; -- Begin function dfs
.p2align 2
_dfs: ; @dfs
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
str x3, [sp, #32]
str w4, [sp, #28]
str x5, [sp, #16]
str x6, [sp, #8]
ldur x8, [x29, #-24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_1
LBB3_1:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2:
ldur x8, [x29, #-16]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #8]
ldr x0, [x8]
ldr x1, [sp, #16]
ldr x2, [sp, #32]
ldr w3, [sp, #28]
bl _addString
ldr x8, [sp, #8]
str x0, [x8]
b LBB3_4
LBB3_4:
b LBB3_10
LBB3_5:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
b LBB3_10
LBB3_7:
ldur x8, [x29, #-16]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8:
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
add x9, x8, x9
mov w8, #32
strb w8, [x9]
ldur x0, [x29, #-8]
ldur x1, [x29, #-8]
ldur x2, [x29, #-24]
ldr x3, [sp, #32]
ldr w8, [sp, #28]
add w4, w8, #1
ldr x5, [sp, #16]
ldr x6, [sp, #8]
bl _dfs
b LBB3_9
LBB3_9:
ldur x8, [x29, #-24]
ldrb w8, [x8]
ldr x9, [sp, #32]
ldrsw x10, [sp, #28]
add x9, x9, x10
strb w8, [x9]
ldur x8, [x29, #-24]
ldrsb w8, [x8]
subs w8, w8, #97
str w8, [sp, #4]
ldur x0, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #8
ldrsw x9, [sp, #4]
ldr x1, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
add x2, x8, #1
ldr x3, [sp, #32]
ldr w8, [sp, #28]
add w4, w8, #1
ldr x5, [sp, #16]
ldr x6, [sp, #8]
bl _dfs
b LBB3_10
LBB3_10:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _canBreak ; -- Begin function canBreak
.p2align 2
_canBreak: ; @canBreak
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #128
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-24]
stur x1, [x29, #-32]
stur w2, [x29, #-36]
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-9]
b LBB4_24
LBB4_2:
ldur x0, [x29, #-24]
bl _strlen
mov x8, x0
stur w8, [x29, #-40]
ldur w8, [x29, #-40]
add w8, w8, #1
mov x2, x8
mov x8, sp
stur x8, [x29, #-48]
lsr x8, x2, #0
add x8, x8, #15
and x9, x8, #0xfffffffffffffff0
stur x9, [x29, #-112] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x9, [x29, #-112] ; 8-byte Folded Reload
mov x8, sp
subs x0, x8, x9
mov sp, x0
stur x0, [x29, #-104] ; 8-byte Folded Spill
stur x2, [x29, #-56]
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur x9, [x29, #-104] ; 8-byte Folded Reload
mov w8, #1
strb w8, [x9]
ldur w8, [x29, #-36]
; kill: def $x8 killed $w8
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-96] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-96] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-88] ; 8-byte Folded Spill
stur x8, [x29, #-64]
stur wzr, [x29, #-68]
b LBB4_3
LBB4_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-68]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_6
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=1
ldur x8, [x29, #-32]
ldursw x9, [x29, #-68]
ldr x0, [x8, x9, lsl #3]
bl _strlen
ldur x9, [x29, #-88] ; 8-byte Folded Reload
ldursw x10, [x29, #-68]
mov x8, x0
str w8, [x9, x10, lsl #2]
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=1
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
b LBB4_3
LBB4_6:
stur wzr, [x29, #-72]
b LBB4_7
LBB4_7: ; =>This Loop Header: Depth=1
; Child Loop BB4_9 Depth 2
; Child Loop BB4_13 Depth 3
ldur w8, [x29, #-72]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_23
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_7 Depth=1
ldur w8, [x29, #-72]
stur w8, [x29, #-76]
b LBB4_9
LBB4_9: ; Parent Loop BB4_7 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB4_13 Depth 3
ldur w8, [x29, #-76]
subs w8, w8, #0
cset w8, lt
mov w9, #0
stur w9, [x29, #-116] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_9 Depth=2
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldur w9, [x29, #-72]
add w9, w9, #1
add x8, x8, w9, sxtw
ldrb w8, [x8]
eor w8, w8, #0x1
stur w8, [x29, #-116] ; 4-byte Folded Spill
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_9 Depth=2
ldur w8, [x29, #-116] ; 4-byte Folded Reload
tbz w8, #0, LBB4_21
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_9 Depth=2
stur wzr, [x29, #-80]
b LBB4_13
LBB4_13: ; Parent Loop BB4_7 Depth=1
; Parent Loop BB4_9 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-80]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_19
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_13 Depth=3
ldur x8, [x29, #-88] ; 8-byte Folded Reload
ldursw x9, [x29, #-80]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-72]
ldur w10, [x29, #-76]
subs w9, w9, w10
add w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB4_17
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_13 Depth=3
ldur x8, [x29, #-32]
ldursw x9, [x29, #-80]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-76]
add x1, x8, x9
ldur w8, [x29, #-72]
ldur w9, [x29, #-76]
subs w8, w8, w9
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_17
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_13 Depth=3
ldur x9, [x29, #-104] ; 8-byte Folded Reload
ldursw x10, [x29, #-76]
mov x8, x9
add x8, x8, x10
ldrb w8, [x8]
ldur w10, [x29, #-72]
add w10, w10, #1
and w8, w8, #0x1
strb w8, [x9, w10, sxtw]
b LBB4_17
LBB4_17: ; in Loop: Header=BB4_13 Depth=3
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_13 Depth=3
ldur w8, [x29, #-80]
add w8, w8, #1
stur w8, [x29, #-80]
b LBB4_13
LBB4_19: ; in Loop: Header=BB4_9 Depth=2
b LBB4_20
LBB4_20: ; in Loop: Header=BB4_9 Depth=2
ldur w8, [x29, #-76]
subs w8, w8, #1
stur w8, [x29, #-76]
b LBB4_9
LBB4_21: ; in Loop: Header=BB4_7 Depth=1
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_7 Depth=1
ldur w8, [x29, #-72]
add w8, w8, #1
stur w8, [x29, #-72]
b LBB4_7
LBB4_23:
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldursw x9, [x29, #-40]
add x8, x8, x9
ldrb w8, [x8]
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-9]
ldur x8, [x29, #-48]
mov sp, x8
b LBB4_24
LBB4_24:
ldurb w8, [x29, #-9]
stur w8, [x29, #-120] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_26
b LBB4_25
LBB4_25:
bl ___stack_chk_fail
LBB4_26:
ldur w8, [x29, #-120] ; 4-byte Folded Reload
and w0, w8, #0x1
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _wordBreak ; -- Begin function wordBreak
.p2align 2
_wordBreak: ; @wordBreak
.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 x0, [sp, #64]
str x1, [sp, #56]
str w2, [sp, #52]
str x3, [sp, #40]
ldr x8, [sp, #40]
str wzr, [x8]
ldr x0, [sp, #64]
ldr x1, [sp, #56]
ldr w2, [sp, #52]
bl _canBreak
tbnz w0, #0, LBB5_2
b LBB5_1
LBB5_1:
; kill: def $x8 killed $xzr
str xzr, [sp, #72]
b LBB5_7
LBB5_2:
mov w0, #0
bl _createNode
str x0, [sp, #32]
str wzr, [sp, #28]
b LBB5_3
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=1
ldr x0, [sp, #32]
ldr x8, [sp, #56]
ldrsw x9, [sp, #28]
ldr x1, [x8, x9, lsl #3]
bl _insert
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB5_3
LBB5_6:
add x6, sp, #16
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
ldr x0, [sp, #32]
ldr x1, [sp, #32]
ldr x2, [sp, #64]
ldr x5, [sp, #40]
add x3, sp, #80
mov w4, #0
bl _dfs
ldr x8, [sp, #16]
str x8, [sp, #72]
b LBB5_7
LBB5_7:
ldr x8, [sp, #72]
str x8, [sp, #8] ; 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, LBB5_9
b LBB5_8
LBB5_8:
bl ___stack_chk_fail
LBB5_9:
ldr x0, [sp, #8] ; 8-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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createNode ## -- Begin function createNode
.p2align 4, 0x90
_createNode: ## @createNode
.cfi_startproc
## %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 $216, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
xorl %esi, %esi
movl $216, %edx
movq $-1, %rcx
callq ___memset_chk
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert ## -- Begin function insert
.p2align 4, 0x90
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpb $0, (%rax)
je LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
subl $97, %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
cmpq $0, 8(%rax,%rcx,8)
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
xorl %edi, %edi
callq _createNode
movq %rax, %rdx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, 8(%rax,%rcx,8)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movq 8(%rax,%rcx,8), %rax
movq %rax, -8(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB1_1
LBB1_5:
movq -8(%rbp), %rax
movl $1, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addString ## -- Begin function addString
.p2align 4, 0x90
_addString: ## @addString
.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 -8(%rbp), %rdi
movq -16(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
movslq %eax, %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -8(%rbp)
movq -24(%rbp), %rdi
callq _strdup
movq %rax, %rdx
movq -8(%rbp), %rax
movq -16(%rbp), %rsi
movl (%rsi), %ecx
movl %ecx, %edi
addl $1, %edi
movl %edi, (%rsi)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dfs ## -- Begin function dfs
.p2align 4, 0x90
_dfs: ## @dfs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq 16(%rbp), %rax
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movl %r8d, -36(%rbp)
movq %r9, -48(%rbp)
movq -24(%rbp), %rax
cmpb $0, (%rax)
jne LBB3_5
## %bb.1:
cmpq $0, -16(%rbp)
je LBB3_4
## %bb.2:
movq -16(%rbp), %rax
cmpl $1, (%rax)
jne LBB3_4
## %bb.3:
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movb $0, (%rax,%rcx)
movq 16(%rbp), %rax
movq (%rax), %rdi
movq -48(%rbp), %rsi
movq -32(%rbp), %rdx
movl -36(%rbp), %ecx
callq _addString
movq %rax, %rcx
movq 16(%rbp), %rax
movq %rcx, (%rax)
LBB3_4:
jmp LBB3_10
LBB3_5:
cmpq $0, -16(%rbp)
jne LBB3_7
## %bb.6:
jmp LBB3_10
LBB3_7:
movq -16(%rbp), %rax
cmpl $1, (%rax)
jne LBB3_9
## %bb.8:
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movb $32, (%rax,%rcx)
movq -8(%rbp), %rdi
movq -8(%rbp), %rsi
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
movl -36(%rbp), %r8d
addl $1, %r8d
movq -48(%rbp), %r9
movq 16(%rbp), %rax
movq %rax, (%rsp)
callq _dfs
LBB3_9:
movq -24(%rbp), %rax
movb (%rax), %dl
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -24(%rbp), %rax
movsbl (%rax), %eax
subl $97, %eax
movl %eax, -52(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
movq 8(%rax,%rcx,8), %rsi
movq -24(%rbp), %rdx
addq $1, %rdx
movq -32(%rbp), %rcx
movl -36(%rbp), %r8d
addl $1, %r8d
movq -48(%rbp), %r9
movq 16(%rbp), %rax
movq %rax, (%rsp)
callq _dfs
LBB3_10:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _canBreak ## -- Begin function canBreak
.p2align 4, 0x90
_canBreak: ## @canBreak
.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, -24(%rbp)
movq %rsi, -32(%rbp)
movl %edx, -36(%rbp)
cmpl $0, -36(%rbp)
jne LBB4_2
## %bb.1:
movb $0, -9(%rbp)
jmp LBB4_24
LBB4_2:
movq -24(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movl -40(%rbp), %eax
incl %eax
## kill: def $rax killed $eax
movq %rax, -120(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -48(%rbp)
callq ____chkstk_darwin
movq -120(%rbp), %rdx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rdi
movq %rdi, -104(%rbp) ## 8-byte Spill
movq %rdi, %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movq %rdx, -56(%rbp)
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
## kill: def $rcx killed $rax
movq -104(%rbp), %rax ## 8-byte Reload
movb $1, (%rax)
movl -36(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -96(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -96(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rax, -64(%rbp)
movl $0, -68(%rbp)
LBB4_3: ## =>This Inner Loop Header: Depth=1
movl -68(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB4_6
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
movq -32(%rbp), %rax
movslq -68(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _strlen
movq %rax, %rcx
movq -88(%rbp), %rax ## 8-byte Reload
movl %ecx, %edx
movslq -68(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB4_3 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB4_3
LBB4_6:
movl $0, -72(%rbp)
LBB4_7: ## =>This Loop Header: Depth=1
## Child Loop BB4_9 Depth 2
## Child Loop BB4_13 Depth 3
movl -72(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB4_23
## %bb.8: ## in Loop: Header=BB4_7 Depth=1
movl -72(%rbp), %eax
movl %eax, -76(%rbp)
LBB4_9: ## Parent Loop BB4_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB4_13 Depth 3
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -76(%rbp)
movb %al, -121(%rbp) ## 1-byte Spill
jl LBB4_11
## %bb.10: ## in Loop: Header=BB4_9 Depth=2
movq -112(%rbp), %rax ## 8-byte Reload
movl -72(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %al
xorb $-1, %al
movb %al, -121(%rbp) ## 1-byte Spill
LBB4_11: ## in Loop: Header=BB4_9 Depth=2
movb -121(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB4_12
jmp LBB4_21
LBB4_12: ## in Loop: Header=BB4_9 Depth=2
movl $0, -80(%rbp)
LBB4_13: ## Parent Loop BB4_7 Depth=1
## Parent Loop BB4_9 Depth=2
## => This Inner Loop Header: Depth=3
movl -80(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB4_19
## %bb.14: ## in Loop: Header=BB4_13 Depth=3
movq -88(%rbp), %rax ## 8-byte Reload
movslq -80(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl -72(%rbp), %ecx
subl -76(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jne LBB4_17
## %bb.15: ## in Loop: Header=BB4_13 Depth=3
movq -32(%rbp), %rax
movslq -80(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -24(%rbp), %rsi
movslq -76(%rbp), %rax
addq %rax, %rsi
movl -72(%rbp), %eax
subl -76(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
callq _strncmp
cmpl $0, %eax
jne LBB4_17
## %bb.16: ## in Loop: Header=BB4_13 Depth=3
movq -112(%rbp), %rax ## 8-byte Reload
movslq -76(%rbp), %rcx
movb (%rax,%rcx), %dl
movl -72(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
andb $1, %dl
movb %dl, (%rax,%rcx)
LBB4_17: ## in Loop: Header=BB4_13 Depth=3
jmp LBB4_18
LBB4_18: ## in Loop: Header=BB4_13 Depth=3
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB4_13
LBB4_19: ## in Loop: Header=BB4_9 Depth=2
jmp LBB4_20
LBB4_20: ## in Loop: Header=BB4_9 Depth=2
movl -76(%rbp), %eax
addl $-1, %eax
movl %eax, -76(%rbp)
jmp LBB4_9
LBB4_21: ## in Loop: Header=BB4_7 Depth=1
jmp LBB4_22
LBB4_22: ## in Loop: Header=BB4_7 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB4_7
LBB4_23:
movq -112(%rbp), %rax ## 8-byte Reload
movslq -40(%rbp), %rcx
movb (%rax,%rcx), %al
andb $1, %al
movb %al, -9(%rbp)
movq -48(%rbp), %rax
movq %rax, %rsp
LBB4_24:
movb -9(%rbp), %al
movb %al, -122(%rbp) ## 1-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_26
## %bb.25:
movb -122(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movq %rbp, %rsp
popq %rbp
retq
LBB4_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _wordBreak ## -- Begin function wordBreak
.p2align 4, 0x90
_wordBreak: ## @wordBreak
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1088, %rsp ## imm = 0x440
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1024(%rbp)
movq %rsi, -1032(%rbp)
movl %edx, -1036(%rbp)
movq %rcx, -1048(%rbp)
movq -1048(%rbp), %rax
movl $0, (%rax)
movq -1024(%rbp), %rdi
movq -1032(%rbp), %rsi
movl -1036(%rbp), %edx
callq _canBreak
testb $1, %al
jne LBB5_2
## %bb.1:
movq $0, -1016(%rbp)
jmp LBB5_7
LBB5_2:
xorl %edi, %edi
callq _createNode
movq %rax, -1056(%rbp)
movl $0, -1060(%rbp)
LBB5_3: ## =>This Inner Loop Header: Depth=1
movl -1060(%rbp), %eax
cmpl -1036(%rbp), %eax
jge LBB5_6
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
movq -1056(%rbp), %rdi
movq -1032(%rbp), %rax
movslq -1060(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _insert
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
movl -1060(%rbp), %eax
addl $1, %eax
movl %eax, -1060(%rbp)
jmp LBB5_3
LBB5_6:
movq $0, -1072(%rbp)
movq -1056(%rbp), %rdi
movq -1056(%rbp), %rsi
movq -1024(%rbp), %rdx
leaq -1008(%rbp), %rcx
movq -1048(%rbp), %r9
xorl %r8d, %r8d
leaq -1072(%rbp), %rax
movq %rax, (%rsp)
callq _dfs
movq -1072(%rbp), %rax
movq %rax, -1016(%rbp)
LBB5_7:
movq -1016(%rbp), %rax
movq %rax, -1080(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_9
## %bb.8:
movq -1080(%rbp), %rax ## 8-byte Reload
addq $1088, %rsp ## imm = 0x440
popq %rbp
retq
LBB5_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/153267766.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _foo
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function foo
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4]
ldr w8, [sp, #4]
adrp x9, _g1@GOTPAGE
ldr x9, [x9, _g1@GOTPAGEOFF]
str w8, [x9]
ldr w8, [sp, #4]
add w8, w8, #1
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #8]
ldr w8, [x8, #4]
adrp x9, _g2@GOTPAGE
ldr x9, [x9, _g2@GOTPAGEOFF]
str w8, [x9]
ldr x9, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [x9, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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 -8(%rbp), %rdi
callq _foo
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function foo
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %ecx
movq _g1@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -12(%rbp), %ecx
addl $1, %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rax
movl 4(%rax), %ecx
movq _g2@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/156393264.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _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]
bl _megaInit
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB1_2:
b LBB1_3
LBB1_3:
str wzr, [sp, #24]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #24]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
mov x1, #0
mov w2, #10
bl _strtoul
mov x8, x0
strh w8, [sp, #22]
ldrh w8, [sp, #22]
ldrsw x10, [sp, #24]
sub x9, x29, #18
add x9, x9, x10, lsl #1
strh w8, [x9]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_4
LBB1_6:
sub x0, x29, #18
sub x1, x29, #20
bl _RandomFunc
ldurh w8, [x29, #-20]
mov w9, #65519
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_9
LBB1_8:
b LBB1_9
LBB1_9:
str wzr, [sp, #16]
b LBB1_10
LBB1_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=1
ldrsw x9, [sp, #16]
sub x8, x29, #20
ldrh w10, [x8, x9, lsl #1]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_10
LBB1_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.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]
ldrh w8, [x8]
mov w9, #7387
eor w8, w8, w9
strh w8, [sp, #14]
strh wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrh w8, [sp, #12]
ldr x9, [sp, #24]
ldrh w9, [x9, #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #14]
ldrh w9, [sp, #12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldrb w8, [sp, #15]
strb w8, [sp, #11]
ldrb w8, [sp, #14]
strb w8, [sp, #15]
ldrb w8, [sp, #11]
strb w8, [sp, #14]
b LBB2_5
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
add x8, sp, #14
ldrh w10, [sp, #14]
ldrh w9, [sp, #12]
; kill: def $x9 killed $w9
add x9, x8, x9, lsl #1
ldrh w8, [x9]
eor w8, w8, w10
strh w8, [x9]
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #12]
; kill: def $x8 killed $w8
add x8, x8, #2
; kill: def $w8 killed $w8 killed $x8
strh w8, [sp, #12]
b LBB2_1
LBB2_6:
ldrh w8, [sp, #14]
; kill: def $x8 killed $w8
mov x9, #55215
movk x9, #4643, lsl #16
orr x8, x8, x9
ldr x9, [sp, #16]
; kill: def $w8 killed $w8 killed $x8
strh w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call this program with %i arguments\n"
l_.str.1: ; @.str.1
.asciz "You win!\n"
l_.str.2: ; @.str.2
.asciz "%u\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.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)
callq _megaInit
cmpl $2, -8(%rbp)
je LBB1_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %esi
callq _printf
movl $-1, %edi
callq _exit
LBB1_2:
jmp LBB1_3
LBB1_3:
movl $0, -24(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -24(%rbp)
jge LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $10, %edx
callq _strtoul
## kill: def $ax killed $ax killed $rax
movw %ax, -26(%rbp)
movw -26(%rbp), %cx
movslq -24(%rbp), %rax
movw %cx, -18(%rbp,%rax,2)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_4
LBB1_6:
leaq -18(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _RandomFunc
movzwl -20(%rbp), %eax
cmpl $65519, %eax ## imm = 0xFFEF
jne LBB1_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_9
LBB1_8:
jmp LBB1_9
LBB1_9:
movl $0, -32(%rbp)
LBB1_10: ## =>This Inner Loop Header: Depth=1
cmpl $1, -32(%rbp)
jge LBB1_12
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
movslq -32(%rbp), %rax
movzwl -20(%rbp,%rax,2), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_10
LBB1_12:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movzwl (%rax), %eax
xorl $7387, %eax ## imm = 0x1CDB
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
movw $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movzwl -20(%rbp), %eax
movq -8(%rbp), %rcx
movzwl 2(%rcx), %ecx
cmpl %ecx, %eax
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movzwl -18(%rbp), %eax
movzwl -20(%rbp), %ecx
cmpl %ecx, %eax
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movb -17(%rbp), %al
movb %al, -21(%rbp)
movb -18(%rbp), %al
movb %al, -17(%rbp)
movb -21(%rbp), %al
movb %al, -18(%rbp)
jmp LBB2_5
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movzwl -18(%rbp), %edx
movzwl -20(%rbp), %eax
## kill: def $rax killed $eax
movzwl -18(%rbp,%rax,2), %ecx
xorl %edx, %ecx
## kill: def $cx killed $cx killed $ecx
movw %cx, -18(%rbp,%rax,2)
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movzwl -20(%rbp), %eax
## kill: def $rax killed $eax
addq $2, %rax
## kill: def $ax killed $ax killed $rax
movw %ax, -20(%rbp)
jmp LBB2_1
LBB2_6:
movzwl -18(%rbp), %eax
## kill: def $rax killed $eax
orq $304338863, %rax ## imm = 0x1223D7AF
movw %ax, %cx
movq -16(%rbp), %rax
movw %cx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.1: ## @.str.1
.asciz "You win!\n"
L_.str.2: ## @.str.2
.asciz "%u\n"
.subsections_via_symbols
| the_stack_data/249019.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, #4048
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #32]
mov w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1000
cset w8, gt
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:
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_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldrsw x10, [sp, #20]
add x9, sp, #36
mov w8, #1
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]
b LBB0_5
LBB0_8:
mov w8, #1
str w8, [sp, #24]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1000
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #36
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [sp, #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
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_9
LBB0_14:
bl _getchar
bl _getchar
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_16
b LBB0_15
LBB0_15:
bl ___stack_chk_fail
LBB0_16:
mov w0, #0
add sp, sp, #4048
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 "%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 $4032, %rsp ## imm = 0xFC0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -4020(%rbp)
movl $1, -4028(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $1000, -4028(%rbp) ## imm = 0x3E8
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -4028(%rbp), %rax
movl $0, -4016(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4028(%rbp), %eax
addl $1, %eax
movl %eax, -4028(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str(%rip), %rdi
leaq -4024(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -4028(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -4028(%rbp), %eax
cmpl -4024(%rbp), %eax
jg LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str(%rip), %rdi
leaq -4032(%rbp), %rsi
movb $0, %al
callq _scanf
movslq -4032(%rbp), %rax
movl $1, -4016(%rbp,%rax,4)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -4028(%rbp), %eax
addl $1, %eax
movl %eax, -4028(%rbp)
jmp LBB0_5
LBB0_8:
movl $1, -4028(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $1000, -4028(%rbp) ## imm = 0x3E8
jg LBB0_14
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movslq -4028(%rbp), %rax
cmpl $1, -4016(%rbp,%rax,4)
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -4028(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
movl -4028(%rbp), %eax
addl $1, %eax
movl %eax, -4028(%rbp)
jmp LBB0_9
LBB0_14:
callq _getchar
callq _getchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_16
## %bb.15:
xorl %eax, %eax
addq $4032, %rsp ## imm = 0xFC0
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d "
.subsections_via_symbols
| the_stack_data/82950198.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, #1136
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #104
mov w1, #1024
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #104
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strcspn
mov x9, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
add x1, sp, #24
mov w2, #10
bl _splitCommandLine
str w0, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [sp, #16]
add x0, sp, #24
bl _doCommand
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
b LBB0_1
LBB0_5:
ldr w8, [sp, #20]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #1136
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _splitCommandLine ; -- Begin function splitCommandLine
.p2align 2
_splitCommandLine: ; @splitCommandLine
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
str wzr, [sp, #12]
ldur x0, [x29, #-16]
mov w1, #32
str w1, [sp, #8] ; 4-byte Folded Spill
bl _skipChar
ldr w1, [sp, #8] ; 4-byte Folded Reload
str x0, [sp, #24]
ldr x0, [sp, #24]
bl _strchr
str x0, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
strb wzr, [x8]
ldr x8, [sp, #24]
ldur x9, [x29, #-24]
ldrsw x10, [sp, #12]
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr w8, [sp, #12]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB1_8
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
add x0, x8, #1
mov x8, x0
str x8, [sp, #16]
mov w1, #32
bl _skipChar
str x0, [sp, #24]
ldr x0, [sp, #24]
mov w1, #32
bl _strchr
str x0, [sp, #16]
b LBB1_1
LBB1_5:
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
ldr x8, [sp, #24]
ldur x9, [x29, #-24]
ldrsw x10, [sp, #12]
str x8, [x9, x10, lsl #3]
b LBB1_7
LBB1_7:
ldr w8, [sp, #12]
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 _doCommand ; -- Begin function doCommand
.p2align 2
_doCommand: ; @doCommand
.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]
adrp x8, _commandDispTable@PAGE
add x8, x8, _commandDispTable@PAGEOFF
str x8, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
ldr x0, [x8]
ldur x8, [x29, #-8]
ldr x1, [x8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
blr x8
b LBB2_6
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #16
str x8, [sp, #8]
b LBB2_1
LBB2_5:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
b LBB2_6
LBB2_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _skipChar ; -- Begin function skipChar
.p2align 2
_skipChar: ; @skipChar
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
strb w1, [sp, #15]
ldrsb w8, [sp, #15]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB3_8
LBB3_2:
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_8
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
ldrsb w9, [sp, #15]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_7
LBB3_6:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB3_8
LBB3_7: ; in Loop: Header=BB3_3 Depth=1
b LBB3_3
LBB3_8:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _pwd ; -- Begin function pwd
.p2align 2
_pwd: ; @pwd
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #0
mov x1, #0
bl _getcwd
str x0, [sp, #8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _cd ; -- Begin function cd
.p2align 2
_cd: ; @cd
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB5_6
LBB5_2:
bl _getuid
bl _getpwuid
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
ldr x8, [sp]
ldr x8, [x8, #48]
str x8, [sp, #8]
b LBB5_5
LBB5_4:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
b LBB5_5
LBB5_5:
b LBB5_6
LBB5_6:
ldr x0, [sp, #8]
bl _chdir
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
b LBB5_8
LBB5_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ls ; -- Begin function ls
.p2align 2
_ls: ; @ls
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
adrp x8, _filterHidden@PAGE
add x8, x8, _filterHidden@PAGEOFF
str x8, [sp, #24]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB6_5
b LBB6_1
LBB6_1:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB6_4
LBB6_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x10, [x29, #-8]
ldr x8, [x10, #8]
add x8, x8, #1
mov x9, x8
str x9, [x10, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
b LBB6_9
LBB6_4:
b LBB6_5
LBB6_5:
ldr x2, [sp, #24]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
add x1, sp, #16
mov x3, #0
bl _scandir
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB6_6
LBB6_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_9
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_6 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
add x8, x8, #21
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_6 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB6_6
LBB6_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _exitFunc ; -- Begin function exitFunc
.p2align 2
_exitFunc: ; @exitFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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]
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.globl _filterHidden ; -- Begin function filterHidden
.p2align 2
_filterHidden: ; @filterHidden
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldrsb w8, [x8, #21]
subs w8, w8, #46
cset w8, ne
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%%> "
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "Exceeded maximum number of words\n"
l_.str.3: ; @.str.3
.asciz "pwd"
l_.str.4: ; @.str.4
.asciz "cd"
l_.str.5: ; @.str.5
.asciz "ls"
l_.str.6: ; @.str.6
.asciz "exit"
.section __DATA,__data
.globl _commandDispTable ; @commandDispTable
.p2align 3
_commandDispTable:
.quad l_.str.3
.quad _pwd
.quad l_.str.4
.quad _cd
.quad l_.str.5
.quad _ls
.quad l_.str.6
.quad _exitFunc
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str.7: ; @.str.7
.asciz "%s: Command was not found\n"
l_.str.8: ; @.str.8
.asciz "%s\n"
l_.str.9: ; @.str.9
.asciz "cd: Error getting home directory\n"
l_.str.10: ; @.str.10
.asciz "cd: %s: No such directory\n"
l_.str.11: ; @.str.11
.asciz "-a"
l_.str.12: ; @.str.12
.asciz "ls: Invalid option -- '%s'\n"
l_.str.13: ; @.str.13
.asciz "."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1136, %rsp ## imm = 0x470
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1124(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -1040(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $1024, %esi ## imm = 0x400
callq _fgets
cmpq $0, %rax
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcspn
movb $0, -1040(%rbp,%rax)
leaq -1040(%rbp), %rdi
leaq -1120(%rbp), %rsi
movl $10, %edx
callq _splitCommandLine
movl %eax, -1128(%rbp)
cmpl $0, -1128(%rbp)
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq -1120(%rbp), %rdi
movl -1128(%rbp), %esi
callq _doCommand
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
jmp LBB0_1
LBB0_5:
movl -1124(%rbp), %eax
movl %eax, -1132(%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 -1132(%rbp), %eax ## 4-byte Reload
addq $1136, %rsp ## imm = 0x470
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _splitCommandLine ## -- Begin function splitCommandLine
.p2align 4, 0x90
_splitCommandLine: ## @splitCommandLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl $0, -52(%rbp)
movq -16(%rbp), %rdi
movl $32, %esi
callq _skipChar
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movl $32, %esi
callq _strchr
movq %rax, -48(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -48(%rbp)
je LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -48(%rbp), %rax
movb $0, (%rax)
movq -40(%rbp), %rdx
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB1_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB1_8
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq -48(%rbp), %rdi
addq $1, %rdi
movq %rdi, -48(%rbp)
movl $32, %esi
callq _skipChar
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movl $32, %esi
callq _strchr
movq %rax, -48(%rbp)
jmp LBB1_1
LBB1_5:
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB1_7
## %bb.6:
movq -40(%rbp), %rdx
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB1_7:
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
LBB1_8:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _doCommand ## -- Begin function doCommand
.p2align 4, 0x90
_doCommand: ## @doCommand
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
leaq _commandDispTable(%rip), %rax
movq %rax, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq $0, (%rax)
je LBB2_5
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movq (%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB2_4
## %bb.3:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
callq *%rax
jmp LBB2_6
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
addq $16, %rax
movq %rax, -24(%rbp)
jmp LBB2_1
LBB2_5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movq (%rax), %rdx
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
LBB2_6:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _skipChar ## -- Begin function skipChar
.p2align 4, 0x90
_skipChar: ## @skipChar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %sil, %al
movq %rdi, -16(%rbp)
movb %al, -17(%rbp)
movsbl -17(%rbp), %eax
cmpl $0, %eax
jne LBB3_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB3_8
LBB3_2:
jmp LBB3_3
LBB3_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB3_8
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
movsbl -17(%rbp), %ecx
cmpl %ecx, %eax
jne LBB3_6
## %bb.5: ## in Loop: Header=BB3_3 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB3_7
LBB3_6:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB3_8
LBB3_7: ## in Loop: Header=BB3_3 Depth=1
jmp LBB3_3
LBB3_8:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pwd ## -- Begin function pwd
.p2align 4, 0x90
_pwd: ## @pwd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
xorl %eax, %eax
movl %eax, %esi
movq %rsi, %rdi
callq _getcwd
movq %rax, -24(%rbp)
movq -24(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _free
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cd ## -- Begin function cd
.p2align 4, 0x90
_cd: ## @cd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $2, -12(%rbp)
jne LBB5_2
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB5_6
LBB5_2:
callq _getuid
movl %eax, %edi
callq _getpwuid
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je LBB5_4
## %bb.3:
movq -32(%rbp), %rax
movq 48(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB5_5
LBB5_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
LBB5_5:
jmp LBB5_6
LBB5_6:
movq -24(%rbp), %rdi
callq _chdir
cmpl $0, %eax
je LBB5_8
## %bb.7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
LBB5_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ls ## -- Begin function ls
.p2align 4, 0x90
_ls: ## @ls
.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)
leaq _filterHidden(%rip), %rax
movq %rax, -24(%rbp)
cmpl $2, -12(%rbp)
jne LBB6_5
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.11(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB6_3
## %bb.2:
movq $0, -24(%rbp)
jmp LBB6_4
LBB6_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movq 8(%rax), %rdx
addq $1, %rdx
movq %rdx, 8(%rax)
leaq L_.str.12(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB6_9
LBB6_4:
jmp LBB6_5
LBB6_5:
movq -24(%rbp), %rdx
leaq L_.str.13(%rip), %rdi
leaq -32(%rbp), %rsi
xorl %eax, %eax
movl %eax, %ecx
callq _scandir$INODE64
movl %eax, -36(%rbp)
movl $0, -40(%rbp)
LBB6_6: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB6_9
## %bb.7: ## in Loop: Header=BB6_6 Depth=1
movq -32(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
addq $21, %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
## %bb.8: ## in Loop: Header=BB6_6 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB6_6
LBB6_9:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _exitFunc ## -- Begin function exitFunc
.p2align 4, 0x90
_exitFunc: ## @exitFunc
.cfi_startproc
## %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)
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _filterHidden ## -- Begin function filterHidden
.p2align 4, 0x90
_filterHidden: ## @filterHidden
.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
movsbl 21(%rax), %eax
cmpl $46, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%%> "
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "Exceeded maximum number of words\n"
L_.str.3: ## @.str.3
.asciz "pwd"
L_.str.4: ## @.str.4
.asciz "cd"
L_.str.5: ## @.str.5
.asciz "ls"
L_.str.6: ## @.str.6
.asciz "exit"
.section __DATA,__data
.globl _commandDispTable ## @commandDispTable
.p2align 4
_commandDispTable:
.quad L_.str.3
.quad _pwd
.quad L_.str.4
.quad _cd
.quad L_.str.5
.quad _ls
.quad L_.str.6
.quad _exitFunc
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str.7: ## @.str.7
.asciz "%s: Command was not found\n"
L_.str.8: ## @.str.8
.asciz "%s\n"
L_.str.9: ## @.str.9
.asciz "cd: Error getting home directory\n"
L_.str.10: ## @.str.10
.asciz "cd: %s: No such directory\n"
L_.str.11: ## @.str.11
.asciz "-a"
L_.str.12: ## @.str.12
.asciz "ls: Invalid option -- '%s'\n"
L_.str.13: ## @.str.13
.asciz "."
.subsections_via_symbols
| the_stack_data/162644219.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]
add x0, sp, #48
str x0, [sp, #24] ; 8-byte Folded Spill
adrp x1, l___const.main.fellow@PAGE
add x1, x1, l___const.main.fellow@PAGEOFF
mov x2, #168
bl _memcpy
ldr x10, [sp, #24] ; 8-byte Folded Reload
add x8, x10, #84
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x8, [sp, #32]
ldr x10, [sp, #32]
ldr x8, [sp, #32]
add x8, x8, #84
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #32]
ldr s0, [x8, #80]
fcvt d1, s0
ldr x8, [sp, #32]
ldr s0, [x8, #80]
fcvt d0, s0
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
ldr x8, [sp, #32]
add x8, x8, #84
str x8, [sp, #32]
ldr x8, [sp, #32]
add x10, x8, #40
ldr x8, [sp, #32]
add x8, x8, #20
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur 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, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.fellow
l___const.main.fellow:
.asciz "Bwen\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Villard\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "grilled salmon\000\000\000\000\000"
.asciz "personality coach\000\000"
.long 0x47630000 ; float 58112
.asciz "Rodney\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Swillbelly\000\000\000\000\000\000\000\000\000"
.asciz "tripe\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "tabloid editor\000\000\000\000\000"
.long 0x4862f400 ; float 232400
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "address #1: %p #2: %p\n"
l_.str.1: ; @.str.1
.asciz "pointer #1: %p #2: %p\n"
l_.str.2: ; @.str.2
.asciz "him->income is %.2f:(*him).income is $.2f\n"
l_.str.3: ; @.str.3
.asciz "him->favfood is %s:him->handle.last is %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 $192, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -180(%rbp)
leaq -176(%rbp), %rdi
leaq l___const.main.fellow(%rip), %rsi
movl $168, %edx
callq _memcpy
leaq -176(%rbp), %rsi
leaq -176(%rbp), %rdx
addq $84, %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -176(%rbp), %rax
movq %rax, -192(%rbp)
movq -192(%rbp), %rsi
movq -192(%rbp), %rdx
addq $84, %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -192(%rbp), %rax
movss 80(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq -192(%rbp), %rax
movss 80(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
leaq L_.str.2(%rip), %rdi
movb $2, %al
callq _printf
movq -192(%rbp), %rax
addq $84, %rax
movq %rax, -192(%rbp)
movq -192(%rbp), %rsi
addq $40, %rsi
movq -192(%rbp), %rdx
addq $20, %rdx
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_2
## %bb.1:
xorl %eax, %eax
addq $192, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.fellow
l___const.main.fellow:
.asciz "Bwen\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Villard\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "grilled salmon\000\000\000\000\000"
.asciz "personality coach\000\000"
.long 0x47630000 ## float 58112
.asciz "Rodney\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Swillbelly\000\000\000\000\000\000\000\000\000"
.asciz "tripe\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "tabloid editor\000\000\000\000\000"
.long 0x4862f400 ## float 232400
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "address #1: %p #2: %p\n"
L_.str.1: ## @.str.1
.asciz "pointer #1: %p #2: %p\n"
L_.str.2: ## @.str.2
.asciz "him->income is %.2f:(*him).income is $.2f\n"
L_.str.3: ## @.str.3
.asciz "him->favfood is %s:him->handle.last is %s\n"
.subsections_via_symbols
| the_stack_data/165769549.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-8]
add w10, w8, #64
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_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_8:
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 "Enter the number of rows to be printed: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%c"
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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -8(%rbp), %esi
addl $64, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_8:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the number of rows to be printed: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%c"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/73574516.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check ; -- Begin function check
.p2align 2
_check: ; @check
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #16]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w0, [x8, x9]
bl _isdigit
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_8
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_7:
stur wzr, [x29, #-4]
b LBB0_8
LBB0_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #4560
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #464
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #44]
mov w8, #1
str w8, [sp, #40]
add x0, sp, #48
mov x1, #4000
bl _bzero
str wzr, [sp, #36]
add x0, sp, #4052
str x0, [sp, #8] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strtok
str x0, [sp, #24]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [sp, #24]
bl _check
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
b LBB2_5
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [sp, #24]
bl _atoll
str x0, [sp, #16]
ldr x8, [sp, #16]
ldrsw x10, [sp, #36]
add x9, sp, #48
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
mov x0, #0
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strtok
str x0, [sp, #24]
b LBB2_1
LBB2_5:
ldr w1, [sp, #40]
add x0, sp, #48
bl _print
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_7
b LBB2_6
LBB2_6:
bl ___stack_chk_fail
LBB2_7:
mov w0, #0
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #464
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 "%llo "
l_.str.1: ; @.str.1
.asciz " "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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
subq $32, %rsp
movq %rdi, -16(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isdigit
cmpl $0, %eax
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
je LBB0_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB0_8
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 $0, -4(%rbp)
LBB0_8:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_4:
addq $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
movl $4544, %eax ## imm = 0x11C0
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -4516(%rbp)
movl $1, -4520(%rbp)
leaq -4512(%rbp), %rdi
xorl %esi, %esi
movl $4000, %edx ## imm = 0xFA0
callq _memset
movl $0, -4524(%rbp)
leaq -512(%rbp), %rdi
callq _gets
leaq -512(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strtok
movq %rax, -4536(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -4536(%rbp)
je LBB2_5
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -4536(%rbp), %rdi
callq _check
cmpl $0, %eax
je LBB2_4
## %bb.3:
jmp LBB2_5
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -4536(%rbp), %rdi
callq _atoll
movq %rax, -4544(%rbp)
movq -4544(%rbp), %rcx
movslq -4524(%rbp), %rax
movq %rcx, -4512(%rbp,%rax,8)
movl -4524(%rbp), %eax
addl $1, %eax
movl %eax, -4524(%rbp)
movl -4520(%rbp), %eax
addl $1, %eax
movl %eax, -4520(%rbp)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.1(%rip), %rsi
callq _strtok
movq %rax, -4536(%rbp)
jmp LBB2_1
LBB2_5:
leaq -4512(%rbp), %rdi
movl -4520(%rbp), %esi
callq _print
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_7
## %bb.6:
xorl %eax, %eax
addq $4544, %rsp ## imm = 0x11C0
popq %rbp
retq
LBB2_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%llo "
L_.str.1: ## @.str.1
.asciz " "
.subsections_via_symbols
| the_stack_data/150320.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/67324177.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _findMedianSortedArrays ; -- Begin function findMedianSortedArrays
.p2align 2
_findMedianSortedArrays: ; @findMedianSortedArrays
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-32]
stur w1, [x29, #-36]
str x2, [sp, #32]
str w3, [sp, #28]
ldur w8, [x29, #-36]
ldr w9, [sp, #28]
add w8, w8, w9
str w8, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
movi d0, #0000000000000000
stur d0, [x29, #-24]
b LBB0_17
LBB0_2:
ldr w8, [sp, #24]
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #20]
stur xzr, [x29, #-16]
str wzr, [sp, #16]
str wzr, [sp, #12]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #12]
add w8, w8, w9
ldr w9, [sp, #20]
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #12]
mov x10, x9
add w10, w10, #1
str w10, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
ldr w10, [sp, #12]
add w9, w9, w10
mov w11, #2
sdiv w10, w9, w11
mul w10, w10, w11
subs w10, w9, w10
sub x9, x29, #16
str w8, [x9, w10, sxtw #2]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-32]
ldrsw x9, [sp, #16]
mov x10, x9
add w10, w10, #1
str w10, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
ldr w10, [sp, #12]
add w9, w9, w10
mov w11, #2
sdiv w10, w9, w11
mul w10, w10, w11
subs w10, w9, w10
sub x9, x29, #16
str w8, [x9, w10, sxtw #2]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-32]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #32]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-32]
ldrsw x9, [sp, #16]
mov x10, x9
add w10, w10, #1
str w10, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
ldr w10, [sp, #12]
add w9, w9, w10
mov w11, #2
sdiv w10, w9, w11
mul w10, w10, w11
subs w10, w9, w10
sub x9, x29, #16
str w8, [x9, w10, sxtw #2]
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #12]
mov x10, x9
add w10, w10, #1
str w10, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
ldr w10, [sp, #12]
add w9, w9, w10
mov w11, #2
sdiv w10, w9, w11
mul w10, w10, w11
subs w10, w9, w10
sub x9, x29, #16
str w8, [x9, w10, sxtw #2]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_12:
ldr w8, [sp, #24]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
add w8, w8, w9
scvtf d0, w8
fmov d1, #2.00000000
fdiv d0, d0, d1
stur d0, [x29, #-24]
b LBB0_17
LBB0_14:
ldr w8, [sp, #20]
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_16
b LBB0_15
LBB0_15:
ldur s1, [x29, #-16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
stur d0, [x29, #-24]
b LBB0_17
LBB0_16:
ldur s1, [x29, #-12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
stur d0, [x29, #-24]
b LBB0_17
LBB0_17:
ldur d0, [x29, #-24]
str d0, [sp] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
bl ___stack_chk_fail
LBB0_19:
ldr d0, [sp] ; 8-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function findMedianSortedArrays
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _findMedianSortedArrays
.p2align 4, 0x90
_findMedianSortedArrays: ## @findMedianSortedArrays
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -32(%rbp)
movl %esi, -36(%rbp)
movq %rdx, -48(%rbp)
movl %ecx, -52(%rbp)
movl -36(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -56(%rbp)
cmpl $0, -56(%rbp)
jne LBB0_2
## %bb.1:
xorps %xmm0, %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB0_17
LBB0_2:
movl -56(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -60(%rbp)
leaq -16(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movl $0, -64(%rbp)
movl $0, -68(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %eax
addl -68(%rbp), %eax
movl -60(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB0_12
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -64(%rbp), %eax
cmpl -36(%rbp), %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movl -68(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -68(%rbp)
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movl -64(%rbp), %eax
addl -68(%rbp), %eax
movl $2, %esi
cltd
idivl %esi
movslq %edx, %rax
movl %ecx, -16(%rbp,%rax,4)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl -68(%rbp), %eax
cmpl -52(%rbp), %eax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq -32(%rbp), %rax
movl -64(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -64(%rbp)
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movl -64(%rbp), %eax
addl -68(%rbp), %eax
movl $2, %esi
cltd
idivl %esi
movslq %edx, %rax
movl %ecx, -16(%rbp,%rax,4)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq -32(%rbp), %rax
movslq -64(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -48(%rbp), %rcx
movslq -68(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jg LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq -32(%rbp), %rax
movl -64(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -64(%rbp)
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movl -64(%rbp), %eax
addl -68(%rbp), %eax
movl $2, %esi
cltd
idivl %esi
movslq %edx, %rax
movl %ecx, -16(%rbp,%rax,4)
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
movl -68(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -68(%rbp)
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movl -64(%rbp), %eax
addl -68(%rbp), %eax
movl $2, %esi
cltd
idivl %esi
movslq %edx, %rax
movl %ecx, -16(%rbp,%rax,4)
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_12:
movl -56(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_14
## %bb.13:
movl -16(%rbp), %eax
addl -12(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB0_17
LBB0_14:
movl -60(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_16
## %bb.15:
cvtsi2sdl -16(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB0_17
LBB0_16:
cvtsi2sdl -12(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
LBB0_17:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_19
## %bb.18:
movsd -80(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addq $80, %rsp
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/144693.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mempcpy ; -- Begin function mempcpy
.p2align 2
_mempcpy: ; @mempcpy
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp, #8]
add x0, x0, 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 _mempcpy ## -- Begin function mempcpy
.p2align 4, 0x90
_mempcpy: ## @mempcpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
addq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/58691.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 0x404e000000000000 ; double 60
lCPI0_1:
.quad 0x404ca5dc1a63c1f8 ; double 57.295779513082323
.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
mov w8, #0
str w8, [sp, #36] ; 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, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur d0, [x29, #-16]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fmul d0, d0, d1
stur d0, [x29, #-24]
ldur d0, [x29, #-24]
ldur d1, [x29, #-24]
fcvtzs w8, d1
scvtf d1, w8
fsub d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
stur d0, [x29, #-32]
ldur d0, [x29, #-32]
ldur d2, [x29, #-32]
fcvtzs w8, d2
scvtf d2, w8
fsub d0, d0, d2
fmul d0, d0, d1
str d0, [sp, #40]
ldur d2, [x29, #-24]
ldur d1, [x29, #-32]
ldr d0, [sp, #40]
mov x8, sp
str d2, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w0, [sp, #36] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Introduceti gradele: "
l_.str.1: ; @.str.1
.asciz "%lf"
l_.str.2: ; @.str.2
.asciz "%.2lf grade, %.2lf minute, %.2lf secunde"
.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 0x404e000000000000 ## double 60
LCPI0_1:
.quad 0x404ca5dc1a63c1f8 ## double 57.295779513082323
.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
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvttsd2si -24(%rbp), %eax
cvtsi2sd %eax, %xmm1
subsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvttsd2si -32(%rbp), %eax
cvtsi2sd %eax, %xmm1
subsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -40(%rbp), %xmm2 ## xmm2 = mem[0],zero
leaq L_.str.2(%rip), %rdi
movb $3, %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 "Introduceti gradele: "
L_.str.1: ## @.str.1
.asciz "%lf"
L_.str.2: ## @.str.2
.asciz "%.2lf grade, %.2lf minute, %.2lf secunde"
.subsections_via_symbols
| the_stack_data/1095592.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
str w0, [sp, #48]
str x1, [sp, #40]
add x0, sp, #56
adrp x1, l___const.main.sequences@PAGE
add x1, x1, l___const.main.sequences@PAGEOFF
mov x2, #192
bl _memcpy
str wzr, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #36]
subs x8, x8, #6
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #56
add x8, x8, x9, lsl #5
str x8, [sp, #24]
ldr x0, [sp, #24]
mov x1, #8
bl _max_sub_sequence_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
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_1
LBB0_4:
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_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_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
.globl _max_sub_sequence_sum ; -- Begin function max_sub_sequence_sum
.p2align 2
_max_sub_sequence_sum: ; @max_sub_sequence_sum
.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 w8, [x8]
str w8, [sp, #12]
str wzr, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #4]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_9
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #4]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #8]
add w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB1_7
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #8]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_9:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.sequences
l___const.main.sequences:
.long 4 ; 0x4
.long 4294967293 ; 0xfffffffd
.long 5 ; 0x5
.long 4294967294 ; 0xfffffffe
.long 4294967295 ; 0xffffffff
.long 2 ; 0x2
.long 6 ; 0x6
.long 4294967294 ; 0xfffffffe
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 4294967292 ; 0xfffffffc
.long 4294967293 ; 0xfffffffd
.long 4294967294 ; 0xfffffffe
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 2 ; 0x2
.long 4294967294 ; 0xfffffffe
.long 3 ; 0x3
.long 4294967293 ; 0xfffffffd
.long 4 ; 0x4
.long 4294967292 ; 0xfffffffc
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 4294966296 ; 0xfffffc18
.long 4294967196 ; 0xffffff9c
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 4294967287 ; 0xfffffff7
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Max sub sequence sum: %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 $256, %rsp ## imm = 0x100
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -212(%rbp)
movl %edi, -216(%rbp)
movq %rsi, -224(%rbp)
leaq -208(%rbp), %rdi
leaq l___const.main.sequences(%rip), %rsi
movl $192, %edx
callq _memcpy
movl $0, -228(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -228(%rbp), %rax
cmpq $6, %rax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -228(%rbp), %rcx
leaq -208(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -240(%rbp)
movq -240(%rbp), %rdi
movl $8, %esi
callq _max_sub_sequence_sum
movl %eax, -244(%rbp)
movl -244(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -228(%rbp), %eax
addl $1, %eax
movl %eax, -228(%rbp)
jmp LBB0_1
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _max_sub_sequence_sum ## -- Begin function max_sub_sequence_sum
.p2align 4, 0x90
_max_sub_sequence_sum: ## @max_sub_sequence_sum
.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
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movslq -28(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB1_9
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jle LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB1_7
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -24(%rbp)
jge LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movl $0, -24(%rbp)
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_8
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_9:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.sequences
l___const.main.sequences:
.long 4 ## 0x4
.long 4294967293 ## 0xfffffffd
.long 5 ## 0x5
.long 4294967294 ## 0xfffffffe
.long 4294967295 ## 0xffffffff
.long 2 ## 0x2
.long 6 ## 0x6
.long 4294967294 ## 0xfffffffe
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 4294967292 ## 0xfffffffc
.long 4294967293 ## 0xfffffffd
.long 4294967294 ## 0xfffffffe
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 2 ## 0x2
.long 4294967294 ## 0xfffffffe
.long 3 ## 0x3
.long 4294967293 ## 0xfffffffd
.long 4 ## 0x4
.long 4294967292 ## 0xfffffffc
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 4294966296 ## 0xfffffc18
.long 4294967196 ## 0xffffff9c
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 4294967287 ## 0xfffffff7
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Max sub sequence sum: %d\n"
.subsections_via_symbols
| the_stack_data/64924.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, #2
stur w8, [x29, #-8]
ldur w8, [x29, #-4]
; 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@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 "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 $2, -8(%rbp)
movl -4(%rbp), %esi
movl -8(%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/90765707.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 w0, [sp, #40]
str x1, [sp, #32]
bl _fork
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, l___const.main.args@PAGE
add x8, x8, l___const.main.args@PAGEOFF
ldr q0, [x8]
sub x1, x29, #32
stur q0, [x29, #-32]
ldur x0, [x29, #-32]
bl _execvp
str w0, [sp, #20]
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _abort
LBB0_2:
bl _fork
str w0, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, l___const.main.args.3@PAGE
add x8, x8, l___const.main.args.3@PAGEOFF
ldr q0, [x8]
add x1, sp, #48
str q0, [sp, #48]
ldr x0, [sp, #48]
bl _execvp
str w0, [sp, #16]
ldr w9, [sp, #16]
; 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
bl _abort
LBB0_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, LBB0_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
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 "./button_process"
.section __DATA,__const
.p2align 3 ; @__const.main.args
l___const.main.args:
.quad l_.str
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Error to start button process, status = %d\n"
l_.str.2: ; @.str.2
.asciz "./led_process"
.section __DATA,__const
.p2align 3 ; @__const.main.args.3
l___const.main.args.3:
.quad l_.str.2
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "Error to start led process, status = %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 %edi, -56(%rbp)
movq %rsi, -64(%rbp)
callq _fork
movl %eax, -68(%rbp)
cmpl $0, -68(%rbp)
jne LBB0_2
## %bb.1:
movaps l___const.main.args(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movq -32(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _execvp
movl %eax, -76(%rbp)
movl -76(%rbp), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
callq _abort
LBB0_2:
callq _fork
movl %eax, -72(%rbp)
cmpl $0, -72(%rbp)
jne LBB0_4
## %bb.3:
movaps l___const.main.args.3(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movq -48(%rbp), %rdi
leaq -48(%rbp), %rsi
callq _execvp
movl %eax, -80(%rbp)
movl -80(%rbp), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
callq _abort
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "./button_process"
.section __DATA,__const
.p2align 4 ## @__const.main.args
l___const.main.args:
.quad L_.str
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Error to start button process, status = %d\n"
L_.str.2: ## @.str.2
.asciz "./led_process"
.section __DATA,__const
.p2align 4 ## @__const.main.args.3
l___const.main.args.3:
.quad L_.str.2
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "Error to start led process, status = %d\n"
.subsections_via_symbols
| the_stack_data/26701685.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
adrp x8, _x_1@GOTPAGE
ldr x8, [x8, _x_1@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _x_3@GOTPAGE
ldr x8, [x8, _x_3@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _x_0@GOTPAGE
ldr x8, [x8, _x_0@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, _x_2@GOTPAGE
ldr x8, [x8, _x_2@GOTPAGEOFF]
str x8, [sp, #64] ; 8-byte Folded Spill
str wzr, [sp, #92]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr s0, [x9]
fcvt d1, s0
fmov d0, #1.00000000
fadd d0, d0, d1
ldr s1, [x8]
fcvt d2, s1
fmov d1, #20.00000000
fadd d1, d1, d2
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #1.00000000
fadd d0, d0, d1
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #20.00000000
fadd d0, d0, d1
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr d0, [sp, #32] ; 8-byte Folded Reload
fcvt s0, d0
str s0, [sp, #88]
ldr s0, [x9]
fcvt d1, s0
fmov d0, #7.00000000
fadd d0, d0, d1
ldr s1, [x8]
fcvt d2, s1
fmov d1, #6.00000000
fadd d1, d1, d2
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #7.00000000
fadd d0, d0, d1
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #6.00000000
fadd d0, d0, d1
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr d0, [sp, #24] ; 8-byte Folded Reload
fcvt s0, d0
str s0, [sp, #84]
ldr s0, [x9]
fcvt d1, s0
fmov d0, #9.00000000
fadd d0, d0, d1
ldr s1, [x8]
fcvt d2, s1
fmov d1, #15.00000000
fadd d1, d1, d2
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #9.00000000
fadd d0, d0, d1
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #15.00000000
fadd d0, d0, d1
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr d0, [sp, #16] ; 8-byte Folded Reload
fcvt s0, d0
str s0, [sp, #80]
ldr s0, [x9]
fcvt d1, s0
fmov d0, #5.00000000
fadd d0, d0, d1
ldr s1, [x8]
fcvt d2, s1
fmov d1, #1.00000000
fadd d1, d1, d2
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #5.00000000
fadd d0, d0, d1
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d1, s0
fmov d0, #1.00000000
fadd d0, d0, d1
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
ldr d0, [sp, #8] ; 8-byte Folded Reload
fcvt s0, d0
str s0, [sp, #76]
ldr s0, [sp, #88]
str s0, [x11]
ldr s0, [sp, #84]
str s0, [x10]
ldr s0, [sp, #80]
str s0, [x9]
ldr s0, [sp, #76]
str s0, [x8]
b LBB0_1
.cfi_endproc
; -- End function
.comm _x_1,4,2 ; @x_1
.comm _x_3,4,2 ; @x_3
.comm _x_0,4,2 ; @x_0
.comm _x_2,4,2 ; @x_2
.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 0x4034000000000000 ## double 20
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
LCPI0_2:
.quad 0x4018000000000000 ## double 6
LCPI0_3:
.quad 0x401c000000000000 ## double 7
LCPI0_4:
.quad 0x402e000000000000 ## double 15
LCPI0_5:
.quad 0x4022000000000000 ## double 9
LCPI0_6:
.quad 0x4014000000000000 ## double 5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq _x_1@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movq _x_3@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm2
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _x_1@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
jmp LBB0_4
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq _x_3@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8(%rbp)
movq _x_0@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movq _x_2@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm2
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq _x_0@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp) ## 8-byte Spill
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq _x_2@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp) ## 8-byte Spill
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -12(%rbp)
movq _x_0@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movq _x_1@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm2
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq _x_0@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp) ## 8-byte Spill
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq _x_1@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp) ## 8-byte Spill
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -16(%rbp)
movq _x_1@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movq _x_3@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm2
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq _x_1@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -56(%rbp) ## 8-byte Spill
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movq _x_3@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -56(%rbp) ## 8-byte Spill
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _x_0@GOTPCREL(%rip), %rax
movss %xmm0, (%rax)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _x_1@GOTPCREL(%rip), %rax
movss %xmm0, (%rax)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _x_2@GOTPCREL(%rip), %rax
movss %xmm0, (%rax)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _x_3@GOTPCREL(%rip), %rax
movss %xmm0, (%rax)
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _x_1,4,2 ## @x_1
.comm _x_3,4,2 ## @x_3
.comm _x_0,4,2 ## @x_0
.comm _x_2,4,2 ## @x_2
.subsections_via_symbols
| the_stack_data/177466.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testL ; -- Begin function testL
.p2align 2
_testL: ; @testL
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
mov x9, #16
sdiv x8, x8, x9
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 x8, [x29, #-8]
mov x9, #70368744177664
sdiv x8, x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
mov x9, #1
sdiv x8, x8, x9
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 x8, [x29, #-8]
mov x9, #16
sdiv x8, x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
mov x9, #262144
sdiv x8, x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
mov x9, #1073741824
sdiv x8, x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
mov x8, #-1048576
str x8, [sp, #16]
mov x8, #-9007199254740992
str x8, [sp, #8]
ldr x8, [sp, #16]
add x0, x8, #32
bl _test
ldr x8, [sp, #16]
add x0, x8, #33
bl _test
ldr x8, [sp, #8]
add x0, x8, #64
bl _testL
ldr x8, [sp, #8]
add x0, x8, #65
bl _testL
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 "%ld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testL ## -- Begin function testL
.p2align 4, 0x90
_testL: ## @testL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl $16, %ecx
cqto
idivq %rcx
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movabsq $70368744177664, %rcx ## imm = 0x400000000000
cqto
idivq %rcx
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl $1, %ecx
cqto
idivq %rcx
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl $16, %ecx
cqto
idivq %rcx
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl $262144, %ecx ## imm = 0x40000
cqto
idivq %rcx
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl $1073741824, %ecx ## imm = 0x40000000
cqto
idivq %rcx
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movq $-1048576, -16(%rbp) ## imm = 0xFFF00000
movabsq $-9007199254740992, %rax ## imm = 0xFFE0000000000000
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
addq $32, %rdi
callq _test
movq -16(%rbp), %rdi
addq $33, %rdi
callq _test
movq -24(%rbp), %rdi
addq $64, %rdi
callq _testL
movq -24(%rbp), %rdi
addq $65, %rdi
callq _testL
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%ld\n"
.subsections_via_symbols
| the_stack_data/92327454.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _marks_summation ; -- Begin function marks_summation
.p2align 2
_marks_summation: ; @marks_summation
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
strb w2, [sp, #19]
str wzr, [sp, #12]
ldrsb w8, [sp, #19]
subs w8, w8, #98
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_1
LBB0_1:
str wzr, [sp, #8]
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #8]
add w8, w8, #2
str w8, [sp, #8]
b LBB0_2
LBB0_5:
b LBB0_11
LBB0_6:
mov w8, #1
str w8, [sp, #4]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #4]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #4]
add w8, w8, #2
str w8, [sp, #4]
b LBB0_7
LBB0_10:
b LBB0_11
LBB0_11:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldursw x8, [x29, #-8]
lsl x0, x8, #2
bl _malloc
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_4:
mov x9, sp
sub x8, x29, #9
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #24]
ldur w1, [x29, #-8]
ldursb w2, [x29, #-9]
bl _marks_summation
stur w0, [x29, #-16]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x0, [sp, #24]
bl _free
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz " %c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _marks_summation ## -- Begin function marks_summation
.p2align 4, 0x90
_marks_summation: ## @marks_summation
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dl, %al
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movb %al, -13(%rbp)
movl $0, -20(%rbp)
movsbl -13(%rbp), %eax
cmpl $98, %eax
jne LBB0_6
## %bb.1:
movl $0, -24(%rbp)
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl -24(%rbp), %eax
addl $2, %eax
movl %eax, -24(%rbp)
jmp LBB0_2
LBB0_5:
jmp LBB0_11
LBB0_6:
movl $1, -28(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl -28(%rbp), %eax
addl $2, %eax
movl %eax, -28(%rbp)
jmp LBB0_7
LBB0_10:
jmp LBB0_11
LBB0_11:
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 $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rsi
movslq -28(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_4:
leaq L_.str.1(%rip), %rdi
leaq -9(%rbp), %rsi
movb $0, %al
callq _scanf
movq -24(%rbp), %rdi
movl -8(%rbp), %esi
movsbl -9(%rbp), %edx
callq _marks_summation
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz " %c"
.subsections_via_symbols
| the_stack_data/543073.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w8, #1
str w8, [sp, #8]
str w8, [sp, #4]
ldr w8, [sp, #8]
ldr w9, [sp, #4]
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_2:
str wzr, [sp, #12]
b LBB0_3
LBB0_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _test
stur w0, [x29, #-8]
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
ldur w0, [x29, #-12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.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 _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, -8(%rbp)
movl $1, -16(%rbp)
movl -8(%rbp), %eax
subl -16(%rbp), %eax
cmpl $0, %eax
je LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _test
movl %eax, -8(%rbp)
movl -8(%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 "%d\n"
.subsections_via_symbols
| the_stack_data/24960.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 x8, _foo@PAGE
add x8, x8, _foo@PAGEOFF
str x8, [sp]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
ldr x8, [sp]
blr x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function foo
_foo: ; @foo
.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 _bar
add w0, w0, #5
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bar
_bar: ; @bar
.cfi_startproc
; %bb.0:
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
; InlineAsm Start
nop
; InlineAsm End
mov w0, #5
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "HI"
.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 _foo(%rip), %rax
movq %rax, -16(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
callq *-16(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function foo
_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
callq _bar
addl $5, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bar
_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
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
## InlineAsm Start
nop
## InlineAsm End
movl $5, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "HI"
.subsections_via_symbols
| the_stack_data/165766809.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]
mov x9, sp
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.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 "Line1%s"
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "line2%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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Line1%s"
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "line2%s"
.subsections_via_symbols
| the_stack_data/61076164.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 w2, #0
str w2, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #24]
ldr x0, [sp, #24]
add x1, sp, #16
bl _strtoll
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w0, [sp, #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 " 3 ; and this is the remainder.\n"
l_.str.1: ; @.str.1
.asciz "my integer is :%lld\n"
l_.str.2: ; @.str.2
.asciz "and my remaining chain : %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
movl $0, -4(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
leaq -32(%rbp), %rsi
xorl %edx, %edx
callq _strtoll
movq %rax, -16(%rbp)
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " 3 ; and this is the remainder.\n"
L_.str.1: ## @.str.1
.asciz "my integer is :%lld\n"
L_.str.2: ## @.str.2
.asciz "and my remaining chain : %s"
.subsections_via_symbols
| the_stack_data/901295.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]
stur wzr, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
sturb w0, [x29, #-13]
mov w8, #-1
subs w8, w8, w0, sxtb
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-13]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
ldursb w8, [x29, #-13]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
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, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a sentence:"
l_.str.1: ; @.str.1
.asciz "letters:%d\nspaces:%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -13(%rbp)
movsbl %al, %eax
cmpl $-1, %eax
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl -13(%rbp), %eax
cmpl $32, %eax
jge LBB0_4
## %bb.3:
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movsbl -13(%rbp), %eax
cmpl $32, %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
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 $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a sentence:"
L_.str.1: ## @.str.1
.asciz "letters:%d\nspaces:%d\n"
.subsections_via_symbols
| the_stack_data/1214067.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1040
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
add x0, sp, #32
mov w1, #1000
bl _getLine
str w0, [sp, #20]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #60
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_4
LBB0_4: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
ldrsw x9, [sp, #20]
mov x8, x9
subs w8, w8, #1
str w8, [sp, #20]
add x8, sp, #32
add x9, x8, x9
mov w8, #32
strb w8, [x9]
b LBB0_4
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_8:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
mov w0, #0
add sp, sp, #1040
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _getLine ; -- Begin function getLine
.p2align 2
_getLine: ; @getLine
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _getchar
str w0, [sp, #16]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_7:
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_9
LBB1_9:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9
strb wzr, [x8]
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%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 Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
leaq -1008(%rbp), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _getLine
movl %eax, -1020(%rbp)
cmpl $0, %eax
jle LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $60, -1020(%rbp)
jle LBB0_7
## %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: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -1020(%rbp)
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movl -1020(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -1020(%rbp)
cltq
movb $32, -1008(%rbp,%rax)
jmp LBB0_4
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_8:
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 $1024, %rsp ## imm = 0x400
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _getLine ## -- Begin function getLine
.p2align 4, 0x90
_getLine: ## @getLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %ecx
movl -12(%rbp), %edx
subl $1, %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _getchar
movl %eax, %ecx
movl %ecx, -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -16(%rbp)
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_7
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $10, -16(%rbp)
jne LBB1_9
## %bb.8:
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB1_9:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb $0, (%rax,%rcx)
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/84134.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #5
bl _f
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
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 $5, %edi
callq _f
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/54826041.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, #72]
str w0, [sp, #68]
str x1, [sp, #56]
mov w8, #1
str w8, [sp, #52]
str wzr, [sp, #40]
ldr w8, [sp, #68]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #56]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldr w8, [sp, #68]
subs w8, w8, #3
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #56]
ldr x0, [x8, #24]
bl _atoi
str w0, [sp, #52]
b LBB0_4
LBB0_4:
b LBB0_5
LBB0_5:
ldr x8, [sp, #56]
ldr x0, [x8, #16]
bl _atoi
str w0, [sp, #40]
ldr w0, [sp, #52]
ldr w1, [sp, #40]
ldr x8, [sp, #56]
ldr x2, [x8, #8]
bl _parent_func
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #1
bl _close
b LBB0_7
LBB0_7:
ldrsw x8, [sp, #52]
lsl x0, x8, #3
bl _malloc
adrp x8, _recv_pieces@GOTPAGE
ldr x8, [x8, _recv_pieces@GOTPAGEOFF]
str x0, [x8]
str wzr, [sp, #36]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
mov x0, #25
bl _malloc
adrp x8, _recv_pieces@GOTPAGE
ldr x8, [x8, _recv_pieces@GOTPAGEOFF]
ldr x8, [x8]
ldrsw x9, [sp, #36]
str x0, [x8, x9, lsl #3]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_8
LBB0_11:
str wzr, [sp, #44]
b LBB0_12
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=1
bl _fork
str w0, [sp, #48]
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldr w0, [sp, #44]
ldr w1, [sp, #40]
ldr x8, [sp, #56]
ldr x2, [x8, #8]
bl _child_func
mov w0, #0
bl _exit
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_12
LBB0_17:
mov x0, #0
bl _wait
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #36]
b LBB0_18
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=1
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
sub x0, x29, #40
str x0, [sp, #8] ; 8-byte Folded Spill
mov x3, #32
mov x1, x3
mov w2, #0
adrp x4, l_.str.3@PAGE
add x4, x4, l_.str.3@PAGEOFF
bl ___snprintf_chk
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #24]
ldr x2, [sp, #24]
sub x0, x29, #65
str x0, [sp, #16] ; 8-byte Folded Spill
mov w1, #255
bl _fgets
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x0, [sp, #24]
bl _fclose
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_18
LBB0_21:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _parent_func ; -- Begin function parent_func
.p2align 2
_parent_func: ; @parent_func
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w0, [x29, #-60]
stur w1, [x29, #-64]
str x2, [sp, #72]
sub x8, x29, #24
str x8, [sp, #56] ; 8-byte Folded Spill
stur xzr, [x29, #-24]
stur xzr, [x29, #-16]
mov w8, #2
sturb w8, [x29, #-23]
stur wzr, [x29, #-20]
sturh wzr, [x29, #-22]
mov w0, #2
mov w1, #1
mov w2, #6
bl _socket
ldr x1, [sp, #56] ; 8-byte Folded Reload
str w0, [sp, #68]
ldr w0, [sp, #68]
mov w2, #16
bl _bind
ldr x0, [sp, #72]
bl _inet_addr
stur w0, [x29, #-20]
b LBB1_1
LBB1_1:
ldur w8, [x29, #-64]
and w0, w8, #0xffff
bl __OSSwapInt16
and w8, w0, #0xffff
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB1_2
LBB1_2:
ldr w8, [sp, #52] ; 4-byte Folded Reload
sub x1, x29, #24
sturh w8, [x29, #-22]
ldr w0, [sp, #68]
mov w2, #16
bl _connect
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w8, #1
stur w8, [x29, #-56]
b LBB1_5
LBB1_4:
ldur w9, [x29, #-60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
sub x0, x29, #49
str x0, [sp, #40] ; 8-byte Folded Spill
mov x1, #128
mov w2, #0
str w2, [sp, #36] ; 4-byte Folded Spill
mov x3, #25
str x3, [sp, #24] ; 8-byte Folded Spill
adrp x4, l_.str.8@PAGE
add x4, x4, l_.str.8@PAGEOFF
bl ___snprintf_chk
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldr w8, [sp, #68]
str w8, [sp, #20] ; 4-byte Folded Spill
bl _strlen
ldr w3, [sp, #36] ; 4-byte Folded Reload
ldr x1, [sp, #40] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
bl _send
mov w0, #1
str w0, [sp, #48] ; 4-byte Folded Spill
bl _sleep
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldr w3, [sp, #36] ; 4-byte Folded Reload
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr w0, [sp, #68]
bl _recv
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w0, [sp, #48] ; 4-byte Folded Reload
bl _sleep
ldr w0, [sp, #68]
bl _close
stur wzr, [x29, #-56]
b LBB1_5
LBB1_5:
ldur w8, [x29, #-56]
str w8, [sp, #16] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
bl ___stack_chk_fail
LBB1_7:
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _child_func ; -- Begin function child_func
.p2align 2
_child_func: ; @child_func
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w0, [x29, #-88]
stur w1, [x29, #-92]
str x2, [sp, #88]
sub x8, x29, #24
str x8, [sp, #64] ; 8-byte Folded Spill
stur xzr, [x29, #-24]
stur xzr, [x29, #-16]
mov w8, #2
sturb w8, [x29, #-23]
stur wzr, [x29, #-20]
sturh wzr, [x29, #-22]
mov w0, #2
mov w1, #1
mov w2, #6
bl _socket
ldr x1, [sp, #64] ; 8-byte Folded Reload
str w0, [sp, #84]
ldr w0, [sp, #84]
mov w2, #16
bl _bind
ldr x0, [sp, #88]
bl _inet_addr
stur w0, [x29, #-20]
b LBB2_1
LBB2_1:
ldur w8, [x29, #-92]
and w0, w8, #0xffff
bl __OSSwapInt16
and w8, w0, #0xffff
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB2_2
LBB2_2:
ldr w8, [sp, #60] ; 4-byte Folded Reload
sub x1, x29, #24
sturh w8, [x29, #-22]
ldr w0, [sp, #84]
mov w2, #16
bl _connect
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _perror
b LBB2_5
LBB2_4:
ldur w9, [x29, #-88]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
sub x0, x29, #49
str x0, [sp, #48] ; 8-byte Folded Spill
mov x1, #128
mov w2, #0
str w2, [sp, #36] ; 4-byte Folded Spill
mov x3, #25
str x3, [sp, #24] ; 8-byte Folded Spill
adrp x4, l_.str.12@PAGE
add x4, x4, l_.str.12@PAGEOFF
bl ___snprintf_chk
ldur w9, [x29, #-88]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldr w8, [sp, #84]
str w8, [sp, #20] ; 4-byte Folded Spill
bl _strlen
ldr w3, [sp, #36] ; 4-byte Folded Reload
ldr x1, [sp, #48] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
bl _send
mov w0, #1
str w0, [sp, #56] ; 4-byte Folded Spill
bl _sleep
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldr w3, [sp, #36] ; 4-byte Folded Reload
ldr x1, [sp, #48] ; 8-byte Folded Reload
ldr w0, [sp, #84]
bl _recv
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur w9, [x29, #-88]
; implicit-def: $x10
mov x10, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr w2, [sp, #36] ; 4-byte Folded Reload
ldur w9, [x29, #-88]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
sub x0, x29, #81
str x0, [sp, #40] ; 8-byte Folded Spill
mov x3, #32
mov x1, x3
adrp x4, l_.str.3@PAGE
add x4, x4, l_.str.3@PAGEOFF
bl ___snprintf_chk
ldr x0, [sp, #40] ; 8-byte Folded Reload
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _fopen
ldr x1, [sp, #48] ; 8-byte Folded Reload
str x0, [sp, #72]
ldr x0, [sp, #72]
bl _fprintf
ldr x0, [sp, #72]
bl _fclose
ldr w0, [sp, #56] ; 4-byte Folded Reload
bl _sleep
ldr w0, [sp, #84]
bl _close
b LBB2_5
LBB2_5:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
bl ___stack_chk_fail
LBB2_7:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: %s <server> <port> [#ofchild]\n"
l_.str.1: ; @.str.1
.asciz "parent_func"
.comm _recv_pieces,8,3 ; @recv_pieces
l_.str.2: ; @.str.2
.asciz "\nData is received: \""
l_.str.3: ; @.str.3
.asciz "child%i"
l_.str.4: ; @.str.4
.asciz "r"
l_.str.5: ; @.str.5
.asciz "%s"
l_.str.6: ; @.str.6
.asciz "\"\n"
l_.str.7: ; @.str.7
.asciz "parent_client"
l_.str.8: ; @.str.8
.asciz "%i"
l_.str.9: ; @.str.9
.asciz "Sending \"%s\" command to server..\n"
l_.str.10: ; @.str.10
.asciz "\"%s\" from server\n"
l_.str.11: ; @.str.11
.asciz "client"
l_.str.12: ; @.str.12
.asciz "%i."
l_.str.13: ; @.str.13
.asciz "child #%i sent\n"
l_.str.14: ; @.str.14
.asciz "child #%i received \"%s\"\n"
l_.str.15: ; @.str.15
.asciz "w+"
.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, -84(%rbp)
movl %edi, -88(%rbp)
movq %rsi, -96(%rbp)
movl $1, -100(%rbp)
movl $0, -112(%rbp)
cmpl $3, -88(%rbp)
jge LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -96(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
cmpl $3, -88(%rbp)
jle LBB0_4
## %bb.3:
movq -96(%rbp), %rax
movq 24(%rax), %rdi
callq _atoi
movl %eax, -100(%rbp)
LBB0_4:
jmp LBB0_5
LBB0_5:
movq -96(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, -112(%rbp)
movl -100(%rbp), %edi
movl -112(%rbp), %esi
movq -96(%rbp), %rax
movq 8(%rax), %rdx
callq _parent_func
cmpl $0, %eax
je LBB0_7
## %bb.6:
leaq L_.str.1(%rip), %rdi
callq _perror
movl $1, %edi
callq _close
LBB0_7:
movslq -100(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq _recv_pieces@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $0, -116(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl -116(%rbp), %eax
cmpl -100(%rbp), %eax
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl $25, %edi
callq _malloc
movq %rax, %rdx
movq _recv_pieces@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -116(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_8
LBB0_11:
movl $0, -108(%rbp)
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl -108(%rbp), %eax
cmpl -100(%rbp), %eax
jge LBB0_17
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
callq _fork
movl %eax, -104(%rbp)
cmpl $0, %eax
jne LBB0_15
## %bb.14:
movl -108(%rbp), %edi
movl -112(%rbp), %esi
movq -96(%rbp), %rax
movq 8(%rax), %rdx
callq _child_func
xorl %edi, %edi
callq _exit
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_12 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB0_12
LBB0_17:
xorl %eax, %eax
movl %eax, %edi
callq _wait
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -116(%rbp)
LBB0_18: ## =>This Inner Loop Header: Depth=1
movl -116(%rbp), %eax
cmpl -100(%rbp), %eax
jge LBB0_21
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
leaq -48(%rbp), %rdi
movl -116(%rbp), %r9d
movl $32, %ecx
xorl %edx, %edx
leaq L_.str.3(%rip), %r8
movq %rcx, %rsi
movb $0, %al
callq ___snprintf_chk
leaq -48(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -128(%rbp)
leaq -80(%rbp), %rdi
movq -128(%rbp), %rdx
movl $255, %esi
callq _fgets
leaq -80(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq -128(%rbp), %rdi
callq _fclose
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_18
LBB0_21:
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 LBB0_23
## %bb.22:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _parent_func ## -- Begin function parent_func
.p2align 4, 0x90
_parent_func: ## @parent_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 $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -72(%rbp)
movl %esi, -76(%rbp)
movq %rdx, -88(%rbp)
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -23(%rbp)
movl $0, -20(%rbp)
movw $0, -22(%rbp)
movl $2, %edi
movl $1, %esi
movl $6, %edx
callq _socket
movl %eax, -92(%rbp)
movl -92(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _bind
movq -88(%rbp), %rdi
callq _inet_addr
movl %eax, -20(%rbp)
## %bb.1:
movl -76(%rbp), %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -96(%rbp) ## 4-byte Spill
## %bb.2:
movl -96(%rbp), %eax ## 4-byte Reload
movw %ax, -22(%rbp)
movl -92(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _connect
cmpl $0, %eax
je LBB1_4
## %bb.3:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, -68(%rbp)
jmp LBB1_5
LBB1_4:
leaq -64(%rbp), %rdi
movl -72(%rbp), %r9d
movl $128, %esi
xorl %edx, %edx
movl $25, %ecx
leaq L_.str.8(%rip), %r8
movb $0, %al
callq ___snprintf_chk
leaq -64(%rbp), %rsi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl -92(%rbp), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
leaq -64(%rbp), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rdi
callq _strlen
movl -108(%rbp), %edi ## 4-byte Reload
movq -104(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
xorl %ecx, %ecx
callq _send
movl $1, %edi
callq _sleep
movl -92(%rbp), %edi
leaq -64(%rbp), %rsi
movl $25, %edx
xorl %ecx, %ecx
callq _recv
leaq -64(%rbp), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
movl -92(%rbp), %edi
callq _close
movl $0, -68(%rbp)
LBB1_5:
movl -68(%rbp), %eax
movl %eax, -112(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_7
## %bb.6:
movl -112(%rbp), %eax ## 4-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB1_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _child_func ## -- Begin function child_func
.p2align 4, 0x90
_child_func: ## @child_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 $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -100(%rbp)
movl %esi, -104(%rbp)
movq %rdx, -112(%rbp)
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -23(%rbp)
movl $0, -20(%rbp)
movw $0, -22(%rbp)
movl $2, %edi
movl $1, %esi
movl $6, %edx
callq _socket
movl %eax, -116(%rbp)
movl -116(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _bind
movq -112(%rbp), %rdi
callq _inet_addr
movl %eax, -20(%rbp)
## %bb.1:
movl -104(%rbp), %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -132(%rbp) ## 4-byte Spill
## %bb.2:
movl -132(%rbp), %eax ## 4-byte Reload
movw %ax, -22(%rbp)
movl -116(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _connect
cmpl $0, %eax
je LBB2_4
## %bb.3:
leaq L_.str.11(%rip), %rdi
callq _perror
jmp LBB2_5
LBB2_4:
leaq -64(%rbp), %rdi
movl -100(%rbp), %r9d
movl $128, %esi
xorl %edx, %edx
movl $25, %ecx
leaq L_.str.12(%rip), %r8
movb $0, %al
callq ___snprintf_chk
movl -100(%rbp), %esi
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movl -116(%rbp), %eax
movl %eax, -148(%rbp) ## 4-byte Spill
leaq -64(%rbp), %rax
movq %rax, -144(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rdi
callq _strlen
movl -148(%rbp), %edi ## 4-byte Reload
movq -144(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
xorl %ecx, %ecx
callq _send
movl $1, %edi
callq _sleep
movl -116(%rbp), %edi
leaq -64(%rbp), %rsi
movl $25, %edx
xorl %ecx, %ecx
callq _recv
movl -100(%rbp), %esi
leaq -64(%rbp), %rdx
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rdi
movl -100(%rbp), %r9d
movl $32, %ecx
xorl %edx, %edx
leaq L_.str.3(%rip), %r8
movq %rcx, %rsi
movb $0, %al
callq ___snprintf_chk
leaq -96(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq _fopen
movq %rax, -128(%rbp)
movq -128(%rbp), %rdi
leaq -64(%rbp), %rsi
movb $0, %al
callq _fprintf
movq -128(%rbp), %rdi
callq _fclose
movl $1, %edi
callq _sleep
movl -116(%rbp), %edi
callq _close
LBB2_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_7
## %bb.6:
addq $160, %rsp
popq %rbp
retq
LBB2_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s <server> <port> [#ofchild]\n"
L_.str.1: ## @.str.1
.asciz "parent_func"
.comm _recv_pieces,8,3 ## @recv_pieces
L_.str.2: ## @.str.2
.asciz "\nData is received: \""
L_.str.3: ## @.str.3
.asciz "child%i"
L_.str.4: ## @.str.4
.asciz "r"
L_.str.5: ## @.str.5
.asciz "%s"
L_.str.6: ## @.str.6
.asciz "\"\n"
L_.str.7: ## @.str.7
.asciz "parent_client"
L_.str.8: ## @.str.8
.asciz "%i"
L_.str.9: ## @.str.9
.asciz "Sending \"%s\" command to server..\n"
L_.str.10: ## @.str.10
.asciz "\"%s\" from server\n"
L_.str.11: ## @.str.11
.asciz "client"
L_.str.12: ## @.str.12
.asciz "%i."
L_.str.13: ## @.str.13
.asciz "child #%i sent\n"
L_.str.14: ## @.str.14
.asciz "child #%i received \"%s\"\n"
L_.str.15: ## @.str.15
.asciz "w+"
.subsections_via_symbols
| the_stack_data/3806.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_palindrome ; -- Begin function is_palindrome
.p2align 2
_is_palindrome: ; @is_palindrome
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldr w10, [sp, #12]
ldr w11, [sp, #8]
subs w10, w10, w11
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
str wzr, [sp, #28]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_6:
mov w8, #1
str w8, [sp, #28]
b LBB0_7
LBB0_7:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
mov w0, #1
bl _exit
LBB1_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _strlen
mov x8, x0
str w8, [sp, #24]
ldr w8, [sp, #24]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsr x0, x8, #0
bl _malloc
str x0, [sp, #16]
ldr x0, [sp, #16]
ldur x8, [x29, #-16]
ldr x1, [x8, #8]
mov x2, #-1
bl ___strcpy_chk
ldr x0, [sp, #16]
ldr w1, [sp, #24]
bl _is_palindrome
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_5
LBB1_4:
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
b LBB1_5
LBB1_5:
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "This program takes one string argument"
l_.str.1: ; @.str.1
.asciz "%s is a palindrome\n"
l_.str.2: ; @.str.2
.asciz "%s is not a palindrome\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_palindrome ## -- Begin function is_palindrome
.p2align 4, 0x90
_is_palindrome: ## @is_palindrome
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl -20(%rbp), %eax
subl $1, %eax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -28(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movl -20(%rbp), %edx
subl -24(%rbp), %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je LBB0_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_6:
movl $1, -4(%rbp)
LBB0_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 $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB1_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
LBB1_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -32(%rbp), %rdi
movl -24(%rbp), %esi
callq _is_palindrome
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
je LBB1_4
## %bb.3:
movq -32(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_5
LBB1_4:
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB1_5:
movq -32(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "This program takes one string argument"
L_.str.1: ## @.str.1
.asciz "%s is a palindrome\n"
L_.str.2: ## @.str.2
.asciz "%s is not a palindrome\n"
.subsections_via_symbols
| the_stack_data/662816.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]
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
str wzr, [sp, #28]
adrp x8, l___const.main.s@PAGE
add x8, x8, l___const.main.s@PAGEOFF
ldr q0, [x8]
add x0, sp, #32
str x0, [sp, #16] ; 8-byte Folded Spill
str q0, [sp, #32]
bl _strlen
ldr w1, [sp, #12] ; 4-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
subs x8, x8, #1
mov x2, x8
bl _reverse
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _reverse ; -- Begin function reverse
.p2align 2
_reverse: ; @reverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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 w8, [sp, #4]
ldr w9, [sp]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
b LBB1_3
LBB1_2:
ldr x0, [sp, #8]
ldr w1, [sp, #4]
ldr w2, [sp]
bl _swap
ldr x0, [sp, #8]
ldr w8, [sp, #4]
add w1, w8, #1
str w1, [sp, #4]
ldr w8, [sp]
subs w2, w8, #1
str w2, [sp]
bl _reverse
b LBB1_3
LBB1_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
add x9, x9, x10
strb w8, [x9]
ldrb w8, [sp, #15]
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
add x9, x9, x10
strb w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.s: ; @__const.main.s
.asciz "Hello, World!!!"
l_.str: ; @.str
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movq L___const.main.s(%rip), %rax
movq %rax, -32(%rbp)
movq L___const.main.s+8(%rip), %rax
movq %rax, -24(%rbp)
leaq -32(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
leaq -32(%rbp), %rdi
callq _strlen
movq -48(%rbp), %rdi ## 8-byte Reload
subq $1, %rax
movl %eax, %edx
xorl %esi, %esi
callq _reverse
leaq -32(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _reverse ## -- Begin function reverse
.p2align 4, 0x90
_reverse: ## @reverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jl LBB1_2
## %bb.1:
jmp LBB1_3
LBB1_2:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -16(%rbp), %edx
callq _swap
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
addl $1, %esi
movl %esi, -12(%rbp)
movl -16(%rbp), %edx
addl $-1, %edx
movl %edx, -16(%rbp)
callq _reverse
LBB1_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb %dl, (%rax,%rcx)
movb -17(%rbp), %dl
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
.p2align 4 ## @__const.main.s
L___const.main.s:
.asciz "Hello, World!!!"
L_.str: ## @.str
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/34427.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _routine ; -- Begin function routine
.p2align 2
_routine: ; @routine
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
mov w9, #16960
movk w9, #15, lsl #16
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, _s@GOTPAGE
ldr x0, [x0, _s@GOTPAGEOFF]
str x0, [sp, #8] ; 8-byte Folded Spill
bl _sem_wait
adrp x0, _m@GOTPAGE
ldr x0, [x0, _m@GOTPAGEOFF]
str x0, [sp, #16] ; 8-byte Folded Spill
bl _pthread_mutex_lock
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x9, _mails@PAGE
ldr w8, [x9, _mails@PAGEOFF]
add w8, w8, #1
str w8, [x9, _mails@PAGEOFF]
bl _sem_post
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _pthread_mutex_unlock
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_4:
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, x1
mov w1, #0
str w1, [sp, #28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x8, [x29, #-16]
adrp x0, _s@GOTPAGE
ldr x0, [x0, _s@GOTPAGEOFF]
mov w2, #1
bl _sem_init
adrp x0, _m@GOTPAGE
ldr x0, [x0, _m@GOTPAGEOFF]
mov x1, #0
str x1, [sp, #16] ; 8-byte Folded Spill
bl _pthread_mutex_init
ldr x3, [sp, #16] ; 8-byte Folded Reload
sub x0, x29, #24
mov x1, x3
adrp x2, _routine@PAGE
add x2, x2, _routine@PAGEOFF
str x2, [sp, #8] ; 8-byte Folded Spill
bl _pthread_create
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr x3, [sp, #16] ; 8-byte Folded Reload
add x0, sp, #32
mov x1, x3
bl _pthread_create
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
bl _pthread_join
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #32]
bl _pthread_join
adrp x8, _mails@PAGE
ldr w9, [x8, _mails@PAGEOFF]
; 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, #28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _mails ; @mails
.zerofill __DATA,__common,_mails,4,2
.comm _s,4,2 ; @s
.comm _m,64,3 ; @m
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Number of mails: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _routine ## -- Begin function routine
.p2align 4, 0x90
_routine: ## @routine
.cfi_startproc
## %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
cmpl $1000000, -4(%rbp) ## imm = 0xF4240
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _s@GOTPCREL(%rip), %rdi
callq _sem_wait
movq _m@GOTPCREL(%rip), %rdi
callq _pthread_mutex_lock
movl _mails(%rip), %eax
addl $1, %eax
movl %eax, _mails(%rip)
movq _s@GOTPCREL(%rip), %rdi
callq _sem_post
movq _m@GOTPCREL(%rip), %rdi
callq _pthread_mutex_unlock
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
## kill: def $rax killed $eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq _s@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $1, %edx
callq _sem_init
movq _m@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_mutex_init
leaq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _routine(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
leaq -32(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _routine(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
movq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movq -32(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movl _mails(%rip), %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 _mails ## @mails
.zerofill __DATA,__common,_mails,4,2
.comm _s,4,2 ## @s
.comm _m,64,3 ## @m
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Number of mails: %d\n"
.subsections_via_symbols
| the_stack_data/59519.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, #-8]
stur wzr, [x29, #-12]
movi d0, #0000000000000000
stur s0, [x29, #-16]
stur s0, [x29, #-20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
subs w8, w8, w0
cset w8, ne
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
ldr s0, [sp, #24]
scvtf s1, s0
ldur s0, [x29, #-20]
fadd s0, s0, s1
stur s0, [x29, #-20]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
ldr s0, [sp, #24]
scvtf s1, s0
ldur s0, [x29, #-16]
fadd s0, s0, s1
stur s0, [x29, #-16]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_8:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
; implicit-def: $x9
mov x9, x8
ldur s0, [x29, #-16]
ldur s1, [x29, #-8]
scvtf s1, s1
fdiv s0, s0, s1
fcvt d0, s0
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-12]
; implicit-def: $x9
mov x9, x8
ldur s0, [x29, #-20]
ldur s1, [x29, #-12]
scvtf s1, s1
fdiv s0, s0, s1
fcvt d0, s0
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@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 "Enter a number to be analyzed (q or 0 to quit)\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Done.\n"
l_.str.3: ; @.str.3
.asciz "Odd number has %d, their average is %.1f.\n"
l_.str.4: ; @.str.4
.asciz "Even number has %d, their average is %.1f.\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, -8(%rbp)
movl $0, -12(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -16(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
movl %eax, %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %ecx
cmpl %edx, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -24(%rbp)
setne %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
cvtsi2ssl -24(%rbp), %xmm0
addss -20(%rbp), %xmm0
movss %xmm0, -20(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
cvtsi2ssl -24(%rbp), %xmm0
addss -16(%rbp), %xmm0
movss %xmm0, -16(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_8:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -8(%rbp), %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
movl -12(%rbp), %esi
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -12(%rbp), %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a number to be analyzed (q or 0 to quit)\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Done.\n"
L_.str.3: ## @.str.3
.asciz "Odd number has %d, their average is %.1f.\n"
L_.str.4: ## @.str.4
.asciz "Even number has %d, their average is %.1f.\n"
.subsections_via_symbols
| the_stack_data/33343.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
str w8, [sp, #24]
stur wzr, [x29, #-20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-8]
ldur w10, [x29, #-12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
sdiv w9, w8, w9
ldr w8, [sp, #24]
add w8, w8, w9
str w8, [sp, #24]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
sdiv w8, w8, w9
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
ldur w9, [x29, #-20]
add w8, w8, w9
stur w8, [x29, #-8]
b LBB0_3
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #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
b LBB0_1
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $-1, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -24(%rbp)
movl $0, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jl LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %edx, -20(%rbp)
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -8(%rbp)
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_6:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/123191.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #20
str x8, [x9]
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]
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 w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
sub x8, x29, #20
ldur w9, [x29, #-20]
stur w9, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
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:
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
add w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_8
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Vvedite kolichestvo chisel:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "1 = "
l_.str.3: ; @.str.3
.asciz "%d = "
l_.str.4: ; @.str.4
.asciz "0\n"
l_.str.5: ; @.str.5
.asciz "1\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 -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl $2, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %eax
movl %eax, -16(%rbp)
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB0_4
## %bb.3:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
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:
movl -12(%rbp), %eax
movl -8(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jne LBB0_8
## %bb.7:
leaq L_.str.5(%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 "Vvedite kolichestvo chisel:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "1 = "
L_.str.3: ## @.str.3
.asciz "%d = "
L_.str.4: ## @.str.4
.asciz "0\n"
L_.str.5: ## @.str.5
.asciz "1\n"
.subsections_via_symbols
| the_stack_data/445010.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_7 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #12]
b LBB0_7
LBB0_7: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_12:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the number of rows"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "*"
l_.str.4: ; @.str.4
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
cmpl $1, -12(%rbp)
jl LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl $1, -20(%rbp)
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_12:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the number of rows"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "*"
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| the_stack_data/231393991.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]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
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@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #0
cset w8, eq
mov w9, #0
stur w9, [x29, #-24] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
mov w9, #1
stur w9, [x29, #-28] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
mov w9, #1
stur w9, [x29, #-28] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
mov w9, #1
stur w9, [x29, #-28] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
stur w8, [x29, #-28] ; 4-byte Folded Spill
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28] ; 4-byte Folded Reload
stur w8, [x29, #-24] ; 4-byte Folded Spill
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24] ; 4-byte Folded Reload
tbz w8, #0, LBB0_21
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_1
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
ldur w9, [x29, #-20]
ldur w10, [x29, #-12]
subs w9, w9, w10
adds w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
mov w9, #0
ldur w10, [x29, #-20]
ldur w11, [x29, #-12]
subs w10, w10, w11
subs w9, w9, w10
adds w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
ldur w9, [x29, #-20]
ldur w10, [x29, #-12]
subs w9, w9, w10
adds w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w8, w8, w9
ldur w9, [x29, #-20]
ldur w10, [x29, #-12]
subs w9, w9, w10
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_1
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_21:
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 %d %d"
l_.str.1: ; @.str.1
.asciz "0\n"
l_.str.2: ; @.str.2
.asciz "1\n"
l_.str.3: ; @.str.3
.asciz "2\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
leaq -20(%rbp), %r8
movb $0, %al
callq _scanf
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movb $1, %al
cmpl $0, -8(%rbp)
movb %al, -22(%rbp) ## 1-byte Spill
jne LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movb $1, %al
cmpl $0, -12(%rbp)
movb %al, -22(%rbp) ## 1-byte Spill
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movb $1, %al
cmpl $0, -16(%rbp)
movb %al, -22(%rbp) ## 1-byte Spill
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -20(%rbp)
setne %al
movb %al, -22(%rbp) ## 1-byte Spill
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movb -22(%rbp), %al ## 1-byte Reload
movb %al, -21(%rbp) ## 1-byte Spill
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_8
jmp LBB0_21
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jne LBB0_11
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
subl -8(%rbp), %eax
movl -20(%rbp), %edx
subl -12(%rbp), %edx
xorl %ecx, %ecx
subl %edx, %ecx
cmpl %ecx, %eax
je LBB0_15
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %ecx
subl -8(%rbp), %ecx
xorl %eax, %eax
subl %ecx, %eax
movl -20(%rbp), %edx
subl -12(%rbp), %edx
xorl %ecx, %ecx
subl %edx, %ecx
cmpl %ecx, %eax
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %ecx
subl -8(%rbp), %ecx
xorl %eax, %eax
subl %ecx, %eax
movl -20(%rbp), %ecx
subl -12(%rbp), %ecx
cmpl %ecx, %eax
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
subl -8(%rbp), %eax
movl -20(%rbp), %ecx
subl -12(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_16
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jne LBB0_19
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_20
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_21:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d %d"
L_.str.1: ## @.str.1
.asciz "0\n"
L_.str.2: ## @.str.2
.asciz "1\n"
L_.str.3: ## @.str.3
.asciz "2\n"
.subsections_via_symbols
| the_stack_data/125140749.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmp ; -- Begin function cmp
.p2align 2
_cmp: ; @cmp
.cfi_startproc
; %bb.0:
sub sp, sp, #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:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-20]
stur wzr, [x29, #-28]
str wzr, [sp, #32]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_4:
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldursw x1, [x29, #-8]
mov x2, #4
adrp x3, _cmp@PAGE
add x3, x3, _cmp@PAGEOFF
bl _qsort
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-8]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
stur w8, [x29, #-24]
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_13
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
ldursw x10, [x29, #-12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB1_9
LBB1_8: ; in Loop: Header=BB1_5 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur w10, [x29, #-20]
mov w8, #1
add w10, w10, #1
stur w10, [x29, #-20]
ldur w10, [x29, #-24]
str w10, [sp, #28]
ldursw x10, [x29, #-12]
ldr w9, [x9, x10, lsl #2]
stur w9, [x29, #-24]
ldr w9, [sp, #32]
stur w9, [x29, #-28]
str w8, [sp, #32]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_5 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
b LBB1_13
LBB1_11: ; in Loop: Header=BB1_5 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_5 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB1_5
LBB1_13:
ldr w8, [sp, #28]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.comm _a,40000000,2 ; @a
l_.str.1: ; @.str.1
.asciz "%d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmp ## -- Begin function cmp
.p2align 4, 0x90
_cmp: ## @cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -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 $48, %rsp
movl $0, -4(%rbp)
movl $0, -20(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -12(%rbp), %rax
movq _a@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
movslq -8(%rbp), %rsi
movq _a@GOTPCREL(%rip), %rdi
movl $4, %edx
leaq _cmp(%rip), %rcx
callq _qsort
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -12(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jl LBB1_13
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movl -24(%rbp), %eax
movslq -12(%rbp), %rdx
movq _a@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jne LBB1_8
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_9
LBB1_8: ## in Loop: Header=BB1_5 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl %eax, -36(%rbp)
movslq -12(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
movl -32(%rbp), %eax
movl %eax, -28(%rbp)
movl $1, -32(%rbp)
LBB1_9: ## in Loop: Header=BB1_5 Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jne LBB1_11
## %bb.10:
jmp LBB1_13
LBB1_11: ## in Loop: Header=BB1_5 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_5 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB1_5
LBB1_13:
movl -36(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _a,40000000,4 ## @a
L_.str.1: ## @.str.1
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/34512738.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, #2464
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
mov w8, #-1
str w8, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
ldrsw x10, [sp, #48]
add x8, sp, #1656
mov x9, x8
add x10, x9, x10, lsl #3
ldrsw x9, [sp, #48]
add x8, x8, x9, lsl #3
add x8, x8, #4
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x8, [sp, #48]
lsl x9, x8, #3
add x8, sp, #1656
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_3
LBB0_3:
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #44]
ldr w1, [sp, #44]
add x0, sp, #1656
bl _sortf
mov w8, #-1
str w8, [sp, #48]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
ldrsw x10, [sp, #48]
add x8, sp, #856
mov x9, x8
add x10, x9, x10, lsl #3
ldrsw x9, [sp, #48]
add x8, x8, x9, lsl #3
add x8, x8, #4
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [sp, #48]
lsl x9, x8, #3
add x8, sp, #856
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_6
LBB0_6:
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #40]
ldr w1, [sp, #40]
add x0, sp, #856
bl _sortf
str wzr, [sp, #36]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldrsw x8, [sp, #36]
lsl x9, x8, #3
add x8, sp, #1656
ldr w0, [x8, x9]
ldr w2, [sp, #40]
add x1, sp, #856
bl _searchf
str w0, [sp, #32]
ldr w8, [sp, #32]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldrsw x10, [sp, #36]
add x8, sp, #1656
mov x9, x8
add x9, x9, x10, lsl #3
ldr w10, [x9, #4]
ldrsw x12, [sp, #32]
add x9, sp, #856
mov x11, x9
add x11, x11, x12, lsl #3
ldr w11, [x11, #4]
add w11, w10, w11
ldrsw x13, [sp, #36]
add x10, sp, #56
mov x12, x10
add x12, x12, x13, lsl #3
str w11, [x12, #4]
ldrsw x11, [sp, #36]
lsl x11, x11, #3
ldr w8, [x8, x11]
ldrsw x11, [sp, #36]
lsl x11, x11, #3
str w8, [x10, x11]
ldrsw x10, [sp, #32]
mov x8, x9
add x10, x8, x10, lsl #3
mov w8, #111
str w8, [x10, #4]
ldrsw x10, [sp, #32]
lsl x10, x10, #3
str w8, [x9, x10]
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
ldrsw x10, [sp, #36]
add x9, sp, #56
ldrsw x11, [sp, #36]
add x8, sp, #1656
ldr x8, [x8, x11, lsl #3]
str x8, [x9, x10, lsl #3]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_7
LBB0_13:
str wzr, [sp, #28]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldrsw x8, [sp, #28]
lsl x9, x8, #3
add x8, sp, #856
ldr w8, [x8, x9]
subs w8, w8, #111
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldrsw x10, [sp, #36]
mov x8, x10
add w8, w8, #1
str w8, [sp, #36]
add x9, sp, #56
ldrsw x11, [sp, #28]
add x8, sp, #856
ldr x8, [x8, x11, lsl #3]
str x8, [x9, x10, lsl #3]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_14 Depth=1
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_14
LBB0_19:
ldr w1, [sp, #36]
add x0, sp, #56
bl _sortf
str wzr, [sp, #24]
str wzr, [sp, #20]
b LBB0_20
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #20]
lsl x9, x8, #3
add x8, sp, #56
ldr w8, [x8, x9]
subs w8, w8, #1
cset w8, gt
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
b LBB0_39
LBB0_22: ; in Loop: Header=BB0_20 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_36
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_20 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_20 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_20 Depth=1
ldrsw x8, [sp, #20]
lsl x9, x8, #3
add x8, sp, #56
ldr w9, [x8, x9]
; 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_27
LBB0_26: ; in Loop: Header=BB0_20 Depth=1
ldrsw x10, [sp, #20]
add x8, sp, #56
mov x9, x8
add x9, x9, x10, lsl #3
ldr w9, [x9, #4]
; implicit-def: $x10
mov x10, x9
ldrsw x9, [sp, #20]
lsl x9, x9, #3
ldr w9, [x8, x9]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_20 Depth=1
b LBB0_35
LBB0_28: ; in Loop: Header=BB0_20 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_20 Depth=1
ldrsw x8, [sp, #20]
lsl x9, x8, #3
add x8, sp, #56
ldr w9, [x8, x9]
; 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_34
LBB0_30: ; in Loop: Header=BB0_20 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_20 Depth=1
ldrsw x10, [sp, #20]
add x8, sp, #56
mov x9, x8
add x9, x9, x10, lsl #3
ldr w9, [x9, #4]
; implicit-def: $x10
mov x10, x9
ldrsw x9, [sp, #20]
lsl x9, x9, #3
ldr w9, [x8, x9]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_20 Depth=1
ldrsw x10, [sp, #20]
add x8, sp, #56
mov x9, x8
add x9, x9, x10, lsl #3
ldr w9, [x9, #4]
; implicit-def: $x10
mov x10, x9
ldrsw x9, [sp, #20]
lsl x9, x9, #3
ldr w9, [x8, x9]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_20 Depth=1
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_20 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_20 Depth=1
b LBB0_37
LBB0_36: ; in Loop: Header=BB0_20 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_20 Depth=1
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_20 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_20
LBB0_39:
ldrsw x8, [sp, #20]
lsl x9, x8, #3
add x8, sp, #56
ldr w8, [x8, x9]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_56
b LBB0_40
LBB0_40:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_41
LBB0_41:
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_46
b LBB0_42
LBB0_42:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_45
LBB0_44:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w9, [x8, #4]
; 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_45
LBB0_45:
b LBB0_53
LBB0_46:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_52
LBB0_48:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w9, [x8, #4]
; 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_51
LBB0_50:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w9, [x8, #4]
; 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_51
LBB0_51:
b LBB0_52
LBB0_52:
b LBB0_53
LBB0_53:
b LBB0_55
LBB0_54:
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_55
LBB0_55:
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_56
LBB0_56:
ldrsw x8, [sp, #20]
lsl x9, x8, #3
add x8, sp, #56
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_67
b LBB0_57
LBB0_57:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_65
b LBB0_58
LBB0_58:
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_60
b LBB0_59
LBB0_59:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w9, [x8, #4]
; 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 LBB0_64
LBB0_60:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_62
b LBB0_61
LBB0_61:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w9, [x8, #4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_63
LBB0_62:
ldrsw x9, [sp, #20]
add x8, sp, #56
add x8, x8, x9, lsl #3
ldr w9, [x8, #4]
; 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 LBB0_63
LBB0_63:
b LBB0_64
LBB0_64:
b LBB0_66
LBB0_65:
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_66
LBB0_66:
b LBB0_67
LBB0_67:
ldr w8, [sp, #24]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_69
b LBB0_68
LBB0_68:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_69
LBB0_69:
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_71
b LBB0_70
LBB0_70:
bl ___stack_chk_fail
LBB0_71:
mov w0, #0
add sp, sp, #2464
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _sortf ; -- Begin function sortf
.p2align 2
_sortf: ; @sortf
.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]
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 w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
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 w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
lsl x9, x9, #3
ldr w8, [x8, x9]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
lsl x10, x10, #3
ldr w9, [x9, x10]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
str x8, [sp]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
ldr x8, [sp, #24]
ldrsw x11, [sp, #12]
ldr x8, [x8, x11, lsl #3]
str x8, [x9, x10, lsl #3]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
ldr x8, [sp]
str x8, [x9, x10, lsl #3]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=2
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_10:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _searchf ; -- Begin function searchf
.p2align 2
_searchf: ; @searchf
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, #44]
str x1, [sp, #32]
str w2, [sp, #28]
mov w8, #-1
str w8, [sp, #24]
str wzr, [sp, #20]
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_9
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #44]
ldr x9, [sp, #32]
ldrsw x10, [sp, #12]
lsl x10, x10, #3
ldr w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldr w8, [sp, #12]
str w8, [sp, #24]
b LBB2_9
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #44]
ldr x9, [sp, #32]
ldrsw x10, [sp, #12]
lsl x10, x10, #3
ldr w9, [x9, x10]
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 w8, [sp, #12]
str w8, [sp, #16]
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB2_7
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
str w8, [sp, #20]
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_9:
ldr w8, [sp, #44]
ldr x9, [sp, #32]
ldrsw x10, [sp, #20]
lsl x10, x10, #3
ldr w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
ldr w8, [sp, #20]
str w8, [sp, #24]
b LBB2_14
LBB2_11:
ldr w8, [sp, #44]
ldr x9, [sp, #32]
ldrsw x10, [sp, #16]
lsl x10, x10, #3
ldr w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_13
b LBB2_12
LBB2_12:
ldr w8, [sp, #16]
str w8, [sp, #24]
b LBB2_13
LBB2_13:
b LBB2_14
LBB2_14:
ldr w0, [sp, #24]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "x%d"
l_.str.2: ; @.str.2
.asciz "%dx%d"
l_.str.3: ; @.str.3
.asciz "+x%d"
l_.str.4: ; @.str.4
.asciz "+%dx%d"
l_.str.5: ; @.str.5
.asciz "x"
l_.str.6: ; @.str.6
.asciz "%dx"
l_.str.7: ; @.str.7
.asciz "+x"
l_.str.8: ; @.str.8
.asciz "+%dx"
l_.str.9: ; @.str.9
.asciz "%d"
l_.str.10: ; @.str.10
.asciz "+%d"
l_.str.11: ; @.str.11
.asciz "0"
.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 $2464, %rsp ## imm = 0x9A0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2420(%rbp)
movl $-1, -2424(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -2424(%rbp), %eax
addl $1, %eax
movl %eax, -2424(%rbp)
movslq -2424(%rbp), %rax
leaq -816(%rbp), %rsi
shlq $3, %rax
addq %rax, %rsi
movslq -2424(%rbp), %rax
leaq -816(%rbp), %rdx
shlq $3, %rax
addq %rax, %rdx
addq $4, %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -2424(%rbp), %rax
cmpl $0, -816(%rbp,%rax,8)
jne LBB0_1
## %bb.3:
movl -2424(%rbp), %eax
addl $1, %eax
movl %eax, -2428(%rbp)
leaq -816(%rbp), %rdi
movl -2428(%rbp), %esi
callq _sortf
movl $-1, -2424(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -2424(%rbp), %eax
addl $1, %eax
movl %eax, -2424(%rbp)
movslq -2424(%rbp), %rax
leaq -1616(%rbp), %rsi
shlq $3, %rax
addq %rax, %rsi
movslq -2424(%rbp), %rax
leaq -1616(%rbp), %rdx
shlq $3, %rax
addq %rax, %rdx
addq $4, %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq -2424(%rbp), %rax
cmpl $0, -1616(%rbp,%rax,8)
jne LBB0_4
## %bb.6:
movl -2424(%rbp), %eax
addl $1, %eax
movl %eax, -2432(%rbp)
leaq -1616(%rbp), %rdi
movl -2432(%rbp), %esi
callq _sortf
movl $0, -2436(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -2436(%rbp), %eax
cmpl -2428(%rbp), %eax
jge LBB0_13
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movslq -2436(%rbp), %rax
movl -816(%rbp,%rax,8), %edi
leaq -1616(%rbp), %rsi
movl -2432(%rbp), %edx
callq _searchf
movl %eax, -2440(%rbp)
cmpl $-1, -2440(%rbp)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movslq -2436(%rbp), %rax
movl -812(%rbp,%rax,8), %ecx
movslq -2440(%rbp), %rax
addl -1612(%rbp,%rax,8), %ecx
movslq -2436(%rbp), %rax
movl %ecx, -2412(%rbp,%rax,8)
movslq -2436(%rbp), %rax
movl -816(%rbp,%rax,8), %ecx
movslq -2436(%rbp), %rax
movl %ecx, -2416(%rbp,%rax,8)
movslq -2440(%rbp), %rax
movl $111, -1612(%rbp,%rax,8)
movslq -2440(%rbp), %rax
movl $111, -1616(%rbp,%rax,8)
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movslq -2436(%rbp), %rax
movslq -2436(%rbp), %rcx
movq -816(%rbp,%rcx,8), %rcx
movq %rcx, -2416(%rbp,%rax,8)
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_7 Depth=1
movl -2436(%rbp), %eax
addl $1, %eax
movl %eax, -2436(%rbp)
jmp LBB0_7
LBB0_13:
movl $0, -2444(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl -2444(%rbp), %eax
cmpl -2432(%rbp), %eax
jge LBB0_19
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movslq -2444(%rbp), %rax
cmpl $111, -1616(%rbp,%rax,8)
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movl -2436(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -2436(%rbp)
cltq
movslq -2444(%rbp), %rcx
movq -1616(%rbp,%rcx,8), %rcx
movq %rcx, -2416(%rbp,%rax,8)
LBB0_17: ## in Loop: Header=BB0_14 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_14 Depth=1
movl -2444(%rbp), %eax
addl $1, %eax
movl %eax, -2444(%rbp)
jmp LBB0_14
LBB0_19:
leaq -2416(%rbp), %rdi
movl -2436(%rbp), %esi
callq _sortf
movl $0, -2448(%rbp)
movl $0, -2452(%rbp)
LBB0_20: ## =>This Inner Loop Header: Depth=1
movslq -2452(%rbp), %rax
cmpl $1, -2416(%rbp,%rax,8)
jg LBB0_22
## %bb.21:
jmp LBB0_39
LBB0_22: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
cmpl $0, -2412(%rbp,%rax,8)
je LBB0_36
## %bb.23: ## in Loop: Header=BB0_20 Depth=1
movl -2448(%rbp), %eax
cmpl -2452(%rbp), %eax
jne LBB0_28
## %bb.24: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
cmpl $1, -2412(%rbp,%rax,8)
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
movl -2416(%rbp,%rax,8), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_27
LBB0_26: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
movslq -2452(%rbp), %rax
movl -2416(%rbp,%rax,8), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_27: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_35
LBB0_28: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
cmpl $1, -2412(%rbp,%rax,8)
jne LBB0_30
## %bb.29: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
movl -2416(%rbp,%rax,8), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_34
LBB0_30: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
cmpl $0, -2412(%rbp,%rax,8)
jle LBB0_32
## %bb.31: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
movslq -2452(%rbp), %rax
movl -2416(%rbp,%rax,8), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_33
LBB0_32: ## in Loop: Header=BB0_20 Depth=1
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
movslq -2452(%rbp), %rax
movl -2416(%rbp,%rax,8), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_33: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_34
LBB0_34: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_37
LBB0_36: ## in Loop: Header=BB0_20 Depth=1
movl -2448(%rbp), %eax
addl $1, %eax
movl %eax, -2448(%rbp)
LBB0_37: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_38
LBB0_38: ## in Loop: Header=BB0_20 Depth=1
movl -2452(%rbp), %eax
addl $1, %eax
movl %eax, -2452(%rbp)
jmp LBB0_20
LBB0_39:
movslq -2452(%rbp), %rax
cmpl $1, -2416(%rbp,%rax,8)
jne LBB0_56
## %bb.40:
movslq -2452(%rbp), %rax
cmpl $0, -2412(%rbp,%rax,8)
je LBB0_54
## %bb.41:
movl -2448(%rbp), %eax
cmpl -2452(%rbp), %eax
jne LBB0_46
## %bb.42:
movslq -2452(%rbp), %rax
cmpl $1, -2412(%rbp,%rax,8)
jne LBB0_44
## %bb.43:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_45
LBB0_44:
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_45:
jmp LBB0_53
LBB0_46:
movslq -2452(%rbp), %rax
cmpl $1, -2412(%rbp,%rax,8)
jne LBB0_48
## %bb.47:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_52
LBB0_48:
movslq -2452(%rbp), %rax
cmpl $0, -2412(%rbp,%rax,8)
jle LBB0_50
## %bb.49:
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_51
LBB0_50:
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_51:
jmp LBB0_52
LBB0_52:
jmp LBB0_53
LBB0_53:
jmp LBB0_55
LBB0_54:
movl -2448(%rbp), %eax
addl $1, %eax
movl %eax, -2448(%rbp)
LBB0_55:
movl -2452(%rbp), %eax
addl $1, %eax
movl %eax, -2452(%rbp)
LBB0_56:
movslq -2452(%rbp), %rax
cmpl $0, -2416(%rbp,%rax,8)
jne LBB0_67
## %bb.57:
movslq -2452(%rbp), %rax
cmpl $0, -2412(%rbp,%rax,8)
je LBB0_65
## %bb.58:
movl -2448(%rbp), %eax
cmpl -2452(%rbp), %eax
jne LBB0_60
## %bb.59:
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_64
LBB0_60:
movslq -2452(%rbp), %rax
cmpl $0, -2412(%rbp,%rax,8)
jle LBB0_62
## %bb.61:
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_63
LBB0_62:
movslq -2452(%rbp), %rax
movl -2412(%rbp,%rax,8), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB0_63:
jmp LBB0_64
LBB0_64:
jmp LBB0_66
LBB0_65:
movl -2448(%rbp), %eax
addl $1, %eax
movl %eax, -2448(%rbp)
LBB0_66:
jmp LBB0_67
LBB0_67:
movl -2448(%rbp), %eax
cmpl -2436(%rbp), %eax
jne LBB0_69
## %bb.68:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB0_69:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_71
## %bb.70:
xorl %eax, %eax
addq $2464, %rsp ## imm = 0x9A0
popq %rbp
retq
LBB0_71:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _sortf ## -- Begin function sortf
.p2align 4, 0x90
_sortf: ## @sortf
.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)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB1_10
## %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
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_8
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,8), %eax
jge LBB1_6
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq -8(%rbp), %rdx
movslq -20(%rbp), %rsi
movq (%rdx,%rsi,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movq -32(%rbp), %rdx
movq %rdx, (%rax,%rcx,8)
LBB1_6: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_3
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _searchf ## -- Begin function searchf
.p2align 4, 0x90
_searchf: ## @searchf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl $-1, -24(%rbp)
movl $0, -28(%rbp)
movl -20(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
addl -32(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -36(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -28(%rbp), %eax
je LBB2_9
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -4(%rbp), %eax
movq -16(%rbp), %rcx
movslq -36(%rbp), %rdx
cmpl (%rcx,%rdx,8), %eax
jne LBB2_4
## %bb.3:
movl -36(%rbp), %eax
movl %eax, -24(%rbp)
jmp LBB2_9
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl -4(%rbp), %eax
movq -16(%rbp), %rcx
movslq -36(%rbp), %rdx
cmpl (%rcx,%rdx,8), %eax
jle LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl -36(%rbp), %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
addl -32(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -36(%rbp)
jmp LBB2_7
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movl -36(%rbp), %eax
movl %eax, -28(%rbp)
movl -28(%rbp), %eax
addl -32(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -36(%rbp)
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_9:
movl -4(%rbp), %eax
movq -16(%rbp), %rcx
movslq -28(%rbp), %rdx
cmpl (%rcx,%rdx,8), %eax
jne LBB2_11
## %bb.10:
movl -28(%rbp), %eax
movl %eax, -24(%rbp)
jmp LBB2_14
LBB2_11:
movl -4(%rbp), %eax
movq -16(%rbp), %rcx
movslq -32(%rbp), %rdx
cmpl (%rcx,%rdx,8), %eax
jne LBB2_13
## %bb.12:
movl -32(%rbp), %eax
movl %eax, -24(%rbp)
LBB2_13:
jmp LBB2_14
LBB2_14:
movl -24(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "x%d"
L_.str.2: ## @.str.2
.asciz "%dx%d"
L_.str.3: ## @.str.3
.asciz "+x%d"
L_.str.4: ## @.str.4
.asciz "+%dx%d"
L_.str.5: ## @.str.5
.asciz "x"
L_.str.6: ## @.str.6
.asciz "%dx"
L_.str.7: ## @.str.7
.asciz "+x"
L_.str.8: ## @.str.8
.asciz "+%dx"
L_.str.9: ## @.str.9
.asciz "%d"
L_.str.10: ## @.str.10
.asciz "+%d"
L_.str.11: ## @.str.11
.asciz "0"
.subsections_via_symbols
| the_stack_data/87639109.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bz_internal_error ; -- Begin function bz_internal_error
.p2align 2
_bz_internal_error: ; @bz_internal_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
stur w0, [x29, #-4]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
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 "BZip2 fatal error %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bz_internal_error ## -- Begin function bz_internal_error
.p2align 4, 0x90
_bz_internal_error: ## @bz_internal_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
movl %edi, -4(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "BZip2 fatal error %d\n"
.subsections_via_symbols
| the_stack_data/115405.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _factorial ; -- Begin function factorial
.p2align 2
_factorial: ; @factorial
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w8, #1
str w8, [sp, #8]
mov w8, #2
str w8, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, hi
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #4]
ldr w8, [sp, #8]
mul w8, w8, w9
str w8, [sp, #8]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_4:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
ldur w0, [x29, #-8]
bl _factorial
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_3
LBB1_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a non-negative number: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Factorial of a negative integer cannot be found"
l_.str.3: ; @.str.3
.asciz "Factorial of %d is %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _factorial ## -- Begin function factorial
.p2align 4, 0x90
_factorial: ## @factorial
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $1, -8(%rbp)
movl $2, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -4(%rbp), %eax
ja LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
imull -8(%rbp), %eax
movl %eax, -8(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
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)
jge LBB1_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
callq _factorial
movl -12(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB1_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a non-negative number: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Factorial of a negative integer cannot be found"
L_.str.3: ## @.str.3
.asciz "Factorial of %d is %d"
.subsections_via_symbols
| the_stack_data/64472.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getopt_long ; -- Begin function getopt_long
.p2align 2
_getopt_long: ; @getopt_long
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
str x4, [sp, #8]
adrp x8, _optarg@GOTPAGE
ldr x8, [x8, _optarg@GOTPAGEOFF]
; kill: def $x9 killed $xzr
str xzr, [x8]
adrp x8, _optopt@GOTPAGE
ldr x8, [x8, _optopt@GOTPAGEOFF]
str wzr, [x8]
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8, #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_18
LBB0_4:
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8, #1]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8, #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x9, _optind@PAGE
ldr w8, [x9, _optind@PAGEOFF]
add w8, w8, #1
str w8, [x9, _optind@PAGEOFF]
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_18
LBB0_7:
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #43
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_9
LBB0_9:
strb wzr, [sp, #7]
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #58
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
mov w8, #1
strb w8, [sp, #7]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_11
LBB0_11:
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8, #1]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13:
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
ldrb w8, [sp, #7]
and w3, w8, #0x1
bl _handleShortOption
str w0, [sp]
adrp x8, _optarg@GOTPAGE
ldr x8, [x8, _optarg@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14:
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
adrp x9, _shortIndex@PAGE
ldr x9, [x9, _shortIndex@PAGEOFF]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
adrp x9, _optind@PAGE
ldr w8, [x9, _optind@PAGEOFF]
add w8, w8, #1
str w8, [x9, _optind@PAGEOFF]
mov x8, #1
adrp x9, _shortIndex@PAGE
str x8, [x9, _shortIndex@PAGEOFF]
b LBB0_16
LBB0_16:
ldr w8, [sp]
stur w8, [x29, #-4]
b LBB0_18
LBB0_17:
ldur x8, [x29, #-16]
adrp x11, _optind@PAGE
ldrsw x9, [x11, _optind@PAGEOFF]
mov x10, x9
add w10, w10, #1
str w10, [x11, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
add x0, x8, #2
ldr x1, [sp, #16]
ldr x2, [sp, #8]
ldrb w8, [sp, #7]
and w3, w8, #0x1
bl _handleLongOption
stur w0, [x29, #-4]
b LBB0_18
LBB0_18:
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 handleShortOption
_handleShortOption: ; @handleShortOption
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
mov w8, #1
and w8, w3, w8
strb w8, [sp, #23]
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
adrp x11, _shortIndex@PAGE
ldr x9, [x11, _shortIndex@PAGEOFF]
add x10, x9, #1
str x10, [x11, _shortIndex@PAGEOFF]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #22]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
ldrsb w9, [sp, #22]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_19
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldrsb w8, [sp, #22]
subs w8, w8, #58
cset w8, eq
tbnz w8, #0, LBB1_19
b LBB1_4
LBB1_4:
ldr x8, [sp, #24]
ldrsb w8, [x8, #1]
subs w8, w8, #58
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_5
LBB1_5:
ldr x8, [sp, #24]
ldrsb w8, [x8, #2]
subs w8, w8, #58
cset w8, eq
mov w9, #1
and w8, w8, w9
strb w8, [sp, #21]
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldrsw x9, [x9, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
adrp x9, _shortIndex@PAGE
ldr x9, [x9, _shortIndex@PAGEOFF]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
ldur x8, [x29, #-16]
adrp x10, _optind@PAGE
ldrsw x9, [x10, _optind@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
adrp x9, _shortIndex@PAGE
ldr x11, [x9, _shortIndex@PAGEOFF]
add x8, x8, x11
adrp x11, _optarg@GOTPAGE
ldr x11, [x11, _optarg@GOTPAGEOFF]
str x8, [x11]
ldr w8, [x10, _optind@PAGEOFF]
add w8, w8, #1
str w8, [x10, _optind@PAGEOFF]
mov x8, #1
str x8, [x9, _shortIndex@PAGEOFF]
b LBB1_17
LBB1_7:
ldrb w8, [sp, #21]
tbnz w8, #0, LBB1_10
b LBB1_8
LBB1_8:
adrp x8, _optind@PAGE
ldr w8, [x8, _optind@PAGEOFF]
add w8, w8, #1
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldur x8, [x29, #-16]
adrp x9, _optind@PAGE
ldr w10, [x9, _optind@PAGEOFF]
add w10, w10, #1
ldr x8, [x8, w10, sxtw #3]
adrp x10, _optarg@GOTPAGE
ldr x10, [x10, _optarg@GOTPAGEOFF]
str x8, [x10]
ldr w8, [x9, _optind@PAGEOFF]
add w8, w8, #2
str w8, [x9, _optind@PAGEOFF]
mov x8, #1
adrp x9, _shortIndex@PAGE
str x8, [x9, _shortIndex@PAGEOFF]
b LBB1_16
LBB1_10:
ldrb w8, [sp, #21]
tbnz w8, #0, LBB1_15
b LBB1_11
LBB1_11:
ldrsb w8, [sp, #22]
adrp x9, _optopt@GOTPAGE
ldr x9, [x9, _optopt@GOTPAGEOFF]
str w8, [x9]
adrp x8, _opterr@PAGE
ldr w8, [x8, _opterr@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_12
LBB1_12:
ldrb w8, [sp, #23]
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
ldrsb w10, [sp, #22]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _warnx
b LBB1_14
LBB1_14:
ldrb w8, [sp, #23]
eor w8, w8, #0x1
and w10, w8, #0x1
mov w9, #58
mov w8, #63
ands w10, w10, #0x1
csel w8, w8, w9, ne
strb w8, [sp, #22]
b LBB1_15
LBB1_15:
b LBB1_16
LBB1_16:
b LBB1_17
LBB1_17:
b LBB1_18
LBB1_18:
ldrsb w8, [sp, #22]
stur w8, [x29, #-4]
b LBB1_24
LBB1_19: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB1_1
LBB1_20:
ldrsb w8, [sp, #22]
adrp x9, _optopt@GOTPAGE
ldr x9, [x9, _optopt@GOTPAGEOFF]
str w8, [x9]
adrp x8, _opterr@PAGE
ldr w8, [x8, _opterr@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_23
b LBB1_21
LBB1_21:
ldrb w8, [sp, #23]
tbnz w8, #0, LBB1_23
b LBB1_22
LBB1_22:
ldrsb w10, [sp, #22]
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 _warnx
b LBB1_23
LBB1_23:
mov w8, #63
stur w8, [x29, #-4]
b LBB1_24
LBB1_24:
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 handleLongOption
_handleLongOption: ; @handleLongOption
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
mov w8, #1
and w8, w3, w8
strb w8, [sp, #31]
ldur x0, [x29, #-16]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strcspn
str x0, [sp, #16]
str xzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
lsl x9, x9, #5
ldr x8, [x8, x9]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_26
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x0, [x29, #-16]
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
lsl x9, x9, #5
ldr x1, [x8, x9]
ldr x2, [sp, #16]
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB2_24
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
lsl x9, x9, #5
ldr x8, [x8, x9]
ldr x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_24
b LBB2_4
LBB2_4:
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_10
b LBB2_5
LBB2_5:
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
add x8, x8, x9, lsl #5
ldr w8, [x8, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_10
b LBB2_6
LBB2_6:
adrp x8, _opterr@PAGE
ldr w8, [x8, _opterr@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_9
b LBB2_7
LBB2_7:
ldrb w8, [sp, #31]
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _warnx
b LBB2_9
LBB2_9:
ldrb w8, [sp, #31]
eor w8, w8, #0x1
and w10, w8, #0x1
mov w9, #58
mov w8, #63
ands w10, w10, #0x1
csel w8, w8, w9, ne
stur w8, [x29, #-4]
b LBB2_30
LBB2_10:
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_11
LBB2_11:
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
add x8, x8, x9, lsl #5
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_16
b LBB2_12
LBB2_12:
adrp x8, _opterr@PAGE
ldr w8, [x8, _opterr@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_13
LBB2_13:
ldrb w8, [sp, #31]
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
lsl x9, x9, #5
ldr x8, [x8, x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _warnx
b LBB2_15
LBB2_15:
mov w8, #63
stur w8, [x29, #-4]
b LBB2_30
LBB2_16:
b LBB2_17
LBB2_17:
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_19
b LBB2_18
LBB2_18:
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
add x8, x8, x9
add x8, x8, #1
adrp x9, _optarg@GOTPAGE
ldr x9, [x9, _optarg@GOTPAGEOFF]
str x8, [x9]
b LBB2_19
LBB2_19:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_21
b LBB2_20
LBB2_20:
ldr x8, [sp, #8]
ldr x9, [sp, #32]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
b LBB2_21
LBB2_21:
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
add x8, x8, x9, lsl #5
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_23
b LBB2_22
LBB2_22:
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
add x8, x8, x9, lsl #5
ldr w8, [x8, #24]
ldur x9, [x29, #-24]
ldr x10, [sp, #8]
add x9, x9, x10, lsl #5
ldr x9, [x9, #16]
str w8, [x9]
stur wzr, [x29, #-4]
b LBB2_30
LBB2_23:
ldur x8, [x29, #-24]
ldr x9, [sp, #8]
add x8, x8, x9, lsl #5
ldr w8, [x8, #24]
stur w8, [x29, #-4]
b LBB2_30
LBB2_24: ; in Loop: Header=BB2_1 Depth=1
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB2_1
LBB2_26:
adrp x8, _opterr@PAGE
ldr w8, [x8, _opterr@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_29
b LBB2_27
LBB2_27:
ldrb w8, [sp, #31]
tbnz w8, #0, LBB2_29
b LBB2_28
LBB2_28:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _warnx
b LBB2_29
LBB2_29:
mov w8, #63
stur w8, [x29, #-4]
b LBB2_30
LBB2_30:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _opterr ; @opterr
.p2align 2
_opterr:
.long 1 ; 0x1
.globl _optind ; @optind
.p2align 2
_optind:
.long 1 ; 0x1
.comm _optarg,8,3 ; @optarg
.comm _optopt,4,2 ; @optopt
.p2align 3 ; @shortIndex
_shortIndex:
.quad 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "option requires an argument -- '%c'"
l_.str.1: ; @.str.1
.asciz "invalid option -- '%c'"
l_.str.2: ; @.str.2
.asciz "="
l_.str.3: ; @.str.3
.asciz "option '--%s' requires an argument"
l_.str.4: ; @.str.4
.asciz "option '--%s' does not allow an argument"
l_.str.5: ; @.str.5
.asciz "unrecognized option '--%s'"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getopt_long ## -- Begin function getopt_long
.p2align 4, 0x90
_getopt_long: ## @getopt_long
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq _optarg@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _optopt@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB0_3
## %bb.1:
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB0_3
## %bb.2:
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movsbl 1(%rax), %eax
cmpl $0, %eax
jne LBB0_4
LBB0_3:
movl $-1, -4(%rbp)
jmp LBB0_18
LBB0_4:
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movsbl 1(%rax), %eax
cmpl $45, %eax
jne LBB0_7
## %bb.5:
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movsbl 2(%rax), %eax
cmpl $0, %eax
jne LBB0_7
## %bb.6:
movl _optind(%rip), %eax
addl $1, %eax
movl %eax, _optind(%rip)
movl $-1, -4(%rbp)
jmp LBB0_18
LBB0_7:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $43, %eax
jne LBB0_9
## %bb.8:
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
LBB0_9:
movb $0, -41(%rbp)
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $58, %eax
jne LBB0_11
## %bb.10:
movb $1, -41(%rbp)
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
LBB0_11:
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movsbl 1(%rax), %eax
cmpl $45, %eax
jne LBB0_13
## %bb.12:
cmpq $0, -32(%rbp)
jne LBB0_17
LBB0_13:
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movb -41(%rbp), %al
andb $1, %al
movzbl %al, %ecx
callq _handleShortOption
movl %eax, -48(%rbp)
movq _optarg@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_16
## %bb.14:
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq _shortIndex(%rip), %rcx
cmpb $0, (%rax,%rcx)
jne LBB0_16
## %bb.15:
movl _optind(%rip), %eax
addl $1, %eax
movl %eax, _optind(%rip)
movq $1, _shortIndex(%rip)
LBB0_16:
movl -48(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_18
LBB0_17:
movq -16(%rbp), %rax
movl _optind(%rip), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, _optind(%rip)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
addq $2, %rdi
movq -32(%rbp), %rsi
movq -40(%rbp), %rdx
movb -41(%rbp), %al
andb $1, %al
movzbl %al, %ecx
callq _handleLongOption
movl %eax, -4(%rbp)
LBB0_18:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function handleShortOption
_handleShortOption: ## @handleShortOption
.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
movb %cl, %al
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
andb $1, %al
movb %al, -25(%rbp)
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq _shortIndex(%rip), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, _shortIndex(%rip)
movb (%rax,%rcx), %al
movb %al, -26(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpb $0, (%rax)
je LBB1_20
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movsbl (%rax), %eax
movsbl -26(%rbp), %ecx
cmpl %ecx, %eax
jne LBB1_19
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movsbl -26(%rbp), %eax
cmpl $58, %eax
je LBB1_19
## %bb.4:
movq -24(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $58, %eax
jne LBB1_18
## %bb.5:
movq -24(%rbp), %rax
movsbl 2(%rax), %eax
cmpl $58, %eax
sete %al
andb $1, %al
movb %al, -27(%rbp)
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq _shortIndex(%rip), %rcx
cmpb $0, (%rax,%rcx)
je LBB1_7
## %bb.6:
movq -16(%rbp), %rax
movslq _optind(%rip), %rcx
movq (%rax,%rcx,8), %rcx
addq _shortIndex(%rip), %rcx
movq _optarg@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl _optind(%rip), %eax
addl $1, %eax
movl %eax, _optind(%rip)
movq $1, _shortIndex(%rip)
jmp LBB1_17
LBB1_7:
testb $1, -27(%rbp)
jne LBB1_10
## %bb.8:
movl _optind(%rip), %eax
addl $1, %eax
cmpl -8(%rbp), %eax
jge LBB1_10
## %bb.9:
movq -16(%rbp), %rax
movl _optind(%rip), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
movq _optarg@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl _optind(%rip), %eax
addl $2, %eax
movl %eax, _optind(%rip)
movq $1, _shortIndex(%rip)
jmp LBB1_16
LBB1_10:
testb $1, -27(%rbp)
jne LBB1_15
## %bb.11:
movsbl -26(%rbp), %ecx
movq _optopt@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
cmpl $0, _opterr(%rip)
je LBB1_14
## %bb.12:
testb $1, -25(%rbp)
jne LBB1_14
## %bb.13:
movsbl -26(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _warnx
LBB1_14:
movb -25(%rbp), %dl
xorb $-1, %dl
movl $58, %eax
movl $63, %ecx
testb $1, %dl
cmovnel %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -26(%rbp)
LBB1_15:
jmp LBB1_16
LBB1_16:
jmp LBB1_17
LBB1_17:
jmp LBB1_18
LBB1_18:
movsbl -26(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB1_24
LBB1_19: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB1_1
LBB1_20:
movsbl -26(%rbp), %ecx
movq _optopt@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
cmpl $0, _opterr(%rip)
je LBB1_23
## %bb.21:
testb $1, -25(%rbp)
jne LBB1_23
## %bb.22:
movsbl -26(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _warnx
LBB1_23:
movl $63, -4(%rbp)
LBB1_24:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function handleLongOption
_handleLongOption: ## @handleLongOption
.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
movb %cl, %al
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
andb $1, %al
movb %al, -33(%rbp)
movq -16(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcspn
movq %rax, -48(%rbp)
movq $0, -56(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
cmpq $0, (%rax)
je LBB2_26
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rsi
movq -48(%rbp), %rdx
callq _strncmp
cmpl $0, %eax
jne LBB2_24
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB2_24
## %bb.4:
movq -16(%rbp), %rax
movq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB2_10
## %bb.5:
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
cmpl $1, 8(%rax)
jne LBB2_10
## %bb.6:
cmpl $0, _opterr(%rip)
je LBB2_9
## %bb.7:
testb $1, -33(%rbp)
jne LBB2_9
## %bb.8:
movq -16(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _warnx
LBB2_9:
movb -33(%rbp), %dl
xorb $-1, %dl
movl $58, %eax
movl $63, %ecx
testb $1, %dl
cmovnel %ecx, %eax
movl %eax, -4(%rbp)
jmp LBB2_30
LBB2_10:
movq -16(%rbp), %rax
movq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB2_16
## %bb.11:
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
cmpl $0, 8(%rax)
jne LBB2_16
## %bb.12:
cmpl $0, _opterr(%rip)
je LBB2_15
## %bb.13:
testb $1, -33(%rbp)
jne LBB2_15
## %bb.14:
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _warnx
LBB2_15:
movl $63, -4(%rbp)
jmp LBB2_30
LBB2_16:
jmp LBB2_17
LBB2_17:
movq -16(%rbp), %rax
movq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB2_19
## %bb.18:
movq -16(%rbp), %rcx
addq -48(%rbp), %rcx
addq $1, %rcx
movq _optarg@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB2_19:
cmpq $0, -32(%rbp)
je LBB2_21
## %bb.20:
movq -56(%rbp), %rax
movl %eax, %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
LBB2_21:
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
cmpq $0, 16(%rax)
je LBB2_23
## %bb.22:
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movl 24(%rax), %ecx
movq -24(%rbp), %rax
movq -56(%rbp), %rdx
shlq $5, %rdx
addq %rdx, %rax
movq 16(%rax), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB2_30
LBB2_23:
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movl 24(%rax), %eax
movl %eax, -4(%rbp)
jmp LBB2_30
LBB2_24: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_25
LBB2_25: ## in Loop: Header=BB2_1 Depth=1
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB2_1
LBB2_26:
cmpl $0, _opterr(%rip)
je LBB2_29
## %bb.27:
testb $1, -33(%rbp)
jne LBB2_29
## %bb.28:
movq -16(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _warnx
LBB2_29:
movl $63, -4(%rbp)
LBB2_30:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _opterr ## @opterr
.p2align 2
_opterr:
.long 1 ## 0x1
.globl _optind ## @optind
.p2align 2
_optind:
.long 1 ## 0x1
.comm _optarg,8,3 ## @optarg
.comm _optopt,4,2 ## @optopt
.p2align 3 ## @shortIndex
_shortIndex:
.quad 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "option requires an argument -- '%c'"
L_.str.1: ## @.str.1
.asciz "invalid option -- '%c'"
L_.str.2: ## @.str.2
.asciz "="
L_.str.3: ## @.str.3
.asciz "option '--%s' requires an argument"
L_.str.4: ## @.str.4
.asciz "option '--%s' does not allow an argument"
L_.str.5: ## @.str.5
.asciz "unrecognized option '--%s'"
.subsections_via_symbols
| the_stack_data/138962.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 0x3fb47ae147ae147b ; double 0.080000000000000002
lCPI0_1:
.quad 0x409f400000000000 ; double 2000
lCPI0_2:
.quad 0x3fd1eb851eb851ec ; double 0.28000000000000003
lCPI0_3:
.quad 0x3fc70a3d70a3d70a ; double 0.17999999999999999
lCPI0_4:
.quad 0x40a7700000000000 ; double 3000
lCPI0_5:
.quad 0x40b1940000000000 ; double 4500
lCPI0_6:
.quad 0x40a770051eb851ec ; double 3000.0100000000002
lCPI0_7:
.quad 0x409f400a3d70a3d7 ; double 2000.01
.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]
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr d0, [sp, #16]
fcmp d0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr d0, [sp, #16]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fcmp d0, d1
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_3
LBB0_3:
ldr d0, [sp, #16]
adrp x8, lCPI0_7@PAGE
ldr d1, [x8, lCPI0_7@PAGEOFF]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldr d0, [sp, #16]
adrp x8, lCPI0_4@PAGE
ldr d1, [x8, lCPI0_4@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr d0, [sp, #16]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fsub d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
ldr d0, [sp, #16]
adrp x8, lCPI0_6@PAGE
ldr d1, [x8, lCPI0_6@PAGEOFF]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr d0, [sp, #16]
adrp x8, lCPI0_5@PAGE
ldr d1, [x8, lCPI0_5@PAGEOFF]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr d0, [sp, #16]
adrp x8, lCPI0_4@PAGE
ldr d3, [x8, lCPI0_4@PAGEOFF]
fsub d0, d0, d3
ldr d1, [sp, #16]
ldr d2, [sp, #16]
fsub d2, d2, d3
fsub d1, d1, d2
adrp x8, lCPI0_1@PAGE
ldr d2, [x8, lCPI0_1@PAGEOFF]
fsub d1, d1, d2
adrp x8, lCPI0_0@PAGE
ldr d2, [x8, lCPI0_0@PAGEOFF]
fmul d2, d1, d2
adrp x8, lCPI0_3@PAGE
ldr d1, [x8, lCPI0_3@PAGEOFF]
fmadd d0, d0, d1, d2
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_9
LBB0_9:
ldr d0, [sp, #16]
adrp x8, lCPI0_5@PAGE
ldr d1, [x8, lCPI0_5@PAGEOFF]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr d0, [sp, #16]
adrp x8, lCPI0_5@PAGE
ldr d5, [x8, lCPI0_5@PAGEOFF]
fsub d0, d0, d5
ldr d1, [sp, #16]
adrp x8, lCPI0_4@PAGE
ldr d3, [x8, lCPI0_4@PAGEOFF]
fsub d1, d1, d3
ldr d2, [sp, #16]
fsub d2, d2, d5
fsub d1, d1, d2
adrp x8, lCPI0_3@PAGE
ldr d2, [x8, lCPI0_3@PAGEOFF]
fmul d2, d1, d2
adrp x8, lCPI0_2@PAGE
ldr d1, [x8, lCPI0_2@PAGEOFF]
fmadd d2, d0, d1, d2
ldr d0, [sp, #16]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fsub d0, d0, d1
ldr d1, [sp, #16]
fsub d1, d1, d5
fsub d0, d0, d1
ldr d1, [sp, #16]
ldr d4, [sp, #16]
fsub d4, d4, d5
fsub d1, d1, d4
fsub d1, d1, d3
fsub d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmadd d0, d0, d1, d2
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_11
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lf"
l_.str.1: ; @.str.1
.asciz "Isento\n"
l_.str.2: ; @.str.2
.asciz "R$ %.2lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x409f400000000000 ## double 2000
LCPI0_1:
.quad 0x409f400a3d70a3d7 ## double 2000.01
LCPI0_2:
.quad 0x40a7700000000000 ## double 3000
LCPI0_3:
.quad 0x3fb47ae147ae147b ## double 0.080000000000000002
LCPI0_4:
.quad 0x40a770051eb851ec ## double 3000.0100000000002
LCPI0_5:
.quad 0x40b1940000000000 ## double 4500
LCPI0_6:
.quad 0x3fc70a3d70a3d70a ## double 0.17999999999999999
LCPI0_7:
.quad 0x3fd1eb851eb851ec ## double 0.28000000000000003
.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 -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:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
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 -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
LBB0_6:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_9
## %bb.7:
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -16(%rbp), %xmm0
jb LBB0_9
## %bb.8:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd LCPI0_2(%rip), %xmm3 ## xmm3 = mem[0],zero
subsd %xmm3, %xmm2
subsd %xmm2, %xmm1
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm2, %xmm1
movsd LCPI0_3(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm1
movsd LCPI0_6(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
LBB0_9:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_11
## %bb.10:
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero
subsd %xmm0, %xmm1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm2, %xmm0
movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd LCPI0_5(%rip), %xmm3 ## xmm3 = mem[0],zero
subsd %xmm3, %xmm2
subsd %xmm2, %xmm0
movsd LCPI0_6(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
movsd LCPI0_7(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm2, %xmm0
movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd LCPI0_5(%rip), %xmm3 ## xmm3 = mem[0],zero
subsd %xmm3, %xmm2
subsd %xmm2, %xmm0
movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -16(%rbp), %xmm3 ## xmm3 = mem[0],zero
movsd LCPI0_5(%rip), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm4, %xmm3
subsd %xmm3, %xmm2
movsd LCPI0_2(%rip), %xmm3 ## xmm3 = mem[0],zero
subsd %xmm3, %xmm2
subsd %xmm2, %xmm0
movsd LCPI0_3(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
LBB0_11:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lf"
L_.str.1: ## @.str.1
.asciz "Isento\n"
L_.str.2: ## @.str.2
.asciz "R$ %.2lf\n"
.subsections_via_symbols
| the_stack_data/43334.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zgels_ ; -- Begin function zgels_
.p2align 2
_zgels_: ; @zgels_
.cfi_startproc
; %bb.0:
sub sp, sp, #416
.cfi_def_cfa_offset 416
stp x28, x27, [sp, #384] ; 16-byte Folded Spill
stp x29, x30, [sp, #400] ; 16-byte Folded Spill
add x29, sp, #400
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub x9, x29, #112
str x9, [sp, #144] ; 8-byte Folded Spill
ldr x11, [x29, #16]
ldr x10, [x29, #24]
ldr x8, [x29, #32]
adrp x12, ___stack_chk_guard@GOTPAGE
ldr x12, [x12, ___stack_chk_guard@GOTPAGEOFF]
ldr x12, [x12]
stur x12, [x29, #-24]
str x0, [x9, #64]
str x1, [x9, #56]
str x2, [x9, #48]
str x3, [x9, #40]
str x4, [x9, #32]
str x5, [x9, #24]
str x6, [x9, #16]
str x7, [x9, #8]
str x11, [x9]
stur x10, [x29, #-120]
stur x8, [x29, #-128]
ldr x8, [x9, #24]
ldr w8, [x8]
stur w8, [x29, #-132]
ldur w8, [x29, #-132]
mov x10, #0
lsr w8, w8, #0
add w8, w8, #1
stur w8, [x29, #-136]
ldursw x11, [x29, #-136]
ldr x8, [x9, #32]
subs x11, x10, x11
add x8, x8, x11, lsl #4
str x8, [x9, #32]
ldr x8, [x9, #8]
ldr w8, [x8]
stur w8, [x29, #-140]
ldur w8, [x29, #-140]
lsr w8, w8, #0
add w8, w8, #1
stur w8, [x29, #-144]
ldursw x11, [x29, #-144]
ldr x8, [x9, #16]
subs x10, x10, x11
add x8, x8, x10, lsl #4
str x8, [x9, #16]
ldr x8, [x9]
subs x8, x8, #16
str x8, [x9]
ldur x8, [x29, #-128]
str wzr, [x8]
ldr x8, [x9, #56]
ldr w8, [x8]
ldr x9, [x9, #48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #140] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
str w8, [sp, #140] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #140] ; 4-byte Folded Reload
str w9, [sp, #180]
ldur x9, [x29, #-120]
ldr w9, [x9]
adds w9, w9, #1
cset w9, eq
and w9, w9, #0x1
str w9, [sp, #156]
ldr x0, [x8, #64]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x0, [x8, #64]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur x9, [x29, #-128]
mov w8, #-1
str w8, [x9]
b LBB0_40
LBB0_6:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur x9, [x29, #-128]
mov w8, #-2
str w8, [x9]
b LBB0_39
LBB0_8:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x9, [x29, #-128]
mov w8, #-3
str w8, [x9]
b LBB0_38
LBB0_10:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldur x9, [x29, #-128]
mov w8, #-4
str w8, [x9]
b LBB0_37
LBB0_12:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x9, [x8, #24]
ldr w9, [x9]
str w9, [sp, #136] ; 4-byte Folded Spill
ldr x8, [x8, #56]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
mov w8, #1
str w8, [sp, #132] ; 4-byte Folded Spill
b LBB0_15
LBB0_14:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #132] ; 4-byte Folded Spill
b LBB0_15
LBB0_15:
ldr w8, [sp, #136] ; 4-byte Folded Reload
ldr w9, [sp, #132] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldur x9, [x29, #-128]
mov w8, #-6
str w8, [x9]
b LBB0_36
LBB0_17:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
mov w8, #1
str w8, [sp, #128] ; 4-byte Folded Spill
b LBB0_20
LBB0_19:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #128] ; 4-byte Folded Spill
b LBB0_20
LBB0_20:
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr w8, [sp, #128] ; 4-byte Folded Reload
stur w8, [x29, #-148]
ldr x8, [x9, #8]
ldr w8, [x8]
str w8, [sp, #124] ; 4-byte Folded Spill
ldur w8, [x29, #-148]
ldr x9, [x9, #48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
ldur w8, [x29, #-148]
str w8, [sp, #120] ; 4-byte Folded Spill
b LBB0_23
LBB0_22:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
str w8, [sp, #120] ; 4-byte Folded Spill
b LBB0_23
LBB0_23:
ldr w8, [sp, #124] ; 4-byte Folded Reload
ldr w9, [sp, #120] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
ldur x9, [x29, #-128]
mov w8, #-8
str w8, [x9]
b LBB0_35
LBB0_25:
ldr x9, [sp, #144] ; 8-byte Folded Reload
mov w8, #1
stur w8, [x29, #-148]
ldr w8, [sp, #180]
str w8, [sp, #116] ; 4-byte Folded Spill
ldr w8, [sp, #180]
ldr x9, [x9, #40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
ldr w8, [sp, #180]
str w8, [sp, #112] ; 4-byte Folded Spill
b LBB0_28
LBB0_27:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w8, [x8]
str w8, [sp, #112] ; 4-byte Folded Spill
b LBB0_28
LBB0_28:
ldr w8, [sp, #116] ; 4-byte Folded Reload
ldr w9, [sp, #112] ; 4-byte Folded Reload
add w8, w8, w9
stur w8, [x29, #-152]
ldur x8, [x29, #-120]
ldr w8, [x8]
str w8, [sp, #108] ; 4-byte Folded Spill
ldur w8, [x29, #-148]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29:
ldur w8, [x29, #-148]
str w8, [sp, #104] ; 4-byte Folded Spill
b LBB0_31
LBB0_30:
ldur w8, [x29, #-152]
str w8, [sp, #104] ; 4-byte Folded Spill
b LBB0_31
LBB0_31:
ldr w8, [sp, #108] ; 4-byte Folded Reload
ldr w9, [sp, #104] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_34
b LBB0_32
LBB0_32:
ldr w8, [sp, #156]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
ldur x9, [x29, #-128]
mov w8, #-10
str w8, [x9]
b LBB0_34
LBB0_34:
b LBB0_35
LBB0_35:
b LBB0_36
LBB0_36:
b LBB0_37
LBB0_37:
b LBB0_38
LBB0_38:
b LBB0_39
LBB0_39:
b LBB0_40
LBB0_40:
ldur x8, [x29, #-128]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41:
ldur x8, [x29, #-128]
ldr w8, [x8]
adds w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_72
b LBB0_42
LBB0_42:
ldr x8, [sp, #144] ; 8-byte Folded Reload
mov w9, #1
stur w9, [x29, #-192]
ldr x0, [x8, #64]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43:
stur wzr, [x29, #-192]
b LBB0_44
LBB0_44:
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x9, #56]
ldr w8, [x8]
ldr x9, [x9, #48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_55
b LBB0_45
LBB0_45:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x3, [x8, #56]
ldr x4, [x8, #48]
mov x9, sp
mov w8, #1
str w8, [x9]
adrp x0, _c__1@PAGE
add x0, x0, _c__1@PAGEOFF
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
adrp x2, l_.str.3@PAGE
add x2, x2, l_.str.3@PAGEOFF
adrp x6, _c_n1@PAGE
add x6, x6, _c_n1@PAGEOFF
mov x5, x6
mov w7, #6
bl _ilaenv_
str w0, [sp, #184]
ldur w8, [x29, #-192]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_50
b LBB0_46
LBB0_46:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #184]
stur w9, [x29, #-148]
ldr x3, [x8, #56]
ldr x4, [x8, #40]
ldr x5, [x8, #48]
mov x9, sp
mov w8, #2
str w8, [x9]
adrp x0, _c__1@PAGE
add x0, x0, _c__1@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
adrp x2, l_.str.5@PAGE
add x2, x2, l_.str.5@PAGEOFF
adrp x6, _c_n1@PAGE
add x6, x6, _c_n1@PAGEOFF
mov w7, #6
bl _ilaenv_
stur w0, [x29, #-152]
ldur w8, [x29, #-148]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47:
ldur w8, [x29, #-148]
str w8, [sp, #100] ; 4-byte Folded Spill
b LBB0_49
LBB0_48:
ldur w8, [x29, #-152]
str w8, [sp, #100] ; 4-byte Folded Spill
b LBB0_49
LBB0_49:
ldr w8, [sp, #100] ; 4-byte Folded Reload
str w8, [sp, #184]
b LBB0_54
LBB0_50:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #184]
stur w9, [x29, #-148]
ldr x3, [x8, #56]
ldr x4, [x8, #40]
ldr x5, [x8, #48]
mov x9, sp
mov w8, #2
str w8, [x9]
adrp x0, _c__1@PAGE
add x0, x0, _c__1@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
adrp x2, l_.str.6@PAGE
add x2, x2, l_.str.6@PAGEOFF
adrp x6, _c_n1@PAGE
add x6, x6, _c_n1@PAGEOFF
mov w7, #6
bl _ilaenv_
stur w0, [x29, #-152]
ldur w8, [x29, #-148]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51:
ldur w8, [x29, #-148]
str w8, [sp, #96] ; 4-byte Folded Spill
b LBB0_53
LBB0_52:
ldur w8, [x29, #-152]
str w8, [sp, #96] ; 4-byte Folded Spill
b LBB0_53
LBB0_53:
ldr w8, [sp, #96] ; 4-byte Folded Reload
str w8, [sp, #184]
b LBB0_54
LBB0_54:
b LBB0_65
LBB0_55:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x3, [x8, #56]
ldr x4, [x8, #48]
mov x9, sp
mov w8, #1
str w8, [x9]
adrp x0, _c__1@PAGE
add x0, x0, _c__1@PAGEOFF
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
adrp x2, l_.str.3@PAGE
add x2, x2, l_.str.3@PAGEOFF
adrp x6, _c_n1@PAGE
add x6, x6, _c_n1@PAGEOFF
mov x5, x6
mov w7, #6
bl _ilaenv_
str w0, [sp, #184]
ldur w8, [x29, #-192]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_60
b LBB0_56
LBB0_56:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #184]
stur w9, [x29, #-148]
ldr x3, [x8, #48]
ldr x4, [x8, #40]
ldr x5, [x8, #56]
mov x9, sp
mov w8, #2
str w8, [x9]
adrp x0, _c__1@PAGE
add x0, x0, _c__1@PAGEOFF
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
adrp x2, l_.str.6@PAGE
add x2, x2, l_.str.6@PAGEOFF
adrp x6, _c_n1@PAGE
add x6, x6, _c_n1@PAGEOFF
mov w7, #6
bl _ilaenv_
stur w0, [x29, #-152]
ldur w8, [x29, #-148]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_58
b LBB0_57
LBB0_57:
ldur w8, [x29, #-148]
str w8, [sp, #92] ; 4-byte Folded Spill
b LBB0_59
LBB0_58:
ldur w8, [x29, #-152]
str w8, [sp, #92] ; 4-byte Folded Spill
b LBB0_59
LBB0_59:
ldr w8, [sp, #92] ; 4-byte Folded Reload
str w8, [sp, #184]
b LBB0_64
LBB0_60:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #184]
stur w9, [x29, #-148]
ldr x3, [x8, #48]
ldr x4, [x8, #40]
ldr x5, [x8, #56]
mov x9, sp
mov w8, #2
str w8, [x9]
adrp x0, _c__1@PAGE
add x0, x0, _c__1@PAGEOFF
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
adrp x2, l_.str.5@PAGE
add x2, x2, l_.str.5@PAGEOFF
adrp x6, _c_n1@PAGE
add x6, x6, _c_n1@PAGEOFF
mov w7, #6
bl _ilaenv_
stur w0, [x29, #-152]
ldur w8, [x29, #-148]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_62
b LBB0_61
LBB0_61:
ldur w8, [x29, #-148]
str w8, [sp, #88] ; 4-byte Folded Spill
b LBB0_63
LBB0_62:
ldur w8, [x29, #-152]
str w8, [sp, #88] ; 4-byte Folded Spill
b LBB0_63
LBB0_63:
ldr w8, [sp, #88] ; 4-byte Folded Reload
str w8, [sp, #184]
b LBB0_64
LBB0_64:
b LBB0_65
LBB0_65:
ldr x9, [sp, #144] ; 8-byte Folded Reload
mov w8, #1
stur w8, [x29, #-148]
ldr w8, [sp, #180]
str w8, [sp, #84] ; 4-byte Folded Spill
ldr w8, [sp, #180]
ldr x9, [x9, #40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_67
b LBB0_66
LBB0_66:
ldr w8, [sp, #180]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB0_68
LBB0_67:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w8, [x8]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB0_68
LBB0_68:
ldr w8, [sp, #84] ; 4-byte Folded Reload
ldr w9, [sp, #80] ; 4-byte Folded Reload
ldr w10, [sp, #184]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-152]
ldur w8, [x29, #-148]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_70
b LBB0_69
LBB0_69:
ldur w8, [x29, #-148]
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB0_71
LBB0_70:
ldur w8, [x29, #-152]
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB0_71
LBB0_71:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #76] ; 4-byte Folded Reload
str w9, [sp, #188]
ldr s1, [sp, #188]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
stur d0, [x29, #-168]
ldur d0, [x29, #-168]
ldr x9, [x8]
str d0, [x9, #16]
ldr x8, [x8]
movi d0, #0000000000000000
str d0, [x8, #24]
b LBB0_72
LBB0_72:
ldur x8, [x29, #-128]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_74
b LBB0_73
LBB0_73:
ldur x8, [x29, #-128]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
sub x1, x29, #148
stur w8, [x29, #-148]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
mov w2, #6
bl _xerbla_
stur wzr, [x29, #-36]
b LBB0_153
LBB0_74:
ldr w8, [sp, #156]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_76
b LBB0_75
LBB0_75:
stur wzr, [x29, #-36]
b LBB0_153
LBB0_76:
b LBB0_77
LBB0_77:
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x9, #56]
ldr w8, [x8]
ldr x9, [x9, #48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_79
b LBB0_78
LBB0_78:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB0_80
LBB0_79:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB0_80
LBB0_80:
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr w8, [sp, #72] ; 4-byte Folded Reload
stur w8, [x29, #-148]
ldur w8, [x29, #-148]
ldr x9, [x9, #40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_82
b LBB0_81
LBB0_81:
ldur w8, [x29, #-148]
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB0_83
LBB0_82:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w8, [x8]
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB0_83
LBB0_83:
ldr w8, [sp, #68] ; 4-byte Folded Reload
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_88
b LBB0_84
LBB0_84:
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x9, #56]
ldr w8, [x8]
ldr x9, [x9, #48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_86
b LBB0_85
LBB0_85:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB0_87
LBB0_86:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB0_87
LBB0_87:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #64] ; 4-byte Folded Reload
sub x1, x29, #148
stur w9, [x29, #-148]
ldr x2, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x5, x9, x10, lsl #4
ldr x6, [x8, #8]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
adrp x4, _c_b1@PAGE
add x4, x4, _c_b1@PAGEOFF
mov x3, x4
bl _zlaset_
stur wzr, [x29, #-36]
b LBB0_153
LBB0_88:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _dlamch_
str d0, [sp, #56] ; 8-byte Folded Spill
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _dlamch_
fmov d1, d0
ldr d0, [sp, #56] ; 8-byte Folded Reload
fdiv d0, d0, d1
add x0, sp, #160
str d0, [sp, #160]
ldr d1, [sp, #160]
fmov d0, #1.00000000
fdiv d0, d0, d1
add x1, sp, #168
str d0, [sp, #168]
bl _dlabad_
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x1, [x8, #56]
ldr x2, [x8, #48]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x3, x9, x10, lsl #4
ldr x4, [x8, #24]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
sub x5, x29, #32
bl _zlange_
stur d0, [x29, #-176]
str wzr, [sp, #196]
ldur d0, [x29, #-176]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_91
b LBB0_89
LBB0_89:
ldur d0, [x29, #-176]
ldr d1, [sp, #160]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_91
b LBB0_90
LBB0_90:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x5, [x8, #56]
ldr x6, [x8, #48]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x7, x9, x10, lsl #4
ldr x10, [x8, #24]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
sub x3, x29, #176
add x4, sp, #160
bl _zlascl_
mov w8, #1
str w8, [sp, #196]
b LBB0_100
LBB0_91:
ldur d0, [x29, #-176]
ldr d1, [sp, #168]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_93
b LBB0_92
LBB0_92:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x5, [x8, #56]
ldr x6, [x8, #48]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x7, x9, x10, lsl #4
ldr x10, [x8, #24]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
sub x3, x29, #176
add x4, sp, #168
bl _zlascl_
mov w8, #2
str w8, [sp, #196]
b LBB0_99
LBB0_93:
ldur d0, [x29, #-176]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_98
b LBB0_94
LBB0_94:
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x9, #56]
ldr w8, [x8]
ldr x9, [x9, #48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_96
b LBB0_95
LBB0_95:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_97
LBB0_96:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_97
LBB0_97:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr w9, [sp, #52] ; 4-byte Folded Reload
sub x1, x29, #148
stur w9, [x29, #-148]
ldr x2, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x5, x9, x10, lsl #4
ldr x6, [x8, #8]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
adrp x4, _c_b1@PAGE
add x4, x4, _c_b1@PAGEOFF
mov x3, x4
bl _zlaset_
b LBB0_152
LBB0_98:
b LBB0_99
LBB0_99:
b LBB0_100
LBB0_100:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
stur w8, [x29, #-188]
ldur w8, [x29, #-192]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_102
b LBB0_101
LBB0_101:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
stur w8, [x29, #-188]
b LBB0_102
LBB0_102:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x2, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x3, x9, x10, lsl #4
ldr x4, [x8, #8]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
sub x1, x29, #188
sub x5, x29, #32
bl _zlange_
stur d0, [x29, #-184]
str wzr, [sp, #192]
ldur d0, [x29, #-184]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_105
b LBB0_103
LBB0_103:
ldur d0, [x29, #-184]
ldr d1, [sp, #160]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_105
b LBB0_104
LBB0_104:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x6, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
sub x3, x29, #184
add x4, sp, #160
sub x5, x29, #188
bl _zlascl_
mov w8, #1
str w8, [sp, #192]
b LBB0_108
LBB0_105:
ldur d0, [x29, #-184]
ldr d1, [sp, #168]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_107
b LBB0_106
LBB0_106:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x6, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
sub x3, x29, #184
add x4, sp, #168
sub x5, x29, #188
bl _zlascl_
mov w8, #2
str w8, [sp, #192]
b LBB0_107
LBB0_107:
b LBB0_108
LBB0_108:
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x9, #56]
ldr w8, [x8]
ldr x9, [x9, #48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_125
b LBB0_109
LBB0_109:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur x9, [x29, #-120]
ldr w9, [x9]
ldr w10, [sp, #180]
subs w9, w9, w10
sub x6, x29, #148
stur w9, [x29, #-148]
ldr x0, [x8, #56]
ldr x1, [x8, #48]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x2, x9, x10, lsl #4
ldr x3, [x8, #24]
ldr x9, [x8]
add x4, x9, #16
ldr x8, [x8]
ldr w9, [sp, #180]
add w9, w9, #1
add x5, x8, w9, sxtw #4
ldur x7, [x29, #-128]
bl _zgeqrf_
ldur w8, [x29, #-192]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_113
b LBB0_110
LBB0_110:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur x9, [x29, #-120]
ldr w9, [x9]
ldr w10, [sp, #180]
subs w9, w9, w10
sub x10, x29, #148
stur w9, [x29, #-148]
ldr x2, [x8, #56]
ldr x3, [x8, #40]
ldr x4, [x8, #48]
ldr x9, [x8, #32]
ldursw x11, [x29, #-136]
add x5, x9, x11, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8]
add x7, x9, #16
ldr x9, [x8, #16]
ldursw x11, [x29, #-144]
add x13, x9, x11, lsl #4
ldr x12, [x8, #8]
ldr x8, [x8]
ldr w9, [sp, #180]
add w9, w9, #1
add x11, x8, w9, sxtw #4
ldur x8, [x29, #-128]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _zunmqr_
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x3, [x8, #48]
ldr x4, [x8, #40]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x5, x9, x10, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
adrp x2, l_.str.20@PAGE
add x2, x2, l_.str.20@PAGEOFF
bl _ztrtrs_
ldur x8, [x29, #-128]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_112
b LBB0_111
LBB0_111:
stur wzr, [x29, #-36]
b LBB0_153
LBB0_112:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
str w8, [sp, #176]
b LBB0_124
LBB0_113:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x3, [x8, #48]
ldr x4, [x8, #40]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x5, x9, x10, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
adrp x2, l_.str.20@PAGE
add x2, x2, l_.str.20@PAGEOFF
bl _ztrtrs_
ldur x8, [x29, #-128]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_115
b LBB0_114
LBB0_114:
stur wzr, [x29, #-36]
b LBB0_153
LBB0_115:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w8, [x8]
stur w8, [x29, #-148]
mov w8, #1
str w8, [sp, #200]
b LBB0_116
LBB0_116: ; =>This Loop Header: Depth=1
; Child Loop BB0_118 Depth 2
ldr w8, [sp, #200]
ldur w9, [x29, #-148]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_123
b LBB0_117
LBB0_117: ; in Loop: Header=BB0_116 Depth=1
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x9, [x8, #56]
ldr w9, [x9]
stur w9, [x29, #-152]
ldr x8, [x8, #48]
ldr w8, [x8]
add w8, w8, #1
stur w8, [x29, #-196]
b LBB0_118
LBB0_118: ; Parent Loop BB0_116 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-196]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_121
b LBB0_119
LBB0_119: ; in Loop: Header=BB0_118 Depth=2
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur w9, [x29, #-196]
ldr w10, [sp, #200]
ldur w11, [x29, #-140]
mul w10, w10, w11
add w9, w9, w10
stur w9, [x29, #-156]
ldr x9, [x8, #16]
ldursw x10, [x29, #-156]
lsl x10, x10, #4
movi d0, #0000000000000000
str d0, [x9, x10]
ldr x8, [x8, #16]
ldursw x9, [x29, #-156]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_120
LBB0_120: ; in Loop: Header=BB0_118 Depth=2
ldur w8, [x29, #-196]
add w8, w8, #1
stur w8, [x29, #-196]
b LBB0_118
LBB0_121: ; in Loop: Header=BB0_116 Depth=1
b LBB0_122
LBB0_122: ; in Loop: Header=BB0_116 Depth=1
ldr w8, [sp, #200]
add w8, w8, #1
str w8, [sp, #200]
b LBB0_116
LBB0_123:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur x9, [x29, #-120]
ldr w9, [x9]
ldr w10, [sp, #180]
subs w9, w9, w10
sub x10, x29, #148
stur w9, [x29, #-148]
ldr x2, [x8, #56]
ldr x3, [x8, #40]
ldr x4, [x8, #48]
ldr x9, [x8, #32]
ldursw x11, [x29, #-136]
add x5, x9, x11, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8]
add x7, x9, #16
ldr x9, [x8, #16]
ldursw x11, [x29, #-144]
add x13, x9, x11, lsl #4
ldr x12, [x8, #8]
ldr x8, [x8]
ldr w9, [sp, #180]
add w9, w9, #1
add x11, x8, w9, sxtw #4
ldur x8, [x29, #-128]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _zunmqr_
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #176]
b LBB0_124
LBB0_124:
b LBB0_141
LBB0_125:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur x9, [x29, #-120]
ldr w9, [x9]
ldr w10, [sp, #180]
subs w9, w9, w10
sub x6, x29, #148
stur w9, [x29, #-148]
ldr x0, [x8, #56]
ldr x1, [x8, #48]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x2, x9, x10, lsl #4
ldr x3, [x8, #24]
ldr x9, [x8]
add x4, x9, #16
ldr x8, [x8]
ldr w9, [sp, #180]
add w9, w9, #1
add x5, x8, w9, sxtw #4
ldur x7, [x29, #-128]
bl _zgelqf_
ldur w8, [x29, #-192]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_137
b LBB0_126
LBB0_126:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x3, [x8, #56]
ldr x4, [x8, #40]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x5, x9, x10, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
adrp x2, l_.str.20@PAGE
add x2, x2, l_.str.20@PAGEOFF
bl _ztrtrs_
ldur x8, [x29, #-128]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_128
b LBB0_127
LBB0_127:
stur wzr, [x29, #-36]
b LBB0_153
LBB0_128:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w8, [x8]
stur w8, [x29, #-148]
mov w8, #1
str w8, [sp, #200]
b LBB0_129
LBB0_129: ; =>This Loop Header: Depth=1
; Child Loop BB0_131 Depth 2
ldr w8, [sp, #200]
ldur w9, [x29, #-148]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_136
b LBB0_130
LBB0_130: ; in Loop: Header=BB0_129 Depth=1
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x9, [x8, #48]
ldr w9, [x9]
stur w9, [x29, #-152]
ldr x8, [x8, #56]
ldr w8, [x8]
add w8, w8, #1
stur w8, [x29, #-196]
b LBB0_131
LBB0_131: ; Parent Loop BB0_129 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-196]
ldur w9, [x29, #-152]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_134
b LBB0_132
LBB0_132: ; in Loop: Header=BB0_131 Depth=2
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur w9, [x29, #-196]
ldr w10, [sp, #200]
ldur w11, [x29, #-140]
mul w10, w10, w11
add w9, w9, w10
stur w9, [x29, #-156]
ldr x9, [x8, #16]
ldursw x10, [x29, #-156]
lsl x10, x10, #4
movi d0, #0000000000000000
str d0, [x9, x10]
ldr x8, [x8, #16]
ldursw x9, [x29, #-156]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_131 Depth=2
ldur w8, [x29, #-196]
add w8, w8, #1
stur w8, [x29, #-196]
b LBB0_131
LBB0_134: ; in Loop: Header=BB0_129 Depth=1
b LBB0_135
LBB0_135: ; in Loop: Header=BB0_129 Depth=1
ldr w8, [sp, #200]
add w8, w8, #1
str w8, [sp, #200]
b LBB0_129
LBB0_136:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur x9, [x29, #-120]
ldr w9, [x9]
ldr w10, [sp, #180]
subs w9, w9, w10
sub x10, x29, #148
stur w9, [x29, #-148]
ldr x2, [x8, #48]
ldr x3, [x8, #40]
ldr x4, [x8, #56]
ldr x9, [x8, #32]
ldursw x11, [x29, #-136]
add x5, x9, x11, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8]
add x7, x9, #16
ldr x9, [x8, #16]
ldursw x11, [x29, #-144]
add x13, x9, x11, lsl #4
ldr x12, [x8, #8]
ldr x8, [x8]
ldr w9, [sp, #180]
add w9, w9, #1
add x11, x8, w9, sxtw #4
ldur x8, [x29, #-128]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _zunmlq_
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w8, [x8]
str w8, [sp, #176]
b LBB0_140
LBB0_137:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldur x9, [x29, #-120]
ldr w9, [x9]
ldr w10, [sp, #180]
subs w9, w9, w10
sub x10, x29, #148
stur w9, [x29, #-148]
ldr x2, [x8, #48]
ldr x3, [x8, #40]
ldr x4, [x8, #56]
ldr x9, [x8, #32]
ldursw x11, [x29, #-136]
add x5, x9, x11, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8]
add x7, x9, #16
ldr x9, [x8, #16]
ldursw x11, [x29, #-144]
add x13, x9, x11, lsl #4
ldr x12, [x8, #8]
ldr x8, [x8]
ldr w9, [sp, #180]
add w9, w9, #1
add x11, x8, w9, sxtw #4
ldur x8, [x29, #-128]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _zunmlq_
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x3, [x8, #56]
ldr x4, [x8, #40]
ldr x9, [x8, #32]
ldursw x10, [x29, #-136]
add x5, x9, x10, lsl #4
ldr x6, [x8, #24]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
adrp x2, l_.str.20@PAGE
add x2, x2, l_.str.20@PAGEOFF
bl _ztrtrs_
ldur x8, [x29, #-128]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_139
b LBB0_138
LBB0_138:
stur wzr, [x29, #-36]
b LBB0_153
LBB0_139:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x8, [x8, #56]
ldr w8, [x8]
str w8, [sp, #176]
b LBB0_140
LBB0_140:
b LBB0_141
LBB0_141:
ldr w8, [sp, #196]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_143
b LBB0_142
LBB0_142:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x6, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
sub x3, x29, #176
add x4, sp, #160
add x5, sp, #176
bl _zlascl_
b LBB0_146
LBB0_143:
ldr w8, [sp, #196]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_145
b LBB0_144
LBB0_144:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x6, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
sub x3, x29, #176
add x4, sp, #168
add x5, sp, #176
bl _zlascl_
b LBB0_145
LBB0_145:
b LBB0_146
LBB0_146:
ldr w8, [sp, #192]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_148
b LBB0_147
LBB0_147:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x6, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
add x3, sp, #160
sub x4, x29, #184
add x5, sp, #176
bl _zlascl_
b LBB0_151
LBB0_148:
ldr w8, [sp, #192]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_150
b LBB0_149
LBB0_149:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr x6, [x8, #40]
ldr x9, [x8, #16]
ldursw x10, [x29, #-144]
add x7, x9, x10, lsl #4
ldr x10, [x8, #8]
ldur x8, [x29, #-128]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
adrp x2, _c__0@PAGE
add x2, x2, _c__0@PAGEOFF
mov x1, x2
add x3, sp, #168
sub x4, x29, #184
add x5, sp, #176
bl _zlascl_
b LBB0_150
LBB0_150:
b LBB0_151
LBB0_151:
b LBB0_152
LBB0_152:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldr s1, [sp, #188]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
stur d0, [x29, #-168]
ldur d0, [x29, #-168]
ldr x9, [x8]
str d0, [x9, #16]
ldr x8, [x8]
movi d0, #0000000000000000
str d0, [x8, #24]
stur wzr, [x29, #-36]
b LBB0_153
LBB0_153:
ldur w8, [x29, #-36]
str w8, [sp, #48] ; 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_155
b LBB0_154
LBB0_154:
bl ___stack_chk_fail
LBB0_155:
ldr w0, [sp, #48] ; 4-byte Folded Reload
ldp x29, x30, [sp, #400] ; 16-byte Folded Reload
ldp x28, x27, [sp, #384] ; 16-byte Folded Reload
add sp, sp, #416
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "N"
l_.str.1: ; @.str.1
.asciz "C"
.section __DATA,__data
.p2align 2 ; @c__1
_c__1:
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "ZGEQRF"
l_.str.3: ; @.str.3
.asciz " "
.section __DATA,__data
.p2align 2 ; @c_n1
_c_n1:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "ZUNMQR"
l_.str.5: ; @.str.5
.asciz "LN"
l_.str.6: ; @.str.6
.asciz "LC"
l_.str.7: ; @.str.7
.asciz "ZGELQF"
l_.str.8: ; @.str.8
.asciz "ZUNMLQ"
l_.str.9: ; @.str.9
.asciz "ZGELS "
l_.str.10: ; @.str.10
.asciz "Full"
.zerofill __DATA,__bss,_c_b1,16,3 ; @c_b1
l_.str.11: ; @.str.11
.asciz "S"
l_.str.12: ; @.str.12
.asciz "P"
l_.str.13: ; @.str.13
.asciz "M"
l_.str.14: ; @.str.14
.asciz "G"
.zerofill __DATA,__bss,_c__0,4,2 ; @c__0
l_.str.15: ; @.str.15
.asciz "F"
l_.str.16: ; @.str.16
.asciz "Left"
l_.str.17: ; @.str.17
.asciz "Conjugate transpose"
l_.str.18: ; @.str.18
.asciz "Upper"
l_.str.19: ; @.str.19
.asciz "No transpose"
l_.str.20: ; @.str.20
.asciz "Non-unit"
l_.str.21: ; @.str.21
.asciz "Lower"
.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 zgels_
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _zgels_
.p2align 4, 0x90
_zgels_: ## @zgels_
.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 %r12
pushq %rbx
subq $352, %rsp ## imm = 0x160
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq 48(%rbp), %rax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq %rdi, -64(%rbp)
movq %rsi, -72(%rbp)
movq %rdx, -80(%rbp)
movq %rcx, -88(%rbp)
movq %r8, -96(%rbp)
movq %r9, -104(%rbp)
movq -104(%rbp), %rax
movl (%rax), %eax
movl %eax, -108(%rbp)
movl -108(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -112(%rbp)
movl -112(%rbp), %ecx
movq -96(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, -96(%rbp)
movq 24(%rbp), %rax
movl (%rax), %eax
movl %eax, -116(%rbp)
movl -116(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -120(%rbp)
movl -120(%rbp), %ecx
movq 16(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, 16(%rbp)
movq 32(%rbp), %rax
addq $-16, %rax
movq %rax, 32(%rbp)
movq 48(%rbp), %rax
movl $0, (%rax)
movq -72(%rbp), %rax
movl (%rax), %eax
movq -80(%rbp), %rcx
cmpl (%rcx), %eax
jg LBB0_2
## %bb.1:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -224(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -224(%rbp) ## 4-byte Spill
LBB0_3:
movl -224(%rbp), %eax ## 4-byte Reload
movl %eax, -196(%rbp)
movq 40(%rbp), %rax
cmpl $-1, (%rax)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -220(%rbp)
movq -64(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_6
## %bb.4:
movq -64(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_6
## %bb.5:
movq 48(%rbp), %rax
movl $-1, (%rax)
jmp LBB0_40
LBB0_6:
movq -72(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_8
## %bb.7:
movq 48(%rbp), %rax
movl $-2, (%rax)
jmp LBB0_39
LBB0_8:
movq -80(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_10
## %bb.9:
movq 48(%rbp), %rax
movl $-3, (%rax)
jmp LBB0_38
LBB0_10:
movq -88(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_12
## %bb.11:
movq 48(%rbp), %rax
movl $-4, (%rax)
jmp LBB0_37
LBB0_12:
movq -104(%rbp), %rax
movl (%rax), %eax
movl %eax, -228(%rbp) ## 4-byte Spill
movq -72(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_14
## %bb.13:
movl $1, %eax
movl %eax, -232(%rbp) ## 4-byte Spill
jmp LBB0_15
LBB0_14:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -232(%rbp) ## 4-byte Spill
LBB0_15:
movl -228(%rbp), %eax ## 4-byte Reload
movl -232(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_17
## %bb.16:
movq 48(%rbp), %rax
movl $-6, (%rax)
jmp LBB0_36
LBB0_17:
movq -72(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_19
## %bb.18:
movl $1, %eax
movl %eax, -236(%rbp) ## 4-byte Spill
jmp LBB0_20
LBB0_19:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -236(%rbp) ## 4-byte Spill
LBB0_20:
movl -236(%rbp), %eax ## 4-byte Reload
movl %eax, -124(%rbp)
movq 24(%rbp), %rax
movl (%rax), %eax
movl %eax, -240(%rbp) ## 4-byte Spill
movl -124(%rbp), %eax
movq -80(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_22
## %bb.21:
movl -124(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
jmp LBB0_23
LBB0_22:
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
LBB0_23:
movl -240(%rbp), %eax ## 4-byte Reload
movl -244(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_25
## %bb.24:
movq 48(%rbp), %rax
movl $-8, (%rax)
jmp LBB0_35
LBB0_25:
movl $1, -124(%rbp)
movl -196(%rbp), %eax
movl %eax, -248(%rbp) ## 4-byte Spill
movl -196(%rbp), %eax
movq -88(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_27
## %bb.26:
movl -196(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
jmp LBB0_28
LBB0_27:
movq -88(%rbp), %rax
movl (%rax), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
LBB0_28:
movl -248(%rbp), %eax ## 4-byte Reload
movl -252(%rbp), %ecx ## 4-byte Reload
addl %ecx, %eax
movl %eax, -128(%rbp)
movq 40(%rbp), %rax
movl (%rax), %eax
movl %eax, -256(%rbp) ## 4-byte Spill
movl -124(%rbp), %eax
cmpl -128(%rbp), %eax
jl LBB0_30
## %bb.29:
movl -124(%rbp), %eax
movl %eax, -260(%rbp) ## 4-byte Spill
jmp LBB0_31
LBB0_30:
movl -128(%rbp), %eax
movl %eax, -260(%rbp) ## 4-byte Spill
LBB0_31:
movl -256(%rbp), %eax ## 4-byte Reload
movl -260(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_34
## %bb.32:
cmpl $0, -220(%rbp)
jne LBB0_34
## %bb.33:
movq 48(%rbp), %rax
movl $-10, (%rax)
LBB0_34:
jmp LBB0_35
LBB0_35:
jmp LBB0_36
LBB0_36:
jmp LBB0_37
LBB0_37:
jmp LBB0_38
LBB0_38:
jmp LBB0_39
LBB0_39:
jmp LBB0_40
LBB0_40:
movq 48(%rbp), %rax
cmpl $0, (%rax)
je LBB0_42
## %bb.41:
movq 48(%rbp), %rax
cmpl $-10, (%rax)
jne LBB0_72
LBB0_42:
movl $1, -168(%rbp)
movq -64(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _lsame_
cmpl $0, %eax
je LBB0_44
## %bb.43:
movl $0, -168(%rbp)
LBB0_44:
movq -72(%rbp), %rax
movl (%rax), %eax
movq -80(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_55
## %bb.45:
movq -72(%rbp), %rcx
movq -80(%rbp), %r8
leaq _c__1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
leaq _c_n1(%rip), %rax
movq %rax, %r9
movq %rax, (%rsp)
movl $6, 8(%rsp)
movl $1, 16(%rsp)
callq _ilaenv_
movl %eax, -192(%rbp)
cmpl $0, -168(%rbp)
je LBB0_50
## %bb.46:
movl -192(%rbp), %eax
movl %eax, -124(%rbp)
movq -72(%rbp), %rcx
movq -88(%rbp), %r8
movq -80(%rbp), %r9
leaq _c__1(%rip), %rdi
leaq L_.str.4(%rip), %rsi
leaq L_.str.5(%rip), %rdx
leaq _c_n1(%rip), %rax
movq %rax, (%rsp)
movl $6, 8(%rsp)
movl $2, 16(%rsp)
callq _ilaenv_
movl %eax, -128(%rbp)
movl -124(%rbp), %eax
cmpl -128(%rbp), %eax
jl LBB0_48
## %bb.47:
movl -124(%rbp), %eax
movl %eax, -264(%rbp) ## 4-byte Spill
jmp LBB0_49
LBB0_48:
movl -128(%rbp), %eax
movl %eax, -264(%rbp) ## 4-byte Spill
LBB0_49:
movl -264(%rbp), %eax ## 4-byte Reload
movl %eax, -192(%rbp)
jmp LBB0_54
LBB0_50:
movl -192(%rbp), %eax
movl %eax, -124(%rbp)
movq -72(%rbp), %rcx
movq -88(%rbp), %r8
movq -80(%rbp), %r9
leaq _c__1(%rip), %rdi
leaq L_.str.4(%rip), %rsi
leaq L_.str.6(%rip), %rdx
leaq _c_n1(%rip), %rax
movq %rax, (%rsp)
movl $6, 8(%rsp)
movl $2, 16(%rsp)
callq _ilaenv_
movl %eax, -128(%rbp)
movl -124(%rbp), %eax
cmpl -128(%rbp), %eax
jl LBB0_52
## %bb.51:
movl -124(%rbp), %eax
movl %eax, -268(%rbp) ## 4-byte Spill
jmp LBB0_53
LBB0_52:
movl -128(%rbp), %eax
movl %eax, -268(%rbp) ## 4-byte Spill
LBB0_53:
movl -268(%rbp), %eax ## 4-byte Reload
movl %eax, -192(%rbp)
LBB0_54:
jmp LBB0_65
LBB0_55:
movq -72(%rbp), %rcx
movq -80(%rbp), %r8
leaq _c__1(%rip), %rdi
leaq L_.str.7(%rip), %rsi
leaq L_.str.3(%rip), %rdx
leaq _c_n1(%rip), %rax
movq %rax, %r9
movq %rax, (%rsp)
movl $6, 8(%rsp)
movl $1, 16(%rsp)
callq _ilaenv_
movl %eax, -192(%rbp)
cmpl $0, -168(%rbp)
je LBB0_60
## %bb.56:
movl -192(%rbp), %eax
movl %eax, -124(%rbp)
movq -80(%rbp), %rcx
movq -88(%rbp), %r8
movq -72(%rbp), %r9
leaq _c__1(%rip), %rdi
leaq L_.str.8(%rip), %rsi
leaq L_.str.6(%rip), %rdx
leaq _c_n1(%rip), %rax
movq %rax, (%rsp)
movl $6, 8(%rsp)
movl $2, 16(%rsp)
callq _ilaenv_
movl %eax, -128(%rbp)
movl -124(%rbp), %eax
cmpl -128(%rbp), %eax
jl LBB0_58
## %bb.57:
movl -124(%rbp), %eax
movl %eax, -272(%rbp) ## 4-byte Spill
jmp LBB0_59
LBB0_58:
movl -128(%rbp), %eax
movl %eax, -272(%rbp) ## 4-byte Spill
LBB0_59:
movl -272(%rbp), %eax ## 4-byte Reload
movl %eax, -192(%rbp)
jmp LBB0_64
LBB0_60:
movl -192(%rbp), %eax
movl %eax, -124(%rbp)
movq -80(%rbp), %rcx
movq -88(%rbp), %r8
movq -72(%rbp), %r9
leaq _c__1(%rip), %rdi
leaq L_.str.8(%rip), %rsi
leaq L_.str.5(%rip), %rdx
leaq _c_n1(%rip), %rax
movq %rax, (%rsp)
movl $6, 8(%rsp)
movl $2, 16(%rsp)
callq _ilaenv_
movl %eax, -128(%rbp)
movl -124(%rbp), %eax
cmpl -128(%rbp), %eax
jl LBB0_62
## %bb.61:
movl -124(%rbp), %eax
movl %eax, -276(%rbp) ## 4-byte Spill
jmp LBB0_63
LBB0_62:
movl -128(%rbp), %eax
movl %eax, -276(%rbp) ## 4-byte Spill
LBB0_63:
movl -276(%rbp), %eax ## 4-byte Reload
movl %eax, -192(%rbp)
LBB0_64:
jmp LBB0_65
LBB0_65:
movl $1, -124(%rbp)
movl -196(%rbp), %eax
movl %eax, -280(%rbp) ## 4-byte Spill
movl -196(%rbp), %eax
movq -88(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_67
## %bb.66:
movl -196(%rbp), %eax
movl %eax, -284(%rbp) ## 4-byte Spill
jmp LBB0_68
LBB0_67:
movq -88(%rbp), %rax
movl (%rax), %eax
movl %eax, -284(%rbp) ## 4-byte Spill
LBB0_68:
movl -280(%rbp), %eax ## 4-byte Reload
movl -284(%rbp), %ecx ## 4-byte Reload
imull -192(%rbp), %ecx
addl %ecx, %eax
movl %eax, -128(%rbp)
movl -124(%rbp), %eax
cmpl -128(%rbp), %eax
jl LBB0_70
## %bb.69:
movl -124(%rbp), %eax
movl %eax, -288(%rbp) ## 4-byte Spill
jmp LBB0_71
LBB0_70:
movl -128(%rbp), %eax
movl %eax, -288(%rbp) ## 4-byte Spill
LBB0_71:
movl -288(%rbp), %eax ## 4-byte Reload
movl %eax, -188(%rbp)
cvtsi2sdl -188(%rbp), %xmm0
movsd %xmm0, -144(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 32(%rbp), %rax
movsd %xmm0, 16(%rax)
movq 32(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 24(%rax)
LBB0_72:
movq 48(%rbp), %rax
cmpl $0, (%rax)
je LBB0_74
## %bb.73:
movq 48(%rbp), %rcx
xorl %eax, %eax
subl (%rcx), %eax
movl %eax, -124(%rbp)
leaq L_.str.9(%rip), %rdi
leaq -124(%rbp), %rsi
movl $6, %edx
callq _xerbla_
movl $0, -52(%rbp)
jmp LBB0_153
LBB0_74:
cmpl $0, -220(%rbp)
je LBB0_76
## %bb.75:
movl $0, -52(%rbp)
jmp LBB0_153
LBB0_76:
jmp LBB0_77
LBB0_77:
movq -72(%rbp), %rax
movl (%rax), %eax
movq -80(%rbp), %rcx
cmpl (%rcx), %eax
jg LBB0_79
## %bb.78:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -292(%rbp) ## 4-byte Spill
jmp LBB0_80
LBB0_79:
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -292(%rbp) ## 4-byte Spill
LBB0_80:
movl -292(%rbp), %eax ## 4-byte Reload
movl %eax, -124(%rbp)
movl -124(%rbp), %eax
movq -88(%rbp), %rcx
cmpl (%rcx), %eax
jg LBB0_82
## %bb.81:
movl -124(%rbp), %eax
movl %eax, -296(%rbp) ## 4-byte Spill
jmp LBB0_83
LBB0_82:
movq -88(%rbp), %rax
movl (%rax), %eax
movl %eax, -296(%rbp) ## 4-byte Spill
LBB0_83:
movl -296(%rbp), %eax ## 4-byte Reload
cmpl $0, %eax
jne LBB0_88
## %bb.84:
movq -72(%rbp), %rax
movl (%rax), %eax
movq -80(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_86
## %bb.85:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
jmp LBB0_87
LBB0_86:
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
LBB0_87:
movl -300(%rbp), %eax ## 4-byte Reload
movl %eax, -124(%rbp)
movq -88(%rbp), %rdx
movq 16(%rbp), %r9
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq 24(%rbp), %rax
leaq L_.str.10(%rip), %rdi
leaq -124(%rbp), %rsi
leaq _c_b1(%rip), %r8
movq %r8, %rcx
movq %rax, (%rsp)
callq _zlaset_
movl $0, -52(%rbp)
jmp LBB0_153
LBB0_88:
leaq L_.str.11(%rip), %rdi
callq _dlamch_
movsd %xmm0, -312(%rbp) ## 8-byte Spill
leaq L_.str.12(%rip), %rdi
callq _dlamch_
movaps %xmm0, %xmm1
movsd -312(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -216(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd -216(%rbp), %xmm0
movsd %xmm0, -208(%rbp)
leaq -216(%rbp), %rdi
leaq -208(%rbp), %rsi
callq _dlabad_
movq -72(%rbp), %rsi
movq -80(%rbp), %rdx
movq -96(%rbp), %rcx
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %rcx
movq -104(%rbp), %r8
leaq -48(%rbp), %r9
leaq L_.str.13(%rip), %rdi
callq _zlange_
movsd %xmm0, -152(%rbp)
movl $0, -180(%rbp)
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_91
## %bb.89:
movsd -152(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -216(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_91
## %bb.90:
movq -72(%rbp), %r9
movq -80(%rbp), %rbx
movq -96(%rbp), %r11
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq -104(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -152(%rbp), %rcx
leaq -216(%rbp), %r8
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
movl $1, -180(%rbp)
jmp LBB0_100
LBB0_91:
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -208(%rbp), %xmm0
jbe LBB0_93
## %bb.92:
movq -72(%rbp), %r9
movq -80(%rbp), %rbx
movq -96(%rbp), %r11
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq -104(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -152(%rbp), %rcx
leaq -208(%rbp), %r8
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
movl $2, -180(%rbp)
jmp LBB0_99
LBB0_93:
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_98
jp LBB0_98
## %bb.94:
movq -72(%rbp), %rax
movl (%rax), %eax
movq -80(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_96
## %bb.95:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -316(%rbp) ## 4-byte Spill
jmp LBB0_97
LBB0_96:
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -316(%rbp) ## 4-byte Spill
LBB0_97:
movl -316(%rbp), %eax ## 4-byte Reload
movl %eax, -124(%rbp)
movq -88(%rbp), %rdx
movq 16(%rbp), %r9
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq 24(%rbp), %rax
leaq L_.str.15(%rip), %rdi
leaq -124(%rbp), %rsi
leaq _c_b1(%rip), %r8
movq %r8, %rcx
movq %rax, (%rsp)
callq _zlaset_
jmp LBB0_152
LBB0_98:
jmp LBB0_99
LBB0_99:
jmp LBB0_100
LBB0_100:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -164(%rbp)
cmpl $0, -168(%rbp)
je LBB0_102
## %bb.101:
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -164(%rbp)
LBB0_102:
movq -88(%rbp), %rdx
movq 16(%rbp), %rcx
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %rcx
movq 24(%rbp), %r8
leaq -48(%rbp), %r9
leaq L_.str.13(%rip), %rdi
leaq -164(%rbp), %rsi
callq _zlange_
movsd %xmm0, -160(%rbp)
movl $0, -184(%rbp)
movsd -160(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_105
## %bb.103:
movsd -160(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -216(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_105
## %bb.104:
movq -88(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -160(%rbp), %rcx
leaq -216(%rbp), %r8
leaq -164(%rbp), %r9
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
movl $1, -184(%rbp)
jmp LBB0_108
LBB0_105:
movsd -160(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -208(%rbp), %xmm0
jbe LBB0_107
## %bb.106:
movq -88(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -160(%rbp), %rcx
leaq -208(%rbp), %r8
leaq -164(%rbp), %r9
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
movl $2, -184(%rbp)
LBB0_107:
jmp LBB0_108
LBB0_108:
movq -72(%rbp), %rax
movl (%rax), %eax
movq -80(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_125
## %bb.109:
movq 40(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -124(%rbp)
movq -72(%rbp), %rdi
movq -80(%rbp), %rsi
movq -96(%rbp), %rdx
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %rdx
movq -104(%rbp), %rcx
movq 32(%rbp), %r8
addq $16, %r8
movq 32(%rbp), %r9
movl -196(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r9
movq 48(%rbp), %rax
leaq -124(%rbp), %r10
movq %r10, (%rsp)
movq %rax, 8(%rsp)
callq _zgeqrf_
cmpl $0, -168(%rbp)
jne LBB0_113
## %bb.110:
movq 40(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -124(%rbp)
movq -72(%rbp), %rdx
movq -88(%rbp), %rcx
movq -80(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %r12
movq 32(%rbp), %r15
addq $16, %r15
movq 16(%rbp), %r14
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r14
movq 24(%rbp), %rbx
movq 32(%rbp), %r11
movl -196(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r11
movq 48(%rbp), %rax
leaq L_.str.16(%rip), %rdi
leaq L_.str.17(%rip), %rsi
leaq -124(%rbp), %r10
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _zunmqr_
movq -80(%rbp), %rcx
movq -88(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.18(%rip), %rdi
leaq L_.str.19(%rip), %rsi
leaq L_.str.20(%rip), %rdx
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _ztrtrs_
movq 48(%rbp), %rax
cmpl $0, (%rax)
jle LBB0_112
## %bb.111:
movl $0, -52(%rbp)
jmp LBB0_153
LBB0_112:
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -200(%rbp)
jmp LBB0_124
LBB0_113:
movq -80(%rbp), %rcx
movq -88(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.18(%rip), %rdi
leaq L_.str.17(%rip), %rsi
leaq L_.str.20(%rip), %rdx
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _ztrtrs_
movq 48(%rbp), %rax
cmpl $0, (%rax)
jle LBB0_115
## %bb.114:
movl $0, -52(%rbp)
jmp LBB0_153
LBB0_115:
movq -88(%rbp), %rax
movl (%rax), %eax
movl %eax, -124(%rbp)
movl $1, -176(%rbp)
LBB0_116: ## =>This Loop Header: Depth=1
## Child Loop BB0_118 Depth 2
movl -176(%rbp), %eax
cmpl -124(%rbp), %eax
jg LBB0_123
## %bb.117: ## in Loop: Header=BB0_116 Depth=1
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -128(%rbp)
movq -80(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
movl %eax, -172(%rbp)
LBB0_118: ## Parent Loop BB0_116 Depth=1
## => This Inner Loop Header: Depth=2
movl -172(%rbp), %eax
cmpl -128(%rbp), %eax
jg LBB0_121
## %bb.119: ## in Loop: Header=BB0_118 Depth=2
movl -172(%rbp), %eax
movl -176(%rbp), %ecx
imull -116(%rbp), %ecx
addl %ecx, %eax
movl %eax, -132(%rbp)
movq 16(%rbp), %rax
movslq -132(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq 16(%rbp), %rax
movslq -132(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
## %bb.120: ## in Loop: Header=BB0_118 Depth=2
movl -172(%rbp), %eax
addl $1, %eax
movl %eax, -172(%rbp)
jmp LBB0_118
LBB0_121: ## in Loop: Header=BB0_116 Depth=1
jmp LBB0_122
LBB0_122: ## in Loop: Header=BB0_116 Depth=1
movl -176(%rbp), %eax
addl $1, %eax
movl %eax, -176(%rbp)
jmp LBB0_116
LBB0_123:
movq 40(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -124(%rbp)
movq -72(%rbp), %rdx
movq -88(%rbp), %rcx
movq -80(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %r12
movq 32(%rbp), %r15
addq $16, %r15
movq 16(%rbp), %r14
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r14
movq 24(%rbp), %rbx
movq 32(%rbp), %r11
movl -196(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r11
movq 48(%rbp), %rax
leaq L_.str.16(%rip), %rdi
leaq L_.str.19(%rip), %rsi
leaq -124(%rbp), %r10
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _zunmqr_
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -200(%rbp)
LBB0_124:
jmp LBB0_141
LBB0_125:
movq 40(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -124(%rbp)
movq -72(%rbp), %rdi
movq -80(%rbp), %rsi
movq -96(%rbp), %rdx
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %rdx
movq -104(%rbp), %rcx
movq 32(%rbp), %r8
addq $16, %r8
movq 32(%rbp), %r9
movl -196(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r9
movq 48(%rbp), %rax
leaq -124(%rbp), %r10
movq %r10, (%rsp)
movq %rax, 8(%rsp)
callq _zgelqf_
cmpl $0, -168(%rbp)
jne LBB0_137
## %bb.126:
movq -72(%rbp), %rcx
movq -88(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.21(%rip), %rdi
leaq L_.str.19(%rip), %rsi
leaq L_.str.20(%rip), %rdx
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _ztrtrs_
movq 48(%rbp), %rax
cmpl $0, (%rax)
jle LBB0_128
## %bb.127:
movl $0, -52(%rbp)
jmp LBB0_153
LBB0_128:
movq -88(%rbp), %rax
movl (%rax), %eax
movl %eax, -124(%rbp)
movl $1, -176(%rbp)
LBB0_129: ## =>This Loop Header: Depth=1
## Child Loop BB0_131 Depth 2
movl -176(%rbp), %eax
cmpl -124(%rbp), %eax
jg LBB0_136
## %bb.130: ## in Loop: Header=BB0_129 Depth=1
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -128(%rbp)
movq -72(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
movl %eax, -172(%rbp)
LBB0_131: ## Parent Loop BB0_129 Depth=1
## => This Inner Loop Header: Depth=2
movl -172(%rbp), %eax
cmpl -128(%rbp), %eax
jg LBB0_134
## %bb.132: ## in Loop: Header=BB0_131 Depth=2
movl -172(%rbp), %eax
movl -176(%rbp), %ecx
imull -116(%rbp), %ecx
addl %ecx, %eax
movl %eax, -132(%rbp)
movq 16(%rbp), %rax
movslq -132(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq 16(%rbp), %rax
movslq -132(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
## %bb.133: ## in Loop: Header=BB0_131 Depth=2
movl -172(%rbp), %eax
addl $1, %eax
movl %eax, -172(%rbp)
jmp LBB0_131
LBB0_134: ## in Loop: Header=BB0_129 Depth=1
jmp LBB0_135
LBB0_135: ## in Loop: Header=BB0_129 Depth=1
movl -176(%rbp), %eax
addl $1, %eax
movl %eax, -176(%rbp)
jmp LBB0_129
LBB0_136:
movq 40(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -124(%rbp)
movq -80(%rbp), %rdx
movq -88(%rbp), %rcx
movq -72(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %r12
movq 32(%rbp), %r15
addq $16, %r15
movq 16(%rbp), %r14
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r14
movq 24(%rbp), %rbx
movq 32(%rbp), %r11
movl -196(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r11
movq 48(%rbp), %rax
leaq L_.str.16(%rip), %rdi
leaq L_.str.17(%rip), %rsi
leaq -124(%rbp), %r10
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _zunmlq_
movq -80(%rbp), %rax
movl (%rax), %eax
movl %eax, -200(%rbp)
jmp LBB0_140
LBB0_137:
movq 40(%rbp), %rax
movl (%rax), %eax
subl -196(%rbp), %eax
movl %eax, -124(%rbp)
movq -80(%rbp), %rdx
movq -88(%rbp), %rcx
movq -72(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %r12
movq 32(%rbp), %r15
addq $16, %r15
movq 16(%rbp), %r14
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r14
movq 24(%rbp), %rbx
movq 32(%rbp), %r11
movl -196(%rbp), %eax
addl $1, %eax
cltq
shlq $4, %rax
addq %rax, %r11
movq 48(%rbp), %rax
leaq L_.str.16(%rip), %rdi
leaq L_.str.19(%rip), %rsi
leaq -124(%rbp), %r10
movq %r12, (%rsp)
movq %r15, 8(%rsp)
movq %r14, 16(%rsp)
movq %rbx, 24(%rsp)
movq %r11, 32(%rsp)
movq %r10, 40(%rsp)
movq %rax, 48(%rsp)
callq _zunmlq_
movq -72(%rbp), %rcx
movq -88(%rbp), %r8
movq -96(%rbp), %r9
movslq -112(%rbp), %rax
shlq $4, %rax
addq %rax, %r9
movq -104(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.21(%rip), %rdi
leaq L_.str.17(%rip), %rsi
leaq L_.str.20(%rip), %rdx
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _ztrtrs_
movq 48(%rbp), %rax
cmpl $0, (%rax)
jle LBB0_139
## %bb.138:
movl $0, -52(%rbp)
jmp LBB0_153
LBB0_139:
movq -72(%rbp), %rax
movl (%rax), %eax
movl %eax, -200(%rbp)
LBB0_140:
jmp LBB0_141
LBB0_141:
cmpl $1, -180(%rbp)
jne LBB0_143
## %bb.142:
movq -88(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -152(%rbp), %rcx
leaq -216(%rbp), %r8
leaq -200(%rbp), %r9
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
jmp LBB0_146
LBB0_143:
cmpl $2, -180(%rbp)
jne LBB0_145
## %bb.144:
movq -88(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -152(%rbp), %rcx
leaq -208(%rbp), %r8
leaq -200(%rbp), %r9
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
LBB0_145:
jmp LBB0_146
LBB0_146:
cmpl $1, -184(%rbp)
jne LBB0_148
## %bb.147:
movq -88(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -216(%rbp), %rcx
leaq -160(%rbp), %r8
leaq -200(%rbp), %r9
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
jmp LBB0_151
LBB0_148:
cmpl $2, -184(%rbp)
jne LBB0_150
## %bb.149:
movq -88(%rbp), %rbx
movq 16(%rbp), %r11
movslq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %r11
movq 24(%rbp), %r10
movq 48(%rbp), %rax
leaq L_.str.14(%rip), %rdi
leaq _c__0(%rip), %rdx
leaq -208(%rbp), %rcx
leaq -160(%rbp), %r8
leaq -200(%rbp), %r9
movq %rdx, %rsi
movq %rbx, (%rsp)
movq %r11, 8(%rsp)
movq %r10, 16(%rsp)
movq %rax, 24(%rsp)
callq _zlascl_
LBB0_150:
jmp LBB0_151
LBB0_151:
jmp LBB0_152
LBB0_152:
cvtsi2sdl -188(%rbp), %xmm0
movsd %xmm0, -144(%rbp)
movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq 32(%rbp), %rax
movsd %xmm0, 16(%rax)
movq 32(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 24(%rax)
movl $0, -52(%rbp)
LBB0_153:
movl -52(%rbp), %eax
movl %eax, -320(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_155
## %bb.154:
movl -320(%rbp), %eax ## 4-byte Reload
addq $352, %rsp ## imm = 0x160
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_155:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "N"
L_.str.1: ## @.str.1
.asciz "C"
.section __DATA,__data
.p2align 2 ## @c__1
_c__1:
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "ZGEQRF"
L_.str.3: ## @.str.3
.asciz " "
.section __DATA,__data
.p2align 2 ## @c_n1
_c_n1:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "ZUNMQR"
L_.str.5: ## @.str.5
.asciz "LN"
L_.str.6: ## @.str.6
.asciz "LC"
L_.str.7: ## @.str.7
.asciz "ZGELQF"
L_.str.8: ## @.str.8
.asciz "ZUNMLQ"
L_.str.9: ## @.str.9
.asciz "ZGELS "
L_.str.10: ## @.str.10
.asciz "Full"
.zerofill __DATA,__bss,_c_b1,16,3 ## @c_b1
L_.str.11: ## @.str.11
.asciz "S"
L_.str.12: ## @.str.12
.asciz "P"
L_.str.13: ## @.str.13
.asciz "M"
L_.str.14: ## @.str.14
.asciz "G"
.zerofill __DATA,__bss,_c__0,4,2 ## @c__0
L_.str.15: ## @.str.15
.asciz "F"
L_.str.16: ## @.str.16
.asciz "Left"
L_.str.17: ## @.str.17
.asciz "Conjugate transpose"
L_.str.18: ## @.str.18
.asciz "Upper"
L_.str.19: ## @.str.19
.asciz "No transpose"
L_.str.20: ## @.str.20
.asciz "Non-unit"
L_.str.21: ## @.str.21
.asciz "Lower"
.subsections_via_symbols
| the_stack_data/215768066.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1056
stur wzr, [x29, #-20]
stur w0, [x29, #-24]
stur x1, [x29, #-32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #1
bl _open
stur w0, [x29, #-40]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov w0, #0
add x1, sp, #8
mov x2, #1024
bl _read
mov x8, x0
mov x9, x0
stur w9, [x29, #-36]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur w0, [x29, #-40]
ldursw x2, [x29, #-36]
add x1, sp, #8
bl _write
b LBB0_3
LBB0_5:
ldur w0, [x29, #-40]
bl _close
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "myfifo"
l_.str.1: ; @.str.1
.asciz "client: open"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1056, %rsp ## imm = 0x420
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movl $1, %esi
movb $0, %al
callq _open
movl %eax, -24(%rbp)
cmpl $0, %eax
jge LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq -1056(%rbp), %rsi
xorl %edi, %edi
movl $1024, %edx ## imm = 0x400
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -24(%rbp), %edi
leaq -1056(%rbp), %rsi
movslq -20(%rbp), %rdx
callq _write
jmp LBB0_3
LBB0_5:
movl -24(%rbp), %edi
callq _close
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "myfifo"
L_.str.1: ## @.str.1
.asciz "client: open"
.subsections_via_symbols
| the_stack_data/14405.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #64
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x0, #16
bl _malloc
ldrsw x9, [sp, #8]
adrp x8, _mem@GOTPAGE
ldr x8, [x8, _mem@GOTPAGEOFF]
str x0, [x8, x9, lsl #3]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
str wzr, [sp, #8]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #64
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #8]
adrp x8, _mem@GOTPAGE
ldr x8, [x8, _mem@GOTPAGEOFF]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_5
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _mem,512,3 ; @mem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $64, -8(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $16, %edi
callq _malloc
movq %rax, %rdx
movslq -8(%rbp), %rcx
movq _mem@GOTPCREL(%rip), %rax
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 $0, -8(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $64, -8(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -8(%rbp), %rcx
movq _mem@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rdi
callq _free
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_5
LBB0_8:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mem,512,4 ## @mem
.subsections_via_symbols
| the_stack_data/87638281.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
adrp x9, l___const.main.str@PAGE
add x9, x9, l___const.main.str@PAGEOFF
ldr q0, [x9]
add x8, sp, #32
str q0, [sp, #32]
ldur x9, [x9, #13]
stur x9, [x8, #13]
str x8, [sp, #16]
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16]
bl _reverseWords
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _reverseWords ; -- Begin function reverseWords
.p2align 2
_reverseWords: ; @reverseWords
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
; Child Loop BB1_6 Depth 2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
stur w8, [x29, #-12]
b LBB1_6
LBB1_6: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_6 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_6 Depth=2
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_10
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_6 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_6
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w8, [sp, #16]
subs w2, w8, #1
bl _reverse
b LBB1_1
LBB1_11:
ldur x0, [x29, #-8]
ldr w8, [sp, #16]
subs w2, w8, #1
mov w1, #0
bl _reverse
stur wzr, [x29, #-12]
str wzr, [sp, #12]
b LBB1_12
LBB1_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_19
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_12 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w0, [x8, x9]
bl _isspace
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_16
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_12 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_12 Depth=1
ldur x8, [x29, #-8]
ldur w9, [x29, #-12]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_12 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
mov x11, x10
add w11, w11, #1
stur w11, [x29, #-12]
add x9, x9, x10
strb w8, [x9]
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_12 Depth=1
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_12 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_12
LBB1_19:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
add x8, x8, x9
strb wzr, [x8]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_22
b LBB1_20
LBB1_20:
ldur x8, [x29, #-8]
ldur w9, [x29, #-12]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21:
ldur x8, [x29, #-8]
ldur w9, [x29, #-12]
subs w9, w9, #1
add x8, x8, w9, sxtw
strb wzr, [x8]
b LBB1_22
LBB1_22:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _reverse ; -- Begin function reverse
.p2align 2
_reverse: ; @reverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
mov x11, x10
add w11, w11, #1
str w11, [sp, #20]
add x9, x9, x10
strb w8, [x9]
ldrb w8, [sp, #15]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
mov x11, x10
subs w11, w11, #1
str w11, [sp, #16]
add x9, x9, x10
strb w8, [x9]
b LBB2_1
LBB2_3:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.str: ; @__const.main.str
.asciz " the sky is blue "
l_.str: ; @.str
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movq L___const.main.str(%rip), %rax
movq %rax, -32(%rbp)
movq L___const.main.str+8(%rip), %rax
movq %rax, -24(%rbp)
movl L___const.main.str+16(%rip), %eax
movl %eax, -16(%rbp)
movb L___const.main.str+20(%rip), %al
movb %al, -12(%rbp)
leaq -32(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -48(%rbp), %rdi
callq _reverseWords
movq -48(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _reverseWords ## -- Begin function reverseWords
.p2align 4, 0x90
_reverseWords: ## @reverseWords
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
## Child Loop BB1_6 Depth 2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB1_11
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_3
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
jne LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -12(%rbp)
LBB1_6: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB1_8
## %bb.7: ## in Loop: Header=BB1_6 Depth=2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB1_8: ## in Loop: Header=BB1_6 Depth=2
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_9
jmp LBB1_10
LBB1_9: ## in Loop: Header=BB1_6 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_6
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -16(%rbp), %edx
subl $1, %edx
callq _reverse
jmp LBB1_1
LBB1_11:
movq -8(%rbp), %rdi
movl -16(%rbp), %edx
subl $1, %edx
xorl %esi, %esi
callq _reverse
movl $0, -12(%rbp)
movl $0, -20(%rbp)
LBB1_12: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_19
## %bb.13: ## in Loop: Header=BB1_12 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isspace
cmpl $0, %eax
je LBB1_16
## %bb.14: ## in Loop: Header=BB1_12 Depth=1
cmpl $0, -12(%rbp)
je LBB1_17
## %bb.15: ## in Loop: Header=BB1_12 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je LBB1_17
LBB1_16: ## in Loop: Header=BB1_12 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -12(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB1_17: ## in Loop: Header=BB1_12 Depth=1
jmp LBB1_18
LBB1_18: ## in Loop: Header=BB1_12 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_12
LBB1_19:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
cmpl $0, -12(%rbp)
je LBB1_22
## %bb.20:
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
jne LBB1_22
## %bb.21:
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
LBB1_22:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reverse ## -- Begin function reverse
.p2align 4, 0x90
_reverse: ## @reverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -12(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movb -17(%rbp), %dl
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
movl %ecx, %esi
addl $-1, %esi
movl %esi, -16(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp LBB2_1
LBB2_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
.p2align 4 ## @__const.main.str
L___const.main.str:
.asciz " the sky is blue "
L_.str: ## @.str
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/912109.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]
add x0, sp, #16
str x0, [sp] ; 8-byte Folded Spill
adrp x1, l___const.main.a@PAGE
add x1, x1, l___const.main.a@PAGEOFF
mov x2, #40
bl _memcpy
ldr x8, [sp] ; 8-byte Folded Reload
adrp x9, _j@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
ldrsw x9, [x9, _j@PAGEOFF]
ldr w0, [x8, x9, lsl #2]
bl _print
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9, _j@PAGEOFF]
add w8, w8, #1
str w8, [x9, _j@PAGEOFF]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, _j@PAGE
ldr w8, [x8, _j@PAGEOFF]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x9, _j@PAGE
ldr w8, [x9, _j@PAGEOFF]
add w8, w8, #1
str w8, [x9, _j@PAGEOFF]
bl _main
b LBB1_2
LBB1_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _j ; @j
.zerofill __DATA,__common,_j,4,2
.section __TEXT,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\t"
.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)
leaq -48(%rbp), %rdi
leaq l___const.main.a(%rip), %rsi
movl $40, %edx
callq _memcpy
movslq _j(%rip), %rax
movl -48(%rbp,%rax,4), %edi
callq _print
movl _j(%rip), %eax
addl $1, %eax
movl %eax, _j(%rip)
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
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $10, _j(%rip)
jge LBB1_2
## %bb.1:
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl _j(%rip), %eax
addl $1, %eax
movl %eax, _j(%rip)
callq _main
LBB1_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _j ## @j
.zerofill __DATA,__common,_j,4,2
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\t"
.subsections_via_symbols
| the_stack_data/48575952.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-24] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
sub x8, x29, #20
str x8, [sp, #32] ; 8-byte Folded Spill
mov w9, #22
stur w9, [x29, #-20]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _printf
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
stur x0, [x29, #-32] ; 8-byte Folded Spill
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldur x8, [x29, #-16]
ldr w9, [x8]
; 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
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w8, #11
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldur x10, [x29, #-16]
mov w9, #2
str w9, [x10]
mov x9, sp
str x8, [x9]
bl _printf
ldur x0, [x29, #-32] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur w0, [x29, #-24] ; 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 "Address of c:%d\n"
l_.str.1: ; @.str.1
.asciz "Value of c:%d\n\n"
l_.str.2: ; @.str.2
.asciz "Address of pointer pc:%d\n"
l_.str.3: ; @.str.3
.asciz "Content of pointer pc:%d\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $22, -20(%rbp)
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -20(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $11, -20(%rbp)
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movl $2, (%rax)
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Address of c:%d\n"
L_.str.1: ## @.str.1
.asciz "Value of c:%d\n\n"
L_.str.2: ## @.str.2
.asciz "Address of pointer pc:%d\n"
L_.str.3: ## @.str.3
.asciz "Content of pointer pc:%d\n\n"
.subsections_via_symbols
| the_stack_data/97011621.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str w0, [sp, #48]
str x1, [sp, #40]
ldr w8, [sp, #48]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
ldr x8, [sp, #40]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldr x0, [sp, #32]
add x1, sp, #52
str x1, [sp, #24] ; 8-byte Folded Spill
bl _hostname_to_ip
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [sp, #32]
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
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
bl ___stack_chk_fail
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.globl _hostname_to_ip ; -- Begin function hostname_to_ip
.p2align 2
_hostname_to_ip: ; @hostname_to_ip
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
add x0, sp, #64
str x0, [sp, #24] ; 8-byte Folded Spill
mov w1, #0
mov x2, #48
bl _memset
ldr x2, [sp, #24] ; 8-byte Folded Reload
str wzr, [sp, #68]
mov w8, #1
str w8, [sp, #72]
ldur x0, [x29, #-16]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
add x3, sp, #56
bl _getaddrinfo
str w0, [sp, #36]
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 x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w0, [sp, #36]
bl _gai_strerror
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_7
LBB1_2:
ldr x8, [sp, #56]
str x8, [sp, #48]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #48]
ldr x8, [x8, #32]
str x8, [sp, #40]
ldur x8, [x29, #-24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [sp, #40]
ldr w8, [x8, #4]
mov x0, x8
bl _inet_ntoa
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x2, #-1
bl ___strcpy_chk
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #48]
ldr x8, [x8, #40]
str x8, [sp, #48]
b LBB1_3
LBB1_6:
ldr x0, [sp, #56]
bl _freeaddrinfo
stur wzr, [x29, #-4]
b LBB1_7
LBB1_7:
ldur w0, [x29, #-4]
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 "Please provide a hostname to resolve"
l_.str.1: ; @.str.1
.asciz "%s resolved to %s"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "http"
l_.str.4: ; @.str.4
.asciz "getaddrinfo: %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 $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -116(%rbp)
movq %rsi, -128(%rbp)
cmpl $2, -116(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
movq -128(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -136(%rbp)
movq -136(%rbp), %rdi
leaq -112(%rbp), %rsi
callq _hostname_to_ip
movq -136(%rbp), %rsi
leaq -112(%rbp), %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_4
## %bb.3:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _hostname_to_ip ## -- Begin function hostname_to_ip
.p2align 4, 0x90
_hostname_to_ip: ## @hostname_to_ip
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
leaq -80(%rbp), %rdi
xorl %esi, %esi
movl $48, %edx
callq _memset
movl $0, -76(%rbp)
movl $1, -72(%rbp)
movq -16(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
leaq -80(%rbp), %rdx
leaq -88(%rbp), %rcx
callq _getaddrinfo
movl %eax, -108(%rbp)
cmpl $0, %eax
je LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movl -108(%rbp), %edi
callq _gai_strerror
movq -120(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB1_7
LBB1_2:
movq -88(%rbp), %rax
movq %rax, -96(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -96(%rbp)
je LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -96(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -104(%rbp)
movq -24(%rbp), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
movq -104(%rbp), %rax
movl 4(%rax), %edi
callq _inet_ntoa
movq -128(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
movq $-1, %rdx
callq ___strcpy_chk
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movq -96(%rbp), %rax
movq 40(%rax), %rax
movq %rax, -96(%rbp)
jmp LBB1_3
LBB1_6:
movq -88(%rbp), %rdi
callq _freeaddrinfo
movl $0, -4(%rbp)
LBB1_7:
movl -4(%rbp), %eax
addq $128, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please provide a hostname to resolve"
L_.str.1: ## @.str.1
.asciz "%s resolved to %s"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "http"
L_.str.4: ## @.str.4
.asciz "getaddrinfo: %s\n"
.subsections_via_symbols
| the_stack_data/105809.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_csv_init ; -- Begin function sqlite3_csv_init
.p2align 2
_sqlite3_csv_init: ; @sqlite3_csv_init
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
adrp x2, _CsvModule@PAGE
add x2, x2, _CsvModule@PAGEOFF
mov x3, #0
bl _sqlite3_create_module
str w0, [sp, #4]
ldr w0, [sp, #4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabCreate
_csvtabCreate: ; @csvtabCreate
.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]
str x3, [sp, #16]
str x4, [sp, #8]
str x5, [sp]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldur w2, [x29, #-20]
ldr x3, [sp, #16]
ldr x4, [sp, #8]
ldr x5, [sp]
bl _csvtabConnect
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabConnect
_csvtabConnect: ; @csvtabConnect
.cfi_startproc
; %bb.0:
sub sp, sp, #496
.cfi_def_cfa_offset 496
stp x28, x27, [sp, #464] ; 16-byte Folded Spill
stp x29, x30, [sp, #480] ; 16-byte Folded Spill
add x29, sp, #480
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #152]
str x1, [sp, #144]
str w2, [sp, #140]
str x3, [sp, #128]
str x4, [sp, #120]
str x5, [sp, #112]
; kill: def $x8 killed $xzr
str xzr, [sp, #104]
mov w8, #-1
str w8, [sp, #100]
str wzr, [sp, #96]
mov w8, #-99
str w8, [sp, #80]
add x0, sp, #192
mov x1, #264
bl _bzero
str xzr, [sp, #168]
str xzr, [sp, #176]
str xzr, [sp, #184]
mov w8, #3
str w8, [sp, #92]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr w8, [sp, #92]
ldr w9, [sp, #140]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_27
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #128]
ldrsw x9, [sp, #92]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #72]
str wzr, [sp, #88]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [sp, #88]
subs x8, x8, #3
cset w8, hs
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldrsw x9, [sp, #88]
adrp x8, _csvtabConnect.azParam@PAGE
add x8, x8, _csvtabConnect.azParam@PAGEOFF
ldr x1, [x8, x9, lsl #3]
ldr x2, [sp, #72]
ldrsw x9, [sp, #88]
add x8, sp, #168
add x3, x8, x9, lsl #3
add x0, sp, #192
bl _csv_string_parameter
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
b LBB2_8
LBB2_6: ; in Loop: Header=BB2_3 Depth=2
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp, #88]
add w8, w8, #1
str w8, [sp, #88]
b LBB2_3
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldrsw x8, [sp, #88]
subs x8, x8, #3
cset w8, hs
tbnz w8, #0, LBB2_12
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldrb w8, [sp, #256]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
b LBB2_88
LBB2_11: ; in Loop: Header=BB2_1 Depth=1
b LBB2_25
LBB2_12: ; in Loop: Header=BB2_1 Depth=1
ldr x2, [sp, #72]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
mov w1, #6
add x3, sp, #84
bl _csv_boolean_parameter
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #100]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
add x0, sp, #192
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _csv_errmsg
b LBB2_88
LBB2_15: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #84]
str w8, [sp, #100]
b LBB2_24
LBB2_16: ; in Loop: Header=BB2_1 Depth=1
ldr x2, [sp, #72]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
mov w1, #7
bl _csv_parameter
mov x8, x0
str x8, [sp, #64]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB2_22
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_19
b LBB2_18
LBB2_18:
add x0, sp, #192
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _csv_errmsg
b LBB2_88
LBB2_19: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [sp, #64]
bl _atoi
str w0, [sp, #80]
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB2_21
b LBB2_20
LBB2_20:
add x0, sp, #192
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _csv_errmsg
b LBB2_88
LBB2_21: ; in Loop: Header=BB2_1 Depth=1
b LBB2_23
LBB2_22:
ldr x8, [sp, #72]
mov x9, sp
str x8, [x9]
add x0, sp, #192
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _csv_errmsg
b LBB2_88
LBB2_23: ; in Loop: Header=BB2_1 Depth=1
b LBB2_24
LBB2_24: ; in Loop: Header=BB2_1 Depth=1
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_1 Depth=1
b LBB2_26
LBB2_26: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB2_1
LBB2_27:
ldr x8, [sp, #168]
subs x8, x8, #0
cset w8, eq
and w8, w8, #0x1
ldr x9, [sp, #176]
subs x9, x9, #0
cset w9, eq
and w9, w9, #0x1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_29
b LBB2_28
LBB2_28:
add x0, sp, #192
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _csv_errmsg
b LBB2_88
LBB2_29:
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_31
b LBB2_30
LBB2_30:
ldr w8, [sp, #100]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_33
b LBB2_31
LBB2_31:
ldr x1, [sp, #168]
ldr x2, [sp, #176]
add x0, sp, #192
bl _csv_reader_open
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_33
b LBB2_32
LBB2_32:
b LBB2_88
LBB2_33:
mov w0, #56
bl _sqlite3_malloc
str x0, [sp, #104]
ldr x8, [sp, #104]
ldr x9, [sp, #120]
str x8, [x9]
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_35
b LBB2_34
LBB2_34:
b LBB2_87
LBB2_35:
ldr x0, [sp, #104]
mov w1, #0
mov x2, #56
mov x3, #-1
bl ___memset_chk
ldr x8, [sp, #184]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_67
b LBB2_36
LBB2_36:
mov x0, #0
bl _sqlite3_str_new
str x0, [sp, #56]
adrp x8, l_.str.11@PAGE
add x8, x8, l_.str.11@PAGEOFF
str x8, [sp, #48]
str wzr, [sp, #44]
ldr x0, [sp, #56]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _sqlite3_str_appendf
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_42
b LBB2_37
LBB2_37:
ldr w8, [sp, #100]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_42
b LBB2_38
LBB2_38:
str wzr, [sp, #80]
b LBB2_39
LBB2_39: ; =>This Inner Loop Header: Depth=1
add x0, sp, #192
bl _csv_read_one_field
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB2_40
LBB2_40: ; in Loop: Header=BB2_39 Depth=1
ldr w8, [sp, #224]
subs w8, w8, #44
cset w8, eq
tbnz w8, #0, LBB2_39
b LBB2_41
LBB2_41:
b LBB2_42
LBB2_42:
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_49
b LBB2_43
LBB2_43:
ldr w8, [sp, #100]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_49
b LBB2_44
LBB2_44:
str wzr, [sp, #44]
b LBB2_45
LBB2_45: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_48
b LBB2_46
LBB2_46: ; in Loop: Header=BB2_45 Depth=1
ldr x0, [sp, #56]
ldr x10, [sp, #48]
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _sqlite3_str_appendf
adrp x8, l_.str.14@PAGE
add x8, x8, l_.str.14@PAGEOFF
str x8, [sp, #48]
b LBB2_47
LBB2_47: ; in Loop: Header=BB2_45 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB2_45
LBB2_48:
b LBB2_64
LBB2_49:
b LBB2_50
LBB2_50: ; =>This Inner Loop Header: Depth=1
add x0, sp, #192
bl _csv_read_one_field
str x0, [sp, #32]
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_52
b LBB2_51
LBB2_51: ; in Loop: Header=BB2_50 Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB2_54
b LBB2_52
LBB2_52: ; in Loop: Header=BB2_50 Depth=1
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_55
b LBB2_53
LBB2_53: ; in Loop: Header=BB2_50 Depth=1
ldr w8, [sp, #100]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_55
b LBB2_54
LBB2_54: ; in Loop: Header=BB2_50 Depth=1
ldr x0, [sp, #56]
ldr x10, [sp, #48]
ldr x8, [sp, #32]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _sqlite3_str_appendf
adrp x8, l_.str.14@PAGE
add x8, x8, l_.str.14@PAGEOFF
str x8, [sp, #48]
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB2_55
LBB2_55: ; in Loop: Header=BB2_50 Depth=1
b LBB2_56
LBB2_56: ; in Loop: Header=BB2_50 Depth=1
ldr w8, [sp, #224]
subs w8, w8, #44
cset w8, eq
tbnz w8, #0, LBB2_50
b LBB2_57
LBB2_57:
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_59
b LBB2_58
LBB2_58:
ldr w8, [sp, #44]
str w8, [sp, #80]
b LBB2_63
LBB2_59:
b LBB2_60
LBB2_60: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_62
b LBB2_61
LBB2_61: ; in Loop: Header=BB2_60 Depth=1
ldr x0, [sp, #56]
ldr x8, [sp, #48]
ldr w9, [sp, #44]
add w10, w9, #1
str w10, [sp, #44]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _sqlite3_str_appendf
adrp x8, l_.str.14@PAGE
add x8, x8, l_.str.14@PAGEOFF
str x8, [sp, #48]
b LBB2_60
LBB2_62:
b LBB2_63
LBB2_63:
b LBB2_64
LBB2_64:
ldr w8, [sp, #80]
ldr x9, [sp, #104]
str w8, [x9, #48]
ldr x0, [sp, #56]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _sqlite3_str_appendf
ldr x0, [sp, #56]
bl _sqlite3_str_finish
str x0, [sp, #184]
ldr x8, [sp, #184]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_66
b LBB2_65
LBB2_65:
b LBB2_87
LBB2_66:
b LBB2_74
LBB2_67:
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_72
b LBB2_68
LBB2_68:
b LBB2_69
LBB2_69: ; =>This Inner Loop Header: Depth=1
add x0, sp, #192
bl _csv_read_one_field
ldr x9, [sp, #104]
ldr w8, [x9, #48]
add w8, w8, #1
str w8, [x9, #48]
b LBB2_70
LBB2_70: ; in Loop: Header=BB2_69 Depth=1
ldr w8, [sp, #224]
subs w8, w8, #44
cset w8, eq
tbnz w8, #0, LBB2_69
b LBB2_71
LBB2_71:
b LBB2_73
LBB2_72:
ldr w8, [sp, #80]
ldr x9, [sp, #104]
str w8, [x9, #48]
b LBB2_73
LBB2_73:
b LBB2_74
LBB2_74:
ldr x8, [sp, #168]
ldr x9, [sp, #104]
str x8, [x9, #24]
; kill: def $x8 killed $xzr
str xzr, [sp, #168]
ldr x8, [sp, #176]
ldr x9, [sp, #104]
str x8, [x9, #32]
str xzr, [sp, #176]
ldr w8, [sp, #100]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB2_76
b LBB2_75
LBB2_75:
ldr x8, [sp, #104]
str xzr, [x8, #40]
b LBB2_80
LBB2_76:
ldr x8, [sp, #104]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_78
b LBB2_77
LBB2_77:
ldr x8, [sp, #232]
sxtw x8, w8
ldr x9, [sp, #104]
str x8, [x9, #40]
b LBB2_79
LBB2_78:
ldr x0, [sp, #192]
bl _ftell
ldr x8, [sp, #240]
subs x8, x0, x8
ldr x9, [sp, #232]
add x8, x8, x9
sxtw x8, w8
ldr x9, [sp, #104]
str x8, [x9, #40]
b LBB2_79
LBB2_79:
b LBB2_80
LBB2_80:
add x0, sp, #192
bl _csv_reader_reset
ldr x0, [sp, #152]
ldr x1, [sp, #184]
bl _sqlite3_declare_vtab
str w0, [sp, #96]
ldr w8, [sp, #96]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_82
b LBB2_81
LBB2_81:
ldr x8, [sp, #184]
str x8, [sp, #24] ; 8-byte Folded Spill
ldr x0, [sp, #152]
bl _sqlite3_errmsg
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov x8, sp
str x9, [x8]
str x0, [x8, #8]
add x0, sp, #192
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _csv_errmsg
b LBB2_88
LBB2_82:
str wzr, [sp, #92]
b LBB2_83
LBB2_83: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #92]
subs x8, x8, #3
cset w8, hs
tbnz w8, #0, LBB2_86
b LBB2_84
LBB2_84: ; in Loop: Header=BB2_83 Depth=1
ldrsw x9, [sp, #92]
add x8, sp, #168
ldr x0, [x8, x9, lsl #3]
bl _sqlite3_free
b LBB2_85
LBB2_85: ; in Loop: Header=BB2_83 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB2_83
LBB2_86:
str wzr, [sp, #164]
b LBB2_99
LBB2_87:
mov w8, #7
str w8, [sp, #96]
add x0, sp, #192
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _csv_errmsg
b LBB2_88
LBB2_88:
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_90
b LBB2_89
LBB2_89:
ldr x0, [sp, #104]
bl _csvtabDisconnect
b LBB2_90
LBB2_90:
str wzr, [sp, #92]
b LBB2_91
LBB2_91: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #92]
subs x8, x8, #3
cset w8, hs
tbnz w8, #0, LBB2_94
b LBB2_92
LBB2_92: ; in Loop: Header=BB2_91 Depth=1
ldrsw x9, [sp, #92]
add x8, sp, #168
ldr x0, [x8, x9, lsl #3]
bl _sqlite3_free
b LBB2_93
LBB2_93: ; in Loop: Header=BB2_91 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB2_91
LBB2_94:
ldrb w8, [sp, #256]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_96
b LBB2_95
LBB2_95:
ldr x8, [sp, #112]
ldr x0, [x8]
bl _sqlite3_free
add x8, sp, #192
add x8, x8, #64
mov x9, sp
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _sqlite3_mprintf
ldr x8, [sp, #112]
str x0, [x8]
b LBB2_96
LBB2_96:
add x0, sp, #192
bl _csv_reader_reset
ldr w8, [sp, #96]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_98
b LBB2_97
LBB2_97:
mov w8, #1
str w8, [sp, #96]
b LBB2_98
LBB2_98:
ldr w8, [sp, #96]
str w8, [sp, #164]
b LBB2_99
LBB2_99:
ldr w8, [sp, #164]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_101
b LBB2_100
LBB2_100:
bl ___stack_chk_fail
LBB2_101:
ldr w0, [sp, #20] ; 4-byte Folded Reload
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,__literal8,8byte_literals
.p2align 3 ; -- Begin function csvtabBestIndex
lCPI3_0:
.quad 0x412e848000000000 ; double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_csvtabBestIndex: ; @csvtabBestIndex
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp]
adrp x9, lCPI3_0@PAGE
ldr d0, [x9, lCPI3_0@PAGEOFF]
str d0, [x8, #64]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabDisconnect
_csvtabDisconnect: ; @csvtabDisconnect
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
ldr x8, [sp]
ldr x0, [x8, #24]
bl _sqlite3_free
ldr x8, [sp]
ldr x0, [x8, #32]
bl _sqlite3_free
ldr x0, [sp]
bl _sqlite3_free
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabOpen
_csvtabOpen: ; @csvtabOpen
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
ldur x8, [x29, #-16]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldrsw x9, [x8, #48]
mov x8, #12
mul x8, x8, x9
add x8, x8, #296
str x8, [sp]
ldr x0, [sp]
bl _sqlite3_malloc64
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w8, #7
stur w8, [x29, #-4]
b LBB5_5
LBB5_2:
ldr x0, [sp, #8]
ldr x2, [sp]
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x8, [sp, #8]
add x8, x8, #296
ldr x9, [sp, #8]
str x8, [x9, #272]
ldr x8, [sp, #8]
ldr x8, [x8, #272]
ldr x9, [sp, #16]
ldrsw x9, [x9, #48]
add x8, x8, x9, lsl #3
ldr x9, [sp, #8]
str x8, [x9, #280]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
str x8, [x9]
ldr x8, [sp, #8]
add x0, x8, #8
ldr x8, [sp, #16]
ldr x1, [x8, #24]
ldr x8, [sp, #16]
ldr x2, [x8, #32]
bl _csv_reader_open
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
ldr x0, [sp, #16]
ldr x8, [sp, #8]
add x1, x8, #8
bl _csv_xfer_error
mov w8, #1
stur w8, [x29, #-4]
b LBB5_5
LBB5_4:
stur wzr, [x29, #-4]
b LBB5_5
LBB5_5:
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 csvtabClose
_csvtabClose: ; @csvtabClose
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
ldr x0, [sp]
bl _csvtabCursorRowReset
ldr x8, [sp]
add x0, x8, #8
bl _csv_reader_reset
ldr x0, [sp, #8]
bl _sqlite3_free
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabFilter
_csvtabFilter: ; @csvtabFilter
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
str x4, [sp, #24]
ldur x8, [x29, #-8]
str x8, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #16]
str xzr, [x8, #288]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_11
b LBB7_1
LBB7_1:
ldr x8, [sp, #16]
ldr x8, [x8, #64]
ldr x9, [sp, #8]
ldr x9, [x9, #32]
subs x8, x8, x9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2:
adrp x0, l___func__.csvtabFilter@PAGE
add x0, x0, l___func__.csvtabFilter@PAGEOFF
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov w2, #806
adrp x3, l_.str.35@PAGE
add x3, x3, l_.str.35@PAGEOFF
bl ___assert_rtn
LBB7_3:
b LBB7_4
LBB7_4:
ldr x8, [sp, #8]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w9, lt
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5:
adrp x0, l___func__.csvtabFilter@PAGE
add x0, x0, l___func__.csvtabFilter@PAGEOFF
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov w2, #807
adrp x3, l_.str.36@PAGE
add x3, x3, l_.str.36@PAGEOFF
bl ___assert_rtn
LBB7_6:
b LBB7_7
LBB7_7:
ldr x8, [sp, #8]
ldr x8, [x8, #40]
ldr x9, [sp, #16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w9, hi
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB7_9
b LBB7_8
LBB7_8:
adrp x0, l___func__.csvtabFilter@PAGE
add x0, x0, l___func__.csvtabFilter@PAGEOFF
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov w2, #808
adrp x3, l_.str.37@PAGE
add x3, x3, l_.str.37@PAGEOFF
bl ___assert_rtn
LBB7_9:
b LBB7_10
LBB7_10:
ldr x8, [sp, #8]
ldr x8, [x8, #40]
ldr x9, [sp, #16]
str x8, [x9, #48]
b LBB7_12
LBB7_11:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
ldr x8, [sp, #8]
ldr x1, [x8, #40]
mov w2, #0
bl _fseek
ldr x8, [sp, #16]
str xzr, [x8, #48]
ldr x8, [sp, #16]
str xzr, [x8, #56]
b LBB7_12
LBB7_12:
ldur x0, [x29, #-8]
bl _csvtabNext
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabNext
_csvtabNext: ; @csvtabNext
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
stur x8, [x29, #-16]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #24]
str wzr, [sp, #20]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
add x0, x8, #8
bl _csv_read_one_field
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_3
b LBB8_2
LBB8_2:
b LBB8_11
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldr w9, [x9, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_9
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #280]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-16]
ldr w9, [x9, #24]
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_8
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #272]
ldrsw x9, [sp, #20]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _sqlite3_realloc64
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_7
b LBB8_6
LBB8_6:
ldur x8, [x29, #-16]
add x0, x8, #8
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _csv_errmsg
ldr x0, [sp, #24]
ldur x8, [x29, #-16]
add x1, x8, #8
bl _csv_xfer_error
b LBB8_11
LBB8_7: ; in Loop: Header=BB8_1 Depth=1
ldr x8, [sp]
ldur x9, [x29, #-16]
ldr x9, [x9, #272]
ldrsw x10, [sp, #20]
str x8, [x9, x10, lsl #3]
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
add w8, w8, #1
ldur x9, [x29, #-16]
ldr x9, [x9, #280]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
b LBB8_8
LBB8_8: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #272]
ldrsw x9, [sp, #20]
ldr x0, [x8, x9, lsl #3]
ldr x1, [sp, #8]
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memcpy_chk
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB8_9
LBB8_9: ; in Loop: Header=BB8_1 Depth=1
b LBB8_10
LBB8_10: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8, #40]
subs w8, w8, #44
cset w8, eq
tbnz w8, #0, LBB8_1
b LBB8_11
LBB8_11:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_14
b LBB8_12
LBB8_12:
ldur x8, [x29, #-16]
ldr w8, [x8, #40]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB8_15
b LBB8_13
LBB8_13:
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldr w9, [x9, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_15
b LBB8_14
LBB8_14:
ldur x9, [x29, #-16]
mov x8, #-1
str x8, [x9, #288]
b LBB8_19
LBB8_15:
ldur x9, [x29, #-16]
ldr x8, [x9, #288]
add x8, x8, #1
str x8, [x9, #288]
b LBB8_16
LBB8_16: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldr w9, [x9, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_18
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_16 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #272]
ldrsw x9, [sp, #20]
ldr x0, [x8, x9, lsl #3]
bl _sqlite3_free
ldur x8, [x29, #-16]
ldr x9, [x8, #272]
ldrsw x10, [sp, #20]
mov x8, #0
str x8, [x9, x10, lsl #3]
ldur x8, [x29, #-16]
ldr x9, [x8, #280]
ldrsw x10, [sp, #20]
mov w8, #0
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB8_16
LBB8_18:
b LBB8_19
LBB8_19:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabEof
_csvtabEof: ; @csvtabEof
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
ldr x8, [sp]
ldr x8, [x8, #288]
subs x8, x8, #0
cset w8, lt
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabColumn
_csvtabColumn: ; @csvtabColumn
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
ldur x8, [x29, #-8]
str x8, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB10_4
b LBB10_1
LBB10_1:
ldur w8, [x29, #-20]
ldr x9, [sp, #8]
ldr w9, [x9, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_4
b LBB10_2
LBB10_2:
ldr x8, [sp, #16]
ldr x8, [x8, #272]
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3:
ldur x0, [x29, #-16]
ldr x8, [sp, #16]
ldr x8, [x8, #272]
ldursw x9, [x29, #-20]
ldr x1, [x8, x9, lsl #3]
mov w2, #-1
mov x3, #0
bl _sqlite3_result_text
b LBB10_4
LBB10_4:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabRowid
_csvtabRowid: ; @csvtabRowid
.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, #8]
ldr x8, [x8, #288]
ldr x9, [sp, #16]
str x8, [x9]
mov w0, #0
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_string_parameter
_csv_string_parameter: ; @csv_string_parameter
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
str x3, [sp, #24]
ldur x8, [x29, #-24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
bl _strlen
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x1, x8
ldr x2, [sp, #32]
bl _csv_parameter
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
stur wzr, [x29, #-4]
b LBB12_7
LBB12_2:
ldur x8, [x29, #-16]
strb wzr, [x8, #64]
ldr x8, [sp, #24]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB12_4
b LBB12_3
LBB12_3:
ldur x0, [x29, #-16]
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _csv_errmsg
mov w8, #1
stur w8, [x29, #-4]
b LBB12_7
LBB12_4:
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _sqlite3_mprintf
ldr x8, [sp, #24]
str x0, [x8]
ldr x8, [sp, #24]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_6
b LBB12_5
LBB12_5:
ldur x0, [x29, #-16]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _csv_errmsg
mov w8, #1
stur w8, [x29, #-4]
b LBB12_7
LBB12_6:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _csv_trim_whitespace
ldr x8, [sp, #24]
ldr x0, [x8]
bl _csv_dequote
mov w8, #1
stur w8, [x29, #-4]
b LBB12_7
LBB12_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_boolean_parameter
_csv_boolean_parameter: ; @csv_boolean_parameter
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
str x2, [sp, #16]
str x3, [sp, #8]
ldr x0, [sp, #16]
bl _csv_skip_whitespace
str x0, [sp, #16]
ldur x0, [x29, #-16]
ldr x1, [sp, #16]
ldursw x2, [x29, #-20]
bl _strncmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
stur wzr, [x29, #-4]
b LBB13_9
LBB13_2:
ldr x8, [sp, #16]
ldursw x9, [x29, #-20]
add x0, x8, x9
bl _csv_skip_whitespace
str x0, [sp, #16]
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB13_4
b LBB13_3
LBB13_3:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9]
stur w8, [x29, #-4]
b LBB13_9
LBB13_4:
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #61
cset w8, eq
tbnz w8, #0, LBB13_6
b LBB13_5
LBB13_5:
stur wzr, [x29, #-4]
b LBB13_9
LBB13_6:
ldr x8, [sp, #16]
add x0, x8, #1
bl _csv_skip_whitespace
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _csv_boolean
str w0, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB13_8
b LBB13_7
LBB13_7:
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9]
mov w8, #1
stur w8, [x29, #-4]
b LBB13_9
LBB13_8:
stur wzr, [x29, #-4]
b LBB13_9
LBB13_9:
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 csv_errmsg
_csv_errmsg: ; @csv_errmsg
.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]
add x9, sp, #8
add x8, x29, #16
str x8, [x9]
ldur x8, [x29, #-8]
ldr x2, [sp, #16]
ldr x3, [sp, #8]
mov w0, #200
add x1, x8, #64
bl _sqlite3_vsnprintf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_parameter
_csv_parameter: ; @csv_parameter
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
str x2, [sp]
ldr x0, [sp]
bl _csv_skip_whitespace
str x0, [sp]
ldr x0, [sp, #16]
ldr x1, [sp]
ldrsw x2, [sp, #12]
bl _strncmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB15_5
LBB15_2:
ldr x8, [sp]
ldrsw x9, [sp, #12]
add x0, x8, x9
bl _csv_skip_whitespace
str x0, [sp]
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #61
cset w8, eq
tbnz w8, #0, LBB15_4
b LBB15_3
LBB15_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB15_5
LBB15_4:
ldr x8, [sp]
add x0, x8, #1
bl _csv_skip_whitespace
stur x0, [x29, #-8]
b LBB15_5
LBB15_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_reader_open
_csv_reader_open: ; @csv_reader_open
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_6
b LBB16_1
LBB16_1:
mov w0, #1024
bl _sqlite3_malloc
ldur x8, [x29, #-16]
str x0, [x8, #56]
ldur x8, [x29, #-16]
ldr x8, [x8, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_3
b LBB16_2
LBB16_2:
ldur x0, [x29, #-16]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _csv_errmsg
mov w8, #1
stur w8, [x29, #-4]
b LBB16_11
LBB16_3:
ldr x0, [sp, #24]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _fopen
ldur x8, [x29, #-16]
str x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_5
b LBB16_4
LBB16_4:
ldur x8, [x29, #-16]
ldr x0, [x8, #56]
bl _sqlite3_free
ldur x0, [x29, #-16]
bl _csv_reader_reset
ldur x0, [x29, #-16]
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _csv_errmsg
mov w8, #1
stur w8, [x29, #-4]
b LBB16_11
LBB16_5:
b LBB16_10
LBB16_6:
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB16_8
b LBB16_7
LBB16_7:
adrp x0, l___func__.csv_reader_open@PAGE
add x0, x0, l___func__.csv_reader_open@PAGEOFF
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov w2, #141
adrp x3, l_.str.30@PAGE
add x3, x3, l_.str.30@PAGEOFF
bl ___assert_rtn
LBB16_8:
b LBB16_9
LBB16_9:
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
str x8, [x9, #56]
ldr x0, [sp, #16]
bl _strlen
ldur x8, [x29, #-16]
str x0, [x8, #48]
b LBB16_10
LBB16_10:
stur wzr, [x29, #-4]
b LBB16_11
LBB16_11:
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 csv_read_one_field
_csv_read_one_field: ; @csv_read_one_field
.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]
ldur x8, [x29, #-16]
str wzr, [x8, #16]
ldur x0, [x29, #-16]
bl _csv_getc
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
ldur x9, [x29, #-16]
mov w8, #-1
str w8, [x9, #32]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB17_61
LBB17_2:
ldur w8, [x29, #-20]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB17_35
b LBB17_3
LBB17_3:
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
str w8, [sp, #32]
stur wzr, [x29, #-28]
stur wzr, [x29, #-24]
b LBB17_4
LBB17_4: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-16]
bl _csv_getc
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
subs w8, w8, #34
cset w8, le
tbnz w8, #0, LBB17_6
b LBB17_5
LBB17_5: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB17_31
b LBB17_6
LBB17_6: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB17_8
b LBB17_7
LBB17_7: ; in Loop: Header=BB17_4 Depth=1
ldur x9, [x29, #-16]
ldr w8, [x9, #24]
add w8, w8, #1
str w8, [x9, #24]
b LBB17_8
LBB17_8: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB17_12
b LBB17_9
LBB17_9: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB17_11
b LBB17_10
LBB17_10: ; in Loop: Header=BB17_4 Depth=1
stur wzr, [x29, #-24]
b LBB17_4
LBB17_11: ; in Loop: Header=BB17_4 Depth=1
b LBB17_12
LBB17_12: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #44
cset w8, ne
tbnz w8, #0, LBB17_14
b LBB17_13
LBB17_13: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB17_21
b LBB17_14
LBB17_14: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB17_16
b LBB17_15
LBB17_15: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB17_21
b LBB17_16
LBB17_16: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB17_19
b LBB17_17
LBB17_17: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB17_19
b LBB17_18
LBB17_18: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB17_21
b LBB17_19
LBB17_19: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB17_25
b LBB17_20
LBB17_20: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB17_25
b LBB17_21
LBB17_21:
b LBB17_22
LBB17_22: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-16]
ldr w8, [x9, #16]
subs w8, w8, #1
str w8, [x9, #16]
b LBB17_23
LBB17_23: ; in Loop: Header=BB17_22 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldur x9, [x29, #-16]
ldrsw x9, [x9, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB17_22
b LBB17_24
LBB17_24:
ldur w8, [x29, #-20]
sxtb w8, w8
ldur x9, [x29, #-16]
str w8, [x9, #32]
b LBB17_34
LBB17_25: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB17_28
b LBB17_26
LBB17_26: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #13
cset w8, eq
tbnz w8, #0, LBB17_28
b LBB17_27
LBB17_27:
ldur x0, [x29, #-16]
ldur x8, [x29, #-16]
ldr w9, [x8, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
mov x8, #34
str x8, [x9, #8]
adrp x1, l_.str.31@PAGE
add x1, x1, l_.str.31@PAGEOFF
bl _csv_errmsg
b LBB17_34
LBB17_28: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB17_30
b LBB17_29
LBB17_29:
ldur x0, [x29, #-16]
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
mov x8, #34
str x8, [x9, #8]
adrp x1, l_.str.32@PAGE
add x1, x1, l_.str.32@PAGEOFF
bl _csv_errmsg
ldur w8, [x29, #-20]
sxtb w8, w8
ldur x9, [x29, #-16]
str w8, [x9, #32]
b LBB17_34
LBB17_30: ; in Loop: Header=BB17_4 Depth=1
b LBB17_31
LBB17_31: ; in Loop: Header=BB17_4 Depth=1
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
sxtb w1, w8
bl _csv_append
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB17_33
b LBB17_32
LBB17_32:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB17_61
LBB17_33: ; in Loop: Header=BB17_4 Depth=1
ldur w8, [x29, #-24]
stur w8, [x29, #-28]
ldur w8, [x29, #-20]
stur w8, [x29, #-24]
b LBB17_4
LBB17_34:
b LBB17_58
LBB17_35:
ldurb w8, [x29, #-20]
subs w8, w8, #239
cset w8, ne
tbnz w8, #0, LBB17_42
b LBB17_36
LBB17_36:
ldur x8, [x29, #-16]
ldr w8, [x8, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB17_42
b LBB17_37
LBB17_37:
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
sxtb w1, w8
bl _csv_append
ldur x0, [x29, #-16]
bl _csv_getc
stur w0, [x29, #-20]
ldurb w8, [x29, #-20]
subs w8, w8, #187
cset w8, ne
tbnz w8, #0, LBB17_41
b LBB17_38
LBB17_38:
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
sxtb w1, w8
bl _csv_append
ldur x0, [x29, #-16]
bl _csv_getc
stur w0, [x29, #-20]
ldurb w8, [x29, #-20]
subs w8, w8, #191
cset w8, ne
tbnz w8, #0, LBB17_40
b LBB17_39
LBB17_39:
ldur x9, [x29, #-16]
mov w8, #1
str w8, [x9, #28]
ldur x8, [x29, #-16]
str wzr, [x8, #16]
ldur x0, [x29, #-16]
bl _csv_read_one_field
stur x0, [x29, #-8]
b LBB17_61
LBB17_40:
b LBB17_41
LBB17_41:
b LBB17_42
LBB17_42:
b LBB17_43
LBB17_43: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #44
cset w8, gt
mov w9, #1
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_48
b LBB17_44
LBB17_44: ; in Loop: Header=BB17_43 Depth=1
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, eq
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_47
b LBB17_45
LBB17_45: ; in Loop: Header=BB17_43 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #44
cset w8, eq
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_47
b LBB17_46
LBB17_46: ; in Loop: Header=BB17_43 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB17_47
LBB17_47: ; in Loop: Header=BB17_43 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB17_48
LBB17_48: ; in Loop: Header=BB17_43 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB17_52
b LBB17_49
LBB17_49: ; in Loop: Header=BB17_43 Depth=1
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
sxtb w1, w8
bl _csv_append
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB17_51
b LBB17_50
LBB17_50:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB17_61
LBB17_51: ; in Loop: Header=BB17_43 Depth=1
ldur x0, [x29, #-16]
bl _csv_getc
stur w0, [x29, #-20]
b LBB17_43
LBB17_52:
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB17_57
b LBB17_53
LBB17_53:
ldur x9, [x29, #-16]
ldr w8, [x9, #24]
add w8, w8, #1
str w8, [x9, #24]
ldur x8, [x29, #-16]
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB17_56
b LBB17_54
LBB17_54:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldur x9, [x29, #-16]
ldr w9, [x9, #16]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB17_56
b LBB17_55
LBB17_55:
ldur x9, [x29, #-16]
ldr w8, [x9, #16]
subs w8, w8, #1
str w8, [x9, #16]
b LBB17_56
LBB17_56:
b LBB17_57
LBB17_57:
ldur w8, [x29, #-20]
sxtb w8, w8
ldur x9, [x29, #-16]
str w8, [x9, #32]
b LBB17_58
LBB17_58:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_60
b LBB17_59
LBB17_59:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldur x9, [x29, #-16]
ldrsw x9, [x9, #16]
add x8, x8, x9
strb wzr, [x8]
b LBB17_60
LBB17_60:
ldur x9, [x29, #-16]
mov w8, #1
str w8, [x9, #28]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-8]
b LBB17_61
LBB17_61:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_reader_reset
_csv_reader_reset: ; @csv_reader_reset
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB18_2
b LBB18_1
LBB18_1:
ldr x8, [sp, #8]
ldr x0, [x8]
bl _fclose
ldr x8, [sp, #8]
ldr x0, [x8, #56]
bl _sqlite3_free
b LBB18_2
LBB18_2:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _sqlite3_free
ldr x0, [sp, #8]
bl _csv_reader_init
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_trim_whitespace
_csv_trim_whitespace: ; @csv_trim_whitespace
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
bl _strlen
str x0, [sp, #16]
b LBB19_1
LBB19_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ls
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB19_3
b LBB19_2
LBB19_2: ; in Loop: Header=BB19_1 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldrb w0, [x8, x9]
bl _isspace
subs w8, w0, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB19_3
LBB19_3: ; in Loop: Header=BB19_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB19_5
b LBB19_4
LBB19_4: ; in Loop: Header=BB19_1 Depth=1
ldr x8, [sp, #16]
subs x8, x8, #1
str x8, [sp, #16]
b LBB19_1
LBB19_5:
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
add x8, x8, x9
strb wzr, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_dequote
_csv_dequote: ; @csv_dequote
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldrb w8, [x8]
sturb w8, [x29, #-13]
ldursb w8, [x29, #-13]
subs w8, w8, #39
cset w8, eq
tbnz w8, #0, LBB20_3
b LBB20_1
LBB20_1:
ldursb w8, [x29, #-13]
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB20_3
b LBB20_2
LBB20_2:
b LBB20_14
LBB20_3:
ldur x0, [x29, #-8]
bl _strlen
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #2
cset w8, lo
tbnz w8, #0, LBB20_5
b LBB20_4
LBB20_4:
ldur x8, [x29, #-8]
ldr x9, [sp]
subs x9, x9, #1
ldrsb w8, [x8, x9]
ldur x9, [x29, #-8]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB20_6
b LBB20_5
LBB20_5:
b LBB20_14
LBB20_6:
mov x8, #1
str x8, [sp, #8]
stur wzr, [x29, #-12]
b LBB20_7
LBB20_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp]
subs x9, x9, #1
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB20_13
b LBB20_8
LBB20_8: ; in Loop: Header=BB20_7 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-13]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB20_11
b LBB20_9
LBB20_9: ; in Loop: Header=BB20_7 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
add x9, x9, #1
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-13]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB20_11
b LBB20_10
LBB20_10: ; in Loop: Header=BB20_7 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB20_11
LBB20_11: ; in Loop: Header=BB20_7 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
mov x11, x10
add w11, w11, #1
stur w11, [x29, #-12]
add x9, x9, x10
strb w8, [x9]
b LBB20_12
LBB20_12: ; in Loop: Header=BB20_7 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB20_7
LBB20_13:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
add x8, x8, x9
strb wzr, [x8]
b LBB20_14
LBB20_14:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_skip_whitespace
_csv_skip_whitespace: ; @csv_skip_whitespace
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB21_1
LBB21_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrb w0, [x8]
bl _isspace
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB21_3
b LBB21_2
LBB21_2: ; in Loop: Header=BB21_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB21_1
LBB21_3:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_boolean
_csv_boolean: ; @csv_boolean
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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]
ldr x1, [sp]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _sqlite3_stricmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB22_5
b LBB22_1
LBB22_1:
ldr x1, [sp]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _sqlite3_stricmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB22_5
b LBB22_2
LBB22_2:
ldr x1, [sp]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _sqlite3_stricmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB22_5
b LBB22_3
LBB22_3:
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #49
cset w8, ne
tbnz w8, #0, LBB22_6
b LBB22_4
LBB22_4:
ldr x8, [sp]
ldrsb w8, [x8, #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB22_6
b LBB22_5
LBB22_5:
mov w8, #1
stur w8, [x29, #-4]
b LBB22_13
LBB22_6:
ldr x1, [sp]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _sqlite3_stricmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB22_11
b LBB22_7
LBB22_7:
ldr x1, [sp]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _sqlite3_stricmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB22_11
b LBB22_8
LBB22_8:
ldr x1, [sp]
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _sqlite3_stricmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB22_11
b LBB22_9
LBB22_9:
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #48
cset w8, ne
tbnz w8, #0, LBB22_12
b LBB22_10
LBB22_10:
ldr x8, [sp]
ldrsb w8, [x8, #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB22_12
b LBB22_11
LBB22_11:
stur wzr, [x29, #-4]
b LBB22_13
LBB22_12:
mov w8, #-1
stur w8, [x29, #-4]
b LBB22_13
LBB22_13:
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 csv_getc
_csv_getc: ; @csv_getc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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]
ldr x8, [sp]
ldr x8, [x8, #40]
ldr x9, [sp]
ldr x9, [x9, #48]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB23_4
b LBB23_1
LBB23_1:
ldr x8, [sp]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB23_3
b LBB23_2
LBB23_2:
ldr x0, [sp]
bl _csv_getc_refill
stur w0, [x29, #-4]
b LBB23_5
LBB23_3:
mov w8, #-1
stur w8, [x29, #-4]
b LBB23_5
LBB23_4:
ldr x8, [sp]
ldr x8, [x8, #56]
ldr x11, [sp]
ldr x9, [x11, #40]
add x10, x9, #1
str x10, [x11, #40]
ldrb w8, [x8, x9]
stur w8, [x29, #-4]
b LBB23_5
LBB23_5:
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 csv_append
_csv_append: ; @csv_append
.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]
strb w1, [sp, #15]
ldr x8, [sp, #16]
ldr w8, [x8, #16]
ldr x9, [sp, #16]
ldr w9, [x9, #20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB24_2
b LBB24_1
LBB24_1:
ldr x0, [sp, #16]
ldrsb w1, [sp, #15]
bl _csv_resize_and_append
stur w0, [x29, #-4]
b LBB24_3
LBB24_2:
ldrb w8, [sp, #15]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
ldr x12, [sp, #16]
ldrsw x10, [x12, #16]
mov x11, x10
add w11, w11, #1
str w11, [x12, #16]
add x9, x9, x10
strb w8, [x9]
stur wzr, [x29, #-4]
b LBB24_3
LBB24_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_getc_refill
_csv_getc_refill: ; @csv_getc_refill
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #40]
ldr x9, [sp, #16]
ldr x9, [x9, #48]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB25_2
b LBB25_1
LBB25_1:
adrp x0, l___func__.csv_getc_refill@PAGE
add x0, x0, l___func__.csv_getc_refill@PAGEOFF
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov w2, #154
adrp x3, l_.str.33@PAGE
add x3, x3, l_.str.33@PAGEOFF
bl ___assert_rtn
LBB25_2:
b LBB25_3
LBB25_3:
ldr x8, [sp, #16]
ldr x8, [x8]
subs x8, x8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB25_5
b LBB25_4
LBB25_4:
adrp x0, l___func__.csv_getc_refill@PAGE
add x0, x0, l___func__.csv_getc_refill@PAGEOFF
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov w2, #155
adrp x3, l_.str.34@PAGE
add x3, x3, l_.str.34@PAGEOFF
bl ___assert_rtn
LBB25_5:
b LBB25_6
LBB25_6:
ldr x8, [sp, #16]
ldr x0, [x8, #56]
ldr x8, [sp, #16]
ldr x3, [x8]
mov x1, #1
mov x2, #1024
bl _fread
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB25_8
b LBB25_7
LBB25_7:
mov w8, #-1
stur w8, [x29, #-4]
b LBB25_9
LBB25_8:
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9, #48]
ldr x9, [sp, #16]
mov x8, #1
str x8, [x9, #40]
ldr x8, [sp, #16]
ldr x8, [x8, #56]
ldrsb w8, [x8]
stur w8, [x29, #-4]
b LBB25_9
LBB25_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_resize_and_append
_csv_resize_and_append: ; @csv_resize_and_append
.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]
sturb w1, [x29, #-17]
ldur x8, [x29, #-16]
ldr w8, [x8, #20]
lsl w8, w8, #1
add w8, w8, #100
str w8, [sp, #12]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldrsw x1, [sp, #12]
bl _sqlite3_realloc64
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB26_2
b LBB26_1
LBB26_1:
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
str x8, [x9, #8]
ldr w8, [sp, #12]
ldur x9, [x29, #-16]
str w8, [x9, #20]
ldurb w8, [x29, #-17]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
ldur x12, [x29, #-16]
ldrsw x10, [x12, #16]
mov x11, x10
add w11, w11, #1
str w11, [x12, #16]
add x9, x9, x10
strb w8, [x9]
stur wzr, [x29, #-4]
b LBB26_3
LBB26_2:
ldur x0, [x29, #-16]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _csv_errmsg
mov w8, #1
stur w8, [x29, #-4]
b LBB26_3
LBB26_3:
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 csv_reader_init
_csv_reader_init: ; @csv_reader_init
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x8, [sp, #8]
str wzr, [x8, #16]
ldr x8, [sp, #8]
str wzr, [x8, #20]
ldr x8, [sp, #8]
str wzr, [x8, #24]
ldr x8, [sp, #8]
str wzr, [x8, #28]
ldr x8, [sp, #8]
str xzr, [x8, #48]
ldr x8, [sp, #8]
str xzr, [x8, #56]
ldr x8, [sp, #8]
strb wzr, [x8, #64]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csv_xfer_error
_csv_xfer_error: ; @csv_xfer_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 x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
bl _sqlite3_free
ldr x8, [sp, #16]
add x8, x8, #64
mov x9, sp
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _sqlite3_mprintf
ldur x8, [x29, #-8]
str x0, [x8, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function csvtabCursorRowReset
_csvtabCursorRowReset: ; @csvtabCursorRowReset
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #16]
str wzr, [sp, #12]
b LBB29_1
LBB29_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB29_4
b LBB29_2
LBB29_2: ; in Loop: Header=BB29_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #272]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
bl _sqlite3_free
ldur x8, [x29, #-8]
ldr x9, [x8, #272]
ldrsw x10, [sp, #12]
mov x8, #0
str x8, [x9, x10, lsl #3]
ldur x8, [x29, #-8]
ldr x9, [x8, #280]
ldrsw x10, [sp, #12]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB29_3
LBB29_3: ; in Loop: Header=BB29_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB29_1
LBB29_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 "csv"
.section __DATA,__data
.p2align 3 ; @CsvModule
_CsvModule:
.long 0 ; 0x0
.space 4
.quad _csvtabCreate
.quad _csvtabConnect
.quad _csvtabBestIndex
.quad _csvtabDisconnect
.quad _csvtabDisconnect
.quad _csvtabOpen
.quad _csvtabClose
.quad _csvtabFilter
.quad _csvtabNext
.quad _csvtabEof
.quad _csvtabColumn
.quad _csvtabRowid
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.p2align 3 ; @csvtabConnect.azParam
_csvtabConnect.azParam:
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "filename"
l_.str.2: ; @.str.2
.asciz "data"
l_.str.3: ; @.str.3
.asciz "schema"
l_.str.4: ; @.str.4
.asciz "header"
l_.str.5: ; @.str.5
.asciz "more than one 'header' parameter"
l_.str.6: ; @.str.6
.asciz "columns"
l_.str.7: ; @.str.7
.asciz "more than one 'columns' parameter"
l_.str.8: ; @.str.8
.asciz "column= value must be positive"
l_.str.9: ; @.str.9
.asciz "bad parameter: '%s'"
l_.str.10: ; @.str.10
.asciz "must specify either filename= or data= but not both"
l_.str.11: ; @.str.11
.space 1
l_.str.12: ; @.str.12
.asciz "CREATE TABLE x("
l_.str.13: ; @.str.13
.asciz "%sc%d TEXT"
l_.str.14: ; @.str.14
.asciz ","
l_.str.15: ; @.str.15
.asciz "%s\"%w\" TEXT"
l_.str.16: ; @.str.16
.asciz ")"
l_.str.17: ; @.str.17
.asciz "bad schema: '%s' - %s"
l_.str.18: ; @.str.18
.asciz "out of memory"
l_.str.19: ; @.str.19
.asciz "%s"
l_.str.20: ; @.str.20
.asciz "more than one '%s' parameter"
l_.str.21: ; @.str.21
.asciz "yes"
l_.str.22: ; @.str.22
.asciz "on"
l_.str.23: ; @.str.23
.asciz "true"
l_.str.24: ; @.str.24
.asciz "no"
l_.str.25: ; @.str.25
.asciz "off"
l_.str.26: ; @.str.26
.asciz "false"
l_.str.27: ; @.str.27
.asciz "rb"
l_.str.28: ; @.str.28
.asciz "cannot open '%s' for reading"
l___func__.csv_reader_open: ; @__func__.csv_reader_open
.asciz "csv_reader_open"
l_.str.29: ; @.str.29
.asciz "126702338.c"
l_.str.30: ; @.str.30
.asciz "p->in==0"
l_.str.31: ; @.str.31
.asciz "line %d: unescaped %c character"
l_.str.32: ; @.str.32
.asciz "line %d: unterminated %c-quoted field\n"
l___func__.csv_getc_refill: ; @__func__.csv_getc_refill
.asciz "csv_getc_refill"
l_.str.33: ; @.str.33
.asciz "p->iIn>=p->nIn"
l_.str.34: ; @.str.34
.asciz "p->in!=0"
l___func__.csvtabFilter: ; @__func__.csvtabFilter
.asciz "csvtabFilter"
l_.str.35: ; @.str.35
.asciz "pCur->rdr.zIn==pTab->zData"
l_.str.36: ; @.str.36
.asciz "pTab->iStart>=0"
l_.str.37: ; @.str.37
.asciz "(size_t)pTab->iStart<=pCur->rdr.nIn"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_csv_init ## -- Begin function sqlite3_csv_init
.p2align 4, 0x90
_sqlite3_csv_init: ## @sqlite3_csv_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
leaq L_.str(%rip), %rsi
leaq _CsvModule(%rip), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq _sqlite3_create_module
movl %eax, -28(%rbp)
movl -28(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabCreate
_csvtabCreate: ## @csvtabCreate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %edx
movq -32(%rbp), %rcx
movq -40(%rbp), %r8
movq -48(%rbp), %r9
callq _csvtabConnect
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabConnect
_csvtabConnect: ## @csvtabConnect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $464, %rsp ## imm = 0x1D0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -320(%rbp)
movq %rsi, -328(%rbp)
movl %edx, -332(%rbp)
movq %rcx, -344(%rbp)
movq %r8, -352(%rbp)
movq %r9, -360(%rbp)
movq $0, -368(%rbp)
movl $-1, -372(%rbp)
movl $0, -376(%rbp)
movl $-99, -392(%rbp)
leaq -272(%rbp), %rdi
xorl %esi, %esi
movl $264, %edx ## imm = 0x108
callq _memset
leaq -304(%rbp), %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movl $3, -380(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movl -380(%rbp), %eax
cmpl -332(%rbp), %eax
jge LBB2_27
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -344(%rbp), %rax
movslq -380(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -400(%rbp)
movl $0, -384(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -384(%rbp), %rax
cmpq $3, %rax
jae LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movslq -384(%rbp), %rcx
leaq _csvtabConnect.azParam(%rip), %rax
movq (%rax,%rcx,8), %rsi
movq -400(%rbp), %rdx
movslq -384(%rbp), %rax
leaq -304(%rbp), %rcx
shlq $3, %rax
addq %rax, %rcx
leaq -272(%rbp), %rdi
callq _csv_string_parameter
cmpl $0, %eax
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_8
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_3 Depth=2
movl -384(%rbp), %eax
addl $1, %eax
movl %eax, -384(%rbp)
jmp LBB2_3
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movslq -384(%rbp), %rax
cmpq $3, %rax
jae LBB2_12
## %bb.9: ## in Loop: Header=BB2_1 Depth=1
cmpb $0, -208(%rbp)
je LBB2_11
## %bb.10:
jmp LBB2_88
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_25
LBB2_12: ## in Loop: Header=BB2_1 Depth=1
movq -400(%rbp), %rdx
leaq L_.str.4(%rip), %rdi
movl $6, %esi
leaq -388(%rbp), %rcx
callq _csv_boolean_parameter
cmpl $0, %eax
je LBB2_16
## %bb.13: ## in Loop: Header=BB2_1 Depth=1
cmpl $0, -372(%rbp)
jl LBB2_15
## %bb.14:
leaq -272(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _csv_errmsg
jmp LBB2_88
LBB2_15: ## in Loop: Header=BB2_1 Depth=1
movl -388(%rbp), %eax
movl %eax, -372(%rbp)
jmp LBB2_24
LBB2_16: ## in Loop: Header=BB2_1 Depth=1
movq -400(%rbp), %rdx
leaq L_.str.6(%rip), %rdi
movl $7, %esi
callq _csv_parameter
movq %rax, -408(%rbp)
cmpq $0, %rax
je LBB2_22
## %bb.17: ## in Loop: Header=BB2_1 Depth=1
cmpl $0, -392(%rbp)
jle LBB2_19
## %bb.18:
leaq -272(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _csv_errmsg
jmp LBB2_88
LBB2_19: ## in Loop: Header=BB2_1 Depth=1
movq -408(%rbp), %rdi
callq _atoi
movl %eax, -392(%rbp)
cmpl $0, -392(%rbp)
jg LBB2_21
## %bb.20:
leaq -272(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _csv_errmsg
jmp LBB2_88
LBB2_21: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_23
LBB2_22:
movq -400(%rbp), %rdx
leaq -272(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _csv_errmsg
jmp LBB2_88
LBB2_23: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_24
LBB2_24: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_25
LBB2_25: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_26
LBB2_26: ## in Loop: Header=BB2_1 Depth=1
movl -380(%rbp), %eax
addl $1, %eax
movl %eax, -380(%rbp)
jmp LBB2_1
LBB2_27:
cmpq $0, -304(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
cmpq $0, -296(%rbp)
sete %cl
andb $1, %cl
movzbl %cl, %ecx
cmpl %ecx, %eax
jne LBB2_29
## %bb.28:
leaq -272(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _csv_errmsg
jmp LBB2_88
LBB2_29:
cmpl $0, -392(%rbp)
jle LBB2_31
## %bb.30:
cmpl $1, -372(%rbp)
jne LBB2_33
LBB2_31:
movq -304(%rbp), %rsi
movq -296(%rbp), %rdx
leaq -272(%rbp), %rdi
callq _csv_reader_open
cmpl $0, %eax
je LBB2_33
## %bb.32:
jmp LBB2_88
LBB2_33:
movl $56, %edi
callq _sqlite3_malloc
movq %rax, -368(%rbp)
movq -368(%rbp), %rcx
movq -352(%rbp), %rax
movq %rcx, (%rax)
cmpq $0, -368(%rbp)
jne LBB2_35
## %bb.34:
jmp LBB2_87
LBB2_35:
movq -368(%rbp), %rdi
xorl %esi, %esi
movl $56, %edx
movq $-1, %rcx
callq ___memset_chk
cmpq $0, -288(%rbp)
jne LBB2_67
## %bb.36:
xorl %eax, %eax
movl %eax, %edi
callq _sqlite3_str_new
movq %rax, -416(%rbp)
leaq L_.str.11(%rip), %rax
movq %rax, -424(%rbp)
movl $0, -428(%rbp)
movq -416(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
movb $0, %al
callq _sqlite3_str_appendf
cmpl $0, -392(%rbp)
jge LBB2_42
## %bb.37:
cmpl $1, -372(%rbp)
jge LBB2_42
## %bb.38:
movl $0, -392(%rbp)
LBB2_39: ## =>This Inner Loop Header: Depth=1
leaq -272(%rbp), %rdi
callq _csv_read_one_field
movl -392(%rbp), %eax
addl $1, %eax
movl %eax, -392(%rbp)
## %bb.40: ## in Loop: Header=BB2_39 Depth=1
cmpl $44, -240(%rbp)
je LBB2_39
## %bb.41:
jmp LBB2_42
LBB2_42:
cmpl $0, -392(%rbp)
jle LBB2_49
## %bb.43:
cmpl $1, -372(%rbp)
jge LBB2_49
## %bb.44:
movl $0, -428(%rbp)
LBB2_45: ## =>This Inner Loop Header: Depth=1
movl -428(%rbp), %eax
cmpl -392(%rbp), %eax
jge LBB2_48
## %bb.46: ## in Loop: Header=BB2_45 Depth=1
movq -416(%rbp), %rdi
movq -424(%rbp), %rdx
movl -428(%rbp), %ecx
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _sqlite3_str_appendf
leaq L_.str.14(%rip), %rax
movq %rax, -424(%rbp)
## %bb.47: ## in Loop: Header=BB2_45 Depth=1
movl -428(%rbp), %eax
addl $1, %eax
movl %eax, -428(%rbp)
jmp LBB2_45
LBB2_48:
jmp LBB2_64
LBB2_49:
jmp LBB2_50
LBB2_50: ## =>This Inner Loop Header: Depth=1
leaq -272(%rbp), %rdi
callq _csv_read_one_field
movq %rax, -440(%rbp)
cmpl $0, -392(%rbp)
jle LBB2_52
## %bb.51: ## in Loop: Header=BB2_50 Depth=1
movl -428(%rbp), %eax
cmpl -392(%rbp), %eax
jl LBB2_54
LBB2_52: ## in Loop: Header=BB2_50 Depth=1
cmpl $0, -392(%rbp)
jge LBB2_55
## %bb.53: ## in Loop: Header=BB2_50 Depth=1
cmpl $0, -372(%rbp)
je LBB2_55
LBB2_54: ## in Loop: Header=BB2_50 Depth=1
movq -416(%rbp), %rdi
movq -424(%rbp), %rdx
movq -440(%rbp), %rcx
leaq L_.str.15(%rip), %rsi
movb $0, %al
callq _sqlite3_str_appendf
leaq L_.str.14(%rip), %rax
movq %rax, -424(%rbp)
movl -428(%rbp), %eax
addl $1, %eax
movl %eax, -428(%rbp)
LBB2_55: ## in Loop: Header=BB2_50 Depth=1
jmp LBB2_56
LBB2_56: ## in Loop: Header=BB2_50 Depth=1
cmpl $44, -240(%rbp)
je LBB2_50
## %bb.57:
cmpl $0, -392(%rbp)
jge LBB2_59
## %bb.58:
movl -428(%rbp), %eax
movl %eax, -392(%rbp)
jmp LBB2_63
LBB2_59:
jmp LBB2_60
LBB2_60: ## =>This Inner Loop Header: Depth=1
movl -428(%rbp), %eax
cmpl -392(%rbp), %eax
jge LBB2_62
## %bb.61: ## in Loop: Header=BB2_60 Depth=1
movq -416(%rbp), %rdi
movq -424(%rbp), %rdx
movl -428(%rbp), %ecx
addl $1, %ecx
movl %ecx, -428(%rbp)
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _sqlite3_str_appendf
leaq L_.str.14(%rip), %rax
movq %rax, -424(%rbp)
jmp LBB2_60
LBB2_62:
jmp LBB2_63
LBB2_63:
jmp LBB2_64
LBB2_64:
movl -392(%rbp), %ecx
movq -368(%rbp), %rax
movl %ecx, 48(%rax)
movq -416(%rbp), %rdi
leaq L_.str.16(%rip), %rsi
movb $0, %al
callq _sqlite3_str_appendf
movq -416(%rbp), %rdi
callq _sqlite3_str_finish
movq %rax, -288(%rbp)
cmpq $0, -288(%rbp)
jne LBB2_66
## %bb.65:
jmp LBB2_87
LBB2_66:
jmp LBB2_74
LBB2_67:
cmpl $0, -392(%rbp)
jge LBB2_72
## %bb.68:
jmp LBB2_69
LBB2_69: ## =>This Inner Loop Header: Depth=1
leaq -272(%rbp), %rdi
callq _csv_read_one_field
movq -368(%rbp), %rax
movl 48(%rax), %ecx
addl $1, %ecx
movl %ecx, 48(%rax)
## %bb.70: ## in Loop: Header=BB2_69 Depth=1
cmpl $44, -240(%rbp)
je LBB2_69
## %bb.71:
jmp LBB2_73
LBB2_72:
movl -392(%rbp), %ecx
movq -368(%rbp), %rax
movl %ecx, 48(%rax)
LBB2_73:
jmp LBB2_74
LBB2_74:
movq -304(%rbp), %rcx
movq -368(%rbp), %rax
movq %rcx, 24(%rax)
movq $0, -304(%rbp)
movq -296(%rbp), %rcx
movq -368(%rbp), %rax
movq %rcx, 32(%rax)
movq $0, -296(%rbp)
cmpl $1, -372(%rbp)
je LBB2_76
## %bb.75:
movq -368(%rbp), %rax
movq $0, 40(%rax)
jmp LBB2_80
LBB2_76:
movq -368(%rbp), %rax
cmpq $0, 32(%rax)
je LBB2_78
## %bb.77:
movq -232(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movslq %eax, %rcx
movq -368(%rbp), %rax
movq %rcx, 40(%rax)
jmp LBB2_79
LBB2_78:
movq -272(%rbp), %rdi
callq _ftell
subq -224(%rbp), %rax
addq -232(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movslq %eax, %rcx
movq -368(%rbp), %rax
movq %rcx, 40(%rax)
LBB2_79:
jmp LBB2_80
LBB2_80:
leaq -272(%rbp), %rdi
callq _csv_reader_reset
movq -320(%rbp), %rdi
movq -288(%rbp), %rsi
callq _sqlite3_declare_vtab
movl %eax, -376(%rbp)
cmpl $0, -376(%rbp)
je LBB2_82
## %bb.81:
movq -288(%rbp), %rax
movq %rax, -448(%rbp) ## 8-byte Spill
movq -320(%rbp), %rdi
callq _sqlite3_errmsg
movq -448(%rbp), %rdx ## 8-byte Reload
movq %rax, %rcx
leaq -272(%rbp), %rdi
leaq L_.str.17(%rip), %rsi
movb $0, %al
callq _csv_errmsg
jmp LBB2_88
LBB2_82:
movl $0, -380(%rbp)
LBB2_83: ## =>This Inner Loop Header: Depth=1
movslq -380(%rbp), %rax
cmpq $3, %rax
jae LBB2_86
## %bb.84: ## in Loop: Header=BB2_83 Depth=1
movslq -380(%rbp), %rax
movq -304(%rbp,%rax,8), %rdi
callq _sqlite3_free
## %bb.85: ## in Loop: Header=BB2_83 Depth=1
movl -380(%rbp), %eax
addl $1, %eax
movl %eax, -380(%rbp)
jmp LBB2_83
LBB2_86:
movl $0, -308(%rbp)
jmp LBB2_99
LBB2_87:
movl $7, -376(%rbp)
leaq -272(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
movb $0, %al
callq _csv_errmsg
LBB2_88:
cmpq $0, -368(%rbp)
je LBB2_90
## %bb.89:
movq -368(%rbp), %rdi
callq _csvtabDisconnect
LBB2_90:
movl $0, -380(%rbp)
LBB2_91: ## =>This Inner Loop Header: Depth=1
movslq -380(%rbp), %rax
cmpq $3, %rax
jae LBB2_94
## %bb.92: ## in Loop: Header=BB2_91 Depth=1
movslq -380(%rbp), %rax
movq -304(%rbp,%rax,8), %rdi
callq _sqlite3_free
## %bb.93: ## in Loop: Header=BB2_91 Depth=1
movl -380(%rbp), %eax
addl $1, %eax
movl %eax, -380(%rbp)
jmp LBB2_91
LBB2_94:
cmpb $0, -208(%rbp)
je LBB2_96
## %bb.95:
movq -360(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_free
leaq -272(%rbp), %rsi
addq $64, %rsi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _sqlite3_mprintf
movq %rax, %rcx
movq -360(%rbp), %rax
movq %rcx, (%rax)
LBB2_96:
leaq -272(%rbp), %rdi
callq _csv_reader_reset
cmpl $0, -376(%rbp)
jne LBB2_98
## %bb.97:
movl $1, -376(%rbp)
LBB2_98:
movl -376(%rbp), %eax
movl %eax, -308(%rbp)
LBB2_99:
movl -308(%rbp), %eax
movl %eax, -452(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_101
## %bb.100:
movl -452(%rbp), %eax ## 4-byte Reload
addq $464, %rsp ## imm = 0x1D0
popq %rbp
retq
LBB2_101:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function csvtabBestIndex
LCPI3_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_csvtabBestIndex: ## @csvtabBestIndex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 64(%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabDisconnect
_csvtabDisconnect: ## @csvtabDisconnect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 24(%rax), %rdi
callq _sqlite3_free
movq -16(%rbp), %rax
movq 32(%rax), %rdi
callq _sqlite3_free
movq -16(%rbp), %rdi
callq _sqlite3_free
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabOpen
_csvtabOpen: ## @csvtabOpen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movslq 48(%rax), %rax
imulq $12, %rax, %rax
addq $296, %rax ## imm = 0x128
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
callq _sqlite3_malloc64
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB5_2
## %bb.1:
movl $7, -4(%rbp)
jmp LBB5_5
LBB5_2:
movq -40(%rbp), %rdi
movq -48(%rbp), %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -40(%rbp), %rcx
addq $296, %rcx ## imm = 0x128
movq -40(%rbp), %rax
movq %rcx, 272(%rax)
movq -40(%rbp), %rax
movq 272(%rax), %rcx
movq -32(%rbp), %rax
movslq 48(%rax), %rax
shlq $3, %rax
addq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, 280(%rax)
movq -40(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq -40(%rbp), %rdi
addq $8, %rdi
movq -32(%rbp), %rax
movq 24(%rax), %rsi
movq -32(%rbp), %rax
movq 32(%rax), %rdx
callq _csv_reader_open
cmpl $0, %eax
je LBB5_4
## %bb.3:
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
addq $8, %rsi
callq _csv_xfer_error
movl $1, -4(%rbp)
jmp LBB5_5
LBB5_4:
movl $0, -4(%rbp)
LBB5_5:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabClose
_csvtabClose: ## @csvtabClose
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq _csvtabCursorRowReset
movq -16(%rbp), %rdi
addq $8, %rdi
callq _csv_reader_reset
movq -8(%rbp), %rdi
callq _sqlite3_free
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabFilter
_csvtabFilter: ## @csvtabFilter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq %r8, -40(%rbp)
movq -8(%rbp), %rax
movq %rax, -48(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -48(%rbp), %rax
movq $0, 288(%rax)
movq -48(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB7_11
## %bb.1:
movq -48(%rbp), %rax
movq 64(%rax), %rax
movq -56(%rbp), %rcx
cmpq 32(%rcx), %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB7_3
## %bb.2:
leaq L___func__.csvtabFilter(%rip), %rdi
leaq L_.str.29(%rip), %rsi
leaq L_.str.35(%rip), %rcx
movl $806, %edx ## imm = 0x326
callq ___assert_rtn
LBB7_3:
jmp LBB7_4
LBB7_4:
movq -56(%rbp), %rax
cmpq $0, 40(%rax)
setge %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB7_6
## %bb.5:
leaq L___func__.csvtabFilter(%rip), %rdi
leaq L_.str.29(%rip), %rsi
leaq L_.str.36(%rip), %rcx
movl $807, %edx ## imm = 0x327
callq ___assert_rtn
LBB7_6:
jmp LBB7_7
LBB7_7:
movq -56(%rbp), %rax
movq 40(%rax), %rax
movq -48(%rbp), %rcx
cmpq 56(%rcx), %rax
setbe %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB7_9
## %bb.8:
leaq L___func__.csvtabFilter(%rip), %rdi
leaq L_.str.29(%rip), %rsi
leaq L_.str.37(%rip), %rcx
movl $808, %edx ## imm = 0x328
callq ___assert_rtn
LBB7_9:
jmp LBB7_10
LBB7_10:
movq -56(%rbp), %rax
movq 40(%rax), %rcx
movq -48(%rbp), %rax
movq %rcx, 48(%rax)
jmp LBB7_12
LBB7_11:
movq -48(%rbp), %rax
movq 8(%rax), %rdi
movq -56(%rbp), %rax
movq 40(%rax), %rsi
xorl %edx, %edx
callq _fseek
movq -48(%rbp), %rax
movq $0, 48(%rax)
movq -48(%rbp), %rax
movq $0, 56(%rax)
LBB7_12:
movq -8(%rbp), %rdi
callq _csvtabNext
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabNext
_csvtabNext: ## @csvtabNext
.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 -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
addq $8, %rdi
callq _csv_read_one_field
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB8_3
## %bb.2:
jmp LBB8_11
LBB8_3: ## in Loop: Header=BB8_1 Depth=1
movl -28(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 48(%rcx), %eax
jge LBB8_9
## %bb.4: ## in Loop: Header=BB8_1 Depth=1
movq -16(%rbp), %rax
movq 280(%rax), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
movl 24(%rcx), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB8_8
## %bb.5: ## in Loop: Header=BB8_1 Depth=1
movq -16(%rbp), %rax
movq 272(%rax), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -16(%rbp), %rax
movl 24(%rax), %eax
addl $1, %eax
movslq %eax, %rsi
callq _sqlite3_realloc64
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB8_7
## %bb.6:
movq -16(%rbp), %rdi
addq $8, %rdi
leaq L_.str.18(%rip), %rsi
movb $0, %al
callq _csv_errmsg
movq -24(%rbp), %rdi
movq -16(%rbp), %rsi
addq $8, %rsi
callq _csv_xfer_error
jmp LBB8_11
LBB8_7: ## in Loop: Header=BB8_1 Depth=1
movq -48(%rbp), %rdx
movq -16(%rbp), %rax
movq 272(%rax), %rax
movslq -28(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -16(%rbp), %rax
movl 24(%rax), %edx
addl $1, %edx
movq -16(%rbp), %rax
movq 280(%rax), %rax
movslq -28(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB8_8: ## in Loop: Header=BB8_1 Depth=1
movq -16(%rbp), %rax
movq 272(%rax), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -40(%rbp), %rsi
movq -16(%rbp), %rax
movl 24(%rax), %eax
addl $1, %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memcpy_chk
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB8_9: ## in Loop: Header=BB8_1 Depth=1
jmp LBB8_10
LBB8_10: ## in Loop: Header=BB8_1 Depth=1
movq -16(%rbp), %rax
cmpl $44, 40(%rax)
je LBB8_1
LBB8_11:
cmpq $0, -40(%rbp)
je LBB8_14
## %bb.12:
movq -16(%rbp), %rax
cmpl $-1, 40(%rax)
jne LBB8_15
## %bb.13:
movl -28(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 48(%rcx), %eax
jge LBB8_15
LBB8_14:
movq -16(%rbp), %rax
movq $-1, 288(%rax)
jmp LBB8_19
LBB8_15:
movq -16(%rbp), %rax
movq 288(%rax), %rcx
addq $1, %rcx
movq %rcx, 288(%rax)
LBB8_16: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 48(%rcx), %eax
jge LBB8_18
## %bb.17: ## in Loop: Header=BB8_16 Depth=1
movq -16(%rbp), %rax
movq 272(%rax), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _sqlite3_free
movq -16(%rbp), %rax
movq 272(%rax), %rax
movslq -28(%rbp), %rcx
movq $0, (%rax,%rcx,8)
movq -16(%rbp), %rax
movq 280(%rax), %rax
movslq -28(%rbp), %rcx
movl $0, (%rax,%rcx,4)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB8_16
LBB8_18:
jmp LBB8_19
LBB8_19:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabEof
_csvtabEof: ## @csvtabEof
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
cmpq $0, 288(%rax)
setl %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabColumn
_csvtabColumn: ## @csvtabColumn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
cmpl $0, -20(%rbp)
jl LBB10_4
## %bb.1:
movl -20(%rbp), %eax
movq -40(%rbp), %rcx
cmpl 48(%rcx), %eax
jge LBB10_4
## %bb.2:
movq -32(%rbp), %rax
movq 272(%rax), %rax
movslq -20(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB10_4
## %bb.3:
movq -16(%rbp), %rdi
movq -32(%rbp), %rax
movq 272(%rax), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
xorl %eax, %eax
movl %eax, %ecx
callq _sqlite3_result_text
LBB10_4:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabRowid
_csvtabRowid: ## @csvtabRowid
.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 -24(%rbp), %rax
movq 288(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_string_parameter
_csv_string_parameter: ## @csv_string_parameter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _strlen
movq -56(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
movq -32(%rbp), %rdx
callq _csv_parameter
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB12_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB12_7
LBB12_2:
movq -16(%rbp), %rax
movb $0, 64(%rax)
movq -40(%rbp), %rax
cmpq $0, (%rax)
je LBB12_4
## %bb.3:
movq -16(%rbp), %rdi
movq -24(%rbp), %rdx
leaq L_.str.20(%rip), %rsi
movb $0, %al
callq _csv_errmsg
movl $1, -4(%rbp)
jmp LBB12_7
LBB12_4:
movq -48(%rbp), %rsi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _sqlite3_mprintf
movq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, (%rax)
movq -40(%rbp), %rax
cmpq $0, (%rax)
jne LBB12_6
## %bb.5:
movq -16(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
movb $0, %al
callq _csv_errmsg
movl $1, -4(%rbp)
jmp LBB12_7
LBB12_6:
movq -40(%rbp), %rax
movq (%rax), %rdi
callq _csv_trim_whitespace
movq -40(%rbp), %rax
movq (%rax), %rdi
callq _csv_dequote
movl $1, -4(%rbp)
LBB12_7:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_boolean_parameter
_csv_boolean_parameter: ## @csv_boolean_parameter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq -32(%rbp), %rdi
callq _csv_skip_whitespace
movq %rax, -32(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movslq -20(%rbp), %rdx
callq _strncmp
cmpl $0, %eax
je LBB13_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB13_9
LBB13_2:
movq -32(%rbp), %rdi
movslq -20(%rbp), %rax
addq %rax, %rdi
callq _csv_skip_whitespace
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB13_4
## %bb.3:
movq -40(%rbp), %rax
movl $1, (%rax)
movl $1, -4(%rbp)
jmp LBB13_9
LBB13_4:
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $61, %eax
je LBB13_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB13_9
LBB13_6:
movq -32(%rbp), %rdi
addq $1, %rdi
callq _csv_skip_whitespace
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _csv_boolean
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jl LBB13_8
## %bb.7:
movl -44(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movl $1, -4(%rbp)
jmp LBB13_9
LBB13_8:
movl $0, -4(%rbp)
LBB13_9:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_errmsg
_csv_errmsg: ## @csv_errmsg
.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 LBB14_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)
LBB14_4:
movq %r9, -184(%rbp)
movq %r8, -192(%rbp)
movq %rcx, -200(%rbp)
movq %rdx, -208(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -40(%rbp)
movq %rsi, -48(%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 $16, (%rax)
movq -40(%rbp), %rsi
addq $64, %rsi
movq -48(%rbp), %rdx
leaq -32(%rbp), %rcx
movl $200, %edi
callq _sqlite3_vsnprintf
leaq -32(%rbp), %rax
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB14_2
## %bb.1:
addq $224, %rsp
popq %rbp
retq
LBB14_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_parameter
_csv_parameter: ## @csv_parameter
.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)
movq %rdx, -32(%rbp)
movq -32(%rbp), %rdi
callq _csv_skip_whitespace
movq %rax, -32(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movslq -20(%rbp), %rdx
callq _strncmp
cmpl $0, %eax
je LBB15_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB15_5
LBB15_2:
movq -32(%rbp), %rdi
movslq -20(%rbp), %rax
addq %rax, %rdi
callq _csv_skip_whitespace
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $61, %eax
je LBB15_4
## %bb.3:
movq $0, -8(%rbp)
jmp LBB15_5
LBB15_4:
movq -32(%rbp), %rdi
addq $1, %rdi
callq _csv_skip_whitespace
movq %rax, -8(%rbp)
LBB15_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_reader_open
_csv_reader_open: ## @csv_reader_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
cmpq $0, -24(%rbp)
je LBB16_6
## %bb.1:
movl $1024, %edi ## imm = 0x400
callq _sqlite3_malloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 56(%rax)
movq -16(%rbp), %rax
cmpq $0, 56(%rax)
jne LBB16_3
## %bb.2:
movq -16(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
movb $0, %al
callq _csv_errmsg
movl $1, -4(%rbp)
jmp LBB16_11
LBB16_3:
movq -24(%rbp), %rdi
leaq L_.str.27(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
cmpq $0, (%rax)
jne LBB16_5
## %bb.4:
movq -16(%rbp), %rax
movq 56(%rax), %rdi
callq _sqlite3_free
movq -16(%rbp), %rdi
callq _csv_reader_reset
movq -16(%rbp), %rdi
movq -24(%rbp), %rdx
leaq L_.str.28(%rip), %rsi
movb $0, %al
callq _csv_errmsg
movl $1, -4(%rbp)
jmp LBB16_11
LBB16_5:
jmp LBB16_10
LBB16_6:
movq -16(%rbp), %rax
cmpq $0, (%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB16_8
## %bb.7:
leaq L___func__.csv_reader_open(%rip), %rdi
leaq L_.str.29(%rip), %rsi
leaq L_.str.30(%rip), %rcx
movl $141, %edx
callq ___assert_rtn
LBB16_8:
jmp LBB16_9
LBB16_9:
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 56(%rax)
movq -32(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 48(%rax)
LBB16_10:
movl $0, -4(%rbp)
LBB16_11:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_read_one_field
_csv_read_one_field: ## @csv_read_one_field
.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 $0, 16(%rax)
movq -16(%rbp), %rdi
callq _csv_getc
movl %eax, -20(%rbp)
cmpl $-1, -20(%rbp)
jne LBB17_2
## %bb.1:
movq -16(%rbp), %rax
movl $-1, 32(%rax)
movq $0, -8(%rbp)
jmp LBB17_61
LBB17_2:
cmpl $34, -20(%rbp)
jne LBB17_35
## %bb.3:
movq -16(%rbp), %rax
movl 24(%rax), %eax
movl %eax, -32(%rbp)
movl $0, -28(%rbp)
movl $0, -24(%rbp)
LBB17_4: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
callq _csv_getc
movl %eax, -20(%rbp)
cmpl $34, -20(%rbp)
jle LBB17_6
## %bb.5: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -24(%rbp)
jne LBB17_31
LBB17_6: ## in Loop: Header=BB17_4 Depth=1
cmpl $10, -20(%rbp)
jne LBB17_8
## %bb.7: ## in Loop: Header=BB17_4 Depth=1
movq -16(%rbp), %rax
movl 24(%rax), %ecx
addl $1, %ecx
movl %ecx, 24(%rax)
LBB17_8: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -20(%rbp)
jne LBB17_12
## %bb.9: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -24(%rbp)
jne LBB17_11
## %bb.10: ## in Loop: Header=BB17_4 Depth=1
movl $0, -24(%rbp)
jmp LBB17_4
LBB17_11: ## in Loop: Header=BB17_4 Depth=1
jmp LBB17_12
LBB17_12: ## in Loop: Header=BB17_4 Depth=1
cmpl $44, -20(%rbp)
jne LBB17_14
## %bb.13: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -24(%rbp)
je LBB17_21
LBB17_14: ## in Loop: Header=BB17_4 Depth=1
cmpl $10, -20(%rbp)
jne LBB17_16
## %bb.15: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -24(%rbp)
je LBB17_21
LBB17_16: ## in Loop: Header=BB17_4 Depth=1
cmpl $10, -20(%rbp)
jne LBB17_19
## %bb.17: ## in Loop: Header=BB17_4 Depth=1
cmpl $13, -24(%rbp)
jne LBB17_19
## %bb.18: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -28(%rbp)
je LBB17_21
LBB17_19: ## in Loop: Header=BB17_4 Depth=1
cmpl $-1, -20(%rbp)
jne LBB17_25
## %bb.20: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -24(%rbp)
jne LBB17_25
LBB17_21:
jmp LBB17_22
LBB17_22: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movl 16(%rax), %ecx
addl $-1, %ecx
movl %ecx, 16(%rax)
## %bb.23: ## in Loop: Header=BB17_22 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -16(%rbp), %rcx
movslq 16(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $34, %eax
jne LBB17_22
## %bb.24:
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %ecx
movq -16(%rbp), %rax
movl %ecx, 32(%rax)
jmp LBB17_34
LBB17_25: ## in Loop: Header=BB17_4 Depth=1
cmpl $34, -24(%rbp)
jne LBB17_28
## %bb.26: ## in Loop: Header=BB17_4 Depth=1
cmpl $13, -20(%rbp)
je LBB17_28
## %bb.27:
movq -16(%rbp), %rdi
movq -16(%rbp), %rax
movl 24(%rax), %edx
leaq L_.str.31(%rip), %rsi
movl $34, %ecx
movb $0, %al
callq _csv_errmsg
jmp LBB17_34
LBB17_28: ## in Loop: Header=BB17_4 Depth=1
cmpl $-1, -20(%rbp)
jne LBB17_30
## %bb.29:
movq -16(%rbp), %rdi
movl -32(%rbp), %edx
leaq L_.str.32(%rip), %rsi
movl $34, %ecx
movb $0, %al
callq _csv_errmsg
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %ecx
movq -16(%rbp), %rax
movl %ecx, 32(%rax)
jmp LBB17_34
LBB17_30: ## in Loop: Header=BB17_4 Depth=1
jmp LBB17_31
LBB17_31: ## in Loop: Header=BB17_4 Depth=1
movq -16(%rbp), %rdi
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %esi
callq _csv_append
cmpl $0, %eax
je LBB17_33
## %bb.32:
movq $0, -8(%rbp)
jmp LBB17_61
LBB17_33: ## in Loop: Header=BB17_4 Depth=1
movl -24(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
movl %eax, -24(%rbp)
jmp LBB17_4
LBB17_34:
jmp LBB17_58
LBB17_35:
movl -20(%rbp), %eax
andl $255, %eax
cmpl $239, %eax
jne LBB17_42
## %bb.36:
movq -16(%rbp), %rax
cmpl $0, 28(%rax)
jne LBB17_42
## %bb.37:
movq -16(%rbp), %rdi
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %esi
callq _csv_append
movq -16(%rbp), %rdi
callq _csv_getc
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
andl $255, %eax
cmpl $187, %eax
jne LBB17_41
## %bb.38:
movq -16(%rbp), %rdi
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %esi
callq _csv_append
movq -16(%rbp), %rdi
callq _csv_getc
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
andl $255, %eax
cmpl $191, %eax
jne LBB17_40
## %bb.39:
movq -16(%rbp), %rax
movl $1, 28(%rax)
movq -16(%rbp), %rax
movl $0, 16(%rax)
movq -16(%rbp), %rdi
callq _csv_read_one_field
movq %rax, -8(%rbp)
jmp LBB17_61
LBB17_40:
jmp LBB17_41
LBB17_41:
jmp LBB17_42
LBB17_42:
jmp LBB17_43
LBB17_43: ## =>This Inner Loop Header: Depth=1
movb $1, %al
cmpl $44, -20(%rbp)
movb %al, -33(%rbp) ## 1-byte Spill
jg LBB17_48
## %bb.44: ## in Loop: Header=BB17_43 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, -20(%rbp)
movb %al, -34(%rbp) ## 1-byte Spill
je LBB17_47
## %bb.45: ## in Loop: Header=BB17_43 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $44, -20(%rbp)
movb %al, -34(%rbp) ## 1-byte Spill
je LBB17_47
## %bb.46: ## in Loop: Header=BB17_43 Depth=1
cmpl $10, -20(%rbp)
setne %al
movb %al, -34(%rbp) ## 1-byte Spill
LBB17_47: ## in Loop: Header=BB17_43 Depth=1
movb -34(%rbp), %al ## 1-byte Reload
movb %al, -33(%rbp) ## 1-byte Spill
LBB17_48: ## in Loop: Header=BB17_43 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB17_49
jmp LBB17_52
LBB17_49: ## in Loop: Header=BB17_43 Depth=1
movq -16(%rbp), %rdi
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %esi
callq _csv_append
cmpl $0, %eax
je LBB17_51
## %bb.50:
movq $0, -8(%rbp)
jmp LBB17_61
LBB17_51: ## in Loop: Header=BB17_43 Depth=1
movq -16(%rbp), %rdi
callq _csv_getc
movl %eax, -20(%rbp)
jmp LBB17_43
LBB17_52:
cmpl $10, -20(%rbp)
jne LBB17_57
## %bb.53:
movq -16(%rbp), %rax
movl 24(%rax), %ecx
addl $1, %ecx
movl %ecx, 24(%rax)
movq -16(%rbp), %rax
cmpl $0, 16(%rax)
jle LBB17_56
## %bb.54:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -16(%rbp), %rcx
movl 16(%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $13, %eax
jne LBB17_56
## %bb.55:
movq -16(%rbp), %rax
movl 16(%rax), %ecx
addl $-1, %ecx
movl %ecx, 16(%rax)
LBB17_56:
jmp LBB17_57
LBB17_57:
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %ecx
movq -16(%rbp), %rax
movl %ecx, 32(%rax)
LBB17_58:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB17_60
## %bb.59:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -16(%rbp), %rcx
movslq 16(%rcx), %rcx
movb $0, (%rax,%rcx)
LBB17_60:
movq -16(%rbp), %rax
movl $1, 28(%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
LBB17_61:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_reader_reset
_csv_reader_reset: ## @csv_reader_reset
.cfi_startproc
## %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
cmpq $0, (%rax)
je LBB18_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _fclose
movq -8(%rbp), %rax
movq 56(%rax), %rdi
callq _sqlite3_free
LBB18_2:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_free
movq -8(%rbp), %rdi
callq _csv_reader_init
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_trim_whitespace
_csv_trim_whitespace: ## @csv_trim_whitespace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _strlen
movq %rax, -16(%rbp)
LBB19_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -16(%rbp)
movb %al, -17(%rbp) ## 1-byte Spill
jbe LBB19_3
## %bb.2: ## in Loop: Header=BB19_1 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq _isspace
cmpl $0, %eax
setne %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB19_3: ## in Loop: Header=BB19_1 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB19_4
jmp LBB19_5
LBB19_4: ## in Loop: Header=BB19_1 Depth=1
movq -16(%rbp), %rax
addq $-1, %rax
movq %rax, -16(%rbp)
jmp LBB19_1
LBB19_5:
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movb $0, (%rax,%rcx)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_dequote
_csv_dequote: ## @csv_dequote
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movb (%rax), %al
movb %al, -13(%rbp)
movsbl -13(%rbp), %eax
cmpl $39, %eax
je LBB20_3
## %bb.1:
movsbl -13(%rbp), %eax
cmpl $34, %eax
je LBB20_3
## %bb.2:
jmp LBB20_14
LBB20_3:
movq -8(%rbp), %rdi
callq _strlen
movq %rax, -32(%rbp)
cmpq $2, -32(%rbp)
jb LBB20_5
## %bb.4:
movq -8(%rbp), %rax
movq -32(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
movq -8(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
je LBB20_6
LBB20_5:
jmp LBB20_14
LBB20_6:
movq $1, -24(%rbp)
movl $0, -12(%rbp)
LBB20_7: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jae LBB20_13
## %bb.8: ## in Loop: Header=BB20_7 Depth=1
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -13(%rbp), %ecx
cmpl %ecx, %eax
jne LBB20_11
## %bb.9: ## in Loop: Header=BB20_7 Depth=1
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movsbl 1(%rax,%rcx), %eax
movsbl -13(%rbp), %ecx
cmpl %ecx, %eax
jne LBB20_11
## %bb.10: ## in Loop: Header=BB20_7 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
LBB20_11: ## in Loop: Header=BB20_7 Depth=1
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -12(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
## %bb.12: ## in Loop: Header=BB20_7 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB20_7
LBB20_13:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
LBB20_14:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_skip_whitespace
_csv_skip_whitespace: ## @csv_skip_whitespace
.cfi_startproc
## %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)
LBB21_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movzbl (%rax), %edi
callq _isspace
cmpl $0, %eax
je LBB21_3
## %bb.2: ## in Loop: Header=BB21_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB21_1
LBB21_3:
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_boolean
_csv_boolean: ## @csv_boolean
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rsi
leaq L_.str.21(%rip), %rdi
callq _sqlite3_stricmp
cmpl $0, %eax
je LBB22_5
## %bb.1:
movq -16(%rbp), %rsi
leaq L_.str.22(%rip), %rdi
callq _sqlite3_stricmp
cmpl $0, %eax
je LBB22_5
## %bb.2:
movq -16(%rbp), %rsi
leaq L_.str.23(%rip), %rdi
callq _sqlite3_stricmp
cmpl $0, %eax
je LBB22_5
## %bb.3:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $49, %eax
jne LBB22_6
## %bb.4:
movq -16(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $0, %eax
jne LBB22_6
LBB22_5:
movl $1, -4(%rbp)
jmp LBB22_13
LBB22_6:
movq -16(%rbp), %rsi
leaq L_.str.24(%rip), %rdi
callq _sqlite3_stricmp
cmpl $0, %eax
je LBB22_11
## %bb.7:
movq -16(%rbp), %rsi
leaq L_.str.25(%rip), %rdi
callq _sqlite3_stricmp
cmpl $0, %eax
je LBB22_11
## %bb.8:
movq -16(%rbp), %rsi
leaq L_.str.26(%rip), %rdi
callq _sqlite3_stricmp
cmpl $0, %eax
je LBB22_11
## %bb.9:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $48, %eax
jne LBB22_12
## %bb.10:
movq -16(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $0, %eax
jne LBB22_12
LBB22_11:
movl $0, -4(%rbp)
jmp LBB22_13
LBB22_12:
movl $-1, -4(%rbp)
LBB22_13:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_getc
_csv_getc: ## @csv_getc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq -16(%rbp), %rcx
cmpq 48(%rcx), %rax
jb LBB23_4
## %bb.1:
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB23_3
## %bb.2:
movq -16(%rbp), %rdi
callq _csv_getc_refill
movl %eax, -4(%rbp)
jmp LBB23_5
LBB23_3:
movl $-1, -4(%rbp)
jmp LBB23_5
LBB23_4:
movq -16(%rbp), %rax
movq 56(%rax), %rax
movq -16(%rbp), %rdx
movq 40(%rdx), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, 40(%rdx)
movzbl (%rax,%rcx), %eax
movl %eax, -4(%rbp)
LBB23_5:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_append
_csv_append: ## @csv_append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movb %sil, %al
movq %rdi, -16(%rbp)
movb %al, -17(%rbp)
movq -16(%rbp), %rax
movl 16(%rax), %eax
movq -16(%rbp), %rcx
movl 20(%rcx), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jl LBB24_2
## %bb.1:
movq -16(%rbp), %rdi
movsbl -17(%rbp), %esi
callq _csv_resize_and_append
movl %eax, -4(%rbp)
jmp LBB24_3
LBB24_2:
movb -17(%rbp), %dl
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -16(%rbp), %rsi
movl 16(%rsi), %ecx
movl %ecx, %edi
addl $1, %edi
movl %edi, 16(%rsi)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl $0, -4(%rbp)
LBB24_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_getc_refill
_csv_getc_refill: ## @csv_getc_refill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq -16(%rbp), %rcx
cmpq 48(%rcx), %rax
setae %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB25_2
## %bb.1:
leaq L___func__.csv_getc_refill(%rip), %rdi
leaq L_.str.29(%rip), %rsi
leaq L_.str.33(%rip), %rcx
movl $154, %edx
callq ___assert_rtn
LBB25_2:
jmp LBB25_3
LBB25_3:
movq -16(%rbp), %rax
cmpq $0, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB25_5
## %bb.4:
leaq L___func__.csv_getc_refill(%rip), %rdi
leaq L_.str.29(%rip), %rsi
leaq L_.str.34(%rip), %rcx
movl $155, %edx
callq ___assert_rtn
LBB25_5:
jmp LBB25_6
LBB25_6:
movq -16(%rbp), %rax
movq 56(%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rcx
movl $1, %esi
movl $1024, %edx ## imm = 0x400
callq _fread
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB25_8
## %bb.7:
movl $-1, -4(%rbp)
jmp LBB25_9
LBB25_8:
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 48(%rax)
movq -16(%rbp), %rax
movq $1, 40(%rax)
movq -16(%rbp), %rax
movq 56(%rax), %rax
movsbl (%rax), %eax
movl %eax, -4(%rbp)
LBB25_9:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_resize_and_append
_csv_resize_and_append: ## @csv_resize_and_append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movb %sil, %al
movq %rdi, -16(%rbp)
movb %al, -17(%rbp)
movq -16(%rbp), %rax
movl 20(%rax), %eax
shll $1, %eax
addl $100, %eax
movl %eax, -36(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movslq -36(%rbp), %rsi
callq _sqlite3_realloc64
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je LBB26_2
## %bb.1:
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movl -36(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 20(%rax)
movb -17(%rbp), %dl
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq -16(%rbp), %rsi
movl 16(%rsi), %ecx
movl %ecx, %edi
addl $1, %edi
movl %edi, 16(%rsi)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl $0, -4(%rbp)
jmp LBB26_3
LBB26_2:
movq -16(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
movb $0, %al
callq _csv_errmsg
movl $1, -4(%rbp)
LBB26_3:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_reader_init
_csv_reader_init: ## @csv_reader_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 %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq $0, (%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movl $0, 16(%rax)
movq -8(%rbp), %rax
movl $0, 20(%rax)
movq -8(%rbp), %rax
movl $0, 24(%rax)
movq -8(%rbp), %rax
movl $0, 28(%rax)
movq -8(%rbp), %rax
movq $0, 48(%rax)
movq -8(%rbp), %rax
movq $0, 56(%rax)
movq -8(%rbp), %rax
movb $0, 64(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csv_xfer_error
_csv_xfer_error: ## @csv_xfer_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 %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _sqlite3_free
movq -16(%rbp), %rsi
addq $64, %rsi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _sqlite3_mprintf
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function csvtabCursorRowReset
_csvtabCursorRowReset: ## @csvtabCursorRowReset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB29_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 48(%rcx), %eax
jge LBB29_4
## %bb.2: ## in Loop: Header=BB29_1 Depth=1
movq -8(%rbp), %rax
movq 272(%rax), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _sqlite3_free
movq -8(%rbp), %rax
movq 272(%rax), %rax
movslq -20(%rbp), %rcx
movq $0, (%rax,%rcx,8)
movq -8(%rbp), %rax
movq 280(%rax), %rax
movslq -20(%rbp), %rcx
movl $0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB29_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB29_1
LBB29_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "csv"
.section __DATA,__data
.p2align 3 ## @CsvModule
_CsvModule:
.long 0 ## 0x0
.space 4
.quad _csvtabCreate
.quad _csvtabConnect
.quad _csvtabBestIndex
.quad _csvtabDisconnect
.quad _csvtabDisconnect
.quad _csvtabOpen
.quad _csvtabClose
.quad _csvtabFilter
.quad _csvtabNext
.quad _csvtabEof
.quad _csvtabColumn
.quad _csvtabRowid
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.p2align 4 ## @csvtabConnect.azParam
_csvtabConnect.azParam:
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "filename"
L_.str.2: ## @.str.2
.asciz "data"
L_.str.3: ## @.str.3
.asciz "schema"
L_.str.4: ## @.str.4
.asciz "header"
L_.str.5: ## @.str.5
.asciz "more than one 'header' parameter"
L_.str.6: ## @.str.6
.asciz "columns"
L_.str.7: ## @.str.7
.asciz "more than one 'columns' parameter"
L_.str.8: ## @.str.8
.asciz "column= value must be positive"
L_.str.9: ## @.str.9
.asciz "bad parameter: '%s'"
L_.str.10: ## @.str.10
.asciz "must specify either filename= or data= but not both"
L_.str.11: ## @.str.11
.space 1
L_.str.12: ## @.str.12
.asciz "CREATE TABLE x("
L_.str.13: ## @.str.13
.asciz "%sc%d TEXT"
L_.str.14: ## @.str.14
.asciz ","
L_.str.15: ## @.str.15
.asciz "%s\"%w\" TEXT"
L_.str.16: ## @.str.16
.asciz ")"
L_.str.17: ## @.str.17
.asciz "bad schema: '%s' - %s"
L_.str.18: ## @.str.18
.asciz "out of memory"
L_.str.19: ## @.str.19
.asciz "%s"
L_.str.20: ## @.str.20
.asciz "more than one '%s' parameter"
L_.str.21: ## @.str.21
.asciz "yes"
L_.str.22: ## @.str.22
.asciz "on"
L_.str.23: ## @.str.23
.asciz "true"
L_.str.24: ## @.str.24
.asciz "no"
L_.str.25: ## @.str.25
.asciz "off"
L_.str.26: ## @.str.26
.asciz "false"
L_.str.27: ## @.str.27
.asciz "rb"
L_.str.28: ## @.str.28
.asciz "cannot open '%s' for reading"
L___func__.csv_reader_open: ## @__func__.csv_reader_open
.asciz "csv_reader_open"
L_.str.29: ## @.str.29
.asciz "126702338.c"
L_.str.30: ## @.str.30
.asciz "p->in==0"
L_.str.31: ## @.str.31
.asciz "line %d: unescaped %c character"
L_.str.32: ## @.str.32
.asciz "line %d: unterminated %c-quoted field\n"
L___func__.csv_getc_refill: ## @__func__.csv_getc_refill
.asciz "csv_getc_refill"
L_.str.33: ## @.str.33
.asciz "p->iIn>=p->nIn"
L_.str.34: ## @.str.34
.asciz "p->in!=0"
L___func__.csvtabFilter: ## @__func__.csvtabFilter
.asciz "csvtabFilter"
L_.str.35: ## @.str.35
.asciz "pCur->rdr.zIn==pTab->zData"
L_.str.36: ## @.str.36
.asciz "pTab->iStart>=0"
L_.str.37: ## @.str.37
.asciz "(size_t)pTab->iStart<=pCur->rdr.nIn"
.subsections_via_symbols
| the_stack_data/126702338.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 0x3ff547ae147ae148 ; double 1.3300000000000001
lCPI0_1:
.quad 0x4059000000000000 ; double 100
lCPI0_2:
.quad 0x3f91df46a1fae712 ; double 0.017453292500000002
lCPI0_3:
.quad 0x4076800000000000 ; double 360
.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]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
; Child Loop BB0_4 Depth 3
movi d0, #0000000000000000
stur d0, [x29, #-16]
b LBB0_2
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_4 Depth 3
ldur d0, [x29, #-16]
adrp x8, lCPI0_3@PAGE
ldr d1, [x8, lCPI0_3@PAGEOFF]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_9
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=2
ldur d0, [x29, #-16]
adrp x8, lCPI0_2@PAGE
ldr d1, [x8, lCPI0_2@PAGEOFF]
fmul d0, d0, d1
bl _sin
str d0, [sp, #24]
ldr d0, [sp, #24]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fmul d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
fcvtzs w8, d0
add w8, w8, #75
str w8, [sp, #20]
str wzr, [sp, #16]
b LBB0_4
LBB0_4: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_2 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=3
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=3
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_2 Depth=2
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x0, sp
mov x8, #2304
movk x8, #61, lsl #16
str x8, [sp, #8]
str xzr, [sp]
mov x1, #0
bl _nanosleep
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_2 Depth=2
ldur d0, [x29, #-16]
fmov d1, #1.00000000
fadd d0, d0, d1
stur d0, [x29, #-16]
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " "
l_.str.1: ; @.str.1
.asciz "0\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 0x4076800000000000 ## double 360
LCPI0_1:
.quad 0x3ff547ae147ae148 ## double 1.3300000000000001
LCPI0_2:
.quad 0x4059000000000000 ## double 100
LCPI0_3:
.quad 0x3f91df46a1fae712 ## double 0.017453292500000002
LCPI0_4:
.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)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_4 Depth 3
xorps %xmm0, %xmm0
movsd %xmm0, -16(%rbp)
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_4 Depth 3
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -16(%rbp), %xmm0
jbe LBB0_9
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
callq _sin
movsd %xmm0, -24(%rbp)
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -24(%rbp), %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
addl $75, %eax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
LBB0_4: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_2 Depth=2
## => This Inner Loop Header: Depth=3
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=3
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.6: ## in Loop: Header=BB0_4 Depth=3
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_4
LBB0_7: ## in Loop: Header=BB0_2 Depth=2
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq $4000000, -40(%rbp) ## imm = 0x3D0900
movq $0, -48(%rbp)
leaq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _nanosleep
## %bb.8: ## in Loop: Header=BB0_2 Depth=2
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
jmp LBB0_2
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " "
L_.str.1: ## @.str.1
.asciz "0\n"
.subsections_via_symbols
| the_stack_data/206391951.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x0, #0
mov x1, #268435456
mov w2, #3
mov w3, #4097
mov w4, #-1
mov x5, #0
bl _mmap
str x0, [sp, #16]
ldr x8, [sp, #16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldr x0, [sp, #16]
mov w1, #9
mov x2, #268435456
mov x3, #-1
bl ___memset_chk
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _getchar
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mmap failed\n"
l_.str.1: ; @.str.1
.asciz "mmap done, memset done, check free output. Press any key to exit...\n"
l_.str.2: ; @.str.2
.asciz "exit success.\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)
xorl %eax, %eax
movl %eax, %r9d
movl $268435456, %esi ## imm = 0x10000000
movl $3, %edx
movl $4097, %ecx ## imm = 0x1001
movl $4294967295, %r8d ## imm = 0xFFFFFFFF
movq %r9, %rdi
callq _mmap
movq %rax, -16(%rbp)
movq $-1, %rax
cmpq %rax, -16(%rbp)
jne LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movq -16(%rbp), %rdi
movl $9, %esi
movl $268435456, %edx ## imm = 0x10000000
movq $-1, %rcx
callq ___memset_chk
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
movb %al, -29(%rbp) ## 1-byte Spill
callq _printf
callq _getchar
## kill: def $ecx killed $eax
movb -29(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
callq _printf
movl -28(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "mmap failed\n"
L_.str.1: ## @.str.1
.asciz "mmap done, memset done, check free output. Press any key to exit...\n"
L_.str.2: ## @.str.2
.asciz "exit success.\n"
.subsections_via_symbols
| the_stack_data/243891992.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI0_0:
.quad 0x3f947ae147ae147b ; double 0.02
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #16
str x8, [x9]
bl _scanf
movi d0, #0000000000000000
stur s0, [x29, #-20]
str wzr, [sp, #24]
ldur w8, [x29, #-16]
str w8, [sp, #20]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-20]
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fadd d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-20]
ldr w9, [sp, #20]
ldur w8, [x29, #-16]
add w8, w8, w9
stur w8, [x29, #-16]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-12]
scvtf s2, s0
ldur s0, [x29, #-20]
ldur s1, [x29, #-12]
scvtf s1, s1
fmsub s1, s0, s1, s2
ldr s0, [sp, #24]
scvtf s0, s0
fadd s0, s0, s1
fcvtzs w8, s0
str w8, [sp, #24]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_6:
ldr w9, [sp, #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
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\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 0x3f947ae147ae147b ## double 0.02
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movl $0, -24(%rbp)
movl -16(%rbp), %eax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
cmpl -16(%rbp), %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movl -28(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cvtsi2ssl -12(%rbp), %xmm0
movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtsi2ssl -12(%rbp), %xmm2
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
cvtsi2ssl -24(%rbp), %xmm0
addss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -24(%rbp)
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_1
LBB0_6:
movl -24(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/150139596.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _swapp
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _swapp ; -- Begin function swapp
.p2align 2
_swapp: ; @swapp
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur w8, [x29, #-4]
str w8, [sp, #4]
ldr w8, [sp, #8]
stur w8, [x29, #-4]
ldr w8, [sp, #4]
str w8, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nAsk to Swap\n"
l_.str.1: ; @.str.1
.asciz "Insert First Date: "
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Insert Second Date: "
l_.str.4: ; @.str.4
.asciz "\nCome back in main\n"
l_.str.5: ; @.str.5
.asciz "The new value a is: %d and the new value b is: %d\n"
l_.str.6: ; @.str.6
.asciz "\nProcessing\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
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
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _swapp
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swapp ## -- Begin function swapp
.p2align 4, 0x90
_swapp: ## @swapp
.cfi_startproc
## %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)
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nAsk to Swap\n"
L_.str.1: ## @.str.1
.asciz "Insert First Date: "
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Insert Second Date: "
L_.str.4: ## @.str.4
.asciz "\nCome back in main\n"
L_.str.5: ## @.str.5
.asciz "The new value a is: %d and the new value b is: %d\n"
L_.str.6: ## @.str.6
.asciz "\nProcessing\n"
.subsections_via_symbols
| the_stack_data/59514134.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _long_cost_y_0_fun_jac_ut_xt_sq ; -- Begin function long_cost_y_0_fun_jac_ut_xt_sq
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_sq: ; @long_cost_y_0_fun_jac_ut_xt_sq
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
ldr d1, [sp, #8]
fmul d0, d0, d1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt ; -- Begin function long_cost_y_0_fun_jac_ut_xt
.p2align 2
_long_cost_y_0_fun_jac_ut_xt: ; @long_cost_y_0_fun_jac_ut_xt
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
str w4, [sp, #12]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
ldr x3, [sp, #16]
ldr w4, [sp, #12]
bl _long_cost_y_0_fun_jac_ut_xt_f0
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 long_cost_y_0_fun_jac_ut_xt_f0
lCPI2_0:
.quad 0x3fc999999999999a ; double 0.20000000000000001
lCPI2_1:
.quad 0x3ff7333333333333 ; double 1.45
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_f0: ; @long_cost_y_0_fun_jac_ut_xt_f0
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
stur w4, [x29, #-36]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldr d0, [x8, #16]
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB2_3
LBB2_2:
movi d0, #0000000000000000
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB2_3
LBB2_3:
ldr d0, [sp, #40] ; 8-byte Folded Reload
stur d0, [x29, #-48]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr d0, [x8]
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB2_6
LBB2_5:
movi d0, #0000000000000000
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB2_6
LBB2_6:
ldr d0, [sp, #32] ; 8-byte Folded Reload
stur d0, [x29, #-56]
ldur d0, [x29, #-48]
ldur d1, [x29, #-56]
fsub d0, d0, d1
stur d0, [x29, #-48]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr d0, [x8, #8]
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB2_9
LBB2_8:
movi d0, #0000000000000000
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB2_9
LBB2_9:
ldr d0, [sp, #24] ; 8-byte Folded Reload
stur d0, [x29, #-64]
ldur d0, [x29, #-64]
bl _long_cost_y_0_fun_jac_ut_xt_sq
str d0, [sp, #72]
fmov d0, #5.00000000
str d0, [sp, #64]
ldr d0, [sp, #72]
ldr d1, [sp, #64]
fdiv d0, d0, d1
str d0, [sp, #72]
adrp x8, lCPI2_1@PAGE
ldr d0, [x8, lCPI2_1@PAGEOFF]
str d0, [sp, #64]
ldr d0, [sp, #64]
ldur d1, [x29, #-64]
fmul d0, d0, d1
str d0, [sp, #56]
ldr d0, [sp, #72]
ldr d1, [sp, #56]
fadd d0, d0, d1
str d0, [sp, #72]
fmov d0, #6.00000000
str d0, [sp, #56]
ldr d0, [sp, #72]
ldr d1, [sp, #56]
fadd d0, d0, d1
str d0, [sp, #72]
ldur d0, [x29, #-48]
ldr d1, [sp, #72]
fsub d0, d0, d1
stur d0, [x29, #-48]
fmov d0, #10.00000000
str d0, [sp, #72]
ldur d0, [x29, #-64]
ldr d1, [sp, #72]
fadd d0, d0, d1
str d0, [sp, #72]
ldur d0, [x29, #-48]
ldr d1, [sp, #72]
fdiv d0, d0, d1
stur d0, [x29, #-48]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
ldur d0, [x29, #-48]
ldur x8, [x29, #-16]
ldr x8, [x8]
str d0, [x8]
b LBB2_11
LBB2_11:
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_13
b LBB2_12
LBB2_12:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8]
str d0, [x8, #8]
b LBB2_13
LBB2_13:
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
ldur d0, [x29, #-64]
ldur x8, [x29, #-16]
ldr x8, [x8]
str d0, [x8, #16]
b LBB2_15
LBB2_15:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr d0, [x8, #16]
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB2_18
LBB2_17:
movi d0, #0000000000000000
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB2_18
LBB2_18:
ldr d0, [sp, #16] ; 8-byte Folded Reload
stur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_20
b LBB2_19
LBB2_19:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8]
str d0, [x8, #24]
b LBB2_20
LBB2_20:
fmov d0, #20.00000000
str d0, [sp, #56]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_22
b LBB2_21
LBB2_21:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldr d0, [x8, #24]
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB2_23
LBB2_22:
movi d0, #0000000000000000
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB2_23
LBB2_23:
ldr d0, [sp, #8] ; 8-byte Folded Reload
str d0, [sp, #48]
ldur d0, [x29, #-56]
ldr d1, [sp, #48]
fsub d0, d0, d1
stur d0, [x29, #-56]
ldr d0, [sp, #56]
ldur d1, [x29, #-56]
fmul d0, d0, d1
stur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_25
b LBB2_24
LBB2_24:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8]
str d0, [x8, #32]
b LBB2_25
LBB2_25:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_27
b LBB2_26
LBB2_26:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr d0, [x8]
str d0, [sp] ; 8-byte Folded Spill
b LBB2_28
LBB2_27:
movi d0, #0000000000000000
str d0, [sp] ; 8-byte Folded Spill
b LBB2_28
LBB2_28:
ldr d0, [sp] ; 8-byte Folded Reload
stur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_30
b LBB2_29
LBB2_29:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8]
str d0, [x8, #40]
b LBB2_30
LBB2_30:
ldr d1, [sp, #72]
fmov d0, #1.00000000
fdiv d0, d0, d1
stur d0, [x29, #-56]
ldur d0, [x29, #-56]
fneg d0, d0
stur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_32
b LBB2_31
LBB2_31:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str d0, [x8]
b LBB2_32
LBB2_32:
adrp x8, lCPI2_0@PAGE
ldr d0, [x8, lCPI2_0@PAGEOFF]
stur d0, [x29, #-56]
ldur d0, [x29, #-64]
ldur d1, [x29, #-64]
fadd d0, d0, d1
stur d0, [x29, #-64]
ldur d0, [x29, #-56]
ldur d1, [x29, #-64]
fmul d0, d0, d1
stur d0, [x29, #-56]
ldur d0, [x29, #-56]
ldr d1, [sp, #64]
fadd d0, d0, d1
stur d0, [x29, #-56]
ldur d0, [x29, #-56]
ldr d1, [sp, #72]
fdiv d0, d0, d1
stur d0, [x29, #-56]
ldur d0, [x29, #-48]
ldr d1, [sp, #72]
fdiv d0, d0, d1
stur d0, [x29, #-48]
ldur d0, [x29, #-56]
ldur d1, [x29, #-48]
fadd d0, d0, d1
stur d0, [x29, #-56]
ldur d0, [x29, #-56]
fneg d0, d0
stur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_34
b LBB2_33
LBB2_33:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str d0, [x8, #8]
b LBB2_34
LBB2_34:
fmov d0, #1.00000000
stur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_36
b LBB2_35
LBB2_35:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str d0, [x8, #16]
b LBB2_36
LBB2_36:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_38
b LBB2_37
LBB2_37:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str d0, [x8, #24]
b LBB2_38
LBB2_38:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_40
b LBB2_39
LBB2_39:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str d0, [x8, #32]
b LBB2_40
LBB2_40:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_42
b LBB2_41
LBB2_41:
ldr d0, [sp, #56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str d0, [x8, #40]
b LBB2_42
LBB2_42:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_44
b LBB2_43
LBB2_43:
ldur d0, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str d0, [x8, #48]
b LBB2_44
LBB2_44:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_alloc_mem ; -- Begin function long_cost_y_0_fun_jac_ut_xt_alloc_mem
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_alloc_mem: ; @long_cost_y_0_fun_jac_ut_xt_alloc_mem
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_init_mem ; -- Begin function long_cost_y_0_fun_jac_ut_xt_init_mem
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_init_mem: ; @long_cost_y_0_fun_jac_ut_xt_init_mem
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_free_mem ; -- Begin function long_cost_y_0_fun_jac_ut_xt_free_mem
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_free_mem: ; @long_cost_y_0_fun_jac_ut_xt_free_mem
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_checkout ; -- Begin function long_cost_y_0_fun_jac_ut_xt_checkout
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_checkout: ; @long_cost_y_0_fun_jac_ut_xt_checkout
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_release ; -- Begin function long_cost_y_0_fun_jac_ut_xt_release
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_release: ; @long_cost_y_0_fun_jac_ut_xt_release
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_incref ; -- Begin function long_cost_y_0_fun_jac_ut_xt_incref
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_incref: ; @long_cost_y_0_fun_jac_ut_xt_incref
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_decref ; -- Begin function long_cost_y_0_fun_jac_ut_xt_decref
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_decref: ; @long_cost_y_0_fun_jac_ut_xt_decref
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_n_in ; -- Begin function long_cost_y_0_fun_jac_ut_xt_n_in
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_n_in: ; @long_cost_y_0_fun_jac_ut_xt_n_in
.cfi_startproc
; %bb.0:
mov w0, #3
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_n_out ; -- Begin function long_cost_y_0_fun_jac_ut_xt_n_out
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_n_out: ; @long_cost_y_0_fun_jac_ut_xt_n_out
.cfi_startproc
; %bb.0:
mov w0, #2
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_default_in ; -- Begin function long_cost_y_0_fun_jac_ut_xt_default_in
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_default_in: ; @long_cost_y_0_fun_jac_ut_xt_default_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
; %bb.1:
movi d0, #0000000000000000
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_name_in ; -- Begin function long_cost_y_0_fun_jac_ut_xt_name_in
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_name_in: ; @long_cost_y_0_fun_jac_ut_xt_name_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB13_3
b LBB13_1
LBB13_1:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB13_4
b LBB13_2
LBB13_2:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB13_5
b LBB13_6
LBB13_3:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #8]
b LBB13_7
LBB13_4:
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #8]
b LBB13_7
LBB13_5:
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #8]
b LBB13_7
LBB13_6:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB13_7
LBB13_7:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_name_out ; -- Begin function long_cost_y_0_fun_jac_ut_xt_name_out
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_name_out: ; @long_cost_y_0_fun_jac_ut_xt_name_out
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB14_3
b LBB14_4
LBB14_2:
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp, #8]
b LBB14_5
LBB14_3:
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #8]
b LBB14_5
LBB14_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB14_5
LBB14_5:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_sparsity_in ; -- Begin function long_cost_y_0_fun_jac_ut_xt_sparsity_in
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_sparsity_in: ; @long_cost_y_0_fun_jac_ut_xt_sparsity_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB15_3
b LBB15_1
LBB15_1:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB15_4
b LBB15_2
LBB15_2:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB15_5
b LBB15_6
LBB15_3:
adrp x8, _long_cost_y_0_fun_jac_ut_xt_s0@PAGE
add x8, x8, _long_cost_y_0_fun_jac_ut_xt_s0@PAGEOFF
str x8, [sp, #8]
b LBB15_7
LBB15_4:
adrp x8, _long_cost_y_0_fun_jac_ut_xt_s1@PAGE
add x8, x8, _long_cost_y_0_fun_jac_ut_xt_s1@PAGEOFF
str x8, [sp, #8]
b LBB15_7
LBB15_5:
adrp x8, _long_cost_y_0_fun_jac_ut_xt_s2@PAGE
add x8, x8, _long_cost_y_0_fun_jac_ut_xt_s2@PAGEOFF
str x8, [sp, #8]
b LBB15_7
LBB15_6:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB15_7
LBB15_7:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_sparsity_out ; -- Begin function long_cost_y_0_fun_jac_ut_xt_sparsity_out
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_sparsity_out: ; @long_cost_y_0_fun_jac_ut_xt_sparsity_out
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB16_3
b LBB16_4
LBB16_2:
adrp x8, _long_cost_y_0_fun_jac_ut_xt_s3@PAGE
add x8, x8, _long_cost_y_0_fun_jac_ut_xt_s3@PAGEOFF
str x8, [sp, #8]
b LBB16_5
LBB16_3:
adrp x8, _long_cost_y_0_fun_jac_ut_xt_s4@PAGE
add x8, x8, _long_cost_y_0_fun_jac_ut_xt_s4@PAGEOFF
str x8, [sp, #8]
b LBB16_5
LBB16_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB16_5
LBB16_5:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_work ; -- Begin function long_cost_y_0_fun_jac_ut_xt_work
.p2align 2
_long_cost_y_0_fun_jac_ut_xt_work: ; @long_cost_y_0_fun_jac_ut_xt_work
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
str x3, [sp]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
ldr x9, [sp, #24]
mov w8, #3
str w8, [x9]
b LBB17_2
LBB17_2:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_4
b LBB17_3
LBB17_3:
ldr x9, [sp, #16]
mov w8, #2
str w8, [x9]
b LBB17_4
LBB17_4:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_6
b LBB17_5
LBB17_5:
ldr x8, [sp, #8]
str wzr, [x8]
b LBB17_6
LBB17_6:
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_8
b LBB17_7
LBB17_7:
ldr x8, [sp]
str wzr, [x8]
b LBB17_8
LBB17_8:
mov w0, #0
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "i0"
l_.str.1: ; @.str.1
.asciz "i1"
l_.str.2: ; @.str.2
.asciz "i2"
l_.str.3: ; @.str.3
.asciz "o0"
l_.str.4: ; @.str.4
.asciz "o1"
.section __TEXT,__const
.p2align 2 ; @long_cost_y_0_fun_jac_ut_xt_s0
_long_cost_y_0_fun_jac_ut_xt_s0:
.long 3 ; 0x3
.long 1 ; 0x1
.long 0 ; 0x0
.long 3 ; 0x3
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.p2align 2 ; @long_cost_y_0_fun_jac_ut_xt_s1
_long_cost_y_0_fun_jac_ut_xt_s1:
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.p2align 2 ; @long_cost_y_0_fun_jac_ut_xt_s2
_long_cost_y_0_fun_jac_ut_xt_s2:
.long 4 ; 0x4
.long 1 ; 0x1
.long 0 ; 0x0
.long 4 ; 0x4
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.p2align 2 ; @long_cost_y_0_fun_jac_ut_xt_s3
_long_cost_y_0_fun_jac_ut_xt_s3:
.long 6 ; 0x6
.long 1 ; 0x1
.long 0 ; 0x0
.long 6 ; 0x6
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.p2align 2 ; @long_cost_y_0_fun_jac_ut_xt_s4
_long_cost_y_0_fun_jac_ut_xt_s4:
.long 4 ; 0x4
.long 6 ; 0x6
.long 0 ; 0x0
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 1 ; 0x1
.long 2 ; 0x2
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 3 ; 0x3
.long 0 ; 0x0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _long_cost_y_0_fun_jac_ut_xt_sq ## -- Begin function long_cost_y_0_fun_jac_ut_xt_sq
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_sq: ## @long_cost_y_0_fun_jac_ut_xt_sq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -8(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt ## -- Begin function long_cost_y_0_fun_jac_ut_xt
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt: ## @long_cost_y_0_fun_jac_ut_xt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movl %r8d, -36(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
movl -36(%rbp), %r8d
callq _long_cost_y_0_fun_jac_ut_xt_f0
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function long_cost_y_0_fun_jac_ut_xt_f0
LCPI2_0:
.quad 0x4024000000000000 ## double 10
LCPI2_1:
.quad 0x4018000000000000 ## double 6
LCPI2_2:
.quad 0x3ff7333333333333 ## double 1.45
LCPI2_3:
.quad 0x4014000000000000 ## double 5
LCPI2_4:
.quad 0x4034000000000000 ## double 20
LCPI2_5:
.quad 0x3ff0000000000000 ## double 1
LCPI2_6:
.quad 0x3fc999999999999a ## double 0.20000000000000001
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_f0: ## @long_cost_y_0_fun_jac_ut_xt_f0
.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 %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movl %r8d, -36(%rbp)
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
je LBB2_2
## %bb.1:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp) ## 8-byte Spill
jmp LBB2_3
LBB2_2:
xorps %xmm0, %xmm0
movsd %xmm0, -104(%rbp) ## 8-byte Spill
jmp LBB2_3
LBB2_3:
movsd -104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB2_5
## %bb.4:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -112(%rbp) ## 8-byte Spill
jmp LBB2_6
LBB2_5:
xorps %xmm0, %xmm0
movsd %xmm0, -112(%rbp) ## 8-byte Spill
jmp LBB2_6
LBB2_6:
movsd -112(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -56(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB2_8
## %bb.7:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp) ## 8-byte Spill
jmp LBB2_9
LBB2_8:
xorps %xmm0, %xmm0
movsd %xmm0, -120(%rbp) ## 8-byte Spill
jmp LBB2_9
LBB2_9:
movsd -120(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _long_cost_y_0_fun_jac_ut_xt_sq
movsd %xmm0, -72(%rbp)
movsd LCPI2_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp)
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -80(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
movsd LCPI2_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp)
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -64(%rbp), %xmm0
movsd %xmm0, -88(%rbp)
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -88(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
movsd LCPI2_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -88(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -72(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -72(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -72(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -72(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB2_11
## %bb.10:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, (%rax)
LBB2_11:
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB2_13
## %bb.12:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, 8(%rax)
LBB2_13:
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB2_15
## %bb.14:
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, 16(%rax)
LBB2_15:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB2_17
## %bb.16:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp) ## 8-byte Spill
jmp LBB2_18
LBB2_17:
xorps %xmm0, %xmm0
movsd %xmm0, -128(%rbp) ## 8-byte Spill
jmp LBB2_18
LBB2_18:
movsd -128(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB2_20
## %bb.19:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, 24(%rax)
LBB2_20:
movsd LCPI2_4(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
je LBB2_22
## %bb.21:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp) ## 8-byte Spill
jmp LBB2_23
LBB2_22:
xorps %xmm0, %xmm0
movsd %xmm0, -136(%rbp) ## 8-byte Spill
jmp LBB2_23
LBB2_23:
movsd -136(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -96(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -56(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB2_25
## %bb.24:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, 32(%rax)
LBB2_25:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_27
## %bb.26:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -144(%rbp) ## 8-byte Spill
jmp LBB2_28
LBB2_27:
xorps %xmm0, %xmm0
movsd %xmm0, -144(%rbp) ## 8-byte Spill
jmp LBB2_28
LBB2_28:
movsd -144(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB2_30
## %bb.29:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, 40(%rax)
LBB2_30:
movsd LCPI2_5(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd -72(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -56(%rbp)
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_32
## %bb.31:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsd %xmm0, (%rax)
LBB2_32:
movsd LCPI2_6(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -64(%rbp), %xmm0
movsd %xmm0, -64(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -64(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -80(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -72(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -72(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -48(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -56(%rbp)
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_34
## %bb.33:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsd %xmm0, 8(%rax)
LBB2_34:
movsd LCPI2_5(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_36
## %bb.35:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsd %xmm0, 16(%rax)
LBB2_36:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_38
## %bb.37:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsd %xmm0, 24(%rax)
LBB2_38:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_40
## %bb.39:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsd %xmm0, 32(%rax)
LBB2_40:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_42
## %bb.41:
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsd %xmm0, 40(%rax)
LBB2_42:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB2_44
## %bb.43:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsd %xmm0, 48(%rax)
LBB2_44:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_alloc_mem ## -- Begin function long_cost_y_0_fun_jac_ut_xt_alloc_mem
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_alloc_mem: ## @long_cost_y_0_fun_jac_ut_xt_alloc_mem
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_init_mem ## -- Begin function long_cost_y_0_fun_jac_ut_xt_init_mem
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_init_mem: ## @long_cost_y_0_fun_jac_ut_xt_init_mem
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_free_mem ## -- Begin function long_cost_y_0_fun_jac_ut_xt_free_mem
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_free_mem: ## @long_cost_y_0_fun_jac_ut_xt_free_mem
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_checkout ## -- Begin function long_cost_y_0_fun_jac_ut_xt_checkout
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_checkout: ## @long_cost_y_0_fun_jac_ut_xt_checkout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_release ## -- Begin function long_cost_y_0_fun_jac_ut_xt_release
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_release: ## @long_cost_y_0_fun_jac_ut_xt_release
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_incref ## -- Begin function long_cost_y_0_fun_jac_ut_xt_incref
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_incref: ## @long_cost_y_0_fun_jac_ut_xt_incref
.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 _long_cost_y_0_fun_jac_ut_xt_decref ## -- Begin function long_cost_y_0_fun_jac_ut_xt_decref
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_decref: ## @long_cost_y_0_fun_jac_ut_xt_decref
.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 _long_cost_y_0_fun_jac_ut_xt_n_in ## -- Begin function long_cost_y_0_fun_jac_ut_xt_n_in
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_n_in: ## @long_cost_y_0_fun_jac_ut_xt_n_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $3, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_n_out ## -- Begin function long_cost_y_0_fun_jac_ut_xt_n_out
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_n_out: ## @long_cost_y_0_fun_jac_ut_xt_n_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $2, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_default_in ## -- Begin function long_cost_y_0_fun_jac_ut_xt_default_in
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_default_in: ## @long_cost_y_0_fun_jac_ut_xt_default_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
## %bb.1:
xorps %xmm0, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_name_in ## -- Begin function long_cost_y_0_fun_jac_ut_xt_name_in
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_name_in: ## @long_cost_y_0_fun_jac_ut_xt_name_in
.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, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB13_1
jmp LBB13_6
LBB13_6:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB13_2
jmp LBB13_7
LBB13_7:
movl -16(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB13_3
jmp LBB13_4
LBB13_1:
leaq L_.str(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB13_5
LBB13_2:
leaq L_.str.1(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB13_5
LBB13_3:
leaq L_.str.2(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB13_5
LBB13_4:
movq $0, -8(%rbp)
LBB13_5:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_name_out ## -- Begin function long_cost_y_0_fun_jac_ut_xt_name_out
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_name_out: ## @long_cost_y_0_fun_jac_ut_xt_name_out
.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, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB14_1
jmp LBB14_5
LBB14_5:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB14_2
jmp LBB14_3
LBB14_1:
leaq L_.str.3(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB14_4
LBB14_2:
leaq L_.str.4(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB14_4
LBB14_3:
movq $0, -8(%rbp)
LBB14_4:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_sparsity_in ## -- Begin function long_cost_y_0_fun_jac_ut_xt_sparsity_in
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_sparsity_in: ## @long_cost_y_0_fun_jac_ut_xt_sparsity_in
.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, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB15_1
jmp LBB15_6
LBB15_6:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB15_2
jmp LBB15_7
LBB15_7:
movl -16(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB15_3
jmp LBB15_4
LBB15_1:
leaq _long_cost_y_0_fun_jac_ut_xt_s0(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB15_5
LBB15_2:
leaq _long_cost_y_0_fun_jac_ut_xt_s1(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB15_5
LBB15_3:
leaq _long_cost_y_0_fun_jac_ut_xt_s2(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB15_5
LBB15_4:
movq $0, -8(%rbp)
LBB15_5:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_sparsity_out ## -- Begin function long_cost_y_0_fun_jac_ut_xt_sparsity_out
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_sparsity_out: ## @long_cost_y_0_fun_jac_ut_xt_sparsity_out
.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, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB16_1
jmp LBB16_5
LBB16_5:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB16_2
jmp LBB16_3
LBB16_1:
leaq _long_cost_y_0_fun_jac_ut_xt_s3(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB16_4
LBB16_2:
leaq _long_cost_y_0_fun_jac_ut_xt_s4(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB16_4
LBB16_3:
movq $0, -8(%rbp)
LBB16_4:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _long_cost_y_0_fun_jac_ut_xt_work ## -- Begin function long_cost_y_0_fun_jac_ut_xt_work
.p2align 4, 0x90
_long_cost_y_0_fun_jac_ut_xt_work: ## @long_cost_y_0_fun_jac_ut_xt_work
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
cmpq $0, -8(%rbp)
je LBB17_2
## %bb.1:
movq -8(%rbp), %rax
movl $3, (%rax)
LBB17_2:
cmpq $0, -16(%rbp)
je LBB17_4
## %bb.3:
movq -16(%rbp), %rax
movl $2, (%rax)
LBB17_4:
cmpq $0, -24(%rbp)
je LBB17_6
## %bb.5:
movq -24(%rbp), %rax
movl $0, (%rax)
LBB17_6:
cmpq $0, -32(%rbp)
je LBB17_8
## %bb.7:
movq -32(%rbp), %rax
movl $0, (%rax)
LBB17_8:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "i0"
L_.str.1: ## @.str.1
.asciz "i1"
L_.str.2: ## @.str.2
.asciz "i2"
L_.str.3: ## @.str.3
.asciz "o0"
L_.str.4: ## @.str.4
.asciz "o1"
.section __TEXT,__const
.p2align 4 ## @long_cost_y_0_fun_jac_ut_xt_s0
_long_cost_y_0_fun_jac_ut_xt_s0:
.long 3 ## 0x3
.long 1 ## 0x1
.long 0 ## 0x0
.long 3 ## 0x3
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.p2align 4 ## @long_cost_y_0_fun_jac_ut_xt_s1
_long_cost_y_0_fun_jac_ut_xt_s1:
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.p2align 4 ## @long_cost_y_0_fun_jac_ut_xt_s2
_long_cost_y_0_fun_jac_ut_xt_s2:
.long 4 ## 0x4
.long 1 ## 0x1
.long 0 ## 0x0
.long 4 ## 0x4
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.p2align 4 ## @long_cost_y_0_fun_jac_ut_xt_s3
_long_cost_y_0_fun_jac_ut_xt_s3:
.long 6 ## 0x6
.long 1 ## 0x1
.long 0 ## 0x0
.long 6 ## 0x6
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.p2align 4 ## @long_cost_y_0_fun_jac_ut_xt_s4
_long_cost_y_0_fun_jac_ut_xt_s4:
.long 4 ## 0x4
.long 6 ## 0x6
.long 0 ## 0x0
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 1 ## 0x1
.long 2 ## 0x2
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 3 ## 0x3
.long 0 ## 0x0
.subsections_via_symbols
| the_stack_data/1125958.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strrev ; -- Begin function strrev
.p2align 2
_strrev: ; @strrev
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
strb w1, [sp, #23]
ldr x8, [sp, #24]
ldrb w9, [sp, #23]
add x8, x8, w9, sxtw
str x8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8]
strb w8, [sp, #7]
ldr x8, [sp, #24]
ldrb w8, [x8]
ldr x9, [sp, #8]
subs x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
ldrb w8, [sp, #7]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
strb w8, [x9]
b LBB0_1
LBB0_3:
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 _strrev ## -- Begin function strrev
.p2align 4, 0x90
_strrev: ## @strrev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %sil, %al
movq %rdi, -8(%rbp)
movb %al, -9(%rbp)
movq -8(%rbp), %rax
movzbl -9(%rbp), %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq -8(%rbp), %rax
jbe LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movb (%rax), %al
movb %al, -25(%rbp)
movq -8(%rbp), %rax
movb (%rax), %cl
movq -24(%rbp), %rax
movq %rax, %rdx
addq $-1, %rdx
movq %rdx, -24(%rbp)
movb %cl, (%rax)
movb -25(%rbp), %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movb %cl, (%rax)
jmp LBB0_1
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/13361.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/155441.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]
stur wzr, [x29, #-28]
str wzr, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #24
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
str x0, [sp, #40]
str wzr, [sp, #28]
b LBB0_2
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=2
ldr x0, [sp, #40]
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
sub x10, x29, #24
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_2 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_2
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_7:
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
stur wzr, [x29, #-28]
b LBB0_10
LBB0_9:
b LBB0_10
LBB0_10:
ldur w8, [x29, #-28]
str w8, [sp, #24] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
bl ___stack_chk_fail
LBB0_12:
ldr w0, [sp, #24] ; 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 "Enter Name: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Enter Salary: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "output.txt"
l_.str.5: ; @.str.5
.asciz "a"
l_.str.6: ; @.str.6
.asciz "%s , %d\n"
l_.str.7: ; @.str.7
.asciz "Enter 1 to Continue\n Enter 0 to End "
.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, -36(%rbp)
movl $0, -52(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%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 L_.str.3(%rip), %rdi
leaq -56(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -48(%rbp)
movl $0, -60(%rbp)
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, -60(%rbp)
jge LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movq -48(%rbp), %rdi
leaq -32(%rbp), %rdx
movl -56(%rbp), %ecx
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.4: ## in Loop: Header=BB0_2 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_2
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -52(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, -52(%rbp)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_7:
cmpl $0, -52(%rbp)
jne LBB0_9
## %bb.8:
movl $0, -36(%rbp)
jmp LBB0_10
LBB0_9:
jmp LBB0_10
LBB0_10:
movl -36(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_12
## %bb.11:
movl -64(%rbp), %eax ## 4-byte Reload
addq $64, %rsp
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter Name: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Enter Salary: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "output.txt"
L_.str.5: ## @.str.5
.asciz "a"
L_.str.6: ## @.str.6
.asciz "%s , %d\n"
L_.str.7: ## @.str.7
.asciz "Enter 1 to Continue\n Enter 0 to End "
.subsections_via_symbols
| the_stack_data/234516871.c |