arm
stringlengths 122
13.2M
| x86
stringlengths 122
12.4M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putstr ; -- Begin function putstr
.p2align 2
_putstr: ; @putstr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x1, [sp, #8]
mov x8, x1
add x8, x8, #1
str x8, [sp, #8]
mov w0, #1
mov x2, #1
bl _write
b LBB0_1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _strlen ; -- Begin function strlen
.p2align 2
_strlen: ; @strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_3:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _search_and_replace ; -- Begin function search_and_replace
.p2align 2
_search_and_replace: ; @search_and_replace
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
strb w1, [sp, #7]
strb w2, [sp, #6]
mov w8, #-1
str w8, [sp]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr w9, [sp]
add w9, w9, #1
str w9, [sp]
add x8, x8, w9, sxtw
ldrb w8, [x8]
subs w8, w8, #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]
ldrsw x9, [sp]
ldrsb w8, [x8, x9]
ldrsb w9, [sp, #7]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldrb w8, [sp, #6]
ldr x9, [sp, #8]
ldrsw x10, [sp]
add x9, x9, x10
strb w8, [x9]
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_5:
ldr x0, [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]
stur w0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
ldur w8, [x29, #-8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_1
LBB3_1:
ldr x8, [sp, #16]
ldr x0, [x8, #16]
bl _strlen
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2:
ldr x8, [sp, #16]
ldr x0, [x8, #24]
bl _strlen
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldrsw x9, [sp, #12]
ldrsb x0, [x8, x9]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldrsb w1, [x8]
ldr x8, [sp, #16]
ldr x8, [x8, #24]
ldrsb w2, [x8]
bl _search_and_replace
bl _putstr
b LBB3_4
LBB3_4:
b LBB3_5
LBB3_5:
mov w0, #1
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #1
bl _write
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putstr ## -- Begin function putstr
.p2align 4, 0x90
_putstr: ## @putstr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rsi
movq %rsi, %rax
addq $1, %rax
movq %rax, -8(%rbp)
movl $1, %edi
movl $1, %edx
callq _write
jmp LBB0_1
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strlen ## -- Begin function strlen
.p2align 4, 0x90
_strlen: ## @strlen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _search_and_replace ## -- Begin function search_and_replace
.p2align 4, 0x90
_search_and_replace: ## @search_and_replace
.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
movb %sil, %cl
movq %rdi, -8(%rbp)
movb %cl, -9(%rbp)
movb %al, -10(%rbp)
movl $-1, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
addl $1, %ecx
movl %ecx, -16(%rbp)
movslq %ecx, %rcx
cmpb $0, (%rax,%rcx)
je LBB2_5
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -9(%rbp), %ecx
cmpl %ecx, %eax
jne LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movb -10(%rbp), %dl
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb %dl, (%rax,%rcx)
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_5:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
cmpl $4, -8(%rbp)
jne LBB3_5
## %bb.1:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _strlen
cmpl $1, %eax
jne LBB3_4
## %bb.2:
movq -16(%rbp), %rax
movq 24(%rax), %rdi
callq _strlen
cmpl $1, %eax
jne LBB3_4
## %bb.3:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movsbq (%rax,%rcx), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rax
movb (%rax), %cl
movq -16(%rbp), %rax
movq 24(%rax), %rax
movsbl %cl, %esi
movsbl (%rax), %edx
callq _search_and_replace
movq %rax, %rdi
callq _putstr
LBB3_4:
jmp LBB3_5
LBB3_5:
movl $1, %edi
leaq L_.str(%rip), %rsi
movl $1, %edx
callq _write
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.subsections_via_symbols
| the_stack_data/179829732.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _calc_parse
b LBB0_1
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _calc_parse ; -- Begin function calc_parse
.p2align 2
_calc_parse: ; @calc_parse
.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 x11, _calc_nerrs@GOTPAGE
ldr x11, [x11, _calc_nerrs@GOTPAGEOFF]
str x11, [sp, #24] ; 8-byte Folded Spill
adrp x9, _calc_errflag@GOTPAGE
ldr x9, [x9, _calc_errflag@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
adrp x10, _calc_char@GOTPAGE
ldr x10, [x10, _calc_char@GOTPAGEOFF]
str x10, [sp, #40] ; 8-byte Folded Spill
adrp x8, _yystack@PAGE
add x8, x8, _yystack@PAGEOFF
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x12, _calc_check@GOTPAGE
ldr x12, [x12, _calc_check@GOTPAGEOFF]
stur x12, [x29, #-40] ; 8-byte Folded Spill
adrp x12, _calc_table@GOTPAGE
ldr x12, [x12, _calc_table@GOTPAGEOFF]
stur x12, [x29, #-32] ; 8-byte Folded Spill
adrp x12, _calc_val@GOTPAGE
ldr x12, [x12, _calc_val@GOTPAGEOFF]
stur x12, [x29, #-24] ; 8-byte Folded Spill
str wzr, [x11]
str wzr, [x9]
mov w9, #-1
str w9, [x10]
stur wzr, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
b LBB1_85
LBB1_3:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [x8, #8]
str x9, [x8, #16]
ldr x9, [x8, #32]
str x9, [x8, #40]
stur wzr, [x29, #-16]
ldr x8, [x8, #16]
str wzr, [x8]
b LBB1_4
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_31 Depth 2
ldursw x9, [x29, #-16]
adrp x8, _calc_defred@GOTPAGE
ldr x8, [x8, _calc_defred@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
b LBB1_46
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
bl _calc_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-16]
adrp x8, _calc_sindex@GOTPAGE
ldr x8, [x8, _calc_sindex@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_20
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_20
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x10, [x29, #-12]
ldr w8, [x8, x10, lsl #2]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_20
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_17
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
b LBB1_85
LBB1_17: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x13, [sp, #48] ; 8-byte Folded Reload
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldursw x11, [x29, #-12]
ldr w11, [x9, x11, lsl #2]
stur w11, [x29, #-16]
ldursw x11, [x29, #-12]
ldr w9, [x9, x11, lsl #2]
ldr x11, [x13, #16]
add x12, x11, #4
str x12, [x13, #16]
str w9, [x11, #4]
adrp x9, _calc_lval@GOTPAGE
ldr x9, [x9, _calc_lval@GOTPAGEOFF]
ldr w9, [x9]
ldr x11, [x13, #40]
add x12, x11, #4
str x12, [x13, #40]
str w9, [x11, #4]
mov w9, #-1
str w9, [x10]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_20: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-16]
adrp x8, _calc_rindex@GOTPAGE
ldr x8, [x8, _calc_rindex@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_25
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x10, [x29, #-12]
ldr w8, [x8, x10, lsl #2]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
b LBB1_46
LBB1_25: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_27
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_4 Depth=1
b LBB1_29
LBB1_27: ; in Loop: Header=BB1_4 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _calc_error
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_43
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
mov w8, #3
str w8, [x9]
b LBB1_31
LBB1_31: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldrsw x9, [x8]
adrp x8, _calc_sindex@GOTPAGE
ldr x8, [x8, _calc_sindex@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_39
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #256
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_39
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_39
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_31 Depth=2
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #256
cset w8, ne
tbnz w8, #0, LBB1_39
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_38
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_38
b LBB1_37
LBB1_37:
b LBB1_85
LBB1_38: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr w9, [x8, x9, lsl #2]
stur w9, [x29, #-16]
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [x11, #16]
add x10, x9, #4
str x10, [x11, #16]
str w8, [x9, #4]
adrp x8, _calc_lval@GOTPAGE
ldr x8, [x8, _calc_lval@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_39: ; in Loop: Header=BB1_31 Depth=2
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB1_41
b LBB1_40
LBB1_40:
b LBB1_86
LBB1_41: ; in Loop: Header=BB1_31 Depth=2
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
subs x8, x8, #4
str x8, [x9, #16]
ldr x8, [x9, #40]
subs x8, x8, #4
str x8, [x9, #40]
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_31 Depth=2
b LBB1_31
LBB1_43: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44:
b LBB1_86
LBB1_45: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov w8, #-1
str w8, [x9]
b LBB1_4
LBB1_46: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _calc_len@GOTPAGE
ldr x8, [x8, _calc_len@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_48
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w11, [x29, #-8]
mov w10, #1
subs w10, w10, w11
ldr w8, [x8, w10, sxtw #2]
str w8, [x9]
b LBB1_49
LBB1_48: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-24] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_49
LBB1_49: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #3
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #15
cset w8, hi
tbnz w8, #0, LBB1_66
; %bb.50: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_51: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_66
LBB1_52: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_66
LBB1_53: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #40]
ldr w8, [x8]
ldr x9, [x9, #40]
ldursw x10, [x9, #-8]
adrp x9, _regs@GOTPAGE
ldr x9, [x9, _regs@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
b LBB1_66
LBB1_54: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w8, [x8, #-4]
str w8, [x9]
b LBB1_66
LBB1_55: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_56: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
subs w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_57: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
mul w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_58: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
sdiv w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_59: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w11, [x10]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_60: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
and w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_61: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
orr w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_62: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w10, [x8]
mov w8, #0
subs w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_63: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldrsw x10, [x8]
adrp x8, _regs@GOTPAGE
ldr x8, [x8, _regs@GOTPAGEOFF]
ldr w8, [x8, x10, lsl #2]
str w8, [x9]
b LBB1_66
LBB1_64: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur x10, [x29, #-24] ; 8-byte Folded Reload
ldr x9, [x8, #40]
ldr w9, [x9]
str w9, [x10]
ldr x8, [x8, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
and w10, w8, #0x1
mov w9, #10
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
adrp x9, _base@GOTPAGE
ldr x9, [x9, _base@GOTPAGEOFF]
str w8, [x9]
b LBB1_66
LBB1_65: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
adrp x8, _base@GOTPAGE
ldr x8, [x8, _base@GOTPAGEOFF]
ldr w8, [x8]
ldr x11, [x10, #40]
ldur w11, [x11, #-4]
mul w8, w8, w11
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_66: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldursw x11, [x29, #-8]
ldr x8, [x9, #16]
mov x10, #0
subs x11, x10, x11
add x8, x8, x11, lsl #2
str x8, [x9, #16]
ldr x8, [x9, #16]
ldr w8, [x8]
stur w8, [x29, #-16]
ldursw x11, [x29, #-8]
ldr x8, [x9, #40]
subs x10, x10, x11
add x8, x8, x10, lsl #2
str x8, [x9, #40]
ldursw x9, [x29, #-12]
adrp x8, _calc_lhs@GOTPAGE
ldr x8, [x8, _calc_lhs@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-8]
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_75
b LBB1_67
LBB1_67: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_75
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x12, [sp, #48] ; 8-byte Folded Reload
ldur x9, [x29, #-24] ; 8-byte Folded Reload
mov w10, #1
stur w10, [x29, #-16]
ldr x11, [x12, #16]
add x13, x11, #4
str x13, [x12, #16]
str w10, [x11, #4]
ldr w9, [x9]
ldr x10, [x12, #40]
add x11, x10, #4
str x11, [x12, #40]
str w9, [x10, #4]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_72
b LBB1_69
LBB1_69: ; in Loop: Header=BB1_4 Depth=1
bl _calc_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_71
b LBB1_70
LBB1_70: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_71
LBB1_71: ; in Loop: Header=BB1_4 Depth=1
b LBB1_72
LBB1_72: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_74
b LBB1_73
LBB1_73:
b LBB1_87
LBB1_74: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_75: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _calc_gindex@GOTPAGE
ldr x8, [x8, _calc_gindex@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_80
b LBB1_76
LBB1_76: ; in Loop: Header=BB1_4 Depth=1
ldur w9, [x29, #-16]
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_80
b LBB1_77
LBB1_77: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_80
b LBB1_78
LBB1_78: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_80
b LBB1_79
LBB1_79: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-16]
b LBB1_81
LBB1_80: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _calc_dgoto@GOTPAGE
ldr x8, [x8, _calc_dgoto@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-16]
b LBB1_81
LBB1_81: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_84
b LBB1_82
LBB1_82: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_84
b LBB1_83
LBB1_83:
b LBB1_85
LBB1_84: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldur w9, [x29, #-16]
ldr x10, [x11, #16]
add x12, x10, #4
str x12, [x11, #16]
str w9, [x10, #4]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_85:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _calc_error
b LBB1_86
LBB1_86:
mov w8, #1
stur w8, [x29, #-4]
b LBB1_88
LBB1_87:
stur wzr, [x29, #-4]
b LBB1_88
LBB1_88:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_51-Ltmp0
.long LBB1_52-Ltmp0
.long LBB1_53-Ltmp0
.long LBB1_54-Ltmp0
.long LBB1_55-Ltmp0
.long LBB1_56-Ltmp0
.long LBB1_57-Ltmp0
.long LBB1_58-Ltmp0
.long LBB1_59-Ltmp0
.long LBB1_60-Ltmp0
.long LBB1_61-Ltmp0
.long LBB1_62-Ltmp0
.long LBB1_63-Ltmp0
.long LBB1_66-Ltmp0
.long LBB1_64-Ltmp0
.long LBB1_65-Ltmp0
; -- End function
.globl _calc_lex ; -- Begin function calc_lex
.p2align 2
_calc_lex: ; @calc_lex
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #8]
subs w8, w0, #32
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldr w0, [sp, #8]
bl _islower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr w8, [sp, #8]
subs w8, w8, #97
adrp x9, _calc_lval@GOTPAGE
ldr x9, [x9, _calc_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #258
stur w8, [x29, #-4]
b LBB2_8
LBB2_5:
ldr w0, [sp, #8]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr w8, [sp, #8]
subs w8, w8, #48
adrp x9, _calc_lval@GOTPAGE
ldr x9, [x9, _calc_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #257
stur w8, [x29, #-4]
b LBB2_8
LBB2_7:
ldr w8, [sp, #8]
stur w8, [x29, #-4]
b LBB2_8
LBB2_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yygrowstack
_yygrowstack: ; @yygrowstack
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #200
str w8, [sp, #24]
b LBB3_8
LBB3_2:
ldr w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_4:
ldr w8, [sp, #24]
lsl w8, w8, #1
str w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
mov w8, #10000
str w8, [sp, #24]
b LBB3_6
LBB3_6:
b LBB3_7
LBB3_7:
b LBB3_8
LBB3_8:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
subs x8, x8, x9
mov x9, #4
sdiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #2
bl _realloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_10:
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
str x8, [x9, #16]
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #2
bl _realloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_12:
ldr x8, [sp, #8]
ldur x9, [x29, #-16]
str x8, [x9, #32]
ldr x8, [sp, #8]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
str x8, [x9, #40]
ldr w8, [sp, #24]
ldur x9, [x29, #-16]
str w8, [x9]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #2
subs x8, x8, #4
ldur x9, [x29, #-16]
str x8, [x9, #24]
stur wzr, [x29, #-4]
b LBB3_13
LBB3_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function calc_error
_calc_error: ; @calc_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _calc_lval,4,2 ; @calc_lval
.comm _calc_nerrs,4,2 ; @calc_nerrs
.comm _calc_errflag,4,2 ; @calc_errflag
.comm _calc_char,4,2 ; @calc_char
.zerofill __DATA,__bss,_yystack,48,3 ; @yystack
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "syntax error"
.comm _calc_val,4,2 ; @calc_val
l_.str.1: ; @.str.1
.asciz "%d\n"
.comm _regs,104,2 ; @regs
.comm _base,4,2 ; @base
l_.str.2: ; @.str.2
.asciz "yacc stack overflow"
l_.str.3: ; @.str.3
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_2
jmp LBB0_3
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
callq _calc_parse
jmp LBB0_1
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calc_parse ## -- Begin function calc_parse
.p2align 4, 0x90
_calc_parse: ## @calc_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq _calc_nerrs@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _calc_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movl $0, -16(%rbp)
cmpq $0, _yystack+8(%rip)
jne LBB1_3
## %bb.1:
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_3
## %bb.2:
jmp LBB1_84
LBB1_3:
movq _yystack+8(%rip), %rax
movq %rax, _yystack+16(%rip)
movq _yystack+32(%rip), %rax
movq %rax, _yystack+40(%rip)
movl $0, -16(%rbp)
movq _yystack+16(%rip), %rax
movl $0, (%rax)
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_31 Depth 2
movslq -16(%rbp), %rcx
movq _calc_defred@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_46
LBB1_6: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_10
## %bb.7: ## in Loop: Header=BB1_4 Depth=1
callq _calc_lex
movl %eax, %ecx
movq _calc_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
movslq -16(%rbp), %rcx
movq _calc_sindex@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
je LBB1_20
## %bb.11: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
jl LBB1_20
## %bb.12: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -12(%rbp)
jg LBB1_20
## %bb.13: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movq _calc_char@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB1_20
## %bb.14: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_17
## %bb.15: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_17
## %bb.16:
jmp LBB1_84
LBB1_17: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
movslq -12(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+16(%rip)
movl %ecx, 4(%rax)
movq _calc_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _calc_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB1_19
## %bb.18: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _calc_errflag@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_19: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_20: ## in Loop: Header=BB1_4 Depth=1
movslq -16(%rbp), %rcx
movq _calc_rindex@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
je LBB1_25
## %bb.21: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
jl LBB1_25
## %bb.22: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -12(%rbp)
jg LBB1_25
## %bb.23: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movq _calc_char@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
jmp LBB1_46
LBB1_25: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB1_27
## %bb.26: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_29
LBB1_27: ## in Loop: Header=BB1_4 Depth=1
leaq L_.str(%rip), %rdi
callq _calc_error
## %bb.28: ## in Loop: Header=BB1_4 Depth=1
movq _calc_nerrs@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _calc_nerrs@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_29: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
cmpl $3, (%rax)
jge LBB1_43
## %bb.30: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
movl $3, (%rax)
LBB1_31: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movq _yystack+16(%rip), %rax
movslq (%rax), %rcx
movq _calc_sindex@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
je LBB1_39
## %bb.32: ## in Loop: Header=BB1_31 Depth=2
movl -12(%rbp), %eax
addl $256, %eax ## imm = 0x100
movl %eax, -12(%rbp)
cmpl $0, %eax
jl LBB1_39
## %bb.33: ## in Loop: Header=BB1_31 Depth=2
cmpl $220, -12(%rbp)
jg LBB1_39
## %bb.34: ## in Loop: Header=BB1_31 Depth=2
movslq -12(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
cmpl $256, (%rax,%rcx,4) ## imm = 0x100
jne LBB1_39
## %bb.35: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_38
## %bb.36: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_38
## %bb.37:
jmp LBB1_84
LBB1_38: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
movslq -12(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+16(%rip)
movl %ecx, 4(%rax)
movq _calc_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_39: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
cmpq _yystack+8(%rip), %rax
ja LBB1_41
## %bb.40:
jmp LBB1_85
LBB1_41: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
addq $-4, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+40(%rip), %rax
addq $-4, %rax
movq %rax, _yystack+40(%rip)
## %bb.42: ## in Loop: Header=BB1_31 Depth=2
jmp LBB1_31
LBB1_43: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_45
## %bb.44:
jmp LBB1_85
LBB1_45: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
jmp LBB1_4
LBB1_46: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_len@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
jle LBB1_48
## %bb.47: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl $1, %ecx
subl -8(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_49
LBB1_48: ## in Loop: Header=BB1_4 Depth=1
movq _calc_val@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
LBB1_49: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
addl $-3, %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $15, %eax
ja LBB1_65
## %bb.88: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_50: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB1_65
LBB1_51: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_65
LBB1_52: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movq _yystack+40(%rip), %rax
movslq -8(%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
jmp LBB1_65
LBB1_53: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -4(%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_54: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_55: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
subl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_56: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
imull (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_57: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movl %eax, %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_58: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movq _calc_val@GOTPCREL(%rip), %rax
movl %edx, (%rax)
jmp LBB1_65
LBB1_59: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
andl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_60: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
orl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_61: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_62: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movslq (%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_63: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movl $10, %ecx
movl $8, %eax
cmpl $0, %edx
cmovel %eax, %ecx
movq _base@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_64: ## in Loop: Header=BB1_4 Depth=1
movq _base@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
imull -4(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_65: ## in Loop: Header=BB1_4 Depth=1
movl -8(%rbp), %ecx
movq _yystack+16(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+16(%rip), %rax
movl (%rax), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %ecx
movq _yystack+40(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, _yystack+40(%rip)
movslq -12(%rbp), %rcx
movq _calc_lhs@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -8(%rbp)
cmpl $0, -16(%rbp)
jne LBB1_74
## %bb.66: ## in Loop: Header=BB1_4 Depth=1
cmpl $0, -8(%rbp)
jne LBB1_74
## %bb.67: ## in Loop: Header=BB1_4 Depth=1
movl $1, -16(%rbp)
movq _yystack+16(%rip), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, _yystack+16(%rip)
movl $1, 4(%rax)
movq _calc_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_71
## %bb.68: ## in Loop: Header=BB1_4 Depth=1
callq _calc_lex
movl %eax, %ecx
movq _calc_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_70
## %bb.69: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_70: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_71
LBB1_71: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_73
## %bb.72:
jmp LBB1_86
LBB1_73: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_74: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_gindex@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
je LBB1_79
## %bb.75: ## in Loop: Header=BB1_4 Depth=1
movl -16(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
cmpl $0, %eax
jl LBB1_79
## %bb.76: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -12(%rbp)
jg LBB1_79
## %bb.77: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
cmpl -16(%rbp), %eax
jne LBB1_79
## %bb.78: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
jmp LBB1_80
LBB1_79: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_dgoto@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
LBB1_80: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_83
## %bb.81: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_83
## %bb.82:
jmp LBB1_84
LBB1_83: ## in Loop: Header=BB1_4 Depth=1
movl -16(%rbp), %ecx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+16(%rip)
movl %ecx, 4(%rax)
movq _calc_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_84:
leaq L_.str.2(%rip), %rdi
callq _calc_error
LBB1_85:
movl $1, -4(%rbp)
jmp LBB1_87
LBB1_86:
movl $0, -4(%rbp)
LBB1_87:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_50, LBB1_50-LJTI1_0
.set L1_0_set_51, LBB1_51-LJTI1_0
.set L1_0_set_52, LBB1_52-LJTI1_0
.set L1_0_set_53, LBB1_53-LJTI1_0
.set L1_0_set_54, LBB1_54-LJTI1_0
.set L1_0_set_55, LBB1_55-LJTI1_0
.set L1_0_set_56, LBB1_56-LJTI1_0
.set L1_0_set_57, LBB1_57-LJTI1_0
.set L1_0_set_58, LBB1_58-LJTI1_0
.set L1_0_set_59, LBB1_59-LJTI1_0
.set L1_0_set_60, LBB1_60-LJTI1_0
.set L1_0_set_61, LBB1_61-LJTI1_0
.set L1_0_set_62, LBB1_62-LJTI1_0
.set L1_0_set_65, LBB1_65-LJTI1_0
.set L1_0_set_63, LBB1_63-LJTI1_0
.set L1_0_set_64, LBB1_64-LJTI1_0
LJTI1_0:
.long L1_0_set_50
.long L1_0_set_51
.long L1_0_set_52
.long L1_0_set_53
.long L1_0_set_54
.long L1_0_set_55
.long L1_0_set_56
.long L1_0_set_57
.long L1_0_set_58
.long L1_0_set_59
.long L1_0_set_60
.long L1_0_set_61
.long L1_0_set_62
.long L1_0_set_65
.long L1_0_set_63
.long L1_0_set_64
.end_data_region
## -- End function
.globl _calc_lex ## -- Begin function calc_lex
.p2align 4, 0x90
_calc_lex: ## @calc_lex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -8(%rbp)
cmpl $32, %eax
jne LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movl -8(%rbp), %edi
callq _islower
cmpl $0, %eax
je LBB2_5
## %bb.4:
movl -8(%rbp), %ecx
subl $97, %ecx
movq _calc_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $258, -4(%rbp) ## imm = 0x102
jmp LBB2_8
LBB2_5:
movl -8(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB2_7
## %bb.6:
movl -8(%rbp), %ecx
subl $48, %ecx
movq _calc_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $257, -4(%rbp) ## imm = 0x101
jmp LBB2_8
LBB2_7:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB2_8:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yygrowstack
_yygrowstack: ## @yygrowstack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
cmpl $0, %eax
jne LBB3_2
## %bb.1:
movl $200, -24(%rbp)
jmp LBB3_8
LBB3_2:
cmpl $10000, -24(%rbp) ## imm = 0x2710
jb LBB3_4
## %bb.3:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_4:
movl -24(%rbp), %eax
shll $1, %eax
movl %eax, -24(%rbp)
cmpl $10000, %eax ## imm = 0x2710
jbe LBB3_6
## %bb.5:
movl $10000, -24(%rbp) ## imm = 0x2710
LBB3_6:
jmp LBB3_7
LBB3_7:
jmp LBB3_8
LBB3_8:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
sarq $2, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $2, %rsi
callq _realloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB3_10
## %bb.9:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_10:
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rax
movq 32(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $2, %rsi
callq _realloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB3_12
## %bb.11:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_12:
movq -40(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 32(%rax)
movq -40(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movl -24(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movl -24(%rbp), %eax
## kill: def $rax killed $eax
shlq $2, %rax
addq %rax, %rcx
addq $-4, %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movl $0, -4(%rbp)
LBB3_13:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function calc_error
_calc_error: ## @calc_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _calc_lval,4,2 ## @calc_lval
.comm _calc_nerrs,4,2 ## @calc_nerrs
.comm _calc_errflag,4,2 ## @calc_errflag
.comm _calc_char,4,2 ## @calc_char
.zerofill __DATA,__bss,_yystack,48,3 ## @yystack
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "syntax error"
.comm _calc_val,4,2 ## @calc_val
L_.str.1: ## @.str.1
.asciz "%d\n"
.comm _regs,104,4 ## @regs
.comm _base,4,2 ## @base
L_.str.2: ## @.str.2
.asciz "yacc stack overflow"
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/142480.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello\n"
.subsections_via_symbols
| the_stack_data/675581.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlen ; -- Begin function ft_strlen
.p2align 2
_ft_strlen: ; @ft_strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_3:
ldr w0, [sp, #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 _ft_strlen ## -- Begin function ft_strlen
.p2align 4, 0x90
_ft_strlen: ## @ft_strlen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/87638863.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, #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
mov w2, #0
stur wzr, [x29, #-20]
stur w0, [x29, #-24]
stur x1, [x29, #-32]
mov w0, #2
mov w1, #1
bl _socket
str w0, [sp, #68]
ldr w8, [sp, #68]
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 _perror
mov w0, #1
bl _exit
LBB0_2:
sub x8, x29, #48
str x8, [sp, #40] ; 8-byte Folded Spill
stur xzr, [x29, #-48]
stur xzr, [x29, #-40]
add x0, sp, #72
str x0, [sp, #32] ; 8-byte Folded Spill
mov x1, #256
bl _gethostname
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _gethostbyname
ldr x8, [sp, #40] ; 8-byte Folded Reload
stur x0, [x29, #-56]
add x0, x8, #4
ldur x8, [x29, #-56]
ldr x8, [x8, #24]
ldr x1, [x8]
ldur x8, [x29, #-56]
ldrsw x2, [x8, #20]
mov x3, #12
bl ___memmove_chk
ldr x8, [sp, #32] ; 8-byte Folded Reload
mov w9, #36895
sturh w9, [x29, #-46]
mov w9, #2
sturb w9, [x29, #-47]
ldurh w10, [x29, #-46]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr w0, [sp, #68]
mov w2, #16
bl _bind
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 _perror
mov w0, #1
bl _exit
LBB0_4:
ldr w0, [sp, #68]
mov w1, #1
bl _listen
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_6:
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #68]
mov x2, #0
mov x1, x2
bl _accept
str w0, [sp, #64]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w8, [sp, #68]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [sp, #64]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fdopen
str x0, [sp, #56]
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
mov x0, #0
bl _time
add x8, sp, #48
str x8, [sp, #16] ; 8-byte Folded Spill
str x0, [sp, #48]
ldr x0, [sp, #56]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #56]
str x8, [sp, #24] ; 8-byte Folded Spill
bl _ctime
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldr x0, [sp, #56]
bl _fclose
b LBB0_7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "socket"
l_.str.1: ; @.str.1
.asciz "%s %d\n"
l_.str.2: ; @.str.2
.asciz "bind"
l_.str.3: ; @.str.3
.asciz "listen"
l_.str.4: ; @.str.4
.asciz "Wow, get a call\n"
l_.str.5: ; @.str.5
.asciz "accept"
l_.str.6: ; @.str.6
.asciz "w"
l_.str.7: ; @.str.7
.asciz "fdopen"
l_.str.8: ; @.str.8
.asciz "The time here is..."
l_.str.9: ; @.str.9
.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 $336, %rsp ## imm = 0x150
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -308(%rbp)
cmpl $-1, -308(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_2:
leaq -32(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
leaq -304(%rbp), %rdi
movl $256, %esi ## imm = 0x100
callq _gethostname
leaq -304(%rbp), %rdi
callq _gethostbyname
movq %rax, -40(%rbp)
leaq -32(%rbp), %rdi
addq $4, %rdi
movq -40(%rbp), %rax
movq 24(%rax), %rax
movq (%rax), %rsi
movq -40(%rbp), %rax
movslq 20(%rax), %rdx
movl $12, %ecx
callq ___memmove_chk
movw $-28641, -30(%rbp) ## imm = 0x901F
movb $2, -31(%rbp)
leaq -304(%rbp), %rsi
movzwl -30(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -308(%rbp), %edi
leaq -32(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $0, %eax
je LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4:
movl -308(%rbp), %edi
movl $1, %esi
callq _listen
cmpl $0, %eax
je LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_6:
jmp LBB0_7
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -308(%rbp), %edi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq _accept
movl %eax, -312(%rbp)
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
cmpl $-1, -308(%rbp)
jne LBB0_9
## %bb.8:
leaq L_.str.5(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
movl -312(%rbp), %edi
leaq L_.str.6(%rip), %rsi
callq _fdopen
movq %rax, -320(%rbp)
cmpq $0, -320(%rbp)
jne LBB0_11
## %bb.10:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
xorl %eax, %eax
movl %eax, %edi
callq _time
movq %rax, -328(%rbp)
movq -320(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
movq -320(%rbp), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
leaq -328(%rbp), %rdi
callq _ctime
movq -336(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
movq -320(%rbp), %rdi
callq _fclose
jmp LBB0_7
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "socket"
L_.str.1: ## @.str.1
.asciz "%s %d\n"
L_.str.2: ## @.str.2
.asciz "bind"
L_.str.3: ## @.str.3
.asciz "listen"
L_.str.4: ## @.str.4
.asciz "Wow, get a call\n"
L_.str.5: ## @.str.5
.asciz "accept"
L_.str.6: ## @.str.6
.asciz "w"
L_.str.7: ## @.str.7
.asciz "fdopen"
L_.str.8: ## @.str.8
.asciz "The time here is..."
L_.str.9: ## @.str.9
.asciz "%s"
.subsections_via_symbols
| the_stack_data/941565.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___android_log_print ; -- Begin function __android_log_print
.p2align 2
___android_log_print: ; @__android_log_print
.cfi_startproc
; %bb.0:
sub sp, sp, #352
.cfi_def_cfa_offset 352
stp x28, x27, [sp, #320] ; 16-byte Folded Spill
stp x29, x30, [sp, #336] ; 16-byte Folded Spill
add x29, sp, #336
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #48]
str x1, [sp, #40]
str x2, [sp, #32]
add x9, sp, #24
add x8, x29, #16
str x8, [x9]
ldr x0, [sp, #32]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #15
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
str wzr, [sp, #52]
b LBB0_3
LBB0_2:
ldr x4, [sp, #32]
ldr x5, [sp, #24]
add x0, sp, #56
str x0, [sp, #16] ; 8-byte Folded Spill
mov x3, #256
mov x1, x3
mov w2, #0
bl ___vsnprintf_chk
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _puts
str w0, [sp, #52]
b LBB0_3
LBB0_3:
ldr w8, [sp, #52]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #336] ; 16-byte Folded Reload
ldp x28, x27, [sp, #320] ; 16-byte Folded Reload
add sp, sp, #352
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "This application"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___android_log_print ## -- Begin function __android_log_print
.p2align 4, 0x90
___android_log_print: ## @__android_log_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 $512, %rsp ## imm = 0x200
testb %al, %al
je LBB0_7
## %bb.6:
movaps %xmm0, -448(%rbp)
movaps %xmm1, -432(%rbp)
movaps %xmm2, -416(%rbp)
movaps %xmm3, -400(%rbp)
movaps %xmm4, -384(%rbp)
movaps %xmm5, -368(%rbp)
movaps %xmm6, -352(%rbp)
movaps %xmm7, -336(%rbp)
LBB0_7:
movq %r9, -456(%rbp)
movq %r8, -464(%rbp)
movq %rcx, -472(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -296(%rbp)
movq %rsi, -304(%rbp)
movq %rdx, -312(%rbp)
leaq -32(%rbp), %rax
leaq -496(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $24, (%rax)
movq -312(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $15, %edx
callq _strncmp
cmpl $0, %eax
jne LBB0_2
## %bb.1:
movl $0, -292(%rbp)
jmp LBB0_3
LBB0_2:
leaq -288(%rbp), %rdi
movq -312(%rbp), %r8
leaq -32(%rbp), %r9
movl $256, %ecx ## imm = 0x100
xorl %edx, %edx
movq %rcx, %rsi
callq ___vsnprintf_chk
leaq -32(%rbp), %rax
leaq -288(%rbp), %rdi
callq _puts
movl %eax, -292(%rbp)
LBB0_3:
movl -292(%rbp), %eax
movl %eax, -500(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
movl -500(%rbp), %eax ## 4-byte Reload
addq $512, %rsp ## imm = 0x200
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "This application"
.subsections_via_symbols
| the_stack_data/5743.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w8, #-2147483648
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @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 $-2147483648, -4(%rbp) ## imm = 0x80000000
movl -4(%rbp), %eax
addl $-1, %eax
movl %eax, -4(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/51699272.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "syscall"
l_.str.1: ; @.str.1
.asciz "exit"
l_.str.2: ; @.str.2
.asciz "fork"
l_.str.3: ; @.str.3
.asciz "read"
l_.str.4: ; @.str.4
.asciz "write"
l_.str.5: ; @.str.5
.asciz "open"
l_.str.6: ; @.str.6
.asciz "close"
l_.str.7: ; @.str.7
.asciz "wait4"
l_.str.8: ; @.str.8
.asciz "old.creat"
l_.str.9: ; @.str.9
.asciz "link"
l_.str.10: ; @.str.10
.asciz "unlink"
l_.str.11: ; @.str.11
.asciz "obs_execv"
l_.str.12: ; @.str.12
.asciz "chdir"
l_.str.13: ; @.str.13
.asciz "fchdir"
l_.str.14: ; @.str.14
.asciz "mknod"
l_.str.15: ; @.str.15
.asciz "chmod"
l_.str.16: ; @.str.16
.asciz "chown"
l_.str.17: ; @.str.17
.asciz "break"
l_.str.18: ; @.str.18
.asciz "getfsstat"
l_.str.19: ; @.str.19
.asciz "old.lseek"
l_.str.20: ; @.str.20
.asciz "getpid"
l_.str.21: ; @.str.21
.asciz "mount"
l_.str.22: ; @.str.22
.asciz "unmount"
l_.str.23: ; @.str.23
.asciz "setuid"
l_.str.24: ; @.str.24
.asciz "getuid"
l_.str.25: ; @.str.25
.asciz "geteuid"
l_.str.26: ; @.str.26
.asciz "ptrace"
l_.str.27: ; @.str.27
.asciz "recvmsg"
l_.str.28: ; @.str.28
.asciz "sendmsg"
l_.str.29: ; @.str.29
.asciz "recvfrom"
l_.str.30: ; @.str.30
.asciz "accept"
l_.str.31: ; @.str.31
.asciz "getpeername"
l_.str.32: ; @.str.32
.asciz "getsockname"
l_.str.33: ; @.str.33
.asciz "access"
l_.str.34: ; @.str.34
.asciz "chflags"
l_.str.35: ; @.str.35
.asciz "fchflags"
l_.str.36: ; @.str.36
.asciz "sync"
l_.str.37: ; @.str.37
.asciz "kill"
l_.str.38: ; @.str.38
.asciz "old.stat"
l_.str.39: ; @.str.39
.asciz "getppid"
l_.str.40: ; @.str.40
.asciz "old.lstat"
l_.str.41: ; @.str.41
.asciz "dup"
l_.str.42: ; @.str.42
.asciz "pipe"
l_.str.43: ; @.str.43
.asciz "getegid"
l_.str.44: ; @.str.44
.asciz "profil"
l_.str.45: ; @.str.45
.asciz "ktrace"
l_.str.46: ; @.str.46
.asciz "sigaction"
l_.str.47: ; @.str.47
.asciz "getgid"
l_.str.48: ; @.str.48
.asciz "sigprocmask"
l_.str.49: ; @.str.49
.asciz "getlogin"
l_.str.50: ; @.str.50
.asciz "setlogin"
l_.str.51: ; @.str.51
.asciz "acct"
l_.str.52: ; @.str.52
.asciz "sigpending"
l_.str.53: ; @.str.53
.asciz "sigaltstack"
l_.str.54: ; @.str.54
.asciz "ioctl"
l_.str.55: ; @.str.55
.asciz "reboot"
l_.str.56: ; @.str.56
.asciz "revoke"
l_.str.57: ; @.str.57
.asciz "symlink"
l_.str.58: ; @.str.58
.asciz "readlink"
l_.str.59: ; @.str.59
.asciz "execve"
l_.str.60: ; @.str.60
.asciz "umask"
l_.str.61: ; @.str.61
.asciz "chroot"
l_.str.62: ; @.str.62
.asciz "old.fstat"
l_.str.63: ; @.str.63
.asciz "old.getkerninfo"
l_.str.64: ; @.str.64
.asciz "old.getpagesize"
l_.str.65: ; @.str.65
.asciz "msync"
l_.str.66: ; @.str.66
.asciz "vfork"
l_.str.67: ; @.str.67
.asciz "obs_vread"
l_.str.68: ; @.str.68
.asciz "obs_vwrite"
l_.str.69: ; @.str.69
.asciz "sbrk"
l_.str.70: ; @.str.70
.asciz "sstk"
l_.str.71: ; @.str.71
.asciz "old.mmap"
l_.str.72: ; @.str.72
.asciz "vadvise"
l_.str.73: ; @.str.73
.asciz "munmap"
l_.str.74: ; @.str.74
.asciz "mprotect"
l_.str.75: ; @.str.75
.asciz "madvise"
l_.str.76: ; @.str.76
.asciz "obs_vhangup"
l_.str.77: ; @.str.77
.asciz "obs_vlimit"
l_.str.78: ; @.str.78
.asciz "mincore"
l_.str.79: ; @.str.79
.asciz "getgroups"
l_.str.80: ; @.str.80
.asciz "setgroups"
l_.str.81: ; @.str.81
.asciz "getpgrp"
l_.str.82: ; @.str.82
.asciz "setpgid"
l_.str.83: ; @.str.83
.asciz "setitimer"
l_.str.84: ; @.str.84
.asciz "old.wait"
l_.str.85: ; @.str.85
.asciz "swapon"
l_.str.86: ; @.str.86
.asciz "getitimer"
l_.str.87: ; @.str.87
.asciz "old.gethostname"
l_.str.88: ; @.str.88
.asciz "old.sethostname"
l_.str.89: ; @.str.89
.asciz "getdtablesize"
l_.str.90: ; @.str.90
.asciz "dup2"
l_.str.91: ; @.str.91
.asciz "#91"
l_.str.92: ; @.str.92
.asciz "fcntl"
l_.str.93: ; @.str.93
.asciz "select"
l_.str.94: ; @.str.94
.asciz "#94"
l_.str.95: ; @.str.95
.asciz "fsync"
l_.str.96: ; @.str.96
.asciz "setpriority"
l_.str.97: ; @.str.97
.asciz "socket"
l_.str.98: ; @.str.98
.asciz "connect"
l_.str.99: ; @.str.99
.asciz "old.accept"
l_.str.100: ; @.str.100
.asciz "getpriority"
l_.str.101: ; @.str.101
.asciz "old.send"
l_.str.102: ; @.str.102
.asciz "old.recv"
l_.str.103: ; @.str.103
.asciz "sigreturn"
l_.str.104: ; @.str.104
.asciz "bind"
l_.str.105: ; @.str.105
.asciz "setsockopt"
l_.str.106: ; @.str.106
.asciz "listen"
l_.str.107: ; @.str.107
.asciz "obs_vtimes"
l_.str.108: ; @.str.108
.asciz "old.sigvec"
l_.str.109: ; @.str.109
.asciz "old.sigblock"
l_.str.110: ; @.str.110
.asciz "old.sigsetmask"
l_.str.111: ; @.str.111
.asciz "sigsuspend"
l_.str.112: ; @.str.112
.asciz "old.sigstack"
l_.str.113: ; @.str.113
.asciz "old.recvmsg"
l_.str.114: ; @.str.114
.asciz "old.sendmsg"
l_.str.115: ; @.str.115
.asciz "obs_vtrace"
l_.str.116: ; @.str.116
.asciz "gettimeofday"
l_.str.117: ; @.str.117
.asciz "getrusage"
l_.str.118: ; @.str.118
.asciz "getsockopt"
l_.str.119: ; @.str.119
.asciz "#119"
l_.str.120: ; @.str.120
.asciz "readv"
l_.str.121: ; @.str.121
.asciz "writev"
l_.str.122: ; @.str.122
.asciz "settimeofday"
l_.str.123: ; @.str.123
.asciz "fchown"
l_.str.124: ; @.str.124
.asciz "fchmod"
l_.str.125: ; @.str.125
.asciz "old.recvfrom"
l_.str.126: ; @.str.126
.asciz "setreuid"
l_.str.127: ; @.str.127
.asciz "setregid"
l_.str.128: ; @.str.128
.asciz "rename"
l_.str.129: ; @.str.129
.asciz "old.truncate"
l_.str.130: ; @.str.130
.asciz "old.ftruncate"
l_.str.131: ; @.str.131
.asciz "flock"
l_.str.132: ; @.str.132
.asciz "mkfifo"
l_.str.133: ; @.str.133
.asciz "sendto"
l_.str.134: ; @.str.134
.asciz "shutdown"
l_.str.135: ; @.str.135
.asciz "socketpair"
l_.str.136: ; @.str.136
.asciz "mkdir"
l_.str.137: ; @.str.137
.asciz "rmdir"
l_.str.138: ; @.str.138
.asciz "utimes"
l_.str.139: ; @.str.139
.asciz "obs_4.2"
l_.str.140: ; @.str.140
.asciz "adjtime"
l_.str.141: ; @.str.141
.asciz "old.getpeername"
l_.str.142: ; @.str.142
.asciz "old.gethostid"
l_.str.143: ; @.str.143
.asciz "old.sethostid"
l_.str.144: ; @.str.144
.asciz "old.getrlimit"
l_.str.145: ; @.str.145
.asciz "old.setrlimit"
l_.str.146: ; @.str.146
.asciz "old.killpg"
l_.str.147: ; @.str.147
.asciz "setsid"
l_.str.148: ; @.str.148
.asciz "quotactl"
l_.str.149: ; @.str.149
.asciz "old.quota"
l_.str.150: ; @.str.150
.asciz "old.getsockname"
l_.str.151: ; @.str.151
.asciz "#151"
l_.str.152: ; @.str.152
.asciz "#152"
l_.str.153: ; @.str.153
.asciz "#153"
l_.str.154: ; @.str.154
.asciz "#154"
l_.str.155: ; @.str.155
.asciz "nfssvc"
l_.str.156: ; @.str.156
.asciz "old.getdirentries"
l_.str.157: ; @.str.157
.asciz "statfs"
l_.str.158: ; @.str.158
.asciz "fstatfs"
l_.str.159: ; @.str.159
.asciz "#159"
l_.str.160: ; @.str.160
.asciz "#160"
l_.str.161: ; @.str.161
.asciz "getfh"
l_.str.162: ; @.str.162
.asciz "getdomainname"
l_.str.163: ; @.str.163
.asciz "setdomainname"
l_.str.164: ; @.str.164
.asciz "uname"
l_.str.165: ; @.str.165
.asciz "sysarch"
l_.str.166: ; @.str.166
.asciz "rtprio"
l_.str.167: ; @.str.167
.asciz "#167"
l_.str.168: ; @.str.168
.asciz "#168"
l_.str.169: ; @.str.169
.asciz "semsys"
l_.str.170: ; @.str.170
.asciz "msgsys"
l_.str.171: ; @.str.171
.asciz "shmsys"
l_.str.172: ; @.str.172
.asciz "#172"
l_.str.173: ; @.str.173
.asciz "pread"
l_.str.174: ; @.str.174
.asciz "pwrite"
l_.str.175: ; @.str.175
.asciz "#175"
l_.str.176: ; @.str.176
.asciz "ntp_adjtime"
l_.str.177: ; @.str.177
.asciz "#177"
l_.str.178: ; @.str.178
.asciz "#178"
l_.str.179: ; @.str.179
.asciz "#179"
l_.str.180: ; @.str.180
.asciz "#180"
l_.str.181: ; @.str.181
.asciz "setgid"
l_.str.182: ; @.str.182
.asciz "setegid"
l_.str.183: ; @.str.183
.asciz "seteuid"
l_.str.184: ; @.str.184
.asciz "#184"
l_.str.185: ; @.str.185
.asciz "#185"
l_.str.186: ; @.str.186
.asciz "#186"
l_.str.187: ; @.str.187
.asciz "#187"
l_.str.188: ; @.str.188
.asciz "stat"
l_.str.189: ; @.str.189
.asciz "fstat"
l_.str.190: ; @.str.190
.asciz "lstat"
l_.str.191: ; @.str.191
.asciz "pathconf"
l_.str.192: ; @.str.192
.asciz "fpathconf"
l_.str.193: ; @.str.193
.asciz "#193"
l_.str.194: ; @.str.194
.asciz "getrlimit"
l_.str.195: ; @.str.195
.asciz "setrlimit"
l_.str.196: ; @.str.196
.asciz "getdirentries"
l_.str.197: ; @.str.197
.asciz "mmap"
l_.str.198: ; @.str.198
.asciz "__syscall"
l_.str.199: ; @.str.199
.asciz "lseek"
l_.str.200: ; @.str.200
.asciz "truncate"
l_.str.201: ; @.str.201
.asciz "ftruncate"
l_.str.202: ; @.str.202
.asciz "__sysctl"
l_.str.203: ; @.str.203
.asciz "mlock"
l_.str.204: ; @.str.204
.asciz "munlock"
l_.str.205: ; @.str.205
.asciz "undelete"
l_.str.206: ; @.str.206
.asciz "futimes"
l_.str.207: ; @.str.207
.asciz "getpgid"
l_.str.208: ; @.str.208
.asciz "#208"
l_.str.209: ; @.str.209
.asciz "poll"
l_.str.210: ; @.str.210
.asciz "lkmnosys"
l_.str.211: ; @.str.211
.asciz "__semctl"
l_.str.212: ; @.str.212
.asciz "semget"
l_.str.213: ; @.str.213
.asciz "semop"
l_.str.214: ; @.str.214
.asciz "semconfig"
l_.str.215: ; @.str.215
.asciz "msgctl"
l_.str.216: ; @.str.216
.asciz "msgget"
l_.str.217: ; @.str.217
.asciz "msgsnd"
l_.str.218: ; @.str.218
.asciz "msgrcv"
l_.str.219: ; @.str.219
.asciz "shmat"
l_.str.220: ; @.str.220
.asciz "shmctl"
l_.str.221: ; @.str.221
.asciz "shmdt"
l_.str.222: ; @.str.222
.asciz "shmget"
l_.str.223: ; @.str.223
.asciz "clock_gettime"
l_.str.224: ; @.str.224
.asciz "clock_settime"
l_.str.225: ; @.str.225
.asciz "clock_getres"
l_.str.226: ; @.str.226
.asciz "#235"
l_.str.227: ; @.str.227
.asciz "#236"
l_.str.228: ; @.str.228
.asciz "#237"
l_.str.229: ; @.str.229
.asciz "#238"
l_.str.230: ; @.str.230
.asciz "#239"
l_.str.231: ; @.str.231
.asciz "nanosleep"
l_.str.232: ; @.str.232
.asciz "#241"
l_.str.233: ; @.str.233
.asciz "#242"
l_.str.234: ; @.str.234
.asciz "#243"
l_.str.235: ; @.str.235
.asciz "#244"
l_.str.236: ; @.str.236
.asciz "#245"
l_.str.237: ; @.str.237
.asciz "#246"
l_.str.238: ; @.str.238
.asciz "#247"
l_.str.239: ; @.str.239
.asciz "#248"
l_.str.240: ; @.str.240
.asciz "#249"
l_.str.241: ; @.str.241
.asciz "minherit"
l_.str.242: ; @.str.242
.asciz "rfork"
l_.str.243: ; @.str.243
.asciz "openbsd_poll"
l_.str.244: ; @.str.244
.asciz "issetugid"
l_.str.245: ; @.str.245
.asciz "lchown"
l_.str.246: ; @.str.246
.asciz "#255"
l_.str.247: ; @.str.247
.asciz "#256"
l_.str.248: ; @.str.248
.asciz "#257"
l_.str.249: ; @.str.249
.asciz "#258"
l_.str.250: ; @.str.250
.asciz "#259"
l_.str.251: ; @.str.251
.asciz "#260"
l_.str.252: ; @.str.252
.asciz "#261"
l_.str.253: ; @.str.253
.asciz "#262"
l_.str.254: ; @.str.254
.asciz "#263"
l_.str.255: ; @.str.255
.asciz "#264"
l_.str.256: ; @.str.256
.asciz "#265"
l_.str.257: ; @.str.257
.asciz "#266"
l_.str.258: ; @.str.258
.asciz "#267"
l_.str.259: ; @.str.259
.asciz "#268"
l_.str.260: ; @.str.260
.asciz "#269"
l_.str.261: ; @.str.261
.asciz "#270"
l_.str.262: ; @.str.262
.asciz "#271"
l_.str.263: ; @.str.263
.asciz "getdents"
l_.str.264: ; @.str.264
.asciz "#273"
l_.str.265: ; @.str.265
.asciz "lchmod"
l_.str.266: ; @.str.266
.asciz "netbsd_lchown"
l_.str.267: ; @.str.267
.asciz "lutimes"
l_.str.268: ; @.str.268
.asciz "netbsd_msync"
l_.str.269: ; @.str.269
.asciz "nstat"
l_.str.270: ; @.str.270
.asciz "nfstat"
l_.str.271: ; @.str.271
.asciz "nlstat"
l_.str.272: ; @.str.272
.asciz "#281"
l_.str.273: ; @.str.273
.asciz "#282"
l_.str.274: ; @.str.274
.asciz "#283"
l_.str.275: ; @.str.275
.asciz "#284"
l_.str.276: ; @.str.276
.asciz "#285"
l_.str.277: ; @.str.277
.asciz "#286"
l_.str.278: ; @.str.278
.asciz "#287"
l_.str.279: ; @.str.279
.asciz "#288"
l_.str.280: ; @.str.280
.asciz "#289"
l_.str.281: ; @.str.281
.asciz "#290"
l_.str.282: ; @.str.282
.asciz "#291"
l_.str.283: ; @.str.283
.asciz "#292"
l_.str.284: ; @.str.284
.asciz "#293"
l_.str.285: ; @.str.285
.asciz "#294"
l_.str.286: ; @.str.286
.asciz "#295"
l_.str.287: ; @.str.287
.asciz "#296"
l_.str.288: ; @.str.288
.asciz "#297"
l_.str.289: ; @.str.289
.asciz "#298"
l_.str.290: ; @.str.290
.asciz "#299"
l_.str.291: ; @.str.291
.asciz "modnext"
l_.str.292: ; @.str.292
.asciz "modstat"
l_.str.293: ; @.str.293
.asciz "modfnext"
l_.str.294: ; @.str.294
.asciz "modfind"
l_.str.295: ; @.str.295
.asciz "kldload"
l_.str.296: ; @.str.296
.asciz "kldunload"
l_.str.297: ; @.str.297
.asciz "kldfind"
l_.str.298: ; @.str.298
.asciz "kldnext"
l_.str.299: ; @.str.299
.asciz "kldstat"
l_.str.300: ; @.str.300
.asciz "kldfirstmod"
l_.str.301: ; @.str.301
.asciz "getsid"
l_.str.302: ; @.str.302
.asciz "#311"
l_.str.303: ; @.str.303
.asciz "#312"
l_.str.304: ; @.str.304
.asciz "obs_signanosleep"
l_.str.305: ; @.str.305
.asciz "aio_return"
l_.str.306: ; @.str.306
.asciz "aio_suspend"
l_.str.307: ; @.str.307
.asciz "aio_cancel"
l_.str.308: ; @.str.308
.asciz "aio_error"
l_.str.309: ; @.str.309
.asciz "aio_read"
l_.str.310: ; @.str.310
.asciz "aio_write"
l_.str.311: ; @.str.311
.asciz "lio_listio"
l_.str.312: ; @.str.312
.asciz "yield"
l_.str.313: ; @.str.313
.asciz "thr_sleep"
l_.str.314: ; @.str.314
.asciz "thr_wakeup"
l_.str.315: ; @.str.315
.asciz "mlockall"
l_.str.316: ; @.str.316
.asciz "munlockall"
l_.str.317: ; @.str.317
.asciz "__getcwd"
l_.str.318: ; @.str.318
.asciz "sched_setparam"
l_.str.319: ; @.str.319
.asciz "sched_getparam"
l_.str.320: ; @.str.320
.asciz "sched_setscheduler"
l_.str.321: ; @.str.321
.asciz "sched_getscheduler"
l_.str.322: ; @.str.322
.asciz "sched_yield"
l_.str.323: ; @.str.323
.asciz "sched_get_priority_max"
l_.str.324: ; @.str.324
.asciz "sched_get_priority_min"
l_.str.325: ; @.str.325
.asciz "sched_rr_get_interval"
l_.str.326: ; @.str.326
.asciz "utrace"
l_.str.327: ; @.str.327
.asciz "sendfile"
l_.str.328: ; @.str.328
.asciz "kldsym"
.section __DATA,__data
.globl _syscallnames ; @syscallnames
.p2align 3
_syscallnames:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.36
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.47
.quad l_.str.48
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.66
.quad l_.str.67
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.90
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.210
.quad l_.str.211
.quad l_.str.212
.quad l_.str.213
.quad l_.str.214
.quad l_.str.215
.quad l_.str.216
.quad l_.str.217
.quad l_.str.218
.quad l_.str.219
.quad l_.str.220
.quad l_.str.221
.quad l_.str.222
.quad l_.str.223
.quad l_.str.224
.quad l_.str.225
.quad l_.str.226
.quad l_.str.227
.quad l_.str.228
.quad l_.str.229
.quad l_.str.230
.quad l_.str.231
.quad l_.str.232
.quad l_.str.233
.quad l_.str.234
.quad l_.str.235
.quad l_.str.236
.quad l_.str.237
.quad l_.str.238
.quad l_.str.239
.quad l_.str.240
.quad l_.str.241
.quad l_.str.242
.quad l_.str.243
.quad l_.str.244
.quad l_.str.245
.quad l_.str.246
.quad l_.str.247
.quad l_.str.248
.quad l_.str.249
.quad l_.str.250
.quad l_.str.251
.quad l_.str.252
.quad l_.str.253
.quad l_.str.254
.quad l_.str.255
.quad l_.str.256
.quad l_.str.257
.quad l_.str.258
.quad l_.str.259
.quad l_.str.260
.quad l_.str.261
.quad l_.str.262
.quad l_.str.263
.quad l_.str.264
.quad l_.str.265
.quad l_.str.266
.quad l_.str.267
.quad l_.str.268
.quad l_.str.269
.quad l_.str.270
.quad l_.str.271
.quad l_.str.272
.quad l_.str.273
.quad l_.str.274
.quad l_.str.275
.quad l_.str.276
.quad l_.str.277
.quad l_.str.278
.quad l_.str.279
.quad l_.str.280
.quad l_.str.281
.quad l_.str.282
.quad l_.str.283
.quad l_.str.284
.quad l_.str.285
.quad l_.str.286
.quad l_.str.287
.quad l_.str.288
.quad l_.str.289
.quad l_.str.290
.quad l_.str.291
.quad l_.str.292
.quad l_.str.293
.quad l_.str.294
.quad l_.str.295
.quad l_.str.296
.quad l_.str.297
.quad l_.str.298
.quad l_.str.299
.quad l_.str.300
.quad l_.str.301
.quad l_.str.302
.quad l_.str.303
.quad l_.str.304
.quad l_.str.305
.quad l_.str.306
.quad l_.str.307
.quad l_.str.308
.quad l_.str.309
.quad l_.str.310
.quad l_.str.311
.quad l_.str.312
.quad l_.str.313
.quad l_.str.314
.quad l_.str.315
.quad l_.str.316
.quad l_.str.317
.quad l_.str.318
.quad l_.str.319
.quad l_.str.320
.quad l_.str.321
.quad l_.str.322
.quad l_.str.323
.quad l_.str.324
.quad l_.str.325
.quad l_.str.326
.quad l_.str.327
.quad l_.str.328
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "syscall"
L_.str.1: ## @.str.1
.asciz "exit"
L_.str.2: ## @.str.2
.asciz "fork"
L_.str.3: ## @.str.3
.asciz "read"
L_.str.4: ## @.str.4
.asciz "write"
L_.str.5: ## @.str.5
.asciz "open"
L_.str.6: ## @.str.6
.asciz "close"
L_.str.7: ## @.str.7
.asciz "wait4"
L_.str.8: ## @.str.8
.asciz "old.creat"
L_.str.9: ## @.str.9
.asciz "link"
L_.str.10: ## @.str.10
.asciz "unlink"
L_.str.11: ## @.str.11
.asciz "obs_execv"
L_.str.12: ## @.str.12
.asciz "chdir"
L_.str.13: ## @.str.13
.asciz "fchdir"
L_.str.14: ## @.str.14
.asciz "mknod"
L_.str.15: ## @.str.15
.asciz "chmod"
L_.str.16: ## @.str.16
.asciz "chown"
L_.str.17: ## @.str.17
.asciz "break"
L_.str.18: ## @.str.18
.asciz "getfsstat"
L_.str.19: ## @.str.19
.asciz "old.lseek"
L_.str.20: ## @.str.20
.asciz "getpid"
L_.str.21: ## @.str.21
.asciz "mount"
L_.str.22: ## @.str.22
.asciz "unmount"
L_.str.23: ## @.str.23
.asciz "setuid"
L_.str.24: ## @.str.24
.asciz "getuid"
L_.str.25: ## @.str.25
.asciz "geteuid"
L_.str.26: ## @.str.26
.asciz "ptrace"
L_.str.27: ## @.str.27
.asciz "recvmsg"
L_.str.28: ## @.str.28
.asciz "sendmsg"
L_.str.29: ## @.str.29
.asciz "recvfrom"
L_.str.30: ## @.str.30
.asciz "accept"
L_.str.31: ## @.str.31
.asciz "getpeername"
L_.str.32: ## @.str.32
.asciz "getsockname"
L_.str.33: ## @.str.33
.asciz "access"
L_.str.34: ## @.str.34
.asciz "chflags"
L_.str.35: ## @.str.35
.asciz "fchflags"
L_.str.36: ## @.str.36
.asciz "sync"
L_.str.37: ## @.str.37
.asciz "kill"
L_.str.38: ## @.str.38
.asciz "old.stat"
L_.str.39: ## @.str.39
.asciz "getppid"
L_.str.40: ## @.str.40
.asciz "old.lstat"
L_.str.41: ## @.str.41
.asciz "dup"
L_.str.42: ## @.str.42
.asciz "pipe"
L_.str.43: ## @.str.43
.asciz "getegid"
L_.str.44: ## @.str.44
.asciz "profil"
L_.str.45: ## @.str.45
.asciz "ktrace"
L_.str.46: ## @.str.46
.asciz "sigaction"
L_.str.47: ## @.str.47
.asciz "getgid"
L_.str.48: ## @.str.48
.asciz "sigprocmask"
L_.str.49: ## @.str.49
.asciz "getlogin"
L_.str.50: ## @.str.50
.asciz "setlogin"
L_.str.51: ## @.str.51
.asciz "acct"
L_.str.52: ## @.str.52
.asciz "sigpending"
L_.str.53: ## @.str.53
.asciz "sigaltstack"
L_.str.54: ## @.str.54
.asciz "ioctl"
L_.str.55: ## @.str.55
.asciz "reboot"
L_.str.56: ## @.str.56
.asciz "revoke"
L_.str.57: ## @.str.57
.asciz "symlink"
L_.str.58: ## @.str.58
.asciz "readlink"
L_.str.59: ## @.str.59
.asciz "execve"
L_.str.60: ## @.str.60
.asciz "umask"
L_.str.61: ## @.str.61
.asciz "chroot"
L_.str.62: ## @.str.62
.asciz "old.fstat"
L_.str.63: ## @.str.63
.asciz "old.getkerninfo"
L_.str.64: ## @.str.64
.asciz "old.getpagesize"
L_.str.65: ## @.str.65
.asciz "msync"
L_.str.66: ## @.str.66
.asciz "vfork"
L_.str.67: ## @.str.67
.asciz "obs_vread"
L_.str.68: ## @.str.68
.asciz "obs_vwrite"
L_.str.69: ## @.str.69
.asciz "sbrk"
L_.str.70: ## @.str.70
.asciz "sstk"
L_.str.71: ## @.str.71
.asciz "old.mmap"
L_.str.72: ## @.str.72
.asciz "vadvise"
L_.str.73: ## @.str.73
.asciz "munmap"
L_.str.74: ## @.str.74
.asciz "mprotect"
L_.str.75: ## @.str.75
.asciz "madvise"
L_.str.76: ## @.str.76
.asciz "obs_vhangup"
L_.str.77: ## @.str.77
.asciz "obs_vlimit"
L_.str.78: ## @.str.78
.asciz "mincore"
L_.str.79: ## @.str.79
.asciz "getgroups"
L_.str.80: ## @.str.80
.asciz "setgroups"
L_.str.81: ## @.str.81
.asciz "getpgrp"
L_.str.82: ## @.str.82
.asciz "setpgid"
L_.str.83: ## @.str.83
.asciz "setitimer"
L_.str.84: ## @.str.84
.asciz "old.wait"
L_.str.85: ## @.str.85
.asciz "swapon"
L_.str.86: ## @.str.86
.asciz "getitimer"
L_.str.87: ## @.str.87
.asciz "old.gethostname"
L_.str.88: ## @.str.88
.asciz "old.sethostname"
L_.str.89: ## @.str.89
.asciz "getdtablesize"
L_.str.90: ## @.str.90
.asciz "dup2"
L_.str.91: ## @.str.91
.asciz "#91"
L_.str.92: ## @.str.92
.asciz "fcntl"
L_.str.93: ## @.str.93
.asciz "select"
L_.str.94: ## @.str.94
.asciz "#94"
L_.str.95: ## @.str.95
.asciz "fsync"
L_.str.96: ## @.str.96
.asciz "setpriority"
L_.str.97: ## @.str.97
.asciz "socket"
L_.str.98: ## @.str.98
.asciz "connect"
L_.str.99: ## @.str.99
.asciz "old.accept"
L_.str.100: ## @.str.100
.asciz "getpriority"
L_.str.101: ## @.str.101
.asciz "old.send"
L_.str.102: ## @.str.102
.asciz "old.recv"
L_.str.103: ## @.str.103
.asciz "sigreturn"
L_.str.104: ## @.str.104
.asciz "bind"
L_.str.105: ## @.str.105
.asciz "setsockopt"
L_.str.106: ## @.str.106
.asciz "listen"
L_.str.107: ## @.str.107
.asciz "obs_vtimes"
L_.str.108: ## @.str.108
.asciz "old.sigvec"
L_.str.109: ## @.str.109
.asciz "old.sigblock"
L_.str.110: ## @.str.110
.asciz "old.sigsetmask"
L_.str.111: ## @.str.111
.asciz "sigsuspend"
L_.str.112: ## @.str.112
.asciz "old.sigstack"
L_.str.113: ## @.str.113
.asciz "old.recvmsg"
L_.str.114: ## @.str.114
.asciz "old.sendmsg"
L_.str.115: ## @.str.115
.asciz "obs_vtrace"
L_.str.116: ## @.str.116
.asciz "gettimeofday"
L_.str.117: ## @.str.117
.asciz "getrusage"
L_.str.118: ## @.str.118
.asciz "getsockopt"
L_.str.119: ## @.str.119
.asciz "#119"
L_.str.120: ## @.str.120
.asciz "readv"
L_.str.121: ## @.str.121
.asciz "writev"
L_.str.122: ## @.str.122
.asciz "settimeofday"
L_.str.123: ## @.str.123
.asciz "fchown"
L_.str.124: ## @.str.124
.asciz "fchmod"
L_.str.125: ## @.str.125
.asciz "old.recvfrom"
L_.str.126: ## @.str.126
.asciz "setreuid"
L_.str.127: ## @.str.127
.asciz "setregid"
L_.str.128: ## @.str.128
.asciz "rename"
L_.str.129: ## @.str.129
.asciz "old.truncate"
L_.str.130: ## @.str.130
.asciz "old.ftruncate"
L_.str.131: ## @.str.131
.asciz "flock"
L_.str.132: ## @.str.132
.asciz "mkfifo"
L_.str.133: ## @.str.133
.asciz "sendto"
L_.str.134: ## @.str.134
.asciz "shutdown"
L_.str.135: ## @.str.135
.asciz "socketpair"
L_.str.136: ## @.str.136
.asciz "mkdir"
L_.str.137: ## @.str.137
.asciz "rmdir"
L_.str.138: ## @.str.138
.asciz "utimes"
L_.str.139: ## @.str.139
.asciz "obs_4.2"
L_.str.140: ## @.str.140
.asciz "adjtime"
L_.str.141: ## @.str.141
.asciz "old.getpeername"
L_.str.142: ## @.str.142
.asciz "old.gethostid"
L_.str.143: ## @.str.143
.asciz "old.sethostid"
L_.str.144: ## @.str.144
.asciz "old.getrlimit"
L_.str.145: ## @.str.145
.asciz "old.setrlimit"
L_.str.146: ## @.str.146
.asciz "old.killpg"
L_.str.147: ## @.str.147
.asciz "setsid"
L_.str.148: ## @.str.148
.asciz "quotactl"
L_.str.149: ## @.str.149
.asciz "old.quota"
L_.str.150: ## @.str.150
.asciz "old.getsockname"
L_.str.151: ## @.str.151
.asciz "#151"
L_.str.152: ## @.str.152
.asciz "#152"
L_.str.153: ## @.str.153
.asciz "#153"
L_.str.154: ## @.str.154
.asciz "#154"
L_.str.155: ## @.str.155
.asciz "nfssvc"
L_.str.156: ## @.str.156
.asciz "old.getdirentries"
L_.str.157: ## @.str.157
.asciz "statfs"
L_.str.158: ## @.str.158
.asciz "fstatfs"
L_.str.159: ## @.str.159
.asciz "#159"
L_.str.160: ## @.str.160
.asciz "#160"
L_.str.161: ## @.str.161
.asciz "getfh"
L_.str.162: ## @.str.162
.asciz "getdomainname"
L_.str.163: ## @.str.163
.asciz "setdomainname"
L_.str.164: ## @.str.164
.asciz "uname"
L_.str.165: ## @.str.165
.asciz "sysarch"
L_.str.166: ## @.str.166
.asciz "rtprio"
L_.str.167: ## @.str.167
.asciz "#167"
L_.str.168: ## @.str.168
.asciz "#168"
L_.str.169: ## @.str.169
.asciz "semsys"
L_.str.170: ## @.str.170
.asciz "msgsys"
L_.str.171: ## @.str.171
.asciz "shmsys"
L_.str.172: ## @.str.172
.asciz "#172"
L_.str.173: ## @.str.173
.asciz "pread"
L_.str.174: ## @.str.174
.asciz "pwrite"
L_.str.175: ## @.str.175
.asciz "#175"
L_.str.176: ## @.str.176
.asciz "ntp_adjtime"
L_.str.177: ## @.str.177
.asciz "#177"
L_.str.178: ## @.str.178
.asciz "#178"
L_.str.179: ## @.str.179
.asciz "#179"
L_.str.180: ## @.str.180
.asciz "#180"
L_.str.181: ## @.str.181
.asciz "setgid"
L_.str.182: ## @.str.182
.asciz "setegid"
L_.str.183: ## @.str.183
.asciz "seteuid"
L_.str.184: ## @.str.184
.asciz "#184"
L_.str.185: ## @.str.185
.asciz "#185"
L_.str.186: ## @.str.186
.asciz "#186"
L_.str.187: ## @.str.187
.asciz "#187"
L_.str.188: ## @.str.188
.asciz "stat"
L_.str.189: ## @.str.189
.asciz "fstat"
L_.str.190: ## @.str.190
.asciz "lstat"
L_.str.191: ## @.str.191
.asciz "pathconf"
L_.str.192: ## @.str.192
.asciz "fpathconf"
L_.str.193: ## @.str.193
.asciz "#193"
L_.str.194: ## @.str.194
.asciz "getrlimit"
L_.str.195: ## @.str.195
.asciz "setrlimit"
L_.str.196: ## @.str.196
.asciz "getdirentries"
L_.str.197: ## @.str.197
.asciz "mmap"
L_.str.198: ## @.str.198
.asciz "__syscall"
L_.str.199: ## @.str.199
.asciz "lseek"
L_.str.200: ## @.str.200
.asciz "truncate"
L_.str.201: ## @.str.201
.asciz "ftruncate"
L_.str.202: ## @.str.202
.asciz "__sysctl"
L_.str.203: ## @.str.203
.asciz "mlock"
L_.str.204: ## @.str.204
.asciz "munlock"
L_.str.205: ## @.str.205
.asciz "undelete"
L_.str.206: ## @.str.206
.asciz "futimes"
L_.str.207: ## @.str.207
.asciz "getpgid"
L_.str.208: ## @.str.208
.asciz "#208"
L_.str.209: ## @.str.209
.asciz "poll"
L_.str.210: ## @.str.210
.asciz "lkmnosys"
L_.str.211: ## @.str.211
.asciz "__semctl"
L_.str.212: ## @.str.212
.asciz "semget"
L_.str.213: ## @.str.213
.asciz "semop"
L_.str.214: ## @.str.214
.asciz "semconfig"
L_.str.215: ## @.str.215
.asciz "msgctl"
L_.str.216: ## @.str.216
.asciz "msgget"
L_.str.217: ## @.str.217
.asciz "msgsnd"
L_.str.218: ## @.str.218
.asciz "msgrcv"
L_.str.219: ## @.str.219
.asciz "shmat"
L_.str.220: ## @.str.220
.asciz "shmctl"
L_.str.221: ## @.str.221
.asciz "shmdt"
L_.str.222: ## @.str.222
.asciz "shmget"
L_.str.223: ## @.str.223
.asciz "clock_gettime"
L_.str.224: ## @.str.224
.asciz "clock_settime"
L_.str.225: ## @.str.225
.asciz "clock_getres"
L_.str.226: ## @.str.226
.asciz "#235"
L_.str.227: ## @.str.227
.asciz "#236"
L_.str.228: ## @.str.228
.asciz "#237"
L_.str.229: ## @.str.229
.asciz "#238"
L_.str.230: ## @.str.230
.asciz "#239"
L_.str.231: ## @.str.231
.asciz "nanosleep"
L_.str.232: ## @.str.232
.asciz "#241"
L_.str.233: ## @.str.233
.asciz "#242"
L_.str.234: ## @.str.234
.asciz "#243"
L_.str.235: ## @.str.235
.asciz "#244"
L_.str.236: ## @.str.236
.asciz "#245"
L_.str.237: ## @.str.237
.asciz "#246"
L_.str.238: ## @.str.238
.asciz "#247"
L_.str.239: ## @.str.239
.asciz "#248"
L_.str.240: ## @.str.240
.asciz "#249"
L_.str.241: ## @.str.241
.asciz "minherit"
L_.str.242: ## @.str.242
.asciz "rfork"
L_.str.243: ## @.str.243
.asciz "openbsd_poll"
L_.str.244: ## @.str.244
.asciz "issetugid"
L_.str.245: ## @.str.245
.asciz "lchown"
L_.str.246: ## @.str.246
.asciz "#255"
L_.str.247: ## @.str.247
.asciz "#256"
L_.str.248: ## @.str.248
.asciz "#257"
L_.str.249: ## @.str.249
.asciz "#258"
L_.str.250: ## @.str.250
.asciz "#259"
L_.str.251: ## @.str.251
.asciz "#260"
L_.str.252: ## @.str.252
.asciz "#261"
L_.str.253: ## @.str.253
.asciz "#262"
L_.str.254: ## @.str.254
.asciz "#263"
L_.str.255: ## @.str.255
.asciz "#264"
L_.str.256: ## @.str.256
.asciz "#265"
L_.str.257: ## @.str.257
.asciz "#266"
L_.str.258: ## @.str.258
.asciz "#267"
L_.str.259: ## @.str.259
.asciz "#268"
L_.str.260: ## @.str.260
.asciz "#269"
L_.str.261: ## @.str.261
.asciz "#270"
L_.str.262: ## @.str.262
.asciz "#271"
L_.str.263: ## @.str.263
.asciz "getdents"
L_.str.264: ## @.str.264
.asciz "#273"
L_.str.265: ## @.str.265
.asciz "lchmod"
L_.str.266: ## @.str.266
.asciz "netbsd_lchown"
L_.str.267: ## @.str.267
.asciz "lutimes"
L_.str.268: ## @.str.268
.asciz "netbsd_msync"
L_.str.269: ## @.str.269
.asciz "nstat"
L_.str.270: ## @.str.270
.asciz "nfstat"
L_.str.271: ## @.str.271
.asciz "nlstat"
L_.str.272: ## @.str.272
.asciz "#281"
L_.str.273: ## @.str.273
.asciz "#282"
L_.str.274: ## @.str.274
.asciz "#283"
L_.str.275: ## @.str.275
.asciz "#284"
L_.str.276: ## @.str.276
.asciz "#285"
L_.str.277: ## @.str.277
.asciz "#286"
L_.str.278: ## @.str.278
.asciz "#287"
L_.str.279: ## @.str.279
.asciz "#288"
L_.str.280: ## @.str.280
.asciz "#289"
L_.str.281: ## @.str.281
.asciz "#290"
L_.str.282: ## @.str.282
.asciz "#291"
L_.str.283: ## @.str.283
.asciz "#292"
L_.str.284: ## @.str.284
.asciz "#293"
L_.str.285: ## @.str.285
.asciz "#294"
L_.str.286: ## @.str.286
.asciz "#295"
L_.str.287: ## @.str.287
.asciz "#296"
L_.str.288: ## @.str.288
.asciz "#297"
L_.str.289: ## @.str.289
.asciz "#298"
L_.str.290: ## @.str.290
.asciz "#299"
L_.str.291: ## @.str.291
.asciz "modnext"
L_.str.292: ## @.str.292
.asciz "modstat"
L_.str.293: ## @.str.293
.asciz "modfnext"
L_.str.294: ## @.str.294
.asciz "modfind"
L_.str.295: ## @.str.295
.asciz "kldload"
L_.str.296: ## @.str.296
.asciz "kldunload"
L_.str.297: ## @.str.297
.asciz "kldfind"
L_.str.298: ## @.str.298
.asciz "kldnext"
L_.str.299: ## @.str.299
.asciz "kldstat"
L_.str.300: ## @.str.300
.asciz "kldfirstmod"
L_.str.301: ## @.str.301
.asciz "getsid"
L_.str.302: ## @.str.302
.asciz "#311"
L_.str.303: ## @.str.303
.asciz "#312"
L_.str.304: ## @.str.304
.asciz "obs_signanosleep"
L_.str.305: ## @.str.305
.asciz "aio_return"
L_.str.306: ## @.str.306
.asciz "aio_suspend"
L_.str.307: ## @.str.307
.asciz "aio_cancel"
L_.str.308: ## @.str.308
.asciz "aio_error"
L_.str.309: ## @.str.309
.asciz "aio_read"
L_.str.310: ## @.str.310
.asciz "aio_write"
L_.str.311: ## @.str.311
.asciz "lio_listio"
L_.str.312: ## @.str.312
.asciz "yield"
L_.str.313: ## @.str.313
.asciz "thr_sleep"
L_.str.314: ## @.str.314
.asciz "thr_wakeup"
L_.str.315: ## @.str.315
.asciz "mlockall"
L_.str.316: ## @.str.316
.asciz "munlockall"
L_.str.317: ## @.str.317
.asciz "__getcwd"
L_.str.318: ## @.str.318
.asciz "sched_setparam"
L_.str.319: ## @.str.319
.asciz "sched_getparam"
L_.str.320: ## @.str.320
.asciz "sched_setscheduler"
L_.str.321: ## @.str.321
.asciz "sched_getscheduler"
L_.str.322: ## @.str.322
.asciz "sched_yield"
L_.str.323: ## @.str.323
.asciz "sched_get_priority_max"
L_.str.324: ## @.str.324
.asciz "sched_get_priority_min"
L_.str.325: ## @.str.325
.asciz "sched_rr_get_interval"
L_.str.326: ## @.str.326
.asciz "utrace"
L_.str.327: ## @.str.327
.asciz "sendfile"
L_.str.328: ## @.str.328
.asciz "kldsym"
.section __DATA,__data
.globl _syscallnames ## @syscallnames
.p2align 4
_syscallnames:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.36
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.47
.quad L_.str.48
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.66
.quad L_.str.67
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.90
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.210
.quad L_.str.211
.quad L_.str.212
.quad L_.str.213
.quad L_.str.214
.quad L_.str.215
.quad L_.str.216
.quad L_.str.217
.quad L_.str.218
.quad L_.str.219
.quad L_.str.220
.quad L_.str.221
.quad L_.str.222
.quad L_.str.223
.quad L_.str.224
.quad L_.str.225
.quad L_.str.226
.quad L_.str.227
.quad L_.str.228
.quad L_.str.229
.quad L_.str.230
.quad L_.str.231
.quad L_.str.232
.quad L_.str.233
.quad L_.str.234
.quad L_.str.235
.quad L_.str.236
.quad L_.str.237
.quad L_.str.238
.quad L_.str.239
.quad L_.str.240
.quad L_.str.241
.quad L_.str.242
.quad L_.str.243
.quad L_.str.244
.quad L_.str.245
.quad L_.str.246
.quad L_.str.247
.quad L_.str.248
.quad L_.str.249
.quad L_.str.250
.quad L_.str.251
.quad L_.str.252
.quad L_.str.253
.quad L_.str.254
.quad L_.str.255
.quad L_.str.256
.quad L_.str.257
.quad L_.str.258
.quad L_.str.259
.quad L_.str.260
.quad L_.str.261
.quad L_.str.262
.quad L_.str.263
.quad L_.str.264
.quad L_.str.265
.quad L_.str.266
.quad L_.str.267
.quad L_.str.268
.quad L_.str.269
.quad L_.str.270
.quad L_.str.271
.quad L_.str.272
.quad L_.str.273
.quad L_.str.274
.quad L_.str.275
.quad L_.str.276
.quad L_.str.277
.quad L_.str.278
.quad L_.str.279
.quad L_.str.280
.quad L_.str.281
.quad L_.str.282
.quad L_.str.283
.quad L_.str.284
.quad L_.str.285
.quad L_.str.286
.quad L_.str.287
.quad L_.str.288
.quad L_.str.289
.quad L_.str.290
.quad L_.str.291
.quad L_.str.292
.quad L_.str.293
.quad L_.str.294
.quad L_.str.295
.quad L_.str.296
.quad L_.str.297
.quad L_.str.298
.quad L_.str.299
.quad L_.str.300
.quad L_.str.301
.quad L_.str.302
.quad L_.str.303
.quad L_.str.304
.quad L_.str.305
.quad L_.str.306
.quad L_.str.307
.quad L_.str.308
.quad L_.str.309
.quad L_.str.310
.quad L_.str.311
.quad L_.str.312
.quad L_.str.313
.quad L_.str.314
.quad L_.str.315
.quad L_.str.316
.quad L_.str.317
.quad L_.str.318
.quad L_.str.319
.quad L_.str.320
.quad L_.str.321
.quad L_.str.322
.quad L_.str.323
.quad L_.str.324
.quad L_.str.325
.quad L_.str.326
.quad L_.str.327
.quad L_.str.328
.subsections_via_symbols
| the_stack_data/68887140.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/1262203.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8x4u_577 ; -- Begin function mul8x4u_577
.p2align 2
_mul8x4u_577: ; @mul8x4u_577
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w27, -8
.cfi_offset w28, -16
sub sp, sp, #976
.cfi_def_cfa_offset 992
str x0, [sp, #968]
str x1, [sp, #960]
ldr x8, [sp, #968]
lsr x8, x8, #1
and x8, x8, #0x1
ldr x10, [sp, #960]
mov x9, #0
lsr x10, x10, #0
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #952]
ldr x8, [sp, #968]
lsr x8, x8, #3
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #0
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #944]
ldr x8, [sp, #968]
lsr x8, x8, #4
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #0
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #936]
ldr x8, [sp, #968]
lsr x8, x8, #5
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #0
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #928]
ldr x8, [sp, #968]
lsr x8, x8, #6
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #0
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #920]
ldr x8, [sp, #968]
lsr x8, x8, #7
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #0
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #912]
ldr x8, [sp, #968]
lsr x8, x8, #2
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #1
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #904]
ldr x8, [sp, #968]
lsr x8, x8, #3
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #1
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #896]
ldr x8, [sp, #968]
lsr x8, x8, #4
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #1
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #888]
ldr x8, [sp, #968]
lsr x8, x8, #5
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #1
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #880]
ldr x8, [sp, #968]
lsr x8, x8, #6
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #1
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #872]
ldr x8, [sp, #968]
lsr x8, x8, #7
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #1
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #864]
ldr x8, [sp, #944]
ldr x10, [sp, #904]
orr x8, x8, x10
str x8, [sp, #856]
ldr x8, [sp, #944]
ldr x10, [sp, #904]
and x8, x8, x10
str x8, [sp, #848]
ldr x8, [sp, #936]
ldr x10, [sp, #896]
eor x8, x8, x10
str x8, [sp, #840]
ldr x8, [sp, #936]
ldr x10, [sp, #896]
and x8, x8, x10
str x8, [sp, #832]
ldr x8, [sp, #840]
ldr x10, [sp, #848]
eor x8, x8, x10
str x8, [sp, #824]
ldr x8, [sp, #832]
ldr x10, [sp, #848]
orr x8, x8, x10
str x8, [sp, #816]
ldr x8, [sp, #928]
ldr x10, [sp, #888]
eor x8, x8, x10
str x8, [sp, #808]
ldr x8, [sp, #928]
ldr x10, [sp, #888]
and x8, x8, x10
str x8, [sp, #800]
ldr x8, [sp, #808]
ldr x10, [sp, #816]
and x8, x8, x10
str x8, [sp, #792]
ldr x8, [sp, #808]
ldr x10, [sp, #816]
eor x8, x8, x10
str x8, [sp, #784]
ldr x8, [sp, #800]
ldr x10, [sp, #792]
orr x8, x8, x10
str x8, [sp, #776]
ldr x8, [sp, #920]
ldr x10, [sp, #880]
eor x8, x8, x10
str x8, [sp, #768]
ldr x8, [sp, #920]
ldr x10, [sp, #880]
and x8, x8, x10
str x8, [sp, #760]
ldr x8, [sp, #768]
ldr x10, [sp, #776]
and x8, x8, x10
str x8, [sp, #752]
ldr x8, [sp, #768]
ldr x10, [sp, #776]
eor x8, x8, x10
str x8, [sp, #744]
ldr x8, [sp, #760]
ldr x10, [sp, #752]
orr x8, x8, x10
str x8, [sp, #736]
ldr x8, [sp, #912]
ldr x10, [sp, #872]
eor x8, x8, x10
str x8, [sp, #728]
ldr x8, [sp, #912]
ldr x10, [sp, #872]
and x8, x8, x10
str x8, [sp, #720]
ldr x8, [sp, #728]
ldr x10, [sp, #736]
and x8, x8, x10
str x8, [sp, #712]
ldr x8, [sp, #728]
ldr x10, [sp, #736]
eor x8, x8, x10
str x8, [sp, #704]
ldr x8, [sp, #720]
ldr x10, [sp, #712]
orr x8, x8, x10
str x8, [sp, #696]
ldr x8, [sp, #696]
ldr x10, [sp, #864]
and x8, x8, x10
str x8, [sp, #688]
ldr x8, [sp, #696]
ldr x10, [sp, #864]
eor x8, x8, x10
str x8, [sp, #680]
ldr x8, [sp, #968]
lsr x8, x8, #1
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #2
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #672]
ldr x8, [sp, #968]
lsr x8, x8, #2
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #2
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #664]
ldr x8, [sp, #968]
lsr x8, x8, #3
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #2
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #656]
ldr x8, [sp, #968]
lsr x8, x8, #4
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #2
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #648]
ldr x8, [sp, #968]
lsr x8, x8, #5
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #2
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #640]
ldr x8, [sp, #968]
lsr x8, x8, #6
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #2
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #632]
ldr x8, [sp, #968]
lsr x8, x8, #7
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #2
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #624]
ldr x8, [sp, #856]
ldr x10, [sp, #672]
orr x8, x8, x10
str x8, [sp, #616]
ldr x8, [sp, #856]
ldr x10, [sp, #672]
and x8, x8, x10
str x8, [sp, #608]
ldr x8, [sp, #824]
ldr x10, [sp, #664]
eor x8, x8, x10
str x8, [sp, #600]
ldr x8, [sp, #824]
ldr x10, [sp, #664]
and x8, x8, x10
str x8, [sp, #592]
ldr x8, [sp, #600]
ldr x10, [sp, #608]
and x8, x8, x10
str x8, [sp, #584]
ldr x8, [sp, #600]
ldr x10, [sp, #608]
eor x8, x8, x10
str x8, [sp, #576]
ldr x8, [sp, #592]
ldr x10, [sp, #584]
orr x8, x8, x10
str x8, [sp, #568]
ldr x8, [sp, #784]
ldr x10, [sp, #656]
eor x8, x8, x10
str x8, [sp, #560]
ldr x8, [sp, #784]
ldr x10, [sp, #656]
and x8, x8, x10
str x8, [sp, #552]
ldr x8, [sp, #560]
ldr x10, [sp, #568]
and x8, x8, x10
str x8, [sp, #544]
ldr x8, [sp, #560]
ldr x10, [sp, #568]
eor x8, x8, x10
str x8, [sp, #536]
ldr x8, [sp, #552]
ldr x10, [sp, #544]
orr x8, x8, x10
str x8, [sp, #528]
ldr x8, [sp, #744]
ldr x10, [sp, #648]
eor x8, x8, x10
str x8, [sp, #520]
ldr x8, [sp, #744]
ldr x10, [sp, #648]
and x8, x8, x10
str x8, [sp, #512]
ldr x8, [sp, #520]
ldr x10, [sp, #528]
and x8, x8, x10
str x8, [sp, #504]
ldr x8, [sp, #520]
ldr x10, [sp, #528]
eor x8, x8, x10
str x8, [sp, #496]
ldr x8, [sp, #512]
ldr x10, [sp, #504]
orr x8, x8, x10
str x8, [sp, #488]
ldr x8, [sp, #704]
ldr x10, [sp, #640]
eor x8, x8, x10
str x8, [sp, #480]
ldr x8, [sp, #704]
ldr x10, [sp, #640]
and x8, x8, x10
str x8, [sp, #472]
ldr x8, [sp, #480]
ldr x10, [sp, #488]
and x8, x8, x10
str x8, [sp, #464]
ldr x8, [sp, #480]
ldr x10, [sp, #488]
eor x8, x8, x10
str x8, [sp, #456]
ldr x8, [sp, #472]
ldr x10, [sp, #464]
orr x8, x8, x10
str x8, [sp, #448]
ldr x8, [sp, #680]
ldr x10, [sp, #632]
eor x8, x8, x10
str x8, [sp, #440]
ldr x8, [sp, #680]
ldr x10, [sp, #632]
and x8, x8, x10
str x8, [sp, #432]
ldr x8, [sp, #440]
ldr x10, [sp, #448]
and x8, x8, x10
str x8, [sp, #424]
ldr x8, [sp, #440]
ldr x10, [sp, #448]
eor x8, x8, x10
str x8, [sp, #416]
ldr x8, [sp, #432]
ldr x10, [sp, #424]
orr x8, x8, x10
str x8, [sp, #408]
ldr x8, [sp, #688]
ldr x10, [sp, #624]
eor x8, x8, x10
str x8, [sp, #400]
ldr x8, [sp, #696]
ldr x10, [sp, #624]
and x8, x8, x10
str x8, [sp, #392]
ldr x8, [sp, #400]
ldr x10, [sp, #408]
and x8, x8, x10
str x8, [sp, #384]
ldr x8, [sp, #400]
ldr x10, [sp, #408]
eor x8, x8, x10
str x8, [sp, #376]
ldr x8, [sp, #392]
ldr x10, [sp, #384]
orr x8, x8, x10
str x8, [sp, #368]
ldr x8, [sp, #968]
lsr x8, x8, #0
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #360]
ldr x8, [sp, #968]
lsr x8, x8, #1
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #352]
ldr x8, [sp, #968]
lsr x8, x8, #2
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #344]
ldr x8, [sp, #968]
lsr x8, x8, #3
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #336]
ldr x8, [sp, #968]
lsr x8, x8, #4
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #328]
ldr x8, [sp, #968]
lsr x8, x8, #5
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #320]
ldr x8, [sp, #968]
lsr x8, x8, #6
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #312]
ldr x8, [sp, #968]
lsr x8, x8, #7
and x8, x8, #0x1
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #304]
ldr x8, [sp, #616]
ldr x10, [sp, #360]
and x8, x8, x10
str x8, [sp, #296]
ldr x8, [sp, #616]
ldr x10, [sp, #360]
orr x8, x8, x10
str x8, [sp, #288]
ldr x8, [sp, #576]
ldr x10, [sp, #352]
eor x8, x8, x10
str x8, [sp, #280]
ldr x8, [sp, #576]
ldr x10, [sp, #352]
and x8, x8, x10
str x8, [sp, #272]
ldr x8, [sp, #280]
ldr x10, [sp, #296]
and x8, x8, x10
str x8, [sp, #264]
ldr x8, [sp, #280]
ldr x10, [sp, #296]
eor x8, x8, x10
str x8, [sp, #256]
ldr x8, [sp, #272]
ldr x10, [sp, #264]
orr x8, x8, x10
str x8, [sp, #248]
ldr x8, [sp, #536]
ldr x10, [sp, #344]
eor x8, x8, x10
str x8, [sp, #240]
ldr x8, [sp, #536]
ldr x10, [sp, #344]
and x8, x8, x10
str x8, [sp, #232]
ldr x8, [sp, #240]
ldr x10, [sp, #248]
and x8, x8, x10
str x8, [sp, #224]
ldr x8, [sp, #240]
ldr x10, [sp, #248]
eor x8, x8, x10
str x8, [sp, #216]
ldr x8, [sp, #232]
ldr x10, [sp, #224]
orr x8, x8, x10
str x8, [sp, #208]
ldr x8, [sp, #496]
ldr x10, [sp, #336]
eor x8, x8, x10
str x8, [sp, #200]
ldr x8, [sp, #496]
ldr x10, [sp, #336]
and x8, x8, x10
str x8, [sp, #192]
ldr x8, [sp, #200]
ldr x10, [sp, #208]
and x8, x8, x10
str x8, [sp, #184]
ldr x8, [sp, #200]
ldr x10, [sp, #208]
eor x8, x8, x10
str x8, [sp, #176]
ldr x8, [sp, #192]
ldr x10, [sp, #184]
orr x8, x8, x10
str x8, [sp, #168]
ldr x8, [sp, #456]
ldr x10, [sp, #328]
eor x8, x8, x10
str x8, [sp, #160]
ldr x8, [sp, #456]
ldr x10, [sp, #328]
and x8, x8, x10
str x8, [sp, #152]
ldr x8, [sp, #160]
ldr x10, [sp, #168]
and x8, x8, x10
str x8, [sp, #144]
ldr x8, [sp, #160]
ldr x10, [sp, #168]
eor x8, x8, x10
str x8, [sp, #136]
ldr x8, [sp, #152]
ldr x10, [sp, #144]
orr x8, x8, x10
str x8, [sp, #128]
ldr x8, [sp, #416]
ldr x10, [sp, #320]
eor x8, x8, x10
str x8, [sp, #120]
ldr x8, [sp, #416]
ldr x10, [sp, #320]
and x8, x8, x10
str x8, [sp, #112]
ldr x8, [sp, #120]
ldr x10, [sp, #128]
and x8, x8, x10
str x8, [sp, #104]
ldr x8, [sp, #120]
ldr x10, [sp, #128]
eor x8, x8, x10
str x8, [sp, #96]
ldr x8, [sp, #112]
ldr x10, [sp, #104]
orr x8, x8, x10
str x8, [sp, #88]
ldr x8, [sp, #376]
ldr x10, [sp, #312]
eor x8, x8, x10
str x8, [sp, #80]
ldr x8, [sp, #376]
ldr x10, [sp, #312]
and x8, x8, x10
str x8, [sp, #72]
ldr x8, [sp, #80]
ldr x10, [sp, #88]
and x8, x8, x10
str x8, [sp, #64]
ldr x8, [sp, #80]
ldr x10, [sp, #88]
eor x8, x8, x10
str x8, [sp, #56]
ldr x8, [sp, #72]
ldr x10, [sp, #64]
orr x8, x8, x10
str x8, [sp, #48]
ldr x8, [sp, #368]
ldr x10, [sp, #304]
eor x8, x8, x10
str x8, [sp, #40]
ldr x8, [sp, #368]
ldr x10, [sp, #960]
lsr x10, x10, #3
and x10, x10, #0x1
and x8, x8, x10
str x8, [sp, #32]
ldr x8, [sp, #304]
ldr x10, [sp, #48]
and x8, x8, x10
str x8, [sp, #24]
ldr x8, [sp, #40]
ldr x10, [sp, #48]
eor x8, x8, x10
str x8, [sp, #16]
ldr x8, [sp, #32]
ldr x10, [sp, #24]
orr x8, x8, x10
str x8, [sp, #8]
str xzr, [sp]
ldr x8, [sp, #952]
and x10, x8, #0x1
ldr x8, [sp]
orr x8, x8, x10
str x8, [sp]
ldr x8, [sp, #880]
and x10, x8, #0x1
ldr x8, [sp]
orr x8, x8, x10, lsl #1
str x8, [sp]
ldr x8, [sp]
orr x8, x8, x9
str x8, [sp]
ldr x8, [sp, #288]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #3
str x8, [sp]
ldr x8, [sp, #256]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #4
str x8, [sp]
ldr x8, [sp, #216]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #5
str x8, [sp]
ldr x8, [sp, #176]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #6
str x8, [sp]
ldr x8, [sp, #136]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #7
str x8, [sp]
ldr x8, [sp, #96]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #8
str x8, [sp]
ldr x8, [sp, #56]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #9
str x8, [sp]
ldr x8, [sp, #16]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #10
str x8, [sp]
ldr x8, [sp, #8]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #11
str x8, [sp]
ldr x0, [sp]
add sp, sp, #976
ldp x28, x27, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8x4u_577 ## -- Begin function mul8x4u_577
.p2align 4, 0x90
_mul8x4u_577: ## @mul8x4u_577
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $848, %rsp ## imm = 0x350
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
shrq $1, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $0, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
shrq $3, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $0, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
shrq $4, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $0, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
shrq $5, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $0, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -48(%rbp)
movq -8(%rbp), %rax
shrq $6, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $0, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -56(%rbp)
movq -8(%rbp), %rax
shrq $7, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $0, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -64(%rbp)
movq -8(%rbp), %rax
shrq $2, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $1, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -72(%rbp)
movq -8(%rbp), %rax
shrq $3, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $1, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -80(%rbp)
movq -8(%rbp), %rax
shrq $4, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $1, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -88(%rbp)
movq -8(%rbp), %rax
shrq $5, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $1, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -96(%rbp)
movq -8(%rbp), %rax
shrq $6, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $1, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -104(%rbp)
movq -8(%rbp), %rax
shrq $7, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $1, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -112(%rbp)
movq -32(%rbp), %rax
orq -72(%rbp), %rax
movq %rax, -120(%rbp)
movq -32(%rbp), %rax
andq -72(%rbp), %rax
movq %rax, -128(%rbp)
movq -40(%rbp), %rax
xorq -80(%rbp), %rax
movq %rax, -136(%rbp)
movq -40(%rbp), %rax
andq -80(%rbp), %rax
movq %rax, -144(%rbp)
movq -136(%rbp), %rax
xorq -128(%rbp), %rax
movq %rax, -152(%rbp)
movq -144(%rbp), %rax
orq -128(%rbp), %rax
movq %rax, -160(%rbp)
movq -48(%rbp), %rax
xorq -88(%rbp), %rax
movq %rax, -168(%rbp)
movq -48(%rbp), %rax
andq -88(%rbp), %rax
movq %rax, -176(%rbp)
movq -168(%rbp), %rax
andq -160(%rbp), %rax
movq %rax, -184(%rbp)
movq -168(%rbp), %rax
xorq -160(%rbp), %rax
movq %rax, -192(%rbp)
movq -176(%rbp), %rax
orq -184(%rbp), %rax
movq %rax, -200(%rbp)
movq -56(%rbp), %rax
xorq -96(%rbp), %rax
movq %rax, -208(%rbp)
movq -56(%rbp), %rax
andq -96(%rbp), %rax
movq %rax, -216(%rbp)
movq -208(%rbp), %rax
andq -200(%rbp), %rax
movq %rax, -224(%rbp)
movq -208(%rbp), %rax
xorq -200(%rbp), %rax
movq %rax, -232(%rbp)
movq -216(%rbp), %rax
orq -224(%rbp), %rax
movq %rax, -240(%rbp)
movq -64(%rbp), %rax
xorq -104(%rbp), %rax
movq %rax, -248(%rbp)
movq -64(%rbp), %rax
andq -104(%rbp), %rax
movq %rax, -256(%rbp)
movq -248(%rbp), %rax
andq -240(%rbp), %rax
movq %rax, -264(%rbp)
movq -248(%rbp), %rax
xorq -240(%rbp), %rax
movq %rax, -272(%rbp)
movq -256(%rbp), %rax
orq -264(%rbp), %rax
movq %rax, -280(%rbp)
movq -280(%rbp), %rax
andq -112(%rbp), %rax
movq %rax, -288(%rbp)
movq -280(%rbp), %rax
xorq -112(%rbp), %rax
movq %rax, -296(%rbp)
movq -8(%rbp), %rax
shrq $1, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $2, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -304(%rbp)
movq -8(%rbp), %rax
shrq $2, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $2, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -312(%rbp)
movq -8(%rbp), %rax
shrq $3, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $2, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -320(%rbp)
movq -8(%rbp), %rax
shrq $4, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $2, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -328(%rbp)
movq -8(%rbp), %rax
shrq $5, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $2, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -336(%rbp)
movq -8(%rbp), %rax
shrq $6, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $2, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -344(%rbp)
movq -8(%rbp), %rax
shrq $7, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $2, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -352(%rbp)
movq -120(%rbp), %rax
orq -304(%rbp), %rax
movq %rax, -360(%rbp)
movq -120(%rbp), %rax
andq -304(%rbp), %rax
movq %rax, -368(%rbp)
movq -152(%rbp), %rax
xorq -312(%rbp), %rax
movq %rax, -376(%rbp)
movq -152(%rbp), %rax
andq -312(%rbp), %rax
movq %rax, -384(%rbp)
movq -376(%rbp), %rax
andq -368(%rbp), %rax
movq %rax, -392(%rbp)
movq -376(%rbp), %rax
xorq -368(%rbp), %rax
movq %rax, -400(%rbp)
movq -384(%rbp), %rax
orq -392(%rbp), %rax
movq %rax, -408(%rbp)
movq -192(%rbp), %rax
xorq -320(%rbp), %rax
movq %rax, -416(%rbp)
movq -192(%rbp), %rax
andq -320(%rbp), %rax
movq %rax, -424(%rbp)
movq -416(%rbp), %rax
andq -408(%rbp), %rax
movq %rax, -432(%rbp)
movq -416(%rbp), %rax
xorq -408(%rbp), %rax
movq %rax, -440(%rbp)
movq -424(%rbp), %rax
orq -432(%rbp), %rax
movq %rax, -448(%rbp)
movq -232(%rbp), %rax
xorq -328(%rbp), %rax
movq %rax, -456(%rbp)
movq -232(%rbp), %rax
andq -328(%rbp), %rax
movq %rax, -464(%rbp)
movq -456(%rbp), %rax
andq -448(%rbp), %rax
movq %rax, -472(%rbp)
movq -456(%rbp), %rax
xorq -448(%rbp), %rax
movq %rax, -480(%rbp)
movq -464(%rbp), %rax
orq -472(%rbp), %rax
movq %rax, -488(%rbp)
movq -272(%rbp), %rax
xorq -336(%rbp), %rax
movq %rax, -496(%rbp)
movq -272(%rbp), %rax
andq -336(%rbp), %rax
movq %rax, -504(%rbp)
movq -496(%rbp), %rax
andq -488(%rbp), %rax
movq %rax, -512(%rbp)
movq -496(%rbp), %rax
xorq -488(%rbp), %rax
movq %rax, -520(%rbp)
movq -504(%rbp), %rax
orq -512(%rbp), %rax
movq %rax, -528(%rbp)
movq -296(%rbp), %rax
xorq -344(%rbp), %rax
movq %rax, -536(%rbp)
movq -296(%rbp), %rax
andq -344(%rbp), %rax
movq %rax, -544(%rbp)
movq -536(%rbp), %rax
andq -528(%rbp), %rax
movq %rax, -552(%rbp)
movq -536(%rbp), %rax
xorq -528(%rbp), %rax
movq %rax, -560(%rbp)
movq -544(%rbp), %rax
orq -552(%rbp), %rax
movq %rax, -568(%rbp)
movq -288(%rbp), %rax
xorq -352(%rbp), %rax
movq %rax, -576(%rbp)
movq -280(%rbp), %rax
andq -352(%rbp), %rax
movq %rax, -584(%rbp)
movq -576(%rbp), %rax
andq -568(%rbp), %rax
movq %rax, -592(%rbp)
movq -576(%rbp), %rax
xorq -568(%rbp), %rax
movq %rax, -600(%rbp)
movq -584(%rbp), %rax
orq -592(%rbp), %rax
movq %rax, -608(%rbp)
movq -8(%rbp), %rax
shrq $0, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -616(%rbp)
movq -8(%rbp), %rax
shrq $1, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -624(%rbp)
movq -8(%rbp), %rax
shrq $2, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -632(%rbp)
movq -8(%rbp), %rax
shrq $3, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -640(%rbp)
movq -8(%rbp), %rax
shrq $4, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -648(%rbp)
movq -8(%rbp), %rax
shrq $5, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -656(%rbp)
movq -8(%rbp), %rax
shrq $6, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -664(%rbp)
movq -8(%rbp), %rax
shrq $7, %rax
andq $1, %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -672(%rbp)
movq -360(%rbp), %rax
andq -616(%rbp), %rax
movq %rax, -680(%rbp)
movq -360(%rbp), %rax
orq -616(%rbp), %rax
movq %rax, -688(%rbp)
movq -400(%rbp), %rax
xorq -624(%rbp), %rax
movq %rax, -696(%rbp)
movq -400(%rbp), %rax
andq -624(%rbp), %rax
movq %rax, -704(%rbp)
movq -696(%rbp), %rax
andq -680(%rbp), %rax
movq %rax, -712(%rbp)
movq -696(%rbp), %rax
xorq -680(%rbp), %rax
movq %rax, -720(%rbp)
movq -704(%rbp), %rax
orq -712(%rbp), %rax
movq %rax, -728(%rbp)
movq -440(%rbp), %rax
xorq -632(%rbp), %rax
movq %rax, -736(%rbp)
movq -440(%rbp), %rax
andq -632(%rbp), %rax
movq %rax, -744(%rbp)
movq -736(%rbp), %rax
andq -728(%rbp), %rax
movq %rax, -752(%rbp)
movq -736(%rbp), %rax
xorq -728(%rbp), %rax
movq %rax, -760(%rbp)
movq -744(%rbp), %rax
orq -752(%rbp), %rax
movq %rax, -768(%rbp)
movq -480(%rbp), %rax
xorq -640(%rbp), %rax
movq %rax, -776(%rbp)
movq -480(%rbp), %rax
andq -640(%rbp), %rax
movq %rax, -784(%rbp)
movq -776(%rbp), %rax
andq -768(%rbp), %rax
movq %rax, -792(%rbp)
movq -776(%rbp), %rax
xorq -768(%rbp), %rax
movq %rax, -800(%rbp)
movq -784(%rbp), %rax
orq -792(%rbp), %rax
movq %rax, -808(%rbp)
movq -520(%rbp), %rax
xorq -648(%rbp), %rax
movq %rax, -816(%rbp)
movq -520(%rbp), %rax
andq -648(%rbp), %rax
movq %rax, -824(%rbp)
movq -816(%rbp), %rax
andq -808(%rbp), %rax
movq %rax, -832(%rbp)
movq -816(%rbp), %rax
xorq -808(%rbp), %rax
movq %rax, -840(%rbp)
movq -824(%rbp), %rax
orq -832(%rbp), %rax
movq %rax, -848(%rbp)
movq -560(%rbp), %rax
xorq -656(%rbp), %rax
movq %rax, -856(%rbp)
movq -560(%rbp), %rax
andq -656(%rbp), %rax
movq %rax, -864(%rbp)
movq -856(%rbp), %rax
andq -848(%rbp), %rax
movq %rax, -872(%rbp)
movq -856(%rbp), %rax
xorq -848(%rbp), %rax
movq %rax, -880(%rbp)
movq -864(%rbp), %rax
orq -872(%rbp), %rax
movq %rax, -888(%rbp)
movq -600(%rbp), %rax
xorq -664(%rbp), %rax
movq %rax, -896(%rbp)
movq -600(%rbp), %rax
andq -664(%rbp), %rax
movq %rax, -904(%rbp)
movq -896(%rbp), %rax
andq -888(%rbp), %rax
movq %rax, -912(%rbp)
movq -896(%rbp), %rax
xorq -888(%rbp), %rax
movq %rax, -920(%rbp)
movq -904(%rbp), %rax
orq -912(%rbp), %rax
movq %rax, -928(%rbp)
movq -608(%rbp), %rax
xorq -672(%rbp), %rax
movq %rax, -936(%rbp)
movq -608(%rbp), %rax
movq -16(%rbp), %rcx
shrq $3, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -944(%rbp)
movq -672(%rbp), %rax
andq -928(%rbp), %rax
movq %rax, -952(%rbp)
movq -936(%rbp), %rax
xorq -928(%rbp), %rax
movq %rax, -960(%rbp)
movq -944(%rbp), %rax
orq -952(%rbp), %rax
movq %rax, -968(%rbp)
movq $0, -976(%rbp)
movq -24(%rbp), %rax
andq $1, %rax
shlq $0, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -96(%rbp), %rax
andq $1, %rax
shlq $1, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -976(%rbp), %rax
orq $0, %rax
movq %rax, -976(%rbp)
movq -688(%rbp), %rax
andq $1, %rax
shlq $3, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -720(%rbp), %rax
andq $1, %rax
shlq $4, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -760(%rbp), %rax
andq $1, %rax
shlq $5, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -800(%rbp), %rax
andq $1, %rax
shlq $6, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -840(%rbp), %rax
andq $1, %rax
shlq $7, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -880(%rbp), %rax
andq $1, %rax
shlq $8, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -920(%rbp), %rax
andq $1, %rax
shlq $9, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -960(%rbp), %rax
andq $1, %rax
shlq $10, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -968(%rbp), %rax
andq $1, %rax
shlq $11, %rax
orq -976(%rbp), %rax
movq %rax, -976(%rbp)
movq -976(%rbp), %rax
addq $848, %rsp ## imm = 0x350
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/72012617.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
str wzr, [sp, #12]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_8:
str wzr, [sp, #12]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_9
LBB0_12:
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 _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -4(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_3
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -4(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $10, -4(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_5
LBB0_8:
movl $0, -4(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $10, -4(%rbp)
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_9
LBB0_12:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/165767163.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _p
adrp x8, _i@GOTPAGE
ldr x8, [x8, _i@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
ldr w1, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
bl _q
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w1, [x8]
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _p ; -- Begin function p
.p2align 2
_p: ; @p
.cfi_startproc
; %bb.0:
adrp x9, _i@GOTPAGE
ldr x9, [x9, _i@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
ret
.cfi_endproc
; -- End function
.globl _q ; -- Begin function q
.p2align 2
_q: ; @q
.cfi_startproc
; %bb.0:
adrp x9, _i@GOTPAGE
ldr x9, [x9, _i@GOTPAGEOFF]
mov w8, #3
str w8, [x9]
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.comm _i,4,2 ; @i
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _p
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
callq _q
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _p ## -- Begin function p
.p2align 4, 0x90
_p: ## @p
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _i@GOTPCREL(%rip), %rax
movl $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _q ## -- Begin function q
.p2align 4, 0x90
_q: ## @q
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _i@GOTPCREL(%rip), %rax
movl $3, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.comm _i,4,2 ## @i
.subsections_via_symbols
| the_stack_data/42708.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _grow_precious ; -- Begin function grow_precious
.p2align 2
_grow_precious: ; @grow_precious
.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]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _len_precious@PAGE
ldr w8, [x8, _len_precious@PAGEOFF]
ldur w9, [x29, #-4]
add w8, w8, w9
adrp x9, _size_precious@PAGE
ldr w9, [x9, _size_precious@PAGEOFF]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x8, _size_precious@PAGE
ldr w8, [x8, _size_precious@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w8, #2048
adrp x9, _size_precious@PAGE
str w8, [x9, _size_precious@PAGEOFF]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x8, _str_precious@PAGE
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [x8, _str_precious@PAGEOFF]
adrp x8, _size_precious@PAGE
ldr w9, [x8, _size_precious@PAGEOFF]
lsl w9, w9, #1
str w9, [x8, _size_precious@PAGEOFF]
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _realloc
ldr x8, [sp] ; 8-byte Folded Reload
str x0, [x8, _str_precious@PAGEOFF]
ldr x8, [x8, _str_precious@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _define_precious ; -- Begin function define_precious
.p2align 2
_define_precious: ; @define_precious
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
bl _strlen
mov x8, x0
stur w8, [x29, #-12]
ldur w8, [x29, #-12]
add w0, w8, #4
bl _grow_precious
adrp x8, _str_precious@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x10, [x8, _str_precious@PAGEOFF]
adrp x9, _len_precious@PAGE
str x9, [sp, #24] ; 8-byte Folded Spill
ldrsw x11, [x9, _len_precious@PAGEOFF]
mov x12, x11
add w12, w12, #1
str w12, [x9, _len_precious@PAGEOFF]
add x11, x10, x11
mov w10, #9
strb w10, [x11]
ldr x8, [x8, _str_precious@PAGEOFF]
ldrsw x9, [x9, _len_precious@PAGEOFF]
ldur x1, [x29, #-8]
ldursw x2, [x29, #-12]
add x0, x8, x9
mov x3, #-1
str x3, [sp, #16] ; 8-byte Folded Spill
bl ___memcpy_chk
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x3, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w11, [x29, #-12]
ldr w10, [x9, _len_precious@PAGEOFF]
add w10, w10, w11
str w10, [x9, _len_precious@PAGEOFF]
ldr x8, [x8, _str_precious@PAGEOFF]
ldrsw x9, [x9, _len_precious@PAGEOFF]
add x0, x8, x9
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x2, #3
bl ___memcpy_chk
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, _len_precious@PAGEOFF]
add w8, w8, #3
str w8, [x9, _len_precious@PAGEOFF]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _handle_include ; -- Begin function handle_include
.p2align 2
_handle_include: ; @handle_include
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
ldur w8, [x29, #-4]
str w8, [sp, #12]
adrp x8, _path_array@GOTPAGE
ldr x8, [x8, _path_array@GOTPAGEOFF]
ldr x8, [x8]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #4
str x8, [sp, #16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
adrp x9, _paths@GOTPAGE
ldr x9, [x9, _paths@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #16]
ldrsw x9, [x9]
add x0, x8, x9
ldur x1, [x29, #-16]
ldursw x2, [x29, #-20]
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #16]
ldr w9, [x9]
ldur w10, [x29, #-20]
add w9, w9, w10
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
mov w1, #0
bl _access
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
bl _do_depname
ldr x8, [sp, #16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB2_6
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr x8, [sp, #16]
add x8, x8, #16
str x8, [sp, #16]
b LBB2_1
LBB2_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function do_depname
_do_depname: ; @do_depname
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___depname@PAGE
add x8, x8, ___depname@PAGEOFF
add x8, x8, #9
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _hasdep@GOTPAGE
ldr x8, [x8, _hasdep@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_1
LBB3_1:
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov w9, #1
adrp x10, _hasdep@GOTPAGE
ldr x10, [x10, _hasdep@GOTPAGEOFF]
str w9, [x10]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
adrp x8, _g_filename@PAGE
ldr x8, [x8, _g_filename@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2:
adrp x8, _g_filename@PAGE
ldr x8, [x8, _g_filename@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
b LBB3_3
LBB3_3:
b LBB3_4
LBB3_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _add_path ; -- Begin function add_path
.p2align 2
_add_path: ; @add_path
.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, _path_array@GOTPAGE
ldr x8, [x8, _path_array@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _paths@GOTPAGE
ldr x8, [x8, _paths@GOTPAGEOFF]
str x8, [sp, #16] ; 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 x0, [sp, #40]
ldr x0, [sp, #40]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_1
LBB4_1:
ldr x0, [sp, #40]
add x1, sp, #55
bl _realpath$DARWIN_EXTSN
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2:
b LBB4_12
LBB4_3:
b LBB4_5
LBB4_4:
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #24]
b LBB4_5
LBB4_5:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x9]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x1, x8, #4
bl _realloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB4_7:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [x9]
add x8, x8, x9, lsl #4
subs x8, x8, #16
str x8, [sp, #32]
ldr x0, [sp, #24]
bl _strlen
ldr x9, [sp, #32]
mov x8, x0
str w8, [x9]
ldr x8, [sp, #32]
ldr w8, [x8]
add w8, w8, #1
add w8, w8, #256
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _malloc
ldr x8, [sp, #32]
str x0, [x8, #8]
ldr x8, [sp, #32]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_9
b LBB4_8
LBB4_8:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB4_9:
ldr x8, [sp, #32]
ldr x0, [x8, #8]
ldr x1, [sp, #24]
mov x2, #-1
bl ___strcpy_chk
ldr x8, [sp, #32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_10
LBB4_10:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr x9, [sp, #32]
ldrsw x9, [x9]
add x8, x8, x9
ldursb w8, [x8, #-1]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr x9, [sp, #32]
ldrsw x9, [x9]
add x9, x8, x9
mov w8, #47
strb w8, [x9]
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr x10, [sp, #32]
ldr w9, [x10]
add w9, w9, #1
str w9, [x10]
add x8, x8, w9, sxtw
strb wzr, [x8]
b LBB4_12
LBB4_12:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_14
b LBB4_13
LBB4_13:
bl ___stack_chk_fail
LBB4_14:
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
.globl _state_machine ; -- Begin function state_machine
.p2align 2
_state_machine: ; @state_machine
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-8]
str x8, [sp, #24]
str xzr, [sp, #8]
b LBB5_1
LBB5_1:
b LBB5_2
LBB5_2: ; =>This Loop Header: Depth=1
; Child Loop BB5_7 Depth 2
; Child Loop BB5_82 Depth 3
; Child Loop BB5_130 Depth 3
; Child Loop BB5_152 Depth 2
; Child Loop BB5_143 Depth 2
; Child Loop BB5_69 Depth 2
; Child Loop BB5_56 Depth 2
; Child Loop BB5_42 Depth 2
; Child Loop BB5_47 Depth 3
; Child Loop BB5_20 Depth 2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_6
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_2 Depth=1
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
b LBB5_161
LBB5_5: ; in Loop: Header=BB5_2 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_2 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB5_7
LBB5_7: ; Parent Loop BB5_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB5_82 Depth 3
; Child Loop BB5_130 Depth 3
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #47
cset w8, ls
tbnz w8, #0, LBB5_9
b LBB5_8
LBB5_8: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_9: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #34
cset w8, hs
tbnz w8, #0, LBB5_11
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_11: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #47
cset w8, ne
tbnz w8, #0, LBB5_13
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_7 Depth=2
b LBB5_33
LBB5_13: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #39
cset w8, ne
tbnz w8, #0, LBB5_15
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_2 Depth=1
b LBB5_56
LBB5_15: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #34
cset w8, ne
tbnz w8, #0, LBB5_17
b LBB5_16
LBB5_16: ; in Loop: Header=BB5_2 Depth=1
b LBB5_69
LBB5_17: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #35
cset w8, ne
tbnz w8, #0, LBB5_19
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_7 Depth=2
b LBB5_82
LBB5_19: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_20: ; Parent Loop BB5_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_24
b LBB5_21
LBB5_21: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_23
b LBB5_22
LBB5_22:
b LBB5_161
LBB5_23: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_24
LBB5_24: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #10
cset w8, ne
tbnz w8, #0, LBB5_26
b LBB5_25
LBB5_25: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_26: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #92
cset w8, eq
tbnz w8, #0, LBB5_28
b LBB5_27
LBB5_27: ; in Loop: Header=BB5_20 Depth=2
b LBB5_20
LBB5_28: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_32
b LBB5_29
LBB5_29: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_31
b LBB5_30
LBB5_30:
b LBB5_161
LBB5_31: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_32
LBB5_32: ; in Loop: Header=BB5_20 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB5_20
LBB5_33: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_37
b LBB5_34
LBB5_34: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_36
b LBB5_35
LBB5_35:
b LBB5_161
LBB5_36: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_37
LBB5_37: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #47
cset w8, ne
tbnz w8, #0, LBB5_39
b LBB5_38
LBB5_38: ; in Loop: Header=BB5_2 Depth=1
b LBB5_20
LBB5_39: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #42
cset w8, eq
tbnz w8, #0, LBB5_41
b LBB5_40
LBB5_40: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_41: ; in Loop: Header=BB5_2 Depth=1
b LBB5_42
LBB5_42: ; Parent Loop BB5_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB5_47 Depth 3
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_46
b LBB5_43
LBB5_43: ; in Loop: Header=BB5_42 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_45
b LBB5_44
LBB5_44:
b LBB5_161
LBB5_45: ; in Loop: Header=BB5_42 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_46
LBB5_46: ; in Loop: Header=BB5_42 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB5_47
LBB5_47: ; Parent Loop BB5_2 Depth=1
; Parent Loop BB5_42 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #42
cset w8, eq
tbnz w8, #0, LBB5_49
b LBB5_48
LBB5_48: ; in Loop: Header=BB5_42 Depth=2
b LBB5_42
LBB5_49: ; in Loop: Header=BB5_47 Depth=3
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_53
b LBB5_50
LBB5_50: ; in Loop: Header=BB5_47 Depth=3
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_52
b LBB5_51
LBB5_51:
b LBB5_161
LBB5_52: ; in Loop: Header=BB5_47 Depth=3
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_53
LBB5_53: ; in Loop: Header=BB5_47 Depth=3
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #47
cset w8, eq
tbnz w8, #0, LBB5_55
b LBB5_54
LBB5_54: ; in Loop: Header=BB5_47 Depth=3
b LBB5_47
LBB5_55: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_56: ; Parent Loop BB5_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_60
b LBB5_57
LBB5_57: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_59
b LBB5_58
LBB5_58:
b LBB5_161
LBB5_59: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_60
LBB5_60: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #39
cset w8, ne
tbnz w8, #0, LBB5_62
b LBB5_61
LBB5_61: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_62: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #92
cset w8, eq
tbnz w8, #0, LBB5_64
b LBB5_63
LBB5_63: ; in Loop: Header=BB5_56 Depth=2
b LBB5_56
LBB5_64: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_68
b LBB5_65
LBB5_65: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_67
b LBB5_66
LBB5_66:
b LBB5_161
LBB5_67: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_68
LBB5_68: ; in Loop: Header=BB5_56 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB5_56
LBB5_69: ; Parent Loop BB5_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_73
b LBB5_70
LBB5_70: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_72
b LBB5_71
LBB5_71:
b LBB5_161
LBB5_72: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_73
LBB5_73: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #34
cset w8, ne
tbnz w8, #0, LBB5_75
b LBB5_74
LBB5_74: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_75: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #92
cset w8, eq
tbnz w8, #0, LBB5_77
b LBB5_76
LBB5_76: ; in Loop: Header=BB5_69 Depth=2
b LBB5_69
LBB5_77: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_81
b LBB5_78
LBB5_78: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_80
b LBB5_79
LBB5_79:
b LBB5_161
LBB5_80: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_81
LBB5_81: ; in Loop: Header=BB5_69 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB5_69
LBB5_82: ; Parent Loop BB5_2 Depth=1
; Parent Loop BB5_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_86
b LBB5_83
LBB5_83: ; in Loop: Header=BB5_82 Depth=3
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_85
b LBB5_84
LBB5_84:
b LBB5_161
LBB5_85: ; in Loop: Header=BB5_82 Depth=3
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_86
LBB5_86: ; in Loop: Header=BB5_82 Depth=3
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #32
cset w8, ne
tbnz w8, #0, LBB5_88
b LBB5_87
LBB5_87: ; in Loop: Header=BB5_82 Depth=3
b LBB5_82
LBB5_88: ; in Loop: Header=BB5_82 Depth=3
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #9
cset w8, ne
tbnz w8, #0, LBB5_90
b LBB5_89
LBB5_89: ; in Loop: Header=BB5_82 Depth=3
b LBB5_82
LBB5_90: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #105
cset w8, ne
tbnz w8, #0, LBB5_92
b LBB5_91
LBB5_91: ; in Loop: Header=BB5_7 Depth=2
b LBB5_93
LBB5_92: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_93: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_97
b LBB5_94
LBB5_94: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_96
b LBB5_95
LBB5_95:
b LBB5_161
LBB5_96: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_97
LBB5_97: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #110
cset w8, eq
tbnz w8, #0, LBB5_99
b LBB5_98
LBB5_98: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_99: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_103
b LBB5_100
LBB5_100: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_102
b LBB5_101
LBB5_101:
b LBB5_161
LBB5_102: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_103
LBB5_103: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #99
cset w8, eq
tbnz w8, #0, LBB5_105
b LBB5_104
LBB5_104: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_105: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_109
b LBB5_106
LBB5_106: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_108
b LBB5_107
LBB5_107:
b LBB5_161
LBB5_108: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_109
LBB5_109: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #108
cset w8, eq
tbnz w8, #0, LBB5_111
b LBB5_110
LBB5_110: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_111: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_115
b LBB5_112
LBB5_112: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_114
b LBB5_113
LBB5_113:
b LBB5_161
LBB5_114: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_115
LBB5_115: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #117
cset w8, eq
tbnz w8, #0, LBB5_117
b LBB5_116
LBB5_116: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_117: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_121
b LBB5_118
LBB5_118: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_120
b LBB5_119
LBB5_119:
b LBB5_161
LBB5_120: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_121
LBB5_121: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #100
cset w8, eq
tbnz w8, #0, LBB5_123
b LBB5_122
LBB5_122: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_123: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_127
b LBB5_124
LBB5_124: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_126
b LBB5_125
LBB5_125:
b LBB5_161
LBB5_126: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_127
LBB5_127: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #101
cset w8, eq
tbnz w8, #0, LBB5_129
b LBB5_128
LBB5_128: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_129: ; in Loop: Header=BB5_7 Depth=2
b LBB5_130
LBB5_130: ; Parent Loop BB5_2 Depth=1
; Parent Loop BB5_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_134
b LBB5_131
LBB5_131: ; in Loop: Header=BB5_130 Depth=3
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_133
b LBB5_132
LBB5_132:
b LBB5_161
LBB5_133: ; in Loop: Header=BB5_130 Depth=3
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_134
LBB5_134: ; in Loop: Header=BB5_130 Depth=3
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #32
cset w8, ne
tbnz w8, #0, LBB5_136
b LBB5_135
LBB5_135: ; in Loop: Header=BB5_130 Depth=3
b LBB5_130
LBB5_136: ; in Loop: Header=BB5_130 Depth=3
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #9
cset w8, ne
tbnz w8, #0, LBB5_138
b LBB5_137
LBB5_137: ; in Loop: Header=BB5_130 Depth=3
b LBB5_130
LBB5_138: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #34
cset w8, ne
tbnz w8, #0, LBB5_140
b LBB5_139
LBB5_139: ; in Loop: Header=BB5_2 Depth=1
b LBB5_143
LBB5_140: ; in Loop: Header=BB5_7 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #60
cset w8, ne
tbnz w8, #0, LBB5_142
b LBB5_141
LBB5_141: ; in Loop: Header=BB5_2 Depth=1
b LBB5_152
LBB5_142: ; in Loop: Header=BB5_7 Depth=2
b LBB5_7
LBB5_143: ; Parent Loop BB5_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_147
b LBB5_144
LBB5_144: ; in Loop: Header=BB5_143 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_146
b LBB5_145
LBB5_145:
b LBB5_161
LBB5_146: ; in Loop: Header=BB5_143 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_147
LBB5_147: ; in Loop: Header=BB5_143 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #10
cset w8, ne
tbnz w8, #0, LBB5_149
b LBB5_148
LBB5_148: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_149: ; in Loop: Header=BB5_143 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #34
cset w8, eq
tbnz w8, #0, LBB5_151
b LBB5_150
LBB5_150: ; in Loop: Header=BB5_143 Depth=2
b LBB5_143
LBB5_151: ; in Loop: Header=BB5_2 Depth=1
ldr x1, [sp, #16]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
subs x8, x8, #1
mov x2, x8
mov w0, #0
bl _handle_include
b LBB5_2
LBB5_152: ; Parent Loop BB5_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8]
mov x10, #8
lsl x8, x8, #8
str x8, [sp, #8]
ldr x8, [sp, #24]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_156
b LBB5_153
LBB5_153: ; in Loop: Header=BB5_152 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB5_155
b LBB5_154
LBB5_154:
b LBB5_161
LBB5_155: ; in Loop: Header=BB5_152 Depth=2
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_156
LBB5_156: ; in Loop: Header=BB5_152 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #10
cset w8, ne
tbnz w8, #0, LBB5_158
b LBB5_157
LBB5_157: ; in Loop: Header=BB5_2 Depth=1
b LBB5_2
LBB5_158: ; in Loop: Header=BB5_152 Depth=2
ldr x8, [sp, #8]
lsr x8, x8, #56
subs x8, x8, #62
cset w8, eq
tbnz w8, #0, LBB5_160
b LBB5_159
LBB5_159: ; in Loop: Header=BB5_152 Depth=2
b LBB5_152
LBB5_160: ; in Loop: Header=BB5_2 Depth=1
ldr x1, [sp, #16]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
subs x8, x8, #1
mov x2, x8
mov w0, #1
bl _handle_include
b LBB5_2
LBB5_161:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _do_depend ; -- Begin function do_depend
.p2align 2
_do_depend: ; @do_depend
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur x1, [x29, #-16]
bl _getpagesize
subs w8, w0, #1
stur w8, [x29, #-24]
ldur x0, [x29, #-8]
mov w1, #0
bl _open
stur w0, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
b LBB6_14
LBB6_2:
ldur w0, [x29, #-28]
add x1, sp, #32
bl _fstat
ldr x8, [sp, #128]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldur w0, [x29, #-28]
bl _close
b LBB6_14
LBB6_4:
ldr x8, [sp, #128]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
add w8, w8, w9
ldur w9, [x29, #-24]
bic w8, w8, w9
stur w8, [x29, #-20]
ldursw x1, [x29, #-20]
ldur w4, [x29, #-28]
mov x0, #0
mov w2, #1
mov w3, #2
mov x5, #0
bl _mmap
str x0, [sp, #24]
ldr x8, [sp, #24]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldur w0, [x29, #-28]
bl _close
b LBB6_14
LBB6_6:
ldr x8, [sp, #24]
mov x10, #8
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB6_8:
adrp x8, _hasdep@GOTPAGE
ldr x8, [x8, _hasdep@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str wzr, [x8]
ldr x0, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #128]
add x1, x8, x9
bl _state_machine
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_12
b LBB6_9
LBB6_9:
ldur x0, [x29, #-16]
bl _puts
ldur x8, [x29, #-16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_11
b LBB6_10
LBB6_10:
ldur x0, [x29, #-8]
bl _define_precious
b LBB6_11
LBB6_11:
b LBB6_13
LBB6_12:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB6_13
LBB6_13:
ldr x0, [sp, #24]
ldursw x1, [x29, #-20]
bl _munmap
ldur w0, [x29, #-28]
bl _close
b LBB6_14
LBB6_14:
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #224
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, ___depname@PAGE
add x8, x8, ___depname@PAGEOFF
add x8, x8, #9
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _add_path
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB7_11
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
mov x2, #2
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_7
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8]
ldrb w8, [x8, #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8]
add x0, x8, #2
bl _add_path
b LBB7_6
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_1 Depth=1
b LBB7_10
LBB7_7: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_9
b LBB7_8
LBB7_8:
b LBB7_11
LBB7_9: ; in Loop: Header=BB7_1 Depth=1
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_1 Depth=1
b LBB7_1
LBB7_11:
b LBB7_12
LBB7_12: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB7_40
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_12 Depth=1
ldur x8, [x29, #-16]
add x9, x8, #8
stur x9, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #32]
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #24]
adrp x8, _g_filename@PAGE
; kill: def $x9 killed $xzr
str xzr, [x8, _g_filename@PAGEOFF]
ldr x0, [sp, #32]
bl _strlen
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
ldr x1, [sp, #32]
ldur w8, [x29, #-20]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #503
bl ___memcpy_chk
ldur w8, [x29, #-20]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB7_20
b LBB7_14
LBB7_14: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB7_20
b LBB7_15
LBB7_15: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, eq
tbnz w8, #0, LBB7_18
b LBB7_16
LBB7_16: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #83
cset w8, eq
tbnz w8, #0, LBB7_18
b LBB7_17
LBB7_17: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #67
cset w8, ne
tbnz w8, #0, LBB7_19
b LBB7_18
LBB7_18: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
subs w9, w9, #1
add x9, x8, w9, sxtw
mov w8, #111
strb w8, [x9]
ldr x8, [sp, #32]
adrp x9, _g_filename@PAGE
str x8, [x9, _g_filename@PAGEOFF]
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #24]
b LBB7_19
LBB7_19: ; in Loop: Header=BB7_12 Depth=1
b LBB7_39
LBB7_20: ; in Loop: Header=BB7_12 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #3
cset w8, le
tbnz w8, #0, LBB7_26
b LBB7_21
LBB7_21: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #3
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB7_26
b LBB7_22
LBB7_22: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, ne
tbnz w8, #0, LBB7_25
b LBB7_23
LBB7_23: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, ne
tbnz w8, #0, LBB7_25
b LBB7_24
LBB7_24: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
subs w9, w9, #2
add x10, x8, w9, sxtw
mov w9, #111
strb w9, [x10]
ldur w9, [x29, #-20]
subs w9, w9, #1
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr x8, [sp, #32]
adrp x9, _g_filename@PAGE
str x8, [x9, _g_filename@PAGEOFF]
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #24]
b LBB7_25
LBB7_25: ; in Loop: Header=BB7_12 Depth=1
b LBB7_38
LBB7_26: ; in Loop: Header=BB7_12 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #4
cset w8, le
tbnz w8, #0, LBB7_37
b LBB7_27
LBB7_27: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #4
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB7_37
b LBB7_28
LBB7_28: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #3
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #99
cset w8, ne
tbnz w8, #0, LBB7_36
b LBB7_29
LBB7_29: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #43
cset w8, ne
tbnz w8, #0, LBB7_31
b LBB7_30
LBB7_30: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #43
cset w8, eq
tbnz w8, #0, LBB7_35
b LBB7_31
LBB7_31: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #120
cset w8, ne
tbnz w8, #0, LBB7_33
b LBB7_32
LBB7_32: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #120
cset w8, eq
tbnz w8, #0, LBB7_35
b LBB7_33
LBB7_33: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #112
cset w8, ne
tbnz w8, #0, LBB7_36
b LBB7_34
LBB7_34: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #32]
ldur w9, [x29, #-20]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #112
cset w8, ne
tbnz w8, #0, LBB7_36
b LBB7_35
LBB7_35: ; in Loop: Header=BB7_12 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
subs w9, w9, #3
add x10, x8, w9, sxtw
mov w9, #111
strb w9, [x10]
ldur w9, [x29, #-20]
subs w9, w9, #2
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr x8, [sp, #32]
adrp x9, _g_filename@PAGE
str x8, [x9, _g_filename@PAGEOFF]
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #24]
b LBB7_36
LBB7_36: ; in Loop: Header=BB7_12 Depth=1
b LBB7_37
LBB7_37: ; in Loop: Header=BB7_12 Depth=1
b LBB7_38
LBB7_38: ; in Loop: Header=BB7_12 Depth=1
b LBB7_39
LBB7_39: ; in Loop: Header=BB7_12 Depth=1
ldr x0, [sp, #32]
ldr x1, [sp, #24]
bl _do_depend
b LBB7_12
LBB7_40:
adrp x8, _len_precious@PAGE
ldr w8, [x8, _len_precious@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_42
b LBB7_41
LBB7_41:
adrp x8, _str_precious@PAGE
ldr x9, [x8, _str_precious@PAGEOFF]
adrp x10, _len_precious@PAGE
ldrsw x10, [x10, _len_precious@PAGEOFF]
add x9, x9, x10
strb wzr, [x9]
ldr x8, [x8, _str_precious@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB7_42
LBB7_42:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl ___depname ; @__depname
___depname:
.asciz "\n\t@touch \000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.globl _str_config ; @str_config
.zerofill __DATA,__common,_str_config,8,3
.globl _size_config ; @size_config
.zerofill __DATA,__common,_size_config,4,2
.globl _len_config ; @len_config
.zerofill __DATA,__common,_len_config,4,2
.globl _str_precious ; @str_precious
.zerofill __DATA,__common,_str_precious,8,3
.globl _size_precious ; @size_precious
.zerofill __DATA,__common,_size_precious,4,2
.globl _len_precious ; @len_precious
.zerofill __DATA,__common,_len_precious,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "malloc"
l_.str.1: ; @.str.1
.asciz " \\\n"
.comm _path_array,8,3 ; @path_array
.comm _paths,4,2 ; @paths
l_.str.2: ; @.str.2
.asciz " \\\n %s"
l_.str.3: ; @.str.3
.asciz "."
l_.str.4: ; @.str.4
.space 1
l_.str.5: ; @.str.5
.asciz "cannot expand path_arry\n"
l_.str.6: ; @.str.6
.asciz "cannot allocate path buffer\n"
l_.str.7: ; @.str.7
.asciz "cannot open file: %s\n"
l_.str.8: ; @.str.8
.asciz "%s is empty\n"
l_.str.9: ; @.str.9
.asciz "mmap failed\n"
l_.str.10: ; @.str.10
.asciz "do_depend: map not aligned\n"
.comm _hasdep,4,2 ; @hasdep
l_.str.11: ; @.str.11
.asciz "%s:\n"
l_.str.12: ; @.str.12
.asciz "-I"
l_.str.13: ; @.str.13
.asciz "--"
.zerofill __DATA,__bss,_g_filename,8,3 ; @g_filename
l_.str.14: ; @.str.14
.asciz ".PRECIOUS:%s\n"
l_.str.15: ; @.str.15
.asciz "%s:"
l_.str.16: ; @.str.16
.asciz " %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _grow_precious ## -- Begin function grow_precious
.p2align 4, 0x90
_grow_precious: ## @grow_precious
.cfi_startproc
## %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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl _len_precious(%rip), %eax
addl -4(%rbp), %eax
cmpl _size_precious(%rip), %eax
jle LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, _size_precious(%rip)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl $2048, _size_precious(%rip) ## imm = 0x800
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq _str_precious(%rip), %rdi
movl _size_precious(%rip), %eax
shll $1, %eax
movl %eax, _size_precious(%rip)
movslq %eax, %rsi
callq _realloc
movq %rax, _str_precious(%rip)
cmpq $0, _str_precious(%rip)
jne LBB0_6
## %bb.5:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_7:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _define_precious ## -- Begin function define_precious
.p2align 4, 0x90
_define_precious: ## @define_precious
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
movl -12(%rbp), %edi
addl $4, %edi
callq _grow_precious
movq _str_precious(%rip), %rax
movl _len_precious(%rip), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, _len_precious(%rip)
movslq %ecx, %rcx
movb $9, (%rax,%rcx)
movq _str_precious(%rip), %rdi
movslq _len_precious(%rip), %rax
addq %rax, %rdi
movq -8(%rbp), %rsi
movslq -12(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movl -12(%rbp), %eax
addl _len_precious(%rip), %eax
movl %eax, _len_precious(%rip)
movq _str_precious(%rip), %rdi
movslq _len_precious(%rip), %rax
addq %rax, %rdi
leaq L_.str.1(%rip), %rsi
movl $3, %edx
movq $-1, %rcx
callq ___memcpy_chk
movl _len_precious(%rip), %eax
addl $3, %eax
movl %eax, _len_precious(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _handle_include ## -- Begin function handle_include
.p2align 4, 0x90
_handle_include: ## @handle_include
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl -4(%rbp), %eax
movl %eax, -36(%rbp)
movq _path_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
movq _paths@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rdi
movq -32(%rbp), %rax
movslq (%rax), %rax
addq %rax, %rdi
movq -16(%rbp), %rsi
movslq -20(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq -32(%rbp), %rcx
movl (%rcx), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq -32(%rbp), %rax
movq 8(%rax), %rdi
xorl %esi, %esi
callq _access
cmpl $0, %eax
jne LBB2_4
## %bb.3:
callq _do_depname
movq -32(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_6
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_5
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movq -32(%rbp), %rax
addq $16, %rax
movq %rax, -32(%rbp)
jmp LBB2_1
LBB2_6:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function do_depname
_do_depname: ## @do_depname
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _hasdep@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB3_4
## %bb.1:
movq _hasdep@GOTPCREL(%rip), %rax
movl $1, (%rax)
leaq L_.str.15(%rip), %rdi
leaq ___depname(%rip), %rsi
addq $9, %rsi
movb $0, %al
callq _printf
cmpq $0, _g_filename(%rip)
je LBB3_3
## %bb.2:
movq _g_filename(%rip), %rsi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
LBB3_3:
jmp LBB3_4
LBB3_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_path ## -- Begin function add_path
.p2align 4, 0x90
_add_path: ## @add_path
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1072, %rsp ## imm = 0x430
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1048(%rbp)
movq -1048(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB4_4
## %bb.1:
movq -1048(%rbp), %rdi
leaq -1040(%rbp), %rsi
callq _realpath$DARWIN_EXTSN
movq %rax, -1064(%rbp)
cmpq $0, -1064(%rbp)
jne LBB4_3
## %bb.2:
jmp LBB4_12
LBB4_3:
jmp LBB4_5
LBB4_4:
leaq L_.str.4(%rip), %rax
movq %rax, -1064(%rbp)
LBB4_5:
movq _path_array@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _paths@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $1, %eax
movq _paths@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movslq %eax, %rsi
shlq $4, %rsi
callq _realloc
movq %rax, %rcx
movq _path_array@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _path_array@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB4_7
## %bb.6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB4_7:
movq _path_array@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _paths@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
shlq $4, %rcx
addq %rcx, %rax
addq $-16, %rax
movq %rax, -1056(%rbp)
movq -1064(%rbp), %rdi
callq _strlen
movl %eax, %ecx
movq -1056(%rbp), %rax
movl %ecx, (%rax)
movq -1056(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
addl $256, %eax ## imm = 0x100
addl $1, %eax
movslq %eax, %rdi
callq _malloc
movq %rax, %rcx
movq -1056(%rbp), %rax
movq %rcx, 8(%rax)
movq -1056(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB4_9
## %bb.8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB4_9:
movq -1056(%rbp), %rax
movq 8(%rax), %rdi
movq -1064(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -1056(%rbp), %rax
cmpl $0, (%rax)
je LBB4_12
## %bb.10:
movq -1056(%rbp), %rax
movq 8(%rax), %rax
movq -1056(%rbp), %rcx
movslq (%rcx), %rcx
movsbl -1(%rax,%rcx), %eax
cmpl $47, %eax
je LBB4_12
## %bb.11:
movq -1056(%rbp), %rax
movq 8(%rax), %rax
movq -1056(%rbp), %rcx
movslq (%rcx), %rcx
movb $47, (%rax,%rcx)
movq -1056(%rbp), %rax
movq 8(%rax), %rax
movq -1056(%rbp), %rdx
movl (%rdx), %ecx
addl $1, %ecx
movl %ecx, (%rdx)
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
LBB4_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_14
## %bb.13:
addq $1072, %rsp ## imm = 0x430
popq %rbp
retq
LBB4_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _state_machine ## -- Begin function state_machine
.p2align 4, 0x90
_state_machine: ## @state_machine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
movq $0, -40(%rbp)
## %bb.1:
jmp LBB5_2
LBB5_2: ## =>This Loop Header: Depth=1
## Child Loop BB5_7 Depth 2
## Child Loop BB5_82 Depth 3
## Child Loop BB5_130 Depth 3
## Child Loop BB5_20 Depth 2
## Child Loop BB5_42 Depth 2
## Child Loop BB5_47 Depth 3
## Child Loop BB5_56 Depth 2
## Child Loop BB5_69 Depth 2
## Child Loop BB5_143 Depth 2
## Child Loop BB5_152 Depth 2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_6
## %bb.3: ## in Loop: Header=BB5_2 Depth=1
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_5
## %bb.4:
jmp LBB5_161
LBB5_5: ## in Loop: Header=BB5_2 Depth=1
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_6: ## in Loop: Header=BB5_2 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
LBB5_7: ## Parent Loop BB5_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB5_82 Depth 3
## Child Loop BB5_130 Depth 3
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $47, %eax
jle LBB5_9
## %bb.8: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_9: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $34, %eax
jge LBB5_11
## %bb.10: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_11: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $47, %eax
jne LBB5_13
## %bb.12: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_33
LBB5_13: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $39, %eax
jne LBB5_15
## %bb.14: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_56
LBB5_15: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $34, %eax
jne LBB5_17
## %bb.16: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_69
LBB5_17: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $35, %eax
jne LBB5_19
## %bb.18: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_82
LBB5_19: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_20: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_24
## %bb.21: ## in Loop: Header=BB5_20 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_23
## %bb.22:
jmp LBB5_161
LBB5_23: ## in Loop: Header=BB5_20 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_24: ## in Loop: Header=BB5_20 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $10, %eax
jne LBB5_26
## %bb.25: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_26: ## in Loop: Header=BB5_20 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $92, %eax
je LBB5_28
## %bb.27: ## in Loop: Header=BB5_20 Depth=2
jmp LBB5_20
LBB5_28: ## in Loop: Header=BB5_20 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_32
## %bb.29: ## in Loop: Header=BB5_20 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_31
## %bb.30:
jmp LBB5_161
LBB5_31: ## in Loop: Header=BB5_20 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_32: ## in Loop: Header=BB5_20 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB5_20
LBB5_33: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_37
## %bb.34: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_36
## %bb.35:
jmp LBB5_161
LBB5_36: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_37: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $47, %eax
jne LBB5_39
## %bb.38: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_20
LBB5_39: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $42, %eax
je LBB5_41
## %bb.40: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_41: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_42
LBB5_42: ## Parent Loop BB5_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB5_47 Depth 3
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_46
## %bb.43: ## in Loop: Header=BB5_42 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_45
## %bb.44:
jmp LBB5_161
LBB5_45: ## in Loop: Header=BB5_42 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_46: ## in Loop: Header=BB5_42 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
LBB5_47: ## Parent Loop BB5_2 Depth=1
## Parent Loop BB5_42 Depth=2
## => This Inner Loop Header: Depth=3
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $42, %eax
je LBB5_49
## %bb.48: ## in Loop: Header=BB5_42 Depth=2
jmp LBB5_42
LBB5_49: ## in Loop: Header=BB5_47 Depth=3
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_53
## %bb.50: ## in Loop: Header=BB5_47 Depth=3
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_52
## %bb.51:
jmp LBB5_161
LBB5_52: ## in Loop: Header=BB5_47 Depth=3
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_53: ## in Loop: Header=BB5_47 Depth=3
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $47, %eax
je LBB5_55
## %bb.54: ## in Loop: Header=BB5_47 Depth=3
jmp LBB5_47
LBB5_55: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_56: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_60
## %bb.57: ## in Loop: Header=BB5_56 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_59
## %bb.58:
jmp LBB5_161
LBB5_59: ## in Loop: Header=BB5_56 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_60: ## in Loop: Header=BB5_56 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $39, %eax
jne LBB5_62
## %bb.61: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_62: ## in Loop: Header=BB5_56 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $92, %eax
je LBB5_64
## %bb.63: ## in Loop: Header=BB5_56 Depth=2
jmp LBB5_56
LBB5_64: ## in Loop: Header=BB5_56 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_68
## %bb.65: ## in Loop: Header=BB5_56 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_67
## %bb.66:
jmp LBB5_161
LBB5_67: ## in Loop: Header=BB5_56 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_68: ## in Loop: Header=BB5_56 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB5_56
LBB5_69: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_73
## %bb.70: ## in Loop: Header=BB5_69 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_72
## %bb.71:
jmp LBB5_161
LBB5_72: ## in Loop: Header=BB5_69 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_73: ## in Loop: Header=BB5_69 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $34, %eax
jne LBB5_75
## %bb.74: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_75: ## in Loop: Header=BB5_69 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $92, %eax
je LBB5_77
## %bb.76: ## in Loop: Header=BB5_69 Depth=2
jmp LBB5_69
LBB5_77: ## in Loop: Header=BB5_69 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_81
## %bb.78: ## in Loop: Header=BB5_69 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_80
## %bb.79:
jmp LBB5_161
LBB5_80: ## in Loop: Header=BB5_69 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_81: ## in Loop: Header=BB5_69 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB5_69
LBB5_82: ## Parent Loop BB5_2 Depth=1
## Parent Loop BB5_7 Depth=2
## => This Inner Loop Header: Depth=3
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_86
## %bb.83: ## in Loop: Header=BB5_82 Depth=3
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_85
## %bb.84:
jmp LBB5_161
LBB5_85: ## in Loop: Header=BB5_82 Depth=3
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_86: ## in Loop: Header=BB5_82 Depth=3
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $32, %eax
jne LBB5_88
## %bb.87: ## in Loop: Header=BB5_82 Depth=3
jmp LBB5_82
LBB5_88: ## in Loop: Header=BB5_82 Depth=3
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $9, %eax
jne LBB5_90
## %bb.89: ## in Loop: Header=BB5_82 Depth=3
jmp LBB5_82
LBB5_90: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $105, %eax
jne LBB5_92
## %bb.91: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_93
LBB5_92: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_93: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_97
## %bb.94: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_96
## %bb.95:
jmp LBB5_161
LBB5_96: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_97: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $110, %eax
je LBB5_99
## %bb.98: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_99: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_103
## %bb.100: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_102
## %bb.101:
jmp LBB5_161
LBB5_102: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_103: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $99, %eax
je LBB5_105
## %bb.104: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_105: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_109
## %bb.106: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_108
## %bb.107:
jmp LBB5_161
LBB5_108: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_109: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $108, %eax
je LBB5_111
## %bb.110: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_111: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_115
## %bb.112: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_114
## %bb.113:
jmp LBB5_161
LBB5_114: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_115: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $117, %eax
je LBB5_117
## %bb.116: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_117: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_121
## %bb.118: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_120
## %bb.119:
jmp LBB5_161
LBB5_120: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_121: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $100, %eax
je LBB5_123
## %bb.122: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_123: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_127
## %bb.124: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_126
## %bb.125:
jmp LBB5_161
LBB5_126: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_127: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $101, %eax
je LBB5_129
## %bb.128: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_129: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_130
LBB5_130: ## Parent Loop BB5_2 Depth=1
## Parent Loop BB5_7 Depth=2
## => This Inner Loop Header: Depth=3
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_134
## %bb.131: ## in Loop: Header=BB5_130 Depth=3
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_133
## %bb.132:
jmp LBB5_161
LBB5_133: ## in Loop: Header=BB5_130 Depth=3
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_134: ## in Loop: Header=BB5_130 Depth=3
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $32, %eax
jne LBB5_136
## %bb.135: ## in Loop: Header=BB5_130 Depth=3
jmp LBB5_130
LBB5_136: ## in Loop: Header=BB5_130 Depth=3
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $9, %eax
jne LBB5_138
## %bb.137: ## in Loop: Header=BB5_130 Depth=3
jmp LBB5_130
LBB5_138: ## in Loop: Header=BB5_7 Depth=2
movq -24(%rbp), %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $34, %eax
jne LBB5_140
## %bb.139: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_143
LBB5_140: ## in Loop: Header=BB5_7 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $60, %eax
jne LBB5_142
## %bb.141: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_152
LBB5_142: ## in Loop: Header=BB5_7 Depth=2
jmp LBB5_7
LBB5_143: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_147
## %bb.144: ## in Loop: Header=BB5_143 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_146
## %bb.145:
jmp LBB5_161
LBB5_146: ## in Loop: Header=BB5_143 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_147: ## in Loop: Header=BB5_143 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $10, %eax
jne LBB5_149
## %bb.148: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_149: ## in Loop: Header=BB5_143 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $34, %eax
je LBB5_151
## %bb.150: ## in Loop: Header=BB5_143 Depth=2
jmp LBB5_143
LBB5_151: ## in Loop: Header=BB5_2 Depth=1
movq -32(%rbp), %rsi
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
subq %rcx, %rax
subq $1, %rax
movl %eax, %edx
xorl %edi, %edi
callq _handle_include
jmp LBB5_2
LBB5_152: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
shrq $8, %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB5_156
## %bb.153: ## in Loop: Header=BB5_152 Depth=2
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
jb LBB5_155
## %bb.154:
jmp LBB5_161
LBB5_155: ## in Loop: Header=BB5_152 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
LBB5_156: ## in Loop: Header=BB5_152 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $10, %eax
jne LBB5_158
## %bb.157: ## in Loop: Header=BB5_2 Depth=1
jmp LBB5_2
LBB5_158: ## in Loop: Header=BB5_152 Depth=2
movq -40(%rbp), %rax
## kill: def $al killed $al killed $rax
movzbl %al, %eax
cmpl $62, %eax
je LBB5_160
## %bb.159: ## in Loop: Header=BB5_152 Depth=2
jmp LBB5_152
LBB5_160: ## in Loop: Header=BB5_2 Depth=1
movq -32(%rbp), %rsi
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
subq %rcx, %rax
subq $1, %rax
movl %eax, %edx
movl $1, %edi
callq _handle_include
jmp LBB5_2
LBB5_161:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_depend ## -- Begin function do_depend
.p2align 4, 0x90
_do_depend: ## @do_depend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $192, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _getpagesize
subl $1, %eax
movl %eax, -24(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jge LBB6_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB6_14
LBB6_2:
movl -28(%rbp), %edi
leaq -176(%rbp), %rsi
callq _fstat$INODE64
cmpq $0, -80(%rbp)
jne LBB6_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
movl -28(%rbp), %edi
callq _close
jmp LBB6_14
LBB6_4:
movq -80(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
addl -24(%rbp), %eax
movl -24(%rbp), %ecx
xorl $-1, %ecx
andl %ecx, %eax
movl %eax, -20(%rbp)
movslq -20(%rbp), %rsi
movl -28(%rbp), %r8d
xorl %eax, %eax
movl %eax, %r9d
movl $1, %edx
movl $2, %ecx
movq %r9, %rdi
callq _mmap
movq %rax, -184(%rbp)
movq -184(%rbp), %rax
cmpq $-1, %rax
jne LBB6_6
## %bb.5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
movl -28(%rbp), %edi
callq _close
jmp LBB6_14
LBB6_6:
movq -184(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
je LBB6_8
## %bb.7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB6_8:
movq _hasdep@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq -184(%rbp), %rdi
movq -184(%rbp), %rsi
addq -80(%rbp), %rsi
callq _state_machine
movq _hasdep@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB6_12
## %bb.9:
movq -16(%rbp), %rdi
callq _puts
movq -16(%rbp), %rax
cmpb $0, (%rax)
je LBB6_11
## %bb.10:
movq -8(%rbp), %rdi
callq _define_precious
LBB6_11:
jmp LBB6_13
LBB6_12:
movq -8(%rbp), %rsi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB6_13:
movq -184(%rbp), %rdi
movslq -20(%rbp), %rsi
callq _munmap
movl -28(%rbp), %edi
callq _close
LBB6_14:
addq $192, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str.3(%rip), %rdi
callq _add_path
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jle LBB7_11
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rdi
leaq L_.str.12(%rip), %rsi
movl $2, %edx
callq _strncmp
cmpl $0, %eax
jne LBB7_7
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rax
cmpb $0, 2(%rax)
je LBB7_5
## %bb.4: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rdi
addq $2, %rdi
callq _add_path
jmp LBB7_6
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
LBB7_6: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_10
LBB7_7: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB7_9
## %bb.8:
jmp LBB7_11
LBB7_9: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_10
LBB7_10: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_1
LBB7_11:
jmp LBB7_12
LBB7_12: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jle LBB7_40
## %bb.13: ## in Loop: Header=BB7_12 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $8, %rcx
movq %rcx, -16(%rbp)
movq 8(%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str.4(%rip), %rax
movq %rax, -40(%rbp)
movq $0, _g_filename(%rip)
movq -32(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -32(%rbp), %rsi
movl -20(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
leaq ___depname(%rip), %rdi
addq $9, %rdi
movl $503, %ecx ## imm = 0x1F7
callq ___memcpy_chk
cmpl $2, -20(%rbp)
jle LBB7_20
## %bb.14: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $46, %eax
jne LBB7_20
## %bb.15: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
je LBB7_18
## %bb.16: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $83, %eax
je LBB7_18
## %bb.17: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $67, %eax
jne LBB7_19
LBB7_18: ## in Loop: Header=BB7_12 Depth=1
movl -20(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
leaq ___depname(%rip), %rax
movb $111, 9(%rax,%rcx)
movq -32(%rbp), %rax
movq %rax, _g_filename(%rip)
leaq L_.str.4(%rip), %rax
movq %rax, -40(%rbp)
LBB7_19: ## in Loop: Header=BB7_12 Depth=1
jmp LBB7_39
LBB7_20: ## in Loop: Header=BB7_12 Depth=1
cmpl $3, -20(%rbp)
jle LBB7_26
## %bb.21: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $3, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $46, %eax
jne LBB7_26
## %bb.22: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
jne LBB7_25
## %bb.23: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
jne LBB7_25
## %bb.24: ## in Loop: Header=BB7_12 Depth=1
movl -20(%rbp), %eax
subl $2, %eax
movslq %eax, %rcx
leaq ___depname(%rip), %rax
movb $111, 9(%rax,%rcx)
movl -20(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
leaq ___depname(%rip), %rax
movb $0, 9(%rax,%rcx)
movq -32(%rbp), %rax
movq %rax, _g_filename(%rip)
leaq L_.str.4(%rip), %rax
movq %rax, -40(%rbp)
LBB7_25: ## in Loop: Header=BB7_12 Depth=1
jmp LBB7_38
LBB7_26: ## in Loop: Header=BB7_12 Depth=1
cmpl $4, -20(%rbp)
jle LBB7_37
## %bb.27: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $46, %eax
jne LBB7_37
## %bb.28: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $3, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $99, %eax
jne LBB7_36
## %bb.29: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $43, %eax
jne LBB7_31
## %bb.30: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $43, %eax
je LBB7_35
LBB7_31: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $120, %eax
jne LBB7_33
## %bb.32: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $120, %eax
je LBB7_35
LBB7_33: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $112, %eax
jne LBB7_36
## %bb.34: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $112, %eax
jne LBB7_36
LBB7_35: ## in Loop: Header=BB7_12 Depth=1
movl -20(%rbp), %eax
subl $3, %eax
movslq %eax, %rcx
leaq ___depname(%rip), %rax
movb $111, 9(%rax,%rcx)
movl -20(%rbp), %eax
subl $2, %eax
movslq %eax, %rcx
leaq ___depname(%rip), %rax
movb $0, 9(%rax,%rcx)
movq -32(%rbp), %rax
movq %rax, _g_filename(%rip)
leaq L_.str.4(%rip), %rax
movq %rax, -40(%rbp)
LBB7_36: ## in Loop: Header=BB7_12 Depth=1
jmp LBB7_37
LBB7_37: ## in Loop: Header=BB7_12 Depth=1
jmp LBB7_38
LBB7_38: ## in Loop: Header=BB7_12 Depth=1
jmp LBB7_39
LBB7_39: ## in Loop: Header=BB7_12 Depth=1
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
callq _do_depend
jmp LBB7_12
LBB7_40:
cmpl $0, _len_precious(%rip)
je LBB7_42
## %bb.41:
movq _str_precious(%rip), %rax
movslq _len_precious(%rip), %rcx
movb $0, (%rax,%rcx)
movq _str_precious(%rip), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
LBB7_42:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl ___depname ## @__depname
.p2align 4
___depname:
.asciz "\n\t@touch \000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.globl _str_config ## @str_config
.zerofill __DATA,__common,_str_config,8,3
.globl _size_config ## @size_config
.zerofill __DATA,__common,_size_config,4,2
.globl _len_config ## @len_config
.zerofill __DATA,__common,_len_config,4,2
.globl _str_precious ## @str_precious
.zerofill __DATA,__common,_str_precious,8,3
.globl _size_precious ## @size_precious
.zerofill __DATA,__common,_size_precious,4,2
.globl _len_precious ## @len_precious
.zerofill __DATA,__common,_len_precious,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "malloc"
L_.str.1: ## @.str.1
.asciz " \\\n"
.comm _path_array,8,3 ## @path_array
.comm _paths,4,2 ## @paths
L_.str.2: ## @.str.2
.asciz " \\\n %s"
L_.str.3: ## @.str.3
.asciz "."
L_.str.4: ## @.str.4
.space 1
L_.str.5: ## @.str.5
.asciz "cannot expand path_arry\n"
L_.str.6: ## @.str.6
.asciz "cannot allocate path buffer\n"
L_.str.7: ## @.str.7
.asciz "cannot open file: %s\n"
L_.str.8: ## @.str.8
.asciz "%s is empty\n"
L_.str.9: ## @.str.9
.asciz "mmap failed\n"
L_.str.10: ## @.str.10
.asciz "do_depend: map not aligned\n"
.comm _hasdep,4,2 ## @hasdep
L_.str.11: ## @.str.11
.asciz "%s:\n"
L_.str.12: ## @.str.12
.asciz "-I"
L_.str.13: ## @.str.13
.asciz "--"
.zerofill __DATA,__bss,_g_filename,8,3 ## @g_filename
L_.str.14: ## @.str.14
.asciz ".PRECIOUS:%s\n"
L_.str.15: ## @.str.15
.asciz "%s:"
L_.str.16: ## @.str.16
.asciz " %s"
.subsections_via_symbols
| the_stack_data/84680.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gstate_path_memory ; -- Begin function gstate_path_memory
.p2align 2
_gstate_path_memory: ; @gstate_path_memory
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
adrp x8, _gstate_initial@PAGE
add x8, x8, _gstate_initial@PAGEOFF
ldr x10, [x8]
str x10, [x9]
ldr w8, [x8, #8]
str w8, [x9, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _gs_state_update_overprint ; -- Begin function gs_state_update_overprint
.p2align 2
_gs_state_update_overprint: ; @gs_state_update_overprint
.cfi_startproc
; %bb.0:
adrp x8, _gstate_initial@PAGE
ldr w0, [x8, _gstate_initial@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _gs_state_update_overprint
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl _abort
LBB2_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @gstate_initial
_gstate_initial:
.long 1 ; 0x1
.long 0 ; 0x0
.long 0x00000000 ; float 0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gstate_path_memory ## -- Begin function gstate_path_memory
.p2align 4, 0x90
_gstate_path_memory: ## @gstate_path_memory
.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 _gstate_initial(%rip), %rcx
movq %rcx, (%rax)
movl _gstate_initial+8(%rip), %ecx
movl %ecx, 8(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gs_state_update_overprint ## -- Begin function gs_state_update_overprint
.p2align 4, 0x90
_gs_state_update_overprint: ## @gs_state_update_overprint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _gstate_initial(%rip), %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 _gs_state_update_overprint
cmpl $1, %eax
je LBB2_2
## %bb.1:
callq _abort
LBB2_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @gstate_initial
_gstate_initial:
.long 1 ## 0x1
.long 0 ## 0x0
.long 0x00000000 ## float 0
.subsections_via_symbols
| the_stack_data/150139222.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
fmov d0, #1.00000000
str d0, [sp, #16]
mov w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr d0, [sp, #16]
ldr s2, [sp, #12]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fmul d0, d0, d1
str d0, [sp, #16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
ldr d0, [sp, #16]
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]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
ldur w0, [x29, #-8]
bl _f
str d0, [sp, #24] ; 8-byte Folded Spill
ldur w0, [x29, #-12]
bl _f
str d0, [sp, #16] ; 8-byte Folded Spill
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w0, w8, w9
bl _f
ldr d1, [sp, #16] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #24] ; 8-byte Folded Reload
fmul d1, d1, d2
fdiv d0, d0, d1
fcvtzs w8, d0
stur w8, [x29, #-16]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB1_3
LBB1_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "0"
l_.str.2: ; @.str.2
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _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)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movl $1, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdl -20(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
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
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $0, -12(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
movl -8(%rbp), %edi
callq _f
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movl -12(%rbp), %edi
callq _f
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movl -8(%rbp), %edi
subl -12(%rbp), %edi
callq _f
movsd -32(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm2
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd %xmm2, %xmm1
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB1_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "0"
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
| the_stack_data/85508.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_barh_i0d0i0_ ; -- Begin function scilab_rt_barh_i0d0i0_
.p2align 2
_scilab_rt_barh_i0d0i0_: ; @scilab_rt_barh_i0d0i0_
.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 d0, [x29, #-16]
stur w1, [x29, #-20]
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
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldur d0, [x29, #-16]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_barh_i0d0i0_ ## -- Begin function scilab_rt_barh_i0d0i0_
.p2align 4, 0x90
_scilab_rt_barh_i0d0i0_: ## @scilab_rt_barh_i0d0i0_
.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)
movsd %xmm0, -16(%rbp)
movl %esi, -20(%rbp)
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%f"
.subsections_via_symbols
| the_stack_data/121620.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 x9, _me@GOTPAGE
ldr x9, [x9, _me@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [x9]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #24] ; 8-byte Folded Reload
adrp x9, ___stderrp@GOTPAGE
ldr x9, [x9, ___stderrp@GOTPAGEOFF]
str x9, [sp, #16] ; 8-byte Folded Spill
ldr x0, [x9]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x9]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
mov w8, #1
stur w8, [x29, #-20]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
ldr x0, [x8, x9, lsl #3]
bl _process_file
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_3
LBB0_6:
b LBB0_7
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _process_file ; -- Begin function process_file
.p2align 2
_process_file: ; @process_file
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _buf@GOTPAGE
ldr x8, [x8, _buf@GOTPAGEOFF]
stur x8, [x29, #-40] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
ldur x0, [x29, #-8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _me@GOTPAGE
ldr x8, [x8, _me@GOTPAGEOFF]
ldr x10, [x8]
ldur x8, [x29, #-8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_2:
ldur x0, [x29, #-16]
bl _fileno
adrp x1, _buf@GOTPAGE
ldr x1, [x1, _buf@GOTPAGEOFF]
bl _fstat
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x9, [x8, #96]
subs x9, x9, #8
sub x10, x29, #24
str x10, [sp, #16] ; 8-byte Folded Spill
; kill: def $w9 killed $w9 killed $x9
stur w9, [x29, #-24]
ldr x8, [x8, #96]
subs x8, x8, #44
sub x9, x29, #28
str x9, [sp, #40] ; 8-byte Folded Spill
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-28]
ldur x0, [x29, #-16]
mov x1, #4
str x1, [sp, #24] ; 8-byte Folded Spill
mov w2, #0
stur w2, [x29, #-44] ; 4-byte Folded Spill
bl _fseek
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x3, [x29, #-16]
mov x2, #1
str x2, [sp, #32] ; 8-byte Folded Spill
bl _fwrite
ldur w2, [x29, #-44] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
mov x1, #40
bl _fseek
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldur x3, [x29, #-16]
bl _fwrite
ldur x0, [x29, #-16]
bl _fclose
ldur w0, [x29, #-44] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.comm _me,8,3 ; @me
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: missing file to process\n"
l_.str.1: ; @.str.1
.asciz "usage: %s file1 [file2 ...]\n"
l_.str.2: ; @.str.2
.asciz "r+b"
l_.str.3: ; @.str.3
.asciz "%s: unable to open %s\n"
.comm _buf,144,3 ; @buf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rcx
movq _me@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
cmpl $2, -8(%rbp)
jge LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq (%rax), %rdi
movq _me@GOTPCREL(%rip), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -33(%rbp) ## 1-byte Spill
callq _fprintf
movq -56(%rbp), %rdx ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
## kill: def $esi killed $eax
movb -33(%rbp), %al ## 1-byte Reload
movq (%rdx), %rdi
movq (%rcx), %rdx
leaq L_.str.1(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movl $1, -20(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _process_file
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_6:
jmp LBB0_7
LBB0_7:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _process_file ## -- Begin function process_file
.p2align 4, 0x90
_process_file: ## @process_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
movq -8(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _me@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq -8(%rbp), %rcx
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_2:
movq -16(%rbp), %rdi
callq _fileno
movl %eax, %edi
movq _buf@GOTPCREL(%rip), %rsi
callq _fstat$INODE64
movq _buf@GOTPCREL(%rip), %rax
movq 96(%rax), %rax
subq $8, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -24(%rbp)
movq _buf@GOTPCREL(%rip), %rax
movq 96(%rax), %rax
subq $44, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
movq -16(%rbp), %rdi
movl $4, %esi
xorl %edx, %edx
callq _fseek
leaq -24(%rbp), %rdi
movq -16(%rbp), %rcx
movl $4, %esi
movl $1, %edx
callq _fwrite
movq -16(%rbp), %rdi
movl $40, %esi
xorl %edx, %edx
callq _fseek
leaq -28(%rbp), %rdi
movq -16(%rbp), %rcx
movl $4, %esi
movl $1, %edx
callq _fwrite
movq -16(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _me,8,3 ## @me
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: missing file to process\n"
L_.str.1: ## @.str.1
.asciz "usage: %s file1 [file2 ...]\n"
L_.str.2: ## @.str.2
.asciz "r+b"
L_.str.3: ## @.str.3
.asciz "%s: unable to open %s\n"
.comm _buf,144,3 ## @buf
.subsections_via_symbols
| the_stack_data/43480.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
ldr w9, [sp, #12]
add w8, w8, w9
subs w8, w8, #2
ldr w9, [sp, #12]
subs w9, w9, #2
mul w8, w8, w9
ldr w9, [sp, #12]
mul w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
addl -4(%rbp), %eax
subl $2, %eax
movl -4(%rbp), %ecx
subl $2, %ecx
imull %ecx, %eax
imull -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/14199016.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _some_dummy_func ; -- Begin function some_dummy_func
.p2align 2
_some_dummy_func: ; @some_dummy_func
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x10, _some_dummy_func.i@PAGE
str x10, [sp, #8] ; 8-byte Folded Spill
ldr w9, [x10, _some_dummy_func.i@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, x8
add w9, w9, #1
str w9, [x10, _some_dummy_func.i@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9, _some_dummy_func.i@PAGEOFF]
add w8, w8, #1
str w8, [x9, _some_dummy_func.i@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_some_dummy_func.i,4,2 ; @some_dummy_func.i
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "some_dummy_func: Counter = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _some_dummy_func ## -- Begin function some_dummy_func
.p2align 4, 0x90
_some_dummy_func: ## @some_dummy_func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _some_dummy_func.i(%rip), %esi
movl %esi, %eax
addl $1, %eax
movl %eax, _some_dummy_func.i(%rip)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl _some_dummy_func.i(%rip), %eax
addl $1, %eax
movl %eax, _some_dummy_func.i(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_some_dummy_func.i,4,2 ## @some_dummy_func.i
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "some_dummy_func: Counter = %d\n"
.subsections_via_symbols
| the_stack_data/106166.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bsearch ; -- Begin function bsearch
.p2align 2
_bsearch: ; @bsearch
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
str w2, [sp, #8]
str w3, [sp, #4]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
ldr w9, [sp, #8]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp]
ldr x8, [sp, #16]
ldrsw x9, [sp]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr w8, [sp]
stur w8, [x29, #-4]
b LBB0_7
LBB0_3:
ldr x8, [sp, #16]
ldrsw x9, [sp]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x0, [sp, #16]
ldr w1, [sp, #12]
ldr w8, [sp]
subs w2, w8, #1
ldr w3, [sp, #4]
bl _bsearch
stur w0, [x29, #-4]
b LBB0_7
LBB0_5:
ldr x0, [sp, #16]
ldr w8, [sp]
add w1, w8, #1
ldr w2, [sp, #8]
ldr w3, [sp, #4]
bl _bsearch
stur w0, [x29, #-4]
b LBB0_7
LBB0_6:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
adrp x8, l___const.main.arr@PAGE
add x8, x8, l___const.main.arr@PAGEOFF
ldr q0, [x8]
add x0, sp, #16
str q0, [sp, #16]
ldur q0, [x8, #12]
stur q0, [x0, #12]
mov w1, #0
mov w2, #6
mov w3, #7
bl _bsearch
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
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, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.arr
l___const.main.arr:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.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 _bsearch ## -- Begin function bsearch
.p2align 4, 0x90
_bsearch: ## @bsearch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jg LBB0_6
## %bb.1:
movl -20(%rbp), %eax
addl -24(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -32(%rbp)
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -28(%rbp), %eax
jne LBB0_3
## %bb.2:
movl -32(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_3:
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -28(%rbp), %eax
jle LBB0_5
## %bb.4:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -32(%rbp), %edx
subl $1, %edx
movl -28(%rbp), %ecx
callq _bsearch
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_5:
movq -16(%rbp), %rdi
movl -32(%rbp), %esi
addl $1, %esi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
callq _bsearch
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_6:
movl $-1, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq l___const.main.arr(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.arr+8(%rip), %rax
movq %rax, -40(%rbp)
movq l___const.main.arr+16(%rip), %rax
movq %rax, -32(%rbp)
movl l___const.main.arr+24(%rip), %eax
movl %eax, -24(%rbp)
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $6, %edx
movl $7, %ecx
callq _bsearch
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
addq $48, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.arr
l___const.main.arr:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/29391.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 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, #32] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
stur w8, [x29, #-16]
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-16]
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
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 w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "1. Sayiyi Giriniz = "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "2. Sayiyi Giriniz = "
l_.str.3: ; @.str.3
.asciz "%d - %d = %d\n"
l_.str.4: ; @.str.4
.asciz "%d + %d = %d\n"
l_.str.5: ; @.str.5
.asciz "%d %% %d = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %edx, -16(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.5(%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 "1. Sayiyi Giriniz = "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "2. Sayiyi Giriniz = "
L_.str.3: ## @.str.3
.asciz "%d - %d = %d\n"
L_.str.4: ## @.str.4
.asciz "%d + %d = %d\n"
L_.str.5: ## @.str.5
.asciz "%d %% %d = %d\n"
.subsections_via_symbols
| the_stack_data/153267199.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_board ; -- Begin function init_board
.p2align 2
_init_board: ; @init_board
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
strb wzr, [x8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
add x9, x8, #4
ldrsw x10, [sp, #4]
mov w8, #0
str w8, [x9, x10, lsl #2]
ldr x8, [sp, #8]
add x8, x8, #104
ldrsw x9, [sp, #4]
add x8, x8, x9
strb wzr, [x8]
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:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _unmarked_sum ; -- Begin function unmarked_sum
.p2align 2
_unmarked_sum: ; @unmarked_sum
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
str wzr, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #104
ldrsw x9, [sp]
add x8, x8, x9
ldrb w8, [x8]
tbz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #4
ldrsw x9, [sp]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #4]
add w8, w8, w9
str w8, [sp, #4]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_1
LBB1_6:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _is_row_complete ; -- Begin function is_row_complete
.p2align 2
_is_row_complete: ; @is_row_complete
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str wzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #104
ldr w9, [sp, #12]
mov w10, #5
mul w9, w9, w10
ldr w10, [sp, #8]
add w9, w9, w10
add x8, x8, w9, sxtw
ldrb w8, [x8]
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB2_7
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_1
LBB2_6:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB2_7
LBB2_7:
ldrb w8, [sp, #31]
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _is_col_complete ; -- Begin function is_col_complete
.p2align 2
_is_col_complete: ; @is_col_complete
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str wzr, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #104
ldr w9, [sp, #12]
ldr w10, [sp, #8]
mov w11, #5
mul w10, w10, w11
add w9, w9, w10
add x8, x8, w9, sxtw
ldrb w8, [x8]
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB3_7
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB3_1
LBB3_6:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB3_7
LBB3_7:
ldrb w8, [sp, #31]
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _is_complete ; -- Begin function is_complete
.p2align 2
_is_complete: ; @is_complete
.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]
ldrb w8, [x8]
tbz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB4_11
LBB4_2:
str wzr, [sp, #12]
b LBB4_3
LBB4_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB4_10
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=1
ldr x0, [sp, #16]
ldr w1, [sp, #12]
bl _is_row_complete
tbz w0, #0, LBB4_6
b LBB4_5
LBB4_5:
ldr x9, [sp, #16]
mov w8, #1
strb w8, [x9]
b LBB4_10
LBB4_6: ; in Loop: Header=BB4_3 Depth=1
ldr x0, [sp, #16]
ldr w1, [sp, #12]
bl _is_col_complete
tbz w0, #0, LBB4_8
b LBB4_7
LBB4_7:
ldr x9, [sp, #16]
mov w8, #1
strb w8, [x9]
b LBB4_10
LBB4_8: ; in Loop: Header=BB4_3 Depth=1
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_3
LBB4_10:
ldr x8, [sp, #16]
ldrb w8, [x8]
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB4_11
LBB4_11:
ldurb w8, [x29, #-1]
and w0, w8, #0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _mark_board ; -- Begin function mark_board
.p2align 2
_mark_board: ; @mark_board
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
str wzr, [sp]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #4
ldrsw x9, [sp]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #104
ldrsw x9, [sp]
add x9, x8, x9
mov w8, #1
strb w8, [x9]
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB5_1
LBB5_6:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _print_board ; -- Begin function print_board
.p2align 2
_print_board: ; @print_board
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-12]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB6_9
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldur w8, [x29, #-12]
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #104
ldursw x9, [x29, #-12]
add x8, x8, x9
ldrb w8, [x8]
tbz w8, #0, LBB6_6
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #4
ldursw x9, [x29, #-12]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB6_7
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #4
ldursw x9, [x29, #-12]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_1 Depth=1
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB6_1
LBB6_9:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _parse_numbers ; -- Begin function parse_numbers
.p2align 2
_parse_numbers: ; @parse_numbers
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur wzr, [x29, #-20]
str wzr, [sp, #20]
str wzr, [sp, #16]
mov w8, #1
strb w8, [sp, #12]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [sp, #12]
tbz w8, #0, LBB7_8
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
str w8, [sp, #8] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #44
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_6
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
strb wzr, [sp, #12]
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
ldrsw x9, [sp, #16]
add x0, sp, #13
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
str wzr, [sp, #16]
bl _atoi
str w0, [sp, #24]
ldr w8, [sp, #24]
ldur x9, [x29, #-16]
ldursw x10, [x29, #-20]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB7_7
LBB7_6: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #16]
add x9, sp, #13
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB7_1
LBB7_8:
ldur w0, [x29, #-20]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _parse_input ; -- Begin function parse_input
.p2align 2
_parse_input: ; @parse_input
.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, #1168
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #120]
str x1, [sp, #112]
str x2, [sp, #104]
str x3, [sp, #96]
str x4, [sp, #88]
ldr x0, [sp, #120]
mov x9, sp
add x8, sp, #136
str x8, [sp, #48] ; 8-byte Folded Spill
str x8, [x9]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fscanf
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldr x1, [sp, #112]
bl _parse_numbers
str w0, [sp, #84]
ldr w8, [sp, #84]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #132]
b LBB8_8
LBB8_2:
ldr w8, [sp, #84]
ldr x9, [sp, #104]
str w8, [x9]
str wzr, [sp, #80]
str wzr, [sp, #76]
b LBB8_3
LBB8_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #120]
mov x9, sp
add x8, sp, #72
str x8, [x9]
add x8, sp, #68
str x8, [x9, #8]
add x8, sp, #64
str x8, [x9, #16]
add x8, sp, #60
str x8, [x9, #24]
add x8, sp, #56
str x8, [x9, #32]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fscanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB8_7
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=1
ldr w8, [sp, #80]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB8_6
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=1
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
str wzr, [sp, #80]
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_3 Depth=1
ldr w8, [sp, #72]
ldr x9, [sp, #96]
ldrsw x10, [sp, #76]
mov x12, #132
mul x10, x10, x12
add x9, x9, x10
add x9, x9, #4
ldr w10, [sp, #80]
mov w11, #5
mul w10, w10, w11
add w10, w10, #0
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #68]
ldr x9, [sp, #96]
ldrsw x10, [sp, #76]
mul x10, x10, x12
add x9, x9, x10
add x9, x9, #4
ldr w10, [sp, #80]
mul w10, w10, w11
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #64]
ldr x9, [sp, #96]
ldrsw x10, [sp, #76]
mul x10, x10, x12
add x9, x9, x10
add x9, x9, #4
ldr w10, [sp, #80]
mul w10, w10, w11
add w10, w10, #2
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #60]
ldr x9, [sp, #96]
ldrsw x10, [sp, #76]
mul x10, x10, x12
add x9, x9, x10
add x9, x9, #4
ldr w10, [sp, #80]
mul w10, w10, w11
add w10, w10, #3
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #56]
ldr x9, [sp, #96]
ldrsw x10, [sp, #76]
mul x10, x10, x12
add x9, x9, x10
add x9, x9, #4
ldr w10, [sp, #80]
mul w10, w10, w11
add w10, w10, #4
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB8_3
LBB8_7:
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
ldr w8, [sp, #76]
ldr x9, [sp, #88]
str w8, [x9]
ldr x0, [sp, #120]
bl _fclose
str wzr, [sp, #132]
b LBB8_8
LBB8_8:
ldr w8, [sp, #132]
str w8, [sp, #44] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB8_10
b LBB8_9
LBB8_9:
bl ___stack_chk_fail
LBB8_10:
ldr w0, [sp, #44] ; 4-byte Folded Reload
add sp, sp, #1168
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #26896
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #6, lsl #12 ; =24576
sub sp, sp, #2320
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, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #84]
b LBB9_25
LBB9_2:
ldr x8, [sp, #72]
ldr x0, [x8, #8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fopen
str x0, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #84]
b LBB9_25
LBB9_4:
str wzr, [sp, #52]
b LBB9_5
LBB9_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
subs w8, w8, #200
cset w8, ge
tbnz w8, #0, LBB9_8
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_5 Depth=1
ldrsw x8, [sp, #52]
mov x9, #132
mul x9, x8, x9
add x8, sp, #88
add x0, x8, x9
bl _init_board
b LBB9_7
LBB9_7: ; in Loop: Header=BB9_5 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB9_5
LBB9_8:
ldr x0, [sp, #64]
add x1, sp, #6, lsl #12 ; =24576
add x1, x1, #1912
add x2, sp, #60
add x3, sp, #88
add x4, sp, #56
bl _parse_input
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB9_10
b LBB9_9
LBB9_9:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #84]
b LBB9_25
LBB9_10:
str wzr, [sp, #48]
str wzr, [sp, #44]
b LBB9_11
LBB9_11: ; =>This Loop Header: Depth=1
; Child Loop BB9_13 Depth 2
ldr w8, [sp, #44]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_24
b LBB9_12
LBB9_12: ; in Loop: Header=BB9_11 Depth=1
str wzr, [sp, #40]
b LBB9_13
LBB9_13: ; Parent Loop BB9_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldr w9, [sp, #56]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_22
b LBB9_14
LBB9_14: ; in Loop: Header=BB9_13 Depth=2
ldrsw x8, [sp, #40]
mov x9, #132
mul x9, x8, x9
add x8, sp, #88
add x0, x8, x9
bl _is_complete
tbz w0, #0, LBB9_16
b LBB9_15
LBB9_15: ; in Loop: Header=BB9_13 Depth=2
b LBB9_21
LBB9_16: ; in Loop: Header=BB9_13 Depth=2
ldrsw x8, [sp, #40]
mov x9, #132
str x9, [sp, #16] ; 8-byte Folded Spill
mul x9, x8, x9
add x8, sp, #88
str x8, [sp, #24] ; 8-byte Folded Spill
add x0, x8, x9
ldrsw x9, [sp, #44]
add x8, sp, #6, lsl #12 ; =24576
add x8, x8, #1912
ldr w1, [x8, x9, lsl #2]
bl _mark_board
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsw x9, [sp, #40]
mul x9, x9, x10
add x0, x8, x9
bl _is_complete
tbz w0, #0, LBB9_20
b LBB9_17
LBB9_17: ; in Loop: Header=BB9_13 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
ldr w8, [sp, #48]
ldr w9, [sp, #56]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB9_19
b LBB9_18
LBB9_18: ; in Loop: Header=BB9_13 Depth=2
b LBB9_21
LBB9_19:
ldrsw x8, [sp, #40]
mov x9, #132
mul x9, x8, x9
add x8, sp, #88
add x0, x8, x9
bl _unmarked_sum
str w0, [sp, #36]
ldr w8, [sp, #36]
ldrsw x10, [sp, #44]
add x9, sp, #6, lsl #12 ; =24576
add x9, x9, #1912
ldr w9, [x9, x10, lsl #2]
mul w10, w8, w9
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
str wzr, [sp, #84]
b LBB9_25
LBB9_20: ; in Loop: Header=BB9_13 Depth=2
b LBB9_21
LBB9_21: ; in Loop: Header=BB9_13 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB9_13
LBB9_22: ; in Loop: Header=BB9_11 Depth=1
b LBB9_23
LBB9_23: ; in Loop: Header=BB9_11 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB9_11
LBB9_24:
str wzr, [sp, #84]
b LBB9_25
LBB9_25:
ldr w8, [sp, #84]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB9_27
b LBB9_26
LBB9_26:
bl ___stack_chk_fail
LBB9_27:
ldr w0, [sp, #12] ; 4-byte Folded Reload
add sp, sp, #6, lsl #12 ; =24576
add sp, sp, #2320
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 "---------\n"
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "(%d)\t"
l_.str.3: ; @.str.3
.asciz "%d\t"
l_.str.4: ; @.str.4
.asciz "%s\n"
l_.str.5: ; @.str.5
.asciz "failed to parse numbers\n"
l_.str.6: ; @.str.6
.asciz "%d %d %d %d %d\n"
l_.str.7: ; @.str.7
.asciz "Missing input file"
l_.str.8: ; @.str.8
.asciz "r"
l_.str.9: ; @.str.9
.asciz "Failed to open the input file"
l_.str.10: ; @.str.10
.asciz "Failed to parse input...\n"
l_.str.11: ; @.str.11
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_board ## -- Begin function init_board
.p2align 4, 0x90
_init_board: ## @init_board
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movb $0, (%rax)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $25, -12(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl $0, 4(%rax,%rcx,4)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, 104(%rax,%rcx)
## %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:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _unmarked_sum ## -- Begin function unmarked_sum
.p2align 4, 0x90
_unmarked_sum: ## @unmarked_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)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $25, -16(%rbp)
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
testb $1, 104(%rax,%rcx)
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl 4(%rax,%rcx,4), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_6:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_row_complete ## -- Begin function is_row_complete
.p2align 4, 0x90
_is_row_complete: ## @is_row_complete
.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 $0, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -24(%rbp)
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
imull $5, -20(%rbp), %ecx
addl -24(%rbp), %ecx
movslq %ecx, %rcx
testb $1, 104(%rax,%rcx)
jne LBB2_4
## %bb.3:
movb $0, -1(%rbp)
jmp LBB2_7
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_5
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_1
LBB2_6:
movb $1, -1(%rbp)
LBB2_7:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_col_complete ## -- Begin function is_col_complete
.p2align 4, 0x90
_is_col_complete: ## @is_col_complete
.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 $0, -24(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -24(%rbp)
jge LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
imull $5, -24(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
testb $1, 104(%rax,%rcx)
jne LBB3_4
## %bb.3:
movb $0, -1(%rbp)
jmp LBB3_7
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB3_1
LBB3_6:
movb $1, -1(%rbp)
LBB3_7:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_complete ## -- Begin function is_complete
.p2align 4, 0x90
_is_complete: ## @is_complete
.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
testb $1, (%rax)
je LBB4_2
## %bb.1:
movb $1, -1(%rbp)
jmp LBB4_11
LBB4_2:
movl $0, -20(%rbp)
LBB4_3: ## =>This Inner Loop Header: Depth=1
cmpl $5, -20(%rbp)
jge LBB4_10
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
callq _is_row_complete
testb $1, %al
jne LBB4_5
jmp LBB4_6
LBB4_5:
movq -16(%rbp), %rax
movb $1, (%rax)
jmp LBB4_10
LBB4_6: ## in Loop: Header=BB4_3 Depth=1
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
callq _is_col_complete
testb $1, %al
jne LBB4_7
jmp LBB4_8
LBB4_7:
movq -16(%rbp), %rax
movb $1, (%rax)
jmp LBB4_10
LBB4_8: ## in Loop: Header=BB4_3 Depth=1
jmp LBB4_9
LBB4_9: ## in Loop: Header=BB4_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB4_3
LBB4_10:
movq -16(%rbp), %rax
movb (%rax), %al
andb $1, %al
movb %al, -1(%rbp)
LBB4_11:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mark_board ## -- Begin function mark_board
.p2align 4, 0x90
_mark_board: ## @mark_board
.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)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpl $25, -16(%rbp)
jge LBB5_6
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl 4(%rax,%rcx,4), %eax
cmpl -12(%rbp), %eax
jne LBB5_4
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb $1, 104(%rax,%rcx)
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_5
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB5_1
LBB5_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_board ## -- Begin function print_board
.p2align 4, 0x90
_print_board: ## @print_board
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpl $25, -12(%rbp)
jge LBB6_9
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movl -12(%rbp), %eax
movl $5, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB6_4
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
testb $1, 104(%rax,%rcx)
je LBB6_6
## %bb.5: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl 4(%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB6_7
LBB6_6: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl 4(%rax,%rcx,4), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_8
LBB6_8: ## in Loop: Header=BB6_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB6_1
LBB6_9:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse_numbers ## -- Begin function parse_numbers
.p2align 4, 0x90
_parse_numbers: ## @parse_numbers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movb $1, -36(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
testb $1, -36(%rbp)
je LBB7_7
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB7_3
jmp LBB7_8
LBB7_8: ## in Loop: Header=BB7_1 Depth=1
movl -40(%rbp), %eax ## 4-byte Reload
subl $44, %eax
je LBB7_4
jmp LBB7_5
LBB7_3: ## in Loop: Header=BB7_1 Depth=1
movb $0, -36(%rbp)
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
movslq -32(%rbp), %rax
movb $0, -35(%rbp,%rax)
movl $0, -32(%rbp)
leaq -35(%rbp), %rdi
callq _atoi
movl %eax, -24(%rbp)
movl -24(%rbp), %edx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB7_6
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movb (%rax,%rcx), %cl
movslq -32(%rbp), %rax
movb %cl, -35(%rbp,%rax)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB7_6: ## in Loop: Header=BB7_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB7_1
LBB7_7:
movl -20(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse_input ## -- Begin function parse_input
.p2align 4, 0x90
_parse_input: ## @parse_input
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1136, %rsp ## imm = 0x470
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1056(%rbp)
movq %rsi, -1064(%rbp)
movq %rdx, -1072(%rbp)
movq %rcx, -1080(%rbp)
movq %r8, -1088(%rbp)
movq -1056(%rbp), %rdi
leaq -1040(%rbp), %rdx
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fscanf
leaq -1040(%rbp), %rdi
movq -1064(%rbp), %rsi
callq _parse_numbers
movl %eax, -1092(%rbp)
cmpl $0, -1092(%rbp)
jg LBB8_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -1044(%rbp)
jmp LBB8_8
LBB8_2:
movl -1092(%rbp), %ecx
movq -1072(%rbp), %rax
movl %ecx, (%rax)
movl $0, -1096(%rbp)
movl $0, -1100(%rbp)
LBB8_3: ## =>This Inner Loop Header: Depth=1
movq -1056(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
leaq -1104(%rbp), %rdx
leaq -1108(%rbp), %rcx
leaq -1112(%rbp), %r8
leaq -1116(%rbp), %r9
leaq -1120(%rbp), %rax
movq %rax, (%rsp)
movb $0, %al
callq _fscanf
cmpl $-1, %eax
je LBB8_7
## %bb.4: ## in Loop: Header=BB8_3 Depth=1
cmpl $5, -1096(%rbp)
jne LBB8_6
## %bb.5: ## in Loop: Header=BB8_3 Depth=1
movl -1100(%rbp), %eax
addl $1, %eax
movl %eax, -1100(%rbp)
movl $0, -1096(%rbp)
LBB8_6: ## in Loop: Header=BB8_3 Depth=1
movl -1104(%rbp), %edx
movq -1080(%rbp), %rax
movslq -1100(%rbp), %rcx
imulq $132, %rcx, %rcx
addq %rcx, %rax
imull $5, -1096(%rbp), %ecx
addl $0, %ecx
movslq %ecx, %rcx
movl %edx, 4(%rax,%rcx,4)
movl -1108(%rbp), %edx
movq -1080(%rbp), %rax
movslq -1100(%rbp), %rcx
imulq $132, %rcx, %rcx
addq %rcx, %rax
imull $5, -1096(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl %edx, 4(%rax,%rcx,4)
movl -1112(%rbp), %edx
movq -1080(%rbp), %rax
movslq -1100(%rbp), %rcx
imulq $132, %rcx, %rcx
addq %rcx, %rax
imull $5, -1096(%rbp), %ecx
addl $2, %ecx
movslq %ecx, %rcx
movl %edx, 4(%rax,%rcx,4)
movl -1116(%rbp), %edx
movq -1080(%rbp), %rax
movslq -1100(%rbp), %rcx
imulq $132, %rcx, %rcx
addq %rcx, %rax
imull $5, -1096(%rbp), %ecx
addl $3, %ecx
movslq %ecx, %rcx
movl %edx, 4(%rax,%rcx,4)
movl -1120(%rbp), %edx
movq -1080(%rbp), %rax
movslq -1100(%rbp), %rcx
imulq $132, %rcx, %rcx
addq %rcx, %rax
imull $5, -1096(%rbp), %ecx
addl $4, %ecx
movslq %ecx, %rcx
movl %edx, 4(%rax,%rcx,4)
movl -1096(%rbp), %eax
addl $1, %eax
movl %eax, -1096(%rbp)
jmp LBB8_3
LBB8_7:
movl -1100(%rbp), %eax
addl $1, %eax
movl %eax, -1100(%rbp)
movl -1100(%rbp), %ecx
movq -1088(%rbp), %rax
movl %ecx, (%rax)
movq -1056(%rbp), %rdi
callq _fclose
movl $0, -1044(%rbp)
LBB8_8:
movl -1044(%rbp), %eax
movl %eax, -1124(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB8_10
## %bb.9:
movl -1124(%rbp), %eax ## 4-byte Reload
addq $1136, %rsp ## imm = 0x470
popq %rbp
retq
LBB8_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $26880, %eax ## imm = 0x6900
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -26820(%rbp)
movl %edi, -26824(%rbp)
movq %rsi, -26832(%rbp)
cmpl $2, -26824(%rbp)
je LBB9_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -26820(%rbp)
jmp LBB9_25
LBB9_2:
movq -26832(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.8(%rip), %rsi
callq _fopen
movq %rax, -26840(%rbp)
cmpq $0, -26840(%rbp)
jne LBB9_4
## %bb.3:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -26820(%rbp)
jmp LBB9_25
LBB9_4:
movl $0, -26852(%rbp)
LBB9_5: ## =>This Inner Loop Header: Depth=1
cmpl $200, -26852(%rbp)
jge LBB9_8
## %bb.6: ## in Loop: Header=BB9_5 Depth=1
movslq -26852(%rbp), %rax
leaq -26816(%rbp), %rdi
imulq $132, %rax, %rax
addq %rax, %rdi
callq _init_board
## %bb.7: ## in Loop: Header=BB9_5 Depth=1
movl -26852(%rbp), %eax
addl $1, %eax
movl %eax, -26852(%rbp)
jmp LBB9_5
LBB9_8:
movq -26840(%rbp), %rdi
leaq -416(%rbp), %rsi
leaq -26816(%rbp), %rcx
leaq -26844(%rbp), %rdx
leaq -26848(%rbp), %r8
callq _parse_input
cmpl $0, %eax
je LBB9_10
## %bb.9:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -26820(%rbp)
jmp LBB9_25
LBB9_10:
movl $0, -26856(%rbp)
movl $0, -26860(%rbp)
LBB9_11: ## =>This Loop Header: Depth=1
## Child Loop BB9_13 Depth 2
movl -26860(%rbp), %eax
cmpl -26844(%rbp), %eax
jge LBB9_24
## %bb.12: ## in Loop: Header=BB9_11 Depth=1
movl $0, -26864(%rbp)
LBB9_13: ## Parent Loop BB9_11 Depth=1
## => This Inner Loop Header: Depth=2
movl -26864(%rbp), %eax
cmpl -26848(%rbp), %eax
jge LBB9_22
## %bb.14: ## in Loop: Header=BB9_13 Depth=2
movslq -26864(%rbp), %rax
leaq -26816(%rbp), %rdi
imulq $132, %rax, %rax
addq %rax, %rdi
callq _is_complete
testb $1, %al
jne LBB9_15
jmp LBB9_16
LBB9_15: ## in Loop: Header=BB9_13 Depth=2
jmp LBB9_21
LBB9_16: ## in Loop: Header=BB9_13 Depth=2
movslq -26864(%rbp), %rax
leaq -26816(%rbp), %rdi
imulq $132, %rax, %rax
addq %rax, %rdi
movslq -26860(%rbp), %rax
movl -416(%rbp,%rax,4), %esi
callq _mark_board
movslq -26864(%rbp), %rax
leaq -26816(%rbp), %rdi
imulq $132, %rax, %rax
addq %rax, %rdi
callq _is_complete
testb $1, %al
jne LBB9_17
jmp LBB9_20
LBB9_17: ## in Loop: Header=BB9_13 Depth=2
movl -26856(%rbp), %eax
addl $1, %eax
movl %eax, -26856(%rbp)
movl -26856(%rbp), %eax
cmpl -26848(%rbp), %eax
je LBB9_19
## %bb.18: ## in Loop: Header=BB9_13 Depth=2
jmp LBB9_21
LBB9_19:
movslq -26864(%rbp), %rax
leaq -26816(%rbp), %rdi
imulq $132, %rax, %rax
addq %rax, %rdi
callq _unmarked_sum
movl %eax, -26868(%rbp)
movl -26868(%rbp), %esi
movslq -26860(%rbp), %rax
imull -416(%rbp,%rax,4), %esi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -26820(%rbp)
jmp LBB9_25
LBB9_20: ## in Loop: Header=BB9_13 Depth=2
jmp LBB9_21
LBB9_21: ## in Loop: Header=BB9_13 Depth=2
movl -26864(%rbp), %eax
addl $1, %eax
movl %eax, -26864(%rbp)
jmp LBB9_13
LBB9_22: ## in Loop: Header=BB9_11 Depth=1
jmp LBB9_23
LBB9_23: ## in Loop: Header=BB9_11 Depth=1
movl -26860(%rbp), %eax
addl $1, %eax
movl %eax, -26860(%rbp)
jmp LBB9_11
LBB9_24:
movl $0, -26820(%rbp)
LBB9_25:
movl -26820(%rbp), %eax
movl %eax, -26872(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB9_27
## %bb.26:
movl -26872(%rbp), %eax ## 4-byte Reload
addq $26880, %rsp ## imm = 0x6900
popq %rbp
retq
LBB9_27:
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 "\n"
L_.str.2: ## @.str.2
.asciz "(%d)\t"
L_.str.3: ## @.str.3
.asciz "%d\t"
L_.str.4: ## @.str.4
.asciz "%s\n"
L_.str.5: ## @.str.5
.asciz "failed to parse numbers\n"
L_.str.6: ## @.str.6
.asciz "%d %d %d %d %d\n"
L_.str.7: ## @.str.7
.asciz "Missing input file"
L_.str.8: ## @.str.8
.asciz "r"
L_.str.9: ## @.str.9
.asciz "Failed to open the input file"
L_.str.10: ## @.str.10
.asciz "Failed to parse input...\n"
L_.str.11: ## @.str.11
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/28019.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #12
stur w8, [x29, #-8]
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_15
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, #-8]
ldur w10, [x29, #-12]
subs w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
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 w10, [x29, #-12]
mov w9, #2
mul w9, w9, w10
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_13
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #12]
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_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_7
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_15:
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 " "
l_.str.1: ; @.str.1
.asciz "-%d,"
l_.str.2: ; @.str.2
.asciz "%d,"
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 $32, %rsp
movl $0, -4(%rbp)
movl $12, -8(%rbp)
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_15
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movl -8(%rbp), %ecx
subl -12(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl $1, -20(%rbp)
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
shll $1, %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_13
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_15:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " "
L_.str.1: ## @.str.1
.asciz "-%d,"
L_.str.2: ## @.str.2
.asciz "%d,"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/111077914.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #8]
mov x8, sp
str x8, [sp]
ldr x8, [sp]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8]
str w8, [sp, #8]
ldr w0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [sp, #8]
str w2, [sp, #4]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _baz ; -- Begin function baz
.p2align 2
_baz: ; @baz
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w0, [x8, x9, lsl #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _mat ; -- Begin function mat
.p2align 2
_mat: ; @mat
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w0, [x8, x9, lsl #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _pat ; -- Begin function pat
.p2align 2
_pat: ; @pat
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w0, [x8, x9, lsl #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _cat ; -- Begin function cat
.p2align 2
_cat: ; @cat
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldr w0, [x8, x9, lsl #2]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _bat ; -- Begin function bat
.p2align 2
_bat: ; @bat
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str x1, [sp]
ldr x8, [sp]
ldrsw x9, [sp, #12]
ldr w0, [x8, x9, lsl #2]
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 _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
leaq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
imulq $0, %rcx, %rcx
addq %rcx, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.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
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mat ## -- Begin function mat
.p2align 4, 0x90
_mat: ## @mat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pat ## -- Begin function pat
.p2align 4, 0x90
_pat: ## @pat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cat ## -- Begin function cat
.p2align 4, 0x90
_cat: ## @cat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bat ## -- Begin function bat
.p2align 4, 0x90
_bat: ## @bat
.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 -16(%rbp), %rax
movslq -4(%rbp), %rcx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/184519194.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_array ; -- Begin function print_array
.p2align 2
_print_array: ; @print_array
.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 LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #12]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _bubble_sort ; -- Begin function bubble_sort
.p2align 2
_bubble_sort: ; @bubble_sort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #1
str w8, [sp, #16]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB2_10
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldr w10, [sp, #12]
subs w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldur x0, [x29, #-8]
ldr w1, [sp, #12]
ldr w8, [sp, #12]
subs w2, w8, #1
bl _swap
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_3 Depth=2
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB2_3
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
bl _print_array
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB2_1
LBB2_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB3_7
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldursw x8, [x29, #-8]
lsl x0, x8, #2
bl _malloc
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB3_3
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
ldr x0, [sp, #24]
ldur w1, [x29, #-8]
bl _print_array
ldr x0, [sp, #24]
ldur w1, [x29, #-8]
bl _bubble_sort
ldr x0, [sp, #24]
bl _free
b LBB3_1
LBB3_7:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_array ## -- Begin function print_array
.p2align 4, 0x90
_print_array: ## @print_array
.cfi_startproc
## %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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %edx
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bubble_sort ## -- Begin function bubble_sort
.p2align 4, 0x90
_bubble_sort: ## @bubble_sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -16(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
cmpl $0, -16(%rbp)
jl LBB2_10
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -20(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, -20(%rbp)
jl LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movl -20(%rbp), %edx
subl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rdi
movl -20(%rbp), %esi
movl -20(%rbp), %edx
subl $1, %edx
callq _swap
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_3 Depth=2
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
jmp LBB2_3
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
callq _print_array
## %bb.9: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB2_1
LBB2_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $-1, %eax
je LBB3_7
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
leaq L_.str.2(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -12(%rbp), %edx
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB3_3
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rdi
movl -8(%rbp), %esi
callq _print_array
movq -24(%rbp), %rdi
movl -8(%rbp), %esi
callq _bubble_sort
movq -24(%rbp), %rdi
callq _free
jmp LBB3_1
LBB3_7:
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 "\n"
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
| the_stack_data/76699016.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _com_abort ; -- Begin function com_abort
.p2align 2
_com_abort: ; @com_abort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
b LBB0_4
LBB0_4:
b LBB0_5
LBB0_5:
bl _abort
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ABORT in %s!\n"
l_.str.1: ; @.str.1
.asciz " ErrMsg: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _com_abort ## -- Begin function com_abort
.p2align 4, 0x90
_com_abort: ## @com_abort
.cfi_startproc
## %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)
cmpq $0, -8(%rbp)
jne LBB0_2
## %bb.1:
cmpq $0, -16(%rbp)
je LBB0_5
LBB0_2:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
cmpq $0, -16(%rbp)
je LBB0_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_4:
jmp LBB0_5
LBB0_5:
callq _abort
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ABORT in %s!\n"
L_.str.1: ## @.str.1
.asciz " ErrMsg: %s\n"
.subsections_via_symbols
| the_stack_data/173578642.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1088
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #36]
str w0, [sp, #32]
str x1, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
ldr w8, [sp, #32]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #24]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #36]
b LBB0_16
LBB0_2:
add x0, sp, #56
mov w1, #48
mov x2, #1024
bl _memset
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
str w0, [sp, #20]
subs w8, w0, #0
cset w8, ge
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 w8, #1
str w8, [sp, #36]
b LBB0_16
LBB0_4:
mov x9, #3472328296227680304
add x8, sp, #40
str x9, [sp, #40]
str x9, [sp, #48]
mov w9, #2
strb w9, [sp, #41]
mov w9, #34835
strh w9, [sp, #42]
ldr x9, [sp, #24]
ldr x1, [x9, #8]
add x2, x8, #4
mov w0, #2
bl _inet_pton
subs w8, w0, #0
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #36]
b LBB0_16
LBB0_6:
ldr w0, [sp, #20]
add x1, sp, #40
mov w2, #16
bl _connect
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #36]
b LBB0_16
LBB0_8:
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #20]
add x1, sp, #56
mov x2, #1023
bl _read
mov x8, x0
mov x9, x0
str w9, [sp, #16]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_13
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #16]
add x0, sp, #56
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x1, [x8]
bl _fputs
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
b LBB0_9
LBB0_13:
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_15
LBB0_15:
str wzr, [sp, #36]
b LBB0_16
LBB0_16:
ldr w8, [sp, #36]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
bl ___stack_chk_fail
LBB0_18:
ldr w0, [sp, #12] ; 4-byte Folded Reload
add sp, sp, #1088
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n Usage: %s <ip of server> \n"
l_.str.1: ; @.str.1
.asciz "\n Error : Could not create socket \n"
l_.str.2: ; @.str.2
.asciz "\n inet_pton error occured\n"
l_.str.3: ; @.str.3
.asciz "\n Error : Connect Failed \n"
l_.str.4: ; @.str.4
.asciz "\n Error : Fputs error\n"
l_.str.5: ; @.str.5
.asciz "\n Read error \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1088, %rsp ## imm = 0x440
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1060(%rbp)
movl %edi, -1064(%rbp)
movq %rsi, -1072(%rbp)
movl $0, -1076(%rbp)
movl $0, -1080(%rbp)
cmpl $2, -1064(%rbp)
je LBB0_2
## %bb.1:
movq -1072(%rbp), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -1060(%rbp)
jmp LBB0_16
LBB0_2:
leaq -1040(%rbp), %rdi
movl $48, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -1076(%rbp)
cmpl $0, %eax
jge LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -1060(%rbp)
jmp LBB0_16
LBB0_4:
leaq -1056(%rbp), %rdi
movl $48, %esi
movl $16, %edx
callq _memset
movb $2, -1055(%rbp)
movw $-30701, -1054(%rbp) ## imm = 0x8813
movq -1072(%rbp), %rax
movq 8(%rax), %rsi
leaq -1056(%rbp), %rdx
addq $4, %rdx
movl $2, %edi
callq _inet_pton
cmpl $0, %eax
jg LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -1060(%rbp)
jmp LBB0_16
LBB0_6:
movl -1076(%rbp), %edi
leaq -1056(%rbp), %rsi
movl $16, %edx
callq _connect
cmpl $0, %eax
jge LBB0_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -1060(%rbp)
jmp LBB0_16
LBB0_8:
jmp LBB0_9
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl -1076(%rbp), %edi
leaq -1040(%rbp), %rsi
movl $1023, %edx ## imm = 0x3FF
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -1080(%rbp)
cmpl $0, %eax
jle LBB0_13
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movslq -1080(%rbp), %rax
movb $0, -1040(%rbp,%rax)
leaq -1040(%rbp), %rdi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
cmpl $-1, %eax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_9
LBB0_13:
cmpl $0, -1080(%rbp)
jge LBB0_15
## %bb.14:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_15:
movl $0, -1060(%rbp)
LBB0_16:
movl -1060(%rbp), %eax
movl %eax, -1084(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_18
## %bb.17:
movl -1084(%rbp), %eax ## 4-byte Reload
addq $1088, %rsp ## imm = 0x440
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n Usage: %s <ip of server> \n"
L_.str.1: ## @.str.1
.asciz "\n Error : Could not create socket \n"
L_.str.2: ## @.str.2
.asciz "\n inet_pton error occured\n"
L_.str.3: ## @.str.3
.asciz "\n Error : Connect Failed \n"
L_.str.4: ## @.str.4
.asciz "\n Error : Fputs error\n"
L_.str.5: ## @.str.5
.asciz "\n Read error \n"
.subsections_via_symbols
| the_stack_data/25138083.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putw ; -- Begin function putw
.p2align 2
_putw: ; @putw
.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 x8, x0
add x0, sp, #8
str w8, [sp, #8]
str x1, [sp]
ldr x3, [sp]
mov x1, #4
mov x2, #1
bl _fwrite
subs x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putw ## -- Begin function putw
.p2align 4, 0x90
_putw: ## @putw
.cfi_startproc
## %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)
movq %rsi, -16(%rbp)
leaq -8(%rbp), %rdi
movq -16(%rbp), %rcx
movl $4, %esi
movl $1, %edx
callq _fwrite
cmpq $1, %rax
je LBB0_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/97013190.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-36] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
sub x8, x29, #20
stur x8, [x29, #-32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [sp, #40] ; 8-byte Folded Spill
str x8, [x9]
sub x8, x29, #12
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9, #8]
sub x8, x29, #16
str x8, [sp, #48] ; 8-byte Folded Spill
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _max
ldr x1, [sp, #48] ; 8-byte Folded Reload
stur w0, [x29, #-20]
ldur x0, [x29, #-32]
bl _max
stur w0, [x29, #-20]
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-36] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _max ; -- Begin function max
.p2align 2
_max: ; @max
.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]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #24]
ldr w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_3
LBB1_2:
ldr x8, [sp, #16]
ldr w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_3
LBB1_3:
ldr w0, [sp, #12] ; 4-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\350\257\267\350\276\223\345\205\245a,b,c:\n"
l_.str.1: ; @.str.1
.asciz "%d,%d,%d"
l_.str.2: ; @.str.2
.asciz "max=%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq -20(%rbp), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
movb $0, %al
callq _scanf
leaq -8(%rbp), %rdi
leaq -12(%rbp), %rsi
callq _max
movl %eax, -20(%rbp)
movq -32(%rbp), %rdi
leaq -16(%rbp), %rsi
callq _max
movl %eax, -20(%rbp)
movl -20(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _max ## -- Begin function max
.p2align 4, 0x90
_max: ## @max
.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
cmpl (%rcx), %eax
jle LBB1_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB1_3
LBB1_2:
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
LBB1_3:
movl -20(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\350\257\267\350\276\223\345\205\245a,b,c:\n"
L_.str.1: ## @.str.1
.asciz "%d,%d,%d"
L_.str.2: ## @.str.2
.asciz "max=%d\n"
.subsections_via_symbols
| the_stack_data/82950767.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pypy_setup_profiling ; -- Begin function pypy_setup_profiling
.p2align 2
_pypy_setup_profiling: ; @pypy_setup_profiling
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _pypy_teardown_profiling ; -- Begin function pypy_teardown_profiling
.p2align 2
_pypy_teardown_profiling: ; @pypy_teardown_profiling
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pypy_setup_profiling ## -- Begin function pypy_setup_profiling
.p2align 4, 0x90
_pypy_setup_profiling: ## @pypy_setup_profiling
.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 _pypy_teardown_profiling ## -- Begin function pypy_teardown_profiling
.p2align 4, 0x90
_pypy_teardown_profiling: ## @pypy_teardown_profiling
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/738012.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 world, This is Yanadi Prudhvi"
.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 world, This is Yanadi Prudhvi"
.subsections_via_symbols
| the_stack_data/6998.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-28] ; 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]
sub x8, x29, #16
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-16]
add w8, w8, w9
scvtf d0, w8
fmov d1, #3.00000000
fdiv d0, d0, d1
stur d0, [x29, #-24]
ldur d0, [x29, #-24]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d%d"
l_.str.1: ; @.str.1
.asciz "%.3lf\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 0x4008000000000000 ## double 3
.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
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
addl -16(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d%d"
L_.str.1: ## @.str.1
.asciz "%.3lf\n"
.subsections_via_symbols
| the_stack_data/98917.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bootloader_ana_super_wdt_reset_config ; -- Begin function bootloader_ana_super_wdt_reset_config
.p2align 2
_bootloader_ana_super_wdt_reset_config: ; @bootloader_ana_super_wdt_reset_config
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
and w8, w0, #0x1
strb w8, [sp, #15]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _bootloader_ana_bod_reset_config ; -- Begin function bootloader_ana_bod_reset_config
.p2align 2
_bootloader_ana_bod_reset_config: ; @bootloader_ana_bod_reset_config
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
and w8, w0, #0x1
strb w8, [sp, #15]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _bootloader_ana_clock_glitch_reset_config ; -- Begin function bootloader_ana_clock_glitch_reset_config
.p2align 2
_bootloader_ana_clock_glitch_reset_config: ; @bootloader_ana_clock_glitch_reset_config
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
and w8, w0, #0x1
strb w8, [sp, #15]
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 _bootloader_ana_super_wdt_reset_config ## -- Begin function bootloader_ana_super_wdt_reset_config
.p2align 4, 0x90
_bootloader_ana_super_wdt_reset_config: ## @bootloader_ana_super_wdt_reset_config
.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
andb $1, %al
movb %al, -1(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bootloader_ana_bod_reset_config ## -- Begin function bootloader_ana_bod_reset_config
.p2align 4, 0x90
_bootloader_ana_bod_reset_config: ## @bootloader_ana_bod_reset_config
.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
andb $1, %al
movb %al, -1(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bootloader_ana_clock_glitch_reset_config ## -- Begin function bootloader_ana_clock_glitch_reset_config
.p2align 4, 0x90
_bootloader_ana_clock_glitch_reset_config: ## @bootloader_ana_clock_glitch_reset_config
.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
andb $1, %al
movb %al, -1(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/97012218.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f0 ; -- Begin function f0
.p2align 2
_f0: ; @f0
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, l___const.f0.result@PAGE
add x8, x8, l___const.f0.result@PAGEOFF
ldr q0, [x8]
str q0, [sp]
ldr x0, [sp]
ldr x1, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _f1 ; -- Begin function f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
str x1, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
b LBB1_1
.cfi_endproc
; -- End function
.globl _f5 ; -- Begin function f5
.p2align 2
_f5: ; @f5
.cfi_startproc
; %bb.0:
movi d0, #0000000000000000
ret
.cfi_endproc
; -- End function
.globl _f6 ; -- Begin function f6
.p2align 2
_f6: ; @f6
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
strb w0, [sp, #31]
strh w1, [sp, #28]
str w2, [sp, #24]
str x3, [sp, #16]
str x4, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _f8_1 ; -- Begin function f8_1
.p2align 2
_f8_1: ; @f8_1
.cfi_startproc
; %bb.0:
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
b LBB4_1
.cfi_endproc
; -- End function
.globl _f8_2 ; -- Begin function f8_2
.p2align 2
_f8_2: ; @f8_2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _f9 ; -- Begin function f9
.p2align 2
_f9: ; @f9
.cfi_startproc
; %bb.0:
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
b LBB6_1
.cfi_endproc
; -- End function
.globl _f10 ; -- Begin function f10
.p2align 2
_f10: ; @f10
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _f11 ; -- Begin function f11
.p2align 2
_f11: ; @f11
.cfi_startproc
; %bb.0:
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
b LBB8_1
.cfi_endproc
; -- End function
.globl _f12_0 ; -- Begin function f12_0
.p2align 2
_f12_0: ; @f12_0
.cfi_startproc
; %bb.0:
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
b LBB9_1
.cfi_endproc
; -- End function
.globl _f12_1 ; -- Begin function f12_1
.p2align 2
_f12_1: ; @f12_1
.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
; implicit-def: $q0
mov.d v0[0], x0
mov.d v0[1], x1
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str q0, [sp]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
bl ___stack_chk_fail
LBB10_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _f13 ; -- Begin function f13
.p2align 2
_f13: ; @f13
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x4, [sp, #32]
str x5, [sp, #40]
str w0, [sp, #28]
str w1, [sp, #24]
str w2, [sp, #20]
str w3, [sp, #16]
str w6, [sp, #12]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
b LBB11_1
.cfi_endproc
; -- End function
.globl _f20 ; -- Begin function f20
.p2align 2
_f20: ; @f20
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _f9122143 ; -- Begin function f9122143
.p2align 2
_f9122143: ; @f9122143
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _ss@GOTPAGE
ldr x8, [x8, _ss@GOTPAGEOFF]
ldr x0, [x8]
bl _func
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 3 ; @__const.f0.result
l___const.f0.result:
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.space 4
.comm _ss,8,3 ; @ss
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f0 ## -- Begin function f0
.p2align 4, 0x90
_f0: ## @f0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movups L___const.f0.result(%rip), %xmm0
movaps %xmm0, -16(%rbp)
movq -16(%rbp), %rax
movq -8(%rbp), %rdx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f1 ## -- Begin function f1
.p2align 4, 0x90
_f1: ## @f1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
jmp LBB1_1
.cfi_endproc
## -- End function
.globl _f5 ## -- Begin function f5
.p2align 4, 0x90
_f5: ## @f5
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
fldz
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f6 ## -- Begin function f6
.p2align 4, 0x90
_f6: ## @f6
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %si, %ax
movb %dil, %sil
movb %sil, -1(%rbp)
movw %ax, -4(%rbp)
movl %edx, -8(%rbp)
movq %rcx, -16(%rbp)
movq %r8, -24(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f8_1 ## -- Begin function f8_1
.p2align 4, 0x90
_f8_1: ## @f8_1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
jmp LBB4_1
LBB4_1: ## =>This Inner Loop Header: Depth=1
jmp LBB4_1
.cfi_endproc
## -- End function
.globl _f8_2 ## -- Begin function f8_2
.p2align 4, 0x90
_f8_2: ## @f8_2
.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)
movsd %xmm0, -8(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f9 ## -- Begin function f9
.p2align 4, 0x90
_f9: ## @f9
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
jmp LBB6_1
LBB6_1: ## =>This Inner Loop Header: Depth=1
jmp LBB6_1
.cfi_endproc
## -- End function
.globl _f10 ## -- Begin function f10
.p2align 4, 0x90
_f10: ## @f10
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f11 ## -- Begin function f11
.p2align 4, 0x90
_f11: ## @f11
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
jmp LBB8_1
LBB8_1: ## =>This Inner Loop Header: Depth=1
jmp LBB8_1
.cfi_endproc
## -- End function
.globl _f12_0 ## -- Begin function f12_0
.p2align 4, 0x90
_f12_0: ## @f12_0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
jmp LBB9_1
LBB9_1: ## =>This Inner Loop Header: Depth=1
jmp LBB9_1
.cfi_endproc
## -- End function
.globl _f12_1 ## -- Begin function f12_1
.p2align 4, 0x90
_f12_1: ## @f12_1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -32(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB10_2
## %bb.1:
addq $32, %rsp
popq %rbp
retq
LBB10_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f13 ## -- Begin function f13
.p2align 4, 0x90
_f13: ## @f13
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, -4(%rbp)
movl %edx, -8(%rbp)
movl %ecx, -12(%rbp)
movl %r8d, -16(%rbp)
movl %r9d, -20(%rbp)
LBB11_1: ## =>This Inner Loop Header: Depth=1
jmp LBB11_1
.cfi_endproc
## -- End function
.globl _f20 ## -- Begin function f20
.p2align 4, 0x90
_f20: ## @f20
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
andq $-32, %rsp
movq %rbp, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f9122143 ## -- Begin function f9122143
.p2align 4, 0x90
_f9122143: ## @f9122143
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ss@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _ss@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
callq _func
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 3 ## @__const.f0.result
L___const.f0.result:
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.space 4
.comm _ss,16,4 ## @ss
.subsections_via_symbols
| the_stack_data/1186535.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
lsl w8, w8, #2
add w12, w8, #1
ldur w8, [x29, #-8]
lsl w8, w8, #2
add w11, w8, #2
ldur w8, [x29, #-8]
lsl w8, w8, #2
add w10, w8, #3
mov x9, sp
; implicit-def: $x8
mov x8, x12
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d %d PUM\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 -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
shll $2, %esi
addl $1, %esi
movl -8(%rbp), %edx
shll $2, %edx
addl $2, %edx
movl -8(%rbp), %ecx
shll $2, %ecx
addl $3, %ecx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d %d PUM\n"
.subsections_via_symbols
| the_stack_data/242330574.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mem_align ; -- Begin function mem_align
.p2align 2
_mem_align: ; @mem_align
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
mov x8, #8
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x10, [sp, #8]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
ldr x10, [sp, #16]
ldr x12, [sp, #8]
udiv x11, x10, x12
mul x11, x11, x12
subs x10, x10, x11
subs x9, x9, x10
add x8, x8, x9
str x8, [sp, #24]
b LBB0_3
LBB0_2:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB0_3
LBB0_3:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mem_align ## -- Begin function mem_align
.p2align 4, 0x90
_mem_align: ## @mem_align
.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, -24(%rbp)
movq -16(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq -24(%rbp)
cmpq $0, %rdx
je LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
xorl %edx, %edx
## kill: def $rdx killed $edx
divq -24(%rbp)
movq -32(%rbp), %rax ## 8-byte Reload
subq %rdx, %rcx
addq %rcx, %rax
movq %rax, -8(%rbp)
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_3:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/140764357.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, #2320
add x8, sp, #128
str x8, [sp, #104] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
add x0, sp, #2072
str x0, [sp, #16] ; 8-byte Folded Spill
mov w1, #0
mov x2, #240
str x2, [sp, #8] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w1, #89
mov x2, #224
str x2, [sp, #24] ; 8-byte Folded Spill
bl _memset
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x2, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
str x1, [sp, #72] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #104] ; 8-byte Folded Reload
add x10, sp, #2040
str x10, [sp, #112] ; 8-byte Folded Spill
adrp x10, l_.str.1@PAGE
add x10, x10, l_.str.1@PAGEOFF
str x10, [x8, #1912]
adrp x10, l_.str.2@PAGE
add x10, x10, l_.str.2@PAGEOFF
str x10, [x8, #1920]
str x9, [x8, #1928]
; kill: def $x9 killed $xzr
str xzr, [x8, #1936]
add x0, sp, #1816
str x0, [sp, #80] ; 8-byte Folded Spill
adrp x1, l___const.main.messages@PAGE
add x1, x1, l___const.main.messages@PAGEOFF
bl _memcpy
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _strlen
ldr x8, [sp, #80] ; 8-byte Folded Reload
add x0, x8, x0
mov w1, #65
str w1, [sp, #44] ; 4-byte Folded Spill
mov x2, #184
bl _memset
add x0, sp, #1736
str x0, [sp, #88] ; 8-byte Folded Spill
adrp x1, l___const.main.telephone@PAGE
add x1, x1, l___const.main.telephone@PAGEOFF
mov x2, #80
str x2, [sp, #32] ; 8-byte Folded Spill
bl _memcpy
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _strlen
ldr w1, [sp, #44] ; 4-byte Folded Reload
ldr x8, [sp, #88] ; 8-byte Folded Reload
add x0, x8, x0
mov x2, #40
str x2, [sp, #48] ; 8-byte Folded Spill
bl _memset
ldr x2, [sp, #32] ; 8-byte Folded Reload
add x0, sp, #1656
str x0, [sp, #96] ; 8-byte Folded Spill
adrp x1, l___const.main.measurement@PAGE
add x1, x1, l___const.main.measurement@PAGEOFF
bl _memcpy
ldr x0, [sp, #96] ; 8-byte Folded Reload
bl _strlen
ldr w1, [sp, #44] ; 4-byte Folded Reload
ldr x2, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
add x0, x8, x0
bl _memset
add x0, sp, #376
str x0, [sp, #64] ; 8-byte Folded Spill
mov x1, #1280
str x1, [sp, #56] ; 8-byte Folded Spill
bl _bzero
ldr x0, [sp, #64] ; 8-byte Folded Reload
mov w1, #88
mov x2, #1231
bl _memset
ldr x0, [sp, #64] ; 8-byte Folded Reload
ldr x2, [sp, #56] ; 8-byte Folded Reload
ldr x1, [sp, #72] ; 8-byte Folded Reload
bl ___strcat_chk
ldr x13, [sp, #64] ; 8-byte Folded Reload
ldr x12, [sp, #72] ; 8-byte Folded Reload
ldr x11, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #88] ; 8-byte Folded Reload
ldr x9, [sp, #96] ; 8-byte Folded Reload
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x1, [sp, #112] ; 8-byte Folded Reload
add x2, sp, #128
str x13, [sp, #128]
mov x13, x12
str x13, [sp, #136]
mov x13, x12
str x13, [sp, #144]
mov x13, x12
str x13, [sp, #152]
mov x13, x12
str x13, [sp, #160]
mov x13, x12
str x13, [sp, #168]
mov x13, x12
str x13, [sp, #176]
mov x13, x12
str x13, [sp, #184]
mov x13, x12
str x13, [sp, #192]
adrp x13, l_.str.3@PAGE
add x13, x13, l_.str.3@PAGEOFF
str x13, [sp, #200]
mov x13, x12
str x13, [sp, #208]
mov x13, x12
str x13, [sp, #216]
mov x13, x12
str x13, [sp, #224]
mov x13, x12
str x13, [sp, #232]
mov x13, x12
str x13, [sp, #240]
mov x13, x12
str x13, [sp, #248]
mov x13, x12
str x13, [x8, #128]
mov x13, x12
str x13, [x8, #136]
mov x13, x12
str x13, [x8, #144]
mov x13, x12
str x13, [x8, #152]
mov x13, x12
str x13, [x8, #160]
mov x13, x12
str x13, [x8, #168]
mov x13, x12
str x13, [x8, #176]
mov x13, x12
str x13, [x8, #184]
str x12, [x8, #192]
adrp x12, l_.str.4@PAGE
add x12, x12, l_.str.4@PAGEOFF
str x12, [x8, #200]
adrp x12, l_.str.5@PAGE
add x12, x12, l_.str.5@PAGEOFF
str x12, [x8, #208]
str x11, [x8, #216]
str x10, [x8, #224]
str x9, [x8, #232]
str xzr, [x8, #240]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _execve
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
add sp, sp, #2320
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 "\\"
l_.str.1: ; @.str.1
.asciz "sudoedit"
l_.str.2: ; @.str.2
.asciz "-s"
.section __TEXT,__const
l___const.main.messages: ; @__const.main.messages
.asciz "LC_MESSAGES=en_US.UTF-8@\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
l___const.main.telephone: ; @__const.main.telephone
.asciz "LC_TELEPHONE=C.UTF-8@\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
l___const.main.measurement: ; @__const.main.measurement
.asciz "LC_MEASUREMENT=C.UTF-8@\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "XXXXXXX\\"
l_.str.4: ; @.str.4
.asciz "x/x\\"
l_.str.5: ; @.str.5
.asciz "Z"
l_.str.6: ; @.str.6
.asciz "/usr/bin/sudoedit"
.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 $2240, %rsp ## imm = 0x8C0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -256(%rbp), %rdi
xorl %esi, %esi
movl $240, %edx
callq _memset
leaq -256(%rbp), %rdi
movl $89, %esi
movl $224, %edx
callq _memset
leaq -256(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $240, %edx
callq ___strcat_chk
leaq L_.str.1(%rip), %rax
movq %rax, -288(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -280(%rbp)
leaq -256(%rbp), %rax
movq %rax, -272(%rbp)
movq $0, -264(%rbp)
leaq -512(%rbp), %rdi
leaq l___const.main.messages(%rip), %rsi
movl $224, %edx
callq _memcpy
leaq -512(%rbp), %rax
movq %rax, -2240(%rbp) ## 8-byte Spill
leaq -512(%rbp), %rdi
callq _strlen
movq -2240(%rbp), %rdi ## 8-byte Reload
addq %rax, %rdi
movl $65, %esi
movl $184, %edx
callq _memset
leaq -592(%rbp), %rdi
leaq l___const.main.telephone(%rip), %rsi
movl $80, %edx
callq _memcpy
leaq -592(%rbp), %rax
movq %rax, -2232(%rbp) ## 8-byte Spill
leaq -592(%rbp), %rdi
callq _strlen
movq -2232(%rbp), %rdi ## 8-byte Reload
addq %rax, %rdi
movl $65, %esi
movl $40, %edx
callq _memset
leaq -672(%rbp), %rdi
leaq l___const.main.measurement(%rip), %rsi
movl $80, %edx
callq _memcpy
leaq -672(%rbp), %rax
movq %rax, -2224(%rbp) ## 8-byte Spill
leaq -672(%rbp), %rdi
callq _strlen
movq -2224(%rbp), %rdi ## 8-byte Reload
addq %rax, %rdi
movl $65, %esi
movl $40, %edx
callq _memset
leaq -1952(%rbp), %rdi
xorl %esi, %esi
movl $1280, %edx ## imm = 0x500
callq _memset
leaq -1952(%rbp), %rdi
movl $88, %esi
movl $1231, %edx ## imm = 0x4CF
callq _memset
leaq -1952(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $1280, %edx ## imm = 0x500
callq ___strcat_chk
leaq -1952(%rbp), %rax
movq %rax, -2208(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2200(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2192(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2184(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2176(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2168(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2160(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2152(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2144(%rbp)
leaq L_.str.3(%rip), %rax
movq %rax, -2136(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2128(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2120(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2112(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2104(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2096(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2088(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2080(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2072(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2064(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2056(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2048(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2040(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2032(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2024(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -2016(%rbp)
leaq L_.str.4(%rip), %rax
movq %rax, -2008(%rbp)
leaq L_.str.5(%rip), %rax
movq %rax, -2000(%rbp)
leaq -512(%rbp), %rax
movq %rax, -1992(%rbp)
leaq -592(%rbp), %rax
movq %rax, -1984(%rbp)
leaq -672(%rbp), %rax
movq %rax, -1976(%rbp)
movq $0, -1968(%rbp)
leaq -288(%rbp), %rsi
leaq -2208(%rbp), %rdx
leaq L_.str.6(%rip), %rdi
callq _execve
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
addq $2240, %rsp ## imm = 0x8C0
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\\"
L_.str.1: ## @.str.1
.asciz "sudoedit"
L_.str.2: ## @.str.2
.asciz "-s"
.section __TEXT,__const
.p2align 4 ## @__const.main.messages
l___const.main.messages:
.asciz "LC_MESSAGES=en_US.UTF-8@\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.p2align 4 ## @__const.main.telephone
l___const.main.telephone:
.asciz "LC_TELEPHONE=C.UTF-8@\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.p2align 4 ## @__const.main.measurement
l___const.main.measurement:
.asciz "LC_MEASUREMENT=C.UTF-8@\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "XXXXXXX\\"
L_.str.4: ## @.str.4
.asciz "x/x\\"
L_.str.5: ## @.str.5
.asciz "Z"
L_.str.6: ## @.str.6
.asciz "/usr/bin/sudoedit"
.subsections_via_symbols
| the_stack_data/51889.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _EYR_ImageLogo ; @EYR_ImageLogo
_EYR_ImageLogo:
.ascii "\377\001\375\375\375\r\r\r\r\r\r\r\r\r\r\315\315\315\315\315\315\315\315\315\315\315\315\375\375\375\375==\035\035\r\r\r-\355\355\315\335\035}\375\375\375\375\375\375\375\375\375\r\r\r\r\r\r\r\r\r\r\r\r\355\355\355\355\315\335\335\235=}\375\375\375\375\375\375\001\377\377\000\377\377\377\000\000\000\000\000\000\000\000\000\000\347\347\347\347\347\347\347\347\347\347\347\347\377\377\377\360\200\000\000\000\000\000\000\000\001\017\017g\360\374\377\377\377\177\177\177\177\377\377\000\000\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\377\376\000\007\037\377\377\377\000\377\377\000\377\377\377\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\017\007\301\370\376\370\340\300\000\000\000\000\000\000\000\000\007\007\021x\376\377\377\377\377\377\000\000\000\000\000\000\000\000\000\000\000\000\037?\177\177\177?\277\237\317\307\360\370\376\377\377\377\000\377\377\000\377\377\377\340\340\340\340\340\340\340\340\340\340\347\347\347\347\347\347\347\347\347\347\347\347\377\376\360\361\347\357\357\357\357\347\366\360\360\340\340\340\340\340\340\340\340\340\341\357\357\377\377\340\340\340\340\340\340\340\340\340\340\340\340\377\377\376\370\371\361\367\347\347\357\357\377\377\377\377\377\000\377\377\000\377\377\377\377\377\203\377\203\377\377\003\307?\307\003\377\377\017\357\357\377\007\373\373\373w\377\377\003\357\357\017\377\377\017\377\377\017\377\377\017\357\357\017\377\377\017\357O\377\377\003\277O\377\377\017\377\377\017\377\377\017\257\217\377\377\017\257\217\377\377\203\377\203\377\377\377\377\377\000\377\377\200\277\277\277\277\277\276\277\276\277\277\276\277\276\277\276\277\277\276\277\277\277\277\276\276\276\277\277\277\276\277\277\276\277\277\276\276\276\276\277\277\276\277\277\276\277\277\276\276\276\277\277\276\277\276\276\277\276\276\276\276\277\277\276\276\276\277\277\276\276\276\277\277\276\277\276\277\277\277\277\277\200\377"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _EYR_ImageLogo ## @EYR_ImageLogo
.p2align 4
_EYR_ImageLogo:
.ascii "\377\001\375\375\375\r\r\r\r\r\r\r\r\r\r\315\315\315\315\315\315\315\315\315\315\315\315\375\375\375\375==\035\035\r\r\r-\355\355\315\335\035}\375\375\375\375\375\375\375\375\375\r\r\r\r\r\r\r\r\r\r\r\r\355\355\355\355\315\335\335\235=}\375\375\375\375\375\375\001\377\377\000\377\377\377\000\000\000\000\000\000\000\000\000\000\347\347\347\347\347\347\347\347\347\347\347\347\377\377\377\360\200\000\000\000\000\000\000\000\001\017\017g\360\374\377\377\377\177\177\177\177\377\377\000\000\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\377\376\000\007\037\377\377\377\000\377\377\000\377\377\377\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\017\007\301\370\376\370\340\300\000\000\000\000\000\000\000\000\007\007\021x\376\377\377\377\377\377\000\000\000\000\000\000\000\000\000\000\000\000\037?\177\177\177?\277\237\317\307\360\370\376\377\377\377\000\377\377\000\377\377\377\340\340\340\340\340\340\340\340\340\340\347\347\347\347\347\347\347\347\347\347\347\347\377\376\360\361\347\357\357\357\357\347\366\360\360\340\340\340\340\340\340\340\340\340\341\357\357\377\377\340\340\340\340\340\340\340\340\340\340\340\340\377\377\376\370\371\361\367\347\347\357\357\377\377\377\377\377\000\377\377\000\377\377\377\377\377\203\377\203\377\377\003\307?\307\003\377\377\017\357\357\377\007\373\373\373w\377\377\003\357\357\017\377\377\017\377\377\017\377\377\017\357\357\017\377\377\017\357O\377\377\003\277O\377\377\017\377\377\017\377\377\017\257\217\377\377\017\257\217\377\377\203\377\203\377\377\377\377\377\000\377\377\200\277\277\277\277\277\276\277\276\277\277\276\277\276\277\276\277\277\276\277\277\277\277\276\276\276\277\277\277\276\277\277\276\277\277\276\276\276\276\277\277\276\277\277\276\277\277\276\276\276\277\277\276\277\276\276\277\276\276\276\276\277\277\276\276\276\277\277\276\276\276\277\277\276\277\276\277\277\277\277\277\200\377"
.subsections_via_symbols
| the_stack_data/1189523.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _linemod ; -- Begin function linemod
.p2align 2
_linemod: ; @linemod
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _linemod ## -- Begin function linemod
.p2align 4, 0x90
_linemod: ## @linemod
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/97901.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input ; -- Begin function input
.p2align 2
_input: ; @input
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _check_and_print ; -- Begin function check_and_print
.p2align 2
_check_and_print: ; @check_and_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
str x0, [sp, #8]
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #65
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #25
cset w8, hi
tbnz w8, #0, LBB1_28
; %bb.1:
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_29
LBB1_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_29
LBB1_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_29
LBB1_5:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_29
LBB1_6:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_29
LBB1_7:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB1_29
LBB1_8:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB1_29
LBB1_9:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB1_29
LBB1_10:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB1_29
LBB1_11:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB1_29
LBB1_12:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB1_29
LBB1_13:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB1_29
LBB1_14:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB1_29
LBB1_15:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB1_29
LBB1_16:
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
b LBB1_29
LBB1_17:
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
b LBB1_29
LBB1_18:
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
b LBB1_29
LBB1_19:
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
b LBB1_29
LBB1_20:
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB1_29
LBB1_21:
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
b LBB1_29
LBB1_22:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
b LBB1_29
LBB1_23:
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB1_29
LBB1_24:
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
b LBB1_29
LBB1_25:
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
b LBB1_29
LBB1_26:
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
b LBB1_29
LBB1_27:
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
b LBB1_29
LBB1_28:
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
b LBB1_29
LBB1_29:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_2-Ltmp0
.long LBB1_3-Ltmp0
.long LBB1_4-Ltmp0
.long LBB1_5-Ltmp0
.long LBB1_6-Ltmp0
.long LBB1_7-Ltmp0
.long LBB1_8-Ltmp0
.long LBB1_9-Ltmp0
.long LBB1_10-Ltmp0
.long LBB1_11-Ltmp0
.long LBB1_12-Ltmp0
.long LBB1_13-Ltmp0
.long LBB1_14-Ltmp0
.long LBB1_15-Ltmp0
.long LBB1_16-Ltmp0
.long LBB1_17-Ltmp0
.long LBB1_18-Ltmp0
.long LBB1_19-Ltmp0
.long LBB1_20-Ltmp0
.long LBB1_21-Ltmp0
.long LBB1_22-Ltmp0
.long LBB1_23-Ltmp0
.long LBB1_24-Ltmp0
.long LBB1_25-Ltmp0
.long LBB1_26-Ltmp0
.long LBB1_27-Ltmp0
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #8]
add x0, sp, #13
str x0, [sp] ; 8-byte Folded Spill
bl _input
ldr x0, [sp] ; 8-byte Folded Reload
bl _check_and_print
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl ___stack_chk_fail
LBB2_2:
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 "%s"
l_.str.1: ; @.str.1
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\345\214\227\345\270\202\n"
l_.str.2: ; @.str.2
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\344\270\255\345\270\202\n"
l_.str.3: ; @.str.3
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\237\272\351\232\206\345\270\202\n"
l_.str.4: ; @.str.4
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\345\215\227\345\270\202\n"
l_.str.5: ; @.str.5
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\253\230\351\233\204\345\270\202\n"
l_.str.6: ; @.str.6
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\226\260\345\214\227\345\270\202\n"
l_.str.7: ; @.str.7
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\256\234\350\230\255\347\270\243\n"
l_.str.8: ; @.str.8
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\241\203\345\234\222\347\270\243\n"
l_.str.9: ; @.str.9
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\230\211\347\276\251\345\270\202\n"
l_.str.10: ; @.str.10
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\226\260\347\253\271\347\270\243\n"
l_.str.11: ; @.str.11
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\213\227\346\240\227\347\270\243\n"
l_.str.12: ; @.str.12
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\344\270\255\347\270\243\n"
l_.str.13: ; @.str.13
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\215\227\346\212\225\347\270\243\n"
l_.str.14: ; @.str.14
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\275\260\345\214\226\347\270\243\n"
l_.str.15: ; @.str.15
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\226\260\347\253\271\345\270\202\n"
l_.str.16: ; @.str.16
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\233\262\346\236\227\347\270\243\n"
l_.str.17: ; @.str.17
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\230\211\347\276\251\347\270\243\n"
l_.str.18: ; @.str.18
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\345\215\227\347\270\243\n"
l_.str.19: ; @.str.19
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\253\230\351\233\204\347\270\243\n"
l_.str.20: ; @.str.20
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\261\217\346\235\261\347\270\243\n"
l_.str.21: ; @.str.21
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\212\261\350\223\256\347\270\243\n"
l_.str.22: ; @.str.22
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\346\235\261\347\270\243\n"
l_.str.23: ; @.str.23
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\207\221\351\226\200\347\270\243\n"
l_.str.24: ; @.str.24
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\276\216\346\271\226\347\270\243\n"
l_.str.25: ; @.str.25
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\231\275\346\230\216\345\261\261\347\256\241\347\220\206\345\261\200\n"
l_.str.26: ; @.str.26
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\200\243\346\261\237\347\270\243\n"
l_.str.27: ; @.str.27
.asciz "\346\240\274\345\274\217\351\214\257\350\252\244!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input ## -- Begin function input
.p2align 4, 0x90
_input: ## @input
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_and_print ## -- Begin function check_and_print
.p2align 4, 0x90
_check_and_print: ## @check_and_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)
movq -8(%rbp), %rax
movsbl (%rax), %eax
addl $-65, %eax
movl %eax, %ecx
movq %rcx, -16(%rbp) ## 8-byte Spill
subl $25, %eax
ja LBB1_27
## %bb.29:
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_4:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_5:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_6:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_7:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_8:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_9:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_10:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_11:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_12:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_13:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_14:
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_15:
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_16:
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_17:
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_18:
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_19:
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_20:
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_21:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_22:
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_23:
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_24:
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_25:
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_26:
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_28
LBB1_27:
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _printf
LBB1_28:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_1, LBB1_1-LJTI1_0
.set L1_0_set_2, LBB1_2-LJTI1_0
.set L1_0_set_3, LBB1_3-LJTI1_0
.set L1_0_set_4, LBB1_4-LJTI1_0
.set L1_0_set_5, LBB1_5-LJTI1_0
.set L1_0_set_6, LBB1_6-LJTI1_0
.set L1_0_set_7, LBB1_7-LJTI1_0
.set L1_0_set_8, LBB1_8-LJTI1_0
.set L1_0_set_9, LBB1_9-LJTI1_0
.set L1_0_set_10, LBB1_10-LJTI1_0
.set L1_0_set_11, LBB1_11-LJTI1_0
.set L1_0_set_12, LBB1_12-LJTI1_0
.set L1_0_set_13, LBB1_13-LJTI1_0
.set L1_0_set_14, LBB1_14-LJTI1_0
.set L1_0_set_15, LBB1_15-LJTI1_0
.set L1_0_set_16, LBB1_16-LJTI1_0
.set L1_0_set_17, LBB1_17-LJTI1_0
.set L1_0_set_18, LBB1_18-LJTI1_0
.set L1_0_set_19, LBB1_19-LJTI1_0
.set L1_0_set_20, LBB1_20-LJTI1_0
.set L1_0_set_21, LBB1_21-LJTI1_0
.set L1_0_set_22, LBB1_22-LJTI1_0
.set L1_0_set_23, LBB1_23-LJTI1_0
.set L1_0_set_24, LBB1_24-LJTI1_0
.set L1_0_set_25, LBB1_25-LJTI1_0
.set L1_0_set_26, LBB1_26-LJTI1_0
LJTI1_0:
.long L1_0_set_1
.long L1_0_set_2
.long L1_0_set_3
.long L1_0_set_4
.long L1_0_set_5
.long L1_0_set_6
.long L1_0_set_7
.long L1_0_set_8
.long L1_0_set_9
.long L1_0_set_10
.long L1_0_set_11
.long L1_0_set_12
.long L1_0_set_13
.long L1_0_set_14
.long L1_0_set_15
.long L1_0_set_16
.long L1_0_set_17
.long L1_0_set_18
.long L1_0_set_19
.long L1_0_set_20
.long L1_0_set_21
.long L1_0_set_22
.long L1_0_set_23
.long L1_0_set_24
.long L1_0_set_25
.long L1_0_set_26
.end_data_region
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
leaq -19(%rbp), %rdi
callq _input
leaq -19(%rbp), %rdi
callq _check_and_print
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_2
## %bb.1:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\345\214\227\345\270\202\n"
L_.str.2: ## @.str.2
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\344\270\255\345\270\202\n"
L_.str.3: ## @.str.3
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\237\272\351\232\206\345\270\202\n"
L_.str.4: ## @.str.4
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\345\215\227\345\270\202\n"
L_.str.5: ## @.str.5
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\253\230\351\233\204\345\270\202\n"
L_.str.6: ## @.str.6
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\226\260\345\214\227\345\270\202\n"
L_.str.7: ## @.str.7
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\256\234\350\230\255\347\270\243\n"
L_.str.8: ## @.str.8
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\241\203\345\234\222\347\270\243\n"
L_.str.9: ## @.str.9
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\230\211\347\276\251\345\270\202\n"
L_.str.10: ## @.str.10
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\226\260\347\253\271\347\270\243\n"
L_.str.11: ## @.str.11
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\213\227\346\240\227\347\270\243\n"
L_.str.12: ## @.str.12
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\344\270\255\347\270\243\n"
L_.str.13: ## @.str.13
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\215\227\346\212\225\347\270\243\n"
L_.str.14: ## @.str.14
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\275\260\345\214\226\347\270\243\n"
L_.str.15: ## @.str.15
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\226\260\347\253\271\345\270\202\n"
L_.str.16: ## @.str.16
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\233\262\346\236\227\347\270\243\n"
L_.str.17: ## @.str.17
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\230\211\347\276\251\347\270\243\n"
L_.str.18: ## @.str.18
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\345\215\227\347\270\243\n"
L_.str.19: ## @.str.19
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\253\230\351\233\204\347\270\243\n"
L_.str.20: ## @.str.20
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\345\261\217\346\235\261\347\270\243\n"
L_.str.21: ## @.str.21
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\212\261\350\223\256\347\270\243\n"
L_.str.22: ## @.str.22
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\350\207\272\346\235\261\347\270\243\n"
L_.str.23: ## @.str.23
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\207\221\351\226\200\347\270\243\n"
L_.str.24: ## @.str.24
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\346\276\216\346\271\226\347\270\243\n"
L_.str.25: ## @.str.25
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\231\275\346\230\216\345\261\261\347\256\241\347\220\206\345\261\200\n"
L_.str.26: ## @.str.26
.asciz "\345\207\272\347\224\237\345\234\260\357\274\232\351\200\243\346\261\237\347\270\243\n"
L_.str.27: ## @.str.27
.asciz "\346\240\274\345\274\217\351\214\257\350\252\244!\n"
.subsections_via_symbols
| the_stack_data/38143.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 w8, #97
str w8, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #8]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [sp, #8]
bl _putchar
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
str w8, [sp, #4]
b LBB0_1
LBB0_6:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %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 $97, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -8(%rbp)
cmpl $-1, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, -8(%rbp)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, -12(%rbp)
je LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %edi
callq _putchar
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_6:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/23574549.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vlbuf_make ; -- Begin function vlbuf_make
.p2align 2
_vlbuf_make: ; @vlbuf_make
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, x8
str x9, [sp] ; 8-byte Folded Spill
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [x9, #16]
mov x8, #16
str x8, [x9, #8]
ldr x8, [x9, #8]
ldr x9, [x9, #16]
mul x0, x8, x9
bl _malloc
ldr x8, [sp] ; 8-byte Folded Reload
str x0, [x8]
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, #464
.cfi_def_cfa_offset 464
stp x28, x27, [sp, #432] ; 16-byte Folded Spill
stp x29, x30, [sp, #448] ; 16-byte Folded Spill
add x29, sp, #448
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub x8, x29, #136
str x8, [sp, #120] ; 8-byte Folded Spill
stur wzr, [x29, #-20]
stur w0, [x29, #-24]
str x1, [x8, #104]
stur wzr, [x29, #-36]
ldr x9, [x8, #104]
ldr x9, [x9]
str x9, [sp, #128] ; 8-byte Folded Spill
ldr x8, [x8, #104]
ldr x0, [x8]
bl _strlen
ldr x8, [sp, #128] ; 8-byte Folded Reload
subs x9, x0, #1
ldrsb w8, [x8, x9]
subs w8, w8, #105
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #1
stur w8, [x29, #-36]
b LBB1_2
LBB1_2:
ldur w8, [x29, #-24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_3
LBB1_3:
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
mov x9, sp
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [x9]
mov w0, #1
bl _logerr
b LBB1_6
LBB1_5:
mov x9, sp
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [x9]
mov w0, #1
bl _logerr
b LBB1_6
LBB1_6:
mov w8, #1
stur w8, [x29, #-20]
b LBB1_45
LBB1_7:
bl _make_special_name_table
sub x8, x29, #64
mov x0, #1
str x0, [sp, #112] ; 8-byte Folded Spill
bl _vlbuf_make
ldr x0, [sp, #112] ; 8-byte Folded Reload
sub x8, x29, #88
bl _vlbuf_make
stur wzr, [x29, #-92]
mov w8, #1
stur w8, [x29, #-96]
b LBB1_8
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-96]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #104]
ldursw x9, [x29, #-96]
ldr x0, [x8, x9, lsl #3]
bl _strlen
mov x8, x0
stur w8, [x29, #-100]
ldur w8, [x29, #-100]
ldur w9, [x29, #-92]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-100]
stur w8, [x29, #-92]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_8 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-96]
add w8, w8, #1
stur w8, [x29, #-96]
b LBB1_8
LBB1_13:
ldur w8, [x29, #-92]
add w9, w8, #12
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #1
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #120] ; 8-byte Folded Reload
str x0, [x8, #24]
mov w8, #1
stur w8, [x29, #-116]
b LBB1_14
LBB1_14: ; =>This Loop Header: Depth=1
; Child Loop BB1_30 Depth 2
ldur w8, [x29, #-116]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_44
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x9, [x8, #104]
ldursw x10, [x29, #-116]
ldr x9, [x9, x10, lsl #3]
str x9, [x8, #8]
ldr x0, [x8, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
ldr x8, [sp, #120] ; 8-byte Folded Reload
str x0, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #8]
mov x9, sp
adrp x10, l_.str.3@PAGE
add x10, x10, l_.str.3@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [x9, #16]
mov w0, #3
bl _logerr
mov w8, #1
stur w8, [x29, #-20]
b LBB1_45
LBB1_17: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #104] ; 8-byte Folded Spill
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_14 Depth=1
mov x8, #0
str x8, [sp, #96] ; 8-byte Folded Spill
b LBB1_20
LBB1_19: ; in Loop: Header=BB1_14 Depth=1
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #96] ; 8-byte Folded Spill
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #96] ; 8-byte Folded Reload
str x8, [sp, #88] ; 8-byte Folded Spill
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_14 Depth=1
sub x8, x29, #64
str x8, [sp, #80] ; 8-byte Folded Spill
b LBB1_23
LBB1_22: ; in Loop: Header=BB1_14 Depth=1
mov x8, #0
str x8, [sp, #80] ; 8-byte Folded Spill
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #80] ; 8-byte Folded Reload
str x8, [sp, #72] ; 8-byte Folded Spill
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_14 Depth=1
sub x8, x29, #88
str x8, [sp, #64] ; 8-byte Folded Spill
b LBB1_26
LBB1_25: ; in Loop: Header=BB1_14 Depth=1
mov x8, #0
str x8, [sp, #64] ; 8-byte Folded Spill
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_14 Depth=1
ldr x2, [sp, #72] ; 8-byte Folded Reload
ldr x1, [sp, #88] ; 8-byte Folded Reload
ldr x0, [sp, #104] ; 8-byte Folded Reload
ldr x3, [sp, #64] ; 8-byte Folded Reload
bl _pyformat
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fclose
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_42
b LBB1_27
LBB1_27: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #72]
ldr x1, [x8, #48]
bl _strcmp
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-140]
ldur w8, [x29, #-140]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_29
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_14 Depth=1
b LBB1_41
LBB1_29: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #8]
bl _strlen
ldr x8, [sp, #120] ; 8-byte Folded Reload
mov x9, x0
stur w9, [x29, #-144]
ldr x0, [x8, #24]
ldr x1, [x8, #8]
ldur w8, [x29, #-144]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___strncpy_chk
stur wzr, [x29, #-148]
ldur w8, [x29, #-144]
subs w8, w8, #1
stur w8, [x29, #-152]
b LBB1_30
LBB1_30: ; Parent Loop BB1_14 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-152]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_35
b LBB1_31
LBB1_31: ; in Loop: Header=BB1_30 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #8]
ldursw x9, [x29, #-152]
ldrsb w8, [x8, x9]
subs w8, w8, #47
cset w8, ne
tbnz w8, #0, LBB1_33
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_14 Depth=1
ldur w8, [x29, #-152]
add w8, w8, #1
stur w8, [x29, #-148]
b LBB1_35
LBB1_33: ; in Loop: Header=BB1_30 Depth=2
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_30 Depth=2
ldur w8, [x29, #-152]
subs w8, w8, #1
stur w8, [x29, #-152]
b LBB1_30
LBB1_35: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #24]
ldursw x9, [x29, #-148]
add x0, x8, x9
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov x2, #12
mov x3, #-1
bl ___strncpy_chk
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #24]
bl _mkstemp
ldr x8, [sp, #120] ; 8-byte Folded Reload
stur w0, [x29, #-156]
ldur w9, [x29, #-156]
str w9, [sp, #60] ; 4-byte Folded Spill
ldr x9, [x8, #48]
str x9, [sp, #48] ; 8-byte Folded Spill
ldr x0, [x8, #48]
bl _strlen
ldr x1, [sp, #48] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #60] ; 4-byte Folded Reload
bl _write
ldur w0, [x29, #-156]
bl _close
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #8]
add x1, sp, #144
bl _stat
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_37
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #8]
mov x9, sp
adrp x10, l_.str.6@PAGE
add x10, x10, l_.str.6@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x8, l_.str.7@PAGE
add x8, x8, l_.str.7@PAGEOFF
str x8, [x9, #16]
mov w0, #3
bl _logerr
b LBB1_38
LBB1_37: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #24]
ldrh w1, [sp, #148]
bl _chmod
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #24]
ldr w1, [sp, #160]
ldr w2, [sp, #164]
bl _chown
b LBB1_38
LBB1_38: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #24]
ldr x1, [x8, #8]
bl _rename
str w0, [sp, #140]
ldr w8, [sp, #140]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_40
b LBB1_39
LBB1_39: ; in Loop: Header=BB1_14 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x10, [x8, #8]
ldr x8, [x8, #24]
mov x9, sp
adrp x11, l_.str.8@PAGE
add x11, x11, l_.str.8@PAGEOFF
str x11, [x9]
str x10, [x9, #8]
adrp x10, l_.str.9@PAGE
add x10, x10, l_.str.9@PAGEOFF
str x10, [x9, #16]
str x8, [x9, #24]
adrp x8, l_.str.7@PAGE
add x8, x8, l_.str.7@PAGEOFF
str x8, [x9, #32]
mov w0, #5
bl _logerr
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #24]
bl _remove
b LBB1_40
LBB1_40: ; in Loop: Header=BB1_14 Depth=1
b LBB1_41
LBB1_41: ; in Loop: Header=BB1_14 Depth=1
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_14 Depth=1
b LBB1_43
LBB1_43: ; in Loop: Header=BB1_14 Depth=1
ldur w8, [x29, #-116]
add w8, w8, #1
stur w8, [x29, #-116]
b LBB1_14
LBB1_44:
sub x0, x29, #64
bl _vlbuf_free
sub x0, x29, #88
bl _vlbuf_free
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [x8, #24]
bl _free
bl _free_special_name_table
b LBB1_45
LBB1_45:
ldur w0, [x29, #-20]
ldp x29, x30, [sp, #448] ; 16-byte Folded Reload
ldp x28, x27, [sp, #432] ; 16-byte Folded Reload
add sp, sp, #464
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function ls_to_string
_ls_to_string: ; @ls_to_string
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB2_6
; %bb.1:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI2_0@PAGE
add x10, x10, lJTI2_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB2_2:
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
str x8, [sp, #24]
b LBB2_7
LBB2_3:
adrp x8, l_.str.11@PAGE
add x8, x8, l_.str.11@PAGEOFF
str x8, [sp, #24]
b LBB2_7
LBB2_4:
adrp x8, l_.str.12@PAGE
add x8, x8, l_.str.12@PAGEOFF
str x8, [sp, #24]
b LBB2_7
LBB2_5:
adrp x8, l_.str.13@PAGE
add x8, x8, l_.str.13@PAGEOFF
str x8, [sp, #24]
b LBB2_7
LBB2_6:
adrp x8, l_.str.14@PAGE
add x8, x8, l_.str.14@PAGEOFF
str x8, [sp, #24]
b LBB2_7
LBB2_7:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI2_0:
.long LBB2_2-Ltmp1
.long LBB2_3-Ltmp1
.long LBB2_5-Ltmp1
.long LBB2_4-Ltmp1
; -- End function
.p2align 2 ; -- Begin function tok_to_string
_tok_to_string: ; @tok_to_string
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #16
cset w8, hi
tbnz w8, #0, LBB3_19
; %bb.1:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI3_0@PAGE
add x10, x10, lJTI3_0@PAGEOFF
Ltmp3:
adr x8, Ltmp3
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB3_2:
adrp x8, l_.str.15@PAGE
add x8, x8, l_.str.15@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_3:
adrp x8, l_.str.16@PAGE
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_4:
adrp x8, l_.str.17@PAGE
add x8, x8, l_.str.17@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_5:
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_6:
adrp x8, l_.str.19@PAGE
add x8, x8, l_.str.19@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_7:
adrp x8, l_.str.20@PAGE
add x8, x8, l_.str.20@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_8:
adrp x8, l_.str.21@PAGE
add x8, x8, l_.str.21@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_9:
adrp x8, l_.str.22@PAGE
add x8, x8, l_.str.22@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_10:
adrp x8, l_.str.23@PAGE
add x8, x8, l_.str.23@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_11:
adrp x8, l_.str.24@PAGE
add x8, x8, l_.str.24@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_12:
adrp x8, l_.str.25@PAGE
add x8, x8, l_.str.25@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_13:
adrp x8, l_.str.26@PAGE
add x8, x8, l_.str.26@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_14:
adrp x8, l_.str.27@PAGE
add x8, x8, l_.str.27@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_15:
adrp x8, l_.str.28@PAGE
add x8, x8, l_.str.28@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_16:
adrp x8, l_.str.29@PAGE
add x8, x8, l_.str.29@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_17:
adrp x8, l_.str.30@PAGE
add x8, x8, l_.str.30@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_18:
adrp x8, l_.str.31@PAGE
add x8, x8, l_.str.31@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_19:
adrp x8, l_.str.32@PAGE
add x8, x8, l_.str.32@PAGEOFF
str x8, [sp, #24]
b LBB3_20
LBB3_20:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI3_0:
.long LBB3_2-Ltmp3
.long LBB3_3-Ltmp3
.long LBB3_4-Ltmp3
.long LBB3_5-Ltmp3
.long LBB3_6-Ltmp3
.long LBB3_7-Ltmp3
.long LBB3_8-Ltmp3
.long LBB3_9-Ltmp3
.long LBB3_11-Ltmp3
.long LBB3_10-Ltmp3
.long LBB3_14-Ltmp3
.long LBB3_13-Ltmp3
.long LBB3_12-Ltmp3
.long LBB3_15-Ltmp3
.long LBB3_16-Ltmp3
.long LBB3_17-Ltmp3
.long LBB3_18-Ltmp3
; -- End function
.p2align 2 ; -- Begin function logerr
_logerr: ; @logerr
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB4_10
b LBB4_1
LBB4_1:
stur wzr, [x29, #-20]
sub x9, x29, #16
add x8, x29, #16
str x8, [x9]
stur wzr, [x29, #-24]
b LBB4_2
LBB4_2: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_5
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_2 Depth=1
ldur x9, [x29, #-16]
ldr x8, [x9]
add x9, x9, #8
stur x9, [x29, #-16]
stur x8, [x29, #-40]
ldur x8, [x29, #-40]
stur x8, [x29, #-32]
ldur x0, [x29, #-32]
bl _strlen
ldursw x8, [x29, #-20]
add x8, x8, x0
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_2 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB4_2
LBB4_5:
ldursw x0, [x29, #-20]
bl _malloc
stur x0, [x29, #-48]
sub x9, x29, #16
add x8, x29, #16
str x8, [x9]
ldur x8, [x29, #-48]
str x8, [sp, #56]
str wzr, [sp, #52]
b LBB4_6
LBB4_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_9
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_6 Depth=1
ldur x9, [x29, #-16]
ldr x8, [x9]
add x9, x9, #8
stur x9, [x29, #-16]
str x8, [sp, #32]
ldr x8, [sp, #32]
str x8, [sp, #40]
ldr x0, [sp, #56]
ldr x1, [sp, #40]
bl _strapp
ldr x8, [sp, #56]
add x8, x8, x0
str x8, [sp, #56]
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_6 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB4_6
LBB4_9:
ldur x1, [x29, #-48]
ldursw x2, [x29, #-20]
mov w0, #2
bl _write
ldur x0, [x29, #-48]
bl _free
b LBB4_11
LBB4_10:
sub x9, x29, #16
add x8, x29, #16
str x8, [x9]
ldur x9, [x29, #-16]
ldr x8, [x9]
add x9, x9, #8
stur x9, [x29, #-16]
str x8, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #24]
ldr x8, [sp, #24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [sp, #24]
bl _strlen
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x2, x0
mov w0, #2
bl _write
b LBB4_11
LBB4_11:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function pyformat
_pyformat: ; @pyformat
.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, #704
stur x0, [x29, #-24]
stur x1, [x29, #-32]
stur x2, [x29, #-40]
stur x3, [x29, #-48]
sub x8, x29, #72
mov x0, #1
str x0, [sp, #152] ; 8-byte Folded Spill
bl _vlbuf_make
ldr x0, [sp, #152] ; 8-byte Folded Reload
sub x8, x29, #96
bl _vlbuf_make
sub x8, x29, #120
mov x0, #4
str x0, [sp, #144] ; 8-byte Folded Spill
bl _vlbuf_make
ldr x0, [sp, #152] ; 8-byte Folded Reload
sub x8, x29, #144
bl _vlbuf_make
ldr x0, [sp, #144] ; 8-byte Folded Reload
sub x8, x29, #168
bl _vlbuf_make
ldr x0, [sp, #144] ; 8-byte Folded Reload
sub x8, x29, #192
bl _vlbuf_make
ldr x0, [sp, #144] ; 8-byte Folded Reload
sub x8, x29, #216
bl _vlbuf_make
ldr x0, [sp, #152] ; 8-byte Folded Reload
sub x8, x29, #240
bl _vlbuf_make
; kill: def $x8 killed $xzr
stur xzr, [x29, #-248]
stur xzr, [x29, #-256]
str wzr, [sp, #460]
strb wzr, [sp, #459]
mov w8, #3
str w8, [sp, #452]
str wzr, [sp, #448]
str wzr, [sp, #444]
str wzr, [sp, #440]
str wzr, [sp, #436]
str wzr, [sp, #432]
str wzr, [sp, #428]
b LBB5_1
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_2 Depth 2
; Child Loop BB5_28 Depth 2
; Child Loop BB5_50 Depth 2
; Child Loop BB5_61 Depth 2
; Child Loop BB5_253 Depth 2
; Child Loop BB5_255 Depth 3
; Child Loop BB5_263 Depth 3
; Child Loop BB5_266 Depth 3
; Child Loop BB5_391 Depth 2
; Child Loop BB5_402 Depth 3
str wzr, [sp, #424]
b LBB5_2
LBB5_2: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-72]
ldrsw x9, [sp, #424]
add x0, x8, x9
ldur x8, [x29, #-64]
subs x8, x8, #3
ldrsw x9, [sp, #424]
subs x8, x8, x9
mov x1, x8
ldur x2, [x29, #-24]
bl _fgets
str x0, [sp, #416]
ldr x8, [sp, #416]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
b LBB5_15
LBB5_4: ; in Loop: Header=BB5_2 Depth=2
ldr x0, [sp, #416]
bl _strlen
mov x8, x0
str w8, [sp, #412]
ldur x0, [x29, #-24]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_7
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_2 Depth=2
ldr x8, [sp, #416]
ldr w9, [sp, #412]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_2 Depth=2
ldr x8, [sp, #416]
ldrsw x9, [sp, #412]
add x9, x8, x9
mov w8, #10
strb w8, [x9]
ldr x9, [sp, #416]
ldr w10, [sp, #412]
mov w8, #1
add w10, w10, #1
add x9, x9, w10, sxtw
strb wzr, [x9]
ldr w9, [sp, #412]
add w9, w9, #1
str w9, [sp, #412]
str w8, [sp, #428]
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_2 Depth=2
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_11
b LBB5_8
LBB5_8: ; in Loop: Header=BB5_2 Depth=2
ldur x8, [x29, #-40]
ldr x8, [x8, #8]
ldr w9, [sp, #412]
ldr w10, [sp, #436]
add w9, w9, w10
subs x8, x8, w9, sxtw
cset w8, hs
tbnz w8, #0, LBB5_10
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_2 Depth=2
ldur x0, [x29, #-40]
ldr w8, [sp, #412]
ldr w9, [sp, #436]
add w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _vlbuf_expand
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_2 Depth=2
ldur x8, [x29, #-40]
ldr x8, [x8]
ldrsw x9, [sp, #436]
add x0, x8, x9
ldur x8, [x29, #-72]
ldrsw x9, [sp, #424]
add x1, x8, x9
ldr w8, [sp, #412]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memcpy_chk
ldr w9, [sp, #412]
ldr w8, [sp, #436]
add w8, w8, w9
str w8, [sp, #436]
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_2 Depth=2
ldr w9, [sp, #412]
ldr w8, [sp, #424]
add w8, w8, w9
str w8, [sp, #424]
ldur x8, [x29, #-72]
ldr w9, [sp, #424]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB5_13
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_2 Depth=2
ldr w8, [sp, #424]
add w9, w8, #3
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #72
bl _vlbuf_expand
b LBB5_14
LBB5_13: ; in Loop: Header=BB5_1 Depth=1
b LBB5_15
LBB5_14: ; in Loop: Header=BB5_2 Depth=2
b LBB5_2
LBB5_15: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #416]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_17
b LBB5_16
LBB5_16:
b LBB5_450
LBB5_17: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB5_19
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_22
b LBB5_19
LBB5_19: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #424]
str w8, [sp, #440]
str wzr, [sp, #460]
ldur x8, [x29, #-88]
ldr w9, [sp, #440]
lsl w9, w9, #1
subs x8, x8, w9, sxtw
cset w8, hs
tbnz w8, #0, LBB5_21
b LBB5_20
LBB5_20: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #440]
lsl w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #96
bl _vlbuf_expand
ldr w8, [sp, #440]
lsl w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #120
bl _vlbuf_expand
b LBB5_21
LBB5_21: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-96]
stur x8, [x29, #-248]
ldur x8, [x29, #-96]
stur x8, [x29, #-256]
str wzr, [sp, #444]
b LBB5_25
LBB5_22: ; in Loop: Header=BB5_1 Depth=1
ldr w9, [sp, #424]
ldr w8, [sp, #440]
add w8, w8, w9
str w8, [sp, #440]
ldur x8, [x29, #-248]
ldur x9, [x29, #-96]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #408]
ldur x8, [x29, #-256]
ldur x9, [x29, #-96]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #404]
ldur x8, [x29, #-88]
ldr w9, [sp, #440]
lsl w9, w9, #1
subs x8, x8, w9, sxtw
cset w8, hs
tbnz w8, #0, LBB5_24
b LBB5_23
LBB5_23: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #440]
lsl w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #96
bl _vlbuf_expand
ldr w8, [sp, #440]
lsl w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #120
bl _vlbuf_expand
b LBB5_24
LBB5_24: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-96]
ldrsw x9, [sp, #408]
add x8, x8, x9
stur x8, [x29, #-248]
ldur x8, [x29, #-96]
ldrsw x9, [sp, #404]
add x8, x8, x9
stur x8, [x29, #-256]
b LBB5_25
LBB5_25: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-72]
str x8, [sp, #392]
ldr w8, [sp, #424]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_27
b LBB5_26
LBB5_26: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #392]
ldr w9, [sp, #424]
subs w9, w9, #1
add x9, x8, w9, sxtw
mov w8, #10
strb w8, [x9]
b LBB5_27
LBB5_27: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #392]
ldrsw x9, [sp, #424]
add x8, x8, x9
strb wzr, [x8]
ldr x9, [sp, #392]
ldr w10, [sp, #424]
mov w8, #1
add w10, w10, #1
add x9, x9, w10, sxtw
strb wzr, [x9]
str w8, [sp, #388]
ldr x8, [sp, #392]
str x8, [sp, #376]
b LBB5_28
LBB5_28: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #376]
ldrsb w8, [x8]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB5_34
b LBB5_29
LBB5_29: ; in Loop: Header=BB5_28 Depth=2
ldr x8, [sp, #376]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB5_32
b LBB5_30
LBB5_30: ; in Loop: Header=BB5_28 Depth=2
ldr x8, [sp, #376]
ldrsb w8, [x8]
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB5_32
b LBB5_31
LBB5_31: ; in Loop: Header=BB5_28 Depth=2
str wzr, [sp, #388]
b LBB5_32
LBB5_32: ; in Loop: Header=BB5_28 Depth=2
b LBB5_33
LBB5_33: ; in Loop: Header=BB5_28 Depth=2
ldr x8, [sp, #376]
add x8, x8, #1
str x8, [sp, #376]
b LBB5_28
LBB5_34: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #372]
ldr w8, [sp, #452]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB5_36
b LBB5_35
LBB5_35: ; in Loop: Header=BB5_1 Depth=1
b LBB5_48
LBB5_36: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #388]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_44
b LBB5_37
LBB5_37: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_39
b LBB5_38
LBB5_38: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #452]
mov w8, #1
str w8, [sp, #372]
b LBB5_43
LBB5_39: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_41
b LBB5_40
LBB5_40: ; in Loop: Header=BB5_1 Depth=1
b LBB5_1
LBB5_41: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #452]
b LBB5_42
LBB5_42: ; in Loop: Header=BB5_1 Depth=1
b LBB5_43
LBB5_43: ; in Loop: Header=BB5_1 Depth=1
b LBB5_47
LBB5_44: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_46
b LBB5_45
LBB5_45: ; in Loop: Header=BB5_1 Depth=1
mov w8, #3
str w8, [sp, #452]
b LBB5_46
LBB5_46: ; in Loop: Header=BB5_1 Depth=1
b LBB5_47
LBB5_47: ; in Loop: Header=BB5_1 Depth=1
b LBB5_48
LBB5_48: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB5_57
b LBB5_49
LBB5_49: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #448]
b LBB5_50
LBB5_50: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #392]
ldrsb w8, [x8]
subs w8, w8, #10
cset w8, eq
mov w9, #1
str w9, [sp, #140] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_53
b LBB5_51
LBB5_51: ; in Loop: Header=BB5_50 Depth=2
ldr x8, [sp, #392]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, eq
mov w9, #1
str w9, [sp, #140] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_53
b LBB5_52
LBB5_52: ; in Loop: Header=BB5_50 Depth=2
ldr x8, [sp, #392]
ldrsb w8, [x8]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #140] ; 4-byte Folded Spill
b LBB5_53
LBB5_53: ; in Loop: Header=BB5_50 Depth=2
ldr w8, [sp, #140] ; 4-byte Folded Reload
tbz w8, #0, LBB5_56
b LBB5_54
LBB5_54: ; in Loop: Header=BB5_50 Depth=2
ldr w8, [sp, #448]
add w8, w8, #1
str w8, [sp, #448]
b LBB5_55
LBB5_55: ; in Loop: Header=BB5_50 Depth=2
ldr x8, [sp, #392]
add x8, x8, #1
str x8, [sp, #392]
b LBB5_50
LBB5_56: ; in Loop: Header=BB5_1 Depth=1
b LBB5_58
LBB5_57: ; in Loop: Header=BB5_1 Depth=1
b LBB5_58
LBB5_58: ; in Loop: Header=BB5_1 Depth=1
mov w8, #13
str w8, [sp, #368]
ldr w8, [sp, #452]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB5_60
b LBB5_59
LBB5_59: ; in Loop: Header=BB5_1 Depth=1
mov w8, #4
str w8, [sp, #368]
ldr w8, [sp, #460]
subs w8, w8, #1
str w8, [sp, #460]
ldur x8, [x29, #-248]
subs x8, x8, #1
stur x8, [x29, #-248]
b LBB5_60
LBB5_60: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #392]
str x8, [sp, #128] ; 8-byte Folded Spill
ldr x0, [sp, #392]
bl _strlen
ldr x8, [sp, #128] ; 8-byte Folded Reload
subs x9, x0, #1
add x8, x8, x9
str x8, [sp, #360]
strb wzr, [sp, #359]
str wzr, [sp, #352]
str wzr, [sp, #348]
str wzr, [sp, #344]
b LBB5_61
LBB5_61: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #392]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_233
b LBB5_62
LBB5_62: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldrsb w8, [x8]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB5_64
b LBB5_63
LBB5_63: ; in Loop: Header=BB5_61 Depth=2
ldr x9, [sp, #392]
mov w8, #32
strb w8, [x9]
b LBB5_64
LBB5_64: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #368]
subs w8, w8, #3
cset w8, eq
mov w9, #1
str w9, [sp, #124] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_66
b LBB5_65
LBB5_65: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #368]
subs w8, w8, #4
cset w8, eq
str w8, [sp, #124] ; 4-byte Folded Spill
b LBB5_66
LBB5_66: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #124] ; 4-byte Folded Reload
and w8, w8, #0x1
str w8, [sp, #340]
ldr w8, [sp, #340]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_70
b LBB5_67
LBB5_67: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB5_70
b LBB5_68
LBB5_68: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldrsb w8, [x8, #1]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB5_70
b LBB5_69
LBB5_69: ; in Loop: Header=BB5_61 Depth=2
b LBB5_232
LBB5_70: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldrb w8, [x8]
strb w8, [sp, #339]
str wzr, [sp, #332]
str wzr, [sp, #328]
ldr w8, [sp, #368]
str w8, [sp, #324]
ldr w8, [sp, #368]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #112] ; 8-byte Folded Spill
subs x8, x8, #16
cset w8, hi
tbnz w8, #0, LBB5_216
; %bb.71: ; in Loop: Header=BB5_61 Depth=2
ldr x11, [sp, #112] ; 8-byte Folded Reload
adrp x10, lJTI5_0@PAGE
add x10, x10, lJTI5_0@PAGEOFF
Ltmp4:
adr x8, Ltmp4
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB5_72: ; in Loop: Header=BB5_61 Depth=2
ldrsb w0, [sp, #339]
bl _isalpha_lead
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_75
b LBB5_73
LBB5_73: ; in Loop: Header=BB5_61 Depth=2
ldrsb w9, [sp, #339]
mov w8, #48
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB5_76
b LBB5_74
LBB5_74: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB5_76
b LBB5_75
LBB5_75: ; in Loop: Header=BB5_61 Depth=2
b LBB5_81
LBB5_76: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #39
cset w8, eq
tbnz w8, #0, LBB5_78
b LBB5_77
LBB5_77: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #34
cset w8, ne
tbnz w8, #0, LBB5_79
b LBB5_78
LBB5_78: ; in Loop: Header=BB5_61 Depth=2
mov w8, #3
str w8, [sp, #368]
mov w8, #1
str w8, [sp, #344]
ldrb w8, [sp, #339]
strb w8, [sp, #459]
b LBB5_80
LBB5_79: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w9, #13
str w9, [sp, #368]
str w8, [sp, #332]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_80
LBB5_80: ; in Loop: Header=BB5_61 Depth=2
b LBB5_81
LBB5_81: ; in Loop: Header=BB5_61 Depth=2
b LBB5_216
LBB5_82: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #352]
subs w8, w8, #1
cset w8, ne
mov w9, #0
str w9, [sp, #108] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_85
b LBB5_83
LBB5_83: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldursb w8, [x8, #-1]
subs w8, w8, #46
cset w8, ne
mov w9, #0
str w9, [sp, #108] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_85
b LBB5_84
LBB5_84: ; in Loop: Header=BB5_61 Depth=2
ldrsb w0, [sp, #339]
bl _isnumeric_lead
subs w8, w0, #0
cset w8, eq
str w8, [sp, #108] ; 4-byte Folded Spill
b LBB5_85
LBB5_85: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #108] ; 4-byte Folded Reload
and w8, w8, #0x1
str w8, [sp, #320]
ldr w8, [sp, #320]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_88
b LBB5_86
LBB5_86: ; in Loop: Header=BB5_61 Depth=2
ldrsb w0, [sp, #339]
bl _isnumeric_lead
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_88
b LBB5_87
LBB5_87: ; in Loop: Header=BB5_61 Depth=2
b LBB5_102
LBB5_88: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldursb w8, [x8, #-1]
subs w8, w8, #101
cset w8, ne
tbnz w8, #0, LBB5_92
b LBB5_89
LBB5_89: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB5_91
b LBB5_90
LBB5_90: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #43
cset w8, ne
tbnz w8, #0, LBB5_92
b LBB5_91
LBB5_91: ; in Loop: Header=BB5_61 Depth=2
b LBB5_101
LBB5_92: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #320]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_96
b LBB5_93
LBB5_93: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #101
cset w8, eq
tbnz w8, #0, LBB5_95
b LBB5_94
LBB5_94: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #120
cset w8, ne
tbnz w8, #0, LBB5_96
b LBB5_95
LBB5_95: ; in Loop: Header=BB5_61 Depth=2
b LBB5_100
LBB5_96: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldursb w8, [x8, #-1]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB5_99
b LBB5_97
LBB5_97: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #352]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_99
b LBB5_98
LBB5_98: ; in Loop: Header=BB5_61 Depth=2
mov w8, #15
str w8, [sp, #324]
b LBB5_99
LBB5_99: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w9, #13
str w9, [sp, #368]
str w8, [sp, #332]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_100
LBB5_100: ; in Loop: Header=BB5_61 Depth=2
b LBB5_101
LBB5_101: ; in Loop: Header=BB5_61 Depth=2
b LBB5_102
LBB5_102: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #352]
add w8, w8, #1
str w8, [sp, #352]
b LBB5_216
LBB5_103: ; in Loop: Header=BB5_61 Depth=2
str wzr, [sp, #316]
ldrsb w8, [sp, #339]
ldrsb w9, [sp, #459]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_105
b LBB5_104
LBB5_104: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #344]
add w8, w8, #1
str w8, [sp, #344]
b LBB5_109
LBB5_105: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #344]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB5_107
b LBB5_106
LBB5_106: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #316]
ldr x9, [sp, #392]
subs x9, x9, #1
str x9, [sp, #392]
str w8, [sp, #332]
b LBB5_108
LBB5_107: ; in Loop: Header=BB5_61 Depth=2
str wzr, [sp, #344]
b LBB5_108
LBB5_108: ; in Loop: Header=BB5_61 Depth=2
b LBB5_109
LBB5_109: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #344]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB5_111
b LBB5_110
LBB5_110: ; in Loop: Header=BB5_61 Depth=2
mov w8, #4
str w8, [sp, #368]
str wzr, [sp, #344]
str wzr, [sp, #348]
b LBB5_125
LBB5_111: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #316]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_114
b LBB5_112
LBB5_112: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #344]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB5_114
b LBB5_113
LBB5_113: ; in Loop: Header=BB5_61 Depth=2
b LBB5_124
LBB5_114: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
ldrsb w9, [sp, #459]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_117
b LBB5_115
LBB5_115: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #348]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_122
b LBB5_116
LBB5_116: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
ldrsb w9, [sp, #459]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_122
b LBB5_117
LBB5_117: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #316]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_122
b LBB5_118
LBB5_118: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB5_120
b LBB5_119
LBB5_119: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #348]
add w8, w8, #1
str w8, [sp, #348]
b LBB5_121
LBB5_120: ; in Loop: Header=BB5_61 Depth=2
str wzr, [sp, #348]
b LBB5_121
LBB5_121: ; in Loop: Header=BB5_61 Depth=2
b LBB5_123
LBB5_122: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w8, #13
str w8, [sp, #368]
b LBB5_123
LBB5_123: ; in Loop: Header=BB5_61 Depth=2
b LBB5_124
LBB5_124: ; in Loop: Header=BB5_61 Depth=2
b LBB5_125
LBB5_125: ; in Loop: Header=BB5_61 Depth=2
b LBB5_216
LBB5_126: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
ldrsb w9, [sp, #459]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_129
b LBB5_127
LBB5_127: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #348]
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, LBB5_129
b LBB5_128
LBB5_128: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #344]
add w8, w8, #1
str w8, [sp, #344]
b LBB5_130
LBB5_129: ; in Loop: Header=BB5_61 Depth=2
str wzr, [sp, #344]
b LBB5_130
LBB5_130: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
ldrsb w9, [sp, #459]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_133
b LBB5_131
LBB5_131: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #348]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_137
b LBB5_132
LBB5_132: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
ldrsb w9, [sp, #459]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_137
b LBB5_133
LBB5_133: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB5_135
b LBB5_134
LBB5_134: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #348]
add w8, w8, #1
str w8, [sp, #348]
b LBB5_136
LBB5_135: ; in Loop: Header=BB5_61 Depth=2
str wzr, [sp, #348]
b LBB5_136
LBB5_136: ; in Loop: Header=BB5_61 Depth=2
b LBB5_137
LBB5_137: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #344]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB5_139
b LBB5_138
LBB5_138: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w8, #13
str w8, [sp, #368]
b LBB5_139
LBB5_139: ; in Loop: Header=BB5_61 Depth=2
b LBB5_216
LBB5_140: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w8, #13
str w8, [sp, #368]
b LBB5_216
LBB5_141: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w8, #13
str w8, [sp, #368]
b LBB5_216
LBB5_142: ; in Loop: Header=BB5_61 Depth=2
b LBB5_216
LBB5_143: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_146
b LBB5_144
LBB5_144: ; in Loop: Header=BB5_61 Depth=2
ldrsb w0, [sp, #339]
bl _isoptype
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_146
b LBB5_145
LBB5_145: ; in Loop: Header=BB5_61 Depth=2
b LBB5_177
LBB5_146: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #42
cset w8, ne
tbnz w8, #0, LBB5_149
b LBB5_147
LBB5_147: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #42
cset w8, ne
tbnz w8, #0, LBB5_149
b LBB5_148
LBB5_148: ; in Loop: Header=BB5_61 Depth=2
mov w8, #12
str w8, [sp, #368]
b LBB5_176
LBB5_149: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #47
cset w8, ne
tbnz w8, #0, LBB5_152
b LBB5_150
LBB5_150: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #47
cset w8, ne
tbnz w8, #0, LBB5_152
b LBB5_151
LBB5_151: ; in Loop: Header=BB5_61 Depth=2
b LBB5_175
LBB5_152: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #62
cset w8, ne
tbnz w8, #0, LBB5_155
b LBB5_153
LBB5_153: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #62
cset w8, ne
tbnz w8, #0, LBB5_155
b LBB5_154
LBB5_154: ; in Loop: Header=BB5_61 Depth=2
b LBB5_174
LBB5_155: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #60
cset w8, ne
tbnz w8, #0, LBB5_158
b LBB5_156
LBB5_156: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #60
cset w8, ne
tbnz w8, #0, LBB5_158
b LBB5_157
LBB5_157: ; in Loop: Header=BB5_61 Depth=2
b LBB5_173
LBB5_158: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #61
cset w8, ne
tbnz w8, #0, LBB5_162
b LBB5_159
LBB5_159: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #368]
subs w8, w8, #12
cset w8, ne
tbnz w8, #0, LBB5_161
b LBB5_160
LBB5_160: ; in Loop: Header=BB5_61 Depth=2
mov w8, #9
str w8, [sp, #368]
b LBB5_161
LBB5_161: ; in Loop: Header=BB5_61 Depth=2
b LBB5_172
LBB5_162: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #368]
subs w8, w8, #12
cset w8, eq
tbnz w8, #0, LBB5_171
b LBB5_163
LBB5_163: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB5_166
b LBB5_164
LBB5_164: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #43
cset w8, eq
tbnz w8, #0, LBB5_166
b LBB5_165
LBB5_165: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #42
cset w8, ne
tbnz w8, #0, LBB5_167
b LBB5_166
LBB5_166: ; in Loop: Header=BB5_61 Depth=2
mov w8, #16
str w8, [sp, #324]
b LBB5_167
LBB5_167: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #359]
subs w8, w8, #61
cset w8, ne
tbnz w8, #0, LBB5_170
b LBB5_168
LBB5_168: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldursb w0, [x8, #-2]
bl _isoptype
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_170
b LBB5_169
LBB5_169: ; in Loop: Header=BB5_61 Depth=2
mov w8, #8
str w8, [sp, #324]
b LBB5_170
LBB5_170: ; in Loop: Header=BB5_61 Depth=2
b LBB5_171
LBB5_171: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w9, #13
str w9, [sp, #368]
str w8, [sp, #332]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_172
LBB5_172: ; in Loop: Header=BB5_61 Depth=2
b LBB5_173
LBB5_173: ; in Loop: Header=BB5_61 Depth=2
b LBB5_174
LBB5_174: ; in Loop: Header=BB5_61 Depth=2
b LBB5_175
LBB5_175: ; in Loop: Header=BB5_61 Depth=2
b LBB5_176
LBB5_176: ; in Loop: Header=BB5_61 Depth=2
b LBB5_177
LBB5_177: ; in Loop: Header=BB5_61 Depth=2
ldrb w8, [sp, #339]
strb w8, [sp, #359]
b LBB5_216
LBB5_178: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w8, #13
str w8, [sp, #368]
b LBB5_216
LBB5_179: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w8, #13
str w8, [sp, #368]
b LBB5_216
LBB5_180: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
mov w8, #13
str w8, [sp, #368]
b LBB5_216
LBB5_181: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #332]
ldrsb w8, [sp, #339]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB5_183
b LBB5_182
LBB5_182: ; in Loop: Header=BB5_61 Depth=2
mov w8, #7
str w8, [sp, #368]
ldur x8, [x29, #-72]
ldr w9, [sp, #424]
subs w9, w9, #1
add x9, x8, w9, sxtw
mov w8, #32
strb w8, [x9]
b LBB5_215
LBB5_183: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB5_185
b LBB5_184
LBB5_184: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #39
cset w8, ne
tbnz w8, #0, LBB5_186
b LBB5_185
LBB5_185: ; in Loop: Header=BB5_61 Depth=2
ldrb w8, [sp, #339]
strb w8, [sp, #459]
mov w8, #3
str w8, [sp, #368]
str wzr, [sp, #332]
str wzr, [sp, #348]
mov w8, #1
str w8, [sp, #344]
b LBB5_214
LBB5_186: ; in Loop: Header=BB5_61 Depth=2
ldrsb w0, [sp, #339]
bl _isoptype
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_188
b LBB5_187
LBB5_187: ; in Loop: Header=BB5_61 Depth=2
strb wzr, [sp, #359]
mov w8, #9
str w8, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_213
LBB5_188: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #44
cset w8, ne
tbnz w8, #0, LBB5_190
b LBB5_189
LBB5_189: ; in Loop: Header=BB5_61 Depth=2
mov w8, #10
str w8, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_212
LBB5_190: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #58
cset w8, ne
tbnz w8, #0, LBB5_192
b LBB5_191
LBB5_191: ; in Loop: Header=BB5_61 Depth=2
mov w8, #11
str w8, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_211
LBB5_192: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #40
cset w8, eq
tbnz w8, #0, LBB5_195
b LBB5_193
LBB5_193: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #91
cset w8, eq
tbnz w8, #0, LBB5_195
b LBB5_194
LBB5_194: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #123
cset w8, ne
tbnz w8, #0, LBB5_196
b LBB5_195
LBB5_195: ; in Loop: Header=BB5_61 Depth=2
mov w8, #5
str w8, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_210
LBB5_196: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #41
cset w8, eq
tbnz w8, #0, LBB5_199
b LBB5_197
LBB5_197: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #93
cset w8, eq
tbnz w8, #0, LBB5_199
b LBB5_198
LBB5_198: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #125
cset w8, ne
tbnz w8, #0, LBB5_200
b LBB5_199
LBB5_199: ; in Loop: Header=BB5_61 Depth=2
mov w8, #6
str w8, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_209
LBB5_200: ; in Loop: Header=BB5_61 Depth=2
ldrsb w8, [sp, #339]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB5_202
b LBB5_201
LBB5_201: ; in Loop: Header=BB5_61 Depth=2
mov w8, #14
str w8, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_208
LBB5_202: ; in Loop: Header=BB5_61 Depth=2
ldrsb w0, [sp, #339]
bl _isalpha_lead
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_204
b LBB5_203
LBB5_203: ; in Loop: Header=BB5_61 Depth=2
str wzr, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_207
LBB5_204: ; in Loop: Header=BB5_61 Depth=2
ldrsb w0, [sp, #339]
bl _isnumeric_lead
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_206
b LBB5_205
LBB5_205: ; in Loop: Header=BB5_61 Depth=2
str wzr, [sp, #352]
mov w8, #2
str w8, [sp, #368]
ldr x8, [sp, #392]
subs x8, x8, #1
str x8, [sp, #392]
b LBB5_206
LBB5_206: ; in Loop: Header=BB5_61 Depth=2
b LBB5_207
LBB5_207: ; in Loop: Header=BB5_61 Depth=2
b LBB5_208
LBB5_208: ; in Loop: Header=BB5_61 Depth=2
b LBB5_209
LBB5_209: ; in Loop: Header=BB5_61 Depth=2
b LBB5_210
LBB5_210: ; in Loop: Header=BB5_61 Depth=2
b LBB5_211
LBB5_211: ; in Loop: Header=BB5_61 Depth=2
b LBB5_212
LBB5_212: ; in Loop: Header=BB5_61 Depth=2
b LBB5_213
LBB5_213: ; in Loop: Header=BB5_61 Depth=2
b LBB5_214
LBB5_214: ; in Loop: Header=BB5_61 Depth=2
b LBB5_215
LBB5_215: ; in Loop: Header=BB5_61 Depth=2
b LBB5_216
LBB5_216: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #332]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_218
b LBB5_217
LBB5_217: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldrb w8, [x8]
ldur x9, [x29, #-248]
strb w8, [x9]
ldur x8, [x29, #-248]
add x8, x8, #1
stur x8, [x29, #-248]
b LBB5_218
LBB5_218: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
ldr x9, [sp, #360]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB5_221
b LBB5_219
LBB5_219: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #324]
subs w8, w8, #13
cset w8, eq
tbnz w8, #0, LBB5_221
b LBB5_220
LBB5_220: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #328]
b LBB5_221
LBB5_221: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #328]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_231
b LBB5_222
LBB5_222: ; in Loop: Header=BB5_61 Depth=2
ldur x8, [x29, #-248]
strb wzr, [x8]
ldur x8, [x29, #-248]
add x8, x8, #1
stur x8, [x29, #-248]
ldr w8, [sp, #324]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_225
b LBB5_223
LBB5_223: ; in Loop: Header=BB5_61 Depth=2
ldur x0, [x29, #-256]
bl _is_special_name
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_225
b LBB5_224
LBB5_224: ; in Loop: Header=BB5_61 Depth=2
mov w8, #1
str w8, [sp, #324]
b LBB5_225
LBB5_225: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #324]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB5_227
b LBB5_226
LBB5_226: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #444]
add w8, w8, #1
str w8, [sp, #444]
b LBB5_230
LBB5_227: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #324]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB5_229
b LBB5_228
LBB5_228: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #444]
subs w8, w8, #1
str w8, [sp, #444]
b LBB5_229
LBB5_229: ; in Loop: Header=BB5_61 Depth=2
b LBB5_230
LBB5_230: ; in Loop: Header=BB5_61 Depth=2
ldr w8, [sp, #324]
ldur x9, [x29, #-120]
ldrsw x10, [sp, #460]
str w8, [x9, x10, lsl #2]
ldur x8, [x29, #-248]
stur x8, [x29, #-256]
ldr w8, [sp, #460]
add w8, w8, #1
str w8, [sp, #460]
b LBB5_231
LBB5_231: ; in Loop: Header=BB5_61 Depth=2
b LBB5_232
LBB5_232: ; in Loop: Header=BB5_61 Depth=2
ldr x8, [sp, #392]
add x8, x8, #1
str x8, [sp, #392]
b LBB5_61
LBB5_233: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-248]
strb wzr, [x8]
ldr w8, [sp, #452]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_235
b LBB5_234
LBB5_234: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #452]
b LBB5_244
LBB5_235: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #368]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB5_237
b LBB5_236
LBB5_236: ; in Loop: Header=BB5_1 Depth=1
mov w8, #2
str w8, [sp, #452]
b LBB5_243
LBB5_237: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #460]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_239
b LBB5_238
LBB5_238: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-120]
ldr w9, [sp, #460]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #14
cset w8, eq
tbnz w8, #0, LBB5_240
b LBB5_239
LBB5_239: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #444]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_241
b LBB5_240
LBB5_240: ; in Loop: Header=BB5_1 Depth=1
mov w8, #1
str w8, [sp, #452]
b LBB5_242
LBB5_241: ; in Loop: Header=BB5_1 Depth=1
mov w8, #3
str w8, [sp, #452]
b LBB5_242
LBB5_242: ; in Loop: Header=BB5_1 Depth=1
b LBB5_243
LBB5_243: ; in Loop: Header=BB5_1 Depth=1
b LBB5_244
LBB5_244: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_247
b LBB5_245
LBB5_245: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_247
b LBB5_246
LBB5_246: ; in Loop: Header=BB5_1 Depth=1
ldur x0, [x29, #-48]
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
mov w2, #1
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_449
LBB5_247: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB5_250
b LBB5_248
LBB5_248: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #428]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_250
b LBB5_249
LBB5_249: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_448
b LBB5_250
LBB5_250: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-136]
ldr w10, [sp, #440]
mov w9, #2
mul w9, w9, w10
subs x8, x8, w9, sxtw
cset w8, hs
tbnz w8, #0, LBB5_252
b LBB5_251
LBB5_251: ; in Loop: Header=BB5_1 Depth=1
ldr w9, [sp, #440]
mov w8, #2
str w8, [sp, #92] ; 4-byte Folded Spill
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #144
str x0, [sp, #96] ; 8-byte Folded Spill
bl _vlbuf_expand
ldr w8, [sp, #92] ; 4-byte Folded Reload
ldr w9, [sp, #440]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #168
bl _vlbuf_expand
ldr w8, [sp, #92] ; 4-byte Folded Reload
ldr w9, [sp, #440]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #192
bl _vlbuf_expand
ldr w8, [sp, #92] ; 4-byte Folded Reload
ldr w9, [sp, #440]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #216
bl _vlbuf_expand
ldr w8, [sp, #92] ; 4-byte Folded Reload
ldr w9, [sp, #440]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
sub x0, x29, #240
bl _vlbuf_expand
ldr w8, [sp, #92] ; 4-byte Folded Reload
ldr x0, [sp, #96] ; 8-byte Folded Reload
ldr w9, [sp, #440]
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _vlbuf_expand
b LBB5_252
LBB5_252: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #312]
ldur x8, [x29, #-144]
str x8, [sp, #304]
ldur x8, [x29, #-96]
str x8, [sp, #296]
ldr x8, [sp, #296]
str x8, [sp, #288]
str wzr, [sp, #284]
mov w8, #13
str w8, [sp, #280]
str w8, [sp, #276]
ldur x8, [x29, #-120]
ldr w8, [x8]
str w8, [sp, #272]
str wzr, [sp, #268]
b LBB5_253
LBB5_253: ; Parent Loop BB5_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB5_255 Depth 3
; Child Loop BB5_263 Depth 3
; Child Loop BB5_266 Depth 3
ldr w8, [sp, #268]
ldr w9, [sp, #460]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_389
b LBB5_254
LBB5_254: ; in Loop: Header=BB5_253 Depth=2
ldr x0, [sp, #288]
bl _strlen
add x9, x0, #1
ldr x8, [sp, #288]
add x8, x8, x9
str x8, [sp, #288]
b LBB5_255
LBB5_255: ; Parent Loop BB5_1 Depth=1
; Parent Loop BB5_253 Depth=2
; => This Inner Loop Header: Depth=3
ldur x8, [x29, #-120]
ldr w9, [sp, #268]
add w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #14
cset w8, ne
mov w9, #0
str w9, [sp, #88] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_257
b LBB5_256
LBB5_256: ; in Loop: Header=BB5_255 Depth=3
ldr w8, [sp, #268]
ldr w9, [sp, #460]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #88] ; 4-byte Folded Spill
b LBB5_257
LBB5_257: ; in Loop: Header=BB5_255 Depth=3
ldr w8, [sp, #88] ; 4-byte Folded Reload
tbz w8, #0, LBB5_259
b LBB5_258
LBB5_258: ; in Loop: Header=BB5_255 Depth=3
ldr x0, [sp, #288]
bl _strlen
add x9, x0, #1
ldr x8, [sp, #288]
add x8, x8, x9
str x8, [sp, #288]
ldr w8, [sp, #268]
add w8, w8, #1
str w8, [sp, #268]
b LBB5_255
LBB5_259: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
str w8, [sp, #280]
ldr w8, [sp, #272]
str w8, [sp, #276]
ldur x8, [x29, #-120]
ldr w9, [sp, #268]
add w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #272]
ldr w8, [sp, #276]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB5_261
b LBB5_260
LBB5_260: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #284]
add w8, w8, #1
str w8, [sp, #284]
b LBB5_261
LBB5_261: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB5_273
b LBB5_262
LBB5_262: ; in Loop: Header=BB5_253 Depth=2
ldr x0, [sp, #296]
bl _strlen
mov x8, x0
str w8, [sp, #264]
ldr x8, [sp, #296]
ldrsw x9, [sp, #264]
add x8, x8, x9
subs x8, x8, #1
str x8, [sp, #256]
ldr x8, [sp, #296]
str x8, [sp, #248]
b LBB5_263
LBB5_263: ; Parent Loop BB5_1 Depth=1
; Parent Loop BB5_253 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #248]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB5_265
b LBB5_264
LBB5_264: ; in Loop: Header=BB5_263 Depth=3
ldr x8, [sp, #248]
add x8, x8, #1
str x8, [sp, #248]
b LBB5_263
LBB5_265: ; in Loop: Header=BB5_253 Depth=2
b LBB5_266
LBB5_266: ; Parent Loop BB5_1 Depth=1
; Parent Loop BB5_253 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #256]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB5_268
b LBB5_267
LBB5_267: ; in Loop: Header=BB5_266 Depth=3
ldr x8, [sp, #256]
strb wzr, [x8]
ldr x8, [sp, #256]
subs x8, x8, #1
str x8, [sp, #256]
b LBB5_266
LBB5_268: ; in Loop: Header=BB5_253 Depth=2
ldr x8, [sp, #248]
ldrsb w8, [x8]
subs w8, w8, #33
cset w8, eq
tbnz w8, #0, LBB5_270
b LBB5_269
LBB5_269: ; in Loop: Header=BB5_253 Depth=2
ldr x8, [sp, #248]
ldr x9, [sp, #256]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB5_271
b LBB5_270
LBB5_270: ; in Loop: Header=BB5_253 Depth=2
ldr x9, [sp, #304]
add x8, x9, #1
str x8, [sp, #304]
mov w8, #35
strb w8, [x9]
b LBB5_272
LBB5_271: ; in Loop: Header=BB5_253 Depth=2
ldr x9, [sp, #304]
add x8, x9, #1
str x8, [sp, #304]
mov w8, #35
strb w8, [x9]
ldr x9, [sp, #304]
add x8, x9, #1
str x8, [sp, #304]
mov w8, #32
strb w8, [x9]
b LBB5_272
LBB5_272: ; in Loop: Header=BB5_253 Depth=2
ldr x0, [sp, #304]
ldr x1, [sp, #248]
bl _strapp
ldr x8, [sp, #304]
add x8, x8, x0
str x8, [sp, #304]
ldur x9, [x29, #-192]
ldrsw x10, [sp, #312]
mov w8, #10000
str w8, [x9, x10, lsl #2]
b LBB5_291
LBB5_273: ; in Loop: Header=BB5_253 Depth=2
ldr x0, [sp, #304]
ldr x1, [sp, #296]
bl _strapp
ldr x8, [sp, #304]
add x8, x8, x0
str x8, [sp, #304]
ldr w8, [sp, #276]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB5_277
b LBB5_274
LBB5_274: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB5_277
b LBB5_275
LBB5_275: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #284]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_277
b LBB5_276
LBB5_276: ; in Loop: Header=BB5_253 Depth=2
ldur x9, [x29, #-192]
ldrsw x10, [sp, #312]
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB5_290
LBB5_277: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB5_280
b LBB5_278
LBB5_278: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB5_280
b LBB5_279
LBB5_279: ; in Loop: Header=BB5_253 Depth=2
ldur x9, [x29, #-192]
ldrsw x10, [sp, #312]
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB5_289
LBB5_280: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_283
b LBB5_281
LBB5_281: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB5_283
b LBB5_282
LBB5_282: ; in Loop: Header=BB5_253 Depth=2
ldur x9, [x29, #-192]
ldrsw x10, [sp, #312]
mov w8, #-100
str w8, [x9, x10, lsl #2]
b LBB5_288
LBB5_283: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #15
cset w8, eq
tbnz w8, #0, LBB5_285
b LBB5_284
LBB5_284: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #15
cset w8, ne
tbnz w8, #0, LBB5_286
b LBB5_285
LBB5_285: ; in Loop: Header=BB5_253 Depth=2
ldur x9, [x29, #-192]
ldrsw x10, [sp, #312]
mov w8, #-2
str w8, [x9, x10, lsl #2]
b LBB5_287
LBB5_286: ; in Loop: Header=BB5_253 Depth=2
ldur x9, [x29, #-192]
ldrsw x10, [sp, #312]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB5_287
LBB5_287: ; in Loop: Header=BB5_253 Depth=2
b LBB5_288
LBB5_288: ; in Loop: Header=BB5_253 Depth=2
b LBB5_289
LBB5_289: ; in Loop: Header=BB5_253 Depth=2
b LBB5_290
LBB5_290: ; in Loop: Header=BB5_253 Depth=2
b LBB5_291
LBB5_291: ; in Loop: Header=BB5_253 Depth=2
ldr x8, [sp, #304]
ldur x9, [x29, #-144]
subs x8, x8, x9
ldur x9, [x29, #-168]
ldrsw x10, [sp, #312]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #284]
ldur x9, [x29, #-216]
ldrsw x10, [sp, #312]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #312]
add w8, w8, #1
str w8, [sp, #312]
ldr x8, [sp, #288]
str x8, [sp, #296]
ldr w8, [sp, #276]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB5_293
b LBB5_292
LBB5_292: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_382
LBB5_293: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB5_297
b LBB5_294
LBB5_294: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB5_297
b LBB5_295
LBB5_295: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_297
b LBB5_296
LBB5_296: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_381
LBB5_297: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB5_299
b LBB5_298
LBB5_298: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #8
cset w8, ne
tbnz w8, #0, LBB5_300
b LBB5_299
LBB5_299: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #284]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #244]
b LBB5_380
LBB5_300: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_305
b LBB5_301
LBB5_301: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB5_303
b LBB5_302
LBB5_302: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_304
LBB5_303: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_304
LBB5_304: ; in Loop: Header=BB5_253 Depth=2
b LBB5_379
LBB5_305: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_307
b LBB5_306
LBB5_306: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_378
LBB5_307: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB5_310
b LBB5_308
LBB5_308: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB5_310
b LBB5_309
LBB5_309: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_377
LBB5_310: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #12
cset w8, eq
tbnz w8, #0, LBB5_312
b LBB5_311
LBB5_311: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #12
cset w8, ne
tbnz w8, #0, LBB5_313
b LBB5_312
LBB5_312: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_376
LBB5_313: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #15
cset w8, eq
tbnz w8, #0, LBB5_315
b LBB5_314
LBB5_314: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #15
cset w8, ne
tbnz w8, #0, LBB5_316
b LBB5_315
LBB5_315: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_375
LBB5_316: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB5_319
b LBB5_317
LBB5_317: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #16
cset w8, ne
tbnz w8, #0, LBB5_319
b LBB5_318
LBB5_318: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_374
LBB5_319: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_322
b LBB5_320
LBB5_320: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #16
cset w8, ne
tbnz w8, #0, LBB5_322
b LBB5_321
LBB5_321: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_373
LBB5_322: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB5_325
b LBB5_323
LBB5_323: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #16
cset w8, ne
tbnz w8, #0, LBB5_325
b LBB5_324
LBB5_324: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_372
LBB5_325: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB5_328
b LBB5_326
LBB5_326: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #16
cset w8, ne
tbnz w8, #0, LBB5_328
b LBB5_327
LBB5_327: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_371
LBB5_328: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #16
cset w8, ne
tbnz w8, #0, LBB5_338
b LBB5_329
LBB5_329: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB5_335
b LBB5_330
LBB5_330: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #12
cset w8, eq
tbnz w8, #0, LBB5_335
b LBB5_331
LBB5_331: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB5_335
b LBB5_332
LBB5_332: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB5_335
b LBB5_333
LBB5_333: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB5_335
b LBB5_334
LBB5_334: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB5_336
b LBB5_335
LBB5_335: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_337
LBB5_336: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_337
LBB5_337: ; in Loop: Header=BB5_253 Depth=2
b LBB5_370
LBB5_338: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB5_340
b LBB5_339
LBB5_339: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB5_341
b LBB5_340
LBB5_340: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_369
LBB5_341: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB5_346
b LBB5_342
LBB5_342: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB5_344
b LBB5_343
LBB5_343: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_345
LBB5_344: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_345
LBB5_345: ; in Loop: Header=BB5_253 Depth=2
b LBB5_368
LBB5_346: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB5_352
b LBB5_347
LBB5_347: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_349
b LBB5_348
LBB5_348: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #280]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_350
b LBB5_349
LBB5_349: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_351
LBB5_350: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_351
LBB5_351: ; in Loop: Header=BB5_253 Depth=2
b LBB5_367
LBB5_352: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB5_355
b LBB5_353
LBB5_353: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_355
b LBB5_354
LBB5_354: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_366
LBB5_355: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB5_357
b LBB5_356
LBB5_356: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB5_358
b LBB5_357
LBB5_357: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_365
LBB5_358: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB5_362
b LBB5_359
LBB5_359: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB5_362
b LBB5_360
LBB5_360: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #276]
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB5_362
b LBB5_361
LBB5_361: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB5_363
b LBB5_362
LBB5_362: ; in Loop: Header=BB5_253 Depth=2
str wzr, [sp, #244]
b LBB5_364
LBB5_363: ; in Loop: Header=BB5_253 Depth=2
mov w8, #1
str w8, [sp, #244]
b LBB5_364
LBB5_364: ; in Loop: Header=BB5_253 Depth=2
b LBB5_365
LBB5_365: ; in Loop: Header=BB5_253 Depth=2
b LBB5_366
LBB5_366: ; in Loop: Header=BB5_253 Depth=2
b LBB5_367
LBB5_367: ; in Loop: Header=BB5_253 Depth=2
b LBB5_368
LBB5_368: ; in Loop: Header=BB5_253 Depth=2
b LBB5_369
LBB5_369: ; in Loop: Header=BB5_253 Depth=2
b LBB5_370
LBB5_370: ; in Loop: Header=BB5_253 Depth=2
b LBB5_371
LBB5_371: ; in Loop: Header=BB5_253 Depth=2
b LBB5_372
LBB5_372: ; in Loop: Header=BB5_253 Depth=2
b LBB5_373
LBB5_373: ; in Loop: Header=BB5_253 Depth=2
b LBB5_374
LBB5_374: ; in Loop: Header=BB5_253 Depth=2
b LBB5_375
LBB5_375: ; in Loop: Header=BB5_253 Depth=2
b LBB5_376
LBB5_376: ; in Loop: Header=BB5_253 Depth=2
b LBB5_377
LBB5_377: ; in Loop: Header=BB5_253 Depth=2
b LBB5_378
LBB5_378: ; in Loop: Header=BB5_253 Depth=2
b LBB5_379
LBB5_379: ; in Loop: Header=BB5_253 Depth=2
b LBB5_380
LBB5_380: ; in Loop: Header=BB5_253 Depth=2
b LBB5_381
LBB5_381: ; in Loop: Header=BB5_253 Depth=2
b LBB5_382
LBB5_382: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #244]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_385
b LBB5_383
LBB5_383: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #268]
ldr w9, [sp, #460]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_385
b LBB5_384
LBB5_384: ; in Loop: Header=BB5_253 Depth=2
ldr x9, [sp, #304]
add x8, x9, #1
str x8, [sp, #304]
mov w8, #32
strb w8, [x9]
b LBB5_385
LBB5_385: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #272]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB5_387
b LBB5_386
LBB5_386: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #284]
subs w8, w8, #1
str w8, [sp, #284]
b LBB5_387
LBB5_387: ; in Loop: Header=BB5_253 Depth=2
b LBB5_388
LBB5_388: ; in Loop: Header=BB5_253 Depth=2
ldr w8, [sp, #268]
add w8, w8, #1
str w8, [sp, #268]
b LBB5_253
LBB5_389: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #304]
ldur x9, [x29, #-144]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #240]
ldr w9, [sp, #448]
mov w8, #80
subs w8, w8, w9
str w8, [sp, #236]
ldur x0, [x29, #-48]
ldr w2, [sp, #448]
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
mov w1, #32
bl _vlbuf_extend
mov x8, x0
str w8, [sp, #432]
ldr w8, [sp, #312]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_443
b LBB5_390
LBB5_390: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #232]
b LBB5_391
LBB5_391: ; Parent Loop BB5_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB5_402 Depth 3
ldr w8, [sp, #232]
ldr w9, [sp, #312]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_442
b LBB5_392
LBB5_392: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #232]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_394
b LBB5_393
LBB5_393: ; in Loop: Header=BB5_391 Depth=2
ldur x8, [x29, #-168]
ldr w9, [sp, #232]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #84] ; 4-byte Folded Spill
b LBB5_395
LBB5_394: ; in Loop: Header=BB5_391 Depth=2
mov w8, #0
str w8, [sp, #84] ; 4-byte Folded Spill
b LBB5_395
LBB5_395: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #84] ; 4-byte Folded Reload
str w8, [sp, #228]
ldr w8, [sp, #232]
ldr w9, [sp, #312]
subs w9, w9, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB5_397
b LBB5_396
LBB5_396: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #240]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB5_398
LBB5_397: ; in Loop: Header=BB5_391 Depth=2
ldur x8, [x29, #-168]
ldrsw x9, [sp, #232]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB5_398
LBB5_398: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #80] ; 4-byte Folded Reload
str w8, [sp, #224]
ldur x0, [x29, #-240]
ldur x8, [x29, #-144]
ldrsw x9, [sp, #228]
add x1, x8, x9
ldr w8, [sp, #224]
ldr w9, [sp, #228]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memcpy_chk
ldur x8, [x29, #-240]
ldr w9, [sp, #224]
ldr w10, [sp, #228]
subs w9, w9, w10
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr w8, [sp, #224]
ldr w9, [sp, #228]
subs w8, w8, w9
str w8, [sp, #220]
ldr w8, [sp, #232]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_400
b LBB5_399
LBB5_399: ; in Loop: Header=BB5_391 Depth=2
ldur x8, [x29, #-192]
ldr w9, [sp, #232]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
mov w9, #10000
subs w8, w8, w9
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB5_401
LBB5_400: ; in Loop: Header=BB5_391 Depth=2
mov w8, #0
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB5_401
LBB5_401: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #76] ; 4-byte Folded Reload
str w8, [sp, #216]
mov w8, #48576
movk w8, #65520, lsl #16
str w8, [sp, #212]
mov w8, #-1
str w8, [sp, #208]
ldr w8, [sp, #236]
str w8, [sp, #204]
ldr w8, [sp, #232]
str w8, [sp, #200]
b LBB5_402
LBB5_402: ; Parent Loop BB5_1 Depth=1
; Parent Loop BB5_391 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #200]
ldr w9, [sp, #312]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #72] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_404
b LBB5_403
LBB5_403: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #204]
subs w8, w8, #0
cset w8, ge
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB5_404
LBB5_404: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #72] ; 4-byte Folded Reload
tbz w8, #0, LBB5_423
b LBB5_405
LBB5_405: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #200]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_407
b LBB5_406
LBB5_406: ; in Loop: Header=BB5_402 Depth=3
ldur x8, [x29, #-168]
ldr w9, [sp, #200]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB5_408
LBB5_407: ; in Loop: Header=BB5_402 Depth=3
mov w8, #0
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB5_408
LBB5_408: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #68] ; 4-byte Folded Reload
str w8, [sp, #196]
ldr w8, [sp, #200]
ldr w9, [sp, #312]
subs w9, w9, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB5_410
b LBB5_409
LBB5_409: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #240]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB5_411
LBB5_410: ; in Loop: Header=BB5_402 Depth=3
ldur x8, [x29, #-168]
ldrsw x9, [sp, #200]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB5_411
LBB5_411: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #64] ; 4-byte Folded Reload
str w8, [sp, #192]
ldr w8, [sp, #192]
ldr w9, [sp, #196]
subs w8, w8, w9
str w8, [sp, #188]
ldr w9, [sp, #188]
ldr w8, [sp, #204]
subs w8, w8, w9
str w8, [sp, #204]
ldur x8, [x29, #-216]
ldr w9, [sp, #200]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #184]
ldr w8, [sp, #184]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_413
b LBB5_412
LBB5_412: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #184]
subs w8, w8, #1
str w8, [sp, #184]
b LBB5_413
LBB5_413: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #200]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_415
b LBB5_414
LBB5_414: ; in Loop: Header=BB5_402 Depth=3
ldur x8, [x29, #-192]
ldr w9, [sp, #200]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
ldr w10, [sp, #184]
mov w9, #-100
mul w9, w9, w10
add w8, w8, w9
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB5_416
LBB5_415: ; in Loop: Header=BB5_402 Depth=3
mov w8, #0
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB5_416
LBB5_416: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #60] ; 4-byte Folded Reload
str w8, [sp, #180]
ldr w8, [sp, #180]
ldr w9, [sp, #212]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB5_418
b LBB5_417
LBB5_417: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #180]
str w8, [sp, #212]
ldr w8, [sp, #200]
str w8, [sp, #208]
b LBB5_418
LBB5_418: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #204]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB5_421
b LBB5_419
LBB5_419: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #200]
ldr w9, [sp, #312]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_421
b LBB5_420
LBB5_420: ; in Loop: Header=BB5_402 Depth=3
mov w8, #-1
str w8, [sp, #208]
b LBB5_421
LBB5_421: ; in Loop: Header=BB5_402 Depth=3
b LBB5_422
LBB5_422: ; in Loop: Header=BB5_402 Depth=3
ldr w8, [sp, #200]
add w8, w8, #1
str w8, [sp, #200]
b LBB5_402
LBB5_423: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #208]
ldr w9, [sp, #232]
subs w8, w8, w9
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #176]
ldr w8, [sp, #220]
ldr w9, [sp, #236]
subs w8, w8, w9
cset w8, ge
and w8, w8, #0x1
str w8, [sp, #172]
mov w8, #1
str w8, [sp, #168]
ldr w8, [sp, #232]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_425
b LBB5_424
LBB5_424: ; in Loop: Header=BB5_391 Depth=2
mov w8, #1
str w8, [sp, #168]
b LBB5_431
LBB5_425: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #216]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_428
b LBB5_426
LBB5_426: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #172]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_428
b LBB5_427
LBB5_427: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #176]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_429
b LBB5_428
LBB5_428: ; in Loop: Header=BB5_391 Depth=2
str wzr, [sp, #168]
b LBB5_430
LBB5_429: ; in Loop: Header=BB5_391 Depth=2
mov w8, #1
str w8, [sp, #168]
b LBB5_430
LBB5_430: ; in Loop: Header=BB5_391 Depth=2
b LBB5_431
LBB5_431: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #168]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_433
b LBB5_432
LBB5_432: ; in Loop: Header=BB5_391 Depth=2
ldr w9, [sp, #220]
ldr w8, [sp, #236]
subs w8, w8, w9
str w8, [sp, #236]
ldur x8, [x29, #-48]
str x8, [sp, #48] ; 8-byte Folded Spill
ldur x8, [x29, #-240]
str x8, [sp, #40] ; 8-byte Folded Spill
ldur x0, [x29, #-240]
bl _strlen
ldr x1, [sp, #40] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
mov x2, x8
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_440
LBB5_433: ; in Loop: Header=BB5_391 Depth=2
ldur x8, [x29, #-240]
str x8, [sp, #160]
ldur x8, [x29, #-240]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB5_435
b LBB5_434
LBB5_434: ; in Loop: Header=BB5_391 Depth=2
ldur x8, [x29, #-240]
add x8, x8, #1
str x8, [sp, #160]
ldr w8, [sp, #220]
subs w8, w8, #1
str w8, [sp, #220]
b LBB5_435
LBB5_435: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #216]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_437
b LBB5_436
LBB5_436: ; in Loop: Header=BB5_391 Depth=2
ldur x8, [x29, #-216]
ldr w9, [sp, #232]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_438
b LBB5_437
LBB5_437: ; in Loop: Header=BB5_391 Depth=2
ldur x0, [x29, #-48]
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
mov w2, #1
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_439
LBB5_438: ; in Loop: Header=BB5_391 Depth=2
ldur x0, [x29, #-48]
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
adrp x1, l_.str.63@PAGE
add x1, x1, l_.str.63@PAGEOFF
mov w2, #3
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_439
LBB5_439: ; in Loop: Header=BB5_391 Depth=2
ldr w9, [sp, #448]
mov w8, #80
subs w8, w8, w9
subs w8, w8, #4
ldr w9, [sp, #220]
subs w8, w8, w9
str w8, [sp, #236]
ldur x0, [x29, #-48]
ldr w8, [sp, #448]
add w2, w8, #4
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
mov w1, #32
bl _vlbuf_extend
mov x8, x0
str w8, [sp, #432]
ldur x8, [x29, #-48]
str x8, [sp, #32] ; 8-byte Folded Spill
ldr x8, [sp, #160]
str x8, [sp, #24] ; 8-byte Folded Spill
ldr x0, [sp, #160]
bl _strlen
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x2, x8
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_440
LBB5_440: ; in Loop: Header=BB5_391 Depth=2
b LBB5_441
LBB5_441: ; in Loop: Header=BB5_391 Depth=2
ldr w8, [sp, #232]
add w8, w8, #1
str w8, [sp, #232]
b LBB5_391
LBB5_442: ; in Loop: Header=BB5_1 Depth=1
ldur x0, [x29, #-48]
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
mov w2, #1
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_444
LBB5_443: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-48]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x8, [x29, #-144]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-144]
bl _strlen
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x2, x8
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
ldur x0, [x29, #-48]
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
mov w2, #1
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_444
LBB5_444: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #452]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_446
b LBB5_445
LBB5_445: ; in Loop: Header=BB5_1 Depth=1
ldur x0, [x29, #-48]
ldrsw x3, [sp, #432]
ldur x4, [x29, #-32]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
mov w2, #1
bl _vlbuf_append
mov x8, x0
str w8, [sp, #432]
b LBB5_447
LBB5_446: ; in Loop: Header=BB5_1 Depth=1
mov w8, #3
str w8, [sp, #452]
b LBB5_447
LBB5_447: ; in Loop: Header=BB5_1 Depth=1
b LBB5_448
LBB5_448: ; in Loop: Header=BB5_1 Depth=1
b LBB5_449
LBB5_449: ; in Loop: Header=BB5_1 Depth=1
b LBB5_1
LBB5_450:
sub x0, x29, #72
bl _vlbuf_free
sub x0, x29, #96
bl _vlbuf_free
sub x0, x29, #120
bl _vlbuf_free
sub x0, x29, #144
bl _vlbuf_free
sub x0, x29, #168
bl _vlbuf_free
sub x0, x29, #192
bl _vlbuf_free
sub x0, x29, #216
bl _vlbuf_free
sub x0, x29, #240
bl _vlbuf_free
add sp, sp, #704
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
.p2align 2
lJTI5_0:
.long LBB5_72-Ltmp4
.long LBB5_72-Ltmp4
.long LBB5_82-Ltmp4
.long LBB5_103-Ltmp4
.long LBB5_126-Ltmp4
.long LBB5_140-Ltmp4
.long LBB5_141-Ltmp4
.long LBB5_142-Ltmp4
.long LBB5_143-Ltmp4
.long LBB5_143-Ltmp4
.long LBB5_178-Ltmp4
.long LBB5_179-Ltmp4
.long LBB5_143-Ltmp4
.long LBB5_181-Ltmp4
.long LBB5_180-Ltmp4
.long LBB5_82-Ltmp4
.long LBB5_143-Ltmp4
; -- End function
.p2align 2 ; -- Begin function vlbuf_free
_vlbuf_free: ; @vlbuf_free
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x0, [x8]
bl _free
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function strapp
_strapp: ; @strapp
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str xzr, [sp, #8]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
ldr x10, [sp, #8]
add x9, x9, x10
strb w8, [x9]
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB7_1
LBB7_3:
ldr x0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function make_special_name_table
_make_special_name_table: ; @make_special_name_table
.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, #-8]
stur wzr, [x29, #-12]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldursw x9, [x29, #-12]
adrp x8, _specnames@PAGE
add x8, x8, _specnames@PAGEOFF
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_4
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _specnames@PAGE
add x8, x8, _specnames@PAGEOFF
ldr x0, [x8, x9, lsl #3]
bl _strlen
add x9, x0, #1
ldursw x8, [x29, #-8]
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-8]
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB8_1
LBB8_4:
ldursw x9, [x29, #-8]
mov x8, #104
mul x0, x8, x9
bl _malloc
adrp x8, _spectable@PAGE
str x0, [x8, _spectable@PAGEOFF]
ldursw x9, [x29, #-8]
mov x8, #4
mul x0, x8, x9
bl _malloc
adrp x8, _terminal@PAGE
str x0, [x8, _terminal@PAGEOFF]
stur wzr, [x29, #-16]
b LBB8_5
LBB8_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w10, [x29, #-8]
mov w9, #26
mul w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_8
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_5 Depth=1
adrp x8, _spectable@PAGE
ldr x9, [x8, _spectable@PAGEOFF]
ldursw x10, [x29, #-16]
mov w8, #-1
str w8, [x9, x10, lsl #2]
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_5 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB8_5
LBB8_8:
stur wzr, [x29, #-20]
b LBB8_9
LBB8_9: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_12
b LBB8_10
LBB8_10: ; in Loop: Header=BB8_9 Depth=1
adrp x8, _terminal@PAGE
ldr x9, [x8, _terminal@PAGEOFF]
ldursw x10, [x29, #-20]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB8_11
LBB8_11: ; in Loop: Header=BB8_9 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB8_9
LBB8_12:
mov w8, #1
stur w8, [x29, #-24]
stur wzr, [x29, #-28]
b LBB8_13
LBB8_13: ; =>This Loop Header: Depth=1
; Child Loop BB8_15 Depth 2
ldur w8, [x29, #-28]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_23
b LBB8_14
LBB8_14: ; in Loop: Header=BB8_13 Depth=1
ldursw x9, [x29, #-28]
adrp x8, _specnames@PAGE
add x8, x8, _specnames@PAGEOFF
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
b LBB8_15
LBB8_15: ; Parent Loop BB8_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_21
b LBB8_16
LBB8_16: ; in Loop: Header=BB8_15 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldrsb w8, [x8, x9]
subs w8, w8, #97
str w8, [sp, #12]
adrp x8, _spectable@PAGE
ldr x8, [x8, _spectable@PAGEOFF]
ldr w10, [sp, #20]
mov w9, #26
mul w9, w9, w10
ldr w10, [sp, #12]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB8_18
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_15 Depth=2
ldur w8, [x29, #-24]
adrp x9, _spectable@PAGE
ldr x9, [x9, _spectable@PAGEOFF]
ldr w11, [sp, #20]
mov w10, #26
mul w10, w10, w11
ldr w11, [sp, #12]
add w10, w10, w11
str w8, [x9, w10, sxtw #2]
ldur w8, [x29, #-24]
str w8, [sp, #20]
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB8_19
LBB8_18: ; in Loop: Header=BB8_15 Depth=2
adrp x8, _spectable@PAGE
ldr x8, [x8, _spectable@PAGEOFF]
ldr w10, [sp, #20]
mov w9, #26
mul w9, w9, w10
ldr w10, [sp, #12]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #20]
b LBB8_19
LBB8_19: ; in Loop: Header=BB8_15 Depth=2
b LBB8_20
LBB8_20: ; in Loop: Header=BB8_15 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB8_15
LBB8_21: ; in Loop: Header=BB8_13 Depth=1
adrp x8, _terminal@PAGE
ldr x9, [x8, _terminal@PAGEOFF]
ldrsw x10, [sp, #20]
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB8_22
LBB8_22: ; in Loop: Header=BB8_13 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB8_13
LBB8_23:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vlbuf_expand
_vlbuf_expand: ; @vlbuf_expand
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8]
ldr x8, [x9, #8]
lsl x8, x8, #1
str x8, [x9, #8]
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB9_1
b LBB9_3
LBB9_3:
ldr x8, [sp, #8]
ldr x0, [x8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #16]
mul x1, x8, x9
bl _realloc
ldr x8, [sp, #8]
str x0, [x8]
ldr x8, [sp, #8]
ldr x0, [x8, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function isalpha_lead
_isalpha_lead: ; @isalpha_lead
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #11]
ldrsb w8, [sp, #11]
subs w8, w8, #127
cset w8, ls
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
mov w8, #1
str w8, [sp, #12]
b LBB10_11
LBB10_2:
ldrsb w9, [sp, #11]
mov w8, #97
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB10_5
b LBB10_3
LBB10_3:
ldrsb w8, [sp, #11]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
mov w8, #1
str w8, [sp, #12]
b LBB10_11
LBB10_5:
ldrsb w9, [sp, #11]
mov w8, #65
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB10_8
b LBB10_6
LBB10_6:
ldrsb w8, [sp, #11]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7:
mov w8, #1
str w8, [sp, #12]
b LBB10_11
LBB10_8:
ldrsb w9, [sp, #11]
mov w8, #95
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB10_10
b LBB10_9
LBB10_9:
mov w8, #1
str w8, [sp, #12]
b LBB10_11
LBB10_10:
str wzr, [sp, #12]
b LBB10_11
LBB10_11:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function isnumeric_lead
_isnumeric_lead: ; @isnumeric_lead
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #11]
ldrsb w9, [sp, #11]
mov w8, #48
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB11_3
b LBB11_1
LBB11_1:
ldrsb w8, [sp, #11]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB11_3
b LBB11_2
LBB11_2:
mov w8, #1
str w8, [sp, #12]
b LBB11_6
LBB11_3:
ldrsb w9, [sp, #11]
mov w8, #46
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB11_5
b LBB11_4
LBB11_4:
mov w8, #1
str w8, [sp, #12]
b LBB11_6
LBB11_5:
str wzr, [sp, #12]
b LBB11_6
LBB11_6:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function isoptype
_isoptype: ; @isoptype
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #11]
ldrsb w8, [sp, #11]
subs w8, w8, #61
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_1
LBB12_1:
ldrsb w8, [sp, #11]
subs w8, w8, #43
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_2
LBB12_2:
ldrsb w8, [sp, #11]
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_3
LBB12_3:
ldrsb w8, [sp, #11]
subs w8, w8, #64
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_4
LBB12_4:
ldrsb w8, [sp, #11]
subs w8, w8, #124
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_5
LBB12_5:
ldrsb w8, [sp, #11]
subs w8, w8, #94
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_6
LBB12_6:
ldrsb w8, [sp, #11]
subs w8, w8, #38
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_7
LBB12_7:
ldrsb w8, [sp, #11]
subs w8, w8, #42
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_8
LBB12_8:
ldrsb w8, [sp, #11]
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_9
LBB12_9:
ldrsb w8, [sp, #11]
subs w8, w8, #60
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_10
LBB12_10:
ldrsb w8, [sp, #11]
subs w8, w8, #62
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_11
LBB12_11:
ldrsb w8, [sp, #11]
subs w8, w8, #33
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_12
LBB12_12:
ldrsb w8, [sp, #11]
subs w8, w8, #126
cset w8, eq
tbnz w8, #0, LBB12_14
b LBB12_13
LBB12_13:
ldrsb w8, [sp, #11]
subs w8, w8, #37
cset w8, ne
tbnz w8, #0, LBB12_15
b LBB12_14
LBB12_14:
mov w8, #1
str w8, [sp, #12]
b LBB12_16
LBB12_15:
str wzr, [sp, #12]
b LBB12_16
LBB12_16:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function is_special_name
_is_special_name: ; @is_special_name
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
b LBB13_1
LBB13_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB13_9
b LBB13_2
LBB13_2: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB13_4
b LBB13_3
LBB13_3: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #122
cset w8, le
tbnz w8, #0, LBB13_5
b LBB13_4
LBB13_4:
str wzr, [sp, #28]
b LBB13_10
LBB13_5: ; in Loop: Header=BB13_1 Depth=1
adrp x8, _spectable@PAGE
ldr x8, [x8, _spectable@PAGEOFF]
ldr w10, [sp, #12]
mov w9, #26
mul w9, w9, w10
ldr x10, [sp, #16]
ldrsw x11, [sp, #8]
ldrsb w10, [x10, x11]
subs w10, w10, #97
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #12]
ldr w8, [sp, #12]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB13_7
b LBB13_6
LBB13_6:
str wzr, [sp, #28]
b LBB13_10
LBB13_7: ; in Loop: Header=BB13_1 Depth=1
b LBB13_8
LBB13_8: ; in Loop: Header=BB13_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB13_1
LBB13_9:
adrp x8, _terminal@PAGE
ldr x8, [x8, _terminal@PAGEOFF]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #28]
b LBB13_10
LBB13_10:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vlbuf_append
_vlbuf_append: ; @vlbuf_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, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
str x3, [sp, #16]
str x4, [sp, #8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_4
b LBB14_1
LBB14_1:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr x9, [sp, #16]
ldursw x10, [x29, #-20]
add x9, x9, x10
add x9, x9, #1
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB14_3
b LBB14_2
LBB14_2:
ldur x0, [x29, #-8]
ldursw x8, [x29, #-20]
ldr x9, [sp, #16]
add x8, x8, x9
add x1, x8, #1
bl _vlbuf_expand
b LBB14_3
LBB14_3:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #16]
add x0, x8, x9
ldur x1, [x29, #-16]
ldur w8, [x29, #-20]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memcpy_chk
b LBB14_4
LBB14_4:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_6
b LBB14_5
LBB14_5:
ldur x0, [x29, #-16]
ldursw x2, [x29, #-20]
ldr x3, [sp, #8]
mov x1, #1
bl _fwrite
b LBB14_6
LBB14_6:
ldursw x8, [x29, #-20]
ldr x9, [sp, #16]
add x0, x8, x9
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vlbuf_extend
_vlbuf_extend: ; @vlbuf_extend
.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, #48]
strb w1, [sp, #47]
str w2, [sp, #40]
str x3, [sp, #32]
str x4, [sp, #24]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_4
b LBB15_1
LBB15_1:
ldr x8, [sp, #48]
ldr x8, [x8, #8]
ldr x9, [sp, #32]
ldrsw x10, [sp, #40]
add x9, x9, x10
add x9, x9, #1
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB15_3
b LBB15_2
LBB15_2:
ldr x0, [sp, #48]
ldr x8, [sp, #32]
ldrsw x9, [sp, #40]
add x8, x8, x9
add x1, x8, #1
bl _vlbuf_expand
b LBB15_3
LBB15_3:
ldr x8, [sp, #48]
ldr x8, [x8]
ldr x9, [sp, #32]
add x0, x8, x9
ldrsb w1, [sp, #47]
ldrsw x2, [sp, #40]
mov x3, #-1
bl ___memset_chk
ldr x8, [sp, #48]
ldr x8, [x8]
ldr x9, [sp, #32]
ldrsw x10, [sp, #40]
add x9, x9, x10
add x9, x9, #1
add x8, x8, x9
strb wzr, [x8]
b LBB15_4
LBB15_4:
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_15
b LBB15_5
LBB15_5:
ldr w8, [sp, #40]
subs w8, w8, #1024
cset w8, le
tbnz w8, #0, LBB15_7
b LBB15_6
LBB15_6:
mov w8, #1024
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB15_8
LBB15_7:
ldr w8, [sp, #40]
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB15_8
LBB15_8:
ldr w9, [sp, #16] ; 4-byte Folded Reload
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
add x0, sp, #56
mov w1, #32
mov x3, #1024
bl ___memset_chk
ldr w8, [sp, #40]
str w8, [sp, #20]
b LBB15_9
LBB15_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB15_14
b LBB15_10
LBB15_10: ; in Loop: Header=BB15_9 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1024
cset w8, le
tbnz w8, #0, LBB15_12
b LBB15_11
LBB15_11: ; in Loop: Header=BB15_9 Depth=1
mov w8, #1024
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB15_13
LBB15_12: ; in Loop: Header=BB15_9 Depth=1
ldr w8, [sp, #20]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB15_13
LBB15_13: ; in Loop: Header=BB15_9 Depth=1
ldr w9, [sp, #12] ; 4-byte Folded Reload
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
ldr x3, [sp, #24]
add x0, sp, #56
mov x1, #1
bl _fwrite
ldr w8, [sp, #20]
subs w8, w8, #1024
str w8, [sp, #20]
b LBB15_9
LBB15_14:
b LBB15_15
LBB15_15:
ldrsw x8, [sp, #40]
ldr x9, [sp, #32]
add x8, x8, x9
str x8, [sp] ; 8-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB15_17
b LBB15_16
LBB15_16:
bl ___stack_chk_fail
LBB15_17:
ldr x0, [sp] ; 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
.p2align 2 ; -- Begin function free_special_name_table
_free_special_name_table: ; @free_special_name_table
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _spectable@PAGE
ldr x0, [x8, _spectable@PAGEOFF]
bl _free
adrp x8, _terminal@PAGE
ldr x0, [x8, _terminal@PAGEOFF]
bl _free
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: pfai [files]\n (to stdout) pfa [files]\n"
l_.str.1: ; @.str.1
.asciz "Usage: pfa [files]\n (in place) pfai [files]\n"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "File "
l_.str.4: ; @.str.4
.asciz " dne\n"
l_.str.5: ; @.str.5
.asciz ".pfa_XXXXXX"
l_.str.6: ; @.str.6
.asciz "Could not get original permissions for "
l_.str.7: ; @.str.7
.asciz "\n"
l_.str.8: ; @.str.8
.asciz "Failed to overwrite "
l_.str.9: ; @.str.9
.asciz " with "
l_.str.10: ; @.str.10
.asciz "LINE_BLNK"
l_.str.11: ; @.str.11
.asciz "LINE_CONT"
l_.str.12: ; @.str.12
.asciz "LINE_NORM"
l_.str.13: ; @.str.13
.asciz "LINE_TSTR"
l_.str.14: ; @.str.14
.asciz "LINE_????"
l_.str.15: ; @.str.15
.asciz "LAB"
l_.str.16: ; @.str.16
.asciz "SPC"
l_.str.17: ; @.str.17
.asciz "NUM"
l_.str.18: ; @.str.18
.asciz "STR"
l_.str.19: ; @.str.19
.asciz "TST"
l_.str.20: ; @.str.20
.asciz "OBR"
l_.str.21: ; @.str.21
.asciz "CBR"
l_.str.22: ; @.str.22
.asciz "CMT"
l_.str.23: ; @.str.23
.asciz "OPR"
l_.str.24: ; @.str.24
.asciz "EQL"
l_.str.25: ; @.str.25
.asciz "EXP"
l_.str.26: ; @.str.26
.asciz "CLN"
l_.str.27: ; @.str.27
.asciz "CMA"
l_.str.28: ; @.str.28
.asciz "INB"
l_.str.29: ; @.str.29
.asciz "LCO"
l_.str.30: ; @.str.30
.asciz "DOT"
l_.str.31: ; @.str.31
.asciz "UNO"
l_.str.32: ; @.str.32
.asciz "???"
.section __DATA,__data
.p2align 3 ; @specnames
_specnames:
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.36
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.47
.quad l_.str.48
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.62
.quad 0
.zerofill __DATA,__bss,_spectable,8,3 ; @spectable
.zerofill __DATA,__bss,_terminal,8,3 ; @terminal
.section __TEXT,__cstring,cstring_literals
l_.str.33: ; @.str.33
.asciz "and"
l_.str.34: ; @.str.34
.asciz "as"
l_.str.35: ; @.str.35
.asciz "assert"
l_.str.36: ; @.str.36
.asciz "break"
l_.str.37: ; @.str.37
.asciz "class"
l_.str.38: ; @.str.38
.asciz "continue"
l_.str.39: ; @.str.39
.asciz "def"
l_.str.40: ; @.str.40
.asciz "del"
l_.str.41: ; @.str.41
.asciz "elif"
l_.str.42: ; @.str.42
.asciz "else"
l_.str.43: ; @.str.43
.asciz "except"
l_.str.44: ; @.str.44
.asciz "finally"
l_.str.45: ; @.str.45
.asciz "for"
l_.str.46: ; @.str.46
.asciz "from"
l_.str.47: ; @.str.47
.asciz "global"
l_.str.48: ; @.str.48
.asciz "if"
l_.str.49: ; @.str.49
.asciz "import"
l_.str.50: ; @.str.50
.asciz "in"
l_.str.51: ; @.str.51
.asciz "is"
l_.str.52: ; @.str.52
.asciz "lambda"
l_.str.53: ; @.str.53
.asciz "nonlocal"
l_.str.54: ; @.str.54
.asciz "not"
l_.str.55: ; @.str.55
.asciz "or"
l_.str.56: ; @.str.56
.asciz "pass"
l_.str.57: ; @.str.57
.asciz "raise"
l_.str.58: ; @.str.58
.asciz "return"
l_.str.59: ; @.str.59
.asciz "try"
l_.str.60: ; @.str.60
.asciz "while"
l_.str.61: ; @.str.61
.asciz "with"
l_.str.62: ; @.str.62
.asciz "yield"
l_.str.63: ; @.str.63
.asciz " \\\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vlbuf_make ## -- Begin function vlbuf_make
.p2align 4, 0x90
_vlbuf_make: ## @vlbuf_make
.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, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movq %rax, %rdi
movq %rdi, -16(%rbp) ## 8-byte Spill
movq %rsi, -8(%rbp)
movq -8(%rbp), %rcx
movq %rcx, 16(%rax)
movq $16, 8(%rax)
movq 8(%rax), %rdi
imulq 16(%rax), %rdi
callq _malloc
movq -24(%rbp), %rdi ## 8-byte Reload
movq %rax, %rcx
movq -16(%rbp), %rax ## 8-byte Reload
movq %rcx, (%rdi)
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 $368, %rsp ## imm = 0x170
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -304(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movq -304(%rbp), %rax ## 8-byte Reload
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $105, %eax
jne LBB1_2
## %bb.1:
movl $1, -20(%rbp)
LBB1_2:
cmpl $1, -8(%rbp)
jne LBB1_7
## %bb.3:
cmpl $0, -20(%rbp)
je LBB1_5
## %bb.4:
movl $1, %edi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _logerr
jmp LBB1_6
LBB1_5:
movl $1, %edi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _logerr
LBB1_6:
movl $1, -4(%rbp)
jmp LBB1_45
LBB1_7:
callq _make_special_name_table
leaq -48(%rbp), %rdi
movl $1, %esi
callq _vlbuf_make
leaq -72(%rbp), %rdi
movl $1, %esi
callq _vlbuf_make
movl $0, -76(%rbp)
movl $1, -80(%rbp)
LBB1_8: ## =>This Inner Loop Header: Depth=1
movl -80(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_13
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movq -16(%rbp), %rax
movslq -80(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
cmpl -76(%rbp), %eax
jle LBB1_11
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
movl -84(%rbp), %eax
movl %eax, -76(%rbp)
LBB1_11: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_8 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB1_8
LBB1_13:
movl -76(%rbp), %eax
addl $12, %eax
movslq %eax, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -96(%rbp)
movl $1, -100(%rbp)
LBB1_14: ## =>This Loop Header: Depth=1
## Child Loop BB1_30 Depth 2
movl -100(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_44
## %bb.15: ## in Loop: Header=BB1_14 Depth=1
movq -16(%rbp), %rax
movslq -100(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -112(%rbp)
movq -112(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, -120(%rbp)
cmpq $0, -120(%rbp)
jne LBB1_17
## %bb.16:
movq -112(%rbp), %rdx
movl $3, %edi
leaq L_.str.3(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movb $0, %al
callq _logerr
movl $1, -4(%rbp)
jmp LBB1_45
LBB1_17: ## in Loop: Header=BB1_14 Depth=1
movq -120(%rbp), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
cmpl $0, -20(%rbp)
je LBB1_19
## %bb.18: ## in Loop: Header=BB1_14 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -320(%rbp) ## 8-byte Spill
jmp LBB1_20
LBB1_19: ## in Loop: Header=BB1_14 Depth=1
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -320(%rbp) ## 8-byte Spill
LBB1_20: ## in Loop: Header=BB1_14 Depth=1
movq -320(%rbp), %rax ## 8-byte Reload
movq %rax, -328(%rbp) ## 8-byte Spill
cmpl $0, -20(%rbp)
je LBB1_22
## %bb.21: ## in Loop: Header=BB1_14 Depth=1
leaq -48(%rbp), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
jmp LBB1_23
LBB1_22: ## in Loop: Header=BB1_14 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -336(%rbp) ## 8-byte Spill
jmp LBB1_23
LBB1_23: ## in Loop: Header=BB1_14 Depth=1
movq -336(%rbp), %rax ## 8-byte Reload
movq %rax, -344(%rbp) ## 8-byte Spill
cmpl $0, -20(%rbp)
je LBB1_25
## %bb.24: ## in Loop: Header=BB1_14 Depth=1
leaq -72(%rbp), %rax
movq %rax, -352(%rbp) ## 8-byte Spill
jmp LBB1_26
LBB1_25: ## in Loop: Header=BB1_14 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -352(%rbp) ## 8-byte Spill
jmp LBB1_26
LBB1_26: ## in Loop: Header=BB1_14 Depth=1
movq -344(%rbp), %rdx ## 8-byte Reload
movq -328(%rbp), %rsi ## 8-byte Reload
movq -312(%rbp), %rdi ## 8-byte Reload
movq -352(%rbp), %rcx ## 8-byte Reload
callq _pyformat
movq -120(%rbp), %rdi
callq _fclose
cmpl $0, -20(%rbp)
je LBB1_42
## %bb.27: ## in Loop: Header=BB1_14 Depth=1
movq -48(%rbp), %rdi
movq -72(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -124(%rbp)
cmpl $0, -124(%rbp)
je LBB1_29
## %bb.28: ## in Loop: Header=BB1_14 Depth=1
jmp LBB1_41
LBB1_29: ## in Loop: Header=BB1_14 Depth=1
movq -112(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -128(%rbp)
movq -96(%rbp), %rdi
movq -112(%rbp), %rsi
movl -128(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___strncpy_chk
movl $0, -132(%rbp)
movl -128(%rbp), %eax
subl $1, %eax
movl %eax, -136(%rbp)
LBB1_30: ## Parent Loop BB1_14 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -136(%rbp)
jl LBB1_35
## %bb.31: ## in Loop: Header=BB1_30 Depth=2
movq -112(%rbp), %rax
movslq -136(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $47, %eax
jne LBB1_33
## %bb.32: ## in Loop: Header=BB1_14 Depth=1
movl -136(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB1_35
LBB1_33: ## in Loop: Header=BB1_30 Depth=2
jmp LBB1_34
LBB1_34: ## in Loop: Header=BB1_30 Depth=2
movl -136(%rbp), %eax
addl $-1, %eax
movl %eax, -136(%rbp)
jmp LBB1_30
LBB1_35: ## in Loop: Header=BB1_14 Depth=1
movq -96(%rbp), %rdi
movslq -132(%rbp), %rax
addq %rax, %rdi
leaq L_.str.5(%rip), %rsi
movl $12, %edx
movq $-1, %rcx
callq ___strncpy_chk
movq -96(%rbp), %rdi
callq _mkstemp
movl %eax, -140(%rbp)
movl -140(%rbp), %eax
movl %eax, -364(%rbp) ## 4-byte Spill
movq -72(%rbp), %rax
movq %rax, -360(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi
callq _strlen
movl -364(%rbp), %edi ## 4-byte Reload
movq -360(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _write
movl -140(%rbp), %edi
callq _close
movq -112(%rbp), %rdi
leaq -288(%rbp), %rsi
callq _stat$INODE64
cmpl $0, %eax
jge LBB1_37
## %bb.36: ## in Loop: Header=BB1_14 Depth=1
movq -112(%rbp), %rdx
movl $3, %edi
leaq L_.str.6(%rip), %rsi
leaq L_.str.7(%rip), %rcx
movb $0, %al
callq _logerr
jmp LBB1_38
LBB1_37: ## in Loop: Header=BB1_14 Depth=1
movq -96(%rbp), %rdi
movzwl -284(%rbp), %esi
callq _chmod
movq -96(%rbp), %rdi
movl -272(%rbp), %esi
movl -268(%rbp), %edx
callq _chown
LBB1_38: ## in Loop: Header=BB1_14 Depth=1
movq -96(%rbp), %rdi
movq -112(%rbp), %rsi
callq _rename
movl %eax, -292(%rbp)
cmpl $0, -292(%rbp)
je LBB1_40
## %bb.39: ## in Loop: Header=BB1_14 Depth=1
movq -112(%rbp), %rdx
movq -96(%rbp), %r8
movl $5, %edi
leaq L_.str.8(%rip), %rsi
leaq L_.str.9(%rip), %rcx
leaq L_.str.7(%rip), %r9
movb $0, %al
callq _logerr
movq -96(%rbp), %rdi
callq _remove
LBB1_40: ## in Loop: Header=BB1_14 Depth=1
jmp LBB1_41
LBB1_41: ## in Loop: Header=BB1_14 Depth=1
jmp LBB1_42
LBB1_42: ## in Loop: Header=BB1_14 Depth=1
jmp LBB1_43
LBB1_43: ## in Loop: Header=BB1_14 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB1_14
LBB1_44:
leaq -48(%rbp), %rdi
callq _vlbuf_free
leaq -72(%rbp), %rdi
callq _vlbuf_free
movq -96(%rbp), %rdi
callq _free
callq _free_special_name_table
LBB1_45:
movl -4(%rbp), %eax
addq $368, %rsp ## imm = 0x170
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function ls_to_string
_ls_to_string: ## @ls_to_string
.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
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB2_5
## %bb.7:
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_1:
leaq L_.str.10(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB2_6
LBB2_2:
leaq L_.str.11(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB2_6
LBB2_3:
leaq L_.str.12(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB2_6
LBB2_4:
leaq L_.str.13(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB2_6
LBB2_5:
leaq L_.str.14(%rip), %rax
movq %rax, -8(%rbp)
LBB2_6:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_1, LBB2_1-LJTI2_0
.set L2_0_set_2, LBB2_2-LJTI2_0
.set L2_0_set_4, LBB2_4-LJTI2_0
.set L2_0_set_3, LBB2_3-LJTI2_0
LJTI2_0:
.long L2_0_set_1
.long L2_0_set_2
.long L2_0_set_4
.long L2_0_set_3
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function tok_to_string
_tok_to_string: ## @tok_to_string
.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
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
subq $16, %rax
ja LBB3_18
## %bb.20:
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI3_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_1:
leaq L_.str.15(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_2:
leaq L_.str.16(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_3:
leaq L_.str.17(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_4:
leaq L_.str.18(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_5:
leaq L_.str.19(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_6:
leaq L_.str.20(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_7:
leaq L_.str.21(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_8:
leaq L_.str.22(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_9:
leaq L_.str.23(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_10:
leaq L_.str.24(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_11:
leaq L_.str.25(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_12:
leaq L_.str.26(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_13:
leaq L_.str.27(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_14:
leaq L_.str.28(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_15:
leaq L_.str.29(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_16:
leaq L_.str.30(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_17:
leaq L_.str.31(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB3_19
LBB3_18:
leaq L_.str.32(%rip), %rax
movq %rax, -8(%rbp)
LBB3_19:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_1, LBB3_1-LJTI3_0
.set L3_0_set_2, LBB3_2-LJTI3_0
.set L3_0_set_3, LBB3_3-LJTI3_0
.set L3_0_set_4, LBB3_4-LJTI3_0
.set L3_0_set_5, LBB3_5-LJTI3_0
.set L3_0_set_6, LBB3_6-LJTI3_0
.set L3_0_set_7, LBB3_7-LJTI3_0
.set L3_0_set_8, LBB3_8-LJTI3_0
.set L3_0_set_10, LBB3_10-LJTI3_0
.set L3_0_set_9, LBB3_9-LJTI3_0
.set L3_0_set_13, LBB3_13-LJTI3_0
.set L3_0_set_12, LBB3_12-LJTI3_0
.set L3_0_set_11, LBB3_11-LJTI3_0
.set L3_0_set_14, LBB3_14-LJTI3_0
.set L3_0_set_15, LBB3_15-LJTI3_0
.set L3_0_set_16, LBB3_16-LJTI3_0
.set L3_0_set_17, LBB3_17-LJTI3_0
LJTI3_0:
.long L3_0_set_1
.long L3_0_set_2
.long L3_0_set_3
.long L3_0_set_4
.long L3_0_set_5
.long L3_0_set_6
.long L3_0_set_7
.long L3_0_set_8
.long L3_0_set_10
.long L3_0_set_9
.long L3_0_set_13
.long L3_0_set_12
.long L3_0_set_11
.long L3_0_set_14
.long L3_0_set_15
.long L3_0_set_16
.long L3_0_set_17
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function logerr
_logerr: ## @logerr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $352, %rsp ## imm = 0x160
testb %al, %al
je LBB4_24
## %bb.23:
movaps %xmm0, -224(%rbp)
movaps %xmm1, -208(%rbp)
movaps %xmm2, -192(%rbp)
movaps %xmm3, -176(%rbp)
movaps %xmm4, -160(%rbp)
movaps %xmm5, -144(%rbp)
movaps %xmm6, -128(%rbp)
movaps %xmm7, -112(%rbp)
LBB4_24:
movq %r9, -232(%rbp)
movq %r8, -240(%rbp)
movq %rcx, -248(%rbp)
movq %rdx, -256(%rbp)
movq %rsi, -264(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -36(%rbp)
cmpl $1, -36(%rbp)
jle LBB4_16
## %bb.1:
movl $0, -40(%rbp)
leaq -32(%rbp), %rax
leaq -272(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movl $0, -44(%rbp)
LBB4_2: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB4_8
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
leaq -32(%rbp), %rax
movq %rax, -288(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -276(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB4_5
## %bb.4: ## in Loop: Header=BB4_2 Depth=1
movq -288(%rbp), %rcx ## 8-byte Reload
movl -276(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -296(%rbp) ## 8-byte Spill
jmp LBB4_6
LBB4_5: ## in Loop: Header=BB4_2 Depth=1
movq -288(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -296(%rbp) ## 8-byte Spill
LBB4_6: ## in Loop: Header=BB4_2 Depth=1
movq -296(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movslq -40(%rbp), %rax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
## %bb.7: ## in Loop: Header=BB4_2 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB4_2
LBB4_8:
leaq -32(%rbp), %rax
movslq -40(%rbp), %rdi
callq _malloc
movq %rax, -64(%rbp)
leaq -32(%rbp), %rax
leaq -272(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movq -64(%rbp), %rax
movq %rax, -72(%rbp)
movl $0, -76(%rbp)
LBB4_9: ## =>This Inner Loop Header: Depth=1
movl -76(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB4_15
## %bb.10: ## in Loop: Header=BB4_9 Depth=1
leaq -32(%rbp), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB4_12
## %bb.11: ## in Loop: Header=BB4_9 Depth=1
movq -312(%rbp), %rcx ## 8-byte Reload
movl -300(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -320(%rbp) ## 8-byte Spill
jmp LBB4_13
LBB4_12: ## in Loop: Header=BB4_9 Depth=1
movq -312(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -320(%rbp) ## 8-byte Spill
LBB4_13: ## in Loop: Header=BB4_9 Depth=1
movq -320(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -88(%rbp)
movq -72(%rbp), %rdi
movq -88(%rbp), %rsi
callq _strapp
addq -72(%rbp), %rax
movq %rax, -72(%rbp)
## %bb.14: ## in Loop: Header=BB4_9 Depth=1
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB4_9
LBB4_15:
leaq -32(%rbp), %rax
movq -64(%rbp), %rsi
movslq -40(%rbp), %rdx
movl $2, %edi
callq _write
movq -64(%rbp), %rdi
callq _free
jmp LBB4_20
LBB4_16:
leaq -32(%rbp), %rax
leaq -272(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
leaq -32(%rbp), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -324(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB4_18
## %bb.17:
movq -336(%rbp), %rcx ## 8-byte Reload
movl -324(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -344(%rbp) ## 8-byte Spill
jmp LBB4_19
LBB4_18:
movq -336(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -344(%rbp) ## 8-byte Spill
LBB4_19:
movq -344(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -96(%rbp)
movq -96(%rbp), %rax
movq %rax, -352(%rbp) ## 8-byte Spill
movq -96(%rbp), %rdi
callq _strlen
movq -352(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
movl $2, %edi
callq _write
leaq -32(%rbp), %rax
LBB4_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_22
## %bb.21:
addq $352, %rsp ## imm = 0x160
popq %rbp
retq
LBB4_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function pyformat
_pyformat: ## @pyformat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $656, %rsp ## imm = 0x290
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
leaq -56(%rbp), %rdi
movl $1, %esi
callq _vlbuf_make
leaq -80(%rbp), %rdi
movl $1, %esi
callq _vlbuf_make
leaq -104(%rbp), %rdi
movl $4, %esi
callq _vlbuf_make
leaq -128(%rbp), %rdi
movl $1, %esi
callq _vlbuf_make
leaq -152(%rbp), %rdi
movl $4, %esi
callq _vlbuf_make
leaq -176(%rbp), %rdi
movl $4, %esi
callq _vlbuf_make
leaq -200(%rbp), %rdi
movl $4, %esi
callq _vlbuf_make
leaq -224(%rbp), %rdi
movl $1, %esi
callq _vlbuf_make
movq $0, -232(%rbp)
movq $0, -240(%rbp)
movl $0, -244(%rbp)
movb $0, -245(%rbp)
movl $3, -252(%rbp)
movl $0, -256(%rbp)
movl $0, -260(%rbp)
movl $0, -264(%rbp)
movl $0, -268(%rbp)
movl $0, -272(%rbp)
movl $0, -276(%rbp)
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_2 Depth 2
## Child Loop BB5_28 Depth 2
## Child Loop BB5_50 Depth 2
## Child Loop BB5_61 Depth 2
## Child Loop BB5_252 Depth 2
## Child Loop BB5_254 Depth 3
## Child Loop BB5_262 Depth 3
## Child Loop BB5_265 Depth 3
## Child Loop BB5_390 Depth 2
## Child Loop BB5_401 Depth 3
movl $0, -280(%rbp)
LBB5_2: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rdi
movslq -280(%rbp), %rax
addq %rax, %rdi
movq -48(%rbp), %rax
subq $3, %rax
movslq -280(%rbp), %rcx
subq %rcx, %rax
movl %eax, %esi
movq -8(%rbp), %rdx
callq _fgets
movq %rax, -288(%rbp)
cmpq $0, -288(%rbp)
jne LBB5_4
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_15
LBB5_4: ## in Loop: Header=BB5_2 Depth=2
movq -288(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -292(%rbp)
movq -8(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB5_7
## %bb.5: ## in Loop: Header=BB5_2 Depth=2
movq -288(%rbp), %rax
movl -292(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
je LBB5_7
## %bb.6: ## in Loop: Header=BB5_2 Depth=2
movq -288(%rbp), %rax
movslq -292(%rbp), %rcx
movb $10, (%rax,%rcx)
movq -288(%rbp), %rax
movl -292(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movl -292(%rbp), %eax
addl $1, %eax
movl %eax, -292(%rbp)
movl $1, -276(%rbp)
LBB5_7: ## in Loop: Header=BB5_2 Depth=2
cmpq $0, -24(%rbp)
je LBB5_11
## %bb.8: ## in Loop: Header=BB5_2 Depth=2
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl -292(%rbp), %ecx
addl -268(%rbp), %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jae LBB5_10
## %bb.9: ## in Loop: Header=BB5_2 Depth=2
movq -24(%rbp), %rdi
movl -292(%rbp), %eax
addl -268(%rbp), %eax
movslq %eax, %rsi
callq _vlbuf_expand
LBB5_10: ## in Loop: Header=BB5_2 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rdi
movslq -268(%rbp), %rax
addq %rax, %rdi
movq -56(%rbp), %rsi
movslq -280(%rbp), %rax
addq %rax, %rsi
movl -292(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memcpy_chk
movl -292(%rbp), %eax
addl -268(%rbp), %eax
movl %eax, -268(%rbp)
LBB5_11: ## in Loop: Header=BB5_2 Depth=2
movl -292(%rbp), %eax
addl -280(%rbp), %eax
movl %eax, -280(%rbp)
movq -56(%rbp), %rax
movl -280(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
je LBB5_13
## %bb.12: ## in Loop: Header=BB5_2 Depth=2
movl -280(%rbp), %eax
addl $3, %eax
movslq %eax, %rsi
leaq -56(%rbp), %rdi
callq _vlbuf_expand
jmp LBB5_14
LBB5_13: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_15
LBB5_14: ## in Loop: Header=BB5_2 Depth=2
jmp LBB5_2
LBB5_15: ## in Loop: Header=BB5_1 Depth=1
cmpq $0, -288(%rbp)
jne LBB5_17
## %bb.16:
jmp LBB5_449
LBB5_17: ## in Loop: Header=BB5_1 Depth=1
cmpl $3, -252(%rbp)
je LBB5_19
## %bb.18: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -252(%rbp)
jne LBB5_22
LBB5_19: ## in Loop: Header=BB5_1 Depth=1
movl -280(%rbp), %eax
movl %eax, -264(%rbp)
movl $0, -244(%rbp)
movq -72(%rbp), %rax
movl -264(%rbp), %ecx
shll $1, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jae LBB5_21
## %bb.20: ## in Loop: Header=BB5_1 Depth=1
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -80(%rbp), %rdi
callq _vlbuf_expand
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -104(%rbp), %rdi
callq _vlbuf_expand
LBB5_21: ## in Loop: Header=BB5_1 Depth=1
movq -80(%rbp), %rax
movq %rax, -232(%rbp)
movq -80(%rbp), %rax
movq %rax, -240(%rbp)
movl $0, -260(%rbp)
jmp LBB5_25
LBB5_22: ## in Loop: Header=BB5_1 Depth=1
movl -280(%rbp), %eax
addl -264(%rbp), %eax
movl %eax, -264(%rbp)
movq -232(%rbp), %rax
movq -80(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -296(%rbp)
movq -240(%rbp), %rax
movq -80(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -300(%rbp)
movq -72(%rbp), %rax
movl -264(%rbp), %ecx
shll $1, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jae LBB5_24
## %bb.23: ## in Loop: Header=BB5_1 Depth=1
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -80(%rbp), %rdi
callq _vlbuf_expand
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -104(%rbp), %rdi
callq _vlbuf_expand
LBB5_24: ## in Loop: Header=BB5_1 Depth=1
movq -80(%rbp), %rax
movslq -296(%rbp), %rcx
addq %rcx, %rax
movq %rax, -232(%rbp)
movq -80(%rbp), %rax
movslq -300(%rbp), %rcx
addq %rcx, %rax
movq %rax, -240(%rbp)
LBB5_25: ## in Loop: Header=BB5_1 Depth=1
movq -56(%rbp), %rax
movq %rax, -312(%rbp)
cmpl $0, -280(%rbp)
jle LBB5_27
## %bb.26: ## in Loop: Header=BB5_1 Depth=1
movq -312(%rbp), %rax
movl -280(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb $10, (%rax,%rcx)
LBB5_27: ## in Loop: Header=BB5_1 Depth=1
movq -312(%rbp), %rax
movslq -280(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -312(%rbp), %rax
movl -280(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movl $1, -316(%rbp)
movq -312(%rbp), %rax
movq %rax, -328(%rbp)
LBB5_28: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -328(%rbp), %rax
movsbl (%rax), %eax
cmpl $10, %eax
je LBB5_34
## %bb.29: ## in Loop: Header=BB5_28 Depth=2
movq -328(%rbp), %rax
movsbl (%rax), %eax
cmpl $32, %eax
je LBB5_32
## %bb.30: ## in Loop: Header=BB5_28 Depth=2
movq -328(%rbp), %rax
movsbl (%rax), %eax
cmpl $9, %eax
je LBB5_32
## %bb.31: ## in Loop: Header=BB5_28 Depth=2
movl $0, -316(%rbp)
LBB5_32: ## in Loop: Header=BB5_28 Depth=2
jmp LBB5_33
LBB5_33: ## in Loop: Header=BB5_28 Depth=2
movq -328(%rbp), %rax
addq $1, %rax
movq %rax, -328(%rbp)
jmp LBB5_28
LBB5_34: ## in Loop: Header=BB5_1 Depth=1
movl $0, -332(%rbp)
cmpl $2, -252(%rbp)
jne LBB5_36
## %bb.35: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_48
LBB5_36: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -316(%rbp)
je LBB5_44
## %bb.37: ## in Loop: Header=BB5_1 Depth=1
cmpl $1, -252(%rbp)
jne LBB5_39
## %bb.38: ## in Loop: Header=BB5_1 Depth=1
movl $0, -252(%rbp)
movl $1, -332(%rbp)
jmp LBB5_43
LBB5_39: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -252(%rbp)
jne LBB5_41
## %bb.40: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_1
LBB5_41: ## in Loop: Header=BB5_1 Depth=1
movl $0, -252(%rbp)
## %bb.42: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_43
LBB5_43: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_47
LBB5_44: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -252(%rbp)
jne LBB5_46
## %bb.45: ## in Loop: Header=BB5_1 Depth=1
movl $3, -252(%rbp)
LBB5_46: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_47
LBB5_47: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_48
LBB5_48: ## in Loop: Header=BB5_1 Depth=1
cmpl $3, -252(%rbp)
jne LBB5_57
## %bb.49: ## in Loop: Header=BB5_1 Depth=1
movl $0, -256(%rbp)
LBB5_50: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -312(%rbp), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $10, %ecx
movb %al, -545(%rbp) ## 1-byte Spill
je LBB5_53
## %bb.51: ## in Loop: Header=BB5_50 Depth=2
movq -312(%rbp), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $32, %ecx
movb %al, -545(%rbp) ## 1-byte Spill
je LBB5_53
## %bb.52: ## in Loop: Header=BB5_50 Depth=2
movq -312(%rbp), %rax
movsbl (%rax), %eax
cmpl $9, %eax
sete %al
movb %al, -545(%rbp) ## 1-byte Spill
LBB5_53: ## in Loop: Header=BB5_50 Depth=2
movb -545(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_54
jmp LBB5_56
LBB5_54: ## in Loop: Header=BB5_50 Depth=2
movl -256(%rbp), %eax
addl $1, %eax
movl %eax, -256(%rbp)
## %bb.55: ## in Loop: Header=BB5_50 Depth=2
movq -312(%rbp), %rax
addq $1, %rax
movq %rax, -312(%rbp)
jmp LBB5_50
LBB5_56: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_58
LBB5_57: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_58
LBB5_58: ## in Loop: Header=BB5_1 Depth=1
movl $13, -336(%rbp)
cmpl $2, -252(%rbp)
jne LBB5_60
## %bb.59: ## in Loop: Header=BB5_1 Depth=1
movl $4, -336(%rbp)
movl -244(%rbp), %eax
addl $-1, %eax
movl %eax, -244(%rbp)
movq -232(%rbp), %rax
addq $-1, %rax
movq %rax, -232(%rbp)
LBB5_60: ## in Loop: Header=BB5_1 Depth=1
movq -312(%rbp), %rax
movq %rax, -560(%rbp) ## 8-byte Spill
movq -312(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -560(%rbp), %rax ## 8-byte Reload
subq $1, %rcx
addq %rcx, %rax
movq %rax, -344(%rbp)
movb $0, -345(%rbp)
movl $0, -352(%rbp)
movl $0, -356(%rbp)
movl $0, -360(%rbp)
LBB5_61: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -312(%rbp), %rax
cmpb $0, (%rax)
je LBB5_232
## %bb.62: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movsbl (%rax), %eax
cmpl $9, %eax
jne LBB5_64
## %bb.63: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movb $32, (%rax)
LBB5_64: ## in Loop: Header=BB5_61 Depth=2
movb $1, %al
cmpl $3, -336(%rbp)
movb %al, -561(%rbp) ## 1-byte Spill
je LBB5_66
## %bb.65: ## in Loop: Header=BB5_61 Depth=2
cmpl $4, -336(%rbp)
sete %al
movb %al, -561(%rbp) ## 1-byte Spill
LBB5_66: ## in Loop: Header=BB5_61 Depth=2
movb -561(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -364(%rbp)
cmpl $0, -364(%rbp)
jne LBB5_70
## %bb.67: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movsbl (%rax), %eax
cmpl $32, %eax
jne LBB5_70
## %bb.68: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $32, %eax
jne LBB5_70
## %bb.69: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_231
LBB5_70: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movb (%rax), %al
movb %al, -365(%rbp)
movl $0, -372(%rbp)
movl $0, -376(%rbp)
movl -336(%rbp), %eax
movl %eax, -380(%rbp)
movl -336(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -576(%rbp) ## 8-byte Spill
subq $16, %rax
ja LBB5_215
## %bb.450: ## in Loop: Header=BB5_61 Depth=2
movq -576(%rbp), %rax ## 8-byte Reload
leaq LJTI5_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB5_71: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %edi
callq _isalpha_lead
cmpl $0, %eax
jne LBB5_74
## %bb.72: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %ecx
movl $48, %eax
cmpl %ecx, %eax
jg LBB5_75
## %bb.73: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $57, %eax
jg LBB5_75
LBB5_74: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_80
LBB5_75: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $39, %eax
je LBB5_77
## %bb.76: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $34, %eax
jne LBB5_78
LBB5_77: ## in Loop: Header=BB5_61 Depth=2
movl $3, -336(%rbp)
movl $1, -360(%rbp)
movb -365(%rbp), %al
movb %al, -245(%rbp)
jmp LBB5_79
LBB5_78: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
movl $1, -372(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
LBB5_79: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_80
LBB5_80: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_215
LBB5_81: ## in Loop: Header=BB5_61 Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $1, -352(%rbp)
movb %al, -577(%rbp) ## 1-byte Spill
jne LBB5_84
## %bb.82: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movsbl -1(%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $46, %ecx
movb %al, -577(%rbp) ## 1-byte Spill
jne LBB5_84
## %bb.83: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %edi
callq _isnumeric_lead
cmpl $0, %eax
setne %al
xorb $-1, %al
movb %al, -577(%rbp) ## 1-byte Spill
LBB5_84: ## in Loop: Header=BB5_61 Depth=2
movb -577(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -384(%rbp)
cmpl $0, -384(%rbp)
jne LBB5_87
## %bb.85: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %edi
callq _isnumeric_lead
cmpl $0, %eax
je LBB5_87
## %bb.86: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_101
LBB5_87: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movsbl -1(%rax), %eax
cmpl $101, %eax
jne LBB5_91
## %bb.88: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $45, %eax
je LBB5_90
## %bb.89: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $43, %eax
jne LBB5_91
LBB5_90: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_100
LBB5_91: ## in Loop: Header=BB5_61 Depth=2
cmpl $0, -384(%rbp)
jne LBB5_95
## %bb.92: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $101, %eax
je LBB5_94
## %bb.93: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $120, %eax
jne LBB5_95
LBB5_94: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_99
LBB5_95: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movsbl -1(%rax), %eax
cmpl $46, %eax
jne LBB5_98
## %bb.96: ## in Loop: Header=BB5_61 Depth=2
cmpl $1, -352(%rbp)
jne LBB5_98
## %bb.97: ## in Loop: Header=BB5_61 Depth=2
movl $15, -380(%rbp)
LBB5_98: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
movl $1, -372(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
LBB5_99: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_100
LBB5_100: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_101
LBB5_101: ## in Loop: Header=BB5_61 Depth=2
movl -352(%rbp), %eax
addl $1, %eax
movl %eax, -352(%rbp)
jmp LBB5_215
LBB5_102: ## in Loop: Header=BB5_61 Depth=2
movl $0, -388(%rbp)
movsbl -365(%rbp), %eax
movsbl -245(%rbp), %ecx
cmpl %ecx, %eax
jne LBB5_104
## %bb.103: ## in Loop: Header=BB5_61 Depth=2
movl -360(%rbp), %eax
addl $1, %eax
movl %eax, -360(%rbp)
jmp LBB5_108
LBB5_104: ## in Loop: Header=BB5_61 Depth=2
cmpl $2, -360(%rbp)
jne LBB5_106
## %bb.105: ## in Loop: Header=BB5_61 Depth=2
movl $1, -388(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
movl $1, -372(%rbp)
jmp LBB5_107
LBB5_106: ## in Loop: Header=BB5_61 Depth=2
movl $0, -360(%rbp)
LBB5_107: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_108
LBB5_108: ## in Loop: Header=BB5_61 Depth=2
cmpl $3, -360(%rbp)
jne LBB5_110
## %bb.109: ## in Loop: Header=BB5_61 Depth=2
movl $4, -336(%rbp)
movl $0, -360(%rbp)
movl $0, -356(%rbp)
jmp LBB5_124
LBB5_110: ## in Loop: Header=BB5_61 Depth=2
cmpl $0, -388(%rbp)
jne LBB5_113
## %bb.111: ## in Loop: Header=BB5_61 Depth=2
cmpl $2, -360(%rbp)
jne LBB5_113
## %bb.112: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_123
LBB5_113: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
movsbl -245(%rbp), %ecx
cmpl %ecx, %eax
jne LBB5_116
## %bb.114: ## in Loop: Header=BB5_61 Depth=2
movl -356(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $1, %edx
jne LBB5_121
## %bb.115: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
movsbl -245(%rbp), %ecx
cmpl %ecx, %eax
jne LBB5_121
LBB5_116: ## in Loop: Header=BB5_61 Depth=2
cmpl $0, -388(%rbp)
jne LBB5_121
## %bb.117: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $92, %eax
jne LBB5_119
## %bb.118: ## in Loop: Header=BB5_61 Depth=2
movl -356(%rbp), %eax
addl $1, %eax
movl %eax, -356(%rbp)
jmp LBB5_120
LBB5_119: ## in Loop: Header=BB5_61 Depth=2
movl $0, -356(%rbp)
LBB5_120: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_122
LBB5_121: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
LBB5_122: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_123
LBB5_123: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_124
LBB5_124: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_215
LBB5_125: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
movsbl -245(%rbp), %ecx
cmpl %ecx, %eax
jne LBB5_128
## %bb.126: ## in Loop: Header=BB5_61 Depth=2
movl -356(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB5_128
## %bb.127: ## in Loop: Header=BB5_61 Depth=2
movl -360(%rbp), %eax
addl $1, %eax
movl %eax, -360(%rbp)
jmp LBB5_129
LBB5_128: ## in Loop: Header=BB5_61 Depth=2
movl $0, -360(%rbp)
LBB5_129: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
movsbl -245(%rbp), %ecx
cmpl %ecx, %eax
jne LBB5_132
## %bb.130: ## in Loop: Header=BB5_61 Depth=2
movl -356(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $1, %edx
jne LBB5_136
## %bb.131: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
movsbl -245(%rbp), %ecx
cmpl %ecx, %eax
jne LBB5_136
LBB5_132: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $92, %eax
jne LBB5_134
## %bb.133: ## in Loop: Header=BB5_61 Depth=2
movl -356(%rbp), %eax
addl $1, %eax
movl %eax, -356(%rbp)
jmp LBB5_135
LBB5_134: ## in Loop: Header=BB5_61 Depth=2
movl $0, -356(%rbp)
LBB5_135: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_136
LBB5_136: ## in Loop: Header=BB5_61 Depth=2
cmpl $3, -360(%rbp)
jne LBB5_138
## %bb.137: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
LBB5_138: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_215
LBB5_139: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
jmp LBB5_215
LBB5_140: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
jmp LBB5_215
LBB5_141: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_215
LBB5_142: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $0, %eax
jne LBB5_145
## %bb.143: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %edi
callq _isoptype
cmpl $0, %eax
je LBB5_145
## %bb.144: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_176
LBB5_145: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $42, %eax
jne LBB5_148
## %bb.146: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $42, %eax
jne LBB5_148
## %bb.147: ## in Loop: Header=BB5_61 Depth=2
movl $12, -336(%rbp)
jmp LBB5_175
LBB5_148: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $47, %eax
jne LBB5_151
## %bb.149: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $47, %eax
jne LBB5_151
## %bb.150: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_174
LBB5_151: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $62, %eax
jne LBB5_154
## %bb.152: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $62, %eax
jne LBB5_154
## %bb.153: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_173
LBB5_154: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $60, %eax
jne LBB5_157
## %bb.155: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $60, %eax
jne LBB5_157
## %bb.156: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_172
LBB5_157: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $61, %eax
jne LBB5_161
## %bb.158: ## in Loop: Header=BB5_61 Depth=2
cmpl $12, -336(%rbp)
jne LBB5_160
## %bb.159: ## in Loop: Header=BB5_61 Depth=2
movl $9, -336(%rbp)
LBB5_160: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_171
LBB5_161: ## in Loop: Header=BB5_61 Depth=2
cmpl $12, -336(%rbp)
je LBB5_170
## %bb.162: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $45, %eax
je LBB5_165
## %bb.163: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $43, %eax
je LBB5_165
## %bb.164: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $42, %eax
jne LBB5_166
LBB5_165: ## in Loop: Header=BB5_61 Depth=2
movl $16, -380(%rbp)
LBB5_166: ## in Loop: Header=BB5_61 Depth=2
movsbl -345(%rbp), %eax
cmpl $61, %eax
jne LBB5_169
## %bb.167: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movsbl -2(%rax), %edi
callq _isoptype
cmpl $0, %eax
jne LBB5_169
## %bb.168: ## in Loop: Header=BB5_61 Depth=2
movl $8, -380(%rbp)
LBB5_169: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_170
LBB5_170: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
movl $1, -372(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
LBB5_171: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_172
LBB5_172: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_173
LBB5_173: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_174
LBB5_174: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_175
LBB5_175: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_176
LBB5_176: ## in Loop: Header=BB5_61 Depth=2
movb -365(%rbp), %al
movb %al, -345(%rbp)
jmp LBB5_215
LBB5_177: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
jmp LBB5_215
LBB5_178: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
jmp LBB5_215
LBB5_179: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
movl $13, -336(%rbp)
jmp LBB5_215
LBB5_180: ## in Loop: Header=BB5_61 Depth=2
movl $1, -372(%rbp)
movsbl -365(%rbp), %eax
cmpl $35, %eax
jne LBB5_182
## %bb.181: ## in Loop: Header=BB5_61 Depth=2
movl $7, -336(%rbp)
movq -56(%rbp), %rax
movl -280(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb $32, (%rax,%rcx)
jmp LBB5_214
LBB5_182: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $34, %eax
je LBB5_184
## %bb.183: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $39, %eax
jne LBB5_185
LBB5_184: ## in Loop: Header=BB5_61 Depth=2
movb -365(%rbp), %al
movb %al, -245(%rbp)
movl $3, -336(%rbp)
movl $0, -372(%rbp)
movl $0, -356(%rbp)
movl $1, -360(%rbp)
jmp LBB5_213
LBB5_185: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %edi
callq _isoptype
cmpl $0, %eax
je LBB5_187
## %bb.186: ## in Loop: Header=BB5_61 Depth=2
movb $0, -345(%rbp)
movl $9, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
jmp LBB5_212
LBB5_187: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $44, %eax
jne LBB5_189
## %bb.188: ## in Loop: Header=BB5_61 Depth=2
movl $10, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
jmp LBB5_211
LBB5_189: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $58, %eax
jne LBB5_191
## %bb.190: ## in Loop: Header=BB5_61 Depth=2
movl $11, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
jmp LBB5_210
LBB5_191: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $40, %eax
je LBB5_194
## %bb.192: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $91, %eax
je LBB5_194
## %bb.193: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $123, %eax
jne LBB5_195
LBB5_194: ## in Loop: Header=BB5_61 Depth=2
movl $5, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
jmp LBB5_209
LBB5_195: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $41, %eax
je LBB5_198
## %bb.196: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $93, %eax
je LBB5_198
## %bb.197: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $125, %eax
jne LBB5_199
LBB5_198: ## in Loop: Header=BB5_61 Depth=2
movl $6, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
jmp LBB5_208
LBB5_199: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %eax
cmpl $92, %eax
jne LBB5_201
## %bb.200: ## in Loop: Header=BB5_61 Depth=2
movl $14, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
jmp LBB5_207
LBB5_201: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %edi
callq _isalpha_lead
cmpl $0, %eax
je LBB5_203
## %bb.202: ## in Loop: Header=BB5_61 Depth=2
movl $0, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
jmp LBB5_206
LBB5_203: ## in Loop: Header=BB5_61 Depth=2
movsbl -365(%rbp), %edi
callq _isnumeric_lead
cmpl $0, %eax
je LBB5_205
## %bb.204: ## in Loop: Header=BB5_61 Depth=2
movl $0, -352(%rbp)
movl $2, -336(%rbp)
movq -312(%rbp), %rax
addq $-1, %rax
movq %rax, -312(%rbp)
LBB5_205: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_206
LBB5_206: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_207
LBB5_207: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_208
LBB5_208: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_209
LBB5_209: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_210
LBB5_210: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_211
LBB5_211: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_212
LBB5_212: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_213
LBB5_213: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_214
LBB5_214: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_215
LBB5_215: ## in Loop: Header=BB5_61 Depth=2
cmpl $0, -372(%rbp)
jne LBB5_217
## %bb.216: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
movb (%rax), %cl
movq -232(%rbp), %rax
movb %cl, (%rax)
movq -232(%rbp), %rax
addq $1, %rax
movq %rax, -232(%rbp)
LBB5_217: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
cmpq -344(%rbp), %rax
jne LBB5_220
## %bb.218: ## in Loop: Header=BB5_61 Depth=2
cmpl $13, -380(%rbp)
je LBB5_220
## %bb.219: ## in Loop: Header=BB5_61 Depth=2
movl $1, -376(%rbp)
LBB5_220: ## in Loop: Header=BB5_61 Depth=2
cmpl $0, -376(%rbp)
je LBB5_230
## %bb.221: ## in Loop: Header=BB5_61 Depth=2
movq -232(%rbp), %rax
movb $0, (%rax)
movq -232(%rbp), %rax
addq $1, %rax
movq %rax, -232(%rbp)
cmpl $0, -380(%rbp)
jne LBB5_224
## %bb.222: ## in Loop: Header=BB5_61 Depth=2
movq -240(%rbp), %rdi
callq _is_special_name
cmpl $0, %eax
je LBB5_224
## %bb.223: ## in Loop: Header=BB5_61 Depth=2
movl $1, -380(%rbp)
LBB5_224: ## in Loop: Header=BB5_61 Depth=2
cmpl $5, -380(%rbp)
jne LBB5_226
## %bb.225: ## in Loop: Header=BB5_61 Depth=2
movl -260(%rbp), %eax
addl $1, %eax
movl %eax, -260(%rbp)
jmp LBB5_229
LBB5_226: ## in Loop: Header=BB5_61 Depth=2
cmpl $6, -380(%rbp)
jne LBB5_228
## %bb.227: ## in Loop: Header=BB5_61 Depth=2
movl -260(%rbp), %eax
addl $-1, %eax
movl %eax, -260(%rbp)
LBB5_228: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_229
LBB5_229: ## in Loop: Header=BB5_61 Depth=2
movl -380(%rbp), %edx
movq -104(%rbp), %rax
movslq -244(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -232(%rbp), %rax
movq %rax, -240(%rbp)
movl -244(%rbp), %eax
addl $1, %eax
movl %eax, -244(%rbp)
LBB5_230: ## in Loop: Header=BB5_61 Depth=2
jmp LBB5_231
LBB5_231: ## in Loop: Header=BB5_61 Depth=2
movq -312(%rbp), %rax
addq $1, %rax
movq %rax, -312(%rbp)
jmp LBB5_61
LBB5_232: ## in Loop: Header=BB5_1 Depth=1
movq -232(%rbp), %rax
movb $0, (%rax)
cmpl $0, -252(%rbp)
jne LBB5_234
## %bb.233: ## in Loop: Header=BB5_1 Depth=1
movl $0, -252(%rbp)
jmp LBB5_243
LBB5_234: ## in Loop: Header=BB5_1 Depth=1
cmpl $4, -336(%rbp)
jne LBB5_236
## %bb.235: ## in Loop: Header=BB5_1 Depth=1
movl $2, -252(%rbp)
jmp LBB5_242
LBB5_236: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -244(%rbp)
jle LBB5_238
## %bb.237: ## in Loop: Header=BB5_1 Depth=1
movq -104(%rbp), %rax
movl -244(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
cmpl $14, (%rax,%rcx,4)
je LBB5_239
LBB5_238: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -260(%rbp)
jle LBB5_240
LBB5_239: ## in Loop: Header=BB5_1 Depth=1
movl $1, -252(%rbp)
jmp LBB5_241
LBB5_240: ## in Loop: Header=BB5_1 Depth=1
movl $3, -252(%rbp)
LBB5_241: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_242
LBB5_242: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_243
LBB5_243: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -252(%rbp)
jne LBB5_246
## %bb.244: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -332(%rbp)
jne LBB5_246
## %bb.245: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rdi
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
leaq L_.str.7(%rip), %rsi
movl $1, %edx
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
jmp LBB5_448
LBB5_246: ## in Loop: Header=BB5_1 Depth=1
cmpl $3, -252(%rbp)
je LBB5_249
## %bb.247: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -276(%rbp)
jne LBB5_249
## %bb.248: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -332(%rbp)
je LBB5_447
LBB5_249: ## in Loop: Header=BB5_1 Depth=1
movq -120(%rbp), %rax
movl -264(%rbp), %ecx
shll $1, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jae LBB5_251
## %bb.250: ## in Loop: Header=BB5_1 Depth=1
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -128(%rbp), %rdi
callq _vlbuf_expand
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -152(%rbp), %rdi
callq _vlbuf_expand
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -176(%rbp), %rdi
callq _vlbuf_expand
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -200(%rbp), %rdi
callq _vlbuf_expand
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -224(%rbp), %rdi
callq _vlbuf_expand
movl -264(%rbp), %eax
shll $1, %eax
movslq %eax, %rsi
leaq -128(%rbp), %rdi
callq _vlbuf_expand
LBB5_251: ## in Loop: Header=BB5_1 Depth=1
movl $0, -392(%rbp)
movq -128(%rbp), %rax
movq %rax, -400(%rbp)
movq -80(%rbp), %rax
movq %rax, -408(%rbp)
movq -408(%rbp), %rax
movq %rax, -416(%rbp)
movl $0, -420(%rbp)
movl $13, -424(%rbp)
movl $13, -428(%rbp)
movq -104(%rbp), %rax
movl (%rax), %eax
movl %eax, -432(%rbp)
movl $0, -436(%rbp)
LBB5_252: ## Parent Loop BB5_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB5_254 Depth 3
## Child Loop BB5_262 Depth 3
## Child Loop BB5_265 Depth 3
movl -436(%rbp), %eax
cmpl -244(%rbp), %eax
jge LBB5_388
## %bb.253: ## in Loop: Header=BB5_252 Depth=2
movq -416(%rbp), %rdi
callq _strlen
addq $1, %rax
addq -416(%rbp), %rax
movq %rax, -416(%rbp)
LBB5_254: ## Parent Loop BB5_1 Depth=1
## Parent Loop BB5_252 Depth=2
## => This Inner Loop Header: Depth=3
movq -104(%rbp), %rcx
movl -436(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $14, (%rcx,%rdx,4)
movb %al, -578(%rbp) ## 1-byte Spill
jne LBB5_256
## %bb.255: ## in Loop: Header=BB5_254 Depth=3
movl -436(%rbp), %eax
cmpl -244(%rbp), %eax
setl %al
movb %al, -578(%rbp) ## 1-byte Spill
LBB5_256: ## in Loop: Header=BB5_254 Depth=3
movb -578(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_257
jmp LBB5_258
LBB5_257: ## in Loop: Header=BB5_254 Depth=3
movq -416(%rbp), %rdi
callq _strlen
addq $1, %rax
addq -416(%rbp), %rax
movq %rax, -416(%rbp)
movl -436(%rbp), %eax
addl $1, %eax
movl %eax, -436(%rbp)
jmp LBB5_254
LBB5_258: ## in Loop: Header=BB5_252 Depth=2
movl -428(%rbp), %eax
movl %eax, -424(%rbp)
movl -432(%rbp), %eax
movl %eax, -428(%rbp)
movq -104(%rbp), %rax
movl -436(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -432(%rbp)
cmpl $5, -428(%rbp)
jne LBB5_260
## %bb.259: ## in Loop: Header=BB5_252 Depth=2
movl -420(%rbp), %eax
addl $1, %eax
movl %eax, -420(%rbp)
LBB5_260: ## in Loop: Header=BB5_252 Depth=2
cmpl $7, -428(%rbp)
jne LBB5_272
## %bb.261: ## in Loop: Header=BB5_252 Depth=2
movq -408(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -440(%rbp)
movq -408(%rbp), %rax
movslq -440(%rbp), %rcx
addq %rcx, %rax
addq $-1, %rax
movq %rax, -448(%rbp)
movq -408(%rbp), %rax
movq %rax, -456(%rbp)
LBB5_262: ## Parent Loop BB5_1 Depth=1
## Parent Loop BB5_252 Depth=2
## => This Inner Loop Header: Depth=3
movq -456(%rbp), %rax
movsbl (%rax), %eax
cmpl $32, %eax
jne LBB5_264
## %bb.263: ## in Loop: Header=BB5_262 Depth=3
movq -456(%rbp), %rax
addq $1, %rax
movq %rax, -456(%rbp)
jmp LBB5_262
LBB5_264: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_265
LBB5_265: ## Parent Loop BB5_1 Depth=1
## Parent Loop BB5_252 Depth=2
## => This Inner Loop Header: Depth=3
movq -448(%rbp), %rax
movsbl (%rax), %eax
cmpl $32, %eax
jne LBB5_267
## %bb.266: ## in Loop: Header=BB5_265 Depth=3
movq -448(%rbp), %rax
movb $0, (%rax)
movq -448(%rbp), %rax
addq $-1, %rax
movq %rax, -448(%rbp)
jmp LBB5_265
LBB5_267: ## in Loop: Header=BB5_252 Depth=2
movq -456(%rbp), %rax
movsbl (%rax), %eax
cmpl $33, %eax
je LBB5_269
## %bb.268: ## in Loop: Header=BB5_252 Depth=2
movq -456(%rbp), %rax
cmpq -448(%rbp), %rax
jbe LBB5_270
LBB5_269: ## in Loop: Header=BB5_252 Depth=2
movq -400(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -400(%rbp)
movb $35, (%rax)
jmp LBB5_271
LBB5_270: ## in Loop: Header=BB5_252 Depth=2
movq -400(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -400(%rbp)
movb $35, (%rax)
movq -400(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -400(%rbp)
movb $32, (%rax)
LBB5_271: ## in Loop: Header=BB5_252 Depth=2
movq -400(%rbp), %rdi
movq -456(%rbp), %rsi
callq _strapp
addq -400(%rbp), %rax
movq %rax, -400(%rbp)
movq -176(%rbp), %rax
movslq -392(%rbp), %rcx
movl $10000, (%rax,%rcx,4) ## imm = 0x2710
jmp LBB5_290
LBB5_272: ## in Loop: Header=BB5_252 Depth=2
movq -400(%rbp), %rdi
movq -408(%rbp), %rsi
callq _strapp
addq -400(%rbp), %rax
movq %rax, -400(%rbp)
cmpl $10, -428(%rbp)
jne LBB5_276
## %bb.273: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -432(%rbp)
je LBB5_276
## %bb.274: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -420(%rbp)
jle LBB5_276
## %bb.275: ## in Loop: Header=BB5_252 Depth=2
movq -176(%rbp), %rax
movslq -392(%rbp), %rcx
movl $1, (%rax,%rcx,4)
jmp LBB5_289
LBB5_276: ## in Loop: Header=BB5_252 Depth=2
cmpl $11, -428(%rbp)
jne LBB5_279
## %bb.277: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -432(%rbp)
je LBB5_279
## %bb.278: ## in Loop: Header=BB5_252 Depth=2
movq -176(%rbp), %rax
movslq -392(%rbp), %rcx
movl $1, (%rax,%rcx,4)
jmp LBB5_288
LBB5_279: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -428(%rbp)
jne LBB5_282
## %bb.280: ## in Loop: Header=BB5_252 Depth=2
cmpl $5, -432(%rbp)
jne LBB5_282
## %bb.281: ## in Loop: Header=BB5_252 Depth=2
movq -176(%rbp), %rax
movslq -392(%rbp), %rcx
movl $-100, (%rax,%rcx,4)
jmp LBB5_287
LBB5_282: ## in Loop: Header=BB5_252 Depth=2
cmpl $15, -428(%rbp)
je LBB5_284
## %bb.283: ## in Loop: Header=BB5_252 Depth=2
cmpl $15, -432(%rbp)
jne LBB5_285
LBB5_284: ## in Loop: Header=BB5_252 Depth=2
movq -176(%rbp), %rax
movslq -392(%rbp), %rcx
movl $-2, (%rax,%rcx,4)
jmp LBB5_286
LBB5_285: ## in Loop: Header=BB5_252 Depth=2
movq -176(%rbp), %rax
movslq -392(%rbp), %rcx
movl $0, (%rax,%rcx,4)
LBB5_286: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_287
LBB5_287: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_288
LBB5_288: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_289
LBB5_289: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_290
LBB5_290: ## in Loop: Header=BB5_252 Depth=2
movq -400(%rbp), %rax
movq -128(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq -152(%rbp), %rax
movslq -392(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -420(%rbp), %edx
movq -200(%rbp), %rax
movslq -392(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -392(%rbp), %eax
addl $1, %eax
movl %eax, -392(%rbp)
movq -416(%rbp), %rax
movq %rax, -408(%rbp)
cmpl $7, -428(%rbp)
jne LBB5_292
## %bb.291: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_381
LBB5_292: ## in Loop: Header=BB5_252 Depth=2
cmpl $13, -424(%rbp)
jne LBB5_296
## %bb.293: ## in Loop: Header=BB5_252 Depth=2
cmpl $9, -428(%rbp)
jne LBB5_296
## %bb.294: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -432(%rbp)
jne LBB5_296
## %bb.295: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_380
LBB5_296: ## in Loop: Header=BB5_252 Depth=2
cmpl $8, -428(%rbp)
je LBB5_298
## %bb.297: ## in Loop: Header=BB5_252 Depth=2
cmpl $8, -432(%rbp)
jne LBB5_299
LBB5_298: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -420(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -460(%rbp)
jmp LBB5_379
LBB5_299: ## in Loop: Header=BB5_252 Depth=2
cmpl $1, -428(%rbp)
jne LBB5_304
## %bb.300: ## in Loop: Header=BB5_252 Depth=2
cmpl $11, -432(%rbp)
jne LBB5_302
## %bb.301: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_303
LBB5_302: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
LBB5_303: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_378
LBB5_304: ## in Loop: Header=BB5_252 Depth=2
cmpl $1, -432(%rbp)
jne LBB5_306
## %bb.305: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
jmp LBB5_377
LBB5_306: ## in Loop: Header=BB5_252 Depth=2
cmpl $4, -428(%rbp)
jne LBB5_309
## %bb.307: ## in Loop: Header=BB5_252 Depth=2
cmpl $4, -432(%rbp)
jne LBB5_309
## %bb.308: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_376
LBB5_309: ## in Loop: Header=BB5_252 Depth=2
cmpl $12, -428(%rbp)
je LBB5_311
## %bb.310: ## in Loop: Header=BB5_252 Depth=2
cmpl $12, -432(%rbp)
jne LBB5_312
LBB5_311: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_375
LBB5_312: ## in Loop: Header=BB5_252 Depth=2
cmpl $15, -428(%rbp)
je LBB5_314
## %bb.313: ## in Loop: Header=BB5_252 Depth=2
cmpl $15, -432(%rbp)
jne LBB5_315
LBB5_314: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_374
LBB5_315: ## in Loop: Header=BB5_252 Depth=2
cmpl $9, -428(%rbp)
jne LBB5_318
## %bb.316: ## in Loop: Header=BB5_252 Depth=2
cmpl $16, -432(%rbp)
jne LBB5_318
## %bb.317: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
jmp LBB5_373
LBB5_318: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -428(%rbp)
jne LBB5_321
## %bb.319: ## in Loop: Header=BB5_252 Depth=2
cmpl $16, -432(%rbp)
jne LBB5_321
## %bb.320: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
jmp LBB5_372
LBB5_321: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -428(%rbp)
jne LBB5_324
## %bb.322: ## in Loop: Header=BB5_252 Depth=2
cmpl $16, -432(%rbp)
jne LBB5_324
## %bb.323: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
jmp LBB5_371
LBB5_324: ## in Loop: Header=BB5_252 Depth=2
cmpl $5, -428(%rbp)
jne LBB5_327
## %bb.325: ## in Loop: Header=BB5_252 Depth=2
cmpl $16, -432(%rbp)
jne LBB5_327
## %bb.326: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_370
LBB5_327: ## in Loop: Header=BB5_252 Depth=2
cmpl $16, -428(%rbp)
jne LBB5_337
## %bb.328: ## in Loop: Header=BB5_252 Depth=2
cmpl $9, -424(%rbp)
je LBB5_334
## %bb.329: ## in Loop: Header=BB5_252 Depth=2
cmpl $12, -424(%rbp)
je LBB5_334
## %bb.330: ## in Loop: Header=BB5_252 Depth=2
cmpl $10, -424(%rbp)
je LBB5_334
## %bb.331: ## in Loop: Header=BB5_252 Depth=2
cmpl $5, -424(%rbp)
je LBB5_334
## %bb.332: ## in Loop: Header=BB5_252 Depth=2
cmpl $8, -424(%rbp)
je LBB5_334
## %bb.333: ## in Loop: Header=BB5_252 Depth=2
cmpl $11, -424(%rbp)
jne LBB5_335
LBB5_334: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_336
LBB5_335: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
LBB5_336: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_369
LBB5_337: ## in Loop: Header=BB5_252 Depth=2
cmpl $10, -432(%rbp)
je LBB5_339
## %bb.338: ## in Loop: Header=BB5_252 Depth=2
cmpl $11, -432(%rbp)
jne LBB5_340
LBB5_339: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_368
LBB5_340: ## in Loop: Header=BB5_252 Depth=2
cmpl $10, -428(%rbp)
jne LBB5_345
## %bb.341: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -432(%rbp)
jne LBB5_343
## %bb.342: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_344
LBB5_343: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
LBB5_344: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_367
LBB5_345: ## in Loop: Header=BB5_252 Depth=2
cmpl $11, -428(%rbp)
jne LBB5_351
## %bb.346: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -424(%rbp)
je LBB5_348
## %bb.347: ## in Loop: Header=BB5_252 Depth=2
cmpl $1, -424(%rbp)
jne LBB5_349
LBB5_348: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
jmp LBB5_350
LBB5_349: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
LBB5_350: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_366
LBB5_351: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -428(%rbp)
jne LBB5_354
## %bb.352: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -432(%rbp)
jne LBB5_354
## %bb.353: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
jmp LBB5_365
LBB5_354: ## in Loop: Header=BB5_252 Depth=2
cmpl $9, -428(%rbp)
je LBB5_356
## %bb.355: ## in Loop: Header=BB5_252 Depth=2
cmpl $9, -432(%rbp)
jne LBB5_357
LBB5_356: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
jmp LBB5_364
LBB5_357: ## in Loop: Header=BB5_252 Depth=2
cmpl $5, -428(%rbp)
je LBB5_361
## %bb.358: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -432(%rbp)
je LBB5_361
## %bb.359: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -428(%rbp)
je LBB5_361
## %bb.360: ## in Loop: Header=BB5_252 Depth=2
cmpl $5, -432(%rbp)
jne LBB5_362
LBB5_361: ## in Loop: Header=BB5_252 Depth=2
movl $0, -460(%rbp)
jmp LBB5_363
LBB5_362: ## in Loop: Header=BB5_252 Depth=2
movl $1, -460(%rbp)
LBB5_363: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_364
LBB5_364: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_365
LBB5_365: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_366
LBB5_366: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_367
LBB5_367: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_368
LBB5_368: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_369
LBB5_369: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_370
LBB5_370: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_371
LBB5_371: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_372
LBB5_372: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_373
LBB5_373: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_374
LBB5_374: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_375
LBB5_375: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_376
LBB5_376: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_377
LBB5_377: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_378
LBB5_378: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_379
LBB5_379: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_380
LBB5_380: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_381
LBB5_381: ## in Loop: Header=BB5_252 Depth=2
cmpl $0, -460(%rbp)
je LBB5_384
## %bb.382: ## in Loop: Header=BB5_252 Depth=2
movl -436(%rbp), %eax
movl -244(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB5_384
## %bb.383: ## in Loop: Header=BB5_252 Depth=2
movq -400(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -400(%rbp)
movb $32, (%rax)
LBB5_384: ## in Loop: Header=BB5_252 Depth=2
cmpl $6, -432(%rbp)
jne LBB5_386
## %bb.385: ## in Loop: Header=BB5_252 Depth=2
movl -420(%rbp), %eax
addl $-1, %eax
movl %eax, -420(%rbp)
LBB5_386: ## in Loop: Header=BB5_252 Depth=2
jmp LBB5_387
LBB5_387: ## in Loop: Header=BB5_252 Depth=2
movl -436(%rbp), %eax
addl $1, %eax
movl %eax, -436(%rbp)
jmp LBB5_252
LBB5_388: ## in Loop: Header=BB5_1 Depth=1
movq -400(%rbp), %rax
movq -128(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -464(%rbp)
movl $80, %eax
subl -256(%rbp), %eax
movl %eax, -468(%rbp)
movq -32(%rbp), %rdi
movl -256(%rbp), %edx
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
movl $32, %esi
callq _vlbuf_extend
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
cmpl $0, -392(%rbp)
jle LBB5_442
## %bb.389: ## in Loop: Header=BB5_1 Depth=1
movl $0, -472(%rbp)
LBB5_390: ## Parent Loop BB5_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB5_401 Depth 3
movl -472(%rbp), %eax
cmpl -392(%rbp), %eax
jge LBB5_441
## %bb.391: ## in Loop: Header=BB5_390 Depth=2
cmpl $0, -472(%rbp)
jle LBB5_393
## %bb.392: ## in Loop: Header=BB5_390 Depth=2
movq -152(%rbp), %rax
movl -472(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -584(%rbp) ## 4-byte Spill
jmp LBB5_394
LBB5_393: ## in Loop: Header=BB5_390 Depth=2
xorl %eax, %eax
movl %eax, -584(%rbp) ## 4-byte Spill
jmp LBB5_394
LBB5_394: ## in Loop: Header=BB5_390 Depth=2
movl -584(%rbp), %eax ## 4-byte Reload
movl %eax, -476(%rbp)
movl -472(%rbp), %eax
movl -392(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jl LBB5_396
## %bb.395: ## in Loop: Header=BB5_390 Depth=2
movl -464(%rbp), %eax
movl %eax, -588(%rbp) ## 4-byte Spill
jmp LBB5_397
LBB5_396: ## in Loop: Header=BB5_390 Depth=2
movq -152(%rbp), %rax
movslq -472(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -588(%rbp) ## 4-byte Spill
LBB5_397: ## in Loop: Header=BB5_390 Depth=2
movl -588(%rbp), %eax ## 4-byte Reload
movl %eax, -480(%rbp)
movq -224(%rbp), %rdi
movq -128(%rbp), %rsi
movslq -476(%rbp), %rax
addq %rax, %rsi
movl -480(%rbp), %eax
subl -476(%rbp), %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -224(%rbp), %rax
movl -480(%rbp), %ecx
subl -476(%rbp), %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movl -480(%rbp), %eax
subl -476(%rbp), %eax
movl %eax, -484(%rbp)
cmpl $0, -472(%rbp)
jle LBB5_399
## %bb.398: ## in Loop: Header=BB5_390 Depth=2
movq -176(%rbp), %rax
movl -472(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
cmpl $10000, (%rax,%rcx,4) ## imm = 0x2710
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -592(%rbp) ## 4-byte Spill
jmp LBB5_400
LBB5_399: ## in Loop: Header=BB5_390 Depth=2
xorl %eax, %eax
movl %eax, -592(%rbp) ## 4-byte Spill
jmp LBB5_400
LBB5_400: ## in Loop: Header=BB5_390 Depth=2
movl -592(%rbp), %eax ## 4-byte Reload
movl %eax, -488(%rbp)
movl $-1000000, -492(%rbp) ## imm = 0xFFF0BDC0
movl $-1, -496(%rbp)
movl -468(%rbp), %eax
movl %eax, -500(%rbp)
movl -472(%rbp), %eax
movl %eax, -504(%rbp)
LBB5_401: ## Parent Loop BB5_1 Depth=1
## Parent Loop BB5_390 Depth=2
## => This Inner Loop Header: Depth=3
movl -504(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -392(%rbp), %ecx
movb %al, -593(%rbp) ## 1-byte Spill
jge LBB5_403
## %bb.402: ## in Loop: Header=BB5_401 Depth=3
cmpl $0, -500(%rbp)
setge %al
movb %al, -593(%rbp) ## 1-byte Spill
LBB5_403: ## in Loop: Header=BB5_401 Depth=3
movb -593(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_404
jmp LBB5_422
LBB5_404: ## in Loop: Header=BB5_401 Depth=3
cmpl $0, -504(%rbp)
jle LBB5_406
## %bb.405: ## in Loop: Header=BB5_401 Depth=3
movq -152(%rbp), %rax
movl -504(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -600(%rbp) ## 4-byte Spill
jmp LBB5_407
LBB5_406: ## in Loop: Header=BB5_401 Depth=3
xorl %eax, %eax
movl %eax, -600(%rbp) ## 4-byte Spill
jmp LBB5_407
LBB5_407: ## in Loop: Header=BB5_401 Depth=3
movl -600(%rbp), %eax ## 4-byte Reload
movl %eax, -508(%rbp)
movl -504(%rbp), %eax
movl -392(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jl LBB5_409
## %bb.408: ## in Loop: Header=BB5_401 Depth=3
movl -464(%rbp), %eax
movl %eax, -604(%rbp) ## 4-byte Spill
jmp LBB5_410
LBB5_409: ## in Loop: Header=BB5_401 Depth=3
movq -152(%rbp), %rax
movslq -504(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -604(%rbp) ## 4-byte Spill
LBB5_410: ## in Loop: Header=BB5_401 Depth=3
movl -604(%rbp), %eax ## 4-byte Reload
movl %eax, -512(%rbp)
movl -512(%rbp), %eax
subl -508(%rbp), %eax
movl %eax, -516(%rbp)
movl -516(%rbp), %ecx
movl -500(%rbp), %eax
subl %ecx, %eax
movl %eax, -500(%rbp)
movq -200(%rbp), %rax
movl -504(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -520(%rbp)
cmpl $0, -520(%rbp)
jle LBB5_412
## %bb.411: ## in Loop: Header=BB5_401 Depth=3
movl -520(%rbp), %eax
addl $-1, %eax
movl %eax, -520(%rbp)
LBB5_412: ## in Loop: Header=BB5_401 Depth=3
cmpl $0, -504(%rbp)
jle LBB5_414
## %bb.413: ## in Loop: Header=BB5_401 Depth=3
movq -176(%rbp), %rax
movl -504(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
imull $4294967196, -520(%rbp), %ecx ## imm = 0xFFFFFF9C
addl %ecx, %eax
movl %eax, -608(%rbp) ## 4-byte Spill
jmp LBB5_415
LBB5_414: ## in Loop: Header=BB5_401 Depth=3
xorl %eax, %eax
movl %eax, -608(%rbp) ## 4-byte Spill
jmp LBB5_415
LBB5_415: ## in Loop: Header=BB5_401 Depth=3
movl -608(%rbp), %eax ## 4-byte Reload
movl %eax, -524(%rbp)
movl -524(%rbp), %eax
cmpl -492(%rbp), %eax
jl LBB5_417
## %bb.416: ## in Loop: Header=BB5_401 Depth=3
movl -524(%rbp), %eax
movl %eax, -492(%rbp)
movl -504(%rbp), %eax
movl %eax, -496(%rbp)
LBB5_417: ## in Loop: Header=BB5_401 Depth=3
cmpl $0, -500(%rbp)
jl LBB5_420
## %bb.418: ## in Loop: Header=BB5_401 Depth=3
movl -504(%rbp), %eax
movl -392(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB5_420
## %bb.419: ## in Loop: Header=BB5_401 Depth=3
movl $-1, -496(%rbp)
LBB5_420: ## in Loop: Header=BB5_401 Depth=3
jmp LBB5_421
LBB5_421: ## in Loop: Header=BB5_401 Depth=3
movl -504(%rbp), %eax
addl $1, %eax
movl %eax, -504(%rbp)
jmp LBB5_401
LBB5_422: ## in Loop: Header=BB5_390 Depth=2
movl -496(%rbp), %eax
cmpl -472(%rbp), %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -528(%rbp)
movl -484(%rbp), %eax
cmpl -468(%rbp), %eax
setge %al
andb $1, %al
movzbl %al, %eax
movl %eax, -532(%rbp)
movl $1, -536(%rbp)
cmpl $0, -472(%rbp)
jne LBB5_424
## %bb.423: ## in Loop: Header=BB5_390 Depth=2
movl $1, -536(%rbp)
jmp LBB5_430
LBB5_424: ## in Loop: Header=BB5_390 Depth=2
cmpl $0, -488(%rbp)
jne LBB5_427
## %bb.425: ## in Loop: Header=BB5_390 Depth=2
cmpl $0, -532(%rbp)
jne LBB5_427
## %bb.426: ## in Loop: Header=BB5_390 Depth=2
cmpl $0, -528(%rbp)
je LBB5_428
LBB5_427: ## in Loop: Header=BB5_390 Depth=2
movl $0, -536(%rbp)
jmp LBB5_429
LBB5_428: ## in Loop: Header=BB5_390 Depth=2
movl $1, -536(%rbp)
LBB5_429: ## in Loop: Header=BB5_390 Depth=2
jmp LBB5_430
LBB5_430: ## in Loop: Header=BB5_390 Depth=2
cmpl $0, -536(%rbp)
je LBB5_432
## %bb.431: ## in Loop: Header=BB5_390 Depth=2
movl -484(%rbp), %ecx
movl -468(%rbp), %eax
subl %ecx, %eax
movl %eax, -468(%rbp)
movq -32(%rbp), %rax
movq %rax, -624(%rbp) ## 8-byte Spill
movq -224(%rbp), %rax
movq %rax, -616(%rbp) ## 8-byte Spill
movq -224(%rbp), %rdi
callq _strlen
movq -624(%rbp), %rdi ## 8-byte Reload
movq -616(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
jmp LBB5_439
LBB5_432: ## in Loop: Header=BB5_390 Depth=2
movq -224(%rbp), %rax
movq %rax, -544(%rbp)
movq -224(%rbp), %rax
movsbl (%rax), %eax
cmpl $32, %eax
jne LBB5_434
## %bb.433: ## in Loop: Header=BB5_390 Depth=2
movq -224(%rbp), %rax
addq $1, %rax
movq %rax, -544(%rbp)
movl -484(%rbp), %eax
subl $1, %eax
movl %eax, -484(%rbp)
LBB5_434: ## in Loop: Header=BB5_390 Depth=2
cmpl $0, -488(%rbp)
jne LBB5_436
## %bb.435: ## in Loop: Header=BB5_390 Depth=2
movq -200(%rbp), %rax
movl -472(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
cmpl $0, (%rax,%rcx,4)
jle LBB5_437
LBB5_436: ## in Loop: Header=BB5_390 Depth=2
movq -32(%rbp), %rdi
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
leaq L_.str.7(%rip), %rsi
movl $1, %edx
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
jmp LBB5_438
LBB5_437: ## in Loop: Header=BB5_390 Depth=2
movq -32(%rbp), %rdi
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
leaq L_.str.63(%rip), %rsi
movl $3, %edx
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
LBB5_438: ## in Loop: Header=BB5_390 Depth=2
movl $80, %eax
subl -256(%rbp), %eax
subl $4, %eax
subl -484(%rbp), %eax
movl %eax, -468(%rbp)
movq -32(%rbp), %rdi
movl -256(%rbp), %edx
addl $4, %edx
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
movl $32, %esi
callq _vlbuf_extend
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
movq -32(%rbp), %rax
movq %rax, -640(%rbp) ## 8-byte Spill
movq -544(%rbp), %rax
movq %rax, -632(%rbp) ## 8-byte Spill
movq -544(%rbp), %rdi
callq _strlen
movq -640(%rbp), %rdi ## 8-byte Reload
movq -632(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
LBB5_439: ## in Loop: Header=BB5_390 Depth=2
jmp LBB5_440
LBB5_440: ## in Loop: Header=BB5_390 Depth=2
movl -472(%rbp), %eax
addl $1, %eax
movl %eax, -472(%rbp)
jmp LBB5_390
LBB5_441: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rdi
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
leaq L_.str.7(%rip), %rsi
movl $1, %edx
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
jmp LBB5_443
LBB5_442: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
movq %rax, -656(%rbp) ## 8-byte Spill
movq -128(%rbp), %rax
movq %rax, -648(%rbp) ## 8-byte Spill
movq -128(%rbp), %rdi
callq _strlen
movq -656(%rbp), %rdi ## 8-byte Reload
movq -648(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
movq -32(%rbp), %rdi
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
leaq L_.str.7(%rip), %rsi
movl $1, %edx
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
LBB5_443: ## in Loop: Header=BB5_1 Depth=1
cmpl $0, -252(%rbp)
jne LBB5_445
## %bb.444: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rdi
movslq -272(%rbp), %rcx
movq -16(%rbp), %r8
leaq L_.str.7(%rip), %rsi
movl $1, %edx
callq _vlbuf_append
## kill: def $eax killed $eax killed $rax
movl %eax, -272(%rbp)
jmp LBB5_446
LBB5_445: ## in Loop: Header=BB5_1 Depth=1
movl $3, -252(%rbp)
LBB5_446: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_447
LBB5_447: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_448
LBB5_448: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_1
LBB5_449:
leaq -56(%rbp), %rdi
callq _vlbuf_free
leaq -80(%rbp), %rdi
callq _vlbuf_free
leaq -104(%rbp), %rdi
callq _vlbuf_free
leaq -128(%rbp), %rdi
callq _vlbuf_free
leaq -152(%rbp), %rdi
callq _vlbuf_free
leaq -176(%rbp), %rdi
callq _vlbuf_free
leaq -200(%rbp), %rdi
callq _vlbuf_free
leaq -224(%rbp), %rdi
callq _vlbuf_free
addq $656, %rsp ## imm = 0x290
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L5_0_set_71, LBB5_71-LJTI5_0
.set L5_0_set_81, LBB5_81-LJTI5_0
.set L5_0_set_102, LBB5_102-LJTI5_0
.set L5_0_set_125, LBB5_125-LJTI5_0
.set L5_0_set_139, LBB5_139-LJTI5_0
.set L5_0_set_140, LBB5_140-LJTI5_0
.set L5_0_set_141, LBB5_141-LJTI5_0
.set L5_0_set_142, LBB5_142-LJTI5_0
.set L5_0_set_177, LBB5_177-LJTI5_0
.set L5_0_set_178, LBB5_178-LJTI5_0
.set L5_0_set_180, LBB5_180-LJTI5_0
.set L5_0_set_179, LBB5_179-LJTI5_0
LJTI5_0:
.long L5_0_set_71
.long L5_0_set_71
.long L5_0_set_81
.long L5_0_set_102
.long L5_0_set_125
.long L5_0_set_139
.long L5_0_set_140
.long L5_0_set_141
.long L5_0_set_142
.long L5_0_set_142
.long L5_0_set_177
.long L5_0_set_178
.long L5_0_set_142
.long L5_0_set_180
.long L5_0_set_179
.long L5_0_set_81
.long L5_0_set_142
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function vlbuf_free
_vlbuf_free: ## @vlbuf_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _free
movq -8(%rbp), %rax
movq $0, (%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function strapp
_strapp: ## @strapp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq $0, -24(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB7_3
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movb (%rax), %dl
movq -8(%rbp), %rax
movq -24(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB7_1
LBB7_3:
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function make_special_name_table
_make_special_name_table: ## @make_special_name_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $0, -12(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
movslq -12(%rbp), %rcx
leaq _specnames(%rip), %rax
cmpq $0, (%rax,%rcx,8)
je LBB8_4
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movslq -12(%rbp), %rcx
leaq _specnames(%rip), %rax
movq (%rax,%rcx,8), %rdi
callq _strlen
movq %rax, %rcx
addq $1, %rcx
movslq -8(%rbp), %rax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
## %bb.3: ## in Loop: Header=BB8_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB8_1
LBB8_4:
movslq -8(%rbp), %rax
imulq $104, %rax, %rdi
callq _malloc
movq %rax, _spectable(%rip)
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, _terminal(%rip)
movl $0, -16(%rbp)
LBB8_5: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
imull $26, -8(%rbp), %ecx
cmpl %ecx, %eax
jge LBB8_8
## %bb.6: ## in Loop: Header=BB8_5 Depth=1
movq _spectable(%rip), %rax
movslq -16(%rbp), %rcx
movl $-1, (%rax,%rcx,4)
## %bb.7: ## in Loop: Header=BB8_5 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB8_5
LBB8_8:
movl $0, -20(%rbp)
LBB8_9: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB8_12
## %bb.10: ## in Loop: Header=BB8_9 Depth=1
movq _terminal(%rip), %rax
movslq -20(%rbp), %rcx
movl $0, (%rax,%rcx,4)
## %bb.11: ## in Loop: Header=BB8_9 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB8_9
LBB8_12:
movl $1, -24(%rbp)
movl $0, -28(%rbp)
LBB8_13: ## =>This Loop Header: Depth=1
## Child Loop BB8_15 Depth 2
movl -28(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB8_23
## %bb.14: ## in Loop: Header=BB8_13 Depth=1
movslq -28(%rbp), %rcx
leaq _specnames(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
LBB8_15: ## Parent Loop BB8_13 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
movslq -48(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB8_21
## %bb.16: ## in Loop: Header=BB8_15 Depth=2
movq -40(%rbp), %rax
movslq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $97, %eax
movl %eax, -52(%rbp)
movq _spectable(%rip), %rax
imull $26, -44(%rbp), %ecx
addl -52(%rbp), %ecx
movslq %ecx, %rcx
cmpl $-1, (%rax,%rcx,4)
jne LBB8_18
## %bb.17: ## in Loop: Header=BB8_15 Depth=2
movl -24(%rbp), %edx
movq _spectable(%rip), %rax
imull $26, -44(%rbp), %ecx
addl -52(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %eax
movl %eax, -44(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB8_19
LBB8_18: ## in Loop: Header=BB8_15 Depth=2
movq _spectable(%rip), %rax
imull $26, -44(%rbp), %ecx
addl -52(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -44(%rbp)
LBB8_19: ## in Loop: Header=BB8_15 Depth=2
jmp LBB8_20
LBB8_20: ## in Loop: Header=BB8_15 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB8_15
LBB8_21: ## in Loop: Header=BB8_13 Depth=1
movq _terminal(%rip), %rax
movslq -44(%rbp), %rcx
movl $1, (%rax,%rcx,4)
## %bb.22: ## in Loop: Header=BB8_13 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB8_13
LBB8_23:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vlbuf_expand
_vlbuf_expand: ## @vlbuf_expand
.cfi_startproc
## %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)
LBB9_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rcx
shlq $1, %rcx
movq %rcx, 8(%rax)
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
cmpq -16(%rbp), %rax
jbe LBB9_1
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movq 8(%rax), %rsi
movq -8(%rbp), %rax
imulq 16(%rax), %rsi
callq _realloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function isalpha_lead
_isalpha_lead: ## @isalpha_lead
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -5(%rbp)
movsbl -5(%rbp), %eax
cmpl $127, %eax
jbe LBB10_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB10_11
LBB10_2:
movsbl -5(%rbp), %ecx
movl $97, %eax
cmpl %ecx, %eax
jg LBB10_5
## %bb.3:
movsbl -5(%rbp), %eax
cmpl $122, %eax
jg LBB10_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB10_11
LBB10_5:
movsbl -5(%rbp), %ecx
movl $65, %eax
cmpl %ecx, %eax
jg LBB10_8
## %bb.6:
movsbl -5(%rbp), %eax
cmpl $90, %eax
jg LBB10_8
## %bb.7:
movl $1, -4(%rbp)
jmp LBB10_11
LBB10_8:
movsbl -5(%rbp), %ecx
movl $95, %eax
cmpl %ecx, %eax
jne LBB10_10
## %bb.9:
movl $1, -4(%rbp)
jmp LBB10_11
LBB10_10:
movl $0, -4(%rbp)
LBB10_11:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function isnumeric_lead
_isnumeric_lead: ## @isnumeric_lead
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -5(%rbp)
movsbl -5(%rbp), %ecx
movl $48, %eax
cmpl %ecx, %eax
jg LBB11_3
## %bb.1:
movsbl -5(%rbp), %eax
cmpl $57, %eax
jg LBB11_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB11_6
LBB11_3:
movsbl -5(%rbp), %ecx
movl $46, %eax
cmpl %ecx, %eax
jne LBB11_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB11_6
LBB11_5:
movl $0, -4(%rbp)
LBB11_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function isoptype
_isoptype: ## @isoptype
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -5(%rbp)
movsbl -5(%rbp), %eax
cmpl $61, %eax
je LBB12_14
## %bb.1:
movsbl -5(%rbp), %eax
cmpl $43, %eax
je LBB12_14
## %bb.2:
movsbl -5(%rbp), %eax
cmpl $45, %eax
je LBB12_14
## %bb.3:
movsbl -5(%rbp), %eax
cmpl $64, %eax
je LBB12_14
## %bb.4:
movsbl -5(%rbp), %eax
cmpl $124, %eax
je LBB12_14
## %bb.5:
movsbl -5(%rbp), %eax
cmpl $94, %eax
je LBB12_14
## %bb.6:
movsbl -5(%rbp), %eax
cmpl $38, %eax
je LBB12_14
## %bb.7:
movsbl -5(%rbp), %eax
cmpl $42, %eax
je LBB12_14
## %bb.8:
movsbl -5(%rbp), %eax
cmpl $47, %eax
je LBB12_14
## %bb.9:
movsbl -5(%rbp), %eax
cmpl $60, %eax
je LBB12_14
## %bb.10:
movsbl -5(%rbp), %eax
cmpl $62, %eax
je LBB12_14
## %bb.11:
movsbl -5(%rbp), %eax
cmpl $33, %eax
je LBB12_14
## %bb.12:
movsbl -5(%rbp), %eax
cmpl $126, %eax
je LBB12_14
## %bb.13:
movsbl -5(%rbp), %eax
cmpl $37, %eax
jne LBB12_15
LBB12_14:
movl $1, -4(%rbp)
jmp LBB12_16
LBB12_15:
movl $0, -4(%rbp)
LBB12_16:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function is_special_name
_is_special_name: ## @is_special_name
.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 $0, -20(%rbp)
movl $0, -24(%rbp)
LBB13_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB13_9
## %bb.2: ## in Loop: Header=BB13_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB13_4
## %bb.3: ## in Loop: Header=BB13_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jle LBB13_5
LBB13_4:
movl $0, -4(%rbp)
jmp LBB13_10
LBB13_5: ## in Loop: Header=BB13_1 Depth=1
movq _spectable(%rip), %rax
imull $26, -20(%rbp), %ecx
movq -16(%rbp), %rdx
movslq -24(%rbp), %rsi
movsbl (%rdx,%rsi), %edx
subl $97, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
cmpl $-1, -20(%rbp)
jne LBB13_7
## %bb.6:
movl $0, -4(%rbp)
jmp LBB13_10
LBB13_7: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_8
LBB13_8: ## in Loop: Header=BB13_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB13_1
LBB13_9:
movq _terminal(%rip), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
LBB13_10:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vlbuf_append
_vlbuf_append: ## @vlbuf_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
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
cmpq $0, -8(%rbp)
je LBB14_4
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -32(%rbp), %rcx
movslq -20(%rbp), %rdx
addq %rdx, %rcx
addq $1, %rcx
cmpq %rcx, %rax
ja LBB14_3
## %bb.2:
movq -8(%rbp), %rdi
movslq -20(%rbp), %rsi
addq -32(%rbp), %rsi
addq $1, %rsi
callq _vlbuf_expand
LBB14_3:
movq -8(%rbp), %rax
movq (%rax), %rdi
addq -32(%rbp), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memcpy_chk
LBB14_4:
cmpq $0, -40(%rbp)
je LBB14_6
## %bb.5:
movq -16(%rbp), %rdi
movslq -20(%rbp), %rdx
movq -40(%rbp), %rcx
movl $1, %esi
callq _fwrite
LBB14_6:
movslq -20(%rbp), %rax
addq -32(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vlbuf_extend
_vlbuf_extend: ## @vlbuf_extend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1120, %rsp ## imm = 0x460
movb %sil, %al
movq ___stack_chk_guard@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
movq %rsi, -8(%rbp)
movq %rdi, -1048(%rbp)
movb %al, -1049(%rbp)
movl %edx, -1056(%rbp)
movq %rcx, -1064(%rbp)
movq %r8, -1072(%rbp)
cmpq $0, -1048(%rbp)
je LBB15_4
## %bb.1:
movq -1048(%rbp), %rax
movq 8(%rax), %rax
movq -1064(%rbp), %rcx
movslq -1056(%rbp), %rdx
addq %rdx, %rcx
addq $1, %rcx
cmpq %rcx, %rax
ja LBB15_3
## %bb.2:
movq -1048(%rbp), %rdi
movq -1064(%rbp), %rsi
movslq -1056(%rbp), %rax
addq %rax, %rsi
addq $1, %rsi
callq _vlbuf_expand
LBB15_3:
movq -1048(%rbp), %rax
movq (%rax), %rdi
addq -1064(%rbp), %rdi
movsbl -1049(%rbp), %esi
movslq -1056(%rbp), %rdx
movq $-1, %rcx
callq ___memset_chk
movq -1048(%rbp), %rax
movq (%rax), %rax
movq -1064(%rbp), %rcx
movslq -1056(%rbp), %rdx
addq %rdx, %rcx
movb $0, 1(%rax,%rcx)
LBB15_4:
cmpq $0, -1072(%rbp)
je LBB15_15
## %bb.5:
leaq -1040(%rbp), %rax
movq %rax, -1088(%rbp) ## 8-byte Spill
cmpl $1024, -1056(%rbp) ## imm = 0x400
jle LBB15_7
## %bb.6:
movl $1024, %eax ## imm = 0x400
movl %eax, -1092(%rbp) ## 4-byte Spill
jmp LBB15_8
LBB15_7:
movl -1056(%rbp), %eax
movl %eax, -1092(%rbp) ## 4-byte Spill
LBB15_8:
movq -1088(%rbp), %rdi ## 8-byte Reload
movl -1092(%rbp), %eax ## 4-byte Reload
movslq %eax, %rdx
movl $32, %esi
movl $1024, %ecx ## imm = 0x400
callq ___memset_chk
movl -1056(%rbp), %eax
movl %eax, -1076(%rbp)
LBB15_9: ## =>This Inner Loop Header: Depth=1
cmpl $0, -1076(%rbp)
jle LBB15_14
## %bb.10: ## in Loop: Header=BB15_9 Depth=1
leaq -1040(%rbp), %rax
movq %rax, -1104(%rbp) ## 8-byte Spill
cmpl $1024, -1076(%rbp) ## imm = 0x400
jle LBB15_12
## %bb.11: ## in Loop: Header=BB15_9 Depth=1
movl $1024, %eax ## imm = 0x400
movl %eax, -1108(%rbp) ## 4-byte Spill
jmp LBB15_13
LBB15_12: ## in Loop: Header=BB15_9 Depth=1
movl -1076(%rbp), %eax
movl %eax, -1108(%rbp) ## 4-byte Spill
LBB15_13: ## in Loop: Header=BB15_9 Depth=1
movq -1104(%rbp), %rdi ## 8-byte Reload
movl -1108(%rbp), %eax ## 4-byte Reload
movslq %eax, %rdx
movq -1072(%rbp), %rcx
movl $1, %esi
callq _fwrite
movl -1076(%rbp), %eax
subl $1024, %eax ## imm = 0x400
movl %eax, -1076(%rbp)
jmp LBB15_9
LBB15_14:
jmp LBB15_15
LBB15_15:
movslq -1056(%rbp), %rax
addq -1064(%rbp), %rax
movq %rax, -1120(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB15_17
## %bb.16:
movq -1120(%rbp), %rax ## 8-byte Reload
addq $1120, %rsp ## imm = 0x460
popq %rbp
retq
LBB15_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function free_special_name_table
_free_special_name_table: ## @free_special_name_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _spectable(%rip), %rdi
callq _free
movq _terminal(%rip), %rdi
callq _free
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: pfai [files]\n (to stdout) pfa [files]\n"
L_.str.1: ## @.str.1
.asciz "Usage: pfa [files]\n (in place) pfai [files]\n"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "File "
L_.str.4: ## @.str.4
.asciz " dne\n"
L_.str.5: ## @.str.5
.asciz ".pfa_XXXXXX"
L_.str.6: ## @.str.6
.asciz "Could not get original permissions for "
L_.str.7: ## @.str.7
.asciz "\n"
L_.str.8: ## @.str.8
.asciz "Failed to overwrite "
L_.str.9: ## @.str.9
.asciz " with "
L_.str.10: ## @.str.10
.asciz "LINE_BLNK"
L_.str.11: ## @.str.11
.asciz "LINE_CONT"
L_.str.12: ## @.str.12
.asciz "LINE_NORM"
L_.str.13: ## @.str.13
.asciz "LINE_TSTR"
L_.str.14: ## @.str.14
.asciz "LINE_????"
L_.str.15: ## @.str.15
.asciz "LAB"
L_.str.16: ## @.str.16
.asciz "SPC"
L_.str.17: ## @.str.17
.asciz "NUM"
L_.str.18: ## @.str.18
.asciz "STR"
L_.str.19: ## @.str.19
.asciz "TST"
L_.str.20: ## @.str.20
.asciz "OBR"
L_.str.21: ## @.str.21
.asciz "CBR"
L_.str.22: ## @.str.22
.asciz "CMT"
L_.str.23: ## @.str.23
.asciz "OPR"
L_.str.24: ## @.str.24
.asciz "EQL"
L_.str.25: ## @.str.25
.asciz "EXP"
L_.str.26: ## @.str.26
.asciz "CLN"
L_.str.27: ## @.str.27
.asciz "CMA"
L_.str.28: ## @.str.28
.asciz "INB"
L_.str.29: ## @.str.29
.asciz "LCO"
L_.str.30: ## @.str.30
.asciz "DOT"
L_.str.31: ## @.str.31
.asciz "UNO"
L_.str.32: ## @.str.32
.asciz "???"
.section __DATA,__data
.p2align 4 ## @specnames
_specnames:
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.36
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.47
.quad L_.str.48
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.62
.quad 0
.zerofill __DATA,__bss,_spectable,8,3 ## @spectable
.zerofill __DATA,__bss,_terminal,8,3 ## @terminal
.section __TEXT,__cstring,cstring_literals
L_.str.33: ## @.str.33
.asciz "and"
L_.str.34: ## @.str.34
.asciz "as"
L_.str.35: ## @.str.35
.asciz "assert"
L_.str.36: ## @.str.36
.asciz "break"
L_.str.37: ## @.str.37
.asciz "class"
L_.str.38: ## @.str.38
.asciz "continue"
L_.str.39: ## @.str.39
.asciz "def"
L_.str.40: ## @.str.40
.asciz "del"
L_.str.41: ## @.str.41
.asciz "elif"
L_.str.42: ## @.str.42
.asciz "else"
L_.str.43: ## @.str.43
.asciz "except"
L_.str.44: ## @.str.44
.asciz "finally"
L_.str.45: ## @.str.45
.asciz "for"
L_.str.46: ## @.str.46
.asciz "from"
L_.str.47: ## @.str.47
.asciz "global"
L_.str.48: ## @.str.48
.asciz "if"
L_.str.49: ## @.str.49
.asciz "import"
L_.str.50: ## @.str.50
.asciz "in"
L_.str.51: ## @.str.51
.asciz "is"
L_.str.52: ## @.str.52
.asciz "lambda"
L_.str.53: ## @.str.53
.asciz "nonlocal"
L_.str.54: ## @.str.54
.asciz "not"
L_.str.55: ## @.str.55
.asciz "or"
L_.str.56: ## @.str.56
.asciz "pass"
L_.str.57: ## @.str.57
.asciz "raise"
L_.str.58: ## @.str.58
.asciz "return"
L_.str.59: ## @.str.59
.asciz "try"
L_.str.60: ## @.str.60
.asciz "while"
L_.str.61: ## @.str.61
.asciz "with"
L_.str.62: ## @.str.62
.asciz "yield"
L_.str.63: ## @.str.63
.asciz " \\\n"
.subsections_via_symbols
| the_stack_data/1248800.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
bl _scanf
ldursw x8, [x29, #-8]
lsl x0, x8, #2
bl _malloc
stur x0, [x29, #-16]
movi d0, #0000000000000000
str s0, [sp, #24]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldr s0, [sp, #24]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
str s0, [sp, #24]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_4:
ldr s0, [sp, #24]
ldur s1, [x29, #-8]
scvtf s1, s1
fdiv s0, s0, s1
stur s0, [x29, #-20]
str wzr, [sp, #16]
b LBB0_5
LBB0_5: ; =>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_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #16]
ldr s0, [x8, x9, lsl #2]
ldur s1, [x29, #-20]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #16]
ldr s0, [x8, x9, lsl #2]
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_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_5
LBB0_10:
ldur x0, [x29, #-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 "Input number of measurements: "
l_.str.1: ; @.str.1
.asciz "%i"
l_.str.2: ; @.str.2
.asciz "Input numbers: \n"
l_.str.3: ; @.str.3
.asciz "%f"
l_.str.4: ; @.str.4
.asciz "%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 $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
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -16(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -24(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rsi
movslq -28(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -24(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_4:
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -8(%rbp), %xmm1
divss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
movl $0, -32(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -20(%rbp), %xmm0
jbe LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_5
LBB0_10:
movq -16(%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 "Input number of measurements: "
L_.str.1: ## @.str.1
.asciz "%i"
L_.str.2: ## @.str.2
.asciz "Input numbers: \n"
L_.str.3: ## @.str.3
.asciz "%f"
L_.str.4: ## @.str.4
.asciz "%f "
.subsections_via_symbols
| the_stack_data/1169065.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/156391883.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #32]
str wzr, [sp, #20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #28]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #24]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x8, [sp, #28]
mov x9, #12
mul x9, x8, x9
add x8, sp, #36
add x8, x8, x9
ldrsw x9, [sp, #24]
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_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_8:
str wzr, [sp, #28]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x8, [sp, #28]
mov x9, #12
mul x9, x8, x9
add x8, sp, #36
add x8, x8, x9
ldrsw x9, [sp, #28]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_9
LBB0_12:
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Please enter the matrix(3x3): "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d line OK! \n"
l_.str.3: ; @.str.3
.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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $0, -64(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -56(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $3, -56(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -60(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -60(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -56(%rbp), %rax
leaq -48(%rbp), %rsi
imulq $12, %rax, %rax
addq %rax, %rsi
movslq -60(%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 -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %esi
addl $1, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_1
LBB0_8:
movl $0, -56(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $3, -56(%rbp)
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movslq -56(%rbp), %rcx
leaq -48(%rbp), %rax
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -64(%rbp), %eax
movl %eax, -64(%rbp)
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_9
LBB0_12:
movl -64(%rbp), %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_14
## %bb.13:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please enter the matrix(3x3): "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d line OK! \n"
L_.str.3: ## @.str.3
.asciz "%d \n"
.subsections_via_symbols
| the_stack_data/40763203.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, #-20]
adrp x8, l___const.main.some_data@PAGE
add x8, x8, l___const.main.some_data@PAGEOFF
ldr w8, [x8]
stur w8, [x29, #-28]
sub x0, x29, #16
bl _pipe
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_1
LBB0_1:
bl _fork
stur w0, [x29, #-32]
ldur w8, [x29, #-32]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
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 w8, #1
stur w8, [x29, #-20]
b LBB0_8
LBB0_3:
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
mov w0, #0
bl _close
ldur w0, [x29, #-16]
bl _dup
ldur w0, [x29, #-16]
bl _close
ldur w0, [x29, #-12]
bl _close
mov x8, sp
adrp x9, l_.str.2@PAGE
add x9, x9, l_.str.2@PAGEOFF
str x9, [x8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x0, x1
bl _execlp
mov w8, #1
stur w8, [x29, #-20]
b LBB0_8
LBB0_5:
ldur w0, [x29, #-16]
bl _close
ldur w8, [x29, #-12]
stur w8, [x29, #-36] ; 4-byte Folded Spill
sub x0, x29, #28
str x0, [sp, #32] ; 8-byte Folded Spill
bl _strlen
ldr x1, [sp, #32] ; 8-byte Folded Reload
mov x2, x0
ldur w0, [x29, #-36] ; 4-byte Folded Reload
bl _write
mov x8, x0
stur w8, [x29, #-24]
ldur w0, [x29, #-12]
bl _close
bl _getpid
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x0
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
stur wzr, [x29, #-20]
b LBB0_8
LBB0_8:
ldur w8, [x29, #-20]
str w8, [sp, #28] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.some_data: ; @__const.main.some_data
.asciz "123"
l_.str: ; @.str
.asciz "Fork failure"
l_.str.1: ; @.str.1
.asciz "od"
l_.str.2: ; @.str.2
.asciz "-c"
l_.str.3: ; @.str.3
.asciz "%d - wrote %d bytes\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, -20(%rbp)
movl L___const.main.some_data(%rip), %eax
movl %eax, -28(%rbp)
leaq -16(%rbp), %rdi
callq _pipe
cmpl $0, %eax
jne LBB0_7
## %bb.1:
callq _fork
movl %eax, -32(%rbp)
cmpl $-1, -32(%rbp)
jne LBB0_3
## %bb.2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -20(%rbp)
jmp LBB0_8
LBB0_3:
cmpl $0, -32(%rbp)
jne LBB0_5
## %bb.4:
xorl %edi, %edi
callq _close
movl -16(%rbp), %edi
callq _dup
movl -16(%rbp), %edi
callq _close
movl -12(%rbp), %edi
callq _close
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rdx
xorl %eax, %eax
movl %eax, %ecx
movq %rsi, %rdi
movb $0, %al
callq _execlp
movl $1, -20(%rbp)
jmp LBB0_8
LBB0_5:
movl -16(%rbp), %edi
callq _close
movl -12(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
leaq -28(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
leaq -28(%rbp), %rdi
callq _strlen
movl -44(%rbp), %edi ## 4-byte Reload
movq -40(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _write
## kill: def $eax killed $eax killed $rax
movl %eax, -24(%rbp)
movl -12(%rbp), %edi
callq _close
callq _getpid
movl %eax, %esi
movl -24(%rbp), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.6:
jmp LBB0_7
LBB0_7:
movl $0, -20(%rbp)
LBB0_8:
movl -20(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
movl -48(%rbp), %eax ## 4-byte Reload
addq $48, %rsp
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.some_data: ## @__const.main.some_data
.asciz "123"
L_.str: ## @.str
.asciz "Fork failure"
L_.str.1: ## @.str.1
.asciz "od"
L_.str.2: ## @.str.2
.asciz "-c"
L_.str.3: ## @.str.3
.asciz "%d - wrote %d bytes\n"
.subsections_via_symbols
| the_stack_data/150143469.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/111078902.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1, lsl #12 ; =4096
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #12]
adrp x8, _cb@GOTPAGE
ldr x8, [x8, _cb@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #12]
adrp x9, _cc@GOTPAGE
ldr x9, [x9, _cc@GOTPAGEOFF]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
ldrsw x10, [sp, #12]
adrp x9, _cd@GOTPAGE
ldr x9, [x9, _cd@GOTPAGEOFF]
ldr w9, [x9, x10, lsl #2]
mul w8, w8, w9
ldrsw x10, [sp, #12]
adrp x9, _ca@GOTPAGE
ldr x9, [x9, _ca@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _init ; -- Begin function init
.p2align 2
_init: ; @init
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1, lsl #12 ; =4096
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w9, [sp, #12]
mov w8, #3
mul w8, w8, w9
subs w8, w8, #2048
ldrsw x10, [sp, #12]
adrp x9, _cb@GOTPAGE
ldr x9, [x9, _cb@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
ldr w9, [sp, #12]
mov w8, #-5
mul w8, w8, w9
add w8, w8, #93
ldrsw x10, [sp, #12]
adrp x9, _cc@GOTPAGE
ldr x9, [x9, _cc@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #12]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
and w9, w8, #0x1
mov w8, #-1
ands w9, w9, #0x1
csinc w8, w8, wzr, eq
ldrsw x10, [sp, #12]
adrp x9, _cd@GOTPAGE
ldr x9, [x9, _cd@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _init
bl _foo
str wzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #1, lsl #12 ; =4096
cset w8, ge
tbnz w8, #0, LBB2_11
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #8]
adrp x8, _ca@GOTPAGE
ldr x8, [x8, _ca@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
ldr w10, [sp, #8]
mov w9, #-2
mul w9, w9, w10
subs w9, w9, #1955
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
bl _abort
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
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, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #8]
adrp x8, _ca@GOTPAGE
ldr x8, [x8, _ca@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
ldr w10, [sp, #8]
mov w9, #2
mul w9, w9, w10
add w9, w9, #1955
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
bl _abort
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_1
LBB2_11:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _cb,16384,4 ; @cb
.comm _cc,16384,4 ; @cc
.comm _cd,16384,4 ; @cd
.comm _ca,16384,4 ; @ca
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $4096, -4(%rbp) ## imm = 0x1000
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -4(%rbp), %rcx
movq _cb@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
movslq -4(%rbp), %rcx
movq _cc@GOTPCREL(%rip), %rax
addl (%rax,%rcx,4), %edx
movslq -4(%rbp), %rcx
movq _cd@GOTPCREL(%rip), %rax
imull (%rax,%rcx,4), %edx
movslq -4(%rbp), %rcx
movq _ca@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init ## -- Begin function init
.p2align 4, 0x90
_init: ## @init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $4096, -4(%rbp) ## imm = 0x1000
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
imull $3, -4(%rbp), %edx
subl $2048, %edx ## imm = 0x800
movslq -4(%rbp), %rcx
movq _cb@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
imull $4294967291, -4(%rbp), %edx ## imm = 0xFFFFFFFB
addl $93, %edx
movslq -4(%rbp), %rcx
movq _cc@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -4(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %edx, %ecx
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movl $1, %eax
cmpl $0, %ecx
cmovnel %eax, %edx
movslq -4(%rbp), %rcx
movq _cd@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB1_1
LBB1_4:
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 _init
callq _foo
movl $0, -8(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $4096, -8(%rbp) ## imm = 0x1000
jge LBB2_11
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $1, %edx
jne LBB2_5
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movslq -8(%rbp), %rcx
movq _ca@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
imull $4294967294, -8(%rbp), %ecx ## imm = 0xFFFFFFFE
subl $1955, %ecx ## imm = 0x7A3
cmpl %ecx, %eax
je LBB2_5
## %bb.4:
callq _abort
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB2_8
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
movslq -8(%rbp), %rcx
movq _ca@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
movl -8(%rbp), %ecx
shll $1, %ecx
addl $1955, %ecx ## imm = 0x7A3
cmpl %ecx, %eax
je LBB2_8
## %bb.7:
callq _abort
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_9
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_10
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB2_1
LBB2_11:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cb,16384,4 ## @cb
.comm _cc,16384,4 ## @cc
.comm _cd,16384,4 ## @cd
.comm _ca,16384,4 ## @ca
.subsections_via_symbols
| the_stack_data/173577654.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _IF_ELSE_T
subs w8, w0, #1999
cset w8, ne
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movb $0, %al
callq _IF_ELSE_T
cmpl $1999, %eax ## imm = 0x7CF
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/25137095.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sum ; -- Begin function sum
.p2align 2
_sum: ; @sum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str wzr, [sp, #16]
str wzr, [sp, #12]
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 x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #464
.cfi_def_cfa_offset 464
stp x28, x27, [sp, #432] ; 16-byte Folded Spill
stp x29, x30, [sp, #448] ; 16-byte Folded Spill
add x29, sp, #448
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
add x0, sp, #24
mov x1, #400
bl _bzero
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
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 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:
ldr w1, [sp, #12]
add x0, sp, #24
bl _sum
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
ldr w8, [sp, #20]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #448] ; 16-byte Folded Reload
ldp x28, x27, [sp, #432] ; 16-byte Folded Reload
add sp, sp, #464
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "n="
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "a="
l_.str.3: ; @.str.3
.asciz "sum(a)=%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sum ## -- Begin function sum
.p2align 4, 0x90
_sum: ## @sum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movl -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 $432, %rsp ## imm = 0x1B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
leaq -416(%rbp), %rdi
xorl %esi, %esi
movl $400, %edx ## imm = 0x190
callq _memset
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -428(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -424(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -424(%rbp), %eax
cmpl -428(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -424(%rbp), %rax
leaq -416(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB1_1
LBB1_4:
leaq -416(%rbp), %rdi
movl -428(%rbp), %esi
callq _sum
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -420(%rbp), %eax
movl %eax, -432(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_6
## %bb.5:
movl -432(%rbp), %eax ## 4-byte Reload
addq $432, %rsp ## imm = 0x1B0
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "n="
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "a="
L_.str.3: ## @.str.3
.asciz "sum(a)=%d\n"
.subsections_via_symbols
| the_stack_data/287157.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handle_error ; -- Begin function handle_error
.p2align 2
_handle_error: ; @handle_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _perror
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _thread_main ; -- Begin function thread_main
.p2align 2
_thread_main: ; @thread_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 x0, [x29, #-8]
ldur x8, [x29, #-8]
stur x8, [x29, #-16]
adrp x8, l___const.thread_main.buf@PAGE
ldrb w8, [x8, l___const.thread_main.buf@PAGEOFF]
sturb w8, [x29, #-17]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #20]
ldur x8, [x29, #-16]
ldr w8, [x8, #4]
str w8, [sp, #16]
ldur x8, [x29, #-16]
ldr w8, [x8, #8]
str w8, [sp, #12]
str wzr, [sp, #24]
b LBB1_1
LBB1_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, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w0, [sp, #16]
sub x1, x29, #17
mov x2, #1
bl _read
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #1
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _handle_error
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w0, [sp, #12]
sub x1, x29, #17
mov x2, #1
bl _write
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #1
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _handle_error
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_1
LBB1_8:
mov x0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _init_threads ; -- Begin function init_threads
.p2align 2
_init_threads: ; @init_threads
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str w0, [sp, #52]
str x1, [sp, #40]
str x2, [sp, #32]
add x0, sp, #56
bl _pthread_attr_init
str w0, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr w8, [sp, #24]
str w8, [sp, #20] ; 4-byte Folded Spill
bl ___error
ldr w8, [sp, #20] ; 4-byte Folded Reload
str w8, [x0]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _handle_error
b LBB2_2
LBB2_2:
str wzr, [sp, #28]
b LBB2_3
LBB2_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, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
add x0, x8, x9, lsl #3
ldr x8, [sp, #40]
ldrsw x9, [sp, #28]
mov x10, #12
mul x9, x9, x10
add x3, x8, x9
add x1, sp, #56
adrp x2, _thread_main@PAGE
add x2, x2, _thread_main@PAGEOFF
bl _pthread_create
str w0, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr w8, [sp, #24]
str w8, [sp, #16] ; 4-byte Folded Spill
bl ___error
ldr w8, [sp, #16] ; 4-byte Folded Reload
str w8, [x0]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _handle_error
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_3 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_3 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_3
LBB2_8:
add x0, sp, #56
bl _pthread_attr_destroy
str w0, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
ldr w8, [sp, #24]
str w8, [sp, #12] ; 4-byte Folded Spill
bl ___error
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [x0]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _handle_error
b LBB2_10
LBB2_10:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
bl ___stack_chk_fail
LBB2_12:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _destroy_threads ; -- Begin function destroy_threads
.p2align 2
_destroy_threads: ; @destroy_threads
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
bl ___error
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [x0]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _handle_error
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_1
LBB3_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _init_args ; -- Begin function init_args
.p2align 2
_init_args: ; @init_args
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w0, [x29, #-20]
str w1, [sp, #24]
str w2, [sp, #20]
str x3, [sp, #8]
ldur w8, [x29, #-20]
ldr w9, [sp, #24]
subs w9, w9, #1
add w8, w8, w9
ldr w9, [sp, #24]
sdiv w8, w8, w9
ldr w9, [sp, #20]
add w8, w8, w9
str w8, [sp]
str wzr, [sp, #4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_6
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
sub x0, x29, #16
bl _pipe
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _handle_error
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
mov x11, #12
mul x10, x10, x11
str w8, [x9, x10]
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #8]
ldur w8, [x29, #-16]
ldr x11, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
ldr w12, [sp, #24]
sdiv w10, w9, w12
mul w10, w10, w12
subs w9, w9, w10
mov w10, #12
smaddl x9, w9, w10, x11
str w8, [x9, #4]
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB4_1
LBB4_6:
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_8
b LBB4_7
LBB4_7:
bl ___stack_chk_fail
LBB4_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _destroy_args ; -- Begin function destroy_args
.p2align 2
_destroy_args: ; @destroy_args
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mov x10, #12
str x10, [sp] ; 8-byte Folded Spill
mul x9, x9, x10
add x8, x8, x9
ldr w0, [x8, #4]
bl _close
ldr x10, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mul x9, x9, x10
add x8, x8, x9
ldr w0, [x8, #8]
bl _close
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_1
LBB5_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _warmup ; -- Begin function warmup
.p2align 2
_warmup: ; @warmup
.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]
adrp x8, l___const.warmup.buf@PAGE
ldrb w8, [x8, l___const.warmup.buf@PAGEOFF]
sturb w8, [x29, #-13]
str wzr, [sp, #12]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_8
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldur w0, [x29, #-8]
sub x1, x29, #13
mov x2, #1
bl _write
subs x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _handle_error
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
ldur w0, [x29, #-4]
sub x1, x29, #13
mov x2, #1
bl _read
subs x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _handle_error
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_1
LBB6_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function run_bench
lCPI7_0:
.quad 0x41cdcd6500000000 ; double 1.0E+9
.section __TEXT,__text,regular,pure_instructions
.globl _run_bench
.p2align 2
_run_bench: ; @run_bench
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur w3, [x29, #-16]
stur w4, [x29, #-20]
adrp x8, l___const.run_bench.buf@PAGE
ldrb w8, [x8, l___const.run_bench.buf@PAGEOFF]
sturb w8, [x29, #-21]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
ldur w2, [x29, #-12]
bl _warmup
mov w0, #0
add x1, sp, #32
bl _clock_gettime
stur wzr, [x29, #-28]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB7_8
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur w0, [x29, #-8]
sub x1, x29, #21
mov x2, #1
bl _write
subs x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _handle_error
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldur w0, [x29, #-4]
sub x1, x29, #21
mov x2, #1
bl _read
subs x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _handle_error
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_1 Depth=1
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_1 Depth=1
ldur w9, [x29, #-20]
ldur w8, [x29, #-28]
add w8, w8, w9
stur w8, [x29, #-28]
b LBB7_1
LBB7_8:
mov w0, #0
add x1, sp, #48
bl _clock_gettime
ldr x8, [sp, #48]
ldr x9, [sp, #32]
subs x8, x8, x9
scvtf d1, x8
ldr d0, [sp, #56]
scvtf d2, d0
adrp x8, lCPI7_0@PAGE
ldr d0, [x8, lCPI7_0@PAGEOFF]
fmadd d0, d0, d1, d2
ldr d1, [sp, #40]
scvtf d1, d1
fsub d0, d0, d1
fcvtzu x8, d0
str x8, [sp, #24]
ldur w8, [x29, #-28]
; implicit-def: $x11
mov x11, x8
ldr x10, [sp, #24]
ldr x8, [sp, #24]
ldursw x9, [x29, #-28]
udiv x8, x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _print_usage ; -- Begin function print_usage
.p2align 2
_print_usage: ; @print_usage
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _optarg@GOTPAGE
ldr x8, [x8, _optarg@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov w8, #-1
stur w8, [x29, #-24]
stur w8, [x29, #-28]
mov w8, #1
str w8, [sp, #32]
adrp x8, _opterr@GOTPAGE
ldr x8, [x8, _opterr@GOTPAGEOFF]
str wzr, [x8]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
adrp x2, l_.str.11@PAGE
add x2, x2, l_.str.11@PAGEOFF
bl _getopt
sturb w0, [x29, #-17]
mov w8, #-1
subs w8, w8, w0, sxtb
cset w8, eq
tbnz w8, #0, LBB9_10
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldursb w8, [x29, #-17]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #110
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #116
cset w8, eq
tbnz w8, #0, LBB9_6
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #119
cset w8, eq
tbnz w8, #0, LBB9_7
b LBB9_8
LBB9_5: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _atoi
stur w0, [x29, #-24]
b LBB9_9
LBB9_6: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _atoi
stur w0, [x29, #-28]
b LBB9_9
LBB9_7: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _atoi
str w0, [sp, #32]
b LBB9_9
LBB9_8: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8]
bl _print_usage
b LBB9_9
LBB9_9: ; in Loop: Header=BB9_1 Depth=1
b LBB9_1
LBB9_10:
ldur w8, [x29, #-24]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB9_12
b LBB9_11
LBB9_11:
ldur w8, [x29, #-28]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB9_13
b LBB9_12
LBB9_12:
ldur x8, [x29, #-16]
ldr x0, [x8]
bl _print_usage
b LBB9_13
LBB9_13:
ldursw x0, [x29, #-28]
mov x1, #12
bl _calloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_15
b LBB9_14
LBB9_14:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _handle_error
b LBB9_15
LBB9_15:
ldursw x8, [x29, #-28]
subs x0, x8, #1
mov x1, #8
bl _calloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_17
b LBB9_16
LBB9_16:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _handle_error
b LBB9_17
LBB9_17:
ldur w0, [x29, #-24]
ldur w1, [x29, #-28]
ldr w2, [sp, #32]
ldr x3, [sp, #16]
bl _init_args
ldur w8, [x29, #-28]
subs w0, w8, #1
ldr x8, [sp, #16]
add x1, x8, #12
ldr x2, [sp, #24]
bl _init_threads
ldr x8, [sp, #16]
ldr w0, [x8, #4]
ldr x8, [sp, #16]
ldr w1, [x8, #8]
ldr w2, [sp, #32]
ldur w3, [x29, #-24]
ldur w4, [x29, #-28]
bl _run_bench
ldur w8, [x29, #-28]
subs w0, w8, #1
ldr x1, [sp, #24]
bl _destroy_threads
ldur w0, [x29, #-28]
ldr x1, [sp, #16]
bl _destroy_args
ldr x0, [sp, #24]
bl _free
ldr x0, [sp, #16]
bl _free
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.thread_main.buf: ; @__const.thread_main.buf
.byte 1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "thread read"
l_.str.1: ; @.str.1
.asciz "thread write"
l_.str.2: ; @.str.2
.asciz "pthread_attr_init"
l_.str.3: ; @.str.3
.asciz "pthread_create"
l_.str.4: ; @.str.4
.asciz "pthread_attr_destroy"
l_.str.5: ; @.str.5
.asciz "pthread_join"
l_.str.6: ; @.str.6
.asciz "pipe"
.section __TEXT,__const
l___const.warmup.buf: ; @__const.warmup.buf
.byte 1
.section __TEXT,__cstring,cstring_literals
l_.str.7: ; @.str.7
.asciz "write"
l_.str.8: ; @.str.8
.asciz "read"
.section __TEXT,__const
l___const.run_bench.buf: ; @__const.run_bench.buf
.byte 1
.section __TEXT,__cstring,cstring_literals
l_.str.9: ; @.str.9
.asciz "nswitch = %d, delta = %ldns, avg = %ldns\n"
l_.str.10: ; @.str.10
.asciz "Usage: %s [-w nwarmups] -n nswitches -t nthreads\n"
l_.str.11: ; @.str.11
.asciz "w:n:t:"
l_.str.12: ; @.str.12
.asciz "calloc"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handle_error ## -- Begin function handle_error
.p2align 4, 0x90
_handle_error: ## @handle_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _perror
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _thread_main ## -- Begin function thread_main
.p2align 4, 0x90
_thread_main: ## @thread_main
.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)
movb l___const.thread_main.buf(%rip), %al
movb %al, -17(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -32(%rbp)
movq -16(%rbp), %rax
movl 8(%rax), %eax
movl %eax, -36(%rbp)
movl $0, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -32(%rbp), %edi
leaq -17(%rbp), %rsi
movl $1, %edx
callq _read
movq %rax, -48(%rbp)
cmpq $1, -48(%rbp)
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str(%rip), %rdi
callq _handle_error
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %edi
leaq -17(%rbp), %rsi
movl $1, %edx
callq _write
movq %rax, -48(%rbp)
cmpq $1, -48(%rbp)
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.1(%rip), %rdi
callq _handle_error
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_1
LBB1_8:
xorl %eax, %eax
## kill: def $rax killed $eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_threads ## -- Begin function init_threads
.p2align 4, 0x90
_init_threads: ## @init_threads
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -76(%rbp)
movq %rsi, -88(%rbp)
movq %rdx, -96(%rbp)
leaq -72(%rbp), %rdi
callq _pthread_attr_init
movl %eax, -104(%rbp)
cmpl $0, -104(%rbp)
je LBB2_2
## %bb.1:
movl -104(%rbp), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
callq ___error
movl -108(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
leaq L_.str.2(%rip), %rdi
callq _handle_error
LBB2_2:
movl $0, -100(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -100(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movq -96(%rbp), %rdi
movslq -100(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -88(%rbp), %rcx
movslq -100(%rbp), %rax
imulq $12, %rax, %rax
addq %rax, %rcx
leaq -72(%rbp), %rsi
leaq _thread_main(%rip), %rdx
callq _pthread_create
movl %eax, -104(%rbp)
cmpl $0, -104(%rbp)
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movl -104(%rbp), %eax
movl %eax, -112(%rbp) ## 4-byte Spill
callq ___error
movl -112(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
leaq L_.str.3(%rip), %rdi
callq _handle_error
LBB2_6: ## in Loop: Header=BB2_3 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_3 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB2_3
LBB2_8:
leaq -72(%rbp), %rdi
callq _pthread_attr_destroy
movl %eax, -104(%rbp)
cmpl $0, -104(%rbp)
je LBB2_10
## %bb.9:
movl -104(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
callq ___error
movl -116(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
leaq L_.str.4(%rip), %rdi
callq _handle_error
LBB2_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_12
## %bb.11:
addq $128, %rsp
popq %rbp
retq
LBB2_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _destroy_threads ## -- Begin function destroy_threads
.p2align 4, 0x90
_destroy_threads: ## @destroy_threads
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movl %eax, -24(%rbp)
cmpl $0, -24(%rbp)
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -24(%rbp), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
callq ___error
movl -28(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
leaq L_.str.5(%rip), %rdi
callq _handle_error
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_1
LBB3_6:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_args ## -- Begin function init_args
.p2align 4, 0x90
_init_args: ## @init_args
.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 %edi, -20(%rbp)
movl %esi, -24(%rbp)
movl %edx, -28(%rbp)
movq %rcx, -40(%rbp)
movl -20(%rbp), %eax
movl -24(%rbp), %ecx
subl $1, %ecx
addl %ecx, %eax
cltd
idivl -24(%rbp)
addl -28(%rbp), %eax
movl %eax, -48(%rbp)
movl $0, -44(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB4_6
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
leaq -16(%rbp), %rdi
callq _pipe
cmpl $0, %eax
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.6(%rip), %rdi
callq _handle_error
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movl -48(%rbp), %ecx
movq -40(%rbp), %rax
movslq -44(%rbp), %rdx
imulq $12, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movl -12(%rbp), %ecx
movq -40(%rbp), %rax
movslq -44(%rbp), %rdx
imulq $12, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
movl -16(%rbp), %ecx
movq -40(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl -44(%rbp), %eax
addl $1, %eax
cltd
idivl -24(%rbp)
movq -56(%rbp), %rax ## 8-byte Reload
movslq %edx, %rdx
imulq $12, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB4_1
LBB4_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_8
## %bb.7:
addq $64, %rsp
popq %rbp
retq
LBB4_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _destroy_args ## -- Begin function destroy_args
.p2align 4, 0x90
_destroy_args: ## @destroy_args
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %edi
callq _close
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl 8(%rax), %edi
callq _close
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB5_1
LBB5_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _warmup ## -- Begin function warmup
.p2align 4, 0x90
_warmup: ## @warmup
.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)
movb l___const.warmup.buf(%rip), %al
movb %al, -13(%rbp)
movl $0, -20(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB6_8
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movl -8(%rbp), %edi
leaq -13(%rbp), %rsi
movl $1, %edx
callq _write
cmpq $1, %rax
je LBB6_4
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.7(%rip), %rdi
callq _handle_error
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
movl -4(%rbp), %edi
leaq -13(%rbp), %rsi
movl $1, %edx
callq _read
cmpq $1, %rax
je LBB6_6
## %bb.5: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.8(%rip), %rdi
callq _handle_error
LBB6_6: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_7
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_1
LBB6_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function run_bench
LCPI7_0:
.quad 0x41cdcd6500000000 ## double 1.0E+9
LCPI7_1:
.quad 0x43e0000000000000 ## double 9.2233720368547758E+18
.section __TEXT,__text,regular,pure_instructions
.globl _run_bench
.p2align 4, 0x90
_run_bench: ## @run_bench
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl %r8d, -20(%rbp)
movb l___const.run_bench.buf(%rip), %al
movb %al, -21(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movl -12(%rbp), %edx
callq _warmup
xorl %edi, %edi
leaq -64(%rbp), %rsi
callq _clock_gettime
movl $0, -28(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB7_8
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movl -8(%rbp), %edi
leaq -21(%rbp), %rsi
movl $1, %edx
callq _write
cmpq $1, %rax
je LBB7_4
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
leaq L_.str.7(%rip), %rdi
callq _handle_error
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
movl -4(%rbp), %edi
leaq -21(%rbp), %rsi
movl $1, %edx
callq _read
cmpq $1, %rax
je LBB7_6
## %bb.5: ## in Loop: Header=BB7_1 Depth=1
leaq L_.str.8(%rip), %rdi
callq _handle_error
LBB7_6: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_7
LBB7_7: ## in Loop: Header=BB7_1 Depth=1
movl -20(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
jmp LBB7_1
LBB7_8:
xorl %edi, %edi
leaq -48(%rbp), %rsi
callq _clock_gettime
movq -48(%rbp), %rax
movq -64(%rbp), %rcx
subq %rcx, %rax
cvtsi2sd %rax, %xmm0
cvtsi2sdq -40(%rbp), %xmm1
movsd LCPI7_0(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvtsi2sdq -56(%rbp), %xmm1
subsd %xmm1, %xmm0
movaps %xmm0, %xmm1
cvttsd2si %xmm1, %rax
movq %rax, %rdx
sarq $63, %rdx
movsd LCPI7_1(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
andq %rdx, %rcx
orq %rcx, %rax
movq %rax, -72(%rbp)
movl -28(%rbp), %esi
movq -72(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -72(%rbp), %rax
movslq -28(%rbp), %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq -80(%rbp), %rdx ## 8-byte Reload
movq %rax, %rcx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_usage ## -- Begin function print_usage
.p2align 4, 0x90
_print_usage: ## @print_usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $-1, -24(%rbp)
movl $-1, -28(%rbp)
movl $1, -32(%rbp)
movq _opterr@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB9_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
leaq L_.str.11(%rip), %rdx
callq _getopt
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movsbl %al, %eax
cmpl $-1, %eax
je LBB9_8
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movsbl -17(%rbp), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
subl $110, %eax
je LBB9_3
jmp LBB9_16
LBB9_16: ## in Loop: Header=BB9_1 Depth=1
movl -52(%rbp), %eax ## 4-byte Reload
subl $116, %eax
je LBB9_4
jmp LBB9_17
LBB9_17: ## in Loop: Header=BB9_1 Depth=1
movl -52(%rbp), %eax ## 4-byte Reload
subl $119, %eax
je LBB9_5
jmp LBB9_6
LBB9_3: ## in Loop: Header=BB9_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, -24(%rbp)
jmp LBB9_7
LBB9_4: ## in Loop: Header=BB9_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, -28(%rbp)
jmp LBB9_7
LBB9_5: ## in Loop: Header=BB9_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, -32(%rbp)
jmp LBB9_7
LBB9_6: ## in Loop: Header=BB9_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _print_usage
LBB9_7: ## in Loop: Header=BB9_1 Depth=1
jmp LBB9_1
LBB9_8:
cmpl $-1, -24(%rbp)
je LBB9_10
## %bb.9:
cmpl $-1, -28(%rbp)
jne LBB9_11
LBB9_10:
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _print_usage
LBB9_11:
movslq -28(%rbp), %rdi
movl $12, %esi
callq _calloc
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB9_13
## %bb.12:
leaq L_.str.12(%rip), %rdi
callq _handle_error
LBB9_13:
movslq -28(%rbp), %rdi
subq $1, %rdi
movl $8, %esi
callq _calloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB9_15
## %bb.14:
leaq L_.str.12(%rip), %rdi
callq _handle_error
LBB9_15:
movl -24(%rbp), %edi
movl -28(%rbp), %esi
movl -32(%rbp), %edx
movq -48(%rbp), %rcx
callq _init_args
movl -28(%rbp), %edi
subl $1, %edi
movq -48(%rbp), %rsi
addq $12, %rsi
movq -40(%rbp), %rdx
callq _init_threads
movq -48(%rbp), %rax
movl 4(%rax), %edi
movq -48(%rbp), %rax
movl 8(%rax), %esi
movl -32(%rbp), %edx
movl -24(%rbp), %ecx
movl -28(%rbp), %r8d
callq _run_bench
movl -28(%rbp), %edi
subl $1, %edi
movq -40(%rbp), %rsi
callq _destroy_threads
movl -28(%rbp), %edi
movq -48(%rbp), %rsi
callq _destroy_args
movq -40(%rbp), %rdi
callq _free
movq -48(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
l___const.thread_main.buf: ## @__const.thread_main.buf
.byte 1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "thread read"
L_.str.1: ## @.str.1
.asciz "thread write"
L_.str.2: ## @.str.2
.asciz "pthread_attr_init"
L_.str.3: ## @.str.3
.asciz "pthread_create"
L_.str.4: ## @.str.4
.asciz "pthread_attr_destroy"
L_.str.5: ## @.str.5
.asciz "pthread_join"
L_.str.6: ## @.str.6
.asciz "pipe"
.section __TEXT,__const
l___const.warmup.buf: ## @__const.warmup.buf
.byte 1
.section __TEXT,__cstring,cstring_literals
L_.str.7: ## @.str.7
.asciz "write"
L_.str.8: ## @.str.8
.asciz "read"
.section __TEXT,__const
l___const.run_bench.buf: ## @__const.run_bench.buf
.byte 1
.section __TEXT,__cstring,cstring_literals
L_.str.9: ## @.str.9
.asciz "nswitch = %d, delta = %ldns, avg = %ldns\n"
L_.str.10: ## @.str.10
.asciz "Usage: %s [-w nwarmups] -n nswitches -t nthreads\n"
L_.str.11: ## @.str.11
.asciz "w:n:t:"
L_.str.12: ## @.str.12
.asciz "calloc"
.subsections_via_symbols
| the_stack_data/248580770.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_em_up ; -- Begin function add_em_up
.p2align 2
_add_em_up: ; @add_em_up
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
add x9, sp, #16
add x8, sp, #32
str x8, [x9]
str wzr, [sp, #8]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #16]
ldr w8, [x9]
add x9, x9, #8
str x9, [sp, #16]
str w8, [sp, #4]
ldr w9, [sp, #4]
ldr w8, [sp, #8]
add w8, w8, w9
str w8, [sp, #8]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
ldr w0, [sp, #8]
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
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
mov x8, #5
stur x8, [x29, #-40] ; 8-byte Folded Spill
str x8, [x9]
mov x10, #8
stur x10, [x29, #-24] ; 8-byte Folded Spill
str x8, [x9, #8]
mov x8, #6
stur x8, [x29, #-32] ; 8-byte Folded Spill
str x8, [x9, #16]
mov w0, #3
bl _add_em_up
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
stur x0, [x29, #-16] ; 8-byte Folded Spill
bl _printf
ldur x11, [x29, #-40] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldur x8, [x29, #-24] ; 8-byte Folded Reload
mov x9, sp
mov x12, #1
str x12, [x9]
mov x12, #2
str x12, [x9, #8]
mov x12, #3
str x12, [x9, #16]
mov x12, #4
str x12, [x9, #24]
str x11, [x9, #32]
str x10, [x9, #40]
mov x10, #7
str x10, [x9, #48]
str x8, [x9, #56]
mov x8, #9
str x8, [x9, #64]
mov x8, #10
str x8, [x9, #72]
mov w0, #10
bl _add_em_up
mov x10, x0
ldur x0, [x29, #-16] ; 8-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__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 _add_em_up ## -- Begin function add_em_up
.p2align 4, 0x90
_add_em_up: ## @add_em_up
.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
testb %al, %al
je LBB0_11
## %bb.10:
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)
LBB0_11:
movq %r9, -184(%rbp)
movq %r8, -192(%rbp)
movq %rcx, -200(%rbp)
movq %rdx, -208(%rbp)
movq %rsi, -216(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -36(%rbp)
leaq -32(%rbp), %rax
leaq -224(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movl $0, -44(%rbp)
movl $0, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -32(%rbp), %rax
movq %rax, -240(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -228(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -240(%rbp), %rcx ## 8-byte Reload
movl -228(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -248(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -240(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -248(%rbp) ## 8-byte Spill
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -248(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
addl -44(%rbp), %eax
movl %eax, -44(%rbp)
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_1
LBB0_7:
leaq -32(%rbp), %rax
movl -44(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
movl -252(%rbp), %eax ## 4-byte Reload
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $3, %edi
movl $5, %edx
movl $6, %ecx
movl %edx, %esi
movb $0, %al
callq _add_em_up
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $10, %edi
movl $1, %esi
movl $2, %edx
movl $3, %ecx
movl $4, %r8d
movl $5, %r9d
movl $6, (%rsp)
movl $7, 8(%rsp)
movl $8, 16(%rsp)
movl $9, 24(%rsp)
movl $10, 32(%rsp)
movb $0, %al
callq _add_em_up
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/109170.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 x9, sp
sub x8, x29, #4
str x8, [x9]
sub x8, x29, #8
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
l_.str.1: ; @.str.1
.asciz "%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
leaq L_.str(%rip), %rdi
leaq -4(%rbp), %rsi
leaq -8(%rbp), %rdx
movb $0, %al
callq _scanf
movl -4(%rbp), %eax
addl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl -12(%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/175143886.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getSum ; -- Begin function getSum
.p2align 2
_getSum: ; @getSum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #8]
subs x8, x8, #32
cset w8, hs
tbnz w8, #0, LBB0_15
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #8]
mov w8, #1
lsl w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #16]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #16]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #16]
and w8, w8, w9
ldr w9, [sp, #24]
ldr w10, [sp, #16]
and w9, w9, w10
and w9, w8, w9
ldr w8, [sp, #12]
orr w8, w8, w9
str w8, [sp, #12]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #16]
ldr w8, [sp, #12]
orr w8, w8, w9
str w8, [sp, #12]
str wzr, [sp, #20]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #16]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #16]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #20]
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #16]
and w8, w8, w9
ldr w9, [sp, #24]
ldr w10, [sp, #16]
and w9, w9, w10
orr w9, w8, w9
ldr w8, [sp, #12]
orr w8, w8, w9
str w8, [sp, #12]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_15:
ldr w0, [sp, #12]
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 _getSum ## -- Begin function getSum
.p2align 4, 0x90
_getSum: ## @getSum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -24(%rbp), %rax
cmpq $32, %rax
jae LBB0_15
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -16(%rbp)
cmpl $0, -12(%rbp)
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
andl -16(%rbp), %eax
cmpl $0, %eax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
andl -16(%rbp), %eax
cmpl $0, %eax
je LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
andl -16(%rbp), %eax
movl -8(%rbp), %ecx
andl -16(%rbp), %ecx
andl %ecx, %eax
orl -20(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
orl -20(%rbp), %eax
movl %eax, -20(%rbp)
movl $0, -12(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
andl -16(%rbp), %eax
cmpl $0, %eax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
andl -16(%rbp), %eax
cmpl $0, %eax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
andl -16(%rbp), %eax
movl -8(%rbp), %ecx
andl -16(%rbp), %ecx
orl %ecx, %eax
orl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_15:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/237643881.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Input Won\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Input Won\n"
.subsections_via_symbols
| the_stack_data/117328442.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]
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
bl _fork
stur w0, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
mov w9, #10
mul w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
ldur w8, [x29, #-8]
mov w9, #5
sdiv w10, w8, w9
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_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter num : %d"
l_.str.1: ; @.str.1
.asciz "Child Output : %d \n"
l_.str.2: ; @.str.2
.asciz "Parent Ouput : %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 -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
callq _fork
movl %eax, -12(%rbp)
cmpl $0, -12(%rbp)
jne LBB0_2
## %bb.1:
imull $10, -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %eax
movl $5, %ecx
cltd
idivl %ecx
movl %eax, %esi
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 "Enter num : %d"
L_.str.1: ## @.str.1
.asciz "Child Output : %d \n"
L_.str.2: ## @.str.2
.asciz "Parent Ouput : %d \n"
.subsections_via_symbols
| the_stack_data/144127.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str 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 _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w9, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #2
str w9, [sp, #12]
str w8, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
add w10, w8, w9
adrp x9, _sum@PAGE
ldr w8, [x9, _sum@PAGEOFF]
add w8, w8, w10
str w8, [x9, _sum@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w0, [x29, #-8]
bl _bar
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_4:
adrp x8, _sum@PAGE
ldr w0, [x8, _sum@PAGEOFF]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _sum ; @sum
.zerofill __DATA,__common,_sum,4,2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
addl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -12(%rbp)
movl -12(%rbp), %ecx
movl -12(%rbp), %eax
subl $2, %eax
movl %ecx, -4(%rbp)
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
addl -8(%rbp), %eax
addl _sum(%rip), %eax
movl %eax, _sum(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $30, -20(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %edi
callq _bar
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_4:
movl _sum(%rip), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sum ## @sum
.zerofill __DATA,__common,_sum,4,2
.subsections_via_symbols
| the_stack_data/165768175.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr w8, [x8]
; kill: def $x8 killed $w8
mov x9, #26986
movk x9, #13958, lsl #16
add x8, x8, x9
mov x9, #64278
movk x9, #40805, lsl #16
mul x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldrb w8, [sp, #12]
strb w8, [sp, #7]
ldrb w8, [sp, #15]
strb w8, [sp, #12]
ldrb w8, [sp, #7]
strb w8, [sp, #15]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, hi
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldrh w8, [sp, #12]
strh w8, [sp, #4]
ldrh w8, [sp, #14]
strh w8, [sp, #12]
ldrh w8, [sp, #4]
strh w8, [sp, #14]
b LBB1_7
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
mov x10, x8
add x9, sp, #12
mov x8, x9
add x8, x8, x10, lsl #2
ldrb w8, [x8, #3]
strb w8, [sp, #3]
ldr w8, [sp, #8]
mov x10, x8
mov x8, x9
add x8, x8, x10, lsl #2
ldrb w8, [x8, #1]
ldr w10, [sp, #8]
mov x11, x10
mov x10, x9
add x10, x10, x11, lsl #2
strb w8, [x10, #3]
ldrb w8, [sp, #3]
ldr w10, [sp, #8]
; kill: def $x10 killed $w10
add x9, x9, x10, lsl #2
strb w8, [x9, #1]
ldr w9, [sp, #12]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_8:
ldr w8, [sp, #12]
; kill: def $x8 killed $w8
mov x9, #17860
movk x9, #4424, lsl #16
add x8, x8, x9
mov x9, #36614
movk x9, #25550, lsl #16
add x8, x8, x9
ldr x9, [sp, #16]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
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]
bl _megaInit
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB2_2:
b LBB2_3
LBB2_3:
str wzr, [sp, #20]
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #20]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
mov x1, #0
mov w2, #10
bl _strtoul
mov x8, x0
str w8, [sp, #16]
ldr w8, [sp, #16]
ldrsw x10, [sp, #20]
sub x9, x29, #20
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_4
LBB2_6:
sub x0, x29, #20
add x1, sp, #24
bl _RandomFunc
ldr w8, [sp, #24]
mov w9, #16818
movk w9, #64734, lsl #16
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_9
LBB2_8:
b LBB2_9
LBB2_9:
str wzr, [sp, #12]
b LBB2_10
LBB2_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_10 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_10
LBB2_12:
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 "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 _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
movl (%rax), %eax
## kill: def $rax killed $eax
addq $914778474, %rax ## imm = 0x3686696A
movabsq $2674260758, %rcx ## imm = 0x9F65FB16
imulq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 4(%rcx), %eax
jae LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jae LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movb -20(%rbp), %al
movb %al, -25(%rbp)
movb -17(%rbp), %al
movb %al, -20(%rbp)
movb -25(%rbp), %al
movb %al, -17(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
ja LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movw -20(%rbp), %ax
movw %ax, -28(%rbp)
movw -18(%rbp), %ax
movw %ax, -20(%rbp)
movw -28(%rbp), %ax
movw %ax, -18(%rbp)
jmp LBB1_7
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movb -17(%rbp,%rax,4), %al
movb %al, -29(%rbp)
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movb -19(%rbp,%rax,4), %cl
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -17(%rbp,%rax,4)
movb -29(%rbp), %cl
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -19(%rbp,%rax,4)
movl -20(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_1
LBB1_8:
movl -20(%rbp), %eax
## kill: def $rax killed $eax
addq $289949124, %rax ## imm = 0x114845C4
addq $1674481414, %rax ## imm = 0x63CE8F06
movl %eax, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _megaInit
cmpl $2, -8(%rbp)
je LBB2_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %esi
callq _printf
movl $-1, %edi
callq _exit
LBB2_2:
jmp LBB2_3
LBB2_3:
movl $0, -28(%rbp)
LBB2_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -28(%rbp)
jge LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq -16(%rbp), %rax
movl -28(%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 $eax killed $eax killed $rax
movl %eax, -32(%rbp)
movl -32(%rbp), %ecx
movslq -28(%rbp), %rax
movl %ecx, -20(%rbp,%rax,4)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_4
LBB2_6:
leaq -20(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _RandomFunc
cmpl $-52543054, -24(%rbp) ## imm = 0xFCDE41B2
jne LBB2_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_9
LBB2_8:
jmp LBB2_9
LBB2_9:
movl $0, -36(%rbp)
LBB2_10: ## =>This Inner Loop Header: Depth=1
cmpl $1, -36(%rbp)
jge LBB2_12
## %bb.11: ## in Loop: Header=BB2_10 Depth=1
movslq -36(%rbp), %rax
movl -24(%rbp,%rax,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB2_10
LBB2_12:
movl -4(%rbp), %eax
addq $48, %rsp
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/89199876.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test0 ; -- Begin function test0
.p2align 2
_test0: ; @test0
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr q0, [sp]
mov s0, v0[10]
fmov w0, s0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test1 ; -- Begin function test1
.p2align 2
_test1: ; @test1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr q0, [sp]
mov s0, v0[4294967295]
fmov w0, s0
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 _test0 ## -- Begin function test0
.p2align 4, 0x90
_test0: ## @test0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## implicit-def: $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test1 ## -- Begin function test1
.p2align 4, 0x90
_test1: ## @test1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## implicit-def: $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/225144599.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, _s@PAGE
ldr x0, [x8, _s@PAGEOFF]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl _abort
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 "0x1p+f 0x1p+l"
.section __DATA,__data
.globl _s ; @s
.p2align 3
_s:
.quad l_.str
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movq _s(%rip), %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_2
## %bb.1:
callq _abort
LBB0_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0x1p+f 0x1p+l"
.section __DATA,__data
.globl _s ## @s
.p2align 3
_s:
.quad L_.str
.subsections_via_symbols
| the_stack_data/156392658.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 w0, [x29, #-8]
stur x1, [x29, #-16]
mov x0, #16208
bl _malloc
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:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_11
LBB0_2:
ldur x8, [x29, #-24]
str x8, [sp, #32]
ldr x8, [sp, #32]
add x8, x8, #96
str x8, [sp, #24]
mov w8, #521
str w8, [sp, #20]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #2025
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr s1, [sp, #20]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d1, d0
fmov d0, #0.50000000
fmul d0, d0, d1
ldur x8, [x29, #-24]
ldrsw x9, [sp, #20]
str d0, [x8, x9, lsl #3]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_6:
str wzr, [sp, #20]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #180
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldrsw x9, [sp, #20]
adrp x8, _indexSet@PAGE
add x8, x8, _indexSet@PAGEOFF
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #16]
ldr x8, [sp, #32]
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fmov d1, #1.00000000
fadd d0, d0, d1
str d0, [x8]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fmov d1, #3.00000000
fadd d0, d0, d1
str d0, [x8]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_7
LBB0_10:
ldr x8, [sp, #32]
ldr d1, [x8, #7992]
ldr x8, [sp, #24]
ldr d0, [x8, #10280]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x0, [x29, #-24]
bl _free
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
.section __DATA,__data
.globl _indexSet ; @indexSet
.p2align 2
_indexSet:
.long 521 ; 0x209
.long 523 ; 0x20b
.long 525 ; 0x20d
.long 527 ; 0x20f
.long 529 ; 0x211
.long 533 ; 0x215
.long 547 ; 0x223
.long 549 ; 0x225
.long 551 ; 0x227
.long 553 ; 0x229
.long 555 ; 0x22b
.long 557 ; 0x22d
.long 573 ; 0x23d
.long 575 ; 0x23f
.long 577 ; 0x241
.long 579 ; 0x243
.long 581 ; 0x245
.long 583 ; 0x247
.long 599 ; 0x257
.long 601 ; 0x259
.long 603 ; 0x25b
.long 605 ; 0x25d
.long 607 ; 0x25f
.long 609 ; 0x261
.long 625 ; 0x271
.long 627 ; 0x273
.long 629 ; 0x275
.long 631 ; 0x277
.long 633 ; 0x279
.long 635 ; 0x27b
.long 651 ; 0x28b
.long 653 ; 0x28d
.long 655 ; 0x28f
.long 657 ; 0x291
.long 659 ; 0x293
.long 661 ; 0x295
.long 859 ; 0x35b
.long 861 ; 0x35d
.long 863 ; 0x35f
.long 865 ; 0x361
.long 867 ; 0x363
.long 869 ; 0x365
.long 885 ; 0x375
.long 887 ; 0x377
.long 889 ; 0x379
.long 891 ; 0x37b
.long 893 ; 0x37d
.long 895 ; 0x37f
.long 911 ; 0x38f
.long 913 ; 0x391
.long 915 ; 0x393
.long 917 ; 0x395
.long 919 ; 0x397
.long 921 ; 0x399
.long 937 ; 0x3a9
.long 939 ; 0x3ab
.long 941 ; 0x3ad
.long 943 ; 0x3af
.long 945 ; 0x3b1
.long 947 ; 0x3b3
.long 963 ; 0x3c3
.long 965 ; 0x3c5
.long 967 ; 0x3c7
.long 969 ; 0x3c9
.long 971 ; 0x3cb
.long 973 ; 0x3cd
.long 989 ; 0x3dd
.long 991 ; 0x3df
.long 993 ; 0x3e1
.long 995 ; 0x3e3
.long 997 ; 0x3e5
.long 999 ; 0x3e7
.long 1197 ; 0x4ad
.long 1199 ; 0x4af
.long 1201 ; 0x4b1
.long 1203 ; 0x4b3
.long 1205 ; 0x4b5
.long 1207 ; 0x4b7
.long 1223 ; 0x4c7
.long 1225 ; 0x4c9
.long 1227 ; 0x4cb
.long 1229 ; 0x4cd
.long 1231 ; 0x4cf
.long 1233 ; 0x4d1
.long 1249 ; 0x4e1
.long 1251 ; 0x4e3
.long 1253 ; 0x4e5
.long 1255 ; 0x4e7
.long 1257 ; 0x4e9
.long 1259 ; 0x4eb
.long 1275 ; 0x4fb
.long 1277 ; 0x4fd
.long 1279 ; 0x4ff
.long 1281 ; 0x501
.long 1283 ; 0x503
.long 1285 ; 0x505
.long 1301 ; 0x515
.long 1303 ; 0x517
.long 1305 ; 0x519
.long 1307 ; 0x51b
.long 1309 ; 0x51d
.long 1311 ; 0x51f
.long 1327 ; 0x52f
.long 1329 ; 0x531
.long 1331 ; 0x533
.long 1333 ; 0x535
.long 1335 ; 0x537
.long 1337 ; 0x539
.long 1535 ; 0x5ff
.long 1537 ; 0x601
.long 1539 ; 0x603
.long 1541 ; 0x605
.long 1543 ; 0x607
.long 1545 ; 0x609
.long 1561 ; 0x619
.long 1563 ; 0x61b
.long 1565 ; 0x61d
.long 1567 ; 0x61f
.long 1569 ; 0x621
.long 1571 ; 0x623
.long 1587 ; 0x633
.long 1589 ; 0x635
.long 1591 ; 0x637
.long 1593 ; 0x639
.long 1595 ; 0x63b
.long 1597 ; 0x63d
.long 1613 ; 0x64d
.long 1615 ; 0x64f
.long 1617 ; 0x651
.long 1619 ; 0x653
.long 1621 ; 0x655
.long 1623 ; 0x657
.long 1639 ; 0x667
.long 1641 ; 0x669
.long 1643 ; 0x66b
.long 1645 ; 0x66d
.long 1647 ; 0x66f
.long 1649 ; 0x671
.long 1665 ; 0x681
.long 1667 ; 0x683
.long 1669 ; 0x685
.long 1671 ; 0x687
.long 1673 ; 0x689
.long 1675 ; 0x68b
.long 1873 ; 0x751
.long 1875 ; 0x753
.long 1877 ; 0x755
.long 1879 ; 0x757
.long 1881 ; 0x759
.long 1883 ; 0x75b
.long 1899 ; 0x76b
.long 1901 ; 0x76d
.long 1903 ; 0x76f
.long 1905 ; 0x771
.long 1907 ; 0x773
.long 1909 ; 0x775
.long 1925 ; 0x785
.long 1927 ; 0x787
.long 1929 ; 0x789
.long 1931 ; 0x78b
.long 1933 ; 0x78d
.long 1935 ; 0x78f
.long 1951 ; 0x79f
.long 1953 ; 0x7a1
.long 1955 ; 0x7a3
.long 1957 ; 0x7a5
.long 1959 ; 0x7a7
.long 1961 ; 0x7a9
.long 1977 ; 0x7b9
.long 1979 ; 0x7bb
.long 1981 ; 0x7bd
.long 1983 ; 0x7bf
.long 1985 ; 0x7c1
.long 1987 ; 0x7c3
.long 2003 ; 0x7d3
.long 2005 ; 0x7d5
.long 2007 ; 0x7d7
.long 2009 ; 0x7d9
.long 2011 ; 0x7db
.long 2013 ; 0x7dd
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error in malloc(). Aborting ...\n"
l_.str.1: ; @.str.1
.asciz "x1[999]=%f xa2[1285]=%f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4008000000000000 ## double 3
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
LCPI0_2:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $16208, %edi ## imm = 0x3F50
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_11
LBB0_2:
movq -24(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
addq $96, %rax
movq %rax, -40(%rbp)
movl $521, -44(%rbp) ## imm = 0x209
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl $2025, -44(%rbp) ## imm = 0x7E9
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cvtsi2sdl -44(%rbp), %xmm1
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
movq -24(%rbp), %rax
movslq -44(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_3
LBB0_6:
movl $0, -44(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpl $180, -44(%rbp)
jge LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movslq -44(%rbp), %rcx
leaq _indexSet(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -48(%rbp)
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq -40(%rbp), %rax
movslq -48(%rbp), %rcx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_7
LBB0_10:
movq -32(%rbp), %rax
movsd 7992(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
movsd 10280(%rax), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $2, %al
callq _printf
movq -24(%rbp), %rdi
callq _free
movl $0, -4(%rbp)
LBB0_11:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _indexSet ## @indexSet
.p2align 4
_indexSet:
.long 521 ## 0x209
.long 523 ## 0x20b
.long 525 ## 0x20d
.long 527 ## 0x20f
.long 529 ## 0x211
.long 533 ## 0x215
.long 547 ## 0x223
.long 549 ## 0x225
.long 551 ## 0x227
.long 553 ## 0x229
.long 555 ## 0x22b
.long 557 ## 0x22d
.long 573 ## 0x23d
.long 575 ## 0x23f
.long 577 ## 0x241
.long 579 ## 0x243
.long 581 ## 0x245
.long 583 ## 0x247
.long 599 ## 0x257
.long 601 ## 0x259
.long 603 ## 0x25b
.long 605 ## 0x25d
.long 607 ## 0x25f
.long 609 ## 0x261
.long 625 ## 0x271
.long 627 ## 0x273
.long 629 ## 0x275
.long 631 ## 0x277
.long 633 ## 0x279
.long 635 ## 0x27b
.long 651 ## 0x28b
.long 653 ## 0x28d
.long 655 ## 0x28f
.long 657 ## 0x291
.long 659 ## 0x293
.long 661 ## 0x295
.long 859 ## 0x35b
.long 861 ## 0x35d
.long 863 ## 0x35f
.long 865 ## 0x361
.long 867 ## 0x363
.long 869 ## 0x365
.long 885 ## 0x375
.long 887 ## 0x377
.long 889 ## 0x379
.long 891 ## 0x37b
.long 893 ## 0x37d
.long 895 ## 0x37f
.long 911 ## 0x38f
.long 913 ## 0x391
.long 915 ## 0x393
.long 917 ## 0x395
.long 919 ## 0x397
.long 921 ## 0x399
.long 937 ## 0x3a9
.long 939 ## 0x3ab
.long 941 ## 0x3ad
.long 943 ## 0x3af
.long 945 ## 0x3b1
.long 947 ## 0x3b3
.long 963 ## 0x3c3
.long 965 ## 0x3c5
.long 967 ## 0x3c7
.long 969 ## 0x3c9
.long 971 ## 0x3cb
.long 973 ## 0x3cd
.long 989 ## 0x3dd
.long 991 ## 0x3df
.long 993 ## 0x3e1
.long 995 ## 0x3e3
.long 997 ## 0x3e5
.long 999 ## 0x3e7
.long 1197 ## 0x4ad
.long 1199 ## 0x4af
.long 1201 ## 0x4b1
.long 1203 ## 0x4b3
.long 1205 ## 0x4b5
.long 1207 ## 0x4b7
.long 1223 ## 0x4c7
.long 1225 ## 0x4c9
.long 1227 ## 0x4cb
.long 1229 ## 0x4cd
.long 1231 ## 0x4cf
.long 1233 ## 0x4d1
.long 1249 ## 0x4e1
.long 1251 ## 0x4e3
.long 1253 ## 0x4e5
.long 1255 ## 0x4e7
.long 1257 ## 0x4e9
.long 1259 ## 0x4eb
.long 1275 ## 0x4fb
.long 1277 ## 0x4fd
.long 1279 ## 0x4ff
.long 1281 ## 0x501
.long 1283 ## 0x503
.long 1285 ## 0x505
.long 1301 ## 0x515
.long 1303 ## 0x517
.long 1305 ## 0x519
.long 1307 ## 0x51b
.long 1309 ## 0x51d
.long 1311 ## 0x51f
.long 1327 ## 0x52f
.long 1329 ## 0x531
.long 1331 ## 0x533
.long 1333 ## 0x535
.long 1335 ## 0x537
.long 1337 ## 0x539
.long 1535 ## 0x5ff
.long 1537 ## 0x601
.long 1539 ## 0x603
.long 1541 ## 0x605
.long 1543 ## 0x607
.long 1545 ## 0x609
.long 1561 ## 0x619
.long 1563 ## 0x61b
.long 1565 ## 0x61d
.long 1567 ## 0x61f
.long 1569 ## 0x621
.long 1571 ## 0x623
.long 1587 ## 0x633
.long 1589 ## 0x635
.long 1591 ## 0x637
.long 1593 ## 0x639
.long 1595 ## 0x63b
.long 1597 ## 0x63d
.long 1613 ## 0x64d
.long 1615 ## 0x64f
.long 1617 ## 0x651
.long 1619 ## 0x653
.long 1621 ## 0x655
.long 1623 ## 0x657
.long 1639 ## 0x667
.long 1641 ## 0x669
.long 1643 ## 0x66b
.long 1645 ## 0x66d
.long 1647 ## 0x66f
.long 1649 ## 0x671
.long 1665 ## 0x681
.long 1667 ## 0x683
.long 1669 ## 0x685
.long 1671 ## 0x687
.long 1673 ## 0x689
.long 1675 ## 0x68b
.long 1873 ## 0x751
.long 1875 ## 0x753
.long 1877 ## 0x755
.long 1879 ## 0x757
.long 1881 ## 0x759
.long 1883 ## 0x75b
.long 1899 ## 0x76b
.long 1901 ## 0x76d
.long 1903 ## 0x76f
.long 1905 ## 0x771
.long 1907 ## 0x773
.long 1909 ## 0x775
.long 1925 ## 0x785
.long 1927 ## 0x787
.long 1929 ## 0x789
.long 1931 ## 0x78b
.long 1933 ## 0x78d
.long 1935 ## 0x78f
.long 1951 ## 0x79f
.long 1953 ## 0x7a1
.long 1955 ## 0x7a3
.long 1957 ## 0x7a5
.long 1959 ## 0x7a7
.long 1961 ## 0x7a9
.long 1977 ## 0x7b9
.long 1979 ## 0x7bb
.long 1981 ## 0x7bd
.long 1983 ## 0x7bf
.long 1985 ## 0x7c1
.long 1987 ## 0x7c3
.long 2003 ## 0x7d3
.long 2005 ## 0x7d5
.long 2007 ## 0x7d7
.long 2009 ## 0x7d9
.long 2011 ## 0x7db
.long 2013 ## 0x7dd
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error in malloc(). Aborting ...\n"
L_.str.1: ## @.str.1
.asciz "x1[999]=%f xa2[1285]=%f\n"
.subsections_via_symbols
| the_stack_data/959206.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-44] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov x9, sp
sub x8, x29, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
fmov d0, #-1.00000000
str d0, [sp, #32] ; 8-byte Folded Spill
bl _acos
fmov d1, d0
ldur d2, [x29, #-24]
fmov d0, #2.00000000
str d0, [sp, #40] ; 8-byte Folded Spill
fmul d2, d0, d2
fmov d0, #3.00000000
fnmsub d0, d0, d1, d2
bl _sin
ldr d1, [sp, #40] ; 8-byte Folded Reload
bl _pow
ldr d1, [sp, #40] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #32] ; 8-byte Folded Reload
fmul d1, d1, d2
str d1, [sp, #24] ; 8-byte Folded Spill
bl _acos
fmov d1, d0
ldr d0, [sp, #40] ; 8-byte Folded Reload
ldur d2, [x29, #-24]
fmul d2, d0, d2
fmov d0, #5.00000000
fmadd d0, d0, d1, d2
bl _cos
ldr d1, [sp, #40] ; 8-byte Folded Reload
bl _pow
ldr d1, [sp, #24] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #32] ; 8-byte Folded Reload
fmul d1, d1, d2
stur d1, [x29, #-32]
bl _acos
fmov d1, d0
ldr d0, [sp, #40] ; 8-byte Folded Reload
ldur d3, [x29, #-24]
fmov d2, #8.00000000
fmul d2, d2, d3
fnmsub d0, d0, d1, d2
bl _sin
fmov d1, d0
fmov d2, #0.25000000
fmov d0, #-0.25000000
fmadd d0, d0, d1, d2
stur d0, [x29, #-40]
ldur d1, [x29, #-32]
ldur d0, [x29, #-40]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-44] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lf"
l_.str.1: ; @.str.1
.asciz "z_1 = %lf; z_2 = %lf"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0xbfd0000000000000 ## double -0.25
LCPI0_1:
.quad 0x3fd0000000000000 ## double 0.25
LCPI0_2:
.quad 0x4020000000000000 ## double 8
LCPI0_3:
.quad 0xbff0000000000000 ## double -1
LCPI0_4:
.quad 0x4000000000000000 ## double 2
LCPI0_5:
.quad 0x4014000000000000 ## double 5
LCPI0_6:
.quad 0x4008000000000000 ## double 3
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _acos
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd -24(%rbp), %xmm1
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
movsd LCPI0_6(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq _sin
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movaps %xmm0, %xmm1
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _acos
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd -24(%rbp), %xmm1
movsd LCPI0_5(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq _cos
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movaps %xmm0, %xmm1
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp)
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _acos
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd -24(%rbp), %xmm1
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
addsd %xmm0, %xmm0
addsd %xmm1, %xmm0
callq _sin
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $2, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lf"
L_.str.1: ## @.str.1
.asciz "z_1 = %lf; z_2 = %lf"
.subsections_via_symbols
| the_stack_data/95452.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strcapitalize ; -- Begin function ft_strcapitalize
.p2align 2
_ft_strcapitalize: ; @ft_strcapitalize
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x9, x8, x9
ldrsb w8, [x9]
add w8, w8, #32
strb w8, [x9]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_6:
str wzr, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #32
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
strb w8, [x9, x10]
b LBB0_9
LBB0_9:
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_28
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, lt
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #47
cset w8, le
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #58
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #64
cset w8, gt
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #32
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #1
strb w8, [x9, w10, sxtw]
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_10 Depth=1
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #91
cset w8, lt
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #96
cset w8, le
tbnz w8, #0, LBB0_23
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #123
cset w8, lt
tbnz w8, #0, LBB0_27
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #126
cset w8, gt
tbnz w8, #0, LBB0_27
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_26
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #32
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #1
strb w8, [x9, w10, sxtw]
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_10 Depth=1
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_10
LBB0_28:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strcapitalize ## -- Begin function ft_strcapitalize
.p2align 4, 0x90
_ft_strcapitalize: ## @ft_strcapitalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $65, %eax
jl LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $90, %eax
jg LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edx
addl $32, %edx
## kill: def $dl killed $dl killed $edx
movb %dl, (%rax,%rcx)
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 $0, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB0_9
## %bb.7:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jg LBB0_9
## %bb.8:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $32, %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
LBB0_9:
jmp LBB0_10
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_28
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
jl LBB0_13
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $47, %eax
jle LBB0_15
LBB0_13: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $58, %eax
jl LBB0_19
## %bb.14: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $64, %eax
jg LBB0_19
LBB0_15: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB0_18
## %bb.16: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jg LBB0_18
## %bb.17: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
subl $32, %eax
movb %al, %dl
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB0_18: ## in Loop: Header=BB0_10 Depth=1
jmp LBB0_19
LBB0_19: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $91, %eax
jl LBB0_21
## %bb.20: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $96, %eax
jle LBB0_23
LBB0_21: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $123, %eax
jl LBB0_27
## %bb.22: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $126, %eax
jg LBB0_27
LBB0_23: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB0_26
## %bb.24: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jg LBB0_26
## %bb.25: ## in Loop: Header=BB0_10 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
subl $32, %eax
movb %al, %dl
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB0_26: ## in Loop: Header=BB0_10 Depth=1
jmp LBB0_27
LBB0_27: ## in Loop: Header=BB0_10 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_10
LBB0_28:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/68888156.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intro ; -- Begin function intro
.p2align 2
_intro: ; @intro
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _random_setup ; -- Begin function random_setup
.p2align 2
_random_setup: ; @random_setup
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _rand
scvtf s0, w0
mov w8, #55050
movk w8, #52387, lsl #16
fmov s1, w8
fdiv s0, s0, s1
fmov s1, #10.00000000
fadd s0, s0, s1
fcvtzs w8, s0
adrp x9, _num@GOTPAGE
ldr x9, [x9, _num@GOTPAGEOFF]
str w8, [x9]
bl _rand
scvtf s0, w0
mov w8, #52429
movk w8, #52684, lsl #16
fmov s1, w8
fdiv s0, s0, s1
fmov s1, #3.00000000
fadd s0, s0, s1
fcvtzs w8, s0
adrp x9, _max@GOTPAGE
ldr x9, [x9, _max@GOTPAGEOFF]
str w8, [x9]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
bl _rand
scvtf s0, w0
mov w8, #43691
movk w8, #52778, lsl #16
fmov s1, w8
fdiv s0, s0, s1
fmov s1, #1.00000000
fadd s0, s0, s1
fcvtzs w8, s0
adrp x9, _min@GOTPAGE
ldr x9, [x9, _min@GOTPAGEOFF]
str w8, [x9]
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x8, _max@GOTPAGE
ldr x8, [x8, _max@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _min@GOTPAGE
ldr x9, [x9, _min@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_1
b LBB1_3
LBB1_3:
bl _rand
scvtf s0, w0
mov w8, #-830472192
fmov s1, w8
stur s1, [x29, #-4] ; 4-byte Folded Spill
fdiv s0, s0, s1
fcvtzs w8, s0
adrp x9, _takelast@GOTPAGE
ldr x9, [x9, _takelast@GOTPAGEOFF]
str w8, [x9]
bl _rand
ldur s1, [x29, #-4] ; 4-byte Folded Reload
scvtf s0, w0
fdiv s0, s0, s1
fcvtzs w8, s0
adrp x9, _comfirst@GOTPAGE
ldr x9, [x9, _comfirst@GOTPAGEOFF]
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _custom_setup ; -- Begin function custom_setup
.p2align 2
_custom_setup: ; @custom_setup
.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, _min@GOTPAGE
ldr x8, [x8, _min@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
adrp x8, _num@GOTPAGE
ldr x8, [x8, _num@GOTPAGEOFF]
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _num@GOTPAGE
ldr x8, [x8, _num@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #3
cset w8, lt
tbnz w8, #0, LBB2_1
b LBB2_3
LBB2_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-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 _scanf
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_4
b LBB2_6
LBB2_6:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
mov x9, sp
adrp x8, _max@GOTPAGE
ldr x8, [x8, _max@GOTPAGEOFF]
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
ldur x9, [x29, #-16] ; 8-byte Folded Reload
adrp x8, _max@GOTPAGE
ldr x8, [x8, _max@GOTPAGEOFF]
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB2_7
b LBB2_9
LBB2_9:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB2_10
LBB2_10: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #1
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_10 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #121
cset w8, eq
mov w9, #0
stur w9, [x29, #-20] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_15
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_10 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #89
cset w8, eq
mov w9, #0
stur w9, [x29, #-20] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_15
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_10 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #110
cset w8, eq
mov w9, #0
stur w9, [x29, #-20] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_10 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #78
cset w8, ne
stur w8, [x29, #-20] ; 4-byte Folded Spill
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_10 Depth=1
ldur w8, [x29, #-20] ; 4-byte Folded Reload
tbnz w8, #0, LBB2_10
b LBB2_16
LBB2_16:
ldursb w8, [x29, #-1]
str w8, [sp, #24] ; 4-byte Folded Spill
subs w8, w8, #78
cset w8, eq
tbnz w8, #0, LBB2_21
b LBB2_17
LBB2_17:
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #89
cset w8, eq
tbnz w8, #0, LBB2_20
b LBB2_18
LBB2_18:
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #110
cset w8, eq
tbnz w8, #0, LBB2_21
b LBB2_19
LBB2_19:
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #121
cset w8, ne
tbnz w8, #0, LBB2_22
b LBB2_20
LBB2_20:
adrp x9, _takelast@GOTPAGE
ldr x9, [x9, _takelast@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
b LBB2_22
LBB2_21:
adrp x8, _takelast@GOTPAGE
ldr x8, [x8, _takelast@GOTPAGEOFF]
str wzr, [x8]
b LBB2_22
LBB2_22:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB2_23
LBB2_23: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #1
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
b LBB2_24
LBB2_24: ; in Loop: Header=BB2_23 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #121
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_28
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_23 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #89
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_28
b LBB2_26
LBB2_26: ; in Loop: Header=BB2_23 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #110
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_28
b LBB2_27
LBB2_27: ; in Loop: Header=BB2_23 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #78
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB2_28
LBB2_28: ; in Loop: Header=BB2_23 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbnz w8, #0, LBB2_23
b LBB2_29
LBB2_29:
ldursb w8, [x29, #-1]
str w8, [sp, #16] ; 4-byte Folded Spill
subs w8, w8, #78
cset w8, eq
tbnz w8, #0, LBB2_34
b LBB2_30
LBB2_30:
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #89
cset w8, eq
tbnz w8, #0, LBB2_33
b LBB2_31
LBB2_31:
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #110
cset w8, eq
tbnz w8, #0, LBB2_34
b LBB2_32
LBB2_32:
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #121
cset w8, ne
tbnz w8, #0, LBB2_35
b LBB2_33
LBB2_33:
adrp x8, _comfirst@GOTPAGE
ldr x8, [x8, _comfirst@GOTPAGEOFF]
str wzr, [x8]
b LBB2_35
LBB2_34:
adrp x9, _comfirst@GOTPAGE
ldr x9, [x9, _comfirst@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
b LBB2_35
LBB2_35:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _humanmove ; -- Begin function humanmove
.p2align 2
_humanmove: ; @humanmove
.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, _min@GOTPAGE
ldr x8, [x8, _min@GOTPAGEOFF]
stur x8, [x29, #-32] ; 8-byte Folded Spill
adrp x9, _num@GOTPAGE
ldr x9, [x9, _num@GOTPAGEOFF]
stur x9, [x29, #-24] ; 8-byte Folded Spill
adrp x10, _max@GOTPAGE
ldr x10, [x10, _max@GOTPAGEOFF]
stur x10, [x29, #-16] ; 8-byte Folded Spill
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr w8, [x8]
stur w8, [x29, #-36] ; 4-byte Folded Spill
b LBB3_3
LBB3_2:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x8]
stur w8, [x29, #-36] ; 4-byte Folded Spill
b LBB3_3
LBB3_3:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldur w10, [x29, #-36] ; 4-byte Folded Reload
str w10, [sp, #40] ; 4-byte Folded Spill
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB3_6
LBB3_5:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB3_6
LBB3_6:
ldr w11, [sp, #40] ; 4-byte Folded Reload
ldr w10, [sp, #36] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB3_7
LBB3_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_7 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_7 Depth=1
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB3_14
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_7 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_7 Depth=1
ldur w8, [x29, #-4]
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB3_13
LBB3_12: ; in Loop: Header=BB3_7 Depth=1
mov w8, #-1
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_7 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
stur w8, [x29, #-4]
b LBB3_19
LBB3_14: ; in Loop: Header=BB3_7 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB3_17
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_7 Depth=1
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_7 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB3_18
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_7 Depth=1
mov w8, #-1
stur w8, [x29, #-4]
b LBB3_18
LBB3_18: ; in Loop: Header=BB3_7 Depth=1
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_7 Depth=1
b LBB3_20
LBB3_20: ; in Loop: Header=BB3_7 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB3_7
b LBB3_21
LBB3_21:
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldur w10, [x29, #-4]
ldr w9, [x8]
subs w9, w9, w10
str w9, [x8]
ldr w9, [x8]
; 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
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_23
b LBB3_22
LBB3_22:
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB3_24
LBB3_23:
adrp x8, _takelast@GOTPAGE
ldr x8, [x8, _takelast@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
and w9, w8, #0x1
mov w8, #2
ands w9, w9, #0x1
csinc w8, w8, wzr, eq
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB3_24
LBB3_24:
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _compmove ; -- Begin function compmove
.p2align 2
_compmove: ; @compmove
.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 x9, _min@GOTPAGE
ldr x9, [x9, _min@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
adrp x11, _max@GOTPAGE
ldr x11, [x11, _max@GOTPAGEOFF]
stur x11, [x29, #-24] ; 8-byte Folded Spill
adrp x8, _num@GOTPAGE
ldr x8, [x8, _num@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
ldr w10, [x9]
ldr w11, [x11]
add w10, w10, w11
stur w10, [x29, #-4]
ldr w8, [x8]
adrp x10, _takelast@GOTPAGE
ldr x10, [x10, _takelast@GOTPAGEOFF]
ldr w10, [x10]
subs w10, w10, #0
cset w10, eq
and w10, w10, #0x1
subs w8, w8, w10
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
ldur w11, [x29, #-4]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB4_3
b LBB4_1
LBB4_1:
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2:
adrp x8, _skill@GOTPAGE
ldr x8, [x8, _skill@GOTPAGEOFF]
ldr s0, [x8]
scvtf s0, s0
str s0, [sp, #28] ; 4-byte Folded Spill
bl _rand
ldr s0, [sp, #28] ; 4-byte Folded Reload
scvtf s1, w0
mov w8, #52429
movk w8, #52684, lsl #16
fmov s2, w8
fdiv s1, s1, s2
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
bl _rand
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
scvtf s0, w0
ldr w9, [x9]
ldr w10, [x8]
subs w9, w9, w10
add w9, w9, #1
scvtf s2, w9
movi.2s v1, #207, lsl #24
; kill: def $s1 killed $s1 killed $d1
fdiv s1, s1, s2
fdiv s0, s0, s1
ldr s1, [x8]
scvtf s1, s1
fadd s0, s0, s1
fcvtzs w8, s0
stur w8, [x29, #-8]
b LBB4_4
LBB4_4:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
stur w8, [x29, #-8]
b LBB4_6
LBB4_6:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldur w10, [x29, #-8]
ldr w9, [x8]
subs w9, w9, w10
str w9, [x8]
ldur w9, [x29, #-8]
; implicit-def: $x10
mov x10, x9
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
mov w8, #0
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB4_9
LBB4_8:
adrp x8, _takelast@GOTPAGE
ldr x8, [x8, _takelast@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
and w9, w8, #0x1
mov w8, #2
ands w9, w9, #0x1
csinc w8, w8, wzr, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB4_9
LBB4_9:
ldr w0, [sp, #24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _showpile ; -- Begin function showpile
.p2align 2
_showpile: ; @showpile
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _puts
adrp x8, _num@GOTPAGE
ldr x8, [x8, _num@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-4]
b LBB5_1
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_3 Depth 2
ldur w8, [x29, #-4]
subs w8, w8, #79
cset w8, le
tbnz w8, #0, LBB5_7
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #8]
b LBB5_3
LBB5_3: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
subs w8, w8, #79
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=2
mov w0, #124
bl _putchar
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB5_3
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #79
stur w8, [x29, #-4]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _puts
b LBB5_1
LBB5_7:
str wzr, [sp, #8]
b LBB5_8
LBB5_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_11
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_8 Depth=1
mov w0, #124
bl _putchar
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_8 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB5_8
LBB5_11:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _puts
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _playgame ; -- Begin function playgame
.p2align 2
_playgame: ; @playgame
.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, _comfirst@GOTPAGE
ldr x8, [x8, _comfirst@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, lt
mov w9, #1
stur w9, [x29, #-20] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #3
cset w8, gt
stur w8, [x29, #-20] ; 4-byte Folded Spill
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
ldur w8, [x29, #-20] ; 4-byte Folded Reload
tbnz w8, #0, LBB6_1
b LBB6_7
LBB6_7:
ldur w8, [x29, #-4]
str w8, [sp, #24] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB6_10
b LBB6_8
LBB6_8:
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB6_11
b LBB6_9
LBB6_9:
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB6_12
b LBB6_13
LBB6_10:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
adrp x10, _num@GOTPAGE
ldr x10, [x10, _num@GOTPAGEOFF]
mov w9, #23
str w9, [x10]
adrp x10, _max@GOTPAGE
ldr x10, [x10, _max@GOTPAGEOFF]
mov w9, #3
str w9, [x10]
adrp x10, _min@GOTPAGE
ldr x10, [x10, _min@GOTPAGEOFF]
mov w9, #1
str w9, [x10]
adrp x9, _takelast@GOTPAGE
ldr x9, [x9, _takelast@GOTPAGEOFF]
str wzr, [x9]
str wzr, [x8]
b LBB6_13
LBB6_11:
bl _random_setup
b LBB6_13
LBB6_12:
bl _custom_setup
b LBB6_13
LBB6_13:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
adrp x9, _num@GOTPAGE
ldr x9, [x9, _num@GOTPAGEOFF]
ldr w9, [x9]
; implicit-def: $x11
mov x11, x9
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
and w10, w8, #0x1
adrp x9, l_.str.20@PAGE
add x9, x9, l_.str.20@PAGEOFF
adrp x8, l_.str.19@PAGE
add x8, x8, l_.str.19@PAGEOFF
ands w10, w10, #0x1
csel x10, x8, x9, ne
adrp x8, _takelast@GOTPAGE
ldr x8, [x8, _takelast@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
and w12, w8, #0x1
adrp x9, l_.str.22@PAGE
add x9, x9, l_.str.22@PAGEOFF
adrp x8, l_.str.21@PAGE
add x8, x8, l_.str.21@PAGEOFF
ands w12, w12, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
adrp x8, _min@GOTPAGE
ldr x8, [x8, _min@GOTPAGEOFF]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
adrp x8, _max@GOTPAGE
ldr x8, [x8, _max@GOTPAGEOFF]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
mov x9, sp
adrp x8, _skill@GOTPAGE
ldr x8, [x8, _skill@GOTPAGEOFF]
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
stur wzr, [x29, #-8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_15
b LBB6_14
LBB6_14:
bl _showpile
bl _humanmove
stur w0, [x29, #-8]
b LBB6_15
LBB6_15:
b LBB6_16
LBB6_16: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_20
b LBB6_17
LBB6_17: ; in Loop: Header=BB6_16 Depth=1
bl _showpile
bl _compmove
stur w0, [x29, #-8]
bl _showpile
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_19
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_16 Depth=1
bl _humanmove
stur w0, [x29, #-8]
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_16 Depth=1
b LBB6_16
LBB6_20:
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB6_22
b LBB6_21
LBB6_21:
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
b LBB6_23
LBB6_22:
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
b LBB6_23
LBB6_23:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _playagain ; -- Begin function playagain
.p2align 2
_playagain: ; @playagain
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _printf
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
sturb w0, [x29, #-5]
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldursb w0, [x29, #-5]
bl _isalpha
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB7_1
b LBB7_3
LBB7_3:
ldursb w8, [x29, #-5]
subs w8, w8, #121
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_4
LBB7_4:
ldursb w8, [x29, #-5]
subs w8, w8, #89
cset w8, ne
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5:
mov w8, #1
stur w8, [x29, #-4]
b LBB7_7
LBB7_6:
stur wzr, [x29, #-4]
b LBB7_7
LBB7_7:
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, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _intro
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
bl _playgame
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
bl _playagain
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB8_1
b LBB8_3
LBB8_3:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nPick Up Pile\n------\nPick Up Pile is a game with many variations on the same idea.\nYou and the computer each take turns picking up items from an\nimaginary pile of objects. Depending on the type of game you choose\nto play you will have different restrictions on how much you can\npick up at a time, and whether you want to be the one to pick up the\nlast piece or not.\nThe traditional setup is 23 matches, but you can play any variation.\n"
.comm _num,4,2 ; @num
.comm _max,4,2 ; @max
.comm _min,4,2 ; @min
.comm _takelast,4,2 ; @takelast
.comm _comfirst,4,2 ; @comfirst
l_.str.1: ; @.str.1
.asciz "\nChoose the size of the pile (at least 3) "
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "\nWhat is the least that can be taken in a turn? "
l_.str.4: ; @.str.4
.asciz "\nWhat is the most that can be taken in a turn (at least %d)? "
l_.str.5: ; @.str.5
.asciz "\nShould the winner take the last peace? (y/n)"
l_.str.6: ; @.str.6
.asciz "%c"
l_.str.7: ; @.str.7
.asciz "\nDo you want to go first? (y/n)"
l_.str.8: ; @.str.8
.asciz "\nHow many do you want to take (%d - %d) "
l_.str.9: ; @.str.9
.asciz "\nInvalid move. Try again. "
l_.str.10: ; @.str.10
.asciz "You leave %d"
.comm _skill,4,2 ; @skill
l_.str.11: ; @.str.11
.asciz "\nComputer takes %d and leaves %d"
l_.str.12: ; @.str.12
.space 1
l_.str.13: ; @.str.13
.asciz "\n(1) 23 Matches (23 in pile, take at most 3, last piece looses)\n"
l_.str.14: ; @.str.14
.asciz "(2) Random\n"
l_.str.15: ; @.str.15
.asciz "(3) Custom\n"
l_.str.16: ; @.str.16
.asciz "\nChoose a game type: "
l_.str.17: ; @.str.17
.asciz "\nChoose 1, 2, or 3 please. "
l_.str.18: ; @.str.18
.asciz "\n%d in pile, %s first, winner %s last piece.\n"
l_.str.19: ; @.str.19
.asciz "computer goes"
l_.str.20: ; @.str.20
.asciz "you go"
l_.str.21: ; @.str.21
.asciz "takes"
l_.str.22: ; @.str.22
.asciz "leaves"
l_.str.23: ; @.str.23
.asciz "Take at least %d and at most %d per turn.\n\n"
l_.str.24: ; @.str.24
.asciz "On a scale of 1 to 5, 5 being best,\n"
l_.str.25: ; @.str.25
.asciz "how well do you want the computer to play? (1-5) "
l_.str.26: ; @.str.26
.asciz "\nComputer wins!"
l_.str.27: ; @.str.27
.asciz "\nYou win!"
l_.str.28: ; @.str.28
.asciz "\nThat was fun. Would you like to play again? (y\\n) "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intro ## -- Begin function intro
.p2align 4, 0x90
_intro: ## @intro
.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,__literal4,4byte_literals
.p2align 2 ## -- Begin function random_setup
LCPI1_0:
.long 0x40400000 ## float 3
LCPI1_1:
.long 0xcdcccccd ## float -429496736
LCPI1_2:
.long 0x41200000 ## float 10
LCPI1_3:
.long 0xcca3d70a ## float -85899344
LCPI1_4:
.long 0x3f800000 ## float 1
LCPI1_5:
.long 0xce2aaaab ## float -715827904
LCPI1_6:
.long 0xce800000 ## float -1.07374182E+9
.section __TEXT,__text,regular,pure_instructions
.globl _random_setup
.p2align 4, 0x90
_random_setup: ## @random_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq _num@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq _max@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_1: ## =>This Inner Loop Header: Depth=1
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq _min@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq _max@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _min@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jl LBB1_1
## %bb.3:
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI1_6(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq _takelast@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI1_6(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq _comfirst@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _custom_setup ## -- Begin function custom_setup
.p2align 4, 0x90
_custom_setup: ## @custom_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB2_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.2(%rip), %rdi
movq _num@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq _num@GOTPCREL(%rip), %rax
cmpl $3, (%rax)
jl LBB2_1
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB2_4: ## =>This Inner Loop Header: Depth=1
leaq L_.str.2(%rip), %rdi
movq _min@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq _min@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB2_4
## %bb.6:
movq _min@GOTPCREL(%rip), %rax
movl (%rax), %esi
addl $1, %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB2_7: ## =>This Inner Loop Header: Depth=1
leaq L_.str.2(%rip), %rdi
movq _max@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
movq _max@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _min@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jl LBB2_7
## %bb.9:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB2_10: ## =>This Inner Loop Header: Depth=1
leaq L_.str.6(%rip), %rdi
leaq -1(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.11: ## in Loop: Header=BB2_10 Depth=1
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $121, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB2_15
## %bb.12: ## in Loop: Header=BB2_10 Depth=1
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $89, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB2_15
## %bb.13: ## in Loop: Header=BB2_10 Depth=1
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $110, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB2_15
## %bb.14: ## in Loop: Header=BB2_10 Depth=1
movsbl -1(%rbp), %eax
cmpl $78, %eax
setne %al
movb %al, -2(%rbp) ## 1-byte Spill
LBB2_15: ## in Loop: Header=BB2_10 Depth=1
movb -2(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_10
## %bb.16:
movsbl -1(%rbp), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
subl $78, %eax
je LBB2_18
jmp LBB2_30
LBB2_30:
movl -8(%rbp), %eax ## 4-byte Reload
subl $89, %eax
je LBB2_17
jmp LBB2_31
LBB2_31:
movl -8(%rbp), %eax ## 4-byte Reload
subl $110, %eax
je LBB2_18
jmp LBB2_32
LBB2_32:
movl -8(%rbp), %eax ## 4-byte Reload
subl $121, %eax
jne LBB2_19
jmp LBB2_17
LBB2_17:
movq _takelast@GOTPCREL(%rip), %rax
movl $1, (%rax)
jmp LBB2_19
LBB2_18:
movq _takelast@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB2_19:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB2_20: ## =>This Inner Loop Header: Depth=1
leaq L_.str.6(%rip), %rdi
leaq -1(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.21: ## in Loop: Header=BB2_20 Depth=1
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $121, %ecx
movb %al, -9(%rbp) ## 1-byte Spill
je LBB2_25
## %bb.22: ## in Loop: Header=BB2_20 Depth=1
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $89, %ecx
movb %al, -9(%rbp) ## 1-byte Spill
je LBB2_25
## %bb.23: ## in Loop: Header=BB2_20 Depth=1
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $110, %ecx
movb %al, -9(%rbp) ## 1-byte Spill
je LBB2_25
## %bb.24: ## in Loop: Header=BB2_20 Depth=1
movsbl -1(%rbp), %eax
cmpl $78, %eax
setne %al
movb %al, -9(%rbp) ## 1-byte Spill
LBB2_25: ## in Loop: Header=BB2_20 Depth=1
movb -9(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_20
## %bb.26:
movsbl -1(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
subl $78, %eax
je LBB2_28
jmp LBB2_33
LBB2_33:
movl -16(%rbp), %eax ## 4-byte Reload
subl $89, %eax
je LBB2_27
jmp LBB2_34
LBB2_34:
movl -16(%rbp), %eax ## 4-byte Reload
subl $110, %eax
je LBB2_28
jmp LBB2_35
LBB2_35:
movl -16(%rbp), %eax ## 4-byte Reload
subl $121, %eax
jne LBB2_29
jmp LBB2_27
LBB2_27:
movq _comfirst@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB2_29
LBB2_28:
movq _comfirst@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB2_29:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _humanmove ## -- Begin function humanmove
.p2align 4, 0x90
_humanmove: ## @humanmove
.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 _min@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _num@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB3_2
## %bb.1:
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
jmp LBB3_3
LBB3_2:
movq _min@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
LBB3_3:
movl -8(%rbp), %eax ## 4-byte Reload
movl %eax, -12(%rbp) ## 4-byte Spill
movq _max@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _num@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB3_5
## %bb.4:
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
jmp LBB3_6
LBB3_5:
movq _max@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
LBB3_6:
movl -12(%rbp), %esi ## 4-byte Reload
movl -16(%rbp), %edx ## 4-byte Reload
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB3_7: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
je LBB3_9
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB3_9: ## in Loop: Header=BB3_7 Depth=1
leaq L_.str.2(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _min@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB3_14
## %bb.10: ## in Loop: Header=BB3_7 Depth=1
movl -4(%rbp), %eax
movq _num@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB3_12
## %bb.11: ## in Loop: Header=BB3_7 Depth=1
movl -4(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB3_13
LBB3_12: ## in Loop: Header=BB3_7 Depth=1
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB3_13
LBB3_13: ## in Loop: Header=BB3_7 Depth=1
movl -20(%rbp), %eax ## 4-byte Reload
movl %eax, -4(%rbp)
jmp LBB3_19
LBB3_14: ## in Loop: Header=BB3_7 Depth=1
movl -4(%rbp), %eax
movq _min@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jl LBB3_17
## %bb.15: ## in Loop: Header=BB3_7 Depth=1
movl -4(%rbp), %eax
movq _max@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB3_17
## %bb.16: ## in Loop: Header=BB3_7 Depth=1
movl -4(%rbp), %eax
movq _num@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB3_18
LBB3_17: ## in Loop: Header=BB3_7 Depth=1
movl $-1, -4(%rbp)
LBB3_18: ## in Loop: Header=BB3_7 Depth=1
jmp LBB3_19
LBB3_19: ## in Loop: Header=BB3_7 Depth=1
jmp LBB3_20
LBB3_20: ## in Loop: Header=BB3_7 Depth=1
cmpl $0, -4(%rbp)
jl LBB3_7
## %bb.21:
movl -4(%rbp), %eax
movq _num@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl %eax, %ecx
movq _num@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movq _num@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB3_23
## %bb.22:
xorl %eax, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB3_24
LBB3_23:
movq _takelast@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $2, %eax
movl $1, %ecx
cmpl $0, %edx
cmovnel %ecx, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB3_24:
movl -24(%rbp), %eax ## 4-byte Reload
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function compmove
LCPI4_0:
.long 0xcdcccccd ## float -429496736
LCPI4_1:
.long 0xcf000000 ## float -2.14748365E+9
.section __TEXT,__text,regular,pure_instructions
.globl _compmove
.p2align 4, 0x90
_compmove: ## @compmove
.cfi_startproc
## %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 _min@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _max@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movl %eax, -4(%rbp)
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _takelast@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
setne %cl
xorb $-1, %cl
andb $1, %cl
movzbl %cl, %ecx
subl %ecx, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
cltd
idivl -4(%rbp)
movl %edx, -8(%rbp)
movl -8(%rbp), %eax
movq _min@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jl LBB4_3
## %bb.1:
movl -8(%rbp), %eax
movq _max@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB4_3
## %bb.2:
movq _skill@GOTPCREL(%rip), %rax
cvtsi2ssl (%rax), %xmm0
movss %xmm0, -12(%rbp) ## 4-byte Spill
callq _rand
movss -12(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
cvtsi2ss %eax, %xmm0
movss LCPI4_0(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
divss %xmm2, %xmm0
ucomiss %xmm1, %xmm0
jbe LBB4_4
LBB4_3:
callq _rand
cvtsi2ss %eax, %xmm0
movq _max@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _min@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
addl $1, %eax
cvtsi2ss %eax, %xmm2
movss LCPI4_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm2, %xmm1
divss %xmm1, %xmm0
movq _min@GOTPCREL(%rip), %rax
cvtsi2ssl (%rax), %xmm1
addss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -8(%rbp)
LBB4_4:
movl -8(%rbp), %eax
movq _num@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB4_6
## %bb.5:
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp)
LBB4_6:
movl -8(%rbp), %eax
movq _num@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl %eax, %ecx
movq _num@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -8(%rbp), %esi
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq _num@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB4_8
## %bb.7:
xorl %eax, %eax
movl %eax, -16(%rbp) ## 4-byte Spill
jmp LBB4_9
LBB4_8:
movq _takelast@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %eax
movl $2, %ecx
cmpl $0, %edx
cmovnel %ecx, %eax
movl %eax, -16(%rbp) ## 4-byte Spill
LBB4_9:
movl -16(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _showpile ## -- Begin function showpile
.p2align 4, 0x90
_showpile: ## @showpile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.12(%rip), %rdi
callq _puts
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -4(%rbp)
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_3 Depth 2
cmpl $79, -4(%rbp)
jle LBB5_7
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl $0, -8(%rbp)
LBB5_3: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $79, -8(%rbp)
jge LBB5_6
## %bb.4: ## in Loop: Header=BB5_3 Depth=2
movl $124, %edi
callq _putchar
## %bb.5: ## in Loop: Header=BB5_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB5_3
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
movl -4(%rbp), %eax
subl $79, %eax
movl %eax, -4(%rbp)
leaq L_.str.12(%rip), %rdi
callq _puts
jmp LBB5_1
LBB5_7:
movl $0, -8(%rbp)
LBB5_8: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB5_11
## %bb.9: ## in Loop: Header=BB5_8 Depth=1
movl $124, %edi
callq _putchar
## %bb.10: ## in Loop: Header=BB5_8 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB5_8
LBB5_11:
leaq L_.str.12(%rip), %rdi
callq _puts
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _playgame ## -- Begin function playgame
.p2align 4, 0x90
_playgame: ## @playgame
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
je LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.2(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.4: ## in Loop: Header=BB6_1 Depth=1
movb $1, %al
cmpl $1, -4(%rbp)
movb %al, -9(%rbp) ## 1-byte Spill
jl LBB6_6
## %bb.5: ## in Loop: Header=BB6_1 Depth=1
cmpl $3, -4(%rbp)
setg %al
movb %al, -9(%rbp) ## 1-byte Spill
LBB6_6: ## in Loop: Header=BB6_1 Depth=1
movb -9(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB6_1
## %bb.7:
movl -4(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB6_8
jmp LBB6_22
LBB6_22:
movl -16(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB6_9
jmp LBB6_23
LBB6_23:
movl -16(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB6_10
jmp LBB6_11
LBB6_8:
movq _num@GOTPCREL(%rip), %rax
movl $23, (%rax)
movq _max@GOTPCREL(%rip), %rax
movl $3, (%rax)
movq _min@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _takelast@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _comfirst@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB6_11
LBB6_9:
callq _random_setup
jmp LBB6_11
LBB6_10:
callq _custom_setup
LBB6_11:
movq _num@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _comfirst@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.20(%rip), %rdx
leaq L_.str.19(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdx
movq _takelast@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.22(%rip), %rcx
leaq L_.str.21(%rip), %rax
cmpl $0, %edi
cmovneq %rax, %rcx
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movq _min@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _max@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movq _skill@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
movl $0, -8(%rbp)
movq _comfirst@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB6_13
## %bb.12:
callq _showpile
callq _humanmove
movl %eax, -8(%rbp)
LBB6_13:
jmp LBB6_14
LBB6_14: ## =>This Inner Loop Header: Depth=1
cmpl $0, -8(%rbp)
setne %al
xorb $-1, %al
testb $1, %al
jne LBB6_15
jmp LBB6_18
LBB6_15: ## in Loop: Header=BB6_14 Depth=1
callq _showpile
callq _compmove
movl %eax, -8(%rbp)
callq _showpile
cmpl $0, -8(%rbp)
jne LBB6_17
## %bb.16: ## in Loop: Header=BB6_14 Depth=1
callq _humanmove
movl %eax, -8(%rbp)
LBB6_17: ## in Loop: Header=BB6_14 Depth=1
jmp LBB6_14
LBB6_18:
cmpl $2, -8(%rbp)
jne LBB6_20
## %bb.19:
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB6_21
LBB6_20:
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _printf
LBB6_21:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _playagain ## -- Begin function playagain
.p2align 4, 0x90
_playagain: ## @playagain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.28(%rip), %rdi
movb $0, %al
callq _printf
LBB7_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movsbl -5(%rbp), %edi
callq _isalpha
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB7_1
## %bb.3:
movsbl -5(%rbp), %eax
cmpl $121, %eax
je LBB7_5
## %bb.4:
movsbl -5(%rbp), %eax
cmpl $89, %eax
jne LBB7_6
LBB7_5:
movl $1, -4(%rbp)
jmp LBB7_7
LBB7_6:
movl $0, -4(%rbp)
LBB7_7:
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)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
callq _intro
LBB8_1: ## =>This Inner Loop Header: Depth=1
callq _playgame
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
callq _playagain
cmpl $0, %eax
jne LBB8_1
## %bb.3:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nPick Up Pile\n------\nPick Up Pile is a game with many variations on the same idea.\nYou and the computer each take turns picking up items from an\nimaginary pile of objects. Depending on the type of game you choose\nto play you will have different restrictions on how much you can\npick up at a time, and whether you want to be the one to pick up the\nlast piece or not.\nThe traditional setup is 23 matches, but you can play any variation.\n"
.comm _num,4,2 ## @num
.comm _max,4,2 ## @max
.comm _min,4,2 ## @min
.comm _takelast,4,2 ## @takelast
.comm _comfirst,4,2 ## @comfirst
L_.str.1: ## @.str.1
.asciz "\nChoose the size of the pile (at least 3) "
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "\nWhat is the least that can be taken in a turn? "
L_.str.4: ## @.str.4
.asciz "\nWhat is the most that can be taken in a turn (at least %d)? "
L_.str.5: ## @.str.5
.asciz "\nShould the winner take the last peace? (y/n)"
L_.str.6: ## @.str.6
.asciz "%c"
L_.str.7: ## @.str.7
.asciz "\nDo you want to go first? (y/n)"
L_.str.8: ## @.str.8
.asciz "\nHow many do you want to take (%d - %d) "
L_.str.9: ## @.str.9
.asciz "\nInvalid move. Try again. "
L_.str.10: ## @.str.10
.asciz "You leave %d"
.comm _skill,4,2 ## @skill
L_.str.11: ## @.str.11
.asciz "\nComputer takes %d and leaves %d"
L_.str.12: ## @.str.12
.space 1
L_.str.13: ## @.str.13
.asciz "\n(1) 23 Matches (23 in pile, take at most 3, last piece looses)\n"
L_.str.14: ## @.str.14
.asciz "(2) Random\n"
L_.str.15: ## @.str.15
.asciz "(3) Custom\n"
L_.str.16: ## @.str.16
.asciz "\nChoose a game type: "
L_.str.17: ## @.str.17
.asciz "\nChoose 1, 2, or 3 please. "
L_.str.18: ## @.str.18
.asciz "\n%d in pile, %s first, winner %s last piece.\n"
L_.str.19: ## @.str.19
.asciz "computer goes"
L_.str.20: ## @.str.20
.asciz "you go"
L_.str.21: ## @.str.21
.asciz "takes"
L_.str.22: ## @.str.22
.asciz "leaves"
L_.str.23: ## @.str.23
.asciz "Take at least %d and at most %d per turn.\n\n"
L_.str.24: ## @.str.24
.asciz "On a scale of 1 to 5, 5 being best,\n"
L_.str.25: ## @.str.25
.asciz "how well do you want the computer to play? (1-5) "
L_.str.26: ## @.str.26
.asciz "\nComputer wins!"
L_.str.27: ## @.str.27
.asciz "\nYou win!"
L_.str.28: ## @.str.28
.asciz "\nThat was fun. Would you like to play again? (y\\n) "
.subsections_via_symbols
| the_stack_data/26701131.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, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w8, #1
stur w8, [x29, #-8]
stur w8, [x29, #-12]
stur wzr, [x29, #-20]
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
ldur w8, [x29, #-20]
stur w8, [x29, #-8]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@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 range"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "+%d"
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 $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -8(%rbp)
movl $1, -12(%rbp)
movl $0, -20(%rbp)
movl -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -20(%rbp)
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl -20(%rbp), %eax
movl %eax, -8(%rbp)
movl -12(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.3(%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 "Enter a range"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "+%d"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/161081398.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
stur w0, [x29, #-8]
subs w8, w0, #10
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #12
str x8, [x9]
add x8, sp, #16
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
ldur w1, [x29, #-12]
ldr w2, [sp, #16]
sxtb w0, w8
bl _display
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_1
LBB0_3:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _display ; -- Begin function display
.p2align 2
_display: ; @display
.cfi_startproc
; %bb.0:
sub sp, sp, #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
sturb w0, [x29, #-1]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
mov w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
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]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldursb w0, [x29, #-1]
bl _putchar
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
mov w0, #10
bl _putchar
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a character and two integers:\n"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "Enter another character and two integers:\n"
l_.str.3: ; @.str.3
.asciz "Enter a newline to quit.\n"
l_.str.4: ; @.str.4
.asciz "Bye.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -8(%rbp)
cmpl $10, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -16(%rbp), %rdx
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
## kill: def $al killed $al killed $eax
movl -12(%rbp), %esi
movl -16(%rbp), %edx
movsbl %al, %edi
callq _display
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_3:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _display ## -- Begin function display
.p2align 4, 0x90
_display: ## @display
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movb %dil, %al
movb %al, -1(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl $1, -16(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $1, -20(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movsbl -1(%rbp), %edi
callq _putchar
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl $10, %edi
callq _putchar
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a character and two integers:\n"
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "Enter another character and two integers:\n"
L_.str.3: ## @.str.3
.asciz "Enter a newline to quit.\n"
L_.str.4: ## @.str.4
.asciz "Bye.\n"
.subsections_via_symbols
| the_stack_data/161080010.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, #-24]
sub x8, x29, #28
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-28]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x0, x29, #18
str x0, [sp, #32] ; 8-byte Folded Spill
bl _gets
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #40
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldr x11, [sp, #32] ; 8-byte Folded Reload
ldur w8, [x29, #-28]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #40]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the name:"
l_.str.1: ; @.str.1
.asciz "\nEnter the age :"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "\nEnter the phone number :"
l_.str.4: ; @.str.4
.asciz "\n%lld"
l_.str.5: ; @.str.5
.asciz " name:%s\nage:%d\nphone number:%lld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -18(%rbp), %rdi
callq _gets
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -28(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -40(%rbp), %rsi
movb $0, %al
callq _scanf
leaq -18(%rbp), %rsi
movl -28(%rbp), %edx
movq -40(%rbp), %rcx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the name:"
L_.str.1: ## @.str.1
.asciz "\nEnter the age :"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "\nEnter the phone number :"
L_.str.4: ## @.str.4
.asciz "\n%lld"
L_.str.5: ## @.str.5
.asciz " name:%s\nage:%d\nphone number:%lld\n"
.subsections_via_symbols
| the_stack_data/52652.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _timer_handler ; -- Begin function timer_handler
.p2align 2
_timer_handler: ; @timer_handler
.cfi_startproc
; %bb.0:
adrp x9, _ticks@PAGE
ldr x8, [x9, _ticks@PAGEOFF]
add x8, x8, #1
str x8, [x9, _ticks@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _ticks_elapsed ; -- Begin function ticks_elapsed
.p2align 2
_ticks_elapsed: ; @ticks_elapsed
.cfi_startproc
; %bb.0:
adrp x8, _ticks@PAGE
ldr x8, [x8, _ticks@PAGEOFF]
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _seconds_elapsed ; -- Begin function seconds_elapsed
.p2align 2
_seconds_elapsed: ; @seconds_elapsed
.cfi_startproc
; %bb.0:
adrp x8, _ticks@PAGE
ldr x8, [x8, _ticks@PAGEOFF]
mov x9, #18
udiv x8, x8, x9
mov x0, x8
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_ticks,8,3 ; @ticks
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _timer_handler ## -- Begin function timer_handler
.p2align 4, 0x90
_timer_handler: ## @timer_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ticks(%rip), %rax
addq $1, %rax
movq %rax, _ticks(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ticks_elapsed ## -- Begin function ticks_elapsed
.p2align 4, 0x90
_ticks_elapsed: ## @ticks_elapsed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ticks(%rip), %rax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _seconds_elapsed ## -- Begin function seconds_elapsed
.p2align 4, 0x90
_seconds_elapsed: ## @seconds_elapsed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ticks(%rip), %rax
movl $18, %ecx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_ticks,8,3 ## @ticks
.subsections_via_symbols
| the_stack_data/75114.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _asctime_r ; -- Begin function asctime_r
.p2align 2
_asctime_r: ; @asctime_r
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp]
ldr x3, [sp, #8]
mov x1, #26
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _strftime
ldr x0, [sp]
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 "%a %b %d %H:%M:%S %Y\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _asctime_r ## -- Begin function asctime_r
.p2align 4, 0x90
_asctime_r: ## @asctime_r
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
movq -8(%rbp), %rcx
movl $26, %esi
leaq L_.str(%rip), %rdx
callq _strftime
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%a %b %d %H:%M:%S %Y\n"
.subsections_via_symbols
| the_stack_data/218894300.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
mov x8, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
mov x8, #127
stur x8, [x29, #-24] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-128
str x8, [sp, #8] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
mov x8, #2147483647
stur x8, [x29, #-16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-2147483648
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
mov x8, #9223372036854775807
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-9223372036854775808
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x8, [x29, #-24] ; 8-byte Folded Reload
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] ; 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
mov x9, sp
mov x8, #32767
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-32768
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov x9, sp
mov x8, #255
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-1
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
mov x9, sp
mov x8, #65535
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-127
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldur x8, [x29, #-24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-2147483647
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-32767
str x8, [x9]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
mov x9, sp
mov x8, #-9223372036854775807
str x8, [x9]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
ldur x8, [x29, #-24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _printf
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "From limits.h\n"
l_.str.1: ; @.str.1
.asciz "CHAR_BIT : %d\n"
l_.str.2: ; @.str.2
.asciz "CHAR_MAX : %d\n"
l_.str.3: ; @.str.3
.asciz "CHAR_MIN : %d\n"
l_.str.4: ; @.str.4
.asciz "INT_MAX : %d\n"
l_.str.5: ; @.str.5
.asciz "INT_MIN : %d\n"
l_.str.6: ; @.str.6
.asciz "LONG_MAX : %ld\n"
l_.str.7: ; @.str.7
.asciz "LONG_MIN : %ld\n"
l_.str.8: ; @.str.8
.asciz "SCHAR_MAX: %d\n"
l_.str.9: ; @.str.9
.asciz "SCHAR_MIN: %d\n"
l_.str.10: ; @.str.10
.asciz "SHRT_MAX : %d\n"
l_.str.11: ; @.str.11
.asciz "SHRT_MIN : %d\n"
l_.str.12: ; @.str.12
.asciz "UCHAR_MAX: %d\n"
l_.str.13: ; @.str.13
.asciz "UINT_MAX : %u\n"
l_.str.14: ; @.str.14
.asciz "ULONG_MAX: %lu\n"
l_.str.15: ; @.str.15
.asciz "USHRT_MAX: %u\n"
l_.str.16: ; @.str.16
.asciz "\nFrom calc:\n"
l_.str.17: ; @.str.17
.asciz "signed char min=%d\n"
l_.str.18: ; @.str.18
.asciz "signed char max=%d\n"
l_.str.19: ; @.str.19
.asciz "signed int min=%d\n"
l_.str.20: ; @.str.20
.asciz "signed int max=%d\n"
l_.str.21: ; @.str.21
.asciz "signed short min=%d\n"
l_.str.22: ; @.str.22
.asciz "signed short max=%d\n"
l_.str.23: ; @.str.23
.asciz "signed long min=%ld\n"
l_.str.24: ; @.str.24
.asciz "signed long max=%ld\n"
l_.str.25: ; @.str.25
.asciz "unsigned char max=%u\n"
l_.str.26: ; @.str.26
.asciz "unsigned int max=%u\n"
l_.str.27: ; @.str.27
.asciz "unsigned long max=%u\n"
l_.str.28: ; @.str.28
.asciz "unsigned short max=%u\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
movl $8, %esi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movl $127, %esi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movl $4294967168, %esi ## imm = 0xFFFFFF80
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movl $2147483647, %esi ## imm = 0x7FFFFFFF
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movl $2147483648, %esi ## imm = 0x80000000
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movabsq $9223372036854775807, %rsi ## imm = 0x7FFFFFFFFFFFFFFF
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movabsq $-9223372036854775808, %rsi ## imm = 0x8000000000000000
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
movl $127, %esi
movb $0, %al
callq _printf
leaq L_.str.9(%rip), %rdi
movl $4294967168, %esi ## imm = 0xFFFFFF80
movb $0, %al
callq _printf
leaq L_.str.10(%rip), %rdi
movl $32767, %esi ## imm = 0x7FFF
movb $0, %al
callq _printf
leaq L_.str.11(%rip), %rdi
movl $4294934528, %esi ## imm = 0xFFFF8000
movb $0, %al
callq _printf
leaq L_.str.12(%rip), %rdi
movl $255, %esi
movb $0, %al
callq _printf
leaq L_.str.13(%rip), %rdi
movl $4294967295, %esi ## imm = 0xFFFFFFFF
movb $0, %al
callq _printf
leaq L_.str.14(%rip), %rdi
movq $-1, %rsi
movb $0, %al
callq _printf
leaq L_.str.15(%rip), %rdi
movl $65535, %esi ## imm = 0xFFFF
movb $0, %al
callq _printf
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.17(%rip), %rdi
movl $4294967169, %esi ## imm = 0xFFFFFF81
movb $0, %al
callq _printf
leaq L_.str.18(%rip), %rdi
movl $127, %esi
movb $0, %al
callq _printf
leaq L_.str.19(%rip), %rdi
movl $2147483649, %esi ## imm = 0x80000001
movb $0, %al
callq _printf
leaq L_.str.20(%rip), %rdi
movl $2147483647, %esi ## imm = 0x7FFFFFFF
movb $0, %al
callq _printf
leaq L_.str.21(%rip), %rdi
movl $4294934529, %esi ## imm = 0xFFFF8001
movb $0, %al
callq _printf
leaq L_.str.22(%rip), %rdi
movl $32767, %esi ## imm = 0x7FFF
movb $0, %al
callq _printf
leaq L_.str.23(%rip), %rdi
movabsq $-9223372036854775807, %rsi ## imm = 0x8000000000000001
movb $0, %al
callq _printf
leaq L_.str.24(%rip), %rdi
movabsq $9223372036854775807, %rsi ## imm = 0x7FFFFFFFFFFFFFFF
movb $0, %al
callq _printf
leaq L_.str.25(%rip), %rdi
movl $127, %esi
movb $0, %al
callq _printf
leaq L_.str.26(%rip), %rdi
movl $2147483647, %esi ## imm = 0x7FFFFFFF
movb $0, %al
callq _printf
leaq L_.str.27(%rip), %rdi
movl $2147483647, %esi ## imm = 0x7FFFFFFF
movb $0, %al
callq _printf
leaq L_.str.28(%rip), %rdi
movl $2147483647, %esi ## imm = 0x7FFFFFFF
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 "From limits.h\n"
L_.str.1: ## @.str.1
.asciz "CHAR_BIT : %d\n"
L_.str.2: ## @.str.2
.asciz "CHAR_MAX : %d\n"
L_.str.3: ## @.str.3
.asciz "CHAR_MIN : %d\n"
L_.str.4: ## @.str.4
.asciz "INT_MAX : %d\n"
L_.str.5: ## @.str.5
.asciz "INT_MIN : %d\n"
L_.str.6: ## @.str.6
.asciz "LONG_MAX : %ld\n"
L_.str.7: ## @.str.7
.asciz "LONG_MIN : %ld\n"
L_.str.8: ## @.str.8
.asciz "SCHAR_MAX: %d\n"
L_.str.9: ## @.str.9
.asciz "SCHAR_MIN: %d\n"
L_.str.10: ## @.str.10
.asciz "SHRT_MAX : %d\n"
L_.str.11: ## @.str.11
.asciz "SHRT_MIN : %d\n"
L_.str.12: ## @.str.12
.asciz "UCHAR_MAX: %d\n"
L_.str.13: ## @.str.13
.asciz "UINT_MAX : %u\n"
L_.str.14: ## @.str.14
.asciz "ULONG_MAX: %lu\n"
L_.str.15: ## @.str.15
.asciz "USHRT_MAX: %u\n"
L_.str.16: ## @.str.16
.asciz "\nFrom calc:\n"
L_.str.17: ## @.str.17
.asciz "signed char min=%d\n"
L_.str.18: ## @.str.18
.asciz "signed char max=%d\n"
L_.str.19: ## @.str.19
.asciz "signed int min=%d\n"
L_.str.20: ## @.str.20
.asciz "signed int max=%d\n"
L_.str.21: ## @.str.21
.asciz "signed short min=%d\n"
L_.str.22: ## @.str.22
.asciz "signed short max=%d\n"
L_.str.23: ## @.str.23
.asciz "signed long min=%ld\n"
L_.str.24: ## @.str.24
.asciz "signed long max=%ld\n"
L_.str.25: ## @.str.25
.asciz "unsigned char max=%u\n"
L_.str.26: ## @.str.26
.asciz "unsigned int max=%u\n"
L_.str.27: ## @.str.27
.asciz "unsigned long max=%u\n"
L_.str.28: ## @.str.28
.asciz "unsigned short max=%u\n"
.subsections_via_symbols
| the_stack_data/87637875.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cfmakeraw ; -- Begin function cfmakeraw
.p2align 2
_cfmakeraw: ; @cfmakeraw
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
ldr x8, [x9]
mov x10, #-1004
and x8, x8, x10
str x8, [x9]
ldr x9, [sp, #8]
ldr x8, [x9, #8]
and x8, x8, #0xfffffffffffffffe
str x8, [x9, #8]
ldr x9, [sp, #8]
ldr x8, [x9, #24]
mov x10, #-1433
and x8, x8, x10
str x8, [x9, #24]
ldr x9, [sp, #8]
ldr x8, [x9, #16]
mov x10, #-4865
and x8, x8, x10
str x8, [x9, #16]
ldr x9, [sp, #8]
ldr x8, [x9, #16]
orr x8, x8, #0x300
str x8, [x9, #16]
ldr x9, [sp, #8]
mov w8, #1
strb w8, [x9, #48]
ldr x8, [sp, #8]
strb wzr, [x8, #49]
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 _cfmakeraw ## -- Begin function cfmakeraw
.p2align 4, 0x90
_cfmakeraw: ## @cfmakeraw
.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), %rcx
andq $-1004, %rcx ## imm = 0xFC14
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rcx
andq $-2, %rcx
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq 24(%rax), %rcx
andq $-1433, %rcx ## imm = 0xFA67
movq %rcx, 24(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rcx
andq $-4865, %rcx ## imm = 0xECFF
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rcx
orq $768, %rcx ## imm = 0x300
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movb $1, 48(%rax)
movq -8(%rbp), %rax
movb $0, 49(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/150143522.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _send_to_all ; -- Begin function send_to_all
.p2align 2
_send_to_all: ; @send_to_all
.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, ___darwin_check_fd_set_overflow@GOTPAGE
ldr x8, [x8, ___darwin_check_fd_set_overflow@GOTPAGEOFF]
subs x8, x8, #0
cset w8, eq
str w0, [sp, #28]
str w1, [sp, #24]
str w2, [sp, #20]
str w3, [sp, #16]
str x4, [sp, #8]
str x5, [sp]
ldr w10, [sp, #28]
ldr x9, [sp]
stur w10, [x29, #-24]
str x9, [sp, #32]
ldur w10, [x29, #-24]
ldr x9, [sp, #32]
stur w10, [x29, #-8]
stur x9, [x29, #-16]
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-4]
b LBB0_3
LBB0_2:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #32]
ldursw x9, [x29, #-24]
mov x11, #32
udiv x9, x9, x11
ldr w8, [x8, x9, lsl #2]
ldursw x9, [x29, #-24]
udiv x10, x9, x11
mul x10, x10, x11
subs x10, x9, x10
mov x9, #1
lsl x9, x9, x10
; kill: def $w9 killed $w9 killed $x9
and w8, w8, w9
stur w8, [x29, #-20]
b LBB0_6
LBB0_5:
stur wzr, [x29, #-20]
b LBB0_6
LBB0_6:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_7
LBB0_7:
ldr w8, [sp, #28]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8:
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_9
LBB0_9:
ldr w0, [sp, #28]
ldr x1, [sp, #8]
ldrsw x2, [sp, #16]
mov w3, #0
bl _send
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _send_recv ; -- Begin function send_recv
.p2align 2
_send_recv: ; @send_recv
.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, #2144
adrp x8, ___darwin_check_fd_set_overflow@GOTPAGE
ldr x8, [x8, ___darwin_check_fd_set_overflow@GOTPAGEOFF]
subs x8, x8, #0
cset w8, eq
str w8, [sp, #20] ; 4-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #52]
str x1, [sp, #40]
str w2, [sp, #36]
str w3, [sp, #32]
ldr w0, [sp, #52]
add x1, sp, #1112
mov x2, #1024
mov w3, #0
bl _recv
mov x8, x0
mov x9, x0
str w9, [sp, #28]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_10
b LBB1_1
LBB1_1:
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldr w9, [sp, #52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_4
LBB1_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
b LBB1_4
LBB1_4:
ldr w0, [sp, #52]
bl _close
ldr w8, [sp, #20] ; 4-byte Folded Reload
ldr w10, [sp, #52]
ldr x9, [sp, #40]
str w10, [sp, #68]
str x9, [sp, #56]
ldr w10, [sp, #68]
ldr x9, [sp, #56]
str w10, [sp, #80]
str x9, [sp, #72]
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldr w0, [sp, #80]
ldr x1, [sp, #72]
mov w2, #0
bl ___darwin_check_fd_set_overflow
str w0, [sp, #84]
b LBB1_7
LBB1_6:
mov w8, #1
str w8, [sp, #84]
b LBB1_7
LBB1_7:
ldr w8, [sp, #84]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldrsw x8, [sp, #68]
mov x11, #32
udiv x9, x8, x11
mul x9, x9, x11
subs x9, x8, x9
mov x8, #1
lsl x8, x8, x9
mov x10, x8
ldr x8, [sp, #56]
ldrsw x9, [sp, #68]
udiv x9, x9, x11
add x9, x8, x9, lsl #2
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
b LBB1_9
LBB1_9:
b LBB1_15
LBB1_10:
str wzr, [sp, #24]
b LBB1_11
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_14
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_11 Depth=1
ldr w0, [sp, #24]
ldr w1, [sp, #52]
ldr w2, [sp, #36]
ldr w3, [sp, #28]
ldr x5, [sp, #40]
add x4, sp, #1112
bl _send_to_all
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_11 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_11
LBB1_14:
b LBB1_15
LBB1_15:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
bl ___stack_chk_fail
LBB1_17:
add sp, sp, #2144
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _connection_accept ; -- Begin function connection_accept
.p2align 2
_connection_accept: ; @connection_accept
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___darwin_check_fd_set_overflow@GOTPAGE
ldr x8, [x8, ___darwin_check_fd_set_overflow@GOTPAGEOFF]
subs x8, x8, #0
cset w8, eq
str w8, [sp, #36] ; 4-byte Folded Spill
stur x0, [x29, #-40]
stur x1, [x29, #-48]
stur w2, [x29, #-52]
str x3, [sp, #48]
add x2, sp, #44
mov w8, #16
str w8, [sp, #44]
ldur w0, [x29, #-52]
ldr x1, [sp, #48]
bl _accept
str w0, [sp, #40]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_2:
ldr w8, [sp, #36] ; 4-byte Folded Reload
ldr w10, [sp, #40]
ldur x9, [x29, #-40]
stur w10, [x29, #-20]
stur x9, [x29, #-32]
ldur w10, [x29, #-20]
ldur x9, [x29, #-32]
stur w10, [x29, #-8]
stur x9, [x29, #-16]
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-4]
b LBB2_5
LBB2_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB2_5
LBB2_5:
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldursw x8, [x29, #-20]
mov x11, #32
udiv x9, x8, x11
mul x9, x9, x11
subs x9, x8, x9
mov x8, #1
lsl x8, x8, x9
mov x10, x8
ldur x8, [x29, #-32]
ldursw x9, [x29, #-20]
udiv x9, x9, x11
add x9, x8, x9, lsl #2
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b LBB2_7
LBB2_7:
ldr w8, [sp, #40]
ldur x9, [x29, #-48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8:
ldr w8, [sp, #40]
ldur x9, [x29, #-48]
str w8, [x9]
b LBB2_9
LBB2_9:
ldr x8, [sp, #48]
ldr w8, [x8, #4]
mov x0, x8
bl _inet_ntoa
str x0, [sp, #24] ; 8-byte Folded Spill
b LBB2_10
LBB2_10:
ldr x8, [sp, #48]
ldrh w0, [x8, #2]
bl __OSSwapInt16
str w0, [sp, #20] ; 4-byte Folded Spill
b LBB2_11
LBB2_11:
ldr w10, [sp, #20] ; 4-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
and x8, x8, #0xffff
and x8, x8, #0xffff
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB2_12
LBB2_12:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
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
.globl _connect_request ; -- Begin function connect_request
.p2align 2
_connect_request: ; @connect_request
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
mov w1, #1
str w1, [sp, #12]
mov w0, #2
mov w2, #0
bl _socket
ldur x8, [x29, #-8]
str w0, [x8]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB4_2:
ldr x9, [sp, #16]
mov w8, #2
strb w8, [x9, #1]
ldr x9, [sp, #16]
mov w8, #22035
strh w8, [x9, #2]
ldr x8, [sp, #16]
mov w1, #0
str wzr, [x8, #4]
ldr x8, [sp, #16]
add x0, x8, #8
mov x2, #8
mov x3, #-1
bl ___memset_chk
ldur x8, [x29, #-8]
ldr w0, [x8]
mov w1, #65535
mov w4, #4
mov x2, x4
add x3, sp, #12
bl _setsockopt
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB4_4:
ldur x8, [x29, #-8]
ldr w0, [x8]
ldr x1, [sp, #16]
mov w2, #16
bl _bind
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB4_6:
ldur x8, [x29, #-8]
ldr w0, [x8]
mov w1, #10
bl _listen
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB4_8:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
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, #448
.cfi_def_cfa_offset 448
stp x28, x27, [sp, #416] ; 16-byte Folded Spill
stp x29, x30, [sp, #432] ; 16-byte Folded Spill
add x29, sp, #432
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___darwin_check_fd_set_overflow@GOTPAGE
ldr x8, [x8, ___darwin_check_fd_set_overflow@GOTPAGEOFF]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #44] ; 4-byte Folded Spill
mov w1, #0
str w1, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-84]
add x8, sp, #80
str x8, [sp, #24] ; 8-byte Folded Spill
str wzr, [sp, #80]
sub x0, x29, #212
str x0, [sp, #32] ; 8-byte Folded Spill
mov x2, #128
str x2, [sp, #16] ; 8-byte Folded Spill
bl _memset
ldr w1, [sp, #12] ; 4-byte Folded Reload
ldr x2, [sp, #16] ; 8-byte Folded Reload
add x0, sp, #92
bl _memset
ldr x0, [sp, #24] ; 8-byte Folded Reload
add x1, sp, #64
bl _connect_request
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr w10, [sp, #80]
stur w10, [x29, #-52]
stur x9, [x29, #-64]
ldur w10, [x29, #-52]
ldur x9, [x29, #-64]
stur w10, [x29, #-40]
stur x9, [x29, #-48]
tbz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldur w0, [x29, #-40]
ldur x1, [x29, #-48]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-36]
b LBB5_3
LBB5_2:
mov w8, #1
stur w8, [x29, #-36]
b LBB5_3
LBB5_3:
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
ldursw x8, [x29, #-52]
mov x11, #32
udiv x9, x8, x11
mul x9, x9, x11
subs x9, x8, x9
mov x8, #1
lsl x8, x8, x9
mov x10, x8
ldur x8, [x29, #-64]
ldursw x9, [x29, #-52]
udiv x9, x9, x11
add x9, x8, x9, lsl #2
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b LBB5_5
LBB5_5:
ldr w8, [sp, #80]
str w8, [sp, #88]
b LBB5_6
LBB5_6: ; =>This Loop Header: Depth=1
; Child Loop BB5_9 Depth 2
add x0, sp, #92
str x0, [sp] ; 8-byte Folded Spill
sub x1, x29, #212
mov x2, #128
bl _memcpy
ldr x1, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #88]
add w0, w8, #1
mov x4, #0
mov x2, x4
mov x3, x4
bl _select
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #4
bl _exit
LBB5_8: ; in Loop: Header=BB5_6 Depth=1
str wzr, [sp, #84]
b LBB5_9
LBB5_9: ; Parent Loop BB5_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #84]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB5_23
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_9 Depth=2
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr w9, [sp, #84]
stur w9, [x29, #-72]
add x9, sp, #92
stur x9, [x29, #-80]
ldur w10, [x29, #-72]
ldur x9, [x29, #-80]
stur w10, [x29, #-24]
stur x9, [x29, #-32]
tbz w8, #0, LBB5_12
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_9 Depth=2
ldur w0, [x29, #-24]
ldur x1, [x29, #-32]
mov w2, #0
bl ___darwin_check_fd_set_overflow
stur w0, [x29, #-20]
b LBB5_13
LBB5_12: ; in Loop: Header=BB5_9 Depth=2
mov w8, #1
stur w8, [x29, #-20]
b LBB5_13
LBB5_13: ; in Loop: Header=BB5_9 Depth=2
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_15
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_9 Depth=2
ldur x8, [x29, #-80]
ldursw x9, [x29, #-72]
mov x11, #32
udiv x9, x9, x11
ldr w8, [x8, x9, lsl #2]
ldursw x9, [x29, #-72]
udiv x10, x9, x11
mul x10, x10, x11
subs x10, x9, x10
mov x9, #1
lsl x9, x9, x10
; kill: def $w9 killed $w9 killed $x9
and w8, w8, w9
stur w8, [x29, #-68]
b LBB5_16
LBB5_15: ; in Loop: Header=BB5_9 Depth=2
stur wzr, [x29, #-68]
b LBB5_16
LBB5_16: ; in Loop: Header=BB5_9 Depth=2
ldur w8, [x29, #-68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_21
b LBB5_17
LBB5_17: ; in Loop: Header=BB5_9 Depth=2
ldr w8, [sp, #84]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_19
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_9 Depth=2
ldr w2, [sp, #80]
sub x0, x29, #212
add x1, sp, #88
add x3, sp, #48
bl _connection_accept
b LBB5_20
LBB5_19: ; in Loop: Header=BB5_9 Depth=2
ldr w0, [sp, #84]
ldr w2, [sp, #80]
ldr w3, [sp, #88]
sub x1, x29, #212
bl _send_recv
b LBB5_20
LBB5_20: ; in Loop: Header=BB5_9 Depth=2
b LBB5_21
LBB5_21: ; in Loop: Header=BB5_9 Depth=2
b LBB5_22
LBB5_22: ; in Loop: Header=BB5_9 Depth=2
ldr w8, [sp, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB5_9
LBB5_23: ; in Loop: Header=BB5_6 Depth=1
b LBB5_6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "send"
l_.str.1: ; @.str.1
.asciz "socket %d hung up\n"
l_.str.2: ; @.str.2
.asciz "recv"
l_.str.3: ; @.str.3
.asciz "accept"
l_.str.4: ; @.str.4
.asciz "new connection from %s on port %d \n"
l_.str.5: ; @.str.5
.asciz "Socket"
l_.str.6: ; @.str.6
.asciz "setsockopt"
l_.str.7: ; @.str.7
.asciz "Unable to bind"
l_.str.8: ; @.str.8
.asciz "listen"
l_.str.9: ; @.str.9
.asciz "\nTCPServer Waiting for client on port 4950\n"
l_.str.10: ; @.str.10
.asciz "select"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _send_to_all ## -- Begin function send_to_all
.p2align 4, 0x90
_send_to_all: ## @send_to_all
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl %edi, -36(%rbp)
movl %esi, -40(%rbp)
movl %edx, -44(%rbp)
movl %ecx, -48(%rbp)
movq %r8, -56(%rbp)
movq %r9, -64(%rbp)
movl -36(%rbp), %ecx
movq -64(%rbp), %rax
movl %ecx, -24(%rbp)
movq %rax, -32(%rbp)
movl -24(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, -8(%rbp)
movq %rax, -16(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB0_2
jmp LBB0_1
LBB0_1:
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $1, -4(%rbp)
LBB0_3:
cmpl $0, -4(%rbp)
je LBB0_5
## %bb.4:
movq -32(%rbp), %rax
movslq -24(%rbp), %rcx
shrq $5, %rcx
movl (%rax,%rcx,4), %eax
movslq -24(%rbp), %rcx
andq $31, %rcx
movl $1, %edx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
andl %ecx, %eax
movl %eax, -20(%rbp)
jmp LBB0_6
LBB0_5:
movl $0, -20(%rbp)
LBB0_6:
cmpl $0, -20(%rbp)
je LBB0_13
## %bb.7:
movl -36(%rbp), %eax
cmpl -44(%rbp), %eax
je LBB0_12
## %bb.8:
movl -36(%rbp), %eax
cmpl -40(%rbp), %eax
je LBB0_12
## %bb.9:
movl -36(%rbp), %edi
movq -56(%rbp), %rsi
movslq -48(%rbp), %rdx
xorl %ecx, %ecx
callq _send
cmpq $-1, %rax
jne LBB0_11
## %bb.10:
leaq L_.str(%rip), %rdi
callq _perror
LBB0_11:
jmp LBB0_12
LBB0_12:
jmp LBB0_13
LBB0_13:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _send_recv ## -- Begin function send_recv
.p2align 4, 0x90
_send_recv: ## @send_recv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $2128, %rsp ## imm = 0x850
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -2100(%rbp)
movq %rsi, -2112(%rbp)
movl %edx, -2116(%rbp)
movl %ecx, -2120(%rbp)
movl -2100(%rbp), %edi
leaq -1040(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax killed $rax
movl %eax, -2124(%rbp)
cmpl $0, %eax
jg LBB1_10
## %bb.1:
cmpl $0, -2124(%rbp)
jne LBB1_3
## %bb.2:
movl -2100(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_4
LBB1_3:
leaq L_.str.2(%rip), %rdi
callq _perror
LBB1_4:
movl -2100(%rbp), %edi
callq _close
movl -2100(%rbp), %ecx
movq -2112(%rbp), %rax
movl %ecx, -2084(%rbp)
movq %rax, -2096(%rbp)
movl -2084(%rbp), %ecx
movq -2096(%rbp), %rax
movl %ecx, -2072(%rbp)
movq %rax, -2080(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB1_6
jmp LBB1_5
LBB1_5:
movl -2072(%rbp), %edi
movq -2080(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -2068(%rbp)
jmp LBB1_7
LBB1_6:
movl $1, -2068(%rbp)
LBB1_7:
cmpl $0, -2068(%rbp)
je LBB1_9
## %bb.8:
movslq -2084(%rbp), %rcx
andq $31, %rcx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movl %eax, %edx
xorl $-1, %edx
movq -2096(%rbp), %rax
movslq -2084(%rbp), %rcx
shrq $5, %rcx
andl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
LBB1_9:
jmp LBB1_15
LBB1_10:
movl $0, -2128(%rbp)
LBB1_11: ## =>This Inner Loop Header: Depth=1
movl -2128(%rbp), %eax
cmpl -2120(%rbp), %eax
jg LBB1_14
## %bb.12: ## in Loop: Header=BB1_11 Depth=1
movl -2128(%rbp), %edi
movl -2100(%rbp), %esi
movl -2116(%rbp), %edx
movl -2124(%rbp), %ecx
leaq -1040(%rbp), %r8
movq -2112(%rbp), %r9
callq _send_to_all
## %bb.13: ## in Loop: Header=BB1_11 Depth=1
movl -2128(%rbp), %eax
addl $1, %eax
movl %eax, -2128(%rbp)
jmp LBB1_11
LBB1_14:
jmp LBB1_15
LBB1_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_17
## %bb.16:
addq $2128, %rsp ## imm = 0x850
popq %rbp
retq
LBB1_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _connection_accept ## -- Begin function connection_accept
.p2align 4, 0x90
_connection_accept: ## @connection_accept
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -40(%rbp)
movq %rsi, -48(%rbp)
movl %edx, -52(%rbp)
movq %rcx, -64(%rbp)
movl $16, -68(%rbp)
movl -52(%rbp), %edi
movq -64(%rbp), %rsi
leaq -68(%rbp), %rdx
callq _accept
movl %eax, -72(%rbp)
cmpl $-1, %eax
jne LBB2_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_2:
movl -72(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, -20(%rbp)
movq %rax, -32(%rbp)
movl -20(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, -8(%rbp)
movq %rax, -16(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB2_4
jmp LBB2_3
LBB2_3:
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -4(%rbp)
jmp LBB2_5
LBB2_4:
movl $1, -4(%rbp)
LBB2_5:
cmpl $0, -4(%rbp)
je LBB2_7
## %bb.6:
movslq -20(%rbp), %rcx
andq $31, %rcx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movl %eax, %edx
movq -32(%rbp), %rax
movslq -20(%rbp), %rcx
shrq $5, %rcx
orl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
LBB2_7:
movl -72(%rbp), %eax
movq -48(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB2_9
## %bb.8:
movl -72(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
LBB2_9:
movq -64(%rbp), %rax
movl 4(%rax), %edi
callq _inet_ntoa
movq %rax, -80(%rbp) ## 8-byte Spill
## %bb.10:
movq -64(%rbp), %rax
movzwl 2(%rax), %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
## %bb.11:
movq -80(%rbp), %rsi ## 8-byte Reload
movl -84(%rbp), %eax ## 4-byte Reload
movzwl %ax, %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.12:
addq $96, %rsp
popq %rbp
retq
.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
.globl _connect_request ## -- Begin function connect_request
.p2align 4, 0x90
_connect_request: ## @connect_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $1, -20(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movq -8(%rbp), %rcx
movl %eax, (%rcx)
cmpl $-1, %eax
jne LBB4_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB4_2:
movq -16(%rbp), %rax
movb $2, 1(%rax)
movq -16(%rbp), %rax
movw $22035, 2(%rax) ## imm = 0x5613
movq -16(%rbp), %rax
movl $0, 4(%rax)
movq -16(%rbp), %rdi
addq $8, %rdi
xorl %esi, %esi
movl $8, %edx
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movl (%rax), %edi
leaq -20(%rbp), %rcx
movl $65535, %esi ## imm = 0xFFFF
movl $4, %r8d
movl %r8d, %edx
callq _setsockopt
cmpl $-1, %eax
jne LBB4_4
## %bb.3:
leaq L_.str.6(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB4_4:
movq -8(%rbp), %rax
movl (%rax), %edi
movq -16(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $-1, %eax
jne LBB4_6
## %bb.5:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB4_6:
movq -8(%rbp), %rax
movl (%rax), %edi
movl $10, %esi
callq _listen
cmpl $-1, %eax
jne LBB4_8
## %bb.7:
leaq L_.str.8(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB4_8:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
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 $400, %rsp ## imm = 0x190
movl $0, -68(%rbp)
movl $0, -348(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -400(%rbp) ## 16-byte Spill
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -176(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm0, -224(%rbp)
movaps %xmm0, -240(%rbp)
movaps %xmm0, -256(%rbp)
movaps %xmm0, -272(%rbp)
movaps %xmm0, -288(%rbp)
movaps %xmm0, -304(%rbp)
movaps %xmm0, -320(%rbp)
movaps %xmm0, -336(%rbp)
leaq -348(%rbp), %rdi
leaq -368(%rbp), %rsi
callq _connect_request
movl -348(%rbp), %eax
movl %eax, -36(%rbp)
leaq -208(%rbp), %rax
movq %rax, -48(%rbp)
movl -36(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, -24(%rbp)
movq %rax, -32(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB5_2
jmp LBB5_1
LBB5_1:
movl -24(%rbp), %edi
movq -32(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -20(%rbp)
jmp LBB5_3
LBB5_2:
movl $1, -20(%rbp)
LBB5_3:
cmpl $0, -20(%rbp)
je LBB5_5
## %bb.4:
movslq -36(%rbp), %rcx
andq $31, %rcx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movl %eax, %edx
movq -48(%rbp), %rax
movslq -36(%rbp), %rcx
shrq $5, %rcx
orl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
LBB5_5:
movl -348(%rbp), %eax
movl %eax, -340(%rbp)
LBB5_6: ## =>This Loop Header: Depth=1
## Child Loop BB5_9 Depth 2
leaq -336(%rbp), %rdi
leaq -208(%rbp), %rsi
movl $128, %edx
callq _memcpy
movl -340(%rbp), %edi
addl $1, %edi
leaq -336(%rbp), %rsi
xorl %eax, %eax
movl %eax, %r8d
movq %r8, %rdx
movq %r8, %rcx
callq _select$1050
cmpl $-1, %eax
jne LBB5_8
## %bb.7:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $4, %edi
callq _exit
LBB5_8: ## in Loop: Header=BB5_6 Depth=1
movl $0, -344(%rbp)
LBB5_9: ## Parent Loop BB5_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -344(%rbp), %eax
cmpl -340(%rbp), %eax
jg LBB5_23
## %bb.10: ## in Loop: Header=BB5_9 Depth=2
movl -344(%rbp), %eax
movl %eax, -56(%rbp)
leaq -336(%rbp), %rax
movq %rax, -64(%rbp)
movl -56(%rbp), %ecx
movq -64(%rbp), %rax
movl %ecx, -8(%rbp)
movq %rax, -16(%rbp)
movq ___darwin_check_fd_set_overflow@GOTPCREL(%rip), %rax
testq %rax, %rax
je LBB5_12
jmp LBB5_11
LBB5_11: ## in Loop: Header=BB5_9 Depth=2
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
xorl %edx, %edx
callq ___darwin_check_fd_set_overflow
movl %eax, -4(%rbp)
jmp LBB5_13
LBB5_12: ## in Loop: Header=BB5_9 Depth=2
movl $1, -4(%rbp)
LBB5_13: ## in Loop: Header=BB5_9 Depth=2
cmpl $0, -4(%rbp)
je LBB5_15
## %bb.14: ## in Loop: Header=BB5_9 Depth=2
movq -64(%rbp), %rax
movslq -56(%rbp), %rcx
shrq $5, %rcx
movl (%rax,%rcx,4), %eax
movslq -56(%rbp), %rcx
andq $31, %rcx
movl $1, %edx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
andl %ecx, %eax
movl %eax, -52(%rbp)
jmp LBB5_16
LBB5_15: ## in Loop: Header=BB5_9 Depth=2
movl $0, -52(%rbp)
LBB5_16: ## in Loop: Header=BB5_9 Depth=2
cmpl $0, -52(%rbp)
je LBB5_21
## %bb.17: ## in Loop: Header=BB5_9 Depth=2
movl -344(%rbp), %eax
cmpl -348(%rbp), %eax
jne LBB5_19
## %bb.18: ## in Loop: Header=BB5_9 Depth=2
movl -348(%rbp), %edx
leaq -208(%rbp), %rdi
leaq -340(%rbp), %rsi
leaq -384(%rbp), %rcx
callq _connection_accept
jmp LBB5_20
LBB5_19: ## in Loop: Header=BB5_9 Depth=2
movl -344(%rbp), %edi
movl -348(%rbp), %edx
movl -340(%rbp), %ecx
leaq -208(%rbp), %rsi
callq _send_recv
LBB5_20: ## in Loop: Header=BB5_9 Depth=2
jmp LBB5_21
LBB5_21: ## in Loop: Header=BB5_9 Depth=2
jmp LBB5_22
LBB5_22: ## in Loop: Header=BB5_9 Depth=2
movl -344(%rbp), %eax
addl $1, %eax
movl %eax, -344(%rbp)
jmp LBB5_9
LBB5_23: ## in Loop: Header=BB5_6 Depth=1
jmp LBB5_6
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "send"
L_.str.1: ## @.str.1
.asciz "socket %d hung up\n"
L_.str.2: ## @.str.2
.asciz "recv"
L_.str.3: ## @.str.3
.asciz "accept"
L_.str.4: ## @.str.4
.asciz "new connection from %s on port %d \n"
L_.str.5: ## @.str.5
.asciz "Socket"
L_.str.6: ## @.str.6
.asciz "setsockopt"
L_.str.7: ## @.str.7
.asciz "Unable to bind"
L_.str.8: ## @.str.8
.asciz "listen"
L_.str.9: ## @.str.9
.asciz "\nTCPServer Waiting for client on port 4950\n"
L_.str.10: ## @.str.10
.asciz "select"
.subsections_via_symbols
| the_stack_data/179831051.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _za ; -- Begin function za
.p2align 2
_za: ; @za
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str wzr, [sp, #48]
ldur x0, [x29, #-24]
bl _strlen
mov x8, x0
stur w8, [x29, #-40]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
stur w8, [x29, #-36]
ldur w8, [x29, #-40]
ldur w9, [x29, #-36]
add w8, w8, w9
add w8, w8, #1
mov x0, x8
mov x1, #1
bl _calloc
str x0, [sp, #56]
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB0_2:
ldr x0, [sp, #56]
ldur x1, [x29, #-24]
mov x2, #-1
str x2, [sp, #24] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x2, [sp, #24] ; 8-byte Folded Reload
str x0, [sp, #56]
ldr x0, [sp, #56]
ldur x1, [x29, #-16]
bl ___strcat_chk
str x0, [sp, #56]
ldur w8, [x29, #-40]
ldur w9, [x29, #-36]
add w8, w8, w9
add w8, w8, #1
str w8, [sp, #52]
ldrsw x0, [sp, #52]
mov x1, #4
bl _calloc
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB0_4:
mov w8, #1
stur w8, [x29, #-48]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
; Child Loop BB0_8 Depth 2
ldur w8, [x29, #-48]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_31
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-48]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_15
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #40]
b LBB0_8
LBB0_8: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldur w9, [x29, #-48]
add w8, w8, w9
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=2
ldr x8, [sp, #56]
ldrsw x9, [sp, #40]
ldrsb w8, [x8, x9]
ldr x9, [sp, #56]
ldr w10, [sp, #40]
ldur w11, [x29, #-48]
add w10, w10, w11
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, eq
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_8
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
ldur x9, [x29, #-32]
ldursw x10, [x29, #-48]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-48]
str w8, [sp, #44]
ldur w8, [x29, #-48]
ldr w9, [sp, #40]
add w8, w8, w9
subs w8, w8, #1
str w8, [sp, #48]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
b LBB0_24
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-48]
ldr w9, [sp, #44]
subs w8, w8, w9
str w8, [sp, #36]
ldur x8, [x29, #-32]
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #48]
ldur w10, [x29, #-48]
subs w9, w9, w10
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-32]
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-32]
ldursw x10, [x29, #-48]
str w8, [x9, x10, lsl #2]
b LBB0_23
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB0_18
LBB0_18: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-44]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=2
ldr x8, [sp, #56]
ldursw x9, [x29, #-44]
ldrsb w8, [x8, x9]
ldr x9, [sp, #56]
ldur w10, [x29, #-44]
ldur w11, [x29, #-48]
subs w10, w10, w11
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, eq
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB0_22
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=2
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB0_18
LBB0_22: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-48]
subs w8, w8, w9
ldur x9, [x29, #-32]
ldursw x10, [x29, #-48]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-48]
str w8, [sp, #44]
ldur w8, [x29, #-44]
subs w8, w8, #1
str w8, [sp, #48]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_5 Depth=1
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-40]
ldur x9, [x29, #-32]
ldursw x10, [x29, #-48]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-32]
ldursw x9, [x29, #-48]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldur x9, [x29, #-32]
ldursw x10, [x29, #-48]
str w8, [x9, x10, lsl #2]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-48]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
ldr x0, [sp, #56]
bl _free
ldur x0, [x29, #-32]
bl _free
ldur w8, [x29, #-48]
ldur w9, [x29, #-40]
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_32
LBB0_29: ; in Loop: Header=BB0_5 Depth=1
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB0_5
LBB0_31:
ldr x0, [sp, #56]
bl _free
ldur x0, [x29, #-32]
bl _free
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_32
LBB0_32:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
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, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
adrp x8, _text@PAGE
ldr x0, [x8, _text@PAGEOFF]
adrp x8, _pattern@PAGE
ldr x1, [x8, _pattern@PAGEOFF]
bl _za
str w0, [sp, #12]
ldr w9, [sp, #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
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "stupide_strinp_string2"
.section __DATA,__data
.globl _text ; @text
.p2align 3
_text:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "string"
.section __DATA,__data
.globl _pattern ; @pattern
.p2align 3
_pattern:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Error: Failed alloc\n"
l_.str.3: ; @.str.3
.asciz "Res = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _za ## -- Begin function za
.p2align 4, 0x90
_za: ## @za
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl $0, -64(%rbp)
movq -24(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movl -40(%rbp), %eax
addl -36(%rbp), %eax
addl $1, %eax
movl %eax, %eax
movl %eax, %edi
movl $1, %esi
callq _calloc
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-1, %edi
callq _exit
LBB0_2:
movq -56(%rbp), %rdi
movq -24(%rbp), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
movq -16(%rbp), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq %rax, -56(%rbp)
movl -40(%rbp), %eax
addl -36(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
movslq -60(%rbp), %rdi
movl $4, %esi
callq _calloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB0_4
## %bb.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:
movl $1, -48(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_18 Depth 2
movl -48(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB0_31
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -48(%rbp), %eax
cmpl -64(%rbp), %eax
jle LBB0_15
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl $0, -72(%rbp)
LBB0_8: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -72(%rbp), %ecx
addl -48(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -60(%rbp), %ecx
movb %al, -77(%rbp) ## 1-byte Spill
jge LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movq -56(%rbp), %rax
movslq -72(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -56(%rbp), %rcx
movl -72(%rbp), %edx
addl -48(%rbp), %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
sete %al
movb %al, -77(%rbp) ## 1-byte Spill
LBB0_10: ## in Loop: Header=BB0_8 Depth=2
movb -77(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_11
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_8 Depth=2
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_8
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movl -72(%rbp), %edx
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
cmpl $0, -72(%rbp)
jle LBB0_14
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movl -48(%rbp), %eax
movl %eax, -68(%rbp)
movl -48(%rbp), %eax
addl -72(%rbp), %eax
subl $1, %eax
movl %eax, -64(%rbp)
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_24
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
movl -48(%rbp), %eax
subl -68(%rbp), %eax
movl %eax, -76(%rbp)
movq -32(%rbp), %rax
movslq -76(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl -64(%rbp), %ecx
subl -48(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB0_17
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movq -32(%rbp), %rax
movslq -76(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB0_23
LBB0_17: ## in Loop: Header=BB0_5 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
LBB0_18: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -44(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -60(%rbp), %ecx
movb %al, -78(%rbp) ## 1-byte Spill
jge LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movq -56(%rbp), %rax
movslq -44(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -56(%rbp), %rcx
movl -44(%rbp), %edx
subl -48(%rbp), %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
sete %al
movb %al, -78(%rbp) ## 1-byte Spill
LBB0_20: ## in Loop: Header=BB0_18 Depth=2
movb -78(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_21
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_18 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_18
LBB0_22: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %edx
subl -48(%rbp), %edx
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -48(%rbp), %eax
movl %eax, -68(%rbp)
movl -44(%rbp), %eax
subl $1, %eax
movl %eax, -64(%rbp)
LBB0_23: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_5 Depth=1
movl -40(%rbp), %eax
movq -32(%rbp), %rcx
movslq -48(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jae LBB0_26
## %bb.25: ## in Loop: Header=BB0_5 Depth=1
movl -40(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB0_27
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
LBB0_27: ## in Loop: Header=BB0_5 Depth=1
movl -84(%rbp), %edx ## 4-byte Reload
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -40(%rbp), %eax
jne LBB0_29
## %bb.28:
movq -56(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
movl -48(%rbp), %eax
subl -40(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_32
LBB0_29: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_30
LBB0_30: ## in Loop: Header=BB0_5 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_5
LBB0_31:
movq -56(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
movl $-1, -4(%rbp)
LBB0_32:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq _text(%rip), %rdi
movq _pattern(%rip), %rsi
callq _za
movl %eax, -20(%rbp)
movl -20(%rbp), %esi
leaq L_.str.3(%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 "stupide_strinp_string2"
.section __DATA,__data
.globl _text ## @text
.p2align 3
_text:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "string"
.section __DATA,__data
.globl _pattern ## @pattern
.p2align 3
_pattern:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Error: Failed alloc\n"
L_.str.3: ## @.str.3
.asciz "Res = %d\n"
.subsections_via_symbols
| the_stack_data/212643525.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, #672
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #60]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #56]
str wzr, [sp, #52]
str wzr, [sp, #48]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #44]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x8, [sp, #44]
mov x12, #56
mul x10, x8, x12
add x8, sp, #104
mov x9, x8
add x11, x9, x10
ldrsw x9, [sp, #44]
mul x10, x9, x12
mov x9, x8
add x9, x9, x10
add x10, x9, #9
ldrsw x9, [sp, #44]
mul x9, x9, x12
add x8, x8, x9
add x8, x8, #52
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_1
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str wzr, [sp, #40]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
ldr w8, [sp, #40]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x8, [sp, #40]
mov x9, #56
mul x9, x8, x9
add x8, sp, #104
add x8, x8, x9
ldr w8, [x8, #52]
ldr w9, [sp, #56]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldrsw x8, [sp, #40]
mov x9, #56
mul x9, x8, x9
add x8, sp, #104
add x8, x8, x9
ldr w8, [x8, #52]
str w8, [sp, #56]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #36]
b LBB0_10
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=2
ldrsw x8, [sp, #36]
mov x9, #56
mul x9, x8, x9
add x8, sp, #104
add x8, x8, x9
ldr w8, [x8, #52]
ldr w9, [sp, #56]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=2
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_10 Depth=2
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_10 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_10
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_5 Depth=1
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_5
LBB0_18:
ldr w8, [sp, #56]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #52]
; 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
str wzr, [sp, #32]
b LBB0_19
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=1
ldrsw x8, [sp, #32]
mov x9, #56
mul x9, x8, x9
add x8, sp, #104
add x8, x8, x9
ldr w8, [x8, #52]
ldr w9, [sp, #56]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
ldr w8, [sp, #48]
; implicit-def: $x12
mov x12, x8
ldrsw x8, [sp, #32]
mov x13, #56
mul x10, x8, x13
add x8, sp, #104
mov x9, x8
add x11, x9, x10
ldrsw x9, [sp, #32]
mul x10, x9, x13
mov x9, x8
add x9, x9, x10
add x10, x9, #9
ldrsw x9, [sp, #32]
mul x9, x9, x13
add x8, x8, x9
ldr w9, [x8, #52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_19 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_19 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_19
LBB0_24:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
bl ___stack_chk_fail
LBB0_26:
mov w0, #0
add sp, sp, #672
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 " *** Structure Array 2 ***\n"
l_.str.1: ; @.str.1
.asciz "Enter data : "
l_.str.2: ; @.str.2
.asciz "%s %s %d"
l_.str.3: ; @.str.3
.asciz "\n\n *** Analyzing Data ***\n"
l_.str.4: ; @.str.4
.asciz "Max marking = %d points, %d students.\n"
l_.str.5: ; @.str.5
.asciz "%d. %s %s %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $656, %rsp ## imm = 0x290
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -628(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -632(%rbp)
movl $0, -636(%rbp)
movl $0, -640(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -644(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -644(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -644(%rbp), %rax
leaq -576(%rbp), %rsi
imulq $56, %rax, %rax
addq %rax, %rsi
movslq -644(%rbp), %rax
leaq -576(%rbp), %rdx
imulq $56, %rax, %rax
addq %rax, %rdx
addq $9, %rdx
movslq -644(%rbp), %rax
leaq -576(%rbp), %rcx
imulq $56, %rax, %rax
addq %rax, %rcx
addq $52, %rcx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -644(%rbp), %eax
addl $1, %eax
movl %eax, -644(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -648(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
cmpl $10, -648(%rbp)
jge LBB0_18
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -648(%rbp), %rcx
leaq -576(%rbp), %rax
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
cmpl -632(%rbp), %eax
jl LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movslq -648(%rbp), %rcx
leaq -576(%rbp), %rax
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
movl %eax, -632(%rbp)
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
cmpl $9, -648(%rbp)
jne LBB0_16
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movl $0, -652(%rbp)
LBB0_10: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -652(%rbp)
jge LBB0_15
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movslq -652(%rbp), %rcx
leaq -576(%rbp), %rax
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
cmpl -632(%rbp), %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_10 Depth=2
movl -636(%rbp), %eax
addl $1, %eax
movl %eax, -636(%rbp)
LBB0_13: ## in Loop: Header=BB0_10 Depth=2
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_10 Depth=2
movl -652(%rbp), %eax
addl $1, %eax
movl %eax, -652(%rbp)
jmp LBB0_10
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_17
LBB0_17: ## in Loop: Header=BB0_5 Depth=1
movl -648(%rbp), %eax
addl $1, %eax
movl %eax, -648(%rbp)
jmp LBB0_5
LBB0_18:
movl -632(%rbp), %esi
movl -636(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -656(%rbp)
LBB0_19: ## =>This Inner Loop Header: Depth=1
cmpl $10, -656(%rbp)
jge LBB0_24
## %bb.20: ## in Loop: Header=BB0_19 Depth=1
movslq -656(%rbp), %rcx
leaq -576(%rbp), %rax
imulq $56, %rcx, %rcx
addq %rcx, %rax
movl 52(%rax), %eax
cmpl -632(%rbp), %eax
jne LBB0_22
## %bb.21: ## in Loop: Header=BB0_19 Depth=1
movl -640(%rbp), %eax
addl $1, %eax
movl %eax, -640(%rbp)
movl -640(%rbp), %esi
movslq -656(%rbp), %rax
leaq -576(%rbp), %rdx
imulq $56, %rax, %rax
addq %rax, %rdx
movslq -656(%rbp), %rax
leaq -576(%rbp), %rcx
imulq $56, %rax, %rax
addq %rax, %rcx
addq $9, %rcx
movslq -656(%rbp), %rdi
leaq -576(%rbp), %rax
imulq $56, %rdi, %rdi
addq %rdi, %rax
movl 52(%rax), %r8d
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_22: ## in Loop: Header=BB0_19 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_19 Depth=1
movl -656(%rbp), %eax
addl $1, %eax
movl %eax, -656(%rbp)
jmp LBB0_19
LBB0_24:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_26
## %bb.25:
xorl %eax, %eax
addq $656, %rsp ## imm = 0x290
popq %rbp
retq
LBB0_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " *** Structure Array 2 ***\n"
L_.str.1: ## @.str.1
.asciz "Enter data : "
L_.str.2: ## @.str.2
.asciz "%s %s %d"
L_.str.3: ## @.str.3
.asciz "\n\n *** Analyzing Data ***\n"
L_.str.4: ## @.str.4
.asciz "Max marking = %d points, %d students.\n"
L_.str.5: ## @.str.5
.asciz "%d. %s %s %d\n"
.subsections_via_symbols
| the_stack_data/40763348.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
mov w0, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/116177.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str wzr, [sp, #28]
str w0, [sp, #24]
str x1, [sp, #16]
mov w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
str x8, [sp]
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $1, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_3
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -32(%rbp)
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/39380.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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]
; kill: def $x8 killed $w8
mov x9, #54700
movk x9, #781, lsl #16
add x8, x8, x9
mov x9, #8426
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
strh w8, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #4
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
add w8, w8, w9
strh w8, [sp, #14]
b LBB0_3
LBB0_2:
ldrb w8, [sp, #15]
strb w8, [sp, #13]
ldrb w8, [sp, #14]
strb w8, [sp, #15]
ldrb w8, [sp, #13]
strb w8, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
add w8, w8, w9
strh w8, [sp, #14]
b LBB0_3
LBB0_3:
ldrh w8, [sp, #14]
; kill: def $x8 killed $w8
mov x9, #10974
movk x9, #4680, lsl #16
mul 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
.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, #48616
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 _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
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 _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
## kill: def $rax killed $eax
addq $51238316, %rax ## imm = 0x30DD5AC
addq $8426, %rax ## imm = 0x20EA
## kill: def $ax killed $ax killed $rax
movw %ax, -18(%rbp)
movzwl -18(%rbp), %eax
sarl $4, %eax
andl $1, %eax
cmpl $0, %eax
je LBB0_2
## %bb.1:
movzwl -18(%rbp), %ecx
movzwl -18(%rbp), %eax
addl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
jmp LBB0_3
LBB0_2:
movb -17(%rbp), %al
movb %al, -19(%rbp)
movb -18(%rbp), %al
movb %al, -17(%rbp)
movb -19(%rbp), %al
movb %al, -18(%rbp)
movzwl -18(%rbp), %ecx
movzwl -18(%rbp), %eax
addl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
LBB0_3:
movzwl -18(%rbp), %eax
## kill: def $rax killed $eax
imulq $306719454, %rax, %rax ## imm = 0x12482ADE
movw %ax, %cx
movq -16(%rbp), %rax
movw %cx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $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 $48616, %eax ## imm = 0xBDE8
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 _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
.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/298150.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, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
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, #8] ; 8-byte Folded Reload
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
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 "\033%s"
l_.str.1: ; @.str.1
.asciz "(0"
l_.str.2: ; @.str.2
.asciz "{o"
l_.str.3: ; @.str.3
.asciz "(B"
.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
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
leaq L_.str.3(%rip), %rsi
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 "\033%s"
L_.str.1: ## @.str.1
.asciz "(0"
L_.str.2: ## @.str.2
.asciz "{o"
L_.str.3: ## @.str.3
.asciz "(B"
.subsections_via_symbols
| the_stack_data/23574402.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-16]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, le
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_7
LBB0_2:
mov w8, #1
stur w8, [x29, #-20]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-8]
ldur w10, [x29, #-12]
subs w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
add w9, w8, w9
ldur w8, [x29, #-16]
mul w8, w8, w9
stur w8, [x29, #-16]
ldur w9, [x29, #-20]
ldur w8, [x29, #-16]
sdiv w8, w8, w9
stur w8, [x29, #-16]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_3
LBB0_6:
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "0"
l_.str.2: ; @.str.2
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $1, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_2:
movl $1, -20(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movl -8(%rbp), %ecx
subl -12(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -12(%rbp), %eax
addl -20(%rbp), %eax
imull -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %ecx
movl -16(%rbp), %eax
cltd
idivl %ecx
movl %eax, -16(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_6:
movl -16(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7:
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 "0"
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
| the_stack_data/825565.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
bl ___VERIFIER_error
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur wzr, [x29, #-16]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
mov w8, #4
stur w8, [x29, #-16]
mov w8, #-1
stur w8, [x29, #-20]
b LBB1_34
LBB1_4:
stur wzr, [x29, #-16]
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_6
LBB1_6:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldur w8, [x29, #-16]
add w8, w8, #2
stur w8, [x29, #-16]
b LBB1_8
LBB1_8:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldur w8, [x29, #-16]
add w8, w8, #3
stur w8, [x29, #-16]
b LBB1_10
LBB1_10:
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_11
LBB1_11:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_14
b LBB1_12
LBB1_12:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
mov w8, #4
stur w8, [x29, #-16]
mov w8, #-1
stur w8, [x29, #-20]
b LBB1_16
LBB1_15:
mov w8, #1
stur w8, [x29, #-16]
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-20]
b LBB1_16
LBB1_16:
b LBB1_33
LBB1_17:
ldur w8, [x29, #-16]
subs w8, w8, #3
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
ldur w9, [x29, #-4]
mov w8, #3
mul w8, w8, w9
stur w8, [x29, #-20]
b LBB1_32
LBB1_19:
ldur w8, [x29, #-16]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_22
b LBB1_20
LBB1_20:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21:
ldur w9, [x29, #-4]
mov w8, #2
mul w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-20]
b LBB1_31
LBB1_22:
ldur w8, [x29, #-16]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24:
ldur w9, [x29, #-4]
mov w8, #2
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-20]
b LBB1_30
LBB1_25:
ldur w8, [x29, #-16]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB1_28
b LBB1_26
LBB1_26:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27:
ldur w9, [x29, #-8]
mov w8, #2
mul w8, w8, w9
ldur w9, [x29, #-4]
add w8, w8, w9
stur w8, [x29, #-20]
b LBB1_29
LBB1_28:
mov w8, #-1
stur w8, [x29, #-20]
b LBB1_29
LBB1_29:
b LBB1_30
LBB1_30:
b LBB1_31
LBB1_31:
b LBB1_32
LBB1_32:
b LBB1_33
LBB1_33:
b LBB1_34
LBB1_34:
ldur w8, [x29, #-20]
stur w8, [x29, #-24] ; 4-byte Folded Spill
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_37
b LBB1_35
LBB1_35:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_37
b LBB1_36
LBB1_36:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_38
b LBB1_37
LBB1_37:
mov w8, #-1
stur w8, [x29, #-28] ; 4-byte Folded Spill
b LBB1_76
LBB1_38:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_47
b LBB1_39
LBB1_39:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_47
b LBB1_40
LBB1_40:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_47
b LBB1_41
LBB1_41:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_44
b LBB1_42
LBB1_42:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_44
b LBB1_43
LBB1_43:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44:
mov w8, #-1
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB1_46
LBB1_45:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB1_46
LBB1_46:
ldr w8, [sp, #32] ; 4-byte Folded Reload
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB1_75
LBB1_47:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_49
b LBB1_48
LBB1_48:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_51
b LBB1_49
LBB1_49:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_52
b LBB1_50
LBB1_50:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_52
b LBB1_51
LBB1_51:
ldur w9, [x29, #-4]
mov w8, #3
mul w8, w8, w9
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB1_74
LBB1_52:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_57
b LBB1_53
LBB1_53:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_57
b LBB1_54
LBB1_54:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_57
b LBB1_55
LBB1_55:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_57
b LBB1_56
LBB1_56:
ldur w9, [x29, #-4]
mov w8, #2
mul w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB1_73
LBB1_57:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_62
b LBB1_58
LBB1_58:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_62
b LBB1_59
LBB1_59:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_62
b LBB1_60
LBB1_60:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_62
b LBB1_61
LBB1_61:
ldur w9, [x29, #-4]
mov w8, #2
mul w8, w8, w9
ldur w9, [x29, #-8]
add w8, w8, w9
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB1_72
LBB1_62:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_65
b LBB1_63
LBB1_63:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_65
b LBB1_64
LBB1_64:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_68
b LBB1_65
LBB1_65:
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_70
b LBB1_66
LBB1_66:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_70
b LBB1_67
LBB1_67:
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_70
b LBB1_68
LBB1_68:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_70
b LBB1_69
LBB1_69:
ldur w9, [x29, #-8]
mov w8, #2
mul w8, w8, w9
ldur w9, [x29, #-4]
add w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_71
LBB1_70:
mov w8, #-1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_71
LBB1_71:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB1_72
LBB1_72:
ldr w8, [sp, #16] ; 4-byte Folded Reload
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB1_73
LBB1_73:
ldr w8, [sp, #20] ; 4-byte Folded Reload
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB1_74
LBB1_74:
ldr w8, [sp, #24] ; 4-byte Folded Reload
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB1_75
LBB1_75:
ldr w8, [sp, #28] ; 4-byte Folded Reload
stur w8, [x29, #-28] ; 4-byte Folded Spill
b LBB1_76
LBB1_76:
ldur w8, [x29, #-24] ; 4-byte Folded Reload
ldur w9, [x29, #-28] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
bl ___VERIFIER_assert
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_nondet_int
stur w0, [x29, #-4] ; 4-byte Folded Spill
bl ___VERIFIER_nondet_int
str w0, [sp, #8] ; 4-byte Folded Spill
bl ___VERIFIER_nondet_int
ldr w1, [sp, #8] ; 4-byte Folded Reload
mov x2, x0
ldur w0, [x29, #-4] ; 4-byte Folded Reload
bl _foo
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jne LBB0_3
## %bb.1:
jmp LBB0_2
LBB0_2:
movb $0, %al
callq ___VERIFIER_error
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl $0, -16(%rbp)
cmpl $0, -4(%rbp)
je LBB1_3
## %bb.1:
cmpl $0, -8(%rbp)
je LBB1_3
## %bb.2:
cmpl $0, -12(%rbp)
jne LBB1_4
LBB1_3:
movl $4, -16(%rbp)
movl $-1, -20(%rbp)
jmp LBB1_34
LBB1_4:
movl $0, -16(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB1_6
## %bb.5:
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB1_6:
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_8
## %bb.7:
movl -16(%rbp), %eax
addl $2, %eax
movl %eax, -16(%rbp)
LBB1_8:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_10
## %bb.9:
movl -16(%rbp), %eax
addl $3, %eax
movl %eax, -16(%rbp)
LBB1_10:
cmpl $0, -16(%rbp)
jne LBB1_17
## %bb.11:
movl -4(%rbp), %eax
addl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB1_14
## %bb.12:
movl -8(%rbp), %eax
addl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jle LBB1_14
## %bb.13:
movl -4(%rbp), %eax
addl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_15
LBB1_14:
movl $4, -16(%rbp)
movl $-1, -20(%rbp)
jmp LBB1_16
LBB1_15:
movl $1, -16(%rbp)
movl -4(%rbp), %eax
addl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -20(%rbp)
LBB1_16:
jmp LBB1_33
LBB1_17:
cmpl $3, -16(%rbp)
jle LBB1_19
## %bb.18:
imull $3, -4(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB1_32
LBB1_19:
cmpl $1, -16(%rbp)
jne LBB1_22
## %bb.20:
movl -4(%rbp), %eax
addl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB1_22
## %bb.21:
movl -4(%rbp), %eax
shll $1, %eax
addl -12(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB1_31
LBB1_22:
cmpl $2, -16(%rbp)
jne LBB1_25
## %bb.23:
movl -4(%rbp), %eax
addl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB1_25
## %bb.24:
movl -4(%rbp), %eax
shll $1, %eax
addl -8(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB1_30
LBB1_25:
cmpl $3, -16(%rbp)
jne LBB1_28
## %bb.26:
movl -8(%rbp), %eax
addl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jle LBB1_28
## %bb.27:
movl -8(%rbp), %eax
shll $1, %eax
addl -4(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB1_29
LBB1_28:
movl $-1, -20(%rbp)
LBB1_29:
jmp LBB1_30
LBB1_30:
jmp LBB1_31
LBB1_31:
jmp LBB1_32
LBB1_32:
jmp LBB1_33
LBB1_33:
jmp LBB1_34
LBB1_34:
movl -20(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
cmpl $0, -4(%rbp)
je LBB1_37
## %bb.35:
cmpl $0, -8(%rbp)
je LBB1_37
## %bb.36:
cmpl $0, -12(%rbp)
jne LBB1_38
LBB1_37:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB1_76
LBB1_38:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
je LBB1_47
## %bb.39:
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB1_47
## %bb.40:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB1_47
## %bb.41:
movl -4(%rbp), %eax
addl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB1_44
## %bb.42:
movl -8(%rbp), %eax
addl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jle LBB1_44
## %bb.43:
movl -4(%rbp), %eax
addl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_45
LBB1_44:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl %eax, -32(%rbp) ## 4-byte Spill
jmp LBB1_46
LBB1_45:
movl -4(%rbp), %eax
addl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
LBB1_46:
movl -32(%rbp), %eax ## 4-byte Reload
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB1_75
LBB1_47:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB1_49
## %bb.48:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB1_51
LBB1_49:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_52
## %bb.50:
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_52
LBB1_51:
imull $3, -4(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
jmp LBB1_74
LBB1_52:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB1_57
## %bb.53:
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB1_57
## %bb.54:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB1_57
## %bb.55:
movl -4(%rbp), %eax
addl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB1_57
## %bb.56:
movl -4(%rbp), %eax
shll $1, %eax
addl -12(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB1_73
LBB1_57:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
je LBB1_62
## %bb.58:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB1_62
## %bb.59:
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_62
## %bb.60:
movl -4(%rbp), %eax
addl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB1_62
## %bb.61:
movl -4(%rbp), %eax
shll $1, %eax
addl -8(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB1_72
LBB1_62:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
je LBB1_65
## %bb.63:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_65
## %bb.64:
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_68
LBB1_65:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB1_70
## %bb.66:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB1_70
## %bb.67:
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB1_70
LBB1_68:
movl -8(%rbp), %eax
addl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jle LBB1_70
## %bb.69:
movl -8(%rbp), %eax
shll $1, %eax
addl -4(%rbp), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB1_71
LBB1_70:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB1_71
LBB1_71:
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp) ## 4-byte Spill
LBB1_72:
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, -44(%rbp) ## 4-byte Spill
LBB1_73:
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, -40(%rbp) ## 4-byte Spill
LBB1_74:
movl -40(%rbp), %eax ## 4-byte Reload
movl %eax, -36(%rbp) ## 4-byte Spill
LBB1_75:
movl -36(%rbp), %eax ## 4-byte Reload
movl %eax, -28(%rbp) ## 4-byte Spill
LBB1_76:
movl -24(%rbp), %eax ## 4-byte Reload
movl -28(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
sete %al
andb $1, %al
movzbl %al, %edi
callq ___VERIFIER_assert
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -8(%rbp) ## 4-byte Spill
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -4(%rbp) ## 4-byte Spill
movb $0, %al
callq ___VERIFIER_nondet_int
movl -8(%rbp), %edi ## 4-byte Reload
movl -4(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
callq _foo
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/184517341.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HariMain ; -- Begin function HariMain
.p2align 2
_HariMain: ; @HariMain
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov w0, #97
bl _api_putchar
b LBB0_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HariMain ## -- Begin function HariMain
.p2align 4, 0x90
_HariMain: ## @HariMain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
jmp LBB0_1
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $97, %edi
callq _api_putchar
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/31387036.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_malloc ; -- Begin function my_malloc
.p2align 2
_my_malloc: ; @my_malloc
.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, _mutex@PAGE
add x0, x0, _mutex@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _lock
ldur x0, [x29, #-8]
bl _malloc
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
bl _unlock
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _my_free ; -- Begin function my_free
.p2align 2
_my_free: ; @my_free
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x0, _mutex@PAGE
add x0, x0, _mutex@PAGEOFF
str x0, [sp] ; 8-byte Folded Spill
bl _lock
ldr x0, [sp, #8]
bl _free
ldr x0, [sp] ; 8-byte Folded Reload
bl _unlock
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _mutex ; @mutex
.zerofill __DATA,__common,_mutex,8,3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_malloc ## -- Begin function my_malloc
.p2align 4, 0x90
_my_malloc: ## @my_malloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq _mutex(%rip), %rdi
callq _lock
movq -8(%rbp), %rdi
callq _malloc
movq %rax, -16(%rbp)
leaq _mutex(%rip), %rdi
callq _unlock
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _my_free ## -- Begin function my_free
.p2align 4, 0x90
_my_free: ## @my_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq _mutex(%rip), %rdi
callq _lock
movq -8(%rbp), %rdi
callq _free
leaq _mutex(%rip), %rdi
callq _unlock
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mutex ## @mutex
.zerofill __DATA,__common,_mutex,8,3
.subsections_via_symbols
| the_stack_data/349269.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
add x8, sp, #24
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr d0, [sp, #24]
fcmp d0, #0.0
cset w8, ne
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_27
LBB0_3:
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldr d0, [sp, #24]
fcmp d0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_26
LBB0_6:
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr d0, [sp, #24]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_25
LBB0_9:
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldr d0, [sp, #24]
fcmp d0, #0.0
cset w8, pl
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_24
LBB0_12:
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, pl
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13:
ldr d0, [sp, #24]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_23
LBB0_15:
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, pl
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16:
ldr d0, [sp, #24]
fcmp d0, #0.0
cset w8, pl
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_22
LBB0_18:
ldur d0, [x29, #-16]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19:
ldr d0, [sp, #24]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
b LBB0_23
LBB0_23:
b LBB0_24
LBB0_24:
b LBB0_25
LBB0_25:
b LBB0_26
LBB0_26:
b LBB0_27
LBB0_27:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lf %lf"
l_.str.1: ; @.str.1
.asciz "Origem\n"
l_.str.2: ; @.str.2
.asciz "Eixo Y\n"
l_.str.3: ; @.str.3
.asciz "Eixo X\n"
l_.str.4: ; @.str.4
.asciz "Q4\n"
l_.str.5: ; @.str.5
.asciz "Q2\n"
l_.str.6: ; @.str.6
.asciz "Q3\n"
l_.str.7: ; @.str.7
.asciz "Q1\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -24(%rbp), %rdx
movb $0, %al
callq _scanf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_3
jp LBB0_3
## %bb.1:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_3
jp LBB0_3
## %bb.2:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_27
LBB0_3:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_6
jp LBB0_6
## %bb.4:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_5
jp LBB0_5
jmp LBB0_6
LBB0_5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_26
LBB0_6:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_7
jp LBB0_7
jmp LBB0_9
LBB0_7:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_9
jp LBB0_9
## %bb.8:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_25
LBB0_9:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_12
## %bb.10:
xorps %xmm0, %xmm0
ucomisd -24(%rbp), %xmm0
jbe LBB0_12
## %bb.11:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_24
LBB0_12:
xorps %xmm0, %xmm0
ucomisd -16(%rbp), %xmm0
jbe LBB0_15
## %bb.13:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_15
## %bb.14:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_23
LBB0_15:
xorps %xmm0, %xmm0
ucomisd -16(%rbp), %xmm0
jbe LBB0_18
## %bb.16:
xorps %xmm0, %xmm0
ucomisd -24(%rbp), %xmm0
jbe LBB0_18
## %bb.17:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_22
LBB0_18:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_21
## %bb.19:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_21
## %bb.20:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_21:
jmp LBB0_22
LBB0_22:
jmp LBB0_23
LBB0_23:
jmp LBB0_24
LBB0_24:
jmp LBB0_25
LBB0_25:
jmp LBB0_26
LBB0_26:
jmp LBB0_27
LBB0_27:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lf %lf"
L_.str.1: ## @.str.1
.asciz "Origem\n"
L_.str.2: ## @.str.2
.asciz "Eixo Y\n"
L_.str.3: ## @.str.3
.asciz "Eixo X\n"
L_.str.4: ## @.str.4
.asciz "Q4\n"
L_.str.5: ## @.str.5
.asciz "Q2\n"
L_.str.6: ## @.str.6
.asciz "Q3\n"
L_.str.7: ## @.str.7
.asciz "Q1\n"
.subsections_via_symbols
| the_stack_data/178266361.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 0x40746ccccccccccd ; double 326.80000000000001
lCPI0_1:
.quad 0x4030666666666666 ; double 16.399999999999999
.section __TEXT,__text,regular,pure_instructions
.globl _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]
stur wzr, [x29, #-40]
stur w0, [x29, #-44]
stur x1, [x29, #-56]
str wzr, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #2
bl _open
stur w0, [x29, #-60]
ldur w8, [x29, #-60]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
mov x9, sp
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
bl ___stack_chk_fail
LBB0_3:
mov w0, #-1
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_4:
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-60]
sub x1, x29, #36
mov x2, #28
bl _read
mov x8, x0
str w8, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-36]
stur w8, [x29, #-64]
ldur w8, [x29, #-32]
stur w8, [x29, #-68]
ldur w8, [x29, #-28]
str w8, [sp, #72]
ldur w8, [x29, #-24]
str w8, [sp, #68]
ldur w8, [x29, #-20]
str w8, [sp, #64]
ldur w8, [x29, #-16]
str w8, [sp, #60]
ldur w8, [x29, #-12]
str w8, [sp, #56]
ldur s0, [x29, #-64]
scvtf s0, s0
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #52]
ldur s0, [x29, #-68]
scvtf s0, s0
fcvt d0, s0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #48]
ldr s0, [sp, #72]
scvtf s0, s0
fcvt d0, s0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #44]
ldr s0, [sp, #68]
scvtf s0, s0
movi.2s v1, #69, lsl #24
; kill: def $s1 killed $s1 killed $d1
fdiv s0, s0, s1
str s0, [sp, #40]
ldr s0, [sp, #64]
scvtf s0, s0
fdiv s0, s0, s1
str s0, [sp, #36]
ldr s0, [sp, #60]
scvtf s0, s0
fdiv s0, s0, s1
str s0, [sp, #32]
ldr s0, [sp, #56]
scvtf s0, s0
fmov s1, #25.00000000
fsub s0, s0, s1
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
fmov d1, #25.00000000
fadd d0, d0, d1
fcvt s0, d0
str s0, [sp, #28]
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-64]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-68]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #72]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w8, [sp, #68]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #64]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr w9, [sp, #56]
; 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
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr s0, [sp, #52]
fcvt d2, s0
ldr s0, [sp, #48]
fcvt d1, s0
ldr s0, [sp, #44]
fcvt d0, s0
mov x8, sp
str d2, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr s0, [sp, #40]
fcvt d2, s0
ldr s0, [sp, #36]
fcvt d1, s0
ldr s0, [sp, #32]
fcvt d0, s0
mov x8, sp
str d2, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr s0, [sp, #28]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
mov w0, #1
bl _sleep
b LBB0_5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/dev/icm20608"
l_.str.1: ; @.str.1
.asciz "can't open file %s\r\n"
l_.str.2: ; @.str.2
.asciz "read size:%d\r\n"
l_.str.3: ; @.str.3
.asciz "\r\n\345\216\237\345\247\213\345\200\274:\r\n"
l_.str.4: ; @.str.4
.asciz "gx = %d, gy = %d, gz = %d\r\n"
l_.str.5: ; @.str.5
.asciz "ax = %d, ay = %d, az = %d\r\n"
l_.str.6: ; @.str.6
.asciz "temp = %d\r\n"
l_.str.7: ; @.str.7
.asciz "\345\256\236\351\231\205\345\200\274:"
l_.str.8: ; @.str.8
.asciz "act gx = %.2f\302\260/S, act gy = %.2f\302\260/S, act gz = %.2f\302\260/S\r\n"
l_.str.9: ; @.str.9
.asciz "act ax = %.2fg, act ay = %.2fg, act az = %.2fg\r\n"
l_.str.10: ; @.str.10
.asciz "act temp = %.2f\302\260C\r\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 0x4039000000000000 ## double 25
LCPI0_1:
.quad 0x40746ccccccccccd ## double 326.80000000000001
LCPI0_4:
.quad 0x4030666666666666 ## double 16.399999999999999
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_2:
.long 0x41c80000 ## float 25
LCPI0_3:
.long 0x45000000 ## float 2048
.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 $128, %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)
movl $0, -128(%rbp)
leaq L_.str(%rip), %rdi
movl $2, %esi
movb $0, %al
callq _open
movl %eax, -68(%rbp)
cmpl $0, -68(%rbp)
jge LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.2:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
addq $128, %rsp
popq %rbp
retq
LBB0_3:
jmp LBB0_4
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -68(%rbp), %edi
leaq -48(%rbp), %rsi
movl $28, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -128(%rbp)
cmpl $0, -128(%rbp)
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -48(%rbp), %eax
movl %eax, -72(%rbp)
movl -44(%rbp), %eax
movl %eax, -76(%rbp)
movl -40(%rbp), %eax
movl %eax, -80(%rbp)
movl -36(%rbp), %eax
movl %eax, -84(%rbp)
movl -32(%rbp), %eax
movl %eax, -88(%rbp)
movl -28(%rbp), %eax
movl %eax, -92(%rbp)
movl -24(%rbp), %eax
movl %eax, -96(%rbp)
cvtsi2ssl -72(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -100(%rbp)
cvtsi2ssl -76(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -104(%rbp)
cvtsi2ssl -80(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -108(%rbp)
cvtsi2ssl -84(%rbp), %xmm0
movss LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -112(%rbp)
cvtsi2ssl -88(%rbp), %xmm0
movss LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -116(%rbp)
cvtsi2ssl -92(%rbp), %xmm0
movss LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -120(%rbp)
cvtsi2ssl -96(%rbp), %xmm0
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -124(%rbp)
movl -128(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -72(%rbp), %esi
movl -76(%rbp), %edx
movl -80(%rbp), %ecx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -84(%rbp), %esi
movl -88(%rbp), %edx
movl -92(%rbp), %ecx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -96(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -104(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movss -108(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
leaq L_.str.8(%rip), %rdi
movb $3, %al
callq _printf
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -116(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movss -120(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
leaq L_.str.9(%rip), %rdi
movb $3, %al
callq _printf
movss -124(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.10(%rip), %rdi
movb $1, %al
callq _printf
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movl $1, %edi
callq _sleep
jmp LBB0_4
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/dev/icm20608"
L_.str.1: ## @.str.1
.asciz "can't open file %s\r\n"
L_.str.2: ## @.str.2
.asciz "read size:%d\r\n"
L_.str.3: ## @.str.3
.asciz "\r\n\345\216\237\345\247\213\345\200\274:\r\n"
L_.str.4: ## @.str.4
.asciz "gx = %d, gy = %d, gz = %d\r\n"
L_.str.5: ## @.str.5
.asciz "ax = %d, ay = %d, az = %d\r\n"
L_.str.6: ## @.str.6
.asciz "temp = %d\r\n"
L_.str.7: ## @.str.7
.asciz "\345\256\236\351\231\205\345\200\274:"
L_.str.8: ## @.str.8
.asciz "act gx = %.2f\302\260/S, act gy = %.2f\302\260/S, act gz = %.2f\302\260/S\r\n"
L_.str.9: ## @.str.9
.asciz "act ax = %.2fg, act ay = %.2fg, act az = %.2fg\r\n"
L_.str.10: ## @.str.10
.asciz "act temp = %.2f\302\260C\r\n"
.subsections_via_symbols
| the_stack_data/38008.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/27144.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, #336
.cfi_def_cfa_offset 336
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
mov w0, #0
str wzr, [sp, #36]
str wzr, [sp, #24]
add x1, sp, #40
mov x2, #1
bl _read
mov x8, x0
str w8, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
subs w8, w8, #256
cset w8, ge
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
subs w9, w8, #1
add x8, sp, #40
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #10
cset w8, eq
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, gt
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #24]
add x8, sp, #40
add x1, x8, x9
mov w0, #0
mov x2, #1
bl _read
mov x8, x0
str w8, [sp, #20]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldrsw x8, [sp, #24]
lsr x2, x8, #0
mov w0, #1
add x1, sp, #40
str x1, [sp, #8] ; 8-byte Folded Spill
bl _write
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov w0, #0
str wzr, [sp, #24]
mov x2, #1
bl _read
mov x8, x0
str w8, [sp, #20]
b LBB0_1
LBB0_9:
ldr w8, [sp, #36]
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_11
b LBB0_10
LBB0_10:
bl ___stack_chk_fail
LBB0_11:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #336
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 $304, %rsp ## imm = 0x130
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -276(%rbp)
movl $0, -288(%rbp)
leaq -272(%rbp), %rsi
xorl %edi, %edi
movl $1, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -292(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $0, -292(%rbp)
jle LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -288(%rbp), %eax
addl $1, %eax
movl %eax, -288(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $256, -288(%rbp) ## imm = 0x100
movb %al, -293(%rbp) ## 1-byte Spill
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -288(%rbp), %eax
subl $1, %eax
cltq
movsbl -272(%rbp,%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $10, %ecx
movb %al, -293(%rbp) ## 1-byte Spill
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
cmpl $0, -292(%rbp)
setg %al
movb %al, -293(%rbp) ## 1-byte Spill
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movb -293(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_7
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movslq -288(%rbp), %rax
leaq -272(%rbp), %rsi
addq %rax, %rsi
xorl %edi, %edi
movl $1, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -292(%rbp)
movl -288(%rbp), %eax
addl $1, %eax
movl %eax, -288(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
leaq -272(%rbp), %rsi
movslq -288(%rbp), %rdx
shlq $0, %rdx
movl $1, %edi
callq _write
movl $0, -288(%rbp)
leaq -272(%rbp), %rsi
xorl %edi, %edi
movl $1, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -292(%rbp)
jmp LBB0_1
LBB0_9:
movl -276(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_11
## %bb.10:
movl -300(%rbp), %eax ## 4-byte Reload
addq $304, %rsp ## imm = 0x130
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/500813.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _atoi
str w0, [sp, #8] ; 4-byte Folded Spill
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _atoi
mov x8, x0
ldr w0, [sp, #8] ; 4-byte Folded Reload
mul w8, w0, w8
str w8, [sp, #12]
b LBB0_2
LBB0_2:
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
jle LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -24(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, %ecx
movl -24(%rbp), %eax ## 4-byte Reload
imull %ecx, %eax
movl %eax, -20(%rbp)
LBB0_2:
movl -20(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/111078849.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_fft_d2d0_z2 ; -- Begin function scilab_rt_fft_d2d0_z2
.p2align 2
_scilab_rt_fft_d2d0_z2: ; @scilab_rt_fft_d2d0_z2
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str w0, [sp, #76]
str w1, [sp, #72]
str x2, [sp, #64]
str d0, [sp, #56]
str w3, [sp, #52]
str w4, [sp, #48]
str x5, [sp, #40]
ldr w8, [sp, #72]
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w8, [sp, #48]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
ldr d0, [sp, #56]
str d0, [sp, #24]
str wzr, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #36]
ldr w9, [sp, #76]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #32]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
ldr w9, [sp, #72]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #64]
ldrsw x9, [sp, #36]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #32]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #24]
fadd d0, d0, d1
str d0, [sp, #24]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_1
LBB0_8:
str wzr, [sp, #36]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #36]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #32]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr d1, [sp, #24]
ldr d0, [sp, #24]
movi d2, #0000000000000000
fmul d2, d0, d2
fmov d3, #1.00000000
fmul d0, d0, d3
fadd d1, d1, d2
ldr x8, [sp, #40]
ldrsw x9, [sp, #36]
mul x9, x9, x10
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #32]
add x8, x8, x9, lsl #4
str d1, [x8]
str d0, [x8, #8]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_9
LBB0_16:
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function scilab_rt_fft_d2d0_z2
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _scilab_rt_fft_d2d0_z2
.p2align 4, 0x90
_scilab_rt_fft_d2d0_z2: ## @scilab_rt_fft_d2d0_z2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movsd %xmm0, -24(%rbp)
movl %ecx, -28(%rbp)
movl %r8d, -32(%rbp)
movq %r9, -40(%rbp)
movl -8(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movl $0, -44(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -44(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -48(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -72(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -56(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_8:
movl $0, -44(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -48(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -64(%rbp), %rdx ## 8-byte Reload
movsd -56(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm3, %xmm3
movaps %xmm0, %xmm2
mulsd %xmm3, %xmm2
movsd LCPI0_0(%rip), %xmm3 ## xmm3 = mem[0],zero
mulsd %xmm3, %xmm0
addsd %xmm2, %xmm1
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
imulq %rdx, %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm1, (%rax)
movsd %xmm0, 8(%rax)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_9
LBB0_16:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/88906.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bn_add_words ; -- Begin function bn_add_words
.p2align 2
_bn_add_words: ; @bn_add_words
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str xzr, [sp, #24]
ldr x8, [sp, #40]
ldr x8, [x8]
str x8, [sp, #8]
ldr x9, [sp, #24]
ldr x8, [sp, #8]
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x8, x8, #0x1
str x8, [sp, #24]
ldr x8, [sp, #8]
ldr x9, [sp, #32]
ldr x9, [x9]
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x9, x8, #0x1
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #16]
ldr x9, [sp, #40]
str x8, [x9]
ldr x8, [sp, #40]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x9, [sp, #24]
ldr x8, [sp, #8]
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x8, x8, #0x1
str x8, [sp, #24]
ldr x8, [sp, #8]
ldr x9, [sp, #32]
ldr x9, [x9, #8]
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x9, x8, #0x1
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #16]
ldr x9, [sp, #40]
str x8, [x9, #8]
ldr x8, [sp, #40]
ldr x8, [x8, #16]
str x8, [sp, #8]
ldr x9, [sp, #24]
ldr x8, [sp, #8]
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x8, x8, #0x1
str x8, [sp, #24]
ldr x8, [sp, #8]
ldr x9, [sp, #32]
ldr x9, [x9, #16]
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x9, x8, #0x1
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #16]
ldr x9, [sp, #40]
str x8, [x9, #16]
ldr x8, [sp, #40]
ldr x8, [x8, #24]
str x8, [sp, #8]
ldr x9, [sp, #24]
ldr x8, [sp, #8]
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x8, x8, #0x1
str x8, [sp, #24]
ldr x8, [sp, #8]
ldr x9, [sp, #32]
ldr x9, [x9, #24]
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x9, x8, #0x1
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #16]
ldr x9, [sp, #40]
str x8, [x9, #24]
ldr x8, [sp, #40]
ldr x8, [x8, #32]
str x8, [sp, #8]
ldr x9, [sp, #24]
ldr x8, [sp, #8]
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x8, x8, #0x1
str x8, [sp, #24]
ldr x8, [sp, #8]
add x8, x8, #0
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, lo
; implicit-def: $x8
mov x8, x9
and x9, x8, #0x1
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #16]
ldr x9, [sp, #40]
str x8, [x9, #32]
ldr x0, [sp, #24]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _bn_shift1_words ; -- Begin function bn_shift1_words
.p2align 2
_bn_shift1_words: ; @bn_shift1_words
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [x8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
lsl x8, x8, #63
orr x8, x8, x9, lsr #1
ldr x9, [sp, #8]
str x8, [x9]
ldr x8, [sp, #8]
ldr x9, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #16]
lsl x8, x8, #63
orr x8, x8, x9, lsr #1
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x9, [x8, #16]
ldr x8, [sp, #8]
ldr x8, [x8, #24]
lsl x8, x8, #63
orr x8, x8, x9, lsr #1
ldr x9, [sp, #8]
str x8, [x9, #16]
ldr x8, [sp, #8]
ldr x9, [x8, #24]
ldr x8, [sp, #8]
ldr x8, [x8, #32]
lsl x8, x8, #63
orr x8, x8, x9, lsr #1
ldr x9, [sp, #8]
str x8, [x9, #24]
ldr x9, [sp, #8]
ldr x8, [x9, #32]
lsr x8, x8, #1
str x8, [x9, #32]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _bn_shift ; -- Begin function bn_shift
.p2align 2
_bn_shift: ; @bn_shift
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
strb w1, [sp, #7]
ldrb w8, [sp, #7]
subs w8, w8, #64
cset w8, ge
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #8]
ldr x8, [x8]
ldrb w9, [sp, #7]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldr x9, [sp, #8]
ldr x9, [x9, #8]
ldrb w11, [sp, #7]
mov w10, #64
subs w11, w10, w11
; kill: def $x11 killed $w11
lsl x9, x9, x11
orr x8, x8, x9
ldr x9, [sp, #8]
str x8, [x9]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldrb w9, [sp, #7]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldr x9, [sp, #8]
ldr x9, [x9, #16]
ldrb w11, [sp, #7]
subs w11, w10, w11
; kill: def $x11 killed $w11
lsl x9, x9, x11
orr x8, x8, x9
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #16]
ldrb w9, [sp, #7]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldr x9, [sp, #8]
ldr x9, [x9, #24]
ldrb w11, [sp, #7]
subs w10, w10, w11
; kill: def $x10 killed $w10
lsl x9, x9, x10
orr x8, x8, x9
ldr x9, [sp, #8]
str x8, [x9, #16]
ldrb w8, [sp, #7]
mov x10, x8
ldr x9, [sp, #8]
ldr x8, [x9, #24]
lsr x8, x8, x10
str x8, [x9, #24]
b LBB2_2
LBB2_2:
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 _bn_add_words ## -- Begin function bn_add_words
.p2align 4, 0x90
_bn_add_words: ## @bn_add_words
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq $0, -24(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -24(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
addq (%rcx), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
addq -24(%rbp), %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -24(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
addq 8(%rcx), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
addq -24(%rbp), %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -24(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
addq 16(%rcx), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
addq -24(%rbp), %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -24(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
addq 24(%rcx), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
addq -24(%rbp), %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 24(%rax)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -24(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
addq $0, %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
setb %al
andb $1, %al
movzbl %al, %eax
cltq
addq -24(%rbp), %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 32(%rax)
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bn_shift1_words ## -- Begin function bn_shift1_words
.p2align 4, 0x90
_bn_shift1_words: ## @bn_shift1_words
.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), %rcx
shrq $1, %rcx
movq -8(%rbp), %rax
movq 8(%rax), %rax
shlq $63, %rax
orq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rcx
shrq $1, %rcx
movq -8(%rbp), %rax
movq 16(%rax), %rax
shlq $63, %rax
orq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rcx
shrq $1, %rcx
movq -8(%rbp), %rax
movq 24(%rax), %rax
shlq $63, %rax
orq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 24(%rax), %rcx
shrq $1, %rcx
movq -8(%rbp), %rax
movq 32(%rax), %rax
shlq $63, %rax
orq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 24(%rax)
movq -8(%rbp), %rax
movq 32(%rax), %rcx
shrq $1, %rcx
movq %rcx, 32(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bn_shift ## -- Begin function bn_shift
.p2align 4, 0x90
_bn_shift: ## @bn_shift
.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)
movzbl -9(%rbp), %eax
cmpl $64, %eax
jge LBB2_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rax
movzbl -9(%rbp), %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzbl -9(%rbp), %edx
movl $64, %ecx
subl %edx, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rax
movq -40(%rbp), %rcx ## 8-byte Reload
orq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movzbl -9(%rbp), %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq 16(%rax), %rax
movzbl -9(%rbp), %edx
movl $64, %ecx
subl %edx, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rax
movq -32(%rbp), %rcx ## 8-byte Reload
orq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movzbl -9(%rbp), %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq 24(%rax), %rax
movzbl -9(%rbp), %edx
movl $64, %ecx
subl %edx, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rax
movq -24(%rbp), %rcx ## 8-byte Reload
orq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movzbl -9(%rbp), %ecx
movq -8(%rbp), %rax
movq 24(%rax), %rdx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rdx
movq %rdx, %rcx
movq %rcx, 24(%rax)
LBB2_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/67325400.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/1194877.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memset ; -- Begin function memset
.p2align 2
_memset: ; @memset
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str w1, [sp, #36]
str x2, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #24]
add x8, x8, x9
str x8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
strb w8, [x9]
b LBB0_1
LBB0_4:
ldr x0, [sp, #40]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _memcpy ; -- Begin function memcpy
.p2align 2
_memcpy: ; @memcpy
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str x2, [sp, #24]
ldr x8, [sp, #32]
str x8, [sp, #16]
ldr x8, [sp, #40]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #24]
add x8, x8, x9
str x8, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr x9, [sp]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
b LBB1_1
LBB1_4:
ldr x0, [sp, #8]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _memchr ; -- Begin function memchr
.p2align 2
_memchr: ; @memchr
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
str x2, [sp, #16]
ldr x8, [sp, #32]
str x8, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x9, x8, #1
str x9, [sp, #16]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB2_5
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldr x8, [sp, #8]
str x8, [sp, #40]
b LBB2_6
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB2_1
LBB2_5:
; kill: def $x8 killed $xzr
str xzr, [sp, #40]
b LBB2_6
LBB2_6:
ldr x0, [sp, #40]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _strlen ; -- Begin function strlen
.p2align 2
_strlen: ; @strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str xzr, [sp]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB3_1
LBB3_4:
ldr x0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _strcmp ; -- Begin function strcmp
.p2align 2
_strcmp: ; @strcmp
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [sp, #8]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
strb w8, [sp, #7]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrb w8, [x8]
strb w8, [sp, #6]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
mov w8, #1
str w8, [sp, #28]
b LBB4_11
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldrsb w8, [sp, #7]
ldrsb w9, [sp, #6]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5:
ldrsb w8, [sp, #7]
ldrsb w9, [sp, #6]
subs w8, w8, w9
str w8, [sp, #28]
b LBB4_11
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_8:
ldr x8, [sp, #8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9:
mov w8, #-1
str w8, [sp, #28]
b LBB4_11
LBB4_10:
str wzr, [sp, #28]
b LBB4_11
LBB4_11:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _isupper ; -- Begin function isupper
.p2align 2
_isupper: ; @isupper
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #65
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr w8, [sp, #12]
subs w8, w8, #90
cset w8, le
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_2
LBB5_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _islower ; -- Begin function islower
.p2align 2
_islower: ; @islower
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #97
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr w8, [sp, #12]
subs w8, w8, #122
cset w8, le
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB6_2
LBB6_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _toupper ; -- Begin function toupper
.p2align 2
_toupper: ; @toupper
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _islower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldur w8, [x29, #-4]
subs w8, w8, #32
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB7_3
LBB7_2:
ldur w8, [x29, #-4]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB7_3
LBB7_3:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _tolower ; -- Begin function tolower
.p2align 2
_tolower: ; @tolower
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _isupper
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldur w8, [x29, #-4]
add w8, w8, #32
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB8_3
LBB8_2:
ldur w8, [x29, #-4]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB8_3
LBB8_3:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _strcasecmp ; -- Begin function strcasecmp
.p2align 2
_strcasecmp: ; @strcasecmp
.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, #24]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
stur wzr, [x29, #-4]
b LBB9_8
LBB9_2:
b LBB9_3
LBB9_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrb w0, [x8]
bl _tolower
str w0, [sp] ; 4-byte Folded Spill
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrb w0, [x8]
bl _tolower
mov x8, x0
ldr w0, [sp] ; 4-byte Folded Reload
subs w8, w0, w8
str w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_7
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_3 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_6
b LBB9_5
LBB9_5:
b LBB9_7
LBB9_6: ; in Loop: Header=BB9_3 Depth=1
b LBB9_3
LBB9_7:
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b LBB9_8
LBB9_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _strncasecmp ; -- Begin function strncasecmp
.p2align 2
_strncasecmp: ; @strncasecmp
.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]
ldur x8, [x29, #-16]
str x8, [sp, #24]
ldur x8, [x29, #-24]
str x8, [sp, #16]
str wzr, [sp, #12]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
stur wzr, [x29, #-4]
b LBB10_10
LBB10_2:
b LBB10_3
LBB10_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
subs x9, x8, #1
str x9, [sp, #32]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_3 Depth=1
ldr x8, [sp, #24]
ldrb w0, [x8]
bl _tolower
str w0, [sp, #4] ; 4-byte Folded Spill
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w0, [x8]
bl _tolower
mov x8, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
subs w8, w0, w8
str w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_3 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB10_9
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_3 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7:
b LBB10_9
LBB10_8: ; in Loop: Header=BB10_3 Depth=1
b LBB10_3
LBB10_9:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB10_10
LBB10_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _strchr ; -- Begin function strchr
.p2align 2
_strchr: ; @strchr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
ldr w9, [sp, #12]
subs w8, w8, w9, sxtb
cset w8, eq
tbnz w8, #0, LBB11_5
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB11_4
b LBB11_3
LBB11_3:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB11_6
LBB11_4: ; in Loop: Header=BB11_1 Depth=1
b LBB11_1
LBB11_5:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB11_6
LBB11_6:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _strrchr ; -- Begin function strrchr
.p2align 2
_strrchr: ; @strrchr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
ldr w9, [sp, #20]
subs w8, w8, w9, sxtb
cset w8, ne
tbnz w8, #0, LBB12_3
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [sp, #24]
str x8, [sp, #8]
b LBB12_3
LBB12_3: ; in Loop: Header=BB12_1 Depth=1
b LBB12_4
LBB12_4: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB12_1
b LBB12_5
LBB12_5:
ldr x0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _strnlen ; -- Begin function strnlen
.p2align 2
_strnlen: ; @strnlen
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x0, [sp, #16]
ldr x2, [sp, #8]
mov w1, #0
bl _memchr
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB13_3
LBB13_2:
ldr x8, [sp]
ldr x9, [sp, #16]
subs x8, x8, x9
stur x8, [x29, #-8]
b LBB13_3
LBB13_3:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _strncmp ; -- Begin function strncmp
.p2align 2
_strncmp: ; @strncmp
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #48]
str x1, [sp, #40]
str x2, [sp, #32]
ldr x8, [sp, #48]
str x8, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #16]
str wzr, [sp, #12]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
str wzr, [sp, #60]
b LBB14_10
LBB14_2:
b LBB14_3
LBB14_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
subs x9, x8, #1
str x9, [sp, #32]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB14_5
b LBB14_4
LBB14_4: ; in Loop: Header=BB14_3 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
ldrb w9, [x9]
subs w8, w8, w9
str w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB14_5
LBB14_5: ; in Loop: Header=BB14_3 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB14_9
b LBB14_6
LBB14_6: ; in Loop: Header=BB14_3 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB14_8
b LBB14_7
LBB14_7:
b LBB14_9
LBB14_8: ; in Loop: Header=BB14_3 Depth=1
b LBB14_3
LBB14_9:
ldr w8, [sp, #12]
str w8, [sp, #60]
b LBB14_10
LBB14_10:
ldr w0, [sp, #60]
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _strncpy ; -- Begin function strncpy
.p2align 2
_strncpy: ; @strncpy
.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]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _strnlen
str x0, [sp]
ldr x8, [sp]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
ldur x8, [x29, #-8]
ldr x9, [sp]
add x0, x8, x9
ldr x8, [sp, #8]
ldr x9, [sp]
subs x1, x8, x9
bl _bzero
b LBB15_2
LBB15_2:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
ldr x2, [sp]
bl _memcpy
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _strcpy ; -- Begin function strcpy
.p2align 2
_strcpy: ; @strcpy
.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]
b LBB16_1
LBB16_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrsb w8, [x8]
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_3
b LBB16_2
LBB16_2: ; in Loop: Header=BB16_1 Depth=1
b LBB16_1
LBB16_3:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memset ## -- Begin function memset
.p2align 4, 0x90
_memset: ## @memset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
addq -24(%rbp), %rax
movq %rax, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_3
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movb %al, %cl
movq -32(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -32(%rbp)
movb %cl, (%rax)
jmp LBB0_1
LBB0_4:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _memcpy ## -- Begin function memcpy
.p2align 4, 0x90
_memcpy: ## @memcpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
addq -24(%rbp), %rax
movq %rax, -48(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
cmpq -48(%rbp), %rax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_3
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -32(%rbp)
movb (%rax), %cl
movq -40(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -40(%rbp)
movb %cl, (%rax)
jmp LBB1_1
LBB1_4:
movq -40(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _memchr ## -- Begin function memchr
.p2align 4, 0x90
_memchr: ## @memchr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -32(%rbp)
cmpq $0, %rax
jbe LBB2_5
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %eax
cmpl -20(%rbp), %eax
jne LBB2_4
## %bb.3:
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB2_6
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB2_1
LBB2_5:
movq $0, -8(%rbp)
LBB2_6:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strlen ## -- Begin function strlen
.p2align 4, 0x90
_strlen: ## @strlen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq $0, -16(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_3
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB3_1
LBB3_4:
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strcmp ## -- Begin function strcmp
.p2align 4, 0x90
_strcmp: ## @strcmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %al
movb %al, -25(%rbp)
cmpb $0, %al
je LBB4_8
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movb (%rax), %al
movb %al, -26(%rbp)
cmpb $0, %al
jne LBB4_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB4_11
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movsbl -25(%rbp), %eax
movsbl -26(%rbp), %ecx
cmpl %ecx, %eax
je LBB4_6
## %bb.5:
movsbl -25(%rbp), %eax
movsbl -26(%rbp), %ecx
subl %ecx, %eax
movl %eax, -4(%rbp)
jmp LBB4_11
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_7
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_8:
movq -24(%rbp), %rax
cmpb $0, (%rax)
je LBB4_10
## %bb.9:
movl $-1, -4(%rbp)
jmp LBB4_11
LBB4_10:
movl $0, -4(%rbp)
LBB4_11:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isupper ## -- Begin function isupper
.p2align 4, 0x90
_isupper: ## @isupper
.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 $65, -4(%rbp)
movb %al, -5(%rbp) ## 1-byte Spill
jl LBB5_2
## %bb.1:
cmpl $90, -4(%rbp)
setle %al
movb %al, -5(%rbp) ## 1-byte Spill
LBB5_2:
movb -5(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _islower ## -- Begin function islower
.p2align 4, 0x90
_islower: ## @islower
.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 $97, -4(%rbp)
movb %al, -5(%rbp) ## 1-byte Spill
jl LBB6_2
## %bb.1:
cmpl $122, -4(%rbp)
setle %al
movb %al, -5(%rbp) ## 1-byte Spill
LBB6_2:
movb -5(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _toupper ## -- Begin function toupper
.p2align 4, 0x90
_toupper: ## @toupper
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
callq _islower
cmpl $0, %eax
je LBB7_2
## %bb.1:
movl -4(%rbp), %eax
subl $32, %eax
movl %eax, -8(%rbp) ## 4-byte Spill
jmp LBB7_3
LBB7_2:
movl -4(%rbp), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
LBB7_3:
movl -8(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _tolower ## -- Begin function tolower
.p2align 4, 0x90
_tolower: ## @tolower
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
callq _isupper
cmpl $0, %eax
je LBB8_2
## %bb.1:
movl -4(%rbp), %eax
addl $32, %eax
movl %eax, -8(%rbp) ## 4-byte Spill
jmp LBB8_3
LBB8_2:
movl -4(%rbp), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
LBB8_3:
movl -8(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strcasecmp ## -- Begin function strcasecmp
.p2align 4, 0x90
_strcasecmp: ## @strcasecmp
.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 -24(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
jne LBB9_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB9_8
LBB9_2:
jmp LBB9_3
LBB9_3: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movzbl (%rax), %edi
callq _tolower
movl %eax, -48(%rbp) ## 4-byte Spill
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movzbl (%rax), %edi
callq _tolower
movl %eax, %ecx
movl -48(%rbp), %eax ## 4-byte Reload
subl %ecx, %eax
movl %eax, -44(%rbp)
cmpl $0, %eax
jne LBB9_7
## %bb.4: ## in Loop: Header=BB9_3 Depth=1
movq -32(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -32(%rbp)
movzbl (%rax), %eax
cmpl $0, %eax
jne LBB9_6
## %bb.5:
jmp LBB9_7
LBB9_6: ## in Loop: Header=BB9_3 Depth=1
jmp LBB9_3
LBB9_7:
movl -44(%rbp), %eax
movl %eax, -4(%rbp)
LBB9_8:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strncasecmp ## -- Begin function strncasecmp
.p2align 4, 0x90
_strncasecmp: ## @strncasecmp
.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 -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movl $0, -52(%rbp)
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
jne LBB10_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB10_10
LBB10_2:
jmp LBB10_3
LBB10_3: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rcx
movq %rcx, %rax
addq $-1, %rax
movq %rax, -32(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, %rcx
movb %al, -53(%rbp) ## 1-byte Spill
je LBB10_5
## %bb.4: ## in Loop: Header=BB10_3 Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %edi
callq _tolower
movl %eax, -60(%rbp) ## 4-byte Spill
movq -48(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -48(%rbp)
movzbl (%rax), %edi
callq _tolower
movl %eax, %ecx
movl -60(%rbp), %eax ## 4-byte Reload
subl %ecx, %eax
movl %eax, -52(%rbp)
cmpl $0, %eax
sete %al
movb %al, -53(%rbp) ## 1-byte Spill
LBB10_5: ## in Loop: Header=BB10_3 Depth=1
movb -53(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB10_6
jmp LBB10_9
LBB10_6: ## in Loop: Header=BB10_3 Depth=1
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movzbl (%rax), %eax
cmpl $0, %eax
jne LBB10_8
## %bb.7:
jmp LBB10_9
LBB10_8: ## in Loop: Header=BB10_3 Depth=1
jmp LBB10_3
LBB10_9:
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
LBB10_10:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strchr ## -- Begin function strchr
.p2align 4, 0x90
_strchr: ## @strchr
.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)
LBB11_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
movl -20(%rbp), %ecx
## kill: def $cl killed $cl killed $ecx
movsbl %cl, %ecx
cmpl %ecx, %eax
je LBB11_5
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
cmpb $0, (%rax)
jne LBB11_4
## %bb.3:
movq $0, -8(%rbp)
jmp LBB11_6
LBB11_4: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_1
LBB11_5:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB11_6:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strrchr ## -- Begin function strrchr
.p2align 4, 0x90
_strrchr: ## @strrchr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq $0, -24(%rbp)
LBB12_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
movl -12(%rbp), %ecx
## kill: def $cl killed $cl killed $ecx
movsbl %cl, %ecx
cmpl %ecx, %eax
jne LBB12_3
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB12_3: ## in Loop: Header=BB12_1 Depth=1
jmp LBB12_4
LBB12_4: ## in Loop: Header=BB12_1 Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -8(%rbp)
cmpb $0, (%rax)
jne LBB12_1
## %bb.5:
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strnlen ## -- Begin function strnlen
.p2align 4, 0x90
_strnlen: ## @strnlen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rdx
xorl %esi, %esi
callq _memchr
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB13_2
## %bb.1:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB13_3
LBB13_2:
movq -32(%rbp), %rax
movq -16(%rbp), %rcx
subq %rcx, %rax
movq %rax, -8(%rbp)
LBB13_3:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strncmp ## -- Begin function strncmp
.p2align 4, 0x90
_strncmp: ## @strncmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movl $0, -52(%rbp)
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
jne LBB14_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB14_10
LBB14_2:
jmp LBB14_3
LBB14_3: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rcx
movq %rcx, %rax
addq $-1, %rax
movq %rax, -32(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, %rcx
movb %al, -53(%rbp) ## 1-byte Spill
je LBB14_5
## %bb.4: ## in Loop: Header=BB14_3 Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %eax
movq -48(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -48(%rbp)
movzbl (%rcx), %ecx
subl %ecx, %eax
movl %eax, -52(%rbp)
cmpl $0, %eax
sete %al
movb %al, -53(%rbp) ## 1-byte Spill
LBB14_5: ## in Loop: Header=BB14_3 Depth=1
movb -53(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB14_6
jmp LBB14_9
LBB14_6: ## in Loop: Header=BB14_3 Depth=1
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movzbl (%rax), %eax
cmpl $0, %eax
jne LBB14_8
## %bb.7:
jmp LBB14_9
LBB14_8: ## in Loop: Header=BB14_3 Depth=1
jmp LBB14_3
LBB14_9:
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
LBB14_10:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strncpy ## -- Begin function strncpy
.p2align 4, 0x90
_strncpy: ## @strncpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _strnlen
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
cmpq -24(%rbp), %rax
je LBB15_2
## %bb.1:
movq -8(%rbp), %rdi
addq -32(%rbp), %rdi
movq -24(%rbp), %rdx
subq -32(%rbp), %rdx
xorl %esi, %esi
callq _memset
LBB15_2:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -32(%rbp), %rdx
callq _memcpy
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strcpy ## -- Begin function strcpy
.p2align 4, 0x90
_strcpy: ## @strcpy
.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)
LBB16_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %al
movq -24(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -24(%rbp)
movb %al, (%rcx)
movsbl %al, %eax
cmpl $0, %eax
je LBB16_3
## %bb.2: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_1
LBB16_3:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/67324788.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_seq_open_symbols ; -- Begin function snd_seq_open_symbols
.p2align 2
_snd_seq_open_symbols: ; @snd_seq_open_symbols
.cfi_startproc
; %bb.0:
adrp x0, _snd_seq_open_objects@PAGE
add x0, x0, _snd_seq_open_objects@PAGEOFF
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @snd_seq_open_objects
_snd_seq_open_objects:
.quad __snd_module_seq_hw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_seq_open_symbols ## -- Begin function snd_seq_open_symbols
.p2align 4, 0x90
_snd_seq_open_symbols: ## @snd_seq_open_symbols
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _snd_seq_open_objects(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 3 ## @snd_seq_open_objects
_snd_seq_open_objects:
.quad __snd_module_seq_hw
.subsections_via_symbols
| the_stack_data/52719.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 f1
lCPI0_0:
.quad 0x000fffffffffffff ; double 2.2250738585072009E-308
.section __TEXT,__text,regular,pure_instructions
.globl _f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [sp]
ldr x8, [sp]
str x8, [sp, #8]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _f2 ; -- Begin function f2
.p2align 2
_f2: ; @f2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x8, #25923
movk x8, #43399, lsl #16
movk x8, #60875, lsl #32
movk x8, #15, lsl #48
str x8, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
ldr d0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI2_0:
.quad 0x406d400000000000 ; double 234
lCPI2_1:
.quad 0x000fffffffffffff ; double 2.2250738585072009E-308
.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]
bl _f1
stur x0, [x29, #-16]
ldur d0, [x29, #-16]
adrp x8, lCPI2_1@PAGE
ldr d1, [x8, lCPI2_1@PAGEOFF]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl _abort
LBB2_2:
bl _f2
stur d0, [x29, #-16]
ldur x8, [x29, #-16]
mov x9, #25923
movk x9, #43399, lsl #16
movk x9, #60875, lsl #32
movk x9, #15, lsl #48
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
bl _abort
LBB2_4:
adrp x8, lCPI2_0@PAGE
ldr d0, [x8, lCPI2_0@PAGEOFF]
str d0, [sp, #24]
ldr d0, [sp, #24]
add x1, sp, #8
str d0, [sp, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x8, [sp, #16]
mov x0, sp
str x8, [sp]
mov x2, #8
bl _memcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
bl _abort
LBB2_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f1
LCPI0_0:
.quad 0x000fffffffffffff ## double 2.2250738585072009E-308
.section __TEXT,__text,regular,pure_instructions
.globl _f1
.p2align 4, 0x90
_f1: ## @f1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f2 ## -- Begin function f2
.p2align 4, 0x90
_f2: ## @f2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movabsq $4483583629026627, %rax ## imm = 0xFEDCBA9876543
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI2_0:
.quad 0x000fffffffffffff ## double 2.2250738585072009E-308
LCPI2_1:
.quad 0x406d400000000000 ## double 234
.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)
callq _f1
movq %rax, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB2_1
jp LBB2_1
jmp LBB2_2
LBB2_1:
callq _abort
LBB2_2:
callq _f2
movsd %xmm0, -16(%rbp)
movabsq $4483583629026627, %rax ## imm = 0xFEDCBA9876543
cmpq %rax, -16(%rbp)
je LBB2_4
## %bb.3:
callq _abort
LBB2_4:
movsd LCPI2_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq %rax, -48(%rbp)
leaq -48(%rbp), %rax
leaq -40(%rbp), %rcx
movq (%rcx), %rcx
movq (%rax), %rax
subq %rcx, %rax
setne %al
movzbl %al, %eax
cmpl $0, %eax
je LBB2_6
## %bb.5:
callq _abort
LBB2_6:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/150141871.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
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, #4
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #8
str x8, [x9]
bl _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
add w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #16]
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
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 "\344\270\211\343\201\244\343\201\256\346\225\264\346\225\260\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\n"
l_.str.1: ; @.str.1
.asciz "\346\225\264\346\225\2601 :"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "\346\225\264\346\225\2602 :"
l_.str.4: ; @.str.4
.asciz "\346\225\264\346\225\2603 :"
l_.str.5: ; @.str.5
.asciz "\344\270\211\343\201\244\343\201\256\345\222\214\343\201\257%d\343\201\247\343\201\231"
.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
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 -4(%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 -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %eax
addl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str.5(%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 "\344\270\211\343\201\244\343\201\256\346\225\264\346\225\260\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204\n"
L_.str.1: ## @.str.1
.asciz "\346\225\264\346\225\2601 :"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "\346\225\264\346\225\2602 :"
L_.str.4: ## @.str.4
.asciz "\346\225\264\346\225\2603 :"
L_.str.5: ## @.str.5
.asciz "\344\270\211\343\201\244\343\201\256\345\222\214\343\201\257%d\343\201\247\343\201\231"
.subsections_via_symbols
| the_stack_data/43887030.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
fmov d0, #2.00000000
stur d0, [x29, #-16]
stur d0, [x29, #-24]
ldur d0, [x29, #-16]
ldur d1, [x29, #-24]
bl _Dodaj
str d0, [sp, #32]
ldur d2, [x29, #-16]
ldur d1, [x29, #-24]
ldr d0, [sp, #32]
mov x8, sp
str d2, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " Wynik dodawania: %f + %f = %f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 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 $32, %rsp
movl $0, -4(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _Dodaj
movsd %xmm0, -32(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -32(%rbp), %xmm2 ## xmm2 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $3, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " Wynik dodawania: %f + %f = %f\n"
.subsections_via_symbols
| the_stack_data/53491.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getOS ; -- Begin function getOS
.p2align 2
_getOS: ; @getOS
.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, #1360
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
add x0, sp, #72
bl _uname
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
; kill: def $x8 killed $xzr
str xzr, [sp, #64]
b LBB0_11
LBB0_2:
mov x0, #1024
bl _malloc
str x0, [sp, #56]
add x8, sp, #72
str x8, [sp, #32] ; 8-byte Folded Spill
add x0, x8, #512
bl _atoi
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w0, [sp, #52]
add x0, x8, #515
bl _atoi
str w0, [sp, #48]
ldr w8, [sp, #52]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #40]
b LBB0_8
LBB0_4:
ldr w8, [sp, #52]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #40]
ldr w8, [sp, #52]
subs w8, w8, #4
str w8, [sp, #48]
mov w8, #10
str w8, [sp, #52]
b LBB0_7
LBB0_6:
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #40]
ldr w8, [sp, #48]
subs w8, w8, #1
str w8, [sp, #48]
ldr w8, [sp, #52]
subs w8, w8, #9
str w8, [sp, #52]
b LBB0_7
LBB0_7:
b LBB0_8
LBB0_8:
ldr x0, [sp, #56]
ldr x2, [sp, #40]
ldr w8, [sp, #52]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #48]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov x1, #128
bl _swprintf
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr x0, [sp, #56]
bl _free
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB0_10
LBB0_10:
ldr x8, [sp, #56]
str x8, [sp, #64]
b LBB0_11
LBB0_11:
ldr x8, [sp, #64]
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
bl ___stack_chk_fail
LBB0_13:
ldr x0, [sp, #24] ; 8-byte Folded Reload
add sp, sp, #1360
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,__const
.p2align 2 ; @.str
l_.str:
.long 77 ; 0x4d
.long 97 ; 0x61
.long 99 ; 0x63
.long 32 ; 0x20
.long 79 ; 0x4f
.long 83 ; 0x53
.long 32 ; 0x20
.long 88 ; 0x58
.long 0 ; 0x0
.p2align 2 ; @.str.1
l_.str.1:
.long 77 ; 0x4d
.long 97 ; 0x61
.long 99 ; 0x63
.long 32 ; 0x20
.long 79 ; 0x4f
.long 83 ; 0x53
.long 32 ; 0x20
.long 88 ; 0x58
.long 32 ; 0x20
.long 37 ; 0x25
.long 100 ; 0x64
.long 46 ; 0x2e
.long 37 ; 0x25
.long 100 ; 0x64
.long 0 ; 0x0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getOS ## -- Begin function getOS
.p2align 4, 0x90
_getOS: ## @getOS
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1328, %rsp ## imm = 0x530
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -1288(%rbp), %rdi
callq _uname
cmpl $0, %eax
je LBB0_2
## %bb.1:
movq $0, -1296(%rbp)
jmp LBB0_11
LBB0_2:
movl $1024, %edi ## imm = 0x400
callq _malloc
movq %rax, -1304(%rbp)
leaq -1288(%rbp), %rdi
addq $512, %rdi ## imm = 0x200
callq _atoi
movl %eax, -1308(%rbp)
leaq -1288(%rbp), %rdi
addq $512, %rdi ## imm = 0x200
addq $3, %rdi
callq _atoi
movl %eax, -1312(%rbp)
cmpl $5, -1308(%rbp)
jge LBB0_4
## %bb.3:
leaq l_.str(%rip), %rax
movq %rax, -1320(%rbp)
jmp LBB0_8
LBB0_4:
cmpl $20, -1308(%rbp)
jge LBB0_6
## %bb.5:
leaq l_.str.1(%rip), %rax
movq %rax, -1320(%rbp)
movl -1308(%rbp), %eax
subl $4, %eax
movl %eax, -1312(%rbp)
movl $10, -1308(%rbp)
jmp LBB0_7
LBB0_6:
leaq l_.str.1(%rip), %rax
movq %rax, -1320(%rbp)
movl -1312(%rbp), %eax
subl $1, %eax
movl %eax, -1312(%rbp)
movl -1308(%rbp), %eax
subl $9, %eax
movl %eax, -1308(%rbp)
LBB0_7:
jmp LBB0_8
LBB0_8:
movq -1304(%rbp), %rdi
movq -1320(%rbp), %rdx
movl -1308(%rbp), %ecx
movl -1312(%rbp), %r8d
movl $128, %esi
movb $0, %al
callq _swprintf
cmpl $-1, %eax
jne LBB0_10
## %bb.9:
movq -1304(%rbp), %rdi
callq _free
movq $0, -1304(%rbp)
LBB0_10:
movq -1304(%rbp), %rax
movq %rax, -1296(%rbp)
LBB0_11:
movq -1296(%rbp), %rax
movq %rax, -1328(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_13
## %bb.12:
movq -1328(%rbp), %rax ## 8-byte Reload
addq $1328, %rsp ## imm = 0x530
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @.str
l_.str:
.long 77 ## 0x4d
.long 97 ## 0x61
.long 99 ## 0x63
.long 32 ## 0x20
.long 79 ## 0x4f
.long 83 ## 0x53
.long 32 ## 0x20
.long 88 ## 0x58
.long 0 ## 0x0
.p2align 2 ## @.str.1
l_.str.1:
.long 77 ## 0x4d
.long 97 ## 0x61
.long 99 ## 0x63
.long 32 ## 0x20
.long 79 ## 0x4f
.long 83 ## 0x53
.long 32 ## 0x20
.long 88 ## 0x58
.long 32 ## 0x20
.long 37 ## 0x25
.long 100 ## 0x64
.long 46 ## 0x2e
.long 37 ## 0x25
.long 100 ## 0x64
.long 0 ## 0x0
.subsections_via_symbols
| the_stack_data/220455338.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/154136.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
stur wzr, [x29, #-20]
mov w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
bl _atoi
ldur w8, [x29, #-20]
add w8, w8, w0
stur w8, [x29, #-20]
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:
ldur w8, [x29, #-8]
subs w11, w8, #1
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
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 "The sum of these %d numbers is %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
movl $1, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_4:
movl -8(%rbp), %esi
subl $1, %esi
movl -20(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The sum of these %d numbers is %d\n"
.subsections_via_symbols
| the_stack_data/179830292.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
adrp x8, _End@GOTPAGE
ldr x8, [x8, _End@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
adrp x9, _Start@GOTPAGE
ldr x9, [x9, _Start@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _End,4,2 ; @End
.comm _Start,4,2 ; @Start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq _End@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl $1, %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movq _Start@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jl LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %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:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _End,4,2 ## @End
.comm _Start,4,2 ## @Start
.subsections_via_symbols
| the_stack_data/156392713.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _glsl_bilinear_rgb32_dir_fsh_src ; @glsl_bilinear_rgb32_dir_fsh_src
_glsl_bilinear_rgb32_dir_fsh_src:
.asciz "// license:BSD-3-Clause\n// copyright-holders:Sven Gothel\n#pragma optimize (on)\n#pragma debug (off)\n\nuniform sampler2D color_texture;\nuniform vec2 color_texture_pow2_sz; // pow2 tex size\nuniform vec4 vid_attributes; // gamma, contrast, brightness\n\n// #define DO_GAMMA 1 // 'pow' is very slow on old hardware, i.e. pre R600 and 'slow' in general\n\n#define TEX2D(v) texture2D(color_texture,(v))\n\nvoid main()\n{\n // mix(x,y,a): x*(1-a) + y*a\n //\n // bilinear filtering includes 2 mix:\n //\n // pix1 = tex[x0][y0] * ( 1 - u_ratio ) + tex[x1][y0] * u_ratio\n // pix2 = tex[x0][y1] * ( 1 - u_ratio ) + tex[x1][y1] * u_ratio\n // fin = pix1 * ( 1 - v_ratio ) + pix2 * v_ratio\n //\n // so we can use the build in mix function for these 2 computations ;-)\n //\n vec2 pixel = gl_TexCoord[0].st * color_texture_pow2_sz - 0.5;\n vec2 uv_ratio = fract(pixel);\n vec2 one = 1.0 / color_texture_pow2_sz;\n vec2 xy = (floor(pixel) + 0.5) * one;\n \n#if 1\n vec4 col, col2;\n\n col = mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x);\n col2 = mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x);\n col = mix ( col, col2, uv_ratio.y );\n#else\n // doesn't work on MacOSX GLSL engine ..\n //\n vec4 col = mix ( mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x),\n mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x), uv_ratio.y );\n#endif\n\n // gamma, contrast, brightness equation from: rendutil.h / apply_brightness_contrast_gamma_fp\n\n#ifdef DO_GAMMA\n // gamma/contrast/brightness\n vec4 gamma = vec4(1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 0.0);\n gl_FragColor = ( pow ( col, gamma ) * vid_attributes.g) + vid_attributes.b - 1.0;\n#else\n // contrast/brightness\n gl_FragColor = ( col * vid_attributes.g) + vid_attributes.b - 1.0;\n#endif\n}\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _glsl_bilinear_rgb32_dir_fsh_src ## @glsl_bilinear_rgb32_dir_fsh_src
.p2align 4
_glsl_bilinear_rgb32_dir_fsh_src:
.asciz "// license:BSD-3-Clause\n// copyright-holders:Sven Gothel\n#pragma optimize (on)\n#pragma debug (off)\n\nuniform sampler2D color_texture;\nuniform vec2 color_texture_pow2_sz; // pow2 tex size\nuniform vec4 vid_attributes; // gamma, contrast, brightness\n\n// #define DO_GAMMA 1 // 'pow' is very slow on old hardware, i.e. pre R600 and 'slow' in general\n\n#define TEX2D(v) texture2D(color_texture,(v))\n\nvoid main()\n{\n // mix(x,y,a): x*(1-a) + y*a\n //\n // bilinear filtering includes 2 mix:\n //\n // pix1 = tex[x0][y0] * ( 1 - u_ratio ) + tex[x1][y0] * u_ratio\n // pix2 = tex[x0][y1] * ( 1 - u_ratio ) + tex[x1][y1] * u_ratio\n // fin = pix1 * ( 1 - v_ratio ) + pix2 * v_ratio\n //\n // so we can use the build in mix function for these 2 computations ;-)\n //\n vec2 pixel = gl_TexCoord[0].st * color_texture_pow2_sz - 0.5;\n vec2 uv_ratio = fract(pixel);\n vec2 one = 1.0 / color_texture_pow2_sz;\n vec2 xy = (floor(pixel) + 0.5) * one;\n \n#if 1\n vec4 col, col2;\n\n col = mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x);\n col2 = mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x);\n col = mix ( col, col2, uv_ratio.y );\n#else\n // doesn't work on MacOSX GLSL engine ..\n //\n vec4 col = mix ( mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x),\n mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x), uv_ratio.y );\n#endif\n\n // gamma, contrast, brightness equation from: rendutil.h / apply_brightness_contrast_gamma_fp\n\n#ifdef DO_GAMMA\n // gamma/contrast/brightness\n vec4 gamma = vec4(1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 0.0);\n gl_FragColor = ( pow ( col, gamma ) * vid_attributes.g) + vid_attributes.b - 1.0;\n#else\n // contrast/brightness\n gl_FragColor = ( col * vid_attributes.g) + vid_attributes.b - 1.0;\n#endif\n}\n\n"
.subsections_via_symbols
| the_stack_data/921855.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.