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 _is_valid_symbol ; -- Begin function is_valid_symbol
.p2align 2
_is_valid_symbol: ; @is_valid_symbol
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrsb w8, [sp, #15]
subs w8, w8, #32
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrsb w8, [sp, #15]
subs w8, w8, #126
cset w8, le
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_2
LBB0_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _get_strings_from_fd_to_fd ; -- Begin function get_strings_from_fd_to_fd
.p2align 2
_get_strings_from_fd_to_fd: ; @get_strings_from_fd_to_fd
.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]
str wzr, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-4]
sub x1, x29, #9
mov x2, #1
bl _read
mov x8, x0
mov x9, x0
str w9, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_14
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldursb w0, [x29, #-9]
bl _is_valid_symbol
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldurb w8, [x29, #-9]
ldrsw x10, [sp, #8]
sub x9, x29, #13
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldur w0, [x29, #-8]
sub x1, x29, #9
mov x2, #1
bl _write
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_10
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
add x1, sp, #3
mov w8, #10
strb w8, [sp, #3]
ldur w0, [x29, #-8]
mov x2, #1
bl _write
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #8]
str wzr, [sp, #4]
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp, #4]
ldur w0, [x29, #-8]
sub x1, x29, #13
mov x2, #4
bl _write
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_14:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _get_strings_from_fd ; -- Begin function get_strings_from_fd
.p2align 2
_get_strings_from_fd: ; @get_strings_from_fd
.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]
mov w1, #1
bl _get_strings_from_fd_to_fd
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w0, #0
bl _get_strings_from_fd
b LBB3_10
LBB3_2:
mov w8, #1
str w8, [sp, #12]
str w8, [sp, #12]
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_9
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
mov w1, #0
bl _open
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
mov w0, #1
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _errx
LBB3_6: ; in Loop: Header=BB3_3 Depth=1
ldr w0, [sp, #8]
bl _get_strings_from_fd
ldr w0, [sp, #8]
bl _close
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_3 Depth=1
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_3
LBB3_9:
b LBB3_10
LBB3_10:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error reading file %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_valid_symbol ## -- Begin function is_valid_symbol
.p2align 4, 0x90
_is_valid_symbol: ## @is_valid_symbol
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
jl LBB0_2
## %bb.1:
movsbl -1(%rbp), %eax
cmpl $126, %eax
setle %al
movb %al, -2(%rbp) ## 1-byte Spill
LBB0_2:
movb -2(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_strings_from_fd_to_fd ## -- Begin function get_strings_from_fd_to_fd
.p2align 4, 0x90
_get_strings_from_fd_to_fd: ## @get_strings_from_fd_to_fd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %edi
leaq -9(%rbp), %rsi
movl $1, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB1_14
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movsbl -9(%rbp), %edi
callq _is_valid_symbol
cmpl $0, %eax
je LBB1_7
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -28(%rbp)
jne LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movb -9(%rbp), %cl
movslq -24(%rbp), %rax
movb %cl, -13(%rbp,%rax)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_6
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %edi
leaq -9(%rbp), %rsi
movl $1, %edx
callq _write
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_10
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -28(%rbp)
je LBB1_9
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
movb $10, -29(%rbp)
movl -8(%rbp), %edi
leaq -29(%rbp), %rsi
movl $1, %edx
callq _write
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -28(%rbp)
jne LBB1_13
## %bb.11: ## in Loop: Header=BB1_1 Depth=1
cmpl $4, -24(%rbp)
jne LBB1_13
## %bb.12: ## in Loop: Header=BB1_1 Depth=1
movl $1, -28(%rbp)
movl -8(%rbp), %edi
leaq -13(%rbp), %rsi
movl $4, %edx
callq _write
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_14:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_strings_from_fd ## -- Begin function get_strings_from_fd
.p2align 4, 0x90
_get_strings_from_fd: ## @get_strings_from_fd
.cfi_startproc
## %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
movl $1, %esi
callq _get_strings_from_fd_to_fd
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
jne LBB3_2
## %bb.1:
xorl %edi, %edi
callq _get_strings_from_fd
jmp LBB3_10
LBB3_2:
movl $1, -20(%rbp)
movl $1, -20(%rbp)
LBB3_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB3_9
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -24(%rbp)
cmpl $0, -24(%rbp)
jge LBB3_6
## %bb.5:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %edi
callq _errx
LBB3_6: ## in Loop: Header=BB3_3 Depth=1
movl -24(%rbp), %edi
callq _get_strings_from_fd
movl -24(%rbp), %edi
callq _close
## %bb.7: ## in Loop: Header=BB3_3 Depth=1
jmp LBB3_8
LBB3_8: ## in Loop: Header=BB3_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_3
LBB3_9:
jmp LBB3_10
LBB3_10:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error reading file %s"
.subsections_via_symbols
| the_stack_data/140218.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #464
.cfi_def_cfa_offset 464
stp x28, x27, [sp, #432] ; 16-byte Folded Spill
stp x29, x30, [sp, #448] ; 16-byte Folded Spill
add x29, sp, #448
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
mov w0, #0
str wzr, [sp, #20]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _setlocale
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
ldrsw x10, [sp, #16]
add x9, sp, #24
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
str wzr, [sp, #16]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_5
LBB0_8:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
mov w0, #0
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 "Portuguese"
l_.str.1: ; @.str.1
.asciz "%d \n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $432, %rsp ## imm = 0x1B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
xorl %edi, %edi
leaq L_.str(%rip), %rsi
callq _setlocale
movl $0, -424(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -424(%rbp), %ecx
addl $1, %ecx
movslq -424(%rbp), %rax
movl %ecx, -416(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -424(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $100, -424(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -424(%rbp), %rax
movl -416(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -424(%rbp), %eax
addl $1, %eax
movl %eax, -424(%rbp)
jmp LBB0_5
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
xorl %eax, %eax
addq $432, %rsp ## imm = 0x1B0
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Portuguese"
L_.str.1: ## @.str.1
.asciz "%d \n\n"
.subsections_via_symbols
| the_stack_data/167329736.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _minos08f_maz ; @minos08f_maz
.p2align 2
_minos08f_maz:
.long 14 ; 0xe
.long 10 ; 0xa
.long 8 ; 0x8
.long 8 ; 0x8
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 8 ; 0x8
.long 10 ; 0xa
.long 9 ; 0x9
.long 13 ; 0xd
.long 13 ; 0xd
.long 14 ; 0xe
.long 8 ; 0x8
.long 3 ; 0x3
.long 5 ; 0x5
.long 13 ; 0xd
.long 12 ; 0xc
.long 11 ; 0xb
.long 12 ; 0xc
.long 9 ; 0x9
.long 12 ; 0xc
.long 9 ; 0x9
.long 6 ; 0x6
.long 10 ; 0xa
.long 1 ; 0x1
.long 6 ; 0x6
.long 1 ; 0x1
.long 14 ; 0xe
.long 2 ; 0x2
.long 11 ; 0xb
.long 5 ; 0x5
.long 5 ; 0x5
.long 6 ; 0x6
.long 10 ; 0xa
.long 1 ; 0x1
.long 6 ; 0x6
.long 1 ; 0x1
.long 6 ; 0x6
.long 9 ; 0x9
.long 12 ; 0xc
.long 2 ; 0x2
.long 8 ; 0x8
.long 1 ; 0x1
.long 12 ; 0xc
.long 8 ; 0x8
.long 11 ; 0xb
.long 5 ; 0x5
.long 5 ; 0x5
.long 13 ; 0xd
.long 13 ; 0xd
.long 6 ; 0x6
.long 8 ; 0x8
.long 2 ; 0x2
.long 9 ; 0x9
.long 6 ; 0x6
.long 2 ; 0x2
.long 8 ; 0x8
.long 3 ; 0x3
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 12 ; 0xc
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 3 ; 0x3
.long 12 ; 0xc
.long 1 ; 0x1
.long 12 ; 0xc
.long 2 ; 0x2
.long 8 ; 0x8
.long 11 ; 0xb
.long 4 ; 0x4
.long 10 ; 0xa
.long 1 ; 0x1
.long 5 ; 0x5
.long 4 ; 0x4
.long 1 ; 0x1
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 12 ; 0xc
.long 3 ; 0x3
.long 6 ; 0x6
.long 1 ; 0x1
.long 12 ; 0xc
.long 1 ; 0x1
.long 14 ; 0xe
.long 1 ; 0x1
.long 12 ; 0xc
.long 3 ; 0x3
.long 5 ; 0x5
.long 7 ; 0x7
.long 5 ; 0x5
.long 5 ; 0x5
.long 4 ; 0x4
.long 3 ; 0x3
.long 4 ; 0x4
.long 10 ; 0xa
.long 8 ; 0x8
.long 1 ; 0x1
.long 5 ; 0x5
.long 4 ; 0x4
.long 9 ; 0x9
.long 6 ; 0x6
.long 2 ; 0x2
.long 9 ; 0x9
.long 5 ; 0x5
.long 13 ; 0xd
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 12 ; 0xc
.long 3 ; 0x3
.long 12 ; 0xc
.long 1 ; 0x1
.long 6 ; 0x6
.long 1 ; 0x1
.long 5 ; 0x5
.long 6 ; 0x6
.long 9 ; 0x9
.long 12 ; 0xc
.long 1 ; 0x1
.long 7 ; 0x7
.long 5 ; 0x5
.long 6 ; 0x6
.long 0 ; 0x0
.long 3 ; 0x3
.long 4 ; 0x4
.long 9 ; 0x9
.long 4 ; 0x4
.long 3 ; 0x3
.long 14 ; 0xe
.long 1 ; 0x1
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 1 ; 0x1
.long 7 ; 0x7
.long 14 ; 0xe
.long 0 ; 0x0
.long 8 ; 0x8
.long 3 ; 0x3
.long 14 ; 0xe
.long 1 ; 0x1
.long 5 ; 0x5
.long 6 ; 0x6
.long 9 ; 0x9
.long 13 ; 0xd
.long 5 ; 0x5
.long 13 ; 0xd
.long 4 ; 0x4
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 15 ; 0xf
.long 5 ; 0x5
.long 5 ; 0x5
.long 12 ; 0xc
.long 10 ; 0xa
.long 3 ; 0x3
.long 4 ; 0x4
.long 10 ; 0xa
.long 2 ; 0x2
.long 3 ; 0x3
.long 5 ; 0x5
.long 5 ; 0x5
.long 7 ; 0x7
.long 4 ; 0x4
.long 11 ; 0xb
.long 5 ; 0x5
.long 12 ; 0xc
.long 0 ; 0x0
.long 3 ; 0x3
.long 5 ; 0x5
.long 12 ; 0xc
.long 8 ; 0x8
.long 3 ; 0x3
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 0 ; 0x0
.long 2 ; 0x2
.long 8 ; 0x8
.long 2 ; 0x2
.long 11 ; 0xb
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 14 ; 0xe
.long 2 ; 0x2
.long 1 ; 0x1
.long 4 ; 0x4
.long 8 ; 0x8
.long 0 ; 0x0
.long 10 ; 0xa
.long 8 ; 0x8
.long 0 ; 0x0
.long 9 ; 0x9
.long 4 ; 0x4
.long 10 ; 0xa
.long 9 ; 0x9
.long 5 ; 0x5
.long 4 ; 0x4
.long 2 ; 0x2
.long 8 ; 0x8
.long 11 ; 0xb
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 7 ; 0x7
.long 13 ; 0xd
.long 5 ; 0x5
.long 5 ; 0x5
.long 4 ; 0x4
.long 1 ; 0x1
.long 13 ; 0xd
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 14 ; 0xe
.long 2 ; 0x2
.long 10 ; 0xa
.long 1 ; 0x1
.long 5 ; 0x5
.long 6 ; 0x6
.long 8 ; 0x8
.long 3 ; 0x3
.long 5 ; 0x5
.long 6 ; 0x6
.long 3 ; 0x3
.long 5 ; 0x5
.long 4 ; 0x4
.long 2 ; 0x2
.long 3 ; 0x3
.long 7 ; 0x7
.long 14 ; 0xe
.long 10 ; 0xa
.long 10 ; 0xa
.long 2 ; 0x2
.long 2 ; 0x2
.long 10 ; 0xa
.long 2 ; 0x2
.long 11 ; 0xb
.long 6 ; 0x6
.long 10 ; 0xa
.long 10 ; 0xa
.long 2 ; 0x2
.long 2 ; 0x2
.long 10 ; 0xa
.long 11 ; 0xb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _minos08f_maz ## @minos08f_maz
.p2align 4
_minos08f_maz:
.long 14 ## 0xe
.long 10 ## 0xa
.long 8 ## 0x8
.long 8 ## 0x8
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 8 ## 0x8
.long 10 ## 0xa
.long 9 ## 0x9
.long 13 ## 0xd
.long 13 ## 0xd
.long 14 ## 0xe
.long 8 ## 0x8
.long 3 ## 0x3
.long 5 ## 0x5
.long 13 ## 0xd
.long 12 ## 0xc
.long 11 ## 0xb
.long 12 ## 0xc
.long 9 ## 0x9
.long 12 ## 0xc
.long 9 ## 0x9
.long 6 ## 0x6
.long 10 ## 0xa
.long 1 ## 0x1
.long 6 ## 0x6
.long 1 ## 0x1
.long 14 ## 0xe
.long 2 ## 0x2
.long 11 ## 0xb
.long 5 ## 0x5
.long 5 ## 0x5
.long 6 ## 0x6
.long 10 ## 0xa
.long 1 ## 0x1
.long 6 ## 0x6
.long 1 ## 0x1
.long 6 ## 0x6
.long 9 ## 0x9
.long 12 ## 0xc
.long 2 ## 0x2
.long 8 ## 0x8
.long 1 ## 0x1
.long 12 ## 0xc
.long 8 ## 0x8
.long 11 ## 0xb
.long 5 ## 0x5
.long 5 ## 0x5
.long 13 ## 0xd
.long 13 ## 0xd
.long 6 ## 0x6
.long 8 ## 0x8
.long 2 ## 0x2
.long 9 ## 0x9
.long 6 ## 0x6
.long 2 ## 0x2
.long 8 ## 0x8
.long 3 ## 0x3
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 12 ## 0xc
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 3 ## 0x3
.long 12 ## 0xc
.long 1 ## 0x1
.long 12 ## 0xc
.long 2 ## 0x2
.long 8 ## 0x8
.long 11 ## 0xb
.long 4 ## 0x4
.long 10 ## 0xa
.long 1 ## 0x1
.long 5 ## 0x5
.long 4 ## 0x4
.long 1 ## 0x1
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 12 ## 0xc
.long 3 ## 0x3
.long 6 ## 0x6
.long 1 ## 0x1
.long 12 ## 0xc
.long 1 ## 0x1
.long 14 ## 0xe
.long 1 ## 0x1
.long 12 ## 0xc
.long 3 ## 0x3
.long 5 ## 0x5
.long 7 ## 0x7
.long 5 ## 0x5
.long 5 ## 0x5
.long 4 ## 0x4
.long 3 ## 0x3
.long 4 ## 0x4
.long 10 ## 0xa
.long 8 ## 0x8
.long 1 ## 0x1
.long 5 ## 0x5
.long 4 ## 0x4
.long 9 ## 0x9
.long 6 ## 0x6
.long 2 ## 0x2
.long 9 ## 0x9
.long 5 ## 0x5
.long 13 ## 0xd
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 12 ## 0xc
.long 3 ## 0x3
.long 12 ## 0xc
.long 1 ## 0x1
.long 6 ## 0x6
.long 1 ## 0x1
.long 5 ## 0x5
.long 6 ## 0x6
.long 9 ## 0x9
.long 12 ## 0xc
.long 1 ## 0x1
.long 7 ## 0x7
.long 5 ## 0x5
.long 6 ## 0x6
.long 0 ## 0x0
.long 3 ## 0x3
.long 4 ## 0x4
.long 9 ## 0x9
.long 4 ## 0x4
.long 3 ## 0x3
.long 14 ## 0xe
.long 1 ## 0x1
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 1 ## 0x1
.long 7 ## 0x7
.long 14 ## 0xe
.long 0 ## 0x0
.long 8 ## 0x8
.long 3 ## 0x3
.long 14 ## 0xe
.long 1 ## 0x1
.long 5 ## 0x5
.long 6 ## 0x6
.long 9 ## 0x9
.long 13 ## 0xd
.long 5 ## 0x5
.long 13 ## 0xd
.long 4 ## 0x4
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 15 ## 0xf
.long 5 ## 0x5
.long 5 ## 0x5
.long 12 ## 0xc
.long 10 ## 0xa
.long 3 ## 0x3
.long 4 ## 0x4
.long 10 ## 0xa
.long 2 ## 0x2
.long 3 ## 0x3
.long 5 ## 0x5
.long 5 ## 0x5
.long 7 ## 0x7
.long 4 ## 0x4
.long 11 ## 0xb
.long 5 ## 0x5
.long 12 ## 0xc
.long 0 ## 0x0
.long 3 ## 0x3
.long 5 ## 0x5
.long 12 ## 0xc
.long 8 ## 0x8
.long 3 ## 0x3
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 0 ## 0x0
.long 2 ## 0x2
.long 8 ## 0x8
.long 2 ## 0x2
.long 11 ## 0xb
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 14 ## 0xe
.long 2 ## 0x2
.long 1 ## 0x1
.long 4 ## 0x4
.long 8 ## 0x8
.long 0 ## 0x0
.long 10 ## 0xa
.long 8 ## 0x8
.long 0 ## 0x0
.long 9 ## 0x9
.long 4 ## 0x4
.long 10 ## 0xa
.long 9 ## 0x9
.long 5 ## 0x5
.long 4 ## 0x4
.long 2 ## 0x2
.long 8 ## 0x8
.long 11 ## 0xb
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 7 ## 0x7
.long 13 ## 0xd
.long 5 ## 0x5
.long 5 ## 0x5
.long 4 ## 0x4
.long 1 ## 0x1
.long 13 ## 0xd
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 14 ## 0xe
.long 2 ## 0x2
.long 10 ## 0xa
.long 1 ## 0x1
.long 5 ## 0x5
.long 6 ## 0x6
.long 8 ## 0x8
.long 3 ## 0x3
.long 5 ## 0x5
.long 6 ## 0x6
.long 3 ## 0x3
.long 5 ## 0x5
.long 4 ## 0x4
.long 2 ## 0x2
.long 3 ## 0x3
.long 7 ## 0x7
.long 14 ## 0xe
.long 10 ## 0xa
.long 10 ## 0xa
.long 2 ## 0x2
.long 2 ## 0x2
.long 10 ## 0xa
.long 2 ## 0x2
.long 11 ## 0xb
.long 6 ## 0x6
.long 10 ## 0xa
.long 10 ## 0xa
.long 2 ## 0x2
.long 2 ## 0x2
.long 10 ## 0xa
.long 11 ## 0xb
.subsections_via_symbols
| the_stack_data/283268.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
sub x0, x29, #44
str x0, [sp, #32] ; 8-byte Folded Spill
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #32
str x2, [sp, #48] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x10, [sp, #32] ; 8-byte Folded Reload
mov w8, #54
stur w8, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #64] ; 8-byte Folded Spill
bl _printf
ldr x2, [sp, #48] ; 8-byte Folded Reload
sub x0, x29, #80
str x0, [sp, #40] ; 8-byte Folded Spill
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl ___strcpy_chk
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #64] ; 8-byte Folded Reload
mov w8, #25
stur w8, [x29, #-48]
ldur w9, [x29, #-48]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
ldr x2, [sp, #48] ; 8-byte Folded Reload
add x0, sp, #108
str x0, [sp, #56] ; 8-byte Folded Spill
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl ___strcpy_chk
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x0, [sp, #64] ; 8-byte Folded Reload
mov w8, #21
str w8, [sp, #140]
ldr w9, [sp, #140]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
mov x9, sp
mov x8, #36
str x8, [x9]
str x8, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #64] ; 8-byte Folded Reload
add x10, sp, #72
ldr w9, [sp, #104]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Ian Korf"
l_.str.1: ; @.str.1
.asciz "%s is %d years old\n"
l_.str.2: ; @.str.2
.asciz "Joe Shmoe"
l_.str.3: ; @.str.3
.asciz "Alan Zhang"
l_.str.4: ; @.str.4
.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 $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -48(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $32, %edx
callq ___strcpy_chk
movl $54, -16(%rbp)
leaq -48(%rbp), %rsi
movl -16(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -88(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movl $32, %edx
callq ___strcpy_chk
movl $25, -56(%rbp)
leaq -88(%rbp), %rsi
movl -56(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -128(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
movl $32, %edx
callq ___strcpy_chk
movl $21, -96(%rbp)
leaq -128(%rbp), %rsi
movl -96(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movl $36, %ecx
movl %ecx, %esi
movl %ecx, %edx
movb $0, %al
callq _printf
leaq -168(%rbp), %rsi
movl -136(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $176, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ian Korf"
L_.str.1: ## @.str.1
.asciz "%s is %d years old\n"
L_.str.2: ## @.str.2
.asciz "Joe Shmoe"
L_.str.3: ## @.str.3
.asciz "Alan Zhang"
L_.str.4: ## @.str.4
.asciz "%d %d %d\n"
.subsections_via_symbols
| the_stack_data/182952684.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 test
lCPI0_0:
.quad 0x400aaa9940000000 ; double 3.3333001136779785
.section __TEXT,__text,regular,pure_instructions
.globl _test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #48] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #56] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #56] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
mov x9, sp
mov x8, #1
stur x8, [x29, #-72] ; 8-byte Folded Spill
str x8, [x9]
mov x8, #2
stur x8, [x29, #-64] ; 8-byte Folded Spill
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #64] ; 8-byte Folded Spill
bl _printf
ldur x10, [x29, #-72] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldr x0, [sp, #64] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov x8, #3
str x8, [sp, #72] ; 8-byte Folded Spill
str x8, [x9, #16]
bl _printf
ldur x8, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
str x0, [sp, #80] ; 8-byte Folded Spill
bl _printf
ldur x10, [x29, #-72] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldur x11, [x29, #-72] ; 8-byte Folded Reload
ldur x10, [x29, #-64] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
bl _printf
ldur x10, [x29, #-72] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x9]
mov x8, #6
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str xzr, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
stur x0, [x29, #-56] ; 8-byte Folded Spill
bl _printf
ldur x0, [x29, #-56] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
ldur x0, [x29, #-56] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str xzr, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
stur x0, [x29, #-48] ; 8-byte Folded Spill
bl _printf
ldur x0, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
ldur x0, [x29, #-48] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur s0, [x29, #-32]
fcvt d0, s0
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str xzr, [x9]
str xzr, [x9, #8]
str d0, [x9, #16]
str xzr, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
stur x0, [x29, #-40] ; 8-byte Folded Spill
bl _printf
ldur x0, [x29, #-40] ; 8-byte Folded Reload
ldur s0, [x29, #-32]
fcvt d0, s0
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str xzr, [x9]
str d0, [x9, #8]
str xzr, [x9, #16]
str x8, [x9, #24]
bl _printf
ldur x0, [x29, #-40] ; 8-byte Folded Reload
ldur s0, [x29, #-32]
fcvt d0, s0
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str d0, [x9]
str xzr, [x9, #8]
str x8, [x9, #16]
bl _printf
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
l_.str.1: ; @.str.1
.asciz "%i\n"
l_.str.2: ; @.str.2
.asciz "%*s\n"
l_.str.3: ; @.str.3
.asciz "%i %i %i\n"
l_.str.4: ; @.str.4
.asciz "%2$i \n"
l_.str.5: ; @.str.5
.asciz "%2$i %2$i %2$i \n"
l_.str.6: ; @.str.6
.asciz "%2$02i %1$4.2f \n"
l_.str.7: ; @.str.7
.asciz "%2$*1$d"
l_.str.8: ; @.str.8
.asciz "%1$*2$d"
l_.str.9: ; @.str.9
.asciz "%2$.*4$f"
.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 test
LCPI0_0:
.quad 0x400aaa9940000000 ## double 3.3333001136779785
.section __TEXT,__text,regular,pure_instructions
.globl _test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movl $1, %esi
movl $2, %edx
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movl $1, %esi
movl $2, %edx
movl $3, %ecx
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movl $1, %esi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movl $1, %esi
movl $2, %edx
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movl $1, %esi
movl $2, %edx
movl $3, %ecx
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movl $1, %esi
movl $2, %edx
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movl $6, %esi
movb $1, %al
callq _printf
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
leaq L_.str.7(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
movl -24(%rbp), %edx
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
leaq L_.str.8(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _printf
movl -24(%rbp), %esi
movl -20(%rbp), %edx
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movl -28(%rbp), %r8d
leaq L_.str.9(%rip), %rdi
xorl %ecx, %ecx
movl %ecx, %esi
movl %ecx, %edx
movb $1, %al
callq _printf
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movl -28(%rbp), %ecx
leaq L_.str.9(%rip), %rdi
xorl %edx, %edx
movl %edx, %esi
movb $1, %al
callq _printf
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movl -28(%rbp), %edx
leaq L_.str.9(%rip), %rdi
xorl %esi, %esi
movb $1, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
L_.str.1: ## @.str.1
.asciz "%i\n"
L_.str.2: ## @.str.2
.asciz "%*s\n"
L_.str.3: ## @.str.3
.asciz "%i %i %i\n"
L_.str.4: ## @.str.4
.asciz "%2$i \n"
L_.str.5: ## @.str.5
.asciz "%2$i %2$i %2$i \n"
L_.str.6: ## @.str.6
.asciz "%2$02i %1$4.2f \n"
L_.str.7: ## @.str.7
.asciz "%2$*1$d"
L_.str.8: ## @.str.8
.asciz "%1$*2$d"
L_.str.9: ## @.str.9
.asciz "%2$.*4$f"
.subsections_via_symbols
| the_stack_data/23330.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, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #10
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
add w8, w8, #20
stur w8, [x29, #-8]
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w0, [x29, #-12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $10, -8(%rbp)
movl -8(%rbp), %eax
addl $20, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/375617.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _N ; -- Begin function N
.p2align 2
_N: ; @N
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str x2, [sp, #16]
str w3, [sp, #12]
str wzr, [sp, #4]
ldr w8, [sp, #28]
str w8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #24]
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 w8, [sp, #4]
ldr w10, [sp, #12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
ldr w11, [sp, #12]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
add w8, w8, w9
str w8, [sp, #4]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldr w8, [sp, #4]
ldr w10, [sp, #12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _M ; -- Begin function M
.p2align 2
_M: ; @M
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str x2, [sp, #16]
str w3, [sp, #12]
mov w8, #1
str w8, [sp, #4]
ldr w8, [sp, #28]
str w8, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
ldr w10, [sp, #12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
ldr w11, [sp, #12]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
mul w8, w8, w9
str w8, [sp, #4]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_4:
ldr w8, [sp, #4]
ldr w10, [sp, #12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _H ; -- Begin function H
.p2align 2
_H: ; @H
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str x2, [sp, #16]
str w3, [sp, #12]
mov w8, #1
str w8, [sp, #4]
ldr x8, [sp, #16]
ldrsw x9, [sp, #28]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #4]
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
eor w8, w8, w9
str w8, [sp, #4]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_1
LBB2_4:
ldr w0, [sp, #4]
add sp, sp, #32
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, #40096
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #9, lsl #12 ; =36864
sub sp, sp, #3232
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #84]
mov x9, sp
add x8, sp, #80
str x8, [x9]
add x8, sp, #76
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #72]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #72]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldrsw x9, [sp, #72]
add x8, sp, #88
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 LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #72]
add w8, w8, #1
str w8, [sp, #72]
b LBB3_1
LBB3_4:
str wzr, [sp, #60]
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
ldr w9, [sp, #76]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_14
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
mov x9, sp
add x8, sp, #68
str x8, [x9]
add x8, sp, #64
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
add x2, sp, #88
str x2, [sp, #48] ; 8-byte Folded Spill
bl _N
ldr x2, [sp, #48] ; 8-byte Folded Reload
str w0, [sp, #56] ; 4-byte Folded Spill
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
bl _M
mov x8, x0
ldr w0, [sp, #56] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
add x2, sp, #88
bl _N
str w0, [sp, #44] ; 4-byte Folded Spill
b LBB3_9
LBB3_8: ; in Loop: Header=BB3_5 Depth=1
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
add x2, sp, #88
bl _M
str w0, [sp, #44] ; 4-byte Folded Spill
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
str w8, [sp, #28] ; 4-byte Folded Spill
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
add x2, sp, #88
str x2, [sp, #32] ; 8-byte Folded Spill
bl _N
ldr x2, [sp, #32] ; 8-byte Folded Reload
str w0, [sp, #40] ; 4-byte Folded Spill
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
bl _M
mov x8, x0
ldr w0, [sp, #40] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, le
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_5 Depth=1
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
add x2, sp, #88
bl _N
str w0, [sp, #24] ; 4-byte Folded Spill
b LBB3_12
LBB3_11: ; in Loop: Header=BB3_5 Depth=1
ldr w0, [sp, #68]
ldr w1, [sp, #64]
ldr w3, [sp, #80]
add x2, sp, #88
bl _M
str w0, [sp, #24] ; 4-byte Folded Spill
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_5 Depth=1
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldr w1, [sp, #24] ; 4-byte Folded Reload
ldr w3, [sp, #80]
add x2, sp, #88
bl _H
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB3_5
LBB3_14:
ldr w8, [sp, #84]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_16
b LBB3_15
LBB3_15:
bl ___stack_chk_fail
LBB3_16:
ldr w0, [sp, #20] ; 4-byte Folded Reload
add sp, sp, #9, lsl #12 ; =36864
add sp, sp, #3232
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _N ## -- Begin function N
.p2align 4, 0x90
_N: ## @N
.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)
movl %ecx, -20(%rbp)
movl $0, -28(%rbp)
movl -4(%rbp), %eax
movl %eax, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
cltd
idivl -20(%rbp)
movl %edx, -32(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cltd
idivl -20(%rbp)
movl %edx, %eax
movl -32(%rbp), %edx ## 4-byte Reload
addl %eax, %edx
movl %edx, -28(%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 -28(%rbp), %eax
cltd
idivl -20(%rbp)
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _M ## -- Begin function M
.p2align 4, 0x90
_M: ## @M
.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)
movl %ecx, -20(%rbp)
movl $1, -28(%rbp)
movl -4(%rbp), %eax
movl %eax, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
cltd
idivl -20(%rbp)
movl %edx, -32(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cltd
idivl -20(%rbp)
movl %edx, %eax
movl -32(%rbp), %edx ## 4-byte Reload
imull %eax, %edx
movl %edx, -28(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_1
LBB1_4:
movl -28(%rbp), %eax
cltd
idivl -20(%rbp)
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _H ## -- Begin function H
.p2align 4, 0x90
_H: ## @H
.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)
movl %ecx, -20(%rbp)
movl $1, -28(%rbp)
movq -16(%rbp), %rax
movslq -4(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
xorl (%rcx,%rdx,4), %eax
movl %eax, -28(%rbp)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_1
LBB2_4:
movl -28(%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
movl $40080, %eax ## imm = 0x9C90
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -40020(%rbp)
leaq L_.str(%rip), %rdi
leaq -40024(%rbp), %rsi
leaq -40028(%rbp), %rdx
movb $0, %al
callq _scanf
movl $0, -40032(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -40032(%rbp), %eax
cmpl -40024(%rbp), %eax
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movslq -40032(%rbp), %rax
leaq -40016(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -40032(%rbp), %eax
addl $1, %eax
movl %eax, -40032(%rbp)
jmp LBB3_1
LBB3_4:
movl $0, -40044(%rbp)
LBB3_5: ## =>This Inner Loop Header: Depth=1
movl -40044(%rbp), %eax
cmpl -40028(%rbp), %eax
jge LBB3_14
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
leaq L_.str(%rip), %rdi
leaq -40036(%rbp), %rsi
leaq -40040(%rbp), %rdx
movb $0, %al
callq _scanf
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _N
movl %eax, -40048(%rbp) ## 4-byte Spill
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _M
movl %eax, %ecx
movl -40048(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB3_8
## %bb.7: ## in Loop: Header=BB3_5 Depth=1
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _N
movl %eax, -40052(%rbp) ## 4-byte Spill
jmp LBB3_9
LBB3_8: ## in Loop: Header=BB3_5 Depth=1
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _M
movl %eax, -40052(%rbp) ## 4-byte Spill
LBB3_9: ## in Loop: Header=BB3_5 Depth=1
movl -40052(%rbp), %eax ## 4-byte Reload
movl %eax, -40060(%rbp) ## 4-byte Spill
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _N
movl %eax, -40056(%rbp) ## 4-byte Spill
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _M
movl %eax, %ecx
movl -40056(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jle LBB3_11
## %bb.10: ## in Loop: Header=BB3_5 Depth=1
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _N
movl %eax, -40064(%rbp) ## 4-byte Spill
jmp LBB3_12
LBB3_11: ## in Loop: Header=BB3_5 Depth=1
movl -40036(%rbp), %edi
movl -40040(%rbp), %esi
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _M
movl %eax, -40064(%rbp) ## 4-byte Spill
LBB3_12: ## in Loop: Header=BB3_5 Depth=1
movl -40060(%rbp), %edi ## 4-byte Reload
movl -40064(%rbp), %esi ## 4-byte Reload
leaq -40016(%rbp), %rdx
movl -40024(%rbp), %ecx
callq _H
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.13: ## in Loop: Header=BB3_5 Depth=1
movl -40044(%rbp), %eax
addl $1, %eax
movl %eax, -40044(%rbp)
jmp LBB3_5
LBB3_14:
movl -40020(%rbp), %eax
movl %eax, -40068(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_16
## %bb.15:
movl -40068(%rbp), %eax ## 4-byte Reload
addq $40080, %rsp ## imm = 0x9C90
popq %rbp
retq
LBB3_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/26699160.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #20]
add x0, sp, #24
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l___const.main.cmd@PAGE
add x1, x1, l___const.main.cmd@PAGEOFF
mov x2, #80
bl _memcpy
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _show_str
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #10
str w1, [sp, #4] ; 4-byte Folded Spill
bl _pop_sort_normal
ldr w0, [sp, #4] ; 4-byte Folded Reload
bl _putchar
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _show_str
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, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function show_str
_show_str: ; @show_str
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldr x0, [x8, x9, lsl #3]
bl _puts
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function pop_sort_normal
_pop_sort_normal: ; @pop_sort_normal
.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 LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
str wzr, [sp, #12]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w9, w9, #1
ldr w10, [sp, #16]
subs w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-8]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
bl _strcmp
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
str x8, [sp]
ldur x8, [x29, #-8]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
str x8, [x9, x10, lsl #3]
ldr x8, [sp]
ldur x9, [x29, #-8]
ldr w10, [sp, #12]
add w10, w10, #1
str x8, [x9, w10, sxtw #3]
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]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_3
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #16]
add 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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "calc"
l_.str.1: ; @.str.1
.asciz "1234"
l_.str.2: ; @.str.2
.asciz "abcd"
l_.str.3: ; @.str.3
.asciz "ak47"
l_.str.4: ; @.str.4
.asciz "AMP"
l_.str.5: ; @.str.5
.asciz "M16"
l_.str.6: ; @.str.6
.asciz "notepad"
l_.str.7: ; @.str.7
.asciz "tasklist"
l_.str.8: ; @.str.8
.asciz "run"
l_.str.9: ; @.str.9
.asciz "mspaint"
.section __DATA,__const
.p2align 3 ; @__const.main.cmd
l___const.main.cmd:
.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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
leaq -96(%rbp), %rdi
leaq l___const.main.cmd(%rip), %rsi
movl $80, %edx
callq _memcpy
leaq -96(%rbp), %rdi
callq _show_str
leaq -96(%rbp), %rdi
movl $10, %esi
callq _pop_sort_normal
movl $10, %edi
callq _putchar
leaq -96(%rbp), %rdi
callq _show_str
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 $112, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function show_str
_show_str: ## @show_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -12(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _puts
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function pop_sort_normal
_pop_sort_normal: ## @pop_sort_normal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB2_10
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl $0, -20(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
subl -16(%rbp), %ecx
cmpl %ecx, %eax
jge LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
callq _strcmp
cmpl $0, %eax
jle LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -32(%rbp), %rdx
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_3
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_9
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_1
LBB2_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "calc"
L_.str.1: ## @.str.1
.asciz "1234"
L_.str.2: ## @.str.2
.asciz "abcd"
L_.str.3: ## @.str.3
.asciz "ak47"
L_.str.4: ## @.str.4
.asciz "AMP"
L_.str.5: ## @.str.5
.asciz "M16"
L_.str.6: ## @.str.6
.asciz "notepad"
L_.str.7: ## @.str.7
.asciz "tasklist"
L_.str.8: ## @.str.8
.asciz "run"
L_.str.9: ## @.str.9
.asciz "mspaint"
.section __DATA,__const
.p2align 4 ## @__const.main.cmd
l___const.main.cmd:
.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
.subsections_via_symbols
| the_stack_data/36076448.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/112303.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _base64_decodestring ; -- Begin function base64_decodestring
.p2align 2
_base64_decodestring: ; @base64_decodestring
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x2, [x29, #-24]
ldur x3, [x29, #-32]
add x0, sp, #16
mov w1, #-1
bl _base64_decode_init
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
add x9, x8, #1
stur x9, [x29, #-16]
ldrsb w8, [x8]
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_11
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [sp, #12]
add x0, sp, #16
bl _base64_decode_char
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_14
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_11:
add x0, sp, #16
bl _base64_decode_finish
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_14
LBB0_13:
ldr x8, [sp, #48]
ldur x9, [x29, #-24]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB0_14
LBB0_14:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function base64_decode_init
_base64_decode_init: ; @base64_decode_init
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str x2, [sp, #8]
str x3, [sp]
ldr x8, [sp, #24]
str wzr, [x8, #4]
ldr x8, [sp, #24]
str wzr, [x8, #8]
ldr w8, [sp, #20]
ldr x9, [sp, #24]
str w8, [x9]
ldr x8, [sp, #8]
ldr x9, [sp, #24]
str x8, [x9, #32]
ldr x8, [sp, #8]
ldr x9, [sp]
add x8, x8, x9
ldr x9, [sp, #24]
str x8, [x9, #40]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function base64_decode_char
_base64_decode_char: ; @base64_decode_char
.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, _base64@PAGE
add x8, x8, _base64@PAGEOFF
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur w1, [x29, #-20]
ldur x8, [x29, #-16]
ldr w8, [x8, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_2:
ldur w1, [x29, #-20]
adrp x0, _base64@PAGE
add x0, x0, _base64@PAGEOFF
bl _strchr
mov x8, x0
str x8, [sp, #32]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_4:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #32]
subs x8, x8, x9
ldur x9, [x29, #-16]
add x9, x9, #12
ldur x12, [x29, #-16]
ldrsw x10, [x12, #4]
mov x11, x10
add w11, w11, #1
str w11, [x12, #4]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, x10, lsl #2]
ldur x8, [x29, #-16]
ldr w8, [x8, #4]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB2_34
b LBB2_5
LBB2_5:
ldur x8, [x29, #-16]
ldr w8, [x8, #12]
subs w8, w8, #64
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldur x8, [x29, #-16]
ldr w8, [x8, #16]
subs w8, w8, #64
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_8:
ldur x8, [x29, #-16]
ldr w8, [x8, #20]
subs w8, w8, #64
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_9
LBB2_9:
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
subs w8, w8, #64
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_11:
ldur x8, [x29, #-16]
ldr w8, [x8, #20]
subs w8, w8, #64
cset w8, ne
tbnz w8, #0, LBB2_14
b LBB2_12
LBB2_12:
ldur x8, [x29, #-16]
ldr w8, [x8, #16]
ands w8, w8, #0xf
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_14:
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
subs w8, w8, #64
cset w8, ne
tbnz w8, #0, LBB2_17
b LBB2_15
LBB2_15:
ldur x8, [x29, #-16]
ldr w8, [x8, #20]
ands w8, w8, #0x3
cset w8, eq
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_17:
ldur x8, [x29, #-16]
ldr w8, [x8, #20]
subs w8, w8, #64
cset w8, ne
tbnz w8, #0, LBB2_19
b LBB2_18
LBB2_18:
mov w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_20
LBB2_19:
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
subs w8, w8, #64
cset w8, eq
and w10, w8, #0x1
mov w8, #2
mov w9, #3
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_20
LBB2_20:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB2_26
b LBB2_21
LBB2_21:
ldur x9, [x29, #-16]
mov w8, #1
str w8, [x9, #8]
ldur x8, [x29, #-16]
ldr w8, [x8, #20]
subs w8, w8, #64
cset w8, ne
tbnz w8, #0, LBB2_23
b LBB2_22
LBB2_22:
ldur x8, [x29, #-16]
str wzr, [x8, #20]
b LBB2_23
LBB2_23:
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
subs w8, w8, #64
cset w8, ne
tbnz w8, #0, LBB2_25
b LBB2_24
LBB2_24:
ldur x8, [x29, #-16]
str wzr, [x8, #24]
b LBB2_25
LBB2_25:
b LBB2_26
LBB2_26:
ldur x8, [x29, #-16]
ldr w9, [x8, #12]
ldur x8, [x29, #-16]
ldr w8, [x8, #16]
asr w8, w8, #4
orr w8, w8, w9, lsl #2
add x1, sp, #25
strb w8, [sp, #25]
ldur x8, [x29, #-16]
ldr w9, [x8, #16]
ldur x8, [x29, #-16]
ldr w8, [x8, #20]
asr w8, w8, #2
orr w8, w8, w9, lsl #4
strb w8, [sp, #26]
ldur x8, [x29, #-16]
ldr w9, [x8, #20]
ldur x8, [x29, #-16]
ldr w8, [x8, #24]
orr w8, w8, w9, lsl #6
strb w8, [sp, #27]
ldur x0, [x29, #-16]
ldr w2, [sp, #28]
bl _mem_tobuffer
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_28
b LBB2_27
LBB2_27:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_28:
ldur x8, [x29, #-16]
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB2_33
b LBB2_29
LBB2_29:
ldr w8, [sp, #28]
ldur x9, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_31
b LBB2_30
LBB2_30:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_35
LBB2_31:
ldr w10, [sp, #28]
ldur x9, [x29, #-16]
ldr w8, [x9]
subs w8, w8, w10
str w8, [x9]
b LBB2_32
LBB2_32:
b LBB2_33
LBB2_33:
ldur x8, [x29, #-16]
str wzr, [x8, #4]
b LBB2_34
LBB2_34:
stur wzr, [x29, #-4]
b LBB2_35
LBB2_35:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function base64_decode_finish
_base64_decode_finish: ; @base64_decode_finish
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #-1
str w8, [sp, #12]
b LBB3_5
LBB3_2:
ldr x8, [sp]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #-1
str w8, [sp, #12]
b LBB3_5
LBB3_4:
str wzr, [sp, #12]
b LBB3_5
LBB3_5:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mem_tobuffer
_mem_tobuffer: ; @mem_tobuffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
str w2, [sp, #4]
ldr x8, [sp, #16]
ldr x8, [x8, #32]
ldr w9, [sp, #4]
; kill: def $x9 killed $w9
add x8, x8, x9
ldr x9, [sp, #16]
ldr x9, [x9, #40]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB4_3
LBB4_2:
ldr x8, [sp, #16]
ldr x0, [x8, #32]
ldr x1, [sp, #8]
ldr w8, [sp, #4]
mov x2, x8
mov x3, #-1
bl ___memcpy_chk
ldr w8, [sp, #4]
mov x10, x8
ldr x9, [sp, #16]
ldr x8, [x9, #32]
add x8, x8, x10
str x8, [x9, #32]
stur wzr, [x29, #-4]
b LBB4_3
LBB4_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,__const
_base64: ; @base64
.asciz "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _base64_decodestring ## -- Begin function base64_decodestring
.p2align 4, 0x90
_base64_decodestring: ## @base64_decodestring
.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)
movq %rdx, -32(%rbp)
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
leaq -80(%rbp), %rdi
movl $4294967295, %esi ## imm = 0xFFFFFFFF
callq _base64_decode_init
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %eax
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
jne LBB0_3
## %bb.2:
jmp LBB0_11
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, -84(%rbp)
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpl $9, -84(%rbp)
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, -84(%rbp)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
cmpl $13, -84(%rbp)
jne LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -84(%rbp), %esi
leaq -80(%rbp), %rdi
callq _base64_decode_char
cmpl $0, %eax
je LBB0_10
## %bb.9:
movl $-1, -4(%rbp)
jmp LBB0_14
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_11:
leaq -80(%rbp), %rdi
callq _base64_decode_finish
cmpl $0, %eax
je LBB0_13
## %bb.12:
movl $-1, -4(%rbp)
jmp LBB0_14
LBB0_13:
movq -48(%rbp), %rax
movq -24(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
LBB0_14:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function base64_decode_init
_base64_decode_init: ## @base64_decode_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -8(%rbp), %rax
movl $0, 4(%rax)
movq -8(%rbp), %rax
movl $0, 8(%rax)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 32(%rax)
movq -24(%rbp), %rcx
addq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 40(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function base64_decode_char
_base64_decode_char: ## @base64_decode_char
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rax
cmpl $1, 8(%rax)
jne LBB2_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_2:
movl -20(%rbp), %esi
leaq _base64(%rip), %rdi
callq _strchr
movq %rax, -32(%rbp)
cmpq $0, %rax
jne LBB2_4
## %bb.3:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_4:
movq -32(%rbp), %rax
leaq _base64(%rip), %rcx
subq %rcx, %rax
movl %eax, %edx
movq -16(%rbp), %rax
movq -16(%rbp), %rsi
movl 4(%rsi), %ecx
movl %ecx, %edi
addl $1, %edi
movl %edi, 4(%rsi)
movslq %ecx, %rcx
movl %edx, 12(%rax,%rcx,4)
movq -16(%rbp), %rax
cmpl $4, 4(%rax)
jne LBB2_34
## %bb.5:
movq -16(%rbp), %rax
cmpl $64, 12(%rax)
je LBB2_7
## %bb.6:
movq -16(%rbp), %rax
cmpl $64, 16(%rax)
jne LBB2_8
LBB2_7:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_8:
movq -16(%rbp), %rax
cmpl $64, 20(%rax)
jne LBB2_11
## %bb.9:
movq -16(%rbp), %rax
cmpl $64, 24(%rax)
je LBB2_11
## %bb.10:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_11:
movq -16(%rbp), %rax
cmpl $64, 20(%rax)
jne LBB2_14
## %bb.12:
movq -16(%rbp), %rax
movl 16(%rax), %eax
andl $15, %eax
cmpl $0, %eax
je LBB2_14
## %bb.13:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_14:
movq -16(%rbp), %rax
cmpl $64, 24(%rax)
jne LBB2_17
## %bb.15:
movq -16(%rbp), %rax
movl 20(%rax), %eax
andl $3, %eax
cmpl $0, %eax
je LBB2_17
## %bb.16:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_17:
movq -16(%rbp), %rax
cmpl $64, 20(%rax)
jne LBB2_19
## %bb.18:
movl $1, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB2_20
LBB2_19:
movq -16(%rbp), %rax
movl 24(%rax), %edx
movl $3, %eax
movl $2, %ecx
cmpl $64, %edx
cmovel %ecx, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB2_20:
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, -36(%rbp)
cmpl $3, -36(%rbp)
je LBB2_26
## %bb.21:
movq -16(%rbp), %rax
movl $1, 8(%rax)
movq -16(%rbp), %rax
cmpl $64, 20(%rax)
jne LBB2_23
## %bb.22:
movq -16(%rbp), %rax
movl $0, 20(%rax)
LBB2_23:
movq -16(%rbp), %rax
cmpl $64, 24(%rax)
jne LBB2_25
## %bb.24:
movq -16(%rbp), %rax
movl $0, 24(%rax)
LBB2_25:
jmp LBB2_26
LBB2_26:
movq -16(%rbp), %rax
movl 12(%rax), %eax
shll $2, %eax
movq -16(%rbp), %rcx
movl 16(%rcx), %ecx
sarl $4, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -39(%rbp)
movq -16(%rbp), %rax
movl 16(%rax), %eax
shll $4, %eax
movq -16(%rbp), %rcx
movl 20(%rcx), %ecx
sarl $2, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -38(%rbp)
movq -16(%rbp), %rax
movl 20(%rax), %eax
shll $6, %eax
movq -16(%rbp), %rcx
orl 24(%rcx), %eax
## kill: def $al killed $al killed $eax
movb %al, -37(%rbp)
movq -16(%rbp), %rdi
leaq -39(%rbp), %rsi
movl -36(%rbp), %edx
callq _mem_tobuffer
cmpl $0, %eax
je LBB2_28
## %bb.27:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_28:
movq -16(%rbp), %rax
cmpl $0, (%rax)
jl LBB2_33
## %bb.29:
movl -36(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB2_31
## %bb.30:
movl $-1, -4(%rbp)
jmp LBB2_35
LBB2_31:
movl -36(%rbp), %edx
movq -16(%rbp), %rax
movl (%rax), %ecx
subl %edx, %ecx
movl %ecx, (%rax)
## %bb.32:
jmp LBB2_33
LBB2_33:
movq -16(%rbp), %rax
movl $0, 4(%rax)
LBB2_34:
movl $0, -4(%rbp)
LBB2_35:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function base64_decode_finish
_base64_decode_finish: ## @base64_decode_finish
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpl $0, (%rax)
jle LBB3_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB3_5
LBB3_2:
movq -16(%rbp), %rax
cmpl $0, 4(%rax)
je LBB3_4
## %bb.3:
movl $-1, -4(%rbp)
jmp LBB3_5
LBB3_4:
movl $0, -4(%rbp)
LBB3_5:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mem_tobuffer
_mem_tobuffer: ## @mem_tobuffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq -16(%rbp), %rax
movq 32(%rax), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movq -16(%rbp), %rcx
cmpq 40(%rcx), %rax
jb LBB4_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB4_3
LBB4_2:
movq -16(%rbp), %rax
movq 32(%rax), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %eax
movl %eax, %edx
movq $-1, %rcx
callq ___memcpy_chk
movl -28(%rbp), %edx
movq -16(%rbp), %rax
movq 32(%rax), %rcx
movl %edx, %edx
## kill: def $rdx killed $edx
addq %rdx, %rcx
movq %rcx, 32(%rax)
movl $0, -4(%rbp)
LBB4_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @base64
_base64:
.asciz "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
.subsections_via_symbols
| the_stack_data/103266367.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, #944
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
mov x9, sp
mov x8, #10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
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, #48]
mov x9, #80
mul x9, x8, x9
add x8, sp, #136
add x0, x8, x9
bl _gets
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_1
LBB0_4:
str wzr, [sp, #48]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #48]
subs w8, w8, #9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #44]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldrsw x8, [sp, #48]
mov x10, #80
mul x11, x8, x10
add x8, sp, #136
mov x9, x8
add x0, x9, x11
ldrsw x9, [sp, #44]
mul x9, x9, x10
add x1, x8, x9
bl _strcmp
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldrsw x8, [sp, #48]
mov x9, #80
str x9, [sp, #8] ; 8-byte Folded Spill
mul x9, x8, x9
add x8, sp, #136
str x8, [sp, #16] ; 8-byte Folded Spill
add x1, x8, x9
add x0, sp, #56
str x0, [sp, #24] ; 8-byte Folded Spill
mov x2, #80
bl ___strcpy_chk
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [sp, #48]
mul x11, x9, x10
mov x9, x8
add x0, x9, x11
ldrsw x9, [sp, #44]
mul x9, x9, x10
add x1, x8, x9
mov x2, #-1
str x2, [sp, #32] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldrsw x9, [sp, #44]
mul x9, x9, x10
add x0, x8, x9
bl ___strcpy_chk
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_7
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_5
LBB0_14:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #48]
b LBB0_15
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=1
ldrsw x8, [sp, #48]
mov x9, #80
mul x9, x8, x9
add x8, sp, #136
add x8, 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_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_15
LBB0_18:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
bl ___stack_chk_fail
LBB0_20:
mov w0, #0
add sp, sp, #944
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\350\276\223\345\205\245%d\344\270\252\345\233\275\345\256\266\347\232\204\350\213\261\346\226\207\345\220\215:\n"
l_.str.1: ; @.str.1
.asciz "\n\345\255\227\347\254\246\344\270\262\346\216\222\345\272\217\345\220\216:\n"
l_.str.2: ; @.str.2
.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 $912, %rsp ## imm = 0x390
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -900(%rbp)
leaq L_.str(%rip), %rdi
movl $10, %esi
movb $0, %al
callq _printf
movl $0, -904(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -904(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -904(%rbp), %rax
leaq -816(%rbp), %rdi
imulq $80, %rax, %rax
addq %rax, %rdi
callq _gets
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -904(%rbp), %eax
addl $1, %eax
movl %eax, -904(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -904(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
cmpl $9, -904(%rbp)
jge LBB0_14
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -904(%rbp), %eax
addl $1, %eax
movl %eax, -908(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -908(%rbp)
jge LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movslq -904(%rbp), %rax
leaq -816(%rbp), %rdi
imulq $80, %rax, %rax
addq %rax, %rdi
movslq -908(%rbp), %rax
leaq -816(%rbp), %rsi
imulq $80, %rax, %rax
addq %rax, %rsi
callq _strcmp
cmpl $0, %eax
jle LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
leaq -896(%rbp), %rdi
movslq -904(%rbp), %rax
leaq -816(%rbp), %rsi
imulq $80, %rax, %rax
addq %rax, %rsi
movl $80, %edx
callq ___strcpy_chk
movslq -904(%rbp), %rax
leaq -816(%rbp), %rdi
imulq $80, %rax, %rax
addq %rax, %rdi
movslq -908(%rbp), %rax
leaq -816(%rbp), %rsi
imulq $80, %rax, %rax
addq %rax, %rsi
movq $-1, %rdx
callq ___strcpy_chk
movslq -908(%rbp), %rax
leaq -816(%rbp), %rdi
imulq $80, %rax, %rax
addq %rax, %rdi
leaq -896(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movl -908(%rbp), %eax
addl $1, %eax
movl %eax, -908(%rbp)
jmp LBB0_7
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movl -904(%rbp), %eax
addl $1, %eax
movl %eax, -904(%rbp)
jmp LBB0_5
LBB0_14:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -904(%rbp)
LBB0_15: ## =>This Inner Loop Header: Depth=1
cmpl $10, -904(%rbp)
jge LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movslq -904(%rbp), %rax
leaq -816(%rbp), %rsi
imulq $80, %rax, %rax
addq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movl -904(%rbp), %eax
addl $1, %eax
movl %eax, -904(%rbp)
jmp LBB0_15
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_20
## %bb.19:
xorl %eax, %eax
addq $912, %rsp ## imm = 0x390
popq %rbp
retq
LBB0_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\350\276\223\345\205\245%d\344\270\252\345\233\275\345\256\266\347\232\204\350\213\261\346\226\207\345\220\215:\n"
L_.str.1: ## @.str.1
.asciz "\n\345\255\227\347\254\246\344\270\262\346\216\222\345\272\217\345\220\216:\n"
L_.str.2: ## @.str.2
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/135445.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_9
LBB0_2:
ldur w8, [x29, #-4]
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_7
b LBB0_3
LBB0_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-4]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_6
LBB0_5:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
b LBB0_8
LBB0_7:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the number:\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Neither even nor odd.\n"
l_.str.3: ; @.str.3
.asciz "Even number.\n"
l_.str.4: ; @.str.4
.asciz "Divisible by 4.\n"
l_.str.5: ; @.str.5
.asciz "Not exactly divisible by 4.\n"
l_.str.6: ; @.str.6
.asciz "Odd number and not exactly divisible by 4.\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
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $0, -4(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_2:
movl -4(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_7
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_5
## %bb.4:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
jmp LBB0_8
LBB0_7:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8:
jmp LBB0_9
LBB0_9:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the number:\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Neither even nor odd.\n"
L_.str.3: ## @.str.3
.asciz "Even number.\n"
L_.str.4: ## @.str.4
.asciz "Divisible by 4.\n"
L_.str.5: ## @.str.5
.asciz "Not exactly divisible by 4.\n"
L_.str.6: ## @.str.6
.asciz "Odd number and not exactly divisible by 4.\n"
.subsections_via_symbols
| the_stack_data/206391878.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-28]
adrp x8, l___const.main.str@PAGE
add x8, x8, l___const.main.str@PAGEOFF
ldr x9, [x8]
sub x0, x29, #24
stur x9, [x29, #-24]
ldur x8, [x8, #5]
stur x8, [x0, #5]
mov w8, #4
str w8, [sp, #32]
bl _strlen
ldrsw x8, [sp, #32]
subs x8, x0, x8
subs x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #28]
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #24]
ldr w9, [sp, #32]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #28]
mov x8, x9
subs w8, w8, #1
str w8, [sp, #28]
sub x8, x29, #24
ldrsb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w8, [sp, #28]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
sub x0, x29, #24
bl _strlen
subs x8, x0, #1
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #28]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_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, LBB0_12
b LBB0_11
LBB0_11:
bl ___stack_chk_fail
LBB0_12:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.str: ; @__const.main.str
.asciz "PatternHouse"
l_.str: ; @.str
.asciz "%c "
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
movq L___const.main.str(%rip), %rax
movq %rax, -21(%rbp)
movl L___const.main.str+8(%rip), %eax
movl %eax, -13(%rbp)
movb L___const.main.str+12(%rip), %al
movb %al, -9(%rbp)
movl $4, -32(%rbp)
leaq -21(%rbp), %rdi
callq _strlen
movslq -32(%rbp), %rcx
subq %rcx, %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movl $0, -40(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -40(%rbp), %eax
movl -32(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -44(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -44(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -36(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -36(%rbp)
cltq
movsbl -21(%rbp,%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
cmpl $-1, -36(%rbp)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
leaq -21(%rbp), %rdi
callq _strlen
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_1
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.str: ## @__const.main.str
.asciz "PatternHouse"
L_.str: ## @.str
.asciz "%c "
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
| the_stack_data/68886903.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rand_int ; -- Begin function rand_int
.p2align 2
_rand_int: ; @rand_int
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
ldur w8, [x29, #-4]
str w8, [sp, #4] ; 4-byte Folded Spill
bl _rand
ldr w8, [sp, #4] ; 4-byte Folded Reload
ldr w9, [sp, #8]
add w9, w9, #1
ldur w10, [x29, #-4]
subs w10, w9, w10
sdiv w9, w0, w10
mul w9, w9, w10
subs w9, w0, w9
add w0, w8, w9
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _one_dim ; -- Begin function one_dim
.p2align 2
_one_dim: ; @one_dim
.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]
strh wzr, [sp, #14]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrh w8, [sp, #14]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov w0, #-99
mov w1, #99
bl _rand_int
ldr x8, [sp, #16]
ldrh w9, [sp, #14]
; kill: def $x9 killed $w9
str w0, [x8, x9, lsl #2]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldrh w8, [sp, #14]
add w8, w8, #1
strh w8, [sp, #14]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #40]
str wzr, [sp, #36]
str wzr, [sp, #32]
mov w0, #15
add x1, sp, #44
bl _one_dim
strh wzr, [sp, #30]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrh w8, [sp, #30]
subs w8, w8, #15
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #30]
mov x9, x8
add x8, sp, #44
str x8, [sp, #16] ; 8-byte Folded Spill
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
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrh w9, [sp, #30]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #30]
mov x9, x8
add x8, sp, #44
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #30]
mov x9, x8
add x8, sp, #44
ldr w8, [x8, x9, lsl #2]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #30]
str w8, [sp, #36]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #30]
add w8, w8, #1
strh w8, [sp, #30]
b LBB2_1
LBB2_8:
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
bl ___stack_chk_fail
LBB2_10:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d \n"
l_.str.1: ; @.str.1
.asciz "res : %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rand_int ## -- Begin function rand_int
.p2align 4, 0x90
_rand_int: ## @rand_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
callq _rand
movl -8(%rbp), %ecx
addl $1, %ecx
subl -4(%rbp), %ecx
cltd
idivl %ecx
movl -12(%rbp), %eax ## 4-byte Reload
addl %edx, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _one_dim ## -- Begin function one_dim
.p2align 4, 0x90
_one_dim: ## @one_dim
.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)
movw $0, -18(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movzwl -18(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $4294967197, %edi ## imm = 0xFFFFFF9D
movl $99, %esi
callq _rand_int
movl %eax, %edx
movq -16(%rbp), %rax
movzwl -18(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movw -18(%rbp), %ax
addw $1, %ax
movw %ax, -18(%rbp)
jmp LBB1_1
LBB1_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -84(%rbp)
movl $0, -88(%rbp)
movl $0, -92(%rbp)
leaq -80(%rbp), %rsi
movl $15, %edi
callq _one_dim
movw $0, -94(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movzwl -94(%rbp), %eax
cmpl $15, %eax
jge LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movzwl -94(%rbp), %eax
## kill: def $rax killed $eax
movl -80(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movzwl -94(%rbp), %eax
## kill: def $rax killed $eax
cmpl $0, -80(%rbp,%rax,4)
jle LBB2_6
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movzwl -94(%rbp), %eax
## kill: def $rax killed $eax
movl -80(%rbp,%rax,4), %eax
cmpl -92(%rbp), %eax
jle LBB2_6
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movzwl -94(%rbp), %eax
## kill: def $rax killed $eax
movl -80(%rbp,%rax,4), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movzwl -94(%rbp), %eax
movl %eax, -88(%rbp)
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movw -94(%rbp), %ax
addw $1, %ax
movw %ax, -94(%rbp)
jmp LBB2_1
LBB2_8:
movl -88(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_10
## %bb.9:
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
LBB2_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d \n"
L_.str.1: ## @.str.1
.asciz "res : %d\n"
.subsections_via_symbols
| the_stack_data/97011708.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _minmax ; -- Begin function minmax
.p2align 2
_minmax: ; @minmax
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-36]
ldur x8, [x29, #-8]
ldr w8, [x8]
str w8, [sp, #40]
mov w8, #1
str w8, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-36]
ldr w8, [sp, #36]
ldur x9, [x29, #-24]
str w8, [x9]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #40]
ldr w8, [sp, #36]
ldur x9, [x29, #-32]
str w8, [x9]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_1
LBB0_8:
ldur x8, [x29, #-24]
ldr w8, [x8]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-36]
; implicit-def: $x11
mov x11, x8
ldur x8, [x29, #-32]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #40]
; 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@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
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, #32
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_4:
add x0, sp, #32
mov w1, #10
add x2, sp, #24
add x3, sp, #20
bl _minmax
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n%d\n%d\n%d\n"
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 _minmax ## -- Begin function minmax
.p2align 4, 0x90
_minmax: ## @minmax
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -40(%rbp)
movl $1, -44(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -36(%rbp), %eax
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
movl -44(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -40(%rbp), %eax
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -40(%rbp)
movl -44(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_8:
movq -24(%rbp), %rax
movl (%rax), %esi
movl -36(%rbp), %edx
movq -32(%rbp), %rax
movl (%rax), %ecx
movl -40(%rbp), %r8d
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $0, -64(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -64(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -64(%rbp), %rax
leaq -48(%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 -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB1_1
LBB1_4:
leaq -48(%rbp), %rdi
movl $10, %esi
leaq -56(%rbp), %rdx
leaq -60(%rbp), %rcx
callq _minmax
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_6
## %bb.5:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n%d\n%d\n%d\n"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/3261998.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-24]
stur w0, [x29, #-28]
str x1, [sp, #24]
str wzr, [sp, #20]
mov w8, #17
str w8, [sp, #16]
mov w8, #1
str w8, [sp, #12]
ldr w8, [sp, #20]
str w8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w8, #65
sturb w8, [x29, #-1]
ldr w9, [sp, #12]
ldr w8, [sp, #8]
add w8, w8, w9
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
movl %edi, -28(%rbp)
movq %rsi, -40(%rbp)
movl $0, -44(%rbp)
movl $17, -48(%rbp)
movl $1, -52(%rbp)
movl -44(%rbp), %eax
movl %eax, -56(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
cmpl -48(%rbp), %eax
jle LBB0_3
## %bb.2:
jmp LBB0_4
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb $65, -1(%rbp)
movl -52(%rbp), %eax
addl -56(%rbp), %eax
movl %eax, -56(%rbp)
jmp LBB0_1
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/87639020.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_xeye_version ; -- Begin function get_xeye_version
.p2align 2
_get_xeye_version: ; @get_xeye_version
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [x9]
adrp x0, _get_xeye_version.buf@PAGE
add x0, x0, _get_xeye_version.buf@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #0
mov x2, #100
adrp x3, l_.str@PAGE
add x3, x3, l_.str@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _get_xeye_compile_by ; -- Begin function get_xeye_compile_by
.p2align 2
_get_xeye_compile_by: ; @get_xeye_compile_by
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [x9]
adrp x0, _get_xeye_compile_by.buf@PAGE
add x0, x0, _get_xeye_compile_by.buf@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #0
mov x2, #100
adrp x3, l_.str@PAGE
add x3, x3, l_.str@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _get_xeye_compile_host ; -- Begin function get_xeye_compile_host
.p2align 2
_get_xeye_compile_host: ; @get_xeye_compile_host
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x0, _get_xeye_compile_host.buf@PAGE
add x0, x0, _get_xeye_compile_host.buf@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #0
mov x2, #100
adrp x3, l_.str@PAGE
add x3, x3, l_.str@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _get_xeye_compile_date ; -- Begin function get_xeye_compile_date
.p2align 2
_get_xeye_compile_date: ; @get_xeye_compile_date
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [x9]
adrp x0, _get_xeye_compile_date.buf@PAGE
add x0, x0, _get_xeye_compile_date.buf@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #0
mov x2, #100
adrp x3, l_.str@PAGE
add x3, x3, l_.str@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _get_xeye_compile_time ; -- Begin function get_xeye_compile_time
.p2align 2
_get_xeye_compile_time: ; @get_xeye_compile_time
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
str x8, [x9]
adrp x0, _get_xeye_compile_time.buf@PAGE
add x0, x0, _get_xeye_compile_time.buf@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #0
mov x2, #100
adrp x3, l_.str@PAGE
add x3, x3, l_.str@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_get_xeye_version.buf,100,0 ; @get_xeye_version.buf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "V--commit"
.zerofill __DATA,__bss,_get_xeye_compile_by.buf,100,0 ; @get_xeye_compile_by.buf
l_.str.2: ; @.str.2
.asciz "haofeng"
.zerofill __DATA,__bss,_get_xeye_compile_host.buf,100,0 ; @get_xeye_compile_host.buf
l_.str.3: ; @.str.3
.asciz "system"
.zerofill __DATA,__bss,_get_xeye_compile_date.buf,100,0 ; @get_xeye_compile_date.buf
l_.str.4: ; @.str.4
.asciz "2019-08-12"
.zerofill __DATA,__bss,_get_xeye_compile_time.buf,100,0 ; @get_xeye_compile_time.buf
l_.str.5: ; @.str.5
.asciz "14:50:12"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_xeye_version ## -- Begin function get_xeye_version
.p2align 4, 0x90
_get_xeye_version: ## @get_xeye_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _get_xeye_version.buf(%rip), %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str(%rip), %rcx
leaq L_.str.1(%rip), %r8
movb $0, %al
callq ___sprintf_chk
leaq _get_xeye_version.buf(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_xeye_compile_by ## -- Begin function get_xeye_compile_by
.p2align 4, 0x90
_get_xeye_compile_by: ## @get_xeye_compile_by
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _get_xeye_compile_by.buf(%rip), %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str(%rip), %rcx
leaq L_.str.2(%rip), %r8
movb $0, %al
callq ___sprintf_chk
leaq _get_xeye_compile_by.buf(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_xeye_compile_host ## -- Begin function get_xeye_compile_host
.p2align 4, 0x90
_get_xeye_compile_host: ## @get_xeye_compile_host
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _get_xeye_compile_host.buf(%rip), %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str(%rip), %rcx
leaq L_.str.3(%rip), %r8
movb $0, %al
callq ___sprintf_chk
leaq _get_xeye_compile_host.buf(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_xeye_compile_date ## -- Begin function get_xeye_compile_date
.p2align 4, 0x90
_get_xeye_compile_date: ## @get_xeye_compile_date
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _get_xeye_compile_date.buf(%rip), %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str(%rip), %rcx
leaq L_.str.4(%rip), %r8
movb $0, %al
callq ___sprintf_chk
leaq _get_xeye_compile_date.buf(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_xeye_compile_time ## -- Begin function get_xeye_compile_time
.p2align 4, 0x90
_get_xeye_compile_time: ## @get_xeye_compile_time
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _get_xeye_compile_time.buf(%rip), %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str(%rip), %rcx
leaq L_.str.5(%rip), %r8
movb $0, %al
callq ___sprintf_chk
leaq _get_xeye_compile_time.buf(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_get_xeye_version.buf,100,4 ## @get_xeye_version.buf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "V--commit"
.zerofill __DATA,__bss,_get_xeye_compile_by.buf,100,4 ## @get_xeye_compile_by.buf
L_.str.2: ## @.str.2
.asciz "haofeng"
.zerofill __DATA,__bss,_get_xeye_compile_host.buf,100,4 ## @get_xeye_compile_host.buf
L_.str.3: ## @.str.3
.asciz "system"
.zerofill __DATA,__bss,_get_xeye_compile_date.buf,100,4 ## @get_xeye_compile_date.buf
L_.str.4: ## @.str.4
.asciz "2019-08-12"
.zerofill __DATA,__bss,_get_xeye_compile_time.buf,100,4 ## @get_xeye_compile_time.buf
L_.str.5: ## @.str.5
.asciz "14:50:12"
.subsections_via_symbols
| the_stack_data/13303.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x8, #3
stur x8, [x29, #-16]
mov x8, #4
str x8, [sp, #24]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%li\n"
l_.str.1: ; @.str.1
.asciz "%ld\n"
l_.str.2: ; @.str.2
.asciz "%lx\n"
l_.str.3: ; @.str.3
.asciz "%lu\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)
movq $3, -16(%rbp)
movq $4, -24(%rbp)
movq -16(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rsi
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 "%li\n"
L_.str.1: ## @.str.1
.asciz "%ld\n"
L_.str.2: ## @.str.2
.asciz "%lx\n"
L_.str.3: ## @.str.3
.asciz "%lu\n"
.subsections_via_symbols
| the_stack_data/34445.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 "if $(NT)\n"
l_.str.1: ; @.str.1
.asciz "{\n"
l_.str.2: ; @.str.2
.asciz "SLASH ?= \\\\ ;\n"
l_.str.3: ; @.str.3
.asciz "}\n"
l_.str.4: ; @.str.4
.asciz "SLASH ?= / ;\n"
l_.str.5: ; @.str.5
.asciz "rule find-to-root ( dir : patterns + )\n"
l_.str.6: ; @.str.6
.asciz "local globs = [ GLOB $(dir) : $(patterns) ] ;\n"
l_.str.7: ; @.str.7
.asciz "while ! $(globs) && $(dir:P) != $(dir)\n"
l_.str.8: ; @.str.8
.asciz "dir = $(dir:P) ;\n"
l_.str.9: ; @.str.9
.asciz "globs = [ GLOB $(dir) : $(patterns) ] ;\n"
l_.str.10: ; @.str.10
.asciz "return $(globs) ;\n"
l_.str.11: ; @.str.11
.asciz ".boost-build-file = ;\n"
l_.str.12: ; @.str.12
.asciz ".bootstrap-file = ;\n"
l_.str.13: ; @.str.13
.asciz "BOOST_BUILD_PATH.user-value = $(BOOST_BUILD_PATH) ;\n"
l_.str.14: ; @.str.14
.asciz "if ! $(BOOST_BUILD_PATH) && $(UNIX)\n"
l_.str.15: ; @.str.15
.asciz "BOOST_BUILD_PATH = /usr/share/boost-build ;\n"
l_.str.16: ; @.str.16
.asciz "rule _poke ( module-name ? : variables + : value * )\n"
l_.str.17: ; @.str.17
.asciz "module $(<)\n"
l_.str.18: ; @.str.18
.asciz "$(>) = $(3) ;\n"
l_.str.19: ; @.str.19
.asciz "rule boost-build ( dir ? )\n"
l_.str.20: ; @.str.20
.asciz "if $(.bootstrap-file)\n"
l_.str.21: ; @.str.21
.asciz "ECHO \"Error: Illegal attempt to re-bootstrap the build system by invoking\" ;\n"
l_.str.22: ; @.str.22
.asciz "ECHO ;\n"
l_.str.23: ; @.str.23
.asciz "ECHO \" 'boost-build\" $(dir) \";'\" ;\n"
l_.str.24: ; @.str.24
.asciz "EXIT \"Please consult the documentation at 'http://www.boost.org'.\" ;\n"
l_.str.25: ; @.str.25
.asciz "BOOST_BUILD_PATH = $(dir:R=$(.boost-build-file:D)) $(BOOST_BUILD_PATH) ;\n"
l_.str.26: ; @.str.26
.asciz "_poke .ENVIRON : BOOST_BUILD_PATH : $(BOOST_BUILD_PATH) ;\n"
l_.str.27: ; @.str.27
.asciz "local bootstrap-file = [ GLOB $(BOOST_BUILD_PATH) : bootstrap.jam ] ;\n"
l_.str.28: ; @.str.28
.asciz ".bootstrap-file = $(bootstrap-file[1]) ;\n"
l_.str.29: ; @.str.29
.asciz "if ! $(.bootstrap-file)\n"
l_.str.30: ; @.str.30
.asciz "ECHO \"Unable to load Boost.Build: could not find build system.\" ;\n"
l_.str.31: ; @.str.31
.asciz "ECHO --------------------------------------------------------- ;\n"
l_.str.32: ; @.str.32
.asciz "ECHO \"$(.boost-build-file) attempted to load the build system by invoking\" ;\n"
l_.str.33: ; @.str.33
.asciz "ECHO \"but we were unable to find \\\"bootstrap.jam\\\" in the specified directory\" ;\n"
l_.str.34: ; @.str.34
.asciz "ECHO \"or in BOOST_BUILD_PATH (searching \"$(BOOST_BUILD_PATH:J=\", \")\").\" ;\n"
l_.str.35: ; @.str.35
.asciz "if [ MATCH .*(--debug-configuration).* : $(ARGV) ]\n"
l_.str.36: ; @.str.36
.asciz "ECHO \"notice: loading Boost.Build from\"\n"
l_.str.37: ; @.str.37
.asciz "[ NORMALIZE_PATH $(.bootstrap-file:D) ] ;\n"
l_.str.38: ; @.str.38
.asciz "include $(.bootstrap-file) ;\n"
l_.str.39: ; @.str.39
.asciz "if [ MATCH .*(b2).* : $(ARGV[1]:BL) ] \n"
l_.str.40: ; @.str.40
.asciz "|| [ MATCH .*(bjam).* : $(ARGV[1]:BL) ]\n"
l_.str.41: ; @.str.41
.asciz "|| $(BOOST_ROOT) # A temporary measure so Jam works with Boost.Build v1.\n"
l_.str.42: ; @.str.42
.asciz "local search-path = $(BOOST_BUILD_PATH) $(BOOST_ROOT) ;\n"
l_.str.43: ; @.str.43
.asciz "local self = [ SELF_PATH ] ;\n"
l_.str.44: ; @.str.44
.asciz "local boost-build-relative = ../../share/boost-build ;\n"
l_.str.45: ; @.str.45
.asciz "local self-based-path = [ NORMALIZE_PATH $(boost-build-relative:R=$(self)) ] ;\n"
l_.str.46: ; @.str.46
.asciz "local boost-build-files =\n"
l_.str.47: ; @.str.47
.asciz "[ find-to-root [ PWD ] : boost-build.jam ]\n"
l_.str.48: ; @.str.48
.asciz "[ GLOB $(self-based-path) : boost-build.jam ]\n"
l_.str.49: ; @.str.49
.asciz "[ GLOB $(search-path) : boost-build.jam ] ;\n"
l_.str.50: ; @.str.50
.asciz ".boost-build-file = $(boost-build-files[1]) ;\n"
l_.str.51: ; @.str.51
.asciz "if ! $(.boost-build-file)\n"
l_.str.52: ; @.str.52
.asciz "ECHO \"Unable to load Boost.Build: could not find \\\"boost-build.jam\\\"\" ;\n"
l_.str.53: ; @.str.53
.asciz "ECHO --------------------------------------------------------------- ;\n"
l_.str.54: ; @.str.54
.asciz "if ! [ MATCH .*(bjam).* : $(ARGV[1]:BL) ]\n"
l_.str.55: ; @.str.55
.asciz "ECHO \"BOOST_ROOT must be set, either in the environment, or \" ;\n"
l_.str.56: ; @.str.56
.asciz "ECHO \"on the command-line with -sBOOST_ROOT=..., to the root\" ;\n"
l_.str.57: ; @.str.57
.asciz "ECHO \"of the boost installation.\" ;\n"
l_.str.58: ; @.str.58
.asciz "ECHO \"Attempted search from\" [ PWD ] \"up to the root\" ;\n"
l_.str.59: ; @.str.59
.asciz "ECHO \"at\" $(self-based-path) ;\n"
l_.str.60: ; @.str.60
.asciz "ECHO \"and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: \"$(search-path:J=\", \")\".\" ;\n"
l_.str.61: ; @.str.61
.asciz "ECHO \"notice: found boost-build.jam at\"\n"
l_.str.62: ; @.str.62
.asciz "[ NORMALIZE_PATH $(.boost-build-file) ] ;\n"
l_.str.63: ; @.str.63
.asciz "include $(.boost-build-file) ;\n"
l_.str.64: ; @.str.64
.asciz "ECHO \"Unable to load Boost.Build\" ;\n"
l_.str.65: ; @.str.65
.asciz "ECHO -------------------------- ;\n"
l_.str.66: ; @.str.66
.asciz "ECHO \"\\\"$(.boost-build-file)\\\" was found by searching from\" [ PWD ] \"up to the root\" ;\n"
l_.str.67: ; @.str.67
.asciz "ECHO \"However, it failed to call the \\\"boost-build\\\" rule to indicate\" ;\n"
l_.str.68: ; @.str.68
.asciz "ECHO \"the location of the build system.\" ;\n"
l_.str.69: ; @.str.69
.asciz "else\n"
l_.str.70: ; @.str.70
.asciz "local SUPPORTED_TOOLSETS = \"BORLANDC\" \"VC7\" \"VISUALC\" \"VISUALC16\" \"INTELC\" \"WATCOM\"\n"
l_.str.71: ; @.str.71
.asciz "\"MINGW\" \"LCC\" ;\n"
l_.str.72: ; @.str.72
.asciz "TOOLSET = \"\" ;\n"
l_.str.73: ; @.str.73
.asciz "if $(JAM_TOOLSET)\n"
l_.str.74: ; @.str.74
.asciz "local t ;\n"
l_.str.75: ; @.str.75
.asciz "for t in $(SUPPORTED_TOOLSETS)\n"
l_.str.76: ; @.str.76
.asciz "$(t) = $($(t):J=\" \") ; # reconstitute paths with spaces in them\n"
l_.str.77: ; @.str.77
.asciz "if $(t) = $(JAM_TOOLSET) { TOOLSET = $(t) ; }\n"
l_.str.78: ; @.str.78
.asciz "if ! $(TOOLSET)\n"
l_.str.79: ; @.str.79
.asciz "ECHO \"The JAM_TOOLSET environment variable is defined but its value\" ;\n"
l_.str.80: ; @.str.80
.asciz "ECHO \"is invalid, please use one of the following:\" ;\n"
l_.str.81: ; @.str.81
.asciz "ECHO ;\n"
l_.str.82: ; @.str.82
.asciz "for t in $(SUPPORTED_TOOLSETS) { ECHO \" \" $(t) ; }\n"
l_.str.83: ; @.str.83
.asciz "EXIT ;\n"
l_.str.84: ; @.str.84
.asciz "if $(BCCROOT)\n"
l_.str.85: ; @.str.85
.asciz "TOOLSET = BORLANDC ;\n"
l_.str.86: ; @.str.86
.asciz "BORLANDC = $(BCCROOT:J=\" \") ;\n"
l_.str.87: ; @.str.87
.asciz "else if $(MSVC)\n"
l_.str.88: ; @.str.88
.asciz "TOOLSET = VISUALC16 ;\n"
l_.str.89: ; @.str.89
.asciz "VISUALC16 = $(MSVC:J=\" \") ;\n"
l_.str.90: ; @.str.90
.asciz "else if $(MSVCNT)\n"
l_.str.91: ; @.str.91
.asciz "TOOLSET = VISUALC ;\n"
l_.str.92: ; @.str.92
.asciz "VISUALC = $(MSVCNT:J=\" \") ;\n"
l_.str.93: ; @.str.93
.asciz "else if $(MSVCDir)\n"
l_.str.94: ; @.str.94
.asciz "VISUALC = $(MSVCDir:J=\" \") ;\n"
l_.str.95: ; @.str.95
.asciz "else if $(MINGW)\n"
l_.str.96: ; @.str.96
.asciz "TOOLSET = MINGW ;\n"
l_.str.97: ; @.str.97
.asciz "ECHO \"Jam cannot be run because, either:\" ;\n"
l_.str.98: ; @.str.98
.asciz "ECHO \" a. You didn't set BOOST_ROOT to indicate the root of your\" ;\n"
l_.str.99: ; @.str.99
.asciz "ECHO \" Boost installation.\" ;\n"
l_.str.100: ; @.str.100
.asciz "ECHO \" b. You are trying to use stock Jam but didn't indicate which\" ;\n"
l_.str.101: ; @.str.101
.asciz "ECHO \" compilation toolset to use. To do so, follow these simple\" ;\n"
l_.str.102: ; @.str.102
.asciz "ECHO \" instructions:\" ;\n"
l_.str.103: ; @.str.103
.asciz "ECHO \" - define one of the following environment variable, with the\" ;\n"
l_.str.104: ; @.str.104
.asciz "ECHO \" appropriate value according to this list:\" ;\n"
l_.str.105: ; @.str.105
.asciz "ECHO \" Variable Toolset Description\" ;\n"
l_.str.106: ; @.str.106
.asciz "ECHO \" BORLANDC Borland C++ BC++ install path\" ;\n"
l_.str.107: ; @.str.107
.asciz "ECHO \" VISUALC Microsoft Visual C++ VC++ install path\" ;\n"
l_.str.108: ; @.str.108
.asciz "ECHO \" VISUALC16 Microsoft Visual C++ 16 bit VC++ 16 bit install\" ;\n"
l_.str.109: ; @.str.109
.asciz "ECHO \" INTELC Intel C/C++ IC++ install path\" ;\n"
l_.str.110: ; @.str.110
.asciz "ECHO \" WATCOM Watcom C/C++ Watcom install path\" ;\n"
l_.str.111: ; @.str.111
.asciz "ECHO \" MINGW MinGW (gcc) MinGW install path\" ;\n"
l_.str.112: ; @.str.112
.asciz "ECHO \" LCC Win32-LCC LCC-Win32 install path\" ;\n"
l_.str.113: ; @.str.113
.asciz "ECHO \" - define the JAM_TOOLSET environment variable with the *name*\" ;\n"
l_.str.114: ; @.str.114
.asciz "ECHO \" of the toolset variable you want to use.\" ;\n"
l_.str.115: ; @.str.115
.asciz "ECHO \" e.g.: set VISUALC=C:\\\\Visual6\" ;\n"
l_.str.116: ; @.str.116
.asciz "ECHO \" set JAM_TOOLSET=VISUALC\" ;\n"
l_.str.117: ; @.str.117
.asciz "EXIT ;\n"
l_.str.118: ; @.str.118
.asciz "CP ?= copy ;\n"
l_.str.119: ; @.str.119
.asciz "RM ?= del /f/q ;\n"
l_.str.120: ; @.str.120
.asciz "SLASH ?= \\\\ ;\n"
l_.str.121: ; @.str.121
.asciz "SUFLIB ?= .lib ;\n"
l_.str.122: ; @.str.122
.asciz "SUFOBJ ?= .obj ;\n"
l_.str.123: ; @.str.123
.asciz "SUFEXE ?= .exe ;\n"
l_.str.124: ; @.str.124
.asciz "if $(TOOLSET) = BORLANDC\n"
l_.str.125: ; @.str.125
.asciz "ECHO \"Compiler is Borland C++\" ;\n"
l_.str.126: ; @.str.126
.asciz "AR ?= tlib /C /P64 ;\n"
l_.str.127: ; @.str.127
.asciz "CC ?= bcc32 ;\n"
l_.str.128: ; @.str.128
.asciz "CCFLAGS ?= -q -y -d -v -w-par -w-ccc -w-rch -w-pro -w-aus ;\n"
l_.str.129: ; @.str.129
.asciz "C++ ?= bcc32 ;\n"
l_.str.130: ; @.str.130
.asciz "C++FLAGS ?= -q -y -d -v -w-par -w-ccc -w-rch -w-pro -w-aus -P ;\n"
l_.str.131: ; @.str.131
.asciz "LINK ?= $(CC) ;\n"
l_.str.132: ; @.str.132
.asciz "LINKFLAGS ?= $(CCFLAGS) ;\n"
l_.str.133: ; @.str.133
.asciz "STDLIBPATH ?= $(BORLANDC)\\\\lib ;\n"
l_.str.134: ; @.str.134
.asciz "STDHDRS ?= $(BORLANDC)\\\\include ;\n"
l_.str.135: ; @.str.135
.asciz "NOARSCAN ?= true ;\n"
l_.str.136: ; @.str.136
.asciz "else if $(TOOLSET) = VISUALC16\n"
l_.str.137: ; @.str.137
.asciz "ECHO \"Compiler is Microsoft Visual C++ 16 bit\" ;\n"
l_.str.138: ; @.str.138
.asciz "AR ?= lib /nologo ;\n"
l_.str.139: ; @.str.139
.asciz "CC ?= cl /nologo ;\n"
l_.str.140: ; @.str.140
.asciz "CCFLAGS ?= /D \\\"WIN\\\" ;\n"
l_.str.141: ; @.str.141
.asciz "C++ ?= $(CC) ;\n"
l_.str.142: ; @.str.142
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
l_.str.143: ; @.str.143
.asciz "LINKLIBS ?=\n"
l_.str.144: ; @.str.144
.asciz "\\\"$(VISUALC16)\\\\lib\\\\mlibce.lib\\\"\n"
l_.str.145: ; @.str.145
.asciz "\\\"$(VISUALC16)\\\\lib\\\\oldnames.lib\\\"\n"
l_.str.146: ; @.str.146
.asciz ";\n"
l_.str.147: ; @.str.147
.asciz "LINKLIBS ?= ;\n"
l_.str.148: ; @.str.148
.asciz "OPTIM ?= \"\" ;\n"
l_.str.149: ; @.str.149
.asciz "STDHDRS ?= $(VISUALC16)\\\\include ;\n"
l_.str.150: ; @.str.150
.asciz "UNDEFFLAG ?= \"/u _\" ;\n"
l_.str.151: ; @.str.151
.asciz "else if $(TOOLSET) = VISUALC\n"
l_.str.152: ; @.str.152
.asciz "ECHO \"Compiler is Microsoft Visual C++\" ;\n"
l_.str.153: ; @.str.153
.asciz "AR ?= lib ;\n"
l_.str.154: ; @.str.154
.asciz "AS ?= masm386 ;\n"
l_.str.155: ; @.str.155
.asciz "CCFLAGS ?= \"\" ;\n"
l_.str.156: ; @.str.156
.asciz "LINK ?= link /nologo ;\n"
l_.str.157: ; @.str.157
.asciz "LINKFLAGS ?= \"\" ;\n"
l_.str.158: ; @.str.158
.asciz "LINKLIBS ?= \\\"$(VISUALC)\\\\lib\\\\advapi32.lib\\\"\n"
l_.str.159: ; @.str.159
.asciz "\\\"$(VISUALC)\\\\lib\\\\gdi32.lib\\\"\n"
l_.str.160: ; @.str.160
.asciz "\\\"$(VISUALC)\\\\lib\\\\user32.lib\\\"\n"
l_.str.161: ; @.str.161
.asciz "\\\"$(VISUALC)\\\\lib\\\\kernel32.lib\\\" ;\n"
l_.str.162: ; @.str.162
.asciz "STDHDRS ?= $(VISUALC)\\\\include ;\n"
l_.str.163: ; @.str.163
.asciz "else if $(TOOLSET) = VC7\n"
l_.str.164: ; @.str.164
.asciz "ECHO \"Compiler is Microsoft Visual C++ .NET\" ;\n"
l_.str.165: ; @.str.165
.asciz "LINKLIBS ?= \\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\advapi32.lib\\\"\n"
l_.str.166: ; @.str.166
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\gdi32.lib\\\"\n"
l_.str.167: ; @.str.167
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\user32.lib\\\"\n"
l_.str.168: ; @.str.168
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\kernel32.lib\\\" ;\n"
l_.str.169: ; @.str.169
.asciz "STDHDRS ?= \\\"$(VISUALC)\\\\include\\\"\n"
l_.str.170: ; @.str.170
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\include\\\" ;\n"
l_.str.171: ; @.str.171
.asciz "else if $(TOOLSET) = INTELC\n"
l_.str.172: ; @.str.172
.asciz "ECHO \"Compiler is Intel C/C++\" ;\n"
l_.str.173: ; @.str.173
.asciz "if ! $(VISUALC)\n"
l_.str.174: ; @.str.174
.asciz "ECHO \"As a special exception, when using the Intel C++ compiler, you need\" ;\n"
l_.str.175: ; @.str.175
.asciz "ECHO \"to define the VISUALC environment variable to indicate the location\" ;\n"
l_.str.176: ; @.str.176
.asciz "ECHO \"of your Visual C++ installation. Aborting..\" ;\n"
l_.str.177: ; @.str.177
.asciz "CC ?= icl /nologo ;\n"
l_.str.178: ; @.str.178
.asciz "LINKLIBS ?= $(VISUALC)\\\\lib\\\\advapi32.lib\n"
l_.str.179: ; @.str.179
.asciz "$(VISUALC)\\\\lib\\\\kernel32.lib\n"
l_.str.180: ; @.str.180
.asciz "STDHDRS ?= $(INTELC)\\include $(VISUALC)\\\\include ;\n"
l_.str.181: ; @.str.181
.asciz "else if $(TOOLSET) = WATCOM\n"
l_.str.182: ; @.str.182
.asciz "ECHO \"Compiler is Watcom C/C++\" ;\n"
l_.str.183: ; @.str.183
.asciz "AR ?= wlib ;\n"
l_.str.184: ; @.str.184
.asciz "CC ?= wcc386 ;\n"
l_.str.185: ; @.str.185
.asciz "CCFLAGS ?= /zq /DWIN32 /I$(WATCOM)\\\\h ; # zq=quiet\n"
l_.str.186: ; @.str.186
.asciz "C++ ?= wpp386 ;\n"
l_.str.187: ; @.str.187
.asciz "DOT ?= . ;\n"
l_.str.188: ; @.str.188
.asciz "DOTDOT ?= .. ;\n"
l_.str.189: ; @.str.189
.asciz "LINK ?= wcl386 ;\n"
l_.str.190: ; @.str.190
.asciz "LINKFLAGS ?= /zq ; # zq=quiet\n"
l_.str.191: ; @.str.191
.asciz "MV ?= move ;\n"
l_.str.192: ; @.str.192
.asciz "OPTIM ?= ;\n"
l_.str.193: ; @.str.193
.asciz "RM ?= del /f ;\n"
l_.str.194: ; @.str.194
.asciz "STDHDRS ?= $(WATCOM)\\\\h $(WATCOM)\\\\h\\\\nt ;\n"
l_.str.195: ; @.str.195
.asciz "else if $(TOOLSET) = MINGW\n"
l_.str.196: ; @.str.196
.asciz "ECHO \"Compiler is GCC with Mingw\" ;\n"
l_.str.197: ; @.str.197
.asciz "AR ?= ar -ru ;\n"
l_.str.198: ; @.str.198
.asciz "CC ?= gcc ;\n"
l_.str.199: ; @.str.199
.asciz "CCFLAGS ?= \"\" ;\n"
l_.str.200: ; @.str.200
.asciz "C++ ?= $(CC) ;\n"
l_.str.201: ; @.str.201
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
l_.str.202: ; @.str.202
.asciz "LINK ?= $(CC) ;\n"
l_.str.203: ; @.str.203
.asciz "LINKFLAGS ?= \"\" ;\n"
l_.str.204: ; @.str.204
.asciz "LINKLIBS ?= \"\" ;\n"
l_.str.205: ; @.str.205
.asciz "OPTIM ?= ;\n"
l_.str.206: ; @.str.206
.asciz "SUFOBJ = .o ;\n"
l_.str.207: ; @.str.207
.asciz "SUFLIB = .a ;\n"
l_.str.208: ; @.str.208
.asciz "SLASH = / ;\n"
l_.str.209: ; @.str.209
.asciz "else if $(TOOLSET) = LCC\n"
l_.str.210: ; @.str.210
.asciz "ECHO \"Compiler is Win32-LCC\" ;\n"
l_.str.211: ; @.str.211
.asciz "AR ?= lcclib ;\n"
l_.str.212: ; @.str.212
.asciz "CC ?= lcc ;\n"
l_.str.213: ; @.str.213
.asciz "LINK ?= lcclnk ;\n"
l_.str.214: ; @.str.214
.asciz "NOARSCAN = true ;\n"
l_.str.215: ; @.str.215
.asciz "EXIT On NT, set BCCROOT, MSVCNT, MINGW or MSVC to the root of the\n"
l_.str.216: ; @.str.216
.asciz "Borland or Microsoft directories. ;\n"
l_.str.217: ; @.str.217
.asciz "else if $(OS2)\n"
l_.str.218: ; @.str.218
.asciz "local SUPPORTED_TOOLSETS = \"EMX\" \"WATCOM\" ;\n"
l_.str.219: ; @.str.219
.asciz "if $(watcom)\n"
l_.str.220: ; @.str.220
.asciz "WATCOM = $(watcom:J=\" \") ;\n"
l_.str.221: ; @.str.221
.asciz "TOOLSET = WATCOM ;\n"
l_.str.222: ; @.str.222
.asciz "ECHO \"Jam cannot be run because you didn't indicate which compilation toolset\" ;\n"
l_.str.223: ; @.str.223
.asciz "ECHO \"to use. To do so, follow these simple instructions:\" ;\n"
l_.str.224: ; @.str.224
.asciz "ECHO \" EMX EMX (gcc) EMX install path\" ;\n"
l_.str.225: ; @.str.225
.asciz "ECHO \" VISUALAGE IBM Visual Age C/C++ VisualAge install path\" ;\n"
l_.str.226: ; @.str.226
.asciz "ECHO \" e.g.: set WATCOM=C:\\WATCOM\" ;\n"
l_.str.227: ; @.str.227
.asciz "ECHO \" set JAM_TOOLSET=WATCOM\" ;\n"
l_.str.228: ; @.str.228
.asciz "RM = del /f ;\n"
l_.str.229: ; @.str.229
.asciz "CP = copy ;\n"
l_.str.230: ; @.str.230
.asciz "MV ?= move ;\n"
l_.str.231: ; @.str.231
.asciz "DOT ?= . ;\n"
l_.str.232: ; @.str.232
.asciz "DOTDOT ?= .. ;\n"
l_.str.233: ; @.str.233
.asciz "SUFLIB ?= .lib ;\n"
l_.str.234: ; @.str.234
.asciz "SUFOBJ ?= .obj ;\n"
l_.str.235: ; @.str.235
.asciz "SUFEXE ?= .exe ;\n"
l_.str.236: ; @.str.236
.asciz "if $(TOOLSET) = WATCOM\n"
l_.str.237: ; @.str.237
.asciz "AR ?= wlib ;\n"
l_.str.238: ; @.str.238
.asciz "BINDIR ?= \\\\os2\\\\apps ;\n"
l_.str.239: ; @.str.239
.asciz "CC ?= wcc386 ;\n"
l_.str.240: ; @.str.240
.asciz "CCFLAGS ?= /zq /DOS2 /I$(WATCOM)\\\\h ; # zq=quiet\n"
l_.str.241: ; @.str.241
.asciz "C++ ?= wpp386 ;\n"
l_.str.242: ; @.str.242
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
l_.str.243: ; @.str.243
.asciz "LINK ?= wcl386 ;\n"
l_.str.244: ; @.str.244
.asciz "LINKFLAGS ?= /zq ; # zq=quiet\n"
l_.str.245: ; @.str.245
.asciz "LINKLIBS ?= ;\n"
l_.str.246: ; @.str.246
.asciz "NOARSCAN ?= true ;\n"
l_.str.247: ; @.str.247
.asciz "OPTIM ?= ;\n"
l_.str.248: ; @.str.248
.asciz "SLASH ?= \\\\ ;\n"
l_.str.249: ; @.str.249
.asciz "STDHDRS ?= $(WATCOM)\\\\h ;\n"
l_.str.250: ; @.str.250
.asciz "UNDEFFLAG ?= \"/u _\" ;\n"
l_.str.251: ; @.str.251
.asciz "else if $(TOOLSET) = EMX\n"
l_.str.252: ; @.str.252
.asciz "ECHO \"Compiler is GCC-EMX\" ;\n"
l_.str.253: ; @.str.253
.asciz "AR ?= ar -ru ;\n"
l_.str.254: ; @.str.254
.asciz "CC ?= gcc ;\n"
l_.str.255: ; @.str.255
.asciz "CCFLAGS ?= \"\" ;\n"
l_.str.256: ; @.str.256
.asciz "C++ ?= $(CC) ;\n"
l_.str.257: ; @.str.257
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
l_.str.258: ; @.str.258
.asciz "LINK ?= $(CC) ;\n"
l_.str.259: ; @.str.259
.asciz "LINKFLAGS ?= \"\" ;\n"
l_.str.260: ; @.str.260
.asciz "LINKLIBS ?= \"\" ;\n"
l_.str.261: ; @.str.261
.asciz "OPTIM ?= ;\n"
l_.str.262: ; @.str.262
.asciz "SUFOBJ = .o ;\n"
l_.str.263: ; @.str.263
.asciz "SUFLIB = .a ;\n"
l_.str.264: ; @.str.264
.asciz "UNDEFFLAG ?= \"-U\" ;\n"
l_.str.265: ; @.str.265
.asciz "SLASH = / ;\n"
l_.str.266: ; @.str.266
.asciz "EXIT \"Sorry, but the $(JAM_TOOLSET) toolset isn't supported for now\" ;\n"
l_.str.267: ; @.str.267
.asciz "else if $(VMS)\n"
l_.str.268: ; @.str.268
.asciz "C++ ?= cxx ;\n"
l_.str.269: ; @.str.269
.asciz "C++FLAGS ?= ;\n"
l_.str.270: ; @.str.270
.asciz "CC ?= cc ;\n"
l_.str.271: ; @.str.271
.asciz "CCFLAGS ?= ;\n"
l_.str.272: ; @.str.272
.asciz "CHMOD ?= set file/prot= ;\n"
l_.str.273: ; @.str.273
.asciz "CP ?= copy/replace ;\n"
l_.str.274: ; @.str.274
.asciz "CRELIB ?= true ;\n"
l_.str.275: ; @.str.275
.asciz "DOT ?= [] ;\n"
l_.str.276: ; @.str.276
.asciz "DOTDOT ?= [-] ;\n"
l_.str.277: ; @.str.277
.asciz "EXEMODE ?= (w:e) ;\n"
l_.str.278: ; @.str.278
.asciz "FILEMODE ?= (w:r) ;\n"
l_.str.279: ; @.str.279
.asciz "HDRS ?= ;\n"
l_.str.280: ; @.str.280
.asciz "LINK ?= link ;\n"
l_.str.281: ; @.str.281
.asciz "MKDIR ?= create/dir ;\n"
l_.str.282: ; @.str.282
.asciz "MV ?= rename ;\n"
l_.str.283: ; @.str.283
.asciz "RM ?= delete ;\n"
l_.str.284: ; @.str.284
.asciz "RUNVMS ?= mcr ;\n"
l_.str.285: ; @.str.285
.asciz "SHELLMODE ?= (w:er) ;\n"
l_.str.286: ; @.str.286
.asciz "SLASH ?= . ;\n"
l_.str.287: ; @.str.287
.asciz "STDHDRS ?= decc$library_include ;\n"
l_.str.288: ; @.str.288
.asciz "SUFLIB ?= .olb ;\n"
l_.str.289: ; @.str.289
.asciz "switch $(OS)\n"
l_.str.290: ; @.str.290
.asciz "case OPENVMS : CCFLAGS ?= /stand=vaxc ;\n"
l_.str.291: ; @.str.291
.asciz "case VMS : LINKLIBS ?= sys$library:vaxcrtl.olb/lib ;\n"
l_.str.292: ; @.str.292
.asciz "else if $(MAC)\n"
l_.str.293: ; @.str.293
.asciz "local OPT ;\n"
l_.str.294: ; @.str.294
.asciz "CW ?= \"{CW}\" ;\n"
l_.str.295: ; @.str.295
.asciz "MACHDRS ?=\n"
l_.str.296: ; @.str.296
.asciz "\"$(UMACHDRS):Universal:Interfaces:CIncludes\"\n"
l_.str.297: ; @.str.297
.asciz "\"$(CW):MSL:MSL_C:MSL_Common:Include\"\n"
l_.str.298: ; @.str.298
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Include\" ;\n"
l_.str.299: ; @.str.299
.asciz "MACLIBS ?=\n"
l_.str.300: ; @.str.300
.asciz "\"$(CW):MacOS Support:Universal:Libraries:StubLibraries:Interfacelib\"\n"
l_.str.301: ; @.str.301
.asciz "\"$(CW):MacOS Support:Universal:Libraries:StubLibraries:Mathlib\" ;\n"
l_.str.302: ; @.str.302
.asciz "MPWLIBS ?=\n"
l_.str.303: ; @.str.303
.asciz "\"$(CW):MacOS Support:Libraries:Runtime:Runtime PPC:MSL MPWCRuntime.lib\"\n"
l_.str.304: ; @.str.304
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC MPW.Lib\" ;\n"
l_.str.305: ; @.str.305
.asciz "MPWNLLIBS ?=\n"
l_.str.306: ; @.str.306
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC MPW(NL).Lib\" ;\n"
l_.str.307: ; @.str.307
.asciz "SIOUXHDRS ?= ;\n"
l_.str.308: ; @.str.308
.asciz "SIOUXLIBS ?=\n"
l_.str.309: ; @.str.309
.asciz "\"$(CW):MacOS Support:Libraries:Runtime:Runtime PPC:MSL RuntimePPC.lib\"\n"
l_.str.310: ; @.str.310
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL SIOUX.PPC.Lib\"\n"
l_.str.311: ; @.str.311
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC.Lib\" ;\n"
l_.str.312: ; @.str.312
.asciz "C++ ?= mwcppc ;\n"
l_.str.313: ; @.str.313
.asciz "C++FLAGS ?= -w off -nomapcr ;\n"
l_.str.314: ; @.str.314
.asciz "CC ?= mwcppc ;\n"
l_.str.315: ; @.str.315
.asciz "CCFLAGS ?= -w off -nomapcr ;\n"
l_.str.316: ; @.str.316
.asciz "CP ?= duplicate -y ;\n"
l_.str.317: ; @.str.317
.asciz "DOT ?= \":\" ;\n"
l_.str.318: ; @.str.318
.asciz "DOTDOT ?= \"::\" ;\n"
l_.str.319: ; @.str.319
.asciz "HDRS ?= $(MACHDRS) $(MPWHDRS) ;\n"
l_.str.320: ; @.str.320
.asciz "LINK ?= mwlinkppc ;\n"
l_.str.321: ; @.str.321
.asciz "LINKFLAGS ?= -mpwtool -warn ;\n"
l_.str.322: ; @.str.322
.asciz "LINKLIBS ?= $(MACLIBS) $(MPWLIBS) ;\n"
l_.str.323: ; @.str.323
.asciz "MKDIR ?= newfolder ;\n"
l_.str.324: ; @.str.324
.asciz "MV ?= rename -y ;\n"
l_.str.325: ; @.str.325
.asciz "RM ?= delete -y ;\n"
l_.str.326: ; @.str.326
.asciz "SLASH ?= \":\" ;\n"
l_.str.327: ; @.str.327
.asciz "STDHDRS ?= ;\n"
l_.str.328: ; @.str.328
.asciz "SUFOBJ ?= .o ;\n"
l_.str.329: ; @.str.329
.asciz "else if $(OS) = BEOS && $(METROWERKS)\n"
l_.str.330: ; @.str.330
.asciz "AR ?= mwld -xml -o ;\n"
l_.str.331: ; @.str.331
.asciz "BINDIR ?= /boot/apps ;\n"
l_.str.332: ; @.str.332
.asciz "CC ?= mwcc ;\n"
l_.str.333: ; @.str.333
.asciz "CCFLAGS ?= -nosyspath ;\n"
l_.str.334: ; @.str.334
.asciz "C++FLAGS ?= -nosyspath ;\n"
l_.str.335: ; @.str.335
.asciz "FORTRAN ?= \"\" ;\n"
l_.str.336: ; @.str.336
.asciz "LIBDIR ?= /boot/develop/libraries ;\n"
l_.str.337: ; @.str.337
.asciz "LINK ?= mwld ;\n"
l_.str.338: ; @.str.338
.asciz "MANDIR ?= /boot/documentation/\"Shell Tools\"/HTML ;\n"
l_.str.339: ; @.str.339
.asciz "STDHDRS ?= /boot/develop/headers/posix ;\n"
l_.str.340: ; @.str.340
.asciz "else if $(OS) = BEOS\n"
l_.str.341: ; @.str.341
.asciz "CC ?= gcc ;\n"
l_.str.342: ; @.str.342
.asciz "LINK ?= gcc ;\n"
l_.str.343: ; @.str.343
.asciz "LINKLIBS ?= -lnet ;\n"
l_.str.344: ; @.str.344
.asciz "else if $(UNIX)\n"
l_.str.345: ; @.str.345
.asciz "case AIX :\n"
l_.str.346: ; @.str.346
.asciz "LINKLIBS ?= -lbsd ;\n"
l_.str.347: ; @.str.347
.asciz "case AMIGA :\n"
l_.str.348: ; @.str.348
.asciz "YACC ?= \"bison -y\" ;\n"
l_.str.349: ; @.str.349
.asciz "case CYGWIN :\n"
l_.str.350: ; @.str.350
.asciz "CCFLAGS += -D__cygwin__ ;\n"
l_.str.351: ; @.str.351
.asciz "LEX ?= flex ;\n"
l_.str.352: ; @.str.352
.asciz "RANLIB ?= \"\" ;\n"
l_.str.353: ; @.str.353
.asciz "case DGUX :\n"
l_.str.354: ; @.str.354
.asciz "RELOCATE ?= true ;\n"
l_.str.355: ; @.str.355
.asciz "case HPUX :\n"
l_.str.356: ; @.str.356
.asciz "YACC = ;\n"
l_.str.357: ; @.str.357
.asciz "CFLAGS += -Ae ;\n"
l_.str.358: ; @.str.358
.asciz "CCFLAGS += -Ae ;\n"
l_.str.359: ; @.str.359
.asciz "case INTERIX :\n"
l_.str.360: ; @.str.360
.asciz "case IRIX :\n"
l_.str.361: ; @.str.361
.asciz "case MPEIX :\n"
l_.str.362: ; @.str.362
.asciz "C++ ?= gcc ;\n"
l_.str.363: ; @.str.363
.asciz "CCFLAGS += -D_POSIX_SOURCE ;\n"
l_.str.364: ; @.str.364
.asciz "HDRS += /usr/include ;\n"
l_.str.365: ; @.str.365
.asciz "NOARUPDATE ?= true ;\n"
l_.str.366: ; @.str.366
.asciz "case MVS :\n"
l_.str.367: ; @.str.367
.asciz "case NEXT :\n"
l_.str.368: ; @.str.368
.asciz "AR ?= libtool -o ;\n"
l_.str.369: ; @.str.369
.asciz "case MACOSX :\n"
l_.str.370: ; @.str.370
.asciz "C++ ?= c++ ;\n"
l_.str.371: ; @.str.371
.asciz "MANDIR ?= /usr/local/share/man ;\n"
l_.str.372: ; @.str.372
.asciz "case NCR :\n"
l_.str.373: ; @.str.373
.asciz "case PTX :\n"
l_.str.374: ; @.str.374
.asciz "case QNX :\n"
l_.str.375: ; @.str.375
.asciz "CCFLAGS ?= -Q ; # quiet\n"
l_.str.376: ; @.str.376
.asciz "C++FLAGS ?= -Q ; # quiet\n"
l_.str.377: ; @.str.377
.asciz "LINKFLAGS ?= -Q ; # quiet\n"
l_.str.378: ; @.str.378
.asciz "case SCO :\n"
l_.str.379: ; @.str.379
.asciz "case SINIX :\n"
l_.str.380: ; @.str.380
.asciz "case SOLARIS :\n"
l_.str.381: ; @.str.381
.asciz "AR ?= \"/usr/ccs/bin/ar ru\" ;\n"
l_.str.382: ; @.str.382
.asciz "case UNICOS :\n"
l_.str.383: ; @.str.383
.asciz "OPTIM ?= -O0 ;\n"
l_.str.384: ; @.str.384
.asciz "case UNIXWARE :\n"
l_.str.385: ; @.str.385
.asciz "CHMOD ?= chmod ;\n"
l_.str.386: ; @.str.386
.asciz "CHGRP ?= chgrp ;\n"
l_.str.387: ; @.str.387
.asciz "CHOWN ?= chown ;\n"
l_.str.388: ; @.str.388
.asciz "LEX ?= lex ;\n"
l_.str.389: ; @.str.389
.asciz "OPTIM ?= -O ;\n"
l_.str.390: ; @.str.390
.asciz "RANLIB ?= ranlib ;\n"
l_.str.391: ; @.str.391
.asciz "YACC ?= yacc ;\n"
l_.str.392: ; @.str.392
.asciz "YACCFILES ?= y.tab ;\n"
l_.str.393: ; @.str.393
.asciz "YACCFLAGS ?= -d ;\n"
l_.str.394: ; @.str.394
.asciz "AR ?= ar ru ;\n"
l_.str.395: ; @.str.395
.asciz "AS ?= as ;\n"
l_.str.396: ; @.str.396
.asciz "ASFLAGS ?= ;\n"
l_.str.397: ; @.str.397
.asciz "AWK ?= awk ;\n"
l_.str.398: ; @.str.398
.asciz "BINDIR ?= /usr/local/bin ;\n"
l_.str.399: ; @.str.399
.asciz "C++ ?= cc ;\n"
l_.str.400: ; @.str.400
.asciz "CP ?= cp -f ;\n"
l_.str.401: ; @.str.401
.asciz "CRELIB ?= ;\n"
l_.str.402: ; @.str.402
.asciz "EXEMODE ?= 711 ;\n"
l_.str.403: ; @.str.403
.asciz "FILEMODE ?= 644 ;\n"
l_.str.404: ; @.str.404
.asciz "FORTRAN ?= f77 ;\n"
l_.str.405: ; @.str.405
.asciz "FORTRANFLAGS ?= ;\n"
l_.str.406: ; @.str.406
.asciz "INSTALLGRIST ?= installed ;\n"
l_.str.407: ; @.str.407
.asciz "JAMFILE ?= Jamfile ;\n"
l_.str.408: ; @.str.408
.asciz "JAMRULES ?= Jamrules ;\n"
l_.str.409: ; @.str.409
.asciz "LEX ?= ;\n"
l_.str.410: ; @.str.410
.asciz "LIBDIR ?= /usr/local/lib ;\n"
l_.str.411: ; @.str.411
.asciz "LINKFLAGS ?= ;\n"
l_.str.412: ; @.str.412
.asciz "LN ?= ln ;\n"
l_.str.413: ; @.str.413
.asciz "MANDIR ?= /usr/local/man ;\n"
l_.str.414: ; @.str.414
.asciz "MKDIR ?= mkdir ;\n"
l_.str.415: ; @.str.415
.asciz "MV ?= mv -f ;\n"
l_.str.416: ; @.str.416
.asciz "RCP ?= rcp ;\n"
l_.str.417: ; @.str.417
.asciz "RM ?= rm -f ;\n"
l_.str.418: ; @.str.418
.asciz "RSH ?= rsh ;\n"
l_.str.419: ; @.str.419
.asciz "SED ?= sed ;\n"
l_.str.420: ; @.str.420
.asciz "SHELLHEADER ?= \"#!/bin/sh\" ;\n"
l_.str.421: ; @.str.421
.asciz "SHELLMODE ?= 755 ;\n"
l_.str.422: ; @.str.422
.asciz "SLASH ?= / ;\n"
l_.str.423: ; @.str.423
.asciz "STDHDRS ?= /usr/include ;\n"
l_.str.424: ; @.str.424
.asciz "SUFEXE ?= \"\" ;\n"
l_.str.425: ; @.str.425
.asciz "SUFLIB ?= .a ;\n"
l_.str.426: ; @.str.426
.asciz "UNDEFFLAG ?= \"-u _\" ;\n"
l_.str.427: ; @.str.427
.asciz "YACC ?= ;\n"
l_.str.428: ; @.str.428
.asciz "YACCFILES ?= ;\n"
l_.str.429: ; @.str.429
.asciz "YACCFLAGS ?= ;\n"
l_.str.430: ; @.str.430
.asciz "HDRPATTERN =\n"
l_.str.431: ; @.str.431
.asciz "\"^[ ]*#[ ]*include[ ]*[<\\\"]([^\\\">]*)[\\\">].*$\" ;\n"
l_.str.432: ; @.str.432
.asciz "OSFULL = $(OS)$(OSVER)$(OSPLAT) $(OS)$(OSPLAT) $(OS)$(OSVER) $(OS) ;\n"
l_.str.433: ; @.str.433
.asciz "DEPENDS all : shell files lib exe obj ;\n"
l_.str.434: ; @.str.434
.asciz "DEPENDS all shell files lib exe obj : first ;\n"
l_.str.435: ; @.str.435
.asciz "NOTFILE all first shell files lib exe obj dirs clean uninstall ;\n"
l_.str.436: ; @.str.436
.asciz "ALWAYS clean uninstall ;\n"
l_.str.437: ; @.str.437
.asciz "rule As\n"
l_.str.438: ; @.str.438
.asciz "DEPENDS $(<) : $(>) ;\n"
l_.str.439: ; @.str.439
.asciz "ASFLAGS on $(<) += $(ASFLAGS) $(SUBDIRASFLAGS) ;\n"
l_.str.440: ; @.str.440
.asciz "rule Bulk\n"
l_.str.441: ; @.str.441
.asciz "local i ;\n"
l_.str.442: ; @.str.442
.asciz "for i in $(>)\n"
l_.str.443: ; @.str.443
.asciz "File $(i:D=$(<)) : $(i) ;\n"
l_.str.444: ; @.str.444
.asciz "rule Cc\n"
l_.str.445: ; @.str.445
.asciz "local _h ;\n"
l_.str.446: ; @.str.446
.asciz "CCFLAGS on $(<) += $(CCFLAGS) $(SUBDIRCCFLAGS) ;\n"
l_.str.447: ; @.str.447
.asciz "if $(RELOCATE)\n"
l_.str.448: ; @.str.448
.asciz "CcMv $(<) : $(>) ;\n"
l_.str.449: ; @.str.449
.asciz "_h = $(SEARCH_SOURCE) $(HDRS) $(SUBDIRHDRS) ;\n"
l_.str.450: ; @.str.450
.asciz "if $(VMS) && $(_h)\n"
l_.str.451: ; @.str.451
.asciz "SLASHINC on $(<) = \"/inc=(\" $(_h[1]) ,$(_h[2-]) \")\" ;\n"
l_.str.452: ; @.str.452
.asciz "else if $(MAC) && $(_h)\n"
l_.str.453: ; @.str.453
.asciz "local _i _j ;\n"
l_.str.454: ; @.str.454
.asciz "_j = $(_h[1]) ;\n"
l_.str.455: ; @.str.455
.asciz "for _i in $(_h[2-])\n"
l_.str.456: ; @.str.456
.asciz "_j = $(_j),$(_i) ;\n"
l_.str.457: ; @.str.457
.asciz "MACINC on $(<) = \\\"$(_j)\\\" ;\n"
l_.str.458: ; @.str.458
.asciz "rule C++\n"
l_.str.459: ; @.str.459
.asciz "C++FLAGS on $(<) += $(C++FLAGS) $(SUBDIRC++FLAGS) ;\n"
l_.str.460: ; @.str.460
.asciz "rule Chmod\n"
l_.str.461: ; @.str.461
.asciz "if $(CHMOD) { Chmod1 $(<) ; }\n"
l_.str.462: ; @.str.462
.asciz "rule File\n"
l_.str.463: ; @.str.463
.asciz "DEPENDS files : $(<) ;\n"
l_.str.464: ; @.str.464
.asciz "SEARCH on $(>) = $(SEARCH_SOURCE) ;\n"
l_.str.465: ; @.str.465
.asciz "MODE on $(<) = $(FILEMODE) ;\n"
l_.str.466: ; @.str.466
.asciz "Chmod $(<) ;\n"
l_.str.467: ; @.str.467
.asciz "rule Fortran\n"
l_.str.468: ; @.str.468
.asciz "rule GenFile\n"
l_.str.469: ; @.str.469
.asciz "local _t = [ FGristSourceFiles $(<) ] ;\n"
l_.str.470: ; @.str.470
.asciz "local _s = [ FAppendSuffix $(>[1]) : $(SUFEXE) ] ;\n"
l_.str.471: ; @.str.471
.asciz "Depends $(_t) : $(_s) $(>[2-]) ;\n"
l_.str.472: ; @.str.472
.asciz "GenFile1 $(_t) : $(_s) $(>[2-]) ;\n"
l_.str.473: ; @.str.473
.asciz "Clean clean : $(_t) ;\n"
l_.str.474: ; @.str.474
.asciz "rule GenFile1\n"
l_.str.475: ; @.str.475
.asciz "MakeLocate $(<) : $(LOCATE_SOURCE) ;\n"
l_.str.476: ; @.str.476
.asciz "rule HardLink\n"
l_.str.477: ; @.str.477
.asciz "rule HdrMacroFile\n"
l_.str.478: ; @.str.478
.asciz "HDRMACRO $(<) ;\n"
l_.str.479: ; @.str.479
.asciz "rule HdrRule\n"
l_.str.480: ; @.str.480
.asciz "local s ;\n"
l_.str.481: ; @.str.481
.asciz "if $(HDRGRIST)\n"
l_.str.482: ; @.str.482
.asciz "s = $(>:G=$(HDRGRIST)) ;\n"
l_.str.483: ; @.str.483
.asciz "} else {\n"
l_.str.484: ; @.str.484
.asciz "s = $(>) ;\n"
l_.str.485: ; @.str.485
.asciz "INCLUDES $(<) : $(s) ;\n"
l_.str.486: ; @.str.486
.asciz "SEARCH on $(s) = $(HDRSEARCH) ;\n"
l_.str.487: ; @.str.487
.asciz "NOCARE $(s) ;\n"
l_.str.488: ; @.str.488
.asciz "HDRSEARCH on $(s) = $(HDRSEARCH) ;\n"
l_.str.489: ; @.str.489
.asciz "HDRSCAN on $(s) = $(HDRSCAN) ;\n"
l_.str.490: ; @.str.490
.asciz "HDRRULE on $(s) = $(HDRRULE) ;\n"
l_.str.491: ; @.str.491
.asciz "HDRGRIST on $(s) = $(HDRGRIST) ;\n"
l_.str.492: ; @.str.492
.asciz "rule InstallInto\n"
l_.str.493: ; @.str.493
.asciz "local i t ;\n"
l_.str.494: ; @.str.494
.asciz "t = $(>:G=$(INSTALLGRIST)) ;\n"
l_.str.495: ; @.str.495
.asciz "Depends install : $(t) ;\n"
l_.str.496: ; @.str.496
.asciz "Clean uninstall : $(t) ;\n"
l_.str.497: ; @.str.497
.asciz "MakeLocate $(t) : $(<) ;\n"
l_.str.498: ; @.str.498
.asciz "local tt = $(i:G=$(INSTALLGRIST)) ;\n"
l_.str.499: ; @.str.499
.asciz "Depends $(tt) : $(i) ;\n"
l_.str.500: ; @.str.500
.asciz "Install $(tt) : $(i) ;\n"
l_.str.501: ; @.str.501
.asciz "Chmod $(tt) ;\n"
l_.str.502: ; @.str.502
.asciz "if $(OWNER) && $(CHOWN)\n"
l_.str.503: ; @.str.503
.asciz "Chown $(tt) ;\n"
l_.str.504: ; @.str.504
.asciz "OWNER on $(tt) = $(OWNER) ;\n"
l_.str.505: ; @.str.505
.asciz "if $(GROUP) && $(CHGRP)\n"
l_.str.506: ; @.str.506
.asciz "Chgrp $(tt) ;\n"
l_.str.507: ; @.str.507
.asciz "GROUP on $(tt) = $(GROUP) ;\n"
l_.str.508: ; @.str.508
.asciz "rule InstallBin\n"
l_.str.509: ; @.str.509
.asciz "local _t = [ FAppendSuffix $(>) : $(SUFEXE) ] ;\n"
l_.str.510: ; @.str.510
.asciz "InstallInto $(<) : $(_t) ;\n"
l_.str.511: ; @.str.511
.asciz "MODE on $(_t:G=installed) = $(EXEMODE) ;\n"
l_.str.512: ; @.str.512
.asciz "rule InstallFile\n"
l_.str.513: ; @.str.513
.asciz "InstallInto $(<) : $(>) ;\n"
l_.str.514: ; @.str.514
.asciz "MODE on $(>:G=installed) = $(FILEMODE) ;\n"
l_.str.515: ; @.str.515
.asciz "rule InstallLib\n"
l_.str.516: ; @.str.516
.asciz "rule InstallMan\n"
l_.str.517: ; @.str.517
.asciz "local i s d ;\n"
l_.str.518: ; @.str.518
.asciz "switch $(i:S)\n"
l_.str.519: ; @.str.519
.asciz "case .1 : s = 1 ; case .2 : s = 2 ; case .3 : s = 3 ;\n"
l_.str.520: ; @.str.520
.asciz "case .4 : s = 4 ; case .5 : s = 5 ; case .6 : s = 6 ;\n"
l_.str.521: ; @.str.521
.asciz "case .7 : s = 7 ; case .8 : s = 8 ; case .l : s = l ;\n"
l_.str.522: ; @.str.522
.asciz "case .n : s = n ; case .man : s = 1 ;\n"
l_.str.523: ; @.str.523
.asciz "d = man$(s) ;\n"
l_.str.524: ; @.str.524
.asciz "InstallInto $(d:R=$(<)) : $(i) ;\n"
l_.str.525: ; @.str.525
.asciz "rule InstallShell\n"
l_.str.526: ; @.str.526
.asciz "MODE on $(>:G=installed) = $(SHELLMODE) ;\n"
l_.str.527: ; @.str.527
.asciz "rule Lex\n"
l_.str.528: ; @.str.528
.asciz "LexMv $(<) : $(>) ;\n"
l_.str.529: ; @.str.529
.asciz "Clean clean : $(<) ;\n"
l_.str.530: ; @.str.530
.asciz "rule Library\n"
l_.str.531: ; @.str.531
.asciz "LibraryFromObjects $(<) : $(>:S=$(SUFOBJ)) ;\n"
l_.str.532: ; @.str.532
.asciz "Objects $(>) ;\n"
l_.str.533: ; @.str.533
.asciz "rule LibraryFromObjects\n"
l_.str.534: ; @.str.534
.asciz "local _i _l _s ;\n"
l_.str.535: ; @.str.535
.asciz "_s = [ FGristFiles $(>) ] ;\n"
l_.str.536: ; @.str.536
.asciz "_l = $(<:S=$(SUFLIB)) ;\n"
l_.str.537: ; @.str.537
.asciz "if $(KEEPOBJS)\n"
l_.str.538: ; @.str.538
.asciz "DEPENDS obj : $(_s) ;\n"
l_.str.539: ; @.str.539
.asciz "DEPENDS lib : $(_l) ;\n"
l_.str.540: ; @.str.540
.asciz "if ! $(_l:D)\n"
l_.str.541: ; @.str.541
.asciz "MakeLocate $(_l) $(_l)($(_s:BS)) : $(LOCATE_TARGET) ;\n"
l_.str.542: ; @.str.542
.asciz "if $(NOARSCAN)\n"
l_.str.543: ; @.str.543
.asciz "DEPENDS $(_l) : $(_s) ;\n"
l_.str.544: ; @.str.544
.asciz "DEPENDS $(_l) : $(_l)($(_s:BS)) ;\n"
l_.str.545: ; @.str.545
.asciz "for _i in $(_s)\n"
l_.str.546: ; @.str.546
.asciz "DEPENDS $(_l)($(_i:BS)) : $(_i) ;\n"
l_.str.547: ; @.str.547
.asciz "Clean clean : $(_l) ;\n"
l_.str.548: ; @.str.548
.asciz "if $(CRELIB) { CreLib $(_l) : $(_s[1]) ; }\n"
l_.str.549: ; @.str.549
.asciz "Archive $(_l) : $(_s) ;\n"
l_.str.550: ; @.str.550
.asciz "if $(RANLIB) { Ranlib $(_l) ; }\n"
l_.str.551: ; @.str.551
.asciz "if ! ( $(NOARSCAN) || $(KEEPOBJS) ) { RmTemps $(_l) : $(_s) ; }\n"
l_.str.552: ; @.str.552
.asciz "rule Link\n"
l_.str.553: ; @.str.553
.asciz "MODE on $(<) = $(EXEMODE) ;\n"
l_.str.554: ; @.str.554
.asciz "rule LinkLibraries\n"
l_.str.555: ; @.str.555
.asciz "local _t = [ FAppendSuffix $(<) : $(SUFEXE) ] ;\n"
l_.str.556: ; @.str.556
.asciz "DEPENDS $(_t) : $(>:S=$(SUFLIB)) ;\n"
l_.str.557: ; @.str.557
.asciz "NEEDLIBS on $(_t) += $(>:S=$(SUFLIB)) ;\n"
l_.str.558: ; @.str.558
.asciz "rule Main\n"
l_.str.559: ; @.str.559
.asciz "MainFromObjects $(<) : $(>:S=$(SUFOBJ)) ;\n"
l_.str.560: ; @.str.560
.asciz "rule MainFromObjects\n"
l_.str.561: ; @.str.561
.asciz "local _s _t ;\n"
l_.str.562: ; @.str.562
.asciz "_t = [ FAppendSuffix $(<) : $(SUFEXE) ] ;\n"
l_.str.563: ; @.str.563
.asciz "if $(_t) != $(<)\n"
l_.str.564: ; @.str.564
.asciz "DEPENDS $(<) : $(_t) ;\n"
l_.str.565: ; @.str.565
.asciz "NOTFILE $(<) ;\n"
l_.str.566: ; @.str.566
.asciz "DEPENDS exe : $(_t) ;\n"
l_.str.567: ; @.str.567
.asciz "DEPENDS $(_t) : $(_s) ;\n"
l_.str.568: ; @.str.568
.asciz "MakeLocate $(_t) : $(LOCATE_TARGET) ;\n"
l_.str.569: ; @.str.569
.asciz "Link $(_t) : $(_s) ;\n"
l_.str.570: ; @.str.570
.asciz "rule MakeLocate\n"
l_.str.571: ; @.str.571
.asciz "if $(>)\n"
l_.str.572: ; @.str.572
.asciz "LOCATE on $(<) = $(>) ;\n"
l_.str.573: ; @.str.573
.asciz "Depends $(<) : $(>[1]) ;\n"
l_.str.574: ; @.str.574
.asciz "MkDir $(>[1]) ;\n"
l_.str.575: ; @.str.575
.asciz "rule MkDir\n"
l_.str.576: ; @.str.576
.asciz "NOUPDATE $(<) ;\n"
l_.str.577: ; @.str.577
.asciz "if $(<) != $(DOT) && ! $($(<)-mkdir)\n"
l_.str.578: ; @.str.578
.asciz "$(<)-mkdir = true ;\n"
l_.str.579: ; @.str.579
.asciz "MkDir1 $(<) ;\n"
l_.str.580: ; @.str.580
.asciz "Depends dirs : $(<) ;\n"
l_.str.581: ; @.str.581
.asciz "s = $(<:P) ;\n"
l_.str.582: ; @.str.582
.asciz "switch $(s)\n"
l_.str.583: ; @.str.583
.asciz "case *: : s = ;\n"
l_.str.584: ; @.str.584
.asciz "case *:\\\\ : s = ;\n"
l_.str.585: ; @.str.585
.asciz "if $(s) && $(s) != $(<)\n"
l_.str.586: ; @.str.586
.asciz "Depends $(<) : $(s) ;\n"
l_.str.587: ; @.str.587
.asciz "MkDir $(s) ;\n"
l_.str.588: ; @.str.588
.asciz "else if $(s)\n"
l_.str.589: ; @.str.589
.asciz "NOTFILE $(s) ;\n"
l_.str.590: ; @.str.590
.asciz "rule Object\n"
l_.str.591: ; @.str.591
.asciz "local h ;\n"
l_.str.592: ; @.str.592
.asciz "MakeLocate $(<) : $(LOCATE_TARGET) ;\n"
l_.str.593: ; @.str.593
.asciz "HDRS on $(<) = $(SEARCH_SOURCE) $(HDRS) $(SUBDIRHDRS) ;\n"
l_.str.594: ; @.str.594
.asciz "if $(SEARCH_SOURCE)\n"
l_.str.595: ; @.str.595
.asciz "h = $(SEARCH_SOURCE) ;\n"
l_.str.596: ; @.str.596
.asciz "h = \"\" ;\n"
l_.str.597: ; @.str.597
.asciz "HDRRULE on $(>) = HdrRule ;\n"
l_.str.598: ; @.str.598
.asciz "HDRSCAN on $(>) = $(HDRPATTERN) ;\n"
l_.str.599: ; @.str.599
.asciz "HDRSEARCH on $(>) = $(HDRS) $(SUBDIRHDRS) $(h) $(STDHDRS) ;\n"
l_.str.600: ; @.str.600
.asciz "HDRGRIST on $(>) = $(HDRGRIST) ;\n"
l_.str.601: ; @.str.601
.asciz "switch $(>:S)\n"
l_.str.602: ; @.str.602
.asciz "case .asm : As $(<) : $(>) ;\n"
l_.str.603: ; @.str.603
.asciz "case .c : Cc $(<) : $(>) ;\n"
l_.str.604: ; @.str.604
.asciz "case .C : C++ $(<) : $(>) ;\n"
l_.str.605: ; @.str.605
.asciz "case .cc : C++ $(<) : $(>) ;\n"
l_.str.606: ; @.str.606
.asciz "case .cpp : C++ $(<) : $(>) ;\n"
l_.str.607: ; @.str.607
.asciz "case .f : Fortran $(<) : $(>) ;\n"
l_.str.608: ; @.str.608
.asciz "case .l : Cc $(<) : $(<:S=.c) ;\n"
l_.str.609: ; @.str.609
.asciz "Lex $(<:S=.c) : $(>) ;\n"
l_.str.610: ; @.str.610
.asciz "case .s : As $(<) : $(>) ;\n"
l_.str.611: ; @.str.611
.asciz "case .y : Cc $(<) : $(<:S=.c) ;\n"
l_.str.612: ; @.str.612
.asciz "Yacc $(<:S=.c) : $(>) ;\n"
l_.str.613: ; @.str.613
.asciz "case * : UserObject $(<) : $(>) ;\n"
l_.str.614: ; @.str.614
.asciz "rule ObjectCcFlags\n"
l_.str.615: ; @.str.615
.asciz "CCFLAGS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n"
l_.str.616: ; @.str.616
.asciz "rule ObjectC++Flags\n"
l_.str.617: ; @.str.617
.asciz "C++FLAGS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n"
l_.str.618: ; @.str.618
.asciz "rule ObjectHdrs\n"
l_.str.619: ; @.str.619
.asciz "HDRS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n"
l_.str.620: ; @.str.620
.asciz "rule Objects\n"
l_.str.621: ; @.str.621
.asciz "local _i ;\n"
l_.str.622: ; @.str.622
.asciz "for _i in [ FGristFiles $(<) ]\n"
l_.str.623: ; @.str.623
.asciz "Object $(_i:S=$(SUFOBJ)) : $(_i) ;\n"
l_.str.624: ; @.str.624
.asciz "DEPENDS obj : $(_i:S=$(SUFOBJ)) ;\n"
l_.str.625: ; @.str.625
.asciz "rule RmTemps\n"
l_.str.626: ; @.str.626
.asciz "TEMPORARY $(>) ;\n"
l_.str.627: ; @.str.627
.asciz "rule Setuid\n"
l_.str.628: ; @.str.628
.asciz "MODE on [ FAppendSuffix $(<) : $(SUFEXE) ] = 4711 ;\n"
l_.str.629: ; @.str.629
.asciz "rule Shell\n"
l_.str.630: ; @.str.630
.asciz "DEPENDS shell : $(<) ;\n"
l_.str.631: ; @.str.631
.asciz "MODE on $(<) = $(SHELLMODE) ;\n"
l_.str.632: ; @.str.632
.asciz "rule SubDir\n"
l_.str.633: ; @.str.633
.asciz "local _r _s ;\n"
l_.str.634: ; @.str.634
.asciz "if ! $($(<[1]))\n"
l_.str.635: ; @.str.635
.asciz "if ! $(<[1])\n"
l_.str.636: ; @.str.636
.asciz "EXIT SubDir syntax error ;\n"
l_.str.637: ; @.str.637
.asciz "$(<[1]) = [ FSubDir $(<[2-]) ] ;\n"
l_.str.638: ; @.str.638
.asciz "if ! $($(<[1])-included)\n"
l_.str.639: ; @.str.639
.asciz "$(<[1])-included = TRUE ;\n"
l_.str.640: ; @.str.640
.asciz "_r = $($(<[1])RULES) ;\n"
l_.str.641: ; @.str.641
.asciz "if ! $(_r)\n"
l_.str.642: ; @.str.642
.asciz "_r = $(JAMRULES:R=$($(<[1]))) ;\n"
l_.str.643: ; @.str.643
.asciz "include $(_r) ;\n"
l_.str.644: ; @.str.644
.asciz "_s = [ FDirName $(<[2-]) ] ;\n"
l_.str.645: ; @.str.645
.asciz "SUBDIR = $(_s:R=$($(<[1]))) ;\n"
l_.str.646: ; @.str.646
.asciz "SUBDIR_TOKENS = $(<[2-]) ;\n"
l_.str.647: ; @.str.647
.asciz "SEARCH_SOURCE = $(SUBDIR) ;\n"
l_.str.648: ; @.str.648
.asciz "LOCATE_SOURCE = $(ALL_LOCATE_TARGET) $(SUBDIR) ;\n"
l_.str.649: ; @.str.649
.asciz "LOCATE_TARGET = $(ALL_LOCATE_TARGET) $(SUBDIR) ;\n"
l_.str.650: ; @.str.650
.asciz "SOURCE_GRIST = [ FGrist $(<[2-]) ] ;\n"
l_.str.651: ; @.str.651
.asciz "SUBDIRCCFLAGS = ;\n"
l_.str.652: ; @.str.652
.asciz "SUBDIRC++FLAGS = ;\n"
l_.str.653: ; @.str.653
.asciz "SUBDIRHDRS = ;\n"
l_.str.654: ; @.str.654
.asciz "rule SubDirCcFlags\n"
l_.str.655: ; @.str.655
.asciz "SUBDIRCCFLAGS += $(<) ;\n"
l_.str.656: ; @.str.656
.asciz "rule SubDirC++Flags\n"
l_.str.657: ; @.str.657
.asciz "SUBDIRC++FLAGS += $(<) ;\n"
l_.str.658: ; @.str.658
.asciz "rule SubDirHdrs\n"
l_.str.659: ; @.str.659
.asciz "SUBDIRHDRS += $(<) ;\n"
l_.str.660: ; @.str.660
.asciz "rule SubInclude\n"
l_.str.661: ; @.str.661
.asciz "local _s ;\n"
l_.str.662: ; @.str.662
.asciz "EXIT Top level of source tree has not been set with $(<[1]) ;\n"
l_.str.663: ; @.str.663
.asciz "include $(JAMFILE:D=$(_s):R=$($(<[1]))) ;\n"
l_.str.664: ; @.str.664
.asciz "rule Undefines\n"
l_.str.665: ; @.str.665
.asciz "UNDEFS on [ FAppendSuffix $(<) : $(SUFEXE) ] += $(UNDEFFLAG)$(>) ;\n"
l_.str.666: ; @.str.666
.asciz "rule UserObject\n"
l_.str.667: ; @.str.667
.asciz "EXIT \"Unknown suffix on\" $(>) \"- see UserObject rule in Jamfile(5).\" ;\n"
l_.str.668: ; @.str.668
.asciz "rule Yacc\n"
l_.str.669: ; @.str.669
.asciz "_h = $(<:BS=.h) ;\n"
l_.str.670: ; @.str.670
.asciz "MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;\n"
l_.str.671: ; @.str.671
.asciz "if $(YACC)\n"
l_.str.672: ; @.str.672
.asciz "DEPENDS $(<) $(_h) : $(>) ;\n"
l_.str.673: ; @.str.673
.asciz "Yacc1 $(<) $(_h) : $(>) ;\n"
l_.str.674: ; @.str.674
.asciz "YaccMv $(<) $(_h) : $(>) ;\n"
l_.str.675: ; @.str.675
.asciz "Clean clean : $(<) $(_h) ;\n"
l_.str.676: ; @.str.676
.asciz "INCLUDES $(<) : $(_h) ;\n"
l_.str.677: ; @.str.677
.asciz "rule FGrist\n"
l_.str.678: ; @.str.678
.asciz "local _g _i ;\n"
l_.str.679: ; @.str.679
.asciz "_g = $(<[1]) ;\n"
l_.str.680: ; @.str.680
.asciz "for _i in $(<[2-])\n"
l_.str.681: ; @.str.681
.asciz "_g = $(_g)!$(_i) ;\n"
l_.str.682: ; @.str.682
.asciz "return $(_g) ;\n"
l_.str.683: ; @.str.683
.asciz "rule FGristFiles\n"
l_.str.684: ; @.str.684
.asciz "if ! $(SOURCE_GRIST)\n"
l_.str.685: ; @.str.685
.asciz "return $(<) ;\n"
l_.str.686: ; @.str.686
.asciz "return $(<:G=$(SOURCE_GRIST)) ;\n"
l_.str.687: ; @.str.687
.asciz "rule FGristSourceFiles\n"
l_.str.688: ; @.str.688
.asciz "local _i _o ;\n"
l_.str.689: ; @.str.689
.asciz "for _i in $(<)\n"
l_.str.690: ; @.str.690
.asciz "switch $(_i)\n"
l_.str.691: ; @.str.691
.asciz "case *.h : _o += $(_i) ;\n"
l_.str.692: ; @.str.692
.asciz "case * : _o += $(_i:G=$(SOURCE_GRIST)) ;\n"
l_.str.693: ; @.str.693
.asciz "return $(_o) ;\n"
l_.str.694: ; @.str.694
.asciz "rule FConcat\n"
l_.str.695: ; @.str.695
.asciz "local _t _r ;\n"
l_.str.696: ; @.str.696
.asciz "$(_r) = $(<[1]) ;\n"
l_.str.697: ; @.str.697
.asciz "for _t in $(<[2-])\n"
l_.str.698: ; @.str.698
.asciz "$(_r) = $(_r)$(_t) ;\n"
l_.str.699: ; @.str.699
.asciz "return $(_r) ;\n"
l_.str.700: ; @.str.700
.asciz "rule FSubDir\n"
l_.str.701: ; @.str.701
.asciz "local _i _d ;\n"
l_.str.702: ; @.str.702
.asciz "_d = $(DOT) ;\n"
l_.str.703: ; @.str.703
.asciz "_d = $(DOTDOT) ;\n"
l_.str.704: ; @.str.704
.asciz "_d = $(_d:R=$(DOTDOT)) ;\n"
l_.str.705: ; @.str.705
.asciz "return $(_d) ;\n"
l_.str.706: ; @.str.706
.asciz "rule FDirName\n"
l_.str.707: ; @.str.707
.asciz "local _s _i ;\n"
l_.str.708: ; @.str.708
.asciz "if ! $(<)\n"
l_.str.709: ; @.str.709
.asciz "_s = $(DOT) ;\n"
l_.str.710: ; @.str.710
.asciz "switch $(<[1])\n"
l_.str.711: ; @.str.711
.asciz "case *:* : _s = $(<[1]) ;\n"
l_.str.712: ; @.str.712
.asciz "case \\\\[*\\\\] : _s = $(<[1]) ;\n"
l_.str.713: ; @.str.713
.asciz "case * : _s = [.$(<[1])] ;\n"
l_.str.714: ; @.str.714
.asciz "for _i in [.$(<[2-])]\n"
l_.str.715: ; @.str.715
.asciz "_s = $(_i:R=$(_s)) ;\n"
l_.str.716: ; @.str.716
.asciz "_s = $(<[1]) ;\n"
l_.str.717: ; @.str.717
.asciz "return $(_s) ;\n"
l_.str.718: ; @.str.718
.asciz "rule _makeCommon\n"
l_.str.719: ; @.str.719
.asciz "if $($(<)[1]) && $($(<)[1]) = $($(>)[1])\n"
l_.str.720: ; @.str.720
.asciz "$(<) = $($(<)[2-]) ;\n"
l_.str.721: ; @.str.721
.asciz "$(>) = $($(>)[2-]) ;\n"
l_.str.722: ; @.str.722
.asciz "_makeCommon $(<) : $(>) ;\n"
l_.str.723: ; @.str.723
.asciz "rule FRelPath\n"
l_.str.724: ; @.str.724
.asciz "local _l _r ;\n"
l_.str.725: ; @.str.725
.asciz "_l = $(<) ;\n"
l_.str.726: ; @.str.726
.asciz "_r = $(>) ;\n"
l_.str.727: ; @.str.727
.asciz "_makeCommon _l : _r ;\n"
l_.str.728: ; @.str.728
.asciz "_l = [ FSubDir $(_l) ] ;\n"
l_.str.729: ; @.str.729
.asciz "_r = [ FDirName $(_r) ] ;\n"
l_.str.730: ; @.str.730
.asciz "if $(_r) = $(DOT) {\n"
l_.str.731: ; @.str.731
.asciz "return $(_l) ;\n"
l_.str.732: ; @.str.732
.asciz "return $(_r:R=$(_l)) ;\n"
l_.str.733: ; @.str.733
.asciz "rule FAppendSuffix\n"
l_.str.734: ; @.str.734
.asciz "if $(_i:S)\n"
l_.str.735: ; @.str.735
.asciz "_o += $(_i) ;\n"
l_.str.736: ; @.str.736
.asciz "_o += $(_i:S=$(>)) ;\n"
l_.str.737: ; @.str.737
.asciz "rule unmakeDir\n"
l_.str.738: ; @.str.738
.asciz "if $(>[1]:D) && $(>[1]:D) != $(>[1]) && $(>[1]:D) != \\\\\\\\\n"
l_.str.739: ; @.str.739
.asciz "unmakeDir $(<) : $(>[1]:D) $(>[1]:BS) $(>[2-]) ;\n"
l_.str.740: ; @.str.740
.asciz "$(<) = $(>) ;\n"
l_.str.741: ; @.str.741
.asciz "rule FConvertToSlashes\n"
l_.str.742: ; @.str.742
.asciz "local _d, _s, _i ;\n"
l_.str.743: ; @.str.743
.asciz "unmakeDir _d : $(<) ;\n"
l_.str.744: ; @.str.744
.asciz "_s = $(_d[1]) ;\n"
l_.str.745: ; @.str.745
.asciz "for _i in $(_d[2-])\n"
l_.str.746: ; @.str.746
.asciz "_s = $(_s)/$(_i) ;\n"
l_.str.747: ; @.str.747
.asciz "actions updated together piecemeal Archive\n"
l_.str.748: ; @.str.748
.asciz "$(AR) $(<) $(>)\n"
l_.str.749: ; @.str.749
.asciz "actions As\n"
l_.str.750: ; @.str.750
.asciz "$(AS) $(ASFLAGS) -I$(HDRS) -o $(<) $(>)\n"
l_.str.751: ; @.str.751
.asciz "actions C++\n"
l_.str.752: ; @.str.752
.asciz "$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n"
l_.str.753: ; @.str.753
.asciz "actions Cc\n"
l_.str.754: ; @.str.754
.asciz "$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n"
l_.str.755: ; @.str.755
.asciz "actions Chgrp\n"
l_.str.756: ; @.str.756
.asciz "$(CHGRP) $(GROUP) $(<)\n"
l_.str.757: ; @.str.757
.asciz "actions Chmod1\n"
l_.str.758: ; @.str.758
.asciz "$(CHMOD) $(MODE) $(<)\n"
l_.str.759: ; @.str.759
.asciz "actions Chown\n"
l_.str.760: ; @.str.760
.asciz "$(CHOWN) $(OWNER) $(<)\n"
l_.str.761: ; @.str.761
.asciz "actions piecemeal together existing Clean\n"
l_.str.762: ; @.str.762
.asciz "$(RM) $(>)\n"
l_.str.763: ; @.str.763
.asciz "actions File\n"
l_.str.764: ; @.str.764
.asciz "$(CP) $(>) $(<)\n"
l_.str.765: ; @.str.765
.asciz "actions GenFile1\n"
l_.str.766: ; @.str.766
.asciz "$(>[1]) $(<) $(>[2-])\n"
l_.str.767: ; @.str.767
.asciz "actions Fortran\n"
l_.str.768: ; @.str.768
.asciz "$(FORTRAN) $(FORTRANFLAGS) -o $(<) $(>)\n"
l_.str.769: ; @.str.769
.asciz "actions HardLink\n"
l_.str.770: ; @.str.770
.asciz "$(RM) $(<) && $(LN) $(>) $(<)\n"
l_.str.771: ; @.str.771
.asciz "actions Install\n"
l_.str.772: ; @.str.772
.asciz "actions Lex\n"
l_.str.773: ; @.str.773
.asciz "$(LEX) $(>)\n"
l_.str.774: ; @.str.774
.asciz "actions LexMv\n"
l_.str.775: ; @.str.775
.asciz "$(MV) lex.yy.c $(<)\n"
l_.str.776: ; @.str.776
.asciz "actions Link bind NEEDLIBS\n"
l_.str.777: ; @.str.777
.asciz "$(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n"
l_.str.778: ; @.str.778
.asciz "actions MkDir1\n"
l_.str.779: ; @.str.779
.asciz "$(MKDIR) $(<)\n"
l_.str.780: ; @.str.780
.asciz "actions together Ranlib\n"
l_.str.781: ; @.str.781
.asciz "$(RANLIB) $(<)\n"
l_.str.782: ; @.str.782
.asciz "actions quietly updated piecemeal together RmTemps\n"
l_.str.783: ; @.str.783
.asciz "actions Shell\n"
l_.str.784: ; @.str.784
.asciz "$(AWK) '\n"
l_.str.785: ; @.str.785
.asciz "NR == 1 { print \"$(SHELLHEADER)\" }\n"
l_.str.786: ; @.str.786
.asciz "NR == 1 && /^[#:]/ { next }\n"
l_.str.787: ; @.str.787
.asciz "/^##/ { next }\n"
l_.str.788: ; @.str.788
.asciz "{ print }\n"
l_.str.789: ; @.str.789
.asciz "' < $(>) > $(<)\n"
l_.str.790: ; @.str.790
.asciz "actions Yacc1\n"
l_.str.791: ; @.str.791
.asciz "$(YACC) $(YACCFLAGS) $(>)\n"
l_.str.792: ; @.str.792
.asciz "actions YaccMv\n"
l_.str.793: ; @.str.793
.asciz "$(MV) $(YACCFILES).c $(<[1])\n"
l_.str.794: ; @.str.794
.asciz "$(MV) $(YACCFILES).h $(<[2])\n"
l_.str.795: ; @.str.795
.asciz "$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) $(>)\n"
l_.str.796: ; @.str.796
.asciz "$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) $(>)\n"
l_.str.797: ; @.str.797
.asciz "actions ignore CcMv\n"
l_.str.798: ; @.str.798
.asciz "[ $(<) != $(>:BS=$(SUFOBJ)) ] && $(MV) $(>:BS=$(SUFOBJ)) $(<)\n"
l_.str.799: ; @.str.799
.asciz "if $(NOARUPDATE)\n"
l_.str.800: ; @.str.800
.asciz "actions Archive\n"
l_.str.801: ; @.str.801
.asciz "if $(TOOLSET) = VISUALC || $(TOOLSET) = VC7 || $(TOOLSET) = INTELC\n"
l_.str.802: ; @.str.802
.asciz "if exist $(<) set _$(<:B)_=$(<)\n"
l_.str.803: ; @.str.803
.asciz "$(AR) /out:$(<) %_$(<:B)_% $(>)\n"
l_.str.804: ; @.str.804
.asciz "$(AS) /Ml /p /v /w2 $(>) $(<) ,nul,nul;\n"
l_.str.805: ; @.str.805
.asciz "$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) $(>)\n"
l_.str.806: ; @.str.806
.asciz "$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) /Tp$(>)\n"
l_.str.807: ; @.str.807
.asciz "$(LINK) $(LINKFLAGS) /out:$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n"
l_.str.808: ; @.str.808
.asciz "$(AR) $(<) -+$(>)\n"
l_.str.809: ; @.str.809
.asciz "$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) $(>)\n"
l_.str.810: ; @.str.810
.asciz "$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /Tp$(>)\n"
l_.str.811: ; @.str.811
.asciz "else if $(TOOLSET) = BORLANDC\n"
l_.str.812: ; @.str.812
.asciz "$(LINK) -e$(<) $(LINKFLAGS) $(UNDEFS) -L$(LINKLIBS) $(NEEDLIBS) $(>)\n"
l_.str.813: ; @.str.813
.asciz "$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n"
l_.str.814: ; @.str.814
.asciz "$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n"
l_.str.815: ; @.str.815
.asciz "actions together piecemeal Archive\n"
l_.str.816: ; @.str.816
.asciz "$(AR) $(<) $(>:T)\n"
l_.str.817: ; @.str.817
.asciz "$(AR) $(<) +-$(>)\n"
l_.str.818: ; @.str.818
.asciz "$(CC) $(CCFLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n"
l_.str.819: ; @.str.819
.asciz "$(C++) $(C++FLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n"
l_.str.820: ; @.str.820
.asciz "$(LINK) $(LINKFLAGS) /Fe=$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n"
l_.str.821: ; @.str.821
.asciz "$(AR) /out:$(<) $(>)\n"
l_.str.822: ; @.str.822
.asciz "$(CC) $(CCFLAGS) $(OPTIM) -Fo$(<) -I$(HDRS) $(>)\n"
l_.str.823: ; @.str.823
.asciz "lib/replace $(<) $(>[1]) ,$(>[2-])\n"
l_.str.824: ; @.str.824
.asciz "$(CC)/obj=$(<) $(CCFLAGS) $(OPTIM) $(SLASHINC) $(>)\n"
l_.str.825: ; @.str.825
.asciz "$(C++)/obj=$(<) $(C++FLAGS) $(OPTIM) $(SLASHINC) $(>)\n"
l_.str.826: ; @.str.826
.asciz "$(RM) $(>[1]);* ,$(>[2-]);*\n"
l_.str.827: ; @.str.827
.asciz "actions together quietly CreLib\n"
l_.str.828: ; @.str.828
.asciz "if f$search(\"$(<)\") .eqs. \"\" then lib/create $(<)\n"
l_.str.829: ; @.str.829
.asciz "mcr $(>[1]) $(<) $(>[2-])\n"
l_.str.830: ; @.str.830
.asciz "$(LINK)/exe=$(<) $(LINKFLAGS) $(>[1]) ,$(>[2-]) ,$(NEEDLIBS)/lib ,$(LINKLIBS)\n"
l_.str.831: ; @.str.831
.asciz "actions together Archive\n"
l_.str.832: ; @.str.832
.asciz "$(LINK) -library -o $(<) $(>)\n"
l_.str.833: ; @.str.833
.asciz "set -e MWCincludes $(MACINC)\n"
l_.str.834: ; @.str.834
.asciz "$(CC) -o $(<) $(CCFLAGS) $(OPTIM) $(>)\n"
l_.str.835: ; @.str.835
.asciz "$(CC) -o $(<) $(C++FLAGS) $(OPTIM) $(>)\n"
l_.str.836: ; @.str.836
.asciz "$(LINK) -o $(<) $(LINKFLAGS) $(>) $(NEEDLIBS) \"$(LINKLIBS)\"\n"
l_.str.837: ; @.str.837
.asciz "rule BULK { Bulk $(<) : $(>) ; }\n"
l_.str.838: ; @.str.838
.asciz "rule FILE { File $(<) : $(>) ; }\n"
l_.str.839: ; @.str.839
.asciz "rule HDRRULE { HdrRule $(<) : $(>) ; }\n"
l_.str.840: ; @.str.840
.asciz "rule INSTALL { Install $(<) : $(>) ; }\n"
l_.str.841: ; @.str.841
.asciz "rule LIBRARY { Library $(<) : $(>) ; }\n"
l_.str.842: ; @.str.842
.asciz "rule LIBS { LinkLibraries $(<) : $(>) ; }\n"
l_.str.843: ; @.str.843
.asciz "rule LINK { Link $(<) : $(>) ; }\n"
l_.str.844: ; @.str.844
.asciz "rule MAIN { Main $(<) : $(>) ; }\n"
l_.str.845: ; @.str.845
.asciz "rule SETUID { Setuid $(<) ; }\n"
l_.str.846: ; @.str.846
.asciz "rule SHELL { Shell $(<) : $(>) ; }\n"
l_.str.847: ; @.str.847
.asciz "rule UNDEFINES { Undefines $(<) : $(>) ; }\n"
l_.str.848: ; @.str.848
.asciz "rule INSTALLBIN { InstallBin $(BINDIR) : $(<) ; }\n"
l_.str.849: ; @.str.849
.asciz "rule INSTALLLIB { InstallLib $(LIBDIR) : $(<) ; }\n"
l_.str.850: ; @.str.850
.asciz "rule INSTALLMAN { InstallMan $(MANDIR) : $(<) ; }\n"
l_.str.851: ; @.str.851
.asciz "rule addDirName { $(<) += [ FDirName $(>) ] ; }\n"
l_.str.852: ; @.str.852
.asciz "rule makeDirName { $(<) = [ FDirName $(>) ] ; }\n"
l_.str.853: ; @.str.853
.asciz "rule makeGristedName { $(<) = [ FGristSourceFiles $(>) ] ; }\n"
l_.str.854: ; @.str.854
.asciz "rule makeRelPath { $(<[1]) = [ FRelPath $(<[2-]) : $(>) ] ; }\n"
l_.str.855: ; @.str.855
.asciz "rule makeSuffixed { $(<[1]) = [ FAppendSuffix $(>) : $(<[2]) ] ; }\n"
l_.str.856: ; @.str.856
.asciz "if $(JAMFILE) { include $(JAMFILE) ; }\n"
.section __DATA,__data
.globl _jambase ; @jambase
.p2align 3
_jambase:
.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.1
.quad l_.str.6
.quad l_.str.7
.quad l_.str.1
.quad l_.str.8
.quad l_.str.9
.quad l_.str.3
.quad l_.str.10
.quad l_.str.3
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.1
.quad l_.str.15
.quad l_.str.3
.quad l_.str.16
.quad l_.str.1
.quad l_.str.17
.quad l_.str.1
.quad l_.str.18
.quad l_.str.3
.quad l_.str.3
.quad l_.str.19
.quad l_.str.1
.quad l_.str.20
.quad l_.str.1
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad l_.str.22
.quad l_.str.24
.quad l_.str.3
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.1
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.22
.quad l_.str.23
.quad l_.str.22
.quad l_.str.33
.quad l_.str.34
.quad l_.str.22
.quad l_.str.24
.quad l_.str.3
.quad l_.str.35
.quad l_.str.1
.quad l_.str.36
.quad l_.str.37
.quad l_.str.3
.quad l_.str.38
.quad l_.str.3
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.1
.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.1
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.1
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.22
.quad l_.str.3
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.24
.quad l_.str.3
.quad l_.str.35
.quad l_.str.1
.quad l_.str.61
.quad l_.str.62
.quad l_.str.3
.quad l_.str.63
.quad l_.str.29
.quad l_.str.1
.quad l_.str.64
.quad l_.str.65
.quad l_.str.66
.quad l_.str.60
.quad l_.str.22
.quad l_.str.67
.quad l_.str.68
.quad l_.str.22
.quad l_.str.24
.quad l_.str.3
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str
.quad l_.str.1
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.1
.quad l_.str.74
.quad l_.str.75
.quad l_.str.1
.quad l_.str.76
.quad l_.str.77
.quad l_.str.3
.quad l_.str.78
.quad l_.str.1
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.3
.quad l_.str.3
.quad l_.str.78
.quad l_.str.1
.quad l_.str.84
.quad l_.str.1
.quad l_.str.85
.quad l_.str.86
.quad l_.str.3
.quad l_.str.87
.quad l_.str.1
.quad l_.str.88
.quad l_.str.89
.quad l_.str.3
.quad l_.str.90
.quad l_.str.1
.quad l_.str.91
.quad l_.str.92
.quad l_.str.3
.quad l_.str.93
.quad l_.str.1
.quad l_.str.91
.quad l_.str.94
.quad l_.str.3
.quad l_.str.95
.quad l_.str.1
.quad l_.str.96
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.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.81
.quad l_.str.103
.quad l_.str.104
.quad l_.str.81
.quad l_.str.105
.quad l_.str.81
.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.81
.quad l_.str.113
.quad l_.str.114
.quad l_.str.81
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.3
.quad l_.str.3
.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.1
.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.3
.quad l_.str.136
.quad l_.str.1
.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.131
.quad l_.str.132
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.135
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.3
.quad l_.str.151
.quad l_.str.1
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.139
.quad l_.str.155
.quad l_.str.141
.quad l_.str.142
.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.148
.quad l_.str.162
.quad l_.str.150
.quad l_.str.3
.quad l_.str.163
.quad l_.str.1
.quad l_.str.164
.quad l_.str.153
.quad l_.str.154
.quad l_.str.139
.quad l_.str.155
.quad l_.str.141
.quad l_.str.142
.quad l_.str.156
.quad l_.str.157
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.148
.quad l_.str.169
.quad l_.str.170
.quad l_.str.150
.quad l_.str.3
.quad l_.str.171
.quad l_.str.1
.quad l_.str.172
.quad l_.str.173
.quad l_.str.1
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.83
.quad l_.str.3
.quad l_.str.153
.quad l_.str.154
.quad l_.str.177
.quad l_.str.155
.quad l_.str.141
.quad l_.str.142
.quad l_.str.156
.quad l_.str.157
.quad l_.str.178
.quad l_.str.179
.quad l_.str.146
.quad l_.str.148
.quad l_.str.180
.quad l_.str.150
.quad l_.str.3
.quad l_.str.181
.quad l_.str.1
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.142
.quad l_.str.118
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.147
.quad l_.str.191
.quad l_.str.135
.quad l_.str.192
.quad l_.str.193
.quad l_.str.120
.quad l_.str.194
.quad l_.str.123
.quad l_.str.121
.quad l_.str.122
.quad l_.str.150
.quad l_.str.3
.quad l_.str.195
.quad l_.str.1
.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.3
.quad l_.str.209
.quad l_.str.1
.quad l_.str.210
.quad l_.str.211
.quad l_.str.212
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.213
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.214
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.215
.quad l_.str.216
.quad l_.str.3
.quad l_.str.3
.quad l_.str.217
.quad l_.str.1
.quad l_.str.218
.quad l_.str.72
.quad l_.str.73
.quad l_.str.1
.quad l_.str.74
.quad l_.str.75
.quad l_.str.1
.quad l_.str.76
.quad l_.str.77
.quad l_.str.3
.quad l_.str.78
.quad l_.str.1
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.3
.quad l_.str.3
.quad l_.str.78
.quad l_.str.1
.quad l_.str.219
.quad l_.str.1
.quad l_.str.220
.quad l_.str.221
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.222
.quad l_.str.223
.quad l_.str.81
.quad l_.str.103
.quad l_.str.104
.quad l_.str.81
.quad l_.str.105
.quad l_.str.81
.quad l_.str.110
.quad l_.str.224
.quad l_.str.225
.quad l_.str.81
.quad l_.str.113
.quad l_.str.114
.quad l_.str.81
.quad l_.str.226
.quad l_.str.227
.quad l_.str.81
.quad l_.str.117
.quad l_.str.3
.quad l_.str.3
.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.1
.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.3
.quad l_.str.251
.quad l_.str.1
.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.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.266
.quad l_.str.3
.quad l_.str.3
.quad l_.str.267
.quad l_.str.1
.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.157
.quad l_.str.147
.quad l_.str.281
.quad l_.str.282
.quad l_.str.148
.quad l_.str.283
.quad l_.str.284
.quad l_.str.285
.quad l_.str.286
.quad l_.str.287
.quad l_.str.123
.quad l_.str.288
.quad l_.str.122
.quad l_.str.289
.quad l_.str.1
.quad l_.str.290
.quad l_.str.291
.quad l_.str.3
.quad l_.str.3
.quad l_.str.292
.quad l_.str.1
.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.303
.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.135
.quad l_.str.192
.quad l_.str.325
.quad l_.str.326
.quad l_.str.327
.quad l_.str.121
.quad l_.str.328
.quad l_.str.3
.quad l_.str.329
.quad l_.str.1
.quad l_.str.330
.quad l_.str.331
.quad l_.str.332
.quad l_.str.333
.quad l_.str.141
.quad l_.str.334
.quad l_.str.335
.quad l_.str.336
.quad l_.str.337
.quad l_.str.157
.quad l_.str.338
.quad l_.str.135
.quad l_.str.339
.quad l_.str.3
.quad l_.str.340
.quad l_.str.1
.quad l_.str.331
.quad l_.str.341
.quad l_.str.141
.quad l_.str.335
.quad l_.str.336
.quad l_.str.342
.quad l_.str.343
.quad l_.str.135
.quad l_.str.339
.quad l_.str.3
.quad l_.str.344
.quad l_.str.1
.quad l_.str.289
.quad l_.str.1
.quad l_.str.345
.quad l_.str.346
.quad l_.str.347
.quad l_.str.341
.quad l_.str.348
.quad l_.str.349
.quad l_.str.341
.quad l_.str.350
.quad l_.str.351
.quad l_.str.352
.quad l_.str.123
.quad l_.str.348
.quad l_.str.353
.quad l_.str.352
.quad l_.str.354
.quad l_.str.355
.quad l_.str.356
.quad l_.str.357
.quad l_.str.358
.quad l_.str.352
.quad l_.str.359
.quad l_.str.341
.quad l_.str.352
.quad l_.str.360
.quad l_.str.352
.quad l_.str.361
.quad l_.str.341
.quad l_.str.362
.quad l_.str.363
.quad l_.str.364
.quad l_.str.352
.quad l_.str.135
.quad l_.str.365
.quad l_.str.366
.quad l_.str.352
.quad l_.str.367
.quad l_.str.368
.quad l_.str.352
.quad l_.str.369
.quad l_.str.368
.quad l_.str.370
.quad l_.str.371
.quad l_.str.352
.quad l_.str.372
.quad l_.str.352
.quad l_.str.373
.quad l_.str.352
.quad l_.str.374
.quad l_.str.183
.quad l_.str.270
.quad l_.str.375
.quad l_.str.141
.quad l_.str.376
.quad l_.str.131
.quad l_.str.377
.quad l_.str.135
.quad l_.str.352
.quad l_.str.378
.quad l_.str.352
.quad l_.str.354
.quad l_.str.379
.quad l_.str.352
.quad l_.str.380
.quad l_.str.352
.quad l_.str.381
.quad l_.str.382
.quad l_.str.135
.quad l_.str.383
.quad l_.str.384
.quad l_.str.352
.quad l_.str.354
.quad l_.str.3
.quad l_.str.271
.quad l_.str.142
.quad l_.str.385
.quad l_.str.386
.quad l_.str.387
.quad l_.str.388
.quad l_.str.132
.quad l_.str.147
.quad l_.str.389
.quad l_.str.390
.quad l_.str.391
.quad l_.str.392
.quad l_.str.393
.quad l_.str.3
.quad l_.str.394
.quad l_.str.395
.quad l_.str.396
.quad l_.str.397
.quad l_.str.398
.quad l_.str.399
.quad l_.str.269
.quad l_.str.270
.quad l_.str.271
.quad l_.str.400
.quad l_.str.401
.quad l_.str.187
.quad l_.str.188
.quad l_.str.402
.quad l_.str.403
.quad l_.str.404
.quad l_.str.405
.quad l_.str.279
.quad l_.str.406
.quad l_.str.407
.quad l_.str.408
.quad l_.str.409
.quad l_.str.410
.quad l_.str.131
.quad l_.str.411
.quad l_.str.147
.quad l_.str.412
.quad l_.str.413
.quad l_.str.414
.quad l_.str.415
.quad l_.str.192
.quad l_.str.416
.quad l_.str.417
.quad l_.str.418
.quad l_.str.419
.quad l_.str.420
.quad l_.str.421
.quad l_.str.422
.quad l_.str.423
.quad l_.str.424
.quad l_.str.425
.quad l_.str.328
.quad l_.str.426
.quad l_.str.427
.quad l_.str.428
.quad l_.str.429
.quad l_.str.430
.quad l_.str.431
.quad l_.str.432
.quad l_.str.433
.quad l_.str.434
.quad l_.str.435
.quad l_.str.436
.quad l_.str.437
.quad l_.str.1
.quad l_.str.438
.quad l_.str.439
.quad l_.str.3
.quad l_.str.440
.quad l_.str.1
.quad l_.str.441
.quad l_.str.442
.quad l_.str.1
.quad l_.str.443
.quad l_.str.3
.quad l_.str.3
.quad l_.str.444
.quad l_.str.1
.quad l_.str.445
.quad l_.str.438
.quad l_.str.446
.quad l_.str.447
.quad l_.str.1
.quad l_.str.448
.quad l_.str.3
.quad l_.str.449
.quad l_.str.450
.quad l_.str.1
.quad l_.str.451
.quad l_.str.3
.quad l_.str.452
.quad l_.str.1
.quad l_.str.453
.quad l_.str.454
.quad l_.str.455
.quad l_.str.1
.quad l_.str.456
.quad l_.str.3
.quad l_.str.457
.quad l_.str.3
.quad l_.str.3
.quad l_.str.458
.quad l_.str.1
.quad l_.str.445
.quad l_.str.438
.quad l_.str.459
.quad l_.str.447
.quad l_.str.1
.quad l_.str.448
.quad l_.str.3
.quad l_.str.449
.quad l_.str.450
.quad l_.str.1
.quad l_.str.451
.quad l_.str.3
.quad l_.str.452
.quad l_.str.1
.quad l_.str.453
.quad l_.str.454
.quad l_.str.455
.quad l_.str.1
.quad l_.str.456
.quad l_.str.3
.quad l_.str.457
.quad l_.str.3
.quad l_.str.3
.quad l_.str.460
.quad l_.str.1
.quad l_.str.461
.quad l_.str.3
.quad l_.str.462
.quad l_.str.1
.quad l_.str.463
.quad l_.str.438
.quad l_.str.464
.quad l_.str.465
.quad l_.str.466
.quad l_.str.3
.quad l_.str.467
.quad l_.str.1
.quad l_.str.438
.quad l_.str.3
.quad l_.str.468
.quad l_.str.1
.quad l_.str.469
.quad l_.str.470
.quad l_.str.471
.quad l_.str.472
.quad l_.str.473
.quad l_.str.3
.quad l_.str.474
.quad l_.str.1
.quad l_.str.475
.quad l_.str.464
.quad l_.str.3
.quad l_.str.476
.quad l_.str.1
.quad l_.str.463
.quad l_.str.438
.quad l_.str.464
.quad l_.str.3
.quad l_.str.477
.quad l_.str.1
.quad l_.str.478
.quad l_.str.3
.quad l_.str.479
.quad l_.str.1
.quad l_.str.480
.quad l_.str.481
.quad l_.str.1
.quad l_.str.482
.quad l_.str.483
.quad l_.str.484
.quad l_.str.3
.quad l_.str.485
.quad l_.str.486
.quad l_.str.487
.quad l_.str.488
.quad l_.str.489
.quad l_.str.490
.quad l_.str.491
.quad l_.str.3
.quad l_.str.492
.quad l_.str.1
.quad l_.str.493
.quad l_.str.494
.quad l_.str.495
.quad l_.str.496
.quad l_.str.464
.quad l_.str.497
.quad l_.str.442
.quad l_.str.1
.quad l_.str.498
.quad l_.str.499
.quad l_.str.500
.quad l_.str.501
.quad l_.str.502
.quad l_.str.1
.quad l_.str.503
.quad l_.str.504
.quad l_.str.3
.quad l_.str.505
.quad l_.str.1
.quad l_.str.506
.quad l_.str.507
.quad l_.str.3
.quad l_.str.3
.quad l_.str.3
.quad l_.str.508
.quad l_.str.1
.quad l_.str.509
.quad l_.str.510
.quad l_.str.511
.quad l_.str.3
.quad l_.str.512
.quad l_.str.1
.quad l_.str.513
.quad l_.str.514
.quad l_.str.3
.quad l_.str.515
.quad l_.str.1
.quad l_.str.513
.quad l_.str.514
.quad l_.str.3
.quad l_.str.516
.quad l_.str.1
.quad l_.str.517
.quad l_.str.442
.quad l_.str.1
.quad l_.str.518
.quad l_.str.1
.quad l_.str.519
.quad l_.str.520
.quad l_.str.521
.quad l_.str.522
.quad l_.str.3
.quad l_.str.523
.quad l_.str.524
.quad l_.str.3
.quad l_.str.514
.quad l_.str.3
.quad l_.str.525
.quad l_.str.1
.quad l_.str.513
.quad l_.str.526
.quad l_.str.3
.quad l_.str.527
.quad l_.str.1
.quad l_.str.528
.quad l_.str.438
.quad l_.str.475
.quad l_.str.529
.quad l_.str.3
.quad l_.str.530
.quad l_.str.1
.quad l_.str.531
.quad l_.str.532
.quad l_.str.3
.quad l_.str.533
.quad l_.str.1
.quad l_.str.534
.quad l_.str.535
.quad l_.str.536
.quad l_.str.537
.quad l_.str.1
.quad l_.str.538
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.539
.quad l_.str.3
.quad l_.str.540
.quad l_.str.1
.quad l_.str.541
.quad l_.str.3
.quad l_.str.542
.quad l_.str.1
.quad l_.str.543
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.544
.quad l_.str.545
.quad l_.str.1
.quad l_.str.546
.quad l_.str.3
.quad l_.str.3
.quad l_.str.547
.quad l_.str.548
.quad l_.str.549
.quad l_.str.550
.quad l_.str.551
.quad l_.str.3
.quad l_.str.552
.quad l_.str.1
.quad l_.str.553
.quad l_.str.466
.quad l_.str.3
.quad l_.str.554
.quad l_.str.1
.quad l_.str.555
.quad l_.str.556
.quad l_.str.557
.quad l_.str.3
.quad l_.str.558
.quad l_.str.1
.quad l_.str.559
.quad l_.str.532
.quad l_.str.3
.quad l_.str.560
.quad l_.str.1
.quad l_.str.561
.quad l_.str.535
.quad l_.str.562
.quad l_.str.563
.quad l_.str.1
.quad l_.str.564
.quad l_.str.565
.quad l_.str.3
.quad l_.str.566
.quad l_.str.567
.quad l_.str.568
.quad l_.str.473
.quad l_.str.569
.quad l_.str.3
.quad l_.str.570
.quad l_.str.1
.quad l_.str.571
.quad l_.str.1
.quad l_.str.572
.quad l_.str.573
.quad l_.str.574
.quad l_.str.3
.quad l_.str.3
.quad l_.str.575
.quad l_.str.1
.quad l_.str.576
.quad l_.str.577
.quad l_.str.1
.quad l_.str.480
.quad l_.str.578
.quad l_.str.579
.quad l_.str.580
.quad l_.str.581
.quad l_.str
.quad l_.str.1
.quad l_.str.582
.quad l_.str.1
.quad l_.str.583
.quad l_.str.584
.quad l_.str.3
.quad l_.str.3
.quad l_.str.585
.quad l_.str.1
.quad l_.str.586
.quad l_.str.587
.quad l_.str.3
.quad l_.str.588
.quad l_.str.1
.quad l_.str.589
.quad l_.str.3
.quad l_.str.3
.quad l_.str.3
.quad l_.str.590
.quad l_.str.1
.quad l_.str.591
.quad l_.str.529
.quad l_.str.592
.quad l_.str.464
.quad l_.str.593
.quad l_.str.594
.quad l_.str.1
.quad l_.str.595
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.596
.quad l_.str.3
.quad l_.str.597
.quad l_.str.598
.quad l_.str.599
.quad l_.str.600
.quad l_.str.601
.quad l_.str.1
.quad l_.str.602
.quad l_.str.603
.quad l_.str.604
.quad l_.str.605
.quad l_.str.606
.quad l_.str.607
.quad l_.str.608
.quad l_.str.609
.quad l_.str.610
.quad l_.str.611
.quad l_.str.612
.quad l_.str.613
.quad l_.str.3
.quad l_.str.3
.quad l_.str.614
.quad l_.str.1
.quad l_.str.615
.quad l_.str.3
.quad l_.str.616
.quad l_.str.1
.quad l_.str.617
.quad l_.str.3
.quad l_.str.618
.quad l_.str.1
.quad l_.str.619
.quad l_.str.3
.quad l_.str.620
.quad l_.str.1
.quad l_.str.621
.quad l_.str.622
.quad l_.str.1
.quad l_.str.623
.quad l_.str.624
.quad l_.str.3
.quad l_.str.3
.quad l_.str.625
.quad l_.str.1
.quad l_.str.626
.quad l_.str.3
.quad l_.str.627
.quad l_.str.1
.quad l_.str.628
.quad l_.str.3
.quad l_.str.629
.quad l_.str.1
.quad l_.str.630
.quad l_.str.438
.quad l_.str.464
.quad l_.str.631
.quad l_.str.529
.quad l_.str.466
.quad l_.str.3
.quad l_.str.632
.quad l_.str.1
.quad l_.str.633
.quad l_.str.634
.quad l_.str.1
.quad l_.str.635
.quad l_.str.1
.quad l_.str.636
.quad l_.str.3
.quad l_.str.637
.quad l_.str.3
.quad l_.str.638
.quad l_.str.1
.quad l_.str.639
.quad l_.str.640
.quad l_.str.641
.quad l_.str.1
.quad l_.str.642
.quad l_.str.3
.quad l_.str.643
.quad l_.str.3
.quad l_.str.644
.quad l_.str.645
.quad l_.str.646
.quad l_.str.647
.quad l_.str.648
.quad l_.str.649
.quad l_.str.650
.quad l_.str.651
.quad l_.str.652
.quad l_.str.653
.quad l_.str.3
.quad l_.str.654
.quad l_.str.1
.quad l_.str.655
.quad l_.str.3
.quad l_.str.656
.quad l_.str.1
.quad l_.str.657
.quad l_.str.3
.quad l_.str.658
.quad l_.str.1
.quad l_.str.659
.quad l_.str.3
.quad l_.str.660
.quad l_.str.1
.quad l_.str.661
.quad l_.str.634
.quad l_.str.1
.quad l_.str.662
.quad l_.str.3
.quad l_.str.644
.quad l_.str.663
.quad l_.str.3
.quad l_.str.664
.quad l_.str.1
.quad l_.str.665
.quad l_.str.3
.quad l_.str.666
.quad l_.str.1
.quad l_.str.667
.quad l_.str.3
.quad l_.str.668
.quad l_.str.1
.quad l_.str.445
.quad l_.str.669
.quad l_.str.670
.quad l_.str.671
.quad l_.str.1
.quad l_.str.672
.quad l_.str.673
.quad l_.str.674
.quad l_.str.675
.quad l_.str.3
.quad l_.str.676
.quad l_.str.3
.quad l_.str.677
.quad l_.str.1
.quad l_.str.678
.quad l_.str.679
.quad l_.str.680
.quad l_.str.1
.quad l_.str.681
.quad l_.str.3
.quad l_.str.682
.quad l_.str.3
.quad l_.str.683
.quad l_.str.1
.quad l_.str.684
.quad l_.str.1
.quad l_.str.685
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.686
.quad l_.str.3
.quad l_.str.3
.quad l_.str.687
.quad l_.str.1
.quad l_.str.684
.quad l_.str.1
.quad l_.str.685
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.688
.quad l_.str.689
.quad l_.str.1
.quad l_.str.690
.quad l_.str.1
.quad l_.str.691
.quad l_.str.692
.quad l_.str.3
.quad l_.str.3
.quad l_.str.693
.quad l_.str.3
.quad l_.str.3
.quad l_.str.694
.quad l_.str.1
.quad l_.str.695
.quad l_.str.696
.quad l_.str.697
.quad l_.str.1
.quad l_.str.698
.quad l_.str.3
.quad l_.str.699
.quad l_.str.3
.quad l_.str.700
.quad l_.str.1
.quad l_.str.701
.quad l_.str.635
.quad l_.str.1
.quad l_.str.702
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.703
.quad l_.str.680
.quad l_.str.1
.quad l_.str.704
.quad l_.str.3
.quad l_.str.3
.quad l_.str.705
.quad l_.str.3
.quad l_.str.706
.quad l_.str.1
.quad l_.str.707
.quad l_.str.708
.quad l_.str.1
.quad l_.str.709
.quad l_.str.3
.quad l_.str.267
.quad l_.str.1
.quad l_.str.710
.quad l_.str.1
.quad l_.str.711
.quad l_.str.712
.quad l_.str.713
.quad l_.str.3
.quad l_.str.714
.quad l_.str.1
.quad l_.str.715
.quad l_.str.3
.quad l_.str.3
.quad l_.str.292
.quad l_.str.1
.quad l_.str.709
.quad l_.str.689
.quad l_.str.1
.quad l_.str.715
.quad l_.str.3
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.716
.quad l_.str.680
.quad l_.str.1
.quad l_.str.715
.quad l_.str.3
.quad l_.str.3
.quad l_.str.717
.quad l_.str.3
.quad l_.str.718
.quad l_.str.1
.quad l_.str.719
.quad l_.str.1
.quad l_.str.720
.quad l_.str.721
.quad l_.str.722
.quad l_.str.3
.quad l_.str.3
.quad l_.str.723
.quad l_.str.1
.quad l_.str.724
.quad l_.str.725
.quad l_.str.726
.quad l_.str.727
.quad l_.str.728
.quad l_.str.729
.quad l_.str.730
.quad l_.str.731
.quad l_.str.483
.quad l_.str.732
.quad l_.str.3
.quad l_.str.3
.quad l_.str.733
.quad l_.str.1
.quad l_.str.571
.quad l_.str.1
.quad l_.str.688
.quad l_.str.689
.quad l_.str.1
.quad l_.str.734
.quad l_.str.1
.quad l_.str.735
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.736
.quad l_.str.3
.quad l_.str.3
.quad l_.str.693
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.685
.quad l_.str.3
.quad l_.str.3
.quad l_.str.737
.quad l_.str.1
.quad l_.str.738
.quad l_.str.1
.quad l_.str.739
.quad l_.str.3
.quad l_.str.69
.quad l_.str.1
.quad l_.str.740
.quad l_.str.3
.quad l_.str.3
.quad l_.str.741
.quad l_.str.1
.quad l_.str.742
.quad l_.str.743
.quad l_.str.744
.quad l_.str.745
.quad l_.str.1
.quad l_.str.746
.quad l_.str.3
.quad l_.str.717
.quad l_.str.3
.quad l_.str.747
.quad l_.str.1
.quad l_.str.748
.quad l_.str.3
.quad l_.str.749
.quad l_.str.1
.quad l_.str.750
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.752
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.754
.quad l_.str.3
.quad l_.str.755
.quad l_.str.1
.quad l_.str.756
.quad l_.str.3
.quad l_.str.757
.quad l_.str.1
.quad l_.str.758
.quad l_.str.3
.quad l_.str.759
.quad l_.str.1
.quad l_.str.760
.quad l_.str.3
.quad l_.str.761
.quad l_.str.1
.quad l_.str.762
.quad l_.str.3
.quad l_.str.763
.quad l_.str.1
.quad l_.str.764
.quad l_.str.3
.quad l_.str.765
.quad l_.str.1
.quad l_.str.766
.quad l_.str.3
.quad l_.str.767
.quad l_.str.1
.quad l_.str.768
.quad l_.str.3
.quad l_.str.769
.quad l_.str.1
.quad l_.str.770
.quad l_.str.3
.quad l_.str.771
.quad l_.str.1
.quad l_.str.764
.quad l_.str.3
.quad l_.str.772
.quad l_.str.1
.quad l_.str.773
.quad l_.str.3
.quad l_.str.774
.quad l_.str.1
.quad l_.str.775
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.777
.quad l_.str.3
.quad l_.str.778
.quad l_.str.1
.quad l_.str.779
.quad l_.str.3
.quad l_.str.780
.quad l_.str.1
.quad l_.str.781
.quad l_.str.3
.quad l_.str.782
.quad l_.str.1
.quad l_.str.762
.quad l_.str.3
.quad l_.str.783
.quad l_.str.1
.quad l_.str.784
.quad l_.str.785
.quad l_.str.786
.quad l_.str.787
.quad l_.str.788
.quad l_.str.789
.quad l_.str.3
.quad l_.str.790
.quad l_.str.1
.quad l_.str.791
.quad l_.str.3
.quad l_.str.792
.quad l_.str.1
.quad l_.str.793
.quad l_.str.794
.quad l_.str.3
.quad l_.str.447
.quad l_.str.1
.quad l_.str.751
.quad l_.str.1
.quad l_.str.795
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.796
.quad l_.str.3
.quad l_.str.797
.quad l_.str.1
.quad l_.str.798
.quad l_.str.3
.quad l_.str.3
.quad l_.str.799
.quad l_.str.1
.quad l_.str.800
.quad l_.str.1
.quad l_.str.748
.quad l_.str.3
.quad l_.str.3
.quad l_.str
.quad l_.str.1
.quad l_.str.801
.quad l_.str.1
.quad l_.str.747
.quad l_.str.1
.quad l_.str.802
.quad l_.str.803
.quad l_.str.3
.quad l_.str.749
.quad l_.str.1
.quad l_.str.804
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.805
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.806
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.807
.quad l_.str.3
.quad l_.str.3
.quad l_.str.136
.quad l_.str.1
.quad l_.str.747
.quad l_.str.1
.quad l_.str.808
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.809
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.810
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.807
.quad l_.str.3
.quad l_.str.3
.quad l_.str.811
.quad l_.str.1
.quad l_.str.747
.quad l_.str.1
.quad l_.str.808
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.812
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.813
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.814
.quad l_.str.3
.quad l_.str.3
.quad l_.str.195
.quad l_.str.1
.quad l_.str.815
.quad l_.str.1
.quad l_.str.816
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.814
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.813
.quad l_.str.3
.quad l_.str.3
.quad l_.str.181
.quad l_.str.1
.quad l_.str.815
.quad l_.str.1
.quad l_.str.817
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.818
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.819
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.820
.quad l_.str.3
.quad l_.str.783
.quad l_.str.1
.quad l_.str.764
.quad l_.str.3
.quad l_.str.3
.quad l_.str.209
.quad l_.str.1
.quad l_.str.815
.quad l_.str.1
.quad l_.str.821
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.822
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.777
.quad l_.str.3
.quad l_.str.783
.quad l_.str.1
.quad l_.str.764
.quad l_.str.3
.quad l_.str.3
.quad l_.str.3
.quad l_.str.217
.quad l_.str.1
.quad l_.str.236
.quad l_.str.1
.quad l_.str.815
.quad l_.str.1
.quad l_.str.817
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.818
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.819
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.820
.quad l_.str.3
.quad l_.str.783
.quad l_.str.1
.quad l_.str.764
.quad l_.str.3
.quad l_.str.3
.quad l_.str.251
.quad l_.str.1
.quad l_.str.815
.quad l_.str.1
.quad l_.str.816
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.814
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.813
.quad l_.str.3
.quad l_.str.3
.quad l_.str.3
.quad l_.str.267
.quad l_.str.1
.quad l_.str.747
.quad l_.str.1
.quad l_.str.823
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.824
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.825
.quad l_.str.3
.quad l_.str.761
.quad l_.str.1
.quad l_.str.826
.quad l_.str.3
.quad l_.str.827
.quad l_.str.1
.quad l_.str.828
.quad l_.str.3
.quad l_.str.765
.quad l_.str.1
.quad l_.str.829
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.830
.quad l_.str.3
.quad l_.str.782
.quad l_.str.1
.quad l_.str.826
.quad l_.str.3
.quad l_.str.783
.quad l_.str.1
.quad l_.str.764
.quad l_.str.3
.quad l_.str.3
.quad l_.str.292
.quad l_.str.1
.quad l_.str.831
.quad l_.str.1
.quad l_.str.832
.quad l_.str.3
.quad l_.str.753
.quad l_.str.1
.quad l_.str.833
.quad l_.str.834
.quad l_.str.3
.quad l_.str.751
.quad l_.str.1
.quad l_.str.833
.quad l_.str.835
.quad l_.str.3
.quad l_.str.776
.quad l_.str.1
.quad l_.str.836
.quad l_.str.3
.quad l_.str.3
.quad l_.str.837
.quad l_.str.838
.quad l_.str.839
.quad l_.str.840
.quad l_.str.841
.quad l_.str.842
.quad l_.str.843
.quad l_.str.844
.quad l_.str.845
.quad l_.str.846
.quad l_.str.847
.quad l_.str.848
.quad l_.str.849
.quad l_.str.850
.quad l_.str.851
.quad l_.str.852
.quad l_.str.853
.quad l_.str.854
.quad l_.str.855
.quad l_.str.1
.quad l_.str.856
.quad l_.str.3
.quad l_.str.3
.quad 0
.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 "if $(NT)\n"
L_.str.1: ## @.str.1
.asciz "{\n"
L_.str.2: ## @.str.2
.asciz "SLASH ?= \\\\ ;\n"
L_.str.3: ## @.str.3
.asciz "}\n"
L_.str.4: ## @.str.4
.asciz "SLASH ?= / ;\n"
L_.str.5: ## @.str.5
.asciz "rule find-to-root ( dir : patterns + )\n"
L_.str.6: ## @.str.6
.asciz "local globs = [ GLOB $(dir) : $(patterns) ] ;\n"
L_.str.7: ## @.str.7
.asciz "while ! $(globs) && $(dir:P) != $(dir)\n"
L_.str.8: ## @.str.8
.asciz "dir = $(dir:P) ;\n"
L_.str.9: ## @.str.9
.asciz "globs = [ GLOB $(dir) : $(patterns) ] ;\n"
L_.str.10: ## @.str.10
.asciz "return $(globs) ;\n"
L_.str.11: ## @.str.11
.asciz ".boost-build-file = ;\n"
L_.str.12: ## @.str.12
.asciz ".bootstrap-file = ;\n"
L_.str.13: ## @.str.13
.asciz "BOOST_BUILD_PATH.user-value = $(BOOST_BUILD_PATH) ;\n"
L_.str.14: ## @.str.14
.asciz "if ! $(BOOST_BUILD_PATH) && $(UNIX)\n"
L_.str.15: ## @.str.15
.asciz "BOOST_BUILD_PATH = /usr/share/boost-build ;\n"
L_.str.16: ## @.str.16
.asciz "rule _poke ( module-name ? : variables + : value * )\n"
L_.str.17: ## @.str.17
.asciz "module $(<)\n"
L_.str.18: ## @.str.18
.asciz "$(>) = $(3) ;\n"
L_.str.19: ## @.str.19
.asciz "rule boost-build ( dir ? )\n"
L_.str.20: ## @.str.20
.asciz "if $(.bootstrap-file)\n"
L_.str.21: ## @.str.21
.asciz "ECHO \"Error: Illegal attempt to re-bootstrap the build system by invoking\" ;\n"
L_.str.22: ## @.str.22
.asciz "ECHO ;\n"
L_.str.23: ## @.str.23
.asciz "ECHO \" 'boost-build\" $(dir) \";'\" ;\n"
L_.str.24: ## @.str.24
.asciz "EXIT \"Please consult the documentation at 'http://www.boost.org'.\" ;\n"
L_.str.25: ## @.str.25
.asciz "BOOST_BUILD_PATH = $(dir:R=$(.boost-build-file:D)) $(BOOST_BUILD_PATH) ;\n"
L_.str.26: ## @.str.26
.asciz "_poke .ENVIRON : BOOST_BUILD_PATH : $(BOOST_BUILD_PATH) ;\n"
L_.str.27: ## @.str.27
.asciz "local bootstrap-file = [ GLOB $(BOOST_BUILD_PATH) : bootstrap.jam ] ;\n"
L_.str.28: ## @.str.28
.asciz ".bootstrap-file = $(bootstrap-file[1]) ;\n"
L_.str.29: ## @.str.29
.asciz "if ! $(.bootstrap-file)\n"
L_.str.30: ## @.str.30
.asciz "ECHO \"Unable to load Boost.Build: could not find build system.\" ;\n"
L_.str.31: ## @.str.31
.asciz "ECHO --------------------------------------------------------- ;\n"
L_.str.32: ## @.str.32
.asciz "ECHO \"$(.boost-build-file) attempted to load the build system by invoking\" ;\n"
L_.str.33: ## @.str.33
.asciz "ECHO \"but we were unable to find \\\"bootstrap.jam\\\" in the specified directory\" ;\n"
L_.str.34: ## @.str.34
.asciz "ECHO \"or in BOOST_BUILD_PATH (searching \"$(BOOST_BUILD_PATH:J=\", \")\").\" ;\n"
L_.str.35: ## @.str.35
.asciz "if [ MATCH .*(--debug-configuration).* : $(ARGV) ]\n"
L_.str.36: ## @.str.36
.asciz "ECHO \"notice: loading Boost.Build from\"\n"
L_.str.37: ## @.str.37
.asciz "[ NORMALIZE_PATH $(.bootstrap-file:D) ] ;\n"
L_.str.38: ## @.str.38
.asciz "include $(.bootstrap-file) ;\n"
L_.str.39: ## @.str.39
.asciz "if [ MATCH .*(b2).* : $(ARGV[1]:BL) ] \n"
L_.str.40: ## @.str.40
.asciz "|| [ MATCH .*(bjam).* : $(ARGV[1]:BL) ]\n"
L_.str.41: ## @.str.41
.asciz "|| $(BOOST_ROOT) # A temporary measure so Jam works with Boost.Build v1.\n"
L_.str.42: ## @.str.42
.asciz "local search-path = $(BOOST_BUILD_PATH) $(BOOST_ROOT) ;\n"
L_.str.43: ## @.str.43
.asciz "local self = [ SELF_PATH ] ;\n"
L_.str.44: ## @.str.44
.asciz "local boost-build-relative = ../../share/boost-build ;\n"
L_.str.45: ## @.str.45
.asciz "local self-based-path = [ NORMALIZE_PATH $(boost-build-relative:R=$(self)) ] ;\n"
L_.str.46: ## @.str.46
.asciz "local boost-build-files =\n"
L_.str.47: ## @.str.47
.asciz "[ find-to-root [ PWD ] : boost-build.jam ]\n"
L_.str.48: ## @.str.48
.asciz "[ GLOB $(self-based-path) : boost-build.jam ]\n"
L_.str.49: ## @.str.49
.asciz "[ GLOB $(search-path) : boost-build.jam ] ;\n"
L_.str.50: ## @.str.50
.asciz ".boost-build-file = $(boost-build-files[1]) ;\n"
L_.str.51: ## @.str.51
.asciz "if ! $(.boost-build-file)\n"
L_.str.52: ## @.str.52
.asciz "ECHO \"Unable to load Boost.Build: could not find \\\"boost-build.jam\\\"\" ;\n"
L_.str.53: ## @.str.53
.asciz "ECHO --------------------------------------------------------------- ;\n"
L_.str.54: ## @.str.54
.asciz "if ! [ MATCH .*(bjam).* : $(ARGV[1]:BL) ]\n"
L_.str.55: ## @.str.55
.asciz "ECHO \"BOOST_ROOT must be set, either in the environment, or \" ;\n"
L_.str.56: ## @.str.56
.asciz "ECHO \"on the command-line with -sBOOST_ROOT=..., to the root\" ;\n"
L_.str.57: ## @.str.57
.asciz "ECHO \"of the boost installation.\" ;\n"
L_.str.58: ## @.str.58
.asciz "ECHO \"Attempted search from\" [ PWD ] \"up to the root\" ;\n"
L_.str.59: ## @.str.59
.asciz "ECHO \"at\" $(self-based-path) ;\n"
L_.str.60: ## @.str.60
.asciz "ECHO \"and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: \"$(search-path:J=\", \")\".\" ;\n"
L_.str.61: ## @.str.61
.asciz "ECHO \"notice: found boost-build.jam at\"\n"
L_.str.62: ## @.str.62
.asciz "[ NORMALIZE_PATH $(.boost-build-file) ] ;\n"
L_.str.63: ## @.str.63
.asciz "include $(.boost-build-file) ;\n"
L_.str.64: ## @.str.64
.asciz "ECHO \"Unable to load Boost.Build\" ;\n"
L_.str.65: ## @.str.65
.asciz "ECHO -------------------------- ;\n"
L_.str.66: ## @.str.66
.asciz "ECHO \"\\\"$(.boost-build-file)\\\" was found by searching from\" [ PWD ] \"up to the root\" ;\n"
L_.str.67: ## @.str.67
.asciz "ECHO \"However, it failed to call the \\\"boost-build\\\" rule to indicate\" ;\n"
L_.str.68: ## @.str.68
.asciz "ECHO \"the location of the build system.\" ;\n"
L_.str.69: ## @.str.69
.asciz "else\n"
L_.str.70: ## @.str.70
.asciz "local SUPPORTED_TOOLSETS = \"BORLANDC\" \"VC7\" \"VISUALC\" \"VISUALC16\" \"INTELC\" \"WATCOM\"\n"
L_.str.71: ## @.str.71
.asciz "\"MINGW\" \"LCC\" ;\n"
L_.str.72: ## @.str.72
.asciz "TOOLSET = \"\" ;\n"
L_.str.73: ## @.str.73
.asciz "if $(JAM_TOOLSET)\n"
L_.str.74: ## @.str.74
.asciz "local t ;\n"
L_.str.75: ## @.str.75
.asciz "for t in $(SUPPORTED_TOOLSETS)\n"
L_.str.76: ## @.str.76
.asciz "$(t) = $($(t):J=\" \") ; # reconstitute paths with spaces in them\n"
L_.str.77: ## @.str.77
.asciz "if $(t) = $(JAM_TOOLSET) { TOOLSET = $(t) ; }\n"
L_.str.78: ## @.str.78
.asciz "if ! $(TOOLSET)\n"
L_.str.79: ## @.str.79
.asciz "ECHO \"The JAM_TOOLSET environment variable is defined but its value\" ;\n"
L_.str.80: ## @.str.80
.asciz "ECHO \"is invalid, please use one of the following:\" ;\n"
L_.str.81: ## @.str.81
.asciz "ECHO ;\n"
L_.str.82: ## @.str.82
.asciz "for t in $(SUPPORTED_TOOLSETS) { ECHO \" \" $(t) ; }\n"
L_.str.83: ## @.str.83
.asciz "EXIT ;\n"
L_.str.84: ## @.str.84
.asciz "if $(BCCROOT)\n"
L_.str.85: ## @.str.85
.asciz "TOOLSET = BORLANDC ;\n"
L_.str.86: ## @.str.86
.asciz "BORLANDC = $(BCCROOT:J=\" \") ;\n"
L_.str.87: ## @.str.87
.asciz "else if $(MSVC)\n"
L_.str.88: ## @.str.88
.asciz "TOOLSET = VISUALC16 ;\n"
L_.str.89: ## @.str.89
.asciz "VISUALC16 = $(MSVC:J=\" \") ;\n"
L_.str.90: ## @.str.90
.asciz "else if $(MSVCNT)\n"
L_.str.91: ## @.str.91
.asciz "TOOLSET = VISUALC ;\n"
L_.str.92: ## @.str.92
.asciz "VISUALC = $(MSVCNT:J=\" \") ;\n"
L_.str.93: ## @.str.93
.asciz "else if $(MSVCDir)\n"
L_.str.94: ## @.str.94
.asciz "VISUALC = $(MSVCDir:J=\" \") ;\n"
L_.str.95: ## @.str.95
.asciz "else if $(MINGW)\n"
L_.str.96: ## @.str.96
.asciz "TOOLSET = MINGW ;\n"
L_.str.97: ## @.str.97
.asciz "ECHO \"Jam cannot be run because, either:\" ;\n"
L_.str.98: ## @.str.98
.asciz "ECHO \" a. You didn't set BOOST_ROOT to indicate the root of your\" ;\n"
L_.str.99: ## @.str.99
.asciz "ECHO \" Boost installation.\" ;\n"
L_.str.100: ## @.str.100
.asciz "ECHO \" b. You are trying to use stock Jam but didn't indicate which\" ;\n"
L_.str.101: ## @.str.101
.asciz "ECHO \" compilation toolset to use. To do so, follow these simple\" ;\n"
L_.str.102: ## @.str.102
.asciz "ECHO \" instructions:\" ;\n"
L_.str.103: ## @.str.103
.asciz "ECHO \" - define one of the following environment variable, with the\" ;\n"
L_.str.104: ## @.str.104
.asciz "ECHO \" appropriate value according to this list:\" ;\n"
L_.str.105: ## @.str.105
.asciz "ECHO \" Variable Toolset Description\" ;\n"
L_.str.106: ## @.str.106
.asciz "ECHO \" BORLANDC Borland C++ BC++ install path\" ;\n"
L_.str.107: ## @.str.107
.asciz "ECHO \" VISUALC Microsoft Visual C++ VC++ install path\" ;\n"
L_.str.108: ## @.str.108
.asciz "ECHO \" VISUALC16 Microsoft Visual C++ 16 bit VC++ 16 bit install\" ;\n"
L_.str.109: ## @.str.109
.asciz "ECHO \" INTELC Intel C/C++ IC++ install path\" ;\n"
L_.str.110: ## @.str.110
.asciz "ECHO \" WATCOM Watcom C/C++ Watcom install path\" ;\n"
L_.str.111: ## @.str.111
.asciz "ECHO \" MINGW MinGW (gcc) MinGW install path\" ;\n"
L_.str.112: ## @.str.112
.asciz "ECHO \" LCC Win32-LCC LCC-Win32 install path\" ;\n"
L_.str.113: ## @.str.113
.asciz "ECHO \" - define the JAM_TOOLSET environment variable with the *name*\" ;\n"
L_.str.114: ## @.str.114
.asciz "ECHO \" of the toolset variable you want to use.\" ;\n"
L_.str.115: ## @.str.115
.asciz "ECHO \" e.g.: set VISUALC=C:\\\\Visual6\" ;\n"
L_.str.116: ## @.str.116
.asciz "ECHO \" set JAM_TOOLSET=VISUALC\" ;\n"
L_.str.117: ## @.str.117
.asciz "EXIT ;\n"
L_.str.118: ## @.str.118
.asciz "CP ?= copy ;\n"
L_.str.119: ## @.str.119
.asciz "RM ?= del /f/q ;\n"
L_.str.120: ## @.str.120
.asciz "SLASH ?= \\\\ ;\n"
L_.str.121: ## @.str.121
.asciz "SUFLIB ?= .lib ;\n"
L_.str.122: ## @.str.122
.asciz "SUFOBJ ?= .obj ;\n"
L_.str.123: ## @.str.123
.asciz "SUFEXE ?= .exe ;\n"
L_.str.124: ## @.str.124
.asciz "if $(TOOLSET) = BORLANDC\n"
L_.str.125: ## @.str.125
.asciz "ECHO \"Compiler is Borland C++\" ;\n"
L_.str.126: ## @.str.126
.asciz "AR ?= tlib /C /P64 ;\n"
L_.str.127: ## @.str.127
.asciz "CC ?= bcc32 ;\n"
L_.str.128: ## @.str.128
.asciz "CCFLAGS ?= -q -y -d -v -w-par -w-ccc -w-rch -w-pro -w-aus ;\n"
L_.str.129: ## @.str.129
.asciz "C++ ?= bcc32 ;\n"
L_.str.130: ## @.str.130
.asciz "C++FLAGS ?= -q -y -d -v -w-par -w-ccc -w-rch -w-pro -w-aus -P ;\n"
L_.str.131: ## @.str.131
.asciz "LINK ?= $(CC) ;\n"
L_.str.132: ## @.str.132
.asciz "LINKFLAGS ?= $(CCFLAGS) ;\n"
L_.str.133: ## @.str.133
.asciz "STDLIBPATH ?= $(BORLANDC)\\\\lib ;\n"
L_.str.134: ## @.str.134
.asciz "STDHDRS ?= $(BORLANDC)\\\\include ;\n"
L_.str.135: ## @.str.135
.asciz "NOARSCAN ?= true ;\n"
L_.str.136: ## @.str.136
.asciz "else if $(TOOLSET) = VISUALC16\n"
L_.str.137: ## @.str.137
.asciz "ECHO \"Compiler is Microsoft Visual C++ 16 bit\" ;\n"
L_.str.138: ## @.str.138
.asciz "AR ?= lib /nologo ;\n"
L_.str.139: ## @.str.139
.asciz "CC ?= cl /nologo ;\n"
L_.str.140: ## @.str.140
.asciz "CCFLAGS ?= /D \\\"WIN\\\" ;\n"
L_.str.141: ## @.str.141
.asciz "C++ ?= $(CC) ;\n"
L_.str.142: ## @.str.142
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
L_.str.143: ## @.str.143
.asciz "LINKLIBS ?=\n"
L_.str.144: ## @.str.144
.asciz "\\\"$(VISUALC16)\\\\lib\\\\mlibce.lib\\\"\n"
L_.str.145: ## @.str.145
.asciz "\\\"$(VISUALC16)\\\\lib\\\\oldnames.lib\\\"\n"
L_.str.146: ## @.str.146
.asciz ";\n"
L_.str.147: ## @.str.147
.asciz "LINKLIBS ?= ;\n"
L_.str.148: ## @.str.148
.asciz "OPTIM ?= \"\" ;\n"
L_.str.149: ## @.str.149
.asciz "STDHDRS ?= $(VISUALC16)\\\\include ;\n"
L_.str.150: ## @.str.150
.asciz "UNDEFFLAG ?= \"/u _\" ;\n"
L_.str.151: ## @.str.151
.asciz "else if $(TOOLSET) = VISUALC\n"
L_.str.152: ## @.str.152
.asciz "ECHO \"Compiler is Microsoft Visual C++\" ;\n"
L_.str.153: ## @.str.153
.asciz "AR ?= lib ;\n"
L_.str.154: ## @.str.154
.asciz "AS ?= masm386 ;\n"
L_.str.155: ## @.str.155
.asciz "CCFLAGS ?= \"\" ;\n"
L_.str.156: ## @.str.156
.asciz "LINK ?= link /nologo ;\n"
L_.str.157: ## @.str.157
.asciz "LINKFLAGS ?= \"\" ;\n"
L_.str.158: ## @.str.158
.asciz "LINKLIBS ?= \\\"$(VISUALC)\\\\lib\\\\advapi32.lib\\\"\n"
L_.str.159: ## @.str.159
.asciz "\\\"$(VISUALC)\\\\lib\\\\gdi32.lib\\\"\n"
L_.str.160: ## @.str.160
.asciz "\\\"$(VISUALC)\\\\lib\\\\user32.lib\\\"\n"
L_.str.161: ## @.str.161
.asciz "\\\"$(VISUALC)\\\\lib\\\\kernel32.lib\\\" ;\n"
L_.str.162: ## @.str.162
.asciz "STDHDRS ?= $(VISUALC)\\\\include ;\n"
L_.str.163: ## @.str.163
.asciz "else if $(TOOLSET) = VC7\n"
L_.str.164: ## @.str.164
.asciz "ECHO \"Compiler is Microsoft Visual C++ .NET\" ;\n"
L_.str.165: ## @.str.165
.asciz "LINKLIBS ?= \\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\advapi32.lib\\\"\n"
L_.str.166: ## @.str.166
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\gdi32.lib\\\"\n"
L_.str.167: ## @.str.167
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\user32.lib\\\"\n"
L_.str.168: ## @.str.168
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\lib\\\\kernel32.lib\\\" ;\n"
L_.str.169: ## @.str.169
.asciz "STDHDRS ?= \\\"$(VISUALC)\\\\include\\\"\n"
L_.str.170: ## @.str.170
.asciz "\\\"$(VISUALC)\\\\PlatformSDK\\\\include\\\" ;\n"
L_.str.171: ## @.str.171
.asciz "else if $(TOOLSET) = INTELC\n"
L_.str.172: ## @.str.172
.asciz "ECHO \"Compiler is Intel C/C++\" ;\n"
L_.str.173: ## @.str.173
.asciz "if ! $(VISUALC)\n"
L_.str.174: ## @.str.174
.asciz "ECHO \"As a special exception, when using the Intel C++ compiler, you need\" ;\n"
L_.str.175: ## @.str.175
.asciz "ECHO \"to define the VISUALC environment variable to indicate the location\" ;\n"
L_.str.176: ## @.str.176
.asciz "ECHO \"of your Visual C++ installation. Aborting..\" ;\n"
L_.str.177: ## @.str.177
.asciz "CC ?= icl /nologo ;\n"
L_.str.178: ## @.str.178
.asciz "LINKLIBS ?= $(VISUALC)\\\\lib\\\\advapi32.lib\n"
L_.str.179: ## @.str.179
.asciz "$(VISUALC)\\\\lib\\\\kernel32.lib\n"
L_.str.180: ## @.str.180
.asciz "STDHDRS ?= $(INTELC)\\include $(VISUALC)\\\\include ;\n"
L_.str.181: ## @.str.181
.asciz "else if $(TOOLSET) = WATCOM\n"
L_.str.182: ## @.str.182
.asciz "ECHO \"Compiler is Watcom C/C++\" ;\n"
L_.str.183: ## @.str.183
.asciz "AR ?= wlib ;\n"
L_.str.184: ## @.str.184
.asciz "CC ?= wcc386 ;\n"
L_.str.185: ## @.str.185
.asciz "CCFLAGS ?= /zq /DWIN32 /I$(WATCOM)\\\\h ; # zq=quiet\n"
L_.str.186: ## @.str.186
.asciz "C++ ?= wpp386 ;\n"
L_.str.187: ## @.str.187
.asciz "DOT ?= . ;\n"
L_.str.188: ## @.str.188
.asciz "DOTDOT ?= .. ;\n"
L_.str.189: ## @.str.189
.asciz "LINK ?= wcl386 ;\n"
L_.str.190: ## @.str.190
.asciz "LINKFLAGS ?= /zq ; # zq=quiet\n"
L_.str.191: ## @.str.191
.asciz "MV ?= move ;\n"
L_.str.192: ## @.str.192
.asciz "OPTIM ?= ;\n"
L_.str.193: ## @.str.193
.asciz "RM ?= del /f ;\n"
L_.str.194: ## @.str.194
.asciz "STDHDRS ?= $(WATCOM)\\\\h $(WATCOM)\\\\h\\\\nt ;\n"
L_.str.195: ## @.str.195
.asciz "else if $(TOOLSET) = MINGW\n"
L_.str.196: ## @.str.196
.asciz "ECHO \"Compiler is GCC with Mingw\" ;\n"
L_.str.197: ## @.str.197
.asciz "AR ?= ar -ru ;\n"
L_.str.198: ## @.str.198
.asciz "CC ?= gcc ;\n"
L_.str.199: ## @.str.199
.asciz "CCFLAGS ?= \"\" ;\n"
L_.str.200: ## @.str.200
.asciz "C++ ?= $(CC) ;\n"
L_.str.201: ## @.str.201
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
L_.str.202: ## @.str.202
.asciz "LINK ?= $(CC) ;\n"
L_.str.203: ## @.str.203
.asciz "LINKFLAGS ?= \"\" ;\n"
L_.str.204: ## @.str.204
.asciz "LINKLIBS ?= \"\" ;\n"
L_.str.205: ## @.str.205
.asciz "OPTIM ?= ;\n"
L_.str.206: ## @.str.206
.asciz "SUFOBJ = .o ;\n"
L_.str.207: ## @.str.207
.asciz "SUFLIB = .a ;\n"
L_.str.208: ## @.str.208
.asciz "SLASH = / ;\n"
L_.str.209: ## @.str.209
.asciz "else if $(TOOLSET) = LCC\n"
L_.str.210: ## @.str.210
.asciz "ECHO \"Compiler is Win32-LCC\" ;\n"
L_.str.211: ## @.str.211
.asciz "AR ?= lcclib ;\n"
L_.str.212: ## @.str.212
.asciz "CC ?= lcc ;\n"
L_.str.213: ## @.str.213
.asciz "LINK ?= lcclnk ;\n"
L_.str.214: ## @.str.214
.asciz "NOARSCAN = true ;\n"
L_.str.215: ## @.str.215
.asciz "EXIT On NT, set BCCROOT, MSVCNT, MINGW or MSVC to the root of the\n"
L_.str.216: ## @.str.216
.asciz "Borland or Microsoft directories. ;\n"
L_.str.217: ## @.str.217
.asciz "else if $(OS2)\n"
L_.str.218: ## @.str.218
.asciz "local SUPPORTED_TOOLSETS = \"EMX\" \"WATCOM\" ;\n"
L_.str.219: ## @.str.219
.asciz "if $(watcom)\n"
L_.str.220: ## @.str.220
.asciz "WATCOM = $(watcom:J=\" \") ;\n"
L_.str.221: ## @.str.221
.asciz "TOOLSET = WATCOM ;\n"
L_.str.222: ## @.str.222
.asciz "ECHO \"Jam cannot be run because you didn't indicate which compilation toolset\" ;\n"
L_.str.223: ## @.str.223
.asciz "ECHO \"to use. To do so, follow these simple instructions:\" ;\n"
L_.str.224: ## @.str.224
.asciz "ECHO \" EMX EMX (gcc) EMX install path\" ;\n"
L_.str.225: ## @.str.225
.asciz "ECHO \" VISUALAGE IBM Visual Age C/C++ VisualAge install path\" ;\n"
L_.str.226: ## @.str.226
.asciz "ECHO \" e.g.: set WATCOM=C:\\WATCOM\" ;\n"
L_.str.227: ## @.str.227
.asciz "ECHO \" set JAM_TOOLSET=WATCOM\" ;\n"
L_.str.228: ## @.str.228
.asciz "RM = del /f ;\n"
L_.str.229: ## @.str.229
.asciz "CP = copy ;\n"
L_.str.230: ## @.str.230
.asciz "MV ?= move ;\n"
L_.str.231: ## @.str.231
.asciz "DOT ?= . ;\n"
L_.str.232: ## @.str.232
.asciz "DOTDOT ?= .. ;\n"
L_.str.233: ## @.str.233
.asciz "SUFLIB ?= .lib ;\n"
L_.str.234: ## @.str.234
.asciz "SUFOBJ ?= .obj ;\n"
L_.str.235: ## @.str.235
.asciz "SUFEXE ?= .exe ;\n"
L_.str.236: ## @.str.236
.asciz "if $(TOOLSET) = WATCOM\n"
L_.str.237: ## @.str.237
.asciz "AR ?= wlib ;\n"
L_.str.238: ## @.str.238
.asciz "BINDIR ?= \\\\os2\\\\apps ;\n"
L_.str.239: ## @.str.239
.asciz "CC ?= wcc386 ;\n"
L_.str.240: ## @.str.240
.asciz "CCFLAGS ?= /zq /DOS2 /I$(WATCOM)\\\\h ; # zq=quiet\n"
L_.str.241: ## @.str.241
.asciz "C++ ?= wpp386 ;\n"
L_.str.242: ## @.str.242
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
L_.str.243: ## @.str.243
.asciz "LINK ?= wcl386 ;\n"
L_.str.244: ## @.str.244
.asciz "LINKFLAGS ?= /zq ; # zq=quiet\n"
L_.str.245: ## @.str.245
.asciz "LINKLIBS ?= ;\n"
L_.str.246: ## @.str.246
.asciz "NOARSCAN ?= true ;\n"
L_.str.247: ## @.str.247
.asciz "OPTIM ?= ;\n"
L_.str.248: ## @.str.248
.asciz "SLASH ?= \\\\ ;\n"
L_.str.249: ## @.str.249
.asciz "STDHDRS ?= $(WATCOM)\\\\h ;\n"
L_.str.250: ## @.str.250
.asciz "UNDEFFLAG ?= \"/u _\" ;\n"
L_.str.251: ## @.str.251
.asciz "else if $(TOOLSET) = EMX\n"
L_.str.252: ## @.str.252
.asciz "ECHO \"Compiler is GCC-EMX\" ;\n"
L_.str.253: ## @.str.253
.asciz "AR ?= ar -ru ;\n"
L_.str.254: ## @.str.254
.asciz "CC ?= gcc ;\n"
L_.str.255: ## @.str.255
.asciz "CCFLAGS ?= \"\" ;\n"
L_.str.256: ## @.str.256
.asciz "C++ ?= $(CC) ;\n"
L_.str.257: ## @.str.257
.asciz "C++FLAGS ?= $(CCFLAGS) ;\n"
L_.str.258: ## @.str.258
.asciz "LINK ?= $(CC) ;\n"
L_.str.259: ## @.str.259
.asciz "LINKFLAGS ?= \"\" ;\n"
L_.str.260: ## @.str.260
.asciz "LINKLIBS ?= \"\" ;\n"
L_.str.261: ## @.str.261
.asciz "OPTIM ?= ;\n"
L_.str.262: ## @.str.262
.asciz "SUFOBJ = .o ;\n"
L_.str.263: ## @.str.263
.asciz "SUFLIB = .a ;\n"
L_.str.264: ## @.str.264
.asciz "UNDEFFLAG ?= \"-U\" ;\n"
L_.str.265: ## @.str.265
.asciz "SLASH = / ;\n"
L_.str.266: ## @.str.266
.asciz "EXIT \"Sorry, but the $(JAM_TOOLSET) toolset isn't supported for now\" ;\n"
L_.str.267: ## @.str.267
.asciz "else if $(VMS)\n"
L_.str.268: ## @.str.268
.asciz "C++ ?= cxx ;\n"
L_.str.269: ## @.str.269
.asciz "C++FLAGS ?= ;\n"
L_.str.270: ## @.str.270
.asciz "CC ?= cc ;\n"
L_.str.271: ## @.str.271
.asciz "CCFLAGS ?= ;\n"
L_.str.272: ## @.str.272
.asciz "CHMOD ?= set file/prot= ;\n"
L_.str.273: ## @.str.273
.asciz "CP ?= copy/replace ;\n"
L_.str.274: ## @.str.274
.asciz "CRELIB ?= true ;\n"
L_.str.275: ## @.str.275
.asciz "DOT ?= [] ;\n"
L_.str.276: ## @.str.276
.asciz "DOTDOT ?= [-] ;\n"
L_.str.277: ## @.str.277
.asciz "EXEMODE ?= (w:e) ;\n"
L_.str.278: ## @.str.278
.asciz "FILEMODE ?= (w:r) ;\n"
L_.str.279: ## @.str.279
.asciz "HDRS ?= ;\n"
L_.str.280: ## @.str.280
.asciz "LINK ?= link ;\n"
L_.str.281: ## @.str.281
.asciz "MKDIR ?= create/dir ;\n"
L_.str.282: ## @.str.282
.asciz "MV ?= rename ;\n"
L_.str.283: ## @.str.283
.asciz "RM ?= delete ;\n"
L_.str.284: ## @.str.284
.asciz "RUNVMS ?= mcr ;\n"
L_.str.285: ## @.str.285
.asciz "SHELLMODE ?= (w:er) ;\n"
L_.str.286: ## @.str.286
.asciz "SLASH ?= . ;\n"
L_.str.287: ## @.str.287
.asciz "STDHDRS ?= decc$library_include ;\n"
L_.str.288: ## @.str.288
.asciz "SUFLIB ?= .olb ;\n"
L_.str.289: ## @.str.289
.asciz "switch $(OS)\n"
L_.str.290: ## @.str.290
.asciz "case OPENVMS : CCFLAGS ?= /stand=vaxc ;\n"
L_.str.291: ## @.str.291
.asciz "case VMS : LINKLIBS ?= sys$library:vaxcrtl.olb/lib ;\n"
L_.str.292: ## @.str.292
.asciz "else if $(MAC)\n"
L_.str.293: ## @.str.293
.asciz "local OPT ;\n"
L_.str.294: ## @.str.294
.asciz "CW ?= \"{CW}\" ;\n"
L_.str.295: ## @.str.295
.asciz "MACHDRS ?=\n"
L_.str.296: ## @.str.296
.asciz "\"$(UMACHDRS):Universal:Interfaces:CIncludes\"\n"
L_.str.297: ## @.str.297
.asciz "\"$(CW):MSL:MSL_C:MSL_Common:Include\"\n"
L_.str.298: ## @.str.298
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Include\" ;\n"
L_.str.299: ## @.str.299
.asciz "MACLIBS ?=\n"
L_.str.300: ## @.str.300
.asciz "\"$(CW):MacOS Support:Universal:Libraries:StubLibraries:Interfacelib\"\n"
L_.str.301: ## @.str.301
.asciz "\"$(CW):MacOS Support:Universal:Libraries:StubLibraries:Mathlib\" ;\n"
L_.str.302: ## @.str.302
.asciz "MPWLIBS ?=\n"
L_.str.303: ## @.str.303
.asciz "\"$(CW):MacOS Support:Libraries:Runtime:Runtime PPC:MSL MPWCRuntime.lib\"\n"
L_.str.304: ## @.str.304
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC MPW.Lib\" ;\n"
L_.str.305: ## @.str.305
.asciz "MPWNLLIBS ?=\n"
L_.str.306: ## @.str.306
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC MPW(NL).Lib\" ;\n"
L_.str.307: ## @.str.307
.asciz "SIOUXHDRS ?= ;\n"
L_.str.308: ## @.str.308
.asciz "SIOUXLIBS ?=\n"
L_.str.309: ## @.str.309
.asciz "\"$(CW):MacOS Support:Libraries:Runtime:Runtime PPC:MSL RuntimePPC.lib\"\n"
L_.str.310: ## @.str.310
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL SIOUX.PPC.Lib\"\n"
L_.str.311: ## @.str.311
.asciz "\"$(CW):MSL:MSL_C:MSL_MacOS:Lib:PPC:MSL C.PPC.Lib\" ;\n"
L_.str.312: ## @.str.312
.asciz "C++ ?= mwcppc ;\n"
L_.str.313: ## @.str.313
.asciz "C++FLAGS ?= -w off -nomapcr ;\n"
L_.str.314: ## @.str.314
.asciz "CC ?= mwcppc ;\n"
L_.str.315: ## @.str.315
.asciz "CCFLAGS ?= -w off -nomapcr ;\n"
L_.str.316: ## @.str.316
.asciz "CP ?= duplicate -y ;\n"
L_.str.317: ## @.str.317
.asciz "DOT ?= \":\" ;\n"
L_.str.318: ## @.str.318
.asciz "DOTDOT ?= \"::\" ;\n"
L_.str.319: ## @.str.319
.asciz "HDRS ?= $(MACHDRS) $(MPWHDRS) ;\n"
L_.str.320: ## @.str.320
.asciz "LINK ?= mwlinkppc ;\n"
L_.str.321: ## @.str.321
.asciz "LINKFLAGS ?= -mpwtool -warn ;\n"
L_.str.322: ## @.str.322
.asciz "LINKLIBS ?= $(MACLIBS) $(MPWLIBS) ;\n"
L_.str.323: ## @.str.323
.asciz "MKDIR ?= newfolder ;\n"
L_.str.324: ## @.str.324
.asciz "MV ?= rename -y ;\n"
L_.str.325: ## @.str.325
.asciz "RM ?= delete -y ;\n"
L_.str.326: ## @.str.326
.asciz "SLASH ?= \":\" ;\n"
L_.str.327: ## @.str.327
.asciz "STDHDRS ?= ;\n"
L_.str.328: ## @.str.328
.asciz "SUFOBJ ?= .o ;\n"
L_.str.329: ## @.str.329
.asciz "else if $(OS) = BEOS && $(METROWERKS)\n"
L_.str.330: ## @.str.330
.asciz "AR ?= mwld -xml -o ;\n"
L_.str.331: ## @.str.331
.asciz "BINDIR ?= /boot/apps ;\n"
L_.str.332: ## @.str.332
.asciz "CC ?= mwcc ;\n"
L_.str.333: ## @.str.333
.asciz "CCFLAGS ?= -nosyspath ;\n"
L_.str.334: ## @.str.334
.asciz "C++FLAGS ?= -nosyspath ;\n"
L_.str.335: ## @.str.335
.asciz "FORTRAN ?= \"\" ;\n"
L_.str.336: ## @.str.336
.asciz "LIBDIR ?= /boot/develop/libraries ;\n"
L_.str.337: ## @.str.337
.asciz "LINK ?= mwld ;\n"
L_.str.338: ## @.str.338
.asciz "MANDIR ?= /boot/documentation/\"Shell Tools\"/HTML ;\n"
L_.str.339: ## @.str.339
.asciz "STDHDRS ?= /boot/develop/headers/posix ;\n"
L_.str.340: ## @.str.340
.asciz "else if $(OS) = BEOS\n"
L_.str.341: ## @.str.341
.asciz "CC ?= gcc ;\n"
L_.str.342: ## @.str.342
.asciz "LINK ?= gcc ;\n"
L_.str.343: ## @.str.343
.asciz "LINKLIBS ?= -lnet ;\n"
L_.str.344: ## @.str.344
.asciz "else if $(UNIX)\n"
L_.str.345: ## @.str.345
.asciz "case AIX :\n"
L_.str.346: ## @.str.346
.asciz "LINKLIBS ?= -lbsd ;\n"
L_.str.347: ## @.str.347
.asciz "case AMIGA :\n"
L_.str.348: ## @.str.348
.asciz "YACC ?= \"bison -y\" ;\n"
L_.str.349: ## @.str.349
.asciz "case CYGWIN :\n"
L_.str.350: ## @.str.350
.asciz "CCFLAGS += -D__cygwin__ ;\n"
L_.str.351: ## @.str.351
.asciz "LEX ?= flex ;\n"
L_.str.352: ## @.str.352
.asciz "RANLIB ?= \"\" ;\n"
L_.str.353: ## @.str.353
.asciz "case DGUX :\n"
L_.str.354: ## @.str.354
.asciz "RELOCATE ?= true ;\n"
L_.str.355: ## @.str.355
.asciz "case HPUX :\n"
L_.str.356: ## @.str.356
.asciz "YACC = ;\n"
L_.str.357: ## @.str.357
.asciz "CFLAGS += -Ae ;\n"
L_.str.358: ## @.str.358
.asciz "CCFLAGS += -Ae ;\n"
L_.str.359: ## @.str.359
.asciz "case INTERIX :\n"
L_.str.360: ## @.str.360
.asciz "case IRIX :\n"
L_.str.361: ## @.str.361
.asciz "case MPEIX :\n"
L_.str.362: ## @.str.362
.asciz "C++ ?= gcc ;\n"
L_.str.363: ## @.str.363
.asciz "CCFLAGS += -D_POSIX_SOURCE ;\n"
L_.str.364: ## @.str.364
.asciz "HDRS += /usr/include ;\n"
L_.str.365: ## @.str.365
.asciz "NOARUPDATE ?= true ;\n"
L_.str.366: ## @.str.366
.asciz "case MVS :\n"
L_.str.367: ## @.str.367
.asciz "case NEXT :\n"
L_.str.368: ## @.str.368
.asciz "AR ?= libtool -o ;\n"
L_.str.369: ## @.str.369
.asciz "case MACOSX :\n"
L_.str.370: ## @.str.370
.asciz "C++ ?= c++ ;\n"
L_.str.371: ## @.str.371
.asciz "MANDIR ?= /usr/local/share/man ;\n"
L_.str.372: ## @.str.372
.asciz "case NCR :\n"
L_.str.373: ## @.str.373
.asciz "case PTX :\n"
L_.str.374: ## @.str.374
.asciz "case QNX :\n"
L_.str.375: ## @.str.375
.asciz "CCFLAGS ?= -Q ; # quiet\n"
L_.str.376: ## @.str.376
.asciz "C++FLAGS ?= -Q ; # quiet\n"
L_.str.377: ## @.str.377
.asciz "LINKFLAGS ?= -Q ; # quiet\n"
L_.str.378: ## @.str.378
.asciz "case SCO :\n"
L_.str.379: ## @.str.379
.asciz "case SINIX :\n"
L_.str.380: ## @.str.380
.asciz "case SOLARIS :\n"
L_.str.381: ## @.str.381
.asciz "AR ?= \"/usr/ccs/bin/ar ru\" ;\n"
L_.str.382: ## @.str.382
.asciz "case UNICOS :\n"
L_.str.383: ## @.str.383
.asciz "OPTIM ?= -O0 ;\n"
L_.str.384: ## @.str.384
.asciz "case UNIXWARE :\n"
L_.str.385: ## @.str.385
.asciz "CHMOD ?= chmod ;\n"
L_.str.386: ## @.str.386
.asciz "CHGRP ?= chgrp ;\n"
L_.str.387: ## @.str.387
.asciz "CHOWN ?= chown ;\n"
L_.str.388: ## @.str.388
.asciz "LEX ?= lex ;\n"
L_.str.389: ## @.str.389
.asciz "OPTIM ?= -O ;\n"
L_.str.390: ## @.str.390
.asciz "RANLIB ?= ranlib ;\n"
L_.str.391: ## @.str.391
.asciz "YACC ?= yacc ;\n"
L_.str.392: ## @.str.392
.asciz "YACCFILES ?= y.tab ;\n"
L_.str.393: ## @.str.393
.asciz "YACCFLAGS ?= -d ;\n"
L_.str.394: ## @.str.394
.asciz "AR ?= ar ru ;\n"
L_.str.395: ## @.str.395
.asciz "AS ?= as ;\n"
L_.str.396: ## @.str.396
.asciz "ASFLAGS ?= ;\n"
L_.str.397: ## @.str.397
.asciz "AWK ?= awk ;\n"
L_.str.398: ## @.str.398
.asciz "BINDIR ?= /usr/local/bin ;\n"
L_.str.399: ## @.str.399
.asciz "C++ ?= cc ;\n"
L_.str.400: ## @.str.400
.asciz "CP ?= cp -f ;\n"
L_.str.401: ## @.str.401
.asciz "CRELIB ?= ;\n"
L_.str.402: ## @.str.402
.asciz "EXEMODE ?= 711 ;\n"
L_.str.403: ## @.str.403
.asciz "FILEMODE ?= 644 ;\n"
L_.str.404: ## @.str.404
.asciz "FORTRAN ?= f77 ;\n"
L_.str.405: ## @.str.405
.asciz "FORTRANFLAGS ?= ;\n"
L_.str.406: ## @.str.406
.asciz "INSTALLGRIST ?= installed ;\n"
L_.str.407: ## @.str.407
.asciz "JAMFILE ?= Jamfile ;\n"
L_.str.408: ## @.str.408
.asciz "JAMRULES ?= Jamrules ;\n"
L_.str.409: ## @.str.409
.asciz "LEX ?= ;\n"
L_.str.410: ## @.str.410
.asciz "LIBDIR ?= /usr/local/lib ;\n"
L_.str.411: ## @.str.411
.asciz "LINKFLAGS ?= ;\n"
L_.str.412: ## @.str.412
.asciz "LN ?= ln ;\n"
L_.str.413: ## @.str.413
.asciz "MANDIR ?= /usr/local/man ;\n"
L_.str.414: ## @.str.414
.asciz "MKDIR ?= mkdir ;\n"
L_.str.415: ## @.str.415
.asciz "MV ?= mv -f ;\n"
L_.str.416: ## @.str.416
.asciz "RCP ?= rcp ;\n"
L_.str.417: ## @.str.417
.asciz "RM ?= rm -f ;\n"
L_.str.418: ## @.str.418
.asciz "RSH ?= rsh ;\n"
L_.str.419: ## @.str.419
.asciz "SED ?= sed ;\n"
L_.str.420: ## @.str.420
.asciz "SHELLHEADER ?= \"#!/bin/sh\" ;\n"
L_.str.421: ## @.str.421
.asciz "SHELLMODE ?= 755 ;\n"
L_.str.422: ## @.str.422
.asciz "SLASH ?= / ;\n"
L_.str.423: ## @.str.423
.asciz "STDHDRS ?= /usr/include ;\n"
L_.str.424: ## @.str.424
.asciz "SUFEXE ?= \"\" ;\n"
L_.str.425: ## @.str.425
.asciz "SUFLIB ?= .a ;\n"
L_.str.426: ## @.str.426
.asciz "UNDEFFLAG ?= \"-u _\" ;\n"
L_.str.427: ## @.str.427
.asciz "YACC ?= ;\n"
L_.str.428: ## @.str.428
.asciz "YACCFILES ?= ;\n"
L_.str.429: ## @.str.429
.asciz "YACCFLAGS ?= ;\n"
L_.str.430: ## @.str.430
.asciz "HDRPATTERN =\n"
L_.str.431: ## @.str.431
.asciz "\"^[ ]*#[ ]*include[ ]*[<\\\"]([^\\\">]*)[\\\">].*$\" ;\n"
L_.str.432: ## @.str.432
.asciz "OSFULL = $(OS)$(OSVER)$(OSPLAT) $(OS)$(OSPLAT) $(OS)$(OSVER) $(OS) ;\n"
L_.str.433: ## @.str.433
.asciz "DEPENDS all : shell files lib exe obj ;\n"
L_.str.434: ## @.str.434
.asciz "DEPENDS all shell files lib exe obj : first ;\n"
L_.str.435: ## @.str.435
.asciz "NOTFILE all first shell files lib exe obj dirs clean uninstall ;\n"
L_.str.436: ## @.str.436
.asciz "ALWAYS clean uninstall ;\n"
L_.str.437: ## @.str.437
.asciz "rule As\n"
L_.str.438: ## @.str.438
.asciz "DEPENDS $(<) : $(>) ;\n"
L_.str.439: ## @.str.439
.asciz "ASFLAGS on $(<) += $(ASFLAGS) $(SUBDIRASFLAGS) ;\n"
L_.str.440: ## @.str.440
.asciz "rule Bulk\n"
L_.str.441: ## @.str.441
.asciz "local i ;\n"
L_.str.442: ## @.str.442
.asciz "for i in $(>)\n"
L_.str.443: ## @.str.443
.asciz "File $(i:D=$(<)) : $(i) ;\n"
L_.str.444: ## @.str.444
.asciz "rule Cc\n"
L_.str.445: ## @.str.445
.asciz "local _h ;\n"
L_.str.446: ## @.str.446
.asciz "CCFLAGS on $(<) += $(CCFLAGS) $(SUBDIRCCFLAGS) ;\n"
L_.str.447: ## @.str.447
.asciz "if $(RELOCATE)\n"
L_.str.448: ## @.str.448
.asciz "CcMv $(<) : $(>) ;\n"
L_.str.449: ## @.str.449
.asciz "_h = $(SEARCH_SOURCE) $(HDRS) $(SUBDIRHDRS) ;\n"
L_.str.450: ## @.str.450
.asciz "if $(VMS) && $(_h)\n"
L_.str.451: ## @.str.451
.asciz "SLASHINC on $(<) = \"/inc=(\" $(_h[1]) ,$(_h[2-]) \")\" ;\n"
L_.str.452: ## @.str.452
.asciz "else if $(MAC) && $(_h)\n"
L_.str.453: ## @.str.453
.asciz "local _i _j ;\n"
L_.str.454: ## @.str.454
.asciz "_j = $(_h[1]) ;\n"
L_.str.455: ## @.str.455
.asciz "for _i in $(_h[2-])\n"
L_.str.456: ## @.str.456
.asciz "_j = $(_j),$(_i) ;\n"
L_.str.457: ## @.str.457
.asciz "MACINC on $(<) = \\\"$(_j)\\\" ;\n"
L_.str.458: ## @.str.458
.asciz "rule C++\n"
L_.str.459: ## @.str.459
.asciz "C++FLAGS on $(<) += $(C++FLAGS) $(SUBDIRC++FLAGS) ;\n"
L_.str.460: ## @.str.460
.asciz "rule Chmod\n"
L_.str.461: ## @.str.461
.asciz "if $(CHMOD) { Chmod1 $(<) ; }\n"
L_.str.462: ## @.str.462
.asciz "rule File\n"
L_.str.463: ## @.str.463
.asciz "DEPENDS files : $(<) ;\n"
L_.str.464: ## @.str.464
.asciz "SEARCH on $(>) = $(SEARCH_SOURCE) ;\n"
L_.str.465: ## @.str.465
.asciz "MODE on $(<) = $(FILEMODE) ;\n"
L_.str.466: ## @.str.466
.asciz "Chmod $(<) ;\n"
L_.str.467: ## @.str.467
.asciz "rule Fortran\n"
L_.str.468: ## @.str.468
.asciz "rule GenFile\n"
L_.str.469: ## @.str.469
.asciz "local _t = [ FGristSourceFiles $(<) ] ;\n"
L_.str.470: ## @.str.470
.asciz "local _s = [ FAppendSuffix $(>[1]) : $(SUFEXE) ] ;\n"
L_.str.471: ## @.str.471
.asciz "Depends $(_t) : $(_s) $(>[2-]) ;\n"
L_.str.472: ## @.str.472
.asciz "GenFile1 $(_t) : $(_s) $(>[2-]) ;\n"
L_.str.473: ## @.str.473
.asciz "Clean clean : $(_t) ;\n"
L_.str.474: ## @.str.474
.asciz "rule GenFile1\n"
L_.str.475: ## @.str.475
.asciz "MakeLocate $(<) : $(LOCATE_SOURCE) ;\n"
L_.str.476: ## @.str.476
.asciz "rule HardLink\n"
L_.str.477: ## @.str.477
.asciz "rule HdrMacroFile\n"
L_.str.478: ## @.str.478
.asciz "HDRMACRO $(<) ;\n"
L_.str.479: ## @.str.479
.asciz "rule HdrRule\n"
L_.str.480: ## @.str.480
.asciz "local s ;\n"
L_.str.481: ## @.str.481
.asciz "if $(HDRGRIST)\n"
L_.str.482: ## @.str.482
.asciz "s = $(>:G=$(HDRGRIST)) ;\n"
L_.str.483: ## @.str.483
.asciz "} else {\n"
L_.str.484: ## @.str.484
.asciz "s = $(>) ;\n"
L_.str.485: ## @.str.485
.asciz "INCLUDES $(<) : $(s) ;\n"
L_.str.486: ## @.str.486
.asciz "SEARCH on $(s) = $(HDRSEARCH) ;\n"
L_.str.487: ## @.str.487
.asciz "NOCARE $(s) ;\n"
L_.str.488: ## @.str.488
.asciz "HDRSEARCH on $(s) = $(HDRSEARCH) ;\n"
L_.str.489: ## @.str.489
.asciz "HDRSCAN on $(s) = $(HDRSCAN) ;\n"
L_.str.490: ## @.str.490
.asciz "HDRRULE on $(s) = $(HDRRULE) ;\n"
L_.str.491: ## @.str.491
.asciz "HDRGRIST on $(s) = $(HDRGRIST) ;\n"
L_.str.492: ## @.str.492
.asciz "rule InstallInto\n"
L_.str.493: ## @.str.493
.asciz "local i t ;\n"
L_.str.494: ## @.str.494
.asciz "t = $(>:G=$(INSTALLGRIST)) ;\n"
L_.str.495: ## @.str.495
.asciz "Depends install : $(t) ;\n"
L_.str.496: ## @.str.496
.asciz "Clean uninstall : $(t) ;\n"
L_.str.497: ## @.str.497
.asciz "MakeLocate $(t) : $(<) ;\n"
L_.str.498: ## @.str.498
.asciz "local tt = $(i:G=$(INSTALLGRIST)) ;\n"
L_.str.499: ## @.str.499
.asciz "Depends $(tt) : $(i) ;\n"
L_.str.500: ## @.str.500
.asciz "Install $(tt) : $(i) ;\n"
L_.str.501: ## @.str.501
.asciz "Chmod $(tt) ;\n"
L_.str.502: ## @.str.502
.asciz "if $(OWNER) && $(CHOWN)\n"
L_.str.503: ## @.str.503
.asciz "Chown $(tt) ;\n"
L_.str.504: ## @.str.504
.asciz "OWNER on $(tt) = $(OWNER) ;\n"
L_.str.505: ## @.str.505
.asciz "if $(GROUP) && $(CHGRP)\n"
L_.str.506: ## @.str.506
.asciz "Chgrp $(tt) ;\n"
L_.str.507: ## @.str.507
.asciz "GROUP on $(tt) = $(GROUP) ;\n"
L_.str.508: ## @.str.508
.asciz "rule InstallBin\n"
L_.str.509: ## @.str.509
.asciz "local _t = [ FAppendSuffix $(>) : $(SUFEXE) ] ;\n"
L_.str.510: ## @.str.510
.asciz "InstallInto $(<) : $(_t) ;\n"
L_.str.511: ## @.str.511
.asciz "MODE on $(_t:G=installed) = $(EXEMODE) ;\n"
L_.str.512: ## @.str.512
.asciz "rule InstallFile\n"
L_.str.513: ## @.str.513
.asciz "InstallInto $(<) : $(>) ;\n"
L_.str.514: ## @.str.514
.asciz "MODE on $(>:G=installed) = $(FILEMODE) ;\n"
L_.str.515: ## @.str.515
.asciz "rule InstallLib\n"
L_.str.516: ## @.str.516
.asciz "rule InstallMan\n"
L_.str.517: ## @.str.517
.asciz "local i s d ;\n"
L_.str.518: ## @.str.518
.asciz "switch $(i:S)\n"
L_.str.519: ## @.str.519
.asciz "case .1 : s = 1 ; case .2 : s = 2 ; case .3 : s = 3 ;\n"
L_.str.520: ## @.str.520
.asciz "case .4 : s = 4 ; case .5 : s = 5 ; case .6 : s = 6 ;\n"
L_.str.521: ## @.str.521
.asciz "case .7 : s = 7 ; case .8 : s = 8 ; case .l : s = l ;\n"
L_.str.522: ## @.str.522
.asciz "case .n : s = n ; case .man : s = 1 ;\n"
L_.str.523: ## @.str.523
.asciz "d = man$(s) ;\n"
L_.str.524: ## @.str.524
.asciz "InstallInto $(d:R=$(<)) : $(i) ;\n"
L_.str.525: ## @.str.525
.asciz "rule InstallShell\n"
L_.str.526: ## @.str.526
.asciz "MODE on $(>:G=installed) = $(SHELLMODE) ;\n"
L_.str.527: ## @.str.527
.asciz "rule Lex\n"
L_.str.528: ## @.str.528
.asciz "LexMv $(<) : $(>) ;\n"
L_.str.529: ## @.str.529
.asciz "Clean clean : $(<) ;\n"
L_.str.530: ## @.str.530
.asciz "rule Library\n"
L_.str.531: ## @.str.531
.asciz "LibraryFromObjects $(<) : $(>:S=$(SUFOBJ)) ;\n"
L_.str.532: ## @.str.532
.asciz "Objects $(>) ;\n"
L_.str.533: ## @.str.533
.asciz "rule LibraryFromObjects\n"
L_.str.534: ## @.str.534
.asciz "local _i _l _s ;\n"
L_.str.535: ## @.str.535
.asciz "_s = [ FGristFiles $(>) ] ;\n"
L_.str.536: ## @.str.536
.asciz "_l = $(<:S=$(SUFLIB)) ;\n"
L_.str.537: ## @.str.537
.asciz "if $(KEEPOBJS)\n"
L_.str.538: ## @.str.538
.asciz "DEPENDS obj : $(_s) ;\n"
L_.str.539: ## @.str.539
.asciz "DEPENDS lib : $(_l) ;\n"
L_.str.540: ## @.str.540
.asciz "if ! $(_l:D)\n"
L_.str.541: ## @.str.541
.asciz "MakeLocate $(_l) $(_l)($(_s:BS)) : $(LOCATE_TARGET) ;\n"
L_.str.542: ## @.str.542
.asciz "if $(NOARSCAN)\n"
L_.str.543: ## @.str.543
.asciz "DEPENDS $(_l) : $(_s) ;\n"
L_.str.544: ## @.str.544
.asciz "DEPENDS $(_l) : $(_l)($(_s:BS)) ;\n"
L_.str.545: ## @.str.545
.asciz "for _i in $(_s)\n"
L_.str.546: ## @.str.546
.asciz "DEPENDS $(_l)($(_i:BS)) : $(_i) ;\n"
L_.str.547: ## @.str.547
.asciz "Clean clean : $(_l) ;\n"
L_.str.548: ## @.str.548
.asciz "if $(CRELIB) { CreLib $(_l) : $(_s[1]) ; }\n"
L_.str.549: ## @.str.549
.asciz "Archive $(_l) : $(_s) ;\n"
L_.str.550: ## @.str.550
.asciz "if $(RANLIB) { Ranlib $(_l) ; }\n"
L_.str.551: ## @.str.551
.asciz "if ! ( $(NOARSCAN) || $(KEEPOBJS) ) { RmTemps $(_l) : $(_s) ; }\n"
L_.str.552: ## @.str.552
.asciz "rule Link\n"
L_.str.553: ## @.str.553
.asciz "MODE on $(<) = $(EXEMODE) ;\n"
L_.str.554: ## @.str.554
.asciz "rule LinkLibraries\n"
L_.str.555: ## @.str.555
.asciz "local _t = [ FAppendSuffix $(<) : $(SUFEXE) ] ;\n"
L_.str.556: ## @.str.556
.asciz "DEPENDS $(_t) : $(>:S=$(SUFLIB)) ;\n"
L_.str.557: ## @.str.557
.asciz "NEEDLIBS on $(_t) += $(>:S=$(SUFLIB)) ;\n"
L_.str.558: ## @.str.558
.asciz "rule Main\n"
L_.str.559: ## @.str.559
.asciz "MainFromObjects $(<) : $(>:S=$(SUFOBJ)) ;\n"
L_.str.560: ## @.str.560
.asciz "rule MainFromObjects\n"
L_.str.561: ## @.str.561
.asciz "local _s _t ;\n"
L_.str.562: ## @.str.562
.asciz "_t = [ FAppendSuffix $(<) : $(SUFEXE) ] ;\n"
L_.str.563: ## @.str.563
.asciz "if $(_t) != $(<)\n"
L_.str.564: ## @.str.564
.asciz "DEPENDS $(<) : $(_t) ;\n"
L_.str.565: ## @.str.565
.asciz "NOTFILE $(<) ;\n"
L_.str.566: ## @.str.566
.asciz "DEPENDS exe : $(_t) ;\n"
L_.str.567: ## @.str.567
.asciz "DEPENDS $(_t) : $(_s) ;\n"
L_.str.568: ## @.str.568
.asciz "MakeLocate $(_t) : $(LOCATE_TARGET) ;\n"
L_.str.569: ## @.str.569
.asciz "Link $(_t) : $(_s) ;\n"
L_.str.570: ## @.str.570
.asciz "rule MakeLocate\n"
L_.str.571: ## @.str.571
.asciz "if $(>)\n"
L_.str.572: ## @.str.572
.asciz "LOCATE on $(<) = $(>) ;\n"
L_.str.573: ## @.str.573
.asciz "Depends $(<) : $(>[1]) ;\n"
L_.str.574: ## @.str.574
.asciz "MkDir $(>[1]) ;\n"
L_.str.575: ## @.str.575
.asciz "rule MkDir\n"
L_.str.576: ## @.str.576
.asciz "NOUPDATE $(<) ;\n"
L_.str.577: ## @.str.577
.asciz "if $(<) != $(DOT) && ! $($(<)-mkdir)\n"
L_.str.578: ## @.str.578
.asciz "$(<)-mkdir = true ;\n"
L_.str.579: ## @.str.579
.asciz "MkDir1 $(<) ;\n"
L_.str.580: ## @.str.580
.asciz "Depends dirs : $(<) ;\n"
L_.str.581: ## @.str.581
.asciz "s = $(<:P) ;\n"
L_.str.582: ## @.str.582
.asciz "switch $(s)\n"
L_.str.583: ## @.str.583
.asciz "case *: : s = ;\n"
L_.str.584: ## @.str.584
.asciz "case *:\\\\ : s = ;\n"
L_.str.585: ## @.str.585
.asciz "if $(s) && $(s) != $(<)\n"
L_.str.586: ## @.str.586
.asciz "Depends $(<) : $(s) ;\n"
L_.str.587: ## @.str.587
.asciz "MkDir $(s) ;\n"
L_.str.588: ## @.str.588
.asciz "else if $(s)\n"
L_.str.589: ## @.str.589
.asciz "NOTFILE $(s) ;\n"
L_.str.590: ## @.str.590
.asciz "rule Object\n"
L_.str.591: ## @.str.591
.asciz "local h ;\n"
L_.str.592: ## @.str.592
.asciz "MakeLocate $(<) : $(LOCATE_TARGET) ;\n"
L_.str.593: ## @.str.593
.asciz "HDRS on $(<) = $(SEARCH_SOURCE) $(HDRS) $(SUBDIRHDRS) ;\n"
L_.str.594: ## @.str.594
.asciz "if $(SEARCH_SOURCE)\n"
L_.str.595: ## @.str.595
.asciz "h = $(SEARCH_SOURCE) ;\n"
L_.str.596: ## @.str.596
.asciz "h = \"\" ;\n"
L_.str.597: ## @.str.597
.asciz "HDRRULE on $(>) = HdrRule ;\n"
L_.str.598: ## @.str.598
.asciz "HDRSCAN on $(>) = $(HDRPATTERN) ;\n"
L_.str.599: ## @.str.599
.asciz "HDRSEARCH on $(>) = $(HDRS) $(SUBDIRHDRS) $(h) $(STDHDRS) ;\n"
L_.str.600: ## @.str.600
.asciz "HDRGRIST on $(>) = $(HDRGRIST) ;\n"
L_.str.601: ## @.str.601
.asciz "switch $(>:S)\n"
L_.str.602: ## @.str.602
.asciz "case .asm : As $(<) : $(>) ;\n"
L_.str.603: ## @.str.603
.asciz "case .c : Cc $(<) : $(>) ;\n"
L_.str.604: ## @.str.604
.asciz "case .C : C++ $(<) : $(>) ;\n"
L_.str.605: ## @.str.605
.asciz "case .cc : C++ $(<) : $(>) ;\n"
L_.str.606: ## @.str.606
.asciz "case .cpp : C++ $(<) : $(>) ;\n"
L_.str.607: ## @.str.607
.asciz "case .f : Fortran $(<) : $(>) ;\n"
L_.str.608: ## @.str.608
.asciz "case .l : Cc $(<) : $(<:S=.c) ;\n"
L_.str.609: ## @.str.609
.asciz "Lex $(<:S=.c) : $(>) ;\n"
L_.str.610: ## @.str.610
.asciz "case .s : As $(<) : $(>) ;\n"
L_.str.611: ## @.str.611
.asciz "case .y : Cc $(<) : $(<:S=.c) ;\n"
L_.str.612: ## @.str.612
.asciz "Yacc $(<:S=.c) : $(>) ;\n"
L_.str.613: ## @.str.613
.asciz "case * : UserObject $(<) : $(>) ;\n"
L_.str.614: ## @.str.614
.asciz "rule ObjectCcFlags\n"
L_.str.615: ## @.str.615
.asciz "CCFLAGS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n"
L_.str.616: ## @.str.616
.asciz "rule ObjectC++Flags\n"
L_.str.617: ## @.str.617
.asciz "C++FLAGS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n"
L_.str.618: ## @.str.618
.asciz "rule ObjectHdrs\n"
L_.str.619: ## @.str.619
.asciz "HDRS on [ FGristFiles $(<:S=$(SUFOBJ)) ] += $(>) ;\n"
L_.str.620: ## @.str.620
.asciz "rule Objects\n"
L_.str.621: ## @.str.621
.asciz "local _i ;\n"
L_.str.622: ## @.str.622
.asciz "for _i in [ FGristFiles $(<) ]\n"
L_.str.623: ## @.str.623
.asciz "Object $(_i:S=$(SUFOBJ)) : $(_i) ;\n"
L_.str.624: ## @.str.624
.asciz "DEPENDS obj : $(_i:S=$(SUFOBJ)) ;\n"
L_.str.625: ## @.str.625
.asciz "rule RmTemps\n"
L_.str.626: ## @.str.626
.asciz "TEMPORARY $(>) ;\n"
L_.str.627: ## @.str.627
.asciz "rule Setuid\n"
L_.str.628: ## @.str.628
.asciz "MODE on [ FAppendSuffix $(<) : $(SUFEXE) ] = 4711 ;\n"
L_.str.629: ## @.str.629
.asciz "rule Shell\n"
L_.str.630: ## @.str.630
.asciz "DEPENDS shell : $(<) ;\n"
L_.str.631: ## @.str.631
.asciz "MODE on $(<) = $(SHELLMODE) ;\n"
L_.str.632: ## @.str.632
.asciz "rule SubDir\n"
L_.str.633: ## @.str.633
.asciz "local _r _s ;\n"
L_.str.634: ## @.str.634
.asciz "if ! $($(<[1]))\n"
L_.str.635: ## @.str.635
.asciz "if ! $(<[1])\n"
L_.str.636: ## @.str.636
.asciz "EXIT SubDir syntax error ;\n"
L_.str.637: ## @.str.637
.asciz "$(<[1]) = [ FSubDir $(<[2-]) ] ;\n"
L_.str.638: ## @.str.638
.asciz "if ! $($(<[1])-included)\n"
L_.str.639: ## @.str.639
.asciz "$(<[1])-included = TRUE ;\n"
L_.str.640: ## @.str.640
.asciz "_r = $($(<[1])RULES) ;\n"
L_.str.641: ## @.str.641
.asciz "if ! $(_r)\n"
L_.str.642: ## @.str.642
.asciz "_r = $(JAMRULES:R=$($(<[1]))) ;\n"
L_.str.643: ## @.str.643
.asciz "include $(_r) ;\n"
L_.str.644: ## @.str.644
.asciz "_s = [ FDirName $(<[2-]) ] ;\n"
L_.str.645: ## @.str.645
.asciz "SUBDIR = $(_s:R=$($(<[1]))) ;\n"
L_.str.646: ## @.str.646
.asciz "SUBDIR_TOKENS = $(<[2-]) ;\n"
L_.str.647: ## @.str.647
.asciz "SEARCH_SOURCE = $(SUBDIR) ;\n"
L_.str.648: ## @.str.648
.asciz "LOCATE_SOURCE = $(ALL_LOCATE_TARGET) $(SUBDIR) ;\n"
L_.str.649: ## @.str.649
.asciz "LOCATE_TARGET = $(ALL_LOCATE_TARGET) $(SUBDIR) ;\n"
L_.str.650: ## @.str.650
.asciz "SOURCE_GRIST = [ FGrist $(<[2-]) ] ;\n"
L_.str.651: ## @.str.651
.asciz "SUBDIRCCFLAGS = ;\n"
L_.str.652: ## @.str.652
.asciz "SUBDIRC++FLAGS = ;\n"
L_.str.653: ## @.str.653
.asciz "SUBDIRHDRS = ;\n"
L_.str.654: ## @.str.654
.asciz "rule SubDirCcFlags\n"
L_.str.655: ## @.str.655
.asciz "SUBDIRCCFLAGS += $(<) ;\n"
L_.str.656: ## @.str.656
.asciz "rule SubDirC++Flags\n"
L_.str.657: ## @.str.657
.asciz "SUBDIRC++FLAGS += $(<) ;\n"
L_.str.658: ## @.str.658
.asciz "rule SubDirHdrs\n"
L_.str.659: ## @.str.659
.asciz "SUBDIRHDRS += $(<) ;\n"
L_.str.660: ## @.str.660
.asciz "rule SubInclude\n"
L_.str.661: ## @.str.661
.asciz "local _s ;\n"
L_.str.662: ## @.str.662
.asciz "EXIT Top level of source tree has not been set with $(<[1]) ;\n"
L_.str.663: ## @.str.663
.asciz "include $(JAMFILE:D=$(_s):R=$($(<[1]))) ;\n"
L_.str.664: ## @.str.664
.asciz "rule Undefines\n"
L_.str.665: ## @.str.665
.asciz "UNDEFS on [ FAppendSuffix $(<) : $(SUFEXE) ] += $(UNDEFFLAG)$(>) ;\n"
L_.str.666: ## @.str.666
.asciz "rule UserObject\n"
L_.str.667: ## @.str.667
.asciz "EXIT \"Unknown suffix on\" $(>) \"- see UserObject rule in Jamfile(5).\" ;\n"
L_.str.668: ## @.str.668
.asciz "rule Yacc\n"
L_.str.669: ## @.str.669
.asciz "_h = $(<:BS=.h) ;\n"
L_.str.670: ## @.str.670
.asciz "MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;\n"
L_.str.671: ## @.str.671
.asciz "if $(YACC)\n"
L_.str.672: ## @.str.672
.asciz "DEPENDS $(<) $(_h) : $(>) ;\n"
L_.str.673: ## @.str.673
.asciz "Yacc1 $(<) $(_h) : $(>) ;\n"
L_.str.674: ## @.str.674
.asciz "YaccMv $(<) $(_h) : $(>) ;\n"
L_.str.675: ## @.str.675
.asciz "Clean clean : $(<) $(_h) ;\n"
L_.str.676: ## @.str.676
.asciz "INCLUDES $(<) : $(_h) ;\n"
L_.str.677: ## @.str.677
.asciz "rule FGrist\n"
L_.str.678: ## @.str.678
.asciz "local _g _i ;\n"
L_.str.679: ## @.str.679
.asciz "_g = $(<[1]) ;\n"
L_.str.680: ## @.str.680
.asciz "for _i in $(<[2-])\n"
L_.str.681: ## @.str.681
.asciz "_g = $(_g)!$(_i) ;\n"
L_.str.682: ## @.str.682
.asciz "return $(_g) ;\n"
L_.str.683: ## @.str.683
.asciz "rule FGristFiles\n"
L_.str.684: ## @.str.684
.asciz "if ! $(SOURCE_GRIST)\n"
L_.str.685: ## @.str.685
.asciz "return $(<) ;\n"
L_.str.686: ## @.str.686
.asciz "return $(<:G=$(SOURCE_GRIST)) ;\n"
L_.str.687: ## @.str.687
.asciz "rule FGristSourceFiles\n"
L_.str.688: ## @.str.688
.asciz "local _i _o ;\n"
L_.str.689: ## @.str.689
.asciz "for _i in $(<)\n"
L_.str.690: ## @.str.690
.asciz "switch $(_i)\n"
L_.str.691: ## @.str.691
.asciz "case *.h : _o += $(_i) ;\n"
L_.str.692: ## @.str.692
.asciz "case * : _o += $(_i:G=$(SOURCE_GRIST)) ;\n"
L_.str.693: ## @.str.693
.asciz "return $(_o) ;\n"
L_.str.694: ## @.str.694
.asciz "rule FConcat\n"
L_.str.695: ## @.str.695
.asciz "local _t _r ;\n"
L_.str.696: ## @.str.696
.asciz "$(_r) = $(<[1]) ;\n"
L_.str.697: ## @.str.697
.asciz "for _t in $(<[2-])\n"
L_.str.698: ## @.str.698
.asciz "$(_r) = $(_r)$(_t) ;\n"
L_.str.699: ## @.str.699
.asciz "return $(_r) ;\n"
L_.str.700: ## @.str.700
.asciz "rule FSubDir\n"
L_.str.701: ## @.str.701
.asciz "local _i _d ;\n"
L_.str.702: ## @.str.702
.asciz "_d = $(DOT) ;\n"
L_.str.703: ## @.str.703
.asciz "_d = $(DOTDOT) ;\n"
L_.str.704: ## @.str.704
.asciz "_d = $(_d:R=$(DOTDOT)) ;\n"
L_.str.705: ## @.str.705
.asciz "return $(_d) ;\n"
L_.str.706: ## @.str.706
.asciz "rule FDirName\n"
L_.str.707: ## @.str.707
.asciz "local _s _i ;\n"
L_.str.708: ## @.str.708
.asciz "if ! $(<)\n"
L_.str.709: ## @.str.709
.asciz "_s = $(DOT) ;\n"
L_.str.710: ## @.str.710
.asciz "switch $(<[1])\n"
L_.str.711: ## @.str.711
.asciz "case *:* : _s = $(<[1]) ;\n"
L_.str.712: ## @.str.712
.asciz "case \\\\[*\\\\] : _s = $(<[1]) ;\n"
L_.str.713: ## @.str.713
.asciz "case * : _s = [.$(<[1])] ;\n"
L_.str.714: ## @.str.714
.asciz "for _i in [.$(<[2-])]\n"
L_.str.715: ## @.str.715
.asciz "_s = $(_i:R=$(_s)) ;\n"
L_.str.716: ## @.str.716
.asciz "_s = $(<[1]) ;\n"
L_.str.717: ## @.str.717
.asciz "return $(_s) ;\n"
L_.str.718: ## @.str.718
.asciz "rule _makeCommon\n"
L_.str.719: ## @.str.719
.asciz "if $($(<)[1]) && $($(<)[1]) = $($(>)[1])\n"
L_.str.720: ## @.str.720
.asciz "$(<) = $($(<)[2-]) ;\n"
L_.str.721: ## @.str.721
.asciz "$(>) = $($(>)[2-]) ;\n"
L_.str.722: ## @.str.722
.asciz "_makeCommon $(<) : $(>) ;\n"
L_.str.723: ## @.str.723
.asciz "rule FRelPath\n"
L_.str.724: ## @.str.724
.asciz "local _l _r ;\n"
L_.str.725: ## @.str.725
.asciz "_l = $(<) ;\n"
L_.str.726: ## @.str.726
.asciz "_r = $(>) ;\n"
L_.str.727: ## @.str.727
.asciz "_makeCommon _l : _r ;\n"
L_.str.728: ## @.str.728
.asciz "_l = [ FSubDir $(_l) ] ;\n"
L_.str.729: ## @.str.729
.asciz "_r = [ FDirName $(_r) ] ;\n"
L_.str.730: ## @.str.730
.asciz "if $(_r) = $(DOT) {\n"
L_.str.731: ## @.str.731
.asciz "return $(_l) ;\n"
L_.str.732: ## @.str.732
.asciz "return $(_r:R=$(_l)) ;\n"
L_.str.733: ## @.str.733
.asciz "rule FAppendSuffix\n"
L_.str.734: ## @.str.734
.asciz "if $(_i:S)\n"
L_.str.735: ## @.str.735
.asciz "_o += $(_i) ;\n"
L_.str.736: ## @.str.736
.asciz "_o += $(_i:S=$(>)) ;\n"
L_.str.737: ## @.str.737
.asciz "rule unmakeDir\n"
L_.str.738: ## @.str.738
.asciz "if $(>[1]:D) && $(>[1]:D) != $(>[1]) && $(>[1]:D) != \\\\\\\\\n"
L_.str.739: ## @.str.739
.asciz "unmakeDir $(<) : $(>[1]:D) $(>[1]:BS) $(>[2-]) ;\n"
L_.str.740: ## @.str.740
.asciz "$(<) = $(>) ;\n"
L_.str.741: ## @.str.741
.asciz "rule FConvertToSlashes\n"
L_.str.742: ## @.str.742
.asciz "local _d, _s, _i ;\n"
L_.str.743: ## @.str.743
.asciz "unmakeDir _d : $(<) ;\n"
L_.str.744: ## @.str.744
.asciz "_s = $(_d[1]) ;\n"
L_.str.745: ## @.str.745
.asciz "for _i in $(_d[2-])\n"
L_.str.746: ## @.str.746
.asciz "_s = $(_s)/$(_i) ;\n"
L_.str.747: ## @.str.747
.asciz "actions updated together piecemeal Archive\n"
L_.str.748: ## @.str.748
.asciz "$(AR) $(<) $(>)\n"
L_.str.749: ## @.str.749
.asciz "actions As\n"
L_.str.750: ## @.str.750
.asciz "$(AS) $(ASFLAGS) -I$(HDRS) -o $(<) $(>)\n"
L_.str.751: ## @.str.751
.asciz "actions C++\n"
L_.str.752: ## @.str.752
.asciz "$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n"
L_.str.753: ## @.str.753
.asciz "actions Cc\n"
L_.str.754: ## @.str.754
.asciz "$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n"
L_.str.755: ## @.str.755
.asciz "actions Chgrp\n"
L_.str.756: ## @.str.756
.asciz "$(CHGRP) $(GROUP) $(<)\n"
L_.str.757: ## @.str.757
.asciz "actions Chmod1\n"
L_.str.758: ## @.str.758
.asciz "$(CHMOD) $(MODE) $(<)\n"
L_.str.759: ## @.str.759
.asciz "actions Chown\n"
L_.str.760: ## @.str.760
.asciz "$(CHOWN) $(OWNER) $(<)\n"
L_.str.761: ## @.str.761
.asciz "actions piecemeal together existing Clean\n"
L_.str.762: ## @.str.762
.asciz "$(RM) $(>)\n"
L_.str.763: ## @.str.763
.asciz "actions File\n"
L_.str.764: ## @.str.764
.asciz "$(CP) $(>) $(<)\n"
L_.str.765: ## @.str.765
.asciz "actions GenFile1\n"
L_.str.766: ## @.str.766
.asciz "$(>[1]) $(<) $(>[2-])\n"
L_.str.767: ## @.str.767
.asciz "actions Fortran\n"
L_.str.768: ## @.str.768
.asciz "$(FORTRAN) $(FORTRANFLAGS) -o $(<) $(>)\n"
L_.str.769: ## @.str.769
.asciz "actions HardLink\n"
L_.str.770: ## @.str.770
.asciz "$(RM) $(<) && $(LN) $(>) $(<)\n"
L_.str.771: ## @.str.771
.asciz "actions Install\n"
L_.str.772: ## @.str.772
.asciz "actions Lex\n"
L_.str.773: ## @.str.773
.asciz "$(LEX) $(>)\n"
L_.str.774: ## @.str.774
.asciz "actions LexMv\n"
L_.str.775: ## @.str.775
.asciz "$(MV) lex.yy.c $(<)\n"
L_.str.776: ## @.str.776
.asciz "actions Link bind NEEDLIBS\n"
L_.str.777: ## @.str.777
.asciz "$(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n"
L_.str.778: ## @.str.778
.asciz "actions MkDir1\n"
L_.str.779: ## @.str.779
.asciz "$(MKDIR) $(<)\n"
L_.str.780: ## @.str.780
.asciz "actions together Ranlib\n"
L_.str.781: ## @.str.781
.asciz "$(RANLIB) $(<)\n"
L_.str.782: ## @.str.782
.asciz "actions quietly updated piecemeal together RmTemps\n"
L_.str.783: ## @.str.783
.asciz "actions Shell\n"
L_.str.784: ## @.str.784
.asciz "$(AWK) '\n"
L_.str.785: ## @.str.785
.asciz "NR == 1 { print \"$(SHELLHEADER)\" }\n"
L_.str.786: ## @.str.786
.asciz "NR == 1 && /^[#:]/ { next }\n"
L_.str.787: ## @.str.787
.asciz "/^##/ { next }\n"
L_.str.788: ## @.str.788
.asciz "{ print }\n"
L_.str.789: ## @.str.789
.asciz "' < $(>) > $(<)\n"
L_.str.790: ## @.str.790
.asciz "actions Yacc1\n"
L_.str.791: ## @.str.791
.asciz "$(YACC) $(YACCFLAGS) $(>)\n"
L_.str.792: ## @.str.792
.asciz "actions YaccMv\n"
L_.str.793: ## @.str.793
.asciz "$(MV) $(YACCFILES).c $(<[1])\n"
L_.str.794: ## @.str.794
.asciz "$(MV) $(YACCFILES).h $(<[2])\n"
L_.str.795: ## @.str.795
.asciz "$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) $(>)\n"
L_.str.796: ## @.str.796
.asciz "$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) $(>)\n"
L_.str.797: ## @.str.797
.asciz "actions ignore CcMv\n"
L_.str.798: ## @.str.798
.asciz "[ $(<) != $(>:BS=$(SUFOBJ)) ] && $(MV) $(>:BS=$(SUFOBJ)) $(<)\n"
L_.str.799: ## @.str.799
.asciz "if $(NOARUPDATE)\n"
L_.str.800: ## @.str.800
.asciz "actions Archive\n"
L_.str.801: ## @.str.801
.asciz "if $(TOOLSET) = VISUALC || $(TOOLSET) = VC7 || $(TOOLSET) = INTELC\n"
L_.str.802: ## @.str.802
.asciz "if exist $(<) set _$(<:B)_=$(<)\n"
L_.str.803: ## @.str.803
.asciz "$(AR) /out:$(<) %_$(<:B)_% $(>)\n"
L_.str.804: ## @.str.804
.asciz "$(AS) /Ml /p /v /w2 $(>) $(<) ,nul,nul;\n"
L_.str.805: ## @.str.805
.asciz "$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) $(>)\n"
L_.str.806: ## @.str.806
.asciz "$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) /Tp$(>)\n"
L_.str.807: ## @.str.807
.asciz "$(LINK) $(LINKFLAGS) /out:$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n"
L_.str.808: ## @.str.808
.asciz "$(AR) $(<) -+$(>)\n"
L_.str.809: ## @.str.809
.asciz "$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) $(>)\n"
L_.str.810: ## @.str.810
.asciz "$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /Tp$(>)\n"
L_.str.811: ## @.str.811
.asciz "else if $(TOOLSET) = BORLANDC\n"
L_.str.812: ## @.str.812
.asciz "$(LINK) -e$(<) $(LINKFLAGS) $(UNDEFS) -L$(LINKLIBS) $(NEEDLIBS) $(>)\n"
L_.str.813: ## @.str.813
.asciz "$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n"
L_.str.814: ## @.str.814
.asciz "$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n"
L_.str.815: ## @.str.815
.asciz "actions together piecemeal Archive\n"
L_.str.816: ## @.str.816
.asciz "$(AR) $(<) $(>:T)\n"
L_.str.817: ## @.str.817
.asciz "$(AR) $(<) +-$(>)\n"
L_.str.818: ## @.str.818
.asciz "$(CC) $(CCFLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n"
L_.str.819: ## @.str.819
.asciz "$(C++) $(C++FLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n"
L_.str.820: ## @.str.820
.asciz "$(LINK) $(LINKFLAGS) /Fe=$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n"
L_.str.821: ## @.str.821
.asciz "$(AR) /out:$(<) $(>)\n"
L_.str.822: ## @.str.822
.asciz "$(CC) $(CCFLAGS) $(OPTIM) -Fo$(<) -I$(HDRS) $(>)\n"
L_.str.823: ## @.str.823
.asciz "lib/replace $(<) $(>[1]) ,$(>[2-])\n"
L_.str.824: ## @.str.824
.asciz "$(CC)/obj=$(<) $(CCFLAGS) $(OPTIM) $(SLASHINC) $(>)\n"
L_.str.825: ## @.str.825
.asciz "$(C++)/obj=$(<) $(C++FLAGS) $(OPTIM) $(SLASHINC) $(>)\n"
L_.str.826: ## @.str.826
.asciz "$(RM) $(>[1]);* ,$(>[2-]);*\n"
L_.str.827: ## @.str.827
.asciz "actions together quietly CreLib\n"
L_.str.828: ## @.str.828
.asciz "if f$search(\"$(<)\") .eqs. \"\" then lib/create $(<)\n"
L_.str.829: ## @.str.829
.asciz "mcr $(>[1]) $(<) $(>[2-])\n"
L_.str.830: ## @.str.830
.asciz "$(LINK)/exe=$(<) $(LINKFLAGS) $(>[1]) ,$(>[2-]) ,$(NEEDLIBS)/lib ,$(LINKLIBS)\n"
L_.str.831: ## @.str.831
.asciz "actions together Archive\n"
L_.str.832: ## @.str.832
.asciz "$(LINK) -library -o $(<) $(>)\n"
L_.str.833: ## @.str.833
.asciz "set -e MWCincludes $(MACINC)\n"
L_.str.834: ## @.str.834
.asciz "$(CC) -o $(<) $(CCFLAGS) $(OPTIM) $(>)\n"
L_.str.835: ## @.str.835
.asciz "$(CC) -o $(<) $(C++FLAGS) $(OPTIM) $(>)\n"
L_.str.836: ## @.str.836
.asciz "$(LINK) -o $(<) $(LINKFLAGS) $(>) $(NEEDLIBS) \"$(LINKLIBS)\"\n"
L_.str.837: ## @.str.837
.asciz "rule BULK { Bulk $(<) : $(>) ; }\n"
L_.str.838: ## @.str.838
.asciz "rule FILE { File $(<) : $(>) ; }\n"
L_.str.839: ## @.str.839
.asciz "rule HDRRULE { HdrRule $(<) : $(>) ; }\n"
L_.str.840: ## @.str.840
.asciz "rule INSTALL { Install $(<) : $(>) ; }\n"
L_.str.841: ## @.str.841
.asciz "rule LIBRARY { Library $(<) : $(>) ; }\n"
L_.str.842: ## @.str.842
.asciz "rule LIBS { LinkLibraries $(<) : $(>) ; }\n"
L_.str.843: ## @.str.843
.asciz "rule LINK { Link $(<) : $(>) ; }\n"
L_.str.844: ## @.str.844
.asciz "rule MAIN { Main $(<) : $(>) ; }\n"
L_.str.845: ## @.str.845
.asciz "rule SETUID { Setuid $(<) ; }\n"
L_.str.846: ## @.str.846
.asciz "rule SHELL { Shell $(<) : $(>) ; }\n"
L_.str.847: ## @.str.847
.asciz "rule UNDEFINES { Undefines $(<) : $(>) ; }\n"
L_.str.848: ## @.str.848
.asciz "rule INSTALLBIN { InstallBin $(BINDIR) : $(<) ; }\n"
L_.str.849: ## @.str.849
.asciz "rule INSTALLLIB { InstallLib $(LIBDIR) : $(<) ; }\n"
L_.str.850: ## @.str.850
.asciz "rule INSTALLMAN { InstallMan $(MANDIR) : $(<) ; }\n"
L_.str.851: ## @.str.851
.asciz "rule addDirName { $(<) += [ FDirName $(>) ] ; }\n"
L_.str.852: ## @.str.852
.asciz "rule makeDirName { $(<) = [ FDirName $(>) ] ; }\n"
L_.str.853: ## @.str.853
.asciz "rule makeGristedName { $(<) = [ FGristSourceFiles $(>) ] ; }\n"
L_.str.854: ## @.str.854
.asciz "rule makeRelPath { $(<[1]) = [ FRelPath $(<[2-]) : $(>) ] ; }\n"
L_.str.855: ## @.str.855
.asciz "rule makeSuffixed { $(<[1]) = [ FAppendSuffix $(>) : $(<[2]) ] ; }\n"
L_.str.856: ## @.str.856
.asciz "if $(JAMFILE) { include $(JAMFILE) ; }\n"
.section __DATA,__data
.globl _jambase ## @jambase
.p2align 4
_jambase:
.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.1
.quad L_.str.6
.quad L_.str.7
.quad L_.str.1
.quad L_.str.8
.quad L_.str.9
.quad L_.str.3
.quad L_.str.10
.quad L_.str.3
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.1
.quad L_.str.15
.quad L_.str.3
.quad L_.str.16
.quad L_.str.1
.quad L_.str.17
.quad L_.str.1
.quad L_.str.18
.quad L_.str.3
.quad L_.str.3
.quad L_.str.19
.quad L_.str.1
.quad L_.str.20
.quad L_.str.1
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad L_.str.22
.quad L_.str.24
.quad L_.str.3
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.1
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.22
.quad L_.str.23
.quad L_.str.22
.quad L_.str.33
.quad L_.str.34
.quad L_.str.22
.quad L_.str.24
.quad L_.str.3
.quad L_.str.35
.quad L_.str.1
.quad L_.str.36
.quad L_.str.37
.quad L_.str.3
.quad L_.str.38
.quad L_.str.3
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.1
.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.1
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.1
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.22
.quad L_.str.3
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.24
.quad L_.str.3
.quad L_.str.35
.quad L_.str.1
.quad L_.str.61
.quad L_.str.62
.quad L_.str.3
.quad L_.str.63
.quad L_.str.29
.quad L_.str.1
.quad L_.str.64
.quad L_.str.65
.quad L_.str.66
.quad L_.str.60
.quad L_.str.22
.quad L_.str.67
.quad L_.str.68
.quad L_.str.22
.quad L_.str.24
.quad L_.str.3
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str
.quad L_.str.1
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.1
.quad L_.str.74
.quad L_.str.75
.quad L_.str.1
.quad L_.str.76
.quad L_.str.77
.quad L_.str.3
.quad L_.str.78
.quad L_.str.1
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.3
.quad L_.str.3
.quad L_.str.78
.quad L_.str.1
.quad L_.str.84
.quad L_.str.1
.quad L_.str.85
.quad L_.str.86
.quad L_.str.3
.quad L_.str.87
.quad L_.str.1
.quad L_.str.88
.quad L_.str.89
.quad L_.str.3
.quad L_.str.90
.quad L_.str.1
.quad L_.str.91
.quad L_.str.92
.quad L_.str.3
.quad L_.str.93
.quad L_.str.1
.quad L_.str.91
.quad L_.str.94
.quad L_.str.3
.quad L_.str.95
.quad L_.str.1
.quad L_.str.96
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.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.81
.quad L_.str.103
.quad L_.str.104
.quad L_.str.81
.quad L_.str.105
.quad L_.str.81
.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.81
.quad L_.str.113
.quad L_.str.114
.quad L_.str.81
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.3
.quad L_.str.3
.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.1
.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.3
.quad L_.str.136
.quad L_.str.1
.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.131
.quad L_.str.132
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.135
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.3
.quad L_.str.151
.quad L_.str.1
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.139
.quad L_.str.155
.quad L_.str.141
.quad L_.str.142
.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.148
.quad L_.str.162
.quad L_.str.150
.quad L_.str.3
.quad L_.str.163
.quad L_.str.1
.quad L_.str.164
.quad L_.str.153
.quad L_.str.154
.quad L_.str.139
.quad L_.str.155
.quad L_.str.141
.quad L_.str.142
.quad L_.str.156
.quad L_.str.157
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.148
.quad L_.str.169
.quad L_.str.170
.quad L_.str.150
.quad L_.str.3
.quad L_.str.171
.quad L_.str.1
.quad L_.str.172
.quad L_.str.173
.quad L_.str.1
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.83
.quad L_.str.3
.quad L_.str.153
.quad L_.str.154
.quad L_.str.177
.quad L_.str.155
.quad L_.str.141
.quad L_.str.142
.quad L_.str.156
.quad L_.str.157
.quad L_.str.178
.quad L_.str.179
.quad L_.str.146
.quad L_.str.148
.quad L_.str.180
.quad L_.str.150
.quad L_.str.3
.quad L_.str.181
.quad L_.str.1
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.142
.quad L_.str.118
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.147
.quad L_.str.191
.quad L_.str.135
.quad L_.str.192
.quad L_.str.193
.quad L_.str.120
.quad L_.str.194
.quad L_.str.123
.quad L_.str.121
.quad L_.str.122
.quad L_.str.150
.quad L_.str.3
.quad L_.str.195
.quad L_.str.1
.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.3
.quad L_.str.209
.quad L_.str.1
.quad L_.str.210
.quad L_.str.211
.quad L_.str.212
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.213
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.214
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.215
.quad L_.str.216
.quad L_.str.3
.quad L_.str.3
.quad L_.str.217
.quad L_.str.1
.quad L_.str.218
.quad L_.str.72
.quad L_.str.73
.quad L_.str.1
.quad L_.str.74
.quad L_.str.75
.quad L_.str.1
.quad L_.str.76
.quad L_.str.77
.quad L_.str.3
.quad L_.str.78
.quad L_.str.1
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.3
.quad L_.str.3
.quad L_.str.78
.quad L_.str.1
.quad L_.str.219
.quad L_.str.1
.quad L_.str.220
.quad L_.str.221
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.222
.quad L_.str.223
.quad L_.str.81
.quad L_.str.103
.quad L_.str.104
.quad L_.str.81
.quad L_.str.105
.quad L_.str.81
.quad L_.str.110
.quad L_.str.224
.quad L_.str.225
.quad L_.str.81
.quad L_.str.113
.quad L_.str.114
.quad L_.str.81
.quad L_.str.226
.quad L_.str.227
.quad L_.str.81
.quad L_.str.117
.quad L_.str.3
.quad L_.str.3
.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.1
.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.3
.quad L_.str.251
.quad L_.str.1
.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.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.266
.quad L_.str.3
.quad L_.str.3
.quad L_.str.267
.quad L_.str.1
.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.157
.quad L_.str.147
.quad L_.str.281
.quad L_.str.282
.quad L_.str.148
.quad L_.str.283
.quad L_.str.284
.quad L_.str.285
.quad L_.str.286
.quad L_.str.287
.quad L_.str.123
.quad L_.str.288
.quad L_.str.122
.quad L_.str.289
.quad L_.str.1
.quad L_.str.290
.quad L_.str.291
.quad L_.str.3
.quad L_.str.3
.quad L_.str.292
.quad L_.str.1
.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.303
.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.135
.quad L_.str.192
.quad L_.str.325
.quad L_.str.326
.quad L_.str.327
.quad L_.str.121
.quad L_.str.328
.quad L_.str.3
.quad L_.str.329
.quad L_.str.1
.quad L_.str.330
.quad L_.str.331
.quad L_.str.332
.quad L_.str.333
.quad L_.str.141
.quad L_.str.334
.quad L_.str.335
.quad L_.str.336
.quad L_.str.337
.quad L_.str.157
.quad L_.str.338
.quad L_.str.135
.quad L_.str.339
.quad L_.str.3
.quad L_.str.340
.quad L_.str.1
.quad L_.str.331
.quad L_.str.341
.quad L_.str.141
.quad L_.str.335
.quad L_.str.336
.quad L_.str.342
.quad L_.str.343
.quad L_.str.135
.quad L_.str.339
.quad L_.str.3
.quad L_.str.344
.quad L_.str.1
.quad L_.str.289
.quad L_.str.1
.quad L_.str.345
.quad L_.str.346
.quad L_.str.347
.quad L_.str.341
.quad L_.str.348
.quad L_.str.349
.quad L_.str.341
.quad L_.str.350
.quad L_.str.351
.quad L_.str.352
.quad L_.str.123
.quad L_.str.348
.quad L_.str.353
.quad L_.str.352
.quad L_.str.354
.quad L_.str.355
.quad L_.str.356
.quad L_.str.357
.quad L_.str.358
.quad L_.str.352
.quad L_.str.359
.quad L_.str.341
.quad L_.str.352
.quad L_.str.360
.quad L_.str.352
.quad L_.str.361
.quad L_.str.341
.quad L_.str.362
.quad L_.str.363
.quad L_.str.364
.quad L_.str.352
.quad L_.str.135
.quad L_.str.365
.quad L_.str.366
.quad L_.str.352
.quad L_.str.367
.quad L_.str.368
.quad L_.str.352
.quad L_.str.369
.quad L_.str.368
.quad L_.str.370
.quad L_.str.371
.quad L_.str.352
.quad L_.str.372
.quad L_.str.352
.quad L_.str.373
.quad L_.str.352
.quad L_.str.374
.quad L_.str.183
.quad L_.str.270
.quad L_.str.375
.quad L_.str.141
.quad L_.str.376
.quad L_.str.131
.quad L_.str.377
.quad L_.str.135
.quad L_.str.352
.quad L_.str.378
.quad L_.str.352
.quad L_.str.354
.quad L_.str.379
.quad L_.str.352
.quad L_.str.380
.quad L_.str.352
.quad L_.str.381
.quad L_.str.382
.quad L_.str.135
.quad L_.str.383
.quad L_.str.384
.quad L_.str.352
.quad L_.str.354
.quad L_.str.3
.quad L_.str.271
.quad L_.str.142
.quad L_.str.385
.quad L_.str.386
.quad L_.str.387
.quad L_.str.388
.quad L_.str.132
.quad L_.str.147
.quad L_.str.389
.quad L_.str.390
.quad L_.str.391
.quad L_.str.392
.quad L_.str.393
.quad L_.str.3
.quad L_.str.394
.quad L_.str.395
.quad L_.str.396
.quad L_.str.397
.quad L_.str.398
.quad L_.str.399
.quad L_.str.269
.quad L_.str.270
.quad L_.str.271
.quad L_.str.400
.quad L_.str.401
.quad L_.str.187
.quad L_.str.188
.quad L_.str.402
.quad L_.str.403
.quad L_.str.404
.quad L_.str.405
.quad L_.str.279
.quad L_.str.406
.quad L_.str.407
.quad L_.str.408
.quad L_.str.409
.quad L_.str.410
.quad L_.str.131
.quad L_.str.411
.quad L_.str.147
.quad L_.str.412
.quad L_.str.413
.quad L_.str.414
.quad L_.str.415
.quad L_.str.192
.quad L_.str.416
.quad L_.str.417
.quad L_.str.418
.quad L_.str.419
.quad L_.str.420
.quad L_.str.421
.quad L_.str.422
.quad L_.str.423
.quad L_.str.424
.quad L_.str.425
.quad L_.str.328
.quad L_.str.426
.quad L_.str.427
.quad L_.str.428
.quad L_.str.429
.quad L_.str.430
.quad L_.str.431
.quad L_.str.432
.quad L_.str.433
.quad L_.str.434
.quad L_.str.435
.quad L_.str.436
.quad L_.str.437
.quad L_.str.1
.quad L_.str.438
.quad L_.str.439
.quad L_.str.3
.quad L_.str.440
.quad L_.str.1
.quad L_.str.441
.quad L_.str.442
.quad L_.str.1
.quad L_.str.443
.quad L_.str.3
.quad L_.str.3
.quad L_.str.444
.quad L_.str.1
.quad L_.str.445
.quad L_.str.438
.quad L_.str.446
.quad L_.str.447
.quad L_.str.1
.quad L_.str.448
.quad L_.str.3
.quad L_.str.449
.quad L_.str.450
.quad L_.str.1
.quad L_.str.451
.quad L_.str.3
.quad L_.str.452
.quad L_.str.1
.quad L_.str.453
.quad L_.str.454
.quad L_.str.455
.quad L_.str.1
.quad L_.str.456
.quad L_.str.3
.quad L_.str.457
.quad L_.str.3
.quad L_.str.3
.quad L_.str.458
.quad L_.str.1
.quad L_.str.445
.quad L_.str.438
.quad L_.str.459
.quad L_.str.447
.quad L_.str.1
.quad L_.str.448
.quad L_.str.3
.quad L_.str.449
.quad L_.str.450
.quad L_.str.1
.quad L_.str.451
.quad L_.str.3
.quad L_.str.452
.quad L_.str.1
.quad L_.str.453
.quad L_.str.454
.quad L_.str.455
.quad L_.str.1
.quad L_.str.456
.quad L_.str.3
.quad L_.str.457
.quad L_.str.3
.quad L_.str.3
.quad L_.str.460
.quad L_.str.1
.quad L_.str.461
.quad L_.str.3
.quad L_.str.462
.quad L_.str.1
.quad L_.str.463
.quad L_.str.438
.quad L_.str.464
.quad L_.str.465
.quad L_.str.466
.quad L_.str.3
.quad L_.str.467
.quad L_.str.1
.quad L_.str.438
.quad L_.str.3
.quad L_.str.468
.quad L_.str.1
.quad L_.str.469
.quad L_.str.470
.quad L_.str.471
.quad L_.str.472
.quad L_.str.473
.quad L_.str.3
.quad L_.str.474
.quad L_.str.1
.quad L_.str.475
.quad L_.str.464
.quad L_.str.3
.quad L_.str.476
.quad L_.str.1
.quad L_.str.463
.quad L_.str.438
.quad L_.str.464
.quad L_.str.3
.quad L_.str.477
.quad L_.str.1
.quad L_.str.478
.quad L_.str.3
.quad L_.str.479
.quad L_.str.1
.quad L_.str.480
.quad L_.str.481
.quad L_.str.1
.quad L_.str.482
.quad L_.str.483
.quad L_.str.484
.quad L_.str.3
.quad L_.str.485
.quad L_.str.486
.quad L_.str.487
.quad L_.str.488
.quad L_.str.489
.quad L_.str.490
.quad L_.str.491
.quad L_.str.3
.quad L_.str.492
.quad L_.str.1
.quad L_.str.493
.quad L_.str.494
.quad L_.str.495
.quad L_.str.496
.quad L_.str.464
.quad L_.str.497
.quad L_.str.442
.quad L_.str.1
.quad L_.str.498
.quad L_.str.499
.quad L_.str.500
.quad L_.str.501
.quad L_.str.502
.quad L_.str.1
.quad L_.str.503
.quad L_.str.504
.quad L_.str.3
.quad L_.str.505
.quad L_.str.1
.quad L_.str.506
.quad L_.str.507
.quad L_.str.3
.quad L_.str.3
.quad L_.str.3
.quad L_.str.508
.quad L_.str.1
.quad L_.str.509
.quad L_.str.510
.quad L_.str.511
.quad L_.str.3
.quad L_.str.512
.quad L_.str.1
.quad L_.str.513
.quad L_.str.514
.quad L_.str.3
.quad L_.str.515
.quad L_.str.1
.quad L_.str.513
.quad L_.str.514
.quad L_.str.3
.quad L_.str.516
.quad L_.str.1
.quad L_.str.517
.quad L_.str.442
.quad L_.str.1
.quad L_.str.518
.quad L_.str.1
.quad L_.str.519
.quad L_.str.520
.quad L_.str.521
.quad L_.str.522
.quad L_.str.3
.quad L_.str.523
.quad L_.str.524
.quad L_.str.3
.quad L_.str.514
.quad L_.str.3
.quad L_.str.525
.quad L_.str.1
.quad L_.str.513
.quad L_.str.526
.quad L_.str.3
.quad L_.str.527
.quad L_.str.1
.quad L_.str.528
.quad L_.str.438
.quad L_.str.475
.quad L_.str.529
.quad L_.str.3
.quad L_.str.530
.quad L_.str.1
.quad L_.str.531
.quad L_.str.532
.quad L_.str.3
.quad L_.str.533
.quad L_.str.1
.quad L_.str.534
.quad L_.str.535
.quad L_.str.536
.quad L_.str.537
.quad L_.str.1
.quad L_.str.538
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.539
.quad L_.str.3
.quad L_.str.540
.quad L_.str.1
.quad L_.str.541
.quad L_.str.3
.quad L_.str.542
.quad L_.str.1
.quad L_.str.543
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.544
.quad L_.str.545
.quad L_.str.1
.quad L_.str.546
.quad L_.str.3
.quad L_.str.3
.quad L_.str.547
.quad L_.str.548
.quad L_.str.549
.quad L_.str.550
.quad L_.str.551
.quad L_.str.3
.quad L_.str.552
.quad L_.str.1
.quad L_.str.553
.quad L_.str.466
.quad L_.str.3
.quad L_.str.554
.quad L_.str.1
.quad L_.str.555
.quad L_.str.556
.quad L_.str.557
.quad L_.str.3
.quad L_.str.558
.quad L_.str.1
.quad L_.str.559
.quad L_.str.532
.quad L_.str.3
.quad L_.str.560
.quad L_.str.1
.quad L_.str.561
.quad L_.str.535
.quad L_.str.562
.quad L_.str.563
.quad L_.str.1
.quad L_.str.564
.quad L_.str.565
.quad L_.str.3
.quad L_.str.566
.quad L_.str.567
.quad L_.str.568
.quad L_.str.473
.quad L_.str.569
.quad L_.str.3
.quad L_.str.570
.quad L_.str.1
.quad L_.str.571
.quad L_.str.1
.quad L_.str.572
.quad L_.str.573
.quad L_.str.574
.quad L_.str.3
.quad L_.str.3
.quad L_.str.575
.quad L_.str.1
.quad L_.str.576
.quad L_.str.577
.quad L_.str.1
.quad L_.str.480
.quad L_.str.578
.quad L_.str.579
.quad L_.str.580
.quad L_.str.581
.quad L_.str
.quad L_.str.1
.quad L_.str.582
.quad L_.str.1
.quad L_.str.583
.quad L_.str.584
.quad L_.str.3
.quad L_.str.3
.quad L_.str.585
.quad L_.str.1
.quad L_.str.586
.quad L_.str.587
.quad L_.str.3
.quad L_.str.588
.quad L_.str.1
.quad L_.str.589
.quad L_.str.3
.quad L_.str.3
.quad L_.str.3
.quad L_.str.590
.quad L_.str.1
.quad L_.str.591
.quad L_.str.529
.quad L_.str.592
.quad L_.str.464
.quad L_.str.593
.quad L_.str.594
.quad L_.str.1
.quad L_.str.595
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.596
.quad L_.str.3
.quad L_.str.597
.quad L_.str.598
.quad L_.str.599
.quad L_.str.600
.quad L_.str.601
.quad L_.str.1
.quad L_.str.602
.quad L_.str.603
.quad L_.str.604
.quad L_.str.605
.quad L_.str.606
.quad L_.str.607
.quad L_.str.608
.quad L_.str.609
.quad L_.str.610
.quad L_.str.611
.quad L_.str.612
.quad L_.str.613
.quad L_.str.3
.quad L_.str.3
.quad L_.str.614
.quad L_.str.1
.quad L_.str.615
.quad L_.str.3
.quad L_.str.616
.quad L_.str.1
.quad L_.str.617
.quad L_.str.3
.quad L_.str.618
.quad L_.str.1
.quad L_.str.619
.quad L_.str.3
.quad L_.str.620
.quad L_.str.1
.quad L_.str.621
.quad L_.str.622
.quad L_.str.1
.quad L_.str.623
.quad L_.str.624
.quad L_.str.3
.quad L_.str.3
.quad L_.str.625
.quad L_.str.1
.quad L_.str.626
.quad L_.str.3
.quad L_.str.627
.quad L_.str.1
.quad L_.str.628
.quad L_.str.3
.quad L_.str.629
.quad L_.str.1
.quad L_.str.630
.quad L_.str.438
.quad L_.str.464
.quad L_.str.631
.quad L_.str.529
.quad L_.str.466
.quad L_.str.3
.quad L_.str.632
.quad L_.str.1
.quad L_.str.633
.quad L_.str.634
.quad L_.str.1
.quad L_.str.635
.quad L_.str.1
.quad L_.str.636
.quad L_.str.3
.quad L_.str.637
.quad L_.str.3
.quad L_.str.638
.quad L_.str.1
.quad L_.str.639
.quad L_.str.640
.quad L_.str.641
.quad L_.str.1
.quad L_.str.642
.quad L_.str.3
.quad L_.str.643
.quad L_.str.3
.quad L_.str.644
.quad L_.str.645
.quad L_.str.646
.quad L_.str.647
.quad L_.str.648
.quad L_.str.649
.quad L_.str.650
.quad L_.str.651
.quad L_.str.652
.quad L_.str.653
.quad L_.str.3
.quad L_.str.654
.quad L_.str.1
.quad L_.str.655
.quad L_.str.3
.quad L_.str.656
.quad L_.str.1
.quad L_.str.657
.quad L_.str.3
.quad L_.str.658
.quad L_.str.1
.quad L_.str.659
.quad L_.str.3
.quad L_.str.660
.quad L_.str.1
.quad L_.str.661
.quad L_.str.634
.quad L_.str.1
.quad L_.str.662
.quad L_.str.3
.quad L_.str.644
.quad L_.str.663
.quad L_.str.3
.quad L_.str.664
.quad L_.str.1
.quad L_.str.665
.quad L_.str.3
.quad L_.str.666
.quad L_.str.1
.quad L_.str.667
.quad L_.str.3
.quad L_.str.668
.quad L_.str.1
.quad L_.str.445
.quad L_.str.669
.quad L_.str.670
.quad L_.str.671
.quad L_.str.1
.quad L_.str.672
.quad L_.str.673
.quad L_.str.674
.quad L_.str.675
.quad L_.str.3
.quad L_.str.676
.quad L_.str.3
.quad L_.str.677
.quad L_.str.1
.quad L_.str.678
.quad L_.str.679
.quad L_.str.680
.quad L_.str.1
.quad L_.str.681
.quad L_.str.3
.quad L_.str.682
.quad L_.str.3
.quad L_.str.683
.quad L_.str.1
.quad L_.str.684
.quad L_.str.1
.quad L_.str.685
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.686
.quad L_.str.3
.quad L_.str.3
.quad L_.str.687
.quad L_.str.1
.quad L_.str.684
.quad L_.str.1
.quad L_.str.685
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.688
.quad L_.str.689
.quad L_.str.1
.quad L_.str.690
.quad L_.str.1
.quad L_.str.691
.quad L_.str.692
.quad L_.str.3
.quad L_.str.3
.quad L_.str.693
.quad L_.str.3
.quad L_.str.3
.quad L_.str.694
.quad L_.str.1
.quad L_.str.695
.quad L_.str.696
.quad L_.str.697
.quad L_.str.1
.quad L_.str.698
.quad L_.str.3
.quad L_.str.699
.quad L_.str.3
.quad L_.str.700
.quad L_.str.1
.quad L_.str.701
.quad L_.str.635
.quad L_.str.1
.quad L_.str.702
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.703
.quad L_.str.680
.quad L_.str.1
.quad L_.str.704
.quad L_.str.3
.quad L_.str.3
.quad L_.str.705
.quad L_.str.3
.quad L_.str.706
.quad L_.str.1
.quad L_.str.707
.quad L_.str.708
.quad L_.str.1
.quad L_.str.709
.quad L_.str.3
.quad L_.str.267
.quad L_.str.1
.quad L_.str.710
.quad L_.str.1
.quad L_.str.711
.quad L_.str.712
.quad L_.str.713
.quad L_.str.3
.quad L_.str.714
.quad L_.str.1
.quad L_.str.715
.quad L_.str.3
.quad L_.str.3
.quad L_.str.292
.quad L_.str.1
.quad L_.str.709
.quad L_.str.689
.quad L_.str.1
.quad L_.str.715
.quad L_.str.3
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.716
.quad L_.str.680
.quad L_.str.1
.quad L_.str.715
.quad L_.str.3
.quad L_.str.3
.quad L_.str.717
.quad L_.str.3
.quad L_.str.718
.quad L_.str.1
.quad L_.str.719
.quad L_.str.1
.quad L_.str.720
.quad L_.str.721
.quad L_.str.722
.quad L_.str.3
.quad L_.str.3
.quad L_.str.723
.quad L_.str.1
.quad L_.str.724
.quad L_.str.725
.quad L_.str.726
.quad L_.str.727
.quad L_.str.728
.quad L_.str.729
.quad L_.str.730
.quad L_.str.731
.quad L_.str.483
.quad L_.str.732
.quad L_.str.3
.quad L_.str.3
.quad L_.str.733
.quad L_.str.1
.quad L_.str.571
.quad L_.str.1
.quad L_.str.688
.quad L_.str.689
.quad L_.str.1
.quad L_.str.734
.quad L_.str.1
.quad L_.str.735
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.736
.quad L_.str.3
.quad L_.str.3
.quad L_.str.693
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.685
.quad L_.str.3
.quad L_.str.3
.quad L_.str.737
.quad L_.str.1
.quad L_.str.738
.quad L_.str.1
.quad L_.str.739
.quad L_.str.3
.quad L_.str.69
.quad L_.str.1
.quad L_.str.740
.quad L_.str.3
.quad L_.str.3
.quad L_.str.741
.quad L_.str.1
.quad L_.str.742
.quad L_.str.743
.quad L_.str.744
.quad L_.str.745
.quad L_.str.1
.quad L_.str.746
.quad L_.str.3
.quad L_.str.717
.quad L_.str.3
.quad L_.str.747
.quad L_.str.1
.quad L_.str.748
.quad L_.str.3
.quad L_.str.749
.quad L_.str.1
.quad L_.str.750
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.752
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.754
.quad L_.str.3
.quad L_.str.755
.quad L_.str.1
.quad L_.str.756
.quad L_.str.3
.quad L_.str.757
.quad L_.str.1
.quad L_.str.758
.quad L_.str.3
.quad L_.str.759
.quad L_.str.1
.quad L_.str.760
.quad L_.str.3
.quad L_.str.761
.quad L_.str.1
.quad L_.str.762
.quad L_.str.3
.quad L_.str.763
.quad L_.str.1
.quad L_.str.764
.quad L_.str.3
.quad L_.str.765
.quad L_.str.1
.quad L_.str.766
.quad L_.str.3
.quad L_.str.767
.quad L_.str.1
.quad L_.str.768
.quad L_.str.3
.quad L_.str.769
.quad L_.str.1
.quad L_.str.770
.quad L_.str.3
.quad L_.str.771
.quad L_.str.1
.quad L_.str.764
.quad L_.str.3
.quad L_.str.772
.quad L_.str.1
.quad L_.str.773
.quad L_.str.3
.quad L_.str.774
.quad L_.str.1
.quad L_.str.775
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.777
.quad L_.str.3
.quad L_.str.778
.quad L_.str.1
.quad L_.str.779
.quad L_.str.3
.quad L_.str.780
.quad L_.str.1
.quad L_.str.781
.quad L_.str.3
.quad L_.str.782
.quad L_.str.1
.quad L_.str.762
.quad L_.str.3
.quad L_.str.783
.quad L_.str.1
.quad L_.str.784
.quad L_.str.785
.quad L_.str.786
.quad L_.str.787
.quad L_.str.788
.quad L_.str.789
.quad L_.str.3
.quad L_.str.790
.quad L_.str.1
.quad L_.str.791
.quad L_.str.3
.quad L_.str.792
.quad L_.str.1
.quad L_.str.793
.quad L_.str.794
.quad L_.str.3
.quad L_.str.447
.quad L_.str.1
.quad L_.str.751
.quad L_.str.1
.quad L_.str.795
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.796
.quad L_.str.3
.quad L_.str.797
.quad L_.str.1
.quad L_.str.798
.quad L_.str.3
.quad L_.str.3
.quad L_.str.799
.quad L_.str.1
.quad L_.str.800
.quad L_.str.1
.quad L_.str.748
.quad L_.str.3
.quad L_.str.3
.quad L_.str
.quad L_.str.1
.quad L_.str.801
.quad L_.str.1
.quad L_.str.747
.quad L_.str.1
.quad L_.str.802
.quad L_.str.803
.quad L_.str.3
.quad L_.str.749
.quad L_.str.1
.quad L_.str.804
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.805
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.806
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.807
.quad L_.str.3
.quad L_.str.3
.quad L_.str.136
.quad L_.str.1
.quad L_.str.747
.quad L_.str.1
.quad L_.str.808
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.809
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.810
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.807
.quad L_.str.3
.quad L_.str.3
.quad L_.str.811
.quad L_.str.1
.quad L_.str.747
.quad L_.str.1
.quad L_.str.808
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.812
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.813
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.814
.quad L_.str.3
.quad L_.str.3
.quad L_.str.195
.quad L_.str.1
.quad L_.str.815
.quad L_.str.1
.quad L_.str.816
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.814
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.813
.quad L_.str.3
.quad L_.str.3
.quad L_.str.181
.quad L_.str.1
.quad L_.str.815
.quad L_.str.1
.quad L_.str.817
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.818
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.819
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.820
.quad L_.str.3
.quad L_.str.783
.quad L_.str.1
.quad L_.str.764
.quad L_.str.3
.quad L_.str.3
.quad L_.str.209
.quad L_.str.1
.quad L_.str.815
.quad L_.str.1
.quad L_.str.821
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.822
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.777
.quad L_.str.3
.quad L_.str.783
.quad L_.str.1
.quad L_.str.764
.quad L_.str.3
.quad L_.str.3
.quad L_.str.3
.quad L_.str.217
.quad L_.str.1
.quad L_.str.236
.quad L_.str.1
.quad L_.str.815
.quad L_.str.1
.quad L_.str.817
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.818
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.819
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.820
.quad L_.str.3
.quad L_.str.783
.quad L_.str.1
.quad L_.str.764
.quad L_.str.3
.quad L_.str.3
.quad L_.str.251
.quad L_.str.1
.quad L_.str.815
.quad L_.str.1
.quad L_.str.816
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.814
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.813
.quad L_.str.3
.quad L_.str.3
.quad L_.str.3
.quad L_.str.267
.quad L_.str.1
.quad L_.str.747
.quad L_.str.1
.quad L_.str.823
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.824
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.825
.quad L_.str.3
.quad L_.str.761
.quad L_.str.1
.quad L_.str.826
.quad L_.str.3
.quad L_.str.827
.quad L_.str.1
.quad L_.str.828
.quad L_.str.3
.quad L_.str.765
.quad L_.str.1
.quad L_.str.829
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.830
.quad L_.str.3
.quad L_.str.782
.quad L_.str.1
.quad L_.str.826
.quad L_.str.3
.quad L_.str.783
.quad L_.str.1
.quad L_.str.764
.quad L_.str.3
.quad L_.str.3
.quad L_.str.292
.quad L_.str.1
.quad L_.str.831
.quad L_.str.1
.quad L_.str.832
.quad L_.str.3
.quad L_.str.753
.quad L_.str.1
.quad L_.str.833
.quad L_.str.834
.quad L_.str.3
.quad L_.str.751
.quad L_.str.1
.quad L_.str.833
.quad L_.str.835
.quad L_.str.3
.quad L_.str.776
.quad L_.str.1
.quad L_.str.836
.quad L_.str.3
.quad L_.str.3
.quad L_.str.837
.quad L_.str.838
.quad L_.str.839
.quad L_.str.840
.quad L_.str.841
.quad L_.str.842
.quad L_.str.843
.quad L_.str.844
.quad L_.str.845
.quad L_.str.846
.quad L_.str.847
.quad L_.str.848
.quad L_.str.849
.quad L_.str.850
.quad L_.str.851
.quad L_.str.852
.quad L_.str.853
.quad L_.str.854
.quad L_.str.855
.quad L_.str.1
.quad L_.str.856
.quad L_.str.3
.quad L_.str.3
.quad 0
.subsections_via_symbols
| the_stack_data/702080.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putstr ; -- Begin function ft_putstr
.p2align 2
_ft_putstr: ; @ft_putstr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x1, [sp, #8]
mov w0, #1
mov x2, #1
bl _write
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putstr ## -- Begin function ft_putstr
.p2align 4, 0x90
_ft_putstr: ## @ft_putstr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rsi
movl $1, %edi
movl $1, %edx
callq _write
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB0_1
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/159514766.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scramble ; -- Begin function scramble
.p2align 2
_scramble: ; @scramble
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #24]
str x1, [sp, #16]
add x0, sp, #32
str x0, [sp] ; 8-byte Folded Spill
mov w1, #0
mov x2, #104
bl _memset
ldr x0, [sp] ; 8-byte Folded Reload
ldr x1, [sp, #24]
bl _increaseFor
ldr x0, [sp] ; 8-byte Folded Reload
ldr x1, [sp, #16]
bl _decreaseFor
ldr x0, [sp] ; 8-byte Folded Reload
bl _noneNegative
str w0, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _increaseFor ; -- Begin function increaseFor
.p2align 2
_increaseFor: ; @increaseFor
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldr x0, [sp, #16]
bl _strlen
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
; kill: def $x8 killed $w8
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #4]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #3]
ldur x8, [x29, #-8]
ldrsb w9, [sp, #3]
subs w9, w9, #97
add x9, x8, w9, sxtw #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _decreaseFor ; -- Begin function decreaseFor
.p2align 2
_decreaseFor: ; @decreaseFor
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldr x0, [sp, #16]
bl _strlen
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
; kill: def $x8 killed $w8
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #4]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #3]
ldur x8, [x29, #-8]
ldrsb w9, [sp, #3]
subs w9, w9, #97
add x9, x8, w9, sxtw #2
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _noneNegative ; -- Begin function noneNegative
.p2align 2
_noneNegative: ; @noneNegative
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #26
cset w8, hs
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ge
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, #12]
add w8, w8, #1
str w8, [sp, #12]
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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scramble ## -- Begin function scramble
.p2align 4, 0x90
_scramble: ## @scramble
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -120(%rbp)
movq %rsi, -128(%rbp)
leaq -112(%rbp), %rdi
xorl %esi, %esi
movl $104, %edx
callq _memset
leaq -112(%rbp), %rdi
movq -120(%rbp), %rsi
callq _increaseFor
leaq -112(%rbp), %rdi
movq -128(%rbp), %rsi
callq _decreaseFor
leaq -112(%rbp), %rdi
callq _noneNegative
movb %al, -129(%rbp) ## 1-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
movb -129(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $144, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _increaseFor ## -- Begin function increaseFor
.p2align 4, 0x90
_increaseFor: ## @increaseFor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq _strlen
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
## kill: def $rax killed $eax
cmpq -24(%rbp), %rax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
movq -8(%rbp), %rax
movsbl -29(%rbp), %ecx
subl $97, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _decreaseFor ## -- Begin function decreaseFor
.p2align 4, 0x90
_decreaseFor: ## @decreaseFor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq _strlen
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
## kill: def $rax killed $eax
cmpq -24(%rbp), %rax
jae LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
movq -8(%rbp), %rax
movsbl -29(%rbp), %ecx
subl $97, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
subl $1, %edx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _noneNegative ## -- Begin function noneNegative
.p2align 4, 0x90
_noneNegative: ## @noneNegative
.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)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $26, -20(%rbp)
jae LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpl $0, (%rax,%rcx,4)
jge 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 -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%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
.subsections_via_symbols
| the_stack_data/165766920.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CIntBin ; -- Begin function CIntBin
.p2align 2
_CIntBin: ; @CIntBin
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9]
b LBB0_3
LBB0_2:
ldr w8, [sp, #4]
mov w9, #2
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
ldr x10, [sp, #8]
str w8, [x10]
ldr x8, [sp, #8]
subs x0, x8, #4
str x0, [sp, #8]
ldr w8, [sp, #4]
sdiv w1, w8, w9
bl _CIntBin
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _CFloatBin ; -- Begin function CFloatBin
.p2align 2
_CFloatBin: ; @CFloatBin
.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 s0, [x29, #-12]
ldur s0, [x29, #-12]
fmov s1, #1.00000000
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur s0, [x29, #-12]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_2:
ldur s0, [x29, #-12]
fmov s1, #2.00000000
fmul s0, s0, s1
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
fmov s1, #1.00000000
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9]
b LBB1_8
LBB1_4:
ldur s0, [x29, #-12]
fmov s1, #1.00000000
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9]
ldur x8, [x29, #-8]
add x0, x8, #4
mov x8, x0
stur x8, [x29, #-8]
ldur s0, [x29, #-12]
fmov s1, #1.00000000
fsub s0, s0, s1
bl _CFloatBin
b LBB1_7
LBB1_6:
ldur x8, [x29, #-8]
str wzr, [x8]
ldur x8, [x29, #-8]
add x0, x8, #4
mov x8, x0
stur x8, [x29, #-8]
ldur s0, [x29, #-12]
bl _CFloatBin
b LBB1_7
LBB1_7:
b LBB1_8
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _CDec ; -- Begin function CDec
.p2align 2
_CDec: ; @CDec
.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 s0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
ldr s0, [x8]
scvtf s0, s0
ldr s1, [sp, #12]
fmul s0, s0, s1
stur s0, [x29, #-4]
b LBB2_3
LBB2_2:
ldr x8, [sp, #16]
ldr s0, [x8]
scvtf s0, s0
str s0, [sp, #4] ; 4-byte Folded Spill
ldr s0, [sp, #12]
str s0, [sp] ; 4-byte Folded Spill
ldr x8, [sp, #16]
add x0, x8, #4
mov x8, x0
str x8, [sp, #16]
ldr s0, [sp, #12]
fmov s1, #2.00000000
fdiv s0, s0, s1
ldr w8, [sp, #8]
subs w1, w8, #1
str w1, [sp, #8]
bl _CDec
ldr s1, [sp] ; 4-byte Folded Reload
fmov s2, s0
ldr s0, [sp, #4] ; 4-byte Folded Reload
fmadd s0, s0, s1, s2
stur s0, [x29, #-4]
b LBB2_3
LBB2_3:
ldur s0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _revBin ; -- Begin function revBin
.p2align 2
_revBin: ; @revBin
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
b LBB3_3
LBB3_2:
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #8]
add x0, x8, #4
mov x8, x0
str x8, [sp, #8]
ldr w8, [sp, #4]
subs w1, w8, #1
str w1, [sp, #4]
bl _revBin
b LBB3_3
LBB3_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _harfAdder ; -- Begin function harfAdder
.p2align 2
_harfAdder: ; @harfAdder
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str x2, [sp, #24]
str x3, [sp, #16]
ldr x8, [sp, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp, #32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB4_2
LBB4_2:
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w8, w8, #0x1
ldr x9, [sp, #16]
str w8, [x9]
ldr x8, [sp, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
ldr x8, [sp, #32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4:
ldr x8, [sp, #16]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_5
LBB4_5:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w8, w8, #0x1
ldr x9, [sp, #24]
str w8, [x9]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _fullAdder ; -- Begin function fullAdder
.p2align 2
_fullAdder: ; @fullAdder
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
str x3, [sp, #32]
ldur x8, [x29, #-8]
ldr w8, [x8]
add x2, sp, #28
str x2, [sp, #8] ; 8-byte Folded Spill
str w8, [sp, #28]
ldur x8, [x29, #-16]
ldr w8, [x8]
add x3, sp, #24
str w8, [sp, #24]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
bl _harfAdder
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur x1, [x29, #-24]
ldr x2, [sp, #32]
ldur x3, [x29, #-24]
bl _harfAdder
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
mov w9, #1
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldur x8, [x29, #-24]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB5_2
LBB5_2:
ldr w8, [sp, #20] ; 4-byte Folded Reload
and w8, w8, #0x1
ldur x9, [x29, #-24]
str w8, [x9]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _adder ; -- Begin function adder
.p2align 2
_adder: ; @adder
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
str w3, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_1
LBB6_1:
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB6_3:
b LBB6_5
LBB6_4:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
ldur x3, [x29, #-8]
bl _fullAdder
ldur x8, [x29, #-8]
subs x0, x8, #4
stur x0, [x29, #-8]
ldr x8, [sp, #16]
subs x1, x8, #4
str x1, [sp, #16]
ldr x2, [sp, #8]
ldr w8, [sp, #4]
subs w3, w8, #1
str w3, [sp, #4]
bl _adder
b LBB6_5
LBB6_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _initArray ; -- Begin function initArray
.p2align 2
_initArray: ; @initArray
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
b LBB7_3
LBB7_2:
ldr x8, [sp, #8]
str wzr, [x8]
ldr x8, [sp, #8]
add x0, x8, #4
mov x8, x0
str x8, [sp, #8]
ldr w8, [sp, #4]
subs w1, w8, #1
str w1, [sp, #4]
bl _initArray
b LBB7_3
LBB7_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _dispArray ; -- Begin function dispArray
.p2align 2
_dispArray: ; @dispArray
.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, #0
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB8_3
LBB8_2:
ldur x8, [x29, #-8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
add x0, x8, #4
mov x8, x0
stur x8, [x29, #-8]
ldur w8, [x29, #-12]
subs w1, w8, #1
stur w1, [x29, #-12]
bl _dispArray
b LBB8_3
LBB8_3:
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, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #108]
mov w8, #49
str w8, [sp, #104]
sub x0, x29, #56
str x0, [sp, #72] ; 8-byte Folded Spill
mov w1, #8
str w1, [sp, #68] ; 4-byte Folded Spill
bl _initArray
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr w1, [sp, #104]
add x0, x8, #28
bl _CIntBin
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w1, [sp, #68] ; 4-byte Folded Reload
ldr x0, [sp, #72] ; 8-byte Folded Reload
bl _dispArray
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldr w1, [sp, #68] ; 4-byte Folded Reload
mov w8, #-69
str w8, [sp, #104]
add x8, sp, #100
str x8, [sp, #56] ; 8-byte Folded Spill
str wzr, [sp, #100]
bl _initArray
ldr w1, [sp, #68] ; 4-byte Folded Reload
sub x0, x29, #88
str x0, [sp, #48] ; 8-byte Folded Spill
bl _initArray
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr w10, [sp, #104]
mov w9, #-1
mul w1, w9, w10
add x0, x8, #28
bl _CIntBin
ldr x8, [sp, #48] ; 8-byte Folded Reload
add x0, x8, #28
mov w1, #1
bl _CIntBin
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldr w1, [sp, #68] ; 4-byte Folded Reload
bl _revBin
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x2, [sp, #56] ; 8-byte Folded Reload
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr w3, [sp, #68] ; 4-byte Folded Reload
add x0, x9, #28
add x1, x8, #28
bl _adder
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr w1, [sp, #68] ; 4-byte Folded Reload
ldr x0, [sp, #72] ; 8-byte Folded Reload
bl _dispArray
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldr w1, [sp, #68] ; 4-byte Folded Reload
fmov s0, #0.81250000
str s0, [sp, #96]
bl _initArray
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldr s0, [sp, #96]
bl _CFloatBin
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr w1, [sp, #68] ; 4-byte Folded Reload
ldr x0, [sp, #72] ; 8-byte Folded Reload
bl _dispArray
adrp x9, l___const.main.tmpBin@PAGE
add x9, x9, l___const.main.tmpBin@PAGEOFF
ldr q0, [x9]
sub x8, x29, #128
str x8, [sp, #80] ; 8-byte Folded Spill
stur q0, [x29, #-128]
ldur q0, [x9, #12]
stur q0, [x8, #12]
mov w8, #3
str w8, [sp, #92]
mov w8, #7
str w8, [sp, #88]
ldr w8, [sp, #92]
subs w8, w8, #1
scvtf d1, w8
fmov d0, #2.00000000
bl _pow
ldr x0, [sp, #80] ; 8-byte Folded Reload
fcvt s0, d0
ldr w1, [sp, #88]
bl _CDec
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
adrp x9, l___const.main.signedBin@PAGE
add x9, x9, l___const.main.signedBin@PAGEOFF
ldr q0, [x9]
add x8, sp, #144
str q0, [sp, #144]
ldur q0, [x9, #12]
stur q0, [x8, #12]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur w8, [x29, #-128]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
mov w8, #7
str w8, [sp, #88]
ldr w8, [sp, #88]
subs w8, w8, #1
scvtf d1, w8
fmov d0, #2.00000000
bl _pow
fcvt s0, d0
ldr w1, [sp, #88]
add x0, sp, #144
bl _CDec
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB9_3
LBB9_2:
mov w8, #7
str w8, [sp, #88]
add x8, sp, #100
str x8, [sp, #32] ; 8-byte Folded Spill
str wzr, [sp, #100]
ldr w1, [sp, #88]
sub x0, x29, #88
str x0, [sp, #24] ; 8-byte Folded Spill
bl _initArray
ldr w1, [sp, #88]
add x0, sp, #144
str x0, [sp, #40] ; 8-byte Folded Spill
bl _revBin
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w9, [sp, #88]
mov w1, #1
subs w9, w9, #1
add x0, x8, w9, sxtw #2
bl _CIntBin
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w10, [sp, #88]
subs w10, w10, #1
add x0, x9, w10, sxtw #2
ldr w9, [sp, #88]
subs w9, w9, #1
add x1, x8, w9, sxtw #2
ldr w3, [sp, #88]
bl _adder
ldr w8, [sp, #88]
subs w8, w8, #1
scvtf d1, w8
fmov d0, #2.00000000
bl _pow
ldr x0, [sp, #40] ; 8-byte Folded Reload
fcvt s0, d0
ldr w1, [sp, #88]
bl _CDec
fmov s1, s0
fmov s0, #-1.00000000
fmul s0, s0, s1
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 LBB9_3
LBB9_3:
adrp x9, l___const.main.unsignedBin@PAGE
add x9, x9, l___const.main.unsignedBin@PAGEOFF
ldr q0, [x9]
add x8, sp, #112
str x8, [sp, #16] ; 8-byte Folded Spill
str q0, [sp, #112]
ldur q0, [x9, #12]
stur q0, [x8, #12]
mov w8, #7
str w8, [sp, #88]
ldr w8, [sp, #88]
subs w8, w8, #1
scvtf d1, w8
fmov d0, #2.00000000
bl _pow
ldr x0, [sp, #16] ; 8-byte Folded Reload
fcvt s0, d0
ldr w1, [sp, #88]
bl _CDec
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
bl ___stack_chk_fail
LBB9_5:
mov w0, #0
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x28, x27, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #320
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error at 'CFloatBin'!! target is %.2f > 1.0\n"
l_.str.1: ; @.str.1
.asciz "Error at 'adder'!! Overflow!!\n"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "1.) 49 is "
l_.str.5: ; @.str.5
.asciz "2.) -69 is "
l_.str.6: ; @.str.6
.asciz "3.) 0.8125 is 0."
.section __TEXT,__const
.p2align 2 ; @__const.main.tmpBin
l___const.main.tmpBin:
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.7: ; @.str.7
.asciz "4.) 101.1001 is %f\n"
.section __TEXT,__const
.p2align 2 ; @__const.main.signedBin
l___const.main.signedBin:
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.8: ; @.str.8
.asciz "5.) signed 1101001 is "
l_.str.9: ; @.str.9
.asciz "%f\n"
l_.str.10: ; @.str.10
.asciz "%.0f\n"
.section __TEXT,__const
.p2align 2 ; @__const.main.unsignedBin
l___const.main.unsignedBin:
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.11: ; @.str.11
.asciz "6.) unsigned 1101001 is %.0f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CIntBin ## -- Begin function CIntBin
.p2align 4, 0x90
_CIntBin: ## @CIntBin
.cfi_startproc
## %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)
cmpl $1, -12(%rbp)
jne LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movl $1, (%rax)
jmp LBB0_3
LBB0_2:
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movq -8(%rbp), %rax
movl %edx, (%rax)
movq -8(%rbp), %rdi
addq $-4, %rdi
movq %rdi, -8(%rbp)
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %esi
callq _CIntBin
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function CFloatBin
LCPI1_0:
.long 0x3f800000 ## float 1
LCPI1_1:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _CFloatBin
.p2align 4, 0x90
_CFloatBin: ## @CFloatBin
.cfi_startproc
## %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)
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jb LBB1_2
## %bb.1:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $1, %edi
callq _exit
LBB1_2:
movss LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jne LBB1_4
jp LBB1_4
## %bb.3:
movq -8(%rbp), %rax
movl $1, (%rax)
jmp LBB1_8
LBB1_4:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB1_6
## %bb.5:
movq -8(%rbp), %rax
movl $1, (%rax)
movq -8(%rbp), %rdi
addq $4, %rdi
movq %rdi, -8(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
callq _CFloatBin
jmp LBB1_7
LBB1_6:
movq -8(%rbp), %rax
movl $0, (%rax)
movq -8(%rbp), %rdi
addq $4, %rdi
movq %rdi, -8(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _CFloatBin
LBB1_7:
jmp LBB1_8
LBB1_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function CDec
LCPI2_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _CDec
.p2align 4, 0x90
_CDec: ## @CDec
.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)
movss %xmm0, -20(%rbp)
movl %esi, -24(%rbp)
cmpl $1, -24(%rbp)
jne LBB2_2
## %bb.1:
movq -16(%rbp), %rax
cvtsi2ssl (%rax), %xmm0
mulss -20(%rbp), %xmm0
movss %xmm0, -4(%rbp)
jmp LBB2_3
LBB2_2:
movq -16(%rbp), %rax
cvtsi2ssl (%rax), %xmm0
movss %xmm0, -28(%rbp) ## 4-byte Spill
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -32(%rbp) ## 4-byte Spill
movq -16(%rbp), %rdi
addq $4, %rdi
movq %rdi, -16(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movl -24(%rbp), %esi
addl $-1, %esi
movl %esi, -24(%rbp)
callq _CDec
movss -32(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movaps %xmm0, %xmm1
movss -28(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -4(%rbp)
LBB2_3:
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _revBin ## -- Begin function revBin
.p2align 4, 0x90
_revBin: ## @revBin
.cfi_startproc
## %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)
cmpl $0, -12(%rbp)
jne LBB3_2
## %bb.1:
jmp LBB3_3
LBB3_2:
movq -8(%rbp), %rax
cmpl $0, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rdi
addq $4, %rdi
movq %rdi, -8(%rbp)
movl -12(%rbp), %esi
addl $-1, %esi
movl %esi, -12(%rbp)
callq _revBin
LBB3_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _harfAdder ## -- Begin function harfAdder
.p2align 4, 0x90
_harfAdder: ## @harfAdder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -8(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, (%rcx)
movb %al, -33(%rbp) ## 1-byte Spill
je LBB4_2
## %bb.1:
movq -16(%rbp), %rax
cmpl $0, (%rax)
setne %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB4_2:
movb -33(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rax
cmpl $0, (%rax)
jne LBB4_4
## %bb.3:
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, (%rcx)
movb %al, -34(%rbp) ## 1-byte Spill
je LBB4_5
LBB4_4:
movq -32(%rbp), %rax
cmpl $0, (%rax)
setne %al
xorb $-1, %al
movb %al, -34(%rbp) ## 1-byte Spill
LBB4_5:
movb -34(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fullAdder ## -- Begin function fullAdder
.p2align 4, 0x90
_fullAdder: ## @fullAdder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -40(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
leaq -36(%rbp), %rdx
leaq -40(%rbp), %rcx
callq _harfAdder
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movq -24(%rbp), %rcx
leaq -36(%rbp), %rdi
callq _harfAdder
movb $1, %al
cmpl $0, -40(%rbp)
movb %al, -41(%rbp) ## 1-byte Spill
jne LBB5_2
## %bb.1:
movq -24(%rbp), %rax
cmpl $0, (%rax)
setne %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB5_2:
movb -41(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adder ## -- Begin function adder
.p2align 4, 0x90
_adder: ## @adder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
cmpl $0, -28(%rbp)
jne LBB6_4
## %bb.1:
movq -24(%rbp), %rax
cmpl $1, (%rax)
jne LBB6_3
## %bb.2:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB6_3:
jmp LBB6_5
LBB6_4:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movq -8(%rbp), %rcx
callq _fullAdder
movq -8(%rbp), %rdi
addq $-4, %rdi
movq %rdi, -8(%rbp)
movq -16(%rbp), %rsi
addq $-4, %rsi
movq %rsi, -16(%rbp)
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
addl $-1, %ecx
movl %ecx, -28(%rbp)
callq _adder
LBB6_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _initArray ## -- Begin function initArray
.p2align 4, 0x90
_initArray: ## @initArray
.cfi_startproc
## %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)
cmpl $0, -12(%rbp)
jne LBB7_2
## %bb.1:
jmp LBB7_3
LBB7_2:
movq -8(%rbp), %rax
movl $0, (%rax)
movq -8(%rbp), %rdi
addq $4, %rdi
movq %rdi, -8(%rbp)
movl -12(%rbp), %esi
addl $-1, %esi
movl %esi, -12(%rbp)
callq _initArray
LBB7_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dispArray ## -- Begin function dispArray
.p2align 4, 0x90
_dispArray: ## @dispArray
.cfi_startproc
## %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)
cmpl $0, -12(%rbp)
jne LBB8_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB8_3
LBB8_2:
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
addq $4, %rdi
movq %rdi, -8(%rbp)
movl -12(%rbp), %esi
addl $-1, %esi
movl %esi, -12(%rbp)
callq _dispArray
LBB8_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI9_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI9_1:
.long 0x3f500000 ## float 0.8125
LCPI9_2:
.long 0xbf800000 ## float -1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $240, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -180(%rbp)
movl $49, -184(%rbp)
leaq -48(%rbp), %rdi
movl $8, %esi
callq _initArray
leaq -48(%rbp), %rdi
addq $28, %rdi
movl -184(%rbp), %esi
callq _CIntBin
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
movl $8, %esi
callq _dispArray
movl $-69, -184(%rbp)
movl $0, -188(%rbp)
leaq -48(%rbp), %rdi
movl $8, %esi
callq _initArray
leaq -80(%rbp), %rdi
movl $8, %esi
callq _initArray
leaq -48(%rbp), %rdi
addq $28, %rdi
imull $4294967295, -184(%rbp), %esi ## imm = 0xFFFFFFFF
callq _CIntBin
leaq -80(%rbp), %rdi
addq $28, %rdi
movl $1, %esi
callq _CIntBin
leaq -48(%rbp), %rdi
movl $8, %esi
callq _revBin
leaq -48(%rbp), %rdi
addq $28, %rdi
leaq -80(%rbp), %rsi
addq $28, %rsi
leaq -188(%rbp), %rdx
movl $8, %ecx
callq _adder
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
movl $8, %esi
callq _dispArray
movss LCPI9_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -192(%rbp)
leaq -48(%rbp), %rdi
movl $8, %esi
callq _initArray
leaq -48(%rbp), %rdi
movss -192(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _CFloatBin
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
movl $8, %esi
callq _dispArray
movq l___const.main.tmpBin(%rip), %rax
movq %rax, -112(%rbp)
movq l___const.main.tmpBin+8(%rip), %rax
movq %rax, -104(%rbp)
movq l___const.main.tmpBin+16(%rip), %rax
movq %rax, -96(%rbp)
movl l___const.main.tmpBin+24(%rip), %eax
movl %eax, -88(%rbp)
movl $3, -196(%rbp)
movl $7, -200(%rbp)
leaq -112(%rbp), %rax
movq %rax, -208(%rbp) ## 8-byte Spill
movl -196(%rbp), %eax
subl $1, %eax
cvtsi2sd %eax, %xmm1
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
movq -208(%rbp), %rdi ## 8-byte Reload
cvtsd2ss %xmm0, %xmm0
movl -200(%rbp), %esi
callq _CDec
cvtss2sd %xmm0, %xmm0
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
movq l___const.main.signedBin(%rip), %rax
movq %rax, -144(%rbp)
movq l___const.main.signedBin+8(%rip), %rax
movq %rax, -136(%rbp)
movq l___const.main.signedBin+16(%rip), %rax
movq %rax, -128(%rbp)
movl l___const.main.signedBin+24(%rip), %eax
movl %eax, -120(%rbp)
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
cmpl $0, -112(%rbp)
jne LBB9_2
## %bb.1:
movl $7, -200(%rbp)
leaq -144(%rbp), %rax
movq %rax, -216(%rbp) ## 8-byte Spill
movl -200(%rbp), %eax
subl $1, %eax
cvtsi2sd %eax, %xmm1
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
movq -216(%rbp), %rdi ## 8-byte Reload
cvtsd2ss %xmm0, %xmm0
movl -200(%rbp), %esi
callq _CDec
cvtss2sd %xmm0, %xmm0
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB9_3
LBB9_2:
movl $7, -200(%rbp)
movl $0, -188(%rbp)
leaq -80(%rbp), %rdi
movl -200(%rbp), %esi
callq _initArray
leaq -144(%rbp), %rdi
movl -200(%rbp), %esi
callq _revBin
movl -200(%rbp), %eax
subl $1, %eax
cltq
leaq -80(%rbp), %rdi
shlq $2, %rax
addq %rax, %rdi
movl $1, %esi
callq _CIntBin
movl -200(%rbp), %eax
subl $1, %eax
cltq
leaq -144(%rbp), %rdi
shlq $2, %rax
addq %rax, %rdi
movl -200(%rbp), %eax
subl $1, %eax
cltq
leaq -80(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
movl -200(%rbp), %ecx
leaq -188(%rbp), %rdx
callq _adder
leaq -144(%rbp), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
movl -200(%rbp), %eax
subl $1, %eax
cvtsi2sd %eax, %xmm1
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
movq -224(%rbp), %rdi ## 8-byte Reload
cvtsd2ss %xmm0, %xmm0
movl -200(%rbp), %esi
callq _CDec
movaps %xmm0, %xmm1
movss LCPI9_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.10(%rip), %rdi
movb $1, %al
callq _printf
LBB9_3:
movq l___const.main.unsignedBin(%rip), %rax
movq %rax, -176(%rbp)
movq l___const.main.unsignedBin+8(%rip), %rax
movq %rax, -168(%rbp)
movq l___const.main.unsignedBin+16(%rip), %rax
movq %rax, -160(%rbp)
movl l___const.main.unsignedBin+24(%rip), %eax
movl %eax, -152(%rbp)
movl $7, -200(%rbp)
leaq -176(%rbp), %rax
movq %rax, -232(%rbp) ## 8-byte Spill
movl -200(%rbp), %eax
subl $1, %eax
cvtsi2sd %eax, %xmm1
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
movq -232(%rbp), %rdi ## 8-byte Reload
cvtsd2ss %xmm0, %xmm0
movl -200(%rbp), %esi
callq _CDec
cvtss2sd %xmm0, %xmm0
leaq L_.str.11(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB9_5
## %bb.4:
xorl %eax, %eax
addq $240, %rsp
popq %rbp
retq
LBB9_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error at 'CFloatBin'!! target is %.2f > 1.0\n"
L_.str.1: ## @.str.1
.asciz "Error at 'adder'!! Overflow!!\n"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "1.) 49 is "
L_.str.5: ## @.str.5
.asciz "2.) -69 is "
L_.str.6: ## @.str.6
.asciz "3.) 0.8125 is 0."
.section __TEXT,__const
.p2align 4 ## @__const.main.tmpBin
l___const.main.tmpBin:
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.7: ## @.str.7
.asciz "4.) 101.1001 is %f\n"
.section __TEXT,__const
.p2align 4 ## @__const.main.signedBin
l___const.main.signedBin:
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.8: ## @.str.8
.asciz "5.) signed 1101001 is "
L_.str.9: ## @.str.9
.asciz "%f\n"
L_.str.10: ## @.str.10
.asciz "%.0f\n"
.section __TEXT,__const
.p2align 4 ## @__const.main.unsignedBin
l___const.main.unsignedBin:
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.11: ## @.str.11
.asciz "6.) unsigned 1101001 is %.0f\n"
.subsections_via_symbols
| the_stack_data/1142225.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/231392666.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CheckSigs ; -- Begin function CheckSigs
.p2align 2
_CheckSigs: ; @CheckSigs
.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, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
mov w0, #1
mov x1, #0
sub x2, x29, #20
bl _sigprocmask
ldur w8, [x29, #-20]
stur w8, [x29, #-24] ; 4-byte Folded Spill
mov w8, #30
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldur w9, [x29, #-4]
mov w8, #1
subs w9, w9, #1
lsl w8, w8, w9
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldur w8, [x29, #-24] ; 4-byte Folded Reload
ldr w9, [sp, #28] ; 4-byte Folded Reload
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
b LBB0_5
LBB0_5:
ldur w8, [x29, #-20]
str w8, [sp, #24] ; 4-byte Folded Spill
mov w8, #31
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #32
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov w8, #0
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_8
LBB0_7:
ldur w9, [x29, #-8]
mov w8, #1
subs w9, w9, #1
lsl w8, w8, w9
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_8
LBB0_8:
ldr w8, [sp, #24] ; 4-byte Folded Reload
ldr w9, [sp, #20] ; 4-byte Folded Reload
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
b LBB0_10
LBB0_10:
ldur w8, [x29, #-20]
str w8, [sp, #16] ; 4-byte Folded Spill
mov w8, #15
stur w8, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #32
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_13
LBB0_12:
ldur w9, [x29, #-12]
mov w8, #1
subs w9, w9, #1
lsl w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_13
LBB0_13:
ldr w8, [sp, #16] ; 4-byte Folded Reload
ldr w9, [sp, #12] ; 4-byte Folded Reload
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
b LBB0_15
LBB0_15:
ldur w8, [x29, #-20]
str w8, [sp, #8] ; 4-byte Folded Spill
mov w8, #28
stur w8, [x29, #-16]
ldur w8, [x29, #-16]
subs w8, w8, #32
cset w8, le
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_18
LBB0_17:
ldur w9, [x29, #-16]
mov w8, #1
subs w9, w9, #1
lsl w8, w8, w9
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_18
LBB0_18:
ldr w8, [sp, #8] ; 4-byte Folded Reload
ldr w9, [sp, #4] ; 4-byte Folded Reload
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
b LBB0_20
LBB0_20:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _Handler ; -- Begin function Handler
.p2align 2
_Handler: ; @Handler
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
bl _CheckSigs
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, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
stur x8, [x29, #-40] ; 8-byte Folded Spill
stur wzr, [x29, #-12]
adrp x8, _Handler@PAGE
add x8, x8, _Handler@PAGEOFF
stur x8, [x29, #-32]
stur wzr, [x29, #-20]
stur wzr, [x29, #-24]
mov w8, #15
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, le
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w8, #0
stur w8, [x29, #-44] ; 4-byte Folded Spill
b LBB2_3
LBB2_2:
ldur w9, [x29, #-4]
mov w8, #1
subs w9, w9, #1
lsl w8, w8, w9
stur w8, [x29, #-44] ; 4-byte Folded Spill
b LBB2_3
LBB2_3:
ldur w9, [x29, #-44] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
orr w8, w8, w9
stur w8, [x29, #-24]
stur wzr, [x29, #-16]
mov w8, #30
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #32
cset w8, le
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
mov w8, #0
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB2_6
LBB2_5:
ldur w9, [x29, #-8]
mov w8, #1
subs w9, w9, #1
lsl w8, w8, w9
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB2_6
LBB2_6:
ldr w9, [sp, #48] ; 4-byte Folded Reload
sub x1, x29, #16
ldur w8, [x29, #-16]
orr w8, w8, w9
stur w8, [x29, #-16]
mov w0, #1
mov x2, #0
str x2, [sp, #16] ; 8-byte Folded Spill
bl _sigprocmask
ldr x2, [sp, #16] ; 8-byte Folded Reload
mov w0, #28
str w0, [sp, #28] ; 4-byte Folded Spill
sub x1, x29, #32
str x1, [sp, #8] ; 8-byte Folded Spill
bl _sigaction
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
str x1, [sp, #32] ; 8-byte Folded Spill
bl _fprintf
bl _CheckSigs
ldr w1, [sp, #28] ; 4-byte Folded Reload
mov w0, #0
str w0, [sp, #44] ; 4-byte Folded Spill
bl _kill
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
bl _CheckSigs
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldur w8, [x29, #-20]
orr w8, w8, #0x10
stur w8, [x29, #-20]
bl _sigaction
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr w0, [sp, #44] ; 4-byte Folded Reload
bl _kill
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
bl _CheckSigs
ldr w0, [sp, #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 "usr1 blocked\n"
l_.str.1: ; @.str.1
.asciz "usr2 blocked\n"
l_.str.2: ; @.str.2
.asciz "term blocked\n"
l_.str.3: ; @.str.3
.asciz "winch blocked\n"
l_.str.4: ; @.str.4
.asciz "\n"
l_.str.5: ; @.str.5
.asciz "In handler\n"
l_.str.6: ; @.str.6
.asciz "--------------\n"
l_.str.7: ; @.str.7
.asciz "Before signal1\n"
l_.str.8: ; @.str.8
.asciz "After signal1\n"
l_.str.9: ; @.str.9
.asciz "After signal2\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CheckSigs ## -- Begin function CheckSigs
.p2align 4, 0x90
_CheckSigs: ## @CheckSigs
.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 $1, %edi
xorl %eax, %eax
movl %eax, %esi
leaq -20(%rbp), %rdx
callq _sigprocmask
movl -20(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl $30, -4(%rbp)
cmpl $32, -4(%rbp)
jle LBB0_2
## %bb.1:
xorl %eax, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl -4(%rbp), %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
LBB0_3:
movl -24(%rbp), %eax ## 4-byte Reload
movl -28(%rbp), %ecx ## 4-byte Reload
andl %ecx, %eax
cmpl $0, %eax
je LBB0_5
## %bb.4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_5:
movl -20(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
movl $31, -8(%rbp)
cmpl $32, -8(%rbp)
jle LBB0_7
## %bb.6:
xorl %eax, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB0_8
LBB0_7:
movl -8(%rbp), %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
LBB0_8:
movl -32(%rbp), %eax ## 4-byte Reload
movl -36(%rbp), %ecx ## 4-byte Reload
andl %ecx, %eax
cmpl $0, %eax
je LBB0_10
## %bb.9:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_10:
movl -20(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
movl $15, -12(%rbp)
cmpl $32, -12(%rbp)
jle LBB0_12
## %bb.11:
xorl %eax, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB0_13
LBB0_12:
movl -12(%rbp), %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB0_13:
movl -40(%rbp), %eax ## 4-byte Reload
movl -44(%rbp), %ecx ## 4-byte Reload
andl %ecx, %eax
cmpl $0, %eax
je LBB0_15
## %bb.14:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_15:
movl -20(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl $28, -16(%rbp)
cmpl $32, -16(%rbp)
jle LBB0_17
## %bb.16:
xorl %eax, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB0_18
LBB0_17:
movl -16(%rbp), %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
LBB0_18:
movl -48(%rbp), %eax ## 4-byte Reload
movl -52(%rbp), %ecx ## 4-byte Reload
andl %ecx, %eax
cmpl $0, %eax
je LBB0_20
## %bb.19:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_20:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Handler ## -- Begin function Handler
.p2align 4, 0x90
_Handler: ## @Handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
callq _CheckSigs
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 $48, %rsp
movl $0, -12(%rbp)
leaq _Handler(%rip), %rax
movq %rax, -32(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
movl $15, -4(%rbp)
cmpl $32, -4(%rbp)
jle LBB2_2
## %bb.1:
xorl %eax, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB2_3
LBB2_2:
movl -4(%rbp), %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
LBB2_3:
movl -36(%rbp), %eax ## 4-byte Reload
orl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl $0, -16(%rbp)
movl $30, -8(%rbp)
cmpl $32, -8(%rbp)
jle LBB2_5
## %bb.4:
xorl %eax, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
jmp LBB2_6
LBB2_5:
movl -8(%rbp), %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
LBB2_6:
movl -40(%rbp), %eax ## 4-byte Reload
orl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl $1, %edi
leaq -16(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigprocmask
movl $28, %edi
leaq -32(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigaction
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
callq _CheckSigs
xorl %edi, %edi
movl $28, %esi
callq _kill
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
callq _CheckSigs
movl -20(%rbp), %eax
orl $16, %eax
movl %eax, -20(%rbp)
movl $28, %edi
leaq -32(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigaction
xorl %edi, %edi
movl $28, %esi
callq _kill
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
callq _CheckSigs
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "usr1 blocked\n"
L_.str.1: ## @.str.1
.asciz "usr2 blocked\n"
L_.str.2: ## @.str.2
.asciz "term blocked\n"
L_.str.3: ## @.str.3
.asciz "winch blocked\n"
L_.str.4: ## @.str.4
.asciz "\n"
L_.str.5: ## @.str.5
.asciz "In handler\n"
L_.str.6: ## @.str.6
.asciz "--------------\n"
L_.str.7: ## @.str.7
.asciz "Before signal1\n"
L_.str.8: ## @.str.8
.asciz "After signal1\n"
L_.str.9: ## @.str.9
.asciz "After signal2\n"
.subsections_via_symbols
| the_stack_data/105476.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _global_i@PAGE
ldr w8, [x8, _global_i@PAGEOFF]
add w8, w8, #1
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
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
stur x1, [x29, #-16] ; 8-byte Folded Spill
mov x0, x1
bl _execlp
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x1, [x29, #-16] ; 8-byte Folded Reload
mov x8, sp
adrp x9, l_.str.4@PAGE
add x9, x9, l_.str.4@PAGEOFF
str x9, [x8]
adrp x9, l_.str.5@PAGE
add x9, x9, l_.str.5@PAGEOFF
str x9, [x8, #8]
str xzr, [x8, #16]
mov x0, x1
bl _execl
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x0, [x29, #-16] ; 8-byte Folded Reload
adrp x1, _main.argv@PAGE
add x1, x1, _main.argv@PAGEOFF
bl _execv
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _global_i ; @global_i
.p2align 2
_global_i:
.long 100 ; 0x64
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "foll-exec is about to execlp(execd-prog)...\n"
l_.str.1: ; @.str.1
.asciz "gdb.base/execd-prog"
l_.str.2: ; @.str.2
.asciz "execlp arg1 from foll-exec"
l_.str.3: ; @.str.3
.asciz "foll-exec is about to execl(execd-prog)...\n"
l_.str.4: ; @.str.4
.asciz "execl arg1 from foll-exec"
l_.str.5: ; @.str.5
.asciz "execl arg2 from foll-exec"
.section __DATA,__data
.p2align 3 ; @main.argv
_main.argv:
.quad l_.str.1
.quad l_.str.6
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "execv arg1 from foll-exec"
l_.str.7: ; @.str.7
.asciz "foll-exec is about to execv(execd-prog)...\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 _global_i(%rip), %eax
addl $1, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
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
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rsi
leaq L_.str.4(%rip), %rdx
leaq L_.str.5(%rip), %rcx
xorl %eax, %eax
movl %eax, %r8d
movq %rsi, %rdi
movb $0, %al
callq _execl
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq _main.argv(%rip), %rsi
callq _execv
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _global_i ## @global_i
.p2align 2
_global_i:
.long 100 ## 0x64
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "foll-exec is about to execlp(execd-prog)...\n"
L_.str.1: ## @.str.1
.asciz "gdb.base/execd-prog"
L_.str.2: ## @.str.2
.asciz "execlp arg1 from foll-exec"
L_.str.3: ## @.str.3
.asciz "foll-exec is about to execl(execd-prog)...\n"
L_.str.4: ## @.str.4
.asciz "execl arg1 from foll-exec"
L_.str.5: ## @.str.5
.asciz "execl arg2 from foll-exec"
.section __DATA,__data
.p2align 4 ## @main.argv
_main.argv:
.quad L_.str.1
.quad L_.str.6
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "execv arg1 from foll-exec"
L_.str.7: ## @.str.7
.asciz "foll-exec is about to execv(execd-prog)...\n"
.subsections_via_symbols
| the_stack_data/162644330.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, #1
stur w8, [x29, #-12]
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
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
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]
ldr w10, [sp, #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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #8]
b LBB0_7
LBB0_7: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
mov w8, #1
stur w8, [x29, #-12]
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-12]
ldr w9, [sp, #12]
ldr w10, [sp, #8]
subs w9, w9, w10
add w9, w9, #1
mul w8, w8, w9
ldr w9, [sp, #8]
sdiv w8, w8, w9
stur w8, [x29, #-12]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_7 Depth=2
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_7
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_16:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number of rows: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "%4d"
l_.str.4: ; @.str.4
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $1, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -20(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_16
## %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 -20(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl $0, -24(%rbp)
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jg LBB0_14
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
cmpl $0, -24(%rbp)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
cmpl $0, -20(%rbp)
jne LBB0_11
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
movl $1, -12(%rbp)
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movl -12(%rbp), %eax
movl -20(%rbp), %ecx
subl -24(%rbp), %ecx
addl $1, %ecx
imull %ecx, %eax
cltd
idivl -24(%rbp)
movl %eax, -12(%rbp)
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
movl -12(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.13: ## in Loop: Header=BB0_7 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_7
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_16:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number of rows: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "%4d"
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| the_stack_data/122330.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 exnum
lCPI0_0:
.quad 0x412e848000000000 ; double 1.0E+6
lCPI0_1:
.quad 0x408f400000000000 ; double 1000
lCPI0_2:
.quad 0x3f50624dd2f1a9fc ; double 0.001
.section __TEXT,__text,regular,pure_instructions
.globl _exnum
.p2align 2
_exnum: ; @exnum
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
str x8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsb w0, [x8]
bl _isdigit
subs w8, w0, #0
cset w8, ne
mov w9, #1
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #46
cset w8, eq
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB0_1
LBB0_6:
ldr x8, [sp, #16]
ldrsb w8, [x8]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #77
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #107
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #109
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_12
LBB0_9:
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [sp, #8]
b LBB0_13
LBB0_10:
adrp x8, lCPI0_1@PAGE
ldr d0, [x8, lCPI0_1@PAGEOFF]
str d0, [sp, #8]
b LBB0_13
LBB0_11:
adrp x8, lCPI0_2@PAGE
ldr d0, [x8, lCPI0_2@PAGEOFF]
str d0, [sp, #8]
b LBB0_13
LBB0_12:
fmov d0, #1.00000000
str d0, [sp, #8]
b LBB0_13
LBB0_13:
ldr x8, [sp, #16]
strb wzr, [x8]
ldur x0, [x29, #-8]
bl _atof
ldr d1, [sp, #8]
fmul d0, d0, d1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _solve ; -- Begin function solve
.p2align 2
_solve: ; @solve
.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, #1104
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #96
str x0, [sp, #24] ; 8-byte Folded Spill
mov w1, #1000
bl _fgets
ldr x8, [sp, #24] ; 8-byte Folded Reload
str wzr, [sp, #52]
str x8, [sp, #56]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #52]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #56]
ldrsb w8, [x8]
subs w8, w8, #61
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #56]
add x8, x8, #1
str x8, [sp, #56]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #56]
subs x8, x8, #1
ldrb w8, [x8]
ldrsw x10, [sp, #52]
add x9, sp, #64
str x9, [sp, #16] ; 8-byte Folded Spill
add x9, x9, x10, lsl #4
strb w8, [x9]
ldr x8, [sp, #56]
add x0, x8, #1
mov x8, x0
str x8, [sp, #56]
bl _exnum
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [sp, #52]
add x8, x8, x9, lsl #4
str d0, [x8, #8]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB1_1
LBB1_8:
ldrsb w8, [sp, #64]
ldrsb w9, [sp, #80]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldr q0, [sp, #64]
str q0, [sp, #32]
ldr q0, [sp, #80]
str q0, [sp, #64]
ldr q0, [sp, #32]
str q0, [sp, #80]
b LBB1_10
LBB1_10:
ldrsb w8, [sp, #64]
subs w8, w8, #73
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_11
LBB1_11:
ldrsb w8, [sp, #80]
subs w8, w8, #80
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
ldr d0, [sp, #88]
ldr d1, [sp, #72]
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_13
LBB1_13:
ldrsb w8, [sp, #64]
subs w8, w8, #73
cset w8, ne
tbnz w8, #0, LBB1_16
b LBB1_14
LBB1_14:
ldrsb w8, [sp, #80]
subs w8, w8, #85
cset w8, ne
tbnz w8, #0, LBB1_16
b LBB1_15
LBB1_15:
ldr d0, [sp, #72]
ldr d1, [sp, #88]
fmul d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_16
LBB1_16:
ldrsb w8, [sp, #64]
subs w8, w8, #80
cset w8, ne
tbnz w8, #0, LBB1_19
b LBB1_17
LBB1_17:
ldrsb w8, [sp, #80]
subs w8, w8, #85
cset w8, ne
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
ldr d0, [sp, #72]
ldr d1, [sp, #88]
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_19
LBB1_19:
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_21
b LBB1_20
LBB1_20:
bl ___stack_chk_fail
LBB1_21:
add sp, sp, #1104
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:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
bl _getchar
mov w8, #1
stur w8, [x29, #-12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
bl _solve
mov w0, #10
bl _putchar
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB2_1
LBB2_4:
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 "U=%.2lfV\n"
l_.str.1: ; @.str.1
.asciz "P=%.2lfW\n"
l_.str.2: ; @.str.2
.asciz "I=%.2lfA\n"
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Problem #%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function exnum
LCPI0_0:
.quad 0x3f50624dd2f1a9fc ## double 0.001
LCPI0_1:
.quad 0x408f400000000000 ## double 1000
LCPI0_2:
.quad 0x412e848000000000 ## double 1.0E+6
LCPI0_3:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _exnum
.p2align 4, 0x90
_exnum: ## @exnum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _isdigit
movl %eax, %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $46, %eax
sete %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_6:
movq -16(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
subl $77, %eax
je LBB0_7
jmp LBB0_12
LBB0_12:
movl -32(%rbp), %eax ## 4-byte Reload
subl $107, %eax
je LBB0_8
jmp LBB0_13
LBB0_13:
movl -32(%rbp), %eax ## 4-byte Reload
subl $109, %eax
je LBB0_9
jmp LBB0_10
LBB0_7:
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
jmp LBB0_11
LBB0_8:
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
jmp LBB0_11
LBB0_9:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
jmp LBB0_11
LBB0_10:
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
LBB0_11:
movq -16(%rbp), %rax
movb $0, (%rax)
movq -8(%rbp), %rdi
callq _atof
mulsd -24(%rbp), %xmm0
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solve ## -- Begin function solve
.p2align 4, 0x90
_solve: ## @solve
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1072, %rsp ## imm = 0x430
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -1008(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $1000, %esi ## imm = 0x3E8
callq _fgets
movl $0, -1052(%rbp)
leaq -1008(%rbp), %rax
movq %rax, -1048(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpl $2, -1052(%rbp)
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_3
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -1048(%rbp), %rax
movsbl (%rax), %eax
cmpl $61, %eax
je LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_3 Depth=2
movq -1048(%rbp), %rax
addq $1, %rax
movq %rax, -1048(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movq -1048(%rbp), %rax
movb -1(%rax), %cl
movslq -1052(%rbp), %rdx
leaq -1040(%rbp), %rax
shlq $4, %rdx
addq %rdx, %rax
movb %cl, (%rax)
movq -1048(%rbp), %rdi
addq $1, %rdi
movq %rdi, -1048(%rbp)
callq _exnum
movslq -1052(%rbp), %rcx
leaq -1040(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movsd %xmm0, 8(%rax)
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movl -1052(%rbp), %eax
addl $1, %eax
movl %eax, -1052(%rbp)
jmp LBB1_1
LBB1_8:
movsbl -1040(%rbp), %eax
movsbl -1024(%rbp), %ecx
cmpl %ecx, %eax
jle LBB1_10
## %bb.9:
movq -1040(%rbp), %rax
movq %rax, -1072(%rbp)
movq -1032(%rbp), %rax
movq %rax, -1064(%rbp)
movq -1024(%rbp), %rax
movq %rax, -1040(%rbp)
movq -1016(%rbp), %rax
movq %rax, -1032(%rbp)
movq -1072(%rbp), %rax
movq %rax, -1024(%rbp)
movq -1064(%rbp), %rax
movq %rax, -1016(%rbp)
LBB1_10:
movsbl -1040(%rbp), %eax
cmpl $73, %eax
jne LBB1_13
## %bb.11:
movsbl -1024(%rbp), %eax
cmpl $80, %eax
jne LBB1_13
## %bb.12:
movsd -1016(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -1032(%rbp), %xmm0
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
LBB1_13:
movsbl -1040(%rbp), %eax
cmpl $73, %eax
jne LBB1_16
## %bb.14:
movsbl -1024(%rbp), %eax
cmpl $85, %eax
jne LBB1_16
## %bb.15:
movsd -1032(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -1016(%rbp), %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
LBB1_16:
movsbl -1040(%rbp), %eax
cmpl $80, %eax
jne LBB1_19
## %bb.17:
movsbl -1024(%rbp), %eax
cmpl $85, %eax
jne LBB1_19
## %bb.18:
movsd -1032(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd -1016(%rbp), %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
LBB1_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_21
## %bb.20:
addq $1072, %rsp ## imm = 0x430
popq %rbp
retq
LBB1_21:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str.3(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
callq _getchar
movl $1, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
callq _solve
movl $10, %edi
callq _putchar
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_4:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "U=%.2lfV\n"
L_.str.1: ## @.str.1
.asciz "P=%.2lfW\n"
L_.str.2: ## @.str.2
.asciz "I=%.2lfA\n"
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Problem #%d\n"
.subsections_via_symbols
| the_stack_data/9513724.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 "Testing...\n ..1\n...2\n....3\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $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 "Testing...\n ..1\n...2\n....3\n"
.subsections_via_symbols
| the_stack_data/1137478.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CountUniqueCharacters ; -- Begin function CountUniqueCharacters
.p2align 2
_CountUniqueCharacters: ; @CountUniqueCharacters
.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 wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldrsw x8, [sp, #16]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #16]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_10:
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_13
LBB0_12:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_13
LBB0_13:
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, #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]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #24
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 _scanf
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _CountUniqueCharacters
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_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
mov w0, #0
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 "Non unique"
l_.str.1: ; @.str.1
.asciz "Unique"
l_.str.2: ; @.str.2
.asciz "Enter your name: "
l_.str.3: ; @.str.3
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CountUniqueCharacters ## -- Begin function CountUniqueCharacters
.p2align 4, 0x90
_CountUniqueCharacters: ## @CountUniqueCharacters
.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, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movslq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -8(%rbp), %rcx
movslq -16(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_10:
cmpl $1, -12(%rbp)
jne LBB0_12
## %bb.11:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_13
LBB0_12:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_13:
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 $432, %rsp ## imm = 0x1B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -416(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
leaq -416(%rbp), %rdi
callq _CountUniqueCharacters
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $432, %rsp ## imm = 0x1B0
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Non unique"
L_.str.1: ## @.str.1
.asciz "Unique"
L_.str.2: ## @.str.2
.asciz "Enter your name: "
L_.str.3: ## @.str.3
.asciz "%s"
.subsections_via_symbols
| the_stack_data/992500.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-12]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #20
str x8, [x9, #8]
sub x8, x29, #24
str x8, [x9, #16]
sub x8, x29, #28
str x8, [x9, #24]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov x9, sp
sub x8, x29, #32
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
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: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
mov x9, sp
sub x8, x29, #36
str x8, [x9]
add x8, sp, #40
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur w8, [x29, #-36]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-36]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #40]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #40]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-32]
subs w8, w8, #1
stur w8, [x29, #-32]
b LBB0_3
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_12:
ldur w0, [x29, #-4]
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 "%d"
l_.str.1: ; @.str.1
.asciz "%d %d %d %d"
l_.str.2: ; @.str.2
.asciz "Case %d:\n"
l_.str.3: ; @.str.3
.asciz "%d %d"
l_.str.4: ; @.str.4
.asciz "Yes\n"
l_.str.5: ; @.str.5
.asciz "No\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $1, -12(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -20(%rbp), %rdx
leaq -24(%rbp), %rcx
leaq -28(%rbp), %r8
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -32(%rbp), %rsi
movb $0, %al
callq _scanf
movl -12(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -32(%rbp)
je LBB0_11
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.3(%rip), %rdi
leaq -36(%rbp), %rsi
leaq -40(%rbp), %rdx
movb $0, %al
callq _scanf
movl -36(%rbp), %eax
cmpl -16(%rbp), %eax
jl LBB0_9
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -36(%rbp), %eax
cmpl -24(%rbp), %eax
jg LBB0_9
## %bb.6: ## in Loop: Header=BB0_3 Depth=2
movl -40(%rbp), %eax
cmpl -20(%rbp), %eax
jl LBB0_9
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
movl -40(%rbp), %eax
cmpl -28(%rbp), %eax
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_10: ## in Loop: Header=BB0_3 Depth=2
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
jmp LBB0_3
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_12:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d %d %d"
L_.str.2: ## @.str.2
.asciz "Case %d:\n"
L_.str.3: ## @.str.3
.asciz "%d %d"
L_.str.4: ## @.str.4
.asciz "Yes\n"
L_.str.5: ## @.str.5
.asciz "No\n"
.subsections_via_symbols
| the_stack_data/148421.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #2
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #500
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
str wzr, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
ldur w10, [x29, #-4]
mul w8, w8, w10
ldur w10, [x29, #-4]
mul w10, w8, w10
ldr w8, [sp, #16]
add w8, w8, w10
str w8, [sp, #16]
ldur w8, [x29, #-12]
sdiv w8, w8, w9
stur w8, [x29, #-12]
b LBB0_3
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_9:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
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\t"
l_.str.1: ; @.str.1
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $2, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $500, -8(%rbp) ## imm = 0x1F4
jg LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -12(%rbp)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -4(%rbp)
movl -4(%rbp), %eax
imull -4(%rbp), %eax
imull -4(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_9:
leaq L_.str.1(%rip), %rdi
callq _puts
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\t"
L_.str.1: ## @.str.1
.space 1
.subsections_via_symbols
| the_stack_data/40190.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/41218.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mystrlen ; -- Begin function mystrlen
.p2align 2
_mystrlen: ; @mystrlen
.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]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_1
LBB0_3:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _mystrcmp ; -- Begin function mystrcmp
.p2align 2
_mystrcmp: ; @mystrcmp
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB1_1
LBB1_6:
ldr x8, [sp, #24]
ldrsb w8, [x8]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w0, w8, w9
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _mystrcpy ; -- Begin function mystrcpy
.p2align 2
_mystrcpy: ; @mystrcpy
.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 LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
strb w8, [x9]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB2_1
LBB2_3:
ldr x0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _mystrcat ; -- Begin function mystrcat
.p2align 2
_mystrcat: ; @mystrcat
.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 LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB3_1
LBB3_3:
b LBB3_4
LBB3_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_4 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
strb w8, [x9]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_4
LBB3_6:
ldr x8, [sp, #24]
strb wzr, [x8]
ldr x0, [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, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
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
mov x9, sp
add x8, sp, #114
str x8, [sp, #40] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _mystrlen
ldr x10, [sp, #40] ; 8-byte Folded Reload
str w0, [sp, #56]
ldr w9, [sp, #56]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #64
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
bl _scanf
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _mystrlen
ldr x10, [sp, #40] ; 8-byte Folded Reload
str w0, [sp, #56]
ldr w9, [sp, #56]
; 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
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _mystrcmp
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov x9, sp
add x8, sp, #114
str x8, [x9]
add x8, sp, #64
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB4_6
LBB4_2:
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
mov x9, sp
add x8, sp, #64
str x8, [x9]
add x8, sp, #114
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB4_5
LBB4_4:
mov x9, sp
add x8, sp, #114
str x8, [x9]
add x8, sp, #64
str x8, [x9, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB4_5
LBB4_5:
b LBB4_6
LBB4_6:
sub x0, x29, #124
str x0, [sp, #16] ; 8-byte Folded Spill
add x1, sp, #114
bl _mystrcpy
ldr x0, [sp, #16] ; 8-byte Folded Reload
add x1, sp, #64
bl _mystrcat
ldr x8, [sp, #16] ; 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
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_8
b LBB4_7
LBB4_7:
bl ___stack_chk_fail
LBB4_8:
mov w0, #0
ldp x29, x30, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #304
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter your first name: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Your firstname (%s) id %d characters long\n"
l_.str.3: ; @.str.3
.asciz "Enter your last name: "
l_.str.4: ; @.str.4
.asciz "Your lastname (%s) id %d characters long\n"
l_.str.5: ; @.str.5
.asciz "Your firstname (%s) is greater than your lastname (%s)\n"
l_.str.6: ; @.str.6
.asciz "Your lastname (%s) is greater than your firstname (%s)\n"
l_.str.7: ; @.str.7
.asciz "Wow! your firstname (%s) and lastname (%s) are the same\n"
l_.str.8: ; @.str.8
.asciz "Your fullname is %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mystrlen ## -- Begin function mystrlen
.p2align 4, 0x90
_mystrlen: ## @mystrlen
.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
movsbl (%rax), %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)
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mystrcmp ## -- Begin function mystrcmp
.p2align 4, 0x90
_mystrcmp: ## @mystrcmp
.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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %eax
movq -16(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
sete %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_6
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB1_1
LBB1_6:
movq -8(%rbp), %rax
movsbl (%rax), %eax
movq -16(%rbp), %rcx
movsbl (%rcx), %ecx
subl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mystrcpy ## -- Begin function mystrcpy
.p2align 4, 0x90
_mystrcpy: ## @mystrcpy
.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)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpb $0, (%rax)
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movb (%rax), %cl
movq -8(%rbp), %rax
movb %cl, (%rax)
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB2_1
LBB2_3:
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mystrcat ## -- Begin function mystrcat
.p2align 4, 0x90
_mystrcat: ## @mystrcat
.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)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB3_1
LBB3_3:
jmp LBB3_4
LBB3_4: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpb $0, (%rax)
je LBB3_6
## %bb.5: ## in Loop: Header=BB3_4 Depth=1
movq -16(%rbp), %rax
movb (%rax), %cl
movq -8(%rbp), %rax
movb %cl, (%rax)
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB3_4
LBB3_6:
movq -8(%rbp), %rax
movb $0, (%rax)
movq -24(%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 $256, %rsp ## imm = 0x100
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -244(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -176(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -176(%rbp), %rdi
callq _mystrlen
movl %eax, -248(%rbp)
leaq -176(%rbp), %rsi
movl -248(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq -240(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -240(%rbp), %rdi
callq _mystrlen
movl %eax, -248(%rbp)
leaq -176(%rbp), %rsi
movl -248(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq -176(%rbp), %rdi
leaq -240(%rbp), %rsi
callq _mystrcmp
movl %eax, -252(%rbp)
cmpl $0, -252(%rbp)
jle LBB4_2
## %bb.1:
leaq -176(%rbp), %rsi
leaq -240(%rbp), %rdx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_6
LBB4_2:
cmpl $0, -252(%rbp)
jge LBB4_4
## %bb.3:
leaq -240(%rbp), %rsi
leaq -176(%rbp), %rdx
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_5
LBB4_4:
leaq -176(%rbp), %rsi
leaq -240(%rbp), %rdx
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB4_5:
jmp LBB4_6
LBB4_6:
leaq -112(%rbp), %rdi
leaq -176(%rbp), %rsi
callq _mystrcpy
leaq -112(%rbp), %rdi
leaq -240(%rbp), %rsi
callq _mystrcat
leaq -112(%rbp), %rsi
leaq L_.str.8(%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 LBB4_8
## %bb.7:
xorl %eax, %eax
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB4_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter your first name: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Your firstname (%s) id %d characters long\n"
L_.str.3: ## @.str.3
.asciz "Enter your last name: "
L_.str.4: ## @.str.4
.asciz "Your lastname (%s) id %d characters long\n"
L_.str.5: ## @.str.5
.asciz "Your firstname (%s) is greater than your lastname (%s)\n"
L_.str.6: ## @.str.6
.asciz "Your lastname (%s) is greater than your firstname (%s)\n"
L_.str.7: ## @.str.7
.asciz "Wow! your firstname (%s) and lastname (%s) are the same\n"
L_.str.8: ## @.str.8
.asciz "Your fullname is %s\n"
.subsections_via_symbols
| the_stack_data/107925.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/87390.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]
sub x0, x29, #16
str x0, [sp, #24] ; 8-byte Folded Spill
bl _time
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _localtime
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
ldr w8, [x8, #20]
add w12, w8, #1900
ldur x8, [x29, #-24]
ldr w8, [x8, #16]
add w8, w8, #1
mov w10, #12
sdiv w9, w8, w10
mul w9, w9, w10
subs w11, w8, w9
ldur x8, [x29, #-24]
ldr w9, [x8, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x12
str x10, [x9]
; implicit-def: $x10
mov x10, x11
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x0, [x29, #-24]
bl _asctime
mov x8, sp
str x0, [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\n"
l_.str.1: ; @.str.1
.asciz "Asc time = %s "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq -16(%rbp), %rdi
callq _time
leaq -16(%rbp), %rdi
callq _localtime
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movl 20(%rax), %esi
addl $1900, %esi ## imm = 0x76C
movq -24(%rbp), %rax
movl 16(%rax), %eax
addl $1, %eax
movl $12, %ecx
cltd
idivl %ecx
movq -24(%rbp), %rax
movl 12(%rax), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _asctime
movq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d-%d-%d\n"
L_.str.1: ## @.str.1
.asciz "Asc time = %s "
.subsections_via_symbols
| the_stack_data/36916.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_line ; -- Begin function print_line
.p2align 2
_print_line: ; @print_line
.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 _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_line ## -- Begin function print_line
.p2align 4, 0x90
_print_line: ## @print_line
.cfi_startproc
## %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 _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/118869.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _recursive ; -- Begin function recursive
.p2align 2
_recursive: ; @recursive
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
str x3, [sp, #8]
str x4, [sp]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-4]
ldr x9, [sp, #8]
ldr x12, [sp]
ldrsw x10, [x12]
mov x11, x10
add w11, w11, #1
str w11, [x12]
str w8, [x9, x10, lsl #2]
b LBB0_7
LBB0_2:
ldur w8, [x29, #-4]
mov w10, #10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
subs w8, w8, #9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur w8, [x29, #-4]
mov w11, #10
mul w8, w8, w11
ldur w9, [x29, #-4]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
add w8, w8, w9
ldur w9, [x29, #-12]
add w0, w8, w9
ldur w8, [x29, #-8]
subs w1, w8, #1
ldur w2, [x29, #-12]
ldr x3, [sp, #8]
ldr x4, [sp]
bl _recursive
b LBB0_4
LBB0_4:
ldur w8, [x29, #-4]
mov w10, #10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur w8, [x29, #-4]
mov w11, #10
mul w8, w8, w11
ldur w9, [x29, #-4]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
add w8, w8, w9
ldur w9, [x29, #-12]
subs w0, w8, w9
ldur w8, [x29, #-8]
subs w1, w8, #1
ldur w2, [x29, #-12]
ldr x3, [sp, #8]
ldr x4, [sp]
bl _recursive
b LBB0_7
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _numsSameConsecDiff ; -- Begin function numsSameConsecDiff
.p2align 2
_numsSameConsecDiff: ; @numsSameConsecDiff
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-12]
stur w1, [x29, #-16]
str x2, [sp, #24]
mov x0, #8000
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #24]
str wzr, [x8]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB1_7
LBB1_2:
mov w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #9
cset w8, gt
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr w0, [sp, #12]
ldur w8, [x29, #-12]
subs w1, w8, #1
ldur w2, [x29, #-16]
ldr x3, [sp, #16]
ldr x4, [sp, #24]
bl _recursive
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_6:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB1_7
LBB1_7:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _recursive ## -- Begin function recursive
.p2align 4, 0x90
_recursive: ## @recursive
.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)
movq %rcx, -24(%rbp)
movq %r8, -32(%rbp)
cmpl $0, -8(%rbp)
jne LBB0_2
## %bb.1:
movl -4(%rbp), %edx
movq -24(%rbp), %rax
movq -32(%rbp), %rsi
movl (%rsi), %ecx
movl %ecx, %edi
addl $1, %edi
movl %edi, (%rsi)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB0_7
LBB0_2:
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
addl -12(%rbp), %edx
cmpl $9, %edx
jg LBB0_4
## %bb.3:
imull $10, -4(%rbp), %edi
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
addl %edx, %edi
addl -12(%rbp), %edi
movl -8(%rbp), %esi
subl $1, %esi
movl -12(%rbp), %edx
movq -24(%rbp), %rcx
movq -32(%rbp), %r8
callq _recursive
LBB0_4:
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
subl -12(%rbp), %edx
cmpl $0, %edx
jl LBB0_7
## %bb.5:
cmpl $0, -12(%rbp)
jle LBB0_7
## %bb.6:
imull $10, -4(%rbp), %edi
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
addl %edx, %edi
subl -12(%rbp), %edi
movl -8(%rbp), %esi
subl $1, %esi
movl -12(%rbp), %edx
movq -24(%rbp), %rcx
movq -32(%rbp), %r8
callq _recursive
LBB0_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _numsSameConsecDiff ## -- Begin function numsSameConsecDiff
.p2align 4, 0x90
_numsSameConsecDiff: ## @numsSameConsecDiff
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -12(%rbp)
movl %esi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $8000, %edi ## imm = 0x1F40
callq _malloc
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movl $0, (%rax)
cmpl $2, -12(%rbp)
jge LBB1_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB1_7
LBB1_2:
movl $1, -36(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
cmpl $9, -36(%rbp)
jg LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl -36(%rbp), %edi
movl -12(%rbp), %esi
subl $1, %esi
movl -16(%rbp), %edx
movq -32(%rbp), %rcx
movq -24(%rbp), %r8
callq _recursive
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_3
LBB1_6:
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB1_7:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/79412.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, #2112
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
mov x9, sp
add x8, sp, #48
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
subs w9, w8, #1
str w9, [sp, #48]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #1080
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
add x8, sp, #56
str x8, [sp, #40] ; 8-byte Folded Spill
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _strlen
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
add x8, x8, x9
str x8, [sp, #32] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x1, [sp, #40] ; 8-byte Folded Reload
subs x0, x8, x0
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
bl ___stack_chk_fail
LBB0_8:
mov w0, #0
add sp, sp, #2112
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
l_.str.1: ; @.str.1
.asciz "%s %s\n"
l_.str.2: ; @.str.2
.asciz "encaixa\n"
l_.str.3: ; @.str.3
.asciz "nao encaixa\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 $2096, %rsp ## imm = 0x830
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2068(%rbp)
leaq L_.str(%rip), %rdi
leaq -2072(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -2072(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -2072(%rbp)
cmpl $0, %eax
jle LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rsi
leaq -2064(%rbp), %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -1040(%rbp), %rax
movq %rax, -2088(%rbp) ## 8-byte Spill
leaq -1040(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -2088(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
movq %rax, -2080(%rbp) ## 8-byte Spill
leaq -2064(%rbp), %rdi
callq _strlen
movq -2080(%rbp), %rdi ## 8-byte Reload
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
subq %rcx, %rax
addq %rax, %rdi
leaq -2064(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
addq $2096, %rsp ## imm = 0x830
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
L_.str.1: ## @.str.1
.asciz "%s %s\n"
L_.str.2: ## @.str.2
.asciz "encaixa\n"
L_.str.3: ## @.str.3
.asciz "nao encaixa\n"
.subsections_via_symbols
| the_stack_data/6253.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check ; -- Begin function check
.p2align 2
_check: ; @check
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #4
str x8, [sp, #16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
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, #8] ; 8-byte Folded Spill
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
ldr x1, [sp, #8] ; 8-byte Folded Reload
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _fprintf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.check@PAGE
add x0, x0, l___func__.check@PAGEOFF
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov w2, #9
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, eq
and w0, w8, #0x1
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]
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
adds w8, w0, #1
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov w2, #15
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
stur w8, [x29, #-16]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
add w8, w8, w9
add w8, w8, #1
asr w8, w8, #1
stur w8, [x29, #-20]
ldur w0, [x29, #-20]
bl _check
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-20]
stur w8, [x29, #-12]
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #1
stur w8, [x29, #-16]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_9:
ldur w9, [x29, #-12]
; 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
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x1, [sp, #16] ; 8-byte Folded Reload
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _fprintf
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\n"
l_.str.1: ; @.str.1
.asciz "%d"
l___func__.check: ; @__func__.check
.asciz "check"
l_.str.2: ; @.str.2
.asciz "3262743.c"
l_.str.3: ; @.str.3
.asciz "scanf(\"%d\", &x) != EOF"
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.4: ; @.str.4
.asciz "scanf(\"%d\", &n) != EOF"
l_.str.5: ; @.str.5
.asciz "a.cpp: n %d\n"
l_.str.6: ; @.str.6
.asciz "! %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check ## -- Begin function check
.p2align 4, 0x90
_check: ## @check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $-1, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.check(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $9, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
cmpl $1, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $-1, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movl $15, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -8(%rbp), %edx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -12(%rbp)
movl -8(%rbp), %eax
movl %eax, -16(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_9
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
addl -16(%rbp), %eax
addl $1, %eax
sarl $1, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %edi
callq _check
cmpl $0, %eax
je LBB1_7
## %bb.6: ## in Loop: Header=BB1_4 Depth=1
movl -20(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_4 Depth=1
movl -20(%rbp), %eax
subl $1, %eax
movl %eax, -16(%rbp)
LBB1_8: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_9:
movl -12(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -12(%rbp), %edx
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "? %d\n"
L_.str.1: ## @.str.1
.asciz "%d"
L___func__.check: ## @__func__.check
.asciz "check"
L_.str.2: ## @.str.2
.asciz "3262743.c"
L_.str.3: ## @.str.3
.asciz "scanf(\"%d\", &x) != EOF"
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.4: ## @.str.4
.asciz "scanf(\"%d\", &n) != EOF"
L_.str.5: ## @.str.5
.asciz "a.cpp: n %d\n"
L_.str.6: ## @.str.6
.asciz "! %d\n"
.subsections_via_symbols
| the_stack_data/3262743.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, #32] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #24
str x8, [x9]
bl _scanf
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
stur w8, [x29, #-28]
ldur w8, [x29, #-20]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-28]
; 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
ldr w0, [sp, #32] ; 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 "Digite o primeiro numero: "
l_.str.1: ; @.str.1
.asciz "%i"
l_.str.2: ; @.str.2
.asciz "Digite o segundo numero: "
l_.str.3: ; @.str.3
.asciz "%i - %i = %i"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%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 -24(%rbp), %rsi
movb $0, %al
callq _scanf
movl -20(%rbp), %eax
subl -24(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %esi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
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 "Digite o primeiro numero: "
L_.str.1: ## @.str.1
.asciz "%i"
L_.str.2: ## @.str.2
.asciz "Digite o segundo numero: "
L_.str.3: ## @.str.3
.asciz "%i - %i = %i"
.subsections_via_symbols
| the_stack_data/238384.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_data ; -- Begin function get_data
.p2align 2
_get_data: ; @get_data
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #24]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #0
bl _exit
LBB0_2:
ldr x0, [sp, #24]
bl _fgetc
sturb w0, [x29, #-25]
ldr x0, [sp, #24]
bl _fgetc
sturb w0, [x29, #-25]
b LBB0_3
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
b LBB0_4
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [sp, #24]
bl _fgetc
sturb w0, [x29, #-25]
and w8, w0, #0xff
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
b LBB0_4
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [sp, #24]
bl _fgetc
sturb w0, [x29, #-25]
and w8, w0, #0xff
subs w8, w8, #35
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_8
LBB0_8:
ldurb w0, [x29, #-25]
ldr x1, [sp, #24]
bl _ungetc
ldr x0, [sp, #24]
mov x9, sp
sub x8, x29, #20
str x8, [x9]
sub x8, x29, #24
str x8, [x9, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fscanf
ldr x0, [sp, #24]
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fscanf
ldr x0, [sp, #24]
bl _fgetc
ldur w8, [x29, #-20]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; 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
stur wzr, [x29, #-12]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #501
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
stur wzr, [x29, #-16]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #501
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldursw x8, [x29, #-12]
mov x9, #2004
mul x9, x8, x9
adrp x8, _space@GOTPAGE
ldr x8, [x8, _space@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-16]
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_9
LBB0_16:
stur wzr, [x29, #-16]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_27
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
stur wzr, [x29, #-12]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldr x0, [sp, #24]
bl _fgetc
sturb w0, [x29, #-25]
ldur w8, [x29, #-12]
subs w8, w8, #501
cset w8, ge
tbnz w8, #0, LBB0_23
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #501
cset w8, ge
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_19 Depth=2
ldurb w8, [x29, #-25]
ucvtf s0, w8
ldursw x8, [x29, #-12]
mov x9, #2004
mul x9, x8, x9
adrp x8, _space@GOTPAGE
ldr x8, [x8, _space@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-16]
str s0, [x8, x9, lsl #2]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_19 Depth=2
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_19 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_19
LBB0_25: ; in Loop: Header=BB0_17 Depth=1
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_17 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_17
LBB0_27:
ldr x0, [sp, #24]
bl _fclose
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _write_data ; -- Begin function write_data
.p2align 2
_write_data: ; @write_data
.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]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #0
bl _exit
LBB1_2:
ldr x0, [sp, #16]
mov x9, sp
mov x8, #501
str x8, [x9]
str x8, [x9, #8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
stur wzr, [x29, #-16]
b LBB1_3
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_5 Depth 2
ldur w8, [x29, #-16]
subs w8, w8, #501
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
stur wzr, [x29, #-12]
b LBB1_5
LBB1_5: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #501
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=2
ldursw x8, [x29, #-12]
mov x9, #2004
mul x9, x8, x9
adrp x8, _space@GOTPAGE
ldr x8, [x8, _space@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-16]
ldr s0, [x8, x9, lsl #2]
fcvtzu w8, s0
sturb w8, [x29, #-17]
ldurb w0, [x29, #-17]
ldr x1, [sp, #16]
bl _fputc
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_5
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_3
LBB1_10:
ldr x0, [sp, #16]
bl _fclose
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _compute ; -- Begin function compute
.p2align 2
_compute: ; @compute
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _save@GOTPAGE
ldr x8, [x8, _save@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _space@GOTPAGE
ldr x8, [x8, _space@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB2_1
LBB2_1:
mov w8, #1
str w8, [sp, #28]
b LBB2_2
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_4 Depth 2
ldr w8, [sp, #28]
subs w8, w8, #500
cset w8, ge
tbnz w8, #0, LBB2_9
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_2 Depth=1
mov w8, #1
str w8, [sp, #24]
b LBB2_4
LBB2_4: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
subs w8, w8, #500
cset w8, ge
tbnz w8, #0, LBB2_7
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w10, [sp, #28]
subs w11, w10, #1
mov x10, #2004
mov x13, x9
mov w12, #2004
smaddl x11, w11, w12, x13
ldrsw x12, [sp, #24]
ldr s0, [x11, x12, lsl #2]
ldr w11, [sp, #28]
add w11, w11, #1
mov x13, x9
mov w12, #2004
smaddl x11, w11, w12, x13
ldrsw x12, [sp, #24]
ldr s1, [x11, x12, lsl #2]
fadd s0, s0, s1
ldrsw x11, [sp, #28]
mul x12, x11, x10
mov x11, x9
add x11, x11, x12
ldr w12, [sp, #24]
subs w12, w12, #1
ldr s1, [x11, w12, sxtw #2]
fadd s0, s0, s1
ldrsw x11, [sp, #28]
mul x11, x11, x10
add x9, x9, x11
ldr w11, [sp, #24]
add w11, w11, #1
ldr s1, [x9, w11, sxtw #2]
fadd s0, s0, s1
fcvt d1, s0
fmov d0, #0.25000000
fmul d0, d0, d1
fcvt s0, d0
ldrsw x9, [sp, #28]
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #24]
str s0, [x8, x9, lsl #2]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_4 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_4
LBB2_7: ; in Loop: Header=BB2_2 Depth=1
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_2 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_2
LBB2_9:
b LBB2_10
LBB2_10:
mov w8, #1
str w8, [sp, #28]
b LBB2_11
LBB2_11: ; =>This Loop Header: Depth=1
; Child Loop BB2_13 Depth 2
ldr w8, [sp, #28]
subs w8, w8, #500
cset w8, ge
tbnz w8, #0, LBB2_18
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_11 Depth=1
mov w8, #1
str w8, [sp, #24]
b LBB2_13
LBB2_13: ; Parent Loop BB2_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
subs w8, w8, #500
cset w8, ge
tbnz w8, #0, LBB2_16
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_13 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w10, [sp, #28]
subs w11, w10, #1
mov x10, #2004
mov x13, x9
mov w12, #2004
smaddl x11, w11, w12, x13
ldrsw x12, [sp, #24]
ldr s0, [x11, x12, lsl #2]
ldr w11, [sp, #28]
add w11, w11, #1
mov x13, x9
mov w12, #2004
smaddl x11, w11, w12, x13
ldrsw x12, [sp, #24]
ldr s1, [x11, x12, lsl #2]
fadd s0, s0, s1
ldrsw x11, [sp, #28]
mul x12, x11, x10
mov x11, x9
add x11, x11, x12
ldr w12, [sp, #24]
subs w12, w12, #1
ldr s1, [x11, w12, sxtw #2]
fadd s0, s0, s1
ldrsw x11, [sp, #28]
mul x11, x11, x10
add x9, x9, x11
ldr w11, [sp, #24]
add w11, w11, #1
ldr s1, [x9, w11, sxtw #2]
fadd s0, s0, s1
fcvt d1, s0
fmov d0, #0.25000000
fmul d0, d0, d1
fcvt s0, d0
ldrsw x9, [sp, #28]
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #24]
str s0, [x8, x9, lsl #2]
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_13 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_13
LBB2_16: ; in Loop: Header=BB2_11 Depth=1
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_11 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_11
LBB2_18:
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
adrp x8, _save@GOTPAGE
ldr x8, [x8, _save@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
mov x9, #18960
movk x9, #15, lsl #16
add x8, x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
mov w0, #0
bl _exit
LBB3_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _get_data
str wzr, [sp, #24]
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #501
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldrsw x10, [sp, #24]
movi d0, #0000000000000000
str s0, [x9, x10, lsl #2]
ldrsw x9, [sp, #24]
mov x10, #2004
mul x11, x9, x10
mov x9, x8
add x9, x9, x11
str s0, [x9, #2000]
ldrsw x9, [sp, #24]
str s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #24]
mul x9, x9, x10
str s0, [x8, x9]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB3_3
LBB3_6:
stur wzr, [x29, #-20]
b LBB3_7
LBB3_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #400
cset w8, ge
tbnz w8, #0, LBB3_10
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_7 Depth=1
bl _compute
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_7 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB3_7
LBB3_10:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _write_data
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 "r"
l_.str.1: ; @.str.1
.asciz "Error loading file"
l_.str.2: ; @.str.2
.asciz "%d %d\n"
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Input image : x=%d y=%d grey=%d\n"
.comm _space,1004004,2 ; @space
l_.str.5: ; @.str.5
.asciz "w"
l_.str.6: ; @.str.6
.asciz "Error opening file"
l_.str.7: ; @.str.7
.asciz "P5\n%d %d\n255\n"
.comm _save,1004004,2 ; @save
l_.str.8: ; @.str.8
.asciz "%s needs only one argument that is the PGM image input file\n"
l_.str.9: ; @.str.9
.asciz "output.pgm"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_data ## -- Begin function get_data
.p2align 4, 0x90
_get_data: ## @get_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
cmpq $0, %rax
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _perror
xorl %edi, %edi
callq _exit
LBB0_2:
movq -40(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
movq -40(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
jmp LBB0_4
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
movzbl %al, %eax
cmpl $10, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
jmp LBB0_4
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq -40(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
movzbl %al, %eax
cmpl $35, %eax
je LBB0_3
## %bb.8:
movzbl -25(%rbp), %edi
movq -40(%rbp), %rsi
callq _ungetc
movq -40(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
leaq -20(%rbp), %rdx
leaq -24(%rbp), %rcx
movb $0, %al
callq _fscanf
movq -40(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _fscanf
movq -40(%rbp), %rdi
callq _fgetc
movl -20(%rbp), %esi
movl -24(%rbp), %edx
movl -12(%rbp), %ecx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $501, -12(%rbp) ## imm = 0x1F5
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -16(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $501, -16(%rbp) ## imm = 0x1F5
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movslq -12(%rbp), %rcx
movq _space@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -16(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_9
LBB0_16:
movl $0, -16(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movl -16(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_27
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -12(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_25
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq -40(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
cmpl $501, -12(%rbp) ## imm = 0x1F5
jge LBB0_23
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
cmpl $501, -16(%rbp) ## imm = 0x1F5
jge LBB0_23
## %bb.22: ## in Loop: Header=BB0_19 Depth=2
movzbl -25(%rbp), %eax
cvtsi2ss %eax, %xmm0
movslq -12(%rbp), %rcx
movq _space@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -16(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB0_23: ## in Loop: Header=BB0_19 Depth=2
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_19 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_19
LBB0_25: ## in Loop: Header=BB0_17 Depth=1
jmp LBB0_26
LBB0_26: ## in Loop: Header=BB0_17 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_17
LBB0_27:
movq -40(%rbp), %rdi
callq _fclose
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _write_data ## -- Begin function write_data
.p2align 4, 0x90
_write_data: ## @write_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
cmpq $0, %rax
jne LBB1_2
## %bb.1:
leaq L_.str.6(%rip), %rdi
callq _perror
xorl %edi, %edi
callq _exit
LBB1_2:
movq -32(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
movl $501, %ecx ## imm = 0x1F5
movl %ecx, %edx
movb $0, %al
callq _fprintf
movl $0, -16(%rbp)
LBB1_3: ## =>This Loop Header: Depth=1
## Child Loop BB1_5 Depth 2
cmpl $501, -16(%rbp) ## imm = 0x1F5
jge LBB1_10
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl $0, -12(%rbp)
LBB1_5: ## Parent Loop BB1_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $501, -12(%rbp) ## imm = 0x1F5
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=2
movslq -12(%rbp), %rax
imulq $2004, %rax, %rcx ## imm = 0x7D4
movq _space@GOTPCREL(%rip), %rax
addq %rcx, %rax
movslq -16(%rbp), %rcx
cvttss2si (%rax,%rcx,4), %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movzbl -17(%rbp), %edi
movq -32(%rbp), %rsi
callq _fputc
## %bb.7: ## in Loop: Header=BB1_5 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_5
LBB1_8: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_10:
movq -32(%rbp), %rdi
callq _fclose
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function compute
LCPI2_0:
.quad 0x3fd0000000000000 ## double 0.25
.section __TEXT,__text,regular,pure_instructions
.globl _compute
.p2align 4, 0x90
_compute: ## @compute
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## %bb.1:
movl $1, -4(%rbp)
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_4 Depth 2
cmpl $500, -4(%rbp) ## imm = 0x1F4
jge LBB2_9
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movl $1, -8(%rbp)
LBB2_4: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $500, -8(%rbp) ## imm = 0x1F4
jge LBB2_7
## %bb.5: ## in Loop: Header=BB2_4 Depth=2
movl -4(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _space@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -8(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -4(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _space@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -8(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movslq -4(%rbp), %rcx
movq _space@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movl -8(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
addss (%rax,%rcx,4), %xmm0
movslq -4(%rbp), %rcx
movq _space@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movl -8(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
addss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm1
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movslq -4(%rbp), %rcx
movq _save@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -8(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.6: ## in Loop: Header=BB2_4 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB2_4
LBB2_7: ## in Loop: Header=BB2_2 Depth=1
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_2 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB2_2
LBB2_9:
jmp LBB2_10
LBB2_10:
movl $1, -4(%rbp)
LBB2_11: ## =>This Loop Header: Depth=1
## Child Loop BB2_13 Depth 2
cmpl $500, -4(%rbp) ## imm = 0x1F4
jge LBB2_18
## %bb.12: ## in Loop: Header=BB2_11 Depth=1
movl $1, -8(%rbp)
LBB2_13: ## Parent Loop BB2_11 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $500, -8(%rbp) ## imm = 0x1F4
jge LBB2_16
## %bb.14: ## in Loop: Header=BB2_13 Depth=2
movl -4(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _save@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -8(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -4(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _save@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -8(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movslq -4(%rbp), %rcx
movq _save@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movl -8(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
addss (%rax,%rcx,4), %xmm0
movslq -4(%rbp), %rcx
movq _save@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movl -8(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
addss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm1
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movslq -4(%rbp), %rcx
movq _space@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
movslq -8(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.15: ## in Loop: Header=BB2_13 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB2_13
LBB2_16: ## in Loop: Header=BB2_11 Depth=1
jmp LBB2_17
LBB2_17: ## in Loop: Header=BB2_11 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB2_11
LBB2_18:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB3_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
callq _fprintf
movl -28(%rbp), %edi ## 4-byte Reload
callq _exit
LBB3_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _get_data
movl $0, -24(%rbp)
LBB3_3: ## =>This Inner Loop Header: Depth=1
cmpl $501, -24(%rbp) ## imm = 0x1F5
jge LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movslq -24(%rbp), %rcx
movq _save@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movss %xmm0, 1002000(%rax,%rcx,4)
movslq -24(%rbp), %rcx
movq _save@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
xorps %xmm0, %xmm0
movss %xmm0, 2000(%rax)
movslq -24(%rbp), %rcx
movq _save@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
movslq -24(%rbp), %rcx
movq _save@GOTPCREL(%rip), %rax
imulq $2004, %rcx, %rcx ## imm = 0x7D4
addq %rcx, %rax
xorps %xmm0, %xmm0
movss %xmm0, (%rax)
## %bb.5: ## in Loop: Header=BB3_3 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB3_3
LBB3_6:
movl $0, -20(%rbp)
LBB3_7: ## =>This Inner Loop Header: Depth=1
cmpl $400, -20(%rbp) ## imm = 0x190
jge LBB3_10
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
callq _compute
## %bb.9: ## in Loop: Header=BB3_7 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_7
LBB3_10:
leaq L_.str.9(%rip), %rdi
callq _write_data
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L_.str.1: ## @.str.1
.asciz "Error loading file"
L_.str.2: ## @.str.2
.asciz "%d %d\n"
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Input image : x=%d y=%d grey=%d\n"
.comm _space,1004004,4 ## @space
L_.str.5: ## @.str.5
.asciz "w"
L_.str.6: ## @.str.6
.asciz "Error opening file"
L_.str.7: ## @.str.7
.asciz "P5\n%d %d\n255\n"
.comm _save,1004004,4 ## @save
L_.str.8: ## @.str.8
.asciz "%s needs only one argument that is the PGM image input file\n"
L_.str.9: ## @.str.9
.asciz "output.pgm"
.subsections_via_symbols
| the_stack_data/243892660.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #24] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-16]
movi d0, #0000000000000000
stur s0, [x29, #-20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-16]
ldur s1, [x29, #-16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fmov d1, #2.00000000
fdiv d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-20]
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w0, [sp, #24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the mark 1 : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter the mark 2: "
l_.str.3: ; @.str.3
.asciz "Average = %.2f"
.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)
movl $0, -16(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -16(%rbp)
cvtsi2sdl -16(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the mark 1 : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter the mark 2: "
L_.str.3: ## @.str.3
.asciz "Average = %.2f"
.subsections_via_symbols
| the_stack_data/9245.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/62636439.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _primeSuspected@GOTPAGE
ldr x8, [x8, _primeSuspected@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-44]
stur w0, [x29, #-48]
stur x1, [x29, #-56]
ldur w8, [x29, #-48]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
stur wzr, [x29, #-44]
b LBB0_39
LBB0_2:
stur wzr, [x29, #-68]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-68]
ldur w9, [x29, #-48]
subs w9, w9, #1
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, #-56]
ldur w9, [x29, #-68]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
sub x1, x29, #64
mov w2, #10
bl _strtoull
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-68]
str x0, [x8, x9, lsl #3]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
b LBB0_3
LBB0_6:
bl _getpid
stur w0, [x29, #-72]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _remove
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
mov x8, #448
str x8, [x9]
mov w1, #522
bl _open
stur w0, [x29, #-76]
stur wzr, [x29, #-80]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-80]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-72]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
bl _fork
stur w0, [x29, #-72]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-72]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_11
LBB0_11:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-80]
ldr x0, [x8, x9, lsl #3]
bl _isPrime
tbz w0, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-80]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-88]
b LBB0_14
LBB0_13:
stur xzr, [x29, #-88]
b LBB0_14
LBB0_14:
ldur x0, [x29, #-88]
bl _countDigits
stur w0, [x29, #-92]
ldur w8, [x29, #-92]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _malloc
str x0, [sp, #88]
ldr x0, [sp, #88]
ldur x8, [x29, #-88]
mov x9, sp
str x8, [x9]
mov w1, #0
str w1, [sp, #12] ; 4-byte Folded Spill
mov x2, #-1
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #88]
ldursw x9, [x29, #-92]
add x9, x8, x9
mov w8, #10
strb w8, [x9]
ldur w0, [x29, #-76]
ldr x1, [sp, #88]
ldur w8, [x29, #-92]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
bl _write
ldur w0, [x29, #-76]
bl _close
ldr x0, [sp, #88]
bl _free
ldr w0, [sp, #12] ; 4-byte Folded Reload
bl _exit
LBB0_15: ; in Loop: Header=BB0_7 Depth=1
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-80]
add w8, w8, #1
stur w8, [x29, #-80]
b LBB0_7
LBB0_17:
str wzr, [sp, #84]
b LBB0_18
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #84]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=1
mov x0, #0
bl _wait
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=1
ldr w8, [sp, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB0_18
LBB0_21:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
str x0, [sp, #72]
str wzr, [sp, #68]
b LBB0_22
LBB0_22: ; =>This Loop Header: Depth=1
; Child Loop BB0_24 Depth 2
ldr w8, [sp, #68]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_22 Depth=1
mov x0, #8
bl _malloc
str x0, [sp, #56]
mov x0, #1
bl _malloc
str x0, [sp, #48]
str wzr, [sp, #44]
b LBB0_24
LBB0_24: ; Parent Loop BB0_22 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [sp, #48]
ldr x3, [sp, #72]
mov x2, #1
mov x1, x2
bl _fread
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_28
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_24 Depth=2
ldr x8, [sp, #48]
ldrsb w8, [x8]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_22 Depth=1
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_24 Depth=2
ldr x8, [sp, #48]
ldrb w8, [x8]
ldr x9, [sp, #56]
ldrsw x10, [sp, #44]
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_24
LBB0_28: ; in Loop: Header=BB0_22 Depth=1
ldr x0, [sp, #56]
sub x1, x29, #64
mov w2, #10
bl _strtoull
ldrsw x9, [sp, #68]
sub x8, x29, #40
str x0, [x8, x9, lsl #3]
ldr x0, [sp, #56]
bl _free
ldr x0, [sp, #48]
bl _free
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_22 Depth=1
ldr w8, [sp, #68]
add w8, w8, #1
str w8, [sp, #68]
b LBB0_22
LBB0_30:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _remove
str wzr, [sp, #40]
str wzr, [sp, #36]
b LBB0_31
LBB0_31: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_36
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_31 Depth=1
ldrsw x9, [sp, #36]
sub x8, x29, #40
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_31 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_31 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_31 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_31
LBB0_36:
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_38
b LBB0_37
LBB0_37:
sub x0, x29, #40
mov w1, #4
bl _getMax
bl _save
b LBB0_38
LBB0_38:
stur wzr, [x29, #-44]
b LBB0_39
LBB0_39:
ldur w8, [x29, #-44]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_41
b LBB0_40
LBB0_40:
bl ___stack_chk_fail
LBB0_41:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.globl _isPrime ; -- Begin function isPrime
.p2align 2
_isPrime: ; @isPrime
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #2
cset w8, hs
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB1_14
LBB1_2:
ldr x8, [sp, #16]
subs x8, x8, #2
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB1_14
LBB1_4:
ldr x8, [sp, #16]
mov x10, #2
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB1_14
LBB1_6:
mov x8, #3
str x8, [sp, #8]
ldr d0, [sp, #16]
ucvtf d0, d0
fsqrt d0, d0
fcvtzu x8, d0
str x8, [sp]
ldr x8, [sp]
ldr x9, [sp]
mul x8, x8, x9
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB1_14
LBB1_8:
b LBB1_9
LBB1_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB1_14
LBB1_11: ; in Loop: Header=BB1_9 Depth=1
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, ne
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB1_14
LBB1_13: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #8]
add x8, x8, #2
str x8, [sp, #8]
b LBB1_9
LBB1_14:
ldrb w8, [sp, #31]
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _countDigits ; -- Begin function countDigits
.p2align 2
_countDigits: ; @countDigits
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
ldr x8, [sp, #8]
mov x9, #10
udiv x8, x8, x9
str x8, [sp, #8]
b LBB2_1
LBB2_3:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _save ; -- Begin function save
.p2align 2
_save: ; @save
.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]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _puts
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB3_7
LBB3_2:
ldur x0, [x29, #-16]
bl _countDigits
add w9, w0, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _malloc
str x0, [sp, #32]
ldr x0, [sp, #32]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #32]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _countDigits
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x9, x8, w0, sxtw
mov w8, #10
strb w8, [x9]
ldr x8, [sp, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _countDigits
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
ldur x3, [x29, #-24]
mov x1, #1
bl _fwrite
mov x8, x0
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _puts
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB3_7
LBB3_4:
ldur x0, [x29, #-24]
bl _fclose
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _puts
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB3_7
LBB3_6:
ldr x0, [sp, #32]
bl _free
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB3_7
LBB3_7:
ldurb w8, [x29, #-1]
and w0, w8, #0x1
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _getMax ; -- Begin function getMax
.p2align 2
_getMax: ; @getMax
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str xzr, [sp, #8]
str wzr, [sp, #4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_6
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #4]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #4]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
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:
ldr x0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Podaj wiecej parametrow"
.comm _primeSuspected,32,3 ; @primeSuspected
l_.str.1: ; @.str.1
.asciz ".proc.o.tmp.out.tmp"
l_.str.2: ; @.str.2
.asciz "%llu"
l_.str.3: ; @.str.3
.asciz "r"
l_.str.4: ; @.str.4
.asciz "Znalezionych liczb pierwszych: %d\n"
l_.str.5: ; @.str.5
.asciz "output.txt"
l_.str.6: ; @.str.6
.asciz "ar+"
l_.str.7: ; @.str.7
.asciz "fopen ERROR"
l_.str.8: ; @.str.8
.asciz "Write error"
l_.str.9: ; @.str.9
.asciz "Close error!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $176, %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)
cmpl $5, -56(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _puts
movl $0, -52(%rbp)
jmp LBB0_39
LBB0_2:
movl $0, -76(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -76(%rbp), %eax
movl -56(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax
movl -76(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq -72(%rbp), %rsi
movl $10, %edx
callq _strtoull
movq %rax, %rdx
movslq -76(%rbp), %rcx
movq _primeSuspected@GOTPCREL(%rip), %rax
movq %rdx, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB0_3
LBB0_6:
callq _getpid
movl %eax, -80(%rbp)
leaq L_.str.1(%rip), %rdi
callq _remove
leaq L_.str.1(%rip), %rdi
movl $522, %esi ## imm = 0x20A
movl $448, %edx ## imm = 0x1C0
movb $0, %al
callq _open
movl %eax, -84(%rbp)
movl $0, -88(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpl $4, -88(%rbp)
jge LBB0_17
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
cmpl $0, -80(%rbp)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
callq _fork
movl %eax, -80(%rbp)
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
cmpl $0, -80(%rbp)
jne LBB0_15
## %bb.11:
movslq -88(%rbp), %rcx
movq _primeSuspected@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rdi
callq _isPrime
testb $1, %al
jne LBB0_12
jmp LBB0_13
LBB0_12:
movslq -88(%rbp), %rcx
movq _primeSuspected@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -96(%rbp)
jmp LBB0_14
LBB0_13:
movq $0, -96(%rbp)
LBB0_14:
movq -96(%rbp), %rdi
callq _countDigits
movl %eax, -100(%rbp)
movl -100(%rbp), %eax
incl %eax
movslq %eax, %rdi
callq _malloc
movq %rax, -112(%rbp)
movq -112(%rbp), %rdi
movq -96(%rbp), %r8
leaq L_.str.2(%rip), %rcx
xorl %esi, %esi
movl %esi, -168(%rbp) ## 4-byte Spill
movb %sil, %al
movq $-1, %rdx
callq ___sprintf_chk
movq -112(%rbp), %rax
movslq -100(%rbp), %rcx
movb $10, (%rax,%rcx)
movl -84(%rbp), %edi
movq -112(%rbp), %rsi
movl -100(%rbp), %eax
incl %eax
movslq %eax, %rdx
callq _write
movl -84(%rbp), %edi
callq _close
movq -112(%rbp), %rdi
callq _free
movl -168(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB0_7
LBB0_17:
movl $0, -116(%rbp)
LBB0_18: ## =>This Inner Loop Header: Depth=1
cmpl $4, -116(%rbp)
jge LBB0_21
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
xorl %eax, %eax
movl %eax, %edi
callq _wait
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_18
LBB0_21:
leaq L_.str.1(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, -128(%rbp)
movl $0, -132(%rbp)
LBB0_22: ## =>This Loop Header: Depth=1
## Child Loop BB0_24 Depth 2
cmpl $4, -132(%rbp)
jge LBB0_30
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
movl $8, %edi
callq _malloc
movq %rax, -144(%rbp)
movl $1, %edi
callq _malloc
movq %rax, -152(%rbp)
movl $0, -156(%rbp)
LBB0_24: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movq -152(%rbp), %rdi
movq -128(%rbp), %rcx
movl $1, %edx
movq %rdx, %rsi
callq _fread
cmpq $0, %rax
je LBB0_28
## %bb.25: ## in Loop: Header=BB0_24 Depth=2
movq -152(%rbp), %rax
movsbl (%rax), %eax
cmpl $10, %eax
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_22 Depth=1
jmp LBB0_28
LBB0_27: ## in Loop: Header=BB0_24 Depth=2
movq -152(%rbp), %rax
movb (%rax), %dl
movq -144(%rbp), %rax
movslq -156(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%rbp)
jmp LBB0_24
LBB0_28: ## in Loop: Header=BB0_22 Depth=1
movq -144(%rbp), %rdi
leaq -72(%rbp), %rsi
movl $10, %edx
callq _strtoull
movq %rax, %rcx
movslq -132(%rbp), %rax
movq %rcx, -48(%rbp,%rax,8)
movq -144(%rbp), %rdi
callq _free
movq -152(%rbp), %rdi
callq _free
## %bb.29: ## in Loop: Header=BB0_22 Depth=1
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB0_22
LBB0_30:
leaq L_.str.1(%rip), %rdi
callq _remove
movl $0, -160(%rbp)
movl $0, -164(%rbp)
LBB0_31: ## =>This Inner Loop Header: Depth=1
cmpl $4, -164(%rbp)
jge LBB0_36
## %bb.32: ## in Loop: Header=BB0_31 Depth=1
movslq -164(%rbp), %rax
cmpq $0, -48(%rbp,%rax,8)
jbe LBB0_34
## %bb.33: ## in Loop: Header=BB0_31 Depth=1
movl -160(%rbp), %eax
addl $1, %eax
movl %eax, -160(%rbp)
LBB0_34: ## in Loop: Header=BB0_31 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_31 Depth=1
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_31
LBB0_36:
movl -160(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
cmpl $0, -160(%rbp)
jle LBB0_38
## %bb.37:
leaq -48(%rbp), %rdi
movl $4, %esi
callq _getMax
movq %rax, %rdi
callq _save
LBB0_38:
movl $0, -52(%rbp)
LBB0_39:
movl -52(%rbp), %eax
movl %eax, -172(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_41
## %bb.40:
movl -172(%rbp), %eax ## 4-byte Reload
addq $176, %rsp
popq %rbp
retq
LBB0_41:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function isPrime
LCPI1_0:
.quad 6881500230622117888 ## 0x5f80000000000000
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI1_1:
.long 0x5f000000 ## float 9.22337203E+18
.section __TEXT,__text,regular,pure_instructions
.globl _isPrime
.p2align 4, 0x90
_isPrime: ## @isPrime
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
cmpq $2, -16(%rbp)
jae LBB1_2
## %bb.1:
movb $0, -1(%rbp)
jmp LBB1_14
LBB1_2:
cmpq $2, -16(%rbp)
jne LBB1_4
## %bb.3:
movb $1, -1(%rbp)
jmp LBB1_14
LBB1_4:
movq -16(%rbp), %rax
andq $1, %rax
cmpq $0, %rax
jne LBB1_6
## %bb.5:
movb $0, -1(%rbp)
jmp LBB1_14
LBB1_6:
movq $3, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -48(%rbp)
testq %rax, %rax
sets %al
movzbl %al, %eax
movl %eax, %ecx
fildll -48(%rbp)
leaq LCPI1_0(%rip), %rax
flds (%rax,%rcx,4)
faddp %st, %st(1)
fsqrt
flds LCPI1_1(%rip)
fxch %st(1)
fucomi %st(1), %st
fldz
fcmovnb %st(2), %st
fstp %st(2)
fsubp %st, %st(1)
fisttpll -40(%rbp)
setae %al
movzbl %al, %eax
movl %eax, %ecx
shlq $63, %rcx
movq -40(%rbp), %rax
xorq %rcx, %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
imulq -32(%rbp), %rax
cmpq -16(%rbp), %rax
jne LBB1_8
## %bb.7:
movb $0, -1(%rbp)
jmp LBB1_14
LBB1_8:
jmp LBB1_9
LBB1_9: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq -32(%rbp), %rax
jbe LBB1_11
## %bb.10:
movb $1, -1(%rbp)
jmp LBB1_14
LBB1_11: ## in Loop: Header=BB1_9 Depth=1
movq -16(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq -24(%rbp)
cmpq $0, %rdx
jne LBB1_13
## %bb.12:
movb $0, -1(%rbp)
jmp LBB1_14
LBB1_13: ## in Loop: Header=BB1_9 Depth=1
movq -24(%rbp), %rax
addq $2, %rax
movq %rax, -24(%rbp)
jmp LBB1_9
LBB1_14:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _countDigits ## -- Begin function countDigits
.p2align 4, 0x90
_countDigits: ## @countDigits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
jbe LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl $10, %ecx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq %rax, -8(%rbp)
jmp LBB2_1
LBB2_3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _save ## -- Begin function save
.p2align 4, 0x90
_save: ## @save
.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)
leaq L_.str.5(%rip), %rdi
leaq L_.str.6(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB3_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _puts
movb $0, -1(%rbp)
jmp LBB3_7
LBB3_2:
movq -16(%rbp), %rdi
callq _countDigits
addl $1, %eax
movslq %eax, %rdi
callq _malloc
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movq -16(%rbp), %r8
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.2(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -32(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _countDigits
movl %eax, %ecx
movq -56(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movb $10, (%rax,%rcx)
movq -32(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _countDigits
movq -48(%rbp), %rdi ## 8-byte Reload
addl $1, %eax
movslq %eax, %rdx
movq -24(%rbp), %rcx
movl $1, %esi
callq _fwrite
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
jg LBB3_4
## %bb.3:
leaq L_.str.8(%rip), %rdi
callq _puts
movb $0, -1(%rbp)
jmp LBB3_7
LBB3_4:
movq -24(%rbp), %rdi
callq _fclose
cmpl $0, %eax
je LBB3_6
## %bb.5:
leaq L_.str.9(%rip), %rdi
callq _puts
movb $0, -1(%rbp)
jmp LBB3_7
LBB3_6:
movq -32(%rbp), %rdi
callq _free
movb $1, -1(%rbp)
LBB3_7:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getMax ## -- Begin function getMax
.p2align 4, 0x90
_getMax: ## @getMax
.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)
movl $0, -28(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB4_6
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -24(%rbp), %rax
jbe LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_5
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB4_1
LBB4_6:
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Podaj wiecej parametrow"
.comm _primeSuspected,32,4 ## @primeSuspected
L_.str.1: ## @.str.1
.asciz ".proc.o.tmp.out.tmp"
L_.str.2: ## @.str.2
.asciz "%llu"
L_.str.3: ## @.str.3
.asciz "r"
L_.str.4: ## @.str.4
.asciz "Znalezionych liczb pierwszych: %d\n"
L_.str.5: ## @.str.5
.asciz "output.txt"
L_.str.6: ## @.str.6
.asciz "ar+"
L_.str.7: ## @.str.7
.asciz "fopen ERROR"
L_.str.8: ## @.str.8
.asciz "Write error"
L_.str.9: ## @.str.9
.asciz "Close error!"
.subsections_via_symbols
| the_stack_data/76404.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check ; -- Begin function check
.p2align 2
_check: ; @check
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str w2, [sp, #20]
str w3, [sp, #16]
str w4, [sp, #12]
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
ldr w9, [sp, #28]
ldr w10, [sp, #24]
subs w9, w9, w10
mul w8, w8, w9
ldr w9, [sp, #20]
ldr w10, [sp, #16]
subs w9, w9, w10
ldr w10, [sp, #20]
ldr w11, [sp, #16]
subs w10, w10, w11
mul w9, w9, w10
add w8, w8, w9
ldr w9, [sp, #12]
ldr w10, [sp, #12]
mul w9, w9, w10
subs w8, w8, w9
cset w8, lt
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_15
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #36]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #20
str x8, [x9, #8]
sub x8, x29, #24
str x8, [x9, #16]
sub x8, x29, #28
str x8, [x9, #24]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov x9, sp
sub x8, x29, #32
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #48]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #48]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
mov x9, sp
sub x8, x29, #36
str x8, [x9]
sub x8, x29, #40
str x8, [x9, #8]
sub x8, x29, #44
str x8, [x9, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur w0, [x29, #-36]
ldur w1, [x29, #-16]
ldur w2, [x29, #-40]
ldur w3, [x29, #-20]
ldur w4, [x29, #-44]
bl _check
str w0, [sp, #44]
ldur w0, [x29, #-36]
ldur w1, [x29, #-24]
ldur w2, [x29, #-40]
ldur w3, [x29, #-28]
ldur w4, [x29, #-44]
bl _check
str w0, [sp, #40]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=2
b LBB1_12
LBB1_7: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_3 Depth=2
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_3 Depth=2
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB1_3
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_15:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d %d %d"
l_.str.2: ; @.str.2
.asciz "%d %d %d"
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 _check ## -- Begin function check
.p2align 4, 0x90
_check: ## @check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl %r8d, -20(%rbp)
movl -4(%rbp), %eax
subl -8(%rbp), %eax
movl -4(%rbp), %ecx
subl -8(%rbp), %ecx
imull %ecx, %eax
movl -12(%rbp), %ecx
subl -16(%rbp), %ecx
movl -12(%rbp), %edx
subl -16(%rbp), %edx
imull %edx, %ecx
addl %ecx, %eax
movl -20(%rbp), %ecx
imull -20(%rbp), %ecx
cmpl %ecx, %eax
setl %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -12(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_15
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -60(%rbp)
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -20(%rbp), %rdx
leaq -24(%rbp), %rcx
leaq -28(%rbp), %r8
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -32(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -48(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB1_13
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
leaq L_.str.2(%rip), %rdi
leaq -36(%rbp), %rsi
leaq -40(%rbp), %rdx
leaq -44(%rbp), %rcx
movb $0, %al
callq _scanf
movl -36(%rbp), %edi
movl -16(%rbp), %esi
movl -40(%rbp), %edx
movl -20(%rbp), %ecx
movl -44(%rbp), %r8d
callq _check
movl %eax, -52(%rbp)
movl -36(%rbp), %edi
movl -24(%rbp), %esi
movl -40(%rbp), %edx
movl -28(%rbp), %ecx
movl -44(%rbp), %r8d
callq _check
movl %eax, -56(%rbp)
cmpl $0, -52(%rbp)
je LBB1_7
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
cmpl $0, -56(%rbp)
je LBB1_7
## %bb.6: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_12
LBB1_7: ## in Loop: Header=BB1_3 Depth=2
cmpl $0, -52(%rbp)
jne LBB1_9
## %bb.8: ## in Loop: Header=BB1_3 Depth=2
cmpl $0, -56(%rbp)
je LBB1_10
LBB1_9: ## in Loop: Header=BB1_3 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
LBB1_10: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_11
LBB1_11: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_3 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB1_3
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
movl -60(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.14: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_15:
xorl %eax, %eax
addq $64, %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 %d"
L_.str.2: ## @.str.2
.asciz "%d %d %d"
L_.str.3: ## @.str.3
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/154826758.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _alloc_or_die_slave ; -- Begin function alloc_or_die_slave
.p2align 2
_alloc_or_die_slave: ; @alloc_or_die_slave
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #16
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl _abort
LBB0_2:
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _alloc_or_die_master ; -- Begin function alloc_or_die_master
.p2align 2
_alloc_or_die_master: ; @alloc_or_die_master
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #24
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl _abort
LBB1_2:
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x8, [sp, #8]
str xzr, [x8, #16]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _dll_insert_slave ; -- Begin function dll_insert_slave
.p2align 2
_dll_insert_slave: ; @dll_insert_slave
.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]
bl _alloc_or_die_slave
str x0, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
b LBB2_2
LBB2_2:
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _dll_create_generic ; -- Begin function dll_create_generic
.p2align 2
_dll_create_generic: ; @dll_create_generic
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
add x0, sp, #16
str x0, [sp, #8] ; 8-byte Folded Spill
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
ldur x8, [x29, #-8]
blr x8
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
blr x8
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
bl ___VERIFIER_nondet_int
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-8]
add x0, sp, #16
blr x8
b LBB3_1
LBB3_3:
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _dll_create_slave ; -- Begin function dll_create_slave
.p2align 2
_dll_create_slave: ; @dll_create_slave
.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, _dll_insert_slave@PAGE
add x0, x0, _dll_insert_slave@PAGEOFF
bl _dll_create_generic
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _dll_destroy_slave ; -- Begin function dll_destroy_slave
.p2align 2
_dll_destroy_slave: ; @dll_destroy_slave
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp]
ldr x0, [sp, #8]
bl _free
ldr x8, [sp]
str x8, [sp, #8]
b LBB5_1
LBB5_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _dll_destroy_nested_lists ; -- Begin function dll_destroy_nested_lists
.p2align 2
_dll_destroy_nested_lists: ; @dll_destroy_nested_lists
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _dll_destroy_slave
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #8]
b LBB6_1
LBB6_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _dll_reinit_nested_lists ; -- Begin function dll_reinit_nested_lists
.p2align 2
_dll_reinit_nested_lists: ; @dll_reinit_nested_lists
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #8]
b LBB7_1
LBB7_3:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _dll_destroy_master ; -- Begin function dll_destroy_master
.p2align 2
_dll_destroy_master: ; @dll_destroy_master
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_3
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp]
ldr x0, [sp, #8]
bl _free
ldr x8, [sp]
str x8, [sp, #8]
b LBB8_1
LBB8_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _dll_insert_master ; -- Begin function dll_insert_master
.p2align 2
_dll_insert_master: ; @dll_insert_master
.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]
bl _alloc_or_die_master
str x0, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
b LBB9_2
LBB9_2:
bl _dll_create_slave
ldr x8, [sp, #16]
str x0, [x8, #16]
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _dll_create_master ; -- Begin function dll_create_master
.p2align 2
_dll_create_master: ; @dll_create_master
.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, _dll_insert_master@PAGE
add x0, x0, _dll_insert_master@PAGEOFF
bl _dll_create_generic
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _inspect_base ; -- Begin function inspect_base
.p2align 2
_inspect_base: ; @inspect_base
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB11_1
LBB11_1:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_3
b LBB11_2
LBB11_2:
bl _fail
b LBB11_3
LBB11_3:
b LBB11_4
LBB11_4:
b LBB11_5
LBB11_5:
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_7
b LBB11_6
LBB11_6:
bl _fail
b LBB11_7
LBB11_7:
b LBB11_8
LBB11_8:
b LBB11_9
LBB11_9:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB11_11
b LBB11_10
LBB11_10:
bl _fail
b LBB11_11
LBB11_11:
b LBB11_12
LBB11_12:
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #8]
b LBB11_13
LBB11_13: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB11_28
b LBB11_14
LBB11_14: ; in Loop: Header=BB11_13 Depth=1
b LBB11_15
LBB11_15: ; in Loop: Header=BB11_13 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_17
b LBB11_16
LBB11_16: ; in Loop: Header=BB11_13 Depth=1
bl _fail
b LBB11_17
LBB11_17: ; in Loop: Header=BB11_13 Depth=1
b LBB11_18
LBB11_18: ; in Loop: Header=BB11_13 Depth=1
b LBB11_19
LBB11_19: ; in Loop: Header=BB11_13 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_21
b LBB11_20
LBB11_20: ; in Loop: Header=BB11_13 Depth=1
bl _fail
b LBB11_21
LBB11_21: ; in Loop: Header=BB11_13 Depth=1
b LBB11_22
LBB11_22: ; in Loop: Header=BB11_13 Depth=1
b LBB11_23
LBB11_23: ; in Loop: Header=BB11_13 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x8, [x8]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB11_25
b LBB11_24
LBB11_24: ; in Loop: Header=BB11_13 Depth=1
bl _fail
b LBB11_25
LBB11_25: ; in Loop: Header=BB11_13 Depth=1
b LBB11_26
LBB11_26: ; in Loop: Header=BB11_13 Depth=1
b LBB11_27
LBB11_27: ; in Loop: Header=BB11_13 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #8]
b LBB11_13
LBB11_28:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function fail
_fail: ; @fail
.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 LBB12_1
LBB12_1:
bl ___VERIFIER_error
.cfi_endproc
; -- End function
.globl _inspect_full ; -- Begin function inspect_full
.p2align 2
_inspect_full: ; @inspect_full
.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 _inspect_base
b LBB13_1
LBB13_1: ; =>This Loop Header: Depth=1
; Child Loop BB13_15 Depth 2
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB13_32
b LBB13_2
LBB13_2: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #16]
str x8, [sp]
b LBB13_3
LBB13_3: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_5
b LBB13_4
LBB13_4: ; in Loop: Header=BB13_1 Depth=1
bl _fail
b LBB13_5
LBB13_5: ; in Loop: Header=BB13_1 Depth=1
b LBB13_6
LBB13_6: ; in Loop: Header=BB13_1 Depth=1
b LBB13_7
LBB13_7: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_9
b LBB13_8
LBB13_8: ; in Loop: Header=BB13_1 Depth=1
bl _fail
b LBB13_9
LBB13_9: ; in Loop: Header=BB13_1 Depth=1
b LBB13_10
LBB13_10: ; in Loop: Header=BB13_1 Depth=1
b LBB13_11
LBB13_11: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB13_13
b LBB13_12
LBB13_12: ; in Loop: Header=BB13_1 Depth=1
bl _fail
b LBB13_13
LBB13_13: ; in Loop: Header=BB13_1 Depth=1
b LBB13_14
LBB13_14: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp]
ldr x8, [x8]
str x8, [sp]
b LBB13_15
LBB13_15: ; Parent Loop BB13_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB13_30
b LBB13_16
LBB13_16: ; in Loop: Header=BB13_15 Depth=2
b LBB13_17
LBB13_17: ; in Loop: Header=BB13_15 Depth=2
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_19
b LBB13_18
LBB13_18: ; in Loop: Header=BB13_15 Depth=2
bl _fail
b LBB13_19
LBB13_19: ; in Loop: Header=BB13_15 Depth=2
b LBB13_20
LBB13_20: ; in Loop: Header=BB13_15 Depth=2
b LBB13_21
LBB13_21: ; in Loop: Header=BB13_15 Depth=2
ldr x8, [sp]
ldr x8, [x8, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_23
b LBB13_22
LBB13_22: ; in Loop: Header=BB13_15 Depth=2
bl _fail
b LBB13_23
LBB13_23: ; in Loop: Header=BB13_15 Depth=2
b LBB13_24
LBB13_24: ; in Loop: Header=BB13_15 Depth=2
b LBB13_25
LBB13_25: ; in Loop: Header=BB13_15 Depth=2
ldr x8, [sp]
ldr x8, [x8, #8]
ldr x8, [x8]
ldr x9, [sp]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB13_27
b LBB13_26
LBB13_26: ; in Loop: Header=BB13_15 Depth=2
bl _fail
b LBB13_27
LBB13_27: ; in Loop: Header=BB13_15 Depth=2
b LBB13_28
LBB13_28: ; in Loop: Header=BB13_15 Depth=2
b LBB13_29
LBB13_29: ; in Loop: Header=BB13_15 Depth=2
ldr x8, [sp]
ldr x8, [x8]
str x8, [sp]
b LBB13_15
LBB13_30: ; in Loop: Header=BB13_1 Depth=1
b LBB13_31
LBB13_31: ; in Loop: Header=BB13_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #8]
b LBB13_1
LBB13_32:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _inspect_dangling ; -- Begin function inspect_dangling
.p2align 2
_inspect_dangling: ; @inspect_dangling
.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 _inspect_base
b LBB14_1
LBB14_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_8
b LBB14_2
LBB14_2: ; in Loop: Header=BB14_1 Depth=1
b LBB14_3
LBB14_3: ; in Loop: Header=BB14_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_5
b LBB14_4
LBB14_4: ; in Loop: Header=BB14_1 Depth=1
bl _fail
b LBB14_5
LBB14_5: ; in Loop: Header=BB14_1 Depth=1
b LBB14_6
LBB14_6: ; in Loop: Header=BB14_1 Depth=1
b LBB14_7
LBB14_7: ; in Loop: Header=BB14_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #8]
b LBB14_1
LBB14_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _inspect_init ; -- Begin function inspect_init
.p2align 2
_inspect_init: ; @inspect_init
.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 _inspect_base
b LBB15_1
LBB15_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_8
b LBB15_2
LBB15_2: ; in Loop: Header=BB15_1 Depth=1
b LBB15_3
LBB15_3: ; in Loop: Header=BB15_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_5
b LBB15_4
LBB15_4: ; in Loop: Header=BB15_1 Depth=1
bl _fail
b LBB15_5
LBB15_5: ; in Loop: Header=BB15_1 Depth=1
b LBB15_6
LBB15_6: ; in Loop: Header=BB15_1 Depth=1
b LBB15_7
LBB15_7: ; in Loop: Header=BB15_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp, #8]
b LBB15_1
LBB15_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _dll_create_master
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _inspect_full
ldr x0, [sp, #16]
bl _dll_destroy_nested_lists
ldr x0, [sp, #16]
bl _inspect_dangling
ldr x0, [sp, #16]
bl _dll_reinit_nested_lists
ldr x0, [sp, #16]
bl _inspect_init
ldr x0, [sp, #16]
bl _dll_destroy_master
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _alloc_or_die_slave ## -- Begin function alloc_or_die_slave
.p2align 4, 0x90
_alloc_or_die_slave: ## @alloc_or_die_slave
.cfi_startproc
## %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 $16, %edi
callq _malloc
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB0_2
## %bb.1:
callq _abort
LBB0_2:
movq -8(%rbp), %rax
movq $0, (%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _alloc_or_die_master ## -- Begin function alloc_or_die_master
.p2align 4, 0x90
_alloc_or_die_master: ## @alloc_or_die_master
.cfi_startproc
## %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 $24, %edi
callq _malloc
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB1_2
## %bb.1:
callq _abort
LBB1_2:
movq -8(%rbp), %rax
movq $0, (%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_insert_slave ## -- Begin function dll_insert_slave
.p2align 4, 0x90
_dll_insert_slave: ## @dll_insert_slave
.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)
callq _alloc_or_die_slave
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
cmpq $0, -24(%rbp)
je LBB2_2
## %bb.1:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
LBB2_2:
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_create_generic ## -- Begin function dll_create_generic
.p2align 4, 0x90
_dll_create_generic: ## @dll_create_generic
.cfi_startproc
## %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 $0, -16(%rbp)
leaq -16(%rbp), %rdi
callq *-8(%rbp)
leaq -16(%rbp), %rdi
callq *-8(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
callq ___VERIFIER_nondet_int
cmpl $0, %eax
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
leaq -16(%rbp), %rdi
callq *-8(%rbp)
jmp LBB3_1
LBB3_3:
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_create_slave ## -- Begin function dll_create_slave
.p2align 4, 0x90
_dll_create_slave: ## @dll_create_slave
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _dll_insert_slave(%rip), %rdi
callq _dll_create_generic
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_destroy_slave ## -- Begin function dll_destroy_slave
.p2align 4, 0x90
_dll_destroy_slave: ## @dll_destroy_slave
.cfi_startproc
## %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)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
callq _free
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB5_1
LBB5_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_destroy_nested_lists ## -- Begin function dll_destroy_nested_lists
.p2align 4, 0x90
_dll_destroy_nested_lists: ## @dll_destroy_nested_lists
.cfi_startproc
## %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)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _dll_destroy_slave
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB6_1
LBB6_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_reinit_nested_lists ## -- Begin function dll_reinit_nested_lists
.p2align 4, 0x90
_dll_reinit_nested_lists: ## @dll_reinit_nested_lists
.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)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB7_3
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB7_1
LBB7_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_destroy_master ## -- Begin function dll_destroy_master
.p2align 4, 0x90
_dll_destroy_master: ## @dll_destroy_master
.cfi_startproc
## %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)
LBB8_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB8_3
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
callq _free
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB8_1
LBB8_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_insert_master ## -- Begin function dll_insert_master
.p2align 4, 0x90
_dll_insert_master: ## @dll_insert_master
.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)
callq _alloc_or_die_master
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
cmpq $0, -24(%rbp)
je LBB9_2
## %bb.1:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
LBB9_2:
callq _dll_create_slave
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dll_create_master ## -- Begin function dll_create_master
.p2align 4, 0x90
_dll_create_master: ## @dll_create_master
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _dll_insert_master(%rip), %rdi
callq _dll_create_generic
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inspect_base ## -- Begin function inspect_base
.p2align 4, 0x90
_inspect_base: ## @inspect_base
.cfi_startproc
## %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)
## %bb.1:
cmpq $0, -8(%rbp)
jne LBB11_3
## %bb.2:
callq _fail
LBB11_3:
jmp LBB11_4
LBB11_4:
jmp LBB11_5
LBB11_5:
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB11_7
## %bb.6:
callq _fail
LBB11_7:
jmp LBB11_8
LBB11_8:
jmp LBB11_9
LBB11_9:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB11_11
## %bb.10:
callq _fail
LBB11_11:
jmp LBB11_12
LBB11_12:
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB11_13: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB11_28
## %bb.14: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_15
LBB11_15: ## in Loop: Header=BB11_13 Depth=1
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB11_17
## %bb.16: ## in Loop: Header=BB11_13 Depth=1
callq _fail
LBB11_17: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_18
LBB11_18: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_19
LBB11_19: ## in Loop: Header=BB11_13 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
cmpq $0, (%rax)
jne LBB11_21
## %bb.20: ## in Loop: Header=BB11_13 Depth=1
callq _fail
LBB11_21: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_22
LBB11_22: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_23
LBB11_23: ## in Loop: Header=BB11_13 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
je LBB11_25
## %bb.24: ## in Loop: Header=BB11_13 Depth=1
callq _fail
LBB11_25: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_26
LBB11_26: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_27
LBB11_27: ## in Loop: Header=BB11_13 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB11_13
LBB11_28:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function fail
_fail: ## @fail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
jmp LBB12_1
LBB12_1:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq ___VERIFIER_error
.cfi_endproc
## -- End function
.globl _inspect_full ## -- Begin function inspect_full
.p2align 4, 0x90
_inspect_full: ## @inspect_full
.cfi_startproc
## %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 _inspect_base
LBB13_1: ## =>This Loop Header: Depth=1
## Child Loop BB13_15 Depth 2
cmpq $0, -8(%rbp)
je LBB13_32
## %bb.2: ## in Loop: Header=BB13_1 Depth=1
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB13_1 Depth=1
cmpq $0, -16(%rbp)
jne LBB13_5
## %bb.4: ## in Loop: Header=BB13_1 Depth=1
callq _fail
LBB13_5: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_6
LBB13_6: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_7
LBB13_7: ## in Loop: Header=BB13_1 Depth=1
movq -16(%rbp), %rax
cmpq $0, (%rax)
jne LBB13_9
## %bb.8: ## in Loop: Header=BB13_1 Depth=1
callq _fail
LBB13_9: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_10
LBB13_10: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_11
LBB13_11: ## in Loop: Header=BB13_1 Depth=1
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB13_13
## %bb.12: ## in Loop: Header=BB13_1 Depth=1
callq _fail
LBB13_13: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_14
LBB13_14: ## in Loop: Header=BB13_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB13_15: ## Parent Loop BB13_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -16(%rbp)
je LBB13_30
## %bb.16: ## in Loop: Header=BB13_15 Depth=2
jmp LBB13_17
LBB13_17: ## in Loop: Header=BB13_15 Depth=2
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB13_19
## %bb.18: ## in Loop: Header=BB13_15 Depth=2
callq _fail
LBB13_19: ## in Loop: Header=BB13_15 Depth=2
jmp LBB13_20
LBB13_20: ## in Loop: Header=BB13_15 Depth=2
jmp LBB13_21
LBB13_21: ## in Loop: Header=BB13_15 Depth=2
movq -16(%rbp), %rax
movq 8(%rax), %rax
cmpq $0, (%rax)
jne LBB13_23
## %bb.22: ## in Loop: Header=BB13_15 Depth=2
callq _fail
LBB13_23: ## in Loop: Header=BB13_15 Depth=2
jmp LBB13_24
LBB13_24: ## in Loop: Header=BB13_15 Depth=2
jmp LBB13_25
LBB13_25: ## in Loop: Header=BB13_15 Depth=2
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
je LBB13_27
## %bb.26: ## in Loop: Header=BB13_15 Depth=2
callq _fail
LBB13_27: ## in Loop: Header=BB13_15 Depth=2
jmp LBB13_28
LBB13_28: ## in Loop: Header=BB13_15 Depth=2
jmp LBB13_29
LBB13_29: ## in Loop: Header=BB13_15 Depth=2
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
jmp LBB13_15
LBB13_30: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_31
LBB13_31: ## in Loop: Header=BB13_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB13_1
LBB13_32:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inspect_dangling ## -- Begin function inspect_dangling
.p2align 4, 0x90
_inspect_dangling: ## @inspect_dangling
.cfi_startproc
## %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 _inspect_base
LBB14_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB14_8
## %bb.2: ## in Loop: Header=BB14_1 Depth=1
jmp LBB14_3
LBB14_3: ## in Loop: Header=BB14_1 Depth=1
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
jne LBB14_5
## %bb.4: ## in Loop: Header=BB14_1 Depth=1
callq _fail
LBB14_5: ## in Loop: Header=BB14_1 Depth=1
jmp LBB14_6
LBB14_6: ## in Loop: Header=BB14_1 Depth=1
jmp LBB14_7
LBB14_7: ## in Loop: Header=BB14_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB14_1
LBB14_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inspect_init ## -- Begin function inspect_init
.p2align 4, 0x90
_inspect_init: ## @inspect_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _inspect_base
LBB15_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB15_8
## %bb.2: ## in Loop: Header=BB15_1 Depth=1
jmp LBB15_3
LBB15_3: ## in Loop: Header=BB15_1 Depth=1
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
je LBB15_5
## %bb.4: ## in Loop: Header=BB15_1 Depth=1
callq _fail
LBB15_5: ## in Loop: Header=BB15_1 Depth=1
jmp LBB15_6
LBB15_6: ## in Loop: Header=BB15_1 Depth=1
jmp LBB15_7
LBB15_7: ## in Loop: Header=BB15_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB15_1
LBB15_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _dll_create_master
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq _inspect_full
movq -16(%rbp), %rdi
callq _dll_destroy_nested_lists
movq -16(%rbp), %rdi
callq _inspect_dangling
movq -16(%rbp), %rdi
callq _dll_reinit_nested_lists
movq -16(%rbp), %rdi
callq _inspect_init
movq -16(%rbp), %rdi
callq _dll_destroy_master
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/220456763.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x8, sp
; kill: def $x9 killed $xzr
str xzr, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _execl
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Before Execution: \n"
l_.str.1: ; @.str.1
.asciz "/bin/ls"
l_.str.2: ; @.str.2
.asciz "ls"
l_.str.3: ; @.str.3
.asciz "\n After Execution"
.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
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
movb $0, %al
callq _execl
leaq L_.str.3(%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 "Before Execution: \n"
L_.str.1: ## @.str.1
.asciz "/bin/ls"
L_.str.2: ## @.str.2
.asciz "ls"
L_.str.3: ## @.str.3
.asciz "\n After Execution"
.subsections_via_symbols
| the_stack_data/96142.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fscanf ; -- Begin function fscanf
.p2align 2
_fscanf: ; @fscanf
.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 x9, sp
add x8, x29, #16
str x8, [x9]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
ldr x2, [sp]
bl ___svfscanf
str w0, [sp, #12]
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fscanf ## -- Begin function fscanf
.p2align 4, 0x90
_fscanf: ## @fscanf
.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_4
## %bb.3:
movaps %xmm0, -192(%rbp)
movaps %xmm1, -176(%rbp)
movaps %xmm2, -160(%rbp)
movaps %xmm3, -144(%rbp)
movaps %xmm4, -128(%rbp)
movaps %xmm5, -112(%rbp)
movaps %xmm6, -96(%rbp)
movaps %xmm7, -80(%rbp)
LBB0_4:
movq %r9, -200(%rbp)
movq %r8, -208(%rbp)
movq %rcx, -216(%rbp)
movq %rdx, -224(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -40(%rbp)
movq %rsi, -48(%rbp)
leaq -32(%rbp), %rax
leaq -240(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $16, (%rax)
movq -40(%rbp), %rdi
movq -48(%rbp), %rsi
leaq -32(%rbp), %rdx
callq ___svfscanf
movl %eax, -52(%rbp)
leaq -32(%rbp), %rax
movl -52(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
movl -244(%rbp), %eax ## 4-byte Reload
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/417022.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _GPUImageVersionString ; @GPUImageVersionString
_GPUImageVersionString:
.asciz "@(#)PROGRAM:GPUImage PROJECT:GPUImage-1\n"
.globl _GPUImageVersionNumber ; @GPUImageVersionNumber
.p2align 3
_GPUImageVersionNumber:
.quad 0x3ff0000000000000 ; double 1
.no_dead_strip _GPUImageVersionString
.no_dead_strip _GPUImageVersionNumber
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _GPUImageVersionString ## @GPUImageVersionString
.p2align 4
_GPUImageVersionString:
.asciz "@(#)PROGRAM:GPUImage PROJECT:GPUImage-1\n"
.globl _GPUImageVersionNumber ## @GPUImageVersionNumber
.p2align 3
_GPUImageVersionNumber:
.quad 0x3ff0000000000000 ## double 1
.no_dead_strip _GPUImageVersionString
.no_dead_strip _GPUImageVersionNumber
.subsections_via_symbols
| the_stack_data/206394304.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #2336
movk w9, #61, lsl #16
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #976, lsl #12 ; =3997696
sub sp, sp, #2336
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #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
ldrsw x9, [sp, #12]
add x8, sp, #24
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
mov w0, #0
add sp, sp, #976, lsl #12 ; =3997696
add sp, sp, #2336
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.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 $4000032, %eax ## imm = 0x3D0920
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -4000020(%rbp)
leaq L_.str(%rip), %rdi
leaq -4000024(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -4000028(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -4000028(%rbp), %eax
cmpl -4000024(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -4000028(%rbp), %rax
leaq -4000016(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4000028(%rbp), %eax
addl $1, %eax
movl %eax, -4000028(%rbp)
jmp LBB0_1
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $4000032, %rsp ## imm = 0x3D0920
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/108933.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _clearNode ; -- Begin function clearNode
.p2align 2
_clearNode: ; @clearNode
.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 w8, [sp, #4]
subs w8, w8, #50
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #8]
add x8, x8, #50
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:
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #140
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8]
add x8, x8, #50
ldrsw x9, [sp, #4]
add x8, x8, x9
strb wzr, [x8]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_5
LBB0_8:
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #192]
ldr x8, [sp, #8]
str xzr, [x8, #200]
ldr x8, [sp, #8]
str xzr, [x8, #208]
ldr x8, [sp, #8]
str xzr, [x8, #216]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _createaboveSL ; -- Begin function createaboveSL
.p2align 2
_createaboveSL: ; @createaboveSL
.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 x0, #224
bl _malloc
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _clearNode
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #8]
str x8, [x9, #208]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _deleteSL ; -- Begin function deleteSL
.p2align 2
_deleteSL: ; @deleteSL
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #208]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #8]
ldr x0, [x8, #208]
bl _deleteSL
b LBB2_2
LBB2_2:
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #216]
str x8, [sp]
ldr x0, [sp, #8]
bl _free
ldr x8, [sp]
str x8, [sp, #8]
b LBB2_3
LBB2_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _searchSL ; -- Begin function searchSL
.p2align 2
_searchSL: ; @searchSL
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_1
LBB3_1:
ldr w8, [sp, #4]
ldr w9, [sp]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2:
ldr x8, [sp, #16]
ldr x0, [x8, #208]
ldr x1, [sp, #8]
ldr w8, [sp, #4]
add w2, w8, #1
str w2, [sp, #4]
ldr w3, [sp]
bl _searchSL
stur x0, [x29, #-8]
b LBB3_13
LBB3_3:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB3_13
LBB3_4:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _strcmp
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB3_10
b LBB3_5
LBB3_5:
ldr x8, [sp, #16]
ldr x8, [x8, #216]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
ldr x8, [sp, #16]
ldr x0, [x8, #216]
ldr x1, [sp, #8]
ldr w2, [sp, #4]
ldr w3, [sp]
bl _searchSL
stur x0, [x29, #-8]
b LBB3_13
LBB3_7:
ldr w8, [sp, #4]
ldr w9, [sp]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8:
ldr x8, [sp, #16]
ldr x0, [x8, #208]
ldr x1, [sp, #8]
ldr w8, [sp, #4]
add w2, w8, #1
str w2, [sp, #4]
ldr w3, [sp]
bl _searchSL
stur x0, [x29, #-8]
b LBB3_13
LBB3_9:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB3_13
LBB3_10:
ldr w8, [sp, #4]
ldr w9, [sp]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11:
ldr x8, [sp, #16]
ldr x8, [x8, #192]
ldr x0, [x8, #208]
ldr x1, [sp, #8]
ldr w8, [sp, #4]
add w2, w8, #1
str w2, [sp, #4]
ldr w3, [sp]
bl _searchSL
stur x0, [x29, #-8]
b LBB3_13
LBB3_12:
ldr x8, [sp, #16]
ldr x8, [x8, #192]
stur x8, [x29, #-8]
b LBB3_13
LBB3_13:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insertSL ; -- Begin function insertSL
.p2align 2
_insertSL: ; @insertSL
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
stur wzr, [x29, #-36]
mov w8, #1
str w8, [sp, #40]
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
str xzr, [sp, #24]
stur wzr, [x29, #-36]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
bl _rand
mov w9, #2
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
subs w8, w8, #0
cset w8, ne
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB4_14
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-36]
ldur x9, [x29, #-32]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldur x0, [x29, #-8]
ldur x1, [x29, #-32]
bl _createaboveSL
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur x1, [x29, #-16]
ldur x8, [x29, #-32]
ldr w8, [x8]
ldur w9, [x29, #-36]
subs w3, w8, w9
mov w2, #0
bl _searchSL
str x0, [sp, #32]
ldr x0, [sp, #32]
ldur x1, [x29, #-16]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB4_14
LBB4_8: ; in Loop: Header=BB4_1 Depth=1
mov x0, #224
bl _malloc
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _clearNode
ldr x0, [sp, #16]
ldur x1, [x29, #-16]
mov x2, #50
bl ___strcpy_chk
ldr x8, [sp, #16]
add x0, x8, #50
ldur x1, [x29, #-24]
mov x2, #140
bl ___strcpy_chk
ldr x8, [sp, #32]
ldr x9, [sp, #16]
str x8, [x9, #192]
ldr x8, [sp, #32]
ldr x8, [x8, #216]
ldr x9, [sp, #16]
str x8, [x9, #216]
ldr x8, [sp, #16]
ldr x9, [sp, #32]
str x8, [x9, #216]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
str x8, [x9, #208]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #24]
str x8, [x9, #200]
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #216]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #16]
ldr x9, [x9, #216]
str x8, [x9, #192]
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
str x8, [sp, #24]
str wzr, [sp, #40]
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB4_1
LBB4_14:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _removeSL ; -- Begin function removeSL
.p2align 2
_removeSL: ; @removeSL
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str w2, [sp, #12]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
ldr w3, [sp, #12]
mov w2, #0
bl _searchSL
str x0, [sp]
ldr x0, [sp]
ldr x1, [sp, #16]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_7
b LBB5_1
LBB5_1:
b LBB5_2
LBB5_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_2 Depth=1
ldr x8, [sp]
ldr x8, [x8, #200]
stur x8, [x29, #-8]
ldr x8, [sp]
ldr x8, [x8, #216]
ldr x9, [sp]
ldr x9, [x9, #192]
str x8, [x9, #216]
ldr x8, [sp]
ldr x8, [x8, #216]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_2 Depth=1
ldr x8, [sp]
ldr x8, [x8, #192]
ldr x9, [sp]
ldr x9, [x9, #216]
str x8, [x9, #192]
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_2 Depth=1
ldr x0, [sp]
bl _free
ldur x8, [x29, #-8]
str x8, [sp]
b LBB5_2
LBB5_6:
b LBB5_8
LBB5_7:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB5_8
LBB5_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _changeSL ; -- Begin function changeSL
.p2align 2
_changeSL: ; @changeSL
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str w3, [sp, #20]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr w3, [sp, #20]
mov w2, #0
bl _searchSL
str x0, [sp, #8]
ldr x0, [sp, #8]
ldur x1, [x29, #-16]
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB6_6
LBB6_2:
b LBB6_3
LBB6_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=1
ldr x8, [sp, #8]
add x0, x8, #50
ldr x1, [sp, #24]
mov x2, #140
bl ___strcpy_chk
ldr x8, [sp, #8]
ldr x8, [x8, #200]
str x8, [sp, #8]
b LBB6_3
LBB6_5:
b LBB6_6
LBB6_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #480
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
mov w1, #0
str w1, [sp, #76] ; 4-byte Folded Spill
str wzr, [sp, #124]
sub x0, x29, #225
mov x2, #51
bl _memset
ldr w1, [sp, #76] ; 4-byte Folded Reload
add x0, sp, #130
mov x2, #141
bl _memset
str wzr, [sp, #116]
add x1, sp, #112
mov w8, #-1
str w8, [sp, #112]
str wzr, [sp, #108]
add x0, sp, #96
; kill: def $x8 killed $xzr
str xzr, [sp, #96]
bl _createaboveSL
add x0, sp, #80
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
b LBB7_1
LBB7_1: ; =>This Loop Header: Depth=1
; Child Loop BB7_25 Depth 2
; Child Loop BB7_57 Depth 2
bl _getchar
strb w0, [sp, #123]
ands w8, w0, #0xff
cset w8, eq
tbnz w8, #0, LBB7_71
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB7_38
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldrb w8, [sp, #122]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_35
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #116]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB7_7
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_1 Depth=1
sub x0, x29, #225
sub x1, x29, #174
mov x2, #51
bl ___strcpy_chk
b LBB7_10
LBB7_7: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #116]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB7_9
b LBB7_8
LBB7_8: ; in Loop: Header=BB7_1 Depth=1
add x0, sp, #130
str x0, [sp, #64] ; 8-byte Folded Spill
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x2, #141
str x2, [sp, #56] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x2, [sp, #56] ; 8-byte Folded Reload
ldr x0, [sp, #64] ; 8-byte Folded Reload
sub x1, x29, #174
bl ___strcat_chk
b LBB7_9
LBB7_9: ; in Loop: Header=BB7_1 Depth=1
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #122]
subs w8, w8, #110
cset w8, ne
tbnz w8, #0, LBB7_12
b LBB7_11
LBB7_11: ; in Loop: Header=BB7_1 Depth=1
add x0, sp, #96
sub x1, x29, #225
add x2, sp, #130
add x3, sp, #112
bl _insertSL
b LBB7_34
LBB7_12: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #122]
subs w8, w8, #108
cset w8, ne
tbnz w8, #0, LBB7_14
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #96]
ldr w3, [sp, #112]
sub x1, x29, #225
add x2, sp, #130
bl _changeSL
b LBB7_33
LBB7_14: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #122]
subs w8, w8, #101
cset w8, ne
tbnz w8, #0, LBB7_16
b LBB7_15
LBB7_15: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #96]
ldr w2, [sp, #112]
sub x1, x29, #225
bl _removeSL
b LBB7_32
LBB7_16: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #122]
subs w8, w8, #117
cset w8, ne
tbnz w8, #0, LBB7_21
b LBB7_17
LBB7_17: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #96]
ldr w3, [sp, #112]
sub x1, x29, #225
str x1, [sp, #48] ; 8-byte Folded Spill
mov w2, #0
bl _searchSL
ldr x1, [sp, #48] ; 8-byte Folded Reload
str x0, [sp, #88]
ldr x0, [sp, #88]
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB7_19
b LBB7_18
LBB7_18: ; in Loop: Header=BB7_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB7_20
LBB7_19: ; in Loop: Header=BB7_1 Depth=1
ldr x10, [sp, #88]
ldr x8, [sp, #88]
add x8, x8, #50
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB7_20
LBB7_20: ; in Loop: Header=BB7_1 Depth=1
b LBB7_31
LBB7_21: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #122]
subs w8, w8, #109
cset w8, ne
tbnz w8, #0, LBB7_29
b LBB7_22
LBB7_22: ; in Loop: Header=BB7_1 Depth=1
ldr x0, [sp, #96]
ldr w3, [sp, #112]
sub x1, x29, #225
mov w2, #0
bl _searchSL
str x0, [sp, #88]
ldr x8, [sp, #88]
ldr x8, [x8, #216]
str x8, [sp, #88]
ldr x8, [sp, #88]
ldrsb w8, [x8]
ldursb w9, [x29, #-225]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB7_24
b LBB7_23
LBB7_23: ; in Loop: Header=BB7_1 Depth=1
ldursb w10, [x29, #-225]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB7_28
LBB7_24: ; in Loop: Header=BB7_1 Depth=1
b LBB7_25
LBB7_25: ; Parent Loop BB7_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #88]
ldrsb w8, [x8]
ldursb w9, [x29, #-225]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB7_27
b LBB7_26
LBB7_26: ; in Loop: Header=BB7_25 Depth=2
ldr x10, [sp, #88]
ldr x8, [sp, #88]
add x8, x8, #50
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #88]
ldr x8, [x8, #216]
str x8, [sp, #88]
b LBB7_25
LBB7_27: ; in Loop: Header=BB7_1 Depth=1
b LBB7_28
LBB7_28: ; in Loop: Header=BB7_1 Depth=1
b LBB7_30
LBB7_29: ; in Loop: Header=BB7_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB7_30
LBB7_30: ; in Loop: Header=BB7_1 Depth=1
b LBB7_31
LBB7_31: ; in Loop: Header=BB7_1 Depth=1
b LBB7_32
LBB7_32: ; in Loop: Header=BB7_1 Depth=1
b LBB7_33
LBB7_33: ; in Loop: Header=BB7_1 Depth=1
b LBB7_34
LBB7_34: ; in Loop: Header=BB7_1 Depth=1
str wzr, [sp, #116]
strb wzr, [sp, #122]
b LBB7_35
LBB7_35: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB7_37
b LBB7_36
LBB7_36:
b LBB7_71
LBB7_37: ; in Loop: Header=BB7_1 Depth=1
b LBB7_56
LBB7_38: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
subs w8, w8, #105
cset w8, eq
tbnz w8, #0, LBB7_42
b LBB7_39
LBB7_39: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
subs w8, w8, #97
cset w8, eq
tbnz w8, #0, LBB7_42
b LBB7_40
LBB7_40: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
subs w8, w8, #114
cset w8, eq
tbnz w8, #0, LBB7_42
b LBB7_41
LBB7_41: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
subs w8, w8, #98
cset w8, ne
tbnz w8, #0, LBB7_43
b LBB7_42
LBB7_42: ; in Loop: Header=BB7_1 Depth=1
ldrsb w0, [sp, #123]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x1, [x8]
bl _ungetc
b LBB7_55
LBB7_43: ; in Loop: Header=BB7_1 Depth=1
ldrsb w8, [sp, #123]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB7_54
b LBB7_44
LBB7_44: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #116]
add w8, w8, #1
str w8, [sp, #116]
ldr w8, [sp, #116]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB7_46
b LBB7_45
LBB7_45: ; in Loop: Header=BB7_1 Depth=1
ldurb w8, [x29, #-173]
strb w8, [sp, #122]
b LBB7_53
LBB7_46: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #116]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB7_48
b LBB7_47
LBB7_47: ; in Loop: Header=BB7_1 Depth=1
sub x0, x29, #225
sub x1, x29, #174
mov x2, #51
bl ___strcpy_chk
b LBB7_52
LBB7_48: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #116]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB7_50
b LBB7_49
LBB7_49: ; in Loop: Header=BB7_1 Depth=1
add x0, sp, #130
sub x1, x29, #174
mov x2, #141
bl ___strcpy_chk
b LBB7_51
LBB7_50: ; in Loop: Header=BB7_1 Depth=1
add x0, sp, #130
str x0, [sp, #40] ; 8-byte Folded Spill
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x2, #141
str x2, [sp, #32] ; 8-byte Folded Spill
bl ___strcat_chk
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
sub x1, x29, #174
bl ___strcat_chk
b LBB7_51
LBB7_51: ; in Loop: Header=BB7_1 Depth=1
b LBB7_52
LBB7_52: ; in Loop: Header=BB7_1 Depth=1
b LBB7_53
LBB7_53: ; in Loop: Header=BB7_1 Depth=1
b LBB7_54
LBB7_54: ; in Loop: Header=BB7_1 Depth=1
b LBB7_55
LBB7_55: ; in Loop: Header=BB7_1 Depth=1
b LBB7_56
LBB7_56: ; in Loop: Header=BB7_1 Depth=1
str wzr, [sp, #108]
b LBB7_57
LBB7_57: ; Parent Loop BB7_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
strb w0, [sp, #123]
sxtb w8, w0
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_61
b LBB7_58
LBB7_58: ; in Loop: Header=BB7_57 Depth=2
ldrsb w8, [sp, #123]
subs w8, w8, #32
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_61
b LBB7_59
LBB7_59: ; in Loop: Header=BB7_57 Depth=2
ldrsb w8, [sp, #123]
subs w8, w8, #10
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_61
b LBB7_60
LBB7_60: ; in Loop: Header=BB7_57 Depth=2
ldrsb w8, [sp, #123]
adds w8, w8, #1
cset w8, ne
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB7_61
LBB7_61: ; in Loop: Header=BB7_57 Depth=2
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB7_70
b LBB7_62
LBB7_62: ; in Loop: Header=BB7_57 Depth=2
ldrsb w8, [sp, #123]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB7_64
b LBB7_63
LBB7_63: ; in Loop: Header=BB7_57 Depth=2
ldrsb w8, [sp, #123]
subs w8, w8, #90
cset w8, le
tbnz w8, #0, LBB7_66
b LBB7_64
LBB7_64: ; in Loop: Header=BB7_57 Depth=2
ldrsb w8, [sp, #123]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB7_67
b LBB7_65
LBB7_65: ; in Loop: Header=BB7_57 Depth=2
ldrsb w8, [sp, #123]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB7_67
b LBB7_66
LBB7_66: ; in Loop: Header=BB7_57 Depth=2
ldrb w8, [sp, #123]
ldrsw x10, [sp, #108]
sub x9, x29, #174
add x9, x9, x10
strb w8, [x9]
b LBB7_68
LBB7_67: ; in Loop: Header=BB7_57 Depth=2
ldr w8, [sp, #108]
subs w8, w8, #1
str w8, [sp, #108]
b LBB7_68
LBB7_68: ; in Loop: Header=BB7_57 Depth=2
b LBB7_69
LBB7_69: ; in Loop: Header=BB7_57 Depth=2
ldr w8, [sp, #108]
add w8, w8, #1
str w8, [sp, #108]
b LBB7_57
LBB7_70: ; in Loop: Header=BB7_1 Depth=1
ldrsw x9, [sp, #108]
sub x8, x29, #174
add x8, x8, x9
strb wzr, [x8]
ldrsb w0, [sp, #123]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x1, [x8]
bl _ungetc
b LBB7_1
LBB7_71:
ldr x0, [sp, #96]
bl _deleteSL
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB7_73
b LBB7_72
LBB7_72:
bl ___stack_chk_fail
LBB7_73:
mov w0, #0
add sp, sp, #480
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 "OPERACAO INVALIDA\n"
l_.str.1: ; @.str.1
.asciz " "
l_.str.2: ; @.str.2
.asciz "%s %s\n"
l_.str.3: ; @.str.3
.asciz "NAO HA PALAVRAS INICIADAS POR %c\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _clearNode ## -- Begin function clearNode
.p2align 4, 0x90
_clearNode: ## @clearNode
.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
cmpl $50, -12(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, 50(%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:
jmp LBB0_5
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $140, -12(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, 50(%rax,%rcx)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_5
LBB0_8:
movq -8(%rbp), %rax
movq $0, 192(%rax)
movq -8(%rbp), %rax
movq $0, 200(%rax)
movq -8(%rbp), %rax
movq $0, 208(%rax)
movq -8(%rbp), %rax
movq $0, 216(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createaboveSL ## -- Begin function createaboveSL
.p2align 4, 0x90
_createaboveSL: ## @createaboveSL
.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 $224, %edi
callq _malloc
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
callq _clearNode
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, 208(%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _deleteSL ## -- Begin function deleteSL
.p2align 4, 0x90
_deleteSL: ## @deleteSL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpq $0, 208(%rax)
je LBB2_2
## %bb.1:
movq -8(%rbp), %rax
movq 208(%rax), %rdi
callq _deleteSL
LBB2_2:
jmp LBB2_3
LBB2_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB2_5
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movq -8(%rbp), %rax
movq 216(%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
callq _free
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB2_3
LBB2_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _searchSL ## -- Begin function searchSL
.p2align 4, 0x90
_searchSL: ## @searchSL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_4
## %bb.1:
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
je LBB3_3
## %bb.2:
movq -16(%rbp), %rax
movq 208(%rax), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
addl $1, %edx
movl %edx, -28(%rbp)
movl -32(%rbp), %ecx
callq _searchSL
movq %rax, -8(%rbp)
jmp LBB3_13
LBB3_3:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB3_13
LBB3_4:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jge LBB3_10
## %bb.5:
movq -16(%rbp), %rax
cmpq $0, 216(%rax)
je LBB3_7
## %bb.6:
movq -16(%rbp), %rax
movq 216(%rax), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
movl -32(%rbp), %ecx
callq _searchSL
movq %rax, -8(%rbp)
jmp LBB3_13
LBB3_7:
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
je LBB3_9
## %bb.8:
movq -16(%rbp), %rax
movq 208(%rax), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
addl $1, %edx
movl %edx, -28(%rbp)
movl -32(%rbp), %ecx
callq _searchSL
movq %rax, -8(%rbp)
jmp LBB3_13
LBB3_9:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB3_13
LBB3_10:
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
je LBB3_12
## %bb.11:
movq -16(%rbp), %rax
movq 192(%rax), %rax
movq 208(%rax), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
addl $1, %edx
movl %edx, -28(%rbp)
movl -32(%rbp), %ecx
callq _searchSL
movq %rax, -8(%rbp)
jmp LBB3_13
LBB3_12:
movq -16(%rbp), %rax
movq 192(%rax), %rax
movq %rax, -8(%rbp)
LBB3_13:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insertSL ## -- Begin function insertSL
.p2align 4, 0x90
_insertSL: ## @insertSL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movl $0, -36(%rbp)
movl $1, -40(%rbp)
movq $0, -48(%rbp)
movq $0, -56(%rbp)
movl $0, -36(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
callq _rand
movl $2, %ecx
cltd
idivl %ecx
movb $1, %al
cmpl $0, %edx
movb %al, -65(%rbp) ## 1-byte Spill
jne LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
cmpl $0, -40(%rbp)
setne %al
movb %al, -65(%rbp) ## 1-byte Spill
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
movb -65(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB4_4
jmp LBB4_14
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movl -36(%rbp), %eax
movq -32(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB4_6
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rdi
movq -32(%rbp), %rsi
callq _createaboveSL
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
movq -32(%rbp), %rax
movl (%rax), %ecx
subl -36(%rbp), %ecx
xorl %edx, %edx
callq _searchSL
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
movq -16(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB4_8
## %bb.7:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_14
LBB4_8: ## in Loop: Header=BB4_1 Depth=1
movl $224, %edi
callq _malloc
movq %rax, -64(%rbp)
movq -64(%rbp), %rdi
callq _clearNode
movq -64(%rbp), %rdi
movq -16(%rbp), %rsi
movl $50, %edx
callq ___strcpy_chk
movq -64(%rbp), %rdi
addq $50, %rdi
movq -24(%rbp), %rsi
movl $140, %edx
callq ___strcpy_chk
movq -48(%rbp), %rcx
movq -64(%rbp), %rax
movq %rcx, 192(%rax)
movq -48(%rbp), %rax
movq 216(%rax), %rcx
movq -64(%rbp), %rax
movq %rcx, 216(%rax)
movq -64(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 216(%rax)
movq -56(%rbp), %rcx
movq -64(%rbp), %rax
movq %rcx, 208(%rax)
cmpq $0, -56(%rbp)
je LBB4_10
## %bb.9: ## in Loop: Header=BB4_1 Depth=1
movq -64(%rbp), %rcx
movq -56(%rbp), %rax
movq %rcx, 200(%rax)
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
movq -64(%rbp), %rax
cmpq $0, 216(%rax)
je LBB4_12
## %bb.11: ## in Loop: Header=BB4_1 Depth=1
movq -64(%rbp), %rcx
movq -64(%rbp), %rax
movq 216(%rax), %rax
movq %rcx, 192(%rax)
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movq -64(%rbp), %rax
movq %rax, -56(%rbp)
movl $0, -40(%rbp)
## %bb.13: ## in Loop: Header=BB4_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB4_1
LBB4_14:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeSL ## -- Begin function removeSL
.p2align 4, 0x90
_removeSL: ## @removeSL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %ecx
xorl %edx, %edx
callq _searchSL
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movq -16(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB5_7
## %bb.1:
jmp LBB5_2
LBB5_2: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB5_6
## %bb.3: ## in Loop: Header=BB5_2 Depth=1
movq -32(%rbp), %rax
movq 200(%rax), %rax
movq %rax, -8(%rbp)
movq -32(%rbp), %rax
movq 216(%rax), %rcx
movq -32(%rbp), %rax
movq 192(%rax), %rax
movq %rcx, 216(%rax)
movq -32(%rbp), %rax
cmpq $0, 216(%rax)
je LBB5_5
## %bb.4: ## in Loop: Header=BB5_2 Depth=1
movq -32(%rbp), %rax
movq 192(%rax), %rcx
movq -32(%rbp), %rax
movq 216(%rax), %rax
movq %rcx, 192(%rax)
LBB5_5: ## in Loop: Header=BB5_2 Depth=1
movq -32(%rbp), %rdi
callq _free
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
jmp LBB5_2
LBB5_6:
jmp LBB5_8
LBB5_7:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB5_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _changeSL ## -- Begin function changeSL
.p2align 4, 0x90
_changeSL: ## @changeSL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -28(%rbp), %ecx
xorl %edx, %edx
callq _searchSL
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movq -16(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
je LBB6_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB6_6
LBB6_2:
jmp LBB6_3
LBB6_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -40(%rbp)
je LBB6_5
## %bb.4: ## in Loop: Header=BB6_3 Depth=1
movq -40(%rbp), %rdi
addq $50, %rdi
movq -24(%rbp), %rsi
movl $140, %edx
callq ___strcpy_chk
movq -40(%rbp), %rax
movq 200(%rax), %rax
movq %rax, -40(%rbp)
jmp LBB6_3
LBB6_5:
jmp LBB6_6
LBB6_6:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $432, %rsp ## imm = 0x1B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -372(%rbp)
leaq -224(%rbp), %rdi
xorl %esi, %esi
movl $51, %edx
callq _memset
leaq -368(%rbp), %rdi
xorl %esi, %esi
movl $141, %edx
callq _memset
movl $0, -380(%rbp)
movl $-1, -384(%rbp)
movl $0, -388(%rbp)
movq $0, -400(%rbp)
leaq -400(%rbp), %rdi
leaq -384(%rbp), %rsi
callq _createaboveSL
leaq -416(%rbp), %rdi
callq _time
movl %eax, %edi
callq _srand
LBB7_1: ## =>This Loop Header: Depth=1
## Child Loop BB7_25 Depth 2
## Child Loop BB7_57 Depth 2
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -373(%rbp)
cmpb $0, %al
je LBB7_71
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $-1, %eax
je LBB7_4
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $10, %eax
jne LBB7_38
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
cmpb $0, -374(%rbp)
je LBB7_35
## %bb.5: ## in Loop: Header=BB7_1 Depth=1
cmpl $1, -380(%rbp)
jne LBB7_7
## %bb.6: ## in Loop: Header=BB7_1 Depth=1
leaq -224(%rbp), %rdi
leaq -160(%rbp), %rsi
movl $51, %edx
callq ___strcpy_chk
jmp LBB7_10
LBB7_7: ## in Loop: Header=BB7_1 Depth=1
cmpl $2, -380(%rbp)
jle LBB7_9
## %bb.8: ## in Loop: Header=BB7_1 Depth=1
leaq -368(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movl $141, %edx
callq ___strcat_chk
leaq -368(%rbp), %rdi
leaq -160(%rbp), %rsi
movl $141, %edx
callq ___strcat_chk
LBB7_9: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_10
LBB7_10: ## in Loop: Header=BB7_1 Depth=1
movsbl -374(%rbp), %eax
cmpl $110, %eax
jne LBB7_12
## %bb.11: ## in Loop: Header=BB7_1 Depth=1
leaq -224(%rbp), %rsi
leaq -368(%rbp), %rdx
leaq -400(%rbp), %rdi
leaq -384(%rbp), %rcx
callq _insertSL
jmp LBB7_34
LBB7_12: ## in Loop: Header=BB7_1 Depth=1
movsbl -374(%rbp), %eax
cmpl $108, %eax
jne LBB7_14
## %bb.13: ## in Loop: Header=BB7_1 Depth=1
movq -400(%rbp), %rdi
leaq -224(%rbp), %rsi
leaq -368(%rbp), %rdx
movl -384(%rbp), %ecx
callq _changeSL
jmp LBB7_33
LBB7_14: ## in Loop: Header=BB7_1 Depth=1
movsbl -374(%rbp), %eax
cmpl $101, %eax
jne LBB7_16
## %bb.15: ## in Loop: Header=BB7_1 Depth=1
movq -400(%rbp), %rdi
leaq -224(%rbp), %rsi
movl -384(%rbp), %edx
callq _removeSL
jmp LBB7_32
LBB7_16: ## in Loop: Header=BB7_1 Depth=1
movsbl -374(%rbp), %eax
cmpl $117, %eax
jne LBB7_21
## %bb.17: ## in Loop: Header=BB7_1 Depth=1
movq -400(%rbp), %rdi
leaq -224(%rbp), %rsi
movl -384(%rbp), %ecx
xorl %edx, %edx
callq _searchSL
movq %rax, -408(%rbp)
movq -408(%rbp), %rdi
leaq -224(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
je LBB7_19
## %bb.18: ## in Loop: Header=BB7_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB7_20
LBB7_19: ## in Loop: Header=BB7_1 Depth=1
movq -408(%rbp), %rsi
movq -408(%rbp), %rdx
addq $50, %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB7_20: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_31
LBB7_21: ## in Loop: Header=BB7_1 Depth=1
movsbl -374(%rbp), %eax
cmpl $109, %eax
jne LBB7_29
## %bb.22: ## in Loop: Header=BB7_1 Depth=1
movq -400(%rbp), %rdi
leaq -224(%rbp), %rsi
movl -384(%rbp), %ecx
xorl %edx, %edx
callq _searchSL
movq %rax, -408(%rbp)
movq -408(%rbp), %rax
movq 216(%rax), %rax
movq %rax, -408(%rbp)
movq -408(%rbp), %rax
movsbl (%rax), %eax
movsbl -224(%rbp), %ecx
cmpl %ecx, %eax
je LBB7_24
## %bb.23: ## in Loop: Header=BB7_1 Depth=1
movsbl -224(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB7_28
LBB7_24: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_25
LBB7_25: ## Parent Loop BB7_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -408(%rbp), %rax
movsbl (%rax), %eax
movsbl -224(%rbp), %ecx
cmpl %ecx, %eax
jne LBB7_27
## %bb.26: ## in Loop: Header=BB7_25 Depth=2
movq -408(%rbp), %rsi
movq -408(%rbp), %rdx
addq $50, %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -408(%rbp), %rax
movq 216(%rax), %rax
movq %rax, -408(%rbp)
jmp LBB7_25
LBB7_27: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_28
LBB7_28: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_30
LBB7_29: ## in Loop: Header=BB7_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB7_30: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_31
LBB7_31: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_32
LBB7_32: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_33
LBB7_33: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_34
LBB7_34: ## in Loop: Header=BB7_1 Depth=1
movl $0, -380(%rbp)
movb $0, -374(%rbp)
LBB7_35: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $-1, %eax
jne LBB7_37
## %bb.36:
jmp LBB7_71
LBB7_37: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_56
LBB7_38: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $105, %eax
je LBB7_42
## %bb.39: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $97, %eax
je LBB7_42
## %bb.40: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $114, %eax
je LBB7_42
## %bb.41: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $98, %eax
jne LBB7_43
LBB7_42: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %edi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _ungetc
jmp LBB7_55
LBB7_43: ## in Loop: Header=BB7_1 Depth=1
movsbl -373(%rbp), %eax
cmpl $32, %eax
jne LBB7_54
## %bb.44: ## in Loop: Header=BB7_1 Depth=1
movl -380(%rbp), %eax
addl $1, %eax
movl %eax, -380(%rbp)
cmpl $1, -380(%rbp)
jne LBB7_46
## %bb.45: ## in Loop: Header=BB7_1 Depth=1
movb -159(%rbp), %al
movb %al, -374(%rbp)
jmp LBB7_53
LBB7_46: ## in Loop: Header=BB7_1 Depth=1
cmpl $2, -380(%rbp)
jne LBB7_48
## %bb.47: ## in Loop: Header=BB7_1 Depth=1
leaq -224(%rbp), %rdi
leaq -160(%rbp), %rsi
movl $51, %edx
callq ___strcpy_chk
jmp LBB7_52
LBB7_48: ## in Loop: Header=BB7_1 Depth=1
cmpl $3, -380(%rbp)
jne LBB7_50
## %bb.49: ## in Loop: Header=BB7_1 Depth=1
leaq -368(%rbp), %rdi
leaq -160(%rbp), %rsi
movl $141, %edx
callq ___strcpy_chk
jmp LBB7_51
LBB7_50: ## in Loop: Header=BB7_1 Depth=1
leaq -368(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movl $141, %edx
callq ___strcat_chk
leaq -368(%rbp), %rdi
leaq -160(%rbp), %rsi
movl $141, %edx
callq ___strcat_chk
LBB7_51: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_52
LBB7_52: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_53
LBB7_53: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_54
LBB7_54: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_55
LBB7_55: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_56
LBB7_56: ## in Loop: Header=BB7_1 Depth=1
movl $0, -388(%rbp)
LBB7_57: ## Parent Loop BB7_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -373(%rbp)
movsbl %al, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -417(%rbp) ## 1-byte Spill
je LBB7_61
## %bb.58: ## in Loop: Header=BB7_57 Depth=2
movsbl -373(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $32, %ecx
movb %al, -417(%rbp) ## 1-byte Spill
je LBB7_61
## %bb.59: ## in Loop: Header=BB7_57 Depth=2
movsbl -373(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $10, %ecx
movb %al, -417(%rbp) ## 1-byte Spill
je LBB7_61
## %bb.60: ## in Loop: Header=BB7_57 Depth=2
movsbl -373(%rbp), %eax
cmpl $-1, %eax
setne %al
movb %al, -417(%rbp) ## 1-byte Spill
LBB7_61: ## in Loop: Header=BB7_57 Depth=2
movb -417(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB7_62
jmp LBB7_70
LBB7_62: ## in Loop: Header=BB7_57 Depth=2
movsbl -373(%rbp), %eax
cmpl $65, %eax
jl LBB7_64
## %bb.63: ## in Loop: Header=BB7_57 Depth=2
movsbl -373(%rbp), %eax
cmpl $90, %eax
jle LBB7_66
LBB7_64: ## in Loop: Header=BB7_57 Depth=2
movsbl -373(%rbp), %eax
cmpl $97, %eax
jl LBB7_67
## %bb.65: ## in Loop: Header=BB7_57 Depth=2
movsbl -373(%rbp), %eax
cmpl $122, %eax
jg LBB7_67
LBB7_66: ## in Loop: Header=BB7_57 Depth=2
movb -373(%rbp), %cl
movslq -388(%rbp), %rax
movb %cl, -160(%rbp,%rax)
jmp LBB7_68
LBB7_67: ## in Loop: Header=BB7_57 Depth=2
movl -388(%rbp), %eax
addl $-1, %eax
movl %eax, -388(%rbp)
LBB7_68: ## in Loop: Header=BB7_57 Depth=2
jmp LBB7_69
LBB7_69: ## in Loop: Header=BB7_57 Depth=2
movl -388(%rbp), %eax
addl $1, %eax
movl %eax, -388(%rbp)
jmp LBB7_57
LBB7_70: ## in Loop: Header=BB7_1 Depth=1
movslq -388(%rbp), %rax
movb $0, -160(%rbp,%rax)
movsbl -373(%rbp), %edi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _ungetc
jmp LBB7_1
LBB7_71:
movq -400(%rbp), %rdi
callq _deleteSL
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_73
## %bb.72:
xorl %eax, %eax
addq $432, %rsp ## imm = 0x1B0
popq %rbp
retq
LBB7_73:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "OPERACAO INVALIDA\n"
L_.str.1: ## @.str.1
.asciz " "
L_.str.2: ## @.str.2
.asciz "%s %s\n"
L_.str.3: ## @.str.3
.asciz "NAO HA PALAVRAS INICIADAS POR %c\n"
.subsections_via_symbols
| the_stack_data/1009211.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #24] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-16]
mov x9, sp
mov x8, #420
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
mov w1, #2561
bl _open
ldr w8, [sp, #24] ; 4-byte Folded Reload
stur w0, [x29, #-20]
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-20]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
bl _write
ldur w0, [x29, #-20]
bl _close
b LBB0_3
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
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 "wewakecorp"
l_.str.1: ; @.str.1
.asciz "./test.txt"
l_.str.2: ; @.str.2
.asciz "file open failed.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -16(%rbp)
leaq L_.str.1(%rip), %rdi
movl $2561, %esi ## imm = 0xA01
movl $420, %edx ## imm = 0x1A4
movb $0, %al
callq _open
movl %eax, %ecx
movl %ecx, -20(%rbp)
xorl %eax, %eax
cmpl %ecx, %eax
jge LBB0_2
## %bb.1:
movl -20(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movl -36(%rbp), %edi ## 4-byte Reload
movq -32(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _write
movl -20(%rbp), %edi
callq _close
jmp LBB0_3
LBB0_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "wewakecorp"
L_.str.1: ## @.str.1
.asciz "./test.txt"
L_.str.2: ## @.str.2
.asciz "file open failed.\n"
.subsections_via_symbols
| the_stack_data/88386.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wcsncmp ; -- Begin function wcsncmp
.p2align 2
_wcsncmp: ; @wcsncmp
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
subs x8, x8, #1
str x8, [sp, #8]
ldr x8, [sp, #24]
add x8, x8, #4
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #4
str x8, [sp, #16]
b LBB0_1
LBB0_8:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr x8, [sp, #24]
ldr w8, [x8]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
str w8, [sp] ; 4-byte Folded Spill
b LBB0_11
LBB0_10:
mov w8, #0
str w8, [sp] ; 4-byte Folded Spill
b LBB0_11
LBB0_11:
ldr w0, [sp] ; 4-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 _wcsncmp ## -- Begin function wcsncmp
.p2align 4, 0x90
_wcsncmp: ## @wcsncmp
.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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -24(%rbp)
movb %al, -25(%rbp) ## 1-byte Spill
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl (%rdx), %ecx
movb %al, -25(%rbp) ## 1-byte Spill
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, (%rcx)
movb %al, -25(%rbp) ## 1-byte Spill
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
cmpl $0, (%rax)
setne %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_6
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
addq $-1, %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
addq $4, %rax
movq %rax, -8(%rbp)
movq -16(%rbp), %rax
addq $4, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_8:
cmpq $0, -24(%rbp)
je LBB0_10
## %bb.9:
movq -8(%rbp), %rax
movl (%rax), %eax
movq -16(%rbp), %rcx
subl (%rcx), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
jmp LBB0_11
LBB0_10:
xorl %eax, %eax
movl %eax, -32(%rbp) ## 4-byte Spill
jmp LBB0_11
LBB0_11:
movl -32(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/69548.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrixReshape ; -- Begin function matrixReshape
.p2align 2
_matrixReshape: ; @matrixReshape
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur x2, [x29, #-32]
stur w3, [x29, #-36]
stur w4, [x29, #-40]
str x5, [sp, #48]
str x6, [sp, #40]
ldur w8, [x29, #-20]
ldr x9, [sp, #48]
str w8, [x9]
ldur x8, [x29, #-32]
ldr w8, [x8]
ldur w9, [x29, #-20]
mul w8, w8, w9
ldur w9, [x29, #-36]
ldur w10, [x29, #-40]
mul w9, w9, w10
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-32]
ldr x9, [sp, #40]
str x8, [x9]
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB0_11
LBB0_2:
ldursw x9, [x29, #-36]
mov x8, #8
mul x0, x8, x9
bl _malloc
str x0, [sp, #32]
ldursw x9, [x29, #-36]
mov x8, #4
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #40]
str x0, [x8]
str wzr, [sp, #20]
str wzr, [sp, #28]
b LBB0_3
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
ldr w8, [sp, #28]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldursw x9, [x29, #-40]
mov x8, #4
mul x0, x8, x9
bl _malloc
str x0, [sp]
str wzr, [sp, #24]
b LBB0_5
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=2
ldr w8, [sp, #20]
ldur x9, [x29, #-32]
ldr w9, [x9]
sdiv w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #20]
ldur x9, [x29, #-32]
ldr w10, [x9]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #12]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp]
ldrsw x10, [sp, #24]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-40]
ldr x9, [sp, #40]
ldr x9, [x9]
ldrsw x10, [sp, #28]
str w8, [x9, x10, lsl #2]
ldr x8, [sp]
ldr x9, [sp, #32]
ldrsw x10, [sp, #28]
str x8, [x9, x10, lsl #3]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_3
LBB0_10:
ldur w8, [x29, #-36]
ldr x9, [sp, #48]
str w8, [x9]
ldr x8, [sp, #32]
stur x8, [x29, #-8]
b LBB0_11
LBB0_11:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-44]
adrp x8, l___const.main.a1@PAGE
add x8, x8, l___const.main.a1@PAGEOFF
ldr x8, [x8]
sub x9, x29, #16
stur x8, [x29, #-16]
adrp x8, l___const.main.b1@PAGE
add x8, x8, l___const.main.b1@PAGEOFF
ldr x10, [x8]
sub x8, x29, #24
stur x10, [x29, #-24]
sub x0, x29, #40
stur x9, [x29, #-40]
stur x8, [x29, #-32]
add x2, sp, #36
mov w1, #2
str w1, [sp, #36]
mov w3, #4
mov w4, #1
add x5, sp, #32
add x6, sp, #24
bl _matrixReshape
str x0, [sp, #40]
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #16]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #40]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
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 LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_8:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
bl ___stack_chk_fail
LBB1_10:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 2 ; @__const.main.a1
l___const.main.a1:
.long 1 ; 0x1
.long 2 ; 0x2
.p2align 2 ; @__const.main.b1
l___const.main.b1:
.long 3 ; 0x3
.long 4 ; 0x4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%i"
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrixReshape ## -- Begin function matrixReshape
.p2align 4, 0x90
_matrixReshape: ## @matrixReshape
.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 16(%rbp), %rax
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movl %r8d, -40(%rbp)
movq %r9, -48(%rbp)
movl -20(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movq -32(%rbp), %rax
movl (%rax), %eax
imull -20(%rbp), %eax
movl -36(%rbp), %ecx
imull -40(%rbp), %ecx
cmpl %ecx, %eax
je LBB0_2
## %bb.1:
movq -32(%rbp), %rcx
movq 16(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_11
LBB0_2:
movslq -36(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -56(%rbp)
movslq -36(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, %rcx
movq 16(%rbp), %rax
movq %rcx, (%rax)
movl $0, -68(%rbp)
movl $0, -60(%rbp)
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movl -60(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq -40(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -88(%rbp)
movl $0, -64(%rbp)
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -64(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movl -68(%rbp), %eax
movq -32(%rbp), %rcx
cltd
idivl (%rcx)
movl %eax, -72(%rbp)
movl -68(%rbp), %eax
movq -32(%rbp), %rcx
cltd
idivl (%rcx)
movl %edx, -76(%rbp)
movq -16(%rbp), %rax
movslq -72(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -76(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -88(%rbp), %rax
movslq -64(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movl -40(%rbp), %edx
movq 16(%rbp), %rax
movq (%rax), %rax
movslq -60(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -88(%rbp), %rdx
movq -56(%rbp), %rax
movslq -60(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_3
LBB0_10:
movl -36(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movq -56(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_11:
movq -8(%rbp), %rax
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 $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movq L___const.main.a1(%rip), %rax
movq %rax, -16(%rbp)
movq L___const.main.b1(%rip), %rax
movq %rax, -24(%rbp)
leaq -16(%rbp), %rax
movq %rax, -48(%rbp)
leaq -24(%rbp), %rax
movq %rax, -40(%rbp)
movl $2, -68(%rbp)
leaq -48(%rbp), %rdi
movl $2, %esi
leaq -68(%rbp), %rdx
movl $4, %ecx
movl $1, %r8d
leaq -72(%rbp), %r9
leaq -80(%rbp), %rax
movq %rax, (%rsp)
callq _matrixReshape
movq %rax, -64(%rbp)
movl $0, -84(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpl $4, -84(%rbp)
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -88(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, -88(%rbp)
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -64(%rbp), %rax
movslq -84(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -88(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB1_1
LBB1_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_10
## %bb.9:
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
LBB1_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 2 ## @__const.main.a1
L___const.main.a1:
.long 1 ## 0x1
.long 2 ## 0x2
.p2align 2 ## @__const.main.b1
L___const.main.b1:
.long 3 ## 0x3
.long 4 ## 0x4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%i"
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
| the_stack_data/767787.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #8480
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #288
mov x8, x0
adrp x9, ___stderrp@GOTPAGE
ldr x9, [x9, ___stderrp@GOTPAGEOFF]
str x9, [sp, #64] ; 8-byte Folded Spill
adrp x9, _optarg@GOTPAGE
ldr x9, [x9, _optarg@GOTPAGEOFF]
str x9, [sp, #72] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-24]
mov w0, #0
str wzr, [sp, #276]
str w8, [sp, #272]
str x1, [sp, #264]
; kill: def $x8 killed $xzr
str xzr, [sp, #104]
str xzr, [sp, #96]
str xzr, [sp, #88]
str xzr, [sp, #80]
bl _umask
ldr w8, [sp, #272]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _helptext@PAGE
ldr x1, [x8, _helptext@PAGEOFF]
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #272]
ldr x1, [sp, #264]
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
adrp x3, _long_options@PAGE
add x3, x3, _long_options@PAGEOFF
add x4, sp, #260
bl _getopt_long
str w0, [sp, #256]
subs w8, w0, #0
cset w8, lt
tbnz w8, #0, LBB0_25
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #256]
subs w8, w8, #68
; kill: def $x8 killed $w8
str x8, [sp, #56] ; 8-byte Folded Spill
subs x8, x8, #50
cset w8, hi
tbnz w8, #0, LBB0_23
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [sp, #56] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _xfopen
str x0, [sp, #88]
ldr x0, [sp, #88]
bl _fileno
add x1, sp, #112
bl _fstat
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
bl _perror_msg_and_die
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #208]
subs x8, x8, #10
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _error_msg_and_die
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
b LBB0_24
LBB0_11:
adrp x8, _helptext@PAGE
ldr x0, [x8, _helptext@PAGEOFF]
bl _printf
mov w0, #0
bl _exit
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _rootdir@PAGE
ldr x8, [x8, _rootdir@PAGEOFF]
adrp x9, _default_rootdir@PAGE
add x9, x9, _default_rootdir@PAGEOFF
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _error_msg_and_die
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
bl _opendir
mov x8, x0
str x8, [sp, #80]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
bl _perror_msg_and_die
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [sp, #80]
bl _closedir
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
mov w8, #0
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _xstrdup
adrp x8, _rootdir@PAGE
str x0, [x8, _rootdir@PAGEOFF]
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
bl _xstrdup
adrp x8, _rootdir@PAGE
str x0, [x8, _rootdir@PAGEOFF]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
b LBB0_24
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
adrp x9, _trace@PAGE
mov w8, #1
str w8, [x9, _trace@PAGEOFF]
b LBB0_24
LBB0_22:
mov x9, sp
adrp x8, l_.str.7@PAGE
add x8, x8, l_.str.7@PAGEOFF
str x8, [x9]
adrp x8, l_.str.8@PAGE
add x8, x8, l_.str.8@PAGEOFF
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_23:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _helptext@PAGE
ldr x1, [x8, _helptext@PAGEOFF]
bl _fprintf
mov w0, #1
bl _exit
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_25:
ldr x8, [sp, #264]
adrp x9, _optind@GOTPAGE
ldr x9, [x9, _optind@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _helptext@PAGE
ldr x1, [x8, _helptext@PAGEOFF]
bl _fprintf
mov w0, #1
bl _exit
LBB0_27:
adrp x8, _rootdir@PAGE
str x8, [sp, #24] ; 8-byte Folded Spill
ldr x8, [x8, _rootdir@PAGEOFF]
mov x9, sp
str x8, [x9]
add x0, sp, #1, lsl #12 ; =4096
add x0, x0, #280
str x0, [sp, #48] ; 8-byte Folded Spill
mov w1, #0
str w1, [sp, #36] ; 4-byte Folded Spill
mov x2, #4096
str x2, [sp, #40] ; 8-byte Folded Spill
adrp x3, l_.str.9@PAGE
add x3, x3, l_.str.9@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldr x2, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, _rootdir@PAGEOFF]
mov x9, sp
str x8, [x9]
add x0, sp, #280
adrp x3, l_.str.10@PAGE
add x3, x3, l_.str.10@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #48] ; 8-byte Folded Reload
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #104]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
ldr x0, [sp, #104]
adrp x1, _usr_list@PAGE
add x1, x1, _usr_list@PAGEOFF
bl _get_list_from_file
ldr x0, [sp, #104]
bl _fclose
b LBB0_29
LBB0_29:
add x0, sp, #280
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #96]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30:
ldr x0, [sp, #96]
adrp x1, _grp_list@PAGE
add x1, x1, _grp_list@PAGEOFF
bl _get_list_from_file
ldr x0, [sp, #96]
bl _fclose
b LBB0_31
LBB0_31:
ldr x8, [sp, #88]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
ldr x0, [sp, #88]
bl _parse_devtable
ldr x0, [sp, #88]
bl _fclose
b LBB0_33
LBB0_33:
adrp x8, _usr_list@PAGE
ldr x0, [x8, _usr_list@PAGEOFF]
bl _free_list
adrp x8, _grp_list@PAGE
ldr x0, [x8, _grp_list@PAGEOFF]
bl _free_list
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_35
b LBB0_34
LBB0_34:
bl ___stack_chk_fail
LBB0_35:
mov w0, #0
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #288
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_6-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_11-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_21-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_22-Ltmp0
; -- End function
.p2align 2 ; -- Begin function xfopen
_xfopen: ; @xfopen
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _fopen
mov x8, x0
str x8, [sp, #8]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _perror_msg_and_die
b LBB1_2
LBB1_2:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function perror_msg_and_die
_perror_msg_and_die: ; @perror_msg_and_die
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
mov x9, sp
add x8, x29, #16
str x8, [x9]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _vperror_msg
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function error_msg_and_die
_error_msg_and_die: ; @error_msg_and_die
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
mov x9, sp
add x8, x29, #16
str x8, [x9]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _verror_msg
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x1, [x8]
mov w0, #10
bl _putc
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function xstrdup
_xstrdup: ; @xstrdup
.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]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB4_5
LBB4_2:
ldr x0, [sp, #16]
bl _strdup
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _error_msg_and_die
b LBB4_4
LBB4_4:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB4_5
LBB4_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function get_list_from_file
_get_list_from_file: ; @get_list_from_file
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur wzr, [x29, #-28]
mov x8, #256
str x8, [sp, #24]
ldr x0, [sp, #24]
bl _malloc
mov x8, x0
stur x8, [x29, #-24]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _error_msg_and_die
b LBB5_2
LBB5_2:
b LBB5_3
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldur x2, [x29, #-8]
sub x0, x29, #24
add x1, sp, #24
bl _getline
mov x8, x0
mov x9, x0
stur w9, [x29, #-28]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=1
ldur x0, [x29, #-24]
bl _parse_line
str x0, [sp, #16]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=1
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
str x8, [x9]
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #8]
b LBB5_7
LBB5_6: ; in Loop: Header=BB5_3 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #56]
ldr x8, [sp, #8]
ldr x8, [x8, #56]
str x8, [sp, #8]
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_3 Depth=1
b LBB5_3
LBB5_8:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_10
b LBB5_9
LBB5_9:
ldur x0, [x29, #-24]
bl _free
b LBB5_10
LBB5_10:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function parse_devtable
_parse_devtable: ; @parse_devtable
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x8, _rootdir@PAGE
ldr x0, [x8, _rootdir@PAGEOFF]
add x1, sp, #8
bl _lstat
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x8, _rootdir@PAGE
ldr x8, [x8, _rootdir@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _perror_msg_and_die
b LBB6_2
LBB6_2:
adrp x8, _rootdir@PAGE
ldr x0, [x8, _rootdir@PAGEOFF]
bl _chdir
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
adrp x8, _rootdir@PAGE
ldr x8, [x8, _rootdir@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _perror_msg_and_die
b LBB6_4
LBB6_4:
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
ldur x0, [x29, #-8]
bl _parse_device_table
b LBB6_6
LBB6_6:
mov w0, #0
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function free_list
_free_list: ; @free_list
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
str x8, [sp, #8]
ldr x8, [sp]
ldr x8, [x8, #56]
str x8, [sp]
ldr x0, [sp, #8]
bl _free
b LBB7_1
LBB7_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vperror_msg
_vperror_msg: ; @vperror_msg
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
bl ___error
ldr w8, [x0]
stur w8, [x29, #-20]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
stur x8, [x29, #-8]
b LBB8_2
LBB8_2:
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
bl _verror_msg
ldur x8, [x29, #-8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3:
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
stur x8, [x29, #-8]
b LBB8_4
LBB8_4:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #32] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
str x8, [sp, #24] ; 8-byte Folded Spill
ldur w0, [x29, #-20]
bl _strerror
ldr x10, [sp, #24] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function verror_msg
_verror_msg: ; @verror_msg
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.7@PAGE
add x8, x8, l_.str.7@PAGEOFF
str x8, [x9]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x1, [x29, #-8]
ldr x2, [sp, #16]
bl _vfprintf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function parse_line
_parse_line: ; @parse_line
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #32]
bl _alloc_node
str x0, [sp, #8]
ldr x8, [sp, #32]
str x8, [sp, #24]
str wzr, [sp, #20]
b LBB10_1
LBB10_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #58
cset w8, eq
tbnz w8, #0, LBB10_5
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #40
cset w8, le
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3: ; in Loop: Header=BB10_1 Depth=1
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _error_msg_and_die
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_1 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrb w8, [x8]
ldr x9, [sp, #8]
ldrsw x10, [sp, #20]
mov x11, x10
add w11, w11, #1
str w11, [sp, #20]
add x9, x9, x10
strb w8, [x9]
b LBB10_1
LBB10_5:
ldr x8, [sp, #8]
ldrsw x9, [sp, #20]
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB10_6
LBB10_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #58
cset w8, eq
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7: ; in Loop: Header=BB10_6 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB10_6
LBB10_8:
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
str wzr, [sp, #20]
b LBB10_9
LBB10_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #58
cset w8, eq
tbnz w8, #0, LBB10_13
b LBB10_10
LBB10_10: ; in Loop: Header=BB10_9 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #40
cset w8, le
tbnz w8, #0, LBB10_12
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_9 Depth=1
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _error_msg_and_die
b LBB10_12
LBB10_12: ; in Loop: Header=BB10_9 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrb w8, [x8]
ldrsw x10, [sp, #20]
mov x9, x10
add w9, w9, #1
str w9, [sp, #20]
add x9, sp, #47
add x9, x9, x10
strb w8, [x9]
b LBB10_9
LBB10_13:
ldrsw x9, [sp, #20]
add x0, sp, #47
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
bl _atol
ldr x8, [sp, #8]
str x0, [x8, #48]
ldr x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB10_15
b LBB10_14
LBB10_14:
bl ___stack_chk_fail
LBB10_15:
ldr x0, [sp] ; 8-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function alloc_node
_alloc_node: ; @alloc_node
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #64
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _error_msg_and_die
b LBB11_2
LBB11_2:
ldr x0, [sp, #8]
mov w1, #0
mov x2, #41
mov x3, #-1
bl ___memset_chk
ldr x9, [sp, #8]
mov x8, #4294967295
str x8, [x9, #48]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #56]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function parse_device_table
_parse_device_table: ; @parse_device_table
.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]
mov x8, #256
str x8, [sp, #24]
str wzr, [sp, #20]
ldr x0, [sp, #24]
bl _malloc
mov x8, x0
stur x8, [x29, #-16]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _error_msg_and_die
b LBB12_2
LBB12_2:
b LBB12_3
LBB12_3: ; =>This Loop Header: Depth=1
; Child Loop BB12_5 Depth 2
ldur x2, [x29, #-8]
sub x0, x29, #16
add x1, sp, #24
bl _getline
mov x8, x0
mov x9, x0
str w9, [sp, #20]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB12_13
b LBB12_4
LBB12_4: ; in Loop: Header=BB12_3 Depth=1
b LBB12_5
LBB12_5: ; Parent Loop BB12_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB12_7
b LBB12_6
LBB12_6: ; in Loop: Header=BB12_5 Depth=2
ldur x8, [x29, #-16]
ldr w9, [sp, #20]
subs w9, w9, #1
ldrsb w0, [x8, w9, sxtw]
bl _isspace
subs w8, w0, #0
cset w8, ne
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB12_7
LBB12_7: ; in Loop: Header=BB12_5 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB12_9
b LBB12_8
LBB12_8: ; in Loop: Header=BB12_5 Depth=2
ldur x8, [x29, #-16]
ldr w9, [sp, #20]
subs w9, w9, #1
str w9, [sp, #20]
add x8, x8, w9, sxtw
strb wzr, [x8]
b LBB12_5
LBB12_9: ; in Loop: Header=BB12_3 Depth=1
ldur x8, [x29, #-16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _strspn
ldr x8, [sp] ; 8-byte Folded Reload
mov x9, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
add x1, x8, x9
ldr w8, [sp, #20]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memmove_chk
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #35
cset w8, eq
tbnz w8, #0, LBB12_12
b LBB12_10
LBB12_10: ; in Loop: Header=BB12_3 Depth=1
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB12_12
b LBB12_11
LBB12_11: ; in Loop: Header=BB12_3 Depth=1
ldur x0, [x29, #-16]
bl _interpret_table_entry
b LBB12_12
LBB12_12: ; in Loop: Header=BB12_3 Depth=1
b LBB12_3
LBB12_13:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB12_15
b LBB12_14
LBB12_14:
ldur x0, [x29, #-16]
bl _free
b LBB12_15
LBB12_15:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function interpret_table_entry
_interpret_table_entry: ; @interpret_table_entry
.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, #4528
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #432
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #248]
add x14, sp, #224
mov x8, #493
str x8, [sp, #224]
str xzr, [sp, #216]
str xzr, [sp, #208]
add x13, sp, #200
str xzr, [sp, #200]
add x12, sp, #192
str xzr, [sp, #192]
add x11, sp, #184
str xzr, [sp, #184]
add x10, sp, #176
mov x8, #1
str x8, [sp, #176]
add x8, sp, #168
str xzr, [sp, #168]
ldr x0, [sp, #248]
mov x9, sp
str x9, [sp, #144] ; 8-byte Folded Spill
add x15, sp, #344
str x15, [x9]
add x15, sp, #239
str x15, [x9, #8]
str x14, [x9, #16]
sub x14, x29, #64
str x14, [x9, #24]
sub x14, x29, #104
str x14, [x9, #32]
str x13, [x9, #40]
str x12, [x9, #48]
str x11, [x9, #56]
str x10, [x9, #64]
str x8, [x9, #72]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _sscanf
mov w8, #0
subs w8, w8, w0
cset w8, le
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #248]
mov x9, sp
adrp x10, l_.str.7@PAGE
add x10, x10, l_.str.7@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
mov w8, #1
str w8, [sp, #260]
b LBB13_21
LBB13_2:
adrp x8, _usr_list@PAGE
ldr x1, [x8, _usr_list@PAGEOFF]
sub x0, x29, #64
bl _convert2guid
str x0, [sp, #216]
adrp x8, _grp_list@PAGE
ldr x1, [x8, _grp_list@PAGEOFF]
sub x0, x29, #104
bl _convert2guid
str x0, [sp, #208]
add x0, sp, #344
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x2, #1
bl _strncmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB13_4
b LBB13_3
LBB13_3:
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _error_msg_and_die
b LBB13_4
LBB13_4:
add x8, sp, #344
str x8, [sp, #128] ; 8-byte Folded Spill
add x0, x8, #1
bl _xstrdup
mov x8, x0
ldr x0, [sp, #128] ; 8-byte Folded Reload
str x8, [sp, #240]
adrp x8, _rootdir@PAGE
ldr x10, [x8, _rootdir@PAGEOFF]
ldr x8, [sp, #240]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov w1, #0
mov x2, #4096
adrp x3, l_.str.28@PAGE
add x3, x3, l_.str.28@PAGEOFF
bl ___sprintf_chk
ldrsb w8, [sp, #239]
subs w8, w8, #98
; kill: def $x8 killed $w8
str x8, [sp, #136] ; 8-byte Folded Spill
subs x8, x8, #14
cset w8, hi
tbnz w8, #0, LBB13_17
; %bb.5:
ldr x11, [sp, #136] ; 8-byte Folded Reload
adrp x10, lJTI13_0@PAGE
add x10, x10, lJTI13_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB13_6:
ldr x8, [sp, #224]
orr x8, x8, #0x4000
str x8, [sp, #224]
ldr x0, [sp, #240]
ldr x2, [sp, #216]
ldr x3, [sp, #208]
ldr x4, [sp, #224]
add x1, sp, #344
bl _add_new_directory
b LBB13_18
LBB13_7:
ldr x8, [sp, #224]
orr x8, x8, #0x8000
str x8, [sp, #224]
ldr x0, [sp, #240]
ldr x2, [sp, #216]
ldr x3, [sp, #208]
ldr x4, [sp, #224]
add x1, sp, #344
bl _add_new_file
b LBB13_18
LBB13_8:
ldr x8, [sp, #224]
orr x8, x8, #0x1000
str x8, [sp, #224]
ldr x0, [sp, #240]
ldr x2, [sp, #216]
ldr x3, [sp, #208]
ldr x4, [sp, #224]
add x1, sp, #344
bl _add_new_fifo
b LBB13_18
LBB13_9:
ldrsb w8, [sp, #239]
subs w8, w8, #99
cset w8, eq
and w10, w8, #0x1
mov w9, #24576
mov w8, #8192
ands w10, w10, #0x1
csel w9, w8, w9, ne
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
ldr x8, [sp, #224]
orr x8, x8, x9
str x8, [sp, #224]
ldr x8, [sp, #168]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB13_15
b LBB13_10
LBB13_10:
ldr x8, [sp, #184]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #164]
b LBB13_11
LBB13_11: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #164]
ldr x9, [sp, #184]
ldr x10, [sp, #168]
add x9, x9, x10
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB13_14
b LBB13_12
LBB13_12: ; in Loop: Header=BB13_11 Depth=1
ldr x10, [sp, #240]
ldr w9, [sp, #164]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
add x0, sp, #264
str x0, [sp, #120] ; 8-byte Folded Spill
mov w1, #0
str w1, [sp, #100] ; 4-byte Folded Spill
mov x2, #80
adrp x3, l_.str.29@PAGE
add x3, x3, l_.str.29@PAGEOFF
bl ___sprintf_chk
ldr w1, [sp, #100] ; 4-byte Folded Reload
adrp x8, _rootdir@PAGE
str x8, [sp, #88] ; 8-byte Folded Spill
ldr x11, [x8, _rootdir@PAGEOFF]
ldr x10, [sp, #240]
ldr w9, [sp, #164]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
add x0, sp, #344
str x0, [sp, #112] ; 8-byte Folded Spill
mov x2, #4096
str x2, [sp, #104] ; 8-byte Folded Spill
adrp x3, l_.str.30@PAGE
add x3, x3, l_.str.30@PAGEOFF
bl ___sprintf_chk
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr w1, [sp, #100] ; 4-byte Folded Reload
ldr x2, [sp, #104] ; 8-byte Folded Reload
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x0, [sp, #112] ; 8-byte Folded Reload
ldr x11, [sp, #200]
ldr x10, [sp, #192]
ldrsw x12, [sp, #164]
ldr x13, [sp, #184]
subs x12, x12, x13
ldr x13, [sp, #176]
mul x12, x12, x13
add x10, x10, x12
orr x10, x10, x11, lsl #8
; kill: def $w10 killed $w10 killed $x10
str w10, [sp, #160]
ldr x10, [x9, _rootdir@PAGEOFF]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x3, l_.str.31@PAGE
add x3, x3, l_.str.31@PAGEOFF
bl ___sprintf_chk
ldr x1, [sp, #112] ; 8-byte Folded Reload
ldr x0, [sp, #120] ; 8-byte Folded Reload
ldr x2, [sp, #216]
ldr x3, [sp, #208]
ldr x4, [sp, #224]
ldr w5, [sp, #160]
bl _add_new_device
b LBB13_13
LBB13_13: ; in Loop: Header=BB13_11 Depth=1
ldr w8, [sp, #164]
add w8, w8, #1
str w8, [sp, #164]
b LBB13_11
LBB13_14:
b LBB13_16
LBB13_15:
ldr x9, [sp, #200]
ldr x8, [sp, #192]
orr x8, x8, x9, lsl #8
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #156]
ldr x0, [sp, #240]
ldr x2, [sp, #216]
ldr x3, [sp, #208]
ldr x4, [sp, #224]
ldr w5, [sp, #156]
add x1, sp, #344
bl _add_new_device
b LBB13_16
LBB13_16:
b LBB13_18
LBB13_17:
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
bl _error_msg_and_die
b LBB13_18
LBB13_18:
ldr x8, [sp, #240]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB13_20
b LBB13_19
LBB13_19:
ldr x0, [sp, #240]
bl _free
b LBB13_20
LBB13_20:
str wzr, [sp, #260]
b LBB13_21
LBB13_21:
ldr w8, [sp, #260]
str w8, [sp, #84] ; 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, LBB13_23
b LBB13_22
LBB13_22:
bl ___stack_chk_fail
LBB13_23:
ldr w0, [sp, #84] ; 4-byte Folded Reload
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #432
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
.p2align 2
lJTI13_0:
.long LBB13_9-Ltmp1
.long LBB13_9-Ltmp1
.long LBB13_6-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_7-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_17-Ltmp1
.long LBB13_8-Ltmp1
; -- End function
.p2align 2 ; -- Begin function convert2guid
_convert2guid: ; @convert2guid
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
stur x8, [x29, #-32]
mov w8, #1
stur w8, [x29, #-36]
b LBB14_1
LBB14_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_5
b LBB14_2
LBB14_2: ; in Loop: Header=BB14_1 Depth=1
ldur x8, [x29, #-32]
ldrsb w0, [x8]
bl _isdigit
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3:
stur wzr, [x29, #-36]
b LBB14_5
LBB14_4: ; in Loop: Header=BB14_1 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB14_1
LBB14_5:
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_12
b LBB14_6
LBB14_6:
ldur x8, [x29, #-24]
str x8, [sp, #48]
b LBB14_7
LBB14_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_11
b LBB14_8
LBB14_8: ; in Loop: Header=BB14_7 Depth=1
ldr x8, [sp, #48]
str x8, [sp, #40] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp, #32] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x1, [sp, #32] ; 8-byte Folded Reload
mov x2, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB14_10
b LBB14_9
LBB14_9:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.33@PAGE
add x1, x1, l_.str.33@PAGEOFF
bl _fprintf
b LBB14_11
LBB14_10: ; in Loop: Header=BB14_7 Depth=1
ldr x8, [sp, #48]
ldr x8, [x8, #56]
str x8, [sp, #48]
b LBB14_7
LBB14_11:
ldur x0, [x29, #-16]
bl _atol
stur x0, [x29, #-8]
b LBB14_18
LBB14_12:
ldur x8, [x29, #-24]
str x8, [sp, #48]
b LBB14_13
LBB14_13: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_17
b LBB14_14
LBB14_14: ; in Loop: Header=BB14_13 Depth=1
ldr x8, [sp, #48]
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x1, [sp, #16] ; 8-byte Folded Reload
mov x2, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB14_16
b LBB14_15
LBB14_15:
ldr x8, [sp, #48]
ldr x8, [x8, #48]
stur x8, [x29, #-8]
b LBB14_18
LBB14_16: ; in Loop: Header=BB14_13 Depth=1
ldr x8, [sp, #48]
ldr x8, [x8, #56]
str x8, [sp, #48]
b LBB14_13
LBB14_17:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.34@PAGE
add x0, x0, l_.str.34@PAGEOFF
bl _error_msg_and_die
b LBB14_18
LBB14_18:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function add_new_directory
_add_new_directory: ; @add_new_directory
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
str x4, [sp, #40]
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x13, [x29, #-16]
ldur x12, [x29, #-8]
ldur x11, [x29, #-24]
ldur x10, [x29, #-32]
ldr x8, [sp, #40]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x1, l_.str.35@PAGE
add x1, x1, l_.str.35@PAGEOFF
bl _fprintf
b LBB15_2
LBB15_2:
ldur x0, [x29, #-16]
ldr x8, [sp, #40]
; kill: def $w8 killed $w8 killed $x8
and w1, w8, #0xffff
bl _mkdir
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB15_6
b LBB15_3
LBB15_3:
bl ___error
ldr w9, [x0]
mov w8, #17
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB15_5
b LBB15_4
LBB15_4:
ldur x0, [x29, #-16]
ldr x8, [sp, #40]
and x8, x8, #0xffffffffffff0fff
; kill: def $w8 killed $w8 killed $x8
and w1, w8, #0xffff
bl _chmod
b LBB15_5
LBB15_5:
b LBB15_6
LBB15_6:
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB15_8
b LBB15_7
LBB15_7:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x1, [x8]
mov w0, #10
bl _putc
b LBB15_8
LBB15_8:
ldur x0, [x29, #-16]
ldur x8, [x29, #-24]
mov x1, x8
ldur x8, [x29, #-32]
mov x2, x8
bl _chown
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function add_new_file
_add_new_file: ; @add_new_file
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
stur x4, [x29, #-40]
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x13, [x29, #-16]
ldur x12, [x29, #-8]
ldur x11, [x29, #-32]
ldur x10, [x29, #-24]
ldur x8, [x29, #-40]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x1, l_.str.36@PAGE
add x1, x1, l_.str.36@PAGEOFF
bl _fprintf
b LBB16_2
LBB16_2:
ldur x0, [x29, #-16]
ldur x8, [x29, #-40]
mov x9, sp
str x8, [x9]
mov w1, #513
bl _open
stur w0, [x29, #-44]
ldur w8, [x29, #-44]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_3:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.37@PAGE
add x0, x0, l_.str.37@PAGEOFF
bl _error_msg_and_die
b LBB16_5
LBB16_4:
ldur w0, [x29, #-44]
bl _close
b LBB16_5
LBB16_5:
ldur x0, [x29, #-16]
ldur x8, [x29, #-40]
; kill: def $w8 killed $w8 killed $x8
and w1, w8, #0xffff
bl _chmod
ldur x0, [x29, #-16]
ldur x8, [x29, #-24]
mov x1, x8
ldur x8, [x29, #-32]
mov x2, x8
bl _chown
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function add_new_fifo
_add_new_fifo: ; @add_new_fifo
.cfi_startproc
; %bb.0:
sub sp, sp, #272
.cfi_def_cfa_offset 272
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
stur x0, [x29, #-24]
stur x1, [x29, #-32]
stur x2, [x29, #-40]
stur x3, [x29, #-48]
stur x4, [x29, #-56]
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
ldur x13, [x29, #-32]
ldur x12, [x29, #-24]
ldur x11, [x29, #-48]
ldur x10, [x29, #-40]
ldur x8, [x29, #-56]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.38@PAGE
add x0, x0, l_.str.38@PAGEOFF
bl _printf
b LBB17_2
LBB17_2:
add x0, sp, #48
str x0, [sp, #40] ; 8-byte Folded Spill
mov w1, #0
mov x2, #144
bl _memset
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-32]
bl _stat
stur w0, [x29, #-60]
ldur w8, [x29, #-60]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB17_5
b LBB17_3
LBB17_3:
ldrh w8, [sp, #52]
and w8, w8, #0xf000
subs w8, w8, #1, lsl #12 ; =4096
cset w8, ne
tbnz w8, #0, LBB17_5
b LBB17_4
LBB17_4:
ldur x0, [x29, #-32]
ldur x8, [x29, #-56]
; kill: def $w8 killed $w8 killed $x8
and w1, w8, #0xffff
bl _chmod
b LBB17_8
LBB17_5:
ldur x0, [x29, #-32]
ldur x8, [x29, #-56]
; kill: def $w8 killed $w8 killed $x8
and w1, w8, #0xffff
mov w2, #0
bl _mknod
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB17_7
b LBB17_6
LBB17_6:
ldur x8, [x29, #-32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _error_msg_and_die
b LBB17_7
LBB17_7:
b LBB17_8
LBB17_8:
ldur x0, [x29, #-32]
ldur x8, [x29, #-40]
mov x1, x8
ldur x8, [x29, #-48]
mov x2, x8
bl _chown
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function add_new_device
_add_new_device: ; @add_new_device
.cfi_startproc
; %bb.0:
sub sp, sp, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #72] ; 8-byte Folded Spill
stur x0, [x29, #-24]
stur x1, [x29, #-32]
stur x2, [x29, #-40]
stur x3, [x29, #-48]
stur x4, [x29, #-56]
stur w5, [x29, #-60]
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB18_2
b LBB18_1
LBB18_1:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x15, [x29, #-32]
ldur x14, [x29, #-24]
ldur x13, [x29, #-40]
ldur x12, [x29, #-48]
ldur x8, [x29, #-56]
ldur w9, [x29, #-60]
asr w11, w9, #8
ldurb w10, [x29, #-60]
mov x9, sp
str x15, [x9]
str x14, [x9, #8]
str x13, [x9, #16]
str x12, [x9, #24]
str x8, [x9, #32]
; implicit-def: $x8
mov x8, x11
sxth x8, w8
str x8, [x9, #40]
; implicit-def: $x8
mov x8, x10
sxth x8, w8
str x8, [x9, #48]
adrp x1, l_.str.40@PAGE
add x1, x1, l_.str.40@PAGEOFF
bl _fprintf
b LBB18_2
LBB18_2:
add x0, sp, #80
str x0, [sp, #64] ; 8-byte Folded Spill
mov w1, #0
mov x2, #144
bl _memset
ldr x1, [sp, #64] ; 8-byte Folded Reload
ldur x0, [x29, #-32]
bl _lstat
stur w0, [x29, #-64]
ldur w8, [x29, #-64]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB18_15
b LBB18_3
LBB18_3:
ldur x8, [x29, #-56]
and x8, x8, #0xf000
ldrh w9, [sp, #84]
and w9, w9, #0xf000
subs x8, x8, w9, sxtw
cset w8, eq
tbnz w8, #0, LBB18_7
b LBB18_4
LBB18_4:
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB18_6
b LBB18_5
LBB18_5:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x1, [x8]
mov w0, #10
bl _putc
b LBB18_6
LBB18_6:
ldur x10, [x29, #-32]
ldrh w8, [sp, #84]
and w11, w8, #0xf000
ldur x8, [x29, #-56]
and x8, x8, #0xf000
mov x9, sp
str x10, [x9]
; implicit-def: $x10
mov x10, x11
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.41@PAGE
add x0, x0, l_.str.41@PAGEOFF
bl _error_msg_and_die
b LBB18_7
LBB18_7:
ldur x8, [x29, #-56]
ldrh w9, [sp, #84]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB18_11
b LBB18_8
LBB18_8:
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB18_10
b LBB18_9
LBB18_9:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-56]
and x8, x8, #0xffffffffffff0fff
ldrh w9, [sp, #84]
and w10, w9, #0xffff0fff
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x1, l_.str.42@PAGE
add x1, x1, l_.str.42@PAGEOFF
bl _fprintf
b LBB18_10
LBB18_10:
ldur x0, [x29, #-32]
ldur x8, [x29, #-56]
and x8, x8, #0xffffffffffff0fff
; kill: def $w8 killed $w8 killed $x8
and w1, w8, #0xffff
bl _chmod
b LBB18_14
LBB18_11:
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB18_13
b LBB18_12
LBB18_12:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-32]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl _fprintf
b LBB18_13
LBB18_13:
b LBB18_14
LBB18_14:
b LBB18_18
LBB18_15:
ldur x0, [x29, #-32]
ldur x8, [x29, #-56]
ldur w2, [x29, #-60]
; kill: def $w8 killed $w8 killed $x8
and w1, w8, #0xffff
bl _mknod
adrp x8, _trace@PAGE
ldr w8, [x8, _trace@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB18_17
b LBB18_16
LBB18_16:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x1, [x8]
mov w0, #10
bl _putc
b LBB18_17
LBB18_17:
b LBB18_18
LBB18_18:
ldur x0, [x29, #-32]
ldur x8, [x29, #-40]
mov x1, x8
ldur x8, [x29, #-48]
mov x2, x8
bl _chown
ldp x29, x30, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #304
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @helptext
_helptext:
.quad l_.str.11
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "D:d:r:htv"
.section __DATA,__data
.p2align 3 ; @long_options
_long_options:
.quad l_.str.12
.long 1 ; 0x1
.space 4
.quad 0
.long 114 ; 0x72
.space 4
.quad l_.str.13
.long 0 ; 0x0
.space 4
.quad 0
.long 104 ; 0x68
.space 4
.quad l_.str.14
.long 0 ; 0x0
.space 4
.quad 0
.long 116 ; 0x74
.space 4
.quad l_.str.15
.long 0 ; 0x0
.space 4
.quad 0
.long 118 ; 0x76
.space 4
.quad l_.str.16
.long 1 ; 0x1
.space 4
.quad 0
.long 68 ; 0x44
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "%s: not a proper device table file"
.section __DATA,__data
.p2align 3 ; @rootdir
_rootdir:
.quad _default_rootdir
_default_rootdir: ; @default_rootdir
.asciz "."
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "root directory specified more than once"
l_.str.4: ; @.str.4
.asciz "/"
l_.str.5: ; @.str.5
.space 1
.zerofill __DATA,__bss,_trace,4,2 ; @trace
l_.str.6: ; @.str.6
.asciz "%s: %s\n"
l_.str.7: ; @.str.7
.asciz "makedevs"
l_.str.8: ; @.str.8
.asciz "1.0.1"
l_.str.9: ; @.str.9
.asciz "%s/etc/passwd"
l_.str.10: ; @.str.10
.asciz "%s/etc/group"
.zerofill __DATA,__bss,_usr_list,8,3 ; @usr_list
.zerofill __DATA,__bss,_grp_list,8,3 ; @grp_list
l_.str.11: ; @.str.11
.asciz "Usage: makedevs [OPTIONS]\nBuild entries based upon device_table.txt\n\nOptions:\n -r, -d, --root=DIR Build filesystem from directory DIR (default: cwd)\n -D, --devtable=FILE Use the named FILE as a device table file\n -h, --help Display this help text\n -t, --trace Be verbose\n -v, --version Display version information\n\n"
l_.str.12: ; @.str.12
.asciz "root"
l_.str.13: ; @.str.13
.asciz "help"
l_.str.14: ; @.str.14
.asciz "trace"
l_.str.15: ; @.str.15
.asciz "version"
l_.str.16: ; @.str.16
.asciz "devtable"
l_.str.17: ; @.str.17
.asciz "%s"
l_.str.18: ; @.str.18
.asciz ": "
l_.str.19: ; @.str.19
.asciz "%s%s\n"
l_.str.20: ; @.str.20
.asciz "%s: "
l_.str.21: ; @.str.21
.asciz "memory exhausted"
l_.str.22: ; @.str.22
.asciz "Name field too long"
l_.str.23: ; @.str.23
.asciz "ID filed too long"
l_.str.24: ; @.str.24
.asciz " \n\r\t\013"
l_.str.25: ; @.str.25
.asciz "%40s %c %lo %40s %40s %lu %lu %lu %lu %lu"
l_.str.26: ; @.str.26
.asciz "%s: sscanf returned < 0 for line '%s'\n"
l_.str.27: ; @.str.27
.asciz "Device table entries require absolute paths"
l_.str.28: ; @.str.28
.asciz "%s/%s"
l_.str.29: ; @.str.29
.asciz "%s%d"
l_.str.30: ; @.str.30
.asciz "%s/%s%d"
.section __TEXT,__const
l_.str.31: ; @.str.31
.asciz "%s/%s\000"
.section __TEXT,__cstring,cstring_literals
l_.str.32: ; @.str.32
.asciz "Unsupported file type"
l_.str.33: ; @.str.33
.asciz "WARNING: Bad user/group name %s detected\n"
l_.str.34: ; @.str.34
.asciz "No entry for %s in search list"
l_.str.35: ; @.str.35
.asciz "Directory: %s %s UID: %ld GID %ld MODE: %04lo"
l_.str.36: ; @.str.36
.asciz "File: %s %s UID: %ld GID: %ld MODE: %04lo\n"
l_.str.37: ; @.str.37
.asciz "%s: file can not be created!"
l_.str.38: ; @.str.38
.asciz "Fifo: %s %s UID: %ld GID: %ld MODE: %04lo\n"
l_.str.39: ; @.str.39
.asciz "%s: file can not be created with mknod!"
l_.str.40: ; @.str.40
.asciz "Device: %s %s UID: %ld GID: %ld MODE: %04lo MAJOR: %d MINOR: %d"
l_.str.41: ; @.str.41
.asciz "%s: existing file (04%o) type does not match specified file type (04%lo)!"
l_.str.42: ; @.str.42
.asciz " -- applying new mode 04%lo (old was 04%o)\n"
l_.str.43: ; @.str.43
.asciz " -- extraneous entry in table\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $8432, %eax ## imm = 0x20F0
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -8212(%rbp)
movl %edi, -8216(%rbp)
movq %rsi, -8224(%rbp)
movq $0, -8384(%rbp)
movq $0, -8392(%rbp)
movq $0, -8400(%rbp)
movq $0, -8408(%rbp)
xorl %edi, %edi
callq _umask
cmpl $1, -8216(%rbp)
jne LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _helptext(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -8216(%rbp), %edi
movq -8224(%rbp), %rsi
leaq L_.str(%rip), %rdx
leaq _long_options(%rip), %rcx
leaq -8228(%rbp), %r8
callq _getopt_long
movl %eax, -8232(%rbp)
cmpl $0, %eax
jl LBB0_24
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -8232(%rbp), %eax
addl $-68, %eax
movl %eax, %ecx
movq %rcx, -8416(%rbp) ## 8-byte Spill
subl $50, %eax
ja LBB0_22
## %bb.35: ## in Loop: Header=BB0_3 Depth=1
movq -8416(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _xfopen
movq %rax, -8400(%rbp)
movq -8400(%rbp), %rdi
callq _fileno
movl %eax, %edi
leaq -8376(%rbp), %rsi
callq _fstat$INODE64
cmpl $0, %eax
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movb $0, %al
callq _perror_msg_and_die
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
cmpq $10, -8280(%rbp)
jge LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_23
LBB0_10:
movq _helptext(%rip), %rdi
xorl %eax, %eax
movl %eax, -8420(%rbp) ## 4-byte Spill
callq _printf
movl -8420(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
leaq _default_rootdir(%rip), %rax
cmpq %rax, _rootdir(%rip)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _opendir$INODE64
movq %rax, -8408(%rbp)
cmpq $0, %rax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movb $0, %al
callq _perror_msg_and_die
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movq -8408(%rbp), %rdi
callq _closedir
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.4(%rip), %rsi
callq _strcmp
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.5(%rip), %rdi
callq _xstrdup
movq %rax, _rootdir(%rip)
jmp LBB0_19
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _xstrdup
movq %rax, _rootdir(%rip)
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_23
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
movl $1, _trace(%rip)
jmp LBB0_23
LBB0_21:
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
leaq L_.str.8(%rip), %rdx
xorl %eax, %eax
movl %eax, -8424(%rbp) ## 4-byte Spill
callq _printf
movl -8424(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_22:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _helptext(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_24:
movq -8224(%rbp), %rax
movq _optind@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB0_26
## %bb.25:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _helptext(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_26:
leaq -4112(%rbp), %rdi
movq _rootdir(%rip), %r8
xorl %esi, %esi
movl $4096, %edx ## imm = 0x1000
leaq L_.str.9(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -8208(%rbp), %rdi
movq _rootdir(%rip), %r8
xorl %esi, %esi
movl $4096, %edx ## imm = 0x1000
leaq L_.str.10(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -4112(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -8384(%rbp)
cmpq $0, %rax
je LBB0_28
## %bb.27:
movq -8384(%rbp), %rdi
leaq _usr_list(%rip), %rsi
callq _get_list_from_file
movq -8384(%rbp), %rdi
callq _fclose
LBB0_28:
leaq -8208(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -8392(%rbp)
cmpq $0, %rax
je LBB0_30
## %bb.29:
movq -8392(%rbp), %rdi
leaq _grp_list(%rip), %rsi
callq _get_list_from_file
movq -8392(%rbp), %rdi
callq _fclose
LBB0_30:
cmpq $0, -8400(%rbp)
je LBB0_32
## %bb.31:
movq -8400(%rbp), %rdi
callq _parse_devtable
movq -8400(%rbp), %rdi
callq _fclose
LBB0_32:
movq _usr_list(%rip), %rdi
callq _free_list
movq _grp_list(%rip), %rdi
callq _free_list
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_34
## %bb.33:
xorl %eax, %eax
addq $8432, %rsp ## imm = 0x20F0
popq %rbp
retq
LBB0_34:
callq ___stack_chk_fail
ud2
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_11
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_10
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_11
.long L0_0_set_22
.long L0_0_set_20
.long L0_0_set_22
.long L0_0_set_21
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function xfopen
_xfopen: ## @xfopen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, %rax
jne LBB1_2
## %bb.1:
movq -8(%rbp), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _perror_msg_and_die
LBB1_2:
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function perror_msg_and_die
_perror_msg_and_die: ## @perror_msg_and_die
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
testb %al, %al
je LBB2_2
## %bb.1:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB2_2:
movq %r9, -168(%rbp)
movq %r8, -176(%rbp)
movq %rcx, -184(%rbp)
movq %rdx, -192(%rbp)
movq %rsi, -200(%rbp)
movq %rdi, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movl $48, -28(%rbp)
movl $8, -32(%rbp)
movq -8(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _vperror_msg
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function error_msg_and_die
_error_msg_and_die: ## @error_msg_and_die
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
testb %al, %al
je LBB3_2
## %bb.1:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB3_2:
movq %r9, -168(%rbp)
movq %r8, -176(%rbp)
movq %rcx, -184(%rbp)
movq %rdx, -192(%rbp)
movq %rsi, -200(%rbp)
movq %rdi, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movl $48, -28(%rbp)
movl $8, -32(%rbp)
movq -8(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _verror_msg
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _putc
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function xstrdup
_xstrdup: ## @xstrdup
.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)
cmpq $0, -16(%rbp)
jne LBB4_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB4_5
LBB4_2:
movq -16(%rbp), %rdi
callq _strdup
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB4_4
## %bb.3:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB4_4:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB4_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get_list_from_file
_get_list_from_file: ## @get_list_from_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -28(%rbp)
movq $256, -40(%rbp) ## imm = 0x100
movq -40(%rbp), %rdi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, %rax
jne LBB5_2
## %bb.1:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB5_2:
jmp LBB5_3
LBB5_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rdx
leaq -24(%rbp), %rdi
leaq -40(%rbp), %rsi
callq _getline
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
cmpl $-1, %eax
je LBB5_8
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
movq -24(%rbp), %rdi
callq _parse_line
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
jne LBB5_6
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
movq -48(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
jmp LBB5_7
LBB5_6: ## in Loop: Header=BB5_3 Depth=1
movq -48(%rbp), %rcx
movq -56(%rbp), %rax
movq %rcx, 56(%rax)
movq -56(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -56(%rbp)
LBB5_7: ## in Loop: Header=BB5_3 Depth=1
jmp LBB5_3
LBB5_8:
cmpq $0, -24(%rbp)
je LBB5_10
## %bb.9:
movq -24(%rbp), %rdi
callq _free
LBB5_10:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function parse_devtable
_parse_devtable: ## @parse_devtable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movq %rdi, -8(%rbp)
movq _rootdir(%rip), %rdi
leaq -152(%rbp), %rsi
callq _lstat$INODE64
cmpl $0, %eax
je LBB6_2
## %bb.1:
movq _rootdir(%rip), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _perror_msg_and_die
LBB6_2:
movq _rootdir(%rip), %rdi
callq _chdir
cmpl $0, %eax
je LBB6_4
## %bb.3:
movq _rootdir(%rip), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _perror_msg_and_die
LBB6_4:
cmpq $0, -8(%rbp)
je LBB6_6
## %bb.5:
movq -8(%rbp), %rdi
callq _parse_device_table
LBB6_6:
xorl %eax, %eax
addq $160, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function free_list
_free_list: ## @free_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB7_3
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
movq -16(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
callq _free
jmp LBB7_1
LBB7_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vperror_msg
_vperror_msg: ## @vperror_msg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
callq ___error
movl (%rax), %eax
movl %eax, -20(%rbp)
cmpq $0, -8(%rbp)
jne LBB8_2
## %bb.1:
leaq L_.str.5(%rip), %rax
movq %rax, -8(%rbp)
LBB8_2:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _verror_msg
movq -8(%rbp), %rax
cmpb $0, (%rax)
je LBB8_4
## %bb.3:
leaq L_.str.18(%rip), %rax
movq %rax, -8(%rbp)
LBB8_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl -20(%rbp), %edi
callq _strerror
movq -40(%rbp), %rdi ## 8-byte Reload
movq -32(%rbp), %rdx ## 8-byte Reload
movq %rax, %rcx
leaq L_.str.19(%rip), %rsi
movb $0, %al
callq _fprintf
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function verror_msg
_verror_msg: ## @verror_msg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.20(%rip), %rsi
leaq L_.str.7(%rip), %rdx
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rsi
movq -16(%rbp), %rdx
callq _vfprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function parse_line
_parse_line: ## @parse_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -72(%rbp)
callq _alloc_node
movq %rax, -96(%rbp)
movq -72(%rbp), %rax
movq %rax, -80(%rbp)
movl $0, -84(%rbp)
LBB10_1: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rax
movsbl (%rax), %eax
cmpl $58, %eax
je LBB10_5
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
cmpl $40, -84(%rbp)
jle LBB10_4
## %bb.3: ## in Loop: Header=BB10_1 Depth=1
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB10_4: ## in Loop: Header=BB10_1 Depth=1
movq -80(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -80(%rbp)
movb (%rax), %dl
movq -96(%rbp), %rax
movl -84(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -84(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp LBB10_1
LBB10_5:
movq -96(%rbp), %rax
movslq -84(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -80(%rbp), %rax
addq $1, %rax
movq %rax, -80(%rbp)
LBB10_6: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rax
movsbl (%rax), %eax
cmpl $58, %eax
je LBB10_8
## %bb.7: ## in Loop: Header=BB10_6 Depth=1
movq -80(%rbp), %rax
addq $1, %rax
movq %rax, -80(%rbp)
jmp LBB10_6
LBB10_8:
movq -80(%rbp), %rax
addq $1, %rax
movq %rax, -80(%rbp)
movl $0, -84(%rbp)
LBB10_9: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rax
movsbl (%rax), %eax
cmpl $58, %eax
je LBB10_13
## %bb.10: ## in Loop: Header=BB10_9 Depth=1
cmpl $40, -84(%rbp)
jle LBB10_12
## %bb.11: ## in Loop: Header=BB10_9 Depth=1
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB10_12: ## in Loop: Header=BB10_9 Depth=1
movq -80(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -80(%rbp)
movb (%rax), %cl
movl -84(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -84(%rbp)
cltq
movb %cl, -64(%rbp,%rax)
jmp LBB10_9
LBB10_13:
movslq -84(%rbp), %rax
movb $0, -64(%rbp,%rax)
leaq -64(%rbp), %rdi
callq _atol
movq %rax, %rcx
movq -96(%rbp), %rax
movq %rcx, 48(%rax)
movq -96(%rbp), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB10_15
## %bb.14:
movq -104(%rbp), %rax ## 8-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB10_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function alloc_node
_alloc_node: ## @alloc_node
.cfi_startproc
## %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 $64, %edi
callq _malloc
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB11_2
## %bb.1:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB11_2:
movq -8(%rbp), %rdi
xorl %esi, %esi
movl $41, %edx
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movl $4294967295, %ecx ## imm = 0xFFFFFFFF
movq %rcx, 48(%rax)
movq -8(%rbp), %rax
movq $0, 56(%rax)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function parse_device_table
_parse_device_table: ## @parse_device_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 $48, %rsp
movq %rdi, -8(%rbp)
movq $256, -24(%rbp) ## imm = 0x100
movl $0, -28(%rbp)
movq -24(%rbp), %rdi
callq _malloc
movq %rax, -16(%rbp)
cmpq $0, %rax
jne LBB12_2
## %bb.1:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB12_2:
jmp LBB12_3
LBB12_3: ## =>This Loop Header: Depth=1
## Child Loop BB12_5 Depth 2
movq -8(%rbp), %rdx
leaq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _getline
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
cmpl $-1, %eax
je LBB12_13
## %bb.4: ## in Loop: Header=BB12_3 Depth=1
jmp LBB12_5
LBB12_5: ## Parent Loop BB12_3 Depth=1
## => This Inner Loop Header: Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -28(%rbp)
movb %al, -29(%rbp) ## 1-byte Spill
jle LBB12_7
## %bb.6: ## in Loop: Header=BB12_5 Depth=2
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %edi
callq _isspace
cmpl $0, %eax
setne %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB12_7: ## in Loop: Header=BB12_5 Depth=2
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB12_8
jmp LBB12_9
LBB12_8: ## in Loop: Header=BB12_5 Depth=2
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $-1, %ecx
movl %ecx, -28(%rbp)
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
jmp LBB12_5
LBB12_9: ## in Loop: Header=BB12_3 Depth=1
movq -16(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
leaq L_.str.24(%rip), %rsi
callq _strspn
movq -48(%rbp), %rsi ## 8-byte Reload
movq -40(%rbp), %rdi ## 8-byte Reload
addq %rax, %rsi
movl -28(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memmove_chk
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $35, %eax
je LBB12_12
## %bb.10: ## in Loop: Header=BB12_3 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB12_12
## %bb.11: ## in Loop: Header=BB12_3 Depth=1
movq -16(%rbp), %rdi
callq _interpret_table_entry
LBB12_12: ## in Loop: Header=BB12_3 Depth=1
jmp LBB12_3
LBB12_13:
cmpq $0, -16(%rbp)
je LBB12_15
## %bb.14:
movq -16(%rbp), %rdi
callq _free
LBB12_15:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function interpret_table_entry
_interpret_table_entry: ## @interpret_table_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $4456, %eax ## imm = 0x1168
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq %rdi, -4320(%rbp)
movq $493, -4344(%rbp) ## imm = 0x1ED
movq $0, -4352(%rbp)
movq $0, -4360(%rbp)
movq $0, -4368(%rbp)
movq $0, -4376(%rbp)
movq $0, -4384(%rbp)
movq $1, -4392(%rbp)
movq $0, -4400(%rbp)
movq -4320(%rbp), %rdi
leaq -4224(%rbp), %rdx
leaq -80(%rbp), %r9
leaq -128(%rbp), %r15
leaq L_.str.25(%rip), %rsi
leaq -4329(%rbp), %rcx
leaq -4344(%rbp), %r8
leaq -4368(%rbp), %r14
leaq -4376(%rbp), %rbx
leaq -4384(%rbp), %r11
leaq -4392(%rbp), %r10
leaq -4400(%rbp), %rax
movq %r15, (%rsp)
movq %r14, 8(%rsp)
movq %rbx, 16(%rsp)
movq %r11, 24(%rsp)
movq %r10, 32(%rsp)
movq %rax, 40(%rsp)
movb $0, %al
callq _sscanf
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jle LBB13_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -4320(%rbp), %rcx
leaq L_.str.26(%rip), %rsi
leaq L_.str.7(%rip), %rdx
movb $0, %al
callq _fprintf
movl $1, -4308(%rbp)
jmp LBB13_20
LBB13_2:
leaq -80(%rbp), %rdi
movq _usr_list(%rip), %rsi
callq _convert2guid
movq %rax, -4352(%rbp)
leaq -128(%rbp), %rdi
movq _grp_list(%rip), %rsi
callq _convert2guid
movq %rax, -4360(%rbp)
leaq -4224(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movl $1, %edx
callq _strncmp
cmpl $0, %eax
je LBB13_4
## %bb.3:
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB13_4:
leaq -4223(%rbp), %rdi
callq _xstrdup
movq %rax, -4328(%rbp)
movq _rootdir(%rip), %r8
movq -4328(%rbp), %r9
leaq L_.str.28(%rip), %rcx
xorl %esi, %esi
movb %sil, %al
leaq -4224(%rbp), %rdi
movl $4096, %edx ## imm = 0x1000
callq ___sprintf_chk
movsbl -4329(%rbp), %eax
addl $-98, %eax
movl %eax, %ecx
movq %rcx, -4424(%rbp) ## 8-byte Spill
subl $14, %eax
ja LBB13_16
## %bb.23:
movq -4424(%rbp), %rax ## 8-byte Reload
leaq LJTI13_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB13_5:
movq -4344(%rbp), %rax
orq $16384, %rax ## imm = 0x4000
movq %rax, -4344(%rbp)
movq -4328(%rbp), %rdi
leaq -4224(%rbp), %rsi
movq -4352(%rbp), %rdx
movq -4360(%rbp), %rcx
movq -4344(%rbp), %r8
callq _add_new_directory
jmp LBB13_17
LBB13_6:
movq -4344(%rbp), %rax
orq $32768, %rax ## imm = 0x8000
movq %rax, -4344(%rbp)
movq -4328(%rbp), %rdi
leaq -4224(%rbp), %rsi
movq -4352(%rbp), %rdx
movq -4360(%rbp), %rcx
movq -4344(%rbp), %r8
callq _add_new_file
jmp LBB13_17
LBB13_7:
movq -4344(%rbp), %rax
orq $4096, %rax ## imm = 0x1000
movq %rax, -4344(%rbp)
movq -4328(%rbp), %rdi
leaq -4224(%rbp), %rsi
movq -4352(%rbp), %rdx
movq -4360(%rbp), %rcx
movq -4344(%rbp), %r8
callq _add_new_fifo
jmp LBB13_17
LBB13_8:
movsbl -4329(%rbp), %edx
movl $24576, %eax ## imm = 0x6000
movl $8192, %ecx ## imm = 0x2000
cmpl $99, %edx
cmovel %ecx, %eax
cltq
orq -4344(%rbp), %rax
movq %rax, -4344(%rbp)
cmpq $0, -4400(%rbp)
jbe LBB13_14
## %bb.9:
movq -4384(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4404(%rbp)
LBB13_10: ## =>This Inner Loop Header: Depth=1
movslq -4404(%rbp), %rax
movq -4384(%rbp), %rcx
addq -4400(%rbp), %rcx
cmpq %rcx, %rax
jae LBB13_13
## %bb.11: ## in Loop: Header=BB13_10 Depth=1
leaq -4304(%rbp), %rdi
movq -4328(%rbp), %r8
movl -4404(%rbp), %r9d
xorl %esi, %esi
movl $80, %edx
leaq L_.str.29(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -4224(%rbp), %rdi
movq _rootdir(%rip), %r8
movq -4328(%rbp), %r9
movl -4404(%rbp), %eax
xorl %esi, %esi
movl $4096, %edx ## imm = 0x1000
leaq L_.str.30(%rip), %rcx
movl %eax, (%rsp)
movb $0, %al
callq ___sprintf_chk
movq -4368(%rbp), %rax
shlq $8, %rax
movq -4376(%rbp), %rcx
movslq -4404(%rbp), %rdx
subq -4384(%rbp), %rdx
imulq -4392(%rbp), %rdx
addq %rdx, %rcx
orq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4408(%rbp)
leaq -4224(%rbp), %rdi
movq _rootdir(%rip), %r8
leaq -4304(%rbp), %r9
xorl %esi, %esi
movl $4096, %edx ## imm = 0x1000
leaq l_.str.31(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -4304(%rbp), %rdi
leaq -4224(%rbp), %rsi
movq -4352(%rbp), %rdx
movq -4360(%rbp), %rcx
movq -4344(%rbp), %r8
movl -4408(%rbp), %r9d
callq _add_new_device
## %bb.12: ## in Loop: Header=BB13_10 Depth=1
movl -4404(%rbp), %eax
addl $1, %eax
movl %eax, -4404(%rbp)
jmp LBB13_10
LBB13_13:
jmp LBB13_15
LBB13_14:
movq -4368(%rbp), %rax
shlq $8, %rax
orq -4376(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4412(%rbp)
movq -4328(%rbp), %rdi
leaq -4224(%rbp), %rsi
movq -4352(%rbp), %rdx
movq -4360(%rbp), %rcx
movq -4344(%rbp), %r8
movl -4412(%rbp), %r9d
callq _add_new_device
LBB13_15:
jmp LBB13_17
LBB13_16:
leaq L_.str.32(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB13_17:
cmpq $0, -4328(%rbp)
je LBB13_19
## %bb.18:
movq -4328(%rbp), %rdi
callq _free
LBB13_19:
movl $0, -4308(%rbp)
LBB13_20:
movl -4308(%rbp), %eax
movl %eax, -4428(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -32(%rbp), %rcx
cmpq %rcx, %rax
jne LBB13_22
## %bb.21:
movl -4428(%rbp), %eax ## 4-byte Reload
addq $4456, %rsp ## imm = 0x1168
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB13_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L13_0_set_8, LBB13_8-LJTI13_0
.set L13_0_set_5, LBB13_5-LJTI13_0
.set L13_0_set_16, LBB13_16-LJTI13_0
.set L13_0_set_6, LBB13_6-LJTI13_0
.set L13_0_set_7, LBB13_7-LJTI13_0
LJTI13_0:
.long L13_0_set_8
.long L13_0_set_8
.long L13_0_set_5
.long L13_0_set_16
.long L13_0_set_6
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_16
.long L13_0_set_7
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function convert2guid
_convert2guid: ## @convert2guid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movl $1, -36(%rbp)
LBB14_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB14_5
## %bb.2: ## in Loop: Header=BB14_1 Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %edi
callq _isdigit
cmpl $0, %eax
jne LBB14_4
## %bb.3:
movl $0, -36(%rbp)
jmp LBB14_5
LBB14_4: ## in Loop: Header=BB14_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB14_1
LBB14_5:
cmpl $0, -36(%rbp)
je LBB14_12
## %bb.6:
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
LBB14_7: ## =>This Inner Loop Header: Depth=1
cmpq $0, -48(%rbp)
je LBB14_11
## %bb.8: ## in Loop: Header=BB14_7 Depth=1
movq -48(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq -64(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _strncmp
cmpl $0, %eax
jne LBB14_10
## %bb.9:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
leaq L_.str.33(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB14_11
LBB14_10: ## in Loop: Header=BB14_7 Depth=1
movq -48(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -48(%rbp)
jmp LBB14_7
LBB14_11:
movq -16(%rbp), %rdi
callq _atol
movq %rax, -8(%rbp)
jmp LBB14_18
LBB14_12:
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
LBB14_13: ## =>This Inner Loop Header: Depth=1
cmpq $0, -48(%rbp)
je LBB14_17
## %bb.14: ## in Loop: Header=BB14_13 Depth=1
movq -48(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq -80(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _strncmp
cmpl $0, %eax
jne LBB14_16
## %bb.15:
movq -48(%rbp), %rax
movq 48(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB14_18
LBB14_16: ## in Loop: Header=BB14_13 Depth=1
movq -48(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -48(%rbp)
jmp LBB14_13
LBB14_17:
movq -16(%rbp), %rsi
leaq L_.str.34(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB14_18:
movq -8(%rbp), %rax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function add_new_directory
_add_new_directory: ## @add_new_directory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
cmpl $0, _trace(%rip)
je LBB15_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
movq -8(%rbp), %rcx
movq -24(%rbp), %r8
movq -32(%rbp), %r9
movq -40(%rbp), %rax
leaq L_.str.35(%rip), %rsi
movq %rax, (%rsp)
movb $0, %al
callq _fprintf
LBB15_2:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
## kill: def $ax killed $ax killed $rax
movzwl %ax, %esi
callq _mkdir
cmpl $0, %eax
jge LBB15_6
## %bb.3:
callq ___error
movq %rax, %rcx
movl $17, %eax
cmpl (%rcx), %eax
jne LBB15_5
## %bb.4:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
andq $-61441, %rax ## imm = 0xFFFF0FFF
## kill: def $ax killed $ax killed $rax
movzwl %ax, %esi
callq _chmod
LBB15_5:
jmp LBB15_6
LBB15_6:
cmpl $0, _trace(%rip)
je LBB15_8
## %bb.7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _putc
LBB15_8:
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movl %eax, %esi
movq -32(%rbp), %rax
movl %eax, %edx
callq _chown
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function add_new_file
_add_new_file: ## @add_new_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
cmpl $0, _trace(%rip)
je LBB16_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
movq -8(%rbp), %rcx
movq -32(%rbp), %r8
movq -24(%rbp), %r9
movq -40(%rbp), %rax
leaq L_.str.36(%rip), %rsi
movq %rax, (%rsp)
movb $0, %al
callq _fprintf
LBB16_2:
movq -16(%rbp), %rdi
movq -40(%rbp), %rdx
movl $513, %esi ## imm = 0x201
movb $0, %al
callq _open
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jge LBB16_4
## %bb.3:
movq -16(%rbp), %rsi
leaq L_.str.37(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
jmp LBB16_5
LBB16_4:
movl -44(%rbp), %edi
callq _close
LBB16_5:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
## kill: def $ax killed $ax killed $rax
movzwl %ax, %esi
callq _chmod
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movl %eax, %esi
movq -32(%rbp), %rax
movl %eax, %edx
callq _chown
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function add_new_fifo
_add_new_fifo: ## @add_new_fifo
.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)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
cmpl $0, _trace(%rip)
je LBB17_2
## %bb.1:
movq -16(%rbp), %rsi
movq -8(%rbp), %rdx
movq -32(%rbp), %rcx
movq -24(%rbp), %r8
movq -40(%rbp), %r9
leaq L_.str.38(%rip), %rdi
movb $0, %al
callq _printf
LBB17_2:
leaq -192(%rbp), %rdi
xorl %esi, %esi
movl $144, %edx
callq _memset
movq -16(%rbp), %rdi
leaq -192(%rbp), %rsi
callq _stat$INODE64
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jl LBB17_5
## %bb.3:
movzwl -188(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
cmpl $4096, %eax ## imm = 0x1000
jne LBB17_5
## %bb.4:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
## kill: def $ax killed $ax killed $rax
movzwl %ax, %esi
callq _chmod
jmp LBB17_8
LBB17_5:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
## kill: def $ax killed $ax killed $rax
xorl %edx, %edx
movzwl %ax, %esi
callq _mknod
cmpl $0, %eax
je LBB17_7
## %bb.6:
movq -16(%rbp), %rsi
leaq L_.str.39(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB17_7:
jmp LBB17_8
LBB17_8:
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movl %eax, %esi
movq -32(%rbp), %rax
movl %eax, %edx
callq _chown
addq $192, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function add_new_device
_add_new_device: ## @add_new_device
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movl %r9d, -44(%rbp)
cmpl $0, _trace(%rip)
je LBB18_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
movq -8(%rbp), %rcx
movq -24(%rbp), %r8
movq -32(%rbp), %r9
movq -40(%rbp), %r11
movl -44(%rbp), %eax
sarl $8, %eax
## kill: def $ax killed $ax killed $eax
movswl %ax, %r10d
movl -44(%rbp), %eax
andl $255, %eax
## kill: def $ax killed $ax killed $eax
cwtl
leaq L_.str.40(%rip), %rsi
movq %r11, (%rsp)
movl %r10d, 8(%rsp)
movl %eax, 16(%rsp)
movb $0, %al
callq _fprintf
LBB18_2:
leaq -192(%rbp), %rdi
xorl %esi, %esi
movl $144, %edx
callq _memset
movq -16(%rbp), %rdi
leaq -192(%rbp), %rsi
callq _lstat$INODE64
movl %eax, -48(%rbp)
cmpl $0, -48(%rbp)
jl LBB18_15
## %bb.3:
movq -40(%rbp), %rax
andq $61440, %rax ## imm = 0xF000
movzwl -188(%rbp), %ecx
andl $61440, %ecx ## imm = 0xF000
movslq %ecx, %rcx
cmpq %rcx, %rax
je LBB18_7
## %bb.4:
cmpl $0, _trace(%rip)
je LBB18_6
## %bb.5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _putc
LBB18_6:
movq -16(%rbp), %rsi
movzwl -188(%rbp), %edx
andl $61440, %edx ## imm = 0xF000
movq -40(%rbp), %rcx
andq $61440, %rcx ## imm = 0xF000
leaq L_.str.41(%rip), %rdi
movb $0, %al
callq _error_msg_and_die
LBB18_7:
movq -40(%rbp), %rax
movzwl -188(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
je LBB18_11
## %bb.8:
cmpl $0, _trace(%rip)
je LBB18_10
## %bb.9:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -40(%rbp), %rdx
andq $-61441, %rdx ## imm = 0xFFFF0FFF
movzwl -188(%rbp), %ecx
andl $-61441, %ecx ## imm = 0xFFFF0FFF
leaq L_.str.42(%rip), %rsi
movb $0, %al
callq _fprintf
LBB18_10:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
andq $-61441, %rax ## imm = 0xFFFF0FFF
## kill: def $ax killed $ax killed $rax
movzwl %ax, %esi
callq _chmod
jmp LBB18_14
LBB18_11:
cmpl $0, _trace(%rip)
je LBB18_13
## %bb.12:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
leaq L_.str.43(%rip), %rsi
movb $0, %al
callq _fprintf
LBB18_13:
jmp LBB18_14
LBB18_14:
jmp LBB18_18
LBB18_15:
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
## kill: def $ax killed $ax killed $rax
movl -44(%rbp), %edx
movzwl %ax, %esi
callq _mknod
cmpl $0, _trace(%rip)
je LBB18_17
## %bb.16:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _putc
LBB18_17:
jmp LBB18_18
LBB18_18:
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movl %eax, %esi
movq -32(%rbp), %rax
movl %eax, %edx
callq _chown
addq $224, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 3 ## @helptext
_helptext:
.quad L_.str.11
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "D:d:r:htv"
.section __DATA,__data
.p2align 4 ## @long_options
_long_options:
.quad L_.str.12
.long 1 ## 0x1
.space 4
.quad 0
.long 114 ## 0x72
.space 4
.quad L_.str.13
.long 0 ## 0x0
.space 4
.quad 0
.long 104 ## 0x68
.space 4
.quad L_.str.14
.long 0 ## 0x0
.space 4
.quad 0
.long 116 ## 0x74
.space 4
.quad L_.str.15
.long 0 ## 0x0
.space 4
.quad 0
.long 118 ## 0x76
.space 4
.quad L_.str.16
.long 1 ## 0x1
.space 4
.quad 0
.long 68 ## 0x44
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "%s: not a proper device table file"
.section __DATA,__data
.p2align 3 ## @rootdir
_rootdir:
.quad _default_rootdir
_default_rootdir: ## @default_rootdir
.asciz "."
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "root directory specified more than once"
L_.str.4: ## @.str.4
.asciz "/"
L_.str.5: ## @.str.5
.space 1
.zerofill __DATA,__bss,_trace,4,2 ## @trace
L_.str.6: ## @.str.6
.asciz "%s: %s\n"
L_.str.7: ## @.str.7
.asciz "makedevs"
L_.str.8: ## @.str.8
.asciz "1.0.1"
L_.str.9: ## @.str.9
.asciz "%s/etc/passwd"
L_.str.10: ## @.str.10
.asciz "%s/etc/group"
.zerofill __DATA,__bss,_usr_list,8,3 ## @usr_list
.zerofill __DATA,__bss,_grp_list,8,3 ## @grp_list
L_.str.11: ## @.str.11
.asciz "Usage: makedevs [OPTIONS]\nBuild entries based upon device_table.txt\n\nOptions:\n -r, -d, --root=DIR Build filesystem from directory DIR (default: cwd)\n -D, --devtable=FILE Use the named FILE as a device table file\n -h, --help Display this help text\n -t, --trace Be verbose\n -v, --version Display version information\n\n"
L_.str.12: ## @.str.12
.asciz "root"
L_.str.13: ## @.str.13
.asciz "help"
L_.str.14: ## @.str.14
.asciz "trace"
L_.str.15: ## @.str.15
.asciz "version"
L_.str.16: ## @.str.16
.asciz "devtable"
L_.str.17: ## @.str.17
.asciz "%s"
L_.str.18: ## @.str.18
.asciz ": "
L_.str.19: ## @.str.19
.asciz "%s%s\n"
L_.str.20: ## @.str.20
.asciz "%s: "
L_.str.21: ## @.str.21
.asciz "memory exhausted"
L_.str.22: ## @.str.22
.asciz "Name field too long"
L_.str.23: ## @.str.23
.asciz "ID filed too long"
L_.str.24: ## @.str.24
.asciz " \n\r\t\013"
L_.str.25: ## @.str.25
.asciz "%40s %c %lo %40s %40s %lu %lu %lu %lu %lu"
L_.str.26: ## @.str.26
.asciz "%s: sscanf returned < 0 for line '%s'\n"
L_.str.27: ## @.str.27
.asciz "Device table entries require absolute paths"
L_.str.28: ## @.str.28
.asciz "%s/%s"
L_.str.29: ## @.str.29
.asciz "%s%d"
L_.str.30: ## @.str.30
.asciz "%s/%s%d"
.section __TEXT,__const
l_.str.31: ## @.str.31
.asciz "%s/%s\000"
.section __TEXT,__cstring,cstring_literals
L_.str.32: ## @.str.32
.asciz "Unsupported file type"
L_.str.33: ## @.str.33
.asciz "WARNING: Bad user/group name %s detected\n"
L_.str.34: ## @.str.34
.asciz "No entry for %s in search list"
L_.str.35: ## @.str.35
.asciz "Directory: %s %s UID: %ld GID %ld MODE: %04lo"
L_.str.36: ## @.str.36
.asciz "File: %s %s UID: %ld GID: %ld MODE: %04lo\n"
L_.str.37: ## @.str.37
.asciz "%s: file can not be created!"
L_.str.38: ## @.str.38
.asciz "Fifo: %s %s UID: %ld GID: %ld MODE: %04lo\n"
L_.str.39: ## @.str.39
.asciz "%s: file can not be created with mknod!"
L_.str.40: ## @.str.40
.asciz "Device: %s %s UID: %ld GID: %ld MODE: %04lo MAJOR: %d MINOR: %d"
L_.str.41: ## @.str.41
.asciz "%s: existing file (04%o) type does not match specified file type (04%lo)!"
L_.str.42: ## @.str.42
.asciz " -- applying new mode 04%lo (old was 04%o)\n"
L_.str.43: ## @.str.43
.asciz " -- extraneous entry in table\n"
.subsections_via_symbols
| the_stack_data/86075944.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show_bytes ; -- Begin function show_bytes
.p2align 2
_show_bytes: ; @show_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
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 _show_int ; -- Begin function show_int
.p2align 2
_show_int: ; @show_int
.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
sub x0, x29, #4
stur w8, [x29, #-4]
mov x1, #4
bl _show_bytes
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _show_float ; -- Begin function show_float
.p2align 2
_show_float: ; @show_float
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x0, x29, #4
stur s0, [x29, #-4]
mov x1, #4
bl _show_bytes
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _show_pointer ; -- Begin function show_pointer
.p2align 2
_show_pointer: ; @show_pointer
.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 x8, [sp, #8]
mov x1, #8
bl _show_bytes
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
sub x8, x29, #4
mov w9, #1
stur w9, [x29, #-4]
ldur s0, [x29, #-4]
scvtf s0, s0
str s0, [sp, #8]
str x8, [sp]
ldur w0, [x29, #-4]
bl _show_int
ldr s0, [sp, #8]
bl _show_float
ldr x0, [sp]
bl _show_pointer
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 " %02x"
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show_bytes ## -- Begin function show_bytes
.p2align 4, 0x90
_show_bytes: ## @show_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movzbl (%rax,%rcx), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _show_int ## -- Begin function show_int
.p2align 4, 0x90
_show_int: ## @show_int
.cfi_startproc
## %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)
leaq -4(%rbp), %rdi
movl $4, %esi
callq _show_bytes
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _show_float ## -- Begin function show_float
.p2align 4, 0x90
_show_float: ## @show_float
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movss %xmm0, -4(%rbp)
leaq -4(%rbp), %rdi
movl $4, %esi
callq _show_bytes
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _show_pointer ## -- Begin function show_pointer
.p2align 4, 0x90
_show_pointer: ## @show_pointer
.cfi_startproc
## %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 -8(%rbp), %rdi
movl $8, %esi
callq _show_bytes
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 $1, -4(%rbp)
cvtsi2ssl -4(%rbp), %xmm0
movss %xmm0, -8(%rbp)
leaq -4(%rbp), %rax
movq %rax, -16(%rbp)
movl -4(%rbp), %edi
callq _show_int
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _show_float
movq -16(%rbp), %rdi
callq _show_pointer
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %02x"
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
| the_stack_data/147437.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #168
bl _malloc
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $168, %edi
callq _malloc
movq %rax, -8(%rbp)
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/111079141.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rotate ; -- Begin function rotate
.p2align 2
_rotate: ; @rotate
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #64
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur w2, [x29, #-24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
stur w8, [x29, #-24]
b LBB0_1
LBB0_3:
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_4
LBB0_4:
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-64] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-64] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-56] ; 8-byte Folded Spill
stur x8, [x29, #-40]
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
stur w8, [x29, #-44]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x10, [x29, #-44]
ldr w8, [x8, x10, lsl #2]
ldur w10, [x29, #-44]
ldur w11, [x29, #-24]
add w10, w10, w11
ldur w11, [x29, #-20]
subs w10, w10, w11
str w8, [x9, w10, sxtw #2]
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB0_5
LBB0_7:
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-44]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-44]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-16]
ldur w10, [x29, #-44]
ldur w11, [x29, #-24]
add w10, w10, w11
str w8, [x9, w10, sxtw #2]
ldur w8, [x29, #-44]
subs w8, w8, #1
stur w8, [x29, #-44]
b LBB0_8
LBB0_10:
stur wzr, [x29, #-44]
b LBB0_11
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=1
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldursw x9, [x29, #-44]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-16]
ldursw x10, [x29, #-44]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB0_11
LBB0_13:
ldur x8, [x29, #-32]
mov sp, x8
b LBB0_14
LBB0_14:
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_16
b LBB0_15
LBB0_15:
bl ___stack_chk_fail
LBB0_16:
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, l___const.main.a@PAGE
add x8, x8, l___const.main.a@PAGEOFF
ldr q0, [x8]
add x0, sp, #32
str q0, [sp, #32]
ldr x8, [x8, #16]
str x8, [sp, #48]
mov w1, #6
mov w2, #2
bl _rotate
str xzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #5
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB1_1
LBB1_4:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "test c main\n"
.section __TEXT,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rotate ## -- Begin function rotate
.p2align 4, 0x90
_rotate: ## @rotate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jl LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
subl -20(%rbp), %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_3:
cmpl $0, -24(%rbp)
je LBB0_14
## %bb.4:
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -64(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl -20(%rbp), %eax
subl -24(%rbp), %eax
movl %eax, -44(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
movl -20(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq -16(%rbp), %rcx
movslq -44(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movl -44(%rbp), %ecx
addl -24(%rbp), %ecx
subl -20(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_5
LBB0_7:
movl -20(%rbp), %eax
subl -24(%rbp), %eax
subl $1, %eax
movl %eax, -44(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
cmpl $0, -44(%rbp)
jl LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -16(%rbp), %rax
movl -44(%rbp), %ecx
addl -24(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -44(%rbp), %eax
subl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_8
LBB0_10:
movl $0, -44(%rbp)
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_11
LBB0_13:
movq -32(%rbp), %rax
movq %rax, %rsp
LBB0_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_16
## %bb.15:
movq %rbp, %rsp
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq l___const.main.a(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.a+8(%rip), %rax
movq %rax, -24(%rbp)
movq l___const.main.a+16(%rip), %rax
movq %rax, -16(%rbp)
leaq -32(%rbp), %rdi
movl $6, %esi
movl $2, %edx
callq _rotate
movq $0, -48(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpq $5, -48(%rbp)
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -48(%rbp), %rax
movl -32(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
jmp LBB1_1
LBB1_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_6
## %bb.5:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "test c main\n"
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/20450432.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _big_to_little ; -- Begin function big_to_little
.p2align 2
_big_to_little: ; @big_to_little
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
ldr w8, [sp, #12]
asr w8, w8, #24
str w8, [sp, #8]
ldr w8, [sp, #12]
and w9, w8, #0xff0000
ldr w8, [sp, #8]
orr w8, w8, w9, asr #8
str w8, [sp, #8]
ldr w8, [sp, #12]
and w9, w8, #0xff00
ldr w8, [sp, #8]
orr w8, w8, w9, lsl #8
str w8, [sp, #8]
ldrb w9, [sp, #12]
ldr w8, [sp, #8]
orr w8, w8, w9, lsl #24
str w8, [sp, #8]
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _swap_endian ; -- Begin function swap_endian
.p2align 2
_swap_endian: ; @swap_endian
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
add x8, sp, #28
str w0, [sp, #28]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldrb w9, [x8, #3]
add x8, sp, #12
strb w9, [sp, #12]
ldr x9, [sp, #16]
ldrb w9, [x9, #2]
strb w9, [sp, #13]
ldr x9, [sp, #16]
ldrb w9, [x9, #1]
strb w9, [sp, #14]
ldr x9, [sp, #16]
ldrb w9, [x9]
strb w9, [sp, #15]
str x8, [sp]
ldr x8, [sp]
ldr w0, [x8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-8]
bl _big_to_little
stur w0, [x29, #-12]
b LBB2_1
LBB2_1:
ldur w0, [x29, #-8]
bl __OSSwapInt32
str w0, [sp, #20] ; 4-byte Folded Spill
b LBB2_2
LBB2_2:
ldr w8, [sp, #20] ; 4-byte Folded Reload
stur w8, [x29, #-16]
b LBB2_3
LBB2_3:
ldur w0, [x29, #-8]
bl __OSSwapInt32
str w0, [sp, #16] ; 4-byte Folded Spill
b LBB2_4
LBB2_4:
ldr w8, [sp, #16] ; 4-byte Folded Reload
stur w8, [x29, #-20]
ldur w0, [x29, #-8]
bl _swap_endian
str w0, [sp, #24]
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
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt32
__OSSwapInt32: ; @_OSSwapInt32
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
rev w8, w8
str w8, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%x"
l_.str.1: ; @.str.1
.asciz "0x%x\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _big_to_little ## -- Begin function big_to_little
.p2align 4, 0x90
_big_to_little: ## @big_to_little
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
movl -4(%rbp), %eax
sarl $24, %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
andl $16711680, %eax ## imm = 0xFF0000
sarl $8, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
andl $65280, %eax ## imm = 0xFF00
shll $8, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
andl $255, %eax
shll $24, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap_endian ## -- Begin function swap_endian
.p2align 4, 0x90
_swap_endian: ## @swap_endian
.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)
leaq -4(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movb 3(%rax), %al
movb %al, -20(%rbp)
movq -16(%rbp), %rax
movb 2(%rax), %al
movb %al, -19(%rbp)
movq -16(%rbp), %rax
movb 1(%rax), %al
movb %al, -18(%rbp)
movq -16(%rbp), %rax
movb (%rax), %al
movb %al, -17(%rbp)
leaq -20(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %edi
callq _big_to_little
movl %eax, -12(%rbp)
## %bb.1:
movl -8(%rbp), %edi
callq __OSSwapInt32
movl %eax, -28(%rbp) ## 4-byte Spill
## %bb.2:
movl -28(%rbp), %eax ## 4-byte Reload
movl %eax, -16(%rbp)
## %bb.3:
movl -8(%rbp), %edi
callq __OSSwapInt32
movl %eax, -32(%rbp) ## 4-byte Spill
## %bb.4:
movl -32(%rbp), %eax ## 4-byte Reload
movl %eax, -20(%rbp)
movl -8(%rbp), %edi
callq _swap_endian
movl %eax, -24(%rbp)
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt32
__OSSwapInt32: ## @_OSSwapInt32
.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
bswapl %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%x"
L_.str.1: ## @.str.1
.asciz "0x%x\n"
.subsections_via_symbols
| the_stack_data/61074048.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show_me_the_answer ; -- Begin function show_me_the_answer
.p2align 2
_show_me_the_answer: ; @show_me_the_answer
.cfi_startproc
; %bb.0:
mov w0, #42
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show_me_the_answer ## -- Begin function show_me_the_answer
.p2align 4, 0x90
_show_me_the_answer: ## @show_me_the_answer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $42, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/45451349.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fun ; -- Begin function fun
.p2align 2
_fun: ; @fun
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-40]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-48]
stur wzr, [x29, #-52]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-52]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x10, [x29, #-52]
ldr w8, [x8, x10, lsl #2]
ldur x10, [x29, #-24]
ldursw x11, [x29, #-52]
ldr w10, [x10, x11, lsl #2]
add w8, w8, w10
ldursw x10, [x29, #-52]
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB0_1
LBB0_4:
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldr w8, [x8]
stur w8, [x29, #-84] ; 4-byte Folded Spill
ldur x8, [x29, #-40]
stur x8, [x29, #-80] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
ldur w0, [x29, #-84] ; 4-byte Folded Reload
ldur x8, [x29, #-80] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fun ## -- Begin function fun
.p2align 4, 0x90
_fun: ## @fun
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
movl $0, -52(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq -16(%rbp), %rcx
movslq -52(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movq -24(%rbp), %rcx
movslq -52(%rbp), %rsi
addl (%rcx,%rsi,4), %edx
movslq -52(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_1
LBB0_4:
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq -40(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
movl -76(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/182954323.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
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!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World!\n"
.subsections_via_symbols
| the_stack_data/26700972.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a hexadecimal number\n"
l_.str.1: ; @.str.1
.asciz "%x"
l_.str.2: ; @.str.2
.asciz "Entered hexadecimal number is %x\n"
l_.str.3: ; @.str.3
.asciz "Equivalent decimal number is %ld"
.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
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movq -8(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a hexadecimal number\n"
L_.str.1: ## @.str.1
.asciz "%x"
L_.str.2: ## @.str.2
.asciz "Entered hexadecimal number is %x\n"
L_.str.3: ## @.str.3
.asciz "Equivalent decimal number is %ld"
.subsections_via_symbols
| the_stack_data/25697.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _say_hello_math ; -- Begin function say_hello_math
.p2align 2
_say_hello_math: ; @say_hello_math
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w8, [x29, #-4]
ldur w9, [x29, #-4]
mul w0, w8, w9
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _eval ; -- Begin function eval
.p2align 2
_eval: ; @eval
.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]
add x1, sp, #4
str wzr, [sp, #4]
ldr x0, [sp, #8]
bl _expr
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _expr ; -- Begin function expr
.p2align 2
_expr: ; @expr
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _term
str s0, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #43
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #45
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB2_9
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #43
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_8
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _term
fmov s1, s0
ldr s0, [sp, #12]
fadd s0, s0, s1
str s0, [sp, #12]
b LBB2_8
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _term
fmov s1, s0
ldr s0, [sp, #12]
fsub s0, s0, s1
str s0, [sp, #12]
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_9:
ldr s0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _number ; -- Begin function number
.p2align 2
_number: ; @number
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
movi d0, #0000000000000000
str s0, [sp, #28]
fmov s0, #10.00000000
str s0, [sp, #24]
mov w8, #1
str w8, [sp, #20]
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #-1
str w8, [sp, #20]
ldr x9, [sp, #32]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB3_2
LBB3_2:
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, lt
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, le
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB3_7
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_3 Depth=1
ldr s0, [sp, #28]
fcvt d0, s0
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #48
scvtf d2, w8
fmov d1, #10.00000000
fmadd d0, d0, d1, d2
fcvt s0, d0
str s0, [sp, #28]
ldr x9, [sp, #32]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB3_3
LBB3_7:
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB3_14
b LBB3_8
LBB3_8:
ldr x9, [sp, #32]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB3_9
LBB3_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, lt
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, le
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_9 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB3_13
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_9 Depth=1
ldr s0, [sp, #28]
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #48
scvtf s1, w8
ldr s2, [sp, #24]
fdiv s1, s1, s2
fadd s0, s0, s1
str s0, [sp, #28]
ldr s0, [sp, #24]
fcvt d0, s0
fmov d1, #10.00000000
fmul d0, d0, d1
fcvt s0, d0
str s0, [sp, #24]
ldr x9, [sp, #32]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB3_9
LBB3_13:
b LBB3_14
LBB3_14:
ldr s0, [sp, #20]
scvtf s0, s0
ldr s1, [sp, #28]
fmul s0, s0, s1
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _term ; -- Begin function term
.p2align 2
_term: ; @term
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _factor
str s0, [sp, #12]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #42
cset w8, eq
mov w9, #1
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #47
cset w8, eq
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB4_12
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #42
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #47
cset w8, eq
tbnz w8, #0, LBB4_7
b LBB4_11
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _factor
fmov s1, s0
ldr s0, [sp, #12]
fmul s0, s0, s1
str s0, [sp, #12]
b LBB4_11
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _factor
str s0, [sp, #8]
ldr s0, [sp, #8]
fcvt d0, s0
fcmp d0, #0.0
cset w8, eq
tbnz w8, #0, LBB4_9
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_1 Depth=1
ldr s1, [sp, #8]
ldr s0, [sp, #12]
fdiv s0, s0, s1
str s0, [sp, #12]
b LBB4_10
LBB4_9:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB4_10: ; in Loop: Header=BB4_1 Depth=1
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_12:
ldr s0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _factor ; -- Begin function factor
.p2align 2
_factor: ; @factor
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
mov w8, #1
str w8, [sp, #8]
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w8, #-1
str w8, [sp, #8]
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB5_2
LBB5_2:
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #40
cset w8, ne
tbnz w8, #0, LBB5_6
b LBB5_3
LBB5_3:
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _expr
str s0, [sp, #12]
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
ldr w9, [x9]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #41
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #-2
bl _exit
LBB5_5:
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB5_7
LBB5_6:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _number
str s0, [sp, #12]
b LBB5_7
LBB5_7:
ldr s0, [sp, #8]
scvtf s0, s0
ldr s1, [sp, #12]
fmul s0, s0, s1
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 "Hello From Math\n"
l_.str.1: ; @.str.1
.asciz "Division by zero!\n"
l_.str.2: ; @.str.2
.asciz "Brackets unbalanced!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _say_hello_math ## -- Begin function say_hello_math
.p2align 4, 0x90
_say_hello_math: ## @say_hello_math
.cfi_startproc
## %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)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
imull -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _eval ## -- Begin function eval
.p2align 4, 0x90
_eval: ## @eval
.cfi_startproc
## %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)
movq -8(%rbp), %rdi
leaq -12(%rbp), %rsi
callq _expr
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _expr ## -- Begin function expr
.p2align 4, 0x90
_expr: ## @expr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _term
movss %xmm0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %ecx
movb $1, %al
cmpl $43, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
sete %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_4
jmp LBB2_8
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
subl $43, %eax
je LBB2_5
jmp LBB2_9
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax ## 4-byte Reload
subl $45, %eax
je LBB2_6
jmp LBB2_7
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _term
addss -20(%rbp), %xmm0
movss %xmm0, -20(%rbp)
jmp LBB2_7
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _term
movaps %xmm0, %xmm1
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_8:
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function number
LCPI3_0:
.long 0x41200000 ## float 10
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI3_1:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__text,regular,pure_instructions
.globl _number
.p2align 4, 0x90
_number: ## @number
.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)
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movss LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -24(%rbp)
movl $1, -28(%rbp)
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
jne LBB3_2
## %bb.1:
movl $-1, -28(%rbp)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
LBB3_2:
jmp LBB3_3
LBB3_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $48, %ecx
movb %al, -29(%rbp) ## 1-byte Spill
jl LBB3_5
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $57, %eax
setle %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB3_5: ## in Loop: Header=BB3_3 Depth=1
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_6
jmp LBB3_7
LBB3_6: ## in Loop: Header=BB3_3 Depth=1
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
subl $48, %eax
cvtsi2sd %eax, %xmm1
movsd LCPI3_1(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB3_3
LBB3_7:
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $46, %eax
jne LBB3_14
## %bb.8:
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
LBB3_9: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $48, %ecx
movb %al, -30(%rbp) ## 1-byte Spill
jl LBB3_11
## %bb.10: ## in Loop: Header=BB3_9 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $57, %eax
setle %al
movb %al, -30(%rbp) ## 1-byte Spill
LBB3_11: ## in Loop: Header=BB3_9 Depth=1
movb -30(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_12
jmp LBB3_13
LBB3_12: ## in Loop: Header=BB3_9 Depth=1
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
subl $48, %eax
cvtsi2ss %eax, %xmm1
divss -24(%rbp), %xmm1
addss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI3_1(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -24(%rbp)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB3_9
LBB3_13:
jmp LBB3_14
LBB3_14:
cvtsi2ssl -28(%rbp), %xmm0
mulss -20(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _term ## -- Begin function term
.p2align 4, 0x90
_term: ## @term
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _factor
movss %xmm0, -20(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %ecx
movb $1, %al
cmpl $42, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $47, %eax
sete %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB4_4
jmp LBB4_11
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
subl $42, %eax
je LBB4_5
jmp LBB4_12
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movl -32(%rbp), %eax ## 4-byte Reload
subl $47, %eax
je LBB4_6
jmp LBB4_10
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _factor
mulss -20(%rbp), %xmm0
movss %xmm0, -20(%rbp)
jmp LBB4_10
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _factor
movss %xmm0, -24(%rbp)
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB4_7
jp LBB4_7
jmp LBB4_8
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
movss -24(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
jmp LBB4_9
LBB4_8:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-1, %edi
callq _exit
LBB4_9: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_10
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_11:
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _factor ## -- Begin function factor
.p2align 4, 0x90
_factor: ## @factor
.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, -24(%rbp)
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
jne LBB5_2
## %bb.1:
movl $-1, -24(%rbp)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
LBB5_2:
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $40, %eax
jne LBB5_6
## %bb.3:
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _expr
movss %xmm0, -20(%rbp)
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $41, %eax
je LBB5_5
## %bb.4:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-2, %edi
callq _exit
LBB5_5:
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB5_7
LBB5_6:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _number
movss %xmm0, -20(%rbp)
LBB5_7:
cvtsi2ssl -24(%rbp), %xmm0
mulss -20(%rbp), %xmm0
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello From Math\n"
L_.str.1: ## @.str.1
.asciz "Division by zero!\n"
L_.str.2: ## @.str.2
.asciz "Brackets unbalanced!\n"
.subsections_via_symbols
| the_stack_data/482339.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _N ; -- Begin function N
.p2align 2
_N: ; @N
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str wzr, [sp]
ldr w8, [sp, #12]
str w8, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
ldrsw x10, [sp, #4]
adrp x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_4:
ldr w8, [sp]
adrp x9, _n@GOTPAGE
ldr x9, [x9, _n@GOTPAGEOFF]
ldr w10, [x9]
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _M ; -- Begin function M
.p2align 2
_M: ; @M
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _n@GOTPAGE
ldr x8, [x8, _n@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
str w0, [sp, #28]
str w1, [sp, #24]
mov w8, #1
str w8, [sp, #16]
str w8, [sp, #12]
ldr w8, [sp, #28]
str w8, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #24]
ldr w10, [sp, #28]
add w9, w9, w10
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldrsw x11, [sp, #20]
adrp x10, _a@GOTPAGE
ldr x10, [x10, _a@GOTPAGEOFF]
ldr w10, [x10, x11, lsl #2]
mul w8, w8, w10
str w8, [sp, #16]
ldr w8, [sp, #16]
ldr w10, [x9]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #16]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_4:
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #12]
ldrsw x11, [sp, #20]
adrp x10, _a@GOTPAGE
ldr x10, [x10, _a@GOTPAGEOFF]
ldr w10, [x10, x11, lsl #2]
mul w8, w8, w10
str w8, [sp, #12]
ldr w8, [sp, #12]
ldr w10, [x9]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #12]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_5
LBB1_8:
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #16]
ldr w10, [sp, #12]
mul w8, w8, w10
ldr w10, [x9]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #16]
ldr w0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _H ; -- Begin function H
.p2align 2
_H: ; @H
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str wzr, [sp]
ldr w8, [sp, #12]
str w8, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp]
ldrsw x10, [sp, #4]
adrp x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
ldr w9, [x9, x10, lsl #2]
eor w8, w8, w9
str w8, [sp]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_4:
ldr w0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #8112
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #4016
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #100]
mov x9, sp
adrp x8, _n@GOTPAGE
ldr x8, [x8, _n@GOTPAGEOFF]
str x8, [x9]
add x8, sp, #92
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #96]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #96]
adrp x9, _n@GOTPAGE
ldr x9, [x9, _n@GOTPAGEOFF]
ldr w9, [x9]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldrsw x9, [sp, #96]
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
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 LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #96]
add w8, w8, #1
str w8, [sp, #96]
b LBB3_1
LBB3_4:
mov w8, #1
str w8, [sp, #96]
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #96]
ldr w9, [sp, #92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB3_8
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
ldrsw x9, [sp, #96]
add x8, sp, #1, lsl #12 ; =4096
add x8, x8, #8
add x10, x8, x9, lsl #2
ldrsw x9, [sp, #96]
add x8, sp, #104
add x8, x8, x9, lsl #2
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #96]
add w8, w8, #1
str w8, [sp, #96]
b LBB3_5
LBB3_8:
mov w8, #1
str w8, [sp, #96]
b LBB3_9
LBB3_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #96]
ldr w9, [sp, #92]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB3_17
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=1
ldrsw x9, [sp, #96]
add x8, sp, #1, lsl #12 ; =4096
add x8, x8, #8
str x8, [sp, #72] ; 8-byte Folded Spill
ldr w0, [x8, x9, lsl #2]
ldrsw x9, [sp, #96]
add x8, sp, #104
str x8, [sp, #80] ; 8-byte Folded Spill
ldr w1, [x8, x9, lsl #2]
bl _N
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x8, [sp, #80] ; 8-byte Folded Reload
str w0, [sp, #88] ; 4-byte Folded Spill
ldrsw x10, [sp, #96]
ldr w0, [x9, x10, lsl #2]
ldrsw x9, [sp, #96]
ldr w1, [x8, x9, lsl #2]
bl _M
mov x8, x0
ldr w0, [sp, #88] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, le
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_9 Depth=1
ldrsw x9, [sp, #96]
add x8, sp, #1, lsl #12 ; =4096
add x8, x8, #8
str x8, [sp, #48] ; 8-byte Folded Spill
ldr w0, [x8, x9, lsl #2]
ldrsw x9, [sp, #96]
add x8, sp, #104
str x8, [sp, #56] ; 8-byte Folded Spill
ldr w1, [x8, x9, lsl #2]
bl _M
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
str w0, [sp, #68] ; 4-byte Folded Spill
ldrsw x10, [sp, #96]
ldr w0, [x9, x10, lsl #2]
ldrsw x9, [sp, #96]
ldr w1, [x8, x9, lsl #2]
bl _N
mov x1, x0
ldr w0, [sp, #68] ; 4-byte Folded Reload
bl _H
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB3_13
LBB3_12: ; in Loop: Header=BB3_9 Depth=1
ldrsw x9, [sp, #96]
add x8, sp, #1, lsl #12 ; =4096
add x8, x8, #8
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w0, [x8, x9, lsl #2]
ldrsw x9, [sp, #96]
add x8, sp, #104
str x8, [sp, #32] ; 8-byte Folded Spill
ldr w1, [x8, x9, lsl #2]
bl _N
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w0, [sp, #44] ; 4-byte Folded Spill
ldrsw x10, [sp, #96]
ldr w0, [x9, x10, lsl #2]
ldrsw x9, [sp, #96]
ldr w1, [x8, x9, lsl #2]
bl _M
mov x1, x0
ldr w0, [sp, #44] ; 4-byte Folded Reload
bl _H
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_9 Depth=1
ldr w8, [sp, #96]
ldr w9, [sp, #92]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB3_15
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_9 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_9 Depth=1
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_9 Depth=1
ldr w8, [sp, #96]
add w8, w8, #1
str w8, [sp, #96]
b LBB3_9
LBB3_17:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_19
b LBB3_18
LBB3_18:
bl ___stack_chk_fail
LBB3_19:
mov w0, #0
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #4016
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _a,120000,2 ; @a
.comm _n,4,2 ; @n
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _N ## -- Begin function N
.p2align 4, 0x90
_N: ## @N
.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, -16(%rbp)
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movslq -12(%rbp), %rdx
movq _a@GOTPCREL(%rip), %rcx
addl (%rcx,%rdx,4), %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
movl -16(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _M ## -- Begin function M
.p2align 4, 0x90
_M: ## @M
.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 $1, -16(%rbp)
movl $1, -20(%rbp)
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -8(%rbp), %eax
addl -4(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -24(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jg LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movslq -12(%rbp), %rdx
movq _a@GOTPCREL(%rip), %rcx
imull (%rcx,%rdx,4), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movl %edx, -16(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movl -20(%rbp), %eax
movslq -12(%rbp), %rdx
movq _a@GOTPCREL(%rip), %rcx
imull (%rcx,%rdx,4), %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movl %edx, -20(%rbp)
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_5
LBB1_8:
movl -16(%rbp), %eax
imull -20(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movl %edx, -16(%rbp)
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _H ## -- Begin function H
.p2align 4, 0x90
_H: ## @H
.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, -16(%rbp)
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
movslq -12(%rbp), %rdx
movq _a@GOTPCREL(%rip), %rcx
xorl (%rcx,%rdx,4), %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_4:
movl -16(%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
movl $8048, %eax ## imm = 0x1F70
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -8020(%rbp)
leaq L_.str(%rip), %rdi
movq _n@GOTPCREL(%rip), %rsi
leaq -8028(%rbp), %rdx
movb $0, %al
callq _scanf
movl $0, -8024(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -8024(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movslq -8024(%rbp), %rax
movq _a@GOTPCREL(%rip), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -8024(%rbp), %eax
addl $1, %eax
movl %eax, -8024(%rbp)
jmp LBB3_1
LBB3_4:
movl $1, -8024(%rbp)
LBB3_5: ## =>This Inner Loop Header: Depth=1
movl -8024(%rbp), %eax
cmpl -8028(%rbp), %eax
jg LBB3_8
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movslq -8024(%rbp), %rax
leaq -4016(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
movslq -8024(%rbp), %rax
leaq -8016(%rbp), %rdx
shlq $2, %rax
addq %rax, %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.7: ## in Loop: Header=BB3_5 Depth=1
movl -8024(%rbp), %eax
addl $1, %eax
movl %eax, -8024(%rbp)
jmp LBB3_5
LBB3_8:
movl $1, -8024(%rbp)
LBB3_9: ## =>This Inner Loop Header: Depth=1
movl -8024(%rbp), %eax
cmpl -8028(%rbp), %eax
jg LBB3_17
## %bb.10: ## in Loop: Header=BB3_9 Depth=1
movslq -8024(%rbp), %rax
movl -4016(%rbp,%rax,4), %edi
movslq -8024(%rbp), %rax
movl -8016(%rbp,%rax,4), %esi
callq _N
movl %eax, -8032(%rbp) ## 4-byte Spill
movslq -8024(%rbp), %rax
movl -4016(%rbp,%rax,4), %edi
movslq -8024(%rbp), %rax
movl -8016(%rbp,%rax,4), %esi
callq _M
movl %eax, %ecx
movl -8032(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jle LBB3_12
## %bb.11: ## in Loop: Header=BB3_9 Depth=1
movslq -8024(%rbp), %rax
movl -4016(%rbp,%rax,4), %edi
movslq -8024(%rbp), %rax
movl -8016(%rbp,%rax,4), %esi
callq _M
movl %eax, -8036(%rbp) ## 4-byte Spill
movslq -8024(%rbp), %rax
movl -4016(%rbp,%rax,4), %edi
movslq -8024(%rbp), %rax
movl -8016(%rbp,%rax,4), %esi
callq _N
movl -8036(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _H
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB3_13
LBB3_12: ## in Loop: Header=BB3_9 Depth=1
movslq -8024(%rbp), %rax
movl -4016(%rbp,%rax,4), %edi
movslq -8024(%rbp), %rax
movl -8016(%rbp,%rax,4), %esi
callq _N
movl %eax, -8040(%rbp) ## 4-byte Spill
movslq -8024(%rbp), %rax
movl -4016(%rbp,%rax,4), %edi
movslq -8024(%rbp), %rax
movl -8016(%rbp,%rax,4), %esi
callq _M
movl -8040(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _H
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB3_13: ## in Loop: Header=BB3_9 Depth=1
movl -8024(%rbp), %eax
cmpl -8028(%rbp), %eax
je LBB3_15
## %bb.14: ## in Loop: Header=BB3_9 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB3_15: ## in Loop: Header=BB3_9 Depth=1
jmp LBB3_16
LBB3_16: ## in Loop: Header=BB3_9 Depth=1
movl -8024(%rbp), %eax
addl $1, %eax
movl %eax, -8024(%rbp)
jmp LBB3_9
LBB3_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_19
## %bb.18:
xorl %eax, %eax
addq $8048, %rsp ## imm = 0x1F70
popq %rbp
retq
LBB3_19:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _a,120000,4 ## @a
.comm _n,4,2 ## @n
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/150140179.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ; -- Begin function func
.p2align 2
_func: ; @func
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
mov w10, #100
mul w9, w9, w10
add w8, w8, w9
str w8, [sp, #4]
ldr w0, [sp, #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]
mov w0, #1
mov w1, #2
bl _func
str w0, [sp, #8]
ldr w0, [sp, #8]
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 _func ## -- Begin function func
.p2align 4, 0x90
_func: ## @func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
imull $100, -8(%rbp), %ecx
addl %ecx, %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $1, %edi
movl $2, %esi
callq _func
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/145964.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _server ; -- Begin function server
.p2align 2
_server: ; @server
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
sub x1, x29, #12
mov x2, #4
bl _read
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
stur wzr, [x29, #-4]
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldursw x0, [x29, #-12]
bl _malloc
str x0, [sp, #8]
ldur w0, [x29, #-8]
ldr x1, [sp, #8]
ldursw x2, [x29, #-12]
bl _read
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x0, [sp, #8]
bl _free
ldr x0, [sp, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
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, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
mov w2, #0
str wzr, [sp, #64]
str w0, [sp, #60]
str x1, [sp, #48]
ldr x8, [sp, #48]
ldr x8, [x8, #8]
str x8, [sp, #40]
mov w1, #1
mov x0, x1
bl _socket
str w0, [sp, #36]
sub x8, x29, #130
str x8, [sp, #8] ; 8-byte Folded Spill
mov w9, #1
sturb w9, [x29, #-129]
ldr x1, [sp, #40]
add x0, x8, #2
mov x2, #104
bl ___strcpy_chk
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #36]
str w9, [sp, #20] ; 4-byte Folded Spill
add x0, x8, #2
bl _strlen
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
add x8, x8, #2
mov x2, x8
bl _bind
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
b LBB1_2
LBB1_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB1_3:
ldr w0, [sp, #36]
mov w1, #5
bl _listen
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4:
b LBB1_5
LBB1_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB1_6:
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #36]
add x1, sp, #68
add x2, sp, #28
bl _accept
str w0, [sp, #24]
ldr w0, [sp, #24]
bl _server
str w0, [sp, #32]
ldr w0, [sp, #24]
bl _close
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_9
LBB1_9:
ldr w0, [sp, #36]
bl _close
ldr x0, [sp, #40]
bl _unlink
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_11
b LBB1_10
LBB1_10:
bl ___stack_chk_fail
LBB1_11:
mov w0, #0
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x28, x27, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #320
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
l_.str.1: ; @.str.1
.asciz "quit"
l_.str.2: ; @.str.2
.asciz "bind"
l_.str.3: ; @.str.3
.asciz "listen"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _server ## -- Begin function server
.p2align 4, 0x90
_server: ## @server
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
leaq -12(%rbp), %rsi
movl $4, %edx
callq _read
cmpq $0, %rax
jne LBB0_3
## %bb.2:
movl $0, -4(%rbp)
jmp LBB0_6
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movslq -12(%rbp), %rdi
callq _malloc
movq %rax, -24(%rbp)
movl -8(%rbp), %edi
movq -24(%rbp), %rsi
movslq -12(%rbp), %rdx
callq _read
movq -24(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _free
movq -24(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
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 $288, %rsp ## imm = 0x120
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -236(%rbp)
movl %edi, -240(%rbp)
movq %rsi, -248(%rbp)
movq -248(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -256(%rbp)
movl $1, %esi
xorl %edx, %edx
movl %esi, %edi
callq _socket
movl %eax, -260(%rbp)
movb $1, -119(%rbp)
leaq -120(%rbp), %rdi
addq $2, %rdi
movq -256(%rbp), %rsi
movl $104, %edx
callq ___strcpy_chk
movl -260(%rbp), %eax
movl %eax, -284(%rbp) ## 4-byte Spill
leaq -120(%rbp), %rax
movq %rax, -280(%rbp) ## 8-byte Spill
leaq -120(%rbp), %rdi
addq $2, %rdi
callq _strlen
movl -284(%rbp), %edi ## 4-byte Reload
movq -280(%rbp), %rsi ## 8-byte Reload
addq $2, %rax
movl %eax, %edx
callq _bind
cmpl $-1, %eax
jne LBB1_3
## %bb.1:
jmp LBB1_2
LBB1_2:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB1_3:
movl -260(%rbp), %edi
movl $5, %esi
callq _listen
cmpl $-1, %eax
jne LBB1_6
## %bb.4:
jmp LBB1_5
LBB1_5:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB1_6:
jmp LBB1_7
LBB1_7: ## =>This Inner Loop Header: Depth=1
movl -260(%rbp), %edi
leaq -232(%rbp), %rsi
leaq -268(%rbp), %rdx
callq _accept
movl %eax, -272(%rbp)
movl -272(%rbp), %edi
callq _server
movl %eax, -264(%rbp)
movl -272(%rbp), %edi
callq _close
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
cmpl $0, -264(%rbp)
setne %al
xorb $-1, %al
testb $1, %al
jne LBB1_7
## %bb.9:
movl -260(%rbp), %edi
callq _close
movq -256(%rbp), %rdi
callq _unlink
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_11
## %bb.10:
xorl %eax, %eax
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB1_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
L_.str.1: ## @.str.1
.asciz "quit"
L_.str.2: ## @.str.2
.asciz "bind"
L_.str.3: ## @.str.3
.asciz "listen"
.subsections_via_symbols
| the_stack_data/132952553.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testStrncat ; -- Begin function testStrncat
.p2align 2
_testStrncat: ; @testStrncat
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #16]
sub x0, x29, #18
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #9
bl _strncat
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x2, #10
str x2, [sp] ; 8-byte Folded Spill
bl _strncat
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
mov x9, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
subs x2, x8, x9
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strncat
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr x1, [sp, #16]
mov x2, #8
bl _strncat
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
l_.str.1: ; @.str.1
.asciz "AAAAAAAAAAAAAAAAAAAAAAAAAAA"
l_.str.2: ; @.str.2
.asciz "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testStrncat ## -- Begin function testStrncat
.p2align 4, 0x90
_testStrncat: ## @testStrncat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -32(%rbp)
leaq -18(%rbp), %rdi
leaq L_.str(%rip), %rsi
movl $9, %edx
callq _strncat
leaq -18(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movl $10, %edx
callq _strncat
leaq -18(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
leaq -18(%rbp), %rdi
callq _strlen
movq -40(%rbp), %rdi ## 8-byte Reload
movl $10, %edx
subq %rax, %rdx
leaq L_.str.2(%rip), %rsi
callq _strncat
leaq -18(%rbp), %rdi
movq -32(%rbp), %rsi
movl $8, %edx
callq _strncat
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
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 "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
L_.str.1: ## @.str.1
.asciz "AAAAAAAAAAAAAAAAAAAAAAAAAAA"
L_.str.2: ## @.str.2
.asciz "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
.subsections_via_symbols
| the_stack_data/43886938.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
str w8, [sp, #36] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
stur x8, [x29, #-32]
ldur x0, [x29, #-32]
mov x9, sp
mov x8, #384
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
mov w1, #1537
bl _open
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w1, [sp, #36] ; 4-byte Folded Reload
stur w0, [x29, #-36]
ldur x0, [x29, #-24]
mov x9, sp
str x8, [x9]
bl _open
stur w0, [x29, #-40]
stur wzr, [x29, #-44]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB0_1
LBB0_4:
bl _fork
str w0, [sp, #44]
ldr w8, [sp, #44]
adds w8, w8, #1
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:
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_7
LBB0_7:
mov w0, #0
str w0, [sp, #16] ; 4-byte Folded Spill
bl _close
mov w0, #1
str w0, [sp, #20] ; 4-byte Folded Spill
bl _close
ldr w1, [sp, #16] ; 4-byte Folded Reload
ldur w0, [x29, #-40]
bl _dup2
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldur w0, [x29, #-36]
bl _dup2
ldur x8, [x29, #-16]
ldr x0, [x8]
ldur x1, [x29, #-16]
bl _execvp
str w0, [sp, #40]
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_9:
b LBB0_19
LBB0_10:
b LBB0_11
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #44]
add x1, sp, #48
mov w2, #1
bl _waitpid
str w0, [sp, #44]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [sp, #48]
ands w8, w8, #0x7f
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=1
ldur w0, [x29, #-36]
bl _close
ldur w0, [x29, #-40]
bl _close
ldr w8, [sp, #48]
asr w8, w8, #8
and w10, w8, #0xff
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_11 Depth=1
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_11 Depth=1
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_18
LBB0_18:
b LBB0_19
LBB0_19:
b LBB0_20
LBB0_20:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Something went wrong"
l_.str.1: ; @.str.1
.asciz "Unable to execute the bash command"
l_.str.2: ; @.str.2
.asciz "Error while waiting for child to terminate"
l_.str.3: ; @.str.3
.asciz "Requested process exited with status: %d.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movl $1537, %esi ## imm = 0x601
movl $384, %edx ## imm = 0x180
movb $0, %al
callq _open
movl %eax, -36(%rbp)
movq -24(%rbp), %rdi
xorl %esi, %esi
movl $384, %edx ## imm = 0x180
movb $0, %al
callq _open
movl %eax, -40(%rbp)
movl $0, -44(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $3, -44(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_4:
callq _fork
movl %eax, -52(%rbp)
cmpl $-1, -52(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_6:
cmpl $0, -52(%rbp)
jne LBB0_10
## %bb.7:
xorl %edi, %edi
callq _close
movl $1, %edi
callq _close
movl -40(%rbp), %edi
xorl %esi, %esi
callq _dup2
movl -36(%rbp), %edi
movl $1, %esi
callq _dup2
movq -16(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
callq _execvp
movl %eax, -56(%rbp)
cmpl $0, -56(%rbp)
jge LBB0_9
## %bb.8:
leaq L_.str.1(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_9:
jmp LBB0_19
LBB0_10:
jmp LBB0_11
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %edi
leaq -48(%rbp), %rsi
movl $1, %edx
callq _waitpid
movl %eax, -52(%rbp)
cmpl $-1, %eax
jne LBB0_13
## %bb.12:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
movl -48(%rbp), %eax
andl $127, %eax
cmpl $0, %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_11 Depth=1
movl -36(%rbp), %edi
callq _close
movl -40(%rbp), %edi
callq _close
movl -48(%rbp), %esi
sarl $8, %esi
andl $255, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_17
LBB0_17: ## in Loop: Header=BB0_11 Depth=1
cmpl $0, -52(%rbp)
je LBB0_11
## %bb.18:
jmp LBB0_19
LBB0_19:
jmp LBB0_20
LBB0_20:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Something went wrong"
L_.str.1: ## @.str.1
.asciz "Unable to execute the bash command"
L_.str.2: ## @.str.2
.asciz "Error while waiting for child to terminate"
L_.str.3: ## @.str.3
.asciz "Requested process exited with status: %d.\n"
.subsections_via_symbols
| the_stack_data/74957.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
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:
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
ldur x1, [x29, #-24]
add x0, sp, #16
str x0, [sp, #8] ; 8-byte Folded Spill
bl _sha_stream
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _sha_print
ldur x0, [x29, #-24]
bl _fclose
b LBB0_3
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.globl _sha_stream ; -- Begin function sha_stream
.p2align 2
_sha_stream: ; @sha_stream
.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, #8224
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #16]
str x1, [sp, #8]
ldr x0, [sp, #16]
bl _sha_init
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x3, [sp, #8]
add x0, sp, #24
mov x1, #1
mov x2, #8192
bl _fread
mov x8, x0
mov x9, x0
str w9, [sp, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16]
ldr w2, [sp, #4]
add x1, sp, #24
bl _sha_update
b LBB1_1
LBB1_3:
ldr x0, [sp, #16]
bl _sha_final
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
bl ___stack_chk_fail
LBB1_5:
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #32
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _sha_print ; -- Begin function sha_print
.p2align 2
_sha_print: ; @sha_print
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x13, [x8]
ldur x8, [x29, #-8]
ldr x12, [x8, #8]
ldur x8, [x29, #-8]
ldr x11, [x8, #16]
ldur x8, [x29, #-8]
ldr x10, [x8, #24]
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _sha_init ; -- Begin function sha_init
.p2align 2
_sha_init: ; @sha_init
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
mov x8, #8961
movk x8, #26437, lsl #16
str x8, [x9]
ldr x9, [sp, #8]
mov x8, #43913
movk x8, #61389, lsl #16
str x8, [x9, #8]
ldr x9, [sp, #8]
mov x8, #56574
movk x8, #39098, lsl #16
str x8, [x9, #16]
ldr x9, [sp, #8]
mov x8, #21622
movk x8, #4146, lsl #16
str x8, [x9, #24]
ldr x9, [sp, #8]
mov x8, #57840
movk x8, #50130, lsl #16
str x8, [x9, #32]
ldr x8, [sp, #8]
str xzr, [x8, #40]
ldr x8, [sp, #8]
str xzr, [x8, #48]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _sha_update ; -- Begin function sha_update
.p2align 2
_sha_update: ; @sha_update
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str w2, [sp, #12]
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
ldrsw x9, [sp, #12]
add x8, x8, x9, lsl #3
ldur x9, [x29, #-8]
ldr x9, [x9, #40]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldur x9, [x29, #-8]
ldr x8, [x9, #48]
add x8, x8, #1
str x8, [x9, #48]
b LBB4_2
LBB4_2:
ldrsw x10, [sp, #12]
ldur x9, [x29, #-8]
ldr x8, [x9, #40]
add x8, x8, x10, lsl #3
str x8, [x9, #40]
ldrsw x10, [sp, #12]
ldur x9, [x29, #-8]
ldr x8, [x9, #48]
add x8, x8, x10, lsr #29
str x8, [x9, #48]
b LBB4_3
LBB4_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #64
cset w8, lt
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=1
ldur x8, [x29, #-8]
add x0, x8, #56
ldr x1, [sp, #16]
mov x2, #64
mov x3, #-1
bl ___memcpy_chk
ldur x8, [x29, #-8]
add x0, x8, #56
mov w1, #64
bl _byte_reverse
ldur x0, [x29, #-8]
bl _sha_transform
ldr x8, [sp, #16]
add x8, x8, #64
str x8, [sp, #16]
ldr w8, [sp, #12]
subs w8, w8, #64
str w8, [sp, #12]
b LBB4_3
LBB4_5:
ldur x8, [x29, #-8]
add x0, x8, #56
ldr x1, [sp, #16]
ldrsw x2, [sp, #12]
mov x3, #-1
bl ___memcpy_chk
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function byte_reverse
_byte_reverse: ; @byte_reverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
ldrsw x8, [sp, #20]
mov x9, #8
udiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #20]
ldr x8, [sp, #24]
str x8, [sp]
str wzr, [sp, #16]
b LBB5_1
LBB5_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, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp]
ldrb w8, [x8]
strb w8, [sp, #12]
ldr x8, [sp]
ldrb w8, [x8, #1]
strb w8, [sp, #13]
ldr x8, [sp]
ldrb w8, [x8, #2]
strb w8, [sp, #14]
ldr x8, [sp]
ldrb w8, [x8, #3]
strb w8, [sp, #15]
ldrb w8, [sp, #15]
ldr x9, [sp]
strb w8, [x9]
ldrb w8, [sp, #14]
ldr x9, [sp]
strb w8, [x9, #1]
ldrb w8, [sp, #13]
ldr x9, [sp]
strb w8, [x9, #2]
ldrb w8, [sp, #12]
ldr x9, [sp]
strb w8, [x9, #3]
ldr x8, [sp]
add x8, x8, #8
str x8, [sp]
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB5_1
LBB5_4:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sha_transform
_sha_transform: ; @sha_transform
.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, #720
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #64]
str wzr, [sp, #60]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB6_4
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #64]
add x8, x8, #56
ldrsw x9, [sp, #60]
ldr x8, [x8, x9, lsl #3]
ldrsw x10, [sp, #60]
add x9, sp, #72
str x8, [x9, x10, lsl #3]
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB6_1
LBB6_4:
mov w8, #16
str w8, [sp, #60]
b LBB6_5
LBB6_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
subs w8, w8, #80
cset w8, ge
tbnz w8, #0, LBB6_8
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #60]
subs w8, w8, #3
add x9, sp, #72
ldr x8, [x9, w8, sxtw #3]
ldr w10, [sp, #60]
subs w10, w10, #8
ldr x10, [x9, w10, sxtw #3]
eor x8, x8, x10
ldr w10, [sp, #60]
subs w10, w10, #14
ldr x10, [x9, w10, sxtw #3]
eor x8, x8, x10
ldr w10, [sp, #60]
subs w10, w10, #16
ldr x10, [x9, w10, sxtw #3]
eor x8, x8, x10
ldrsw x10, [sp, #60]
str x8, [x9, x10, lsl #3]
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB6_5
LBB6_8:
ldr x8, [sp, #64]
ldr x8, [x8]
str x8, [sp, #40]
ldr x8, [sp, #64]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldr x8, [sp, #64]
ldr x8, [x8, #16]
str x8, [sp, #24]
ldr x8, [sp, #64]
ldr x8, [x8, #24]
str x8, [sp, #16]
ldr x8, [sp, #64]
ldr x8, [x8, #32]
str x8, [sp, #8]
str wzr, [sp, #60]
b LBB6_9
LBB6_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB6_12
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_9 Depth=1
ldr x9, [sp, #40]
ldr x8, [sp, #40]
lsr x8, x8, #27
orr x8, x8, x9, lsl #5
ldr x9, [sp, #32]
ldr x10, [sp, #24]
and x9, x9, x10
ldr x11, [sp, #32]
ldr x10, [sp, #16]
bic x10, x10, x11
orr x9, x9, x10
add x8, x8, x9
ldr x9, [sp, #8]
add x8, x8, x9
ldrsw x10, [sp, #60]
add x9, sp, #72
ldr x9, [x9, x10, lsl #3]
add x8, x8, x9
mov x9, #31129
movk x9, #23170, lsl #16
add x8, x8, x9
str x8, [sp, #48]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x9, [sp, #32]
ldr x8, [sp, #32]
lsr x8, x8, #2
orr x8, x8, x9, lsl #30
str x8, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #32]
ldr x8, [sp, #48]
str x8, [sp, #40]
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_9 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB6_9
LBB6_12:
mov w8, #20
str w8, [sp, #60]
b LBB6_13
LBB6_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
subs w8, w8, #40
cset w8, ge
tbnz w8, #0, LBB6_16
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_13 Depth=1
ldr x9, [sp, #40]
ldr x8, [sp, #40]
lsr x8, x8, #27
orr x8, x8, x9, lsl #5
ldr x9, [sp, #32]
ldr x10, [sp, #24]
eor x9, x9, x10
ldr x10, [sp, #16]
eor x9, x9, x10
add x8, x8, x9
ldr x9, [sp, #8]
add x8, x8, x9
ldrsw x10, [sp, #60]
add x9, sp, #72
ldr x9, [x9, x10, lsl #3]
add x8, x8, x9
mov x9, #60321
movk x9, #28377, lsl #16
add x8, x8, x9
str x8, [sp, #48]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x9, [sp, #32]
ldr x8, [sp, #32]
lsr x8, x8, #2
orr x8, x8, x9, lsl #30
str x8, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #32]
ldr x8, [sp, #48]
str x8, [sp, #40]
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_13 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB6_13
LBB6_16:
mov w8, #40
str w8, [sp, #60]
b LBB6_17
LBB6_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
subs w8, w8, #60
cset w8, ge
tbnz w8, #0, LBB6_20
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_17 Depth=1
ldr x9, [sp, #40]
ldr x8, [sp, #40]
lsr x8, x8, #27
orr x8, x8, x9, lsl #5
ldr x9, [sp, #32]
ldr x10, [sp, #24]
and x9, x9, x10
ldr x10, [sp, #32]
ldr x11, [sp, #16]
and x10, x10, x11
orr x9, x9, x10
ldr x10, [sp, #24]
ldr x11, [sp, #16]
and x10, x10, x11
orr x9, x9, x10
add x8, x8, x9
ldr x9, [sp, #8]
add x8, x8, x9
ldrsw x10, [sp, #60]
add x9, sp, #72
ldr x9, [x9, x10, lsl #3]
add x8, x8, x9
mov x9, #48348
movk x9, #36635, lsl #16
add x8, x8, x9
str x8, [sp, #48]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x9, [sp, #32]
ldr x8, [sp, #32]
lsr x8, x8, #2
orr x8, x8, x9, lsl #30
str x8, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #32]
ldr x8, [sp, #48]
str x8, [sp, #40]
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_17 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB6_17
LBB6_20:
mov w8, #60
str w8, [sp, #60]
b LBB6_21
LBB6_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
subs w8, w8, #80
cset w8, ge
tbnz w8, #0, LBB6_24
b LBB6_22
LBB6_22: ; in Loop: Header=BB6_21 Depth=1
ldr x9, [sp, #40]
ldr x8, [sp, #40]
lsr x8, x8, #27
orr x8, x8, x9, lsl #5
ldr x9, [sp, #32]
ldr x10, [sp, #24]
eor x9, x9, x10
ldr x10, [sp, #16]
eor x9, x9, x10
add x8, x8, x9
ldr x9, [sp, #8]
add x8, x8, x9
ldrsw x10, [sp, #60]
add x9, sp, #72
ldr x9, [x9, x10, lsl #3]
add x8, x8, x9
mov x9, #49622
movk x9, #51810, lsl #16
add x8, x8, x9
str x8, [sp, #48]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x9, [sp, #32]
ldr x8, [sp, #32]
lsr x8, x8, #2
orr x8, x8, x9, lsl #30
str x8, [sp, #24]
ldr x8, [sp, #40]
str x8, [sp, #32]
ldr x8, [sp, #48]
str x8, [sp, #40]
b LBB6_23
LBB6_23: ; in Loop: Header=BB6_21 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB6_21
LBB6_24:
ldr x10, [sp, #40]
ldr x9, [sp, #64]
ldr x8, [x9]
add x8, x8, x10
str x8, [x9]
ldr x10, [sp, #32]
ldr x9, [sp, #64]
ldr x8, [x9, #8]
add x8, x8, x10
str x8, [x9, #8]
ldr x10, [sp, #24]
ldr x9, [sp, #64]
ldr x8, [x9, #16]
add x8, x8, x10
str x8, [x9, #16]
ldr x10, [sp, #16]
ldr x9, [sp, #64]
ldr x8, [x9, #24]
add x8, x8, x10
str x8, [x9, #24]
ldr x10, [sp, #8]
ldr x9, [sp, #64]
ldr x8, [x9, #32]
add x8, x8, x10
str x8, [x9, #32]
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, LBB6_26
b LBB6_25
LBB6_25:
bl ___stack_chk_fail
LBB6_26:
add sp, sp, #720
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _sha_final ; -- Begin function sha_final
.p2align 2
_sha_final: ; @sha_final
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
str x8, [sp, #24]
ldur x8, [x29, #-8]
ldr x8, [x8, #48]
str x8, [sp, #16]
ldr x8, [sp, #24]
lsr x8, x8, #3
and x8, x8, #0x3f
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-12]
ldur x8, [x29, #-8]
add x8, x8, #56
ldursw x9, [x29, #-12]
mov x10, x9
add w10, w10, #1
stur w10, [x29, #-12]
add x9, x8, x9
mov w8, #128
strb w8, [x9]
ldur w8, [x29, #-12]
subs w8, w8, #56
cset w8, le
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldur x8, [x29, #-8]
add x8, x8, #56
ldursw x9, [x29, #-12]
add x0, x8, x9
ldur w9, [x29, #-12]
mov w8, #64
str w8, [sp] ; 4-byte Folded Spill
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov w1, #0
str w1, [sp, #4] ; 4-byte Folded Spill
mov x3, #-1
str x3, [sp, #8] ; 8-byte Folded Spill
bl ___memset_chk
ldr w1, [sp] ; 4-byte Folded Reload
ldur x8, [x29, #-8]
add x0, x8, #56
bl _byte_reverse
ldur x0, [x29, #-8]
bl _sha_transform
ldr w1, [sp, #4] ; 4-byte Folded Reload
ldr x3, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
add x0, x8, #56
mov x2, #56
bl ___memset_chk
b LBB7_3
LBB7_2:
ldur x8, [x29, #-8]
add x8, x8, #56
ldursw x9, [x29, #-12]
add x0, x8, x9
ldur w9, [x29, #-12]
mov w8, #56
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB7_3
LBB7_3:
ldur x8, [x29, #-8]
add x0, x8, #56
mov w1, #64
bl _byte_reverse
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9, #168]
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
str x8, [x9, #176]
ldur x0, [x29, #-8]
bl _sha_transform
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_large.asc"
l_.str.1: ; @.str.1
.asciz "rb"
l_.str.2: ; @.str.2
.asciz "error opening %s for reading\n"
l_.str.3: ; @.str.3
.asciz "%08lx %08lx %08lx %08lx %08lx\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
movq -24(%rbp), %rsi
leaq -208(%rbp), %rdi
callq _sha_stream
leaq -208(%rbp), %rdi
callq _sha_print
movq -24(%rbp), %rdi
callq _fclose
LBB0_3:
xorl %eax, %eax
addq $208, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sha_stream ## -- Begin function sha_stream
.p2align 4, 0x90
_sha_stream: ## @sha_stream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $8240, %eax ## imm = 0x2030
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -8216(%rbp)
movq %rsi, -8224(%rbp)
movq -8216(%rbp), %rdi
callq _sha_init
LBB1_1: ## =>This Inner Loop Header: Depth=1
leaq -8208(%rbp), %rdi
movq -8224(%rbp), %rcx
movl $1, %esi
movl $8192, %edx ## imm = 0x2000
callq _fread
## kill: def $eax killed $eax killed $rax
movl %eax, -8228(%rbp)
cmpl $0, %eax
jle LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8216(%rbp), %rdi
leaq -8208(%rbp), %rsi
movl -8228(%rbp), %edx
callq _sha_update
jmp LBB1_1
LBB1_3:
movq -8216(%rbp), %rdi
callq _sha_final
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_5
## %bb.4:
addq $8240, %rsp ## imm = 0x2030
popq %rbp
retq
LBB1_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _sha_print ## -- Begin function sha_print
.p2align 4, 0x90
_sha_print: ## @sha_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
movq (%rax), %rsi
movq -8(%rbp), %rax
movq 8(%rax), %rdx
movq -8(%rbp), %rax
movq 16(%rax), %rcx
movq -8(%rbp), %rax
movq 24(%rax), %r8
movq -8(%rbp), %rax
movq 32(%rax), %r9
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sha_init ## -- Begin function sha_init
.p2align 4, 0x90
_sha_init: ## @sha_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq $1732584193, (%rax) ## imm = 0x67452301
movq -8(%rbp), %rax
movl $4023233417, %ecx ## imm = 0xEFCDAB89
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movl $2562383102, %ecx ## imm = 0x98BADCFE
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq $271733878, 24(%rax) ## imm = 0x10325476
movq -8(%rbp), %rax
movl $3285377520, %ecx ## imm = 0xC3D2E1F0
movq %rcx, 32(%rax)
movq -8(%rbp), %rax
movq $0, 40(%rax)
movq -8(%rbp), %rax
movq $0, 48(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sha_update ## -- Begin function sha_update
.p2align 4, 0x90
_sha_update: ## @sha_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
movq 40(%rax), %rax
movslq -20(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq -8(%rbp), %rcx
cmpq 40(%rcx), %rax
jae LBB4_2
## %bb.1:
movq -8(%rbp), %rax
movq 48(%rax), %rcx
addq $1, %rcx
movq %rcx, 48(%rax)
LBB4_2:
movslq -20(%rbp), %rcx
shlq $3, %rcx
movq -8(%rbp), %rax
addq 40(%rax), %rcx
movq %rcx, 40(%rax)
movslq -20(%rbp), %rcx
shrq $29, %rcx
movq -8(%rbp), %rax
addq 48(%rax), %rcx
movq %rcx, 48(%rax)
LBB4_3: ## =>This Inner Loop Header: Depth=1
cmpl $64, -20(%rbp)
jl LBB4_5
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
movq -8(%rbp), %rdi
addq $56, %rdi
movq -16(%rbp), %rsi
movl $64, %edx
movq $-1, %rcx
callq ___memcpy_chk
movq -8(%rbp), %rdi
addq $56, %rdi
movl $64, %esi
callq _byte_reverse
movq -8(%rbp), %rdi
callq _sha_transform
movq -16(%rbp), %rax
addq $64, %rax
movq %rax, -16(%rbp)
movl -20(%rbp), %eax
subl $64, %eax
movl %eax, -20(%rbp)
jmp LBB4_3
LBB4_5:
movq -8(%rbp), %rdi
addq $56, %rdi
movq -16(%rbp), %rsi
movslq -20(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function byte_reverse
_byte_reverse: ## @byte_reverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movslq -12(%rbp), %rax
shrq $3, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movl $0, -16(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
movb (%rax), %al
movb %al, -20(%rbp)
movq -32(%rbp), %rax
movb 1(%rax), %al
movb %al, -19(%rbp)
movq -32(%rbp), %rax
movb 2(%rax), %al
movb %al, -18(%rbp)
movq -32(%rbp), %rax
movb 3(%rax), %al
movb %al, -17(%rbp)
movb -17(%rbp), %cl
movq -32(%rbp), %rax
movb %cl, (%rax)
movb -18(%rbp), %cl
movq -32(%rbp), %rax
movb %cl, 1(%rax)
movb -19(%rbp), %cl
movq -32(%rbp), %rax
movb %cl, 2(%rax)
movb -20(%rbp), %cl
movq -32(%rbp), %rax
movb %cl, 3(%rax)
movq -32(%rbp), %rax
addq $8, %rax
movq %rax, -32(%rbp)
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB5_1
LBB5_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sha_transform
_sha_transform: ## @sha_transform
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $720, %rsp ## imm = 0x2D0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -664(%rbp)
movl $0, -668(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -668(%rbp)
jge LBB6_4
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -664(%rbp), %rax
movslq -668(%rbp), %rcx
movq 56(%rax,%rcx,8), %rcx
movslq -668(%rbp), %rax
movq %rcx, -656(%rbp,%rax,8)
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
movl -668(%rbp), %eax
addl $1, %eax
movl %eax, -668(%rbp)
jmp LBB6_1
LBB6_4:
movl $16, -668(%rbp)
LBB6_5: ## =>This Inner Loop Header: Depth=1
cmpl $80, -668(%rbp)
jge LBB6_8
## %bb.6: ## in Loop: Header=BB6_5 Depth=1
movl -668(%rbp), %eax
subl $3, %eax
cltq
movq -656(%rbp,%rax,8), %rcx
movl -668(%rbp), %eax
subl $8, %eax
cltq
xorq -656(%rbp,%rax,8), %rcx
movl -668(%rbp), %eax
subl $14, %eax
cltq
xorq -656(%rbp,%rax,8), %rcx
movl -668(%rbp), %eax
subl $16, %eax
cltq
xorq -656(%rbp,%rax,8), %rcx
movslq -668(%rbp), %rax
movq %rcx, -656(%rbp,%rax,8)
## %bb.7: ## in Loop: Header=BB6_5 Depth=1
movl -668(%rbp), %eax
addl $1, %eax
movl %eax, -668(%rbp)
jmp LBB6_5
LBB6_8:
movq -664(%rbp), %rax
movq (%rax), %rax
movq %rax, -688(%rbp)
movq -664(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -696(%rbp)
movq -664(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -704(%rbp)
movq -664(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -712(%rbp)
movq -664(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -720(%rbp)
movl $0, -668(%rbp)
LBB6_9: ## =>This Inner Loop Header: Depth=1
cmpl $20, -668(%rbp)
jge LBB6_12
## %bb.10: ## in Loop: Header=BB6_9 Depth=1
movq -688(%rbp), %rax
shlq $5, %rax
movq -688(%rbp), %rcx
shrq $27, %rcx
orq %rcx, %rax
movq -696(%rbp), %rcx
andq -704(%rbp), %rcx
movq -696(%rbp), %rdx
xorq $-1, %rdx
andq -712(%rbp), %rdx
orq %rdx, %rcx
addq %rcx, %rax
addq -720(%rbp), %rax
movslq -668(%rbp), %rcx
addq -656(%rbp,%rcx,8), %rax
addq $1518500249, %rax ## imm = 0x5A827999
movq %rax, -680(%rbp)
movq -712(%rbp), %rax
movq %rax, -720(%rbp)
movq -704(%rbp), %rax
movq %rax, -712(%rbp)
movq -696(%rbp), %rax
shlq $30, %rax
movq -696(%rbp), %rcx
shrq $2, %rcx
orq %rcx, %rax
movq %rax, -704(%rbp)
movq -688(%rbp), %rax
movq %rax, -696(%rbp)
movq -680(%rbp), %rax
movq %rax, -688(%rbp)
## %bb.11: ## in Loop: Header=BB6_9 Depth=1
movl -668(%rbp), %eax
addl $1, %eax
movl %eax, -668(%rbp)
jmp LBB6_9
LBB6_12:
movl $20, -668(%rbp)
LBB6_13: ## =>This Inner Loop Header: Depth=1
cmpl $40, -668(%rbp)
jge LBB6_16
## %bb.14: ## in Loop: Header=BB6_13 Depth=1
movq -688(%rbp), %rax
shlq $5, %rax
movq -688(%rbp), %rcx
shrq $27, %rcx
orq %rcx, %rax
movq -696(%rbp), %rcx
xorq -704(%rbp), %rcx
xorq -712(%rbp), %rcx
addq %rcx, %rax
addq -720(%rbp), %rax
movslq -668(%rbp), %rcx
addq -656(%rbp,%rcx,8), %rax
addq $1859775393, %rax ## imm = 0x6ED9EBA1
movq %rax, -680(%rbp)
movq -712(%rbp), %rax
movq %rax, -720(%rbp)
movq -704(%rbp), %rax
movq %rax, -712(%rbp)
movq -696(%rbp), %rax
shlq $30, %rax
movq -696(%rbp), %rcx
shrq $2, %rcx
orq %rcx, %rax
movq %rax, -704(%rbp)
movq -688(%rbp), %rax
movq %rax, -696(%rbp)
movq -680(%rbp), %rax
movq %rax, -688(%rbp)
## %bb.15: ## in Loop: Header=BB6_13 Depth=1
movl -668(%rbp), %eax
addl $1, %eax
movl %eax, -668(%rbp)
jmp LBB6_13
LBB6_16:
movl $40, -668(%rbp)
LBB6_17: ## =>This Inner Loop Header: Depth=1
cmpl $60, -668(%rbp)
jge LBB6_20
## %bb.18: ## in Loop: Header=BB6_17 Depth=1
movq -688(%rbp), %rax
shlq $5, %rax
movq -688(%rbp), %rcx
shrq $27, %rcx
orq %rcx, %rax
movq -696(%rbp), %rcx
andq -704(%rbp), %rcx
movq -696(%rbp), %rdx
andq -712(%rbp), %rdx
orq %rdx, %rcx
movq -704(%rbp), %rdx
andq -712(%rbp), %rdx
orq %rdx, %rcx
addq %rcx, %rax
addq -720(%rbp), %rax
movslq -668(%rbp), %rcx
addq -656(%rbp,%rcx,8), %rax
movabsq $2400959708, %rcx ## imm = 0x8F1BBCDC
addq %rcx, %rax
movq %rax, -680(%rbp)
movq -712(%rbp), %rax
movq %rax, -720(%rbp)
movq -704(%rbp), %rax
movq %rax, -712(%rbp)
movq -696(%rbp), %rax
shlq $30, %rax
movq -696(%rbp), %rcx
shrq $2, %rcx
orq %rcx, %rax
movq %rax, -704(%rbp)
movq -688(%rbp), %rax
movq %rax, -696(%rbp)
movq -680(%rbp), %rax
movq %rax, -688(%rbp)
## %bb.19: ## in Loop: Header=BB6_17 Depth=1
movl -668(%rbp), %eax
addl $1, %eax
movl %eax, -668(%rbp)
jmp LBB6_17
LBB6_20:
movl $60, -668(%rbp)
LBB6_21: ## =>This Inner Loop Header: Depth=1
cmpl $80, -668(%rbp)
jge LBB6_24
## %bb.22: ## in Loop: Header=BB6_21 Depth=1
movq -688(%rbp), %rax
shlq $5, %rax
movq -688(%rbp), %rcx
shrq $27, %rcx
orq %rcx, %rax
movq -696(%rbp), %rcx
xorq -704(%rbp), %rcx
xorq -712(%rbp), %rcx
addq %rcx, %rax
addq -720(%rbp), %rax
movslq -668(%rbp), %rcx
addq -656(%rbp,%rcx,8), %rax
movabsq $3395469782, %rcx ## imm = 0xCA62C1D6
addq %rcx, %rax
movq %rax, -680(%rbp)
movq -712(%rbp), %rax
movq %rax, -720(%rbp)
movq -704(%rbp), %rax
movq %rax, -712(%rbp)
movq -696(%rbp), %rax
shlq $30, %rax
movq -696(%rbp), %rcx
shrq $2, %rcx
orq %rcx, %rax
movq %rax, -704(%rbp)
movq -688(%rbp), %rax
movq %rax, -696(%rbp)
movq -680(%rbp), %rax
movq %rax, -688(%rbp)
## %bb.23: ## in Loop: Header=BB6_21 Depth=1
movl -668(%rbp), %eax
addl $1, %eax
movl %eax, -668(%rbp)
jmp LBB6_21
LBB6_24:
movq -688(%rbp), %rcx
movq -664(%rbp), %rax
addq (%rax), %rcx
movq %rcx, (%rax)
movq -696(%rbp), %rcx
movq -664(%rbp), %rax
addq 8(%rax), %rcx
movq %rcx, 8(%rax)
movq -704(%rbp), %rcx
movq -664(%rbp), %rax
addq 16(%rax), %rcx
movq %rcx, 16(%rax)
movq -712(%rbp), %rcx
movq -664(%rbp), %rax
addq 24(%rax), %rcx
movq %rcx, 24(%rax)
movq -720(%rbp), %rcx
movq -664(%rbp), %rax
addq 32(%rax), %rcx
movq %rcx, 32(%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_26
## %bb.25:
addq $720, %rsp ## imm = 0x2D0
popq %rbp
retq
LBB6_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _sha_final ## -- Begin function sha_final
.p2align 4, 0x90
_sha_final: ## @sha_final
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 40(%rax), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movq 48(%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
shrq $3, %rax
andq $63, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -12(%rbp)
movslq %ecx, %rcx
movb $-128, 56(%rax,%rcx)
cmpl $56, -12(%rbp)
jle LBB7_2
## %bb.1:
movq -8(%rbp), %rdi
addq $56, %rdi
movslq -12(%rbp), %rax
addq %rax, %rdi
movl $64, %eax
subl -12(%rbp), %eax
movslq %eax, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rdi
addq $56, %rdi
movl $64, %esi
callq _byte_reverse
movq -8(%rbp), %rdi
callq _sha_transform
movq -8(%rbp), %rdi
addq $56, %rdi
xorl %esi, %esi
movl $56, %edx
movq $-1, %rcx
callq ___memset_chk
jmp LBB7_3
LBB7_2:
movq -8(%rbp), %rdi
addq $56, %rdi
movslq -12(%rbp), %rax
addq %rax, %rdi
movl $56, %eax
subl -12(%rbp), %eax
movslq %eax, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
LBB7_3:
movq -8(%rbp), %rdi
addq $56, %rdi
movl $64, %esi
callq _byte_reverse
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 168(%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 176(%rax)
movq -8(%rbp), %rdi
callq _sha_transform
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "input_large.asc"
L_.str.1: ## @.str.1
.asciz "rb"
L_.str.2: ## @.str.2
.asciz "error opening %s for reading\n"
L_.str.3: ## @.str.3
.asciz "%08lx %08lx %08lx %08lx %08lx\n"
.subsections_via_symbols
| the_stack_data/179830812.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _u,4,2 ; @u
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _u,4,2 ## @u
.subsections_via_symbols
| the_stack_data/801678.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #64]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x1, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _fputs
add x0, sp, #71
str x0, [sp, #32] ; 8-byte Folded Spill
mov w1, #81
bl _mygets
ldr x0, [sp, #32] ; 8-byte Folded Reload
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #48]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
add x8, sp, #71
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x1, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _fputs
add x0, sp, #71
str x0, [sp, #16] ; 8-byte Folded Spill
mov w1, #81
bl _mygets
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #40]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
add x0, sp, #71
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #40]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldr x0, [sp, #40]
bl _fclose
b LBB0_5
LBB0_5:
mov w0, #1
bl _exit
LBB0_6:
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #48]
bl _getc
str w0, [sp, #60]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [sp, #60]
bl _toupper
ldr x1, [sp, #40]
bl _putc
b LBB0_7
LBB0_9:
ldr x0, [sp, #48]
bl _fclose
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x0, [sp, #40]
bl _fclose
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
b LBB0_12
LBB0_12:
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, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.globl _mygets ; -- Begin function mygets
.p2align 2
_mygets: ; @mygets
.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 wzr, [sp, #4]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _getc
str w0, [sp, #8]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ne
str w8, [sp] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
strb w8, [x9, x10]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_7:
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
add x8, x8, x9
strb wzr, [x8]
ldr w8, [sp, #8]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_8
LBB1_8:
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_9
LBB1_9:
b LBB1_10
LBB1_10: ; =>This Inner Loop Header: Depth=1
bl _getchar
subs w8, w0, #10
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=1
b LBB1_10
LBB1_12:
b LBB1_13
LBB1_13:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB1_16
LBB1_15:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB1_16
LBB1_16:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the name of the source text file:\n"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Can't open %s\n"
l_.str.3: ; @.str.3
.asciz "Enter the name of the destination file:\n"
l_.str.4: ; @.str.4
.asciz "wx"
l_.str.5: ; @.str.5
.asciz "Can't create output file.\n"
l_.str.6: ; @.str.6
.asciz "Such file already exists.\n"
l_.str.7: ; @.str.7
.asciz "Error in closing files.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
callq _fputs
leaq -96(%rbp), %rdi
movl $81, %esi
callq _mygets
leaq -96(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -112(%rbp)
cmpq $0, %rax
jne LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -96(%rbp), %rdx
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.3(%rip), %rdi
callq _fputs
leaq -96(%rbp), %rdi
movl $81, %esi
callq _mygets
leaq -96(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -120(%rbp)
cmpq $0, %rax
jne LBB0_6
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
leaq -96(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -120(%rbp)
cmpq $0, %rax
je LBB0_5
## %bb.4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
movq -120(%rbp), %rdi
callq _fclose
LBB0_5:
movl $1, %edi
callq _exit
LBB0_6:
jmp LBB0_7
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq -112(%rbp), %rdi
callq _getc
movl %eax, -104(%rbp)
cmpl $-1, %eax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl -104(%rbp), %edi
callq _toupper
movl %eax, %edi
movq -120(%rbp), %rsi
callq _putc
jmp LBB0_7
LBB0_9:
movq -112(%rbp), %rdi
callq _fclose
cmpl $0, %eax
jne LBB0_11
## %bb.10:
movq -120(%rbp), %rdi
callq _fclose
cmpl $0, %eax
je LBB0_12
LBB0_11:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_12:
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 $128, %rsp
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _mygets ## -- Begin function mygets
.p2align 4, 0x90
_mygets: ## @mygets
.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 $0, -28(%rbp)
movl $0, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %ecx
movl -20(%rbp), %edx
subl $1, %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -29(%rbp) ## 1-byte Spill
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _getc
movl %eax, %ecx
movl %ecx, -24(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -29(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -24(%rbp)
setne %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_7
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
movb %al, %dl
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_7:
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb $0, (%rax,%rcx)
cmpl $-1, -24(%rbp)
je LBB1_13
## %bb.8:
cmpl $10, -24(%rbp)
je LBB1_13
## %bb.9:
jmp LBB1_10
LBB1_10: ## =>This Inner Loop Header: Depth=1
callq _getchar
cmpl $10, %eax
je LBB1_12
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
jmp LBB1_10
LBB1_12:
jmp LBB1_13
LBB1_13:
cmpl $0, -28(%rbp)
jle LBB1_15
## %bb.14:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB1_16
LBB1_15:
movq $0, -8(%rbp)
LBB1_16:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the name of the source text file:\n"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Can't open %s\n"
L_.str.3: ## @.str.3
.asciz "Enter the name of the destination file:\n"
L_.str.4: ## @.str.4
.asciz "wx"
L_.str.5: ## @.str.5
.asciz "Can't create output file.\n"
L_.str.6: ## @.str.6
.asciz "Such file already exists.\n"
L_.str.7: ## @.str.7
.asciz "Error in closing files.\n"
.subsections_via_symbols
| the_stack_data/59513632.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 InitUnigramTable
lCPI0_0:
.quad 0x4197d78400000000 ; double 1.0E+8
.section __TEXT,__text,regular,pure_instructions
.globl _InitUnigramTable
.p2align 2
_InitUnigramTable: ; @InitUnigramTable
.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, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
movi d0, #0000000000000000
stur d0, [x29, #-16]
fmov d0, #0.75000000
str d0, [sp, #16]
mov x0, #33792
movk x0, #6103, lsl #16
bl _malloc
adrp x8, _word_table@GOTPAGE
ldr x8, [x8, _word_table@GOTPAGEOFF]
str x0, [x8]
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-4]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
lsl x9, x9, #4
ldr d0, [x8, x9]
scvtf d0, d0
ldr d1, [sp, #16]
bl _pow
fmov d1, d0
ldur d0, [x29, #-16]
fadd d0, d0, d1
stur d0, [x29, #-16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur wzr, [x29, #-8]
ldr x8, [x8]
ldursw x9, [x29, #-8]
lsl x9, x9, #4
ldr d0, [x8, x9]
scvtf d0, d0
ldr d1, [sp, #16]
bl _pow
ldur d1, [x29, #-16]
fdiv d0, d0, d1
str d0, [sp, #24]
stur wzr, [x29, #-4]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
mov w9, #57600
movk w9, #1525, lsl #16
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-8]
adrp x9, _word_table@GOTPAGE
ldr x9, [x9, _word_table@GOTPAGEOFF]
ldr x9, [x9]
ldursw x10, [x29, #-4]
str w8, [x9, x10, lsl #2]
ldur s1, [x29, #-4]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
ldr d1, [sp, #24]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-8]
add w9, w9, #1
stur w9, [x29, #-8]
ldr x8, [x8]
ldursw x9, [x29, #-8]
lsl x9, x9, #4
ldr d0, [x8, x9]
scvtf d0, d0
ldr d1, [sp, #16]
bl _pow
ldur d1, [x29, #-16]
fdiv d1, d0, d1
ldr d0, [sp, #24]
fadd d0, d0, d1
str d0, [sp, #24]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldursw x8, [x29, #-8]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
subs x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-8]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_5
LBB0_12:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ReadWord ; -- Begin function ReadWord
.p2align 2
_ReadWord: ; @ReadWord
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #16]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16]
bl _fgetc
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_11
b LBB1_8
LBB1_8:
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldr w0, [sp, #8]
ldr x1, [sp, #16]
bl _ungetc
b LBB1_10
LBB1_10:
b LBB1_17
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
ldur x0, [x29, #-8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #-1
bl ___strcpy_chk
b LBB1_18
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #99
cset w8, lt
tbnz w8, #0, LBB1_16
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_17:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9
strb wzr, [x8]
b LBB1_18
LBB1_18:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _GetWordHash ; -- Begin function GetWordHash
.p2align 2
_GetWordHash: ; @GetWordHash
.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 xzr, [sp, #8]
str xzr, [sp, #16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
mov x9, #257
mul x8, x8, x9
ldur x9, [x29, #-8]
ldr x10, [sp, #16]
ldrsb x9, [x9, x10]
add x8, x8, x9
str x8, [sp, #8]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB2_1
LBB2_4:
ldr x8, [sp, #8]
mov x10, #50048
movk x10, #457, lsl #16
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
mov x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _SearchVocab ; -- Begin function SearchVocab
.p2align 2
_SearchVocab: ; @SearchVocab
.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, _vocab_hash@GOTPAGE
ldr x8, [x8, _vocab_hash@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _GetWordHash
str w0, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2:
mov w8, #-1
stur w8, [x29, #-4]
b LBB3_6
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr x0, [sp, #16]
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [x9]
ldr w10, [sp, #12]
; kill: def $x10 killed $w10
ldrsw x9, [x9, x10, lsl #2]
add x8, x8, x9, lsl #4
ldr x1, [x8, #8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-4]
b LBB3_6
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
mov w10, #50048
movk w10, #457, lsl #16
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #12]
b LBB3_1
LBB3_6:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _FindLine ; -- Begin function FindLine
.p2align 2
_FindLine: ; @FindLine
.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 _ftell
stur x0, [x29, #-16]
str xzr, [sp, #24]
adrp x8, _corpus_size@PAGE
ldr x8, [x8, _corpus_size@PAGEOFF]
subs x8, x8, #1
str x8, [sp, #16]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB4_6
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #16]
ldr x10, [sp, #24]
subs x9, x9, x10
mov x10, #2
sdiv x9, x9, x10
add x8, x8, x9
str x8, [sp, #8]
adrp x8, _doc_sizes@GOTPAGE
ldr x8, [x8, _doc_sizes@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #8]
str x8, [sp, #16]
b LBB4_5
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #24]
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_6:
ldr x8, [sp, #24]
mov x0, x8
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ReadWordIndex ; -- Begin function ReadWordIndex
.p2align 2
_ReadWordIndex: ; @ReadWordIndex
.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 x0, [sp, #8]
ldr x1, [sp, #8]
add x0, sp, #20
bl _ReadWord
ldr x0, [sp, #8]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w8, #-1
str w8, [sp, #16]
b LBB5_3
LBB5_2:
add x0, sp, #20
bl _SearchVocab
str w0, [sp, #16]
b LBB5_3
LBB5_3:
ldr w8, [sp, #16]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
bl ___stack_chk_fail
LBB5_5:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _AddWordToVocab ; -- Begin function AddWordToVocab
.p2align 2
_AddWordToVocab: ; @AddWordToVocab
.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, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
bl _strlen
add x8, x0, #1
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #100
cset w8, ls
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
mov w8, #100
str w8, [sp, #16]
b LBB6_2
LBB6_2:
ldr w8, [sp, #16]
mov x0, x8
mov x1, #1
bl _calloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [x8]
adrp x9, _vocab_size@PAGE
str x9, [sp] ; 8-byte Folded Spill
ldr x11, [x9, _vocab_size@PAGEOFF]
add x10, x10, x11, lsl #4
str x0, [x10, #8]
ldr x8, [x8]
ldr x9, [x9, _vocab_size@PAGEOFF]
add x8, x8, x9, lsl #4
ldr x0, [x8, #8]
ldur x1, [x29, #-8]
mov x2, #-1
bl ___strcpy_chk
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [x9]
ldr x9, [x8, _vocab_size@PAGEOFF]
lsl x11, x9, #4
mov x9, #0
str x9, [x10, x11]
ldr x9, [x8, _vocab_size@PAGEOFF]
add x9, x9, #1
str x9, [x8, _vocab_size@PAGEOFF]
ldr x8, [x8, _vocab_size@PAGEOFF]
add x8, x8, #2
adrp x9, _vocab_max_size@PAGE
ldr x9, [x9, _vocab_max_size@PAGEOFF]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
ldr x9, [sp, #8] ; 8-byte Folded Reload
adrp x8, _vocab_max_size@PAGE
ldr x10, [x8, _vocab_max_size@PAGEOFF]
add x10, x10, #1000
str x10, [x8, _vocab_max_size@PAGEOFF]
ldr x0, [x9]
ldr x8, [x8, _vocab_max_size@PAGEOFF]
lsl x1, x8, #4
bl _realloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8]
b LBB6_4
LBB6_4:
ldur x0, [x29, #-8]
bl _GetWordHash
stur w0, [x29, #-12]
b LBB6_5
LBB6_5: ; =>This Inner Loop Header: Depth=1
adrp x8, _vocab_hash@GOTPAGE
ldr x8, [x8, _vocab_hash@GOTPAGEOFF]
ldr x8, [x8]
ldur w9, [x29, #-12]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
mov w10, #50048
movk w10, #457, lsl #16
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-12]
b LBB6_5
LBB6_7:
adrp x8, _vocab_size@PAGE
ldr x9, [x8, _vocab_size@PAGEOFF]
subs x9, x9, #1
adrp x10, _vocab_hash@GOTPAGE
ldr x10, [x10, _vocab_hash@GOTPAGEOFF]
ldr x10, [x10]
ldur w11, [x29, #-12]
; kill: def $x11 killed $w11
; kill: def $w9 killed $w9 killed $x9
str w9, [x10, x11, lsl #2]
ldr x8, [x8, _vocab_size@PAGEOFF]
subs x8, x8, #1
mov x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _VocabCompare ; -- Begin function VocabCompare
.p2align 2
_VocabCompare: ; @VocabCompare
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [sp, #16]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
ldr x8, [sp, #16]
ldr x1, [x8, #8]
bl _strcmp
stur w0, [x29, #-4]
b LBB7_3
LBB7_2:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [sp, #16]
ldr x9, [x9]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB7_3
LBB7_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _IntCompare ; -- Begin function IntCompare
.p2align 2
_IntCompare: ; @IntCompare
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp]
ldr w9, [x9]
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _SortVocab ; -- Begin function SortVocab
.p2align 2
_SortVocab: ; @SortVocab
.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, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
mov w9, #50048
movk w9, #457, lsl #16
str w9, [sp, #20] ; 4-byte Folded Spill
adrp x9, _vocab_hash@GOTPAGE
ldr x9, [x9, _vocab_hash@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
ldr x8, [x8]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x1, x9, #1
add x0, x8, #16
mov x2, #16
adrp x3, _VocabCompare@PAGE
add x3, x3, _VocabCompare@PAGEOFF
bl _qsort
stur wzr, [x29, #-4]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [sp, #20] ; 4-byte Folded Reload
ldur w8, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x9, [x8]
ldursw x10, [x29, #-4]
mov w8, #-1
str w8, [x9, x10, lsl #2]
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB9_1
LBB9_4:
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-8]
adrp x8, _train_words@PAGE
str xzr, [x8, _train_words@PAGEOFF]
stur wzr, [x29, #-4]
b LBB9_5
LBB9_5: ; =>This Loop Header: Depth=1
; Child Loop BB9_10 Depth 2
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_15
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
lsl x9, x9, #4
ldr x8, [x8, x9]
adrp x9, _min_count@PAGE
ldrsw x9, [x9, _min_count@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB9_9
b LBB9_7
LBB9_7: ; in Loop: Header=BB9_5 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB9_9
b LBB9_8
LBB9_8: ; in Loop: Header=BB9_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x10, _vocab_size@PAGE
ldr x9, [x10, _vocab_size@PAGEOFF]
subs x9, x9, #1
str x9, [x10, _vocab_size@PAGEOFF]
ldr x8, [x8]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #4
ldr x0, [x8, #8]
bl _free
b LBB9_13
LBB9_9: ; in Loop: Header=BB9_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #4
ldr x0, [x8, #8]
bl _GetWordHash
stur w0, [x29, #-12]
b LBB9_10
LBB9_10: ; Parent Loop BB9_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldur w9, [x29, #-12]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB9_12
b LBB9_11
LBB9_11: ; in Loop: Header=BB9_10 Depth=2
ldr w10, [sp, #20] ; 4-byte Folded Reload
ldur w8, [x29, #-12]
add w8, w8, #1
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-12]
b LBB9_10
LBB9_12: ; in Loop: Header=BB9_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
ldr x10, [x10]
ldur w11, [x29, #-12]
; kill: def $x11 killed $w11
str w9, [x10, x11, lsl #2]
ldr x8, [x8]
ldursw x9, [x29, #-4]
lsl x9, x9, #4
ldr x10, [x8, x9]
adrp x9, _train_words@PAGE
ldr x8, [x9, _train_words@PAGEOFF]
add x8, x8, x10
str x8, [x9, _train_words@PAGEOFF]
b LBB9_13
LBB9_13: ; in Loop: Header=BB9_5 Depth=1
b LBB9_14
LBB9_14: ; in Loop: Header=BB9_5 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB9_5
LBB9_15:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
add x8, x8, #1
lsl x1, x8, #4
bl _realloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ReduceVocab ; -- Begin function ReduceVocab
.p2align 2
_ReduceVocab: ; @ReduceVocab
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #50048
movk w8, #457, lsl #16
str w8, [sp, #12] ; 4-byte Folded Spill
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _vocab_hash@GOTPAGE
ldr x8, [x8, _vocab_hash@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-8]
stur wzr, [x29, #-4]
b LBB10_1
LBB10_1: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-4]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB10_7
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
lsl x9, x9, #4
ldr x8, [x8, x9]
adrp x9, _min_reduce@PAGE
ldrsw x9, [x9, _min_reduce@PAGEOFF]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3: ; in Loop: Header=BB10_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x9]
ldursw x10, [x29, #-4]
lsl x10, x10, #4
ldr x8, [x8, x10]
ldr x10, [x9]
ldursw x11, [x29, #-8]
lsl x11, x11, #4
str x8, [x10, x11]
ldr x8, [x9]
ldursw x10, [x29, #-4]
add x8, x8, x10, lsl #4
ldr x8, [x8, #8]
ldr x9, [x9]
ldursw x10, [x29, #-8]
add x9, x9, x10, lsl #4
str x8, [x9, #8]
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB10_5
LBB10_4: ; in Loop: Header=BB10_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #4
ldr x0, [x8, #8]
bl _free
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_1 Depth=1
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_1
LBB10_7:
ldursw x8, [x29, #-8]
adrp x9, _vocab_size@PAGE
str x8, [x9, _vocab_size@PAGEOFF]
stur wzr, [x29, #-4]
b LBB10_8
LBB10_8: ; =>This Inner Loop Header: Depth=1
ldr w9, [sp, #12] ; 4-byte Folded Reload
ldur w8, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_11
b LBB10_9
LBB10_9: ; in Loop: Header=BB10_8 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x9, [x8]
ldursw x10, [x29, #-4]
mov w8, #-1
str w8, [x9, x10, lsl #2]
b LBB10_10
LBB10_10: ; in Loop: Header=BB10_8 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_8
LBB10_11:
stur wzr, [x29, #-4]
b LBB10_12
LBB10_12: ; =>This Loop Header: Depth=1
; Child Loop BB10_14 Depth 2
ldursw x8, [x29, #-4]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB10_18
b LBB10_13
LBB10_13: ; in Loop: Header=BB10_12 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #4
ldr x0, [x8, #8]
bl _GetWordHash
stur w0, [x29, #-12]
b LBB10_14
LBB10_14: ; Parent Loop BB10_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldur w9, [x29, #-12]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB10_16
b LBB10_15
LBB10_15: ; in Loop: Header=BB10_14 Depth=2
ldr w10, [sp, #12] ; 4-byte Folded Reload
ldur w8, [x29, #-12]
add w8, w8, #1
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-12]
b LBB10_14
LBB10_16: ; in Loop: Header=BB10_12 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr x9, [x9]
ldur w10, [x29, #-12]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
b LBB10_17
LBB10_17: ; in Loop: Header=BB10_12 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_12
LBB10_18:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
adrp x9, _min_reduce@PAGE
ldr w8, [x9, _min_reduce@PAGEOFF]
add w8, w8, #1
str w8, [x9, _min_reduce@PAGEOFF]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function LearnVocabFromTrainFile
lCPI11_0:
.quad 0x417406f400000000 ; double 2.1E+7
.section __TEXT,__text,regular,pure_instructions
.globl _LearnVocabFromTrainFile
.p2align 2
_LearnVocabFromTrainFile: ; @LearnVocabFromTrainFile
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@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, #-8]
str xzr, [sp, #32]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
mov x9, #50048
movk x9, #457, lsl #16
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB11_4
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
adrp x8, _vocab_hash@GOTPAGE
ldr x8, [x8, _vocab_hash@GOTPAGEOFF]
ldr x9, [x8]
ldr x10, [sp, #32]
mov w8, #-1
str w8, [x9, x10, lsl #2]
b LBB11_3
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB11_1
LBB11_4:
adrp x0, _train_file@GOTPAGE
ldr x0, [x0, _train_file@GOTPAGEOFF]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_6
b LBB11_5
LBB11_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB11_6:
adrp x8, _vocab_size@PAGE
str xzr, [x8, _vocab_size@PAGEOFF]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _AddWordToVocab
b LBB11_7
LBB11_7: ; =>This Inner Loop Header: Depth=1
ldr x1, [sp, #40]
add x0, sp, #52
bl _ReadWord
ldr x0, [sp, #40]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB11_9
b LBB11_8
LBB11_8:
b LBB11_23
LBB11_9: ; in Loop: Header=BB11_7 Depth=1
adrp x9, _train_words@PAGE
ldr x8, [x9, _train_words@PAGEOFF]
add x8, x8, #1
str x8, [x9, _train_words@PAGEOFF]
adrp x8, _debug_mode@PAGE
ldr w8, [x8, _debug_mode@PAGEOFF]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB11_12
b LBB11_10
LBB11_10: ; in Loop: Header=BB11_7 Depth=1
adrp x8, _train_words@PAGE
ldr x8, [x8, _train_words@PAGEOFF]
mov x10, #34464
movk x10, #1, lsl #16
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_12
b LBB11_11
LBB11_11: ; in Loop: Header=BB11_7 Depth=1
adrp x8, _train_words@PAGE
ldr x8, [x8, _train_words@PAGEOFF]
mov x9, #1000
sdiv x8, x8, x9
mov x9, sp
str x8, [x9]
mov x8, #13
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
b LBB11_12
LBB11_12: ; in Loop: Header=BB11_7 Depth=1
add x0, sp, #52
bl _SearchVocab
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #24]
ldr x8, [sp, #24]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB11_14
b LBB11_13
LBB11_13: ; in Loop: Header=BB11_7 Depth=1
add x0, sp, #52
bl _AddWordToVocab
ldr x8, [sp, #16] ; 8-byte Folded Reload
; implicit-def: $x9
mov x9, x0
sxtw x9, w9
str x9, [sp, #32]
ldr x9, [x8]
ldr x8, [sp, #32]
lsl x10, x8, #4
mov x8, #1
str x8, [x9, x10]
b LBB11_20
LBB11_14: ; in Loop: Header=BB11_7 Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_18
b LBB11_15
LBB11_15: ; in Loop: Header=BB11_7 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #24]
add x9, x8, x9, lsl #4
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
ldr x0, [sp, #40]
bl _ftell
adrp x8, _doc_sizes@GOTPAGE
ldr x8, [x8, _doc_sizes@GOTPAGEOFF]
ldr x9, [x8]
adrp x8, _corpus_size@PAGE
ldr x10, [x8, _corpus_size@PAGEOFF]
str x0, [x9, x10, lsl #3]
ldr x9, [x8, _corpus_size@PAGEOFF]
add x9, x9, #1
str x9, [x8, _corpus_size@PAGEOFF]
ldr x8, [x8, _corpus_size@PAGEOFF]
mov x9, #23040
movk x9, #610, lsl #16
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB11_17
b LBB11_16
LBB11_16:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB11_17: ; in Loop: Header=BB11_7 Depth=1
b LBB11_19
LBB11_18: ; in Loop: Header=BB11_7 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #24]
add x9, x8, x9, lsl #4
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
b LBB11_19
LBB11_19: ; in Loop: Header=BB11_7 Depth=1
b LBB11_20
LBB11_20: ; in Loop: Header=BB11_7 Depth=1
adrp x8, _vocab_size@PAGE
ldr d0, [x8, _vocab_size@PAGEOFF]
scvtf d0, d0
adrp x8, lCPI11_0@PAGE
ldr d1, [x8, lCPI11_0@PAGEOFF]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB11_22
b LBB11_21
LBB11_21: ; in Loop: Header=BB11_7 Depth=1
bl _ReduceVocab
b LBB11_22
LBB11_22: ; in Loop: Header=BB11_7 Depth=1
b LBB11_7
LBB11_23:
bl _SortVocab
adrp x8, _debug_mode@PAGE
ldr w8, [x8, _debug_mode@PAGEOFF]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB11_25
b LBB11_24
LBB11_24:
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x8, _train_words@PAGE
ldr x8, [x8, _train_words@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB11_25
LBB11_25:
ldr x0, [sp, #40]
bl _ftell
adrp x8, _file_size@PAGE
str x0, [x8, _file_size@PAGEOFF]
ldr x0, [sp, #40]
bl _fclose
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, LBB11_27
b LBB11_26
LBB11_26:
bl ___stack_chk_fail
LBB11_27:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.globl _SaveVocab ; -- Begin function SaveVocab
.p2align 2
_SaveVocab: ; @SaveVocab
.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, _save_vocab_file@GOTPAGE
ldr x0, [x0, _save_vocab_file@GOTPAGEOFF]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
str x0, [sp, #16]
stur xzr, [x29, #-8]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB12_4
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
ldr x0, [sp, #16]
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
ldr x9, [x8]
ldur x10, [x29, #-8]
add x9, x9, x10, lsl #4
ldr x10, [x9, #8]
ldr x8, [x8]
ldur x9, [x29, #-8]
lsl x9, x9, #4
ldr x8, [x8, x9]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
b LBB12_3
LBB12_3: ; in Loop: Header=BB12_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB12_1
LBB12_4:
ldr x0, [sp, #16]
bl _fclose
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ReadVocab ; -- Begin function ReadVocab
.p2align 2
_ReadVocab: ; @ReadVocab
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str xzr, [sp, #32]
adrp x0, _read_vocab_file@GOTPAGE
ldr x0, [x0, _read_vocab_file@GOTPAGEOFF]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB13_2:
str xzr, [sp, #40]
b LBB13_3
LBB13_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
mov x9, #50048
movk x9, #457, lsl #16
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB13_6
b LBB13_4
LBB13_4: ; in Loop: Header=BB13_3 Depth=1
adrp x8, _vocab_hash@GOTPAGE
ldr x8, [x8, _vocab_hash@GOTPAGEOFF]
ldr x9, [x8]
ldr x10, [sp, #40]
mov w8, #-1
str w8, [x9, x10, lsl #2]
b LBB13_5
LBB13_5: ; in Loop: Header=BB13_3 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB13_3
LBB13_6:
adrp x8, _vocab_size@PAGE
str xzr, [x8, _vocab_size@PAGEOFF]
b LBB13_7
LBB13_7: ; =>This Inner Loop Header: Depth=1
ldr x1, [sp, #16]
add x0, sp, #52
bl _ReadWord
ldr x0, [sp, #16]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB13_9
b LBB13_8
LBB13_8:
b LBB13_10
LBB13_9: ; in Loop: Header=BB13_7 Depth=1
add x0, sp, #52
bl _AddWordToVocab
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #40]
ldr x0, [sp, #16]
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [sp, #40]
add x8, x8, x9, lsl #4
mov x9, sp
str x8, [x9]
add x8, sp, #31
str x8, [x9, #8]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fscanf
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB13_7
LBB13_10:
bl _SortVocab
adrp x8, _debug_mode@PAGE
ldr w8, [x8, _debug_mode@PAGEOFF]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB13_12
b LBB13_11
LBB13_11:
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x8, _train_words@PAGE
ldr x8, [x8, _train_words@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB13_12
LBB13_12:
adrp x0, _train_file@GOTPAGE
ldr x0, [x0, _train_file@GOTPAGEOFF]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_14
b LBB13_13
LBB13_13:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB13_14:
ldr x0, [sp, #16]
mov x1, #0
mov w2, #2
bl _fseek
ldr x0, [sp, #16]
bl _ftell
adrp x8, _file_size@PAGE
str x0, [x8, _file_size@PAGEOFF]
ldr x0, [sp, #16]
bl _fclose
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB13_16
b LBB13_15
LBB13_15:
bl ___stack_chk_fail
LBB13_16:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.globl _LoadEmb ; -- Begin function LoadEmb
.p2align 2
_LoadEmb: ; @LoadEmb
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
adrp x8, _vocab_size@PAGE
ldr x0, [x8, _vocab_size@PAGEOFF]
mov x1, #4
bl _calloc
stur x0, [x29, #-40]
stur wzr, [x29, #-44]
mov x0, #100
mov x1, #1
str x1, [sp, #24] ; 8-byte Folded Spill
bl _calloc
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x0, [x29, #-56]
add x0, sp, #64
; kill: def $x9 killed $xzr
str xzr, [sp, #64]
str x8, [sp, #48]
adrp x8, _layer1_size@PAGE
ldr x8, [x8, _layer1_size@PAGEOFF]
lsl x2, x8, #2
mov x1, #128
bl _posix_memalign
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
stur x8, [x29, #-24]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB14_2:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
mov w1, #4
bl _access
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB14_4:
ldur x0, [x29, #-8]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fopen
str x0, [sp, #40]
ldr x0, [sp, #40]
mov x9, sp
sub x8, x29, #44
str x8, [x9]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
str x1, [sp, #16] ; 8-byte Folded Spill
bl _fscanf
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #40]
mov x9, sp
sub x8, x29, #48
str x8, [x9]
bl _fscanf
adrp x8, _layer1_size@PAGE
ldr x8, [x8, _layer1_size@PAGEOFF]
ldursw x9, [x29, #-48]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB14_6
b LBB14_5
LBB14_5:
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB14_6:
stur wzr, [x29, #-44]
b LBB14_7
LBB14_7: ; =>This Loop Header: Depth=1
; Child Loop BB14_14 Depth 2
; Child Loop BB14_9 Depth 2
ldr x0, [sp, #40]
ldur x8, [x29, #-56]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _fscanf
ldur x0, [x29, #-56]
bl _SearchVocab
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
stur x8, [x29, #-24]
ldur x8, [x29, #-24]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB14_13
b LBB14_8
LBB14_8: ; in Loop: Header=BB14_7 Depth=1
stur xzr, [x29, #-32]
b LBB14_9
LBB14_9: ; Parent Loop BB14_7 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-32]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB14_12
b LBB14_10
LBB14_10: ; in Loop: Header=BB14_9 Depth=2
ldr x0, [sp, #40]
ldr x8, [sp, #64]
ldur x9, [x29, #-32]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fscanf
b LBB14_11
LBB14_11: ; in Loop: Header=BB14_9 Depth=2
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB14_9
LBB14_12: ; in Loop: Header=BB14_7 Depth=1
b LBB14_18
LBB14_13: ; in Loop: Header=BB14_7 Depth=1
stur xzr, [x29, #-32]
b LBB14_14
LBB14_14: ; Parent Loop BB14_7 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-32]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB14_17
b LBB14_15
LBB14_15: ; in Loop: Header=BB14_14 Depth=2
ldr x0, [sp, #40]
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-32]
add x9, x9, x10
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fscanf
b LBB14_16
LBB14_16: ; in Loop: Header=BB14_14 Depth=2
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB14_14
LBB14_17: ; in Loop: Header=BB14_7 Depth=1
ldur x8, [x29, #-24]
ldur x9, [x29, #-40]
ldursw x10, [x29, #-44]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB14_18
LBB14_18: ; in Loop: Header=BB14_7 Depth=1
ldr x0, [sp, #40]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB14_20
b LBB14_19
LBB14_19:
b LBB14_21
LBB14_20: ; in Loop: Header=BB14_7 Depth=1
b LBB14_7
LBB14_21:
ldur w9, [x29, #-44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldur x0, [x29, #-40]
ldursw x1, [x29, #-44]
mov x2, #4
adrp x3, _IntCompare@PAGE
add x3, x3, _IntCompare@PAGEOFF
bl _qsort
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
ldur x9, [x29, #-40]
ldursw x10, [x29, #-44]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, x10, lsl #2]
str wzr, [sp, #36]
stur xzr, [x29, #-24]
b LBB14_22
LBB14_22: ; =>This Loop Header: Depth=1
; Child Loop BB14_25 Depth 2
; Child Loop BB14_29 Depth 2
ldur x8, [x29, #-24]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB14_38
b LBB14_23
LBB14_23: ; in Loop: Header=BB14_22 Depth=1
ldur x8, [x29, #-24]
ldur x9, [x29, #-40]
ldrsw x10, [sp, #36]
ldrsw x9, [x9, x10, lsl #2]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB14_33
b LBB14_24
LBB14_24: ; in Loop: Header=BB14_22 Depth=1
movi d0, #0000000000000000
str s0, [sp, #60]
stur xzr, [x29, #-32]
b LBB14_25
LBB14_25: ; Parent Loop BB14_22 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-32]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB14_28
b LBB14_26
LBB14_26: ; in Loop: Header=BB14_25 Depth=2
ldr x8, [sp, #48]
mov x9, #58989
movk x9, #57068, lsl #16
movk x9, #5, lsl #32
mul x8, x8, x9
add x8, x8, #11
str x8, [sp, #48]
ldrh w8, [sp, #48]
; kill: def $x8 killed $w8
ucvtf s0, x8
mov w8, #1199570944
fmov s1, w8
fdiv s0, s0, s1
fcvt d0, s0
fmov d1, #0.50000000
fsub d0, d0, d1
adrp x10, _layer1_size@PAGE
ldr d1, [x10, _layer1_size@PAGEOFF]
scvtf d1, d1
fdiv d0, d0, d1
fcvt s0, d0
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
ldr x11, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x11
ldur x11, [x29, #-32]
add x9, x9, x11
str s0, [x8, x9, lsl #2]
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
ldr x11, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x11
ldur x11, [x29, #-32]
add x9, x9, x11
ldr s0, [x8, x9, lsl #2]
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-32]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #60]
fmadd s0, s0, s1, s2
str s0, [sp, #60]
b LBB14_27
LBB14_27: ; in Loop: Header=BB14_25 Depth=2
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB14_25
LBB14_28: ; in Loop: Header=BB14_22 Depth=1
stur xzr, [x29, #-32]
b LBB14_29
LBB14_29: ; Parent Loop BB14_22 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-32]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB14_32
b LBB14_30
LBB14_30: ; in Loop: Header=BB14_29 Depth=2
ldr s0, [sp, #60]
fcvt d0, s0
fsqrt d1, d0
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-32]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fcvt d0, s0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [x8]
b LBB14_31
LBB14_31: ; in Loop: Header=BB14_29 Depth=2
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB14_29
LBB14_32: ; in Loop: Header=BB14_22 Depth=1
b LBB14_36
LBB14_33: ; in Loop: Header=BB14_22 Depth=1
ldr w8, [sp, #36]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB14_35
b LBB14_34
LBB14_34: ; in Loop: Header=BB14_22 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB14_35
LBB14_35: ; in Loop: Header=BB14_22 Depth=1
b LBB14_36
LBB14_36: ; in Loop: Header=BB14_22 Depth=1
b LBB14_37
LBB14_37: ; in Loop: Header=BB14_22 Depth=1
ldur x8, [x29, #-24]
add x8, x8, #1
stur x8, [x29, #-24]
b LBB14_22
LBB14_38:
ldr x0, [sp, #40]
bl _fclose
ldur x0, [x29, #-56]
bl _free
ldur x0, [x29, #-8]
bl _free
ldur x0, [x29, #-40]
bl _free
ldr x0, [sp, #64]
bl _free
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _InitNet ; -- Begin function InitNet
.p2align 2
_InitNet: ; @InitNet
.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 x0, _syn0@GOTPAGE
ldr x0, [x0, _syn0@GOTPAGEOFF]
stur x0, [x29, #-56] ; 8-byte Folded Spill
adrp x8, _syn1neg@GOTPAGE
ldr x8, [x8, _syn1neg@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _syn1doc@GOTPAGE
ldr x8, [x8, _syn1doc@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _load_emb_file@GOTPAGE
ldr x8, [x8, _load_emb_file@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
mov x8, #58989
movk x8, #57068, lsl #16
movk x8, #5, lsl #32
str x8, [sp, #64] ; 8-byte Folded Spill
mov x8, #1
stur x8, [x29, #-24]
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
mul x8, x8, x9
lsl x2, x8, #2
mov x1, #128
bl _posix_memalign
ldur x8, [x29, #-56] ; 8-byte Folded Reload
; implicit-def: $x9
mov x9, x0
sxtw x9, w9
stur x9, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB15_2:
ldr x0, [sp, #40] ; 8-byte Folded Reload
adrp x8, _vocab_size@PAGE
ldr x8, [x8, _vocab_size@PAGEOFF]
adrp x9, _layer1_size@PAGE
str x9, [sp, #24] ; 8-byte Folded Spill
ldr x9, [x9, _layer1_size@PAGEOFF]
mul x8, x8, x9
lsl x2, x8, #2
mov x1, #128
str x1, [sp, #32] ; 8-byte Folded Spill
bl _posix_memalign
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x1, [sp, #32] ; 8-byte Folded Reload
mov x10, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
; implicit-def: $x8
mov x8, x10
sxtw x8, w8
stur x8, [x29, #-8]
adrp x8, _corpus_size@PAGE
ldr x8, [x8, _corpus_size@PAGEOFF]
ldr x9, [x9, _layer1_size@PAGEOFF]
mul x8, x8, x9
lsl x2, x8, #2
bl _posix_memalign
ldr x8, [sp, #40] ; 8-byte Folded Reload
; implicit-def: $x9
mov x9, x0
sxtw x9, w9
stur x9, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_4
b LBB15_3
LBB15_3:
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB15_4:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_6
b LBB15_5
LBB15_5:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB15_6:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB15_8
b LBB15_7
LBB15_7:
mov x0, #100
str x0, [sp, #8] ; 8-byte Folded Spill
mov x1, #1
str x1, [sp] ; 8-byte Folded Spill
bl _calloc
ldr x1, [sp] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
stur x8, [x29, #-40]
bl _calloc
ldr x1, [sp, #56] ; 8-byte Folded Reload
stur x0, [x29, #-48]
ldur x0, [x29, #-40]
mov x2, #-1
str x2, [sp, #16] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-40]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
bl ___strcat_chk
ldr x1, [sp, #56] ; 8-byte Folded Reload
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-48]
bl ___strcpy_chk
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-48]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl ___strcat_chk
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldur x0, [x29, #-40]
ldr x1, [x8]
bl _LoadEmb
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-48]
ldr x1, [x8]
bl _LoadEmb
b LBB15_33
LBB15_8:
stur xzr, [x29, #-8]
b LBB15_9
LBB15_9: ; =>This Loop Header: Depth=1
; Child Loop BB15_11 Depth 2
; Child Loop BB15_15 Depth 2
ldur x8, [x29, #-8]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_20
b LBB15_10
LBB15_10: ; in Loop: Header=BB15_9 Depth=1
movi d0, #0000000000000000
stur s0, [x29, #-28]
stur xzr, [x29, #-16]
b LBB15_11
LBB15_11: ; Parent Loop BB15_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_14
b LBB15_12
LBB15_12: ; in Loop: Header=BB15_11 Depth=2
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldur x9, [x29, #-24]
mul x9, x9, x10
add x9, x9, #11
stur x9, [x29, #-24]
ldurh w9, [x29, #-24]
; kill: def $x9 killed $w9
ucvtf s0, x9
mov w9, #1199570944
fmov s1, w9
fdiv s0, s0, s1
fcvt d0, s0
fmov d1, #0.50000000
fsub d0, d0, d1
adrp x10, _layer1_size@PAGE
ldr d1, [x10, _layer1_size@PAGEOFF]
scvtf d1, d1
fdiv d0, d0, d1
fcvt s0, d0
ldr x9, [x8]
ldur x11, [x29, #-8]
ldr x12, [x10, _layer1_size@PAGEOFF]
mul x11, x11, x12
ldur x12, [x29, #-16]
add x11, x11, x12
str s0, [x9, x11, lsl #2]
ldr x9, [x8]
ldur x11, [x29, #-8]
ldr x12, [x10, _layer1_size@PAGEOFF]
mul x11, x11, x12
ldur x12, [x29, #-16]
add x11, x11, x12
ldr s0, [x9, x11, lsl #2]
ldr x8, [x8]
ldur x9, [x29, #-8]
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldur s2, [x29, #-28]
fmadd s0, s0, s1, s2
stur s0, [x29, #-28]
b LBB15_13
LBB15_13: ; in Loop: Header=BB15_11 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB15_11
LBB15_14: ; in Loop: Header=BB15_9 Depth=1
stur xzr, [x29, #-16]
b LBB15_15
LBB15_15: ; Parent Loop BB15_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_18
b LBB15_16
LBB15_16: ; in Loop: Header=BB15_15 Depth=2
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur s0, [x29, #-28]
fcvt d0, s0
fsqrt d1, d0
ldr x8, [x8]
ldur x9, [x29, #-8]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fcvt d0, s0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [x8]
b LBB15_17
LBB15_17: ; in Loop: Header=BB15_15 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB15_15
LBB15_18: ; in Loop: Header=BB15_9 Depth=1
b LBB15_19
LBB15_19: ; in Loop: Header=BB15_9 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB15_9
LBB15_20:
stur xzr, [x29, #-8]
b LBB15_21
LBB15_21: ; =>This Loop Header: Depth=1
; Child Loop BB15_23 Depth 2
; Child Loop BB15_27 Depth 2
ldur x8, [x29, #-8]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_32
b LBB15_22
LBB15_22: ; in Loop: Header=BB15_21 Depth=1
movi d0, #0000000000000000
stur s0, [x29, #-28]
stur xzr, [x29, #-16]
b LBB15_23
LBB15_23: ; Parent Loop BB15_21 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_26
b LBB15_24
LBB15_24: ; in Loop: Header=BB15_23 Depth=2
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldur x9, [x29, #-24]
mul x9, x9, x10
add x9, x9, #11
stur x9, [x29, #-24]
ldurh w9, [x29, #-24]
; kill: def $x9 killed $w9
ucvtf s0, x9
mov w9, #1199570944
fmov s1, w9
fdiv s0, s0, s1
fcvt d0, s0
fmov d1, #0.50000000
fsub d0, d0, d1
adrp x10, _layer1_size@PAGE
ldr d1, [x10, _layer1_size@PAGEOFF]
scvtf d1, d1
fdiv d0, d0, d1
fcvt s0, d0
ldr x9, [x8]
ldur x11, [x29, #-8]
ldr x12, [x10, _layer1_size@PAGEOFF]
mul x11, x11, x12
ldur x12, [x29, #-16]
add x11, x11, x12
str s0, [x9, x11, lsl #2]
ldr x9, [x8]
ldur x11, [x29, #-8]
ldr x12, [x10, _layer1_size@PAGEOFF]
mul x11, x11, x12
ldur x12, [x29, #-16]
add x11, x11, x12
ldr s0, [x9, x11, lsl #2]
ldr x8, [x8]
ldur x9, [x29, #-8]
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldur s2, [x29, #-28]
fmadd s0, s0, s1, s2
stur s0, [x29, #-28]
b LBB15_25
LBB15_25: ; in Loop: Header=BB15_23 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB15_23
LBB15_26: ; in Loop: Header=BB15_21 Depth=1
stur xzr, [x29, #-16]
b LBB15_27
LBB15_27: ; Parent Loop BB15_21 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_30
b LBB15_28
LBB15_28: ; in Loop: Header=BB15_27 Depth=2
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldur s0, [x29, #-28]
fcvt d0, s0
fsqrt d1, d0
ldr x8, [x8]
ldur x9, [x29, #-8]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fcvt d0, s0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [x8]
b LBB15_29
LBB15_29: ; in Loop: Header=BB15_27 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB15_27
LBB15_30: ; in Loop: Header=BB15_21 Depth=1
b LBB15_31
LBB15_31: ; in Loop: Header=BB15_21 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB15_21
LBB15_32:
b LBB15_33
LBB15_33:
stur xzr, [x29, #-8]
b LBB15_34
LBB15_34: ; =>This Loop Header: Depth=1
; Child Loop BB15_36 Depth 2
; Child Loop BB15_40 Depth 2
ldur x8, [x29, #-8]
adrp x9, _corpus_size@PAGE
ldr x9, [x9, _corpus_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_45
b LBB15_35
LBB15_35: ; in Loop: Header=BB15_34 Depth=1
movi d0, #0000000000000000
stur s0, [x29, #-28]
stur xzr, [x29, #-16]
b LBB15_36
LBB15_36: ; Parent Loop BB15_34 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_39
b LBB15_37
LBB15_37: ; in Loop: Header=BB15_36 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldur x9, [x29, #-24]
mul x9, x9, x10
add x9, x9, #11
stur x9, [x29, #-24]
ldurh w9, [x29, #-24]
; kill: def $x9 killed $w9
ucvtf s0, x9
mov w9, #1199570944
fmov s1, w9
fdiv s0, s0, s1
fcvt d0, s0
fmov d1, #0.50000000
fsub d0, d0, d1
adrp x10, _layer1_size@PAGE
ldr d1, [x10, _layer1_size@PAGEOFF]
scvtf d1, d1
fdiv d0, d0, d1
fcvt s0, d0
ldr x9, [x8]
ldur x11, [x29, #-8]
ldr x12, [x10, _layer1_size@PAGEOFF]
mul x11, x11, x12
ldur x12, [x29, #-16]
add x11, x11, x12
str s0, [x9, x11, lsl #2]
ldr x9, [x8]
ldur x11, [x29, #-8]
ldr x12, [x10, _layer1_size@PAGEOFF]
mul x11, x11, x12
ldur x12, [x29, #-16]
add x11, x11, x12
ldr s0, [x9, x11, lsl #2]
ldr x8, [x8]
ldur x9, [x29, #-8]
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldur s2, [x29, #-28]
fmadd s0, s0, s1, s2
stur s0, [x29, #-28]
b LBB15_38
LBB15_38: ; in Loop: Header=BB15_36 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB15_36
LBB15_39: ; in Loop: Header=BB15_34 Depth=1
stur xzr, [x29, #-16]
b LBB15_40
LBB15_40: ; Parent Loop BB15_34 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB15_43
b LBB15_41
LBB15_41: ; in Loop: Header=BB15_40 Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur s0, [x29, #-28]
fcvt d0, s0
fsqrt d1, d0
ldr x8, [x8]
ldur x9, [x29, #-8]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fcvt d0, s0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [x8]
b LBB15_42
LBB15_42: ; in Loop: Header=BB15_40 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB15_40
LBB15_43: ; in Loop: Header=BB15_34 Depth=1
b LBB15_44
LBB15_44: ; in Loop: Header=BB15_34 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB15_34
LBB15_45:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function TrainModelThread
lCPI16_0:
.quad 0x3f1a36e2eb1c432d ; double 1.0E-4
.section __TEXT,__text,regular,pure_instructions
.globl _TrainModelThread
.p2align 2
_TrainModelThread: ; @TrainModelThread
.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, #8352
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #160
sub x8, x29, #104
str x8, [sp, #120] ; 8-byte Folded Spill
adrp x9, _starting_alpha@GOTPAGE
ldr x9, [x9, _starting_alpha@GOTPAGEOFF]
str x9, [sp, #56] ; 8-byte Folded Spill
mov x9, #58989
movk x9, #57068, lsl #16
movk x9, #5, lsl #32
str x9, [sp, #64] ; 8-byte Folded Spill
mov x9, #57600
movk x9, #1525, lsl #16
str x9, [sp, #72] ; 8-byte Folded Spill
adrp x9, _syn1doc@GOTPAGE
ldr x9, [x9, _syn1doc@GOTPAGEOFF]
str x9, [sp, #80] ; 8-byte Folded Spill
adrp x9, _syn0@GOTPAGE
ldr x9, [x9, _syn0@GOTPAGEOFF]
str x9, [sp, #88] ; 8-byte Folded Spill
adrp x9, _syn1neg@GOTPAGE
ldr x9, [x9, _syn1neg@GOTPAGEOFF]
str x9, [sp, #96] ; 8-byte Folded Spill
str x0, [x8, #80]
str xzr, [x8, #48]
str xzr, [x8, #24]
str xzr, [x8, #16]
str xzr, [x8, #8]
str xzr, [x8]
str xzr, [sp, #232]
adrp x9, _iter@PAGE
ldr x9, [x9, _iter@PAGEOFF]
str x9, [sp, #208]
ldr x8, [x8, #80]
str x8, [sp, #200]
movi d0, #0000000000000000
str s0, [sp, #180]
str s0, [sp, #176]
adrp x8, _layer1_size@PAGE
str x8, [sp, #104] ; 8-byte Folded Spill
ldr x0, [x8, _layer1_size@PAGEOFF]
mov x1, #4
str x1, [sp, #112] ; 8-byte Folded Spill
bl _calloc
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x1, [sp, #112] ; 8-byte Folded Reload
str x0, [sp, #160]
ldr x0, [x8, _layer1_size@PAGEOFF]
bl _calloc
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x1, [sp, #112] ; 8-byte Folded Reload
str x0, [sp, #152]
ldr x0, [x8, _layer1_size@PAGEOFF]
bl _calloc
str x0, [sp, #144]
adrp x0, _train_file@GOTPAGE
ldr x0, [x0, _train_file@GOTPAGEOFF]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
ldr x9, [sp, #120] ; 8-byte Folded Reload
str x0, [sp, #136]
ldr x0, [sp, #136]
adrp x8, _file_size@PAGE
ldr x8, [x8, _file_size@PAGEOFF]
adrp x10, _num_threads@PAGE
ldrsw x10, [x10, _num_threads@PAGEOFF]
sdiv x8, x8, x10
ldr x9, [x9, #80]
mul x1, x8, x9
mov w2, #0
bl _fseek
b LBB16_1
LBB16_1: ; =>This Loop Header: Depth=1
; Child Loop BB16_9 Depth 2
; Child Loop BB16_31 Depth 2
; Child Loop BB16_35 Depth 2
; Child Loop BB16_39 Depth 2
; Child Loop BB16_48 Depth 3
; Child Loop BB16_56 Depth 4
; Child Loop BB16_60 Depth 4
; Child Loop BB16_65 Depth 4
; Child Loop BB16_69 Depth 4
; Child Loop BB16_73 Depth 4
; Child Loop BB16_77 Depth 4
; Child Loop BB16_81 Depth 4
; Child Loop BB16_85 Depth 4
; Child Loop BB16_89 Depth 4
; Child Loop BB16_93 Depth 4
; Child Loop BB16_97 Depth 4
; Child Loop BB16_101 Depth 4
; Child Loop BB16_105 Depth 4
; Child Loop BB16_109 Depth 4
; Child Loop BB16_113 Depth 4
; Child Loop BB16_124 Depth 2
; Child Loop BB16_132 Depth 3
; Child Loop BB16_136 Depth 3
; Child Loop BB16_141 Depth 3
; Child Loop BB16_145 Depth 3
; Child Loop BB16_149 Depth 3
; Child Loop BB16_153 Depth 3
; Child Loop BB16_157 Depth 3
; Child Loop BB16_161 Depth 3
; Child Loop BB16_165 Depth 3
; Child Loop BB16_169 Depth 3
; Child Loop BB16_173 Depth 3
; Child Loop BB16_177 Depth 3
; Child Loop BB16_181 Depth 3
; Child Loop BB16_185 Depth 3
; Child Loop BB16_189 Depth 3
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #8]
ldr x9, [x9]
subs x8, x8, x9
mov x9, #10000
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB16_7
b LBB16_2
LBB16_2: ; in Loop: Header=BB16_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #8]
ldr x10, [x9]
subs x11, x8, x10
adrp x10, _word_count_actual@PAGE
ldr x8, [x10, _word_count_actual@PAGEOFF]
add x8, x8, x11
str x8, [x10, _word_count_actual@PAGEOFF]
ldr x8, [x9, #8]
str x8, [x9]
adrp x8, _debug_mode@PAGE
ldr w8, [x8, _debug_mode@PAGEOFF]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_3: ; in Loop: Header=BB16_1 Depth=1
bl _clock
str x0, [sp, #168]
adrp x8, _alpha@PAGE
ldr s0, [x8, _alpha@PAGEOFF]
fcvt d4, s0
ldr s0, [sp, #180]
fcvt d3, s0
ldr s0, [sp, #176]
fcvt d2, s0
adrp x8, _word_count_actual@PAGE
ldr d0, [x8, _word_count_actual@PAGEOFF]
fmov x9, d0
scvtf s0, x9
adrp x9, _iter@PAGE
ldr x9, [x9, _iter@PAGEOFF]
adrp x10, _train_words@PAGE
ldr x10, [x10, _train_words@PAGEOFF]
mul x9, x9, x10
add x9, x9, #1
scvtf s1, x9
fdiv s0, s0, s1
mov w9, #1120403456
fmov s1, w9
fmul s0, s0, s1
fcvt d1, s0
ldr d0, [x8, _word_count_actual@PAGEOFF]
fmov x8, d0
scvtf s0, x8
ldr x8, [sp, #168]
adrp x9, _start@GOTPAGE
ldr x9, [x9, _start@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
add x8, x8, #1
ucvtf s5, x8
mov w8, #9216
movk w8, #18804, lsl #16
fmov s6, w8
fdiv s5, s5, s6
mov w8, #1148846080
fmov s6, w8
fmul s5, s5, s6
fdiv s0, s0, s5
fcvt d0, s0
mov x8, sp
mov x9, #13
str x9, [x8]
str d4, [x8, #8]
str d3, [x8, #16]
str d2, [x8, #24]
str d1, [x8, #32]
str d0, [x8, #40]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
b LBB16_4
LBB16_4: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr s0, [x8]
adrp x9, _word_count_actual@PAGE
ldr d1, [x9, _word_count_actual@PAGEOFF]
fmov x9, d1
scvtf s1, x9
adrp x9, _iter@PAGE
ldr x9, [x9, _iter@PAGEOFF]
adrp x10, _train_words@PAGE
ldr x10, [x10, _train_words@PAGEOFF]
mul x9, x9, x10
add x9, x9, #1
scvtf s2, x9
fdiv s2, s1, s2
fmov s1, #1.00000000
fsub s1, s1, s2
fmul s0, s0, s1
adrp x9, _alpha@PAGE
str s0, [x9, _alpha@PAGEOFF]
ldr s0, [x9, _alpha@PAGEOFF]
fcvt d0, s0
ldr s1, [x8]
fcvt d1, s1
adrp x8, lCPI16_0@PAGE
ldr d2, [x8, lCPI16_0@PAGEOFF]
fmul d1, d1, d2
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB16_6
b LBB16_5
LBB16_5: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr s0, [x8]
fcvt d0, s0
adrp x8, lCPI16_0@PAGE
ldr d1, [x8, lCPI16_0@PAGEOFF]
fmul d0, d0, d1
fcvt s0, d0
adrp x8, _alpha@PAGE
str s0, [x8, _alpha@PAGEOFF]
b LBB16_6
LBB16_6: ; in Loop: Header=BB16_1 Depth=1
b LBB16_7
LBB16_7: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_23
b LBB16_8
LBB16_8: ; in Loop: Header=BB16_1 Depth=1
ldr x0, [sp, #136]
bl _FindLine
ldr x9, [sp, #120] ; 8-byte Folded Reload
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [x9, #48]
b LBB16_9
LBB16_9: ; Parent Loop BB16_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [sp, #136]
bl _ReadWordIndex
ldr x9, [sp, #120] ; 8-byte Folded Reload
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [x9, #40]
ldr x0, [sp, #136]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB16_11
b LBB16_10
LBB16_10: ; in Loop: Header=BB16_1 Depth=1
b LBB16_22
LBB16_11: ; in Loop: Header=BB16_9 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #40]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB16_13
b LBB16_12
LBB16_12: ; in Loop: Header=BB16_9 Depth=2
b LBB16_9
LBB16_13: ; in Loop: Header=BB16_9 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x9, [x8, #8]
add x9, x9, #1
str x9, [x8, #8]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_15
b LBB16_14
LBB16_14: ; in Loop: Header=BB16_1 Depth=1
b LBB16_22
LBB16_15: ; in Loop: Header=BB16_9 Depth=2
adrp x8, _sample@PAGE
ldr s0, [x8, _sample@PAGEOFF]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB16_19
b LBB16_16
LBB16_16: ; in Loop: Header=BB16_9 Depth=2
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #120] ; 8-byte Folded Reload
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
ldr x11, [x8]
ldr x12, [x10, #40]
lsl x12, x12, #4
ldr d0, [x11, x12]
fmov x11, d0
scvtf s0, x11
adrp x12, _sample@PAGE
ldr s1, [x12, _sample@PAGEOFF]
adrp x11, _train_words@PAGE
ldr d2, [x11, _train_words@PAGEOFF]
fmov x13, d2
scvtf s2, x13
fmul s1, s1, s2
fdiv s0, s0, s1
fcvt d0, s0
fsqrt d0, d0
fmov d1, #1.00000000
fadd d0, d0, d1
ldr s1, [x12, _sample@PAGEOFF]
ldr d2, [x11, _train_words@PAGEOFF]
fmov x11, d2
scvtf s2, x11
fmul s1, s1, s2
fcvt d1, s1
fmul d0, d0, d1
ldr x8, [x8]
ldr x10, [x10, #40]
lsl x10, x10, #4
ldr d1, [x8, x10]
scvtf d1, d1
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #132]
ldr x8, [sp, #200]
mul x8, x8, x9
add x8, x8, #11
str x8, [sp, #200]
ldr s0, [sp, #132]
ldrh w8, [sp, #200]
; kill: def $x8 killed $w8
ucvtf s1, x8
mov w8, #1199570944
fmov s2, w8
fdiv s1, s1, s2
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB16_18
b LBB16_17
LBB16_17: ; in Loop: Header=BB16_9 Depth=2
b LBB16_9
LBB16_18: ; in Loop: Header=BB16_9 Depth=2
b LBB16_19
LBB16_19: ; in Loop: Header=BB16_9 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x9, [x8, #40]
ldr x11, [x8, #24]
add x10, sp, #256
str x9, [x10, x11, lsl #3]
ldr x9, [x8, #24]
add x9, x9, #1
str x9, [x8, #24]
ldr x8, [x8, #24]
subs x8, x8, #1000
cset w8, lt
tbnz w8, #0, LBB16_21
b LBB16_20
LBB16_20: ; in Loop: Header=BB16_1 Depth=1
b LBB16_22
LBB16_21: ; in Loop: Header=BB16_9 Depth=2
b LBB16_9
LBB16_22: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
str xzr, [x8, #16]
b LBB16_23
LBB16_23: ; in Loop: Header=BB16_1 Depth=1
ldr x0, [sp, #136]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_25
b LBB16_24
LBB16_24: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #8]
adrp x9, _train_words@PAGE
ldr x9, [x9, _train_words@PAGEOFF]
adrp x10, _num_threads@PAGE
ldrsw x10, [x10, _num_threads@PAGEOFF]
sdiv x9, x9, x10
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB16_28
b LBB16_25
LBB16_25: ; in Loop: Header=BB16_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #8]
ldr x9, [x9]
subs x10, x8, x9
adrp x9, _word_count_actual@PAGE
ldr x8, [x9, _word_count_actual@PAGEOFF]
add x8, x8, x10
str x8, [x9, _word_count_actual@PAGEOFF]
ldr x8, [sp, #208]
subs x8, x8, #1
str x8, [sp, #208]
ldr x8, [sp, #208]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_27
b LBB16_26
LBB16_26:
b LBB16_199
LBB16_27: ; in Loop: Header=BB16_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
str xzr, [x9, #8]
str xzr, [x9]
str xzr, [x9, #24]
ldr x0, [sp, #136]
adrp x8, _file_size@PAGE
ldr x8, [x8, _file_size@PAGEOFF]
adrp x10, _num_threads@PAGE
ldrsw x10, [x10, _num_threads@PAGEOFF]
sdiv x8, x8, x10
ldr x9, [x9, #80]
mul x1, x8, x9
mov w2, #0
bl _fseek
b LBB16_1
LBB16_28: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x10, [x8, #16]
add x9, sp, #256
ldr x9, [x9, x10, lsl #3]
str x9, [x8, #40]
ldr x8, [x8, #40]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB16_30
b LBB16_29
LBB16_29: ; in Loop: Header=BB16_1 Depth=1
b LBB16_1
LBB16_30: ; in Loop: Header=BB16_1 Depth=1
str xzr, [sp, #224]
b LBB16_31
LBB16_31: ; Parent Loop BB16_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_34
b LBB16_32
LBB16_32: ; in Loop: Header=BB16_31 Depth=2
ldr x8, [sp, #160]
ldr x9, [sp, #224]
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB16_33
LBB16_33: ; in Loop: Header=BB16_31 Depth=2
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_31
LBB16_34: ; in Loop: Header=BB16_1 Depth=1
str xzr, [sp, #224]
b LBB16_35
LBB16_35: ; Parent Loop BB16_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_38
b LBB16_36
LBB16_36: ; in Loop: Header=BB16_35 Depth=2
ldr x8, [sp, #144]
ldr x9, [sp, #224]
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB16_37
LBB16_37: ; in Loop: Header=BB16_35 Depth=2
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_35
LBB16_38: ; in Loop: Header=BB16_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr x8, [sp, #200]
mul x8, x8, x10
add x8, x8, #11
str x8, [sp, #200]
ldr x8, [sp, #200]
adrp x10, _window@PAGE
ldrsw x11, [x10, _window@PAGEOFF]
udiv x10, x8, x11
mul x10, x10, x11
subs x8, x8, x10
str x8, [x9, #64]
ldr x8, [x9, #64]
str x8, [x9, #72]
b LBB16_39
LBB16_39: ; Parent Loop BB16_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_48 Depth 3
; Child Loop BB16_56 Depth 4
; Child Loop BB16_60 Depth 4
; Child Loop BB16_65 Depth 4
; Child Loop BB16_69 Depth 4
; Child Loop BB16_73 Depth 4
; Child Loop BB16_77 Depth 4
; Child Loop BB16_81 Depth 4
; Child Loop BB16_85 Depth 4
; Child Loop BB16_89 Depth 4
; Child Loop BB16_93 Depth 4
; Child Loop BB16_97 Depth 4
; Child Loop BB16_101 Depth 4
; Child Loop BB16_105 Depth 4
; Child Loop BB16_109 Depth 4
; Child Loop BB16_113 Depth 4
ldr x10, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x10, #72]
adrp x9, _window@PAGE
ldr w9, [x9, _window@PAGEOFF]
lsl w9, w9, #1
add w11, w9, #1
; implicit-def: $x9
mov x9, x11
sxtw x9, w9
ldr x10, [x10, #64]
subs x9, x9, x10
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_123
b LBB16_40
LBB16_40: ; in Loop: Header=BB16_39 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #72]
adrp x9, _window@PAGE
ldrsw x9, [x9, _window@PAGEOFF]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB16_121
b LBB16_41
LBB16_41: ; in Loop: Header=BB16_39 Depth=2
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #16]
adrp x10, _window@PAGE
ldrsw x10, [x10, _window@PAGEOFF]
subs x8, x8, x10
ldr x9, [x9, #72]
add x8, x8, x9
str x8, [sp, #224]
ldr x8, [sp, #224]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB16_43
b LBB16_42
LBB16_42: ; in Loop: Header=BB16_39 Depth=2
b LBB16_122
LBB16_43: ; in Loop: Header=BB16_39 Depth=2
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [sp, #224]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB16_45
b LBB16_44
LBB16_44: ; in Loop: Header=BB16_39 Depth=2
b LBB16_122
LBB16_45: ; in Loop: Header=BB16_39 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x10, [sp, #224]
add x9, sp, #256
ldr x9, [x9, x10, lsl #3]
str x9, [x8, #32]
ldr x8, [x8, #32]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB16_47
b LBB16_46
LBB16_46: ; in Loop: Header=BB16_39 Depth=2
b LBB16_122
LBB16_47: ; in Loop: Header=BB16_39 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x9, [x8, #32]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
str x9, [sp, #248]
movi d0, #0000000000000000
str s0, [sp, #180]
str xzr, [x8, #56]
b LBB16_48
LBB16_48: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB16_56 Depth 4
; Child Loop BB16_60 Depth 4
; Child Loop BB16_65 Depth 4
; Child Loop BB16_69 Depth 4
; Child Loop BB16_73 Depth 4
; Child Loop BB16_77 Depth 4
; Child Loop BB16_81 Depth 4
; Child Loop BB16_85 Depth 4
; Child Loop BB16_89 Depth 4
; Child Loop BB16_93 Depth 4
; Child Loop BB16_97 Depth 4
; Child Loop BB16_101 Depth 4
; Child Loop BB16_105 Depth 4
; Child Loop BB16_109 Depth 4
; Child Loop BB16_113 Depth 4
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #56]
adrp x9, _negative@PAGE
ldr w9, [x9, _negative@PAGEOFF]
add w9, w9, #1
subs x8, x8, w9, sxtw
cset w8, ge
tbnz w8, #0, LBB16_120
b LBB16_49
LBB16_49: ; in Loop: Header=BB16_48 Depth=3
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_51
b LBB16_50
LBB16_50: ; in Loop: Header=BB16_48 Depth=3
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #40]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
mul x8, x8, x9
str x8, [sp, #232]
b LBB16_118
LBB16_51: ; in Loop: Header=BB16_48 Depth=3
ldr x11, [sp, #72] ; 8-byte Folded Reload
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x8, [sp, #200]
mul x8, x8, x9
add x8, x8, #11
str x8, [sp, #200]
adrp x8, _word_table@GOTPAGE
ldr x8, [x8, _word_table@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [sp, #200]
lsr x9, x9, #16
udiv x10, x9, x11
mul x10, x10, x11
subs x9, x9, x10
ldrsw x8, [x8, x9, lsl #2]
str x8, [sp, #216]
ldr x8, [sp, #216]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_53
b LBB16_52
LBB16_52: ; in Loop: Header=BB16_48 Depth=3
ldr x8, [sp, #200]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x10, x9, #1
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
add x8, x8, #1
str x8, [sp, #216]
b LBB16_53
LBB16_53: ; in Loop: Header=BB16_48 Depth=3
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [sp, #216]
ldr x9, [x9, #40]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB16_55
b LBB16_54
LBB16_54: ; in Loop: Header=BB16_48 Depth=3
b LBB16_119
LBB16_55: ; in Loop: Header=BB16_48 Depth=3
ldr x8, [sp, #216]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
mul x8, x8, x9
str x8, [sp, #240]
movi d0, #0000000000000000
str s0, [sp, #196]
str xzr, [sp, #224]
b LBB16_56
LBB16_56: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_59
b LBB16_57
LBB16_57: ; in Loop: Header=BB16_56 Depth=4
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #248]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #196]
fmadd s0, s0, s1, s2
str s0, [sp, #196]
b LBB16_58
LBB16_58: ; in Loop: Header=BB16_56 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_56
LBB16_59: ; in Loop: Header=BB16_48 Depth=3
movi d0, #0000000000000000
str s0, [sp, #188]
str xzr, [sp, #224]
b LBB16_60
LBB16_60: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_63
b LBB16_61
LBB16_61: ; in Loop: Header=BB16_60 Depth=4
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #240]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #188]
fmadd s0, s0, s1, s2
str s0, [sp, #188]
b LBB16_62
LBB16_62: ; in Loop: Header=BB16_60 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_60
LBB16_63: ; in Loop: Header=BB16_48 Depth=3
ldr s0, [sp, #196]
ldr s1, [sp, #188]
fsub s0, s0, s1
adrp x8, _margin@PAGE
ldr s1, [x8, _margin@PAGEOFF]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB16_117
b LBB16_64
LBB16_64: ; in Loop: Header=BB16_48 Depth=3
adrp x8, _margin@PAGE
ldr s0, [x8, _margin@PAGEOFF]
ldr s1, [sp, #196]
ldr s2, [sp, #188]
fsub s1, s1, s2
fsub s1, s0, s1
ldr s0, [sp, #180]
fadd s0, s0, s1
str s0, [sp, #180]
str xzr, [sp, #224]
b LBB16_65
LBB16_65: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_68
b LBB16_66
LBB16_66: ; in Loop: Header=BB16_65 Depth=4
ldr x8, [sp, #144]
ldr x9, [sp, #224]
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB16_67
LBB16_67: ; in Loop: Header=BB16_65 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_65
LBB16_68: ; in Loop: Header=BB16_48 Depth=3
str xzr, [sp, #224]
b LBB16_69
LBB16_69: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_72
b LBB16_70
LBB16_70: ; in Loop: Header=BB16_69 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [sp, #96] ; 8-byte Folded Reload
ldr x10, [x8]
ldr x11, [sp, #224]
ldr x12, [sp, #248]
add x11, x11, x12
ldr s2, [x10, x11, lsl #2]
ldr s0, [sp, #196]
ldr x10, [x9]
ldr x11, [sp, #224]
ldr x12, [sp, #232]
add x11, x11, x12
ldr s1, [x10, x11, lsl #2]
fmsub s2, s0, s1, s2
ldr s0, [sp, #188]
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #232]
add x10, x10, x11
ldr s1, [x9, x10, lsl #2]
fmadd s0, s0, s1, s2
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
fsub s1, s0, s1
ldr x8, [sp, #144]
ldr x9, [sp, #224]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB16_71
LBB16_71: ; in Loop: Header=BB16_69 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_69
LBB16_72: ; in Loop: Header=BB16_48 Depth=3
str xzr, [sp, #224]
b LBB16_73
LBB16_73: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_76
b LBB16_74
LBB16_74: ; in Loop: Header=BB16_73 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [sp, #96] ; 8-byte Folded Reload
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #232]
add x10, x10, x11
ldr s2, [x9, x10, lsl #2]
ldr s0, [sp, #196]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
fmsub s0, s0, s1, s2
ldr x8, [sp, #152]
ldr x9, [sp, #224]
str s0, [x8, x9, lsl #2]
b LBB16_75
LBB16_75: ; in Loop: Header=BB16_73 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_73
LBB16_76: ; in Loop: Header=BB16_48 Depth=3
ldr s1, [sp, #196]
fmov s0, #1.00000000
fsub s0, s0, s1
str s0, [sp, #184]
str xzr, [sp, #224]
b LBB16_77
LBB16_77: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_80
b LBB16_78
LBB16_78: ; in Loop: Header=BB16_77 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
adrp x9, _alpha@PAGE
ldr s0, [x9, _alpha@PAGEOFF]
ldr s1, [sp, #184]
fmul s0, s0, s1
ldr x9, [sp, #152]
ldr x10, [sp, #224]
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s2, [x8]
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB16_79
LBB16_79: ; in Loop: Header=BB16_77 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_77
LBB16_80: ; in Loop: Header=BB16_48 Depth=3
movi d0, #0000000000000000
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_81
LBB16_81: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_84
b LBB16_82
LBB16_82: ; in Loop: Header=BB16_81 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x10, [sp, #224]
ldr x11, [sp, #248]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #192]
fmadd s0, s0, s1, s2
str s0, [sp, #192]
b LBB16_83
LBB16_83: ; in Loop: Header=BB16_81 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_81
LBB16_84: ; in Loop: Header=BB16_48 Depth=3
ldr s0, [sp, #192]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_85
LBB16_85: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_88
b LBB16_86
LBB16_86: ; in Loop: Header=BB16_85 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr s1, [sp, #192]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fdiv s0, s0, s1
str s0, [x8]
b LBB16_87
LBB16_87: ; in Loop: Header=BB16_85 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_85
LBB16_88: ; in Loop: Header=BB16_48 Depth=3
str xzr, [sp, #224]
b LBB16_89
LBB16_89: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_92
b LBB16_90
LBB16_90: ; in Loop: Header=BB16_89 Depth=4
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr s0, [sp, #188]
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #240]
add x10, x10, x11
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
ldr s2, [x8, x9, lsl #2]
fnmsub s0, s0, s1, s2
ldr x8, [sp, #152]
ldr x9, [sp, #224]
str s0, [x8, x9, lsl #2]
b LBB16_91
LBB16_91: ; in Loop: Header=BB16_89 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_89
LBB16_92: ; in Loop: Header=BB16_48 Depth=3
ldr s1, [sp, #188]
fmov s0, #2.00000000
fmul s0, s0, s1
str s0, [sp, #184]
str xzr, [sp, #224]
b LBB16_93
LBB16_93: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_96
b LBB16_94
LBB16_94: ; in Loop: Header=BB16_93 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
adrp x9, _alpha@PAGE
ldr s0, [x9, _alpha@PAGEOFF]
ldr s1, [sp, #184]
fmul s0, s0, s1
ldr x9, [sp, #152]
ldr x10, [sp, #224]
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s2, [x8]
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB16_95
LBB16_95: ; in Loop: Header=BB16_93 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_93
LBB16_96: ; in Loop: Header=BB16_48 Depth=3
movi d0, #0000000000000000
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_97
LBB16_97: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_100
b LBB16_98
LBB16_98: ; in Loop: Header=BB16_97 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x10, [sp, #224]
ldr x11, [sp, #240]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #192]
fmadd s0, s0, s1, s2
str s0, [sp, #192]
b LBB16_99
LBB16_99: ; in Loop: Header=BB16_97 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_97
LBB16_100: ; in Loop: Header=BB16_48 Depth=3
ldr s0, [sp, #192]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_101
LBB16_101: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_104
b LBB16_102
LBB16_102: ; in Loop: Header=BB16_101 Depth=4
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr s1, [sp, #192]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fdiv s0, s0, s1
str s0, [x8]
b LBB16_103
LBB16_103: ; in Loop: Header=BB16_101 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_101
LBB16_104: ; in Loop: Header=BB16_48 Depth=3
ldr s0, [sp, #196]
ldr s1, [sp, #188]
fsub s1, s0, s1
fmov s0, #1.00000000
fsub s0, s0, s1
str s0, [sp, #184]
str xzr, [sp, #224]
b LBB16_105
LBB16_105: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_108
b LBB16_106
LBB16_106: ; in Loop: Header=BB16_105 Depth=4
ldr x8, [sp, #96] ; 8-byte Folded Reload
adrp x9, _alpha@PAGE
ldr s0, [x9, _alpha@PAGEOFF]
ldr s1, [sp, #184]
fmul s0, s0, s1
ldr x9, [sp, #144]
ldr x10, [sp, #224]
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s2, [x8]
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB16_107
LBB16_107: ; in Loop: Header=BB16_105 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_105
LBB16_108: ; in Loop: Header=BB16_48 Depth=3
movi d0, #0000000000000000
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_109
LBB16_109: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_112
b LBB16_110
LBB16_110: ; in Loop: Header=BB16_109 Depth=4
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x10, [sp, #224]
ldr x11, [sp, #232]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #192]
fmadd s0, s0, s1, s2
str s0, [sp, #192]
b LBB16_111
LBB16_111: ; in Loop: Header=BB16_109 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_109
LBB16_112: ; in Loop: Header=BB16_48 Depth=3
ldr s0, [sp, #192]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_113
LBB16_113: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_39 Depth=2
; Parent Loop BB16_48 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_116
b LBB16_114
LBB16_114: ; in Loop: Header=BB16_113 Depth=4
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr s1, [sp, #192]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fdiv s0, s0, s1
str s0, [x8]
b LBB16_115
LBB16_115: ; in Loop: Header=BB16_113 Depth=4
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_113
LBB16_116: ; in Loop: Header=BB16_48 Depth=3
b LBB16_117
LBB16_117: ; in Loop: Header=BB16_48 Depth=3
b LBB16_118
LBB16_118: ; in Loop: Header=BB16_48 Depth=3
b LBB16_119
LBB16_119: ; in Loop: Header=BB16_48 Depth=3
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #56]
add x8, x8, #1
str x8, [x9, #56]
b LBB16_48
LBB16_120: ; in Loop: Header=BB16_39 Depth=2
b LBB16_121
LBB16_121: ; in Loop: Header=BB16_39 Depth=2
b LBB16_122
LBB16_122: ; in Loop: Header=BB16_39 Depth=2
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #72]
add x8, x8, #1
str x8, [x9, #72]
b LBB16_39
LBB16_123: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
movi d0, #0000000000000000
str s0, [sp, #176]
ldr x9, [x8, #48]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
str x9, [sp, #248]
str xzr, [x8, #56]
b LBB16_124
LBB16_124: ; Parent Loop BB16_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_132 Depth 3
; Child Loop BB16_136 Depth 3
; Child Loop BB16_141 Depth 3
; Child Loop BB16_145 Depth 3
; Child Loop BB16_149 Depth 3
; Child Loop BB16_153 Depth 3
; Child Loop BB16_157 Depth 3
; Child Loop BB16_161 Depth 3
; Child Loop BB16_165 Depth 3
; Child Loop BB16_169 Depth 3
; Child Loop BB16_173 Depth 3
; Child Loop BB16_177 Depth 3
; Child Loop BB16_181 Depth 3
; Child Loop BB16_185 Depth 3
; Child Loop BB16_189 Depth 3
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #56]
adrp x9, _negative@PAGE
ldr w9, [x9, _negative@PAGEOFF]
add w9, w9, #1
subs x8, x8, w9, sxtw
cset w8, ge
tbnz w8, #0, LBB16_196
b LBB16_125
LBB16_125: ; in Loop: Header=BB16_124 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_127
b LBB16_126
LBB16_126: ; in Loop: Header=BB16_124 Depth=2
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x8, #40]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
mul x8, x8, x9
str x8, [sp, #232]
b LBB16_194
LBB16_127: ; in Loop: Header=BB16_124 Depth=2
ldr x11, [sp, #72] ; 8-byte Folded Reload
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x8, [sp, #200]
mul x8, x8, x9
add x8, x8, #11
str x8, [sp, #200]
adrp x8, _word_table@GOTPAGE
ldr x8, [x8, _word_table@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [sp, #200]
lsr x9, x9, #16
udiv x10, x9, x11
mul x10, x10, x11
subs x9, x9, x10
ldrsw x8, [x8, x9, lsl #2]
str x8, [sp, #216]
ldr x8, [sp, #216]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_129
b LBB16_128
LBB16_128: ; in Loop: Header=BB16_124 Depth=2
ldr x8, [sp, #200]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x10, x9, #1
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
add x8, x8, #1
str x8, [sp, #216]
b LBB16_129
LBB16_129: ; in Loop: Header=BB16_124 Depth=2
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [sp, #216]
ldr x9, [x9, #40]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB16_131
b LBB16_130
LBB16_130: ; in Loop: Header=BB16_124 Depth=2
b LBB16_195
LBB16_131: ; in Loop: Header=BB16_124 Depth=2
ldr x8, [sp, #216]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
mul x8, x8, x9
str x8, [sp, #240]
movi d0, #0000000000000000
str s0, [sp, #196]
str xzr, [sp, #224]
b LBB16_132
LBB16_132: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_135
b LBB16_133
LBB16_133: ; in Loop: Header=BB16_132 Depth=3
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #232]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #196]
fmadd s0, s0, s1, s2
str s0, [sp, #196]
b LBB16_134
LBB16_134: ; in Loop: Header=BB16_132 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_132
LBB16_135: ; in Loop: Header=BB16_124 Depth=2
movi d0, #0000000000000000
str s0, [sp, #188]
str xzr, [sp, #224]
b LBB16_136
LBB16_136: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_139
b LBB16_137
LBB16_137: ; in Loop: Header=BB16_136 Depth=3
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #240]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #188]
fmadd s0, s0, s1, s2
str s0, [sp, #188]
b LBB16_138
LBB16_138: ; in Loop: Header=BB16_136 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_136
LBB16_139: ; in Loop: Header=BB16_124 Depth=2
ldr s0, [sp, #196]
ldr s1, [sp, #188]
fsub s0, s0, s1
adrp x8, _margin@PAGE
ldr s1, [x8, _margin@PAGEOFF]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB16_193
b LBB16_140
LBB16_140: ; in Loop: Header=BB16_124 Depth=2
adrp x8, _margin@PAGE
ldr s0, [x8, _margin@PAGEOFF]
ldr s1, [sp, #196]
ldr s2, [sp, #188]
fsub s1, s1, s2
fsub s1, s0, s1
ldr s0, [sp, #176]
fadd s0, s0, s1
str s0, [sp, #176]
str xzr, [sp, #224]
b LBB16_141
LBB16_141: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_144
b LBB16_142
LBB16_142: ; in Loop: Header=BB16_141 Depth=3
ldr x8, [sp, #144]
ldr x9, [sp, #224]
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB16_143
LBB16_143: ; in Loop: Header=BB16_141 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_141
LBB16_144: ; in Loop: Header=BB16_124 Depth=2
str xzr, [sp, #224]
b LBB16_145
LBB16_145: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_148
b LBB16_146
LBB16_146: ; in Loop: Header=BB16_145 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x10, [x8]
ldr x11, [sp, #224]
ldr x12, [sp, #232]
add x11, x11, x12
ldr s2, [x10, x11, lsl #2]
ldr s0, [sp, #196]
ldr x10, [x9]
ldr x11, [sp, #224]
ldr x12, [sp, #248]
add x11, x11, x12
ldr s1, [x10, x11, lsl #2]
fmsub s2, s0, s1, s2
ldr s0, [sp, #188]
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #248]
add x10, x10, x11
ldr s1, [x9, x10, lsl #2]
fmadd s0, s0, s1, s2
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
fsub s1, s0, s1
ldr x8, [sp, #144]
ldr x9, [sp, #224]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB16_147
LBB16_147: ; in Loop: Header=BB16_145 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_145
LBB16_148: ; in Loop: Header=BB16_124 Depth=2
str xzr, [sp, #224]
b LBB16_149
LBB16_149: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_152
b LBB16_150
LBB16_150: ; in Loop: Header=BB16_149 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #248]
add x10, x10, x11
ldr s2, [x9, x10, lsl #2]
ldr s0, [sp, #196]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
fmsub s0, s0, s1, s2
ldr x8, [sp, #152]
ldr x9, [sp, #224]
str s0, [x8, x9, lsl #2]
b LBB16_151
LBB16_151: ; in Loop: Header=BB16_149 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_149
LBB16_152: ; in Loop: Header=BB16_124 Depth=2
ldr s1, [sp, #196]
fmov s0, #1.00000000
fsub s0, s0, s1
str s0, [sp, #184]
str xzr, [sp, #224]
b LBB16_153
LBB16_153: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_156
b LBB16_154
LBB16_154: ; in Loop: Header=BB16_153 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
adrp x9, _alpha@PAGE
ldr s0, [x9, _alpha@PAGEOFF]
ldr s1, [sp, #184]
fmul s0, s0, s1
ldr x9, [sp, #152]
ldr x10, [sp, #224]
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s2, [x8]
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB16_155
LBB16_155: ; in Loop: Header=BB16_153 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_153
LBB16_156: ; in Loop: Header=BB16_124 Depth=2
movi d0, #0000000000000000
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_157
LBB16_157: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_160
b LBB16_158
LBB16_158: ; in Loop: Header=BB16_157 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x10, [sp, #224]
ldr x11, [sp, #232]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #192]
fmadd s0, s0, s1, s2
str s0, [sp, #192]
b LBB16_159
LBB16_159: ; in Loop: Header=BB16_157 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_157
LBB16_160: ; in Loop: Header=BB16_124 Depth=2
ldr s0, [sp, #192]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_161
LBB16_161: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_164
b LBB16_162
LBB16_162: ; in Loop: Header=BB16_161 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr s1, [sp, #192]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #232]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fdiv s0, s0, s1
str s0, [x8]
b LBB16_163
LBB16_163: ; in Loop: Header=BB16_161 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_161
LBB16_164: ; in Loop: Header=BB16_124 Depth=2
str xzr, [sp, #224]
b LBB16_165
LBB16_165: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_168
b LBB16_166
LBB16_166: ; in Loop: Header=BB16_165 Depth=3
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr s0, [sp, #188]
ldr x9, [x9]
ldr x10, [sp, #224]
ldr x11, [sp, #240]
add x10, x10, x11
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
ldr s2, [x8, x9, lsl #2]
fnmsub s0, s0, s1, s2
ldr x8, [sp, #152]
ldr x9, [sp, #224]
str s0, [x8, x9, lsl #2]
b LBB16_167
LBB16_167: ; in Loop: Header=BB16_165 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_165
LBB16_168: ; in Loop: Header=BB16_124 Depth=2
ldr s1, [sp, #188]
fmov s0, #2.00000000
fmul s0, s0, s1
str s0, [sp, #184]
str xzr, [sp, #224]
b LBB16_169
LBB16_169: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_172
b LBB16_170
LBB16_170: ; in Loop: Header=BB16_169 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
adrp x9, _alpha@PAGE
ldr s0, [x9, _alpha@PAGEOFF]
ldr s1, [sp, #184]
fmul s0, s0, s1
ldr x9, [sp, #152]
ldr x10, [sp, #224]
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s2, [x8]
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB16_171
LBB16_171: ; in Loop: Header=BB16_169 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_169
LBB16_172: ; in Loop: Header=BB16_124 Depth=2
movi d0, #0000000000000000
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_173
LBB16_173: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_176
b LBB16_174
LBB16_174: ; in Loop: Header=BB16_173 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x10, [sp, #224]
ldr x11, [sp, #240]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #192]
fmadd s0, s0, s1, s2
str s0, [sp, #192]
b LBB16_175
LBB16_175: ; in Loop: Header=BB16_173 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_173
LBB16_176: ; in Loop: Header=BB16_124 Depth=2
ldr s0, [sp, #192]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_177
LBB16_177: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_180
b LBB16_178
LBB16_178: ; in Loop: Header=BB16_177 Depth=3
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr s1, [sp, #192]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #240]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fdiv s0, s0, s1
str s0, [x8]
b LBB16_179
LBB16_179: ; in Loop: Header=BB16_177 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_177
LBB16_180: ; in Loop: Header=BB16_124 Depth=2
ldr s0, [sp, #196]
ldr s1, [sp, #188]
fsub s1, s0, s1
fmov s0, #1.00000000
fsub s0, s0, s1
str s0, [sp, #184]
str xzr, [sp, #224]
b LBB16_181
LBB16_181: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_184
b LBB16_182
LBB16_182: ; in Loop: Header=BB16_181 Depth=3
ldr x8, [sp, #80] ; 8-byte Folded Reload
adrp x9, _alpha@PAGE
ldr s0, [x9, _alpha@PAGEOFF]
ldr s1, [sp, #184]
fmul s0, s0, s1
ldr x9, [sp, #144]
ldr x10, [sp, #224]
ldr s1, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s2, [x8]
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB16_183
LBB16_183: ; in Loop: Header=BB16_181 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_181
LBB16_184: ; in Loop: Header=BB16_124 Depth=2
movi d0, #0000000000000000
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_185
LBB16_185: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_188
b LBB16_186
LBB16_186: ; in Loop: Header=BB16_185 Depth=3
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x10, [sp, #224]
ldr x11, [sp, #248]
add x10, x10, x11
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
ldr s1, [x8, x9, lsl #2]
ldr s2, [sp, #192]
fmadd s0, s0, s1, s2
str s0, [sp, #192]
b LBB16_187
LBB16_187: ; in Loop: Header=BB16_185 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_185
LBB16_188: ; in Loop: Header=BB16_124 Depth=2
ldr s0, [sp, #192]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #192]
str xzr, [sp, #224]
b LBB16_189
LBB16_189: ; Parent Loop BB16_1 Depth=1
; Parent Loop BB16_124 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #224]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB16_192
b LBB16_190
LBB16_190: ; in Loop: Header=BB16_189 Depth=3
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr s1, [sp, #192]
ldr x8, [x8]
ldr x9, [sp, #224]
ldr x10, [sp, #248]
add x9, x9, x10
add x8, x8, x9, lsl #2
ldr s0, [x8]
fdiv s0, s0, s1
str s0, [x8]
b LBB16_191
LBB16_191: ; in Loop: Header=BB16_189 Depth=3
ldr x8, [sp, #224]
add x8, x8, #1
str x8, [sp, #224]
b LBB16_189
LBB16_192: ; in Loop: Header=BB16_124 Depth=2
b LBB16_193
LBB16_193: ; in Loop: Header=BB16_124 Depth=2
b LBB16_194
LBB16_194: ; in Loop: Header=BB16_124 Depth=2
b LBB16_195
LBB16_195: ; in Loop: Header=BB16_124 Depth=2
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #56]
add x8, x8, #1
str x8, [x9, #56]
b LBB16_124
LBB16_196: ; in Loop: Header=BB16_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [x9, #16]
add x8, x8, #1
str x8, [x9, #16]
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB16_198
b LBB16_197
LBB16_197: ; in Loop: Header=BB16_1 Depth=1
ldr x8, [sp, #120] ; 8-byte Folded Reload
str xzr, [x8, #24]
b LBB16_1
LBB16_198: ; in Loop: Header=BB16_1 Depth=1
b LBB16_1
LBB16_199:
ldr x0, [sp, #136]
bl _fclose
ldr x0, [sp, #160]
bl _free
ldr x0, [sp, #144]
bl _free
ldr x0, [sp, #152]
bl _free
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.globl _TrainModel ; -- Begin function TrainModel
.p2align 2
_TrainModel: ; @TrainModel
.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, _num_threads@PAGE
ldrsw x8, [x8, _num_threads@PAGEOFF]
lsl x0, x8, #3
bl _malloc
str x0, [sp, #32]
mov x9, sp
adrp x8, _train_file@GOTPAGE
ldr x8, [x8, _train_file@GOTPAGEOFF]
str x8, [x9]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
adrp x8, _alpha@PAGE
ldr s0, [x8, _alpha@PAGEOFF]
adrp x8, _starting_alpha@GOTPAGE
ldr x8, [x8, _starting_alpha@GOTPAGEOFF]
str s0, [x8]
adrp x8, _read_vocab_file@GOTPAGE
ldr x8, [x8, _read_vocab_file@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
bl _ReadVocab
b LBB17_3
LBB17_2:
bl _LearnVocabFromTrainFile
b LBB17_3
LBB17_3:
adrp x8, _save_vocab_file@GOTPAGE
ldr x8, [x8, _save_vocab_file@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_5
b LBB17_4
LBB17_4:
bl _SaveVocab
b LBB17_5
LBB17_5:
bl _InitNet
bl _InitUnigramTable
bl _clock
adrp x8, _start@GOTPAGE
ldr x8, [x8, _start@GOTPAGEOFF]
str x0, [x8]
stur xzr, [x29, #-8]
b LBB17_6
LBB17_6: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
adrp x9, _num_threads@PAGE
ldrsw x9, [x9, _num_threads@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_9
b LBB17_7
LBB17_7: ; in Loop: Header=BB17_6 Depth=1
ldr x8, [sp, #32]
ldur x9, [x29, #-8]
add x0, x8, x9, lsl #3
ldur x3, [x29, #-8]
mov x1, #0
adrp x2, _TrainModelThread@PAGE
add x2, x2, _TrainModelThread@PAGEOFF
bl _pthread_create
b LBB17_8
LBB17_8: ; in Loop: Header=BB17_6 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB17_6
LBB17_9:
stur xzr, [x29, #-8]
b LBB17_10
LBB17_10: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
adrp x9, _num_threads@PAGE
ldrsw x9, [x9, _num_threads@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_13
b LBB17_11
LBB17_11: ; in Loop: Header=BB17_10 Depth=1
ldr x8, [sp, #32]
ldur x9, [x29, #-8]
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB17_12
LBB17_12: ; in Loop: Header=BB17_10 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB17_10
LBB17_13:
adrp x8, _word_emb@GOTPAGE
ldr x8, [x8, _word_emb@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_23
b LBB17_14
LBB17_14:
adrp x0, _word_emb@GOTPAGE
ldr x0, [x0, _word_emb@GOTPAGEOFF]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x0, [x29, #-24]
adrp x8, _vocab_size@PAGE
ldr x10, [x8, _vocab_size@PAGEOFF]
adrp x8, _layer1_size@PAGE
ldr x8, [x8, _layer1_size@PAGEOFF]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
stur xzr, [x29, #-8]
b LBB17_15
LBB17_15: ; =>This Loop Header: Depth=1
; Child Loop BB17_17 Depth 2
ldur x8, [x29, #-8]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_22
b LBB17_16
LBB17_16: ; in Loop: Header=BB17_15 Depth=1
ldur x0, [x29, #-24]
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
ldr x8, [x8]
ldur x9, [x29, #-8]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _fprintf
stur xzr, [x29, #-16]
b LBB17_17
LBB17_17: ; Parent Loop BB17_15 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_20
b LBB17_18
LBB17_18: ; in Loop: Header=BB17_17 Depth=2
ldur x0, [x29, #-24]
adrp x8, _syn0@GOTPAGE
ldr x8, [x8, _syn0@GOTPAGEOFF]
ldr x8, [x8]
ldur x9, [x29, #-8]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
b LBB17_19
LBB17_19: ; in Loop: Header=BB17_17 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB17_17
LBB17_20: ; in Loop: Header=BB17_15 Depth=1
ldur x0, [x29, #-24]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
b LBB17_21
LBB17_21: ; in Loop: Header=BB17_15 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB17_15
LBB17_22:
ldur x0, [x29, #-24]
bl _fclose
b LBB17_23
LBB17_23:
adrp x8, _context_emb@GOTPAGE
ldr x8, [x8, _context_emb@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_33
b LBB17_24
LBB17_24:
adrp x0, _context_emb@GOTPAGE
ldr x0, [x0, _context_emb@GOTPAGEOFF]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
str x0, [sp, #24]
ldr x0, [sp, #24]
adrp x8, _vocab_size@PAGE
ldr x10, [x8, _vocab_size@PAGEOFF]
adrp x8, _layer1_size@PAGE
ldr x8, [x8, _layer1_size@PAGEOFF]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
stur xzr, [x29, #-8]
b LBB17_25
LBB17_25: ; =>This Loop Header: Depth=1
; Child Loop BB17_27 Depth 2
ldur x8, [x29, #-8]
adrp x9, _vocab_size@PAGE
ldr x9, [x9, _vocab_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_32
b LBB17_26
LBB17_26: ; in Loop: Header=BB17_25 Depth=1
ldr x0, [sp, #24]
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
ldr x8, [x8]
ldur x9, [x29, #-8]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _fprintf
stur xzr, [x29, #-16]
b LBB17_27
LBB17_27: ; Parent Loop BB17_25 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_30
b LBB17_28
LBB17_28: ; in Loop: Header=BB17_27 Depth=2
ldr x0, [sp, #24]
adrp x8, _syn1neg@GOTPAGE
ldr x8, [x8, _syn1neg@GOTPAGEOFF]
ldr x8, [x8]
ldur x9, [x29, #-8]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
b LBB17_29
LBB17_29: ; in Loop: Header=BB17_27 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB17_27
LBB17_30: ; in Loop: Header=BB17_25 Depth=1
ldr x0, [sp, #24]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
b LBB17_31
LBB17_31: ; in Loop: Header=BB17_25 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB17_25
LBB17_32:
ldr x0, [sp, #24]
bl _fclose
b LBB17_33
LBB17_33:
adrp x8, _doc_output@GOTPAGE
ldr x8, [x8, _doc_output@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_43
b LBB17_34
LBB17_34:
adrp x0, _doc_output@GOTPAGE
ldr x0, [x0, _doc_output@GOTPAGEOFF]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x0, [sp, #16]
adrp x8, _corpus_size@PAGE
ldr x10, [x8, _corpus_size@PAGEOFF]
adrp x8, _layer1_size@PAGE
ldr x8, [x8, _layer1_size@PAGEOFF]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
stur xzr, [x29, #-8]
b LBB17_35
LBB17_35: ; =>This Loop Header: Depth=1
; Child Loop BB17_37 Depth 2
ldur x8, [x29, #-8]
adrp x9, _corpus_size@PAGE
ldr x9, [x9, _corpus_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_42
b LBB17_36
LBB17_36: ; in Loop: Header=BB17_35 Depth=1
ldr x0, [sp, #16]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.30@PAGE
add x1, x1, l_.str.30@PAGEOFF
bl _fprintf
stur xzr, [x29, #-16]
b LBB17_37
LBB17_37: ; Parent Loop BB17_35 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
adrp x9, _layer1_size@PAGE
ldr x9, [x9, _layer1_size@PAGEOFF]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB17_40
b LBB17_38
LBB17_38: ; in Loop: Header=BB17_37 Depth=2
ldr x0, [sp, #16]
adrp x8, _syn1doc@GOTPAGE
ldr x8, [x8, _syn1doc@GOTPAGEOFF]
ldr x8, [x8]
ldur x9, [x29, #-8]
adrp x10, _layer1_size@PAGE
ldr x10, [x10, _layer1_size@PAGEOFF]
mul x9, x9, x10
ldur x10, [x29, #-16]
add x9, x9, x10
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
b LBB17_39
LBB17_39: ; in Loop: Header=BB17_37 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB17_37
LBB17_40: ; in Loop: Header=BB17_35 Depth=1
ldr x0, [sp, #16]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
b LBB17_41
LBB17_41: ; in Loop: Header=BB17_35 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #1
stur x8, [x29, #-8]
b LBB17_35
LBB17_42:
ldr x0, [sp, #16]
bl _fclose
b LBB17_43
LBB17_43:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _ArgPos ; -- Begin function ArgPos
.p2align 2
_ArgPos: ; @ArgPos
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
str x2, [sp, #16]
mov w8, #1
str w8, [sp, #12]
b LBB18_1
LBB18_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB18_8
b LBB18_2
LBB18_2: ; in Loop: Header=BB18_1 Depth=1
ldur x0, [x29, #-16]
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x1, [x8, x9, lsl #3]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB18_6
b LBB18_3
LBB18_3:
ldr w8, [sp, #12]
ldur w9, [x29, #-20]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB18_5
b LBB18_4
LBB18_4:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB18_5:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB18_9
LBB18_6: ; in Loop: Header=BB18_1 Depth=1
b LBB18_7
LBB18_7: ; in Loop: Header=BB18_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB18_1
LBB18_8:
mov w8, #-1
stur w8, [x29, #-4]
b LBB18_9
LBB18_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB19_2
b LBB19_1
LBB19_1:
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
bl _printf
adrp x0, l_.str.33@PAGE
add x0, x0, l_.str.33@PAGEOFF
bl _printf
adrp x0, l_.str.34@PAGE
add x0, x0, l_.str.34@PAGEOFF
bl _printf
adrp x0, l_.str.35@PAGE
add x0, x0, l_.str.35@PAGEOFF
bl _printf
adrp x0, l_.str.36@PAGE
add x0, x0, l_.str.36@PAGEOFF
bl _printf
adrp x0, l_.str.37@PAGE
add x0, x0, l_.str.37@PAGEOFF
bl _printf
adrp x0, l_.str.38@PAGE
add x0, x0, l_.str.38@PAGEOFF
bl _printf
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _printf
adrp x0, l_.str.40@PAGE
add x0, x0, l_.str.40@PAGEOFF
bl _printf
adrp x0, l_.str.41@PAGE
add x0, x0, l_.str.41@PAGEOFF
bl _printf
adrp x0, l_.str.42@PAGE
add x0, x0, l_.str.42@PAGEOFF
bl _printf
adrp x0, l_.str.43@PAGE
add x0, x0, l_.str.43@PAGEOFF
bl _printf
adrp x0, l_.str.44@PAGE
add x0, x0, l_.str.44@PAGEOFF
bl _printf
adrp x0, l_.str.45@PAGE
add x0, x0, l_.str.45@PAGEOFF
bl _printf
adrp x0, l_.str.46@PAGE
add x0, x0, l_.str.46@PAGEOFF
bl _printf
adrp x0, l_.str.47@PAGE
add x0, x0, l_.str.47@PAGEOFF
bl _printf
adrp x0, l_.str.48@PAGE
add x0, x0, l_.str.48@PAGEOFF
bl _printf
adrp x0, l_.str.49@PAGE
add x0, x0, l_.str.49@PAGEOFF
bl _printf
adrp x0, l_.str.50@PAGE
add x0, x0, l_.str.50@PAGEOFF
bl _printf
adrp x0, l_.str.51@PAGE
add x0, x0, l_.str.51@PAGEOFF
bl _printf
adrp x0, l_.str.52@PAGE
add x0, x0, l_.str.52@PAGEOFF
bl _printf
adrp x0, l_.str.53@PAGE
add x0, x0, l_.str.53@PAGEOFF
bl _printf
adrp x0, l_.str.54@PAGE
add x0, x0, l_.str.54@PAGEOFF
bl _printf
adrp x0, l_.str.55@PAGE
add x0, x0, l_.str.55@PAGEOFF
bl _printf
adrp x0, l_.str.56@PAGE
add x0, x0, l_.str.56@PAGEOFF
bl _printf
adrp x0, l_.str.57@PAGE
add x0, x0, l_.str.57@PAGEOFF
bl _printf
adrp x0, l_.str.58@PAGE
add x0, x0, l_.str.58@PAGEOFF
bl _printf
adrp x0, l_.str.59@PAGE
add x0, x0, l_.str.59@PAGEOFF
bl _printf
adrp x0, l_.str.60@PAGE
add x0, x0, l_.str.60@PAGEOFF
bl _printf
adrp x0, l_.str.61@PAGE
add x0, x0, l_.str.61@PAGEOFF
bl _printf
adrp x0, l_.str.62@PAGE
add x0, x0, l_.str.62@PAGEOFF
bl _printf
adrp x0, l_.str.63@PAGE
add x0, x0, l_.str.63@PAGEOFF
bl _printf
adrp x0, l_.str.64@PAGE
add x0, x0, l_.str.64@PAGEOFF
bl _printf
adrp x0, l_.str.65@PAGE
add x0, x0, l_.str.65@PAGEOFF
bl _printf
adrp x0, l_.str.66@PAGE
add x0, x0, l_.str.66@PAGEOFF
bl _printf
adrp x0, l_.str.67@PAGE
add x0, x0, l_.str.67@PAGEOFF
bl _printf
adrp x0, l_.str.68@PAGE
add x0, x0, l_.str.68@PAGEOFF
bl _printf
adrp x0, l_.str.69@PAGE
add x0, x0, l_.str.69@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB19_39
LBB19_2:
adrp x8, _word_emb@GOTPAGE
ldr x8, [x8, _word_emb@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _save_vocab_file@GOTPAGE
ldr x8, [x8, _save_vocab_file@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _read_vocab_file@GOTPAGE
ldr x8, [x8, _read_vocab_file@GOTPAGEOFF]
strb wzr, [x8]
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.70@PAGE
add x0, x0, l_.str.70@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_4
b LBB19_3
LBB19_3:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atoi
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
adrp x9, _layer1_size@PAGE
str x8, [x9, _layer1_size@PAGEOFF]
b LBB19_4
LBB19_4:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.71@PAGE
add x0, x0, l_.str.71@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_6
b LBB19_5
LBB19_5:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
adrp x0, _train_file@GOTPAGE
ldr x0, [x0, _train_file@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB19_6
LBB19_6:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.72@PAGE
add x0, x0, l_.str.72@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_8
b LBB19_7
LBB19_7:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
adrp x0, _save_vocab_file@GOTPAGE
ldr x0, [x0, _save_vocab_file@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB19_8
LBB19_8:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.73@PAGE
add x0, x0, l_.str.73@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_10
b LBB19_9
LBB19_9:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
adrp x0, _read_vocab_file@GOTPAGE
ldr x0, [x0, _read_vocab_file@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB19_10
LBB19_10:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.74@PAGE
add x0, x0, l_.str.74@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_12
b LBB19_11
LBB19_11:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
adrp x0, _load_emb_file@GOTPAGE
ldr x0, [x0, _load_emb_file@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB19_12
LBB19_12:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.75@PAGE
add x0, x0, l_.str.75@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_14
b LBB19_13
LBB19_13:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atoi
adrp x8, _debug_mode@PAGE
str w0, [x8, _debug_mode@PAGEOFF]
b LBB19_14
LBB19_14:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.76@PAGE
add x0, x0, l_.str.76@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_16
b LBB19_15
LBB19_15:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atof
fcvt s0, d0
adrp x8, _alpha@PAGE
str s0, [x8, _alpha@PAGEOFF]
b LBB19_16
LBB19_16:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.77@PAGE
add x0, x0, l_.str.77@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_18
b LBB19_17
LBB19_17:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
adrp x0, _word_emb@GOTPAGE
ldr x0, [x0, _word_emb@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB19_18
LBB19_18:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.78@PAGE
add x0, x0, l_.str.78@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_20
b LBB19_19
LBB19_19:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
adrp x0, _context_emb@GOTPAGE
ldr x0, [x0, _context_emb@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB19_20
LBB19_20:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.79@PAGE
add x0, x0, l_.str.79@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_22
b LBB19_21
LBB19_21:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
adrp x0, _doc_output@GOTPAGE
ldr x0, [x0, _doc_output@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB19_22
LBB19_22:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.80@PAGE
add x0, x0, l_.str.80@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_24
b LBB19_23
LBB19_23:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atoi
adrp x8, _window@PAGE
str w0, [x8, _window@PAGEOFF]
b LBB19_24
LBB19_24:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.81@PAGE
add x0, x0, l_.str.81@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_26
b LBB19_25
LBB19_25:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atof
fcvt s0, d0
adrp x8, _sample@PAGE
str s0, [x8, _sample@PAGEOFF]
b LBB19_26
LBB19_26:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.82@PAGE
add x0, x0, l_.str.82@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_28
b LBB19_27
LBB19_27:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atoi
adrp x8, _negative@PAGE
str w0, [x8, _negative@PAGEOFF]
b LBB19_28
LBB19_28:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.83@PAGE
add x0, x0, l_.str.83@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_30
b LBB19_29
LBB19_29:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atoi
adrp x8, _num_threads@PAGE
str w0, [x8, _num_threads@PAGEOFF]
b LBB19_30
LBB19_30:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.84@PAGE
add x0, x0, l_.str.84@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_32
b LBB19_31
LBB19_31:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atof
fcvt s0, d0
adrp x8, _margin@PAGE
str s0, [x8, _margin@PAGEOFF]
b LBB19_32
LBB19_32:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.85@PAGE
add x0, x0, l_.str.85@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_34
b LBB19_33
LBB19_33:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atoi
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
adrp x9, _iter@PAGE
str x8, [x9, _iter@PAGEOFF]
b LBB19_34
LBB19_34:
ldur w1, [x29, #-8]
ldr x2, [sp, #16]
adrp x0, l_.str.86@PAGE
add x0, x0, l_.str.86@PAGEOFF
bl _ArgPos
str w0, [sp, #12]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB19_36
b LBB19_35
LBB19_35:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _atoi
adrp x8, _min_count@PAGE
str w0, [x8, _min_count@PAGEOFF]
b LBB19_36
LBB19_36:
adrp x8, _vocab_max_size@PAGE
ldr x0, [x8, _vocab_max_size@PAGEOFF]
mov x1, #16
bl _calloc
adrp x8, _vocab@GOTPAGE
ldr x8, [x8, _vocab@GOTPAGEOFF]
str x0, [x8]
mov x0, #50048
movk x0, #457, lsl #16
mov x1, #4
bl _calloc
adrp x8, _vocab_hash@GOTPAGE
ldr x8, [x8, _vocab_hash@GOTPAGEOFF]
str x0, [x8]
mov x0, #23040
movk x0, #610, lsl #16
mov x1, #8
bl _calloc
adrp x8, _doc_sizes@GOTPAGE
ldr x8, [x8, _doc_sizes@GOTPAGEOFF]
str x0, [x8]
adrp x8, _negative@PAGE
ldr w8, [x8, _negative@PAGEOFF]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB19_38
b LBB19_37
LBB19_37:
adrp x0, l_.str.87@PAGE
add x0, x0, l_.str.87@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB19_38:
bl _TrainModel
stur wzr, [x29, #-4]
b LBB19_39
LBB19_39:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _vocab_hash_size ; @vocab_hash_size
.p2align 2
_vocab_hash_size:
.long 30000000 ; 0x1c9c380
.globl _corpus_max_size ; @corpus_max_size
.p2align 2
_corpus_max_size:
.long 40000000 ; 0x2625a00
.section __DATA,__data
.globl _debug_mode ; @debug_mode
.p2align 2
_debug_mode:
.long 2 ; 0x2
.globl _window ; @window
.p2align 2
_window:
.long 5 ; 0x5
.globl _min_count ; @min_count
.p2align 2
_min_count:
.long 5 ; 0x5
.globl _num_threads ; @num_threads
.p2align 2
_num_threads:
.long 20 ; 0x14
.globl _min_reduce ; @min_reduce
.p2align 2
_min_reduce:
.long 1 ; 0x1
.globl _vocab_max_size ; @vocab_max_size
.p2align 3
_vocab_max_size:
.quad 1000 ; 0x3e8
.globl _vocab_size ; @vocab_size
.zerofill __DATA,__common,_vocab_size,8,3
.globl _corpus_size ; @corpus_size
.zerofill __DATA,__common,_corpus_size,8,3
.globl _layer1_size ; @layer1_size
.p2align 3
_layer1_size:
.quad 100 ; 0x64
.globl _train_words ; @train_words
.zerofill __DATA,__common,_train_words,8,3
.globl _word_count_actual ; @word_count_actual
.zerofill __DATA,__common,_word_count_actual,8,3
.globl _iter ; @iter
.p2align 3
_iter:
.quad 10 ; 0xa
.globl _file_size ; @file_size
.zerofill __DATA,__common,_file_size,8,3
.globl _negative ; @negative
.p2align 2
_negative:
.long 2 ; 0x2
.section __TEXT,__const
.globl _table_size ; @table_size
.p2align 2
_table_size:
.long 100000000 ; 0x5f5e100
.section __DATA,__data
.globl _alpha ; @alpha
.p2align 2
_alpha:
.long 0x3d23d70a ; float 0.0399999991
.globl _sample ; @sample
.p2align 2
_sample:
.long 0x3a83126f ; float 0.00100000005
.globl _margin ; @margin
.p2align 2
_margin:
.long 0x3e19999a ; float 0.150000006
.comm _word_table,8,3 ; @word_table
.comm _vocab,8,3 ; @vocab
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "</s>"
.comm _vocab_hash,8,3 ; @vocab_hash
.comm _doc_sizes,8,3 ; @doc_sizes
.comm _train_file,100,0 ; @train_file
l_.str.1: ; @.str.1
.asciz "rb"
l_.str.2: ; @.str.2
.asciz "ERROR: training data file not found!\n"
l_.str.3: ; @.str.3
.asciz "%lldK%c"
l_.str.4: ; @.str.4
.asciz "[ERROR] Number of documents in corpus larger than \"corpus_max_size\"! Set a larger \"corpus_max_size\" in Line 18 of jose.c!\n"
l_.str.5: ; @.str.5
.asciz "Vocab size: %lld\n"
l_.str.6: ; @.str.6
.asciz "Words in train file: %lld\n"
.comm _save_vocab_file,100,0 ; @save_vocab_file
l_.str.7: ; @.str.7
.asciz "wb"
l_.str.8: ; @.str.8
.asciz "%s %lld\n"
.comm _read_vocab_file,100,0 ; @read_vocab_file
l_.str.9: ; @.str.9
.asciz "Vocabulary file not found\n"
l_.str.10: ; @.str.10
.asciz "%lld%c"
l_.str.11: ; @.str.11
.asciz "Memory allocation failed\n"
l_.str.12: ; @.str.12
.asciz "Loading embedding from file %s\n"
l_.str.13: ; @.str.13
.asciz "File %s does not exist\n"
l_.str.14: ; @.str.14
.asciz "r"
l_.str.15: ; @.str.15
.asciz "%d"
l_.str.16: ; @.str.16
.asciz "Embedding dimension incompatible with pretrained file!\n"
l_.str.17: ; @.str.17
.asciz "%s"
l_.str.18: ; @.str.18
.asciz "%f"
l_.str.19: ; @.str.19
.asciz "In vocab: %d\n"
.comm _syn0,8,3 ; @syn0
.comm _syn1neg,8,3 ; @syn1neg
.comm _syn1doc,8,3 ; @syn1doc
l_.str.20: ; @.str.20
.asciz "Memory allocation failed (syn1neg)\n"
l_.str.21: ; @.str.21
.asciz "Memory allocation failed (syn1doc)\n"
.comm _load_emb_file,100,0 ; @load_emb_file
l_.str.22: ; @.str.22
.asciz "_w.txt"
l_.str.23: ; @.str.23
.asciz "_v.txt"
l_.str.24: ; @.str.24
.asciz "%cAlpha: %f Objective (w): %f Objective (d): %f Progress: %.2f%% Words/thread/sec: %.2fk "
.comm _start,8,3 ; @start
.comm _starting_alpha,4,2 ; @starting_alpha
l_.str.25: ; @.str.25
.asciz "Starting training using file %s\n"
.comm _word_emb,100,0 ; @word_emb
l_.str.26: ; @.str.26
.asciz "%lld %lld\n"
l_.str.27: ; @.str.27
.asciz "%s "
l_.str.28: ; @.str.28
.asciz "%lf "
l_.str.29: ; @.str.29
.asciz "\n"
.comm _context_emb,100,0 ; @context_emb
.comm _doc_output,100,0 ; @doc_output
l_.str.30: ; @.str.30
.asciz "%ld "
l_.str.31: ; @.str.31
.asciz "Argument missing for %s\n"
l_.str.32: ; @.str.32
.asciz "Parameters:\n"
l_.str.33: ; @.str.33
.asciz "\t-train <file> (mandatory argument)\n"
l_.str.34: ; @.str.34
.asciz "\t\tUse text data from <file> to train the model\n"
l_.str.35: ; @.str.35
.asciz "\t-word-output <file>\n"
l_.str.36: ; @.str.36
.asciz "\t\tUse <file> to save the resulting word vectors\n"
l_.str.37: ; @.str.37
.asciz "\t-context-output <file>\n"
l_.str.38: ; @.str.38
.asciz "\t\tUse <file> to save the resulting word context vectors\n"
l_.str.39: ; @.str.39
.asciz "\t-doc-output <file>\n"
l_.str.40: ; @.str.40
.asciz "\t\tUse <file> to save the resulting document vectors\n"
l_.str.41: ; @.str.41
.asciz "\t-size <int>\n"
l_.str.42: ; @.str.42
.asciz "\t\tSet size of word vectors; default is 100\n"
l_.str.43: ; @.str.43
.asciz "\t-window <int>\n"
l_.str.44: ; @.str.44
.asciz "\t\tSet max skip length between words; default is 5\n"
l_.str.45: ; @.str.45
.asciz "\t-sample <float>\n"
l_.str.46: ; @.str.46
.asciz "\t\tSet threshold for occurrence of words. Those that appear with higher frequency in the\n"
l_.str.47: ; @.str.47
.asciz "\t\ttraining data will be randomly down-sampled; default is 1e-3, useful range is (0, 1e-3)\n"
l_.str.48: ; @.str.48
.asciz "\t-negative <int>\n"
l_.str.49: ; @.str.49
.asciz "\t\tNumber of negative examples; default is 2\n"
l_.str.50: ; @.str.50
.asciz "\t-threads <int>\n"
l_.str.51: ; @.str.51
.asciz "\t\tUse <int> threads; default is 20\n"
l_.str.52: ; @.str.52
.asciz "\t-margin <float>\n"
l_.str.53: ; @.str.53
.asciz "\t\tMargin used in loss function to separate positive samples from negative samples; default is 0.15\n"
l_.str.54: ; @.str.54
.asciz "\t-iter <int>\n"
l_.str.55: ; @.str.55
.asciz "\t\tRun more training iterations; default is 10\n"
l_.str.56: ; @.str.56
.asciz "\t-min-count <int>\n"
l_.str.57: ; @.str.57
.asciz "\t\tThis will discard words that appear less than <int> times; default is 5\n"
l_.str.58: ; @.str.58
.asciz "\t-alpha <float>\n"
l_.str.59: ; @.str.59
.asciz "\t\tSet the starting learning rate; default is 0.04\n"
l_.str.60: ; @.str.60
.asciz "\t-debug <int>\n"
l_.str.61: ; @.str.61
.asciz "\t\tSet the debug mode (default = 2 = more info during training)\n"
l_.str.62: ; @.str.62
.asciz "\t-save-vocab <file>\n"
l_.str.63: ; @.str.63
.asciz "\t\tThe vocabulary will be saved to <file>\n"
l_.str.64: ; @.str.64
.asciz "\t-read-vocab <file>\n"
l_.str.65: ; @.str.65
.asciz "\t\tThe vocabulary will be read from <file>, not constructed from the training data\n"
l_.str.66: ; @.str.66
.asciz "\t-load-emb <file>\n"
l_.str.67: ; @.str.67
.asciz "\t\tThe pretrained embeddings will be read from <file>\n"
l_.str.68: ; @.str.68
.asciz "\nExamples:\n"
l_.str.69: ; @.str.69
.asciz "./jose -train text.txt -word-output jose.txt -size 100 -margin 0.15 -window 5 -sample 1e-3 -negative 2 -iter 10\n\n"
l_.str.70: ; @.str.70
.asciz "-size"
l_.str.71: ; @.str.71
.asciz "-train"
l_.str.72: ; @.str.72
.asciz "-save-vocab"
l_.str.73: ; @.str.73
.asciz "-read-vocab"
l_.str.74: ; @.str.74
.asciz "-load-emb"
l_.str.75: ; @.str.75
.asciz "-debug"
l_.str.76: ; @.str.76
.asciz "-alpha"
l_.str.77: ; @.str.77
.asciz "-word-output"
l_.str.78: ; @.str.78
.asciz "-context-output"
l_.str.79: ; @.str.79
.asciz "-doc-output"
l_.str.80: ; @.str.80
.asciz "-window"
l_.str.81: ; @.str.81
.asciz "-sample"
l_.str.82: ; @.str.82
.asciz "-negative"
l_.str.83: ; @.str.83
.asciz "-threads"
l_.str.84: ; @.str.84
.asciz "-margin"
l_.str.85: ; @.str.85
.asciz "-iter"
l_.str.86: ; @.str.86
.asciz "-min-count"
l_.str.87: ; @.str.87
.asciz "ERROR: Nubmer of negative samples must be positive!\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 InitUnigramTable
LCPI0_0:
.quad 0x3fe8000000000000 ## double 0.75
LCPI0_1:
.quad 0x4197d78400000000 ## double 1.0E+8
.section __TEXT,__text,regular,pure_instructions
.globl _InitUnigramTable
.p2align 4, 0x90
_InitUnigramTable: ## @InitUnigramTable
.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
xorps %xmm0, %xmm0
movsd %xmm0, -16(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movl $400000000, %edi ## imm = 0x17D78400
callq _malloc
movq %rax, %rcx
movq _word_table@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -4(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
cvtsi2sdq (%rax), %xmm0
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _pow
addsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
## %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:
movl $0, -8(%rbp)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
cvtsi2sdq (%rax), %xmm0
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _pow
divsd -16(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movl $0, -4(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $100000000, -4(%rbp) ## imm = 0x5F5E100
jge LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -8(%rbp), %edx
movq _word_table@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
cvtsi2sdl -4(%rbp), %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
ucomisd -24(%rbp), %xmm0
jbe LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
cvtsi2sdq (%rax), %xmm0
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _pow
divsd -16(%rbp), %xmm0
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movslq -8(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jl LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq _vocab_size(%rip), %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -8(%rbp)
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_5
LBB0_12:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ReadWord ## -- Begin function ReadWord
.p2align 4, 0x90
_ReadWord: ## @ReadWord
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB1_2
jmp LBB1_17
LBB1_2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rdi
callq _fgetc
movl %eax, -24(%rbp)
cmpl $13, -24(%rbp)
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
cmpl $32, -24(%rbp)
je LBB1_7
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
cmpl $9, -24(%rbp)
je LBB1_7
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -24(%rbp)
jne LBB1_14
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -20(%rbp)
jle LBB1_11
## %bb.8:
cmpl $10, -24(%rbp)
jne LBB1_10
## %bb.9:
movl -24(%rbp), %edi
movq -16(%rbp), %rsi
callq _ungetc
LBB1_10:
jmp LBB1_17
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -24(%rbp)
jne LBB1_13
## %bb.12:
movq -8(%rbp), %rdi
leaq L_.str(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
jmp LBB1_18
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_14: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
cmpl $99, -20(%rbp)
jl LBB1_16
## %bb.15: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
LBB1_16: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_17:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb $0, (%rax,%rcx)
LBB1_18:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _GetWordHash ## -- Begin function GetWordHash
.p2align 4, 0x90
_GetWordHash: ## @GetWordHash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq $0, -24(%rbp)
movq $0, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jae LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
imulq $257, -24(%rbp), %rax ## imm = 0x101
movq -8(%rbp), %rcx
movq -16(%rbp), %rdx
movsbq (%rcx,%rdx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB2_1
LBB2_4:
movq -24(%rbp), %rax
movl $30000000, %ecx ## imm = 0x1C9C380
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq %rdx, -24(%rbp)
movq -24(%rbp), %rax
## kill: def $eax killed $eax killed $rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _SearchVocab ## -- Begin function SearchVocab
.p2align 4, 0x90
_SearchVocab: ## @SearchVocab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _GetWordHash
movl %eax, -20(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpl $-1, (%rax,%rcx,4)
jne LBB3_3
## %bb.2:
movl $-1, -4(%rbp)
jmp LBB3_6
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rdi
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _vocab_hash@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl -20(%rbp), %edx
## kill: def $rdx killed $edx
movslq (%rcx,%rdx,4), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB3_5
## %bb.4:
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
jmp LBB3_6
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl $30000000, %ecx ## imm = 0x1C9C380
xorl %edx, %edx
divl %ecx
movl %edx, -20(%rbp)
jmp LBB3_1
LBB3_6:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _FindLine ## -- Begin function FindLine
.p2align 4, 0x90
_FindLine: ## @FindLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _ftell
movq %rax, -16(%rbp)
movq $0, -24(%rbp)
movq _corpus_size(%rip), %rax
subq $1, %rax
movq %rax, -32(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq -32(%rbp), %rax
jge LBB4_6
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -24(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -32(%rbp), %rax
subq -24(%rbp), %rax
movl $2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq -48(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
movq %rax, -40(%rbp)
movq _doc_sizes@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -16(%rbp), %rax
jle LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq -40(%rbp), %rax
movq %rax, -32(%rbp)
jmp LBB4_5
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_6:
movq -24(%rbp), %rax
## kill: def $eax killed $eax killed $rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ReadWordIndex ## -- Begin function ReadWordIndex
.p2align 4, 0x90
_ReadWordIndex: ## @ReadWordIndex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -128(%rbp)
leaq -112(%rbp), %rdi
movq -128(%rbp), %rsi
callq _ReadWord
movq -128(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB5_2
## %bb.1:
movl $-1, -116(%rbp)
jmp LBB5_3
LBB5_2:
leaq -112(%rbp), %rdi
callq _SearchVocab
movl %eax, -116(%rbp)
LBB5_3:
movl -116(%rbp), %eax
movl %eax, -132(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_5
## %bb.4:
movl -132(%rbp), %eax ## 4-byte Reload
addq $144, %rsp
popq %rbp
retq
LBB5_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _AddWordToVocab ## -- Begin function AddWordToVocab
.p2align 4, 0x90
_AddWordToVocab: ## @AddWordToVocab
.cfi_startproc
## %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
addq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -16(%rbp)
cmpl $100, -16(%rbp)
jbe LBB6_2
## %bb.1:
movl $100, -16(%rbp)
LBB6_2:
movl -16(%rbp), %eax
movl %eax, %edi
movl $1, %esi
callq _calloc
movq %rax, %rcx
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _vocab_size(%rip), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _vocab_size(%rip), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdi
movq -8(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _vocab_size(%rip), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq $0, (%rax)
movq _vocab_size(%rip), %rax
addq $1, %rax
movq %rax, _vocab_size(%rip)
movq _vocab_size(%rip), %rax
addq $2, %rax
cmpq _vocab_max_size(%rip), %rax
jl LBB6_4
## %bb.3:
movq _vocab_max_size(%rip), %rax
addq $1000, %rax ## imm = 0x3E8
movq %rax, _vocab_max_size(%rip)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _vocab_max_size(%rip), %rsi
shlq $4, %rsi
callq _realloc
movq %rax, %rcx
movq _vocab@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB6_4:
movq -8(%rbp), %rdi
callq _GetWordHash
movl %eax, -12(%rbp)
LBB6_5: ## =>This Inner Loop Header: Depth=1
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpl $-1, (%rax,%rcx,4)
je LBB6_7
## %bb.6: ## in Loop: Header=BB6_5 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl $30000000, %ecx ## imm = 0x1C9C380
xorl %edx, %edx
divl %ecx
movl %edx, -12(%rbp)
jmp LBB6_5
LBB6_7:
movq _vocab_size(%rip), %rax
subq $1, %rax
movl %eax, %edx
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
movq _vocab_size(%rip), %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _VocabCompare ## -- Begin function VocabCompare
.p2align 4, 0x90
_VocabCompare: ## @VocabCompare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq -16(%rbp), %rcx
cmpq (%rcx), %rax
jne LBB7_2
## %bb.1:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rsi
callq _strcmp
movl %eax, -4(%rbp)
jmp LBB7_3
LBB7_2:
movq -24(%rbp), %rax
movq (%rax), %rax
movq -16(%rbp), %rcx
subq (%rcx), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
LBB7_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _IntCompare ## -- Begin function IntCompare
.p2align 4, 0x90
_IntCompare: ## @IntCompare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movq -16(%rbp), %rcx
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _SortVocab ## -- Begin function SortVocab
.p2align 4, 0x90
_SortVocab: ## @SortVocab
.cfi_startproc
## %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 _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq $16, %rdi
movq _vocab_size(%rip), %rsi
subq $1, %rsi
movl $16, %edx
leaq _VocabCompare(%rip), %rcx
callq _qsort
movl $0, -4(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
cmpl $30000000, -4(%rbp) ## imm = 0x1C9C380
jge LBB9_4
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
movl $-1, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB9_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB9_1
LBB9_4:
movq _vocab_size(%rip), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -8(%rbp)
movq $0, _train_words(%rip)
movl $0, -4(%rbp)
LBB9_5: ## =>This Loop Header: Depth=1
## Child Loop BB9_10 Depth 2
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB9_15
## %bb.6: ## in Loop: Header=BB9_5 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq _min_count(%rip), %rcx
cmpq %rcx, %rax
jge LBB9_9
## %bb.7: ## in Loop: Header=BB9_5 Depth=1
cmpl $0, -4(%rbp)
je LBB9_9
## %bb.8: ## in Loop: Header=BB9_5 Depth=1
movq _vocab_size(%rip), %rax
addq $-1, %rax
movq %rax, _vocab_size(%rip)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdi
callq _free
jmp LBB9_13
LBB9_9: ## in Loop: Header=BB9_5 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdi
callq _GetWordHash
movl %eax, -12(%rbp)
LBB9_10: ## Parent Loop BB9_5 Depth=1
## => This Inner Loop Header: Depth=2
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpl $-1, (%rax,%rcx,4)
je LBB9_12
## %bb.11: ## in Loop: Header=BB9_10 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl $30000000, %ecx ## imm = 0x1C9C380
xorl %edx, %edx
divl %ecx
movl %edx, -12(%rbp)
jmp LBB9_10
LBB9_12: ## in Loop: Header=BB9_5 Depth=1
movl -4(%rbp), %edx
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rax
addq _train_words(%rip), %rax
movq %rax, _train_words(%rip)
LBB9_13: ## in Loop: Header=BB9_5 Depth=1
jmp LBB9_14
LBB9_14: ## in Loop: Header=BB9_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB9_5
LBB9_15:
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _vocab_size(%rip), %rsi
addq $1, %rsi
shlq $4, %rsi
callq _realloc
movq %rax, %rcx
movq _vocab@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ReduceVocab ## -- Begin function ReduceVocab
.p2align 4, 0x90
_ReduceVocab: ## @ReduceVocab
.cfi_startproc
## %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, -8(%rbp)
movl $0, -4(%rbp)
LBB10_1: ## =>This Inner Loop Header: Depth=1
movslq -4(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB10_7
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq _min_reduce(%rip), %rcx
cmpq %rcx, %rax
jle LBB10_4
## %bb.3: ## in Loop: Header=BB10_1 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rcx
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB10_5
LBB10_4: ## in Loop: Header=BB10_1 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdi
callq _free
LBB10_5: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_6
LBB10_6: ## in Loop: Header=BB10_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_1
LBB10_7:
movslq -8(%rbp), %rax
movq %rax, _vocab_size(%rip)
movl $0, -4(%rbp)
LBB10_8: ## =>This Inner Loop Header: Depth=1
cmpl $30000000, -4(%rbp) ## imm = 0x1C9C380
jge LBB10_11
## %bb.9: ## in Loop: Header=BB10_8 Depth=1
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
movl $-1, (%rax,%rcx,4)
## %bb.10: ## in Loop: Header=BB10_8 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_8
LBB10_11:
movl $0, -4(%rbp)
LBB10_12: ## =>This Loop Header: Depth=1
## Child Loop BB10_14 Depth 2
movslq -4(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB10_18
## %bb.13: ## in Loop: Header=BB10_12 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdi
callq _GetWordHash
movl %eax, -12(%rbp)
LBB10_14: ## Parent Loop BB10_12 Depth=1
## => This Inner Loop Header: Depth=2
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpl $-1, (%rax,%rcx,4)
je LBB10_16
## %bb.15: ## in Loop: Header=BB10_14 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl $30000000, %ecx ## imm = 0x1C9C380
xorl %edx, %edx
divl %ecx
movl %edx, -12(%rbp)
jmp LBB10_14
LBB10_16: ## in Loop: Header=BB10_12 Depth=1
movl -4(%rbp), %edx
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
## %bb.17: ## in Loop: Header=BB10_12 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_12
LBB10_18:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movl _min_reduce(%rip), %eax
addl $1, %eax
movl %eax, _min_reduce(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function LearnVocabFromTrainFile
LCPI11_0:
.quad 0x417406f400000000 ## double 2.1E+7
.section __TEXT,__text,regular,pure_instructions
.globl _LearnVocabFromTrainFile
.p2align 4, 0x90
_LearnVocabFromTrainFile: ## @LearnVocabFromTrainFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq $0, -128(%rbp)
LBB11_1: ## =>This Inner Loop Header: Depth=1
cmpq $30000000, -128(%rbp) ## imm = 0x1C9C380
jge LBB11_4
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -128(%rbp), %rcx
movl $-1, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB11_1 Depth=1
movq -128(%rbp), %rax
addq $1, %rax
movq %rax, -128(%rbp)
jmp LBB11_1
LBB11_4:
movq _train_file@GOTPCREL(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -120(%rbp)
cmpq $0, -120(%rbp)
jne LBB11_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB11_6:
movq $0, _vocab_size(%rip)
leaq L_.str(%rip), %rdi
callq _AddWordToVocab
LBB11_7: ## =>This Inner Loop Header: Depth=1
leaq -112(%rbp), %rdi
movq -120(%rbp), %rsi
callq _ReadWord
movq -120(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB11_9
## %bb.8:
jmp LBB11_23
LBB11_9: ## in Loop: Header=BB11_7 Depth=1
movq _train_words(%rip), %rax
addq $1, %rax
movq %rax, _train_words(%rip)
cmpl $1, _debug_mode(%rip)
jle LBB11_12
## %bb.10: ## in Loop: Header=BB11_7 Depth=1
movq _train_words(%rip), %rax
movl $100000, %ecx ## imm = 0x186A0
cqto
idivq %rcx
cmpq $0, %rdx
jne LBB11_12
## %bb.11: ## in Loop: Header=BB11_7 Depth=1
movq _train_words(%rip), %rax
movl $1000, %ecx ## imm = 0x3E8
cqto
idivq %rcx
movq %rax, %rsi
leaq L_.str.3(%rip), %rdi
movl $13, %edx
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
LBB11_12: ## in Loop: Header=BB11_7 Depth=1
leaq -112(%rbp), %rdi
callq _SearchVocab
cltq
movq %rax, -136(%rbp)
cmpq $-1, -136(%rbp)
jne LBB11_14
## %bb.13: ## in Loop: Header=BB11_7 Depth=1
leaq -112(%rbp), %rdi
callq _AddWordToVocab
cltq
movq %rax, -128(%rbp)
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -128(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq $1, (%rax)
jmp LBB11_20
LBB11_14: ## in Loop: Header=BB11_7 Depth=1
cmpq $0, -136(%rbp)
jne LBB11_18
## %bb.15: ## in Loop: Header=BB11_7 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -136(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
addq $1, %rcx
movq %rcx, (%rax)
movq -120(%rbp), %rdi
callq _ftell
movq %rax, %rdx
movq _doc_sizes@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _corpus_size(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
movq _corpus_size(%rip), %rax
addq $1, %rax
movq %rax, _corpus_size(%rip)
cmpq $40000000, _corpus_size(%rip) ## imm = 0x2625A00
jl LBB11_17
## %bb.16:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB11_17: ## in Loop: Header=BB11_7 Depth=1
jmp LBB11_19
LBB11_18: ## in Loop: Header=BB11_7 Depth=1
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -136(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
addq $1, %rcx
movq %rcx, (%rax)
LBB11_19: ## in Loop: Header=BB11_7 Depth=1
jmp LBB11_20
LBB11_20: ## in Loop: Header=BB11_7 Depth=1
cvtsi2sdq _vocab_size(%rip), %xmm0
movsd LCPI11_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB11_22
## %bb.21: ## in Loop: Header=BB11_7 Depth=1
callq _ReduceVocab
LBB11_22: ## in Loop: Header=BB11_7 Depth=1
jmp LBB11_7
LBB11_23:
callq _SortVocab
cmpl $0, _debug_mode(%rip)
jle LBB11_25
## %bb.24:
movq _vocab_size(%rip), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq _train_words(%rip), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB11_25:
movq -120(%rbp), %rdi
callq _ftell
movq %rax, _file_size(%rip)
movq -120(%rbp), %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB11_27
## %bb.26:
addq $144, %rsp
popq %rbp
retq
LBB11_27:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _SaveVocab ## -- Begin function SaveVocab
.p2align 4, 0x90
_SaveVocab: ## @SaveVocab
.cfi_startproc
## %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 _save_vocab_file@GOTPCREL(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
movq $0, -8(%rbp)
LBB12_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB12_4
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movq -16(%rbp), %rdi
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdx
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.3: ## in Loop: Header=BB12_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB12_1
LBB12_4:
movq -16(%rbp), %rdi
callq _fclose
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ReadVocab ## -- Begin function ReadVocab
.p2align 4, 0x90
_ReadVocab: ## @ReadVocab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq $0, -128(%rbp)
movq _read_vocab_file@GOTPCREL(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -144(%rbp)
cmpq $0, -144(%rbp)
jne LBB13_2
## %bb.1:
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB13_2:
movq $0, -120(%rbp)
LBB13_3: ## =>This Inner Loop Header: Depth=1
cmpq $30000000, -120(%rbp) ## imm = 0x1C9C380
jge LBB13_6
## %bb.4: ## in Loop: Header=BB13_3 Depth=1
movq _vocab_hash@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -120(%rbp), %rcx
movl $-1, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB13_3 Depth=1
movq -120(%rbp), %rax
addq $1, %rax
movq %rax, -120(%rbp)
jmp LBB13_3
LBB13_6:
movq $0, _vocab_size(%rip)
LBB13_7: ## =>This Inner Loop Header: Depth=1
leaq -112(%rbp), %rdi
movq -144(%rbp), %rsi
callq _ReadWord
movq -144(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB13_9
## %bb.8:
jmp LBB13_10
LBB13_9: ## in Loop: Header=BB13_7 Depth=1
leaq -112(%rbp), %rdi
callq _AddWordToVocab
cltq
movq %rax, -120(%rbp)
movq -144(%rbp), %rdi
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq -120(%rbp), %rax
shlq $4, %rax
addq %rax, %rdx
leaq L_.str.10(%rip), %rsi
leaq -129(%rbp), %rcx
movb $0, %al
callq _fscanf
movq -128(%rbp), %rax
addq $1, %rax
movq %rax, -128(%rbp)
jmp LBB13_7
LBB13_10:
callq _SortVocab
cmpl $0, _debug_mode(%rip)
jle LBB13_12
## %bb.11:
movq _vocab_size(%rip), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq _train_words(%rip), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB13_12:
movq _train_file@GOTPCREL(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -144(%rbp)
cmpq $0, -144(%rbp)
jne LBB13_14
## %bb.13:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB13_14:
movq -144(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movq -144(%rbp), %rdi
callq _ftell
movq %rax, _file_size(%rip)
movq -144(%rbp), %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB13_16
## %bb.15:
addq $144, %rsp
popq %rbp
retq
LBB13_16:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function LoadEmb
LCPI14_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI14_1:
.long 0x47800000 ## float 65536
.section __TEXT,__text,regular,pure_instructions
.globl _LoadEmb
.p2align 4, 0x90
_LoadEmb: ## @LoadEmb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq _vocab_size(%rip), %rdi
movl $4, %esi
callq _calloc
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
movl $100, %edi
movl $1, %esi
callq _calloc
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
movq $1, -80(%rbp)
leaq -64(%rbp), %rdi
movq _layer1_size(%rip), %rdx
shlq $2, %rdx
movl $128, %esi
callq _posix_memalign
cltq
movq %rax, -24(%rbp)
cmpq $0, -64(%rbp)
jne LBB14_2
## %bb.1:
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB14_2:
movq -8(%rbp), %rsi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $4, %esi
callq _access
cmpl $-1, %eax
jne LBB14_4
## %bb.3:
movq -8(%rbp), %rsi
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB14_4:
movq -8(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
callq _fopen
movq %rax, -88(%rbp)
movq -88(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
leaq -44(%rbp), %rdx
movb $0, %al
callq _fscanf
movq -88(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
leaq -48(%rbp), %rdx
movb $0, %al
callq _fscanf
movq _layer1_size(%rip), %rax
movslq -48(%rbp), %rcx
cmpq %rcx, %rax
je LBB14_6
## %bb.5:
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB14_6:
movl $0, -44(%rbp)
LBB14_7: ## =>This Loop Header: Depth=1
## Child Loop BB14_9 Depth 2
## Child Loop BB14_14 Depth 2
movq -88(%rbp), %rdi
movq -56(%rbp), %rdx
leaq L_.str.17(%rip), %rsi
movb $0, %al
callq _fscanf
movq -56(%rbp), %rdi
callq _SearchVocab
cltq
movq %rax, -24(%rbp)
cmpq $-1, -24(%rbp)
jne LBB14_13
## %bb.8: ## in Loop: Header=BB14_7 Depth=1
movq $0, -32(%rbp)
LBB14_9: ## Parent Loop BB14_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -32(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB14_12
## %bb.10: ## in Loop: Header=BB14_9 Depth=2
movq -88(%rbp), %rdi
movq -64(%rbp), %rdx
movq -32(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
leaq L_.str.18(%rip), %rsi
movb $0, %al
callq _fscanf
## %bb.11: ## in Loop: Header=BB14_9 Depth=2
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB14_9
LBB14_12: ## in Loop: Header=BB14_7 Depth=1
jmp LBB14_18
LBB14_13: ## in Loop: Header=BB14_7 Depth=1
movq $0, -32(%rbp)
LBB14_14: ## Parent Loop BB14_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -32(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB14_17
## %bb.15: ## in Loop: Header=BB14_14 Depth=2
movq -88(%rbp), %rdi
movq -16(%rbp), %rdx
movq -24(%rbp), %rax
imulq _layer1_size(%rip), %rax
addq -32(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
leaq L_.str.18(%rip), %rsi
movb $0, %al
callq _fscanf
## %bb.16: ## in Loop: Header=BB14_14 Depth=2
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB14_14
LBB14_17: ## in Loop: Header=BB14_7 Depth=1
movq -24(%rbp), %rax
movl %eax, %edx
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
LBB14_18: ## in Loop: Header=BB14_7 Depth=1
movq -88(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB14_20
## %bb.19:
jmp LBB14_21
LBB14_20: ## in Loop: Header=BB14_7 Depth=1
jmp LBB14_7
LBB14_21:
movl -44(%rbp), %esi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
movq -40(%rbp), %rdi
movslq -44(%rbp), %rsi
movl $4, %edx
leaq _IntCompare(%rip), %rcx
callq _qsort
movq _vocab_size(%rip), %rax
movl %eax, %edx
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl $0, -92(%rbp)
movq $0, -24(%rbp)
LBB14_22: ## =>This Loop Header: Depth=1
## Child Loop BB14_25 Depth 2
## Child Loop BB14_29 Depth 2
movq -24(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB14_38
## %bb.23: ## in Loop: Header=BB14_22 Depth=1
movq -24(%rbp), %rax
movq -40(%rbp), %rcx
movslq -92(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
cmpq %rcx, %rax
jge LBB14_33
## %bb.24: ## in Loop: Header=BB14_22 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -68(%rbp)
movq $0, -32(%rbp)
LBB14_25: ## Parent Loop BB14_22 Depth=1
## => This Inner Loop Header: Depth=2
movq -32(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB14_28
## %bb.26: ## in Loop: Header=BB14_25 Depth=2
movq -80(%rbp), %rax
movabsq $25214903917, %rcx ## imm = 0x5DEECE66D
imulq %rcx, %rax
addq $11, %rax
movq %rax, -80(%rbp)
movzwl -80(%rbp), %eax
cvtsi2ss %eax, %xmm0
movss LCPI14_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI14_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
cvtsi2sdq _layer1_size(%rip), %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -32(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
## %bb.27: ## in Loop: Header=BB14_25 Depth=2
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB14_25
LBB14_28: ## in Loop: Header=BB14_22 Depth=1
movq $0, -32(%rbp)
LBB14_29: ## Parent Loop BB14_22 Depth=1
## => This Inner Loop Header: Depth=2
movq -32(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB14_32
## %bb.30: ## in Loop: Header=BB14_29 Depth=2
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm1
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.31: ## in Loop: Header=BB14_29 Depth=2
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB14_29
LBB14_32: ## in Loop: Header=BB14_22 Depth=1
jmp LBB14_36
LBB14_33: ## in Loop: Header=BB14_22 Depth=1
movl -92(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB14_35
## %bb.34: ## in Loop: Header=BB14_22 Depth=1
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
LBB14_35: ## in Loop: Header=BB14_22 Depth=1
jmp LBB14_36
LBB14_36: ## in Loop: Header=BB14_22 Depth=1
jmp LBB14_37
LBB14_37: ## in Loop: Header=BB14_22 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB14_22
LBB14_38:
movq -88(%rbp), %rdi
callq _fclose
movq -56(%rbp), %rdi
callq _free
movq -8(%rbp), %rdi
callq _free
movq -40(%rbp), %rdi
callq _free
movq -64(%rbp), %rdi
callq _free
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function InitNet
LCPI15_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI15_1:
.long 0x47800000 ## float 65536
.section __TEXT,__text,regular,pure_instructions
.globl _InitNet
.p2align 4, 0x90
_InitNet: ## @InitNet
.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 $1, -24(%rbp)
movq _vocab_size(%rip), %rdx
imulq _layer1_size(%rip), %rdx
shlq $2, %rdx
movq _syn0@GOTPCREL(%rip), %rdi
movl $128, %esi
callq _posix_memalign
cltq
movq %rax, -8(%rbp)
movq _syn0@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB15_2
## %bb.1:
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB15_2:
movq _vocab_size(%rip), %rdx
imulq _layer1_size(%rip), %rdx
shlq $2, %rdx
movq _syn1neg@GOTPCREL(%rip), %rdi
movl $128, %esi
callq _posix_memalign
cltq
movq %rax, -8(%rbp)
movq _corpus_size(%rip), %rdx
imulq _layer1_size(%rip), %rdx
shlq $2, %rdx
movq _syn1doc@GOTPCREL(%rip), %rdi
movl $128, %esi
callq _posix_memalign
cltq
movq %rax, -8(%rbp)
movq _syn1neg@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB15_4
## %bb.3:
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB15_4:
movq _syn1doc@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB15_6
## %bb.5:
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB15_6:
movq _load_emb_file@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB15_8
## %bb.7:
movl $100, %edi
movl $1, %esi
callq _calloc
movq %rax, -40(%rbp)
movl $100, %edi
movl $1, %esi
callq _calloc
movq %rax, -48(%rbp)
movq -40(%rbp), %rdi
movq _load_emb_file@GOTPCREL(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -40(%rbp), %rdi
leaq L_.str.22(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq -48(%rbp), %rdi
movq _load_emb_file@GOTPCREL(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -48(%rbp), %rdi
leaq L_.str.23(%rip), %rsi
movq $-1, %rdx
callq ___strcat_chk
movq -40(%rbp), %rdi
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _LoadEmb
movq -48(%rbp), %rdi
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _LoadEmb
jmp LBB15_33
LBB15_8:
movq $0, -8(%rbp)
LBB15_9: ## =>This Loop Header: Depth=1
## Child Loop BB15_11 Depth 2
## Child Loop BB15_15 Depth 2
movq -8(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB15_20
## %bb.10: ## in Loop: Header=BB15_9 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -28(%rbp)
movq $0, -16(%rbp)
LBB15_11: ## Parent Loop BB15_9 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB15_14
## %bb.12: ## in Loop: Header=BB15_11 Depth=2
movq -24(%rbp), %rax
movabsq $25214903917, %rcx ## imm = 0x5DEECE66D
imulq %rcx, %rax
addq $11, %rax
movq %rax, -24(%rbp)
movzwl -24(%rbp), %eax
cvtsi2ss %eax, %xmm0
movss LCPI15_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI15_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
cvtsi2sdq _layer1_size(%rip), %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -28(%rbp)
## %bb.13: ## in Loop: Header=BB15_11 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB15_11
LBB15_14: ## in Loop: Header=BB15_9 Depth=1
movq $0, -16(%rbp)
LBB15_15: ## Parent Loop BB15_9 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB15_18
## %bb.16: ## in Loop: Header=BB15_15 Depth=2
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm1
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.17: ## in Loop: Header=BB15_15 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB15_15
LBB15_18: ## in Loop: Header=BB15_9 Depth=1
jmp LBB15_19
LBB15_19: ## in Loop: Header=BB15_9 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB15_9
LBB15_20:
movq $0, -8(%rbp)
LBB15_21: ## =>This Loop Header: Depth=1
## Child Loop BB15_23 Depth 2
## Child Loop BB15_27 Depth 2
movq -8(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB15_32
## %bb.22: ## in Loop: Header=BB15_21 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -28(%rbp)
movq $0, -16(%rbp)
LBB15_23: ## Parent Loop BB15_21 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB15_26
## %bb.24: ## in Loop: Header=BB15_23 Depth=2
movq -24(%rbp), %rax
movabsq $25214903917, %rcx ## imm = 0x5DEECE66D
imulq %rcx, %rax
addq $11, %rax
movq %rax, -24(%rbp)
movzwl -24(%rbp), %eax
cvtsi2ss %eax, %xmm0
movss LCPI15_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI15_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
cvtsi2sdq _layer1_size(%rip), %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -28(%rbp)
## %bb.25: ## in Loop: Header=BB15_23 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB15_23
LBB15_26: ## in Loop: Header=BB15_21 Depth=1
movq $0, -16(%rbp)
LBB15_27: ## Parent Loop BB15_21 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB15_30
## %bb.28: ## in Loop: Header=BB15_27 Depth=2
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm1
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.29: ## in Loop: Header=BB15_27 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB15_27
LBB15_30: ## in Loop: Header=BB15_21 Depth=1
jmp LBB15_31
LBB15_31: ## in Loop: Header=BB15_21 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB15_21
LBB15_32:
jmp LBB15_33
LBB15_33:
movq $0, -8(%rbp)
LBB15_34: ## =>This Loop Header: Depth=1
## Child Loop BB15_36 Depth 2
## Child Loop BB15_40 Depth 2
movq -8(%rbp), %rax
cmpq _corpus_size(%rip), %rax
jge LBB15_45
## %bb.35: ## in Loop: Header=BB15_34 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -28(%rbp)
movq $0, -16(%rbp)
LBB15_36: ## Parent Loop BB15_34 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB15_39
## %bb.37: ## in Loop: Header=BB15_36 Depth=2
movq -24(%rbp), %rax
movabsq $25214903917, %rcx ## imm = 0x5DEECE66D
imulq %rcx, %rax
addq $11, %rax
movq %rax, -24(%rbp)
movzwl -24(%rbp), %eax
cvtsi2ss %eax, %xmm0
movss LCPI15_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI15_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
cvtsi2sdq _layer1_size(%rip), %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -28(%rbp)
## %bb.38: ## in Loop: Header=BB15_36 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB15_36
LBB15_39: ## in Loop: Header=BB15_34 Depth=1
movq $0, -16(%rbp)
LBB15_40: ## Parent Loop BB15_34 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB15_43
## %bb.41: ## in Loop: Header=BB15_40 Depth=2
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm1
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.42: ## in Loop: Header=BB15_40 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB15_40
LBB15_43: ## in Loop: Header=BB15_34 Depth=1
jmp LBB15_44
LBB15_44: ## in Loop: Header=BB15_34 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB15_34
LBB15_45:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function TrainModelThread
LCPI16_0:
.long 0x447a0000 ## float 1000
LCPI16_1:
.long 0x49742400 ## float 1.0E+6
LCPI16_2:
.long 0x42c80000 ## float 100
LCPI16_4:
.long 0x3f800000 ## float 1
LCPI16_5:
.long 0x47800000 ## float 65536
LCPI16_7:
.long 0x40000000 ## float 2
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI16_3:
.quad 0x3f1a36e2eb1c432d ## double 1.0E-4
LCPI16_6:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _TrainModelThread
.p2align 4, 0x90
_TrainModelThread: ## @TrainModelThread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $8304, %eax ## imm = 0x2070
callq ____chkstk_darwin
subq %rax, %rsp
movq %rdi, -8(%rbp)
movq $0, -40(%rbp)
movq $0, -64(%rbp)
movq $0, -72(%rbp)
movq $0, -80(%rbp)
movq $0, -88(%rbp)
movq $0, -8120(%rbp)
movq _iter(%rip), %rax
movq %rax, -8144(%rbp)
movq -8(%rbp), %rax
movq %rax, -8152(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -8172(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -8176(%rbp)
movq _layer1_size(%rip), %rdi
movl $4, %esi
callq _calloc
movq %rax, -8192(%rbp)
movq _layer1_size(%rip), %rdi
movl $4, %esi
callq _calloc
movq %rax, -8200(%rbp)
movq _layer1_size(%rip), %rdi
movl $4, %esi
callq _calloc
movq %rax, -8208(%rbp)
movq _train_file@GOTPCREL(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -8216(%rbp)
movq -8216(%rbp), %rdi
movq _file_size(%rip), %rax
movslq _num_threads(%rip), %rcx
cqto
idivq %rcx
movq %rax, %rsi
movq -8(%rbp), %rax
imulq %rax, %rsi
xorl %edx, %edx
callq _fseek
LBB16_1: ## =>This Loop Header: Depth=1
## Child Loop BB16_9 Depth 2
## Child Loop BB16_31 Depth 2
## Child Loop BB16_35 Depth 2
## Child Loop BB16_39 Depth 2
## Child Loop BB16_48 Depth 3
## Child Loop BB16_56 Depth 4
## Child Loop BB16_60 Depth 4
## Child Loop BB16_65 Depth 4
## Child Loop BB16_69 Depth 4
## Child Loop BB16_73 Depth 4
## Child Loop BB16_77 Depth 4
## Child Loop BB16_81 Depth 4
## Child Loop BB16_85 Depth 4
## Child Loop BB16_89 Depth 4
## Child Loop BB16_93 Depth 4
## Child Loop BB16_97 Depth 4
## Child Loop BB16_101 Depth 4
## Child Loop BB16_105 Depth 4
## Child Loop BB16_109 Depth 4
## Child Loop BB16_113 Depth 4
## Child Loop BB16_124 Depth 2
## Child Loop BB16_132 Depth 3
## Child Loop BB16_136 Depth 3
## Child Loop BB16_141 Depth 3
## Child Loop BB16_145 Depth 3
## Child Loop BB16_149 Depth 3
## Child Loop BB16_153 Depth 3
## Child Loop BB16_157 Depth 3
## Child Loop BB16_161 Depth 3
## Child Loop BB16_165 Depth 3
## Child Loop BB16_169 Depth 3
## Child Loop BB16_173 Depth 3
## Child Loop BB16_177 Depth 3
## Child Loop BB16_181 Depth 3
## Child Loop BB16_185 Depth 3
## Child Loop BB16_189 Depth 3
movq -80(%rbp), %rax
subq -88(%rbp), %rax
cmpq $10000, %rax ## imm = 0x2710
jle LBB16_7
## %bb.2: ## in Loop: Header=BB16_1 Depth=1
movq -80(%rbp), %rax
subq -88(%rbp), %rax
addq _word_count_actual(%rip), %rax
movq %rax, _word_count_actual(%rip)
movq -80(%rbp), %rax
movq %rax, -88(%rbp)
cmpl $1, _debug_mode(%rip)
jle LBB16_4
## %bb.3: ## in Loop: Header=BB16_1 Depth=1
callq _clock
movq %rax, -8184(%rbp)
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -8272(%rbp) ## 8-byte Spill
movss -8172(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -8264(%rbp) ## 8-byte Spill
movss -8176(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -8256(%rbp) ## 8-byte Spill
cvtsi2ssq _word_count_actual(%rip), %xmm0
movss %xmm0, -8244(%rbp) ## 4-byte Spill
movq _iter(%rip), %rax
movq _train_words(%rip), %rcx
imulq %rcx, %rax
incq %rax
cvtsi2ss %rax, %xmm1
divss %xmm1, %xmm0
movss LCPI16_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -8240(%rbp) ## 8-byte Spill
movq -8184(%rbp), %rax
movq _start@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
incq %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $1, %ecx
## kill: def $rcx killed $ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, -8228(%rbp) ## 4-byte Spill
testq %rax, %rax
movss %xmm0, -8224(%rbp) ## 4-byte Spill
js LBB16_201
## %bb.200: ## in Loop: Header=BB16_1 Depth=1
movss -8228(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -8224(%rbp) ## 4-byte Spill
LBB16_201: ## in Loop: Header=BB16_1 Depth=1
movsd -8240(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -8256(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -8264(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -8272(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movss -8244(%rbp), %xmm4 ## 4-byte Reload
## xmm4 = mem[0],zero,zero,zero
movss -8224(%rbp), %xmm5 ## 4-byte Reload
## xmm5 = mem[0],zero,zero,zero
movss LCPI16_1(%rip), %xmm6 ## xmm6 = mem[0],zero,zero,zero
divss %xmm6, %xmm5
movss LCPI16_0(%rip), %xmm6 ## xmm6 = mem[0],zero,zero,zero
mulss %xmm6, %xmm5
divss %xmm5, %xmm4
cvtss2sd %xmm4, %xmm4
leaq L_.str.24(%rip), %rdi
movl $13, %esi
movb $5, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
LBB16_4: ## in Loop: Header=BB16_1 Depth=1
movq _starting_alpha@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssq _word_count_actual(%rip), %xmm2
movq _iter(%rip), %rax
imulq _train_words(%rip), %rax
addq $1, %rax
cvtsi2ss %rax, %xmm1
divss %xmm1, %xmm2
movss LCPI16_4(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss %xmm0, _alpha(%rip)
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movq _starting_alpha@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI16_3(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jbe LBB16_6
## %bb.5: ## in Loop: Header=BB16_1 Depth=1
movq _starting_alpha@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI16_3(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, _alpha(%rip)
LBB16_6: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_7
LBB16_7: ## in Loop: Header=BB16_1 Depth=1
cmpq $0, -64(%rbp)
jne LBB16_23
## %bb.8: ## in Loop: Header=BB16_1 Depth=1
movq -8216(%rbp), %rdi
callq _FindLine
cltq
movq %rax, -40(%rbp)
LBB16_9: ## Parent Loop BB16_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8216(%rbp), %rdi
callq _ReadWordIndex
cltq
movq %rax, -48(%rbp)
movq -8216(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB16_11
## %bb.10: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_22
LBB16_11: ## in Loop: Header=BB16_9 Depth=2
cmpq $-1, -48(%rbp)
jne LBB16_13
## %bb.12: ## in Loop: Header=BB16_9 Depth=2
jmp LBB16_9
LBB16_13: ## in Loop: Header=BB16_9 Depth=2
movq -80(%rbp), %rax
addq $1, %rax
movq %rax, -80(%rbp)
cmpq $0, -48(%rbp)
jne LBB16_15
## %bb.14: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_22
LBB16_15: ## in Loop: Header=BB16_9 Depth=2
movss _sample(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB16_19
## %bb.16: ## in Loop: Header=BB16_9 Depth=2
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rcx
shlq $4, %rcx
movq (%rax,%rcx), %rax
cvtsi2ss %rax, %xmm0
movss _sample(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtsi2ssq _train_words(%rip), %xmm2
mulss %xmm2, %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
movsd LCPI16_6(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm0
cvtss2sd %xmm1, %xmm1
mulsd %xmm1, %xmm0
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8220(%rbp)
movq -8152(%rbp), %rax
movabsq $25214903917, %rcx ## imm = 0x5DEECE66D
imulq %rcx, %rax
addq $11, %rax
movq %rax, -8152(%rbp)
movss -8220(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movzwl -8152(%rbp), %eax
cvtsi2ss %eax, %xmm0
movss LCPI16_5(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
divss %xmm2, %xmm0
ucomiss %xmm1, %xmm0
jbe LBB16_18
## %bb.17: ## in Loop: Header=BB16_9 Depth=2
jmp LBB16_9
LBB16_18: ## in Loop: Header=BB16_9 Depth=2
jmp LBB16_19
LBB16_19: ## in Loop: Header=BB16_9 Depth=2
movq -48(%rbp), %rcx
movq -64(%rbp), %rax
movq %rcx, -8096(%rbp,%rax,8)
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
cmpq $1000, -64(%rbp) ## imm = 0x3E8
jl LBB16_21
## %bb.20: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_22
LBB16_21: ## in Loop: Header=BB16_9 Depth=2
jmp LBB16_9
LBB16_22: ## in Loop: Header=BB16_1 Depth=1
movq $0, -72(%rbp)
LBB16_23: ## in Loop: Header=BB16_1 Depth=1
movq -8216(%rbp), %rdi
callq _feof
cmpl $0, %eax
jne LBB16_25
## %bb.24: ## in Loop: Header=BB16_1 Depth=1
movq -80(%rbp), %rax
movq %rax, -8280(%rbp) ## 8-byte Spill
movq _train_words(%rip), %rax
movslq _num_threads(%rip), %rcx
cqto
idivq %rcx
movq %rax, %rcx
movq -8280(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
jle LBB16_28
LBB16_25: ## in Loop: Header=BB16_1 Depth=1
movq -80(%rbp), %rax
subq -88(%rbp), %rax
addq _word_count_actual(%rip), %rax
movq %rax, _word_count_actual(%rip)
movq -8144(%rbp), %rax
addq $-1, %rax
movq %rax, -8144(%rbp)
cmpq $0, -8144(%rbp)
jne LBB16_27
## %bb.26:
jmp LBB16_199
LBB16_27: ## in Loop: Header=BB16_1 Depth=1
movq $0, -80(%rbp)
movq $0, -88(%rbp)
movq $0, -64(%rbp)
movq -8216(%rbp), %rdi
movq _file_size(%rip), %rax
movslq _num_threads(%rip), %rcx
cqto
idivq %rcx
movq %rax, %rsi
movq -8(%rbp), %rax
imulq %rax, %rsi
xorl %edx, %edx
callq _fseek
jmp LBB16_1
LBB16_28: ## in Loop: Header=BB16_1 Depth=1
movq -72(%rbp), %rax
movq -8096(%rbp,%rax,8), %rax
movq %rax, -48(%rbp)
cmpq $-1, -48(%rbp)
jne LBB16_30
## %bb.29: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_1
LBB16_30: ## in Loop: Header=BB16_1 Depth=1
movq $0, -8128(%rbp)
LBB16_31: ## Parent Loop BB16_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_34
## %bb.32: ## in Loop: Header=BB16_31 Depth=2
movq -8192(%rbp), %rax
movq -8128(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.33: ## in Loop: Header=BB16_31 Depth=2
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_31
LBB16_34: ## in Loop: Header=BB16_1 Depth=1
movq $0, -8128(%rbp)
LBB16_35: ## Parent Loop BB16_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_38
## %bb.36: ## in Loop: Header=BB16_35 Depth=2
movq -8208(%rbp), %rax
movq -8128(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.37: ## in Loop: Header=BB16_35 Depth=2
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_35
LBB16_38: ## in Loop: Header=BB16_1 Depth=1
movabsq $25214903917, %rax ## imm = 0x5DEECE66D
imulq -8152(%rbp), %rax
addq $11, %rax
movq %rax, -8152(%rbp)
movq -8152(%rbp), %rax
movslq _window(%rip), %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq %rdx, -24(%rbp)
movq -24(%rbp), %rax
movq %rax, -16(%rbp)
LBB16_39: ## Parent Loop BB16_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_48 Depth 3
## Child Loop BB16_56 Depth 4
## Child Loop BB16_60 Depth 4
## Child Loop BB16_65 Depth 4
## Child Loop BB16_69 Depth 4
## Child Loop BB16_73 Depth 4
## Child Loop BB16_77 Depth 4
## Child Loop BB16_81 Depth 4
## Child Loop BB16_85 Depth 4
## Child Loop BB16_89 Depth 4
## Child Loop BB16_93 Depth 4
## Child Loop BB16_97 Depth 4
## Child Loop BB16_101 Depth 4
## Child Loop BB16_105 Depth 4
## Child Loop BB16_109 Depth 4
## Child Loop BB16_113 Depth 4
movq -16(%rbp), %rax
movl _window(%rip), %ecx
shll $1, %ecx
addl $1, %ecx
movslq %ecx, %rcx
subq -24(%rbp), %rcx
cmpq %rcx, %rax
jge LBB16_123
## %bb.40: ## in Loop: Header=BB16_39 Depth=2
movq -16(%rbp), %rax
movslq _window(%rip), %rcx
cmpq %rcx, %rax
je LBB16_121
## %bb.41: ## in Loop: Header=BB16_39 Depth=2
movq -72(%rbp), %rax
movslq _window(%rip), %rcx
subq %rcx, %rax
addq -16(%rbp), %rax
movq %rax, -8128(%rbp)
cmpq $0, -8128(%rbp)
jge LBB16_43
## %bb.42: ## in Loop: Header=BB16_39 Depth=2
jmp LBB16_122
LBB16_43: ## in Loop: Header=BB16_39 Depth=2
movq -8128(%rbp), %rax
cmpq -64(%rbp), %rax
jl LBB16_45
## %bb.44: ## in Loop: Header=BB16_39 Depth=2
jmp LBB16_122
LBB16_45: ## in Loop: Header=BB16_39 Depth=2
movq -8128(%rbp), %rax
movq -8096(%rbp,%rax,8), %rax
movq %rax, -56(%rbp)
cmpq $-1, -56(%rbp)
jne LBB16_47
## %bb.46: ## in Loop: Header=BB16_39 Depth=2
jmp LBB16_122
LBB16_47: ## in Loop: Header=BB16_39 Depth=2
movq -56(%rbp), %rax
imulq _layer1_size(%rip), %rax
movq %rax, -8104(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -8172(%rbp)
movq $0, -32(%rbp)
LBB16_48: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB16_56 Depth 4
## Child Loop BB16_60 Depth 4
## Child Loop BB16_65 Depth 4
## Child Loop BB16_69 Depth 4
## Child Loop BB16_73 Depth 4
## Child Loop BB16_77 Depth 4
## Child Loop BB16_81 Depth 4
## Child Loop BB16_85 Depth 4
## Child Loop BB16_89 Depth 4
## Child Loop BB16_93 Depth 4
## Child Loop BB16_97 Depth 4
## Child Loop BB16_101 Depth 4
## Child Loop BB16_105 Depth 4
## Child Loop BB16_109 Depth 4
## Child Loop BB16_113 Depth 4
movq -32(%rbp), %rax
movl _negative(%rip), %ecx
addl $1, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jge LBB16_120
## %bb.49: ## in Loop: Header=BB16_48 Depth=3
cmpq $0, -32(%rbp)
jne LBB16_51
## %bb.50: ## in Loop: Header=BB16_48 Depth=3
movq -48(%rbp), %rax
imulq _layer1_size(%rip), %rax
movq %rax, -8120(%rbp)
jmp LBB16_118
LBB16_51: ## in Loop: Header=BB16_48 Depth=3
movabsq $25214903917, %rax ## imm = 0x5DEECE66D
imulq -8152(%rbp), %rax
addq $11, %rax
movq %rax, -8152(%rbp)
movq _word_table@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8288(%rbp) ## 8-byte Spill
movq -8152(%rbp), %rax
shrq $16, %rax
movl $100000000, %ecx ## imm = 0x5F5E100
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq -8288(%rbp), %rax ## 8-byte Reload
movslq (%rax,%rdx,4), %rax
movq %rax, -8136(%rbp)
cmpq $0, -8136(%rbp)
jne LBB16_53
## %bb.52: ## in Loop: Header=BB16_48 Depth=3
movq -8152(%rbp), %rax
movq _vocab_size(%rip), %rcx
subq $1, %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
addq $1, %rdx
movq %rdx, -8136(%rbp)
LBB16_53: ## in Loop: Header=BB16_48 Depth=3
movq -8136(%rbp), %rax
cmpq -48(%rbp), %rax
jne LBB16_55
## %bb.54: ## in Loop: Header=BB16_48 Depth=3
jmp LBB16_119
LBB16_55: ## in Loop: Header=BB16_48 Depth=3
movq -8136(%rbp), %rax
imulq _layer1_size(%rip), %rax
movq %rax, -8112(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -8156(%rbp)
movq $0, -8128(%rbp)
LBB16_56: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_59
## %bb.57: ## in Loop: Header=BB16_56 Depth=4
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8156(%rbp)
## %bb.58: ## in Loop: Header=BB16_56 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_56
LBB16_59: ## in Loop: Header=BB16_48 Depth=3
xorps %xmm0, %xmm0
movss %xmm0, -8164(%rbp)
movq $0, -8128(%rbp)
LBB16_60: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_63
## %bb.61: ## in Loop: Header=BB16_60 Depth=4
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8164(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8164(%rbp)
## %bb.62: ## in Loop: Header=BB16_60 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_60
LBB16_63: ## in Loop: Header=BB16_48 Depth=3
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -8164(%rbp), %xmm1
movss _margin(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB16_117
## %bb.64: ## in Loop: Header=BB16_48 Depth=3
movss _margin(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -8164(%rbp), %xmm1
subss %xmm1, %xmm0
addss -8172(%rbp), %xmm0
movss %xmm0, -8172(%rbp)
movq $0, -8128(%rbp)
LBB16_65: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_68
## %bb.66: ## in Loop: Header=BB16_65 Depth=4
movq -8208(%rbp), %rax
movq -8128(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.67: ## in Loop: Header=BB16_65 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_65
LBB16_68: ## in Loop: Header=BB16_48 Depth=3
movq $0, -8128(%rbp)
LBB16_69: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_72
## %bb.70: ## in Loop: Header=BB16_69 Depth=4
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -8164(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
subss (%rax,%rcx,4), %xmm0
movq -8208(%rbp), %rax
movq -8128(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.71: ## in Loop: Header=BB16_69 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_69
LBB16_72: ## in Loop: Header=BB16_48 Depth=3
movq $0, -8128(%rbp)
LBB16_73: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_76
## %bb.74: ## in Loop: Header=BB16_73 Depth=4
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.75: ## in Loop: Header=BB16_73 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_73
LBB16_76: ## in Loop: Header=BB16_48 Depth=3
movss LCPI16_4(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -8156(%rbp), %xmm0
movss %xmm0, -8168(%rbp)
movq $0, -8128(%rbp)
LBB16_77: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_80
## %bb.78: ## in Loop: Header=BB16_77 Depth=4
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8168(%rbp), %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.79: ## in Loop: Header=BB16_77 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_77
LBB16_80: ## in Loop: Header=BB16_48 Depth=3
xorps %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_81: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_84
## %bb.82: ## in Loop: Header=BB16_81 Depth=4
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8160(%rbp)
## %bb.83: ## in Loop: Header=BB16_81 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_81
LBB16_84: ## in Loop: Header=BB16_48 Depth=3
movss -8160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_85: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_88
## %bb.86: ## in Loop: Header=BB16_85 Depth=4
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.87: ## in Loop: Header=BB16_85 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_85
LBB16_88: ## in Loop: Header=BB16_48 Depth=3
movq $0, -8128(%rbp)
LBB16_89: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_92
## %bb.90: ## in Loop: Header=BB16_89 Depth=4
movss -8164(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.91: ## in Loop: Header=BB16_89 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_89
LBB16_92: ## in Loop: Header=BB16_48 Depth=3
movss LCPI16_7(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8164(%rbp), %xmm0
movss %xmm0, -8168(%rbp)
movq $0, -8128(%rbp)
LBB16_93: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_96
## %bb.94: ## in Loop: Header=BB16_93 Depth=4
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8168(%rbp), %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.95: ## in Loop: Header=BB16_93 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_93
LBB16_96: ## in Loop: Header=BB16_48 Depth=3
xorps %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_97: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_100
## %bb.98: ## in Loop: Header=BB16_97 Depth=4
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8160(%rbp)
## %bb.99: ## in Loop: Header=BB16_97 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_97
LBB16_100: ## in Loop: Header=BB16_48 Depth=3
movss -8160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_101: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_104
## %bb.102: ## in Loop: Header=BB16_101 Depth=4
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.103: ## in Loop: Header=BB16_101 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_101
LBB16_104: ## in Loop: Header=BB16_48 Depth=3
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -8164(%rbp), %xmm1
movss LCPI16_4(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
movss %xmm0, -8168(%rbp)
movq $0, -8128(%rbp)
LBB16_105: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_108
## %bb.106: ## in Loop: Header=BB16_105 Depth=4
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8168(%rbp), %xmm0
movq -8208(%rbp), %rax
movq -8128(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.107: ## in Loop: Header=BB16_105 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_105
LBB16_108: ## in Loop: Header=BB16_48 Depth=3
xorps %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_109: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_112
## %bb.110: ## in Loop: Header=BB16_109 Depth=4
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8160(%rbp)
## %bb.111: ## in Loop: Header=BB16_109 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_109
LBB16_112: ## in Loop: Header=BB16_48 Depth=3
movss -8160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_113: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_39 Depth=2
## Parent Loop BB16_48 Depth=3
## => This Inner Loop Header: Depth=4
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_116
## %bb.114: ## in Loop: Header=BB16_113 Depth=4
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.115: ## in Loop: Header=BB16_113 Depth=4
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_113
LBB16_116: ## in Loop: Header=BB16_48 Depth=3
jmp LBB16_117
LBB16_117: ## in Loop: Header=BB16_48 Depth=3
jmp LBB16_118
LBB16_118: ## in Loop: Header=BB16_48 Depth=3
jmp LBB16_119
LBB16_119: ## in Loop: Header=BB16_48 Depth=3
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB16_48
LBB16_120: ## in Loop: Header=BB16_39 Depth=2
jmp LBB16_121
LBB16_121: ## in Loop: Header=BB16_39 Depth=2
jmp LBB16_122
LBB16_122: ## in Loop: Header=BB16_39 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB16_39
LBB16_123: ## in Loop: Header=BB16_1 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -8176(%rbp)
movq -40(%rbp), %rax
imulq _layer1_size(%rip), %rax
movq %rax, -8104(%rbp)
movq $0, -32(%rbp)
LBB16_124: ## Parent Loop BB16_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_132 Depth 3
## Child Loop BB16_136 Depth 3
## Child Loop BB16_141 Depth 3
## Child Loop BB16_145 Depth 3
## Child Loop BB16_149 Depth 3
## Child Loop BB16_153 Depth 3
## Child Loop BB16_157 Depth 3
## Child Loop BB16_161 Depth 3
## Child Loop BB16_165 Depth 3
## Child Loop BB16_169 Depth 3
## Child Loop BB16_173 Depth 3
## Child Loop BB16_177 Depth 3
## Child Loop BB16_181 Depth 3
## Child Loop BB16_185 Depth 3
## Child Loop BB16_189 Depth 3
movq -32(%rbp), %rax
movl _negative(%rip), %ecx
addl $1, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jge LBB16_196
## %bb.125: ## in Loop: Header=BB16_124 Depth=2
cmpq $0, -32(%rbp)
jne LBB16_127
## %bb.126: ## in Loop: Header=BB16_124 Depth=2
movq -48(%rbp), %rax
imulq _layer1_size(%rip), %rax
movq %rax, -8120(%rbp)
jmp LBB16_194
LBB16_127: ## in Loop: Header=BB16_124 Depth=2
movabsq $25214903917, %rax ## imm = 0x5DEECE66D
imulq -8152(%rbp), %rax
addq $11, %rax
movq %rax, -8152(%rbp)
movq _word_table@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8296(%rbp) ## 8-byte Spill
movq -8152(%rbp), %rax
shrq $16, %rax
movl $100000000, %ecx ## imm = 0x5F5E100
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq -8296(%rbp), %rax ## 8-byte Reload
movslq (%rax,%rdx,4), %rax
movq %rax, -8136(%rbp)
cmpq $0, -8136(%rbp)
jne LBB16_129
## %bb.128: ## in Loop: Header=BB16_124 Depth=2
movq -8152(%rbp), %rax
movq _vocab_size(%rip), %rcx
subq $1, %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
addq $1, %rdx
movq %rdx, -8136(%rbp)
LBB16_129: ## in Loop: Header=BB16_124 Depth=2
movq -8136(%rbp), %rax
cmpq -48(%rbp), %rax
jne LBB16_131
## %bb.130: ## in Loop: Header=BB16_124 Depth=2
jmp LBB16_195
LBB16_131: ## in Loop: Header=BB16_124 Depth=2
movq -8136(%rbp), %rax
imulq _layer1_size(%rip), %rax
movq %rax, -8112(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -8156(%rbp)
movq $0, -8128(%rbp)
LBB16_132: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_135
## %bb.133: ## in Loop: Header=BB16_132 Depth=3
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8156(%rbp)
## %bb.134: ## in Loop: Header=BB16_132 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_132
LBB16_135: ## in Loop: Header=BB16_124 Depth=2
xorps %xmm0, %xmm0
movss %xmm0, -8164(%rbp)
movq $0, -8128(%rbp)
LBB16_136: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_139
## %bb.137: ## in Loop: Header=BB16_136 Depth=3
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8164(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8164(%rbp)
## %bb.138: ## in Loop: Header=BB16_136 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_136
LBB16_139: ## in Loop: Header=BB16_124 Depth=2
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -8164(%rbp), %xmm1
movss _margin(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB16_193
## %bb.140: ## in Loop: Header=BB16_124 Depth=2
movss _margin(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -8164(%rbp), %xmm1
subss %xmm1, %xmm0
addss -8176(%rbp), %xmm0
movss %xmm0, -8176(%rbp)
movq $0, -8128(%rbp)
LBB16_141: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_144
## %bb.142: ## in Loop: Header=BB16_141 Depth=3
movq -8208(%rbp), %rax
movq -8128(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.143: ## in Loop: Header=BB16_141 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_141
LBB16_144: ## in Loop: Header=BB16_124 Depth=2
movq $0, -8128(%rbp)
LBB16_145: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_148
## %bb.146: ## in Loop: Header=BB16_145 Depth=3
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -8164(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
subss (%rax,%rcx,4), %xmm0
movq -8208(%rbp), %rax
movq -8128(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.147: ## in Loop: Header=BB16_145 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_145
LBB16_148: ## in Loop: Header=BB16_124 Depth=2
movq $0, -8128(%rbp)
LBB16_149: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_152
## %bb.150: ## in Loop: Header=BB16_149 Depth=3
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -8156(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.151: ## in Loop: Header=BB16_149 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_149
LBB16_152: ## in Loop: Header=BB16_124 Depth=2
movss LCPI16_4(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -8156(%rbp), %xmm0
movss %xmm0, -8168(%rbp)
movq $0, -8128(%rbp)
LBB16_153: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_156
## %bb.154: ## in Loop: Header=BB16_153 Depth=3
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8168(%rbp), %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.155: ## in Loop: Header=BB16_153 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_153
LBB16_156: ## in Loop: Header=BB16_124 Depth=2
xorps %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_157: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_160
## %bb.158: ## in Loop: Header=BB16_157 Depth=3
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8160(%rbp)
## %bb.159: ## in Loop: Header=BB16_157 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_157
LBB16_160: ## in Loop: Header=BB16_124 Depth=2
movss -8160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_161: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_164
## %bb.162: ## in Loop: Header=BB16_161 Depth=3
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8120(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.163: ## in Loop: Header=BB16_161 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_161
LBB16_164: ## in Loop: Header=BB16_124 Depth=2
movq $0, -8128(%rbp)
LBB16_165: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_168
## %bb.166: ## in Loop: Header=BB16_165 Depth=3
movss -8164(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.167: ## in Loop: Header=BB16_165 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_165
LBB16_168: ## in Loop: Header=BB16_124 Depth=2
movss LCPI16_7(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8164(%rbp), %xmm0
movss %xmm0, -8168(%rbp)
movq $0, -8128(%rbp)
LBB16_169: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_172
## %bb.170: ## in Loop: Header=BB16_169 Depth=3
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8168(%rbp), %xmm0
movq -8200(%rbp), %rax
movq -8128(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.171: ## in Loop: Header=BB16_169 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_169
LBB16_172: ## in Loop: Header=BB16_124 Depth=2
xorps %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_173: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_176
## %bb.174: ## in Loop: Header=BB16_173 Depth=3
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8160(%rbp)
## %bb.175: ## in Loop: Header=BB16_173 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_173
LBB16_176: ## in Loop: Header=BB16_124 Depth=2
movss -8160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_177: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_180
## %bb.178: ## in Loop: Header=BB16_177 Depth=3
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8112(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.179: ## in Loop: Header=BB16_177 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_177
LBB16_180: ## in Loop: Header=BB16_124 Depth=2
movss -8156(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -8164(%rbp), %xmm1
movss LCPI16_4(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
movss %xmm0, -8168(%rbp)
movq $0, -8128(%rbp)
LBB16_181: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_184
## %bb.182: ## in Loop: Header=BB16_181 Depth=3
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8168(%rbp), %xmm0
movq -8208(%rbp), %rax
movq -8128(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.183: ## in Loop: Header=BB16_181 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_181
LBB16_184: ## in Loop: Header=BB16_124 Depth=2
xorps %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_185: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_188
## %bb.186: ## in Loop: Header=BB16_185 Depth=3
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8160(%rbp)
## %bb.187: ## in Loop: Header=BB16_185 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_185
LBB16_188: ## in Loop: Header=BB16_124 Depth=2
movss -8160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8160(%rbp)
movq $0, -8128(%rbp)
LBB16_189: ## Parent Loop BB16_1 Depth=1
## Parent Loop BB16_124 Depth=2
## => This Inner Loop Header: Depth=3
movq -8128(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB16_192
## %bb.190: ## in Loop: Header=BB16_189 Depth=3
movss -8160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8128(%rbp), %rcx
addq -8104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.191: ## in Loop: Header=BB16_189 Depth=3
movq -8128(%rbp), %rax
addq $1, %rax
movq %rax, -8128(%rbp)
jmp LBB16_189
LBB16_192: ## in Loop: Header=BB16_124 Depth=2
jmp LBB16_193
LBB16_193: ## in Loop: Header=BB16_124 Depth=2
jmp LBB16_194
LBB16_194: ## in Loop: Header=BB16_124 Depth=2
jmp LBB16_195
LBB16_195: ## in Loop: Header=BB16_124 Depth=2
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB16_124
LBB16_196: ## in Loop: Header=BB16_1 Depth=1
movq -72(%rbp), %rax
addq $1, %rax
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
cmpq -64(%rbp), %rax
jl LBB16_198
## %bb.197: ## in Loop: Header=BB16_1 Depth=1
movq $0, -64(%rbp)
jmp LBB16_1
LBB16_198: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_1
LBB16_199:
movq -8216(%rbp), %rdi
callq _fclose
movq -8192(%rbp), %rdi
callq _free
movq -8208(%rbp), %rdi
callq _free
movq -8200(%rbp), %rdi
callq _free
xorl %eax, %eax
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.globl _TrainModel ## -- Begin function TrainModel
.p2align 4, 0x90
_TrainModel: ## @TrainModel
.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
movslq _num_threads(%rip), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -32(%rbp)
leaq L_.str.25(%rip), %rdi
movq _train_file@GOTPCREL(%rip), %rsi
movb $0, %al
callq _printf
movss _alpha(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _starting_alpha@GOTPCREL(%rip), %rax
movss %xmm0, (%rax)
movq _read_vocab_file@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB17_2
## %bb.1:
callq _ReadVocab
jmp LBB17_3
LBB17_2:
callq _LearnVocabFromTrainFile
LBB17_3:
movq _save_vocab_file@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB17_5
## %bb.4:
callq _SaveVocab
LBB17_5:
callq _InitNet
callq _InitUnigramTable
callq _clock
movq %rax, %rcx
movq _start@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq $0, -8(%rbp)
LBB17_6: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq _num_threads(%rip), %rcx
cmpq %rcx, %rax
jge LBB17_9
## %bb.7: ## in Loop: Header=BB17_6 Depth=1
movq -32(%rbp), %rdi
movq -8(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -8(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _TrainModelThread(%rip), %rdx
callq _pthread_create
## %bb.8: ## in Loop: Header=BB17_6 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB17_6
LBB17_9:
movq $0, -8(%rbp)
LBB17_10: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq _num_threads(%rip), %rcx
cmpq %rcx, %rax
jge LBB17_13
## %bb.11: ## in Loop: Header=BB17_10 Depth=1
movq -32(%rbp), %rax
movq -8(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.12: ## in Loop: Header=BB17_10 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB17_10
LBB17_13:
movq _word_emb@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB17_23
## %bb.14:
movq _word_emb@GOTPCREL(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movq _vocab_size(%rip), %rdx
movq _layer1_size(%rip), %rcx
leaq L_.str.26(%rip), %rsi
movb $0, %al
callq _fprintf
movq $0, -8(%rbp)
LBB17_15: ## =>This Loop Header: Depth=1
## Child Loop BB17_17 Depth 2
movq -8(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB17_22
## %bb.16: ## in Loop: Header=BB17_15 Depth=1
movq -24(%rbp), %rdi
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdx
leaq L_.str.27(%rip), %rsi
movb $0, %al
callq _fprintf
movq $0, -16(%rbp)
LBB17_17: ## Parent Loop BB17_15 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB17_20
## %bb.18: ## in Loop: Header=BB17_17 Depth=2
movq -24(%rbp), %rdi
movq _syn0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.28(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.19: ## in Loop: Header=BB17_17 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB17_17
LBB17_20: ## in Loop: Header=BB17_15 Depth=1
movq -24(%rbp), %rdi
leaq L_.str.29(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.21: ## in Loop: Header=BB17_15 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB17_15
LBB17_22:
movq -24(%rbp), %rdi
callq _fclose
LBB17_23:
movq _context_emb@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB17_33
## %bb.24:
movq _context_emb@GOTPCREL(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movq _vocab_size(%rip), %rdx
movq _layer1_size(%rip), %rcx
leaq L_.str.26(%rip), %rsi
movb $0, %al
callq _fprintf
movq $0, -8(%rbp)
LBB17_25: ## =>This Loop Header: Depth=1
## Child Loop BB17_27 Depth 2
movq -8(%rbp), %rax
cmpq _vocab_size(%rip), %rax
jge LBB17_32
## %bb.26: ## in Loop: Header=BB17_25 Depth=1
movq -40(%rbp), %rdi
movq _vocab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdx
leaq L_.str.27(%rip), %rsi
movb $0, %al
callq _fprintf
movq $0, -16(%rbp)
LBB17_27: ## Parent Loop BB17_25 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB17_30
## %bb.28: ## in Loop: Header=BB17_27 Depth=2
movq -40(%rbp), %rdi
movq _syn1neg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.28(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.29: ## in Loop: Header=BB17_27 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB17_27
LBB17_30: ## in Loop: Header=BB17_25 Depth=1
movq -40(%rbp), %rdi
leaq L_.str.29(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.31: ## in Loop: Header=BB17_25 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB17_25
LBB17_32:
movq -40(%rbp), %rdi
callq _fclose
LBB17_33:
movq _doc_output@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB17_43
## %bb.34:
movq _doc_output@GOTPCREL(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
movq _corpus_size(%rip), %rdx
movq _layer1_size(%rip), %rcx
leaq L_.str.26(%rip), %rsi
movb $0, %al
callq _fprintf
movq $0, -8(%rbp)
LBB17_35: ## =>This Loop Header: Depth=1
## Child Loop BB17_37 Depth 2
movq -8(%rbp), %rax
cmpq _corpus_size(%rip), %rax
jge LBB17_42
## %bb.36: ## in Loop: Header=BB17_35 Depth=1
movq -48(%rbp), %rdi
movq -8(%rbp), %rdx
leaq L_.str.30(%rip), %rsi
movb $0, %al
callq _fprintf
movq $0, -16(%rbp)
LBB17_37: ## Parent Loop BB17_35 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq _layer1_size(%rip), %rax
jge LBB17_40
## %bb.38: ## in Loop: Header=BB17_37 Depth=2
movq -48(%rbp), %rdi
movq _syn1doc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
imulq _layer1_size(%rip), %rcx
addq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.28(%rip), %rsi
movb $1, %al
callq _fprintf
## %bb.39: ## in Loop: Header=BB17_37 Depth=2
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB17_37
LBB17_40: ## in Loop: Header=BB17_35 Depth=1
movq -48(%rbp), %rdi
leaq L_.str.29(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.41: ## in Loop: Header=BB17_35 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB17_35
LBB17_42:
movq -48(%rbp), %rdi
callq _fclose
LBB17_43:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ArgPos ## -- Begin function ArgPos
.p2align 4, 0x90
_ArgPos: ## @ArgPos
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movl $1, -36(%rbp)
LBB18_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB18_8
## %bb.2: ## in Loop: Header=BB18_1 Depth=1
movq -16(%rbp), %rdi
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB18_6
## %bb.3:
movl -36(%rbp), %eax
movl -20(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB18_5
## %bb.4:
movq -16(%rbp), %rsi
leaq L_.str.31(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB18_5:
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB18_9
LBB18_6: ## in Loop: Header=BB18_1 Depth=1
jmp LBB18_7
LBB18_7: ## in Loop: Header=BB18_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB18_1
LBB18_8:
movl $-1, -4(%rbp)
LBB18_9:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
jne LBB19_2
## %bb.1:
leaq L_.str.32(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.33(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.34(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.35(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.36(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.37(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.38(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.39(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.40(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.41(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.42(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.43(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.44(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.45(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.46(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.47(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.48(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.49(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.50(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.51(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.52(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.53(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.54(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.55(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.56(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.57(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.58(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.59(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.60(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.61(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.62(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.63(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.64(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.65(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.66(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.67(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.68(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.69(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB19_39
LBB19_2:
movq _word_emb@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _save_vocab_file@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _read_vocab_file@GOTPCREL(%rip), %rax
movb $0, (%rax)
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.70(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_4
## %bb.3:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
cltq
movq %rax, _layer1_size(%rip)
LBB19_4:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.71(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_6
## %bb.5:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq _train_file@GOTPCREL(%rip), %rdi
movl $100, %edx
callq ___strcpy_chk
LBB19_6:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.72(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_8
## %bb.7:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq _save_vocab_file@GOTPCREL(%rip), %rdi
movl $100, %edx
callq ___strcpy_chk
LBB19_8:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.73(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_10
## %bb.9:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq _read_vocab_file@GOTPCREL(%rip), %rdi
movl $100, %edx
callq ___strcpy_chk
LBB19_10:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.74(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_12
## %bb.11:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq _load_emb_file@GOTPCREL(%rip), %rdi
movl $100, %edx
callq ___strcpy_chk
LBB19_12:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.75(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_14
## %bb.13:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, _debug_mode(%rip)
LBB19_14:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.76(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_16
## %bb.15:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, _alpha(%rip)
LBB19_16:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.77(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_18
## %bb.17:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq _word_emb@GOTPCREL(%rip), %rdi
movl $100, %edx
callq ___strcpy_chk
LBB19_18:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.78(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_20
## %bb.19:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq _context_emb@GOTPCREL(%rip), %rdi
movl $100, %edx
callq ___strcpy_chk
LBB19_20:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.79(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_22
## %bb.21:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq _doc_output@GOTPCREL(%rip), %rdi
movl $100, %edx
callq ___strcpy_chk
LBB19_22:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.80(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_24
## %bb.23:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, _window(%rip)
LBB19_24:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.81(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_26
## %bb.25:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, _sample(%rip)
LBB19_26:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.82(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_28
## %bb.27:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, _negative(%rip)
LBB19_28:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.83(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_30
## %bb.29:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, _num_threads(%rip)
LBB19_30:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.84(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_32
## %bb.31:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, _margin(%rip)
LBB19_32:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.85(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_34
## %bb.33:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
cltq
movq %rax, _iter(%rip)
LBB19_34:
movl -8(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.86(%rip), %rdi
callq _ArgPos
movl %eax, -20(%rbp)
cmpl $0, %eax
jle LBB19_36
## %bb.35:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _atoi
movl %eax, _min_count(%rip)
LBB19_36:
movq _vocab_max_size(%rip), %rdi
movl $16, %esi
callq _calloc
movq %rax, %rcx
movq _vocab@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $30000000, %edi ## imm = 0x1C9C380
movl $4, %esi
callq _calloc
movq %rax, %rcx
movq _vocab_hash@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $40000000, %edi ## imm = 0x2625A00
movl $8, %esi
callq _calloc
movq %rax, %rcx
movq _doc_sizes@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
cmpl $0, _negative(%rip)
jg LBB19_38
## %bb.37:
leaq L_.str.87(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB19_38:
callq _TrainModel
movl $0, -4(%rbp)
LBB19_39:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _vocab_hash_size ## @vocab_hash_size
.p2align 2
_vocab_hash_size:
.long 30000000 ## 0x1c9c380
.globl _corpus_max_size ## @corpus_max_size
.p2align 2
_corpus_max_size:
.long 40000000 ## 0x2625a00
.section __DATA,__data
.globl _debug_mode ## @debug_mode
.p2align 2
_debug_mode:
.long 2 ## 0x2
.globl _window ## @window
.p2align 2
_window:
.long 5 ## 0x5
.globl _min_count ## @min_count
.p2align 2
_min_count:
.long 5 ## 0x5
.globl _num_threads ## @num_threads
.p2align 2
_num_threads:
.long 20 ## 0x14
.globl _min_reduce ## @min_reduce
.p2align 2
_min_reduce:
.long 1 ## 0x1
.globl _vocab_max_size ## @vocab_max_size
.p2align 3
_vocab_max_size:
.quad 1000 ## 0x3e8
.globl _vocab_size ## @vocab_size
.zerofill __DATA,__common,_vocab_size,8,3
.globl _corpus_size ## @corpus_size
.zerofill __DATA,__common,_corpus_size,8,3
.globl _layer1_size ## @layer1_size
.p2align 3
_layer1_size:
.quad 100 ## 0x64
.globl _train_words ## @train_words
.zerofill __DATA,__common,_train_words,8,3
.globl _word_count_actual ## @word_count_actual
.zerofill __DATA,__common,_word_count_actual,8,3
.globl _iter ## @iter
.p2align 3
_iter:
.quad 10 ## 0xa
.globl _file_size ## @file_size
.zerofill __DATA,__common,_file_size,8,3
.globl _negative ## @negative
.p2align 2
_negative:
.long 2 ## 0x2
.section __TEXT,__const
.globl _table_size ## @table_size
.p2align 2
_table_size:
.long 100000000 ## 0x5f5e100
.section __DATA,__data
.globl _alpha ## @alpha
.p2align 2
_alpha:
.long 0x3d23d70a ## float 0.0399999991
.globl _sample ## @sample
.p2align 2
_sample:
.long 0x3a83126f ## float 0.00100000005
.globl _margin ## @margin
.p2align 2
_margin:
.long 0x3e19999a ## float 0.150000006
.comm _word_table,8,3 ## @word_table
.comm _vocab,8,3 ## @vocab
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "</s>"
.comm _vocab_hash,8,3 ## @vocab_hash
.comm _doc_sizes,8,3 ## @doc_sizes
.comm _train_file,100,4 ## @train_file
L_.str.1: ## @.str.1
.asciz "rb"
L_.str.2: ## @.str.2
.asciz "ERROR: training data file not found!\n"
L_.str.3: ## @.str.3
.asciz "%lldK%c"
L_.str.4: ## @.str.4
.asciz "[ERROR] Number of documents in corpus larger than \"corpus_max_size\"! Set a larger \"corpus_max_size\" in Line 18 of jose.c!\n"
L_.str.5: ## @.str.5
.asciz "Vocab size: %lld\n"
L_.str.6: ## @.str.6
.asciz "Words in train file: %lld\n"
.comm _save_vocab_file,100,4 ## @save_vocab_file
L_.str.7: ## @.str.7
.asciz "wb"
L_.str.8: ## @.str.8
.asciz "%s %lld\n"
.comm _read_vocab_file,100,4 ## @read_vocab_file
L_.str.9: ## @.str.9
.asciz "Vocabulary file not found\n"
L_.str.10: ## @.str.10
.asciz "%lld%c"
L_.str.11: ## @.str.11
.asciz "Memory allocation failed\n"
L_.str.12: ## @.str.12
.asciz "Loading embedding from file %s\n"
L_.str.13: ## @.str.13
.asciz "File %s does not exist\n"
L_.str.14: ## @.str.14
.asciz "r"
L_.str.15: ## @.str.15
.asciz "%d"
L_.str.16: ## @.str.16
.asciz "Embedding dimension incompatible with pretrained file!\n"
L_.str.17: ## @.str.17
.asciz "%s"
L_.str.18: ## @.str.18
.asciz "%f"
L_.str.19: ## @.str.19
.asciz "In vocab: %d\n"
.comm _syn0,8,3 ## @syn0
.comm _syn1neg,8,3 ## @syn1neg
.comm _syn1doc,8,3 ## @syn1doc
L_.str.20: ## @.str.20
.asciz "Memory allocation failed (syn1neg)\n"
L_.str.21: ## @.str.21
.asciz "Memory allocation failed (syn1doc)\n"
.comm _load_emb_file,100,4 ## @load_emb_file
L_.str.22: ## @.str.22
.asciz "_w.txt"
L_.str.23: ## @.str.23
.asciz "_v.txt"
L_.str.24: ## @.str.24
.asciz "%cAlpha: %f Objective (w): %f Objective (d): %f Progress: %.2f%% Words/thread/sec: %.2fk "
.comm _start,8,3 ## @start
.comm _starting_alpha,4,2 ## @starting_alpha
L_.str.25: ## @.str.25
.asciz "Starting training using file %s\n"
.comm _word_emb,100,4 ## @word_emb
L_.str.26: ## @.str.26
.asciz "%lld %lld\n"
L_.str.27: ## @.str.27
.asciz "%s "
L_.str.28: ## @.str.28
.asciz "%lf "
L_.str.29: ## @.str.29
.asciz "\n"
.comm _context_emb,100,4 ## @context_emb
.comm _doc_output,100,4 ## @doc_output
L_.str.30: ## @.str.30
.asciz "%ld "
L_.str.31: ## @.str.31
.asciz "Argument missing for %s\n"
L_.str.32: ## @.str.32
.asciz "Parameters:\n"
L_.str.33: ## @.str.33
.asciz "\t-train <file> (mandatory argument)\n"
L_.str.34: ## @.str.34
.asciz "\t\tUse text data from <file> to train the model\n"
L_.str.35: ## @.str.35
.asciz "\t-word-output <file>\n"
L_.str.36: ## @.str.36
.asciz "\t\tUse <file> to save the resulting word vectors\n"
L_.str.37: ## @.str.37
.asciz "\t-context-output <file>\n"
L_.str.38: ## @.str.38
.asciz "\t\tUse <file> to save the resulting word context vectors\n"
L_.str.39: ## @.str.39
.asciz "\t-doc-output <file>\n"
L_.str.40: ## @.str.40
.asciz "\t\tUse <file> to save the resulting document vectors\n"
L_.str.41: ## @.str.41
.asciz "\t-size <int>\n"
L_.str.42: ## @.str.42
.asciz "\t\tSet size of word vectors; default is 100\n"
L_.str.43: ## @.str.43
.asciz "\t-window <int>\n"
L_.str.44: ## @.str.44
.asciz "\t\tSet max skip length between words; default is 5\n"
L_.str.45: ## @.str.45
.asciz "\t-sample <float>\n"
L_.str.46: ## @.str.46
.asciz "\t\tSet threshold for occurrence of words. Those that appear with higher frequency in the\n"
L_.str.47: ## @.str.47
.asciz "\t\ttraining data will be randomly down-sampled; default is 1e-3, useful range is (0, 1e-3)\n"
L_.str.48: ## @.str.48
.asciz "\t-negative <int>\n"
L_.str.49: ## @.str.49
.asciz "\t\tNumber of negative examples; default is 2\n"
L_.str.50: ## @.str.50
.asciz "\t-threads <int>\n"
L_.str.51: ## @.str.51
.asciz "\t\tUse <int> threads; default is 20\n"
L_.str.52: ## @.str.52
.asciz "\t-margin <float>\n"
L_.str.53: ## @.str.53
.asciz "\t\tMargin used in loss function to separate positive samples from negative samples; default is 0.15\n"
L_.str.54: ## @.str.54
.asciz "\t-iter <int>\n"
L_.str.55: ## @.str.55
.asciz "\t\tRun more training iterations; default is 10\n"
L_.str.56: ## @.str.56
.asciz "\t-min-count <int>\n"
L_.str.57: ## @.str.57
.asciz "\t\tThis will discard words that appear less than <int> times; default is 5\n"
L_.str.58: ## @.str.58
.asciz "\t-alpha <float>\n"
L_.str.59: ## @.str.59
.asciz "\t\tSet the starting learning rate; default is 0.04\n"
L_.str.60: ## @.str.60
.asciz "\t-debug <int>\n"
L_.str.61: ## @.str.61
.asciz "\t\tSet the debug mode (default = 2 = more info during training)\n"
L_.str.62: ## @.str.62
.asciz "\t-save-vocab <file>\n"
L_.str.63: ## @.str.63
.asciz "\t\tThe vocabulary will be saved to <file>\n"
L_.str.64: ## @.str.64
.asciz "\t-read-vocab <file>\n"
L_.str.65: ## @.str.65
.asciz "\t\tThe vocabulary will be read from <file>, not constructed from the training data\n"
L_.str.66: ## @.str.66
.asciz "\t-load-emb <file>\n"
L_.str.67: ## @.str.67
.asciz "\t\tThe pretrained embeddings will be read from <file>\n"
L_.str.68: ## @.str.68
.asciz "\nExamples:\n"
L_.str.69: ## @.str.69
.asciz "./jose -train text.txt -word-output jose.txt -size 100 -margin 0.15 -window 5 -sample 1e-3 -negative 2 -iter 10\n\n"
L_.str.70: ## @.str.70
.asciz "-size"
L_.str.71: ## @.str.71
.asciz "-train"
L_.str.72: ## @.str.72
.asciz "-save-vocab"
L_.str.73: ## @.str.73
.asciz "-read-vocab"
L_.str.74: ## @.str.74
.asciz "-load-emb"
L_.str.75: ## @.str.75
.asciz "-debug"
L_.str.76: ## @.str.76
.asciz "-alpha"
L_.str.77: ## @.str.77
.asciz "-word-output"
L_.str.78: ## @.str.78
.asciz "-context-output"
L_.str.79: ## @.str.79
.asciz "-doc-output"
L_.str.80: ## @.str.80
.asciz "-window"
L_.str.81: ## @.str.81
.asciz "-sample"
L_.str.82: ## @.str.82
.asciz "-negative"
L_.str.83: ## @.str.83
.asciz "-threads"
L_.str.84: ## @.str.84
.asciz "-margin"
L_.str.85: ## @.str.85
.asciz "-iter"
L_.str.86: ## @.str.86
.asciz "-min-count"
L_.str.87: ## @.str.87
.asciz "ERROR: Nubmer of negative samples must be positive!\n"
.subsections_via_symbols
| the_stack_data/1083046.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 w0, [x29, #-4]
str x1, [sp, #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
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
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 "FALSE\n"
l_.str.1: ; @.str.1
.asciz "TRUE\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 %edi, -4(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.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 "FALSE\n"
L_.str.1: ## @.str.1
.asciz "TRUE\n"
.subsections_via_symbols
| the_stack_data/161081853.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 ___VERIFIER_nondet_int
str w0, [sp, #4]
bl ___VERIFIER_nondet_int
str w0, [sp]
ldr w8, [sp, #4]
mov w9, #-2147483647
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
stur wzr, [x29, #-4]
b LBB0_6
LBB0_2:
ldr w8, [sp]
mov w9, #-2147483647
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
stur wzr, [x29, #-4]
b LBB0_6
LBB0_4:
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
str w8, [sp, #8]
ldr w9, [sp]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #8]
str w8, [sp]
b LBB0_5
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 $32, %rsp
movl $0, -4(%rbp)
callq ___VERIFIER_nondet_int
movl %eax, -12(%rbp)
callq ___VERIFIER_nondet_int
movl %eax, -16(%rbp)
cmpl $-2147483647, -12(%rbp) ## imm = 0x80000001
jge LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_6
LBB0_2:
cmpl $-2147483647, -16(%rbp) ## imm = 0x80000001
jge LBB0_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB0_6
LBB0_4:
jmp LBB0_5
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
xorl %eax, %eax
subl -16(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
movl %eax, -16(%rbp)
jmp LBB0_5
LBB0_6:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/129826719.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
sub x8, x29, #8
str x8, [sp, #8] ; 8-byte Folded Spill
stur wzr, [x29, #-8]
stur wzr, [x29, #-12]
movi d0, #0000000000000000
str s0, [sp, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #16]
ldur s1, [x29, #-12]
scvtf s1, s1
fadd s0, s0, s1
str s0, [sp, #16]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_3:
ldr s0, [sp, #16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Total %.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $0, -12(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -12(%rbp), %xmm1
addss %xmm1, %xmm0
movss %xmm0, -16(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Total %.2f"
.subsections_via_symbols
| the_stack_data/40763883.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, #368
.cfi_def_cfa_offset 368
stp x28, x27, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur wzr, [x29, #-20]
mov w8, #3
str w8, [sp, #72]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #64]
add x0, sp, #76
bl _initialise_field
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
add x8, sp, #60
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldr w8, [sp, #60]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #60]
subs w8, w8, #64
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_1
LBB0_4:
b LBB0_5
LBB0_5:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
mov x1, #0
bl _setbuf
ldr w8, [sp, #60]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
str wzr, [sp, #56]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #56]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x2, [x8]
add x0, sp, #52
mov w1, #4
bl _fgets
ldrsb w0, [sp, #52]
bl _char_to_int
str w0, [sp, #48]
ldrsb w0, [sp, #54]
bl _char_to_int
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w0, [sp, #44]
ldr x0, [x8]
mov x1, #0
bl _setbuf
ldr w0, [sp, #48]
ldr w1, [sp, #44]
bl _in_minefield
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
ldrsw x9, [sp, #48]
add x8, sp, #76
add x9, x8, x9, lsl #5
ldrsw x10, [sp, #44]
mov w8, #2
str w8, [x9, x10, lsl #2]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #56]
add w8, w8, #1
str w8, [sp, #56]
b LBB0_8
LBB0_13:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #40]
str wzr, [sp, #36]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
mov w1, #0
bl _print_gameplay_minefield
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
bl _print_debug_minefield
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
bl _game_is_won
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
mov w0, #0
bl _exit
LBB0_19: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x2, [x8]
add x0, sp, #26
mov w1, #10
bl _fgets
ldrsb w0, [sp, #26]
bl _char_to_int
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w0, [sp, #20]
ldr x0, [x8]
mov x1, #0
bl _setbuf
ldr w8, [sp, #72]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [sp, #64]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_14
LBB0_24: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
add x1, sp, #26
bl _detect_row
ldr w8, [sp, #72]
subs w8, w8, #1
str w8, [sp, #72]
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
add x1, sp, #26
bl _detect_col
ldr w8, [sp, #72]
subs w8, w8, #1
str w8, [sp, #72]
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
add x1, sp, #26
bl _detect_square
ldr w8, [sp, #72]
subs w8, w8, #1
str w8, [sp, #72]
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
add x1, sp, #26
add x2, sp, #40
bl _reveal_square
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_14 Depth=1
mov w8, #1
str w8, [sp, #36]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB0_38
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_38
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_14 Depth=1
str wzr, [sp, #36]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB0_40
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_14 Depth=1
add x0, sp, #76
add x1, sp, #26
add x2, sp, #40
bl _reveal_radial
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_14 Depth=1
b LBB0_14
.cfi_endproc
; -- End function
.globl _initialise_field ; -- Begin function initialise_field
.p2align 2
_initialise_field: ; @initialise_field
.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 Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #4]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x9, x8, x9, lsl #5
ldrsw x10, [sp]
mov w8, #1
str w8, [x9, x10, lsl #2]
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_3
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_6:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _char_to_int ; -- Begin function char_to_int
.p2align 2
_char_to_int: ; @char_to_int
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrsb w8, [sp, #15]
subs w0, w8, #48
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _in_minefield ; -- Begin function in_minefield
.p2align 2
_in_minefield: ; @in_minefield
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_1
LBB3_1:
ldr w8, [sp, #4]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2:
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
str wzr, [sp, #12]
b LBB3_6
LBB3_5:
mov w8, #1
str w8, [sp, #12]
b LBB3_6
LBB3_6:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _print_gameplay_minefield ; -- Begin function print_gameplay_minefield
.p2align 2
_print_gameplay_minefield: ; @print_gameplay_minefield
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
stur x8, [x29, #-24]
adrp x8, l_.str.19@PAGE
add x8, x8, l_.str.19@PAGEOFF
stur x8, [x29, #-32]
adrp x8, l_.str.20@PAGE
add x8, x8, l_.str.20@PAGEOFF
str x8, [sp, #40]
ldur x10, [x29, #-24]
ldur x8, [x29, #-32]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
str wzr, [sp, #28]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
ldr w8, [sp, #28]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB4_19
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
str wzr, [sp, #24]
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB4_17
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #28]
add x8, x8, x9, lsl #5
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #36]
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_9
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldur x0, [x29, #-8]
ldr w1, [sp, #28]
ldr w2, [sp, #24]
bl _iterate_square
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _list_size
str w0, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #40]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
b LBB4_8
LBB4_7: ; in Loop: Header=BB4_3 Depth=2
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_3 Depth=2
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_3 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #36]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_3 Depth=2
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
b LBB4_16
LBB4_12: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB4_14
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #36]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB4_15
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_3 Depth=2
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_3 Depth=2
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_3 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB4_3
LBB4_17: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB4_1
LBB4_19:
ldur x8, [x29, #-32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _print_debug_minefield ; -- Begin function print_debug_minefield
.p2align 2
_print_debug_minefield: ; @print_debug_minefield
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB5_1
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
str wzr, [sp, #16]
b LBB5_3
LBB5_3: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=2
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #5
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.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB5_3
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB5_1
LBB5_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _game_is_won ; -- Begin function game_is_won
.p2align 2
_game_is_won: ; @game_is_won
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str wzr, [sp, #8]
b LBB6_1
LBB6_1: ; =>This Loop Header: Depth=1
; Child Loop BB6_3 Depth 2
ldr w8, [sp, #8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB6_10
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
str wzr, [sp, #4]
b LBB6_3
LBB6_3: ; Parent Loop BB6_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB6_8
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=2
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
add x8, x8, x9, lsl #5
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
stur wzr, [x29, #-4]
b LBB6_11
LBB6_6: ; in Loop: Header=BB6_3 Depth=2
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_3 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB6_3
LBB6_8: ; in Loop: Header=BB6_1 Depth=1
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB6_1
LBB6_10:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB6_11
LBB6_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _detect_row ; -- Begin function detect_row
.p2align 2
_detect_row: ; @detect_row
.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, #-16]
ldrsb w0, [x8, #2]
bl _char_to_int
stur w0, [x29, #-20]
str wzr, [sp, #24]
str wzr, [sp, #20]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB7_6
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #5
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB7_1
LBB7_6:
ldr w8, [sp, #24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _detect_col ; -- Begin function detect_col
.p2align 2
_detect_col: ; @detect_col
.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, #-16]
ldrsb w0, [x8, #2]
bl _char_to_int
stur w0, [x29, #-20]
str wzr, [sp, #24]
str wzr, [sp, #20]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB8_6
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #5
ldursw x9, [x29, #-20]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_1 Depth=1
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB8_1
LBB8_6:
ldr w8, [sp, #24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.30@PAGE
add x0, x0, l_.str.30@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _detect_square ; -- Begin function detect_square
.p2align 2
_detect_square: ; @detect_square
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldrsb w0, [x8, #2]
bl _char_to_int
stur w0, [x29, #-20]
ldur x8, [x29, #-16]
ldrsb w0, [x8, #4]
bl _char_to_int
stur w0, [x29, #-24]
ldur x0, [x29, #-8]
ldur w1, [x29, #-20]
ldur w2, [x29, #-24]
bl _iterate_square
str x0, [sp, #32]
ldr x0, [sp, #32]
bl _list_size
str w0, [sp, #28]
ldr w8, [sp, #28]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _printf
ldr x0, [sp, #32]
bl _free
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _reveal_square ; -- Begin function reveal_square
.p2align 2
_reveal_square: ; @reveal_square
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
ldur x8, [x29, #-16]
ldrsb w0, [x8, #2]
bl _char_to_int
stur w0, [x29, #-28]
ldur x8, [x29, #-16]
ldrsb w0, [x8, #4]
bl _char_to_int
str w0, [sp, #32]
mov w8, #3
str w8, [sp, #28]
ldur x0, [x29, #-8]
ldur w1, [x29, #-28]
ldr w2, [sp, #32]
bl _iterate_square
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _list_size
str w0, [sp, #12]
ldr x0, [sp, #16]
ldur w1, [x29, #-28]
ldr w2, [sp, #32]
bl _selected_mine
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB10_3
b LBB10_1
LBB10_1:
ldur x8, [x29, #-24]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_3
b LBB10_2
LBB10_2:
ldur x0, [x29, #-8]
bl _game_over
b LBB10_3
LBB10_3:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
ldur x8, [x29, #-24]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_16
b LBB10_5
LBB10_5:
ldur w8, [x29, #-28]
subs w8, w8, #1
stur w8, [x29, #-28]
ldr w8, [sp, #32]
subs w8, w8, #1
str w8, [sp, #32]
ldur w8, [x29, #-28]
str w8, [sp, #8]
b LBB10_6
LBB10_6: ; =>This Loop Header: Depth=1
; Child Loop BB10_8 Depth 2
ldr w8, [sp, #8]
ldur w9, [x29, #-28]
ldr w10, [sp, #28]
add w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_15
b LBB10_7
LBB10_7: ; in Loop: Header=BB10_6 Depth=1
ldr w8, [sp, #32]
str w8, [sp, #4]
b LBB10_8
LBB10_8: ; Parent Loop BB10_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
ldr w9, [sp, #32]
ldr w10, [sp, #28]
add w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_13
b LBB10_9
LBB10_9: ; in Loop: Header=BB10_8 Depth=2
ldr w0, [sp, #8]
ldr w1, [sp, #4]
bl _in_minefield
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB10_11
b LBB10_10
LBB10_10: ; in Loop: Header=BB10_8 Depth=2
b LBB10_12
LBB10_11: ; in Loop: Header=BB10_8 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
add x9, x8, x9, lsl #5
ldrsw x10, [sp, #4]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB10_12
LBB10_12: ; in Loop: Header=BB10_8 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB10_8
LBB10_13: ; in Loop: Header=BB10_6 Depth=1
b LBB10_14
LBB10_14: ; in Loop: Header=BB10_6 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB10_6
LBB10_15:
b LBB10_17
LBB10_16:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-28]
add x9, x8, x9, lsl #5
ldrsw x10, [sp, #32]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB10_17
LBB10_17:
ldr x0, [sp, #16]
bl _free
ldur x8, [x29, #-24]
str wzr, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _reveal_radial ; -- Begin function reveal_radial
.p2align 2
_reveal_radial: ; @reveal_radial
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub x8, x29, #112
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-24]
str x0, [x8, #16]
str x1, [x8, #8]
str x2, [x8]
ldr x8, [x8, #8]
ldrsb w0, [x8, #2]
bl _char_to_int
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur w0, [x29, #-116]
ldr x8, [x8, #8]
ldrsb w0, [x8, #4]
bl _char_to_int
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur w0, [x29, #-120]
mov w9, #3
stur w9, [x29, #-124]
ldr x0, [x8, #16]
ldr x1, [x8, #8]
ldr x2, [x8]
bl _reveal_square
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, #16]
ldur w1, [x29, #-116]
ldur w2, [x29, #-120]
bl _iterate_square
str x0, [sp, #136]
ldr x0, [sp, #136]
bl _list_size
str w0, [sp, #132]
ldr w8, [sp, #132]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
b LBB11_11
LBB11_2:
ldr x9, [sp, #8] ; 8-byte Folded Reload
adrp x8, l___const.reveal_radial.degree_0@PAGE
add x8, x8, l___const.reveal_radial.degree_0@PAGEOFF
ldr x8, [x8]
str x8, [sp, #120]
adrp x8, l___const.reveal_radial.degree_45@PAGE
add x8, x8, l___const.reveal_radial.degree_45@PAGEOFF
ldr x8, [x8]
str x8, [sp, #112]
adrp x8, l___const.reveal_radial.degree_90@PAGE
add x8, x8, l___const.reveal_radial.degree_90@PAGEOFF
ldr x8, [x8]
str x8, [sp, #104]
adrp x8, l___const.reveal_radial.degree_135@PAGE
add x8, x8, l___const.reveal_radial.degree_135@PAGEOFF
ldr x8, [x8]
str x8, [sp, #96]
adrp x8, l___const.reveal_radial.degree_180@PAGE
add x8, x8, l___const.reveal_radial.degree_180@PAGEOFF
ldr x8, [x8]
str x8, [sp, #88]
adrp x8, l___const.reveal_radial.degree_225@PAGE
add x8, x8, l___const.reveal_radial.degree_225@PAGEOFF
ldr x8, [x8]
str x8, [sp, #80]
adrp x8, l___const.reveal_radial.degree_270@PAGE
add x8, x8, l___const.reveal_radial.degree_270@PAGEOFF
ldr x8, [x8]
str x8, [sp, #72]
adrp x8, l___const.reveal_radial.degree_315@PAGE
add x8, x8, l___const.reveal_radial.degree_315@PAGEOFF
ldr x8, [x8]
str x8, [sp, #64]
ldr x8, [sp, #120]
str x8, [x9, #24]
ldr x8, [sp, #112]
str x8, [x9, #32]
ldr x8, [sp, #104]
str x8, [x9, #40]
ldr x8, [sp, #96]
str x8, [x9, #48]
ldr x8, [sp, #88]
str x8, [x9, #56]
ldr x8, [sp, #80]
str x8, [x9, #64]
ldr x8, [sp, #72]
str x8, [x9, #72]
ldr x8, [sp, #64]
str x8, [x9, #80]
mov x8, #8
str x8, [sp, #56]
str wzr, [sp, #52]
b LBB11_3
LBB11_3: ; =>This Loop Header: Depth=1
; Child Loop BB11_5 Depth 2
ldrsw x8, [sp, #52]
ldr x9, [sp, #56]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB11_11
b LBB11_4
LBB11_4: ; in Loop: Header=BB11_3 Depth=1
ldrsw x9, [sp, #52]
sub x8, x29, #88
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #40]
ldur w8, [x29, #-116]
str w8, [sp, #36]
ldur w8, [x29, #-120]
str w8, [sp, #32]
b LBB11_5
LBB11_5: ; Parent Loop BB11_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [sp, #36]
ldr w1, [sp, #32]
bl _in_minefield
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB11_9
b LBB11_6
LBB11_6: ; in Loop: Header=BB11_5 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, #16]
ldr w1, [sp, #36]
ldr w2, [sp, #32]
bl _iterate_square
str x0, [sp, #24]
ldr x0, [sp, #24]
bl _list_size
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w0, [sp, #20]
ldr x8, [x8, #16]
ldrsw x9, [sp, #36]
add x9, x8, x9, lsl #5
ldrsw x10, [sp, #32]
mov w8, #0
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_8
b LBB11_7
LBB11_7: ; in Loop: Header=BB11_3 Depth=1
b LBB11_9
LBB11_8: ; in Loop: Header=BB11_5 Depth=2
ldr w9, [sp, #40]
ldr w8, [sp, #36]
add w8, w8, w9
str w8, [sp, #36]
ldr w9, [sp, #44]
ldr w8, [sp, #32]
add w8, w8, w9
str w8, [sp, #32]
b LBB11_5
LBB11_9: ; in Loop: Header=BB11_3 Depth=1
b LBB11_10
LBB11_10: ; in Loop: Header=BB11_3 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB11_3
LBB11_11:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB11_13
b LBB11_12
LBB11_12:
bl ___stack_chk_fail
LBB11_13:
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x28, x27, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
.cfi_endproc
; -- End function
.globl _game_over ; -- Begin function game_over
.p2align 2
_game_over: ; @game_over
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x0, l_.str.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
ldr x0, [sp, #8]
mov w1, #1
bl _print_gameplay_minefield
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.globl _iterate_square ; -- Begin function iterate_square
.p2align 2
_iterate_square: ; @iterate_square
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
mov w8, #3
stur w8, [x29, #-20]
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
ldur w8, [x29, #-12]
str w8, [sp, #12]
b LBB13_1
LBB13_1: ; =>This Loop Header: Depth=1
; Child Loop BB13_3 Depth 2
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
ldur w10, [x29, #-20]
add w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_12
b LBB13_2
LBB13_2: ; in Loop: Header=BB13_1 Depth=1
ldur w8, [x29, #-16]
str w8, [sp, #8]
b LBB13_3
LBB13_3: ; Parent Loop BB13_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldur w9, [x29, #-16]
ldur w10, [x29, #-20]
add w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_10
b LBB13_4
LBB13_4: ; in Loop: Header=BB13_3 Depth=2
ldur w0, [x29, #-12]
ldur w1, [x29, #-16]
bl _in_minefield
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB13_6
b LBB13_5
LBB13_5: ; in Loop: Header=BB13_3 Depth=2
b LBB13_9
LBB13_6: ; in Loop: Header=BB13_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9, lsl #5
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB13_8
b LBB13_7
LBB13_7: ; in Loop: Header=BB13_3 Depth=2
ldr w1, [sp, #12]
ldr w2, [sp, #8]
add x0, sp, #16
bl _append
b LBB13_8
LBB13_8: ; in Loop: Header=BB13_3 Depth=2
b LBB13_9
LBB13_9: ; in Loop: Header=BB13_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB13_3
LBB13_10: ; in Loop: Header=BB13_1 Depth=1
b LBB13_11
LBB13_11: ; in Loop: Header=BB13_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB13_1
LBB13_12:
ldr x0, [sp, #16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _list_size ; -- Begin function list_size
.p2align 2
_list_size: ; @list_size
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
str wzr, [sp, #28]
b LBB14_6
LBB14_2:
mov w8, #1
str w8, [sp, #4]
b LBB14_3
LBB14_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_5
b LBB14_4
LBB14_4: ; in Loop: Header=BB14_3 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB14_3
LBB14_5:
ldr w8, [sp, #4]
str w8, [sp, #28]
b LBB14_6
LBB14_6:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _append ; -- Begin function append
.p2align 2
_append: ; @append
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
mov x0, #16
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
mov w0, #-1
bl _exit
LBB15_2:
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9]
ldr w8, [sp, #16]
ldr x9, [sp, #8]
str w8, [x9, #4]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_4
b LBB15_3
LBB15_3:
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
b LBB15_8
LBB15_4:
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp]
b LBB15_5
LBB15_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_7
b LBB15_6
LBB15_6: ; in Loop: Header=BB15_5 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b LBB15_5
LBB15_7:
ldr x8, [sp, #8]
ldr x9, [sp]
str x8, [x9, #8]
ldr x8, [sp]
ldr x8, [x8, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB15_8
LBB15_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _selected_mine ; -- Begin function selected_mine
.p2align 2
_selected_mine: ; @selected_mine
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str w2, [sp, #8]
ldr x8, [sp, #16]
str x8, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
str wzr, [sp, #28]
b LBB16_9
LBB16_2:
b LBB16_3
LBB16_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_8
b LBB16_4
LBB16_4: ; in Loop: Header=BB16_3 Depth=1
ldr x8, [sp]
ldr w8, [x8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB16_7
b LBB16_5
LBB16_5: ; in Loop: Header=BB16_3 Depth=1
ldr x8, [sp]
ldr w8, [x8, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB16_7
b LBB16_6
LBB16_6:
mov w8, #1
str w8, [sp, #28]
b LBB16_9
LBB16_7: ; in Loop: Header=BB16_3 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b LBB16_3
LBB16_8:
str wzr, [sp, #28]
b LBB16_9
LBB16_9:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Help already used"
l_.str.1: ; @.str.1
.asciz "Welcome to Minesweeper!\n"
l_.str.2: ; @.str.2
.asciz "How many mines? "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Mine count must be greater than 0 and less than 64\n"
l_.str.5: ; @.str.5
.asciz "Enter pairs:\n"
l_.str.6: ; @.str.6
.asciz "Game Started\n"
l_.str.7: ; @.str.7
.asciz "%s\n"
l_.str.8: ; @.str.8
.asciz "Gameplay mode activated\n"
l_.str.9: ; @.str.9
.asciz "..\n"
l_.str.10: ; @.str.10
.asciz "\\/\n"
l_.str.11: ; @.str.11
.asciz "Debug mode activated\n"
l_.str.12: ; @.str.12
.asciz "Game won!\n"
l_.str.13: ; @.str.13
.asciz "Game over\n"
l_.str.14: ; @.str.14
.asciz "xx\n"
l_.str.15: ; @.str.15
.asciz "/\\\n"
l_.str.16: ; @.str.16
.asciz "%d "
l_.str.17: ; @.str.17
.asciz "\n"
l_.str.18: ; @.str.18
.asciz " 00 01 02 03 04 05 06 07"
l_.str.19: ; @.str.19
.asciz " --------------------------"
l_.str.20: ; @.str.20
.asciz " "
l_.str.21: ; @.str.21
.asciz "%s\n%s\n"
l_.str.22: ; @.str.22
.asciz "0%d |"
l_.str.23: ; @.str.23
.asciz "%s"
l_.str.24: ; @.str.24
.asciz "0%d "
l_.str.25: ; @.str.25
.asciz "() "
l_.str.26: ; @.str.26
.asciz "## "
l_.str.27: ; @.str.27
.asciz "|\n"
l_.str.28: ; @.str.28
.asciz "Unable to allocate memory for new node\n"
l_.str.29: ; @.str.29
.asciz "There are %d mine(s) in row %d.\n"
l_.str.30: ; @.str.30
.asciz "There are %d mine(s) in column %d.\n"
l_.str.31: ; @.str.31
.asciz "There are %d mine(s) in the square centered at row %d, column %d, of size 3\n"
.section __TEXT,__literal8,8byte_literals
.p2align 2 ; @__const.reveal_radial.degree_0
l___const.reveal_radial.degree_0:
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.p2align 2 ; @__const.reveal_radial.degree_45
l___const.reveal_radial.degree_45:
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.p2align 2 ; @__const.reveal_radial.degree_90
l___const.reveal_radial.degree_90:
.long 0 ; 0x0
.long 1 ; 0x1
.p2align 2 ; @__const.reveal_radial.degree_135
l___const.reveal_radial.degree_135:
.long 1 ; 0x1
.long 1 ; 0x1
.p2align 2 ; @__const.reveal_radial.degree_180
l___const.reveal_radial.degree_180:
.long 1 ; 0x1
.long 0 ; 0x0
.p2align 2 ; @__const.reveal_radial.degree_225
l___const.reveal_radial.degree_225:
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.p2align 2 ; @__const.reveal_radial.degree_270
l___const.reveal_radial.degree_270:
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.p2align 2 ; @__const.reveal_radial.degree_315
l___const.reveal_radial.degree_315:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.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 $3, -276(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -288(%rbp)
leaq -272(%rbp), %rdi
callq _initialise_field
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.3(%rip), %rdi
leaq -292(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $0, -292(%rbp)
jle LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $64, -292(%rbp)
jl LBB0_4
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_4:
jmp LBB0_5
LBB0_5:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
cmpl $0, -292(%rbp)
je LBB0_7
## %bb.6:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7:
movl $0, -296(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl -296(%rbp), %eax
cmpl -292(%rbp), %eax
jge LBB0_13
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
leaq -300(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $4, %esi
callq _fgets
movsbl -300(%rbp), %edi
callq _char_to_int
movl %eax, -304(%rbp)
movsbl -298(%rbp), %edi
callq _char_to_int
movl %eax, -308(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
movl -304(%rbp), %edi
movl -308(%rbp), %esi
callq _in_minefield
cmpl $0, %eax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movslq -304(%rbp), %rcx
leaq -272(%rbp), %rax
shlq $5, %rcx
addq %rcx, %rax
movslq -308(%rbp), %rcx
movl $2, (%rax,%rcx,4)
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movl -296(%rbp), %eax
addl $1, %eax
movl %eax, -296(%rbp)
jmp LBB0_8
LBB0_13:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -312(%rbp)
movl $0, -316(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
cmpl $0, -316(%rbp)
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
xorl %esi, %esi
callq _print_gameplay_minefield
jmp LBB0_17
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
callq _print_debug_minefield
LBB0_17: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
callq _game_is_won
cmpl $0, %eax
je LBB0_19
## %bb.18:
xorl %edi, %edi
callq _exit
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
leaq -326(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $10, %esi
callq _fgets
movsbl -326(%rbp), %edi
callq _char_to_int
movl %eax, -332(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
cmpl $0, -276(%rbp)
jne LBB0_24
## %bb.20: ## in Loop: Header=BB0_14 Depth=1
cmpl $1, -332(%rbp)
je LBB0_23
## %bb.21: ## in Loop: Header=BB0_14 Depth=1
cmpl $2, -332(%rbp)
je LBB0_23
## %bb.22: ## in Loop: Header=BB0_14 Depth=1
cmpl $3, -332(%rbp)
jne LBB0_24
LBB0_23: ## in Loop: Header=BB0_14 Depth=1
movq -288(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_14
LBB0_24: ## in Loop: Header=BB0_14 Depth=1
cmpl $1, -332(%rbp)
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
leaq -326(%rbp), %rsi
callq _detect_row
movl -276(%rbp), %eax
addl $-1, %eax
movl %eax, -276(%rbp)
LBB0_26: ## in Loop: Header=BB0_14 Depth=1
cmpl $2, -332(%rbp)
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
leaq -326(%rbp), %rsi
callq _detect_col
movl -276(%rbp), %eax
addl $-1, %eax
movl %eax, -276(%rbp)
LBB0_28: ## in Loop: Header=BB0_14 Depth=1
cmpl $3, -332(%rbp)
jne LBB0_30
## %bb.29: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
leaq -326(%rbp), %rsi
callq _detect_square
movl -276(%rbp), %eax
addl $-1, %eax
movl %eax, -276(%rbp)
LBB0_30: ## in Loop: Header=BB0_14 Depth=1
cmpl $4, -332(%rbp)
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
leaq -326(%rbp), %rsi
leaq -312(%rbp), %rdx
callq _reveal_square
LBB0_32: ## in Loop: Header=BB0_14 Depth=1
cmpl $5, -332(%rbp)
jne LBB0_35
## %bb.33: ## in Loop: Header=BB0_14 Depth=1
cmpl $0, -316(%rbp)
jne LBB0_35
## %bb.34: ## in Loop: Header=BB0_14 Depth=1
movl $1, -316(%rbp)
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB0_35: ## in Loop: Header=BB0_14 Depth=1
cmpl $6, -332(%rbp)
jne LBB0_38
## %bb.36: ## in Loop: Header=BB0_14 Depth=1
cmpl $0, -316(%rbp)
je LBB0_38
## %bb.37: ## in Loop: Header=BB0_14 Depth=1
movl $0, -316(%rbp)
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB0_38: ## in Loop: Header=BB0_14 Depth=1
cmpl $7, -332(%rbp)
jne LBB0_40
## %bb.39: ## in Loop: Header=BB0_14 Depth=1
leaq -272(%rbp), %rdi
leaq -326(%rbp), %rsi
leaq -312(%rbp), %rdx
callq _reveal_radial
LBB0_40: ## in Loop: Header=BB0_14 Depth=1
jmp LBB0_14
.cfi_endproc
## -- End function
.globl _initialise_field ## -- Begin function initialise_field
.p2align 4, 0x90
_initialise_field: ## @initialise_field
.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 Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpl $8, -12(%rbp)
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -16(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -16(%rbp)
jge LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _char_to_int ## -- Begin function char_to_int
.p2align 4, 0x90
_char_to_int: ## @char_to_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movsbl -1(%rbp), %eax
subl $48, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _in_minefield ## -- Begin function in_minefield
.p2align 4, 0x90
_in_minefield: ## @in_minefield
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $8, -8(%rbp)
jge LBB3_4
## %bb.1:
cmpl $8, -12(%rbp)
jge LBB3_4
## %bb.2:
cmpl $0, -8(%rbp)
jl LBB3_4
## %bb.3:
cmpl $0, -12(%rbp)
jge LBB3_5
LBB3_4:
movl $0, -4(%rbp)
jmp LBB3_6
LBB3_5:
movl $1, -4(%rbp)
LBB3_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_gameplay_minefield ## -- Begin function print_gameplay_minefield
.p2align 4, 0x90
_print_gameplay_minefield: ## @print_gameplay_minefield
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
leaq L_.str.18(%rip), %rax
movq %rax, -24(%rbp)
leaq L_.str.19(%rip), %rax
movq %rax, -32(%rbp)
leaq L_.str.20(%rip), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
cmpl $8, -52(%rbp)
jge LBB4_19
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl $0, -56(%rbp)
movl -52(%rbp), %esi
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -56(%rbp)
jge LBB4_17
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movq -8(%rbp), %rax
movslq -52(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jne LBB4_9
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
movq -8(%rbp), %rdi
movl -52(%rbp), %esi
movl -56(%rbp), %edx
callq _iterate_square
movq %rax, -64(%rbp)
movq -64(%rbp), %rdi
callq _list_size
movl %eax, -48(%rbp)
cmpl $0, -48(%rbp)
jne LBB4_7
## %bb.6: ## in Loop: Header=BB4_3 Depth=2
movq -40(%rbp), %rsi
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_8
LBB4_7: ## in Loop: Header=BB4_3 Depth=2
movl -48(%rbp), %esi
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
LBB4_8: ## in Loop: Header=BB4_3 Depth=2
jmp LBB4_9
LBB4_9: ## in Loop: Header=BB4_3 Depth=2
cmpl $0, -12(%rbp)
je LBB4_12
## %bb.10: ## in Loop: Header=BB4_3 Depth=2
cmpl $2, -44(%rbp)
jne LBB4_12
## %bb.11: ## in Loop: Header=BB4_3 Depth=2
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB4_16
LBB4_12: ## in Loop: Header=BB4_3 Depth=2
cmpl $1, -44(%rbp)
je LBB4_14
## %bb.13: ## in Loop: Header=BB4_3 Depth=2
cmpl $2, -44(%rbp)
jne LBB4_15
LBB4_14: ## in Loop: Header=BB4_3 Depth=2
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
LBB4_15: ## in Loop: Header=BB4_3 Depth=2
jmp LBB4_16
LBB4_16: ## in Loop: Header=BB4_3 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB4_3
LBB4_17: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _printf
## %bb.18: ## in Loop: Header=BB4_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB4_1
LBB4_19:
movq -32(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_debug_minefield ## -- Begin function print_debug_minefield
.p2align 4, 0x90
_print_debug_minefield: ## @print_debug_minefield
.cfi_startproc
## %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)
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_3 Depth 2
cmpl $8, -12(%rbp)
jge LBB5_6
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl $0, -16(%rbp)
LBB5_3: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -16(%rbp)
jge LBB5_5
## %bb.4: ## in Loop: Header=BB5_3 Depth=2
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB5_3
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB5_1
LBB5_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _game_is_won ## -- Begin function game_is_won
.p2align 4, 0x90
_game_is_won: ## @game_is_won
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl $0, -24(%rbp)
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_3 Depth 2
cmpl $8, -24(%rbp)
jge LBB6_10
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movl $0, -28(%rbp)
LBB6_3: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -28(%rbp)
jge LBB6_8
## %bb.4: ## in Loop: Header=BB6_3 Depth=2
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
cmpl $1, -20(%rbp)
jne LBB6_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB6_11
LBB6_6: ## in Loop: Header=BB6_3 Depth=2
jmp LBB6_7
LBB6_7: ## in Loop: Header=BB6_3 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB6_3
LBB6_8: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_9
LBB6_9: ## in Loop: Header=BB6_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB6_1
LBB6_10:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
LBB6_11:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _detect_row ## -- Begin function detect_row
.p2align 4, 0x90
_detect_row: ## @detect_row
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movsbl 2(%rax), %edi
callq _char_to_int
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -28(%rbp)
jge LBB7_6
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -28(%rbp), %rcx
cmpl $2, (%rax,%rcx,4)
jne LBB7_4
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_5
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB7_1
LBB7_6:
movl -24(%rbp), %esi
movl -20(%rbp), %edx
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _detect_col ## -- Begin function detect_col
.p2align 4, 0x90
_detect_col: ## @detect_col
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movsbl 2(%rax), %edi
callq _char_to_int
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -28(%rbp)
jge LBB8_6
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
cmpl $2, (%rax,%rcx,4)
jne LBB8_4
## %bb.3: ## in Loop: Header=BB8_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB8_4: ## in Loop: Header=BB8_1 Depth=1
jmp LBB8_5
LBB8_5: ## in Loop: Header=BB8_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB8_1
LBB8_6:
movl -24(%rbp), %esi
movl -20(%rbp), %edx
leaq L_.str.30(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _detect_square ## -- Begin function detect_square
.p2align 4, 0x90
_detect_square: ## @detect_square
.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 -16(%rbp), %rax
movsbl 2(%rax), %edi
callq _char_to_int
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movsbl 4(%rax), %edi
callq _char_to_int
movl %eax, -24(%rbp)
movq -8(%rbp), %rdi
movl -20(%rbp), %esi
movl -24(%rbp), %edx
callq _iterate_square
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _list_size
movl %eax, -36(%rbp)
movl -36(%rbp), %esi
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
leaq L_.str.31(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _free
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reveal_square ## -- Begin function reveal_square
.p2align 4, 0x90
_reveal_square: ## @reveal_square
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -16(%rbp), %rax
movsbl 2(%rax), %edi
callq _char_to_int
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movsbl 4(%rax), %edi
callq _char_to_int
movl %eax, -32(%rbp)
movl $3, -36(%rbp)
movq -8(%rbp), %rdi
movl -28(%rbp), %esi
movl -32(%rbp), %edx
callq _iterate_square
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
callq _list_size
movl %eax, -52(%rbp)
movq -48(%rbp), %rdi
movl -28(%rbp), %esi
movl -32(%rbp), %edx
callq _selected_mine
cmpl $0, %eax
je LBB10_3
## %bb.1:
movq -24(%rbp), %rax
cmpl $0, (%rax)
jne LBB10_3
## %bb.2:
movq -8(%rbp), %rdi
callq _game_over
LBB10_3:
cmpl $0, -52(%rbp)
je LBB10_5
## %bb.4:
movq -24(%rbp), %rax
cmpl $0, (%rax)
je LBB10_16
LBB10_5:
movl -28(%rbp), %eax
subl $1, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
movl %eax, -56(%rbp)
LBB10_6: ## =>This Loop Header: Depth=1
## Child Loop BB10_8 Depth 2
movl -56(%rbp), %eax
movl -28(%rbp), %ecx
addl -36(%rbp), %ecx
cmpl %ecx, %eax
jge LBB10_15
## %bb.7: ## in Loop: Header=BB10_6 Depth=1
movl -32(%rbp), %eax
movl %eax, -60(%rbp)
LBB10_8: ## Parent Loop BB10_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -60(%rbp), %eax
movl -32(%rbp), %ecx
addl -36(%rbp), %ecx
cmpl %ecx, %eax
jge LBB10_13
## %bb.9: ## in Loop: Header=BB10_8 Depth=2
movl -56(%rbp), %edi
movl -60(%rbp), %esi
callq _in_minefield
cmpl $0, %eax
jne LBB10_11
## %bb.10: ## in Loop: Header=BB10_8 Depth=2
jmp LBB10_12
LBB10_11: ## in Loop: Header=BB10_8 Depth=2
movq -8(%rbp), %rax
movslq -56(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -60(%rbp), %rcx
movl $0, (%rax,%rcx,4)
LBB10_12: ## in Loop: Header=BB10_8 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB10_8
LBB10_13: ## in Loop: Header=BB10_6 Depth=1
jmp LBB10_14
LBB10_14: ## in Loop: Header=BB10_6 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB10_6
LBB10_15:
jmp LBB10_17
LBB10_16:
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -32(%rbp), %rcx
movl $0, (%rax,%rcx,4)
LBB10_17:
movq -48(%rbp), %rdi
callq _free
movq -24(%rbp), %rax
movl $0, (%rax)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reveal_radial ## -- Begin function reveal_radial
.p2align 4, 0x90
_reveal_radial: ## @reveal_radial
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $256, %rsp ## imm = 0x100
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -88(%rbp)
movq %rsi, -96(%rbp)
movq %rdx, -104(%rbp)
movq -96(%rbp), %rax
movsbl 2(%rax), %edi
callq _char_to_int
movl %eax, -108(%rbp)
movq -96(%rbp), %rax
movsbl 4(%rax), %edi
callq _char_to_int
movl %eax, -112(%rbp)
movl $3, -116(%rbp)
movq -88(%rbp), %rdi
movq -96(%rbp), %rsi
movq -104(%rbp), %rdx
callq _reveal_square
movq -88(%rbp), %rdi
movl -108(%rbp), %esi
movl -112(%rbp), %edx
callq _iterate_square
movq %rax, -128(%rbp)
movq -128(%rbp), %rdi
callq _list_size
movl %eax, -132(%rbp)
cmpl $0, -132(%rbp)
je LBB11_2
## %bb.1:
jmp LBB11_11
LBB11_2:
movq L___const.reveal_radial.degree_0(%rip), %rax
movq %rax, -144(%rbp)
movq L___const.reveal_radial.degree_45(%rip), %rax
movq %rax, -152(%rbp)
movq L___const.reveal_radial.degree_90(%rip), %rax
movq %rax, -160(%rbp)
movq L___const.reveal_radial.degree_135(%rip), %rax
movq %rax, -168(%rbp)
movq L___const.reveal_radial.degree_180(%rip), %rax
movq %rax, -176(%rbp)
movq L___const.reveal_radial.degree_225(%rip), %rax
movq %rax, -184(%rbp)
movq L___const.reveal_radial.degree_270(%rip), %rax
movq %rax, -192(%rbp)
movq L___const.reveal_radial.degree_315(%rip), %rax
movq %rax, -200(%rbp)
movq -144(%rbp), %rax
movq %rax, -80(%rbp)
movq -152(%rbp), %rax
movq %rax, -72(%rbp)
movq -160(%rbp), %rax
movq %rax, -64(%rbp)
movq -168(%rbp), %rax
movq %rax, -56(%rbp)
movq -176(%rbp), %rax
movq %rax, -48(%rbp)
movq -184(%rbp), %rax
movq %rax, -40(%rbp)
movq -192(%rbp), %rax
movq %rax, -32(%rbp)
movq -200(%rbp), %rax
movq %rax, -24(%rbp)
movq $8, -208(%rbp)
movl $0, -212(%rbp)
LBB11_3: ## =>This Loop Header: Depth=1
## Child Loop BB11_5 Depth 2
movslq -212(%rbp), %rax
cmpq -208(%rbp), %rax
jae LBB11_11
## %bb.4: ## in Loop: Header=BB11_3 Depth=1
movslq -212(%rbp), %rax
movq -80(%rbp,%rax,8), %rax
movq %rax, -224(%rbp)
movl -108(%rbp), %eax
movl %eax, -228(%rbp)
movl -112(%rbp), %eax
movl %eax, -232(%rbp)
LBB11_5: ## Parent Loop BB11_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -228(%rbp), %edi
movl -232(%rbp), %esi
callq _in_minefield
cmpl $0, %eax
je LBB11_9
## %bb.6: ## in Loop: Header=BB11_5 Depth=2
movq -88(%rbp), %rdi
movl -228(%rbp), %esi
movl -232(%rbp), %edx
callq _iterate_square
movq %rax, -240(%rbp)
movq -240(%rbp), %rdi
callq _list_size
movl %eax, -244(%rbp)
movq -88(%rbp), %rax
movslq -228(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -232(%rbp), %rcx
movl $0, (%rax,%rcx,4)
cmpl $0, -244(%rbp)
je LBB11_8
## %bb.7: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_9
LBB11_8: ## in Loop: Header=BB11_5 Depth=2
movl -224(%rbp), %eax
addl -228(%rbp), %eax
movl %eax, -228(%rbp)
movl -220(%rbp), %eax
addl -232(%rbp), %eax
movl %eax, -232(%rbp)
jmp LBB11_5
LBB11_9: ## in Loop: Header=BB11_3 Depth=1
jmp LBB11_10
LBB11_10: ## in Loop: Header=BB11_3 Depth=1
movl -212(%rbp), %eax
addl $1, %eax
movl %eax, -212(%rbp)
jmp LBB11_3
LBB11_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB11_13
## %bb.12:
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB11_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _game_over ## -- Begin function game_over
.p2align 4, 0x90
_game_over: ## @game_over
.cfi_startproc
## %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.13(%rip), %rdi
xorl %eax, %eax
movl %eax, -12(%rbp) ## 4-byte Spill
movb %al, -13(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -13(%rbp), %al ## 1-byte Reload
leaq L_.str.14(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -13(%rbp), %al ## 1-byte Reload
leaq L_.str.15(%rip), %rdi
callq _printf
movq -8(%rbp), %rdi
movl $1, %esi
callq _print_gameplay_minefield
movl -12(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _iterate_square ## -- Begin function iterate_square
.p2align 4, 0x90
_iterate_square: ## @iterate_square
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
subl $1, %eax
movl %eax, -16(%rbp)
movl $3, -20(%rbp)
movq $0, -32(%rbp)
movl -12(%rbp), %eax
movl %eax, -36(%rbp)
LBB13_1: ## =>This Loop Header: Depth=1
## Child Loop BB13_3 Depth 2
movl -36(%rbp), %eax
movl -12(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jge LBB13_12
## %bb.2: ## in Loop: Header=BB13_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -40(%rbp)
LBB13_3: ## Parent Loop BB13_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
movl -16(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jge LBB13_10
## %bb.4: ## in Loop: Header=BB13_3 Depth=2
movl -12(%rbp), %edi
movl -16(%rbp), %esi
callq _in_minefield
cmpl $0, %eax
jne LBB13_6
## %bb.5: ## in Loop: Header=BB13_3 Depth=2
jmp LBB13_9
LBB13_6: ## in Loop: Header=BB13_3 Depth=2
movq -8(%rbp), %rax
movslq -36(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
cmpl $2, (%rax,%rcx,4)
jne LBB13_8
## %bb.7: ## in Loop: Header=BB13_3 Depth=2
movl -36(%rbp), %esi
movl -40(%rbp), %edx
leaq -32(%rbp), %rdi
callq _append
LBB13_8: ## in Loop: Header=BB13_3 Depth=2
jmp LBB13_9
LBB13_9: ## in Loop: Header=BB13_3 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB13_3
LBB13_10: ## in Loop: Header=BB13_1 Depth=1
jmp LBB13_11
LBB13_11: ## in Loop: Header=BB13_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB13_1
LBB13_12:
movq -32(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _list_size ## -- Begin function list_size
.p2align 4, 0x90
_list_size: ## @list_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB14_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB14_6
LBB14_2:
movl $1, -28(%rbp)
LBB14_3: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je LBB14_5
## %bb.4: ## in Loop: Header=BB14_3 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB14_3
LBB14_5:
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
LBB14_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _append ## -- Begin function append
.p2align 4, 0x90
_append: ## @append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl $16, %edi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB15_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.28(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $-1, %edi
callq _exit
LBB15_2:
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movl -16(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB15_4
## %bb.3:
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
jmp LBB15_8
LBB15_4:
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
LBB15_5: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
cmpq $0, 8(%rax)
je LBB15_7
## %bb.6: ## in Loop: Header=BB15_5 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB15_5
LBB15_7:
movq -24(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq $0, 8(%rax)
LBB15_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _selected_mine ## -- Begin function selected_mine
.p2align 4, 0x90
_selected_mine: ## @selected_mine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB16_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB16_9
LBB16_2:
jmp LBB16_3
LBB16_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB16_8
## %bb.4: ## in Loop: Header=BB16_3 Depth=1
movq -32(%rbp), %rax
movl (%rax), %eax
cmpl -20(%rbp), %eax
jne LBB16_7
## %bb.5: ## in Loop: Header=BB16_3 Depth=1
movq -32(%rbp), %rax
movl 4(%rax), %eax
cmpl -24(%rbp), %eax
jne LBB16_7
## %bb.6:
movl $1, -4(%rbp)
jmp LBB16_9
LBB16_7: ## in Loop: Header=BB16_3 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB16_3
LBB16_8:
movl $0, -4(%rbp)
LBB16_9:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Help already used"
L_.str.1: ## @.str.1
.asciz "Welcome to Minesweeper!\n"
L_.str.2: ## @.str.2
.asciz "How many mines? "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Mine count must be greater than 0 and less than 64\n"
L_.str.5: ## @.str.5
.asciz "Enter pairs:\n"
L_.str.6: ## @.str.6
.asciz "Game Started\n"
L_.str.7: ## @.str.7
.asciz "%s\n"
L_.str.8: ## @.str.8
.asciz "Gameplay mode activated\n"
L_.str.9: ## @.str.9
.asciz "..\n"
L_.str.10: ## @.str.10
.asciz "\\/\n"
L_.str.11: ## @.str.11
.asciz "Debug mode activated\n"
L_.str.12: ## @.str.12
.asciz "Game won!\n"
L_.str.13: ## @.str.13
.asciz "Game over\n"
L_.str.14: ## @.str.14
.asciz "xx\n"
L_.str.15: ## @.str.15
.asciz "/\\\n"
L_.str.16: ## @.str.16
.asciz "%d "
L_.str.17: ## @.str.17
.asciz "\n"
L_.str.18: ## @.str.18
.asciz " 00 01 02 03 04 05 06 07"
L_.str.19: ## @.str.19
.asciz " --------------------------"
L_.str.20: ## @.str.20
.asciz " "
L_.str.21: ## @.str.21
.asciz "%s\n%s\n"
L_.str.22: ## @.str.22
.asciz "0%d |"
L_.str.23: ## @.str.23
.asciz "%s"
L_.str.24: ## @.str.24
.asciz "0%d "
L_.str.25: ## @.str.25
.asciz "() "
L_.str.26: ## @.str.26
.asciz "## "
L_.str.27: ## @.str.27
.asciz "|\n"
L_.str.28: ## @.str.28
.asciz "Unable to allocate memory for new node\n"
L_.str.29: ## @.str.29
.asciz "There are %d mine(s) in row %d.\n"
L_.str.30: ## @.str.30
.asciz "There are %d mine(s) in column %d.\n"
L_.str.31: ## @.str.31
.asciz "There are %d mine(s) in the square centered at row %d, column %d, of size 3\n"
.section __TEXT,__literal8,8byte_literals
.p2align 2 ## @__const.reveal_radial.degree_0
L___const.reveal_radial.degree_0:
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.p2align 2 ## @__const.reveal_radial.degree_45
L___const.reveal_radial.degree_45:
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.p2align 2 ## @__const.reveal_radial.degree_90
L___const.reveal_radial.degree_90:
.long 0 ## 0x0
.long 1 ## 0x1
.p2align 2 ## @__const.reveal_radial.degree_135
L___const.reveal_radial.degree_135:
.long 1 ## 0x1
.long 1 ## 0x1
.p2align 2 ## @__const.reveal_radial.degree_180
L___const.reveal_radial.degree_180:
.long 1 ## 0x1
.long 0 ## 0x0
.p2align 2 ## @__const.reveal_radial.degree_225
L___const.reveal_radial.degree_225:
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.p2align 2 ## @__const.reveal_radial.degree_270
L___const.reveal_radial.degree_270:
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.p2align 2 ## @__const.reveal_radial.degree_315
L___const.reveal_radial.degree_315:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.subsections_via_symbols
| the_stack_data/779408.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
mov x8, #959
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
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 "*%d*\n"
l_.str.1: ; @.str.1
.asciz "*%2d*\n"
l_.str.2: ; @.str.2
.asciz "*%10d*\n"
l_.str.3: ; @.str.3
.asciz "*%-10d*\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
movl $959, %esi ## imm = 0x3BF
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movl $959, %esi ## imm = 0x3BF
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movl $959, %esi ## imm = 0x3BF
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movl $959, %esi ## imm = 0x3BF
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "*%d*\n"
L_.str.1: ## @.str.1
.asciz "*%2d*\n"
L_.str.2: ## @.str.2
.asciz "*%10d*\n"
L_.str.3: ## @.str.3
.asciz "*%-10d*\n"
.subsections_via_symbols
| the_stack_data/158430.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dellke_gen ; -- Begin function dellke_gen
.p2align 2
_dellke_gen: ; @dellke_gen
.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 d0, [x29, #-8]
stur x0, [x29, #-16]
str wzr, [sp, #4]
ldur d0, [x29, #-8]
bl _log
str d0, [sp, #8]
ldrsw x9, [sp, #4]
mov x8, x9
add w8, w8, #1
str w8, [sp, #4]
adrp x8, _dellke_coeff@PAGE
add x8, x8, _dellke_coeff@PAGEOFF
ldr d0, [x8, x9, lsl #3]
ldur d1, [x29, #-8]
fmul d0, d0, d1
stur d0, [x29, #-24]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d0, [x8, x9, lsl #3]
ldur d1, [x29, #-8]
fmul d0, d0, d1
str d0, [sp, #24]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d0, [x8, x9, lsl #3]
ldur d1, [x29, #-8]
fmul d0, d0, d1
str d0, [sp, #32]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d0, [x8, x9, lsl #3]
ldur d1, [x29, #-8]
fmul d0, d0, d1
str d0, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #36
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur d0, [x29, #-24]
ldrsw x9, [sp, #4]
mov x8, x9
add w8, w8, #1
str w8, [sp, #4]
adrp x8, _dellke_coeff@PAGE
add x8, x8, _dellke_coeff@PAGEOFF
ldr d1, [x8, x9, lsl #3]
fadd d0, d0, d1
ldur d1, [x29, #-8]
fmul d0, d0, d1
stur d0, [x29, #-24]
ldr d0, [sp, #24]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d1, [x8, x9, lsl #3]
fadd d0, d0, d1
ldur d1, [x29, #-8]
fmul d0, d0, d1
str d0, [sp, #24]
ldr d0, [sp, #32]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d1, [x8, x9, lsl #3]
fadd d0, d0, d1
ldur d1, [x29, #-8]
fmul d0, d0, d1
str d0, [sp, #32]
ldr d0, [sp, #16]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d1, [x8, x9, lsl #3]
fadd d0, d0, d1
ldur d1, [x29, #-8]
fmul d0, d0, d1
str d0, [sp, #16]
b LBB0_1
LBB0_3:
ldrsw x9, [sp, #4]
mov x8, x9
add w8, w8, #1
str w8, [sp, #4]
adrp x8, _dellke_coeff@PAGE
add x8, x8, _dellke_coeff@PAGEOFF
ldr d1, [x8, x9, lsl #3]
ldur d0, [x29, #-24]
fadd d0, d0, d1
stur d0, [x29, #-24]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #24]
fadd d0, d0, d1
str d0, [sp, #24]
ldrsw x9, [sp, #4]
mov x10, x9
add w10, w10, #1
str w10, [sp, #4]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #32]
fadd d0, d0, d1
str d0, [sp, #32]
ldur d2, [x29, #-24]
ldr d0, [sp, #32]
ldr d1, [sp, #8]
fmsub d0, d0, d1, d2
ldur x8, [x29, #-16]
str d0, [x8]
ldr d2, [sp, #24]
ldr d0, [sp, #16]
ldr d1, [sp, #8]
fmsub d0, d0, d1, d2
ldur x8, [x29, #-16]
str d0, [x8, #8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 3 ; @dellke_coeff
_dellke_coeff:
.quad 0x3f33b554e51b357c ; double 3.0072519903686485E-4
.quad 0x3f354fd1124f270c ; double 3.2519201550639041E-4
.quad 0x3f117794ca74a983 ; double 6.6631752464607312E-5
.quad 0x3f12e1f71ecd5b73 ; double 7.2031696345715467E-5
.quad 0x3f70413e4bd5939d ; double 0.003968470902098978
.quad 0x3f719f89b08549c3 ; double 0.0043025377747931163
.quad 0x3f5c34f9b7fe5319 ; double 0.0017216147097986521
.quad 0x3f5e8c70586de3bf ; double 0.0018645379184063363
.quad 0x3f861c3550ae1df4 ; double 0.010795990490591635
.quad 0x3f88232ccd81c708 ; double 0.011785841008733935
.quad 0x3f83020042829f9c ; double 0.0092811603829686048
.quad 0x3f84a8fede88b25e ; double 0.010087958494375101
.quad 0x3f85b02f83bf1741 ; double 0.010589953620989358
.quad 0x3f88409466fa8835 ; double 0.011841925995501249
.quad 0x3f952fd280ac5692 ; double 0.020690240005100842
.quad 0x3f973443a79b4e12 ; double 0.02266030989160412
.quad 0x3f7ecca600e5f6e1 ; double 0.0075193867218083807
.quad 0x3f82813801142673 ; double 0.0090355277375408823
.quad 0x3f9e3639c2a68e9d ; double 0.029503729348688713
.quad 0x3fa0cc9cca1656c5 ; double 0.032811069172721065
.quad 0x3f8248222f2f445c ; double 0.0089266462945564659
.quad 0x3f87fef5d6bcbdbc ; double 0.011716766944657724
.quad 0x3fa31da50ff51824 ; double 0.03733554668228603
.quad 0x3fa5d92bd6dd274b ; double 0.042672510126591755
.quad 0x3f8e99ed34040e54 ; double 0.014942029142282078
.quad 0x3f965c35f907e8fe ; double 0.021836131405486896
.quad 0x3fa8ffdf742d4136 ; double 0.048827155048118007
.quad 0x3fadffdd0247f2b5 ; double 0.058592707184265271
.quad 0x3f9fa05cdfe5d936 ; double 0.030885173001899711
.quad 0x3fad159300e1f954 ; double 0.056805223329308291
.quad 0x3fb1ffffec7fb7fd ; double 0.070312495459546612
.quad 0x3fb7ffffeb066389 ; double 0.093749995116367071
.quad 0x3fb8b90bfc00d76a ; double 0.096573590301742534
.quad 0x3fdc5c85fdfae41b ; double 0.44314718058336816
.quad 0x3fbffffffffd67e7 ; double 0.12499999999764065
.quad 0x3fcffffffffe9aba ; double 0.24999999999746142
.quad 0x3ff62e42fefa39ef ; double 1.3862943611198906
.quad 0x3ff0000000000000 ; double 1
.quad 0x3fe0000000000000 ; double 0.5
.quad 0x0000000000000000 ; double 0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dellke_gen ## -- Begin function dellke_gen
.p2align 4, 0x90
_dellke_gen: ## @dellke_gen
.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
movsd %xmm0, -8(%rbp)
movq %rdi, -16(%rbp)
movl $0, -60(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _log
movsd %xmm0, -56(%rbp)
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
mulsd -8(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
mulsd -8(%rbp), %xmm0
movsd %xmm0, -40(%rbp)
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
mulsd -8(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
mulsd -8(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $36, -60(%rbp)
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
addsd (%rax,%rcx,8), %xmm0
mulsd -8(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
addsd (%rax,%rcx,8), %xmm0
mulsd -8(%rbp), %xmm0
movsd %xmm0, -40(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
addsd (%rax,%rcx,8), %xmm0
mulsd -8(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
addsd (%rax,%rcx,8), %xmm0
mulsd -8(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
jmp LBB0_1
LBB0_3:
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -40(%rbp), %xmm0
movsd %xmm0, -40(%rbp)
movl -60(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -60(%rbp)
movslq %eax, %rcx
leaq _dellke_coeff(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -32(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -56(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -16(%rbp), %rax
movsd %xmm0, (%rax)
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -56(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -16(%rbp), %rax
movsd %xmm0, 8(%rax)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @dellke_coeff
_dellke_coeff:
.quad 0x3f33b554e51b357c ## double 3.0072519903686485E-4
.quad 0x3f354fd1124f270c ## double 3.2519201550639041E-4
.quad 0x3f117794ca74a983 ## double 6.6631752464607312E-5
.quad 0x3f12e1f71ecd5b73 ## double 7.2031696345715467E-5
.quad 0x3f70413e4bd5939d ## double 0.003968470902098978
.quad 0x3f719f89b08549c3 ## double 0.0043025377747931163
.quad 0x3f5c34f9b7fe5319 ## double 0.0017216147097986521
.quad 0x3f5e8c70586de3bf ## double 0.0018645379184063363
.quad 0x3f861c3550ae1df4 ## double 0.010795990490591635
.quad 0x3f88232ccd81c708 ## double 0.011785841008733935
.quad 0x3f83020042829f9c ## double 0.0092811603829686048
.quad 0x3f84a8fede88b25e ## double 0.010087958494375101
.quad 0x3f85b02f83bf1741 ## double 0.010589953620989358
.quad 0x3f88409466fa8835 ## double 0.011841925995501249
.quad 0x3f952fd280ac5692 ## double 0.020690240005100842
.quad 0x3f973443a79b4e12 ## double 0.02266030989160412
.quad 0x3f7ecca600e5f6e1 ## double 0.0075193867218083807
.quad 0x3f82813801142673 ## double 0.0090355277375408823
.quad 0x3f9e3639c2a68e9d ## double 0.029503729348688713
.quad 0x3fa0cc9cca1656c5 ## double 0.032811069172721065
.quad 0x3f8248222f2f445c ## double 0.0089266462945564659
.quad 0x3f87fef5d6bcbdbc ## double 0.011716766944657724
.quad 0x3fa31da50ff51824 ## double 0.03733554668228603
.quad 0x3fa5d92bd6dd274b ## double 0.042672510126591755
.quad 0x3f8e99ed34040e54 ## double 0.014942029142282078
.quad 0x3f965c35f907e8fe ## double 0.021836131405486896
.quad 0x3fa8ffdf742d4136 ## double 0.048827155048118007
.quad 0x3fadffdd0247f2b5 ## double 0.058592707184265271
.quad 0x3f9fa05cdfe5d936 ## double 0.030885173001899711
.quad 0x3fad159300e1f954 ## double 0.056805223329308291
.quad 0x3fb1ffffec7fb7fd ## double 0.070312495459546612
.quad 0x3fb7ffffeb066389 ## double 0.093749995116367071
.quad 0x3fb8b90bfc00d76a ## double 0.096573590301742534
.quad 0x3fdc5c85fdfae41b ## double 0.44314718058336816
.quad 0x3fbffffffffd67e7 ## double 0.12499999999764065
.quad 0x3fcffffffffe9aba ## double 0.24999999999746142
.quad 0x3ff62e42fefa39ef ## double 1.3862943611198906
.quad 0x3ff0000000000000 ## double 1
.quad 0x3fe0000000000000 ## double 0.5
.quad 0x0000000000000000 ## double 0
.subsections_via_symbols
| the_stack_data/50181.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
str wzr, [sp, #60]
str wzr, [sp, #56]
add x12, sp, #52
mov w8, #1
str w8, [sp, #52]
mov w8, #2
str w8, [sp, #48]
add x11, sp, #44
mov w8, #3
str w8, [sp, #44]
mov w8, #4
str w8, [sp, #40]
add x10, sp, #36
mov w8, #5
str w8, [sp, #36]
mov w8, #6
str w8, [sp, #32]
add x9, sp, #28
mov w8, #7
str w8, [sp, #28]
mov w8, #8
str w8, [sp, #24]
add x8, sp, #20
mov w13, #9
str w13, [sp, #20]
str x12, [sp, #8]
str x11, [sp, #8]
str x10, [sp, #8]
str x9, [sp, #8]
str x8, [sp, #8]
ldr w8, [sp, #56]
ldr w9, [sp, #52]
add w8, w8, w9
ldr w9, [sp, #48]
add w8, w8, w9
ldr w9, [sp, #44]
add w8, w8, w9
ldr w9, [sp, #40]
add w8, w8, w9
ldr w9, [sp, #36]
add w8, w8, w9
ldr w9, [sp, #32]
add w8, w8, w9
ldr w9, [sp, #28]
add w8, w8, w9
ldr w9, [sp, #24]
add w8, w8, w9
ldr w9, [sp, #20]
add w0, w8, w9
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $1, -12(%rbp)
movl $2, -16(%rbp)
movl $3, -20(%rbp)
movl $4, -24(%rbp)
movl $5, -28(%rbp)
movl $6, -32(%rbp)
movl $7, -36(%rbp)
movl $8, -40(%rbp)
movl $9, -44(%rbp)
leaq -12(%rbp), %rax
movq %rax, -56(%rbp)
leaq -20(%rbp), %rax
movq %rax, -56(%rbp)
leaq -28(%rbp), %rax
movq %rax, -56(%rbp)
leaq -36(%rbp), %rax
movq %rax, -56(%rbp)
leaq -44(%rbp), %rax
movq %rax, -56(%rbp)
movl -8(%rbp), %eax
addl -12(%rbp), %eax
addl -16(%rbp), %eax
addl -20(%rbp), %eax
addl -24(%rbp), %eax
addl -28(%rbp), %eax
addl -32(%rbp), %eax
addl -36(%rbp), %eax
addl -40(%rbp), %eax
addl -44(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/220456628.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RegisterExtensionFunctions ; -- Begin function RegisterExtensionFunctions
.p2align 2
_RegisterExtensionFunctions: ; @RegisterExtensionFunctions
.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 wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-12]
subs x8, x8, #40
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
ldursw x8, [x29, #-12]
mov x9, #24
mul x9, x8, x9
adrp x8, _RegisterExtensionFunctions.aFuncs@PAGE
add x8, x8, _RegisterExtensionFunctions.aFuncs@PAGEOFF
add x8, x8, x9
ldrb w8, [x8, #9]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
str x8, [sp, #24]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
mov x8, #-1
str x8, [sp, #24]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-8]
ldursw x8, [x29, #-12]
mov x10, #24
mul x9, x8, x10
adrp x8, _RegisterExtensionFunctions.aFuncs@PAGE
add x8, x8, _RegisterExtensionFunctions.aFuncs@PAGEOFF
ldr x1, [x8, x9]
ldursw x9, [x29, #-12]
mul x11, x9, x10
mov x9, x8
add x9, x9, x11
ldrsb w2, [x9, #8]
ldursw x9, [x29, #-12]
mul x11, x9, x10
mov x9, x8
add x9, x9, x11
ldrb w3, [x9, #10]
ldr x4, [sp, #24]
ldursw x9, [x29, #-12]
mul x9, x9, x10
add x8, x8, x9
ldr x5, [x8, #16]
mov x8, sp
mov x7, #0
str xzr, [x8]
mov x6, x7
bl _sqlite3_create_function_v2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_8:
stur wzr, [x29, #-12]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-12]
subs x8, x8, #6
cset w8, hs
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
ldursw x9, [x29, #-12]
adrp x8, _RegisterExtensionFunctions.aAggs@PAGE
add x8, x8, _RegisterExtensionFunctions.aAggs@PAGEOFF
add x8, x8, x9, lsl #5
ldrb w8, [x8, #9]
str w8, [sp, #8] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_14
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
ldur x8, [x29, #-8]
str x8, [sp, #16]
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
mov x8, #-1
str x8, [sp, #16]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
ldur x0, [x29, #-8]
ldursw x8, [x29, #-12]
lsl x9, x8, #5
adrp x8, _RegisterExtensionFunctions.aAggs@PAGE
add x8, x8, _RegisterExtensionFunctions.aAggs@PAGEOFF
ldr x1, [x8, x9]
ldursw x10, [x29, #-12]
mov x9, x8
add x9, x9, x10, lsl #5
ldrsb w2, [x9, #8]
ldr x4, [sp, #16]
ldursw x10, [x29, #-12]
mov x9, x8
add x9, x9, x10, lsl #5
ldr x6, [x9, #16]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #5
ldr x7, [x8, #24]
mov w3, #1
mov x5, #0
bl _sqlite3_create_function
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_9
LBB0_16:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function acosFunc
_acosFunc: ; @acosFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l___func__.acosFunc@PAGE
add x0, x0, l___func__.acosFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #387
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB1_9
LBB1_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _acos
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB1_8
LBB1_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB1_8
LBB1_8:
b LBB1_9
LBB1_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function asinFunc
_asinFunc: ; @asinFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l___func__.asinFunc@PAGE
add x0, x0, l___func__.asinFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #388
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB2_2:
b LBB2_3
LBB2_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB2_9
LBB2_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _asin
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB2_8
LBB2_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB2_8
LBB2_8:
b LBB2_9
LBB2_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function atanFunc
_atanFunc: ; @atanFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l___func__.atanFunc@PAGE
add x0, x0, l___func__.atanFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #389
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB3_2:
b LBB3_3
LBB3_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB3_9
LBB3_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _atan
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB3_8
LBB3_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB3_8
LBB3_8:
b LBB3_9
LBB3_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function atn2Func
_atn2Func: ; @atn2Func
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
movi d0, #0000000000000000
str d0, [sp, #16]
str d0, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x0, l___func__.atn2Func@PAGE
add x0, x0, l___func__.atn2Func@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #579
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB4_2:
b LBB4_3
LBB4_3:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4:
ldr x8, [sp, #24]
ldr x0, [x8, #8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB4_7
LBB4_6:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #16]
ldr x8, [sp, #24]
ldr x0, [x8, #8]
bl _sqlite3_value_double
str d0, [sp, #8]
ldur x8, [x29, #-8]
str x8, [sp] ; 8-byte Folded Spill
ldr d0, [sp, #16]
ldr d1, [sp, #8]
bl _atan2
ldr x0, [sp] ; 8-byte Folded Reload
bl _sqlite3_result_double
b LBB4_7
LBB4_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function acoshFunc
_acoshFunc: ; @acoshFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l___func__.acoshFunc@PAGE
add x0, x0, l___func__.acoshFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #403
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB5_2:
b LBB5_3
LBB5_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB5_9
LBB5_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _acosh
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB5_8
LBB5_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB5_8
LBB5_8:
b LBB5_9
LBB5_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function asinhFunc
_asinhFunc: ; @asinhFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x0, l___func__.asinhFunc@PAGE
add x0, x0, l___func__.asinhFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #411
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB6_2:
b LBB6_3
LBB6_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB6_9
LBB6_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _asinh
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB6_8
LBB6_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB6_8
LBB6_8:
b LBB6_9
LBB6_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function atanhFunc
_atanhFunc: ; @atanhFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
adrp x0, l___func__.atanhFunc@PAGE
add x0, x0, l___func__.atanhFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #419
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB7_2:
b LBB7_3
LBB7_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB7_5
b LBB7_4
LBB7_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB7_9
LBB7_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _atanh
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_7
b LBB7_6
LBB7_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB7_8
LBB7_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB7_8
LBB7_8:
b LBB7_9
LBB7_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function differenceFunc
_differenceFunc: ; @differenceFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-32]
stur w1, [x29, #-36]
str x2, [sp, #48]
sub x8, x29, #16
str x8, [sp, #40]
sub x8, x29, #24
str x8, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
ldur w8, [x29, #-36]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
adrp x0, l___func__.differenceFunc@PAGE
add x0, x0, l___func__.differenceFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #1689
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB8_2:
b LBB8_3
LBB8_3:
ldr x8, [sp, #48]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, eq
tbnz w8, #0, LBB8_5
b LBB8_4
LBB8_4:
ldr x8, [sp, #48]
ldr x0, [x8, #8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB8_6
b LBB8_5
LBB8_5:
ldur x0, [x29, #-32]
bl _sqlite3_result_null
b LBB8_19
LBB8_6:
ldr x8, [sp, #48]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #16]
ldr x8, [sp, #48]
ldr x0, [x8, #8]
bl _sqlite3_value_text
str x0, [sp, #8]
ldr x0, [sp, #16]
ldr x1, [sp, #40]
bl _soundex
ldr x0, [sp, #8]
ldr x1, [sp, #32]
bl _soundex
str wzr, [sp, #24]
b LBB8_7
LBB8_7: ; =>This Loop Header: Depth=1
; Child Loop BB8_11 Depth 2
; Child Loop BB8_14 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB8_18
b LBB8_8
LBB8_8: ; in Loop: Header=BB8_7 Depth=1
ldr x0, [sp, #40]
bl _sqlite3ReadUtf8
str w0, [sp, #4] ; 4-byte Folded Spill
ldr x0, [sp, #32]
bl _sqlite3ReadUtf8
mov x8, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB8_10
b LBB8_9
LBB8_9: ; in Loop: Header=BB8_7 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB8_10
LBB8_10: ; in Loop: Header=BB8_7 Depth=1
b LBB8_11
LBB8_11: ; Parent Loop BB8_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #40]
add x9, x8, #1
str x9, [sp, #40]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB8_13
b LBB8_12
LBB8_12: ; in Loop: Header=BB8_11 Depth=2
b LBB8_11
LBB8_13: ; in Loop: Header=BB8_7 Depth=1
b LBB8_14
LBB8_14: ; Parent Loop BB8_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #32]
add x9, x8, #1
str x9, [sp, #32]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB8_16
b LBB8_15
LBB8_15: ; in Loop: Header=BB8_14 Depth=2
b LBB8_14
LBB8_16: ; in Loop: Header=BB8_7 Depth=1
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_7 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB8_7
LBB8_18:
ldur x0, [x29, #-32]
ldr w1, [sp, #28]
bl _sqlite3_result_int
b LBB8_19
LBB8_19:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB8_21
b LBB8_20
LBB8_20:
bl ___stack_chk_fail
LBB8_21:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function rad2degFunc
_rad2degFunc: ; @rad2degFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
adrp x0, l___func__.rad2degFunc@PAGE
add x0, x0, l___func__.rad2degFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #507
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB9_2:
b LBB9_3
LBB9_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB9_9
LBB9_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _rad2deg
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_7
b LBB9_6
LBB9_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB9_8
LBB9_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB9_8
LBB9_8:
b LBB9_9
LBB9_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function deg2radFunc
_deg2radFunc: ; @deg2radFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
adrp x0, l___func__.deg2radFunc@PAGE
add x0, x0, l___func__.deg2radFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #508
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB10_2:
b LBB10_3
LBB10_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB10_9
LBB10_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _deg2rad
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_7
b LBB10_6
LBB10_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB10_8
LBB10_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB10_8
LBB10_8:
b LBB10_9
LBB10_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cosFunc
_cosFunc: ; @cosFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
adrp x0, l___func__.cosFunc@PAGE
add x0, x0, l___func__.cosFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #429
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB11_2:
b LBB11_3
LBB11_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB11_5
b LBB11_4
LBB11_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB11_9
LBB11_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _cos
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB11_7
b LBB11_6
LBB11_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB11_8
LBB11_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB11_8
LBB11_8:
b LBB11_9
LBB11_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sinFunc
_sinFunc: ; @sinFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
adrp x0, l___func__.sinFunc@PAGE
add x0, x0, l___func__.sinFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #428
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB12_2:
b LBB12_3
LBB12_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB12_5
b LBB12_4
LBB12_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB12_9
LBB12_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _sin
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB12_7
b LBB12_6
LBB12_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB12_8
LBB12_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB12_8
LBB12_8:
b LBB12_9
LBB12_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function tanFunc
_tanFunc: ; @tanFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
adrp x0, l___func__.tanFunc@PAGE
add x0, x0, l___func__.tanFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #430
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB13_2:
b LBB13_3
LBB13_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB13_5
b LBB13_4
LBB13_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB13_9
LBB13_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _tan
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB13_7
b LBB13_6
LBB13_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB13_8
LBB13_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB13_8
LBB13_8:
b LBB13_9
LBB13_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cotFunc
_cotFunc: ; @cotFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
adrp x0, l___func__.cotFunc@PAGE
add x0, x0, l___func__.cotFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #431
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB14_2:
b LBB14_3
LBB14_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB14_5
b LBB14_4
LBB14_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB14_9
LBB14_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _cot
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB14_7
b LBB14_6
LBB14_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB14_8
LBB14_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB14_8
LBB14_8:
b LBB14_9
LBB14_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function coshFunc
_coshFunc: ; @coshFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
adrp x0, l___func__.coshFunc@PAGE
add x0, x0, l___func__.coshFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #455
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB15_2:
b LBB15_3
LBB15_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB15_5
b LBB15_4
LBB15_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB15_9
LBB15_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _cosh
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB15_7
b LBB15_6
LBB15_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB15_8
LBB15_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB15_8
LBB15_8:
b LBB15_9
LBB15_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sinhFunc
_sinhFunc: ; @sinhFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
adrp x0, l___func__.sinhFunc@PAGE
add x0, x0, l___func__.sinhFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #447
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB16_2:
b LBB16_3
LBB16_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB16_5
b LBB16_4
LBB16_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB16_9
LBB16_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _sinh
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB16_7
b LBB16_6
LBB16_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB16_8
LBB16_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB16_8
LBB16_8:
b LBB16_9
LBB16_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function tanhFunc
_tanhFunc: ; @tanhFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
adrp x0, l___func__.tanhFunc@PAGE
add x0, x0, l___func__.tanhFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #463
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB17_2:
b LBB17_3
LBB17_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB17_5
b LBB17_4
LBB17_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB17_9
LBB17_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _tanh
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB17_7
b LBB17_6
LBB17_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB17_8
LBB17_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB17_8
LBB17_8:
b LBB17_9
LBB17_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cothFunc
_cothFunc: ; @cothFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB18_2
b LBB18_1
LBB18_1:
adrp x0, l___func__.cothFunc@PAGE
add x0, x0, l___func__.cothFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #465
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB18_2:
b LBB18_3
LBB18_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB18_5
b LBB18_4
LBB18_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB18_9
LBB18_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _coth
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB18_7
b LBB18_6
LBB18_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB18_8
LBB18_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB18_8
LBB18_8:
b LBB18_9
LBB18_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function expFunc
_expFunc: ; @expFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB19_2
b LBB19_1
LBB19_1:
adrp x0, l___func__.expFunc@PAGE
add x0, x0, l___func__.expFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #483
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB19_2:
b LBB19_3
LBB19_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB19_5
b LBB19_4
LBB19_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB19_9
LBB19_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _exp
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB19_7
b LBB19_6
LBB19_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB19_8
LBB19_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB19_8
LBB19_8:
b LBB19_9
LBB19_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function logFunc
_logFunc: ; @logFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB20_2
b LBB20_1
LBB20_1:
adrp x0, l___func__.logFunc@PAGE
add x0, x0, l___func__.logFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #481
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB20_2:
b LBB20_3
LBB20_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB20_5
b LBB20_4
LBB20_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB20_9
LBB20_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _log
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_7
b LBB20_6
LBB20_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB20_8
LBB20_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB20_8
LBB20_8:
b LBB20_9
LBB20_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function log10Func
_log10Func: ; @log10Func
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB21_2
b LBB21_1
LBB21_1:
adrp x0, l___func__.log10Func@PAGE
add x0, x0, l___func__.log10Func@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #482
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB21_2:
b LBB21_3
LBB21_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB21_5
b LBB21_4
LBB21_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB21_9
LBB21_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
bl _log10
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB21_7
b LBB21_6
LBB21_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB21_8
LBB21_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB21_8
LBB21_8:
b LBB21_9
LBB21_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function powerFunc
_powerFunc: ; @powerFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
str d0, [sp, #24]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB22_2
b LBB22_1
LBB22_1:
adrp x0, l___func__.powerFunc@PAGE
add x0, x0, l___func__.powerFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #555
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB22_2:
b LBB22_3
LBB22_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, eq
tbnz w8, #0, LBB22_5
b LBB22_4
LBB22_4:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB22_6
b LBB22_5
LBB22_5:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB22_10
LBB22_6:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_double
str d0, [sp, #24]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
ldr d1, [sp, #24]
bl _pow
str d0, [sp, #16]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB22_8
b LBB22_7
LBB22_7:
ldur x0, [x29, #-8]
ldr d0, [sp, #16]
bl _sqlite3_result_double
b LBB22_9
LBB22_8:
ldur x8, [x29, #-8]
str x8, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB22_9
LBB22_9:
b LBB22_10
LBB22_10:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function signFunc
_signFunc: ; @signFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
str xzr, [sp, #24]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB23_2
b LBB23_1
LBB23_1:
adrp x0, l___func__.signFunc@PAGE
add x0, x0, l___func__.signFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #599
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB23_2:
b LBB23_3
LBB23_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
str w0, [sp, #20] ; 4-byte Folded Spill
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB23_5
b LBB23_4
LBB23_4:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB23_9
b LBB23_10
LBB23_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_int64
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB23_7
b LBB23_6
LBB23_6:
mov w8, #1
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB23_8
LBB23_7:
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, lt
and w9, w8, #0x1
mov w8, #0
ands w9, w9, #0x1
csinv w8, w8, wzr, eq
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB23_8
LBB23_8:
ldr w9, [sp, #16] ; 4-byte Folded Reload
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #24]
ldur x0, [x29, #-8]
ldr x1, [sp, #24]
bl _sqlite3_result_int64
b LBB23_14
LBB23_9:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB23_14
LBB23_10:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
ldr d0, [sp, #32]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB23_12
b LBB23_11
LBB23_11:
mov w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB23_13
LBB23_12:
ldr d0, [sp, #32]
fcmp d0, #0.0
cset w8, mi
and w9, w8, #0x1
mov w8, #0
ands w9, w9, #0x1
csinv w8, w8, wzr, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB23_13
LBB23_13:
ldr w8, [sp, #12] ; 4-byte Folded Reload
scvtf d0, w8
str d0, [sp, #32]
ldur x0, [x29, #-8]
ldr d0, [sp, #32]
bl _sqlite3_result_double
b LBB23_14
LBB23_14:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sqrtFunc
_sqrtFunc: ; @sqrtFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
movi d0, #0000000000000000
str d0, [sp, #32]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB24_2
b LBB24_1
LBB24_1:
adrp x0, l___func__.sqrtFunc@PAGE
add x0, x0, l___func__.sqrtFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #384
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB24_2:
b LBB24_3
LBB24_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB24_5
b LBB24_4
LBB24_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB24_9
LBB24_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #32]
bl ___error
str wzr, [x0]
ldr d0, [sp, #32]
fsqrt d0, d0
str d0, [sp, #24]
bl ___error
ldr w8, [x0]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB24_7
b LBB24_6
LBB24_6:
ldur x0, [x29, #-8]
ldr d0, [sp, #24]
bl _sqlite3_result_double
b LBB24_8
LBB24_7:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #8] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w2, [x8]
bl _sqlite3_result_error
b LBB24_8
LBB24_8:
b LBB24_9
LBB24_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function squareFunc
_squareFunc: ; @squareFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
str xzr, [sp, #16]
movi d0, #0000000000000000
str d0, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB25_2
b LBB25_1
LBB25_1:
adrp x0, l___func__.squareFunc@PAGE
add x0, x0, l___func__.squareFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #523
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB25_2:
b LBB25_3
LBB25_3:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_type
str w0, [sp, #4] ; 4-byte Folded Spill
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB25_5
b LBB25_4
LBB25_4:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB25_6
b LBB25_7
LBB25_5:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_int64
str x0, [sp, #16]
ldur x0, [x29, #-8]
ldr x8, [sp, #16]
ldr x9, [sp, #16]
mul x1, x8, x9
bl _sqlite3_result_int64
b LBB25_8
LBB25_6:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB25_8
LBB25_7:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #8]
ldur x0, [x29, #-8]
ldr d0, [sp, #8]
ldr d1, [sp, #8]
fmul d0, d0, d1
bl _sqlite3_result_double
b LBB25_8
LBB25_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function ceilFunc
_ceilFunc: ; @ceilFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
movi d0, #0000000000000000
str d0, [sp, #16]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB26_2
b LBB26_1
LBB26_1:
adrp x0, l___func__.ceilFunc@PAGE
add x0, x0, l___func__.ceilFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #629
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB26_2:
b LBB26_3
LBB26_3:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_type
str w0, [sp, #4] ; 4-byte Folded Spill
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB26_5
b LBB26_4
LBB26_4:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB26_6
b LBB26_7
LBB26_5:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_int64
str x0, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #8]
bl _sqlite3_result_int64
b LBB26_8
LBB26_6:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB26_8
LBB26_7:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #16]
ldur x0, [x29, #-8]
ldr d0, [sp, #16]
fcvtps x1, d0
bl _sqlite3_result_int64
b LBB26_8
LBB26_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function floorFunc
_floorFunc: ; @floorFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
movi d0, #0000000000000000
str d0, [sp, #16]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB27_2
b LBB27_1
LBB27_1:
adrp x0, l___func__.floorFunc@PAGE
add x0, x0, l___func__.floorFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #654
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB27_2:
b LBB27_3
LBB27_3:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_type
str w0, [sp, #4] ; 4-byte Folded Spill
subs w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB27_5
b LBB27_4
LBB27_4:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB27_6
b LBB27_7
LBB27_5:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_int64
str x0, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #8]
bl _sqlite3_result_int64
b LBB27_8
LBB27_6:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB27_8
LBB27_7:
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp, #16]
ldur x0, [x29, #-8]
ldr d0, [sp, #16]
fcvtms x1, d0
bl _sqlite3_result_int64
b LBB27_8
LBB27_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function piFunc
lCPI28_0:
.quad 0x400921fb54442d18 ; double 3.1415926535897931
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_piFunc: ; @piFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #8]
ldur x0, [x29, #-8]
adrp x8, lCPI28_0@PAGE
ldr d0, [x8, lCPI28_0@PAGEOFF]
bl _sqlite3_result_double
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function replicateFunc
_replicateFunc: ; @replicateFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
str xzr, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB29_2
b LBB29_1
LBB29_1:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB29_3
b LBB29_2
LBB29_2:
b LBB29_17
LBB29_3:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_int64
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB29_5
b LBB29_4
LBB29_4:
ldur x0, [x29, #-8]
adrp x1, l_.str.51@PAGE
add x1, x1, l_.str.51@PAGEOFF
mov w2, #-1
bl _sqlite3_result_error
b LBB29_17
LBB29_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_bytes
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
mul x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
add x8, x8, #1
mov x0, x8
bl _sqlite3_malloc
stur x0, [x29, #-32]
ldr x8, [sp, #24]
add x8, x8, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp, #40]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB29_7
b LBB29_6
LBB29_6:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB29_12
b LBB29_7
LBB29_7:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB29_9
b LBB29_8
LBB29_8:
ldur x0, [x29, #-32]
bl _sqlite3_free
b LBB29_9
LBB29_9:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB29_11
b LBB29_10
LBB29_10:
ldr x0, [sp, #40]
bl _sqlite3_free
b LBB29_11
LBB29_11:
b LBB29_17
LBB29_12:
ldr x8, [sp, #40]
str x8, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
mov x1, x0
ldr x0, [sp] ; 8-byte Folded Reload
mov x2, #-1
bl ___strcpy_chk
str xzr, [sp, #8]
b LBB29_13
LBB29_13: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB29_16
b LBB29_14
LBB29_14: ; in Loop: Header=BB29_13 Depth=1
ldur x8, [x29, #-32]
ldr x9, [sp, #8]
ldr x10, [sp, #24]
mul x9, x9, x10
add x0, x8, x9
ldr x1, [sp, #40]
mov x2, #-1
bl ___strcpy_chk
b LBB29_15
LBB29_15: ; in Loop: Header=BB29_13 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB29_13
LBB29_16:
ldur x0, [x29, #-8]
ldur x1, [x29, #-32]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
ldur x0, [x29, #-32]
bl _sqlite3_free
ldr x0, [sp, #40]
bl _sqlite3_free
b LBB29_17
LBB29_17:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function charindexFunc
_charindexFunc: ; @charindexFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
str wzr, [sp, #20]
str wzr, [sp, #16]
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, eq
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB30_2
b LBB30_1
LBB30_1:
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB30_2
LBB30_2:
ldr w8, [sp, #12] ; 4-byte Folded Reload
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB30_4
b LBB30_3
LBB30_3:
adrp x0, l___func__.charindexFunc@PAGE
add x0, x0, l___func__.charindexFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #1047
adrp x3, l_.str.52@PAGE
add x3, x3, l_.str.52@PAGEOFF
bl ___assert_rtn
LBB30_4:
b LBB30_5
LBB30_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB30_7
b LBB30_6
LBB30_6:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB30_8
b LBB30_7
LBB30_7:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB30_16
LBB30_8:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB30_10
b LBB30_9
LBB30_9:
b LBB30_16
LBB30_10:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_text
str x0, [sp, #24]
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB30_14
b LBB30_11
LBB30_11:
ldur x8, [x29, #-24]
ldr x0, [x8, #16]
bl _sqlite3_value_int
subs w8, w0, #1
str w8, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB30_13
b LBB30_12
LBB30_12:
str wzr, [sp, #20]
b LBB30_13
LBB30_13:
b LBB30_15
LBB30_14:
str wzr, [sp, #20]
b LBB30_15
LBB30_15:
ldr x0, [sp, #32]
ldr x1, [sp, #24]
ldr w2, [sp, #20]
mov x3, #0
bl __substr
str w0, [sp, #16]
ldur x0, [x29, #-8]
ldr w8, [sp, #16]
add w1, w8, #1
bl _sqlite3_result_int
b LBB30_16
LBB30_16:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function leftFunc
_leftFunc: ; @leftFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur wzr, [x29, #-28]
stur wzr, [x29, #-32]
stur wzr, [x29, #-36]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB31_2
b LBB31_1
LBB31_1:
adrp x0, l___func__.leftFunc@PAGE
add x0, x0, l___func__.leftFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #1082
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB31_2:
b LBB31_3
LBB31_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB31_5
b LBB31_4
LBB31_4:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB31_6
b LBB31_5
LBB31_5:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB31_17
LBB31_6:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #32]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_int
stur w0, [x29, #-36]
ldr x8, [sp, #32]
str x8, [sp, #24]
b LBB31_7
LBB31_7: ; =>This Loop Header: Depth=1
; Child Loop BB31_11 Depth 2
ldr x0, [sp, #24]
bl _sqlite3ReadUtf8
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB31_9
b LBB31_8
LBB31_8: ; in Loop: Header=BB31_7 Depth=1
ldur w8, [x29, #-28]
add w9, w8, #1
stur w9, [x29, #-28]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB31_9
LBB31_9: ; in Loop: Header=BB31_7 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB31_14
b LBB31_10
LBB31_10: ; in Loop: Header=BB31_7 Depth=1
b LBB31_11
LBB31_11: ; Parent Loop BB31_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB31_13
b LBB31_12
LBB31_12: ; in Loop: Header=BB31_11 Depth=2
b LBB31_11
LBB31_13: ; in Loop: Header=BB31_7 Depth=1
b LBB31_7
LBB31_14:
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-32]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
add x8, x8, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB31_16
b LBB31_15
LBB31_15:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB31_17
LBB31_16:
ldr x0, [sp, #16]
ldr x1, [sp, #32]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x2, x8, x9
mov x3, #-1
str x3, [sp] ; 8-byte Folded Spill
bl ___strncpy_chk
ldr x3, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #16]
ldursw x9, [x29, #-32]
add x8, x8, x9
strb wzr, [x8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
mov w2, #-1
bl _sqlite3_result_text
ldr x0, [sp, #16]
bl _sqlite3_free
b LBB31_17
LBB31_17:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function rightFunc
_rightFunc: ; @rightFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur wzr, [x29, #-28]
stur wzr, [x29, #-32]
stur wzr, [x29, #-36]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB32_2
b LBB32_1
LBB32_1:
adrp x0, l___func__.rightFunc@PAGE
add x0, x0, l___func__.rightFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #1122
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB32_2:
b LBB32_3
LBB32_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB32_5
b LBB32_4
LBB32_4:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB32_6
b LBB32_5
LBB32_5:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB32_23
LBB32_6:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #32]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_int
stur w0, [x29, #-28]
ldr x8, [sp, #32]
str x8, [sp, #24]
b LBB32_7
LBB32_7: ; =>This Loop Header: Depth=1
; Child Loop BB32_9 Depth 2
ldr x0, [sp, #24]
bl _sqlite3ReadUtf8
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB32_12
b LBB32_8
LBB32_8: ; in Loop: Header=BB32_7 Depth=1
b LBB32_9
LBB32_9: ; Parent Loop BB32_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB32_11
b LBB32_10
LBB32_10: ; in Loop: Header=BB32_9 Depth=2
b LBB32_9
LBB32_11: ; in Loop: Header=BB32_7 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB32_7
LBB32_12:
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x8, [sp, #32]
str x8, [sp, #24]
ldur w8, [x29, #-32]
ldur w9, [x29, #-28]
subs w8, w8, w9
stur w8, [x29, #-36]
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB32_14
b LBB32_13
LBB32_13:
stur wzr, [x29, #-36]
b LBB32_14
LBB32_14:
b LBB32_15
LBB32_15: ; =>This Loop Header: Depth=1
; Child Loop BB32_17 Depth 2
ldur w8, [x29, #-36]
subs w9, w8, #1
stur w9, [x29, #-36]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB32_20
b LBB32_16
LBB32_16: ; in Loop: Header=BB32_15 Depth=1
b LBB32_17
LBB32_17: ; Parent Loop BB32_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB32_19
b LBB32_18
LBB32_18: ; in Loop: Header=BB32_17 Depth=2
b LBB32_17
LBB32_19: ; in Loop: Header=BB32_15 Depth=1
b LBB32_15
LBB32_20:
ldr x8, [sp, #16]
ldr x9, [sp, #24]
subs x8, x8, x9
add x8, x8, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB32_22
b LBB32_21
LBB32_21:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB32_23
LBB32_22:
ldr x0, [sp, #8]
ldr x1, [sp, #24]
mov x2, #-1
str x2, [sp] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x3, [sp] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr x1, [sp, #8]
mov w2, #-1
bl _sqlite3_result_text
ldr x0, [sp, #8]
bl _sqlite3_free
b LBB32_23
LBB32_23:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function reverseFunc
_reverseFunc: ; @reverseFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
str wzr, [sp, #4]
str wzr, [sp]
ldur w9, [x29, #-12]
mov w8, #1
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB33_2
b LBB33_1
LBB33_1:
adrp x0, l___func__.reverseFunc@PAGE
add x0, x0, l___func__.reverseFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #1332
adrp x3, l_.str.53@PAGE
add x3, x3, l_.str.53@PAGEOFF
bl ___assert_rtn
LBB33_2:
b LBB33_3
LBB33_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB33_5
b LBB33_4
LBB33_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB33_18
LBB33_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #32]
ldr x0, [sp, #32]
bl _strlen
mov x8, x0
str w8, [sp, #4]
ldr w8, [sp, #4]
add w0, w8, #1
bl _sqlite3_malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB33_7
b LBB33_6
LBB33_6:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB33_18
LBB33_7:
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x9, x8, #1
str x9, [sp, #8]
strb wzr, [x8]
ldr x8, [sp, #32]
str x8, [sp, #24]
b LBB33_8
LBB33_8: ; =>This Loop Header: Depth=1
; Child Loop BB33_10 Depth 2
; Child Loop BB33_13 Depth 2
ldr x0, [sp, #24]
bl _sqlite3ReadUtf8
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB33_17
b LBB33_9
LBB33_9: ; in Loop: Header=BB33_8 Depth=1
ldr x8, [sp, #24]
str x8, [sp, #32]
b LBB33_10
LBB33_10: ; Parent Loop BB33_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB33_12
b LBB33_11
LBB33_11: ; in Loop: Header=BB33_10 Depth=2
b LBB33_10
LBB33_12: ; in Loop: Header=BB33_8 Depth=1
mov w8, #1
str w8, [sp]
b LBB33_13
LBB33_13: ; Parent Loop BB33_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp]
subs x8, x8, x9
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB33_16
b LBB33_14
LBB33_14: ; in Loop: Header=BB33_13 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp]
subs x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #8]
subs x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
b LBB33_15
LBB33_15: ; in Loop: Header=BB33_13 Depth=2
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB33_13
LBB33_16: ; in Loop: Header=BB33_8 Depth=1
b LBB33_8
LBB33_17:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
ldr x0, [sp, #16]
bl _sqlite3_free
b LBB33_18
LBB33_18:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function properFunc
_properFunc: ; @properFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
mov w8, #1
str w8, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB34_2
b LBB34_1
LBB34_1:
adrp x0, l___func__.properFunc@PAGE
add x0, x0, l___func__.properFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #733
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB34_2:
b LBB34_3
LBB34_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
mov w8, #5
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB34_5
b LBB34_4
LBB34_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB34_17
LBB34_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #32]
ldr x0, [sp, #32]
bl _sqlite3StrDup
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB34_7
b LBB34_6
LBB34_6:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB34_17
LBB34_7:
ldr x8, [sp, #24]
str x8, [sp, #16]
b LBB34_8
LBB34_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
add x9, x8, #1
str x9, [sp, #32]
ldrsb w8, [x8]
strb w8, [sp, #15]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB34_16
b LBB34_9
LBB34_9: ; in Loop: Header=BB34_8 Depth=1
ldrsb w0, [sp, #15]
bl _isblank
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB34_11
b LBB34_10
LBB34_10: ; in Loop: Header=BB34_8 Depth=1
mov w8, #1
str w8, [sp, #8]
b LBB34_15
LBB34_11: ; in Loop: Header=BB34_8 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB34_13
b LBB34_12
LBB34_12: ; in Loop: Header=BB34_8 Depth=1
ldrsb w0, [sp, #15]
bl _toupper
strb w0, [sp, #15]
b LBB34_14
LBB34_13: ; in Loop: Header=BB34_8 Depth=1
ldrsb w0, [sp, #15]
bl _tolower
strb w0, [sp, #15]
b LBB34_14
LBB34_14: ; in Loop: Header=BB34_8 Depth=1
str wzr, [sp, #8]
b LBB34_15
LBB34_15: ; in Loop: Header=BB34_8 Depth=1
ldrb w8, [sp, #15]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
strb w8, [x9]
b LBB34_8
LBB34_16:
ldr x8, [sp, #16]
strb wzr, [x8]
ldur x0, [x29, #-8]
ldr x1, [sp, #24]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
ldr x0, [sp, #24]
bl _sqlite3_free
b LBB34_17
LBB34_17:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function padlFunc
_padlFunc: ; @padlFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
str wzr, [sp, #36]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB35_2
b LBB35_1
LBB35_1:
adrp x0, l___func__.padlFunc@PAGE
add x0, x0, l___func__.padlFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #780
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB35_2:
b LBB35_3
LBB35_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB35_5
b LBB35_4
LBB35_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB35_19
LBB35_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #24]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_int64
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB35_7
b LBB35_6
LBB35_6:
ldur x0, [x29, #-8]
adrp x1, l_.str.51@PAGE
add x1, x1, l_.str.51@PAGEOFF
mov w2, #-1
bl _sqlite3_result_error
b LBB35_19
LBB35_7:
ldr x0, [sp, #24]
mov w1, #-1
bl _sqlite3Utf8CharLen
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #40]
ldr x8, [sp, #40]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB35_11
b LBB35_8
LBB35_8:
ldr x0, [sp, #24]
bl _sqlite3StrDup
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB35_10
b LBB35_9
LBB35_9:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB35_19
LBB35_10:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
b LBB35_18
LBB35_11:
ldr x0, [sp, #24]
bl _strlen
ldur x8, [x29, #-32]
add x8, x0, x8
ldr x9, [sp, #40]
subs x8, x8, x9
add x8, x8, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB35_13
b LBB35_12
LBB35_12:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB35_19
LBB35_13:
ldr x8, [sp, #16]
str x8, [sp, #8]
mov w8, #1
str w8, [sp, #36]
b LBB35_14
LBB35_14: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #36]
ldr x9, [sp, #40]
add x8, x8, x9
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB35_17
b LBB35_15
LBB35_15: ; in Loop: Header=BB35_14 Depth=1
ldr x9, [sp, #8]
add x8, x9, #1
str x8, [sp, #8]
mov w8, #32
strb w8, [x9]
b LBB35_16
LBB35_16: ; in Loop: Header=BB35_14 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB35_14
LBB35_17:
ldr x0, [sp, #8]
ldr x1, [sp, #24]
mov x2, #-1
bl ___strcpy_chk
b LBB35_18
LBB35_18:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
ldr x0, [sp, #16]
bl _sqlite3_free
b LBB35_19
LBB35_19:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function padrFunc
_padrFunc: ; @padrFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
str wzr, [sp, #28]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB36_2
b LBB36_1
LBB36_1:
adrp x0, l___func__.padrFunc@PAGE
add x0, x0, l___func__.padrFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #834
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB36_2:
b LBB36_3
LBB36_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB36_5
b LBB36_4
LBB36_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB36_19
LBB36_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #16]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_int64
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB36_7
b LBB36_6
LBB36_6:
ldur x0, [x29, #-8]
adrp x1, l_.str.51@PAGE
add x1, x1, l_.str.51@PAGEOFF
mov w2, #-1
bl _sqlite3_result_error
b LBB36_19
LBB36_7:
ldr x0, [sp, #16]
mov w1, #-1
bl _sqlite3Utf8CharLen
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #40]
ldr x8, [sp, #40]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB36_11
b LBB36_8
LBB36_8:
ldr x0, [sp, #16]
bl _sqlite3StrDup
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB36_10
b LBB36_9
LBB36_9:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB36_19
LBB36_10:
ldur x0, [x29, #-8]
ldr x1, [sp, #8]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
b LBB36_18
LBB36_11:
ldr x0, [sp, #16]
bl _strlen
str x0, [sp, #32]
ldr x8, [sp, #32]
ldur x9, [x29, #-32]
add x8, x8, x9
ldr x9, [sp, #40]
subs x8, x8, x9
add x8, x8, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB36_13
b LBB36_12
LBB36_12:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB36_19
LBB36_13:
ldr x0, [sp, #8]
ldr x1, [sp, #16]
mov x2, #-1
bl ___strcpy_chk
ldr x8, [sp, #32]
add x8, x0, x8
str x8, [sp]
mov w8, #1
str w8, [sp, #28]
b LBB36_14
LBB36_14: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #28]
ldr x9, [sp, #40]
add x8, x8, x9
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB36_17
b LBB36_15
LBB36_15: ; in Loop: Header=BB36_14 Depth=1
ldr x9, [sp]
add x8, x9, #1
str x8, [sp]
mov w8, #32
strb w8, [x9]
b LBB36_16
LBB36_16: ; in Loop: Header=BB36_14 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB36_14
LBB36_17:
ldr x8, [sp]
strb wzr, [x8]
b LBB36_18
LBB36_18:
ldur x0, [x29, #-8]
ldr x1, [sp, #8]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
ldr x0, [sp, #8]
bl _sqlite3_free
b LBB36_19
LBB36_19:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function padcFunc
_padcFunc: ; @padcFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
str wzr, [sp, #28]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB37_2
b LBB37_1
LBB37_1:
adrp x0, l___func__.padcFunc@PAGE
add x0, x0, l___func__.padcFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #889
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB37_2:
b LBB37_3
LBB37_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB37_5
b LBB37_4
LBB37_4:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB37_23
LBB37_5:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
str x0, [sp, #16]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_int64
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB37_7
b LBB37_6
LBB37_6:
ldur x0, [x29, #-8]
adrp x1, l_.str.51@PAGE
add x1, x1, l_.str.51@PAGEOFF
mov w2, #-1
bl _sqlite3_result_error
b LBB37_23
LBB37_7:
ldr x0, [sp, #16]
mov w1, #-1
bl _sqlite3Utf8CharLen
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #40]
ldr x8, [sp, #40]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB37_11
b LBB37_8
LBB37_8:
ldr x0, [sp, #16]
bl _sqlite3StrDup
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB37_10
b LBB37_9
LBB37_9:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB37_23
LBB37_10:
ldur x0, [x29, #-8]
ldr x1, [sp, #8]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
b LBB37_22
LBB37_11:
ldr x0, [sp, #16]
bl _strlen
str x0, [sp, #32]
ldr x8, [sp, #32]
ldur x9, [x29, #-32]
add x8, x8, x9
ldr x9, [sp, #40]
subs x8, x8, x9
add x8, x8, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB37_13
b LBB37_12
LBB37_12:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB37_23
LBB37_13:
ldr x8, [sp, #8]
str x8, [sp]
mov w8, #1
str w8, [sp, #28]
b LBB37_14
LBB37_14: ; =>This Inner Loop Header: Depth=1
ldr w9, [sp, #28]
mov w8, #2
mul w9, w8, w9
ldr x8, [sp, #40]
add x8, x8, w9, sxtw
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB37_17
b LBB37_15
LBB37_15: ; in Loop: Header=BB37_14 Depth=1
ldr x9, [sp]
add x8, x9, #1
str x8, [sp]
mov w8, #32
strb w8, [x9]
b LBB37_16
LBB37_16: ; in Loop: Header=BB37_14 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB37_14
LBB37_17:
ldr x0, [sp]
ldr x1, [sp, #16]
mov x2, #-1
bl ___strcpy_chk
ldr x9, [sp, #32]
ldr x8, [sp]
add x8, x8, x9
str x8, [sp]
b LBB37_18
LBB37_18: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #28]
ldr x9, [sp, #40]
add x8, x8, x9
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB37_21
b LBB37_19
LBB37_19: ; in Loop: Header=BB37_18 Depth=1
ldr x9, [sp]
add x8, x9, #1
str x8, [sp]
mov w8, #32
strb w8, [x9]
b LBB37_20
LBB37_20: ; in Loop: Header=BB37_18 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB37_18
LBB37_21:
ldr x8, [sp]
strb wzr, [x8]
b LBB37_22
LBB37_22:
ldur x0, [x29, #-8]
ldr x1, [sp, #8]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
ldr x0, [sp, #8]
bl _sqlite3_free
b LBB37_23
LBB37_23:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function strfilterFunc
_strfilterFunc: ; @strfilterFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
str wzr, [sp, #12]
str wzr, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB38_2
b LBB38_1
LBB38_1:
adrp x0, l___func__.strfilterFunc@PAGE
add x0, x0, l___func__.strfilterFunc@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #948
adrp x3, l_.str.49@PAGE
add x3, x3, l_.str.49@PAGEOFF
bl ___assert_rtn
LBB38_2:
b LBB38_3
LBB38_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, eq
tbnz w8, #0, LBB38_5
b LBB38_4
LBB38_4:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_type
subs w8, w0, #5
cset w8, ne
tbnz w8, #0, LBB38_6
b LBB38_5
LBB38_5:
ldur x0, [x29, #-8]
bl _sqlite3_result_null
b LBB38_28
LBB38_6:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_text
stur x0, [x29, #-32]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _sqlite3_value_text
stur x0, [x29, #-40]
ldur x0, [x29, #-32]
bl _strlen
add x8, x0, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB38_8
b LBB38_7
LBB38_7:
ldur x0, [x29, #-8]
bl _sqlite3_result_error_nomem
b LBB38_28
LBB38_8:
ldr x8, [sp, #24]
str x8, [sp, #16]
ldur x8, [x29, #-32]
str x8, [sp, #48]
b LBB38_9
LBB38_9: ; =>This Loop Header: Depth=1
; Child Loop BB38_11 Depth 2
; Child Loop BB38_15 Depth 3
; Child Loop BB38_20 Depth 2
; Child Loop BB38_24 Depth 2
ldr x0, [sp, #48]
bl _sqlite3ReadUtf8
str w0, [sp, #12]
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB38_27
b LBB38_10
LBB38_10: ; in Loop: Header=BB38_9 Depth=1
ldur x8, [x29, #-40]
str x8, [sp, #40]
b LBB38_11
LBB38_11: ; Parent Loop BB38_9 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB38_15 Depth 3
ldr x0, [sp, #40]
bl _sqlite3ReadUtf8
str w0, [sp, #8]
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB38_13
b LBB38_12
LBB38_12: ; in Loop: Header=BB38_11 Depth=2
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB38_13
LBB38_13: ; in Loop: Header=BB38_11 Depth=2
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB38_18
b LBB38_14
LBB38_14: ; in Loop: Header=BB38_11 Depth=2
b LBB38_15
LBB38_15: ; Parent Loop BB38_9 Depth=1
; Parent Loop BB38_11 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #40]
add x9, x8, #1
str x9, [sp, #40]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB38_17
b LBB38_16
LBB38_16: ; in Loop: Header=BB38_15 Depth=3
b LBB38_15
LBB38_17: ; in Loop: Header=BB38_11 Depth=2
b LBB38_11
LBB38_18: ; in Loop: Header=BB38_9 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB38_23
b LBB38_19
LBB38_19: ; in Loop: Header=BB38_9 Depth=1
ldr x8, [sp, #40]
str x8, [sp, #32]
b LBB38_20
LBB38_20: ; Parent Loop BB38_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #32]
add x9, x8, #1
str x9, [sp, #32]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB38_22
b LBB38_21
LBB38_21: ; in Loop: Header=BB38_20 Depth=2
b LBB38_20
LBB38_22: ; in Loop: Header=BB38_9 Depth=1
ldr x0, [sp, #16]
ldr x1, [sp, #40]
ldr x8, [sp, #32]
ldr x9, [sp, #40]
subs x2, x8, x9
mov x3, #-1
bl ___strncpy_chk
ldr x8, [sp, #32]
ldr x9, [sp, #40]
subs x9, x8, x9
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
b LBB38_23
LBB38_23: ; in Loop: Header=BB38_9 Depth=1
b LBB38_24
LBB38_24: ; Parent Loop BB38_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #48]
add x9, x8, #1
str x9, [sp, #48]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB38_26
b LBB38_25
LBB38_25: ; in Loop: Header=BB38_24 Depth=2
b LBB38_24
LBB38_26: ; in Loop: Header=BB38_9 Depth=1
b LBB38_9
LBB38_27:
ldr x8, [sp, #16]
strb wzr, [x8]
ldur x0, [x29, #-8]
ldr x1, [sp, #24]
mov w2, #-1
mov x3, #-1
bl _sqlite3_result_text
ldr x0, [sp, #24]
bl _sqlite3_free
b LBB38_28
LBB38_28:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function varianceStep
_varianceStep: ; @varianceStep
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB39_2
b LBB39_1
LBB39_1:
adrp x0, l___func__.varianceStep@PAGE
add x0, x0, l___func__.varianceStep@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #1404
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB39_2:
b LBB39_3
LBB39_3:
ldur x0, [x29, #-8]
mov w1, #24
bl _sqlite3_aggregate_context
str x0, [sp, #16]
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_numeric_type
mov w8, #5
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB39_5
b LBB39_4
LBB39_4:
ldr x9, [sp, #16]
ldr x8, [x9, #16]
add x8, x8, #1
str x8, [x9, #16]
ldr x8, [sp, #24]
ldr x0, [x8]
bl _sqlite3_value_double
str d0, [sp]
ldr d0, [sp]
ldr x8, [sp, #16]
ldr d1, [x8]
fsub d0, d0, d1
str d0, [sp, #8]
ldr d0, [sp, #8]
ldr x8, [sp, #16]
ldr d1, [x8, #16]
scvtf d1, d1
fdiv d1, d0, d1
ldr x8, [sp, #16]
ldr d0, [x8]
fadd d0, d0, d1
str d0, [x8]
ldr d0, [sp, #8]
ldr d1, [sp]
ldr x8, [sp, #16]
ldr d2, [x8]
fsub d1, d1, d2
ldr x8, [sp, #16]
ldr d2, [x8, #8]
fmadd d0, d0, d1, d2
str d0, [x8, #8]
b LBB39_5
LBB39_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function stdevFinalize
_stdevFinalize: ; @stdevFinalize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
bl _sqlite3_aggregate_context
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB40_3
b LBB40_1
LBB40_1:
ldr x8, [sp]
ldr x8, [x8, #16]
subs x8, x8, #1
cset w8, le
tbnz w8, #0, LBB40_3
b LBB40_2
LBB40_2:
ldr x0, [sp, #8]
ldr x8, [sp]
ldr d0, [x8, #8]
ldr x8, [sp]
ldr x8, [x8, #16]
subs x8, x8, #1
scvtf d1, x8
fdiv d0, d0, d1
fsqrt d0, d0
bl _sqlite3_result_double
b LBB40_4
LBB40_3:
ldr x0, [sp, #8]
movi d0, #0000000000000000
bl _sqlite3_result_double
b LBB40_4
LBB40_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function varianceFinalize
_varianceFinalize: ; @varianceFinalize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
bl _sqlite3_aggregate_context
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB41_3
b LBB41_1
LBB41_1:
ldr x8, [sp]
ldr x8, [x8, #16]
subs x8, x8, #1
cset w8, le
tbnz w8, #0, LBB41_3
b LBB41_2
LBB41_2:
ldr x0, [sp, #8]
ldr x8, [sp]
ldr d0, [x8, #8]
ldr x8, [sp]
ldr x8, [x8, #16]
subs x8, x8, #1
scvtf d1, x8
fdiv d0, d0, d1
bl _sqlite3_result_double
b LBB41_4
LBB41_3:
ldr x0, [sp, #8]
movi d0, #0000000000000000
bl _sqlite3_result_double
b LBB41_4
LBB41_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function modeStep
_modeStep: ; @modeStep
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur xzr, [x29, #-40]
movi d0, #0000000000000000
stur d0, [x29, #-48]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB42_2
b LBB42_1
LBB42_1:
adrp x0, l___func__.modeStep@PAGE
add x0, x0, l___func__.modeStep@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #1427
adrp x3, l_.str.48@PAGE
add x3, x3, l_.str.48@PAGEOFF
bl ___assert_rtn
LBB42_2:
b LBB42_3
LBB42_3:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_numeric_type
stur w0, [x29, #-68]
ldur w8, [x29, #-68]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB42_5
b LBB42_4
LBB42_4:
b LBB42_13
LBB42_5:
ldur x0, [x29, #-8]
mov w1, #72
bl _sqlite3_aggregate_context
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
ldr x9, [x8, #56]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB42_10
b LBB42_6
LBB42_6:
mov x0, #1
mov x1, #24
bl _calloc
ldur x8, [x29, #-32]
str x0, [x8, #56]
ldur w8, [x29, #-68]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB42_8
b LBB42_7
LBB42_7:
ldur x8, [x29, #-32]
ldr x8, [x8, #56]
str x8, [sp, #16] ; 8-byte Folded Spill
add x8, sp, #48
adrp x0, _int_cmp@PAGE
add x0, x0, _int_cmp@PAGEOFF
bl _map_make
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr q0, [sp, #48]
str q0, [x9]
ldr x8, [sp, #64]
str x8, [x9, #16]
ldur x8, [x29, #-32]
str xzr, [x8, #48]
b LBB42_9
LBB42_8:
ldur x9, [x29, #-32]
mov x8, #1
str x8, [x9, #48]
ldur x8, [x29, #-32]
ldr x8, [x8, #56]
str x8, [sp, #8] ; 8-byte Folded Spill
add x8, sp, #24
adrp x0, _double_cmp@PAGE
add x0, x0, _double_cmp@PAGEOFF
bl _map_make
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur q0, [sp, #24]
str q0, [x9]
ldr x8, [sp, #40]
str x8, [x9, #16]
b LBB42_9
LBB42_9:
b LBB42_10
LBB42_10:
ldur x9, [x29, #-32]
ldr x8, [x9, #16]
add x8, x8, #1
str x8, [x9, #16]
ldur x8, [x29, #-32]
ldr x9, [x8, #48]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB42_12
b LBB42_11
LBB42_11:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_int64
stur x0, [x29, #-40]
mov x0, #1
mov x1, #8
bl _calloc
stur x0, [x29, #-56]
ldur x8, [x29, #-40]
ldur x9, [x29, #-56]
str x8, [x9]
ldur x8, [x29, #-32]
ldr x0, [x8, #56]
ldur x1, [x29, #-56]
bl _map_insert
b LBB42_13
LBB42_12:
ldur x8, [x29, #-24]
ldr x0, [x8]
bl _sqlite3_value_double
stur d0, [x29, #-48]
mov x0, #1
mov x1, #8
bl _calloc
stur x0, [x29, #-64]
ldur d0, [x29, #-48]
ldur x8, [x29, #-64]
str d0, [x8]
ldur x8, [x29, #-32]
ldr x0, [x8, #56]
ldur x1, [x29, #-64]
bl _map_insert
b LBB42_13
LBB42_13:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function modeFinalize
_modeFinalize: ; @modeFinalize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
bl _sqlite3_aggregate_context
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB43_8
b LBB43_1
LBB43_1:
ldr x8, [sp]
ldr x8, [x8, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB43_8
b LBB43_2
LBB43_2:
ldr x8, [sp]
ldr x0, [x8, #56]
ldr x2, [sp]
adrp x1, _modeIterate@PAGE
add x1, x1, _modeIterate@PAGEOFF
bl _map_iterate
ldr x8, [sp]
ldr x0, [x8, #56]
bl _map_destroy
ldr x8, [sp]
ldr x0, [x8, #56]
bl _free
ldr x8, [sp]
ldr x9, [x8, #40]
mov x8, #1
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB43_7
b LBB43_3
LBB43_3:
ldr x8, [sp]
ldr x9, [x8, #48]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB43_5
b LBB43_4
LBB43_4:
ldr x0, [sp, #8]
ldr x8, [sp]
ldr x1, [x8]
bl _sqlite3_result_int64
b LBB43_6
LBB43_5:
ldr x0, [sp, #8]
ldr x8, [sp]
ldr d0, [x8, #8]
bl _sqlite3_result_double
b LBB43_6
LBB43_6:
b LBB43_7
LBB43_7:
b LBB43_8
LBB43_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function medianFinalize
_medianFinalize: ; @medianFinalize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
bl _sqlite3_aggregate_context
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB44_2
b LBB44_1
LBB44_1:
ldr x8, [sp]
ldr d0, [x8, #16]
scvtf d0, d0
fmov d1, #2.00000000
fdiv d0, d0, d1
ldr x8, [sp]
str d0, [x8, #24]
ldr x0, [sp, #8]
bl __medianFinalize
b LBB44_2
LBB44_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function lower_quartileFinalize
_lower_quartileFinalize: ; @lower_quartileFinalize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
bl _sqlite3_aggregate_context
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB45_2
b LBB45_1
LBB45_1:
ldr x8, [sp]
ldr d0, [x8, #16]
scvtf d0, d0
fmov d1, #4.00000000
fdiv d0, d0, d1
ldr x8, [sp]
str d0, [x8, #24]
ldr x0, [sp, #8]
bl __medianFinalize
b LBB45_2
LBB45_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function upper_quartileFinalize
_upper_quartileFinalize: ; @upper_quartileFinalize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
bl _sqlite3_aggregate_context
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB46_2
b LBB46_1
LBB46_1:
ldr x8, [sp]
ldr x8, [x8, #16]
mov x9, #3
mul x8, x8, x9
scvtf d0, x8
fmov d1, #4.00000000
fdiv d0, d0, d1
ldr x8, [sp]
str d0, [x8, #24]
ldr x0, [sp, #8]
bl __medianFinalize
b LBB46_2
LBB46_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _map_make ; -- Begin function map_make
.p2align 2
_map_make: ; @map_make
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
str x9, [x8, #8]
; kill: def $x9 killed $xzr
str xzr, [x8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _xcalloc ; -- Begin function xcalloc
.p2align 2
_xcalloc: ; @xcalloc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _calloc
str x0, [sp]
ldr x0, [sp]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _xfree ; -- Begin function xfree
.p2align 2
_xfree: ; @xfree
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _node_insert ; -- Begin function node_insert
.p2align 2
_node_insert: ; @node_insert
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB50_2
b LBB50_1
LBB50_1:
mov x0, #1
str x0, [sp] ; 8-byte Folded Spill
mov x1, #32
adrp x2, l_.str.45@PAGE
add x2, x2, l_.str.45@PAGEOFF
bl _xcalloc
ldr x8, [sp] ; 8-byte Folded Reload
str x0, [sp, #8]
ldr x9, [sp, #24]
ldr x10, [sp, #8]
str x9, [x10, #16]
ldr x9, [sp, #8]
str x8, [x9, #24]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
b LBB50_9
LBB50_2:
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr x0, [x9, #16]
ldr x1, [sp, #24]
blr x8
str w0, [sp, #20]
ldr w9, [sp, #20]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB50_4
b LBB50_3
LBB50_3:
ldur x8, [x29, #-8]
ldr x9, [x8]
ldr x8, [x9, #24]
add x8, x8, #1
str x8, [x9, #24]
ldr x0, [sp, #24]
bl _xfree
b LBB50_8
LBB50_4:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB50_6
b LBB50_5
LBB50_5:
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
bl _node_insert
b LBB50_7
LBB50_6:
ldur x8, [x29, #-8]
ldr x8, [x8]
add x0, x8, #8
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
bl _node_insert
b LBB50_7
LBB50_7:
b LBB50_8
LBB50_8:
b LBB50_9
LBB50_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _map_insert ; -- Begin function map_insert
.p2align 2
_map_insert: ; @map_insert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x8, [sp, #8]
ldr x1, [x8, #8]
ldr x2, [sp]
bl _node_insert
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _node_iterate ; -- Begin function node_iterate
.p2align 2
_node_iterate: ; @node_iterate
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB52_6
b LBB52_1
LBB52_1:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB52_3
b LBB52_2
LBB52_2:
ldur x8, [x29, #-8]
ldr x0, [x8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
bl _node_iterate
b LBB52_3
LBB52_3:
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
ldr x0, [x9, #16]
ldur x9, [x29, #-8]
ldr x1, [x9, #24]
ldr x2, [sp, #8]
blr x8
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB52_5
b LBB52_4
LBB52_4:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
bl _node_iterate
b LBB52_5
LBB52_5:
b LBB52_6
LBB52_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _map_iterate ; -- Begin function map_iterate
.p2align 2
_map_iterate: ; @map_iterate
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x8, [x29, #-8]
ldr x0, [x8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
bl _node_iterate
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _node_destroy ; -- Begin function node_destroy
.p2align 2
_node_destroy: ; @node_destroy
.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 x9, [sp, #8]
mov x8, #0
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB54_6
b LBB54_1
LBB54_1:
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _xfree
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB54_3
b LBB54_2
LBB54_2:
ldr x8, [sp, #8]
ldr x0, [x8]
bl _node_destroy
b LBB54_3
LBB54_3:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB54_5
b LBB54_4
LBB54_4:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _node_destroy
b LBB54_5
LBB54_5:
ldr x0, [sp, #8]
bl _xfree
b LBB54_6
LBB54_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _map_destroy ; -- Begin function map_destroy
.p2align 2
_map_destroy: ; @map_destroy
.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 _node_destroy
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _int_cmp ; -- Begin function int_cmp
.p2align 2
_int_cmp: ; @int_cmp
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str x1, [sp, #24]
ldr x8, [sp, #32]
ldr x8, [x8]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB56_2
b LBB56_1
LBB56_1:
str wzr, [sp, #44]
b LBB56_5
LBB56_2:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB56_4
b LBB56_3
LBB56_3:
mov w8, #-1
str w8, [sp, #44]
b LBB56_5
LBB56_4:
mov w8, #1
str w8, [sp, #44]
b LBB56_5
LBB56_5:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _double_cmp ; -- Begin function double_cmp
.p2align 2
_double_cmp: ; @double_cmp
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str x1, [sp, #24]
ldr x8, [sp, #32]
ldr d0, [x8]
str d0, [sp, #16]
ldr x8, [sp, #24]
ldr d0, [x8]
str d0, [sp, #8]
ldr d0, [sp, #16]
ldr d1, [sp, #8]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB57_2
b LBB57_1
LBB57_1:
str wzr, [sp, #44]
b LBB57_5
LBB57_2:
ldr d0, [sp, #16]
ldr d1, [sp, #8]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB57_4
b LBB57_3
LBB57_3:
mov w8, #-1
str w8, [sp, #44]
b LBB57_5
LBB57_4:
mov w8, #1
str w8, [sp, #44]
b LBB57_5
LBB57_5:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _print_elem ; -- Begin function print_elem
.p2align 2
_print_elem: ; @print_elem
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
ldur x8, [x29, #-8]
ldr w8, [x8]
str w8, [sp, #20]
ldr w8, [sp, #20]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.46@PAGE
add x0, x0, l_.str.46@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function soundex
_soundex: ; @soundex
.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]
b LBB59_1
LBB59_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB59_3
b LBB59_2
LBB59_2: ; in Loop: Header=BB59_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrb w0, [x8, x9]
bl _isalpha
subs w8, w0, #0
cset w8, eq
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB59_3
LBB59_3: ; in Loop: Header=BB59_1 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB59_6
b LBB59_4
LBB59_4: ; in Loop: Header=BB59_1 Depth=1
b LBB59_5
LBB59_5: ; in Loop: Header=BB59_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB59_1
LBB59_6:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB59_19
b LBB59_7
LBB59_7:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrb w0, [x8, x9]
bl _toupper
ldur x8, [x29, #-16]
strb w0, [x8]
mov w8, #1
str w8, [sp, #24]
b LBB59_8
LBB59_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #4
cset w8, ge
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB59_10
b LBB59_9
LBB59_9: ; in Loop: Header=BB59_8 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB59_10
LBB59_10: ; in Loop: Header=BB59_8 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB59_15
b LBB59_11
LBB59_11: ; in Loop: Header=BB59_8 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldrb w8, [x8, x9]
and w9, w8, #0x7f
adrp x8, _soundex.iCode@PAGE
add x8, x8, _soundex.iCode@PAGEOFF
ldrb w8, [x8, w9, sxtw]
str w8, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB59_13
b LBB59_12
LBB59_12: ; in Loop: Header=BB59_8 Depth=1
ldr w8, [sp, #20]
add w8, w8, #48
ldur x9, [x29, #-16]
ldrsw x10, [sp, #24]
mov x11, x10
add w11, w11, #1
str w11, [sp, #24]
strb w8, [x9, x10]
b LBB59_13
LBB59_13: ; in Loop: Header=BB59_8 Depth=1
b LBB59_14
LBB59_14: ; in Loop: Header=BB59_8 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB59_8
LBB59_15:
b LBB59_16
LBB59_16: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB59_18
b LBB59_17
LBB59_17: ; in Loop: Header=BB59_16 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
mov x10, x9
add w10, w10, #1
str w10, [sp, #24]
add x9, x8, x9
mov w8, #48
strb w8, [x9]
b LBB59_16
LBB59_18:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
add x8, x8, x9
strb wzr, [x8]
b LBB59_20
LBB59_19:
ldur x0, [x29, #-16]
adrp x1, l_.str.50@PAGE
add x1, x1, l_.str.50@PAGEOFF
mov x2, #-1
bl ___strcpy_chk
b LBB59_20
LBB59_20:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sqlite3ReadUtf8
_sqlite3ReadUtf8: ; @sqlite3ReadUtf8
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrb w8, [x8]
str w8, [sp, #20]
ldrsw x9, [sp, #20]
adrp x8, _xtra_utf8_bytes@PAGE
add x8, x8, _xtra_utf8_bytes@PAGEOFF
ldrb w8, [x8, x9]
str w8, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #1
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB60_10
; %bb.1:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI60_0@PAGE
add x10, x10, lJTI60_0@PAGEOFF
Ltmp4:
adr x8, Ltmp4
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB60_2:
mov w8, #65533
str w8, [sp, #20]
b LBB60_10
LBB60_3:
ldr w9, [sp, #20]
ldr x8, [sp, #24]
add x10, x8, #1
str x10, [sp, #24]
ldrb w8, [x8]
add w8, w8, w9, lsl #6
str w8, [sp, #20]
b LBB60_4
LBB60_4:
ldr w9, [sp, #20]
ldr x8, [sp, #24]
add x10, x8, #1
str x10, [sp, #24]
ldrb w8, [x8]
add w8, w8, w9, lsl #6
str w8, [sp, #20]
b LBB60_5
LBB60_5:
ldr w9, [sp, #20]
ldr x8, [sp, #24]
add x10, x8, #1
str x10, [sp, #24]
ldrb w8, [x8]
add w8, w8, w9, lsl #6
str w8, [sp, #20]
ldrsw x9, [sp, #16]
adrp x8, _xtra_utf8_bits@PAGE
add x8, x8, _xtra_utf8_bits@PAGEOFF
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #20]
subs w8, w8, w9
str w8, [sp, #20]
ldrsw x9, [sp, #16]
adrp x8, _utf_mask@PAGE
add x8, x8, _utf_mask@PAGEOFF
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #20]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB60_8
b LBB60_6
LBB60_6:
ldr w8, [sp, #20]
and w8, w8, #0xfffff800
mov w9, #55296
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB60_8
b LBB60_7
LBB60_7:
ldr w8, [sp, #20]
and w8, w8, #0xfffffffe
mov w9, #65534
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB60_9
b LBB60_8
LBB60_8:
mov w8, #65533
str w8, [sp, #20]
b LBB60_9
LBB60_9:
b LBB60_10
LBB60_10:
ldr w0, [sp, #20]
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI60_0:
.long LBB60_5-Ltmp4
.long LBB60_4-Ltmp4
.long LBB60_3-Ltmp4
.long LBB60_2-Ltmp4
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function rad2deg
lCPI61_0:
.quad 0x400921fb54442d18 ; double 3.1415926535897931
lCPI61_1:
.quad 0x4066800000000000 ; double 180
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_rad2deg: ; @rad2deg
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d1, [sp, #8]
adrp x8, lCPI61_1@PAGE
ldr d0, [x8, lCPI61_1@PAGEOFF]
fmul d0, d0, d1
adrp x8, lCPI61_0@PAGE
ldr d1, [x8, lCPI61_0@PAGEOFF]
fdiv d0, d0, d1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function deg2rad
lCPI62_0:
.quad 0x4066800000000000 ; double 180
lCPI62_1:
.quad 0x400921fb54442d18 ; double 3.1415926535897931
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_deg2rad: ; @deg2rad
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
adrp x8, lCPI62_1@PAGE
ldr d1, [x8, lCPI62_1@PAGEOFF]
fmul d0, d0, d1
adrp x8, lCPI62_0@PAGE
ldr d1, [x8, lCPI62_0@PAGEOFF]
fdiv d0, d0, d1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cot
_cot: ; @cot
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str d0, [sp, #8]
ldr d0, [sp, #8]
bl _tan
fmov d1, d0
fmov d0, #1.00000000
fdiv d0, d0, d1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function coth
_coth: ; @coth
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str d0, [sp, #8]
ldr d0, [sp, #8]
bl _tanh
fmov d1, d0
fmov d0, #1.00000000
fdiv d0, d0, d1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _substr
__substr: ; @_substr
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
stur x3, [x29, #-40]
mov w8, #0
stur wzr, [x29, #-44]
mov w9, #-1
str w9, [sp, #48]
ldur x9, [x29, #-16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB65_2
b LBB65_1
LBB65_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB65_36
LBB65_2:
b LBB65_3
LBB65_3: ; =>This Loop Header: Depth=1
; Child Loop BB65_7 Depth 2
ldur x0, [x29, #-24]
bl _sqlite3ReadUtf8
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB65_5
b LBB65_4
LBB65_4: ; in Loop: Header=BB65_3 Depth=1
ldur w8, [x29, #-44]
add w9, w8, #1
stur w9, [x29, #-44]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB65_5
LBB65_5: ; in Loop: Header=BB65_3 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB65_10
b LBB65_6
LBB65_6: ; in Loop: Header=BB65_3 Depth=1
b LBB65_7
LBB65_7: ; Parent Loop BB65_3 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
add x9, x8, #1
stur x9, [x29, #-24]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB65_9
b LBB65_8
LBB65_8: ; in Loop: Header=BB65_7 Depth=2
b LBB65_7
LBB65_9: ; in Loop: Header=BB65_3 Depth=1
b LBB65_3
LBB65_10:
stur wzr, [x29, #-44]
b LBB65_11
LBB65_11: ; =>This Loop Header: Depth=1
; Child Loop BB65_13 Depth 2
; Child Loop BB65_14 Depth 3
; Child Loop BB65_17 Depth 3
; Child Loop BB65_27 Depth 2
ldur x0, [x29, #-24]
bl _sqlite3ReadUtf8
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB65_30
b LBB65_12
LBB65_12: ; in Loop: Header=BB65_11 Depth=1
ldur x8, [x29, #-16]
str x8, [sp, #40]
ldur x8, [x29, #-24]
str x8, [sp, #32]
b LBB65_13
LBB65_13: ; Parent Loop BB65_11 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB65_14 Depth 3
; Child Loop BB65_17 Depth 3
ldr x0, [sp, #40]
bl _sqlite3ReadUtf8
str w0, [sp, #28]
ldr x0, [sp, #32]
bl _sqlite3ReadUtf8
str w0, [sp, #24]
b LBB65_14
LBB65_14: ; Parent Loop BB65_11 Depth=1
; Parent Loop BB65_13 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #40]
add x9, x8, #1
str x9, [sp, #40]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB65_16
b LBB65_15
LBB65_15: ; in Loop: Header=BB65_14 Depth=3
b LBB65_14
LBB65_16: ; in Loop: Header=BB65_13 Depth=2
b LBB65_17
LBB65_17: ; Parent Loop BB65_11 Depth=1
; Parent Loop BB65_13 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #32]
add x9, x8, #1
str x9, [sp, #32]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB65_19
b LBB65_18
LBB65_18: ; in Loop: Header=BB65_17 Depth=3
b LBB65_17
LBB65_19: ; in Loop: Header=BB65_13 Depth=2
b LBB65_20
LBB65_20: ; in Loop: Header=BB65_13 Depth=2
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB65_23
b LBB65_21
LBB65_21: ; in Loop: Header=BB65_13 Depth=2
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB65_23
b LBB65_22
LBB65_22: ; in Loop: Header=BB65_13 Depth=2
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB65_23
LBB65_23: ; in Loop: Header=BB65_13 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbnz w8, #0, LBB65_13
b LBB65_24
LBB65_24: ; in Loop: Header=BB65_11 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB65_26
b LBB65_25
LBB65_25:
ldur w8, [x29, #-44]
str w8, [sp, #48]
b LBB65_30
LBB65_26: ; in Loop: Header=BB65_11 Depth=1
b LBB65_27
LBB65_27: ; Parent Loop BB65_11 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
add x9, x8, #1
stur x9, [x29, #-24]
ldrsb w9, [x8, #1]
mov w8, #192
and w8, w8, w9
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB65_29
b LBB65_28
LBB65_28: ; in Loop: Header=BB65_27 Depth=2
b LBB65_27
LBB65_29: ; in Loop: Header=BB65_11 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB65_11
LBB65_30:
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB65_32
b LBB65_31
LBB65_31:
ldur x8, [x29, #-24]
ldur x9, [x29, #-40]
str x8, [x9]
b LBB65_32
LBB65_32:
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB65_34
b LBB65_33
LBB65_33:
ldr w8, [sp, #48]
ldur w9, [x29, #-28]
add w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB65_35
LBB65_34:
ldr w8, [sp, #48]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB65_35
LBB65_35:
ldr w8, [sp, #12] ; 4-byte Folded Reload
stur w8, [x29, #-4]
b LBB65_36
LBB65_36:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sqlite3StrDup
_sqlite3StrDup: ; @sqlite3StrDup
.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 _strlen
add x8, x0, #1
mov x0, x8
bl _sqlite3_malloc
str x0, [sp]
ldr x0, [sp]
ldr x1, [sp, #8]
mov x2, #-1
bl ___strcpy_chk
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sqlite3Utf8CharLen
_sqlite3Utf8CharLen: ; @sqlite3Utf8CharLen
.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]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB67_2
b LBB67_1
LBB67_1:
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
add x8, x8, x9
str x8, [sp, #8]
b LBB67_3
LBB67_2:
mov x8, #-1
str x8, [sp, #8]
b LBB67_3
LBB67_3:
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, hi
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB67_5
b LBB67_4
LBB67_4:
adrp x0, l___func__.sqlite3Utf8CharLen@PAGE
add x0, x0, l___func__.sqlite3Utf8CharLen@PAGEOFF
adrp x1, l_.str.47@PAGE
add x1, x1, l_.str.47@PAGEOFF
mov w2, #325
adrp x3, l_.str.54@PAGE
add x3, x3, l_.str.54@PAGEOFF
bl ___assert_rtn
LBB67_5:
b LBB67_6
LBB67_6:
b LBB67_7
LBB67_7: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB67_9
b LBB67_8
LBB67_8: ; in Loop: Header=BB67_7 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, lo
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB67_9
LBB67_9: ; in Loop: Header=BB67_7 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB67_11
b LBB67_10
LBB67_10: ; in Loop: Header=BB67_7 Depth=1
ldur x8, [x29, #-8]
ldrb w8, [x8]
mov x9, x8
adrp x8, _xtra_utf8_bytes@PAGE
add x8, x8, _xtra_utf8_bytes@PAGEOFF
ldrb w8, [x8, x9]
add w9, w8, #1
ldur x8, [x29, #-8]
add x8, x8, w9, sxtw
stur x8, [x29, #-8]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB67_7
LBB67_11:
ldr w0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function modeIterate
_modeIterate: ; @modeIterate
.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, #24]
str x8, [sp]
ldr x8, [sp]
ldr x9, [x8, #48]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB68_7
b LBB68_1
LBB68_1:
ldr x8, [sp, #40]
ldrsw x8, [x8]
str x8, [sp, #16]
ldr x8, [sp]
ldr x8, [x8, #32]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB68_3
b LBB68_2
LBB68_2:
ldr x9, [sp]
ldr x8, [x9, #40]
add x8, x8, #1
str x8, [x9, #40]
b LBB68_6
LBB68_3:
ldr x8, [sp]
ldr x8, [x8, #32]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB68_5
b LBB68_4
LBB68_4:
ldr x8, [sp, #16]
ldr x9, [sp]
str x8, [x9]
ldr x8, [sp, #32]
ldr x9, [sp]
str x8, [x9, #32]
ldr x9, [sp]
mov x8, #1
str x8, [x9, #40]
b LBB68_5
LBB68_5:
b LBB68_6
LBB68_6:
b LBB68_13
LBB68_7:
ldr x8, [sp, #40]
ldr d0, [x8]
str d0, [sp, #8]
ldr x8, [sp]
ldr x8, [x8, #32]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB68_9
b LBB68_8
LBB68_8:
ldr x9, [sp]
ldr x8, [x9, #40]
add x8, x8, #1
str x8, [x9, #40]
b LBB68_12
LBB68_9:
ldr x8, [sp]
ldr x8, [x8, #32]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB68_11
b LBB68_10
LBB68_10:
ldr d0, [sp, #8]
ldr x8, [sp]
str d0, [x8, #8]
ldr x8, [sp, #32]
ldr x9, [sp]
str x8, [x9, #32]
ldr x9, [sp]
mov x8, #1
str x8, [x9, #40]
b LBB68_11
LBB68_11:
b LBB68_12
LBB68_12:
b LBB68_13
LBB68_13:
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _medianFinalize
__medianFinalize: ; @_medianFinalize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
bl _sqlite3_aggregate_context
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB69_9
b LBB69_1
LBB69_1:
ldr x8, [sp]
ldr x8, [x8, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB69_9
b LBB69_2
LBB69_2:
ldr x8, [sp]
str wzr, [x8, #64]
ldr x8, [sp]
ldr x0, [x8, #56]
ldr x2, [sp]
adrp x1, _medianIterate@PAGE
add x1, x1, _medianIterate@PAGEOFF
bl _map_iterate
ldr x8, [sp]
ldr x0, [x8, #56]
bl _map_destroy
ldr x8, [sp]
ldr x0, [x8, #56]
bl _free
ldr x8, [sp]
ldr x9, [x8, #48]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB69_7
b LBB69_3
LBB69_3:
ldr x8, [sp]
ldr x9, [x8, #40]
mov x8, #1
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB69_5
b LBB69_4
LBB69_4:
ldr x0, [sp, #8]
ldr x8, [sp]
ldr x1, [x8]
bl _sqlite3_result_int64
b LBB69_6
LBB69_5:
ldr x0, [sp, #8]
ldr x8, [sp]
ldr d0, [x8]
scvtf d0, d0
fmov d1, #1.00000000
fmul d0, d0, d1
ldr x8, [sp]
ldr d1, [x8, #40]
scvtf d1, d1
fdiv d0, d0, d1
bl _sqlite3_result_double
b LBB69_6
LBB69_6:
b LBB69_8
LBB69_7:
ldr x0, [sp, #8]
ldr x8, [sp]
ldr d0, [x8, #8]
ldr x8, [sp]
ldr d1, [x8, #40]
scvtf d1, d1
fdiv d0, d0, d1
bl _sqlite3_result_double
b LBB69_8
LBB69_8:
b LBB69_9
LBB69_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function medianIterate
_medianIterate: ; @medianIterate
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, #72]
str x1, [sp, #64]
str x2, [sp, #56]
ldr x8, [sp, #56]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #64]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB70_2
b LBB70_1
LBB70_1:
b LBB70_11
LBB70_2:
ldr x8, [sp, #8]
ldr d0, [x8, #24]
str d0, [sp, #32]
ldr x8, [sp, #8]
ldr d0, [x8, #16]
scvtf d0, d0
ldr x8, [sp, #8]
ldr d1, [x8, #24]
fsub d0, d0, d1
str d0, [sp, #24]
ldr x8, [sp, #8]
ldr x8, [x8, #32]
ldr x9, [sp, #64]
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #20]
ldr x8, [sp, #8]
ldr x8, [x8, #16]
ldr x9, [sp, #8]
ldr x9, [x9, #32]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #16]
ldr s1, [sp, #20]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #32]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB70_10
b LBB70_3
LBB70_3:
ldr s1, [sp, #16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [sp, #24]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB70_8
b LBB70_4
LBB70_4:
ldr x9, [sp, #8]
ldr x8, [x9, #40]
add x8, x8, #1
str x8, [x9, #40]
ldr x8, [sp, #8]
ldr x9, [x8, #48]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB70_6
b LBB70_5
LBB70_5:
ldr x8, [sp, #72]
ldrsw x8, [x8]
str x8, [sp, #48]
ldr x10, [sp, #48]
ldr x9, [sp, #8]
ldr x8, [x9]
add x8, x8, x10
str x8, [x9]
b LBB70_7
LBB70_6:
ldr x8, [sp, #72]
ldr d0, [x8]
str d0, [sp, #40]
ldr d1, [sp, #40]
ldr x8, [sp, #8]
ldr d0, [x8, #8]
fadd d0, d0, d1
str d0, [x8, #8]
b LBB70_7
LBB70_7:
b LBB70_9
LBB70_8:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9, #64]
b LBB70_9
LBB70_9:
b LBB70_10
LBB70_10:
ldr x10, [sp, #64]
ldr x9, [sp, #8]
ldr x8, [x9, #32]
add x8, x8, x10
str x8, [x9, #32]
b LBB70_11
LBB70_11:
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @RegisterExtensionFunctions.aFuncs
_RegisterExtensionFunctions.aFuncs:
.quad l_.str
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _acosFunc
.quad l_.str.1
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _asinFunc
.quad l_.str.2
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _atanFunc
.quad l_.str.3
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _atn2Func
.quad l_.str.4
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _atn2Func
.quad l_.str.5
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _acoshFunc
.quad l_.str.6
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _asinhFunc
.quad l_.str.7
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _atanhFunc
.quad l_.str.8
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _differenceFunc
.quad l_.str.9
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _rad2degFunc
.quad l_.str.10
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _deg2radFunc
.quad l_.str.11
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _cosFunc
.quad l_.str.12
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _sinFunc
.quad l_.str.13
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _tanFunc
.quad l_.str.14
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _cotFunc
.quad l_.str.15
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _coshFunc
.quad l_.str.16
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _sinhFunc
.quad l_.str.17
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _tanhFunc
.quad l_.str.18
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _cothFunc
.quad l_.str.19
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _expFunc
.quad l_.str.20
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _logFunc
.quad l_.str.21
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _log10Func
.quad l_.str.22
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _powerFunc
.quad l_.str.23
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _signFunc
.quad l_.str.24
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _sqrtFunc
.quad l_.str.25
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _squareFunc
.quad l_.str.26
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _ceilFunc
.quad l_.str.27
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _floorFunc
.quad l_.str.28
.byte 0 ; 0x0
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 1 ; 0x1
.space 4
.quad _piFunc
.quad l_.str.29
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _replicateFunc
.quad l_.str.30
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _charindexFunc
.quad l_.str.30
.byte 3 ; 0x3
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _charindexFunc
.quad l_.str.31
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _leftFunc
.quad l_.str.32
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _rightFunc
.quad l_.str.33
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _reverseFunc
.quad l_.str.34
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _properFunc
.quad l_.str.35
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _padlFunc
.quad l_.str.36
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _padrFunc
.quad l_.str.37
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _padcFunc
.quad l_.str.38
.byte 2 ; 0x2
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 0 ; 0x0
.space 4
.quad _strfilterFunc
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "acos"
l_.str.1: ; @.str.1
.asciz "asin"
l_.str.2: ; @.str.2
.asciz "atan"
l_.str.3: ; @.str.3
.asciz "atn2"
l_.str.4: ; @.str.4
.asciz "atan2"
l_.str.5: ; @.str.5
.asciz "acosh"
l_.str.6: ; @.str.6
.asciz "asinh"
l_.str.7: ; @.str.7
.asciz "atanh"
l_.str.8: ; @.str.8
.asciz "difference"
l_.str.9: ; @.str.9
.asciz "degrees"
l_.str.10: ; @.str.10
.asciz "radians"
l_.str.11: ; @.str.11
.asciz "cos"
l_.str.12: ; @.str.12
.asciz "sin"
l_.str.13: ; @.str.13
.asciz "tan"
l_.str.14: ; @.str.14
.asciz "cot"
l_.str.15: ; @.str.15
.asciz "cosh"
l_.str.16: ; @.str.16
.asciz "sinh"
l_.str.17: ; @.str.17
.asciz "tanh"
l_.str.18: ; @.str.18
.asciz "coth"
l_.str.19: ; @.str.19
.asciz "exp"
l_.str.20: ; @.str.20
.asciz "log"
l_.str.21: ; @.str.21
.asciz "log10"
l_.str.22: ; @.str.22
.asciz "power"
l_.str.23: ; @.str.23
.asciz "sign"
l_.str.24: ; @.str.24
.asciz "sqrt"
l_.str.25: ; @.str.25
.asciz "square"
l_.str.26: ; @.str.26
.asciz "ceil"
l_.str.27: ; @.str.27
.asciz "floor"
l_.str.28: ; @.str.28
.asciz "pi"
l_.str.29: ; @.str.29
.asciz "replicate"
l_.str.30: ; @.str.30
.asciz "charindex"
l_.str.31: ; @.str.31
.asciz "leftstr"
l_.str.32: ; @.str.32
.asciz "rightstr"
l_.str.33: ; @.str.33
.asciz "reverse"
l_.str.34: ; @.str.34
.asciz "proper"
l_.str.35: ; @.str.35
.asciz "padl"
l_.str.36: ; @.str.36
.asciz "padr"
l_.str.37: ; @.str.37
.asciz "padc"
l_.str.38: ; @.str.38
.asciz "strfilter"
.section __DATA,__const
.p2align 3 ; @RegisterExtensionFunctions.aAggs
_RegisterExtensionFunctions.aAggs:
.quad l_.str.39
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 0 ; 0x0
.space 5
.quad _varianceStep
.quad _stdevFinalize
.quad l_.str.40
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 0 ; 0x0
.space 5
.quad _varianceStep
.quad _varianceFinalize
.quad l_.str.41
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 0 ; 0x0
.space 5
.quad _modeStep
.quad _modeFinalize
.quad l_.str.42
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 0 ; 0x0
.space 5
.quad _modeStep
.quad _medianFinalize
.quad l_.str.43
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 0 ; 0x0
.space 5
.quad _modeStep
.quad _lower_quartileFinalize
.quad l_.str.44
.byte 1 ; 0x1
.byte 0 ; 0x0
.byte 0 ; 0x0
.space 5
.quad _modeStep
.quad _upper_quartileFinalize
.section __TEXT,__cstring,cstring_literals
l_.str.39: ; @.str.39
.asciz "stdev"
l_.str.40: ; @.str.40
.asciz "variance"
l_.str.41: ; @.str.41
.asciz "mode"
l_.str.42: ; @.str.42
.asciz "median"
l_.str.43: ; @.str.43
.asciz "lower_quartile"
l_.str.44: ; @.str.44
.asciz "upper_quartile"
l_.str.45: ; @.str.45
.asciz "for node"
l_.str.46: ; @.str.46
.asciz "%d => %lld\n"
l___func__.acosFunc: ; @__func__.acosFunc
.asciz "acosFunc"
l_.str.47: ; @.str.47
.asciz "170453664.c"
l_.str.48: ; @.str.48
.asciz "argc==1"
l___func__.asinFunc: ; @__func__.asinFunc
.asciz "asinFunc"
l___func__.atanFunc: ; @__func__.atanFunc
.asciz "atanFunc"
l___func__.atn2Func: ; @__func__.atn2Func
.asciz "atn2Func"
l_.str.49: ; @.str.49
.asciz "argc==2"
l___func__.acoshFunc: ; @__func__.acoshFunc
.asciz "acoshFunc"
l___func__.asinhFunc: ; @__func__.asinhFunc
.asciz "asinhFunc"
l___func__.atanhFunc: ; @__func__.atanhFunc
.asciz "atanhFunc"
l___func__.differenceFunc: ; @__func__.differenceFunc
.asciz "differenceFunc"
.section __TEXT,__const
_soundex.iCode: ; @soundex.iCode
.asciz "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\002\003\000\001\002\000\000\002\002\004\005\005\000\001\002\006\002\003\000\001\000\002\000\002\000\000\000\000\000\000\000\001\002\003\000\001\002\000\000\002\002\004\005\005\000\001\002\006\002\003\000\001\000\002\000\002\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
l_.str.50: ; @.str.50
.asciz "?000"
.section __TEXT,__const
_xtra_utf8_bytes: ; @xtra_utf8_bytes
.ascii "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\003\003\003\003\003\003\003\003\004\004\004\004\004\004\004\004"
.p2align 2 ; @xtra_utf8_bits
_xtra_utf8_bits:
.long 0 ; 0x0
.long 12416 ; 0x3080
.long 925824 ; 0xe2080
.long 63447168 ; 0x3c82080
.p2align 2 ; @utf_mask
_utf_mask:
.long 0 ; 0x0
.long 4294967168 ; 0xffffff80
.long 4294965248 ; 0xfffff800
.long 4294901760 ; 0xffff0000
.section __TEXT,__cstring,cstring_literals
l___func__.rad2degFunc: ; @__func__.rad2degFunc
.asciz "rad2degFunc"
l___func__.deg2radFunc: ; @__func__.deg2radFunc
.asciz "deg2radFunc"
l___func__.cosFunc: ; @__func__.cosFunc
.asciz "cosFunc"
l___func__.sinFunc: ; @__func__.sinFunc
.asciz "sinFunc"
l___func__.tanFunc: ; @__func__.tanFunc
.asciz "tanFunc"
l___func__.cotFunc: ; @__func__.cotFunc
.asciz "cotFunc"
l___func__.coshFunc: ; @__func__.coshFunc
.asciz "coshFunc"
l___func__.sinhFunc: ; @__func__.sinhFunc
.asciz "sinhFunc"
l___func__.tanhFunc: ; @__func__.tanhFunc
.asciz "tanhFunc"
l___func__.cothFunc: ; @__func__.cothFunc
.asciz "cothFunc"
l___func__.expFunc: ; @__func__.expFunc
.asciz "expFunc"
l___func__.logFunc: ; @__func__.logFunc
.asciz "logFunc"
l___func__.log10Func: ; @__func__.log10Func
.asciz "log10Func"
l___func__.powerFunc: ; @__func__.powerFunc
.asciz "powerFunc"
l___func__.signFunc: ; @__func__.signFunc
.asciz "signFunc"
l___func__.sqrtFunc: ; @__func__.sqrtFunc
.asciz "sqrtFunc"
l___func__.squareFunc: ; @__func__.squareFunc
.asciz "squareFunc"
l___func__.ceilFunc: ; @__func__.ceilFunc
.asciz "ceilFunc"
l___func__.floorFunc: ; @__func__.floorFunc
.asciz "floorFunc"
l_.str.51: ; @.str.51
.asciz "domain error"
l___func__.charindexFunc: ; @__func__.charindexFunc
.asciz "charindexFunc"
l_.str.52: ; @.str.52
.asciz "argc==3 ||argc==2"
l___func__.leftFunc: ; @__func__.leftFunc
.asciz "leftFunc"
l___func__.rightFunc: ; @__func__.rightFunc
.asciz "rightFunc"
l___func__.reverseFunc: ; @__func__.reverseFunc
.asciz "reverseFunc"
l_.str.53: ; @.str.53
.asciz "1==argc"
l___func__.properFunc: ; @__func__.properFunc
.asciz "properFunc"
l___func__.padlFunc: ; @__func__.padlFunc
.asciz "padlFunc"
l___func__.sqlite3Utf8CharLen: ; @__func__.sqlite3Utf8CharLen
.asciz "sqlite3Utf8CharLen"
l_.str.54: ; @.str.54
.asciz "z<=zTerm"
l___func__.padrFunc: ; @__func__.padrFunc
.asciz "padrFunc"
l___func__.padcFunc: ; @__func__.padcFunc
.asciz "padcFunc"
l___func__.strfilterFunc: ; @__func__.strfilterFunc
.asciz "strfilterFunc"
l___func__.varianceStep: ; @__func__.varianceStep
.asciz "varianceStep"
l___func__.modeStep: ; @__func__.modeStep
.asciz "modeStep"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RegisterExtensionFunctions ## -- Begin function RegisterExtensionFunctions
.p2align 4, 0x90
_RegisterExtensionFunctions: ## @RegisterExtensionFunctions
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -12(%rbp), %rax
cmpq $40, %rax
jae LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq $0, -24(%rbp)
movslq -12(%rbp), %rax
leaq (%rax,%rax,2), %rcx
leaq _RegisterExtensionFunctions.aFuncs(%rip), %rax
movzbl 9(%rax,%rcx,8), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB0_3
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_4
jmp LBB0_5
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq $-1, %rax
movq %rax, -24(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rdi
movslq -12(%rbp), %rcx
leaq _RegisterExtensionFunctions.aFuncs(%rip), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rsi
movslq -12(%rbp), %rcx
leaq _RegisterExtensionFunctions.aFuncs(%rip), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movsbl 8(%rax), %edx
movslq -12(%rbp), %rcx
leaq _RegisterExtensionFunctions.aFuncs(%rip), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movzbl 10(%rax), %ecx
movq -24(%rbp), %r8
movslq -12(%rbp), %r9
leaq _RegisterExtensionFunctions.aFuncs(%rip), %rax
imulq $24, %r9, %r9
addq %r9, %rax
movq 16(%rax), %r9
xorl %eax, %eax
## kill: def $rax killed $eax
movq $0, (%rsp)
movq $0, 8(%rsp)
movq $0, 16(%rsp)
callq _sqlite3_create_function_v2
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_7:
movl $0, -12(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
movslq -12(%rbp), %rax
cmpq $6, %rax
jae LBB0_14
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq $0, -32(%rbp)
movslq -12(%rbp), %rax
shlq $5, %rax
leaq _RegisterExtensionFunctions.aAggs(%rip), %rcx
movzbl 9(%rax,%rcx), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB0_10
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
movl -40(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_11
jmp LBB0_12
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movq $-1, %rax
movq %rax, -32(%rbp)
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movq -8(%rbp), %rdi
movslq -12(%rbp), %rcx
leaq _RegisterExtensionFunctions.aAggs(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rsi
movslq -12(%rbp), %rcx
leaq _RegisterExtensionFunctions.aAggs(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movsbl 8(%rax), %edx
movq -32(%rbp), %r8
movslq -12(%rbp), %rcx
leaq _RegisterExtensionFunctions.aAggs(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq 16(%rax), %r10
movslq -12(%rbp), %rcx
leaq _RegisterExtensionFunctions.aAggs(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq 24(%rax), %rax
movl $1, %ecx
xorl %r9d, %r9d
## kill: def $r9 killed $r9d
movq %r10, (%rsp)
movq %rax, 8(%rsp)
callq _sqlite3_create_function
## %bb.13: ## in Loop: Header=BB0_8 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_8
LBB0_14:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function acosFunc
_acosFunc: ## @acosFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.acosFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $387, %edx ## imm = 0x183
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB1_5
jmp LBB1_4
LBB1_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB1_9
LBB1_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _acos
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB1_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB1_8
LBB1_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB1_8:
jmp LBB1_9
LBB1_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function asinFunc
_asinFunc: ## @asinFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_2
## %bb.1:
leaq L___func__.asinFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $388, %edx ## imm = 0x184
callq ___assert_rtn
LBB2_2:
jmp LBB2_3
LBB2_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB2_5
jmp LBB2_4
LBB2_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB2_9
LBB2_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _asin
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB2_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB2_8
LBB2_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB2_8:
jmp LBB2_9
LBB2_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function atanFunc
_atanFunc: ## @atanFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB3_2
## %bb.1:
leaq L___func__.atanFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $389, %edx ## imm = 0x185
callq ___assert_rtn
LBB3_2:
jmp LBB3_3
LBB3_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB3_5
jmp LBB3_4
LBB3_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB3_9
LBB3_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _atan
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB3_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB3_8
LBB3_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB3_8:
jmp LBB3_9
LBB3_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function atn2Func
_atn2Func: ## @atn2Func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB4_2
## %bb.1:
leaq L___func__.atn2Func(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $579, %edx ## imm = 0x243
callq ___assert_rtn
LBB4_2:
jmp LBB4_3
LBB4_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
je LBB4_5
## %bb.4:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
jne LBB4_6
LBB4_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB4_7
LBB4_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -40(%rbp)
movq -8(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _atan2
movq -48(%rbp), %rdi ## 8-byte Reload
callq _sqlite3_result_double
LBB4_7:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function acoshFunc
_acoshFunc: ## @acoshFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB5_2
## %bb.1:
leaq L___func__.acoshFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $403, %edx ## imm = 0x193
callq ___assert_rtn
LBB5_2:
jmp LBB5_3
LBB5_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB5_5
jmp LBB5_4
LBB5_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB5_9
LBB5_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _acosh
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB5_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB5_8
LBB5_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB5_8:
jmp LBB5_9
LBB5_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function asinhFunc
_asinhFunc: ## @asinhFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB6_2
## %bb.1:
leaq L___func__.asinhFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $411, %edx ## imm = 0x19B
callq ___assert_rtn
LBB6_2:
jmp LBB6_3
LBB6_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB6_5
jmp LBB6_4
LBB6_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB6_9
LBB6_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _asinh
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB6_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB6_8
LBB6_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB6_8:
jmp LBB6_9
LBB6_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function atanhFunc
_atanhFunc: ## @atanhFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB7_2
## %bb.1:
leaq L___func__.atanhFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $419, %edx ## imm = 0x1A3
callq ___assert_rtn
LBB7_2:
jmp LBB7_3
LBB7_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB7_5
jmp LBB7_4
LBB7_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB7_9
LBB7_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _atanh
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB7_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB7_8
LBB7_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB7_8:
jmp LBB7_9
LBB7_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function differenceFunc
_differenceFunc: ## @differenceFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -32(%rbp)
movl %esi, -36(%rbp)
movq %rdx, -48(%rbp)
leaq -16(%rbp), %rax
movq %rax, -56(%rbp)
leaq -24(%rbp), %rax
movq %rax, -64(%rbp)
movl $0, -68(%rbp)
movl $0, -72(%rbp)
cmpl $2, -36(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB8_2
## %bb.1:
leaq L___func__.differenceFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $1689, %edx ## imm = 0x699
callq ___assert_rtn
LBB8_2:
jmp LBB8_3
LBB8_3:
movq -48(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
je LBB8_5
## %bb.4:
movq -48(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
jne LBB8_6
LBB8_5:
movq -32(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB8_19
LBB8_6:
movq -48(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -80(%rbp)
movq -48(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_text
movq %rax, -88(%rbp)
movq -80(%rbp), %rdi
movq -56(%rbp), %rsi
callq _soundex
movq -88(%rbp), %rdi
movq -64(%rbp), %rsi
callq _soundex
movl $0, -72(%rbp)
LBB8_7: ## =>This Loop Header: Depth=1
## Child Loop BB8_11 Depth 2
## Child Loop BB8_14 Depth 2
cmpl $4, -72(%rbp)
jge LBB8_18
## %bb.8: ## in Loop: Header=BB8_7 Depth=1
movq -56(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, -92(%rbp) ## 4-byte Spill
movq -64(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, %ecx
movl -92(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB8_10
## %bb.9: ## in Loop: Header=BB8_7 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
LBB8_10: ## in Loop: Header=BB8_7 Depth=1
jmp LBB8_11
LBB8_11: ## Parent Loop BB8_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -56(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB8_13
## %bb.12: ## in Loop: Header=BB8_11 Depth=2
jmp LBB8_11
LBB8_13: ## in Loop: Header=BB8_7 Depth=1
jmp LBB8_14
LBB8_14: ## Parent Loop BB8_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -64(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -64(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB8_16
## %bb.15: ## in Loop: Header=BB8_14 Depth=2
jmp LBB8_14
LBB8_16: ## in Loop: Header=BB8_7 Depth=1
jmp LBB8_17
LBB8_17: ## in Loop: Header=BB8_7 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB8_7
LBB8_18:
movq -32(%rbp), %rdi
movl -68(%rbp), %esi
callq _sqlite3_result_int
LBB8_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB8_21
## %bb.20:
addq $96, %rsp
popq %rbp
retq
LBB8_21:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function rad2degFunc
_rad2degFunc: ## @rad2degFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB9_2
## %bb.1:
leaq L___func__.rad2degFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $507, %edx ## imm = 0x1FB
callq ___assert_rtn
LBB9_2:
jmp LBB9_3
LBB9_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB9_5
jmp LBB9_4
LBB9_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB9_9
LBB9_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _rad2deg
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB9_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB9_8
LBB9_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB9_8:
jmp LBB9_9
LBB9_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function deg2radFunc
_deg2radFunc: ## @deg2radFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB10_2
## %bb.1:
leaq L___func__.deg2radFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $508, %edx ## imm = 0x1FC
callq ___assert_rtn
LBB10_2:
jmp LBB10_3
LBB10_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB10_5
jmp LBB10_4
LBB10_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB10_9
LBB10_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _deg2rad
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB10_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB10_8
LBB10_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB10_8:
jmp LBB10_9
LBB10_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function cosFunc
_cosFunc: ## @cosFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB11_2
## %bb.1:
leaq L___func__.cosFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $429, %edx ## imm = 0x1AD
callq ___assert_rtn
LBB11_2:
jmp LBB11_3
LBB11_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB11_5
jmp LBB11_4
LBB11_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB11_9
LBB11_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cos
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB11_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB11_8
LBB11_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB11_8:
jmp LBB11_9
LBB11_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sinFunc
_sinFunc: ## @sinFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB12_2
## %bb.1:
leaq L___func__.sinFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $428, %edx ## imm = 0x1AC
callq ___assert_rtn
LBB12_2:
jmp LBB12_3
LBB12_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB12_5
jmp LBB12_4
LBB12_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB12_9
LBB12_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sin
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB12_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB12_8
LBB12_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB12_8:
jmp LBB12_9
LBB12_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function tanFunc
_tanFunc: ## @tanFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB13_2
## %bb.1:
leaq L___func__.tanFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $430, %edx ## imm = 0x1AE
callq ___assert_rtn
LBB13_2:
jmp LBB13_3
LBB13_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB13_5
jmp LBB13_4
LBB13_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB13_9
LBB13_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tan
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB13_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB13_8
LBB13_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB13_8:
jmp LBB13_9
LBB13_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function cotFunc
_cotFunc: ## @cotFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB14_2
## %bb.1:
leaq L___func__.cotFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $431, %edx ## imm = 0x1AF
callq ___assert_rtn
LBB14_2:
jmp LBB14_3
LBB14_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB14_5
jmp LBB14_4
LBB14_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB14_9
LBB14_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cot
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB14_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB14_8
LBB14_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB14_8:
jmp LBB14_9
LBB14_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function coshFunc
_coshFunc: ## @coshFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB15_2
## %bb.1:
leaq L___func__.coshFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $455, %edx ## imm = 0x1C7
callq ___assert_rtn
LBB15_2:
jmp LBB15_3
LBB15_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB15_5
jmp LBB15_4
LBB15_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB15_9
LBB15_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cosh
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB15_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB15_8
LBB15_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB15_8:
jmp LBB15_9
LBB15_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sinhFunc
_sinhFunc: ## @sinhFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB16_2
## %bb.1:
leaq L___func__.sinhFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $447, %edx ## imm = 0x1BF
callq ___assert_rtn
LBB16_2:
jmp LBB16_3
LBB16_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB16_5
jmp LBB16_4
LBB16_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB16_9
LBB16_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sinh
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB16_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB16_8
LBB16_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB16_8:
jmp LBB16_9
LBB16_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function tanhFunc
_tanhFunc: ## @tanhFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB17_2
## %bb.1:
leaq L___func__.tanhFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $463, %edx ## imm = 0x1CF
callq ___assert_rtn
LBB17_2:
jmp LBB17_3
LBB17_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB17_5
jmp LBB17_4
LBB17_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB17_9
LBB17_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tanh
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB17_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB17_8
LBB17_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB17_8:
jmp LBB17_9
LBB17_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function cothFunc
_cothFunc: ## @cothFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB18_2
## %bb.1:
leaq L___func__.cothFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $465, %edx ## imm = 0x1D1
callq ___assert_rtn
LBB18_2:
jmp LBB18_3
LBB18_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB18_5
jmp LBB18_4
LBB18_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB18_9
LBB18_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _coth
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB18_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB18_8
LBB18_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB18_8:
jmp LBB18_9
LBB18_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function expFunc
_expFunc: ## @expFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB19_2
## %bb.1:
leaq L___func__.expFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $483, %edx ## imm = 0x1E3
callq ___assert_rtn
LBB19_2:
jmp LBB19_3
LBB19_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB19_5
jmp LBB19_4
LBB19_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB19_9
LBB19_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _exp
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB19_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB19_8
LBB19_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB19_8:
jmp LBB19_9
LBB19_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function logFunc
_logFunc: ## @logFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB20_2
## %bb.1:
leaq L___func__.logFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $481, %edx ## imm = 0x1E1
callq ___assert_rtn
LBB20_2:
jmp LBB20_3
LBB20_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB20_5
jmp LBB20_4
LBB20_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB20_9
LBB20_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _log
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB20_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB20_8
LBB20_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB20_8:
jmp LBB20_9
LBB20_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function log10Func
_log10Func: ## @log10Func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB21_2
## %bb.1:
leaq L___func__.log10Func(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $482, %edx ## imm = 0x1E2
callq ___assert_rtn
LBB21_2:
jmp LBB21_3
LBB21_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB21_5
jmp LBB21_4
LBB21_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB21_9
LBB21_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _log10
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB21_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB21_8
LBB21_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB21_8:
jmp LBB21_9
LBB21_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function powerFunc
_powerFunc: ## @powerFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB22_2
## %bb.1:
leaq L___func__.powerFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $555, %edx ## imm = 0x22B
callq ___assert_rtn
LBB22_2:
jmp LBB22_3
LBB22_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
je LBB22_5
## %bb.4:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
jne LBB22_6
LBB22_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB22_10
LBB22_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -40(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -48(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB22_8
## %bb.7:
movq -8(%rbp), %rdi
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB22_9
LBB22_8:
movq -8(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movq -64(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB22_9:
jmp LBB22_10
LBB22_10:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function signFunc
_signFunc: ## @signFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
movq $0, -40(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB23_2
## %bb.1:
leaq L___func__.signFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $599, %edx ## imm = 0x257
callq ___assert_rtn
LBB23_2:
jmp LBB23_3
LBB23_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB23_4
jmp LBB23_14
LBB23_14:
movl -44(%rbp), %eax ## 4-byte Reload
subl $5, %eax
je LBB23_8
jmp LBB23_9
LBB23_4:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jle LBB23_6
## %bb.5:
movl $1, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB23_7
LBB23_6:
movq -40(%rbp), %rdx
xorl %eax, %eax
movl $4294967295, %ecx ## imm = 0xFFFFFFFF
cmpq $0, %rdx
cmovll %ecx, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
LBB23_7:
movl -48(%rbp), %eax ## 4-byte Reload
cltq
movq %rax, -40(%rbp)
movq -8(%rbp), %rdi
movq -40(%rbp), %rsi
callq _sqlite3_result_int64
jmp LBB23_13
LBB23_8:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB23_13
LBB23_9:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB23_11
## %bb.10:
movl $1, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB23_12
LBB23_11:
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
xorps %xmm0, %xmm0
xorl %eax, %eax
movl $4294967295, %ecx ## imm = 0xFFFFFFFF
ucomisd %xmm1, %xmm0
cmoval %ecx, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
LBB23_12:
movl -52(%rbp), %eax ## 4-byte Reload
cvtsi2sd %eax, %xmm0
movsd %xmm0, -32(%rbp)
movq -8(%rbp), %rdi
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
LBB23_13:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sqrtFunc
_sqrtFunc: ## @sqrtFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB24_2
## %bb.1:
leaq L___func__.sqrtFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $384, %edx ## imm = 0x180
callq ___assert_rtn
LBB24_2:
jmp LBB24_3
LBB24_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
subl $5, %eax
jne LBB24_5
jmp LBB24_4
LBB24_4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB24_9
LBB24_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
callq ___error
movl $0, (%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
sqrtsd %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
callq ___error
cmpl $0, (%rax)
jne LBB24_7
## %bb.6:
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
jmp LBB24_8
LBB24_7:
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -48(%rbp) ## 8-byte Spill
callq ___error
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
callq _sqlite3_result_error
LBB24_8:
jmp LBB24_9
LBB24_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function squareFunc
_squareFunc: ## @squareFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq $0, -32(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB25_2
## %bb.1:
leaq L___func__.squareFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $523, %edx ## imm = 0x20B
callq ___assert_rtn
LBB25_2:
jmp LBB25_3
LBB25_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB25_4
jmp LBB25_8
LBB25_8:
movl -44(%rbp), %eax ## 4-byte Reload
subl $5, %eax
je LBB25_5
jmp LBB25_6
LBB25_4:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -32(%rbp)
movq -8(%rbp), %rdi
movq -32(%rbp), %rsi
imulq -32(%rbp), %rsi
callq _sqlite3_result_int64
jmp LBB25_7
LBB25_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB25_7
LBB25_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -40(%rbp)
movq -8(%rbp), %rdi
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -40(%rbp), %xmm0
callq _sqlite3_result_double
LBB25_7:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function ceilFunc
_ceilFunc: ## @ceilFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB26_2
## %bb.1:
leaq L___func__.ceilFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $629, %edx ## imm = 0x275
callq ___assert_rtn
LBB26_2:
jmp LBB26_3
LBB26_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB26_4
jmp LBB26_8
LBB26_8:
movl -44(%rbp), %eax ## 4-byte Reload
subl $5, %eax
je LBB26_5
jmp LBB26_6
LBB26_4:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -40(%rbp)
movq -8(%rbp), %rdi
movq -40(%rbp), %rsi
callq _sqlite3_result_int64
jmp LBB26_7
LBB26_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB26_7
LBB26_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
movq -8(%rbp), %rdi
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
roundsd $10, %xmm0, %xmm0
cvttsd2si %xmm0, %rsi
callq _sqlite3_result_int64
LBB26_7:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function floorFunc
_floorFunc: ## @floorFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB27_2
## %bb.1:
leaq L___func__.floorFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $654, %edx ## imm = 0x28E
callq ___assert_rtn
LBB27_2:
jmp LBB27_3
LBB27_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB27_4
jmp LBB27_8
LBB27_8:
movl -44(%rbp), %eax ## 4-byte Reload
subl $5, %eax
je LBB27_5
jmp LBB27_6
LBB27_4:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -40(%rbp)
movq -8(%rbp), %rdi
movq -40(%rbp), %rsi
callq _sqlite3_result_int64
jmp LBB27_7
LBB27_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB27_7
LBB27_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -32(%rbp)
movq -8(%rbp), %rdi
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %rsi
callq _sqlite3_result_int64
LBB27_7:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function piFunc
LCPI28_0:
.quad 0x400921fb54442d18 ## double 3.1415926535897931
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_piFunc: ## @piFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
movsd LCPI28_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function replicateFunc
_replicateFunc: ## @replicateFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq $0, -72(%rbp)
cmpl $2, -12(%rbp)
jne LBB29_2
## %bb.1:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
jne LBB29_3
LBB29_2:
jmp LBB29_17
LBB29_3:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jge LBB29_5
## %bb.4:
movq -8(%rbp), %rdi
leaq L_.str.51(%rip), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
callq _sqlite3_result_error
jmp LBB29_17
LBB29_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_bytes
cltq
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
imulq -48(%rbp), %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -32(%rbp)
movq -56(%rbp), %rax
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -40(%rbp)
cmpq $0, -32(%rbp)
je LBB29_7
## %bb.6:
cmpq $0, -40(%rbp)
jne LBB29_12
LBB29_7:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
cmpq $0, -32(%rbp)
je LBB29_9
## %bb.8:
movq -32(%rbp), %rdi
callq _sqlite3_free
LBB29_9:
cmpq $0, -40(%rbp)
je LBB29_11
## %bb.10:
movq -40(%rbp), %rdi
callq _sqlite3_free
LBB29_11:
jmp LBB29_17
LBB29_12:
movq -40(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq -80(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq $0, -72(%rbp)
LBB29_13: ## =>This Inner Loop Header: Depth=1
movq -72(%rbp), %rax
cmpq -48(%rbp), %rax
jge LBB29_16
## %bb.14: ## in Loop: Header=BB29_13 Depth=1
movq -32(%rbp), %rdi
movq -72(%rbp), %rax
imulq -56(%rbp), %rax
addq %rax, %rdi
movq -40(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
## %bb.15: ## in Loop: Header=BB29_13 Depth=1
movq -72(%rbp), %rax
addq $1, %rax
movq %rax, -72(%rbp)
jmp LBB29_13
LBB29_16:
movq -8(%rbp), %rdi
movq -32(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -32(%rbp), %rdi
callq _sqlite3_free
movq -40(%rbp), %rdi
callq _sqlite3_free
LBB29_17:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function charindexFunc
_charindexFunc: ## @charindexFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
movb $1, %al
cmpl $3, -12(%rbp)
movb %al, -49(%rbp) ## 1-byte Spill
je LBB30_2
## %bb.1:
cmpl $2, -12(%rbp)
sete %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB30_2:
movb -49(%rbp), %al ## 1-byte Reload
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB30_4
## %bb.3:
leaq L___func__.charindexFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.52(%rip), %rcx
movl $1047, %edx ## imm = 0x417
callq ___assert_rtn
LBB30_4:
jmp LBB30_5
LBB30_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
je LBB30_7
## %bb.6:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
jne LBB30_8
LBB30_7:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB30_16
LBB30_8:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB30_10
## %bb.9:
jmp LBB30_16
LBB30_10:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_text
movq %rax, -40(%rbp)
cmpl $3, -12(%rbp)
jne LBB30_14
## %bb.11:
movq -24(%rbp), %rax
movq 16(%rax), %rdi
callq _sqlite3_value_int
subl $1, %eax
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jge LBB30_13
## %bb.12:
movl $0, -44(%rbp)
LBB30_13:
jmp LBB30_15
LBB30_14:
movl $0, -44(%rbp)
LBB30_15:
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movl -44(%rbp), %edx
xorl %eax, %eax
movl %eax, %ecx
callq __substr
movl %eax, -48(%rbp)
movq -8(%rbp), %rdi
movl -48(%rbp), %esi
addl $1, %esi
callq _sqlite3_result_int
LBB30_16:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function leftFunc
_leftFunc: ## @leftFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB31_2
## %bb.1:
leaq L___func__.leftFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $1082, %edx ## imm = 0x43A
callq ___assert_rtn
LBB31_2:
jmp LBB31_3
LBB31_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
je LBB31_5
## %bb.4:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
jne LBB31_6
LBB31_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB31_17
LBB31_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_int
movl %eax, -36(%rbp)
movq -48(%rbp), %rax
movq %rax, -56(%rbp)
LBB31_7: ## =>This Loop Header: Depth=1
## Child Loop BB31_11 Depth 2
movq -56(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -65(%rbp) ## 1-byte Spill
je LBB31_9
## %bb.8: ## in Loop: Header=BB31_7 Depth=1
movl -28(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -28(%rbp)
cmpl -36(%rbp), %eax
setl %al
movb %al, -65(%rbp) ## 1-byte Spill
LBB31_9: ## in Loop: Header=BB31_7 Depth=1
movb -65(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB31_10
jmp LBB31_14
LBB31_10: ## in Loop: Header=BB31_7 Depth=1
jmp LBB31_11
LBB31_11: ## Parent Loop BB31_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -56(%rbp)
movzbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB31_13
## %bb.12: ## in Loop: Header=BB31_11 Depth=2
jmp LBB31_11
LBB31_13: ## in Loop: Header=BB31_7 Depth=1
jmp LBB31_7
LBB31_14:
movq -56(%rbp), %rax
movq -48(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -32(%rbp)
movq -56(%rbp), %rax
movq -48(%rbp), %rcx
subq %rcx, %rax
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB31_16
## %bb.15:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB31_17
LBB31_16:
movq -64(%rbp), %rdi
movq -48(%rbp), %rsi
movq -56(%rbp), %rdx
movq -48(%rbp), %rax
subq %rax, %rdx
movq $-1, %rcx
callq ___strncpy_chk
movq -64(%rbp), %rax
movslq -32(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -8(%rbp), %rdi
movq -64(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -64(%rbp), %rdi
callq _sqlite3_free
LBB31_17:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function rightFunc
_rightFunc: ## @rightFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB32_2
## %bb.1:
leaq L___func__.rightFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $1122, %edx ## imm = 0x462
callq ___assert_rtn
LBB32_2:
jmp LBB32_3
LBB32_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
je LBB32_5
## %bb.4:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
jne LBB32_6
LBB32_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB32_23
LBB32_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_int
movl %eax, -28(%rbp)
movq -48(%rbp), %rax
movq %rax, -56(%rbp)
LBB32_7: ## =>This Loop Header: Depth=1
## Child Loop BB32_9 Depth 2
movq -56(%rbp), %rdi
callq _sqlite3ReadUtf8
cmpl $0, %eax
je LBB32_12
## %bb.8: ## in Loop: Header=BB32_7 Depth=1
jmp LBB32_9
LBB32_9: ## Parent Loop BB32_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -56(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB32_11
## %bb.10: ## in Loop: Header=BB32_9 Depth=2
jmp LBB32_9
LBB32_11: ## in Loop: Header=BB32_7 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB32_7
LBB32_12:
movq -56(%rbp), %rax
movq %rax, -64(%rbp)
movq -48(%rbp), %rax
movq %rax, -56(%rbp)
movl -32(%rbp), %eax
subl -28(%rbp), %eax
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
jge LBB32_14
## %bb.13:
movl $0, -36(%rbp)
LBB32_14:
jmp LBB32_15
LBB32_15: ## =>This Loop Header: Depth=1
## Child Loop BB32_17 Depth 2
movl -36(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -36(%rbp)
cmpl $0, %eax
jle LBB32_20
## %bb.16: ## in Loop: Header=BB32_15 Depth=1
jmp LBB32_17
LBB32_17: ## Parent Loop BB32_15 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -56(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB32_19
## %bb.18: ## in Loop: Header=BB32_17 Depth=2
jmp LBB32_17
LBB32_19: ## in Loop: Header=BB32_15 Depth=1
jmp LBB32_15
LBB32_20:
movq -64(%rbp), %rax
movq -56(%rbp), %rcx
subq %rcx, %rax
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB32_22
## %bb.21:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB32_23
LBB32_22:
movq -72(%rbp), %rdi
movq -56(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -8(%rbp), %rdi
movq -72(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -72(%rbp), %rdi
callq _sqlite3_free
LBB32_23:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function reverseFunc
_reverseFunc: ## @reverseFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -60(%rbp)
movl $0, -64(%rbp)
movl $1, %eax
cmpl -12(%rbp), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB33_2
## %bb.1:
leaq L___func__.reverseFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.53(%rip), %rcx
movl $1332, %edx ## imm = 0x534
callq ___assert_rtn
LBB33_2:
jmp LBB33_3
LBB33_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
jne LBB33_5
## %bb.4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB33_18
LBB33_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -60(%rbp)
movl -60(%rbp), %edi
addl $1, %edi
callq _sqlite3_malloc
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB33_7
## %bb.6:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB33_18
LBB33_7:
movq -48(%rbp), %rax
movslq -60(%rbp), %rcx
addq %rcx, %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -56(%rbp)
movb $0, (%rax)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
LBB33_8: ## =>This Loop Header: Depth=1
## Child Loop BB33_10 Depth 2
## Child Loop BB33_13 Depth 2
movq -40(%rbp), %rdi
callq _sqlite3ReadUtf8
cmpl $0, %eax
je LBB33_17
## %bb.9: ## in Loop: Header=BB33_8 Depth=1
movq -40(%rbp), %rax
movq %rax, -32(%rbp)
LBB33_10: ## Parent Loop BB33_8 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB33_12
## %bb.11: ## in Loop: Header=BB33_10 Depth=2
jmp LBB33_10
LBB33_12: ## in Loop: Header=BB33_8 Depth=1
movl $1, -64(%rbp)
LBB33_13: ## Parent Loop BB33_8 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
movslq -64(%rbp), %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
addq %rcx, %rax
cmpq -32(%rbp), %rax
jb LBB33_16
## %bb.14: ## in Loop: Header=BB33_13 Depth=2
movq -40(%rbp), %rax
movslq -64(%rbp), %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
movb (%rax,%rcx), %cl
movq -56(%rbp), %rax
movq %rax, %rdx
addq $-1, %rdx
movq %rdx, -56(%rbp)
movb %cl, (%rax)
## %bb.15: ## in Loop: Header=BB33_13 Depth=2
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB33_13
LBB33_16: ## in Loop: Header=BB33_8 Depth=1
jmp LBB33_8
LBB33_17:
movq -8(%rbp), %rdi
movq -48(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -48(%rbp), %rdi
callq _sqlite3_free
LBB33_18:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function properFunc
_properFunc: ## @properFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $1, -56(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB34_2
## %bb.1:
leaq L___func__.properFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $733, %edx ## imm = 0x2DD
callq ___assert_rtn
LBB34_2:
jmp LBB34_3
LBB34_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
jne LBB34_5
## %bb.4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB34_17
LBB34_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _sqlite3StrDup
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB34_7
## %bb.6:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB34_17
LBB34_7:
movq -40(%rbp), %rax
movq %rax, -48(%rbp)
LBB34_8: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -32(%rbp)
movb (%rax), %al
movb %al, -49(%rbp)
movsbl %al, %eax
cmpl $0, %eax
je LBB34_16
## %bb.9: ## in Loop: Header=BB34_8 Depth=1
movsbl -49(%rbp), %edi
callq _isblank
cmpl $0, %eax
je LBB34_11
## %bb.10: ## in Loop: Header=BB34_8 Depth=1
movl $1, -56(%rbp)
jmp LBB34_15
LBB34_11: ## in Loop: Header=BB34_8 Depth=1
cmpl $1, -56(%rbp)
jne LBB34_13
## %bb.12: ## in Loop: Header=BB34_8 Depth=1
movsbl -49(%rbp), %edi
callq _toupper
## kill: def $al killed $al killed $eax
movb %al, -49(%rbp)
jmp LBB34_14
LBB34_13: ## in Loop: Header=BB34_8 Depth=1
movsbl -49(%rbp), %edi
callq _tolower
## kill: def $al killed $al killed $eax
movb %al, -49(%rbp)
LBB34_14: ## in Loop: Header=BB34_8 Depth=1
movl $0, -56(%rbp)
LBB34_15: ## in Loop: Header=BB34_8 Depth=1
movb -49(%rbp), %cl
movq -48(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -48(%rbp)
movb %cl, (%rax)
jmp LBB34_8
LBB34_16:
movq -48(%rbp), %rax
movb $0, (%rax)
movq -8(%rbp), %rdi
movq -40(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -40(%rbp), %rdi
callq _sqlite3_free
LBB34_17:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function padlFunc
_padlFunc: ## @padlFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -44(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB35_2
## %bb.1:
leaq L___func__.padlFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $780, %edx ## imm = 0x30C
callq ___assert_rtn
LBB35_2:
jmp LBB35_3
LBB35_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
jne LBB35_5
## %bb.4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB35_19
LBB35_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -56(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jge LBB35_7
## %bb.6:
movq -8(%rbp), %rdi
leaq L_.str.51(%rip), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
callq _sqlite3_result_error
jmp LBB35_19
LBB35_7:
movq -56(%rbp), %rdi
movl $4294967295, %esi ## imm = 0xFFFFFFFF
callq _sqlite3Utf8CharLen
cltq
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jl LBB35_11
## %bb.8:
movq -56(%rbp), %rdi
callq _sqlite3StrDup
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB35_10
## %bb.9:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB35_19
LBB35_10:
movq -8(%rbp), %rdi
movq -64(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
jmp LBB35_18
LBB35_11:
movq -56(%rbp), %rdi
callq _strlen
addq -32(%rbp), %rax
subq -40(%rbp), %rax
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB35_13
## %bb.12:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB35_19
LBB35_13:
movq -64(%rbp), %rax
movq %rax, -72(%rbp)
movl $1, -44(%rbp)
LBB35_14: ## =>This Inner Loop Header: Depth=1
movslq -44(%rbp), %rax
addq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jg LBB35_17
## %bb.15: ## in Loop: Header=BB35_14 Depth=1
movq -72(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -72(%rbp)
movb $32, (%rax)
## %bb.16: ## in Loop: Header=BB35_14 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB35_14
LBB35_17:
movq -72(%rbp), %rdi
movq -56(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
LBB35_18:
movq -8(%rbp), %rdi
movq -64(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -64(%rbp), %rdi
callq _sqlite3_free
LBB35_19:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function padrFunc
_padrFunc: ## @padrFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -52(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB36_2
## %bb.1:
leaq L___func__.padrFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $834, %edx ## imm = 0x342
callq ___assert_rtn
LBB36_2:
jmp LBB36_3
LBB36_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
jne LBB36_5
## %bb.4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB36_19
LBB36_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -64(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jge LBB36_7
## %bb.6:
movq -8(%rbp), %rdi
leaq L_.str.51(%rip), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
callq _sqlite3_result_error
jmp LBB36_19
LBB36_7:
movq -64(%rbp), %rdi
movl $4294967295, %esi ## imm = 0xFFFFFFFF
callq _sqlite3Utf8CharLen
cltq
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jl LBB36_11
## %bb.8:
movq -64(%rbp), %rdi
callq _sqlite3StrDup
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB36_10
## %bb.9:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB36_19
LBB36_10:
movq -8(%rbp), %rdi
movq -72(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
jmp LBB36_18
LBB36_11:
movq -64(%rbp), %rdi
callq _strlen
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
addq -32(%rbp), %rax
subq -40(%rbp), %rax
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB36_13
## %bb.12:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB36_19
LBB36_13:
movq -72(%rbp), %rdi
movq -64(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
addq -48(%rbp), %rax
movq %rax, -80(%rbp)
movl $1, -52(%rbp)
LBB36_14: ## =>This Inner Loop Header: Depth=1
movslq -52(%rbp), %rax
addq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jg LBB36_17
## %bb.15: ## in Loop: Header=BB36_14 Depth=1
movq -80(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -80(%rbp)
movb $32, (%rax)
## %bb.16: ## in Loop: Header=BB36_14 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB36_14
LBB36_17:
movq -80(%rbp), %rax
movb $0, (%rax)
LBB36_18:
movq -8(%rbp), %rdi
movq -72(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -72(%rbp), %rdi
callq _sqlite3_free
LBB36_19:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function padcFunc
_padcFunc: ## @padcFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -52(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB37_2
## %bb.1:
leaq L___func__.padcFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $889, %edx ## imm = 0x379
callq ___assert_rtn
LBB37_2:
jmp LBB37_3
LBB37_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
jne LBB37_5
## %bb.4:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB37_23
LBB37_5:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -64(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jge LBB37_7
## %bb.6:
movq -8(%rbp), %rdi
leaq L_.str.51(%rip), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
callq _sqlite3_result_error
jmp LBB37_23
LBB37_7:
movq -64(%rbp), %rdi
movl $4294967295, %esi ## imm = 0xFFFFFFFF
callq _sqlite3Utf8CharLen
cltq
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jl LBB37_11
## %bb.8:
movq -64(%rbp), %rdi
callq _sqlite3StrDup
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB37_10
## %bb.9:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB37_23
LBB37_10:
movq -8(%rbp), %rdi
movq -72(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
jmp LBB37_22
LBB37_11:
movq -64(%rbp), %rdi
callq _strlen
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
addq -32(%rbp), %rax
subq -40(%rbp), %rax
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB37_13
## %bb.12:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB37_23
LBB37_13:
movq -72(%rbp), %rax
movq %rax, -80(%rbp)
movl $1, -52(%rbp)
LBB37_14: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
shll $1, %eax
cltq
addq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jg LBB37_17
## %bb.15: ## in Loop: Header=BB37_14 Depth=1
movq -80(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -80(%rbp)
movb $32, (%rax)
## %bb.16: ## in Loop: Header=BB37_14 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB37_14
LBB37_17:
movq -80(%rbp), %rdi
movq -64(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -48(%rbp), %rax
addq -80(%rbp), %rax
movq %rax, -80(%rbp)
LBB37_18: ## =>This Inner Loop Header: Depth=1
movslq -52(%rbp), %rax
addq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jg LBB37_21
## %bb.19: ## in Loop: Header=BB37_18 Depth=1
movq -80(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -80(%rbp)
movb $32, (%rax)
## %bb.20: ## in Loop: Header=BB37_18 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB37_18
LBB37_21:
movq -80(%rbp), %rax
movb $0, (%rax)
LBB37_22:
movq -8(%rbp), %rdi
movq -72(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -72(%rbp), %rdi
callq _sqlite3_free
LBB37_23:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function strfilterFunc
_strfilterFunc: ## @strfilterFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -84(%rbp)
movl $0, -88(%rbp)
cmpl $2, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB38_2
## %bb.1:
leaq L___func__.strfilterFunc(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.49(%rip), %rcx
movl $948, %edx ## imm = 0x3B4
callq ___assert_rtn
LBB38_2:
jmp LBB38_3
LBB38_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
je LBB38_5
## %bb.4:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_type
cmpl $5, %eax
jne LBB38_6
LBB38_5:
movq -8(%rbp), %rdi
callq _sqlite3_result_null
jmp LBB38_28
LBB38_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_text
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _sqlite3_value_text
movq %rax, -40(%rbp)
movq -32(%rbp), %rdi
callq _strlen
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB38_8
## %bb.7:
movq -8(%rbp), %rdi
callq _sqlite3_result_error_nomem
jmp LBB38_28
LBB38_8:
movq -72(%rbp), %rax
movq %rax, -80(%rbp)
movq -32(%rbp), %rax
movq %rax, -48(%rbp)
LBB38_9: ## =>This Loop Header: Depth=1
## Child Loop BB38_11 Depth 2
## Child Loop BB38_15 Depth 3
## Child Loop BB38_20 Depth 2
## Child Loop BB38_24 Depth 2
movq -48(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, -84(%rbp)
cmpl $0, %eax
je LBB38_27
## %bb.10: ## in Loop: Header=BB38_9 Depth=1
movq -40(%rbp), %rax
movq %rax, -56(%rbp)
LBB38_11: ## Parent Loop BB38_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB38_15 Depth 3
movq -56(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, %ecx
movl %ecx, -88(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -89(%rbp) ## 1-byte Spill
je LBB38_13
## %bb.12: ## in Loop: Header=BB38_11 Depth=2
movl -88(%rbp), %eax
cmpl -84(%rbp), %eax
setne %al
movb %al, -89(%rbp) ## 1-byte Spill
LBB38_13: ## in Loop: Header=BB38_11 Depth=2
movb -89(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB38_14
jmp LBB38_18
LBB38_14: ## in Loop: Header=BB38_11 Depth=2
jmp LBB38_15
LBB38_15: ## Parent Loop BB38_9 Depth=1
## Parent Loop BB38_11 Depth=2
## => This Inner Loop Header: Depth=3
movq -56(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -56(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB38_17
## %bb.16: ## in Loop: Header=BB38_15 Depth=3
jmp LBB38_15
LBB38_17: ## in Loop: Header=BB38_11 Depth=2
jmp LBB38_11
LBB38_18: ## in Loop: Header=BB38_9 Depth=1
cmpl $0, -88(%rbp)
je LBB38_23
## %bb.19: ## in Loop: Header=BB38_9 Depth=1
movq -56(%rbp), %rax
movq %rax, -64(%rbp)
LBB38_20: ## Parent Loop BB38_9 Depth=1
## => This Inner Loop Header: Depth=2
movq -64(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -64(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB38_22
## %bb.21: ## in Loop: Header=BB38_20 Depth=2
jmp LBB38_20
LBB38_22: ## in Loop: Header=BB38_9 Depth=1
movq -80(%rbp), %rdi
movq -56(%rbp), %rsi
movq -64(%rbp), %rdx
movq -56(%rbp), %rax
subq %rax, %rdx
movq $-1, %rcx
callq ___strncpy_chk
movq -64(%rbp), %rax
movq -56(%rbp), %rcx
subq %rcx, %rax
addq -80(%rbp), %rax
movq %rax, -80(%rbp)
LBB38_23: ## in Loop: Header=BB38_9 Depth=1
jmp LBB38_24
LBB38_24: ## Parent Loop BB38_9 Depth=1
## => This Inner Loop Header: Depth=2
movq -48(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -48(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB38_26
## %bb.25: ## in Loop: Header=BB38_24 Depth=2
jmp LBB38_24
LBB38_26: ## in Loop: Header=BB38_9 Depth=1
jmp LBB38_9
LBB38_27:
movq -80(%rbp), %rax
movb $0, (%rax)
movq -8(%rbp), %rdi
movq -72(%rbp), %rsi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
movq $-1, %rcx
callq _sqlite3_result_text
movq -72(%rbp), %rdi
callq _sqlite3_free
LBB38_28:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function varianceStep
_varianceStep: ## @varianceStep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB39_2
## %bb.1:
leaq L___func__.varianceStep(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $1404, %edx ## imm = 0x57C
callq ___assert_rtn
LBB39_2:
jmp LBB39_3
LBB39_3:
movq -8(%rbp), %rdi
movl $24, %esi
callq _sqlite3_aggregate_context
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_numeric_type
movl %eax, %ecx
movl $5, %eax
cmpl %ecx, %eax
je LBB39_5
## %bb.4:
movq -32(%rbp), %rax
movq 16(%rax), %rcx
addq $1, %rcx
movq %rcx, 16(%rax)
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
subsd (%rax), %xmm0
movsd %xmm0, -40(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -32(%rbp), %rax
cvtsi2sdq 16(%rax), %xmm1
divsd %xmm1, %xmm0
movq -32(%rbp), %rax
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -32(%rbp), %rax
subsd (%rax), %xmm2
movq -32(%rbp), %rax
movsd 8(%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 8(%rax)
LBB39_5:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function stdevFinalize
_stdevFinalize: ## @stdevFinalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_aggregate_context
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB40_3
## %bb.1:
movq -16(%rbp), %rax
cmpq $1, 16(%rax)
jle LBB40_3
## %bb.2:
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 16(%rax), %rax
subq $1, %rax
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
callq _sqlite3_result_double
jmp LBB40_4
LBB40_3:
movq -8(%rbp), %rdi
xorps %xmm0, %xmm0
callq _sqlite3_result_double
LBB40_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function varianceFinalize
_varianceFinalize: ## @varianceFinalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_aggregate_context
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB41_3
## %bb.1:
movq -16(%rbp), %rax
cmpq $1, 16(%rax)
jle LBB41_3
## %bb.2:
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq 16(%rax), %rax
subq $1, %rax
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
callq _sqlite3_result_double
jmp LBB41_4
LBB41_3:
movq -8(%rbp), %rdi
xorps %xmm0, %xmm0
callq _sqlite3_result_double
LBB41_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function modeStep
_modeStep: ## @modeStep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq $0, -40(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -48(%rbp)
cmpl $1, -12(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB42_2
## %bb.1:
leaq L___func__.modeStep(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.48(%rip), %rcx
movl $1427, %edx ## imm = 0x593
callq ___assert_rtn
LBB42_2:
jmp LBB42_3
LBB42_3:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_numeric_type
movl %eax, -68(%rbp)
cmpl $5, -68(%rbp)
jne LBB42_5
## %bb.4:
jmp LBB42_13
LBB42_5:
movq -8(%rbp), %rdi
movl $72, %esi
callq _sqlite3_aggregate_context
movq %rax, -32(%rbp)
movq -32(%rbp), %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq 56(%rcx), %rax
jne LBB42_10
## %bb.6:
movl $1, %edi
movl $24, %esi
callq _calloc
movq %rax, %rcx
movq -32(%rbp), %rax
movq %rcx, 56(%rax)
cmpl $1, -68(%rbp)
jne LBB42_8
## %bb.7:
movq -32(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
leaq -96(%rbp), %rdi
leaq _int_cmp(%rip), %rsi
callq _map_make
movq -128(%rbp), %rax ## 8-byte Reload
movq -96(%rbp), %rcx
movq %rcx, (%rax)
movq -88(%rbp), %rcx
movq %rcx, 8(%rax)
movq -80(%rbp), %rcx
movq %rcx, 16(%rax)
movq -32(%rbp), %rax
movq $0, 48(%rax)
jmp LBB42_9
LBB42_8:
movq -32(%rbp), %rax
movq $1, 48(%rax)
movq -32(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
leaq -120(%rbp), %rdi
leaq _double_cmp(%rip), %rsi
callq _map_make
movq -136(%rbp), %rax ## 8-byte Reload
movq -120(%rbp), %rcx
movq %rcx, (%rax)
movq -112(%rbp), %rcx
movq %rcx, 8(%rax)
movq -104(%rbp), %rcx
movq %rcx, 16(%rax)
LBB42_9:
jmp LBB42_10
LBB42_10:
movq -32(%rbp), %rax
movq 16(%rax), %rcx
addq $1, %rcx
movq %rcx, 16(%rax)
movq -32(%rbp), %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq 48(%rcx), %rax
jne LBB42_12
## %bb.11:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_int64
movq %rax, -40(%rbp)
movl $1, %edi
movl $8, %esi
callq _calloc
movq %rax, -56(%rbp)
movq -40(%rbp), %rcx
movq -56(%rbp), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rax
movq 56(%rax), %rdi
movq -56(%rbp), %rsi
callq _map_insert
jmp LBB42_13
LBB42_12:
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _sqlite3_value_double
movsd %xmm0, -48(%rbp)
movl $1, %edi
movl $8, %esi
callq _calloc
movq %rax, -64(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -64(%rbp), %rax
movsd %xmm0, (%rax)
movq -32(%rbp), %rax
movq 56(%rax), %rdi
movq -64(%rbp), %rsi
callq _map_insert
LBB42_13:
addq $144, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function modeFinalize
_modeFinalize: ## @modeFinalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_aggregate_context
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB43_8
## %bb.1:
movq -16(%rbp), %rax
cmpq $0, 56(%rax)
je LBB43_8
## %bb.2:
movq -16(%rbp), %rax
movq 56(%rax), %rdi
movq -16(%rbp), %rdx
leaq _modeIterate(%rip), %rsi
callq _map_iterate
movq -16(%rbp), %rax
movq 56(%rax), %rdi
callq _map_destroy
movq -16(%rbp), %rax
movq 56(%rax), %rdi
callq _free
movq -16(%rbp), %rcx
movl $1, %eax
cmpq 40(%rcx), %rax
jne LBB43_7
## %bb.3:
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq 48(%rcx), %rax
jne LBB43_5
## %bb.4:
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movq (%rax), %rsi
callq _sqlite3_result_int64
jmp LBB43_6
LBB43_5:
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
callq _sqlite3_result_double
LBB43_6:
jmp LBB43_7
LBB43_7:
jmp LBB43_8
LBB43_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function medianFinalize
LCPI44_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_medianFinalize: ## @medianFinalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_aggregate_context
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB44_2
## %bb.1:
movq -16(%rbp), %rax
cvtsi2sdq 16(%rax), %xmm0
movsd LCPI44_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movq -16(%rbp), %rax
movsd %xmm0, 24(%rax)
movq -8(%rbp), %rdi
callq __medianFinalize
LBB44_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function lower_quartileFinalize
LCPI45_0:
.quad 0x4010000000000000 ## double 4
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_lower_quartileFinalize: ## @lower_quartileFinalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_aggregate_context
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB45_2
## %bb.1:
movq -16(%rbp), %rax
cvtsi2sdq 16(%rax), %xmm0
movsd LCPI45_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movq -16(%rbp), %rax
movsd %xmm0, 24(%rax)
movq -8(%rbp), %rdi
callq __medianFinalize
LBB45_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function upper_quartileFinalize
LCPI46_0:
.quad 0x4010000000000000 ## double 4
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_upper_quartileFinalize: ## @upper_quartileFinalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_aggregate_context
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB46_2
## %bb.1:
movq -16(%rbp), %rax
imulq $3, 16(%rax), %rax
cvtsi2sd %rax, %xmm0
movsd LCPI46_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movq -16(%rbp), %rax
movsd %xmm0, 24(%rax)
movq -8(%rbp), %rdi
callq __medianFinalize
LBB46_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _map_make ## -- Begin function map_make
.p2align 4, 0x90
_map_make: ## @map_make
.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, %rax
movq %rsi, -8(%rbp)
movq -8(%rbp), %rcx
movq %rcx, 8(%rdi)
movq $0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _xcalloc ## -- Begin function xcalloc
.p2align 4, 0x90
_xcalloc: ## @xcalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _calloc
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _xfree ## -- Begin function xfree
.p2align 4, 0x90
_xfree: ## @xfree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _node_insert ## -- Begin function node_insert
.p2align 4, 0x90
_node_insert: ## @node_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB50_2
## %bb.1:
movl $1, %edi
movl $32, %esi
leaq L_.str.45(%rip), %rdx
callq _xcalloc
movq %rax, -40(%rbp)
movq -24(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 16(%rax)
movq -40(%rbp), %rax
movq $1, 24(%rax)
movq -40(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
jmp LBB50_9
LBB50_2:
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
movq 16(%rcx), %rdi
movq -24(%rbp), %rsi
callq *%rax
movl %eax, -28(%rbp)
xorl %eax, %eax
cmpl -28(%rbp), %eax
jne LBB50_4
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rax
movq 24(%rax), %rcx
addq $1, %rcx
movq %rcx, 24(%rax)
movq -24(%rbp), %rdi
callq _xfree
jmp LBB50_8
LBB50_4:
cmpl $0, -28(%rbp)
jle LBB50_6
## %bb.5:
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _node_insert
jmp LBB50_7
LBB50_6:
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $8, %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _node_insert
LBB50_7:
jmp LBB50_8
LBB50_8:
jmp LBB50_9
LBB50_9:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _map_insert ## -- Begin function map_insert
.p2align 4, 0x90
_map_insert: ## @map_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movq 8(%rax), %rsi
movq -16(%rbp), %rdx
callq _node_insert
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _node_iterate ## -- Begin function node_iterate
.p2align 4, 0x90
_node_iterate: ## @node_iterate
.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)
cmpq $0, -8(%rbp)
je LBB52_6
## %bb.1:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB52_3
## %bb.2:
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _node_iterate
LBB52_3:
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
movq 16(%rcx), %rdi
movq -8(%rbp), %rcx
movq 24(%rcx), %rsi
movq -24(%rbp), %rdx
callq *%rax
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB52_5
## %bb.4:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _node_iterate
LBB52_5:
jmp LBB52_6
LBB52_6:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _map_iterate ## -- Begin function map_iterate
.p2align 4, 0x90
_map_iterate: ## @map_iterate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _node_iterate
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _node_destroy ## -- Begin function node_destroy
.p2align 4, 0x90
_node_destroy: ## @node_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
je LBB54_6
## %bb.1:
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _xfree
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB54_3
## %bb.2:
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _node_destroy
LBB54_3:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB54_5
## %bb.4:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _node_destroy
LBB54_5:
movq -8(%rbp), %rdi
callq _xfree
LBB54_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _map_destroy ## -- Begin function map_destroy
.p2align 4, 0x90
_map_destroy: ## @map_destroy
.cfi_startproc
## %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 _node_destroy
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _int_cmp ## -- Begin function int_cmp
.p2align 4, 0x90
_int_cmp: ## @int_cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
jne LBB56_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB56_5
LBB56_2:
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
jge LBB56_4
## %bb.3:
movl $-1, -4(%rbp)
jmp LBB56_5
LBB56_4:
movl $1, -4(%rbp)
LBB56_5:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _double_cmp ## -- Begin function double_cmp
.p2align 4, 0x90
_double_cmp: ## @double_cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movq -24(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -40(%rbp), %xmm0
jne LBB57_2
jp LBB57_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB57_5
LBB57_2:
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB57_4
## %bb.3:
movl $-1, -4(%rbp)
jmp LBB57_5
LBB57_4:
movl $1, -4(%rbp)
LBB57_5:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_elem ## -- Begin function print_elem
.p2align 4, 0x90
_print_elem: ## @print_elem
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movl -28(%rbp), %esi
movq -16(%rbp), %rdx
leaq L_.str.46(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function soundex
_soundex: ## @soundex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB59_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movzbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -29(%rbp) ## 1-byte Spill
je LBB59_3
## %bb.2: ## in Loop: Header=BB59_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq _isalpha
cmpl $0, %eax
setne %al
xorb $-1, %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB59_3: ## in Loop: Header=BB59_1 Depth=1
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB59_4
jmp LBB59_6
LBB59_4: ## in Loop: Header=BB59_1 Depth=1
jmp LBB59_5
LBB59_5: ## in Loop: Header=BB59_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB59_1
LBB59_6:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB59_19
## %bb.7:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq _toupper
movb %al, %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movl $1, -24(%rbp)
LBB59_8: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $4, -24(%rbp)
movb %al, -30(%rbp) ## 1-byte Spill
jge LBB59_10
## %bb.9: ## in Loop: Header=BB59_8 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $0, %eax
setne %al
movb %al, -30(%rbp) ## 1-byte Spill
LBB59_10: ## in Loop: Header=BB59_8 Depth=1
movb -30(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB59_11
jmp LBB59_15
LBB59_11: ## in Loop: Header=BB59_8 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movzbl (%rax,%rcx), %eax
andl $127, %eax
movslq %eax, %rcx
leaq _soundex.iCode(%rip), %rax
movzbl (%rax,%rcx), %eax
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jle LBB59_13
## %bb.12: ## in Loop: Header=BB59_8 Depth=1
movl -28(%rbp), %eax
addl $48, %eax
movb %al, %dl
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -24(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB59_13: ## in Loop: Header=BB59_8 Depth=1
jmp LBB59_14
LBB59_14: ## in Loop: Header=BB59_8 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB59_8
LBB59_15:
jmp LBB59_16
LBB59_16: ## =>This Inner Loop Header: Depth=1
cmpl $4, -24(%rbp)
jge LBB59_18
## %bb.17: ## in Loop: Header=BB59_16 Depth=1
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -24(%rbp)
movslq %ecx, %rcx
movb $48, (%rax,%rcx)
jmp LBB59_16
LBB59_18:
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movb $0, (%rax,%rcx)
jmp LBB59_20
LBB59_19:
movq -16(%rbp), %rdi
leaq L_.str.50(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
LBB59_20:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sqlite3ReadUtf8
_sqlite3ReadUtf8: ## @sqlite3ReadUtf8
.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
incq %rcx
movq %rcx, -8(%rbp)
movzbl (%rax), %eax
movl %eax, -12(%rbp)
movslq -12(%rbp), %rax
leaq _xtra_utf8_bytes(%rip), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB60_9
## %bb.10:
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI60_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB60_1:
movl $65533, -12(%rbp) ## imm = 0xFFFD
jmp LBB60_9
LBB60_2:
movl -12(%rbp), %eax
shll $6, %eax
movq -8(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movzbl (%rcx), %ecx
addl %ecx, %eax
movl %eax, -12(%rbp)
LBB60_3:
movl -12(%rbp), %eax
shll $6, %eax
movq -8(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movzbl (%rcx), %ecx
addl %ecx, %eax
movl %eax, -12(%rbp)
LBB60_4:
movl -12(%rbp), %eax
shll $6, %eax
movq -8(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movzbl (%rcx), %ecx
addl %ecx, %eax
movl %eax, -12(%rbp)
movslq -16(%rbp), %rcx
leaq _xtra_utf8_bits(%rip), %rax
movl (%rax,%rcx,4), %ecx
movl -12(%rbp), %eax
subl %ecx, %eax
movl %eax, -12(%rbp)
movslq -16(%rbp), %rcx
leaq _utf_mask(%rip), %rax
movl (%rax,%rcx,4), %eax
andl -12(%rbp), %eax
cmpl $0, %eax
je LBB60_7
## %bb.5:
movl -12(%rbp), %eax
andl $-2048, %eax ## imm = 0xF800
cmpl $55296, %eax ## imm = 0xD800
je LBB60_7
## %bb.6:
movl -12(%rbp), %eax
andl $-2, %eax
cmpl $65534, %eax ## imm = 0xFFFE
jne LBB60_8
LBB60_7:
movl $65533, -12(%rbp) ## imm = 0xFFFD
LBB60_8:
jmp LBB60_9
LBB60_9:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L60_0_set_4, LBB60_4-LJTI60_0
.set L60_0_set_3, LBB60_3-LJTI60_0
.set L60_0_set_2, LBB60_2-LJTI60_0
.set L60_0_set_1, LBB60_1-LJTI60_0
LJTI60_0:
.long L60_0_set_4
.long L60_0_set_3
.long L60_0_set_2
.long L60_0_set_1
.end_data_region
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function rad2deg
LCPI61_0:
.quad 0x400921fb54442d18 ## double 3.1415926535897931
LCPI61_1:
.quad 0x4066800000000000 ## double 180
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_rad2deg: ## @rad2deg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd %xmm0, -8(%rbp)
movsd LCPI61_1(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -8(%rbp), %xmm0
movsd LCPI61_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function deg2rad
LCPI62_0:
.quad 0x4066800000000000 ## double 180
LCPI62_1:
.quad 0x400921fb54442d18 ## double 3.1415926535897931
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_deg2rad: ## @deg2rad
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd %xmm0, -8(%rbp)
movsd LCPI62_1(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -8(%rbp), %xmm0
movsd LCPI62_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function cot
LCPI63_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_cot: ## @cot
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tan
movaps %xmm0, %xmm1
movsd LCPI63_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function coth
LCPI64_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_coth: ## @coth
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tanh
movaps %xmm0, %xmm1
movsd LCPI64_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _substr
__substr: ## @_substr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq %rcx, -40(%rbp)
movl $0, -44(%rbp)
movl $-1, -48(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne LBB65_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB65_36
LBB65_2:
jmp LBB65_3
LBB65_3: ## =>This Loop Header: Depth=1
## Child Loop BB65_7 Depth 2
movq -24(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -73(%rbp) ## 1-byte Spill
je LBB65_5
## %bb.4: ## in Loop: Header=BB65_3 Depth=1
movl -44(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -44(%rbp)
cmpl -28(%rbp), %eax
setl %al
movb %al, -73(%rbp) ## 1-byte Spill
LBB65_5: ## in Loop: Header=BB65_3 Depth=1
movb -73(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB65_6
jmp LBB65_10
LBB65_6: ## in Loop: Header=BB65_3 Depth=1
jmp LBB65_7
LBB65_7: ## Parent Loop BB65_3 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB65_9
## %bb.8: ## in Loop: Header=BB65_7 Depth=2
jmp LBB65_7
LBB65_9: ## in Loop: Header=BB65_3 Depth=1
jmp LBB65_3
LBB65_10:
movl $0, -44(%rbp)
LBB65_11: ## =>This Loop Header: Depth=1
## Child Loop BB65_13 Depth 2
## Child Loop BB65_14 Depth 3
## Child Loop BB65_17 Depth 3
## Child Loop BB65_27 Depth 2
movq -24(%rbp), %rdi
callq _sqlite3ReadUtf8
cmpl $0, %eax
je LBB65_30
## %bb.12: ## in Loop: Header=BB65_11 Depth=1
movq -16(%rbp), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rax
movq %rax, -64(%rbp)
LBB65_13: ## Parent Loop BB65_11 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB65_14 Depth 3
## Child Loop BB65_17 Depth 3
movq -56(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, -68(%rbp)
movq -64(%rbp), %rdi
callq _sqlite3ReadUtf8
movl %eax, -72(%rbp)
LBB65_14: ## Parent Loop BB65_11 Depth=1
## Parent Loop BB65_13 Depth=2
## => This Inner Loop Header: Depth=3
movq -56(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -56(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB65_16
## %bb.15: ## in Loop: Header=BB65_14 Depth=3
jmp LBB65_14
LBB65_16: ## in Loop: Header=BB65_13 Depth=2
jmp LBB65_17
LBB65_17: ## Parent Loop BB65_11 Depth=1
## Parent Loop BB65_13 Depth=2
## => This Inner Loop Header: Depth=3
movq -64(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -64(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB65_19
## %bb.18: ## in Loop: Header=BB65_17 Depth=3
jmp LBB65_17
LBB65_19: ## in Loop: Header=BB65_13 Depth=2
jmp LBB65_20
LBB65_20: ## in Loop: Header=BB65_13 Depth=2
movl -68(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -72(%rbp), %ecx
movb %al, -74(%rbp) ## 1-byte Spill
jne LBB65_23
## %bb.21: ## in Loop: Header=BB65_13 Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -68(%rbp)
movb %al, -74(%rbp) ## 1-byte Spill
je LBB65_23
## %bb.22: ## in Loop: Header=BB65_13 Depth=2
cmpl $0, -72(%rbp)
setne %al
movb %al, -74(%rbp) ## 1-byte Spill
LBB65_23: ## in Loop: Header=BB65_13 Depth=2
movb -74(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB65_13
## %bb.24: ## in Loop: Header=BB65_11 Depth=1
cmpl $0, -68(%rbp)
jne LBB65_26
## %bb.25:
movl -44(%rbp), %eax
movl %eax, -48(%rbp)
jmp LBB65_30
LBB65_26: ## in Loop: Header=BB65_11 Depth=1
jmp LBB65_27
LBB65_27: ## Parent Loop BB65_11 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movsbl 1(%rax), %eax
andl $192, %eax
cmpl $128, %eax
jne LBB65_29
## %bb.28: ## in Loop: Header=BB65_27 Depth=2
jmp LBB65_27
LBB65_29: ## in Loop: Header=BB65_11 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB65_11
LBB65_30:
cmpq $0, -40(%rbp)
je LBB65_32
## %bb.31:
movq -24(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, (%rax)
LBB65_32:
cmpl $0, -48(%rbp)
jl LBB65_34
## %bb.33:
movl -48(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
jmp LBB65_35
LBB65_34:
movl -48(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
LBB65_35:
movl -80(%rbp), %eax ## 4-byte Reload
movl %eax, -4(%rbp)
LBB65_36:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sqlite3StrDup
_sqlite3StrDup: ## @sqlite3StrDup
.cfi_startproc
## %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
addq $1, %rax
movl %eax, %edi
callq _sqlite3_malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sqlite3Utf8CharLen
_sqlite3Utf8CharLen: ## @sqlite3Utf8CharLen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
cmpl $0, -12(%rbp)
jl LBB67_2
## %bb.1:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
jmp LBB67_3
LBB67_2:
movq $-1, %rax
movq %rax, -24(%rbp)
LBB67_3:
movq -8(%rbp), %rax
cmpq -24(%rbp), %rax
setbe %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB67_5
## %bb.4:
leaq L___func__.sqlite3Utf8CharLen(%rip), %rdi
leaq L_.str.47(%rip), %rsi
leaq L_.str.54(%rip), %rcx
movl $325, %edx ## imm = 0x145
callq ___assert_rtn
LBB67_5:
jmp LBB67_6
LBB67_6:
jmp LBB67_7
LBB67_7: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
je LBB67_9
## %bb.8: ## in Loop: Header=BB67_7 Depth=1
movq -8(%rbp), %rax
cmpq -24(%rbp), %rax
setb %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB67_9: ## in Loop: Header=BB67_7 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB67_10
jmp LBB67_11
LBB67_10: ## in Loop: Header=BB67_7 Depth=1
movq -8(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq _xtra_utf8_bytes(%rip), %rax
movzbl (%rax,%rcx), %ecx
addl $1, %ecx
movq -8(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -8(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB67_7
LBB67_11:
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function modeIterate
_modeIterate: ## @modeIterate
.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 -24(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq 48(%rcx), %rax
jne LBB68_7
## %bb.1:
movq -8(%rbp), %rax
movslq (%rax), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
movq 32(%rax), %rax
cmpq -16(%rbp), %rax
jne LBB68_3
## %bb.2:
movq -48(%rbp), %rax
movq 40(%rax), %rcx
addq $1, %rcx
movq %rcx, 40(%rax)
jmp LBB68_6
LBB68_3:
movq -48(%rbp), %rax
movq 32(%rax), %rax
cmpq -16(%rbp), %rax
jge LBB68_5
## %bb.4:
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 32(%rax)
movq -48(%rbp), %rax
movq $1, 40(%rax)
LBB68_5:
jmp LBB68_6
LBB68_6:
jmp LBB68_13
LBB68_7:
movq -8(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movq -48(%rbp), %rax
movq 32(%rax), %rax
cmpq -16(%rbp), %rax
jne LBB68_9
## %bb.8:
movq -48(%rbp), %rax
movq 40(%rax), %rcx
addq $1, %rcx
movq %rcx, 40(%rax)
jmp LBB68_12
LBB68_9:
movq -48(%rbp), %rax
movq 32(%rax), %rax
cmpq -16(%rbp), %rax
jge LBB68_11
## %bb.10:
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -48(%rbp), %rax
movsd %xmm0, 8(%rax)
movq -16(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 32(%rax)
movq -48(%rbp), %rax
movq $1, 40(%rax)
LBB68_11:
jmp LBB68_12
LBB68_12:
jmp LBB68_13
LBB68_13:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function _medianFinalize
LCPI69_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
__medianFinalize: ## @_medianFinalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3_aggregate_context
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB69_9
## %bb.1:
movq -16(%rbp), %rax
cmpq $0, 56(%rax)
je LBB69_9
## %bb.2:
movq -16(%rbp), %rax
movl $0, 64(%rax)
movq -16(%rbp), %rax
movq 56(%rax), %rdi
movq -16(%rbp), %rdx
leaq _medianIterate(%rip), %rsi
callq _map_iterate
movq -16(%rbp), %rax
movq 56(%rax), %rdi
callq _map_destroy
movq -16(%rbp), %rax
movq 56(%rax), %rdi
callq _free
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq 48(%rcx), %rax
jne LBB69_7
## %bb.3:
movq -16(%rbp), %rcx
movl $1, %eax
cmpq 40(%rcx), %rax
jne LBB69_5
## %bb.4:
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movq (%rax), %rsi
callq _sqlite3_result_int64
jmp LBB69_6
LBB69_5:
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
cvtsi2sdq (%rax), %xmm0
movsd LCPI69_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movq -16(%rbp), %rax
cvtsi2sdq 40(%rax), %xmm1
divsd %xmm1, %xmm0
callq _sqlite3_result_double
LBB69_6:
jmp LBB69_8
LBB69_7:
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
cvtsi2sdq 40(%rax), %xmm1
divsd %xmm1, %xmm0
callq _sqlite3_result_double
LBB69_8:
jmp LBB69_9
LBB69_9:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function medianIterate
_medianIterate: ## @medianIterate
.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 -24(%rbp), %rax
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
cmpl $0, 64(%rax)
jle LBB70_2
## %bb.1:
jmp LBB70_11
LBB70_2:
movq -72(%rbp), %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movq -72(%rbp), %rax
cvtsi2sdq 16(%rax), %xmm0
movq -72(%rbp), %rax
subsd 24(%rax), %xmm0
movsd %xmm0, -56(%rbp)
movq -72(%rbp), %rax
movq 32(%rax), %rax
addq -16(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -60(%rbp)
movq -72(%rbp), %rax
movq 16(%rax), %rax
movq -72(%rbp), %rcx
subq 32(%rcx), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -64(%rbp)
cvtsi2sdl -60(%rbp), %xmm0
ucomisd -48(%rbp), %xmm0
jb LBB70_10
## %bb.3:
cvtsi2sdl -64(%rbp), %xmm0
ucomisd -56(%rbp), %xmm0
jb LBB70_8
## %bb.4:
movq -72(%rbp), %rax
movq 40(%rax), %rcx
addq $1, %rcx
movq %rcx, 40(%rax)
movq -72(%rbp), %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq 48(%rcx), %rax
jne LBB70_6
## %bb.5:
movq -8(%rbp), %rax
movslq (%rax), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rcx
movq -72(%rbp), %rax
addq (%rax), %rcx
movq %rcx, (%rax)
jmp LBB70_7
LBB70_6:
movq -8(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -72(%rbp), %rax
addsd 8(%rax), %xmm0
movsd %xmm0, 8(%rax)
LBB70_7:
jmp LBB70_9
LBB70_8:
movq -72(%rbp), %rax
movl $1, 64(%rax)
LBB70_9:
jmp LBB70_10
LBB70_10:
movq -16(%rbp), %rcx
movq -72(%rbp), %rax
addq 32(%rax), %rcx
movq %rcx, 32(%rax)
LBB70_11:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @RegisterExtensionFunctions.aFuncs
_RegisterExtensionFunctions.aFuncs:
.quad L_.str
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _acosFunc
.quad L_.str.1
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _asinFunc
.quad L_.str.2
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _atanFunc
.quad L_.str.3
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _atn2Func
.quad L_.str.4
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _atn2Func
.quad L_.str.5
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _acoshFunc
.quad L_.str.6
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _asinhFunc
.quad L_.str.7
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _atanhFunc
.quad L_.str.8
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _differenceFunc
.quad L_.str.9
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _rad2degFunc
.quad L_.str.10
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _deg2radFunc
.quad L_.str.11
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _cosFunc
.quad L_.str.12
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _sinFunc
.quad L_.str.13
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _tanFunc
.quad L_.str.14
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _cotFunc
.quad L_.str.15
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _coshFunc
.quad L_.str.16
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _sinhFunc
.quad L_.str.17
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _tanhFunc
.quad L_.str.18
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _cothFunc
.quad L_.str.19
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _expFunc
.quad L_.str.20
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _logFunc
.quad L_.str.21
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _log10Func
.quad L_.str.22
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _powerFunc
.quad L_.str.23
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _signFunc
.quad L_.str.24
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _sqrtFunc
.quad L_.str.25
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _squareFunc
.quad L_.str.26
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _ceilFunc
.quad L_.str.27
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _floorFunc
.quad L_.str.28
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 1 ## 0x1
.space 4
.quad _piFunc
.quad L_.str.29
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _replicateFunc
.quad L_.str.30
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _charindexFunc
.quad L_.str.30
.byte 3 ## 0x3
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _charindexFunc
.quad L_.str.31
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _leftFunc
.quad L_.str.32
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _rightFunc
.quad L_.str.33
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _reverseFunc
.quad L_.str.34
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _properFunc
.quad L_.str.35
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _padlFunc
.quad L_.str.36
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _padrFunc
.quad L_.str.37
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _padcFunc
.quad L_.str.38
.byte 2 ## 0x2
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.space 4
.quad _strfilterFunc
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "acos"
L_.str.1: ## @.str.1
.asciz "asin"
L_.str.2: ## @.str.2
.asciz "atan"
L_.str.3: ## @.str.3
.asciz "atn2"
L_.str.4: ## @.str.4
.asciz "atan2"
L_.str.5: ## @.str.5
.asciz "acosh"
L_.str.6: ## @.str.6
.asciz "asinh"
L_.str.7: ## @.str.7
.asciz "atanh"
L_.str.8: ## @.str.8
.asciz "difference"
L_.str.9: ## @.str.9
.asciz "degrees"
L_.str.10: ## @.str.10
.asciz "radians"
L_.str.11: ## @.str.11
.asciz "cos"
L_.str.12: ## @.str.12
.asciz "sin"
L_.str.13: ## @.str.13
.asciz "tan"
L_.str.14: ## @.str.14
.asciz "cot"
L_.str.15: ## @.str.15
.asciz "cosh"
L_.str.16: ## @.str.16
.asciz "sinh"
L_.str.17: ## @.str.17
.asciz "tanh"
L_.str.18: ## @.str.18
.asciz "coth"
L_.str.19: ## @.str.19
.asciz "exp"
L_.str.20: ## @.str.20
.asciz "log"
L_.str.21: ## @.str.21
.asciz "log10"
L_.str.22: ## @.str.22
.asciz "power"
L_.str.23: ## @.str.23
.asciz "sign"
L_.str.24: ## @.str.24
.asciz "sqrt"
L_.str.25: ## @.str.25
.asciz "square"
L_.str.26: ## @.str.26
.asciz "ceil"
L_.str.27: ## @.str.27
.asciz "floor"
L_.str.28: ## @.str.28
.asciz "pi"
L_.str.29: ## @.str.29
.asciz "replicate"
L_.str.30: ## @.str.30
.asciz "charindex"
L_.str.31: ## @.str.31
.asciz "leftstr"
L_.str.32: ## @.str.32
.asciz "rightstr"
L_.str.33: ## @.str.33
.asciz "reverse"
L_.str.34: ## @.str.34
.asciz "proper"
L_.str.35: ## @.str.35
.asciz "padl"
L_.str.36: ## @.str.36
.asciz "padr"
L_.str.37: ## @.str.37
.asciz "padc"
L_.str.38: ## @.str.38
.asciz "strfilter"
.section __DATA,__const
.p2align 4 ## @RegisterExtensionFunctions.aAggs
_RegisterExtensionFunctions.aAggs:
.quad L_.str.39
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.space 5
.quad _varianceStep
.quad _stdevFinalize
.quad L_.str.40
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.space 5
.quad _varianceStep
.quad _varianceFinalize
.quad L_.str.41
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.space 5
.quad _modeStep
.quad _modeFinalize
.quad L_.str.42
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.space 5
.quad _modeStep
.quad _medianFinalize
.quad L_.str.43
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.space 5
.quad _modeStep
.quad _lower_quartileFinalize
.quad L_.str.44
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.space 5
.quad _modeStep
.quad _upper_quartileFinalize
.section __TEXT,__cstring,cstring_literals
L_.str.39: ## @.str.39
.asciz "stdev"
L_.str.40: ## @.str.40
.asciz "variance"
L_.str.41: ## @.str.41
.asciz "mode"
L_.str.42: ## @.str.42
.asciz "median"
L_.str.43: ## @.str.43
.asciz "lower_quartile"
L_.str.44: ## @.str.44
.asciz "upper_quartile"
L_.str.45: ## @.str.45
.asciz "for node"
L_.str.46: ## @.str.46
.asciz "%d => %lld\n"
L___func__.acosFunc: ## @__func__.acosFunc
.asciz "acosFunc"
L_.str.47: ## @.str.47
.asciz "170453664.c"
L_.str.48: ## @.str.48
.asciz "argc==1"
L___func__.asinFunc: ## @__func__.asinFunc
.asciz "asinFunc"
L___func__.atanFunc: ## @__func__.atanFunc
.asciz "atanFunc"
L___func__.atn2Func: ## @__func__.atn2Func
.asciz "atn2Func"
L_.str.49: ## @.str.49
.asciz "argc==2"
L___func__.acoshFunc: ## @__func__.acoshFunc
.asciz "acoshFunc"
L___func__.asinhFunc: ## @__func__.asinhFunc
.asciz "asinhFunc"
L___func__.atanhFunc: ## @__func__.atanhFunc
.asciz "atanhFunc"
L___func__.differenceFunc: ## @__func__.differenceFunc
.asciz "differenceFunc"
.section __TEXT,__const
.p2align 4 ## @soundex.iCode
_soundex.iCode:
.asciz "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\002\003\000\001\002\000\000\002\002\004\005\005\000\001\002\006\002\003\000\001\000\002\000\002\000\000\000\000\000\000\000\001\002\003\000\001\002\000\000\002\002\004\005\005\000\001\002\006\002\003\000\001\000\002\000\002\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
L_.str.50: ## @.str.50
.asciz "?000"
.section __TEXT,__const
.p2align 4 ## @xtra_utf8_bytes
_xtra_utf8_bytes:
.ascii "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\003\003\003\003\003\003\003\003\004\004\004\004\004\004\004\004"
.p2align 4 ## @xtra_utf8_bits
_xtra_utf8_bits:
.long 0 ## 0x0
.long 12416 ## 0x3080
.long 925824 ## 0xe2080
.long 63447168 ## 0x3c82080
.p2align 4 ## @utf_mask
_utf_mask:
.long 0 ## 0x0
.long 4294967168 ## 0xffffff80
.long 4294965248 ## 0xfffff800
.long 4294901760 ## 0xffff0000
.section __TEXT,__cstring,cstring_literals
L___func__.rad2degFunc: ## @__func__.rad2degFunc
.asciz "rad2degFunc"
L___func__.deg2radFunc: ## @__func__.deg2radFunc
.asciz "deg2radFunc"
L___func__.cosFunc: ## @__func__.cosFunc
.asciz "cosFunc"
L___func__.sinFunc: ## @__func__.sinFunc
.asciz "sinFunc"
L___func__.tanFunc: ## @__func__.tanFunc
.asciz "tanFunc"
L___func__.cotFunc: ## @__func__.cotFunc
.asciz "cotFunc"
L___func__.coshFunc: ## @__func__.coshFunc
.asciz "coshFunc"
L___func__.sinhFunc: ## @__func__.sinhFunc
.asciz "sinhFunc"
L___func__.tanhFunc: ## @__func__.tanhFunc
.asciz "tanhFunc"
L___func__.cothFunc: ## @__func__.cothFunc
.asciz "cothFunc"
L___func__.expFunc: ## @__func__.expFunc
.asciz "expFunc"
L___func__.logFunc: ## @__func__.logFunc
.asciz "logFunc"
L___func__.log10Func: ## @__func__.log10Func
.asciz "log10Func"
L___func__.powerFunc: ## @__func__.powerFunc
.asciz "powerFunc"
L___func__.signFunc: ## @__func__.signFunc
.asciz "signFunc"
L___func__.sqrtFunc: ## @__func__.sqrtFunc
.asciz "sqrtFunc"
L___func__.squareFunc: ## @__func__.squareFunc
.asciz "squareFunc"
L___func__.ceilFunc: ## @__func__.ceilFunc
.asciz "ceilFunc"
L___func__.floorFunc: ## @__func__.floorFunc
.asciz "floorFunc"
L_.str.51: ## @.str.51
.asciz "domain error"
L___func__.charindexFunc: ## @__func__.charindexFunc
.asciz "charindexFunc"
L_.str.52: ## @.str.52
.asciz "argc==3 ||argc==2"
L___func__.leftFunc: ## @__func__.leftFunc
.asciz "leftFunc"
L___func__.rightFunc: ## @__func__.rightFunc
.asciz "rightFunc"
L___func__.reverseFunc: ## @__func__.reverseFunc
.asciz "reverseFunc"
L_.str.53: ## @.str.53
.asciz "1==argc"
L___func__.properFunc: ## @__func__.properFunc
.asciz "properFunc"
L___func__.padlFunc: ## @__func__.padlFunc
.asciz "padlFunc"
L___func__.sqlite3Utf8CharLen: ## @__func__.sqlite3Utf8CharLen
.asciz "sqlite3Utf8CharLen"
L_.str.54: ## @.str.54
.asciz "z<=zTerm"
L___func__.padrFunc: ## @__func__.padrFunc
.asciz "padrFunc"
L___func__.padcFunc: ## @__func__.padcFunc
.asciz "padcFunc"
L___func__.strfilterFunc: ## @__func__.strfilterFunc
.asciz "strfilterFunc"
L___func__.varianceStep: ## @__func__.varianceStep
.asciz "varianceStep"
L___func__.modeStep: ## @__func__.modeStep
.asciz "modeStep"
.subsections_via_symbols
| the_stack_data/170453664.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 "Imam and Sutono: We love you\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 "Imam and Sutono: We love you\n"
.subsections_via_symbols
| the_stack_data/982511.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strip ; -- Begin function strip
.p2align 2
_strip: ; @strip
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
stur w8, [x29, #-20]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_1
LBB0_5:
ldur w8, [x29, #-20]
subs w8, w8, #1
str w8, [sp, #32]
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
ldr w8, [sp, #32]
subs w8, w8, #1
str w8, [sp, #32]
b LBB0_6
LBB0_10:
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-8]
b LBB0_17
LBB0_12:
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
mov x1, #1
bl _calloc
str x0, [sp, #16]
ldur w8, [x29, #-28]
str w8, [sp, #28]
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #28]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #16]
ldr w10, [sp, #28]
ldur w11, [x29, #-28]
subs w10, w10, w11
add x9, x9, w10, sxtw
strb w8, [x9]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_13
LBB0_16:
ldr x8, [sp, #16]
ldr w9, [sp, #28]
ldur w10, [x29, #-28]
subs w9, w9, w10
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_17
LBB0_17:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _is_clean ; -- Begin function is_clean
.p2align 2
_is_clean: ; @is_clean
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
bl _strip
str x0, [sp, #16]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _strcmp
str w0, [sp, #12]
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x0, [sp, #16]
bl _free
b LBB1_2
LBB1_2:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
mov w8, #7
str w8, [sp, #20]
add x0, sp, #32
adrp x1, l___const.main.strings@PAGE
add x1, x1, l___const.main.strings@PAGEOFF
mov x2, #56
bl _memcpy
str wzr, [sp, #24]
b LBB2_1
LBB2_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, LBB2_7
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldr x0, [x8, x9, lsl #3]
bl _is_clean
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB2_5
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_1
LBB2_7:
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_9
b LBB2_8
LBB2_8:
bl ___stack_chk_fail
LBB2_9:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "Morris"
l_.str.2: ; @.str.2
.asciz " stuff"
l_.str.3: ; @.str.3
.asciz "Minnesota"
l_.str.4: ; @.str.4
.asciz "nonsense "
l_.str.5: ; @.str.5
.asciz "USA"
l_.str.6: ; @.str.6
.asciz " "
l_.str.7: ; @.str.7
.asciz " silliness "
.section __DATA,__const
.p2align 3 ; @__const.main.strings
l___const.main.strings:
.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
.section __TEXT,__cstring,cstring_literals
l_.str.8: ; @.str.8
.asciz "The string '%s' is clean.\n"
l_.str.9: ; @.str.9
.asciz "The string '%s' is NOT clean.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strip ## -- Begin function strip
.p2align 4, 0x90
_strip: ## @strip
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -20(%rbp), %ecx
movb %al, -49(%rbp) ## 1-byte Spill
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
sete %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -49(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_5:
movl -20(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
LBB0_6: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -32(%rbp)
movb %al, -50(%rbp) ## 1-byte Spill
jl LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
sete %al
movb %al, -50(%rbp) ## 1-byte Spill
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movb -50(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_9
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
jmp LBB0_6
LBB0_10:
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jl LBB0_12
## %bb.11:
leaq L_.str(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB0_17
LBB0_12:
movl -20(%rbp), %eax
subl -24(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
movl $1, %esi
callq _calloc
movq %rax, -48(%rbp)
movl -28(%rbp), %eax
movl %eax, -36(%rbp)
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB0_16
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -48(%rbp), %rax
movl -36(%rbp), %ecx
subl -28(%rbp), %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_13
LBB0_16:
movq -48(%rbp), %rax
movl -36(%rbp), %ecx
subl -28(%rbp), %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq -48(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_17:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_clean ## -- Begin function is_clean
.p2align 4, 0x90
_is_clean: ## @is_clean
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _strip
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _strcmp
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB1_2
## %bb.1:
movq -16(%rbp), %rdi
callq _free
LBB1_2:
cmpl $0, -20(%rbp)
sete %al
andb $1, %al
movzbl %al, %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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movl $7, -76(%rbp)
leaq -64(%rbp), %rdi
leaq l___const.main.strings(%rip), %rsi
movl $56, %edx
callq _memcpy
movl $0, -72(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -72(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB2_7
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -72(%rbp), %rax
movq -64(%rbp,%rax,8), %rdi
callq _is_clean
cmpl $0, %eax
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movslq -72(%rbp), %rax
movq -64(%rbp,%rax,8), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_5
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movslq -72(%rbp), %rax
movq -64(%rbp,%rax,8), %rsi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_6
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB2_1
LBB2_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_9
## %bb.8:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB2_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "Morris"
L_.str.2: ## @.str.2
.asciz " stuff"
L_.str.3: ## @.str.3
.asciz "Minnesota"
L_.str.4: ## @.str.4
.asciz "nonsense "
L_.str.5: ## @.str.5
.asciz "USA"
L_.str.6: ## @.str.6
.asciz " "
L_.str.7: ## @.str.7
.asciz " silliness "
.section __DATA,__const
.p2align 4 ## @__const.main.strings
l___const.main.strings:
.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
.section __TEXT,__cstring,cstring_literals
L_.str.8: ## @.str.8
.asciz "The string '%s' is clean.\n"
L_.str.9: ## @.str.9
.asciz "The string '%s' is NOT clean.\n"
.subsections_via_symbols
| the_stack_data/96009.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_24
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_24
LBB0_4:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur x0, [x29, #-24]
bl _fclose
mov w8, #1
stur w8, [x29, #-4]
b LBB0_24
LBB0_6:
ldur x0, [x29, #-24]
mov x1, #0
mov w2, #2
bl _fseek
ldur x0, [x29, #-24]
bl _ftell
mov x8, x0
stur w8, [x29, #-36]
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x0, [x29, #-24]
bl _fclose
ldur x0, [x29, #-32]
bl _fclose
mov w8, #1
stur w8, [x29, #-4]
b LBB0_24
LBB0_8:
mov w8, #-1
str w8, [sp, #48]
ldr w9, [sp, #48]
ldr w8, [sp, #48]
and w8, w8, w9, lsr #24
str w8, [sp, #48]
ldur x0, [x29, #-24]
mov x1, #0
mov w2, #0
bl _fseek
ldur w8, [x29, #-36]
subs w8, w8, #2
cset w8, hi
tbnz w8, #0, LBB0_13
b LBB0_9
LBB0_9:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur w8, [x29, #-36]
mov x2, x8
ldur x3, [x29, #-24]
sub x0, x29, #42
mov x1, #1
bl _fread
ldur w8, [x29, #-36]
mov w10, #2
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
sub x8, x29, #42
str x8, [sp, #40] ; 8-byte Folded Spill
ldurb w10, [x29, #-42]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldurb w10, [x29, #-41]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldurb w8, [x29, #-42]
mov w9, #165
eor w8, w8, w9
ldr w9, [sp, #48]
and w8, w8, w9
sturb w8, [x29, #-44]
ldurb w8, [x29, #-41]
ldr w9, [sp, #48]
and w8, w8, w9
mvn w8, w8
sturb w8, [x29, #-42]
ldurb w8, [x29, #-44]
mvn w8, w8
sturb w8, [x29, #-41]
ldurb w10, [x29, #-42]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldurb w10, [x29, #-41]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
mov x2, x8
ldur x3, [x29, #-32]
mov x1, #1
bl _fwrite
b LBB0_12
LBB0_11:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldurb w8, [x29, #-42]
ldr w9, [sp, #48]
and w8, w8, w9
mvn w8, w8
sturb w8, [x29, #-42]
b LBB0_12
LBB0_12:
b LBB0_23
LBB0_13:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
mov w8, #2
sturb w8, [x29, #-43]
stur wzr, [x29, #-40]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-40]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_22
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldurb w8, [x29, #-43]
ldur w9, [x29, #-36]
ldur w10, [x29, #-40]
subs w9, w9, w10
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldur w8, [x29, #-36]
ldur w9, [x29, #-40]
subs w8, w8, w9
sturb w8, [x29, #-43]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_14 Depth=1
ldurb w10, [x29, #-43]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldurb w8, [x29, #-43]
mov x2, x8
ldur x3, [x29, #-24]
sub x0, x29, #42
mov x1, #1
bl _fread
ldurb w8, [x29, #-43]
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_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_14 Depth=1
sub x0, x29, #42
ldurb w8, [x29, #-42]
mov w9, #165
eor w8, w8, w9
ldr w9, [sp, #48]
and w8, w8, w9
sturb w8, [x29, #-44]
ldurb w8, [x29, #-41]
ldr w9, [sp, #48]
and w8, w8, w9
mvn w8, w8
sturb w8, [x29, #-42]
ldurb w8, [x29, #-44]
mvn w8, w8
sturb w8, [x29, #-41]
ldurb w8, [x29, #-43]
mov x2, x8
ldur x3, [x29, #-32]
mov x1, #1
bl _fwrite
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_14 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
sub x8, x29, #42
str x8, [sp, #16] ; 8-byte Folded Spill
ldurb w10, [x29, #-42]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldurb w8, [x29, #-42]
ldr w9, [sp, #48]
and w8, w8, w9
mvn w8, w8
sturb w8, [x29, #-42]
ldurb w10, [x29, #-42]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldurb w8, [x29, #-43]
mov x2, x8
ldur x3, [x29, #-32]
mov x1, #1
bl _fwrite
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_14 Depth=1
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_14 Depth=1
ldur w8, [x29, #-40]
add w8, w8, #2
stur w8, [x29, #-40]
b LBB0_14
LBB0_22:
b LBB0_23
LBB0_23:
ldur x0, [x29, #-24]
bl _fclose
ldur x0, [x29, #-32]
bl _fclose
stur wzr, [x29, #-4]
b LBB0_24
LBB0_24:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nUsage: ./encode [input_f] [output_f]\n\n"
l_.str.1: ; @.str.1
.asciz "[input_f] : File which contents are to be encrypted\n"
l_.str.2: ; @.str.2
.asciz "[output_f] : File where encrypted contents are stored\n\n"
l_.str.3: ; @.str.3
.asciz "rb"
l_.str.4: ; @.str.4
.asciz "Error! Input file could not be opened!\n"
l_.str.5: ; @.str.5
.asciz "wb"
l_.str.6: ; @.str.6
.asciz "Error! Could not create output file!\n"
l_.str.7: ; @.str.7
.asciz "Error! Input file is empty!\n"
l_.str.8: ; @.str.8
.asciz "eka"
l_.str.9: ; @.str.9
.asciz "\n1:%c"
l_.str.10: ; @.str.10
.asciz "\n2:%c"
l_.str.11: ; @.str.11
.asciz "else"
l_.str.12: ; @.str.12
.asciz "toka"
l_.str.13: ; @.str.13
.asciz "\nrbcnt:%d"
l_.str.14: ; @.str.14
.asciz "\n1:%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $3, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_24
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_24
LBB0_4:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _fclose
movl $1, -4(%rbp)
jmp LBB0_24
LBB0_6:
movq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movq -24(%rbp), %rdi
callq _ftell
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _fclose
movq -32(%rbp), %rdi
callq _fclose
movl $1, -4(%rbp)
jmp LBB0_24
LBB0_8:
movl $-1, -48(%rbp)
movl -48(%rbp), %eax
shrl $24, %eax
andl -48(%rbp), %eax
movl %eax, -48(%rbp)
movq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
cmpl $2, -36(%rbp)
ja LBB0_13
## %bb.9:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq -42(%rbp), %rdi
movl -36(%rbp), %eax
movl %eax, %edx
movq -24(%rbp), %rcx
movl $1, %esi
callq _fread
movl -36(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
jne LBB0_11
## %bb.10:
movzbl -42(%rbp), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movzbl -41(%rbp), %esi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movzbl -42(%rbp), %eax
xorl $165, %eax
andl -48(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -44(%rbp)
movzbl -41(%rbp), %eax
andl -48(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -42(%rbp)
movzbl -44(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -41(%rbp)
movzbl -42(%rbp), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movzbl -41(%rbp), %esi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq -42(%rbp), %rdi
movl -36(%rbp), %eax
movl %eax, %edx
movq -32(%rbp), %rcx
movl $1, %esi
callq _fwrite
jmp LBB0_12
LBB0_11:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movzbl -42(%rbp), %eax
andl -48(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -42(%rbp)
LBB0_12:
jmp LBB0_23
LBB0_13:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movb $2, -43(%rbp)
movl $0, -40(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
jae LBB0_22
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movzbl -43(%rbp), %eax
movl -36(%rbp), %ecx
subl -40(%rbp), %ecx
cmpl %ecx, %eax
jbe LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movl -36(%rbp), %eax
subl -40(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -43(%rbp)
LBB0_17: ## in Loop: Header=BB0_14 Depth=1
movzbl -43(%rbp), %esi
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
leaq -42(%rbp), %rdi
movzbl -43(%rbp), %eax
movl %eax, %edx
movq -24(%rbp), %rcx
movl $1, %esi
callq _fread
movzbl -43(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_14 Depth=1
movzbl -42(%rbp), %eax
xorl $165, %eax
andl -48(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -44(%rbp)
movzbl -41(%rbp), %eax
andl -48(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -42(%rbp)
movzbl -44(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -41(%rbp)
leaq -42(%rbp), %rdi
movzbl -43(%rbp), %eax
movl %eax, %edx
movq -32(%rbp), %rcx
movl $1, %esi
callq _fwrite
jmp LBB0_20
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movzbl -42(%rbp), %esi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movzbl -42(%rbp), %eax
andl -48(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -42(%rbp)
movzbl -42(%rbp), %esi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
leaq -42(%rbp), %rdi
movzbl -43(%rbp), %eax
movl %eax, %edx
movq -32(%rbp), %rcx
movl $1, %esi
callq _fwrite
LBB0_20: ## in Loop: Header=BB0_14 Depth=1
jmp LBB0_21
LBB0_21: ## in Loop: Header=BB0_14 Depth=1
movl -40(%rbp), %eax
addl $2, %eax
movl %eax, -40(%rbp)
jmp LBB0_14
LBB0_22:
jmp LBB0_23
LBB0_23:
movq -24(%rbp), %rdi
callq _fclose
movq -32(%rbp), %rdi
callq _fclose
movl $0, -4(%rbp)
LBB0_24:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nUsage: ./encode [input_f] [output_f]\n\n"
L_.str.1: ## @.str.1
.asciz "[input_f] : File which contents are to be encrypted\n"
L_.str.2: ## @.str.2
.asciz "[output_f] : File where encrypted contents are stored\n\n"
L_.str.3: ## @.str.3
.asciz "rb"
L_.str.4: ## @.str.4
.asciz "Error! Input file could not be opened!\n"
L_.str.5: ## @.str.5
.asciz "wb"
L_.str.6: ## @.str.6
.asciz "Error! Could not create output file!\n"
L_.str.7: ## @.str.7
.asciz "Error! Input file is empty!\n"
L_.str.8: ## @.str.8
.asciz "eka"
L_.str.9: ## @.str.9
.asciz "\n1:%c"
L_.str.10: ## @.str.10
.asciz "\n2:%c"
L_.str.11: ## @.str.11
.asciz "else"
L_.str.12: ## @.str.12
.asciz "toka"
L_.str.13: ## @.str.13
.asciz "\nrbcnt:%d"
L_.str.14: ## @.str.14
.asciz "\n1:%d"
.subsections_via_symbols
| the_stack_data/167330296.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #39840
movk w9, #63, lsl #16
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1017, lsl #12 ; =4165632
sub sp, sp, #2976
add x8, sp, #1015, lsl #12 ; =4157440
add x8, x8, #2680
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #116]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_9 Depth 2
; Child Loop BB0_13 Depth 2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_25 Depth 3
; Child Loop BB0_31 Depth 2
mov x9, sp
add x8, sp, #112
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #52] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #112]
subs w8, w8, #0
cset w8, gt
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #52] ; 4-byte Folded Reload
tbz w8, #0, LBB0_40
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
str xzr, [sp, #96]
mov w8, #1
str w8, [sp, #108]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #108]
ldr w9, [sp, #112]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=2
ldrsw x9, [sp, #108]
add x8, sp, #1015, lsl #12 ; =4157440
add x8, x8, #2680
str x8, [sp, #40] ; 8-byte Folded Spill
add x10, x8, x9, lsl #3
ldrsw x9, [sp, #108]
add x8, sp, #1015, lsl #12 ; =4157440
add x8, x8, #3120
str x8, [sp, #32] ; 8-byte Folded Spill
add x8, x8, x9, lsl #3
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldrsw x10, [sp, #108]
ldr x8, [x8, x10, lsl #3]
ldrsw x10, [sp, #108]
ldr x9, [x9, x10, lsl #3]
mul x9, x8, x9
ldr x8, [sp, #96]
add x8, x8, x9
str x8, [sp, #96]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
ldr w8, [sp, #108]
add w8, w8, #1
str w8, [sp, #108]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #96]
mov x9, #2
sdiv x8, x8, x9
str x8, [sp, #88]
add x0, sp, #507, lsl #12 ; =2076672
add x0, x0, #3448
mov x1, #48384
movk x1, #31, lsl #16
str x1, [sp, #24] ; 8-byte Folded Spill
bl _bzero
ldr x1, [sp, #24] ; 8-byte Folded Reload
add x0, sp, #120
bl _bzero
str xzr, [sp, #80]
b LBB0_9
LBB0_9: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #80]
ldr x9, [x10, #448]
ldr x10, [x10, #8]
mul x9, x9, x10
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=2
ldr x10, [sp, #80]
add x9, sp, #507, lsl #12 ; =2076672
add x9, x9, #3448
mov x8, #1
str x8, [x9, x10, lsl #3]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr x8, [sp, #80]
add x8, x8, x9
str x8, [sp, #80]
b LBB0_9
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
mov x8, #2
str x8, [sp, #80]
b LBB0_13
LBB0_13: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_25 Depth 3
ldr x8, [sp, #80]
ldrsw x9, [sp, #112]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_30
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=2
str xzr, [sp, #72]
b LBB0_15
LBB0_15: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_17 Depth 4
ldr x8, [sp, #72]
ldr x9, [sp, #88]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_24
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=3
str xzr, [sp, #64]
b LBB0_17
LBB0_17: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; Parent Loop BB0_15 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #64]
ldr x10, [sp, #80]
add x9, sp, #1015, lsl #12 ; =4157440
add x9, x9, #3120
ldr x9, [x9, x10, lsl #3]
ldr x11, [sp, #80]
add x10, sp, #1015, lsl #12 ; =4157440
add x10, x10, #2680
ldr x10, [x10, x11, lsl #3]
mul x9, x9, x10
subs x8, x8, x9
cset w8, gt
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=4
ldr x8, [sp, #64]
ldr x9, [sp, #72]
add x8, x8, x9
ldr x9, [sp, #88]
subs x8, x8, x9
cset w8, le
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_17 Depth=4
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_17 Depth=4
ldr x9, [sp, #72]
add x8, sp, #507, lsl #12 ; =2076672
add x8, x8, #3448
ldr x10, [x8, x9, lsl #3]
ldr x8, [sp, #64]
ldr x9, [sp, #72]
add x9, x8, x9
add x8, sp, #120
add x9, x8, x9, lsl #3
ldr x8, [x9]
add x8, x8, x10
str x8, [x9]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_17 Depth=4
ldr x9, [sp, #80]
add x8, sp, #1015, lsl #12 ; =4157440
add x8, x8, #2680
ldr x9, [x8, x9, lsl #3]
ldr x8, [sp, #64]
add x8, x8, x9
str x8, [sp, #64]
b LBB0_17
LBB0_22: ; in Loop: Header=BB0_15 Depth=3
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_15 Depth=3
ldr x8, [sp, #72]
add x8, x8, #1
str x8, [sp, #72]
b LBB0_15
LBB0_24: ; in Loop: Header=BB0_13 Depth=2
str xzr, [sp, #72]
b LBB0_25
LBB0_25: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #72]
ldr x9, [sp, #88]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_28
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=3
ldr x8, [sp, #72]
add x9, sp, #120
ldr x8, [x9, x8, lsl #3]
ldr x11, [sp, #72]
add x10, sp, #507, lsl #12 ; =2076672
add x10, x10, #3448
str x8, [x10, x11, lsl #3]
ldr x10, [sp, #72]
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=3
ldr x8, [sp, #72]
add x8, x8, #1
str x8, [sp, #72]
b LBB0_25
LBB0_28: ; in Loop: Header=BB0_13 Depth=2
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_13 Depth=2
ldr x8, [sp, #80]
add x8, x8, #1
str x8, [sp, #80]
b LBB0_13
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #88]
str x8, [sp, #80]
b LBB0_31
LBB0_31: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #80]
subs x8, x8, #0
cset w8, lt
tbnz w8, #0, LBB0_39
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_31 Depth=2
ldr x9, [sp, #80]
add x8, sp, #507, lsl #12 ; =2076672
add x8, x8, #3448
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_37
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #80]
ldr x9, [sp, #96]
ldr x10, [sp, #80]
subs x9, x9, x10
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #96]
ldr x9, [sp, #80]
subs x10, x8, x9
ldr x8, [sp, #80]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
ldr x10, [sp, #80]
ldr x8, [sp, #96]
ldr x9, [sp, #80]
subs x8, x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
b LBB0_39
LBB0_37: ; in Loop: Header=BB0_31 Depth=2
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_31 Depth=2
ldr x8, [sp, #80]
subs x8, x8, #1
str x8, [sp, #80]
b LBB0_31
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_40:
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_42
b LBB0_41
LBB0_41:
bl ___stack_chk_fail
LBB0_42:
mov w0, #0
add sp, sp, #1017, lsl #12 ; =4165632
add sp, sp, #2976
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%lld %lld"
l_.str.2: ; @.str.2
.asciz "%lld %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
movl $4168560, %eax ## imm = 0x3F9B70
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -4168500(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_9 Depth 2
## Child Loop BB0_13 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_31 Depth 2
leaq L_.str(%rip), %rdi
leaq -4168504(%rbp), %rsi
movb $0, %al
callq _scanf
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -4168553(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -4168504(%rbp)
setg %al
movb %al, -4168553(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -4168553(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_40
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq $0, -4168520(%rbp)
movl $1, -4168508(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -4168508(%rbp), %eax
cmpl -4168504(%rbp), %eax
jg LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movslq -4168508(%rbp), %rax
leaq -8496(%rbp), %rsi
shlq $3, %rax
addq %rax, %rsi
movslq -4168508(%rbp), %rax
leaq -8048(%rbp), %rdx
shlq $3, %rax
addq %rax, %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movslq -4168508(%rbp), %rax
movq -8048(%rbp,%rax,8), %rax
movslq -4168508(%rbp), %rcx
imulq -8496(%rbp,%rcx,8), %rax
addq -4168520(%rbp), %rax
movq %rax, -4168520(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movl -4168508(%rbp), %eax
addl $1, %eax
movl %eax, -4168508(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq -4168520(%rbp), %rax
movl $2, %ecx
cqto
idivq %rcx
movq %rax, -4168528(%rbp)
leaq -2088496(%rbp), %rdi
xorl %esi, %esi
movl $2080000, %edx ## imm = 0x1FBD00
callq _memset
leaq -4168496(%rbp), %rdi
xorl %esi, %esi
movl $2080000, %edx ## imm = 0x1FBD00
callq _memset
movq $0, -4168536(%rbp)
LBB0_9: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -4168536(%rbp), %rax
movq -8040(%rbp), %rcx
imulq -8488(%rbp), %rcx
cmpq %rcx, %rax
jg LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movq -4168536(%rbp), %rax
movq $1, -2088496(%rbp,%rax,8)
## %bb.11: ## in Loop: Header=BB0_9 Depth=2
movq -8488(%rbp), %rax
addq -4168536(%rbp), %rax
movq %rax, -4168536(%rbp)
jmp LBB0_9
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movq $2, -4168536(%rbp)
LBB0_13: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 4
## Child Loop BB0_25 Depth 3
movq -4168536(%rbp), %rax
movslq -4168504(%rbp), %rcx
cmpq %rcx, %rax
jg LBB0_30
## %bb.14: ## in Loop: Header=BB0_13 Depth=2
movq $0, -4168544(%rbp)
LBB0_15: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_17 Depth 4
movq -4168544(%rbp), %rax
cmpq -4168528(%rbp), %rax
jg LBB0_24
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movq $0, -4168552(%rbp)
LBB0_17: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## Parent Loop BB0_15 Depth=3
## => This Inner Loop Header: Depth=4
movq -4168552(%rbp), %rcx
movq -4168536(%rbp), %rax
movq -8048(%rbp,%rax,8), %rdx
movq -4168536(%rbp), %rax
imulq -8496(%rbp,%rax,8), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq %rdx, %rcx
movb %al, -4168554(%rbp) ## 1-byte Spill
jg LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=4
movq -4168552(%rbp), %rax
addq -4168544(%rbp), %rax
cmpq -4168528(%rbp), %rax
setle %al
movb %al, -4168554(%rbp) ## 1-byte Spill
LBB0_19: ## in Loop: Header=BB0_17 Depth=4
movb -4168554(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_20
jmp LBB0_22
LBB0_20: ## in Loop: Header=BB0_17 Depth=4
movq -4168544(%rbp), %rax
movq -2088496(%rbp,%rax,8), %rcx
movq -4168552(%rbp), %rax
addq -4168544(%rbp), %rax
addq -4168496(%rbp,%rax,8), %rcx
movq %rcx, -4168496(%rbp,%rax,8)
## %bb.21: ## in Loop: Header=BB0_17 Depth=4
movq -4168536(%rbp), %rax
movq -8496(%rbp,%rax,8), %rax
addq -4168552(%rbp), %rax
movq %rax, -4168552(%rbp)
jmp LBB0_17
LBB0_22: ## in Loop: Header=BB0_15 Depth=3
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_15 Depth=3
movq -4168544(%rbp), %rax
addq $1, %rax
movq %rax, -4168544(%rbp)
jmp LBB0_15
LBB0_24: ## in Loop: Header=BB0_13 Depth=2
movq $0, -4168544(%rbp)
LBB0_25: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## => This Inner Loop Header: Depth=3
movq -4168544(%rbp), %rax
cmpq -4168528(%rbp), %rax
jg LBB0_28
## %bb.26: ## in Loop: Header=BB0_25 Depth=3
movq -4168544(%rbp), %rax
movq -4168496(%rbp,%rax,8), %rcx
movq -4168544(%rbp), %rax
movq %rcx, -2088496(%rbp,%rax,8)
movq -4168544(%rbp), %rax
movq $0, -4168496(%rbp,%rax,8)
## %bb.27: ## in Loop: Header=BB0_25 Depth=3
movq -4168544(%rbp), %rax
addq $1, %rax
movq %rax, -4168544(%rbp)
jmp LBB0_25
LBB0_28: ## in Loop: Header=BB0_13 Depth=2
jmp LBB0_29
LBB0_29: ## in Loop: Header=BB0_13 Depth=2
movq -4168536(%rbp), %rax
addq $1, %rax
movq %rax, -4168536(%rbp)
jmp LBB0_13
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
movq -4168528(%rbp), %rax
movq %rax, -4168536(%rbp)
LBB0_31: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -4168536(%rbp)
jl LBB0_39
## %bb.32: ## in Loop: Header=BB0_31 Depth=2
movq -4168536(%rbp), %rax
cmpq $0, -2088496(%rbp,%rax,8)
je LBB0_37
## %bb.33: ## in Loop: Header=BB0_1 Depth=1
movq -4168536(%rbp), %rax
movq -4168520(%rbp), %rcx
subq -4168536(%rbp), %rcx
cmpq %rcx, %rax
jg LBB0_35
## %bb.34: ## in Loop: Header=BB0_1 Depth=1
movq -4168520(%rbp), %rsi
subq -4168536(%rbp), %rsi
movq -4168536(%rbp), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_36
LBB0_35: ## in Loop: Header=BB0_1 Depth=1
movq -4168536(%rbp), %rsi
movq -4168520(%rbp), %rdx
subq -4168536(%rbp), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_36: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_39
LBB0_37: ## in Loop: Header=BB0_31 Depth=2
jmp LBB0_38
LBB0_38: ## in Loop: Header=BB0_31 Depth=2
movq -4168536(%rbp), %rax
addq $-1, %rax
movq %rax, -4168536(%rbp)
jmp LBB0_31
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_40:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_42
## %bb.41:
xorl %eax, %eax
addq $4168560, %rsp ## imm = 0x3F9B70
popq %rbp
retq
LBB0_42:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%lld %lld"
L_.str.2: ## @.str.2
.asciz "%lld %lld\n"
.subsections_via_symbols
| the_stack_data/1248280.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _threadServer ; -- Begin function threadServer
.p2align 2
_threadServer: ; @threadServer
.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _system
str w0, [sp, #12]
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _threadInterface ; -- Begin function threadInterface
.p2align 2
_threadInterface: ; @threadInterface
.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]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _system
str w0, [sp, #12]
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _sigHandler ; -- Begin function sigHandler
.p2align 2
_sigHandler: ; @sigHandler
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, _server_thread_id@GOTPAGE
ldr x8, [x8, _server_thread_id@GOTPAGEOFF]
ldr x0, [x8]
bl _pthread_cancel
adrp x8, _interface_thread_id@GOTPAGE
ldr x8, [x8, _interface_thread_id@GOTPAGEOFF]
ldr x0, [x8]
bl _pthread_cancel
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, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #2
adrp x1, _sigHandler@PAGE
add x1, x1, _sigHandler@PAGEOFF
str x1, [sp, #8] ; 8-byte Folded Spill
bl _signal
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov w0, #15
bl _signal
adrp x0, _server_thread_id@GOTPAGE
ldr x0, [x0, _server_thread_id@GOTPAGEOFF]
str x0, [sp, #16] ; 8-byte Folded Spill
mov x3, #0
stur x3, [x29, #-16] ; 8-byte Folded Spill
mov x1, x3
adrp x2, _threadServer@PAGE
add x2, x2, _threadServer@PAGEOFF
bl _pthread_create
ldur x3, [x29, #-16] ; 8-byte Folded Reload
adrp x0, _interface_thread_id@GOTPAGE
ldr x0, [x0, _interface_thread_id@GOTPAGEOFF]
str x0, [sp, #24] ; 8-byte Folded Spill
mov x1, x3
adrp x2, _threadInterface@PAGE
add x2, x2, _threadInterface@PAGEOFF
bl _pthread_create
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x1, [x29, #-16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _pthread_join
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x1, [x29, #-16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _pthread_join
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "node ./src/server/app.js"
l_.str.1: ; @.str.1
.asciz "python3 ./src/interface/rfid-interface.py"
.comm _server_thread_id,8,3 ; @server_thread_id
.comm _interface_thread_id,8,3 ; @interface_thread_id
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _threadServer ## -- Begin function threadServer
.p2align 4, 0x90
_threadServer: ## @threadServer
.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)
leaq L_.str(%rip), %rdi
callq _system
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _threadInterface ## -- Begin function threadInterface
.p2align 4, 0x90
_threadInterface: ## @threadInterface
.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)
leaq L_.str.1(%rip), %rdi
callq _system
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sigHandler ## -- Begin function sigHandler
.p2align 4, 0x90
_sigHandler: ## @sigHandler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq _server_thread_id@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _pthread_cancel
movq _interface_thread_id@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _pthread_cancel
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $2, %edi
leaq _sigHandler(%rip), %rsi
callq _signal
movl $15, %edi
leaq _sigHandler(%rip), %rsi
callq _signal
movq _server_thread_id@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _threadServer(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
movq _interface_thread_id@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _threadInterface(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
movq _server_thread_id@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movq _interface_thread_id@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "node ./src/server/app.js"
L_.str.1: ## @.str.1
.asciz "python3 ./src/interface/rfid-interface.py"
.comm _server_thread_id,8,3 ## @server_thread_id
.comm _interface_thread_id,8,3 ## @interface_thread_id
.subsections_via_symbols
| the_stack_data/97381.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zip_bitrev ; -- Begin function zip_bitrev
.p2align 2
_zip_bitrev: ; @zip_bitrev
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
str w8, [sp, #4]
str wzr, [sp, #8]
str wzr, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #8]
ldr w8, [sp, #4]
bfi w8, w9, #1, #31
str w8, [sp, #8]
ldr w8, [sp, #4]
lsr w8, w8, #1
str w8, [sp, #4]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB0_1
LBB0_4:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _cltz ; -- Begin function cltz
.p2align 2
_cltz: ; @cltz
.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]
ldr x8, [sp, #8]
lsr x8, x8, #32
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr w8, [sp]
add w8, w8, #32
str w8, [sp]
ldr w8, [sp, #8]
; kill: def $x8 killed $w8
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #4]
b LBB1_2
LBB1_2:
ldr w0, [sp, #4]
bl _zip_bitrev
str w0, [sp, #4]
ldrh w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr w8, [sp]
add w8, w8, #16
str w8, [sp]
ldr w8, [sp, #4]
lsr w8, w8, #16
str w8, [sp, #4]
b LBB1_4
LBB1_4:
ldrb w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldr w8, [sp]
add w8, w8, #8
str w8, [sp]
ldr w8, [sp, #4]
lsr w8, w8, #8
str w8, [sp, #4]
b LBB1_6
LBB1_6:
ldr w8, [sp, #4]
ands w8, w8, #0xf
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldr w8, [sp]
add w8, w8, #4
str w8, [sp]
ldr w8, [sp, #4]
lsr w8, w8, #4
str w8, [sp, #4]
b LBB1_8
LBB1_8:
ldr w8, [sp, #4]
ands w8, w8, #0x3
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldr w8, [sp]
add w8, w8, #2
str w8, [sp]
ldr w8, [sp, #4]
lsr w8, w8, #2
str w8, [sp, #4]
b LBB1_10
LBB1_10:
ldr w8, [sp, #4]
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_12
LBB1_12:
ldr w0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___udivdi3 ; -- Begin function __udivdi3
.p2align 2
___udivdi3: ; @__udivdi3
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
stur xzr, [x29, #-8]
b LBB2_14
LBB2_2:
ldur x8, [x29, #-24]
lsr x8, x8, #32
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_3
LBB2_3:
ldur x8, [x29, #-16]
lsr x8, x8, #32
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldur x8, [x29, #-16]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-36]
ldur x8, [x29, #-24]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #40]
ldur w8, [x29, #-36]
ldr w9, [sp, #40]
udiv w8, w8, w9
str w8, [sp, #36]
ldr w8, [sp, #36]
; kill: def $x8 killed $w8
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
stur x8, [x29, #-8]
b LBB2_14
LBB2_5:
ldur x0, [x29, #-16]
bl _cltz
str w0, [sp, #32]
ldur x0, [x29, #-24]
bl _cltz
str w0, [sp, #28]
ldr w8, [sp, #32]
mov x9, x8
ldur x8, [x29, #-16]
lsl x8, x8, x9
stur x8, [x29, #-16]
ldr w8, [sp, #28]
ldr w9, [sp, #32]
subs w8, w8, w9
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6:
ldur x8, [x29, #-24]
ldr w9, [sp, #32]
; kill: def $x9 killed $w9
lsl x8, x8, x9
ands x8, x8, #0xffffffff
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldr w8, [sp, #32]
mov x9, x8
ldur x8, [x29, #-24]
lsl x8, x8, x9
stur x8, [x29, #-24]
ldur x8, [x29, #-16]
lsr x8, x8, #32
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
ldur x8, [x29, #-24]
lsr x8, x8, #32
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
udiv w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #4]
; kill: def $x8 killed $w8
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
stur x8, [x29, #-8]
b LBB2_14
LBB2_8:
stur xzr, [x29, #-32]
ldr w8, [sp, #28]
mov x9, x8
ldur x8, [x29, #-24]
lsl x8, x8, x9
stur x8, [x29, #-24]
ldr w8, [sp, #28]
ldr w9, [sp, #32]
subs w9, w8, w9
mov x8, #1
; kill: def $x9 killed $w9
lsl x8, x8, x9
str x8, [sp, #16]
b LBB2_9
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB2_13
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_9 Depth=1
ldr x9, [sp, #16]
ldur x8, [x29, #-32]
orr x8, x8, x9
stur x8, [x29, #-32]
ldur x9, [x29, #-24]
ldur x8, [x29, #-16]
subs x8, x8, x9
stur x8, [x29, #-16]
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [sp, #16]
lsr x8, x8, #1
str x8, [sp, #16]
ldur x8, [x29, #-24]
lsr x8, x8, #1
stur x8, [x29, #-24]
b LBB2_9
LBB2_13:
ldur x8, [x29, #-32]
stur x8, [x29, #-8]
b LBB2_14
LBB2_14:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl ___divdi3 ; -- Begin function __divdi3
.p2align 2
___divdi3: ; @__divdi3
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #1
str w8, [sp, #12]
ldur x9, [x29, #-8]
mov x8, #0
subs x8, x8, x9
stur x8, [x29, #-8]
b LBB3_2
LBB3_2:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
ldr w8, [sp, #12]
eor w8, w8, #0x1
str w8, [sp, #12]
ldr x9, [sp, #16]
mov x8, #0
subs x8, x8, x9
str x8, [sp, #16]
b LBB3_4
LBB3_4:
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl ___udivdi3
str x0, [sp]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
ldr x9, [sp]
mov x8, #0
subs x8, x8, x9
str x8, [sp]
b LBB3_6
LBB3_6:
ldr x0, [sp]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zip_bitrev ## -- Begin function zip_bitrev
.p2align 4, 0x90
_zip_bitrev: ## @zip_bitrev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, -12(%rbp)
movl $0, -8(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $32, -16(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
shll $1, %eax
movl -12(%rbp), %ecx
andl $1, %ecx
orl %ecx, %eax
movl %eax, -8(%rbp)
movl -12(%rbp), %eax
shrl $1, %eax
movl %eax, -12(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cltz ## -- Begin function cltz
.p2align 4, 0x90
_cltz: ## @cltz
.cfi_startproc
## %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, -16(%rbp)
movq -8(%rbp), %rax
shrq $32, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
cmpl $0, -12(%rbp)
jne LBB1_2
## %bb.1:
movl -16(%rbp), %eax
addl $32, %eax
movl %eax, -16(%rbp)
movabsq $4294967295, %rax ## imm = 0xFFFFFFFF
andq -8(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
LBB1_2:
movl -12(%rbp), %edi
callq _zip_bitrev
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
andl $65535, %eax ## imm = 0xFFFF
cmpl $0, %eax
jne LBB1_4
## %bb.3:
movl -16(%rbp), %eax
addl $16, %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
shrl $16, %eax
movl %eax, -12(%rbp)
LBB1_4:
movl -12(%rbp), %eax
andl $255, %eax
cmpl $0, %eax
jne LBB1_6
## %bb.5:
movl -16(%rbp), %eax
addl $8, %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
shrl $8, %eax
movl %eax, -12(%rbp)
LBB1_6:
movl -12(%rbp), %eax
andl $15, %eax
cmpl $0, %eax
jne LBB1_8
## %bb.7:
movl -16(%rbp), %eax
addl $4, %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
shrl $4, %eax
movl %eax, -12(%rbp)
LBB1_8:
movl -12(%rbp), %eax
andl $3, %eax
cmpl $0, %eax
jne LBB1_10
## %bb.9:
movl -16(%rbp), %eax
addl $2, %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
shrl $2, %eax
movl %eax, -12(%rbp)
LBB1_10:
movl -12(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
jne LBB1_12
## %bb.11:
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB1_12:
movl -16(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___udivdi3 ## -- Begin function __udivdi3
.p2align 4, 0x90
___udivdi3: ## @__udivdi3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
cmpq -24(%rbp), %rax
jae LBB2_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB2_14
LBB2_2:
movq -24(%rbp), %rax
shrq $32, %rax
cmpq $0, %rax
jne LBB2_5
## %bb.3:
movq -16(%rbp), %rax
shrq $32, %rax
cmpq $0, %rax
jne LBB2_5
## %bb.4:
movq -16(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movq -24(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movl -36(%rbp), %eax
xorl %edx, %edx
divl -40(%rbp)
movl %eax, -44(%rbp)
movl -44(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB2_14
LBB2_5:
movq -16(%rbp), %rdi
callq _cltz
movl %eax, -48(%rbp)
movq -24(%rbp), %rdi
callq _cltz
movl %eax, -52(%rbp)
movl -48(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rax
movq %rax, -16(%rbp)
movl -52(%rbp), %eax
subl -48(%rbp), %eax
cmpl $32, %eax
jge LBB2_8
## %bb.6:
movq -24(%rbp), %rax
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rax
movabsq $4294967295, %rcx ## imm = 0xFFFFFFFF
andq %rcx, %rax
cmpq $0, %rax
jne LBB2_8
## %bb.7:
movl -48(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
shrq $32, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp)
movq -24(%rbp), %rax
shrq $32, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -72(%rbp)
movl -68(%rbp), %eax
xorl %edx, %edx
divl -72(%rbp)
movl %eax, -76(%rbp)
movl -76(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB2_14
LBB2_8:
movq $0, -32(%rbp)
movl -52(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rax
movq %rax, -24(%rbp)
movl -52(%rbp), %eax
subl -48(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movq %rax, -64(%rbp)
LBB2_9: ## =>This Inner Loop Header: Depth=1
cmpq $0, -64(%rbp)
jbe LBB2_13
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movq -16(%rbp), %rax
cmpq -24(%rbp), %rax
jb LBB2_12
## %bb.11: ## in Loop: Header=BB2_9 Depth=1
movq -64(%rbp), %rax
orq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
subq %rcx, %rax
movq %rax, -16(%rbp)
LBB2_12: ## in Loop: Header=BB2_9 Depth=1
movq -64(%rbp), %rax
shrq $1, %rax
movq %rax, -64(%rbp)
movq -24(%rbp), %rax
shrq $1, %rax
movq %rax, -24(%rbp)
jmp LBB2_9
LBB2_13:
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB2_14:
movq -8(%rbp), %rax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___divdi3 ## -- Begin function __divdi3
.p2align 4, 0x90
___divdi3: ## @__divdi3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
cmpq $0, -8(%rbp)
jge LBB3_2
## %bb.1:
movl $1, -20(%rbp)
xorl %eax, %eax
## kill: def $rax killed $eax
subq -8(%rbp), %rax
movq %rax, -8(%rbp)
LBB3_2:
cmpq $0, -16(%rbp)
jge LBB3_4
## %bb.3:
movl -20(%rbp), %eax
xorl $1, %eax
movl %eax, -20(%rbp)
xorl %eax, %eax
## kill: def $rax killed $eax
subq -16(%rbp), %rax
movq %rax, -16(%rbp)
LBB3_4:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq ___udivdi3
movq %rax, -32(%rbp)
cmpl $0, -20(%rbp)
je LBB3_6
## %bb.5:
xorl %eax, %eax
## kill: def $rax killed $eax
subq -32(%rbp), %rax
movq %rax, -32(%rbp)
LBB3_6:
movq -32(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/117934.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x0, #0
str xzr, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _h ; -- Begin function h
.p2align 2
_h: ; @h
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #0
bl _g
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _h2 ; -- Begin function h2
.p2align 2
_h2: ; @h2
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
mov x1, #0
bl _g2
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _p ; @p
.zerofill __DATA,__common,_p,8,3
.globl _q ; @q
.zerofill __DATA,__common,_q,8,3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, -8(%rbp)
xorl %eax, %eax
## kill: def $rax killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _h ## -- Begin function h
.p2align 4, 0x90
_h: ## @h
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
movl %eax, %edi
callq _g
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _h2 ## -- Begin function h2
.p2align 4, 0x90
_h2: ## @h2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
xorl %eax, %eax
movl %eax, %esi
callq _g2
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _p ## @p
.zerofill __DATA,__common,_p,8,3
.globl _q ## @q
.zerofill __DATA,__common,_q,8,3
.subsections_via_symbols
| the_stack_data/51209.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
sub x8, x29, #8
mov w9, #20
stur w9, [x29, #-8]
mov x9, x8
str x9, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Address of var variable: %x\n"
l_.str.1: ; @.str.1
.asciz "Address stored in ip variable: %x\n"
l_.str.2: ; @.str.2
.asciz "Value of *ip variable: %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 $20, -8(%rbp)
leaq -8(%rbp), %rax
movq %rax, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Address of var variable: %x\n"
L_.str.1: ## @.str.1
.asciz "Address stored in ip variable: %x\n"
L_.str.2: ## @.str.2
.asciz "Value of *ip variable: %d\n"
.subsections_via_symbols
| the_stack_data/62636572.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 w0, [x29, #-4]
str x1, [sp]
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
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hello world\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 %edi, -4(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hello world\n"
.subsections_via_symbols
| the_stack_data/175143206.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 w8, w8, w9
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, lo
and w8, w8, #0x1
scvtf d0, w8
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 %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %ecx
movl -8(%rbp), %edx
movl %ecx, %eax
addl %edx, %eax
subl %ecx, %eax
fld1
fldz
fcmovb %st(1), %st
fstp %st(1)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/26907.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _apply ; -- Begin function apply
.p2align 2
_apply: ; @apply
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w9, lt
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.apply@PAGE
add x0, x0, l___func__.apply@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #20
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
mov w8, #1
str w8, [sp, #8]
mov w8, #2
str w8, [sp, #12]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
ldr w0, [sp, #12]
ldr w1, [sp, #8]
blr x8
str w0, [sp, #8]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_4
LBB0_7:
ldr w0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _plus ; -- Begin function plus
.p2align 2
_plus: ; @plus
.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 _mult ; -- Begin function mult
.p2align 2
_mult: ; @mult
.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]
mul w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur w0, [x29, #-16]
adrp x1, _plus@PAGE
add x1, x1, _plus@PAGEOFF
bl _apply
stur w0, [x29, #-8]
ldur w0, [x29, #-16]
adrp x1, _mult@PAGE
add x1, x1, _mult@PAGEOFF
bl _apply
stur w0, [x29, #-12]
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.apply: ; @__func__.apply
.asciz "apply"
l_.str: ; @.str
.asciz "61074103.c"
l_.str.1: ; @.str.1
.asciz "n >= 1"
l_.str.2: ; @.str.2
.asciz "%d"
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 _apply ## -- Begin function apply
.p2align 4, 0x90
_apply: ## @apply
.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)
cmpl $1, -4(%rbp)
setge %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.apply(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $20, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movl $1, -24(%rbp)
movl $2, -20(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -16(%rbp), %rax
movl -20(%rbp), %edi
movl -24(%rbp), %esi
callq *%rax
movl %eax, -24(%rbp)
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_4
LBB0_7:
movl -24(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _plus ## -- Begin function plus
.p2align 4, 0x90
_plus: ## @plus
.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 _mult ## -- Begin function mult
.p2align 4, 0x90
_mult: ## @mult
.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
imull -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str.2(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl -16(%rbp), %edi
leaq _plus(%rip), %rsi
callq _apply
movl %eax, -8(%rbp)
movl -16(%rbp), %edi
leaq _mult(%rip), %rsi
callq _apply
movl %eax, -12(%rbp)
movl -8(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %esi
leaq L_.str.3(%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___func__.apply: ## @__func__.apply
.asciz "apply"
L_.str: ## @.str
.asciz "61074103.c"
L_.str.1: ## @.str.1
.asciz "n >= 1"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/61074103.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ; -- Begin function yylex
.p2align 2
_yylex: ; @yylex
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _yy_init@PAGE
ldr w8, [x8, _yy_init@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_1
LBB0_1:
mov w8, #1
adrp x9, _yy_init@PAGE
str w8, [x9, _yy_init@PAGEOFF]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x9, _yy_start@PAGE
mov w8, #1
str w8, [x9, _yy_start@PAGEOFF]
b LBB0_3
LBB0_3:
adrp x8, _yyin@PAGE
ldr x8, [x8, _yyin@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
b LBB0_5
LBB0_5:
adrp x8, _yyout@PAGE
ldr x8, [x8, _yyout@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _yyout@PAGE
str x8, [x9, _yyout@PAGEOFF]
b LBB0_7
LBB0_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_9:
mov w8, #0
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl _yyensure_buffer_stack
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
b LBB0_11
LBB0_11:
bl _yy_load_buffer_state
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_18 Depth 4
; Child Loop BB0_25 Depth 3
; Child Loop BB0_28 Depth 4
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
stur w8, [x29, #-4]
b LBB0_14
LBB0_14: ; Parent Loop BB0_13 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_18 Depth 4
; Child Loop BB0_25 Depth 3
; Child Loop BB0_28 Depth 4
b LBB0_15
LBB0_15: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_18 Depth 4
ldur x8, [x29, #-16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-29]
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=3
ldur w8, [x29, #-4]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldur x8, [x29, #-16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=3
b LBB0_18
LBB0_18: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_15 Depth=3
; => This Inner Loop Header: Depth=4
ldursw x9, [x29, #-4]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrh w8, [x8, x9, lsl #1]
ldurb w9, [x29, #-29]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=4
ldursw x9, [x29, #-4]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #14
cset w8, lt
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=4
ldurb w8, [x29, #-29]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-29]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=4
b LBB0_18
LBB0_22: ; in Loop: Header=BB0_15 Depth=3
ldursw x9, [x29, #-4]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrh w8, [x8, x9, lsl #1]
ldurb w9, [x29, #-29]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrh w8, [x8, w9, uxtw #1]
stur w8, [x29, #-4]
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_15 Depth=3
ldursw x9, [x29, #-4]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrh w8, [x8, x9, lsl #1]
subs w8, w8, #20
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_14 Depth=2
b LBB0_25
LBB0_25: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_28 Depth 4
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_last_accepting_cpos@PAGE
ldr x8, [x8, _yy_last_accepting_cpos@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_last_accepting_state@PAGE
ldr w8, [x8, _yy_last_accepting_state@PAGEOFF]
stur w8, [x29, #-4]
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-28]
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=3
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
str x8, [x10]
ldur x8, [x29, #-16]
ldur x10, [x29, #-24]
subs x8, x8, x10
str x8, [x9]
ldur x8, [x29, #-16]
ldrb w8, [x8]
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
ldur x8, [x29, #-16]
strb wzr, [x8]
ldur x8, [x29, #-16]
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
b LBB0_28
LBB0_28: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_25 Depth=3
; => This Inner Loop Header: Depth=4
ldur w8, [x29, #-28]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, LBB0_62
; %bb.29: ; in Loop: Header=BB0_28 Depth=4
ldr x11, [sp, #32] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_30: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
adrp x8, _yy_last_accepting_cpos@PAGE
ldr x8, [x8, _yy_last_accepting_cpos@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_last_accepting_state@PAGE
ldr w8, [x8, _yy_last_accepting_state@PAGEOFF]
stur w8, [x29, #-4]
b LBB0_25
LBB0_31: ; in Loop: Header=BB0_13 Depth=1
adrp x9, _count@PAGE
ldr w8, [x9, _count@PAGEOFF]
add w8, w8, #1
str w8, [x9, _count@PAGEOFF]
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x9]
ldr x1, [x8]
adrp x8, _yyout@PAGE
ldr x3, [x8, _yyout@PAGEOFF]
mov x2, #1
bl _fwrite
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_13 Depth=1
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_13 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_13 Depth=1
b LBB0_63
LBB0_36: ; in Loop: Header=BB0_13 Depth=1
b LBB0_63
LBB0_37: ; in Loop: Header=BB0_13 Depth=1
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x9]
ldr x1, [x8]
adrp x8, _yyout@PAGE
ldr x3, [x8, _yyout@PAGEOFF]
mov x2, #1
bl _fwrite
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_40
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_13 Depth=1
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_13 Depth=1
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_13 Depth=1
b LBB0_63
LBB0_42:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_43: ; in Loop: Header=BB0_28 Depth=4
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x9, [x9]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
subs w8, w8, #1
stur w8, [x29, #-36]
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #60]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_buffer_stack@PAGE
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x11, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x10, x11, lsl #3]
ldr w10, [x10, #32]
adrp x11, _yy_n_chars@PAGE
str w10, [x11, _yy_n_chars@PAGEOFF]
adrp x10, _yyin@PAGE
ldr x10, [x10, _yyin@PAGEOFF]
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
ldr x12, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x10, [x11]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x8, x9, lsl #3]
mov w8, #1
str w8, [x9, #60]
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
adrp x10, _yy_n_chars@PAGE
ldrsw x10, [x10, _yy_n_chars@PAGEOFF]
add x9, x9, x10
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB0_49
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_25 Depth=3
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-36]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _yy_try_NUL_trans
ldr x8, [sp, #40] ; 8-byte Folded Reload
stur w0, [x29, #-40]
ldr x8, [x8]
stur x8, [x29, #-24]
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_14 Depth=2
adrp x10, _yy_c_buf_p@PAGE
ldr x8, [x10, _yy_c_buf_p@PAGEOFF]
add x8, x8, #1
mov x9, x8
str x9, [x10, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
ldur w8, [x29, #-40]
stur w8, [x29, #-4]
b LBB0_14
LBB0_48: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
b LBB0_25
LBB0_49: ; in Loop: Header=BB0_28 Depth=4
bl _yy_get_next_buffer
str w0, [sp, #28] ; 4-byte Folded Spill
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_58
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_28 Depth=4
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_25 Depth=3
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_59
b LBB0_60
LBB0_52: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_did_buffer_switch_on_eof@PAGE
str wzr, [x8, _yy_did_buffer_switch_on_eof@PAGEOFF]
bl _yywrap
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_28 Depth=4
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
subs w8, w8, #1
mov w9, #2
sdiv w8, w8, w9
add w8, w8, #4
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_28
LBB0_54: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _yy_did_buffer_switch_on_eof@PAGE
ldr w8, [x8, _yy_did_buffer_switch_on_eof@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_56
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_13 Depth=1
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_13 Depth=1
b LBB0_60
LBB0_58: ; in Loop: Header=BB0_14 Depth=2
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-36]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x9, [sp, #16] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
stur w0, [x29, #-4]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_14
LBB0_59: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
adrp x9, _yy_n_chars@PAGE
ldrsw x9, [x9, _yy_n_chars@PAGEOFF]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
stur w0, [x29, #-4]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_25
LBB0_60: ; in Loop: Header=BB0_13 Depth=1
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_13 Depth=1
b LBB0_63
LBB0_62:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _yy_fatal_error
LBB0_63: ; in Loop: Header=BB0_13 Depth=1
b LBB0_13
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_30-Ltmp0
.long LBB0_31-Ltmp0
.long LBB0_36-Ltmp0
.long LBB0_37-Ltmp0
.long LBB0_43-Ltmp0
.long LBB0_42-Ltmp0
; -- End function
.p2align 2 ; -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ; @yyensure_buffer_stack
.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, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_1
LBB1_1:
mov x8, #1
stur x8, [x29, #-8]
ldur x8, [x29, #-8]
lsl x0, x8, #3
bl _yyalloc
adrp x8, _yy_buffer_stack@PAGE
str x0, [x8, _yy_buffer_stack@PAGEOFF]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _yy_fatal_error
LBB1_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
ldur x8, [x29, #-8]
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur x8, [x29, #-8]
adrp x9, _yy_buffer_stack_max@PAGE
str x8, [x9, _yy_buffer_stack_max@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
str xzr, [x8, _yy_buffer_stack_top@PAGEOFF]
b LBB1_8
LBB1_4:
adrp x8, _yy_buffer_stack_top@PAGE
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
adrp x9, _yy_buffer_stack_max@PAGE
ldr x9, [x9, _yy_buffer_stack_max@PAGEOFF]
subs x9, x9, #1
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_8
b LBB1_5
LBB1_5:
mov x8, #8
str x8, [sp, #16]
adrp x8, _yy_buffer_stack_max@PAGE
ldr x8, [x8, _yy_buffer_stack_max@PAGEOFF]
ldr x9, [sp, #16]
add x8, x8, x9
stur x8, [x29, #-8]
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
ldur x8, [x29, #-8]
lsl x1, x8, #3
bl _yyrealloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, _yy_buffer_stack@PAGEOFF]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _yy_fatal_error
LBB1_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_max@PAGE
str x9, [sp] ; 8-byte Folded Spill
ldr x9, [x9, _yy_buffer_stack_max@PAGEOFF]
add x0, x8, x9, lsl #3
ldr x8, [sp, #16]
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x9, [sp] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
str x8, [x9, _yy_buffer_stack_max@PAGEOFF]
b LBB1_8
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yy_create_buffer ; -- Begin function yy_create_buffer
.p2align 2
_yy_create_buffer: ; @yy_create_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #64
bl _yyalloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
LBB2_2:
ldursw x8, [x29, #-12]
ldr x9, [sp, #8]
str x8, [x9, #24]
ldr x8, [sp, #8]
ldr x8, [x8, #24]
add x0, x8, #2
bl _yyalloc
ldr x8, [sp, #8]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
LBB2_4:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9, #36]
ldr x0, [sp, #8]
ldur x1, [x29, #-8]
bl _yy_init_buffer
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_load_buffer_state
_yy_load_buffer_state: ; @yy_load_buffer_state
.cfi_startproc
; %bb.0:
adrp x9, _yy_buffer_stack@PAGE
ldr x8, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x11, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x11, lsl #3]
ldr w8, [x8, #32]
adrp x11, _yy_n_chars@PAGE
str w8, [x11, _yy_n_chars@PAGEOFF]
ldr x8, [x9, _yy_buffer_stack@PAGEOFF]
ldr x11, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x11, lsl #3]
ldr x11, [x8, #16]
adrp x8, _yy_c_buf_p@PAGE
str x11, [x8, _yy_c_buf_p@PAGEOFF]
adrp x12, _yytext@GOTPAGE
ldr x12, [x12, _yytext@GOTPAGEOFF]
str x11, [x12]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9]
adrp x10, _yyin@PAGE
str x9, [x10, _yyin@PAGEOFF]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldrb w8, [x8]
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_get_previous_state
_yy_get_previous_state: ; @yy_get_previous_state
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
str w8, [sp, #28]
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #16]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_8 Depth 2
ldr x8, [sp, #16]
adrp x9, _yy_c_buf_p@PAGE
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB4_14
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
ldrb w8, [x8, x9]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_5
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
mov w8, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
strb w8, [sp, #15]
ldrsw x9, [sp, #28]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #28]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldr x8, [sp, #16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
b LBB4_8
LBB4_8: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_8 Depth=2
ldrsw x9, [sp, #28]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #14
cset w8, lt
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_8 Depth=2
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_8 Depth=2
b LBB4_8
LBB4_12: ; in Loop: Header=BB4_1 Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrh w8, [x8, w9, uxtw #1]
str w8, [sp, #28]
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB4_1
LBB4_14:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_try_NUL_trans
_yy_try_NUL_trans: ; @yy_try_NUL_trans
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
str x8, [sp, #16]
mov w8, #1
strb w8, [sp, #15]
ldrsw x9, [sp, #28]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr w8, [sp, #28]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldr x8, [sp, #16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB5_2
LBB5_2:
b LBB5_3
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB5_7
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #14
cset w8, lt
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=1
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_3 Depth=1
b LBB5_3
LBB5_7:
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrh w8, [x8, w9, uxtw #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #13
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_9
b LBB5_8
LBB5_8:
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_10
LBB5_9:
ldr w8, [sp, #28]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_10
LBB5_10:
ldr w0, [sp, #8] ; 4-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_get_next_buffer
_yy_get_next_buffer: ; @yy_get_next_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
ldr x11, [x11, #8]
stur x11, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
adrp x10, _yy_n_chars@PAGE
ldr w10, [x10, _yy_n_chars@PAGEOFF]
add w10, w10, #1
add x9, x9, w10, sxtw
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _yy_fatal_error
LBB6_2:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #56]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_3
LBB6_3:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #0
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB6_59
LBB6_5:
mov w8, #2
stur w8, [x29, #-4]
b LBB6_59
LBB6_6:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #1
stur x8, [x29, #-32]
stur xzr, [x29, #-40]
b LBB6_7
LBB6_7: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_10
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_7 Depth=1
ldur x8, [x29, #-24]
add x9, x8, #1
stur x9, [x29, #-24]
ldrb w8, [x8]
ldur x9, [x29, #-16]
add x10, x9, #1
stur x10, [x29, #-16]
strb w8, [x9]
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_7 Depth=1
ldur x8, [x29, #-40]
add x8, x8, #1
stur x8, [x29, #-40]
b LBB6_7
LBB6_10:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #60]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11:
adrp x8, _yy_n_chars@PAGE
str wzr, [x8, _yy_n_chars@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str wzr, [x8, #32]
b LBB6_48
LBB6_12:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #24]
ldur x9, [x29, #-32]
subs x8, x8, x9
subs x8, x8, #1
stur x8, [x29, #-56]
b LBB6_13
LBB6_13: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-56]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB6_23
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_13 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-64]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldur x9, [x29, #-64]
ldr x9, [x9, #8]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-68]
ldur x8, [x29, #-64]
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_19
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-64]
ldr x8, [x8, #24]
lsl x8, x8, #1
str x8, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB6_17
b LBB6_16
LBB6_16: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-64]
ldr x8, [x8, #24]
mov x9, #8
udiv x10, x8, x9
ldur x9, [x29, #-64]
ldr x8, [x9, #24]
add x8, x8, x10
str x8, [x9, #24]
b LBB6_18
LBB6_17: ; in Loop: Header=BB6_13 Depth=1
ldur x9, [x29, #-64]
ldr x8, [x9, #24]
lsl x8, x8, #1
str x8, [x9, #24]
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-64]
ldr x0, [x8, #8]
ldur x8, [x29, #-64]
ldr x8, [x8, #24]
add x1, x8, #2
bl _yyrealloc
ldur x8, [x29, #-64]
str x0, [x8, #8]
b LBB6_20
LBB6_19: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-64]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-64]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_22
b LBB6_21
LBB6_21:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _yy_fatal_error
LBB6_22: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-64]
ldr x8, [x8, #8]
ldursw x9, [x29, #-68]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #24]
ldur x9, [x29, #-32]
subs x8, x8, x9
subs x8, x8, #1
stur x8, [x29, #-56]
b LBB6_13
LBB6_23:
ldur x8, [x29, #-56]
subs x8, x8, #2, lsl #12 ; =8192
cset w8, ls
tbnz w8, #0, LBB6_25
b LBB6_24
LBB6_24:
mov x8, #8192
stur x8, [x29, #-56]
b LBB6_25
LBB6_25:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_39
b LBB6_26
LBB6_26:
mov w8, #42
str w8, [sp, #60]
str xzr, [sp, #48]
b LBB6_27
LBB6_27: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
ldur x9, [x29, #-56]
subs x8, x8, x9
cset w8, hs
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_30
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_27 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _getc
str w0, [sp, #60]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_30
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #60]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB6_33
b LBB6_31
LBB6_31: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #60]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
ldur x10, [x29, #-32]
add x9, x9, x10
ldr x10, [sp, #48]
strb w8, [x9, x10]
b LBB6_32
LBB6_32: ; in Loop: Header=BB6_27 Depth=1
ldr x8, [sp, #48]
add x8, x8, #1
str x8, [sp, #48]
b LBB6_27
LBB6_33:
ldr w8, [sp, #60]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB6_35
b LBB6_34
LBB6_34:
ldr w8, [sp, #60]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
ldur x10, [x29, #-32]
add x9, x9, x10
ldr x10, [sp, #48]
add x11, x10, #1
str x11, [sp, #48]
strb w8, [x9, x10]
b LBB6_35
LBB6_35:
ldr w8, [sp, #60]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB6_38
b LBB6_36
LBB6_36:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_38
b LBB6_37
LBB6_37:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _yy_fatal_error
LBB6_38:
ldr x8, [sp, #48]
adrp x9, _yy_n_chars@PAGE
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, _yy_n_chars@PAGEOFF]
b LBB6_47
LBB6_39:
bl ___error
str wzr, [x0]
b LBB6_40
LBB6_40: ; =>This Inner Loop Header: Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
ldur x9, [x29, #-32]
add x0, x8, x9
ldur x2, [x29, #-56]
adrp x8, _yyin@PAGE
ldr x3, [x8, _yyin@PAGEOFF]
mov x1, #1
bl _fread
mov x8, x0
adrp x10, _yy_n_chars@PAGE
mov x9, x0
str w9, [x10, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_42
b LBB6_41
LBB6_41: ; in Loop: Header=BB6_40 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB6_42
LBB6_42: ; in Loop: Header=BB6_40 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
tbz w8, #0, LBB6_46
b LBB6_43
LBB6_43: ; in Loop: Header=BB6_40 Depth=1
bl ___error
ldr w8, [x0]
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB6_45
b LBB6_44
LBB6_44:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _yy_fatal_error
LBB6_45: ; in Loop: Header=BB6_40 Depth=1
bl ___error
str wzr, [x0]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _clearerr
b LBB6_40
LBB6_46:
b LBB6_47
LBB6_47:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #32]
b LBB6_48
LBB6_48:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_53
b LBB6_49
LBB6_49:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_51
b LBB6_50
LBB6_50:
mov w8, #1
stur w8, [x29, #-44]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB6_52
LBB6_51:
mov w8, #2
stur w8, [x29, #-44]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #60]
b LBB6_52
LBB6_52:
b LBB6_54
LBB6_53:
stur wzr, [x29, #-44]
b LBB6_54
LBB6_54:
adrp x8, _yy_n_chars@PAGE
ldrsw x8, [x8, _yy_n_chars@PAGEOFF]
ldur x9, [x29, #-32]
add x8, x8, x9
mov x9, x8
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x10, lsl #3]
ldr x8, [x8, #24]
subs x8, x8, w9, sxtw
cset w8, hs
tbnz w8, #0, LBB6_58
b LBB6_55
LBB6_55:
adrp x9, _yy_n_chars@PAGE
ldrsw x8, [x9, _yy_n_chars@PAGEOFF]
ldur x10, [x29, #-32]
add x8, x8, x10
ldr w9, [x9, _yy_n_chars@PAGEOFF]
asr w9, w9, #1
add x8, x8, w9, sxtw
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #44]
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
str x9, [sp, #16] ; 8-byte Folded Spill
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x0, [x8, #8]
ldrsw x1, [sp, #44]
bl _yyrealloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
ldr x11, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x10, x11, lsl #3]
str x0, [x10, #8]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_57
b LBB6_56
LBB6_56:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _yy_fatal_error
LBB6_57:
b LBB6_58
LBB6_58:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur x10, [x29, #-32]
adrp x12, _yy_n_chars@PAGE
ldrsw x8, [x12, _yy_n_chars@PAGEOFF]
add x8, x8, x10
; kill: def $w8 killed $w8 killed $x8
str w8, [x12, _yy_n_chars@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x13, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x13, lsl #3]
ldr x11, [x11, #8]
ldrsw x13, [x12, _yy_n_chars@PAGEOFF]
add x11, x11, x13
strb wzr, [x11]
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
ldr x13, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x13, lsl #3]
ldr x11, [x11, #8]
ldr w12, [x12, _yy_n_chars@PAGEOFF]
add w12, w12, #1
add x11, x11, w12, sxtw
strb wzr, [x11]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x10, lsl #3]
ldr x8, [x8, #8]
str x8, [x9]
ldur w8, [x29, #-44]
stur w8, [x29, #-4]
b LBB6_59
LBB6_59:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _yyrestart ; -- Begin function yyrestart
.p2align 2
_yyrestart: ; @yyrestart
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_2:
mov w8, #0
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
bl _yyensure_buffer_stack
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
b LBB7_4
LBB7_4:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp] ; 8-byte Folded Spill
b LBB7_7
LBB7_6:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB7_7
LBB7_7:
ldr x0, [sp] ; 8-byte Folded Reload
ldr x1, [sp, #8]
bl _yy_init_buffer
bl _yy_load_buffer_state
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_fatal_error
_yy_fatal_error: ; @yy_fatal_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_init_buffer
_yy_init_buffer: ; @yy_init_buffer
.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]
bl ___error
ldr w8, [x0]
stur w8, [x29, #-20]
ldur x0, [x29, #-8]
bl _yy_flush_buffer
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
str x8, [x9]
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #56]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB9_3
LBB9_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB9_3
LBB9_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #48]
ldur x8, [x29, #-8]
str wzr, [x8, #52]
b LBB9_5
LBB9_5:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_7
b LBB9_6
LBB9_6:
ldur x0, [x29, #-16]
bl _fileno
bl _isatty
subs w8, w0, #0
cset w8, gt
and w8, w8, #0x1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB9_8
LBB9_7:
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB9_8
LBB9_8:
ldr w8, [sp, #4] ; 4-byte Folded Reload
ldur x9, [x29, #-8]
str w8, [x9, #40]
ldur w8, [x29, #-20]
str w8, [sp] ; 4-byte Folded Spill
bl ___error
ldr w8, [sp] ; 4-byte Folded Reload
str w8, [x0]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _yy_switch_to_buffer ; -- Begin function yy_switch_to_buffer
.p2align 2
_yy_switch_to_buffer: ; @yy_switch_to_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
bl _yyensure_buffer_stack
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp] ; 8-byte Folded Spill
b LBB10_3
LBB10_2:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB10_3
LBB10_3:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
b LBB10_10
LBB10_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_7
b LBB10_6
LBB10_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_8
b LBB10_9
LBB10_7:
mov w8, #0
tbz w8, #0, LBB10_9
b LBB10_8
LBB10_8:
adrp x8, _yy_hold_char@PAGE
ldrb w9, [x8, _yy_hold_char@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
ldr x10, [x8, _yy_c_buf_p@PAGEOFF]
strb w9, [x10]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x8, [x11, #16]
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #32]
b LBB10_9
LBB10_9:
ldr x8, [sp, #8]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
str x8, [x9, x10, lsl #3]
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB10_10
LBB10_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yyalloc ; -- Begin function yyalloc
.p2align 2
_yyalloc: ; @yyalloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _malloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_delete_buffer ; -- Begin function yy_delete_buffer
.p2align 2
_yy_delete_buffer: ; @yy_delete_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
b LBB12_10
LBB12_2:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB12_4
b LBB12_3
LBB12_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_5
LBB12_4:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_5
LBB12_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB12_7
b LBB12_6
LBB12_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x9, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB12_7
LBB12_7:
ldur x8, [x29, #-8]
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB12_9
b LBB12_8
LBB12_8:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
bl _yyfree
b LBB12_9
LBB12_9:
ldur x0, [x29, #-8]
bl _yyfree
b LBB12_10
LBB12_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yyfree ; -- Begin function yyfree
.p2align 2
_yyfree: ; @yyfree
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_flush_buffer ; -- Begin function yy_flush_buffer
.p2align 2
_yy_flush_buffer: ; @yy_flush_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
b LBB14_7
LBB14_2:
ldur x8, [x29, #-8]
str wzr, [x8, #32]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
strb wzr, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
strb wzr, [x8, #1]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
str x8, [x9, #16]
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #44]
ldur x8, [x29, #-8]
str wzr, [x8, #60]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_5
LBB14_4:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_5
LBB14_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB14_7
b LBB14_6
LBB14_6:
bl _yy_load_buffer_state
b LBB14_7
LBB14_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yypush_buffer_state ; -- Begin function yypush_buffer_state
.p2align 2
_yypush_buffer_state: ; @yypush_buffer_state
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
b LBB15_11
LBB15_2:
bl _yyensure_buffer_stack
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_4
b LBB15_3
LBB15_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_5
b LBB15_6
LBB15_4:
mov w8, #0
tbz w8, #0, LBB15_6
b LBB15_5
LBB15_5:
adrp x8, _yy_hold_char@PAGE
ldrb w9, [x8, _yy_hold_char@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
ldr x10, [x8, _yy_c_buf_p@PAGEOFF]
strb w9, [x10]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x8, [x11, #16]
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #32]
b LBB15_6
LBB15_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_8
b LBB15_7
LBB15_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_9
b LBB15_10
LBB15_8:
mov w8, #0
tbz w8, #0, LBB15_10
b LBB15_9
LBB15_9:
adrp x9, _yy_buffer_stack_top@PAGE
ldr x8, [x9, _yy_buffer_stack_top@PAGEOFF]
add x8, x8, #1
str x8, [x9, _yy_buffer_stack_top@PAGEOFF]
b LBB15_10
LBB15_10:
ldr x8, [sp, #8]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
str x8, [x9, x10, lsl #3]
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB15_11
LBB15_11:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yypop_buffer_state ; -- Begin function yypop_buffer_state
.p2align 2
_yypop_buffer_state: ; @yypop_buffer_state
.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, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_2:
mov w8, #0
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_3:
b LBB16_13
LBB16_4:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_6
b LBB16_5
LBB16_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB16_7
LBB16_6:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB16_7
LBB16_7:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _yy_delete_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x11, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x9, #0
str x9, [x10, x11, lsl #3]
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB16_9
b LBB16_8
LBB16_8:
adrp x9, _yy_buffer_stack_top@PAGE
ldr x8, [x9, _yy_buffer_stack_top@PAGEOFF]
subs x8, x8, #1
str x8, [x9, _yy_buffer_stack_top@PAGEOFF]
b LBB16_9
LBB16_9:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_11
b LBB16_10
LBB16_10:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_12
b LBB16_13
LBB16_11:
mov w8, #0
tbz w8, #0, LBB16_13
b LBB16_12
LBB16_12:
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB16_13
LBB16_13:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_scan_buffer ; -- Begin function yy_scan_buffer
.p2align 2
_yy_scan_buffer: ; @yy_scan_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #2
cset w8, lo
tbnz w8, #0, LBB17_3
b LBB17_1
LBB17_1:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x9, x9, #2
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB17_3
b LBB17_2
LBB17_2:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_4
b LBB17_3
LBB17_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB17_7
LBB17_4:
mov x0, #64
bl _yyalloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB17_6
b LBB17_5
LBB17_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _yy_fatal_error
LBB17_6:
ldr x8, [sp, #8]
subs x8, x8, #2
ldr x9, [sp]
str x8, [x9, #24]
ldr x8, [sp, #16]
ldr x9, [sp]
str x8, [x9, #8]
ldr x9, [sp]
str x8, [x9, #16]
ldr x8, [sp]
str wzr, [x8, #36]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp]
ldr x8, [x8, #24]
ldr x9, [sp]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #32]
ldr x8, [sp]
str wzr, [x8, #40]
ldr x9, [sp]
mov w8, #1
str w8, [x9, #44]
ldr x8, [sp]
str wzr, [x8, #56]
ldr x8, [sp]
str wzr, [x8, #60]
ldr x0, [sp]
bl _yy_switch_to_buffer
ldr x8, [sp]
stur x8, [x29, #-8]
b LBB17_7
LBB17_7:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yy_scan_string ; -- Begin function yy_scan_string
.p2align 2
_yy_scan_string: ; @yy_scan_string
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #8]
bl _strlen
mov x1, x0
ldr x0, [sp] ; 8-byte Folded Reload
bl _yy_scan_bytes
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_scan_bytes ; -- Begin function yy_scan_bytes
.p2align 2
_yy_scan_bytes: ; @yy_scan_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
add x8, x8, #2
str x8, [sp, #8]
ldr x0, [sp, #8]
bl _yyalloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB19_2
b LBB19_1
LBB19_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _yy_fatal_error
LBB19_2:
str xzr, [sp]
b LBB19_3
LBB19_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB19_6
b LBB19_4
LBB19_4: ; in Loop: Header=BB19_3 Depth=1
ldur x8, [x29, #-8]
ldr x9, [sp]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #16]
ldr x10, [sp]
add x9, x9, x10
strb w8, [x9]
b LBB19_5
LBB19_5: ; in Loop: Header=BB19_3 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB19_3
LBB19_6:
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
add x9, x9, #1
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
add x8, x8, x9
strb wzr, [x8]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _yy_scan_buffer
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB19_8
b LBB19_7
LBB19_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _yy_fatal_error
LBB19_8:
ldr x9, [sp, #24]
mov w8, #1
str w8, [x9, #36]
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _yyget_lineno ; -- Begin function yyget_lineno
.p2align 2
_yyget_lineno: ; @yyget_lineno
.cfi_startproc
; %bb.0:
adrp x8, _yylineno@PAGE
ldr w0, [x8, _yylineno@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_in ; -- Begin function yyget_in
.p2align 2
_yyget_in: ; @yyget_in
.cfi_startproc
; %bb.0:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_out ; -- Begin function yyget_out
.p2align 2
_yyget_out: ; @yyget_out
.cfi_startproc
; %bb.0:
adrp x8, _yyout@PAGE
ldr x0, [x8, _yyout@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_leng ; -- Begin function yyget_leng
.p2align 2
_yyget_leng: ; @yyget_leng
.cfi_startproc
; %bb.0:
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
ldr x0, [x8]
ret
.cfi_endproc
; -- End function
.globl _yyget_text ; -- Begin function yyget_text
.p2align 2
_yyget_text: ; @yyget_text
.cfi_startproc
; %bb.0:
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x0, [x8]
ret
.cfi_endproc
; -- End function
.globl _yyset_lineno ; -- Begin function yyset_lineno
.p2align 2
_yyset_lineno: ; @yyset_lineno
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _yylineno@PAGE
str w8, [x9, _yylineno@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyset_in ; -- Begin function yyset_in
.p2align 2
_yyset_in: ; @yyset_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyset_out ; -- Begin function yyset_out
.p2align 2
_yyset_out: ; @yyset_out
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
adrp x9, _yyout@PAGE
str x8, [x9, _yyout@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyget_debug ; -- Begin function yyget_debug
.p2align 2
_yyget_debug: ; @yyget_debug
.cfi_startproc
; %bb.0:
adrp x8, _yy_flex_debug@PAGE
ldr w0, [x8, _yy_flex_debug@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyset_debug ; -- Begin function yyset_debug
.p2align 2
_yyset_debug: ; @yyset_debug
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _yy_flex_debug@PAGE
str w8, [x9, _yy_flex_debug@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yylex_destroy ; -- Begin function yylex_destroy
.p2align 2
_yylex_destroy: ; @yylex_destroy
.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
b LBB30_1
LBB30_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_3
b LBB30_2
LBB30_2: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-8] ; 8-byte Folded Spill
b LBB30_4
LBB30_3: ; in Loop: Header=BB30_1 Depth=1
mov x8, #0
stur x8, [x29, #-8] ; 8-byte Folded Spill
b LBB30_4
LBB30_4: ; in Loop: Header=BB30_1 Depth=1
ldur x8, [x29, #-8] ; 8-byte Folded Reload
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_9
b LBB30_5
LBB30_5: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_7
b LBB30_6
LBB30_6: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB30_8
LBB30_7: ; in Loop: Header=BB30_1 Depth=1
mov x8, #0
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB30_8
LBB30_8: ; in Loop: Header=BB30_1 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _yy_delete_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x9, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x8, #0
str x8, [x9, x10, lsl #3]
bl _yypop_buffer_state
b LBB30_1
LBB30_9:
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
bl _yyfree
ldr x8, [sp, #8] ; 8-byte Folded Reload
; kill: def $x9 killed $xzr
str xzr, [x8, _yy_buffer_stack@PAGEOFF]
bl _yy_init_globals
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_init_globals
_yy_init_globals: ; @yy_init_globals
.cfi_startproc
; %bb.0:
adrp x8, _yy_buffer_stack@PAGE
; kill: def $x9 killed $xzr
str xzr, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
str xzr, [x8, _yy_buffer_stack_top@PAGEOFF]
adrp x8, _yy_buffer_stack_max@PAGE
str xzr, [x8, _yy_buffer_stack_max@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
str xzr, [x8, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_init@PAGE
mov w0, #0
str wzr, [x8, _yy_init@PAGEOFF]
adrp x8, _yy_start@PAGE
str wzr, [x8, _yy_start@PAGEOFF]
adrp x8, _yyin@PAGE
str xzr, [x8, _yyin@PAGEOFF]
adrp x8, _yyout@PAGE
str xzr, [x8, _yyout@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyrealloc ; -- Begin function yyrealloc
.p2align 2
_yyrealloc: ; @yyrealloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _realloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _yylex
adrp x8, _count@PAGE
ldr w9, [x8, _count@PAGEOFF]
; 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
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 _yyin ; @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ; @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ; @yylineno
.p2align 2
_yylineno:
.long 1 ; 0x1
.globl _yy_flex_debug ; @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.globl _count ; @count
.zerofill __DATA,__common,_count,4,2
.zerofill __DATA,__bss,_yy_init,4,2 ; @yy_init
.zerofill __DATA,__bss,_yy_start,4,2 ; @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ; @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ; @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ; @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ; @yy_hold_char
.section __TEXT,__const
_yy_ec: ; @yy_ec
.ascii "\000\001\001\001\001\001\001\001\001\001\002\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\003\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\004\001\001\001\001\001\001\001\001\001\005\001\006\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
.p2align 1 ; @yy_accept
_yy_accept:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 4 ; 0x4
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 0 ; 0x0
.short 2 ; 0x2
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 1 ; 0x1
.short 0 ; 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ; @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ; @yy_last_accepting_cpos
.p2align 1 ; @yy_chk
_yy_chk:
.short 0 ; 0x0
.short 15 ; 0xf
.short 1 ; 0x1
.short 11 ; 0xb
.short 1 ; 0x1
.short 2 ; 0x2
.short 10 ; 0xa
.short 2 ; 0x2
.short 4 ; 0x4
.short 4 ; 0x4
.short 6 ; 0x6
.short 9 ; 0x9
.short 6 ; 0x6
.short 6 ; 0x6
.short 6 ; 0x6
.short 6 ; 0x6
.short 14 ; 0xe
.short 14 ; 0xe
.short 7 ; 0x7
.short 3 ; 0x3
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.p2align 1 ; @yy_base
_yy_base:
.short 0 ; 0x0
.short 0 ; 0x0
.short 3 ; 0x3
.short 19 ; 0x13
.short 5 ; 0x5
.short 20 ; 0x14
.short 9 ; 0x9
.short 14 ; 0xe
.short 0 ; 0x0
.short 5 ; 0x5
.short 1 ; 0x1
.short 1 ; 0x1
.short 20 ; 0x14
.short 20 ; 0x14
.short 15 ; 0xf
.short 0 ; 0x0
.p2align 1 ; @yy_def
_yy_def:
.short 0 ; 0x0
.short 14 ; 0xe
.short 14 ; 0xe
.short 13 ; 0xd
.short 15 ; 0xf
.short 13 ; 0xd
.short 13 ; 0xd
.short 15 ; 0xf
.short 7 ; 0x7
.short 7 ; 0x7
.short 7 ; 0x7
.short 7 ; 0x7
.short 13 ; 0xd
.short 0 ; 0x0
.short 13 ; 0xd
.short 13 ; 0xd
_yy_meta: ; @yy_meta
.ascii "\000\001\002\001\001\001\001"
.p2align 1 ; @yy_nxt
_yy_nxt:
.short 0 ; 0x0
.short 7 ; 0x7
.short 5 ; 0x5
.short 12 ; 0xc
.short 6 ; 0x6
.short 5 ; 0x5
.short 11 ; 0xb
.short 6 ; 0x6
.short 8 ; 0x8
.short 9 ; 0x9
.short 7 ; 0x7
.short 10 ; 0xa
.short 8 ; 0x8
.short 9 ; 0x9
.short 7 ; 0x7
.short 10 ; 0xa
.short 4 ; 0x4
.short 4 ; 0x4
.short 9 ; 0x9
.short 13 ; 0xd
.short 3 ; 0x3
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.short 13 ; 0xd
.comm _yytext,8,3 ; @yytext
.comm _yyleng,8,3 ; @yyleng
.zerofill __DATA,__bss,_yy_n_chars,4,2 ; @yy_n_chars
.zerofill __DATA,__bss,_yy_did_buffer_switch_on_eof,4,2 ; @yy_did_buffer_switch_on_eof
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fatal flex scanner internal error--no action found"
l_.str.1: ; @.str.1
.asciz "out of dynamic memory in yy_create_buffer()"
l_.str.2: ; @.str.2
.asciz "out of dynamic memory in yy_scan_buffer()"
l_.str.3: ; @.str.3
.asciz "out of dynamic memory in yy_scan_bytes()"
l_.str.4: ; @.str.4
.asciz "bad buffer in yy_scan_bytes()"
l_.str.5: ; @.str.5
.asciz "\nCount=%d\n"
l_.str.6: ; @.str.6
.asciz "fatal flex scanner internal error--end of buffer missed"
l_.str.7: ; @.str.7
.asciz "fatal error - scanner input buffer overflow"
l_.str.8: ; @.str.8
.asciz "input in flex scanner failed"
l_.str.9: ; @.str.9
.asciz "out of dynamic memory in yy_get_next_buffer()"
l_.str.10: ; @.str.10
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ; @yy_buffer_stack_max
l_.str.11: ; @.str.11
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ## -- Begin function yylex
.p2align 4, 0x90
_yylex: ## @yylex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
cmpl $0, _yy_init(%rip)
jne LBB0_12
## %bb.1:
movl $1, _yy_init(%rip)
cmpl $0, _yy_start(%rip)
jne LBB0_3
## %bb.2:
movl $1, _yy_start(%rip)
LBB0_3:
cmpq $0, _yyin(%rip)
jne LBB0_5
## %bb.4:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
LBB0_5:
cmpq $0, _yyout(%rip)
jne LBB0_7
## %bb.6:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyout(%rip)
LBB0_7:
cmpq $0, _yy_buffer_stack(%rip)
je LBB0_9
## %bb.8:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB0_11
jmp LBB0_10
LBB0_9:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_11
jmp LBB0_10
LBB0_10:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
LBB0_11:
callq _yy_load_buffer_state
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_28 Depth 4
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movl _yy_start(%rip), %eax
movl %eax, -4(%rbp)
LBB0_14: ## Parent Loop BB0_13 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_28 Depth 4
jmp LBB0_15
LBB0_15: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_18 Depth 4
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB0_17: ## in Loop: Header=BB0_15 Depth=3
jmp LBB0_18
LBB0_18: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## Parent Loop BB0_15 Depth=3
## => This Inner Loop Header: Depth=4
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movzbl -29(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB0_22
## %bb.19: ## in Loop: Header=BB0_18 Depth=4
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $14, -4(%rbp)
jl LBB0_21
## %bb.20: ## in Loop: Header=BB0_18 Depth=4
movzbl -29(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
LBB0_21: ## in Loop: Header=BB0_18 Depth=4
jmp LBB0_18
LBB0_22: ## in Loop: Header=BB0_15 Depth=3
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movzbl -29(%rbp), %ecx
addl %ecx, %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_nxt(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
## %bb.23: ## in Loop: Header=BB0_15 Depth=3
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movzwl (%rax,%rcx,2), %eax
cmpl $20, %eax
jne LBB0_15
## %bb.24: ## in Loop: Header=BB0_14 Depth=2
jmp LBB0_25
LBB0_25: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_28 Depth 4
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_25 Depth=3
movq _yy_last_accepting_cpos(%rip), %rax
movq %rax, -16(%rbp)
movl _yy_last_accepting_state(%rip), %eax
movl %eax, -4(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -28(%rbp)
LBB0_27: ## in Loop: Header=BB0_25 Depth=3
movq -24(%rbp), %rcx
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
subq %rax, %rcx
movq _yyleng@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
movq -16(%rbp), %rax
movb $0, (%rax)
movq -16(%rbp), %rax
movq %rax, _yy_c_buf_p(%rip)
LBB0_28: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## Parent Loop BB0_25 Depth=3
## => This Inner Loop Header: Depth=4
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
subq $5, %rax
ja LBB0_59
## %bb.61: ## in Loop: Header=BB0_28 Depth=4
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_29: ## in Loop: Header=BB0_25 Depth=3
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq _yy_last_accepting_cpos(%rip), %rax
movq %rax, -16(%rbp)
movl _yy_last_accepting_state(%rip), %eax
movl %eax, -4(%rbp)
jmp LBB0_25
LBB0_30: ## in Loop: Header=BB0_13 Depth=1
movl _count(%rip), %eax
addl $1, %eax
movl %eax, _count(%rip)
## %bb.31: ## in Loop: Header=BB0_13 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _yyleng@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _yyout(%rip), %rcx
movl $1, %edx
callq _fwrite
cmpq $0, %rax
je LBB0_33
## %bb.32: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_34
LBB0_34: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_60
LBB0_35: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_60
LBB0_36: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_37
LBB0_37: ## in Loop: Header=BB0_13 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _yyleng@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _yyout(%rip), %rcx
movl $1, %edx
callq _fwrite
cmpq $0, %rax
je LBB0_39
## %bb.38: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_39
LBB0_39: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_40
LBB0_40: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_60
LBB0_41:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_42: ## in Loop: Header=BB0_28 Depth=4
movq -16(%rbp), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
subl $1, %eax
movl %eax, -36(%rbp)
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 60(%rax)
jne LBB0_44
## %bb.43: ## in Loop: Header=BB0_28 Depth=4
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 32(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yyin(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $1, 60(%rax)
LBB0_44: ## in Loop: Header=BB0_28 Depth=4
movq _yy_c_buf_p(%rip), %rax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
movq 8(%rcx), %rcx
movslq _yy_n_chars(%rip), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
ja LBB0_48
## %bb.45: ## in Loop: Header=BB0_25 Depth=3
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _yy_try_NUL_trans
movl %eax, -40(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
cmpl $0, -40(%rbp)
je LBB0_47
## %bb.46: ## in Loop: Header=BB0_14 Depth=2
movq _yy_c_buf_p(%rip), %rax
addq $1, %rax
movq %rax, _yy_c_buf_p(%rip)
movq %rax, -16(%rbp)
movl -40(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_14
LBB0_47: ## in Loop: Header=BB0_25 Depth=3
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
jmp LBB0_25
LBB0_48: ## in Loop: Header=BB0_28 Depth=4
callq _yy_get_next_buffer
movl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_55
jmp LBB0_62
LBB0_62: ## in Loop: Header=BB0_28 Depth=4
movl -52(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_49
jmp LBB0_63
LBB0_63: ## in Loop: Header=BB0_25 Depth=3
movl -52(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_56
jmp LBB0_57
LBB0_49: ## in Loop: Header=BB0_28 Depth=4
movl $0, _yy_did_buffer_switch_on_eof(%rip)
callq _yywrap
cmpl $0, %eax
je LBB0_51
## %bb.50: ## in Loop: Header=BB0_28 Depth=4
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yy_c_buf_p(%rip)
movl _yy_start(%rip), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
addl $4, %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_28
LBB0_51: ## in Loop: Header=BB0_13 Depth=1
cmpl $0, _yy_did_buffer_switch_on_eof(%rip)
jne LBB0_53
## %bb.52: ## in Loop: Header=BB0_13 Depth=1
movq _yyin(%rip), %rdi
callq _yyrestart
LBB0_53: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_54
LBB0_54: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_57
LBB0_55: ## in Loop: Header=BB0_14 Depth=2
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
jmp LBB0_14
LBB0_56: ## in Loop: Header=BB0_25 Depth=3
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq _yy_n_chars(%rip), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
jmp LBB0_25
LBB0_57: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_58
LBB0_58: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_60
LBB0_59:
leaq L_.str(%rip), %rdi
callq _yy_fatal_error
LBB0_60: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_13
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
LJTI0_0:
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_35
.long L0_0_set_36
.long L0_0_set_42
.long L0_0_set_41
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ## @yyensure_buffer_stack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_4
## %bb.1:
movq $1, -8(%rbp)
movq -8(%rbp), %rdi
shlq $3, %rdi
callq _yyalloc
movq %rax, _yy_buffer_stack(%rip)
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_3
## %bb.2:
leaq L_.str.10(%rip), %rdi
callq _yy_fatal_error
LBB1_3:
movq _yy_buffer_stack(%rip), %rdi
movq -8(%rbp), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq %rax, _yy_buffer_stack_max(%rip)
movq $0, _yy_buffer_stack_top(%rip)
jmp LBB1_8
LBB1_4:
movq _yy_buffer_stack_top(%rip), %rax
movq _yy_buffer_stack_max(%rip), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jb LBB1_8
## %bb.5:
movq $8, -16(%rbp)
movq _yy_buffer_stack_max(%rip), %rax
addq -16(%rbp), %rax
movq %rax, -8(%rbp)
movq _yy_buffer_stack(%rip), %rdi
movq -8(%rbp), %rsi
shlq $3, %rsi
callq _yyrealloc
movq %rax, _yy_buffer_stack(%rip)
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_7
## %bb.6:
leaq L_.str.10(%rip), %rdi
callq _yy_fatal_error
LBB1_7:
movq _yy_buffer_stack(%rip), %rdi
movq _yy_buffer_stack_max(%rip), %rax
shlq $3, %rax
addq %rax, %rdi
movq -16(%rbp), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq %rax, _yy_buffer_stack_max(%rip)
LBB1_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_create_buffer ## -- Begin function yy_create_buffer
.p2align 4, 0x90
_yy_create_buffer: ## @yy_create_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $64, %edi
callq _yyalloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB2_2:
movslq -12(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 24(%rax)
movq -24(%rbp), %rax
movq 24(%rax), %rdi
addq $2, %rdi
callq _yyalloc
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB2_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB2_4:
movq -24(%rbp), %rax
movl $1, 36(%rax)
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
callq _yy_init_buffer
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_load_buffer_state
_yy_load_buffer_state: ## @yy_load_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 32(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 16(%rax), %rcx
movq %rcx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movq _yy_c_buf_p(%rip), %rax
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_get_previous_state
_yy_get_previous_state: ## @yy_get_previous_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yy_start(%rip), %eax
movl %eax, -4(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_8 Depth 2
movq -16(%rbp), %rax
cmpq _yy_c_buf_p(%rip), %rax
jae LBB4_14
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movzbl (%rax,%rcx), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB4_5
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movl $1, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB4_5
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movl -24(%rbp), %eax ## 4-byte Reload
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB4_7
## %bb.6: ## in Loop: Header=BB4_1 Depth=1
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_8
LBB4_8: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB4_12
## %bb.9: ## in Loop: Header=BB4_8 Depth=2
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $14, -4(%rbp)
jl LBB4_11
## %bb.10: ## in Loop: Header=BB4_8 Depth=2
movzbl -17(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
LBB4_11: ## in Loop: Header=BB4_8 Depth=2
jmp LBB4_8
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_nxt(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
## %bb.13: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB4_1
LBB4_14:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_try_NUL_trans
_yy_try_NUL_trans: ## @yy_try_NUL_trans
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movb $1, -17(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB5_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB5_2:
jmp LBB5_3
LBB5_3: ## =>This Inner Loop Header: Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB5_7
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $14, -4(%rbp)
jl LBB5_6
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
movzbl -17(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
LBB5_6: ## in Loop: Header=BB5_3 Depth=1
jmp LBB5_3
LBB5_7:
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movl %eax, %eax
movl %eax, %ecx
leaq _yy_nxt(%rip), %rax
movzwl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $13, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB5_9
## %bb.8:
xorl %eax, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB5_10
LBB5_9:
movl -4(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB5_10:
movl -24(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_get_next_buffer
_yy_get_next_buffer: ## @yy_get_next_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
movq 8(%rcx), %rcx
movl _yy_n_chars(%rip), %edx
addl $1, %edx
movslq %edx, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jbe LBB6_2
## %bb.1:
leaq L_.str.6(%rip), %rdi
callq _yy_fatal_error
LBB6_2:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 56(%rax)
jne LBB6_6
## %bb.3:
movq _yy_c_buf_p(%rip), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
subq $0, %rax
cmpq $1, %rax
jne LBB6_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB6_59
LBB6_5:
movl $2, -4(%rbp)
jmp LBB6_59
LBB6_6:
movq _yy_c_buf_p(%rip), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
subq $1, %rax
movq %rax, -32(%rbp)
movq $0, -40(%rbp)
LBB6_7: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -32(%rbp), %rax
jae LBB6_10
## %bb.8: ## in Loop: Header=BB6_7 Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movb (%rax), %cl
movq -16(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -16(%rbp)
movb %cl, (%rax)
## %bb.9: ## in Loop: Header=BB6_7 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB6_7
LBB6_10:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $2, 60(%rax)
jne LBB6_12
## %bb.11:
movl $0, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $0, 32(%rax)
jmp LBB6_48
LBB6_12:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 24(%rax), %rax
subq -32(%rbp), %rax
subq $1, %rax
movq %rax, -56(%rbp)
LBB6_13: ## =>This Inner Loop Header: Depth=1
cmpq $0, -56(%rbp)
ja LBB6_23
## %bb.14: ## in Loop: Header=BB6_13 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -64(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq -64(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp)
movq -64(%rbp), %rax
cmpl $0, 36(%rax)
je LBB6_19
## %bb.15: ## in Loop: Header=BB6_13 Depth=1
movq -64(%rbp), %rax
movq 24(%rax), %rax
shlq $1, %rax
movq %rax, -80(%rbp)
cmpq $0, -80(%rbp)
ja LBB6_17
## %bb.16: ## in Loop: Header=BB6_13 Depth=1
movq -64(%rbp), %rax
movq 24(%rax), %rcx
shrq $3, %rcx
movq -64(%rbp), %rax
addq 24(%rax), %rcx
movq %rcx, 24(%rax)
jmp LBB6_18
LBB6_17: ## in Loop: Header=BB6_13 Depth=1
movq -64(%rbp), %rax
movq 24(%rax), %rcx
shlq $1, %rcx
movq %rcx, 24(%rax)
LBB6_18: ## in Loop: Header=BB6_13 Depth=1
movq -64(%rbp), %rax
movq 8(%rax), %rdi
movq -64(%rbp), %rax
movq 24(%rax), %rsi
addq $2, %rsi
callq _yyrealloc
movq %rax, %rcx
movq -64(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB6_20
LBB6_19: ## in Loop: Header=BB6_13 Depth=1
movq -64(%rbp), %rax
movq $0, 8(%rax)
LBB6_20: ## in Loop: Header=BB6_13 Depth=1
movq -64(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB6_22
## %bb.21:
leaq L_.str.7(%rip), %rdi
callq _yy_fatal_error
LBB6_22: ## in Loop: Header=BB6_13 Depth=1
movq -64(%rbp), %rax
movq 8(%rax), %rax
movslq -68(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 24(%rax), %rax
subq -32(%rbp), %rax
subq $1, %rax
movq %rax, -56(%rbp)
jmp LBB6_13
LBB6_23:
cmpq $8192, -56(%rbp) ## imm = 0x2000
jbe LBB6_25
## %bb.24:
movq $8192, -56(%rbp) ## imm = 0x2000
LBB6_25:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 40(%rax)
je LBB6_39
## %bb.26:
movl $42, -84(%rbp)
movq $0, -96(%rbp)
LBB6_27: ## =>This Inner Loop Header: Depth=1
movq -96(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -56(%rbp), %rcx
movb %al, -101(%rbp) ## 1-byte Spill
jae LBB6_30
## %bb.28: ## in Loop: Header=BB6_27 Depth=1
movq _yyin(%rip), %rdi
callq _getc
movl %eax, %ecx
movl %ecx, -84(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -101(%rbp) ## 1-byte Spill
je LBB6_30
## %bb.29: ## in Loop: Header=BB6_27 Depth=1
cmpl $10, -84(%rbp)
setne %al
movb %al, -101(%rbp) ## 1-byte Spill
LBB6_30: ## in Loop: Header=BB6_27 Depth=1
movb -101(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB6_31
jmp LBB6_33
LBB6_31: ## in Loop: Header=BB6_27 Depth=1
movl -84(%rbp), %eax
movb %al, %dl
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
addq -32(%rbp), %rax
movq -96(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.32: ## in Loop: Header=BB6_27 Depth=1
movq -96(%rbp), %rax
addq $1, %rax
movq %rax, -96(%rbp)
jmp LBB6_27
LBB6_33:
cmpl $10, -84(%rbp)
jne LBB6_35
## %bb.34:
movl -84(%rbp), %eax
movb %al, %dl
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
addq -32(%rbp), %rax
movq -96(%rbp), %rcx
movq %rcx, %rsi
addq $1, %rsi
movq %rsi, -96(%rbp)
movb %dl, (%rax,%rcx)
LBB6_35:
cmpl $-1, -84(%rbp)
jne LBB6_38
## %bb.36:
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
je LBB6_38
## %bb.37:
leaq L_.str.8(%rip), %rdi
callq _yy_fatal_error
LBB6_38:
movq -96(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, _yy_n_chars(%rip)
jmp LBB6_47
LBB6_39:
callq ___error
movl $0, (%rax)
LBB6_40: ## =>This Inner Loop Header: Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
addq -32(%rbp), %rdi
movq -56(%rbp), %rdx
movq _yyin(%rip), %rcx
movl $1, %esi
callq _fread
movl %eax, %ecx
movl %ecx, _yy_n_chars(%rip)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -102(%rbp) ## 1-byte Spill
jne LBB6_42
## %bb.41: ## in Loop: Header=BB6_40 Depth=1
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
setne %al
movb %al, -102(%rbp) ## 1-byte Spill
LBB6_42: ## in Loop: Header=BB6_40 Depth=1
movb -102(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB6_43
jmp LBB6_46
LBB6_43: ## in Loop: Header=BB6_40 Depth=1
callq ___error
cmpl $4, (%rax)
je LBB6_45
## %bb.44:
leaq L_.str.8(%rip), %rdi
callq _yy_fatal_error
LBB6_45: ## in Loop: Header=BB6_40 Depth=1
callq ___error
movl $0, (%rax)
movq _yyin(%rip), %rdi
callq _clearerr
jmp LBB6_40
LBB6_46:
jmp LBB6_47
LBB6_47:
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 32(%rax)
LBB6_48:
cmpl $0, _yy_n_chars(%rip)
jne LBB6_53
## %bb.49:
cmpq $0, -32(%rbp)
jne LBB6_51
## %bb.50:
movl $1, -44(%rbp)
movq _yyin(%rip), %rdi
callq _yyrestart
jmp LBB6_52
LBB6_51:
movl $2, -44(%rbp)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $2, 60(%rax)
LBB6_52:
jmp LBB6_54
LBB6_53:
movl $0, -44(%rbp)
LBB6_54:
movslq _yy_n_chars(%rip), %rax
addq -32(%rbp), %rax
## kill: def $eax killed $eax killed $rax
cltq
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
cmpq 24(%rcx), %rax
jbe LBB6_58
## %bb.55:
movslq _yy_n_chars(%rip), %rax
addq -32(%rbp), %rax
movl _yy_n_chars(%rip), %ecx
sarl $1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -100(%rbp)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
movslq -100(%rbp), %rsi
callq _yyrealloc
movq %rax, %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 8(%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0, 8(%rax)
jne LBB6_57
## %bb.56:
leaq L_.str.9(%rip), %rdi
callq _yy_fatal_error
LBB6_57:
jmp LBB6_58
LBB6_58:
movq -32(%rbp), %rcx
movslq _yy_n_chars(%rip), %rax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq _yy_n_chars(%rip), %rcx
movb $0, (%rax,%rcx)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movl _yy_n_chars(%rip), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rcx
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl -44(%rbp), %eax
movl %eax, -4(%rbp)
LBB6_59:
movl -4(%rbp), %eax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyrestart ## -- Begin function yyrestart
.p2align 4, 0x90
_yyrestart: ## @yyrestart
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, _yy_buffer_stack(%rip)
je LBB7_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB7_4
jmp LBB7_3
LBB7_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB7_4
jmp LBB7_3
LBB7_3:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
LBB7_4:
cmpq $0, _yy_buffer_stack(%rip)
je LBB7_6
## %bb.5:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB7_7
LBB7_6:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB7_7
LBB7_7:
movq -16(%rbp), %rdi ## 8-byte Reload
movq -8(%rbp), %rsi
callq _yy_init_buffer
callq _yy_load_buffer_state
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_fatal_error
_yy_fatal_error: ## @yy_fatal_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.11(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_init_buffer
_yy_init_buffer: ## @yy_init_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
callq ___error
movl (%rax), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rdi
callq _yy_flush_buffer
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movl $1, 56(%rax)
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB9_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq -40(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
je LBB9_5
## %bb.4:
movq -8(%rbp), %rax
movl $1, 48(%rax)
movq -8(%rbp), %rax
movl $0, 52(%rax)
LBB9_5:
cmpq $0, -16(%rbp)
je LBB9_7
## %bb.6:
movq -16(%rbp), %rdi
callq _fileno
movl %eax, %edi
callq _isatty
cmpl $0, %eax
setg %al
andb $1, %al
movzbl %al, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB9_8
LBB9_7:
xorl %eax, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB9_8
LBB9_8:
movl -44(%rbp), %ecx ## 4-byte Reload
movq -8(%rbp), %rax
movl %ecx, 40(%rax)
movl -20(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
callq ___error
movl -48(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_switch_to_buffer ## -- Begin function yy_switch_to_buffer
.p2align 4, 0x90
_yy_switch_to_buffer: ## @yy_switch_to_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
callq _yyensure_buffer_stack
cmpq $0, _yy_buffer_stack(%rip)
je LBB10_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_3:
movq -16(%rbp), %rax ## 8-byte Reload
cmpq -8(%rbp), %rax
jne LBB10_5
## %bb.4:
jmp LBB10_10
LBB10_5:
cmpq $0, _yy_buffer_stack(%rip)
je LBB10_7
## %bb.6:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB10_8
jmp LBB10_9
LBB10_7:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB10_8
jmp LBB10_9
LBB10_8:
movb _yy_hold_char(%rip), %cl
movq _yy_c_buf_p(%rip), %rax
movb %cl, (%rax)
movq _yy_c_buf_p(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 16(%rax)
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 32(%rax)
LBB10_9:
movq -8(%rbp), %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB10_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyalloc ## -- Begin function yyalloc
.p2align 4, 0x90
_yyalloc: ## @yyalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _malloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_delete_buffer ## -- Begin function yy_delete_buffer
.p2align 4, 0x90
_yy_delete_buffer: ## @yy_delete_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB12_2
## %bb.1:
jmp LBB12_10
LBB12_2:
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB12_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_5
LBB12_4:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_5
LBB12_5:
movq -16(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
jne LBB12_7
## %bb.6:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
LBB12_7:
movq -8(%rbp), %rax
cmpl $0, 36(%rax)
je LBB12_9
## %bb.8:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _yyfree
LBB12_9:
movq -8(%rbp), %rdi
callq _yyfree
LBB12_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyfree ## -- Begin function yyfree
.p2align 4, 0x90
_yyfree: ## @yyfree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_flush_buffer ## -- Begin function yy_flush_buffer
.p2align 4, 0x90
_yy_flush_buffer: ## @yy_flush_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB14_2
## %bb.1:
jmp LBB14_7
LBB14_2:
movq -8(%rbp), %rax
movl $0, 32(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movb $0, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movb $0, 1(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movl $1, 44(%rax)
movq -8(%rbp), %rax
movl $0, 60(%rax)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB14_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_5
LBB14_4:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_5
LBB14_5:
movq -16(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
jne LBB14_7
## %bb.6:
callq _yy_load_buffer_state
LBB14_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yypush_buffer_state ## -- Begin function yypush_buffer_state
.p2align 4, 0x90
_yypush_buffer_state: ## @yypush_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB15_2
## %bb.1:
jmp LBB15_11
LBB15_2:
callq _yyensure_buffer_stack
cmpq $0, _yy_buffer_stack(%rip)
je LBB15_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB15_5
jmp LBB15_6
LBB15_4:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB15_5
jmp LBB15_6
LBB15_5:
movb _yy_hold_char(%rip), %cl
movq _yy_c_buf_p(%rip), %rax
movb %cl, (%rax)
movq _yy_c_buf_p(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 16(%rax)
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 32(%rax)
LBB15_6:
cmpq $0, _yy_buffer_stack(%rip)
je LBB15_8
## %bb.7:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB15_9
jmp LBB15_10
LBB15_8:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB15_9
jmp LBB15_10
LBB15_9:
movq _yy_buffer_stack_top(%rip), %rax
addq $1, %rax
movq %rax, _yy_buffer_stack_top(%rip)
LBB15_10:
movq -8(%rbp), %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB15_11:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yypop_buffer_state ## -- Begin function yypop_buffer_state
.p2align 4, 0x90
_yypop_buffer_state: ## @yypop_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB16_4
jmp LBB16_3
LBB16_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB16_4
jmp LBB16_3
LBB16_3:
jmp LBB16_13
LBB16_4:
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_6
## %bb.5:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB16_7
LBB16_6:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB16_7
LBB16_7:
movq -8(%rbp), %rdi ## 8-byte Reload
callq _yy_delete_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
cmpq $0, _yy_buffer_stack_top(%rip)
jbe LBB16_9
## %bb.8:
movq _yy_buffer_stack_top(%rip), %rax
addq $-1, %rax
movq %rax, _yy_buffer_stack_top(%rip)
LBB16_9:
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_11
## %bb.10:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB16_12
jmp LBB16_13
LBB16_11:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB16_12
jmp LBB16_13
LBB16_12:
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB16_13:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_buffer ## -- Begin function yy_scan_buffer
.p2align 4, 0x90
_yy_scan_buffer: ## @yy_scan_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $2, -24(%rbp)
jb LBB17_3
## %bb.1:
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq $2, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB17_3
## %bb.2:
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB17_4
LBB17_3:
movq $0, -8(%rbp)
jmp LBB17_7
LBB17_4:
movl $64, %edi
callq _yyalloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB17_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
callq _yy_fatal_error
LBB17_6:
movq -24(%rbp), %rcx
subq $2, %rcx
movq -32(%rbp), %rax
movq %rcx, 24(%rax)
movq -16(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rax
movq %rcx, 16(%rax)
movq -32(%rbp), %rax
movl $0, 36(%rax)
movq -32(%rbp), %rax
movq $0, (%rax)
movq -32(%rbp), %rax
movq 24(%rax), %rax
movl %eax, %ecx
movq -32(%rbp), %rax
movl %ecx, 32(%rax)
movq -32(%rbp), %rax
movl $0, 40(%rax)
movq -32(%rbp), %rax
movl $1, 44(%rax)
movq -32(%rbp), %rax
movl $0, 56(%rax)
movq -32(%rbp), %rax
movl $0, 60(%rax)
movq -32(%rbp), %rdi
callq _yy_switch_to_buffer
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB17_7:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_string ## -- Begin function yy_scan_string
.p2align 4, 0x90
_yy_scan_string: ## @yy_scan_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq -16(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _yy_scan_bytes
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_bytes ## -- Begin function yy_scan_bytes
.p2align 4, 0x90
_yy_scan_bytes: ## @yy_scan_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
addq $2, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq _yyalloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB19_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
callq _yy_fatal_error
LBB19_2:
movq $0, -48(%rbp)
LBB19_3: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB19_6
## %bb.4: ## in Loop: Header=BB19_3 Depth=1
movq -8(%rbp), %rax
movq -48(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movq -48(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.5: ## in Loop: Header=BB19_3 Depth=1
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
jmp LBB19_3
LBB19_6:
movq -32(%rbp), %rax
movq -16(%rbp), %rcx
movb $0, 1(%rax,%rcx)
movq -32(%rbp), %rax
movq -16(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
callq _yy_scan_buffer
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB19_8
## %bb.7:
leaq L_.str.4(%rip), %rdi
callq _yy_fatal_error
LBB19_8:
movq -24(%rbp), %rax
movl $1, 36(%rax)
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_lineno ## -- Begin function yyget_lineno
.p2align 4, 0x90
_yyget_lineno: ## @yyget_lineno
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yylineno(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_in ## -- Begin function yyget_in
.p2align 4, 0x90
_yyget_in: ## @yyget_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyin(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_out ## -- Begin function yyget_out
.p2align 4, 0x90
_yyget_out: ## @yyget_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyout(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_leng ## -- Begin function yyget_leng
.p2align 4, 0x90
_yyget_leng: ## @yyget_leng
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyleng@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_text ## -- Begin function yyget_text
.p2align 4, 0x90
_yyget_text: ## @yyget_text
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_lineno ## -- Begin function yyset_lineno
.p2align 4, 0x90
_yyset_lineno: ## @yyset_lineno
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, _yylineno(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_in ## -- Begin function yyset_in
.p2align 4, 0x90
_yyset_in: ## @yyset_in
.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, _yyin(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_out ## -- Begin function yyset_out
.p2align 4, 0x90
_yyset_out: ## @yyset_out
.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, _yyout(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_debug ## -- Begin function yyget_debug
.p2align 4, 0x90
_yyget_debug: ## @yyget_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yy_flex_debug(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_debug ## -- Begin function yyset_debug
.p2align 4, 0x90
_yyset_debug: ## @yyset_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, _yy_flex_debug(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yylex_destroy ## -- Begin function yylex_destroy
.p2align 4, 0x90
_yylex_destroy: ## @yylex_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
jmp LBB30_1
LBB30_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, _yy_buffer_stack(%rip)
je LBB30_3
## %bb.2: ## in Loop: Header=BB30_1 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB30_4
LBB30_3: ## in Loop: Header=BB30_1 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB30_4
LBB30_4: ## in Loop: Header=BB30_1 Depth=1
movq -8(%rbp), %rax ## 8-byte Reload
cmpq $0, %rax
je LBB30_9
## %bb.5: ## in Loop: Header=BB30_1 Depth=1
cmpq $0, _yy_buffer_stack(%rip)
je LBB30_7
## %bb.6: ## in Loop: Header=BB30_1 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB30_8
LBB30_7: ## in Loop: Header=BB30_1 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB30_8
LBB30_8: ## in Loop: Header=BB30_1 Depth=1
movq -16(%rbp), %rdi ## 8-byte Reload
callq _yy_delete_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
callq _yypop_buffer_state
jmp LBB30_1
LBB30_9:
movq _yy_buffer_stack(%rip), %rdi
callq _yyfree
movq $0, _yy_buffer_stack(%rip)
callq _yy_init_globals
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_init_globals
_yy_init_globals: ## @yy_init_globals
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, _yy_buffer_stack(%rip)
movq $0, _yy_buffer_stack_top(%rip)
movq $0, _yy_buffer_stack_max(%rip)
movq $0, _yy_c_buf_p(%rip)
movl $0, _yy_init(%rip)
movl $0, _yy_start(%rip)
movq $0, _yyin(%rip)
movq $0, _yyout(%rip)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyrealloc ## -- Begin function yyrealloc
.p2align 4, 0x90
_yyrealloc: ## @yyrealloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _realloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _yylex
movl _count(%rip), %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
.globl _yyin ## @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ## @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ## @yylineno
.p2align 2
_yylineno:
.long 1 ## 0x1
.globl _yy_flex_debug ## @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.globl _count ## @count
.zerofill __DATA,__common,_count,4,2
.zerofill __DATA,__bss,_yy_init,4,2 ## @yy_init
.zerofill __DATA,__bss,_yy_start,4,2 ## @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ## @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ## @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ## @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ## @yy_hold_char
.section __TEXT,__const
.p2align 4 ## @yy_ec
_yy_ec:
.ascii "\000\001\001\001\001\001\001\001\001\001\002\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\003\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\004\001\001\001\001\001\001\001\001\001\005\001\006\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
.p2align 4 ## @yy_accept
_yy_accept:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 4 ## 0x4
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 0 ## 0x0
.short 2 ## 0x2
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 1 ## 0x1
.short 0 ## 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ## @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ## @yy_last_accepting_cpos
.p2align 4 ## @yy_chk
_yy_chk:
.short 0 ## 0x0
.short 15 ## 0xf
.short 1 ## 0x1
.short 11 ## 0xb
.short 1 ## 0x1
.short 2 ## 0x2
.short 10 ## 0xa
.short 2 ## 0x2
.short 4 ## 0x4
.short 4 ## 0x4
.short 6 ## 0x6
.short 9 ## 0x9
.short 6 ## 0x6
.short 6 ## 0x6
.short 6 ## 0x6
.short 6 ## 0x6
.short 14 ## 0xe
.short 14 ## 0xe
.short 7 ## 0x7
.short 3 ## 0x3
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.p2align 4 ## @yy_base
_yy_base:
.short 0 ## 0x0
.short 0 ## 0x0
.short 3 ## 0x3
.short 19 ## 0x13
.short 5 ## 0x5
.short 20 ## 0x14
.short 9 ## 0x9
.short 14 ## 0xe
.short 0 ## 0x0
.short 5 ## 0x5
.short 1 ## 0x1
.short 1 ## 0x1
.short 20 ## 0x14
.short 20 ## 0x14
.short 15 ## 0xf
.short 0 ## 0x0
.p2align 4 ## @yy_def
_yy_def:
.short 0 ## 0x0
.short 14 ## 0xe
.short 14 ## 0xe
.short 13 ## 0xd
.short 15 ## 0xf
.short 13 ## 0xd
.short 13 ## 0xd
.short 15 ## 0xf
.short 7 ## 0x7
.short 7 ## 0x7
.short 7 ## 0x7
.short 7 ## 0x7
.short 13 ## 0xd
.short 0 ## 0x0
.short 13 ## 0xd
.short 13 ## 0xd
_yy_meta: ## @yy_meta
.ascii "\000\001\002\001\001\001\001"
.p2align 4 ## @yy_nxt
_yy_nxt:
.short 0 ## 0x0
.short 7 ## 0x7
.short 5 ## 0x5
.short 12 ## 0xc
.short 6 ## 0x6
.short 5 ## 0x5
.short 11 ## 0xb
.short 6 ## 0x6
.short 8 ## 0x8
.short 9 ## 0x9
.short 7 ## 0x7
.short 10 ## 0xa
.short 8 ## 0x8
.short 9 ## 0x9
.short 7 ## 0x7
.short 10 ## 0xa
.short 4 ## 0x4
.short 4 ## 0x4
.short 9 ## 0x9
.short 13 ## 0xd
.short 3 ## 0x3
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.comm _yytext,8,3 ## @yytext
.comm _yyleng,8,3 ## @yyleng
.zerofill __DATA,__bss,_yy_n_chars,4,2 ## @yy_n_chars
.zerofill __DATA,__bss,_yy_did_buffer_switch_on_eof,4,2 ## @yy_did_buffer_switch_on_eof
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fatal flex scanner internal error--no action found"
L_.str.1: ## @.str.1
.asciz "out of dynamic memory in yy_create_buffer()"
L_.str.2: ## @.str.2
.asciz "out of dynamic memory in yy_scan_buffer()"
L_.str.3: ## @.str.3
.asciz "out of dynamic memory in yy_scan_bytes()"
L_.str.4: ## @.str.4
.asciz "bad buffer in yy_scan_bytes()"
L_.str.5: ## @.str.5
.asciz "\nCount=%d\n"
L_.str.6: ## @.str.6
.asciz "fatal flex scanner internal error--end of buffer missed"
L_.str.7: ## @.str.7
.asciz "fatal error - scanner input buffer overflow"
L_.str.8: ## @.str.8
.asciz "input in flex scanner failed"
L_.str.9: ## @.str.9
.asciz "out of dynamic memory in yy_get_next_buffer()"
L_.str.10: ## @.str.10
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ## @yy_buffer_stack_max
L_.str.11: ## @.str.11
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/1256044.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f1 ; -- Begin function f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov x9, sp
add x8, sp, #16
str x8, [x9]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w9, w8, #1
str w9, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp]
add x9, x8, #8
str x9, [sp]
ldr x9, [x8]
ldr q0, [x9]
adrp x8, _s1@GOTPAGE
ldr x8, [x8, _s1@GOTPAGEOFF]
str q0, [x8]
ldr q0, [x9, #16]
str q0, [x8, #16]
b LBB0_1
LBB0_3:
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
str w0, [sp, #12]
mov x9, sp
add x8, sp, #16
str x8, [x9]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w9, w8, #1
str w9, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp]
add x9, x8, #16
str x9, [sp]
ldr q0, [x8]
adrp x8, _s2@GOTPAGE
ldr x8, [x8, _s2@GOTPAGEOFF]
str q0, [x8]
b LBB1_1
LBB1_3:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _f3 ; -- Begin function f3
.p2align 2
_f3: ; @f3
.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, _s1@GOTPAGE
ldr x8, [x8, _s1@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
str w8, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w9, w8, #1
str w9, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
add x10, sp, #16
add x9, x29, #16
str x9, [x10]
ldr x9, [sp, #16]
add x10, x9, #8
str x10, [sp, #16]
ldr x9, [x9]
ldr q0, [x9]
str q0, [x8]
ldr q0, [x9, #16]
str q0, [x8, #16]
ldr w0, [x8]
bl _bar
b LBB2_1
LBB2_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _f4 ; -- Begin function f4
.p2align 2
_f4: ; @f4
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _s2@GOTPAGE
ldr x8, [x8, _s2@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
str w8, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w9, w8, #1
str w9, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
add x10, sp, #16
add x9, x29, #16
str x9, [x10]
ldr x9, [sp, #16]
add x10, x9, #16
str x10, [sp, #16]
ldr q0, [x9]
adrp x9, _s2@GOTPAGE
ldr x9, [x9, _s2@GOTPAGEOFF]
str q0, [x9]
ldr x10, [sp, #16]
ldr w9, [x10]
add x10, x10, #8
str x10, [sp, #16]
str w9, [sp, #8]
ldr w9, [sp, #8]
adrp x10, _y@GOTPAGE
ldr x10, [x10, _y@GOTPAGEOFF]
str w9, [x10]
ldr x8, [x8, #8]
mov x0, x8
bl _bar
b LBB3_1
LBB3_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _f5 ; -- Begin function f5
.p2align 2
_f5: ; @f5
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x9, _ci@GOTPAGE
ldr x9, [x9, _ci@GOTPAGEOFF]
stur w0, [x29, #-4]
mov x10, sp
add x8, x29, #16
str x8, [x10]
ldr x8, [sp]
add x10, x8, #8
str x10, [sp]
ldr w10, [x8]
ldr w8, [x8, #4]
str w10, [x9]
str w8, [x9, #4]
ldr x8, [sp]
add x10, x8, #8
str x10, [sp]
ldr w12, [x8]
ldr w11, [x8, #4]
ldr w10, [x9]
ldr w8, [x9, #4]
add w10, w10, w12
add w8, w8, w11
str w10, [x9]
str w8, [x9, #4]
ldr w8, [x9]
ldr w9, [x9, #4]
add w0, w8, w9
bl _bar
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _f6 ; -- Begin function f6
.p2align 2
_f6: ; @f6
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x9, _ci@GOTPAGE
ldr x9, [x9, _ci@GOTPAGEOFF]
adrp x8, _cd@GOTPAGE
ldr x8, [x8, _cd@GOTPAGEOFF]
stur w0, [x29, #-4]
mov x11, sp
add x10, x29, #16
str x10, [x11]
ldr x10, [sp]
add x11, x10, #8
str x11, [sp]
ldr w11, [x10]
ldr w10, [x10, #4]
str w11, [x9]
str w10, [x9, #4]
ldr x10, [sp]
add x11, x10, #16
str x11, [sp]
ldr d1, [x10]
ldr d0, [x10, #8]
str d1, [x8]
str d0, [x8, #8]
ldr s1, [x9]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr d1, [x8, #8]
fadd d0, d0, d1
fcvtzs w0, d0
bl _bar
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _f7 ; -- Begin function f7
.p2align 2
_f7: ; @f7
.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, _cd@GOTPAGE
ldr x8, [x8, _cd@GOTPAGEOFF]
stur w0, [x29, #-4]
mov x10, sp
add x9, x29, #16
str x9, [x10]
ldr x9, [sp]
add x10, x9, #16
str x10, [sp]
ldr d1, [x9]
ldr d0, [x9, #8]
str d1, [x8]
str d0, [x8, #8]
ldr x9, [sp]
add x10, x9, #16
str x10, [sp]
ldr d3, [x9]
ldr d2, [x9, #8]
ldr d1, [x8]
ldr d0, [x8, #8]
fadd d1, d1, d3
fadd d0, d0, d2
str d1, [x8]
str d0, [x8, #8]
ldr d0, [x8]
ldr d1, [x8, #8]
fadd d0, d0, d1
fcvtzs w0, d0
bl _bar
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _s1,32,3 ; @s1
.comm _s2,16,3 ; @s2
.comm _y,4,2 ; @y
.comm _ci,8,2 ; @ci
.comm _cd,16,3 ; @cd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f1 ## -- Begin function f1
.p2align 4, 0x90
_f1: ## @f1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
testb %al, %al
je LBB0_7
## %bb.6:
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_7:
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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -36(%rbp)
cmpl $0, %eax
jle LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rcx
movq %rcx, %rax
addq $32, %rax
movq %rax, -24(%rbp)
movq _s1@GOTPCREL(%rip), %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movq 16(%rcx), %rdx
movq %rdx, 16(%rax)
movq 24(%rcx), %rcx
movq %rcx, 24(%rax)
jmp LBB0_1
LBB0_3:
leaq -32(%rbp), %rax
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
addq $224, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f2 ## -- Begin function f2
.p2align 4, 0x90
_f2: ## @f2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $288, %rsp ## imm = 0x120
testb %al, %al
je LBB1_10
## %bb.9:
movaps %xmm0, -192(%rbp)
movaps %xmm1, -176(%rbp)
movaps %xmm2, -160(%rbp)
movaps %xmm3, -144(%rbp)
movaps %xmm4, -128(%rbp)
movaps %xmm5, -112(%rbp)
movaps %xmm6, -96(%rbp)
movaps %xmm7, -80(%rbp)
LBB1_10:
movq %r9, -200(%rbp)
movq %r8, -208(%rbp)
movq %rcx, -216(%rbp)
movq %rdx, -224(%rbp)
movq %rsi, -232(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -36(%rbp)
leaq -32(%rbp), %rax
leaq -240(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -36(%rbp)
cmpl $0, %eax
jle LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq -32(%rbp), %rcx
movq %rcx, -272(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -260(%rbp) ## 4-byte Spill
cmpl $40, %eax
setbe %al
addq $4, %rcx
movq %rcx, -256(%rbp) ## 8-byte Spill
movl -28(%rbp), %ecx
movl %ecx, -244(%rbp) ## 4-byte Spill
cmpl $160, %ecx
setbe %cl
andb %cl, %al
testb $1, %al
jne LBB1_3
jmp LBB1_4
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movq -256(%rbp), %rcx ## 8-byte Reload
movl -244(%rbp), %edx ## 4-byte Reload
movq -272(%rbp), %rsi ## 8-byte Reload
movl -260(%rbp), %edi ## 4-byte Reload
movq 16(%rsi), %r8
leaq -56(%rbp), %rax
movslq %edx, %r9
movsd (%r8,%r9), %xmm0 ## xmm0 = mem[0],zero
movslq %edx, %r9
movsd %xmm0, -56(%rbp)
movslq %edi, %r9
movq (%r8,%r9), %r8
movslq %edi, %r9
movq %r8, -48(%rbp)
addl $8, %edi
movl %edi, (%rsi)
addl $16, %edx
movl %edx, (%rcx)
movq %rax, -280(%rbp) ## 8-byte Spill
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq -272(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $16, %rdx
movq %rdx, 8(%rcx)
movq %rax, -280(%rbp) ## 8-byte Spill
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -280(%rbp), %rcx ## 8-byte Reload
movq _s2@GOTPCREL(%rip), %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 8(%rcx), %rcx
movq %rcx, 8(%rax)
jmp LBB1_1
LBB1_6:
leaq -32(%rbp), %rax
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_8
## %bb.7:
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB1_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f3 ## -- Begin function f3
.p2align 4, 0x90
_f3: ## @f3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
testb %al, %al
je LBB2_7
## %bb.6:
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)
LBB2_7:
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)
movl -36(%rbp), %eax
movl %eax, -40(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -40(%rbp)
cmpl $0, %eax
jle LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
leaq -32(%rbp), %rax
leaq -224(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movq -24(%rbp), %rcx
movq %rcx, %rax
addq $32, %rax
movq %rax, -24(%rbp)
movq _s1@GOTPCREL(%rip), %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movq 16(%rcx), %rdx
movq %rdx, 16(%rax)
movq 24(%rcx), %rcx
movq %rcx, 24(%rax)
leaq -32(%rbp), %rax
movq _s1@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bar
jmp LBB2_1
LBB2_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_5
## %bb.4:
addq $224, %rsp
popq %rbp
retq
LBB2_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f4 ## -- Begin function f4
.p2align 4, 0x90
_f4: ## @f4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $304, %rsp ## imm = 0x130
testb %al, %al
je LBB3_13
## %bb.12:
movaps %xmm0, -192(%rbp)
movaps %xmm1, -176(%rbp)
movaps %xmm2, -160(%rbp)
movaps %xmm3, -144(%rbp)
movaps %xmm4, -128(%rbp)
movaps %xmm5, -112(%rbp)
movaps %xmm6, -96(%rbp)
movaps %xmm7, -80(%rbp)
LBB3_13:
movq %r9, -200(%rbp)
movq %r8, -208(%rbp)
movq %rcx, -216(%rbp)
movq %rdx, -224(%rbp)
movq %rsi, -232(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -36(%rbp)
movl -36(%rbp), %eax
movl %eax, -40(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -40(%rbp)
cmpl $0, %eax
jle LBB3_9
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
leaq -32(%rbp), %rax
leaq -240(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
leaq -32(%rbp), %rcx
movq %rcx, -272(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -260(%rbp) ## 4-byte Spill
cmpl $40, %eax
setbe %al
addq $4, %rcx
movq %rcx, -256(%rbp) ## 8-byte Spill
movl -28(%rbp), %ecx
movl %ecx, -244(%rbp) ## 4-byte Spill
cmpl $160, %ecx
setbe %cl
andb %cl, %al
testb $1, %al
jne LBB3_3
jmp LBB3_4
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movq -256(%rbp), %rcx ## 8-byte Reload
movl -244(%rbp), %edx ## 4-byte Reload
movq -272(%rbp), %rsi ## 8-byte Reload
movl -260(%rbp), %edi ## 4-byte Reload
movq 16(%rsi), %r8
leaq -56(%rbp), %rax
movslq %edx, %r9
movsd (%r8,%r9), %xmm0 ## xmm0 = mem[0],zero
movslq %edx, %r9
movsd %xmm0, -56(%rbp)
movslq %edi, %r9
movq (%r8,%r9), %r8
movslq %edi, %r9
movq %r8, -48(%rbp)
addl $8, %edi
movl %edi, (%rsi)
addl $16, %edx
movl %edx, (%rcx)
movq %rax, -280(%rbp) ## 8-byte Spill
jmp LBB3_5
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movq -272(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $16, %rdx
movq %rdx, 8(%rcx)
movq %rax, -280(%rbp) ## 8-byte Spill
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq -280(%rbp), %rcx ## 8-byte Reload
movq _s2@GOTPCREL(%rip), %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 8(%rcx), %rcx
movq %rcx, 8(%rax)
leaq -32(%rbp), %rax
movq %rax, -296(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -284(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB3_7
## %bb.6: ## in Loop: Header=BB3_1 Depth=1
movq -296(%rbp), %rcx ## 8-byte Reload
movl -284(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -304(%rbp) ## 8-byte Spill
jmp LBB3_8
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
movq -296(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -304(%rbp) ## 8-byte Spill
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
movq -304(%rbp), %rax ## 8-byte Reload
movl (%rax), %ecx
movq _y@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
leaq -32(%rbp), %rax
movq _s2@GOTPCREL(%rip), %rax
movq 8(%rax), %rax
movl %eax, %edi
callq _bar
jmp LBB3_1
LBB3_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_11
## %bb.10:
addq $304, %rsp ## imm = 0x130
popq %rbp
retq
LBB3_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f5 ## -- Begin function f5
.p2align 4, 0x90
_f5: ## @f5
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $272, %rsp ## imm = 0x110
testb %al, %al
je LBB4_10
## %bb.9:
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)
LBB4_10:
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)
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 LBB4_2
## %bb.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 LBB4_3
LBB4_2:
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
LBB4_3:
movq -248(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
movl 4(%rax), %ecx
movq _ci@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
leaq -32(%rbp), %rax
movq %rax, -264(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB4_5
## %bb.4:
movq -264(%rbp), %rcx ## 8-byte Reload
movl -252(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -272(%rbp) ## 8-byte Spill
jmp LBB4_6
LBB4_5:
movq -264(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -272(%rbp) ## 8-byte Spill
LBB4_6:
movq -272(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
movl 4(%rax), %eax
movq _ci@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq _ci@GOTPCREL(%rip), %rcx
movl 4(%rcx), %ecx
addl %esi, %edx
addl %eax, %ecx
movq _ci@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
leaq -32(%rbp), %rax
movq _ci@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ci@GOTPCREL(%rip), %rax
addl 4(%rax), %edi
callq _bar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_8
## %bb.7:
addq $272, %rsp ## imm = 0x110
popq %rbp
retq
LBB4_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f6 ## -- Begin function f6
.p2align 4, 0x90
_f6: ## @f6
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $304, %rsp ## imm = 0x130
testb %al, %al
je LBB5_10
## %bb.9:
movaps %xmm0, -192(%rbp)
movaps %xmm1, -176(%rbp)
movaps %xmm2, -160(%rbp)
movaps %xmm3, -144(%rbp)
movaps %xmm4, -128(%rbp)
movaps %xmm5, -112(%rbp)
movaps %xmm6, -96(%rbp)
movaps %xmm7, -80(%rbp)
LBB5_10:
movq %r9, -200(%rbp)
movq %r8, -208(%rbp)
movq %rcx, -216(%rbp)
movq %rdx, -224(%rbp)
movq %rsi, -232(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -36(%rbp)
leaq -32(%rbp), %rax
leaq -240(%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, -256(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB5_2
## %bb.1:
movq -256(%rbp), %rcx ## 8-byte Reload
movl -244(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -264(%rbp) ## 8-byte Spill
jmp LBB5_3
LBB5_2:
movq -256(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -264(%rbp) ## 8-byte Spill
LBB5_3:
movq -264(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
movl 4(%rax), %ecx
movq _ci@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
leaq -32(%rbp), %rax
movq %rax, -288(%rbp) ## 8-byte Spill
addq $4, %rax
movq %rax, -280(%rbp) ## 8-byte Spill
movl -28(%rbp), %eax
movl %eax, -268(%rbp) ## 4-byte Spill
cmpl $144, %eax
ja LBB5_5
## %bb.4:
movq -280(%rbp), %rax ## 8-byte Reload
movl -268(%rbp), %ecx ## 4-byte Reload
movq -288(%rbp), %rdx ## 8-byte Reload
movq 16(%rdx), %rdx
movslq %ecx, %rsi
movsd (%rdx,%rsi), %xmm0 ## xmm0 = mem[0],zero
movslq %ecx, %rsi
movsd %xmm0, -56(%rbp)
movslq %ecx, %rsi
movsd 16(%rdx,%rsi), %xmm0 ## xmm0 = mem[0],zero
movslq %ecx, %rdx
movsd %xmm0, -48(%rbp)
addl $32, %ecx
movl %ecx, (%rax)
leaq -56(%rbp), %rax
movq %rax, -296(%rbp) ## 8-byte Spill
jmp LBB5_6
LBB5_5:
movq -288(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $16, %rdx
movq %rdx, 8(%rcx)
movq %rax, -296(%rbp) ## 8-byte Spill
LBB5_6:
movq -296(%rbp), %rax ## 8-byte Reload
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _cd@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _cd@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
leaq -32(%rbp), %rax
movq _ci@GOTPCREL(%rip), %rax
cvtsi2sdl (%rax), %xmm0
movq _cd@GOTPCREL(%rip), %rax
addsd 8(%rax), %xmm0
cvttsd2si %xmm0, %edi
callq _bar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_8
## %bb.7:
addq $304, %rsp ## imm = 0x130
popq %rbp
retq
LBB5_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _f7 ## -- Begin function f7
.p2align 4, 0x90
_f7: ## @f7
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $320, %rsp ## imm = 0x140
testb %al, %al
je LBB6_10
## %bb.9:
movaps %xmm0, -208(%rbp)
movaps %xmm1, -192(%rbp)
movaps %xmm2, -176(%rbp)
movaps %xmm3, -160(%rbp)
movaps %xmm4, -144(%rbp)
movaps %xmm5, -128(%rbp)
movaps %xmm6, -112(%rbp)
movaps %xmm7, -96(%rbp)
LBB6_10:
movq %r9, -216(%rbp)
movq %r8, -224(%rbp)
movq %rcx, -232(%rbp)
movq %rdx, -240(%rbp)
movq %rsi, -248(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -36(%rbp)
leaq -32(%rbp), %rax
leaq -256(%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, -280(%rbp) ## 8-byte Spill
addq $4, %rax
movq %rax, -272(%rbp) ## 8-byte Spill
movl -28(%rbp), %eax
movl %eax, -260(%rbp) ## 4-byte Spill
cmpl $144, %eax
ja LBB6_2
## %bb.1:
movq -272(%rbp), %rax ## 8-byte Reload
movl -260(%rbp), %ecx ## 4-byte Reload
movq -280(%rbp), %rdx ## 8-byte Reload
movq 16(%rdx), %rdx
movslq %ecx, %rsi
movsd (%rdx,%rsi), %xmm0 ## xmm0 = mem[0],zero
movslq %ecx, %rsi
movsd %xmm0, -56(%rbp)
movslq %ecx, %rsi
movsd 16(%rdx,%rsi), %xmm0 ## xmm0 = mem[0],zero
movslq %ecx, %rdx
movsd %xmm0, -48(%rbp)
addl $32, %ecx
movl %ecx, (%rax)
leaq -56(%rbp), %rax
movq %rax, -288(%rbp) ## 8-byte Spill
jmp LBB6_3
LBB6_2:
movq -280(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $16, %rdx
movq %rdx, 8(%rcx)
movq %rax, -288(%rbp) ## 8-byte Spill
LBB6_3:
movq -288(%rbp), %rax ## 8-byte Reload
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _cd@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _cd@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
leaq -32(%rbp), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
addq $4, %rax
movq %rax, -304(%rbp) ## 8-byte Spill
movl -28(%rbp), %eax
movl %eax, -292(%rbp) ## 4-byte Spill
cmpl $144, %eax
ja LBB6_5
## %bb.4:
movq -304(%rbp), %rax ## 8-byte Reload
movl -292(%rbp), %ecx ## 4-byte Reload
movq -312(%rbp), %rdx ## 8-byte Reload
movq 16(%rdx), %rdx
movslq %ecx, %rsi
movsd (%rdx,%rsi), %xmm0 ## xmm0 = mem[0],zero
movslq %ecx, %rsi
movsd %xmm0, -72(%rbp)
movslq %ecx, %rsi
movsd 16(%rdx,%rsi), %xmm0 ## xmm0 = mem[0],zero
movslq %ecx, %rdx
movsd %xmm0, -64(%rbp)
addl $32, %ecx
movl %ecx, (%rax)
leaq -72(%rbp), %rax
movq %rax, -320(%rbp) ## 8-byte Spill
jmp LBB6_6
LBB6_5:
movq -312(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $16, %rdx
movq %rdx, 8(%rcx)
movq %rax, -320(%rbp) ## 8-byte Spill
LBB6_6:
movq -320(%rbp), %rax ## 8-byte Reload
movsd (%rax), %xmm3 ## xmm3 = mem[0],zero
movsd 8(%rax), %xmm2 ## xmm2 = mem[0],zero
movq _cd@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _cd@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm3, %xmm1
addsd %xmm2, %xmm0
movq _cd@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _cd@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
leaq -32(%rbp), %rax
movq _cd@GOTPCREL(%rip), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq _cd@GOTPCREL(%rip), %rax
addsd 8(%rax), %xmm0
cvttsd2si %xmm0, %edi
callq _bar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_8
## %bb.7:
addq $320, %rsp ## imm = 0x140
popq %rbp
retq
LBB6_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _s1,32,3 ## @s1
.comm _s2,16,3 ## @s2
.comm _y,4,2 ## @y
.comm _ci,8,2 ## @ci
.comm _cd,16,3 ## @cd
.subsections_via_symbols
| the_stack_data/67326110.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #20
str x8, [sp, #8] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _evaluate
str s0, [sp, #16]
ldr s0, [sp, #16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _evaluate ; -- Begin function evaluate
.p2align 2
_evaluate: ; @evaluate
.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, _st@GOTPAGE
ldr x8, [x8, _st@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldrsb w0, [x8, x9]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
subs w8, w8, #48
scvtf s0, w8
bl _push
b LBB1_12
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _pop
ldr x0, [sp, #16] ; 8-byte Folded Reload
stur s0, [x29, #-20]
bl _pop
stur s0, [x29, #-16]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
subs w8, w8, #37
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #10
cset w8, hi
tbnz w8, #0, LBB1_11
; %bb.5: ; in Loop: Header=BB1_1 Depth=1
ldr x11, [sp, #8] ; 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_6: ; in Loop: Header=BB1_1 Depth=1
ldur s0, [x29, #-16]
ldur s1, [x29, #-20]
fadd s0, s0, s1
str s0, [sp, #24]
b LBB1_11
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur s0, [x29, #-16]
ldur s1, [x29, #-20]
fsub s0, s0, s1
str s0, [sp, #24]
b LBB1_11
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldur s0, [x29, #-16]
ldur s1, [x29, #-20]
fmul s0, s0, s1
str s0, [sp, #24]
b LBB1_11
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldur s0, [x29, #-16]
ldur s1, [x29, #-20]
fdiv s0, s0, s1
str s0, [sp, #24]
b LBB1_11
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldur s0, [x29, #-16]
fcvtzs w8, s0
ldur s0, [x29, #-20]
fcvtzs w10, s0
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
scvtf s0, w8
str s0, [sp, #24]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr s0, [sp, #24]
bl _push
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_13:
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _pop
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_10-Ltmp0
.long LBB1_11-Ltmp0
.long LBB1_11-Ltmp0
.long LBB1_11-Ltmp0
.long LBB1_11-Ltmp0
.long LBB1_8-Ltmp0
.long LBB1_6-Ltmp0
.long LBB1_11-Ltmp0
.long LBB1_7-Ltmp0
.long LBB1_11-Ltmp0
.long LBB1_9-Ltmp0
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.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 s0, [sp, #4]
adrp x8, _top@PAGE
ldr w8, [x8, _top@PAGEOFF]
subs w8, w8, #99
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 _printf
b LBB2_3
LBB2_2:
adrp x9, _top@PAGE
ldr w8, [x9, _top@PAGEOFF]
add w8, w8, #1
str w8, [x9, _top@PAGEOFF]
ldr s0, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [x9, _top@PAGEOFF]
str s0, [x8, x9, lsl #2]
b LBB2_3
LBB2_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.cfi_startproc
; %bb.0:
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]
fmov s0, #-1.00000000
str s0, [sp, #4]
adrp x8, _top@PAGE
ldr w8, [x8, _top@PAGEOFF]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB3_3
LBB3_2:
ldr x8, [sp, #8]
adrp x9, _top@PAGE
ldrsw x10, [x9, _top@PAGEOFF]
ldr s0, [x8, x10, lsl #2]
str s0, [sp, #4]
ldr w8, [x9, _top@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _top@PAGEOFF]
b LBB3_3
LBB3_3:
ldr s0, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _top ; @top
.p2align 2
_top:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter Postfix Expression: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Evaluation Of Postfix Expression: %.2f"
l_.str.3: ; @.str.3
.asciz "\nStack Overflow"
l_.str.4: ; @.str.4
.asciz "\nStack Underflow"
.comm _st,400,2 ; @st
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -112(%rbp), %rdi
callq _evaluate
movss %xmm0, -116(%rbp)
movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
addq $128, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _evaluate ## -- Begin function evaluate
.p2align 4, 0x90
_evaluate: ## @evaluate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_12
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isdigit
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
cvtsi2ss %eax, %xmm0
movq _st@GOTPCREL(%rip), %rdi
callq _push
jmp LBB1_11
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq _st@GOTPCREL(%rip), %rdi
movq %rdi, -40(%rbp) ## 8-byte Spill
callq _pop
movq -40(%rbp), %rdi ## 8-byte Reload
movss %xmm0, -20(%rbp)
callq _pop
movss %xmm0, -16(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
addl $-37, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $10, %eax
ja LBB1_10
## %bb.13: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -20(%rbp), %xmm0
movss %xmm0, -24(%rbp)
jmp LBB1_10
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -20(%rbp), %xmm0
movss %xmm0, -24(%rbp)
jmp LBB1_10
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -20(%rbp), %xmm0
movss %xmm0, -24(%rbp)
jmp LBB1_10
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -20(%rbp), %xmm0
movss %xmm0, -24(%rbp)
jmp LBB1_10
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
cvttss2si -16(%rbp), %eax
cvttss2si -20(%rbp), %ecx
cltd
idivl %ecx
cvtsi2ss %edx, %xmm0
movss %xmm0, -24(%rbp)
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _st@GOTPCREL(%rip), %rdi
callq _push
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_12:
movq _st@GOTPCREL(%rip), %rdi
callq _pop
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_9, LBB1_9-LJTI1_0
.set L1_0_set_10, LBB1_10-LJTI1_0
.set L1_0_set_7, LBB1_7-LJTI1_0
.set L1_0_set_5, LBB1_5-LJTI1_0
.set L1_0_set_6, LBB1_6-LJTI1_0
.set L1_0_set_8, LBB1_8-LJTI1_0
LJTI1_0:
.long L1_0_set_9
.long L1_0_set_10
.long L1_0_set_10
.long L1_0_set_10
.long L1_0_set_10
.long L1_0_set_7
.long L1_0_set_5
.long L1_0_set_10
.long L1_0_set_6
.long L1_0_set_10
.long L1_0_set_8
.end_data_region
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movss %xmm0, -12(%rbp)
cmpl $99, _top(%rip)
jne LBB2_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_3
LBB2_2:
movl _top(%rip), %eax
addl $1, %eax
movl %eax, _top(%rip)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq _top(%rip), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB2_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function pop
LCPI3_0:
.long 0xbf800000 ## float -1
.section __TEXT,__text,regular,pure_instructions
.globl _pop
.p2align 4, 0x90
_pop: ## @pop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movss LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
cmpl $-1, _top(%rip)
jne LBB3_2
## %bb.1:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB3_3
LBB3_2:
movq -8(%rbp), %rax
movslq _top(%rip), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
movl _top(%rip), %eax
addl $-1, %eax
movl %eax, _top(%rip)
LBB3_3:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _top ## @top
.p2align 2
_top:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter Postfix Expression: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Evaluation Of Postfix Expression: %.2f"
L_.str.3: ## @.str.3
.asciz "\nStack Overflow"
L_.str.4: ## @.str.4
.asciz "\nStack Underflow"
.comm _st,400,4 ## @st
.subsections_via_symbols
| the_stack_data/31386875.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/108878.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compare_ascend ; -- Begin function compare_ascend
.p2align 2
_compare_ascend: ; @compare_ascend
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _compare_descend ; -- Begin function compare_descend
.p2align 2
_compare_descend: ; @compare_descend
.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]
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _sort ; -- Begin function sort
.p2align 2
_sort: ; @sort
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr w8, [sp, #20]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
str w8, [sp, #16]
ldr w8, [sp, #20]
add 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]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #16]
ldr w0, [x9, x10, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
ldr w1, [x9, x10, lsl #2]
blr x8
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp, #12]
str w8, [sp, #16]
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]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_3
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #8]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_12:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _print_array ; -- Begin function print_array
.p2align 2
_print_array: ; @print_array
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x0, [sp, #24]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB3_1
LBB3_4:
ldr x0, [sp, #24]
ldur x8, [x29, #-8]
ldur w9, [x29, #-12]
subs w9, w9, #1
ldr w9, [x8, w9, sxtw #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #76]
str w0, [sp, #72]
str x1, [sp, #64]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w8, #10
str w8, [sp, #60]
adrp x8, l___const.main.comparisons@PAGE
add x8, x8, l___const.main.comparisons@PAGEOFF
ldr q0, [x8]
str q0, [sp, #80]
str wzr, [sp, #56]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #56]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr w9, [sp, #56]
mov w8, #10
subs w8, w8, w9
subs w8, w8, #1
str w8, [sp, #52]
ldr w8, [sp, #56]
ldrsw x10, [sp, #52]
sub x9, x29, #48
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #56]
ldrsw x10, [sp, #56]
sub x9, x29, #88
str w8, [x9, x10, lsl #2]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #56]
add w8, w8, #1
str w8, [sp, #56]
b LBB4_1
LBB4_4:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
sub x0, x29, #48
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #10
str w1, [sp, #28] ; 4-byte Folded Spill
adrp x2, l_.str.7@PAGE
add x2, x2, l_.str.7@PAGEOFF
str x2, [sp, #32] ; 8-byte Folded Spill
bl _print_array
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
sub x0, x29, #88
str x0, [sp, #40] ; 8-byte Folded Spill
bl _print_array
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr x2, [sp, #80]
bl _sort
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x2, [sp, #88]
bl _sort
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _print_array
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _printf
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _print_array
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@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, LBB4_6
b LBB4_5
LBB4_5:
bl ___stack_chk_fail
LBB4_6:
mov w0, #0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[ "
l_.str.1: ; @.str.1
.asciz ", "
l_.str.2: ; @.str.2
.asciz " ]"
l_.str.3: ; @.str.3
.asciz "================================\n"
l_.str.4: ; @.str.4
.asciz "FUNCTION POINTERS\n"
l_.str.5: ; @.str.5
.asciz "================================\n\n"
.section __DATA,__const
.p2align 3 ; @__const.main.comparisons
l___const.main.comparisons:
.quad _compare_ascend
.quad _compare_descend
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "Original: A = "
l_.str.7: ; @.str.7
.asciz "%i"
l_.str.8: ; @.str.8
.asciz "\n B = "
l_.str.9: ; @.str.9
.asciz "\n"
l_.str.10: ; @.str.10
.asciz "Sorted: A = "
l_.str.11: ; @.str.11
.asciz "\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compare_ascend ## -- Begin function compare_ascend
.p2align 4, 0x90
_compare_ascend: ## @compare_ascend
.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 -8(%rbp), %eax
subl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _compare_descend ## -- Begin function compare_descend
.p2align 4, 0x90
_compare_descend: ## @compare_descend
.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
subl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sort ## -- Begin function sort
.p2align 4, 0x90
_sort: ## @sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB2_12
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -36(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -24(%rbp), %rax
movq -8(%rbp), %rcx
movslq -32(%rbp), %rdx
movl (%rcx,%rdx,4), %edi
movq -8(%rbp), %rcx
movslq -36(%rbp), %rdx
movl (%rcx,%rdx,4), %esi
callq *%rax
cmpl $0, %eax
jge LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movl -36(%rbp), %eax
movl %eax, -32(%rbp)
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_3 Depth=2
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB2_3
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
je LBB2_10
## %bb.9: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -40(%rbp)
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -40(%rbp), %edx
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_11
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_12:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.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 $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -28(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rdi
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %esi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB3_1
LBB3_4:
movq -24(%rbp), %rdi
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %esi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
movl %edi, -120(%rbp)
movq %rsi, -128(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $10, -132(%rbp)
movq l___const.main.comparisons(%rip), %rax
movq %rax, -112(%rbp)
movq l___const.main.comparisons+8(%rip), %rax
movq %rax, -104(%rbp)
movl $0, -136(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -136(%rbp)
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl $10, %eax
subl -136(%rbp), %eax
subl $1, %eax
movl %eax, -140(%rbp)
movl -136(%rbp), %ecx
movslq -140(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
movl -136(%rbp), %ecx
movslq -136(%rbp), %rax
movl %ecx, -96(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -136(%rbp), %eax
addl $1, %eax
movl %eax, -136(%rbp)
jmp LBB4_1
LBB4_4:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
movl $10, %esi
leaq L_.str.7(%rip), %rdx
callq _print_array
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rdi
movl $10, %esi
leaq L_.str.7(%rip), %rdx
callq _print_array
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
movq -112(%rbp), %rdx
movl $10, %esi
callq _sort
leaq -96(%rbp), %rdi
movq -104(%rbp), %rdx
movl $10, %esi
callq _sort
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
movl $10, %esi
leaq L_.str.7(%rip), %rdx
callq _print_array
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rdi
movl $10, %esi
leaq L_.str.7(%rip), %rdx
callq _print_array
leaq L_.str.11(%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 LBB4_6
## %bb.5:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
LBB4_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[ "
L_.str.1: ## @.str.1
.asciz ", "
L_.str.2: ## @.str.2
.asciz " ]"
L_.str.3: ## @.str.3
.asciz "================================\n"
L_.str.4: ## @.str.4
.asciz "FUNCTION POINTERS\n"
L_.str.5: ## @.str.5
.asciz "================================\n\n"
.section __DATA,__const
.p2align 4 ## @__const.main.comparisons
l___const.main.comparisons:
.quad _compare_ascend
.quad _compare_descend
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "Original: A = "
L_.str.7: ## @.str.7
.asciz "%i"
L_.str.8: ## @.str.8
.asciz "\n B = "
L_.str.9: ## @.str.9
.asciz "\n"
L_.str.10: ## @.str.10
.asciz "Sorted: A = "
L_.str.11: ## @.str.11
.asciz "\n\n"
.subsections_via_symbols
| the_stack_data/237642189.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _datatoc_object_empty_image_vert_glsl_size ; @datatoc_object_empty_image_vert_glsl_size
.p2align 2
_datatoc_object_empty_image_vert_glsl_size:
.long 769 ; 0x301
.globl _datatoc_object_empty_image_vert_glsl ; @datatoc_object_empty_image_vert_glsl
_datatoc_object_empty_image_vert_glsl:
.asciz "uniform mat4 ModelViewProjectionMatrix;\r\nuniform mat4 ModelMatrix;\r\nuniform float aspectX;\r\nuniform float aspectY;\r\nuniform float size;\r\nuniform vec2 offset;\r\n#ifdef USE_WIRE\r\nuniform vec3 color;\r\n#else\r\nuniform vec4 objectColor;\r\n#endif\r\n\r\nin vec2 texCoord;\r\nin vec2 pos;\r\n\r\nflat out vec4 finalColor;\r\n\r\n#ifndef USE_WIRE\r\nout vec2 texCoord_interp;\r\n#endif\r\n\r\nvoid main()\r\n{\r\n\tvec4 pos_4d = vec4((pos + offset) * (size * vec2(aspectX, aspectY)), 0.0, 1.0);\r\n\tgl_Position = ModelViewProjectionMatrix * pos_4d;\r\n#ifdef USE_WIRE\r\n\tgl_Position.z -= 1e-5;\r\n\tfinalColor = vec4(color, 1.0);\r\n#else\r\n\ttexCoord_interp = texCoord;\r\n\tfinalColor = objectColor;\r\n#endif\r\n\r\n#ifdef USE_WORLD_CLIP_PLANES\r\n\tworld_clip_planes_calc_clip_distance((ModelMatrix * pos_4d).xyz);\r\n#endif\r\n}\r\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _datatoc_object_empty_image_vert_glsl_size ## @datatoc_object_empty_image_vert_glsl_size
.p2align 2
_datatoc_object_empty_image_vert_glsl_size:
.long 769 ## 0x301
.globl _datatoc_object_empty_image_vert_glsl ## @datatoc_object_empty_image_vert_glsl
.p2align 4
_datatoc_object_empty_image_vert_glsl:
.asciz "uniform mat4 ModelViewProjectionMatrix;\r\nuniform mat4 ModelMatrix;\r\nuniform float aspectX;\r\nuniform float aspectY;\r\nuniform float size;\r\nuniform vec2 offset;\r\n#ifdef USE_WIRE\r\nuniform vec3 color;\r\n#else\r\nuniform vec4 objectColor;\r\n#endif\r\n\r\nin vec2 texCoord;\r\nin vec2 pos;\r\n\r\nflat out vec4 finalColor;\r\n\r\n#ifndef USE_WIRE\r\nout vec2 texCoord_interp;\r\n#endif\r\n\r\nvoid main()\r\n{\r\n\tvec4 pos_4d = vec4((pos + offset) * (size * vec2(aspectX, aspectY)), 0.0, 1.0);\r\n\tgl_Position = ModelViewProjectionMatrix * pos_4d;\r\n#ifdef USE_WIRE\r\n\tgl_Position.z -= 1e-5;\r\n\tfinalColor = vec4(color, 1.0);\r\n#else\r\n\ttexCoord_interp = texCoord;\r\n\tfinalColor = objectColor;\r\n#endif\r\n\r\n#ifdef USE_WORLD_CLIP_PLANES\r\n\tworld_clip_planes_calc_clip_distance((ModelMatrix * pos_4d).xyz);\r\n#endif\r\n}\r\n"
.subsections_via_symbols
| the_stack_data/111078382.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #5
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $5, -8(%rbp)
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jle LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
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)
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
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 "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
.subsections_via_symbols
| the_stack_data/24454.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _node_process ; -- Begin function node_process
.p2align 2
_node_process: ; @node_process
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str s0, [sp, #44]
str s1, [sp, #40]
str s2, [sp, #36]
str x0, [sp, #24]
str x1, [sp, #16]
ldr s0, [sp, #40]
ldr s1, [sp, #36]
ldr s2, [sp, #44]
fsub s1, s1, s2
fmul s0, s0, s1
str s0, [sp, #12]
ldr s0, [sp, #36]
ldr s1, [sp, #12]
fadd s0, s0, s1
ldr x8, [sp, #24]
str s0, [x8]
ldr s0, [sp, #44]
ldr s1, [sp, #12]
fadd s0, s0, s1
ldr x8, [sp, #16]
str s0, [x8]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _node_process ## -- Begin function node_process
.p2align 4, 0x90
_node_process: ## @node_process
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss %xmm2, -12(%rbp)
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -4(%rbp), %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -36(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -36(%rbp), %xmm0
movq -24(%rbp), %rax
movss %xmm0, (%rax)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -36(%rbp), %xmm0
movq -32(%rbp), %rax
movss %xmm0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/462734.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.