arm
stringlengths 122
20M
| x86
stringlengths 122
20M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-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
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
str w8, [sp, #16]
ldur w8, [x29, #-12]
mul w8, w8, w9
ldr w10, [sp, #16]
add w8, w8, w10
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
sdiv w8, w8, w9
stur w8, [x29, #-8]
b LBB0_1
LBB0_3:
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
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 an integer: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Reversed number = %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -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
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -8(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -16(%rbp)
imull $10, -12(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%rbp), %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 "Enter an integer: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Reversed number = %d"
.subsections_via_symbols
| the_stack_data/36076241.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]
adrp x8, l___const.main.szKey@PAGE
add x8, x8, l___const.main.szKey@PAGEOFF
ldr w9, [x8]
str w9, [sp, #12]
ldrh w8, [x8, #4]
strh w8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
add x0, sp, #24
bl _gets
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #12
add x1, sp, #24
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_3
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.szKey: ; @__const.main.szKey
.asciz "apple"
l_.str: ; @.str
.asciz "Guess my favourite fruit? "
l_.str.1: ; @.str.1
.asciz "Correct answer!"
.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)
movl L___const.main.szKey(%rip), %eax
movl %eax, -106(%rbp)
movw L___const.main.szKey+4(%rip), %ax
movw %ax, -102(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rdi
callq _gets
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -106(%rbp), %rdi
leaq -96(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_1
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _puts
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
xorl %eax, %eax
addq $112, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.szKey: ## @__const.main.szKey
.asciz "apple"
L_.str: ## @.str
.asciz "Guess my favourite fruit? "
L_.str.1: ## @.str.1
.asciz "Correct answer!"
.subsections_via_symbols
| the_stack_data/8611.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _net_i40e_vf_pmd_info ; @net_i40e_vf_pmd_info
_net_i40e_vf_pmd_info:
.asciz "PMD_INFO_STRING= {\"name\" : \"net_i40e_vf\", \"pci_ids\" : [[32902, 5452, 65535, 65535],[32902, 5489, 65535, 65535],[32902, 14157, 65535, 65535],[32902, 14285, 65535, 65535],[32902, 14297, 65535, 65535] ]}"
.no_dead_strip _net_i40e_vf_pmd_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _net_i40e_vf_pmd_info ## @net_i40e_vf_pmd_info
.p2align 4
_net_i40e_vf_pmd_info:
.asciz "PMD_INFO_STRING= {\"name\" : \"net_i40e_vf\", \"pci_ids\" : [[32902, 5452, 65535, 65535],[32902, 5489, 65535, 65535],[32902, 14157, 65535, 65535],[32902, 14285, 65535, 65535],[32902, 14297, 65535, 65535] ]}"
.no_dead_strip _net_i40e_vf_pmd_info
.subsections_via_symbols
| the_stack_data/9513472.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #24
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "String please: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Thanks for the %s!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "String please: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Thanks for the %s!\n"
.subsections_via_symbols
| the_stack_data/247019261.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
str w8, [sp, #12] ; 4-byte Folded Spill
str w8, [sp, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #12] ; 4-byte Folded Reload
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w8, [sp, #16]
lsl w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite o numero limite inteiro n: "
l_.str.1: ; @.str.1
.asciz " %d"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "%d,"
l_.str.4: ; @.str.4
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $1, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %eax
shll $1, %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl -16(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite o numero limite inteiro n: "
L_.str.1: ## @.str.1
.asciz " %d"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "%d,"
L_.str.4: ## @.str.4
.asciz "%d"
.subsections_via_symbols
| the_stack_data/150143511.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 x8, _v1@GOTPAGE
ldr x8, [x8, _v1@GOTPAGEOFF]
mov x9, #5
str x9, [x8]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _v1,24,3 ; @v1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%ld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movq _v1@GOTPCREL(%rip), %rax
movq $5, (%rax)
movq _v1@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _v1,24,3 ## @v1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%ld\n"
.subsections_via_symbols
| the_stack_data/1081172.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mod ; -- Begin function mod
.p2align 2
_mod: ; @mod
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w9, [sp, #8]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #4]
str w8, [sp, #12]
b LBB0_3
LBB0_2:
ldr w8, [sp, #8]
str w8, [sp, #12]
b LBB0_3
LBB0_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-16]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsr x0, x8, #0
bl _malloc
str x0, [sp, #24]
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsr x0, x8, #0
bl _malloc
str x0, [sp, #16]
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldur w9, [x29, #-8]
subs w9, w9, #1
ldur w10, [x29, #-12]
subs w9, w9, w10
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldr x9, [sp, #16]
ldursw x10, [x29, #-12]
add x9, x9, x10
strb w8, [x9]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_4:
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_16
LBB1_6:
mov w8, #1
stur w8, [x29, #-12]
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_12
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldr x8, [sp, #24]
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #24]
ldur w10, [x29, #-12]
subs w10, w10, #1
ldrsb w9, [x9, w10, sxtw]
subs w0, w8, w9
bl _mod
str w0, [sp, #12]
ldr x8, [sp, #16]
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldur w10, [x29, #-12]
subs w10, w10, #1
ldrsb w9, [x9, w10, sxtw]
subs w0, w8, w9
bl _mod
str w0, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_7 Depth=1
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_7 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_7
LBB1_12:
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_15
LBB1_14:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_15
LBB1_15:
b LBB1_16
LBB1_16:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Good String"
l_.str.3: ; @.str.3
.asciz "Not Good String"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mod ## -- Begin function mod
.p2align 4, 0x90
_mod: ## @mod
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
cmpl $0, -8(%rbp)
jge LBB0_2
## %bb.1:
xorl %eax, %eax
subl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $0, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -24(%rbp)
movq -24(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -32(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movl -8(%rbp), %ecx
subl $1, %ecx
subl -12(%rbp), %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %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:
cmpl $1, -8(%rbp)
jne LBB1_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_16
LBB1_6:
movl $1, -12(%rbp)
LBB1_7: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_12
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
movq -24(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
movq -24(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
subl %eax, %edi
callq _mod
movl %eax, -36(%rbp)
movq -32(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
movq -32(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
subl %eax, %edi
callq _mod
movl %eax, -40(%rbp)
movl -36(%rbp), %eax
cmpl -40(%rbp), %eax
jne LBB1_10
## %bb.9: ## in Loop: Header=BB1_7 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB1_10: ## in Loop: Header=BB1_7 Depth=1
jmp LBB1_11
LBB1_11: ## in Loop: Header=BB1_7 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_7
LBB1_12:
movl -16(%rbp), %eax
movl -8(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB1_14
## %bb.13:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_15
LBB1_14:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB1_15:
jmp LBB1_16
LBB1_16:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Good String"
L_.str.3: ## @.str.3
.asciz "Not Good String"
.subsections_via_symbols
| the_stack_data/130831.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getCols ; -- Begin function getCols
.p2align 2
_getCols: ; @getCols
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
sub x8, x29, #10
str x8, [x9]
mov w0, #0
mov x1, #29800
movk x1, #16392, lsl #16
bl _ioctl
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
sturh wzr, [x29, #-2]
b LBB0_3
LBB0_2:
ldurh w8, [x29, #-8]
sturh w8, [x29, #-2]
b LBB0_3
LBB0_3:
ldurh w0, [x29, #-2]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _getRows ; -- Begin function getRows
.p2align 2
_getRows: ; @getRows
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
sub x8, x29, #10
str x8, [x9]
mov w0, #0
mov x1, #29800
movk x1, #16392, lsl #16
bl _ioctl
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
sturh wzr, [x29, #-2]
b LBB1_3
LBB1_2:
ldurh w8, [x29, #-10]
sturh w8, [x29, #-2]
b LBB1_3
LBB1_3:
ldurh w0, [x29, #-2]
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 _getCols ## -- Begin function getCols
.p2align 4, 0x90
_getCols: ## @getCols
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
xorl %edi, %edi
movl $1074295912, %esi ## imm = 0x40087468
leaq -16(%rbp), %rdx
movb $0, %al
callq _ioctl
cmpl $-1, %eax
jne LBB0_2
## %bb.1:
movw $0, -2(%rbp)
jmp LBB0_3
LBB0_2:
movw -14(%rbp), %ax
movw %ax, -2(%rbp)
LBB0_3:
movzwl -2(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getRows ## -- Begin function getRows
.p2align 4, 0x90
_getRows: ## @getRows
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
xorl %edi, %edi
movl $1074295912, %esi ## imm = 0x40087468
leaq -16(%rbp), %rdx
movb $0, %al
callq _ioctl
cmpl $-1, %eax
jne LBB1_2
## %bb.1:
movw $0, -2(%rbp)
jmp LBB1_3
LBB1_2:
movw -16(%rbp), %ax
movw %ax, -2(%rbp)
LBB1_3:
movzwl -2(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1135740.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
bl _toplevel_fnc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _toplevel_fnc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/929854.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
mov w0, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/90765442.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
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, #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]
ldrsw x9, [sp, #16]
add x8, sp, #24
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
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, #24
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
ldr x0, [sp, #8]
bl _foo
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_4:
ldr w8, [sp, #20]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
movslq -104(%rbp), %rax
movq -96(%rbp,%rax,8), %rax
movq %rax, -112(%rbp)
movl $0, -104(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -104(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -104(%rbp), %rax
movq -96(%rbp,%rax,8), %rax
movq %rax, -112(%rbp)
movq -112(%rbp), %rdi
callq _foo
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -104(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
jmp LBB1_1
LBB1_4:
movl -100(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_6
## %bb.5:
movl -116(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/50138235.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
sub x8, x29, #52
str x8, [sp, #32] ; 8-byte Folded Spill
mov w8, #-1
stur w8, [x29, #-8]
stur w8, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldur w1, [x29, #-4]
bl _push
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
str w8, [sp, #56]
bl _pop
str w0, [sp, #52]
ldr w8, [sp, #56]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
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
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
ldr w8, [x8, #44]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_3
LBB1_2:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr x11, [sp, #16]
ldr w10, [x11, #44]
add w10, w10, #1
str w10, [x11, #44]
str w8, [x9, w10, sxtw #2]
stur wzr, [x29, #-4]
b LBB1_3
LBB1_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.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, #16]
ldr w8, [x8, #44]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
ldr x10, [sp, #16]
ldr w9, [x10, #40]
add w9, w9, #1
str w9, [x10, #40]
ldr w8, [x8, w9, sxtw #2]
ldr x9, [sp, #8]
str w8, [x9]
str wzr, [sp, #4]
b LBB2_2
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #16]
ldr w9, [x9, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_5
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_2 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #4]
add w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
str w8, [x9, x10, lsl #2]
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_2 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_2
LBB2_5:
ldr x9, [sp, #16]
ldr w8, [x9, #44]
subs w8, w8, #1
str w8, [x9, #44]
stur wzr, [x29, #-4]
b LBB2_7
LBB2_6:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_7
LBB2_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "enter a value :- \n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d %d \n"
l_.str.3: ; @.str.3
.asciz "QUEUE is empty .\n "
l_.str.4: ; @.str.4
.asciz "Overflow"
.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 $-1, -12(%rbp)
movl $-1, -16(%rbp)
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
movl -4(%rbp), %esi
leaq -56(%rbp), %rdi
callq _push
movl %eax, -60(%rbp)
leaq -56(%rbp), %rdi
leaq -4(%rbp), %rsi
callq _pop
movl %eax, -64(%rbp)
movl -60(%rbp), %esi
movl -64(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rax
cmpl $9, 44(%rax)
jne LBB1_2
## %bb.1:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB1_3
LBB1_2:
movl -20(%rbp), %edx
movq -16(%rbp), %rax
movq -16(%rbp), %rsi
movl 44(%rsi), %ecx
addl $1, %ecx
movl %ecx, 44(%rsi)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl $0, -4(%rbp)
LBB1_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop ## -- Begin function pop
.p2align 4, 0x90
_pop: ## @pop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
cmpl $-1, 44(%rax)
je LBB2_6
## %bb.1:
movq -16(%rbp), %rax
movq -16(%rbp), %rdx
movl 40(%rdx), %ecx
addl $1, %ecx
movl %ecx, 40(%rdx)
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movl $0, -28(%rbp)
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 44(%rcx), %eax
jge LBB2_5
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.4: ## in Loop: Header=BB2_2 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_2
LBB2_5:
movq -16(%rbp), %rax
movl 44(%rax), %ecx
addl $-1, %ecx
movl %ecx, 44(%rax)
movl $0, -4(%rbp)
jmp LBB2_7
LBB2_6:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
LBB2_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "enter a value :- \n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d %d \n"
L_.str.3: ## @.str.3
.asciz "QUEUE is empty .\n "
L_.str.4: ## @.str.4
.asciz "Overflow"
.subsections_via_symbols
| the_stack_data/111079344.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/90765213.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _rand
mov w9, #3
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
str w8, [sp, #8]
mov w8, #100
str w8, [sp, #4]
ldr w8, [sp, #8]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_6
LBB0_3:
str wzr, [sp, #4]
b LBB0_6
LBB0_4:
mov w8, #1
str w8, [sp, #4]
b LBB0_6
LBB0_5:
mov w8, #2
str w8, [sp, #4]
b LBB0_6
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
callq _rand
movslq %eax, %rcx
imulq $1431655766, %rcx, %rdx ## imm = 0x55555556
movq %rdx, %rcx
shrq $63, %rcx
## kill: def $ecx killed $ecx killed $rcx
shrq $32, %rdx
## kill: def $edx killed $edx killed $rdx
addl %ecx, %edx
## implicit-def: $rcx
movl %edx, %ecx
leal (%rcx,%rcx,2), %ecx
subl %ecx, %eax
movl %eax, -8(%rbp)
movl $100, -12(%rbp)
movl -8(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_1
jmp LBB0_5
LBB0_5:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_2
jmp LBB0_6
LBB0_6:
movl -16(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_3
jmp LBB0_4
LBB0_1:
movl $0, -12(%rbp)
jmp LBB0_4
LBB0_2:
movl $1, -12(%rbp)
jmp LBB0_4
LBB0_3:
movl $2, -12(%rbp)
LBB0_4:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/182953831.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, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
add x8, sp, #24
str x8, [x9]
add x8, sp, #20
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #24]
ldr w9, [sp, #20]
mul w8, w8, w9
stur w8, [x29, #-20]
ldur s1, [x29, #-20]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fmov d1, #12.00000000
fdiv d0, d0, d1
stur d0, [x29, #-16]
ldur d0, [x29, #-16]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
l_.str.1: ; @.str.1
.asciz "%.3lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4028000000000000 ## double 12
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -24(%rbp), %rsi
leaq -28(%rbp), %rdx
movb $0, %al
callq _scanf
movl -24(%rbp), %eax
imull -28(%rbp), %eax
movl %eax, -20(%rbp)
cvtsi2sdl -20(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
L_.str.1: ## @.str.1
.asciz "%.3lf\n"
.subsections_via_symbols
| the_stack_data/31141.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
mov w8, #35
str w8, [sp, #12]
mov w8, #34
str w8, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _swap2 ; -- Begin function swap2
.p2align 2
_swap2: ; @swap2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
ldr x9, [sp, #8]
mov w8, #35
str w8, [x9]
ldr x9, [sp]
mov w8, #34
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #-16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
sub x8, x29, #8
str x8, [sp, #32] ; 8-byte Folded Spill
mov w8, #1
stur w8, [x29, #-8]
sub x8, x29, #12
str x8, [sp, #24] ; 8-byte Folded Spill
mov w8, #2
stur w8, [x29, #-12]
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _swap
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
stur x0, [x29, #-24] ; 8-byte Folded Spill
bl _printf
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _swap2
ldur x0, [x29, #-24] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
bl _printf
ldur w0, [x29, #-16] ; 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 "x: %d\ny: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $35, -4(%rbp)
movl $34, -8(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap2 ## -- Begin function swap2
.p2align 4, 0x90
_swap2: ## @swap2
.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 $35, (%rax)
movq -16(%rbp), %rax
movl $34, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $1, -8(%rbp)
movl $2, -12(%rbp)
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _swap
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -8(%rbp), %rdi
leaq -12(%rbp), %rsi
callq _swap2
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "x: %d\ny: %d\n"
.subsections_via_symbols
| the_stack_data/93111.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI0_0:
.quad 0x40f228f000000000 ; double 74383
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
movi d0, #0000000000000000
stur s0, [x29, #-8]
mov x8, #1
stur x8, [x29, #-48]
mov x9, #1907
str x9, [sp, #56]
mov w9, #43008
movk w9, #17845, lsl #16
fmov s0, w9
stur s0, [x29, #-12]
mov w9, #24576
movk w9, #17571, lsl #16
fmov s0, w9
stur s0, [x29, #-16]
mov w9, #63488
movk w9, #17834, lsl #16
fmov s0, w9
stur s0, [x29, #-20]
mov x9, #20352
movk x9, #18, lsl #16
str x9, [sp, #48]
str x8, [sp, #40]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #48]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #56]
mov x8, #27611
mul x8, x8, x9
str x8, [sp, #32]
ldr x8, [sp, #32]
ldr x10, [sp, #32]
mov x9, #8847
movk x9, #1, lsl #16
sdiv x10, x10, x9
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #56]
ldr d0, [sp, #56]
fmov x8, d0
scvtf s0, x8
fcvt d0, s0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-24]
ldur s0, [x29, #-16]
ldur s1, [x29, #-12]
fmul s0, s0, s1
stur s0, [x29, #-40]
ldur s2, [x29, #-40]
ldur s0, [x29, #-20]
ldur s1, [x29, #-40]
ldur s3, [x29, #-20]
fdiv s1, s1, s3
fcvtzs x8, s1
scvtf s1, x8
fmsub s0, s0, s1, s2
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
ldur s1, [x29, #-20]
fdiv s0, s0, s1
stur s0, [x29, #-28]
ldur s0, [x29, #-24]
ldur s1, [x29, #-24]
ldur s2, [x29, #-28]
ldur s3, [x29, #-28]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
sub x1, x29, #32
stur s0, [x29, #-32]
sub x0, x29, #8
bl _myadd
ldur s0, [x29, #-32]
fcvt d0, s0
fmov d1, #1.00000000
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-48]
add x8, x8, #1
stur x8, [x29, #-48]
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, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB0_1
LBB0_6:
ldur s0, [x29, #-24]
fcvt d1, s0
ldur s0, [x29, #-28]
fcvt d0, s0
ldur x10, [x29, #-48]
ldr x8, [sp, #40]
mov x9, sp
str d1, [x9]
str d0, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur d0, [x29, #-48]
fmov x8, d0
scvtf s0, x8
fcvt d1, s0
fmov d0, #4.00000000
fmul d0, d0, d1
ldr d1, [sp, #48]
fmov x8, d1
scvtf s1, x8
fcvt d1, s1
fdiv d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-36]
ldur s0, [x29, #-36]
fcvt d1, s0
ldur s0, [x29, #-8]
fcvt d0, s0
ldr x8, [sp, #48]
mov x9, sp
str d1, [x9]
str d0, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _myadd ; -- Begin function myadd
.p2align 2
_myadd: ; @myadd
.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 s0, [x8]
ldr x8, [sp]
ldr s1, [x8]
fadd s0, s0, s1
ldr x8, [sp, #8]
str s0, [x8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Starting PI...\n"
l_.str.1: ; @.str.1
.asciz " x=%8.5f y=%8.5f low=%7d j=%7d\n"
l_.str.2: ; @.str.2
.asciz "Pi = %9.6f ztot=%12.2f itot=%8d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x45aaf800 ## float 5471
LCPI0_1:
.long 0x44a36000 ## float 1307
LCPI0_2:
.long 0x45b5a800 ## float 5813
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_3:
.quad 0x4010000000000000 ## double 4
LCPI0_4:
.quad 0x3ff0000000000000 ## double 1
LCPI0_5:
.quad 0x40f228f000000000 ## double 74383
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorps %xmm0, %xmm0
movss %xmm0, -8(%rbp)
movq $1, -48(%rbp)
movq $1907, -56(%rbp) ## imm = 0x773
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -16(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
movq $1200000, -64(%rbp) ## imm = 0x124F80
movq $1, -72(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -72(%rbp), %rax
cmpq -64(%rbp), %rax
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
imulq $27611, -56(%rbp), %rax ## imm = 0x6BDB
movq %rax, -80(%rbp)
movq -80(%rbp), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq -80(%rbp), %rax
movl $74383, %ecx ## imm = 0x1228F
cqto
idivq %rcx
movq %rax, %rcx
movq -88(%rbp), %rax ## 8-byte Reload
imulq $74383, %rcx, %rcx ## imm = 0x1228F
subq %rcx, %rax
movq %rax, -56(%rbp)
cvtsi2ssq -56(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -24(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
movss %xmm0, -40(%rbp)
movss -40(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -40(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
divss -20(%rbp), %xmm2
cvttss2si %xmm2, %rax
cvtsi2ss %rax, %xmm2
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -20(%rbp), %xmm0
movss %xmm0, -28(%rbp)
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -24(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -28(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -32(%rbp)
leaq -8(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _myadd
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rax
addq $1, %rax
movq %rax, -72(%rbp)
jmp LBB0_1
LBB0_6:
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movq -48(%rbp), %rsi
movq -72(%rbp), %rdx
leaq L_.str.1(%rip), %rdi
movb $2, %al
callq _printf
cvtsi2ssq -48(%rbp), %xmm0
cvtss2sd %xmm0, %xmm1
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2ssq -64(%rbp), %xmm1
cvtss2sd %xmm1, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -36(%rbp)
movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movq -64(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $2, %al
callq _printf
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _myadd ## -- Begin function myadd
.p2align 4, 0x90
_myadd: ## @myadd
.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
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
addss (%rax), %xmm0
movq -8(%rbp), %rax
movss %xmm0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Starting PI...\n"
L_.str.1: ## @.str.1
.asciz " x=%8.5f y=%8.5f low=%7d j=%7d\n"
L_.str.2: ## @.str.2
.asciz "Pi = %9.6f ztot=%12.2f itot=%8d\n"
.subsections_via_symbols
| the_stack_data/48182.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pifloat ; -- Begin function pifloat
.p2align 2
_pifloat: ; @pifloat
.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, #9362
movk w8, #16457, lsl #16
fmov s0, w8
stur s0, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur s0, [x29, #-4]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur s0, [x29, #-4]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function pidouble
lCPI1_0:
.quad 0x4009249249249249 ; double 3.1428571428571428
.section __TEXT,__text,regular,pure_instructions
.globl _pidouble
.p2align 2
_pidouble: ; @pidouble
.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, lCPI1_0@PAGE
ldr d0, [x8, lCPI1_0@PAGEOFF]
str d0, [sp, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr d0, [sp, #8]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr d0, [sp, #8]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.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 _pifloat
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
bl _pidouble
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 "=== FLOAT ===\n"
l_.str.1: ; @.str.1
.asciz "%.15lf\n"
l_.str.2: ; @.str.2
.asciz "%lf\n"
l_.str.3: ; @.str.3
.asciz "=== DOUBLE ===\n"
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
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function pifloat
LCPI0_0:
.long 0x40492492 ## float 3.14285707
.section __TEXT,__text,regular,pure_instructions
.globl _pifloat
.p2align 4, 0x90
_pifloat: ## @pifloat
.cfi_startproc
## %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 LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function pidouble
LCPI1_0:
.quad 0x4009249249249249 ## double 3.1428571428571428
.section __TEXT,__text,regular,pure_instructions
.globl _pidouble
.p2align 4, 0x90
_pidouble: ## @pidouble
.cfi_startproc
## %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 LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _pifloat
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
callq _pidouble
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "=== FLOAT ===\n"
L_.str.1: ## @.str.1
.asciz "%.15lf\n"
L_.str.2: ## @.str.2
.asciz "%lf\n"
L_.str.3: ## @.str.3
.asciz "=== DOUBLE ===\n"
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| the_stack_data/12099.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wcount ; -- Begin function wcount
.p2align 2
_wcount: ; @wcount
.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]
strb wzr, [sp, #15]
stur wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-12]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, hs
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
strb wzr, [sp, #15]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [sp, #15]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
mov w8, #1
strb w8, [sp, #15]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
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, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_9:
ldr w0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1040
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #28]
str w0, [sp, #24]
str x1, [sp, #16]
add x0, sp, #32
str x0, [sp, #8] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _wcount
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-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
add sp, sp, #1040
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.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 _wcount ## -- Begin function wcount
.p2align 4, 0x90
_wcount: ## @wcount
.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)
movb $0, -17(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -12(%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_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movb $0, -17(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpb $0, -17(%rbp)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movb $1, -17(%rbp)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_9:
movl -16(%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 $1024, %rsp ## imm = 0x400
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1012(%rbp)
movl %edi, -1016(%rbp)
movq %rsi, -1024(%rbp)
leaq -1008(%rbp), %rdi
callq _gets
leaq -1008(%rbp), %rdi
callq _wcount
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $1024, %rsp ## imm = 0x400
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/97012203.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, #65
sturb w8, [x29, #-1]
mov w8, #66
sturb w8, [x29, #-2]
mov w8, #67
sturb w8, [x29, #-3]
ldursb w12, [x29, #-1]
ldursb w8, [x29, #-2]
subs w11, w8, #1
ldursb w10, [x29, #-3]
mov x9, sp
; implicit-def: $x8
mov x8, x12
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %c %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb $65, -1(%rbp)
movb $66, -2(%rbp)
movb $67, -3(%rbp)
movsbl -1(%rbp), %esi
movsbl -2(%rbp), %edx
subl $1, %edx
movsbl -3(%rbp), %ecx
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 %c %d"
.subsections_via_symbols
| the_stack_data/182952830.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _system ; -- Begin function _system
.p2align 2
_system: ; @"\01_system"
.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, _exec_tab@PAGE
add x8, x8, _exec_tab@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-16]
bl __fork
stur w0, [x29, #-20]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
and w9, w8, #0x1
mov w8, #0
ands w9, w9, #0x1
csinv w8, w8, wzr, eq
stur w8, [x29, #-4]
b LBB0_23
LBB0_2:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_3
LBB0_3:
mov w8, #3
str w8, [sp, #16]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #20
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #16]
bl __close
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_4
LBB0_7:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-16]
b LBB0_9
LBB0_9:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
str x8, [x9, #16]
adrp x8, __penviron@GOTPAGE
ldr x8, [x8, __penviron@GOTPAGEOFF]
ldr x8, [x8]
ldr x2, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
adrp x1, _exec_tab@PAGE
add x1, x1, _exec_tab@PAGEOFF
bl __execve
mov w0, #127
bl __exit
LBB0_10:
b LBB0_11
LBB0_11: ; =>This Inner Loop Header: Depth=1
add x0, sp, #24
bl __wait
str w0, [sp, #20]
ldur w8, [x29, #-20]
subs w8, w0, w8
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [sp, #20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_11 Depth=1
b LBB0_11
LBB0_15:
ldr w8, [sp, #20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
mov w8, #-1
str w8, [sp, #24]
b LBB0_17
LBB0_17:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_18
LBB0_18:
ldr w8, [sp, #24]
mov w9, #32512
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
str wzr, [sp, #24]
b LBB0_21
LBB0_20:
mov w8, #1
str w8, [sp, #24]
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
ldr w8, [sp, #24]
stur w8, [x29, #-4]
b LBB0_23
LBB0_23:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cd ."
.section __DATA,__data
.p2align 3 ; @exec_tab
_exec_tab:
.quad l_.str.2
.quad l_.str.3
.quad 0
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "/bin/sh"
l_.str.2: ; @.str.2
.asciz "sh"
l_.str.3: ; @.str.3
.asciz "-c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _system ## -- Begin function _system
.p2align 4, 0x90
_system: ## @"\01_system"
.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)
callq __fork
movl %eax, -20(%rbp)
cmpl $0, %eax
jge LBB0_2
## %bb.1:
movq -16(%rbp), %rdx
xorl %eax, %eax
movl $4294967295, %ecx ## imm = 0xFFFFFFFF
cmpq $0, %rdx
cmovnel %ecx, %eax
movl %eax, -4(%rbp)
jmp LBB0_23
LBB0_2:
cmpl $0, -20(%rbp)
jne LBB0_10
## %bb.3:
movl $3, -32(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $20, -32(%rbp)
jg LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -32(%rbp), %edi
callq __close
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_4
LBB0_7:
cmpq $0, -16(%rbp)
jne LBB0_9
## %bb.8:
leaq L_.str(%rip), %rax
movq %rax, -16(%rbp)
LBB0_9:
movq -16(%rbp), %rax
movq %rax, _exec_tab+16(%rip)
leaq _exec_tab(%rip), %rsi
movq __penviron@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdx
leaq L_.str.1(%rip), %rdi
callq __execve
movl $127, %edi
callq __exit
LBB0_10:
jmp LBB0_11
LBB0_11: ## =>This Inner Loop Header: Depth=1
leaq -24(%rbp), %rdi
callq __wait
movl %eax, -28(%rbp)
cmpl -20(%rbp), %eax
je LBB0_15
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
cmpl $-1, -28(%rbp)
jne LBB0_14
## %bb.13:
jmp LBB0_15
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_11
LBB0_15:
cmpl $-1, -28(%rbp)
jne LBB0_17
## %bb.16:
movl $-1, -24(%rbp)
LBB0_17:
cmpq $0, -16(%rbp)
jne LBB0_22
## %bb.18:
cmpl $32512, -24(%rbp) ## imm = 0x7F00
jne LBB0_20
## %bb.19:
movl $0, -24(%rbp)
jmp LBB0_21
LBB0_20:
movl $1, -24(%rbp)
LBB0_21:
jmp LBB0_22
LBB0_22:
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_23:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cd ."
.section __DATA,__data
.p2align 4 ## @exec_tab
_exec_tab:
.quad L_.str.2
.quad L_.str.3
.quad 0
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "/bin/sh"
L_.str.2: ## @.str.2
.asciz "sh"
L_.str.3: ## @.str.3
.asciz "-c"
.subsections_via_symbols
| the_stack_data/184518130.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x8, l___const.main.fmt1@PAGE
add x8, x8, l___const.main.fmt1@PAGEOFF
ldr q0, [x8]
mov x0, sp
str q0, [sp]
ldrh w8, [x8, #16]
strh w8, [sp, #16]
bl _vout
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, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _vout ; -- Begin function vout
.p2align 2
_vout: ; @vout
.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]
add x9, sp, #16
add x8, x29, #16
str x8, [x9]
ldr x4, [sp, #24]
ldr x5, [sp, #16]
add x0, sp, #36
str x0, [sp, #8] ; 8-byte Folded Spill
mov x3, #100
mov x1, x3
mov w2, #0
bl ___vsnprintf_chk
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.fmt1: ; @__const.main.fmt1
.asciz "%x %x %x %x %2$x\n"
l_.str: ; @.str
.asciz "The buffer is: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq L___const.main.fmt1(%rip), %rax
movq %rax, -32(%rbp)
movq L___const.main.fmt1+8(%rip), %rax
movq %rax, -24(%rbp)
movw L___const.main.fmt1+16(%rip), %ax
movw %ax, -16(%rbp)
leaq -32(%rbp), %rdi
movb $0, %al
callq _vout
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _vout ## -- Begin function vout
.p2align 4, 0x90
_vout: ## @vout
.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
testb %al, %al
je LBB1_4
## %bb.3:
movaps %xmm0, -288(%rbp)
movaps %xmm1, -272(%rbp)
movaps %xmm2, -256(%rbp)
movaps %xmm3, -240(%rbp)
movaps %xmm4, -224(%rbp)
movaps %xmm5, -208(%rbp)
movaps %xmm6, -192(%rbp)
movaps %xmm7, -176(%rbp)
LBB1_4:
movq %r9, -296(%rbp)
movq %r8, -304(%rbp)
movq %rcx, -312(%rbp)
movq %rdx, -320(%rbp)
movq %rsi, -328(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -152(%rbp)
leaq -32(%rbp), %rax
leaq -336(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
leaq -144(%rbp), %rdi
movq -152(%rbp), %r8
leaq -32(%rbp), %r9
movl $100, %ecx
xorl %edx, %edx
movq %rcx, %rsi
callq ___vsnprintf_chk
leaq -32(%rbp), %rax
leaq -144(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
addq $336, %rsp ## imm = 0x150
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
.p2align 4 ## @__const.main.fmt1
L___const.main.fmt1:
.asciz "%x %x %x %x %2$x\n"
L_.str: ## @.str
.asciz "The buffer is: %s\n"
.subsections_via_symbols
| the_stack_data/89200085.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
add w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #16]
mov w9, #3
mul w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9, lsl #1
str w8, [sp, #12]
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Entre com um numero inteiro: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "A resposta final e : %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
imull $3, -16(%rbp), %eax
movl -12(%rbp), %ecx
shll $1, %ecx
addl %ecx, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Entre com um numero inteiro: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "A resposta final e : %d\n"
.subsections_via_symbols
| the_stack_data/18996.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/231394207.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reach_error ; -- Begin function reach_error
.p2align 2
_reach_error: ; @reach_error
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _sum ; -- Begin function sum
.p2align 2
_sum: ; @sum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr w8, [sp, #4]
ldr w9, [sp, #8]
add w8, w8, w9
stur w8, [x29, #-4]
b LBB1_3
LBB1_2:
ldr w8, [sp, #8]
subs w0, w8, #1
ldr w8, [sp, #4]
add w1, w8, #1
bl _sum
stur w0, [x29, #-4]
b LBB1_3
LBB1_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #10
stur w8, [x29, #-4]
str wzr, [sp, #8]
ldur w0, [x29, #-4]
ldr w1, [sp, #8]
bl _sum
str w0, [sp, #4]
ldr w8, [sp, #4]
ldur w9, [x29, #-4]
ldr w10, [sp, #8]
add w9, w9, w10
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_1
LBB2_1:
b LBB2_2
LBB2_2:
bl _reach_error
bl _abort
LBB2_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reach_error ## -- Begin function reach_error
.p2align 4, 0x90
_reach_error: ## @reach_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sum ## -- Begin function sum
.p2align 4, 0x90
_sum: ## @sum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $0, -8(%rbp)
jg LBB1_2
## %bb.1:
movl -12(%rbp), %eax
addl -8(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB1_3
LBB1_2:
movl -8(%rbp), %edi
subl $1, %edi
movl -12(%rbp), %esi
addl $1, %esi
callq _sum
movl %eax, -4(%rbp)
LBB1_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $10, -4(%rbp)
movl $0, -8(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _sum
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
movl -4(%rbp), %ecx
addl -8(%rbp), %ecx
cmpl %ecx, %eax
je LBB2_3
## %bb.1:
jmp LBB2_2
LBB2_2:
callq _reach_error
callq _abort
LBB2_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/95449649.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
sub x8, x29, #8
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov x0, #8
bl _malloc
stur x0, [x29, #-24]
ldur w8, [x29, #-12]
ldur x9, [x29, #-24]
str w8, [x9]
ldur w8, [x29, #-8]
ldur x9, [x29, #-24]
str w8, [x9, #4]
mov x0, #16
bl _malloc
stur x0, [x29, #-32]
ldur x8, [x29, #-24]
ldur x9, [x29, #-32]
str x8, [x9]
ldur w8, [x29, #-16]
ldur x9, [x29, #-32]
str w8, [x9, #8]
ldur x8, [x29, #-32]
ldr x8, [x8]
str x8, [sp, #40]
ldr x8, [sp, #40]
ldr w8, [x8]
str w8, [sp, #36]
ldr x8, [sp, #40]
ldr w8, [x8, #4]
str w8, [sp, #32]
ldr w8, [sp, #36]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #32]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-32]
ldr w9, [x8, #8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d "
l_.str.1: ; @.str.1
.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 $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -8(%rbp), %rcx
movb $0, %al
callq _scanf
movl $8, %edi
callq _malloc
movq %rax, -24(%rbp)
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movl -8(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 4(%rax)
movl $16, %edi
callq _malloc
movq %rax, -32(%rbp)
movq -24(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movl -16(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, 8(%rax)
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
movq -40(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -48(%rbp)
movl -44(%rbp), %esi
movl -48(%rbp), %edx
movq -32(%rbp), %rax
movl 8(%rax), %ecx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d "
L_.str.1: ## @.str.1
.asciz "%d %d %d\n"
.subsections_via_symbols
| the_stack_data/34511991.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, #416
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-172]
stur w0, [x29, #-176]
stur x1, [x29, #-184]
stur wzr, [x29, #-204]
stur wzr, [x29, #-208]
sub x0, x29, #32
bl _pipe
sub x0, x29, #40
bl _pipe
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #188
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
stur x0, [x29, #-256] ; 8-byte Folded Spill
bl _scanf
add sp, sp, #16
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
sub x8, x29, #192
str x8, [x9]
bl _scanf
add sp, sp, #16
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x0, [x29, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
sub x8, x29, #196
str x8, [x9]
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-192]
sub x9, x29, #4
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldur w8, [x29, #-196]
sub x9, x29, #4
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
sub x8, x29, #4
ldur w8, [x8, #-256] ; 4-byte Folded Reload
sub x9, x29, #8
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur w8, [x29, #-196]
sub x9, x29, #12
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_6
LBB0_5:
ldur w8, [x29, #-192]
sub x9, x29, #12
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_6
LBB0_6:
sub x8, x29, #8
ldur w11, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #12
ldur w10, [x8, #-256] ; 4-byte Folded Reload
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add sp, sp, #16
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #200
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-200]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, lt
mov w9, #1
sub x10, x29, #16
stur w9, [x10, #-256] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-200]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, gt
sub x9, x29, #16
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
sub x8, x29, #16
ldur w8, [x8, #-256] ; 4-byte Folded Reload
tbz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
sub x8, x29, #200
sub x9, x29, #24
stur x8, [x9, #-256] ; 8-byte Folded Spill
ldur w9, [x29, #-200]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
sub x8, x29, #24
ldur x8, [x8, #-256] ; 8-byte Folded Reload
add sp, sp, #16
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_7
LBB0_11:
ldur w8, [x29, #-188]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-216]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
sub x10, x29, #40
stur x9, [x10, #-256] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub x9, x29, #40
ldur x10, [x9, #-256] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
sub x10, x29, #32
stur x9, [x10, #-256] ; 8-byte Folded Spill
stur x8, [x29, #-224]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
stur wzr, [x29, #-228]
b LBB0_12
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-228]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=1
bl _rand
sub x8, x29, #44
stur w0, [x8, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-196]
sub x9, x29, #48
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-192]
sub x9, x29, #48
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_12 Depth=1
sub x8, x29, #44
ldur w8, [x8, #-256] ; 4-byte Folded Reload
sub x9, x29, #48
ldur w10, [x9, #-256] ; 4-byte Folded Reload
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
sub x9, x29, #52
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-192]
sub x9, x29, #56
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-196]
sub x9, x29, #56
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_12 Depth=1
sub x8, x29, #32
ldur x9, [x8, #-256] ; 8-byte Folded Reload
sub x8, x29, #52
ldur w8, [x8, #-256] ; 4-byte Folded Reload
sub x10, x29, #56
ldur w10, [x10, #-256] ; 4-byte Folded Reload
add w8, w8, w10
ldursw x10, [x29, #-228]
str w8, [x9, x10, lsl #2]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-228]
add w8, w8, #1
stur w8, [x29, #-228]
b LBB0_12
LBB0_21:
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
ldur w1, [x29, #-188]
bl _print_tab
ldur w8, [x29, #-188]
subs w8, w8, #10
cset w8, lt
tbnz w8, #0, LBB0_40
b LBB0_22
LBB0_22:
bl _getpid
sub x8, x29, #60
stur w0, [x8, #-256] ; 4-byte Folded Spill
bl _getpid
bl _getpgid
mov x8, x0
sub x9, x29, #60
ldur w0, [x9, #-256] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
bl _fork
stur w0, [x29, #-204]
b LBB0_24
LBB0_24:
bl _getpid
sub x8, x29, #64
stur w0, [x8, #-256] ; 4-byte Folded Spill
bl _getpid
bl _getpgid
mov x8, x0
sub x9, x29, #64
ldur w0, [x9, #-256] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
bl _fork
stur w0, [x29, #-208]
b LBB0_26
LBB0_26:
ldur w8, [x29, #-204]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_31
b LBB0_27
LBB0_27:
mov x0, #65
bl _malloc
stur x0, [x29, #-240]
ldur w0, [x29, #-32]
bl _close
ldur x8, [x29, #-240]
sub x9, x29, #80
stur x8, [x9, #-256] ; 8-byte Folded Spill
ldur w8, [x29, #-200]
sub x9, x29, #68
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-188]
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_29
b LBB0_28
LBB0_28:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
sub x9, x29, #84
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_30
LBB0_29:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
add w8, w8, #1
sub x9, x29, #84
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_30
LBB0_30:
sub x8, x29, #68
ldur w1, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub x8, x29, #84
ldur w3, [x8, #-256] ; 4-byte Folded Reload
mov w2, #0
sub x8, x29, #88
stur w2, [x8, #-256] ; 4-byte Folded Spill
bl _count_occ
sub x8, x29, #88
ldur w2, [x8, #-256] ; 4-byte Folded Reload
mov x10, x0
sub x8, x29, #80
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
mov x1, #64
mov x3, #-1
adrp x4, l_.str.1@PAGE
add x4, x4, l_.str.1@PAGEOFF
bl ___snprintf_chk
add sp, sp, #16
ldur w0, [x29, #-28]
ldur x1, [x29, #-240]
mov x2, #65
bl _write
sub x8, x29, #88
ldur w0, [x8, #-256] ; 4-byte Folded Reload
bl _exit
LBB0_31:
ldur w8, [x29, #-208]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_32
LBB0_32:
mov x0, #65
bl _malloc
stur x0, [x29, #-248]
ldur w0, [x29, #-40]
bl _close
ldur x8, [x29, #-248]
sub x9, x29, #104
stur x8, [x9, #-256] ; 8-byte Folded Spill
ldur w8, [x29, #-200]
sub x9, x29, #92
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-188]
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_34
b LBB0_33
LBB0_33:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
sub x9, x29, #108
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_35
LBB0_34:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
add w8, w8, #1
sub x9, x29, #108
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_35
LBB0_35:
sub x8, x29, #92
ldur w1, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub x8, x29, #108
ldur w2, [x8, #-256] ; 4-byte Folded Reload
ldur w3, [x29, #-188]
bl _count_occ
mov x10, x0
sub x8, x29, #104
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
mov x1, #64
mov w2, #0
sub x8, x29, #112
stur w2, [x8, #-256] ; 4-byte Folded Spill
mov x3, #-1
adrp x4, l_.str.1@PAGE
add x4, x4, l_.str.1@PAGEOFF
bl ___snprintf_chk
add sp, sp, #16
ldur w0, [x29, #-36]
ldur x1, [x29, #-248]
mov x2, #65
bl _write
sub x8, x29, #112
ldur w0, [x8, #-256] ; 4-byte Folded Reload
bl _exit
LBB0_36:
b LBB0_37
LBB0_37:
bl _getpid
sub x8, x29, #116
stur w0, [x8, #-256] ; 4-byte Folded Spill
bl _getpid
bl _getpgid
mov x8, x0
sub x9, x29, #116
ldur w0, [x9, #-256] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
ldur w0, [x29, #-28]
bl _close
ldur w0, [x29, #-36]
bl _close
ldur w0, [x29, #-32]
sub x1, x29, #104
sub x8, x29, #160
stur x1, [x8, #-256] ; 8-byte Folded Spill
mov x2, #64
sub x8, x29, #168
stur x2, [x8, #-256] ; 8-byte Folded Spill
bl _read
sub x8, x29, #168
ldur x2, [x8, #-256] ; 8-byte Folded Reload
ldur w0, [x29, #-40]
sub x1, x29, #168
sub x8, x29, #152
stur x1, [x8, #-256] ; 8-byte Folded Spill
bl _read
sub x8, x29, #160
ldur x0, [x8, #-256] ; 8-byte Folded Reload
ldur w9, [x29, #-200]
; implicit-def: $x8
mov x8, x9
sub x9, x29, #136
stur x8, [x9, #-256] ; 8-byte Folded Spill
bl _atoi
mov x8, x0
sub x9, x29, #152
ldur x0, [x9, #-256] ; 8-byte Folded Reload
sub x9, x29, #124
stur w8, [x9, #-256] ; 4-byte Folded Spill
bl _atoi
mov x8, x0
sub x9, x29, #160
ldur x0, [x9, #-256] ; 8-byte Folded Reload
sub x9, x29, #120
stur w8, [x9, #-256] ; 4-byte Folded Spill
bl _atoi
mov x8, x0
sub x9, x29, #152
ldur x0, [x9, #-256] ; 8-byte Folded Reload
sub x9, x29, #140
stur w8, [x9, #-256] ; 4-byte Folded Spill
bl _atoi
sub x8, x29, #140
ldur w9, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #136
ldur x8, [x8, #-256] ; 8-byte Folded Reload
sub x10, x29, #124
ldur w11, [x10, #-256] ; 4-byte Folded Reload
mov x10, x0
sub x12, x29, #120
ldur w0, [x12, #-256] ; 4-byte Folded Reload
add w10, w9, w10
sub sp, sp, #32
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #16]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #24]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add sp, sp, #32
b LBB0_39
LBB0_39:
b LBB0_41
LBB0_40:
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
ldur w1, [x29, #-200]
ldur w3, [x29, #-188]
mov w2, #0
bl _count_occ
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add sp, sp, #16
b LBB0_41
LBB0_41:
stur wzr, [x29, #-172]
ldur x8, [x29, #-216]
mov sp, x8
ldur w8, [x29, #-172]
sub x9, x29, #172
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42:
bl ___stack_chk_fail
LBB0_43:
sub x8, x29, #172
ldur w0, [x8, #-256] ; 4-byte Folded Reload
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _print_tab ; -- Begin function print_tab
.p2align 2
_print_tab: ; @print_tab
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_6:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _count_occ ; -- Begin function count_occ
.p2align 2
_count_occ: ; @count_occ
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
stur w3, [x29, #-20]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
str w8, [sp, #32] ; 4-byte Folded Spill
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB2_4
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
ldr w9, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_9
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldur w9, [x29, #-16]
ldur w10, [x29, #-28]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-28]
ldur w10, [x29, #-16]
add w10, w9, w10
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_1
LBB2_9:
ldur w0, [x29, #-24]
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 "Enter a tab size : \n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter a minimum : \n"
l_.str.3: ; @.str.3
.asciz "Enter a maximum : \n"
l_.str.4: ; @.str.4
.asciz "Tab filled with values in %d...%d interval.\n"
l_.str.5: ; @.str.5
.asciz "Enter an element to find : \n"
l_.str.6: ; @.str.6
.asciz "This value is not allowed : %d \nPlease enter an other value : \n"
l_.str.7: ; @.str.7
.asciz "Occurences of %d : %d + %d = %d\n"
l_.str.8: ; @.str.8
.asciz "Occurences of %d\n"
l_.str.9: ; @.str.9
.asciz "Occ : %d : index %d\n"
l_.str.10: ; @.str.10
.asciz ","
l_.str.11: ; @.str.11
.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 $368, %rsp ## imm = 0x170
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -164(%rbp)
movl %edi, -168(%rbp)
movq %rsi, -176(%rbp)
movl $0, -196(%rbp)
movl $0, -200(%rbp)
leaq -16(%rbp), %rdi
callq _pipe
leaq -24(%rbp), %rdi
callq _pipe
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -180(%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 -184(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -188(%rbp), %rsi
movb $0, %al
callq _scanf
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_2
## %bb.1:
movl -184(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl -188(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
LBB0_3:
movl -244(%rbp), %eax ## 4-byte Reload
movl %eax, -248(%rbp) ## 4-byte Spill
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_5
## %bb.4:
movl -188(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
jmp LBB0_6
LBB0_5:
movl -184(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
LBB0_6:
movl -248(%rbp), %esi ## 4-byte Reload
movl -252(%rbp), %edx ## 4-byte Reload
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -192(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp), %ecx
movb $1, %al
cmpl -184(%rbp), %ecx
movb %al, -253(%rbp) ## 1-byte Spill
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl -192(%rbp), %eax
cmpl -188(%rbp), %eax
setg %al
movb %al, -253(%rbp) ## 1-byte Spill
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
movb -253(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_10
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movl -192(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -192(%rbp), %rsi
movb $0, %al
callq _scanf
jmp LBB0_7
LBB0_11:
movl -180(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -272(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -208(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -272(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -264(%rbp) ## 8-byte Spill
movq %rax, -216(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $0, -220(%rbp)
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl -220(%rbp), %eax
cmpl -180(%rbp), %eax
jge LBB0_21
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
callq _rand
movl %eax, -276(%rbp) ## 4-byte Spill
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_15
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl -188(%rbp), %eax
movl %eax, -280(%rbp) ## 4-byte Spill
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
movl -184(%rbp), %eax
movl %eax, -280(%rbp) ## 4-byte Spill
LBB0_16: ## in Loop: Header=BB0_12 Depth=1
movl -276(%rbp), %eax ## 4-byte Reload
movl -280(%rbp), %ecx ## 4-byte Reload
cltd
idivl %ecx
movl %edx, -284(%rbp) ## 4-byte Spill
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_18
## %bb.17: ## in Loop: Header=BB0_12 Depth=1
movl -184(%rbp), %eax
movl %eax, -288(%rbp) ## 4-byte Spill
jmp LBB0_19
LBB0_18: ## in Loop: Header=BB0_12 Depth=1
movl -188(%rbp), %eax
movl %eax, -288(%rbp) ## 4-byte Spill
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
movq -264(%rbp), %rax ## 8-byte Reload
movl -284(%rbp), %edx ## 4-byte Reload
movl -288(%rbp), %ecx ## 4-byte Reload
addl %ecx, %edx
movslq -220(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.20: ## in Loop: Header=BB0_12 Depth=1
movl -220(%rbp), %eax
addl $1, %eax
movl %eax, -220(%rbp)
jmp LBB0_12
LBB0_21:
movq -264(%rbp), %rdi ## 8-byte Reload
movl -180(%rbp), %esi
callq _print_tab
cmpl $10, -180(%rbp)
jl LBB0_40
## %bb.22:
callq _getpid
movl %eax, -292(%rbp) ## 4-byte Spill
callq _getpid
movl %eax, %edi
callq _getpgid
movl %eax, %ecx
movl -292(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB0_24
## %bb.23:
callq _fork
movl %eax, -196(%rbp)
LBB0_24:
callq _getpid
movl %eax, -296(%rbp) ## 4-byte Spill
callq _getpid
movl %eax, %edi
callq _getpgid
movl %eax, %ecx
movl -296(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB0_26
## %bb.25:
callq _fork
movl %eax, -200(%rbp)
LBB0_26:
cmpl $0, -196(%rbp)
jne LBB0_31
## %bb.27:
movl $65, %edi
callq _malloc
movq %rax, -232(%rbp)
movl -16(%rbp), %edi
callq _close
movq -232(%rbp), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
movl -192(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_29
## %bb.28:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -316(%rbp) ## 4-byte Spill
jmp LBB0_30
LBB0_29:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
addl $1, %eax
movl %eax, -316(%rbp) ## 4-byte Spill
LBB0_30:
movl -300(%rbp), %esi ## 4-byte Reload
movq -264(%rbp), %rdi ## 8-byte Reload
movl -316(%rbp), %ecx ## 4-byte Reload
xorl %edx, %edx
movl %edx, -320(%rbp) ## 4-byte Spill
callq _count_occ
movq -312(%rbp), %rdi ## 8-byte Reload
movl -320(%rbp), %edx ## 4-byte Reload
movl %eax, %r9d
leaq L_.str.1(%rip), %r8
movb %dl, %al
movl $64, %esi
movq $-1, %rcx
callq ___snprintf_chk
movl -12(%rbp), %edi
movq -232(%rbp), %rsi
movl $65, %edx
callq _write
movl -320(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_31:
cmpl $0, -200(%rbp)
jne LBB0_36
## %bb.32:
movl $65, %edi
callq _malloc
movq %rax, -240(%rbp)
movl -24(%rbp), %edi
callq _close
movq -240(%rbp), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
movl -192(%rbp), %eax
movl %eax, -324(%rbp) ## 4-byte Spill
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_34
## %bb.33:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -340(%rbp) ## 4-byte Spill
jmp LBB0_35
LBB0_34:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
addl $1, %eax
movl %eax, -340(%rbp) ## 4-byte Spill
LBB0_35:
movl -324(%rbp), %esi ## 4-byte Reload
movq -264(%rbp), %rdi ## 8-byte Reload
movl -340(%rbp), %edx ## 4-byte Reload
movl -180(%rbp), %ecx
callq _count_occ
movq -336(%rbp), %rdi ## 8-byte Reload
movl %eax, %r9d
leaq L_.str.1(%rip), %r8
xorl %edx, %edx
movl %edx, -344(%rbp) ## 4-byte Spill
movb %dl, %al
movl $64, %esi
movq $-1, %rcx
callq ___snprintf_chk
movl -20(%rbp), %edi
movq -240(%rbp), %rsi
movl $65, %edx
callq _write
movl -344(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_36:
jmp LBB0_37
LBB0_37:
callq _getpid
movl %eax, -348(%rbp) ## 4-byte Spill
callq _getpid
movl %eax, %edi
callq _getpgid
movl %eax, %ecx
movl -348(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB0_39
## %bb.38:
movl -12(%rbp), %edi
callq _close
movl -20(%rbp), %edi
callq _close
movl -16(%rbp), %edi
leaq -96(%rbp), %rsi
movl $64, %edx
callq _read
movl -24(%rbp), %edi
leaq -160(%rbp), %rsi
movl $64, %edx
callq _read
movl -192(%rbp), %eax
movl %eax, -360(%rbp) ## 4-byte Spill
leaq -96(%rbp), %rdi
callq _atoi
movl %eax, -356(%rbp) ## 4-byte Spill
leaq -160(%rbp), %rdi
callq _atoi
movl %eax, -352(%rbp) ## 4-byte Spill
leaq -96(%rbp), %rdi
callq _atoi
movl %eax, -364(%rbp) ## 4-byte Spill
leaq -160(%rbp), %rdi
callq _atoi
movl -364(%rbp), %r8d ## 4-byte Reload
movl -360(%rbp), %esi ## 4-byte Reload
movl -356(%rbp), %edx ## 4-byte Reload
movl -352(%rbp), %ecx ## 4-byte Reload
addl %eax, %r8d
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_39:
jmp LBB0_41
LBB0_40:
movq -264(%rbp), %rdi ## 8-byte Reload
movl -192(%rbp), %esi
movl -180(%rbp), %ecx
xorl %edx, %edx
callq _count_occ
movl %eax, %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB0_41:
movl $0, -164(%rbp)
movq -208(%rbp), %rax
movq %rax, %rsp
movl -164(%rbp), %eax
movl %eax, -368(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_43
## %bb.42:
movl -368(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_43:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _print_tab ## -- Begin function print_tab
.p2align 4, 0x90
_print_tab: ## @print_tab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_6:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count_occ ## -- Begin function count_occ
.p2align 4, 0x90
_count_occ: ## @count_occ
.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 %ecx, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB2_4
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
subl -20(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl -32(%rbp), %eax ## 4-byte Reload
movl -36(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB2_9
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
addl -28(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cmpl -12(%rbp), %eax
jne LBB2_7
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %esi
movl -28(%rbp), %edx
addl -16(%rbp), %edx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_9:
movl -24(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a tab size : \n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter a minimum : \n"
L_.str.3: ## @.str.3
.asciz "Enter a maximum : \n"
L_.str.4: ## @.str.4
.asciz "Tab filled with values in %d...%d interval.\n"
L_.str.5: ## @.str.5
.asciz "Enter an element to find : \n"
L_.str.6: ## @.str.6
.asciz "This value is not allowed : %d \nPlease enter an other value : \n"
L_.str.7: ## @.str.7
.asciz "Occurences of %d : %d + %d = %d\n"
L_.str.8: ## @.str.8
.asciz "Occurences of %d\n"
L_.str.9: ## @.str.9
.asciz "Occ : %d : index %d\n"
L_.str.10: ## @.str.10
.asciz ","
L_.str.11: ## @.str.11
.asciz "\n"
.subsections_via_symbols
| the_stack_data/153142.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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 "What is your age: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Your age is %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %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 "What is your age: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Your age is %d\n"
.subsections_via_symbols
| the_stack_data/87638070.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #24
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldrsw x8, [sp, #28]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #24]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldr w9, [sp, #28]
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, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #28]
subs x8, x8, x9
ldur x9, [x29, #-16]
ldrsw x10, [sp, #24]
subs x9, x9, x10
mul x8, x8, x9
str x8, [sp, #32]
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%llu %llu"
l_.str.1: ; @.str.1
.asciz "%llu"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -24(%rbp), %rdx
movb $0, %al
callq _scanf
movl $0, -36(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movslq -36(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -40(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
cmpq $0, -24(%rbp)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
subq %rcx, %rax
movq -16(%rbp), %rcx
movslq -40(%rbp), %rdx
subq %rdx, %rcx
imulq %rcx, %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -24(%rbp)
jne LBB0_10
## %bb.9:
jmp LBB0_12
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%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 "%llu %llu"
L_.str.1: ## @.str.1
.asciz "%llu"
.subsections_via_symbols
| the_stack_data/1228494.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_char_is_printable ; -- Begin function ft_char_is_printable
.p2align 2
_ft_char_is_printable: ; @ft_char_is_printable
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #11]
ldrsb w8, [sp, #11]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrsb w8, [sp, #11]
subs w8, w8, #31
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldrsb w8, [sp, #11]
subs w8, w8, #127
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
str wzr, [sp, #12]
b LBB0_5
LBB0_4:
mov w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_5:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _ft_str_is_printable ; -- Begin function ft_str_is_printable
.p2align 2
_ft_str_is_printable: ; @ft_str_is_printable
.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]
mov w8, #1
str w8, [sp, #16]
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
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldrsb w0, [x8, x9]
bl _ft_char_is_printable
str w0, [sp, #16]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_5:
ldr w0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_char_is_printable ## -- Begin function ft_char_is_printable
.p2align 4, 0x90
_ft_char_is_printable: ## @ft_char_is_printable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -5(%rbp)
movsbl -5(%rbp), %eax
cmpl $0, %eax
jl LBB0_2
## %bb.1:
movsbl -5(%rbp), %eax
cmpl $31, %eax
jle LBB0_3
LBB0_2:
movsbl -5(%rbp), %eax
cmpl $127, %eax
jne LBB0_4
LBB0_3:
movl $0, -4(%rbp)
jmp LBB0_5
LBB0_4:
movl $1, -4(%rbp)
LBB0_5:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_str_is_printable ## -- Begin function ft_str_is_printable
.p2align 4, 0x90
_ft_str_is_printable: ## @ft_str_is_printable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $1, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -16(%rbp)
setne %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_4
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _ft_char_is_printable
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_5:
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/22803.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
mov x8, #-1
str x8, [x9]
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 "EOF: %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
leaq L_.str(%rip), %rdi
movl $4294967295, %esi ## imm = 0xFFFFFFFF
movb $0, %al
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "EOF: %d"
.subsections_via_symbols
| the_stack_data/100141231.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #9
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldursb w8, [x29, #-9]
subs w8, w8, #67
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
subs w8, w8, #100
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_3:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_6
LBB0_5:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
b LBB0_18
LBB0_8:
ldursb w8, [x29, #-9]
subs w8, w8, #70
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_9
LBB0_9:
ldur w8, [x29, #-8]
subs w8, w8, #212
cset w8, lt
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_15
LBB0_11:
ldur w8, [x29, #-8]
subs w8, w8, #32
cset w8, lt
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_14
LBB0_13:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_14
LBB0_14:
b LBB0_15
LBB0_15:
b LBB0_17
LBB0_16:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_17
LBB0_17:
b LBB0_18
LBB0_18:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Please enter the system you're using (C for Celsius, F for Fahrenheit): "
l_.str.1: ; @.str.1
.asciz "%c"
l_.str.2: ; @.str.2
.asciz "Please enter the temperature: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Water is solid\n"
l_.str.5: ; @.str.5
.asciz "Water is liquid\n"
l_.str.6: ; @.str.6
.asciz "Water is gaseous\n"
l_.str.7: ; @.str.7
.asciz "Couldn't determine temperature type. Exiting...\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -9(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movsbl -9(%rbp), %eax
cmpl $67, %eax
jne LBB0_8
## %bb.1:
cmpl $100, -8(%rbp)
jl LBB0_3
## %bb.2:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_3:
cmpl $0, -8(%rbp)
jl LBB0_5
## %bb.4:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
jmp LBB0_7
LBB0_7:
jmp LBB0_18
LBB0_8:
movsbl -9(%rbp), %eax
cmpl $70, %eax
jne LBB0_16
## %bb.9:
cmpl $212, -8(%rbp)
jl LBB0_11
## %bb.10:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_15
LBB0_11:
cmpl $32, -8(%rbp)
jl LBB0_13
## %bb.12:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_14
LBB0_13:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_14:
jmp LBB0_15
LBB0_15:
jmp LBB0_17
LBB0_16:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_17:
jmp LBB0_18
LBB0_18:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please enter the system you're using (C for Celsius, F for Fahrenheit): "
L_.str.1: ## @.str.1
.asciz "%c"
L_.str.2: ## @.str.2
.asciz "Please enter the temperature: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Water is solid\n"
L_.str.5: ## @.str.5
.asciz "Water is liquid\n"
L_.str.6: ## @.str.6
.asciz "Water is gaseous\n"
L_.str.7: ## @.str.7
.asciz "Couldn't determine temperature type. Exiting...\n"
.subsections_via_symbols
| the_stack_data/122016755.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #36]
add x0, sp, #40
str x0, [sp, #16] ; 8-byte Folded Spill
bl _le_string
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _conta_caractere_string
str w0, [sp, #24]
bl _le_caractere
strb w0, [sp, #35]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #24]
bl _le_inteiro
str w0, [sp, #28]
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, lt
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w9, w8, #0x1
mov w8, #0
ands w9, w9, #0x1
csinc w8, w8, wzr, eq
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_5
LBB0_5:
ldrsb w1, [sp, #35]
ldr w2, [sp, #28]
add x0, sp, #40
str x0, [sp] ; 8-byte Folded Spill
bl _strins
ldr x0, [sp] ; 8-byte Folded Reload
bl _mostra_nova_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_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _le_string ; -- Begin function le_string
.p2align 2
_le_string: ; @le_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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _conta_caractere_string ; -- Begin function conta_caractere_string
.p2align 2
_conta_caractere_string: ; @conta_caractere_string
.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]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
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, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _le_caractere ; -- Begin function le_caractere
.p2align 2
_le_caractere: ; @le_caractere
.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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #1
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldursb w0, [x29, #-1]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _le_inteiro ; -- Begin function le_inteiro
.p2align 2
_le_inteiro: ; @le_inteiro
.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 w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #8
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
ldr w0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _strins ; -- Begin function strins
.p2align 2
_strins: ; @strins
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
strb w1, [sp, #7]
str w2, [sp]
ldrb w8, [sp, #7]
ldr x9, [sp, #8]
ldrsw x10, [sp]
add x9, x9, x10
strb w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _mostra_nova_str ; -- Begin function mostra_nova_str
.p2align 2
_mostra_nova_str: ; @mostra_nova_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]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x0, [sp, #8]
bl _puts
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 "Digite uma string: "
l_.str.1: ; @.str.1
.asciz "%79s"
l_.str.2: ; @.str.2
.asciz "Digite um caractere: "
l_.str.3: ; @.str.3
.asciz "%*c%c"
l_.str.4: ; @.str.4
.asciz "Digite uma posi\303\247\303\243o do caractere a ser substituido 0 < x < %d : "
l_.str.5: ; @.str.5
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "Nova string: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
leaq -96(%rbp), %rdi
callq _le_string
leaq -96(%rbp), %rdi
callq _conta_caractere_string
movl %eax, -112(%rbp)
callq _le_caractere
movb %al, -101(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -112(%rbp), %edi
callq _le_inteiro
movl %eax, -108(%rbp)
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -108(%rbp), %ecx
movb $1, %al
cmpl -112(%rbp), %ecx
movb %al, -113(%rbp) ## 1-byte Spill
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -108(%rbp)
setl %al
movb %al, -113(%rbp) ## 1-byte Spill
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movb -113(%rbp), %dl ## 1-byte Reload
xorl %eax, %eax
movl $1, %ecx
testb $1, %dl
cmovnel %ecx, %eax
cmpl $0, %eax
jne LBB0_1
## %bb.5:
leaq -96(%rbp), %rdi
movb -101(%rbp), %al
movl -108(%rbp), %edx
movsbl %al, %esi
callq _strins
leaq -96(%rbp), %rdi
callq _mostra_nova_str
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _le_string ## -- Begin function le_string
.p2align 4, 0x90
_le_string: ## @le_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)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _conta_caractere_string ## -- Begin function conta_caractere_string
.p2align 4, 0x90
_conta_caractere_string: ## @conta_caractere_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_3
LBB2_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 -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _le_caractere ## -- Begin function le_caractere
.p2align 4, 0x90
_le_caractere: ## @le_caractere
.cfi_startproc
## %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.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -1(%rbp), %rsi
movb $0, %al
callq _scanf
movsbl -1(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _le_inteiro ## -- Begin function le_inteiro
.p2align 4, 0x90
_le_inteiro: ## @le_inteiro
.cfi_startproc
## %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.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strins ## -- Begin function strins
.p2align 4, 0x90
_strins: ## @strins
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %sil, %al
movq %rdi, -8(%rbp)
movb %al, -9(%rbp)
movl %edx, -16(%rbp)
movb -9(%rbp), %dl
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb %dl, (%rax,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mostra_nova_str ## -- Begin function mostra_nova_str
.p2align 4, 0x90
_mostra_nova_str: ## @mostra_nova_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)
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _puts
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite uma string: "
L_.str.1: ## @.str.1
.asciz "%79s"
L_.str.2: ## @.str.2
.asciz "Digite um caractere: "
L_.str.3: ## @.str.3
.asciz "%*c%c"
L_.str.4: ## @.str.4
.asciz "Digite uma posi\303\247\303\243o do caractere a ser substituido 0 < x < %d : "
L_.str.5: ## @.str.5
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "Nova string: "
.subsections_via_symbols
| the_stack_data/91461.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bubbleSortString ; -- Begin function bubbleSortString
.p2align 2
_bubbleSortString: ; @bubbleSortString
.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]
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_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, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp]
str wzr, [sp, #4]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
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, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #4]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-8]
ldr w9, [sp, #4]
add w9, w9, #1
ldr x1, [x8, w9, sxtw #3]
bl _strcasecmp
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #4]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
ldur x8, [x29, #-8]
ldr w9, [sp, #4]
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #4]
str x8, [x9, x10, lsl #3]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
ldr w10, [sp, #4]
add w10, w10, #1
str x8, [x9, w10, sxtw #3]
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
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, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _printList ; -- Begin function printList
.p2align 2
_printList: ; @printList
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w11, w8, #1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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, #880
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #68]
str w0, [sp, #64]
str x1, [sp, #56]
ldr w9, [sp, #64]
; 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
str wzr, [sp, #52]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
ldr w9, [sp, #64]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #52]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #56]
ldrsw x9, [sp, #52]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB2_1
LBB2_4:
ldr w8, [sp, #64]
subs w8, w8, #101
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #68]
b LBB2_13
LBB2_6:
ldr w8, [sp, #64]
subs w8, w8, #1
str w8, [sp, #48]
str wzr, [sp, #44]
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
ldr x8, [sp, #56]
ldr w9, [sp, #44]
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
ldrsw x10, [sp, #44]
add x9, sp, #72
str x8, [x9, x10, lsl #3]
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_7 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB2_7
LBB2_10:
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
ldr w1, [sp, #48]
add x0, sp, #72
str x0, [sp, #32] ; 8-byte Folded Spill
bl _bubbleSortString
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldr w1, [sp, #48]
bl _printList
b LBB2_12
LBB2_12:
mov w8, #1
str w8, [sp, #68]
b LBB2_13
LBB2_13:
ldr w8, [sp, #68]
str w8, [sp, #28] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
bl ___stack_chk_fail
LBB2_15:
ldr w0, [sp, #28] ; 4-byte Folded Reload
add sp, sp, #880
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 "Liste - Start\n"
l_.str.1: ; @.str.1
.asciz "\t%02d: %s\n"
l_.str.2: ; @.str.2
.asciz "Liste - Ende\n\n"
l_.str.3: ; @.str.3
.asciz "argc= %d\n"
l_.str.4: ; @.str.4
.asciz " %d: %s\n"
l_.str.5: ; @.str.5
.asciz "Fehler: Zu viele Argumente\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bubbleSortString ## -- Begin function bubbleSortString
.p2align 4, 0x90
_bubbleSortString: ## @bubbleSortString
.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 $0, -24(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -32(%rbp)
movl $0, -28(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -28(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
subl -16(%rbp), %ecx
cmpl %ecx, %eax
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
callq _strcasecmp
cmpl $0, %eax
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdx
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -24(%rbp), %rdx
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -32(%rbp)
jne LBB0_10
## %bb.9:
jmp LBB0_12
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_12:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printList ## -- Begin function printList
.p2align 4, 0x90
_printList: ## @printList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %esi
addl $1, %esi
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $848, %rsp ## imm = 0x350
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -820(%rbp)
movl %edi, -824(%rbp)
movq %rsi, -832(%rbp)
movl -824(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -836(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -836(%rbp), %eax
cmpl -824(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -836(%rbp), %esi
movq -832(%rbp), %rax
movslq -836(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -836(%rbp), %eax
addl $1, %eax
movl %eax, -836(%rbp)
jmp LBB2_1
LBB2_4:
cmpl $101, -824(%rbp)
jle LBB2_6
## %bb.5:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -820(%rbp)
jmp LBB2_13
LBB2_6:
movl -824(%rbp), %eax
subl $1, %eax
movl %eax, -840(%rbp)
movl $0, -844(%rbp)
LBB2_7: ## =>This Inner Loop Header: Depth=1
movl -844(%rbp), %eax
cmpl -840(%rbp), %eax
jge LBB2_10
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
movq -832(%rbp), %rax
movl -844(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
movslq -844(%rbp), %rax
movq %rcx, -816(%rbp,%rax,8)
## %bb.9: ## in Loop: Header=BB2_7 Depth=1
movl -844(%rbp), %eax
addl $1, %eax
movl %eax, -844(%rbp)
jmp LBB2_7
LBB2_10:
cmpl $0, -840(%rbp)
je LBB2_12
## %bb.11:
leaq -816(%rbp), %rdi
movl -840(%rbp), %esi
callq _bubbleSortString
leaq -816(%rbp), %rdi
movl -840(%rbp), %esi
callq _printList
LBB2_12:
movl $1, -820(%rbp)
LBB2_13:
movl -820(%rbp), %eax
movl %eax, -848(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_15
## %bb.14:
movl -848(%rbp), %eax ## 4-byte Reload
addq $848, %rsp ## imm = 0x350
popq %rbp
retq
LBB2_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Liste - Start\n"
L_.str.1: ## @.str.1
.asciz "\t%02d: %s\n"
L_.str.2: ## @.str.2
.asciz "Liste - Ende\n\n"
L_.str.3: ## @.str.3
.asciz "argc= %d\n"
L_.str.4: ## @.str.4
.asciz " %d: %s\n"
L_.str.5: ## @.str.5
.asciz "Fehler: Zu viele Argumente\n"
.subsections_via_symbols
| the_stack_data/136353.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #20]
adrp 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]
str x8, [sp, #24]
ldr w8, [sp, #16]
str w8, [sp, #32]
ldr x0, [sp, #24]
ldr x1, [sp, #32]
bl _process
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _process ; -- Begin function process
.p2align 2
_process: ; @process
.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]
stur x0, [x29, #-24]
stur x1, [x29, #-16]
ldur x8, [x29, #-24]
stur x8, [x29, #-40]
ldur w8, [x29, #-16]
stur w8, [x29, #-32]
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur x8, [x29, #-40]
add x9, sp, #56
str x9, [sp, #24] ; 8-byte Folded Spill
str x8, [sp, #56]
ldur w8, [x29, #-32]
str w8, [sp, #64]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
add x8, x8, #12
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldr s0, [sp, #68]
bl _area
str s0, [sp, #60]
ldr s0, [sp, #60]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr s0, [sp, #68]
bl _length
str s0, [sp, #64]
ldr s0, [sp, #64]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
ldur x8, [x29, #-40]
add x9, sp, #32
str x9, [sp, #8] ; 8-byte Folded Spill
str x8, [sp, #32]
ldur w8, [x29, #-32]
str w8, [sp, #40]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x8, x8, #12
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 _scanf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
add x8, x8, #16
mov x9, sp
str x8, [x9]
bl _scanf
ldr s0, [sp, #44]
ldr s1, [sp, #48]
bl _r_area
str s0, [sp, #36]
ldr s0, [sp, #36]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr s0, [sp, #44]
ldr s1, [sp, #48]
bl _r_length
str s0, [sp, #40]
ldr s0, [sp, #40]
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 LBB1_3
LBB1_3:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
bl ___stack_chk_fail
LBB1_5:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _area ; -- Begin function area
.p2align 2
_area: ; @area
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
ldr s1, [sp, #12]
fmov s0, #3.00000000
fmul s0, s0, s1
ldr s1, [sp, #12]
fmul s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _length ; -- Begin function length
.p2align 2
_length: ; @length
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
ldr s1, [sp, #12]
fmov s0, #6.00000000
fmul s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _r_area ; -- Begin function r_area
.p2align 2
_r_area: ; @r_area
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fmul s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _r_length ; -- Begin function r_length
.p2align 2
_r_length: ; @r_length
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
ldr s1, [sp, #12]
ldr s2, [sp, #8]
fmov s0, #2.00000000
fmul s2, s0, s2
fmadd s0, s0, s1, s2
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _PI ; @PI
.p2align 2
_PI:
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nEnter the type of shape (0 = circle, 1 = rectangle) : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\nEnter the radius of Circle : "
l_.str.3: ; @.str.3
.asciz "%f"
l_.str.4: ; @.str.4
.asciz "\nArea of Circle : %.2f\n"
l_.str.5: ; @.str.5
.asciz "\nCircumfrence of Circle : %.2f\n"
l_.str.6: ; @.str.6
.asciz "\nEnter the height of Rectangle : "
l_.str.7: ; @.str.7
.asciz "\nEnter the width of Rectangle : "
l_.str.8: ; @.str.8
.asciz "\nArea of Rectangle : %.2f\n"
l_.str.9: ; @.str.9
.asciz "\nPerimeter of Rectangle : %.2f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movl -8(%rbp), %eax
movl %eax, -24(%rbp)
movq -32(%rbp), %rdi
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _process
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _process ## -- Begin function process
.p2align 4, 0x90
_process: ## @process
.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, -32(%rbp)
movss %xmm0, -24(%rbp)
movq -32(%rbp), %rax
movq %rax, -16(%rbp)
movl -24(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, -16(%rbp)
jne LBB1_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -48(%rbp)
movl -8(%rbp), %eax
movl %eax, -40(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rsi
addq $12, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _area
movss %xmm0, -44(%rbp)
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _length
movss %xmm0, -40(%rbp)
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.5(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB1_3
LBB1_2:
movq -16(%rbp), %rax
movq %rax, -72(%rbp)
movl -8(%rbp), %eax
movl %eax, -64(%rbp)
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq -72(%rbp), %rsi
addq $12, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq -72(%rbp), %rsi
addq $16, %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _r_area
movss %xmm0, -68(%rbp)
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.8(%rip), %rdi
movb $1, %al
callq _printf
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _r_length
movss %xmm0, -64(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
LBB1_3:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function area
LCPI2_0:
.long 0x40400000 ## float 3
.section __TEXT,__text,regular,pure_instructions
.globl _area
.p2align 4, 0x90
_area: ## @area
.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 LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -4(%rbp), %xmm0
mulss -4(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function length
LCPI3_0:
.long 0x40c00000 ## float 6
.section __TEXT,__text,regular,pure_instructions
.globl _length
.p2align 4, 0x90
_length: ## @length
.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 LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -4(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _r_area ## -- Begin function r_area
.p2align 4, 0x90
_r_area: ## @r_area
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function r_length
LCPI5_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _r_length
.p2align 4, 0x90
_r_length: ## @r_length
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI5_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -8(%rbp), %xmm1
addss %xmm0, %xmm0
addss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _PI ## @PI
.p2align 2
_PI:
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nEnter the type of shape (0 = circle, 1 = rectangle) : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\nEnter the radius of Circle : "
L_.str.3: ## @.str.3
.asciz "%f"
L_.str.4: ## @.str.4
.asciz "\nArea of Circle : %.2f\n"
L_.str.5: ## @.str.5
.asciz "\nCircumfrence of Circle : %.2f\n"
L_.str.6: ## @.str.6
.asciz "\nEnter the height of Rectangle : "
L_.str.7: ## @.str.7
.asciz "\nEnter the width of Rectangle : "
L_.str.8: ## @.str.8
.asciz "\nArea of Rectangle : %.2f\n"
L_.str.9: ## @.str.9
.asciz "\nPerimeter of Rectangle : %.2f\n"
.subsections_via_symbols
| the_stack_data/135830.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlcpy ; -- Begin function ft_strlcpy
.p2align 2
_ft_strlcpy: ; @ft_strlcpy
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
ldur x0, [x29, #-8]
bl _ft_strlen
str w0, [sp, #24]
ldur x0, [x29, #-16]
bl _ft_strlen
str w0, [sp, #20]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #16]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, hs
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, lo
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #16]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_6:
ldur x8, [x29, #-8]
ldr w9, [sp, #16]
; kill: def $x9 killed $w9
add x8, x8, x9
strb wzr, [x8]
ldr w0, [sp, #20]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ft_strlen ; -- Begin function ft_strlen
.p2align 2
_ft_strlen: ; @ft_strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_3:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlcpy ## -- Begin function ft_strlcpy
.p2align 4, 0x90
_ft_strlcpy: ## @ft_strlcpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rdi
callq _ft_strlen
movl %eax, -24(%rbp)
movq -16(%rbp), %rdi
callq _ft_strlen
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movl -32(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -33(%rbp) ## 1-byte Spill
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -20(%rbp), %ecx
movb %al, -33(%rbp) ## 1-byte Spill
jae LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
cmpl -24(%rbp), %eax
setb %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_5
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movl -32(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_1
LBB0_6:
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
## kill: def $rcx killed $ecx
movb $0, (%rax,%rcx)
movl -28(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_strlen ## -- Begin function ft_strlen
.p2align 4, 0x90
_ft_strlen: ## @ft_strlen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/68887922.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]
mov x9, sp
mov x8, #4
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movl $4, %esi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.subsections_via_symbols
| the_stack_data/145125.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/1207811.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_8
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]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x8, [sp, #24]
mov x9, #12
mul x9, x8, x9
sub x8, x29, #32
add x8, x8, x9
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_8:
str wzr, [sp, #24]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #20]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldrsw x9, [sp, #24]
add x8, sp, #64
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_9
LBB0_16:
str wzr, [sp, #24]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
str wzr, [sp, #20]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldrsw x9, [sp, #24]
add x8, sp, #32
add x9, x8, x9, lsl #4
ldrsw x10, [sp, #20]
mov w8, #0
str w8, [x9, x10, lsl #2]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_17
LBB0_24:
str wzr, [sp, #24]
b LBB0_25
LBB0_25: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
; Child Loop BB0_29 Depth 3
ldr w8, [sp, #24]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_36
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
str wzr, [sp, #20]
b LBB0_27
LBB0_27: ; Parent Loop BB0_25 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_29 Depth 3
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_34
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=2
str wzr, [sp, #16]
b LBB0_29
LBB0_29: ; Parent Loop BB0_25 Depth=1
; Parent Loop BB0_27 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_29 Depth=3
ldrsw x8, [sp, #24]
mov x9, #12
mul x9, x8, x9
sub x8, x29, #32
add x8, x8, x9
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #16]
add x9, sp, #64
add x9, x9, x10, lsl #4
ldrsw x10, [sp, #20]
ldr w9, [x9, x10, lsl #2]
mul w10, w8, w9
ldrsw x9, [sp, #24]
add x8, sp, #32
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #20]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_29 Depth=3
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_29
LBB0_32: ; in Loop: Header=BB0_27 Depth=2
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_27 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_27
LBB0_34: ; in Loop: Header=BB0_25 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_25
LBB0_36:
str wzr, [sp, #24]
b LBB0_37
LBB0_37: ; =>This Loop Header: Depth=1
; Child Loop BB0_39 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_44
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_37 Depth=1
str wzr, [sp, #20]
b LBB0_39
LBB0_39: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_42
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_39 Depth=2
ldrsw x9, [sp, #24]
add x8, sp, #32
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #20]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_39 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_39
LBB0_42: ; in Loop: Header=BB0_37 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_37 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_37
LBB0_44:
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_46
b LBB0_45
LBB0_45:
bl ___stack_chk_fail
LBB0_46:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%4d "
l_.str.2: ; @.str.2
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
movl $0, -120(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $2, -120(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -124(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -124(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -120(%rbp), %rax
leaq -32(%rbp), %rsi
imulq $12, %rax, %rax
addq %rax, %rsi
movslq -124(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_1
LBB0_8:
movl $0, -120(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $3, -120(%rbp)
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -124(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -124(%rbp)
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movslq -120(%rbp), %rax
leaq -80(%rbp), %rsi
shlq $4, %rax
addq %rax, %rsi
movslq -124(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%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 -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_9
LBB0_16:
movl $0, -120(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
cmpl $2, -120(%rbp)
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -124(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -124(%rbp)
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movslq -120(%rbp), %rcx
leaq -112(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movslq -124(%rbp), %rcx
movl $0, (%rax,%rcx,4)
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB0_19
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_17 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_17
LBB0_24:
movl $0, -120(%rbp)
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
## Child Loop BB0_29 Depth 3
cmpl $2, -120(%rbp)
jge LBB0_36
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movl $0, -124(%rbp)
LBB0_27: ## Parent Loop BB0_25 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_29 Depth 3
cmpl $4, -124(%rbp)
jge LBB0_34
## %bb.28: ## in Loop: Header=BB0_27 Depth=2
movl $0, -128(%rbp)
LBB0_29: ## Parent Loop BB0_25 Depth=1
## Parent Loop BB0_27 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $3, -128(%rbp)
jge LBB0_32
## %bb.30: ## in Loop: Header=BB0_29 Depth=3
movslq -120(%rbp), %rcx
leaq -32(%rbp), %rax
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -128(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movslq -128(%rbp), %rcx
leaq -80(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movslq -124(%rbp), %rcx
imull (%rax,%rcx,4), %edx
movslq -120(%rbp), %rcx
leaq -112(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movslq -124(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
## %bb.31: ## in Loop: Header=BB0_29 Depth=3
movl -128(%rbp), %eax
addl $1, %eax
movl %eax, -128(%rbp)
jmp LBB0_29
LBB0_32: ## in Loop: Header=BB0_27 Depth=2
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_27 Depth=2
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB0_27
LBB0_34: ## in Loop: Header=BB0_25 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_25 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_25
LBB0_36:
movl $0, -120(%rbp)
LBB0_37: ## =>This Loop Header: Depth=1
## Child Loop BB0_39 Depth 2
cmpl $2, -120(%rbp)
jge LBB0_44
## %bb.38: ## in Loop: Header=BB0_37 Depth=1
movl $0, -124(%rbp)
LBB0_39: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -124(%rbp)
jge LBB0_42
## %bb.40: ## in Loop: Header=BB0_39 Depth=2
movslq -120(%rbp), %rcx
leaq -112(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movslq -124(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.41: ## in Loop: Header=BB0_39 Depth=2
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB0_39
LBB0_42: ## in Loop: Header=BB0_37 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.43: ## in Loop: Header=BB0_37 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_37
LBB0_44:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_46
## %bb.45:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB0_46:
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 "%4d "
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
| the_stack_data/50370.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x8, l___const.main.foo@PAGE
add x8, x8, l___const.main.foo@PAGEOFF
ldr x9, [x8]
stur x9, [x29, #-16]
ldr w8, [x8, #8]
stur w8, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldurb w8, [x29, #-16]
lsl w8, w8, #7
sxtb w8, w8
asr w8, w8, #7
sxtb w8, w8
mov w9, #1
str w9, [sp, #28] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
and w10, w8, #0x1
adrp x9, l_.str.4@PAGE
add x9, x9, l_.str.4@PAGEOFF
str x9, [sp, #48] ; 8-byte Folded Spill
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
stur x8, [x29, #-40] ; 8-byte Folded Spill
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr w10, [sp, #28] ; 4-byte Folded Reload
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldurb w11, [x29, #-16]
and w10, w10, w11, lsr #1
and w10, w10, #0xff
subs w10, w10, #1
cset w10, eq
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur w10, [x29, #-12]
subs w10, w10, #1
cset w10, eq
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur w10, [x29, #-8]
subs w10, w10, #1
cset w10, eq
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
stur x0, [x29, #-32] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldurb w10, [x29, #-16]
lsl w10, w10, #7
sxtb w10, w10
asr w11, w10, #7
mov w10, #-1
str w10, [sp, #12] ; 4-byte Folded Spill
subs w10, w10, w11, sxtb
cset w10, eq
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
ldr w10, [sp, #12] ; 4-byte Folded Reload
ldr w11, [sp, #28] ; 4-byte Folded Reload
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldurb w12, [x29, #-16]
and w11, w11, w12, lsr #1
subs w10, w10, w11, uxtb
cset w10, eq
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldur w10, [x29, #-12]
adds w10, w10, #1
cset w10, eq
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur x0, [x29, #-32] ; 8-byte Folded Reload
ldur w10, [x29, #-8]
adds w10, w10, #1
cset w10, eq
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldurb w10, [x29, #-16]
lsl w10, w10, #7
sxtb w10, w10
asr w10, w10, #7
sxtb w10, w10
subs w10, w10, #0
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
ldr w10, [sp, #28] ; 4-byte Folded Reload
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldurb w11, [x29, #-16]
and w10, w10, w11, lsr #1
ands w10, w10, #0xff
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldur w10, [x29, #-12]
subs w10, w10, #0
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur x0, [x29, #-32] ; 8-byte Folded Reload
ldur w10, [x29, #-8]
subs w10, w10, #0
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
bl _printf
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.foo
l___const.main.foo:
.byte 3 ; 0x3
.space 3
.long 1 ; 0x1
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nAssign TRUE (!FALSE) to bar, baz, spam and eggs.\n"
l_.str.1: ; @.str.1
.asciz "\nCompare all to TRUE. Signed bitfield Fails.\n"
l_.str.2: ; @.str.2
.asciz "bar (signed bitf) is %s.\n"
l_.str.3: ; @.str.3
.asciz "true"
l_.str.4: ; @.str.4
.asciz "false"
l_.str.5: ; @.str.5
.asciz "baz (unsig. bitf) is %s.\n"
l_.str.6: ; @.str.6
.asciz "spam (signed int) is %s.\n"
l_.str.7: ; @.str.7
.asciz "eggs (unsig. int) is %s.\n"
l_.str.8: ; @.str.8
.asciz "\nChange TRUE to ~FALSE. Epic Fail, except signed bitfield.\n"
l_.str.9: ; @.str.9
.asciz "\nThe right way is the K&R way: if (baz) and if (!baz) always works.\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)
movq l___const.main.foo(%rip), %rax
movq %rax, -16(%rbp)
movl l___const.main.foo+8(%rip), %eax
movl %eax, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movb -16(%rbp), %al
shlb $7, %al
sarb $7, %al
movsbl %al, %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $1, %ecx
cmoveq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movb -16(%rbp), %al
shrb $1, %al
andb $1, %al
movzbl %al, %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $1, %ecx
cmoveq %rax, %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $1, %ecx
cmoveq %rax, %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $1, %ecx
cmoveq %rax, %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movb -16(%rbp), %al
shlb $7, %al
sarb $7, %al
movsbl %al, %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $-1, %ecx
cmoveq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movb -16(%rbp), %al
shrb $1, %al
andb $1, %al
movzbl %al, %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $-1, %ecx
cmoveq %rax, %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $-1, %ecx
cmoveq %rax, %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $-1, %ecx
cmoveq %rax, %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movb -16(%rbp), %al
shlb $7, %al
sarb $7, %al
movsbl %al, %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movb -16(%rbp), %al
shrb $1, %al
andb $1, %al
movzbl %al, %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %ecx
leaq L_.str.4(%rip), %rsi
leaq L_.str.3(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @__const.main.foo
l___const.main.foo:
.byte 3 ## 0x3
.space 3
.long 1 ## 0x1
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nAssign TRUE (!FALSE) to bar, baz, spam and eggs.\n"
L_.str.1: ## @.str.1
.asciz "\nCompare all to TRUE. Signed bitfield Fails.\n"
L_.str.2: ## @.str.2
.asciz "bar (signed bitf) is %s.\n"
L_.str.3: ## @.str.3
.asciz "true"
L_.str.4: ## @.str.4
.asciz "false"
L_.str.5: ## @.str.5
.asciz "baz (unsig. bitf) is %s.\n"
L_.str.6: ## @.str.6
.asciz "spam (signed int) is %s.\n"
L_.str.7: ## @.str.7
.asciz "eggs (unsig. int) is %s.\n"
L_.str.8: ## @.str.8
.asciz "\nChange TRUE to ~FALSE. Epic Fail, except signed bitfield.\n"
L_.str.9: ## @.str.9
.asciz "\nThe right way is the K&R way: if (baz) and if (!baz) always works.\n"
.subsections_via_symbols
| the_stack_data/32951446.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
sub x8, x29, #16
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-16]
add w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_8
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
stur w8, [x29, #-20]
ldur w8, [x29, #-12]
stur w8, [x29, #-8]
ldur w8, [x29, #-20]
stur w8, [x29, #-12]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
str w8, [sp, #24]
ldur w8, [x29, #-16]
stur w8, [x29, #-12]
ldr w8, [sp, #24]
stur w8, [x29, #-16]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-16]
mul w8, w8, w9
ldur w9, [x29, #-8]
ldur w10, [x29, #-8]
mul w9, w9, w10
ldur w10, [x29, #-12]
ldur w11, [x29, #-12]
mul w10, w10, w11
add w9, w9, w10
subs w8, w8, w9
cset w8, eq
and w10, w8, #0x1
adrp x9, l_.str.2@PAGE
add x9, x9, l_.str.2@PAGEOFF
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _puts
b LBB0_1
LBB0_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d%d"
l_.str.1: ; @.str.1
.asciz "right"
l_.str.2: ; @.str.2
.asciz "wrong"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
addl -16(%rbp), %eax
cmpl $0, %eax
jne LBB0_3
## %bb.2:
jmp LBB0_8
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
movl -20(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
movl %eax, -12(%rbp)
movl -24(%rbp), %eax
movl %eax, -16(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %ecx
imull -16(%rbp), %ecx
movl -8(%rbp), %edx
imull -8(%rbp), %edx
movl -12(%rbp), %eax
imull -12(%rbp), %eax
addl %eax, %edx
leaq L_.str.2(%rip), %rdi
leaq L_.str.1(%rip), %rax
cmpl %edx, %ecx
cmoveq %rax, %rdi
callq _puts
jmp LBB0_1
LBB0_8:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d%d"
L_.str.1: ## @.str.1
.asciz "right"
L_.str.2: ## @.str.2
.asciz "wrong"
.subsections_via_symbols
| the_stack_data/31389160.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, _optind@GOTPAGE
ldr x8, [x8, _optind@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov w0, #2
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _setlocale
mov w8, #-1
stur w8, [x29, #-28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
bl _getopt
stur w0, [x29, #-20]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #48
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #71
cset w8, hi
tbnz w8, #0, LBB0_17
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x11, [sp, #8] ; 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_4: ; in Loop: Header=BB0_1 Depth=1
adrp x9, _bflag@GOTPAGE
ldr x9, [x9, _bflag@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
b LBB0_18
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
adrp x9, _sflag@GOTPAGE
ldr x9, [x9, _sflag@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
b LBB0_18
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x8, _optarg@GOTPAGE
ldr x8, [x8, _optarg@GOTPAGEOFF]
ldr x0, [x8]
bl _atoi
stur w0, [x29, #-28]
subs w8, w0, #0
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w0, #1
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _errx
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_18
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr w9, [x9]
subs w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
str x8, [sp, #24]
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8, #1]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8, #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x0, x8, #1
mov x8, x0
str x8, [sp, #24]
bl _atoi
stur w0, [x29, #-28]
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
add x0, x8, #1
bl _atoi
stur w0, [x29, #-28]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
bl _usage
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_19:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x10, [x8]
ldur x9, [x29, #-16]
add x9, x9, x10, lsl #3
stur x9, [x29, #-16]
ldr w9, [x8]
ldur w8, [x29, #-8]
subs w8, w8, w9
stur w8, [x29, #-8]
ldur w8, [x29, #-28]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
mov w8, #80
stur w8, [x29, #-28]
b LBB0_21
LBB0_21:
stur wzr, [x29, #-24]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
ldur w0, [x29, #-28]
bl _fold
b LBB0_31
LBB0_23:
b LBB0_24
LBB0_24: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_30
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_24 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _freopen
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_24 Depth=1
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _warn
mov w8, #1
stur w8, [x29, #-24]
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_24 Depth=1
ldur w0, [x29, #-28]
bl _fold
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_24 Depth=1
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_24 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB0_24
LBB0_30:
b LBB0_31
LBB0_31:
ldur w0, [x29, #-24]
bl _exit
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_4-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_5-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_6-Ltmp0
; -- End function
.p2align 2 ; -- Begin function usage
_usage: ; @usage
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _fold ; -- Begin function fold
.p2align 2
_fold: ; @fold
.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, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur wzr, [x29, #-24]
stur wzr, [x29, #-20]
stur wzr, [x29, #-12]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_9 Depth 2
; Child Loop BB2_17 Depth 2
bl _getchar
stur w0, [x29, #-8]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB2_28
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
adrp x9, _fold.buf@PAGE
ldr x0, [x9, _fold.buf@PAGEOFF]
ldursw x2, [x29, #-20]
ldr x3, [x8]
mov x1, #1
bl _fwrite
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
mov w0, #10
bl _putchar
stur wzr, [x29, #-20]
stur wzr, [x29, #-12]
b LBB2_1
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldur w0, [x29, #-12]
ldur w1, [x29, #-8]
bl _newpos
stur w0, [x29, #-12]
ldur w8, [x29, #-4]
subs w8, w0, w8
cset w8, le
tbnz w8, #0, LBB2_23
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _sflag@GOTPAGE
ldr x8, [x8, _sflag@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
stur w8, [x29, #-16]
b LBB2_9
LBB2_9: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #1
stur w8, [x29, #-16]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=2
adrp x8, _fold.buf@PAGE
ldr x8, [x8, _fold.buf@PAGEOFF]
ldursw x9, [x29, #-16]
ldrb w0, [x8, x9]
bl _isblank
subs w8, w0, #0
cset w8, eq
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_9 Depth=2
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB2_13
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_9 Depth=2
b LBB2_9
LBB2_13: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-16]
stur w8, [x29, #-24]
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _sflag@GOTPAGE
ldr x8, [x8, _sflag@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_21
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-24]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB2_21
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur w9, [x29, #-24]
add w9, w9, #1
stur w9, [x29, #-24]
adrp x9, _fold.buf@PAGE
str x9, [sp, #16] ; 8-byte Folded Spill
ldr x0, [x9, _fold.buf@PAGEOFF]
ldursw x2, [x29, #-24]
ldr x3, [x8]
mov x1, #1
bl _fwrite
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8, _fold.buf@PAGEOFF]
ldr x8, [x8, _fold.buf@PAGEOFF]
ldursw x9, [x29, #-24]
add x1, x8, x9
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov x3, #-1
bl ___memmove_chk
ldur w9, [x29, #-24]
ldur w8, [x29, #-20]
subs w8, w8, w9
stur w8, [x29, #-20]
stur wzr, [x29, #-12]
stur wzr, [x29, #-16]
b LBB2_17
LBB2_17: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_20
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_17 Depth=2
ldur w0, [x29, #-12]
adrp x8, _fold.buf@PAGE
ldr x8, [x8, _fold.buf@PAGEOFF]
ldursw x9, [x29, #-16]
ldrb w1, [x8, x9]
bl _newpos
stur w0, [x29, #-12]
b LBB2_19
LBB2_19: ; in Loop: Header=BB2_17 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB2_17
LBB2_20: ; in Loop: Header=BB2_1 Depth=1
b LBB2_22
LBB2_21: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
adrp x9, _fold.buf@PAGE
ldr x0, [x9, _fold.buf@PAGEOFF]
ldursw x2, [x29, #-20]
ldr x3, [x8]
mov x1, #1
bl _fwrite
stur wzr, [x29, #-20]
stur wzr, [x29, #-12]
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_1 Depth=1
mov w0, #10
bl _putchar
ldur w0, [x29, #-12]
ldur w1, [x29, #-8]
bl _newpos
stur w0, [x29, #-12]
b LBB2_23
LBB2_23: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
adrp x9, _fold.buf_max@PAGE
ldr w9, [x9, _fold.buf_max@PAGEOFF]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_27
b LBB2_24
LBB2_24: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _fold.buf_max@PAGE
ldr w9, [x8, _fold.buf_max@PAGEOFF]
add w9, w9, #2048
str w9, [x8, _fold.buf_max@PAGEOFF]
adrp x9, _fold.buf@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x9, _fold.buf@PAGEOFF]
ldrsw x1, [x8, _fold.buf_max@PAGEOFF]
bl _realloc
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9, _fold.buf@PAGEOFF]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_26
b LBB2_25
LBB2_25:
mov w0, #1
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _err
LBB2_26: ; in Loop: Header=BB2_1 Depth=1
b LBB2_27
LBB2_27: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-8]
adrp x9, _fold.buf@PAGE
ldr x9, [x9, _fold.buf@PAGEOFF]
ldursw x10, [x29, #-20]
mov x11, x10
add w11, w11, #1
stur w11, [x29, #-20]
strb w8, [x9, x10]
b LBB2_1
LBB2_28:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_30
b LBB2_29
LBB2_29:
ldr x8, [sp, #32] ; 8-byte Folded Reload
adrp x9, _fold.buf@PAGE
ldr x0, [x9, _fold.buf@PAGEOFF]
ldursw x2, [x29, #-20]
ldr x3, [x8]
mov x1, #1
bl _fwrite
b LBB2_30
LBB2_30:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function newpos
_newpos: ; @newpos
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
adrp x8, _bflag@GOTPAGE
ldr x8, [x8, _bflag@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB3_14
LBB3_2:
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_3
LBB3_3:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #9
cset w8, eq
tbnz w8, #0, LBB3_9
b LBB3_4
LBB3_4:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #13
cset w8, eq
tbnz w8, #0, LBB3_8
b LBB3_10
LBB3_5:
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
ldur w8, [x29, #-4]
subs w8, w8, #1
stur w8, [x29, #-4]
b LBB3_7
LBB3_7:
b LBB3_13
LBB3_8:
stur wzr, [x29, #-4]
b LBB3_13
LBB3_9:
ldur w8, [x29, #-4]
add w8, w8, #8
and w8, w8, #0xfffffff8
stur w8, [x29, #-4]
b LBB3_13
LBB3_10:
ldr w0, [sp, #8]
bl _isprint
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11:
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB3_12
LBB3_12:
b LBB3_13
LBB3_13:
b LBB3_14
LBB3_14:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "0123456789bsw:"
.comm _bflag,4,2 ; @bflag
.comm _sflag,4,2 ; @sflag
l_.str.2: ; @.str.2
.asciz "illegal width value"
l_.str.3: ; @.str.3
.asciz "r"
l_.str.4: ; @.str.4
.asciz "%s"
.zerofill __DATA,__bss,_fold.buf,8,3 ; @fold.buf
.zerofill __DATA,__bss,_fold.buf_max,4,2 ; @fold.buf_max
l_.str.5: ; @.str.5
.asciz "realloc()"
l_.str.6: ; @.str.6
.asciz "usage: fold [-bs] [-w width] [file ...]\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $2, %edi
leaq L_.str(%rip), %rsi
callq _setlocale
movl $-1, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdx
callq _getopt
movl %eax, -20(%rbp)
cmpl $-1, %eax
je LBB0_18
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $-48, %eax
movl %eax, %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
subl $71, %eax
ja LBB0_16
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq _bflag@GOTPCREL(%rip), %rax
movl $1, (%rax)
jmp LBB0_17
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq _sflag@GOTPCREL(%rip), %rax
movl $1, (%rax)
jmp LBB0_17
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, -28(%rbp)
cmpl $0, %eax
jg LBB0_7
## %bb.6:
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %edi
callq _errx
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_17
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, -28(%rbp)
jne LBB0_15
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq _optind@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB0_13
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movsbl 1(%rax), %eax
cmpl -20(%rbp), %eax
jne LBB0_13
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
cmpb $0, 2(%rax)
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rdi
addq $1, %rdi
movq %rdi, -40(%rbp)
callq _atoi
movl %eax, -28(%rbp)
jmp LBB0_14
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq _optind@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
addq $1, %rdi
callq _atoi
movl %eax, -28(%rbp)
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_17
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
callq _usage
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_18:
movq _optind@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movslq %ecx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movq _optind@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -8(%rbp), %eax
subl %ecx, %eax
movl %eax, -8(%rbp)
cmpl $-1, -28(%rbp)
jne LBB0_20
## %bb.19:
movl $80, -28(%rbp)
LBB0_20:
movl $0, -24(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
jne LBB0_22
## %bb.21:
movl -28(%rbp), %edi
callq _fold
jmp LBB0_30
LBB0_22:
jmp LBB0_23
LBB0_23: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB0_29
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.3(%rip), %rsi
callq _freopen
cmpq $0, %rax
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_23 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _warn
movl $1, -24(%rbp)
jmp LBB0_27
LBB0_26: ## in Loop: Header=BB0_23 Depth=1
movl -28(%rbp), %edi
callq _fold
LBB0_27: ## in Loop: Header=BB0_23 Depth=1
jmp LBB0_28
LBB0_28: ## in Loop: Header=BB0_23 Depth=1
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
jmp LBB0_23
LBB0_29:
jmp LBB0_30
LBB0_30:
movl -24(%rbp), %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_3
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_4
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_5
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function usage
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _fold ## -- Begin function fold
.p2align 4, 0x90
_fold: ## @fold
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl $0, -24(%rbp)
movl $0, -20(%rbp)
movl $0, -12(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_9 Depth 2
## Child Loop BB2_17 Depth 2
callq _getchar
movl %eax, -8(%rbp)
cmpl $-1, %eax
je LBB2_28
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
cmpl $10, -8(%rbp)
jne LBB2_6
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
cmpl $0, -20(%rbp)
je LBB2_5
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movq _fold.buf(%rip), %rdi
movslq -20(%rbp), %rdx
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, %esi
callq _fwrite
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl $10, %edi
callq _putchar
movl $0, -20(%rbp)
movl $0, -12(%rbp)
jmp LBB2_1
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %edi
movl -8(%rbp), %esi
callq _newpos
movl %eax, -12(%rbp)
cmpl -4(%rbp), %eax
jle LBB2_23
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
movq _sflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB2_14
## %bb.8: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -16(%rbp)
LBB2_9: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %ecx
addl $-1, %ecx
movl %ecx, -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
jl LBB2_11
## %bb.10: ## in Loop: Header=BB2_9 Depth=2
movq _fold.buf(%rip), %rax
movslq -16(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq _isblank
cmpl $0, %eax
setne %al
xorb $-1, %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB2_11: ## in Loop: Header=BB2_9 Depth=2
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_12
jmp LBB2_13
LBB2_12: ## in Loop: Header=BB2_9 Depth=2
jmp LBB2_9
LBB2_13: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -24(%rbp)
LBB2_14: ## in Loop: Header=BB2_1 Depth=1
movq _sflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB2_21
## %bb.15: ## in Loop: Header=BB2_1 Depth=1
cmpl $-1, -24(%rbp)
je LBB2_21
## %bb.16: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movq _fold.buf(%rip), %rdi
movslq -24(%rbp), %rdx
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, %esi
callq _fwrite
movq _fold.buf(%rip), %rdi
movq _fold.buf(%rip), %rsi
movslq -24(%rbp), %rax
addq %rax, %rsi
movl -20(%rbp), %eax
subl -24(%rbp), %eax
movslq %eax, %rdx
movq $-1, %rcx
callq ___memmove_chk
movl -24(%rbp), %ecx
movl -20(%rbp), %eax
subl %ecx, %eax
movl %eax, -20(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB2_17: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB2_20
## %bb.18: ## in Loop: Header=BB2_17 Depth=2
movl -12(%rbp), %edi
movq _fold.buf(%rip), %rax
movslq -16(%rbp), %rcx
movzbl (%rax,%rcx), %esi
callq _newpos
movl %eax, -12(%rbp)
## %bb.19: ## in Loop: Header=BB2_17 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_17
LBB2_20: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_22
LBB2_21: ## in Loop: Header=BB2_1 Depth=1
movq _fold.buf(%rip), %rdi
movslq -20(%rbp), %rdx
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, %esi
callq _fwrite
movl $0, -20(%rbp)
movl $0, -12(%rbp)
LBB2_22: ## in Loop: Header=BB2_1 Depth=1
movl $10, %edi
callq _putchar
movl -12(%rbp), %edi
movl -8(%rbp), %esi
callq _newpos
movl %eax, -12(%rbp)
LBB2_23: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
cmpl _fold.buf_max(%rip), %eax
jle LBB2_27
## %bb.24: ## in Loop: Header=BB2_1 Depth=1
movl _fold.buf_max(%rip), %eax
addl $2048, %eax ## imm = 0x800
movl %eax, _fold.buf_max(%rip)
movq _fold.buf(%rip), %rdi
movslq _fold.buf_max(%rip), %rsi
callq _realloc
movq %rax, _fold.buf(%rip)
cmpq $0, %rax
jne LBB2_26
## %bb.25:
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %edi
callq _err
LBB2_26: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_27
LBB2_27: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %eax
movb %al, %dl
movq _fold.buf(%rip), %rax
movl -20(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -20(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp LBB2_1
LBB2_28:
cmpl $0, -20(%rbp)
je LBB2_30
## %bb.29:
movq _fold.buf(%rip), %rdi
movslq -20(%rbp), %rdx
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, %esi
callq _fwrite
LBB2_30:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function newpos
_newpos: ## @newpos
.cfi_startproc
## %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)
movq _bflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB3_2
## %bb.1:
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB3_12
LBB3_2:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
subl $8, %eax
je LBB3_3
jmp LBB3_13
LBB3_13:
movl -12(%rbp), %eax ## 4-byte Reload
subl $9, %eax
je LBB3_7
jmp LBB3_14
LBB3_14:
movl -12(%rbp), %eax ## 4-byte Reload
subl $13, %eax
je LBB3_6
jmp LBB3_8
LBB3_3:
cmpl $0, -4(%rbp)
jle LBB3_5
## %bb.4:
movl -4(%rbp), %eax
addl $-1, %eax
movl %eax, -4(%rbp)
LBB3_5:
jmp LBB3_11
LBB3_6:
movl $0, -4(%rbp)
jmp LBB3_11
LBB3_7:
movl -4(%rbp), %eax
addl $8, %eax
andl $-8, %eax
movl %eax, -4(%rbp)
jmp LBB3_11
LBB3_8:
movl -8(%rbp), %edi
callq _isprint
cmpl $0, %eax
je LBB3_10
## %bb.9:
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
LBB3_10:
jmp LBB3_11
LBB3_11:
jmp LBB3_12
LBB3_12:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "0123456789bsw:"
.comm _bflag,4,2 ## @bflag
.comm _sflag,4,2 ## @sflag
L_.str.2: ## @.str.2
.asciz "illegal width value"
L_.str.3: ## @.str.3
.asciz "r"
L_.str.4: ## @.str.4
.asciz "%s"
.zerofill __DATA,__bss,_fold.buf,8,3 ## @fold.buf
.zerofill __DATA,__bss,_fold.buf_max,4,2 ## @fold.buf_max
L_.str.5: ## @.str.5
.asciz "realloc()"
L_.str.6: ## @.str.6
.asciz "usage: fold [-bs] [-w width] [file ...]\n"
.subsections_via_symbols
| the_stack_data/86962.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/48522.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
str w2, [sp, #4]
str wzr, [sp]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
str wzr, [sp]
b LBB0_2
LBB0_2:
ldur w8, [x29, #-4]
ldr w9, [sp]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
bl _foo
b LBB0_4
LBB0_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 _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl $0, -16(%rbp)
cmpl $0, -12(%rbp)
jne LBB0_2
## %bb.1:
movl $0, -16(%rbp)
LBB0_2:
movl -4(%rbp), %eax
cmpl -16(%rbp), %eax
jl LBB0_4
## %bb.3:
callq _foo
LBB0_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/98574442.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libutil_func ; -- Begin function libutil_func
.p2align 2
_libutil_func: ; @libutil_func
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libutil_func ## -- Begin function libutil_func
.p2align 4, 0x90
_libutil_func: ## @libutil_func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/373566.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 x9, sp
add x8, sp, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_7 Depth 2
ldur w8, [x29, #-8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldr w9, [sp, #12]
ldur w10, [x29, #-8]
subs w9, w9, w10
add 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=2
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #16]
b LBB0_7
LBB0_7: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_12:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz " "
l_.str.2: ; @.str.2
.asciz "#"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
movl -8(%rbp), %eax
cmpl -20(%rbp), %eax
jg LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movl -20(%rbp), %ecx
subl -8(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl $1, -16(%rbp)
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_12:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz " "
L_.str.2: ## @.str.2
.asciz "#"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/90766253.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI0_0:
.quad 0x3ffccccccccccccd ; double 1.8
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #27
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #32
scvtf d0, w8
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
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 "Celsius temp is: %.2f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ffccccccccccccd ## double 1.8
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $27, -8(%rbp)
movl -8(%rbp), %eax
subl $32, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str(%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 "Celsius temp is: %.2f\n"
.subsections_via_symbols
| the_stack_data/789568.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _str@PAGE
add x8, x8, _str@PAGEOFF
str wzr, [sp, #12]
ldrsb w0, [x8, #6]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _str ; @str
_str:
.asciz "hello\000\000\000\000"
.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)
movsbl _str+6(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _str ## @str
_str:
.asciz "hello\000\000\000\000"
.subsections_via_symbols
| the_stack_data/231393233.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stb_vorbis_close ; -- Begin function stb_vorbis_close
.p2align 2
_stb_vorbis_close: ; @stb_vorbis_close
.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, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_3
LBB0_2:
ldr x0, [sp, #8]
bl _vorbis_deinit
ldr x0, [sp, #8]
ldr x1, [sp, #8]
bl _setup_free
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_deinit
_vorbis_deinit: ; @vorbis_deinit
.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 LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_4 Depth 2
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #328]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #464]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #5
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
stur wzr, [x29, #-16]
b LBB1_4
LBB1_4: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
ldur x9, [x29, #-8]
ldr x9, [x9, #176]
ldr x10, [sp, #24]
ldrb w10, [x10, #13]
; kill: def $x10 killed $w10
mov x11, #2120
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=2
ldur x0, [x29, #-8]
ldr x8, [sp, #24]
ldr x8, [x8, #16]
ldursw x9, [x29, #-16]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_4 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_4
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur x0, [x29, #-8]
ldr x8, [sp, #24]
ldr x1, [x8, #16]
bl _setup_free
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldur x0, [x29, #-8]
ldr x8, [sp, #24]
ldr x1, [x8, #24]
bl _setup_free
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_10:
ldur x8, [x29, #-8]
ldr x8, [x8, #176]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_19
b LBB1_11
LBB1_11:
stur wzr, [x29, #-12]
b LBB1_12
LBB1_12: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #168]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_18
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_12 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #176]
ldursw x9, [x29, #-12]
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #16]
ldur x0, [x29, #-8]
ldr x8, [sp, #16]
ldr x1, [x8, #8]
bl _setup_free
ldur x0, [x29, #-8]
ldr x8, [sp, #16]
ldr x1, [x8, #32]
bl _setup_free
ldur x0, [x29, #-8]
ldr x8, [sp, #16]
ldr x1, [x8, #40]
bl _setup_free
ldur x0, [x29, #-8]
ldr x8, [sp, #16]
ldr x1, [x8, #2096]
bl _setup_free
ldur x8, [x29, #-8]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [sp, #16]
ldr x8, [x8, #2104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_12 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #2104]
subs x8, x8, #4
str x8, [sp] ; 8-byte Folded Spill
b LBB1_16
LBB1_15: ; in Loop: Header=BB1_12 Depth=1
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_12 Depth=1
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr x1, [sp] ; 8-byte Folded Reload
bl _setup_free
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_12 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_12
LBB1_18:
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x1, [x8, #176]
bl _setup_free
b LBB1_19
LBB1_19:
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x1, [x8, #320]
bl _setup_free
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x1, [x8, #464]
bl _setup_free
stur wzr, [x29, #-12]
b LBB1_20
LBB1_20: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #472]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_23
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_20 Depth=1
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8, #480]
ldursw x9, [x29, #-12]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
ldr x1, [x8, #8]
bl _setup_free
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_20 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_20
LBB1_23:
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x1, [x8, #480]
bl _setup_free
stur wzr, [x29, #-12]
b LBB1_24
LBB1_24: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_27
b LBB1_25
LBB1_25: ; in Loop: Header=BB1_24 Depth=1
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #880
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #1136
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #1272
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_24 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_24
LBB1_27:
stur wzr, [x29, #-12]
b LBB1_28
LBB1_28: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB1_31
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_28 Depth=1
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #1408
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #1424
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #1440
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #1456
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
ldur x0, [x29, #-8]
ldur x8, [x29, #-8]
add x8, x8, #1472
ldursw x9, [x29, #-12]
ldr x1, [x8, x9, lsl #3]
bl _setup_free
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_28 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_28
LBB1_31:
ldur x8, [x29, #-8]
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_33
b LBB1_32
LBB1_32:
ldur x8, [x29, #-8]
ldr x0, [x8, #24]
bl _fclose
b LBB1_33
LBB1_33:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function setup_free
_setup_free: ; @setup_free
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
b LBB2_3
LBB2_2:
ldr x0, [sp]
bl _free
b LBB2_3
LBB2_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_sample_offset ; -- Begin function stb_vorbis_get_sample_offset
.p2align 2
_stb_vorbis_get_sample_offset: ; @stb_vorbis_get_sample_offset
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
ldr w8, [x8, #1404]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp]
ldr w8, [x8, #1400]
str w8, [sp, #12]
b LBB3_3
LBB3_2:
mov w8, #-1
str w8, [sp, #12]
b LBB3_3
LBB3_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_info ; -- Begin function stb_vorbis_get_info
.p2align 2
_stb_vorbis_get_info: ; @stb_vorbis_get_info
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x9, x8
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #4]
str w8, [x9, #4]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [x9]
ldr x8, [sp, #8]
ldr w8, [x8, #8]
str w8, [x9, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #16]
str w8, [x9, #12]
ldr x8, [sp, #8]
ldr w8, [x8, #12]
str w8, [x9, #16]
ldr x8, [sp, #8]
ldr w8, [x8, #164]
asr w8, w8, #1
str w8, [x9, #20]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_error ; -- Begin function stb_vorbis_get_error
.p2align 2
_stb_vorbis_get_error: ; @stb_vorbis_get_error
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #148]
str w8, [sp, #4]
ldr x8, [sp, #8]
str wzr, [x8, #148]
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_flush_pushdata ; -- Begin function stb_vorbis_flush_pushdata
.p2align 2
_stb_vorbis_flush_pushdata: ; @stb_vorbis_flush_pushdata
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
str wzr, [x8, #1264]
ldr x8, [sp, #8]
str wzr, [x8, #1800]
ldr x8, [sp, #8]
str wzr, [x8, #1792]
ldr x8, [sp, #8]
str wzr, [x8, #1404]
ldr x8, [sp, #8]
strb wzr, [x8, #1757]
ldr x8, [sp, #8]
str wzr, [x8, #1796]
ldr x8, [sp, #8]
str wzr, [x8, #1884]
ldr x8, [sp, #8]
str wzr, [x8, #1888]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_decode_frame_pushdata ; -- Begin function stb_vorbis_decode_frame_pushdata
.p2align 2
_stb_vorbis_decode_frame_pushdata: ; @stb_vorbis_decode_frame_pushdata
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
str x3, [sp, #40]
str x4, [sp, #32]
str x5, [sp, #24]
ldur x8, [x29, #-16]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldur x0, [x29, #-16]
mov w1, #2
bl _error
stur w0, [x29, #-4]
b LBB7_31
LBB7_2:
ldur x8, [x29, #-16]
ldr w8, [x8, #1800]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
ldr x8, [sp, #24]
str wzr, [x8]
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldur w2, [x29, #-28]
bl _vorbis_search_for_page_pushdata
stur w0, [x29, #-4]
b LBB7_31
LBB7_4:
ldur x8, [x29, #-24]
ldur x9, [x29, #-16]
str x8, [x9, #40]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
add x8, x8, x9
ldur x9, [x29, #-16]
str x8, [x9, #56]
ldur x8, [x29, #-16]
mov w1, #0
str wzr, [x8, #148]
ldur x0, [x29, #-16]
bl _is_whole_packet_present
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5:
ldr x8, [sp, #24]
str wzr, [x8]
stur wzr, [x29, #-4]
b LBB7_31
LBB7_6:
ldur x0, [x29, #-16]
add x1, sp, #16
add x2, sp, #8
add x3, sp, #12
bl _vorbis_decode_packet
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_24
b LBB7_7
LBB7_7:
ldur x8, [x29, #-16]
ldr w8, [x8, #148]
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB7_14
b LBB7_8
LBB7_8:
ldur x8, [x29, #-16]
str wzr, [x8, #148]
b LBB7_9
LBB7_9: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-16]
bl _get8_packet
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB7_13
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_9 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_12
b LBB7_11
LBB7_11:
b LBB7_13
LBB7_12: ; in Loop: Header=BB7_9 Depth=1
b LBB7_9
LBB7_13:
ldr x8, [sp, #24]
str wzr, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #40]
ldur x9, [x29, #-24]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB7_31
LBB7_14:
ldr w8, [sp, #4]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB7_23
b LBB7_15
LBB7_15:
ldur x8, [x29, #-16]
ldr w8, [x8, #1264]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_22
b LBB7_16
LBB7_16:
ldur x8, [x29, #-16]
str wzr, [x8, #148]
b LBB7_17
LBB7_17: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-16]
bl _get8_packet
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB7_21
b LBB7_18
LBB7_18: ; in Loop: Header=BB7_17 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_20
b LBB7_19
LBB7_19:
b LBB7_21
LBB7_20: ; in Loop: Header=BB7_17 Depth=1
b LBB7_17
LBB7_21:
ldr x8, [sp, #24]
str wzr, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #40]
ldur x9, [x29, #-24]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB7_31
LBB7_22:
b LBB7_23
LBB7_23:
ldur x0, [x29, #-16]
bl _stb_vorbis_flush_pushdata
ldr w8, [sp, #4]
ldur x9, [x29, #-16]
str w8, [x9, #148]
ldr x8, [sp, #24]
str wzr, [x8]
mov w8, #1
stur w8, [x29, #-4]
b LBB7_31
LBB7_24:
ldur x0, [x29, #-16]
ldr w1, [sp, #16]
ldr w2, [sp, #8]
ldr w3, [sp, #12]
bl _vorbis_finish_frame
str w0, [sp, #16]
str wzr, [sp, #20]
b LBB7_25
LBB7_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB7_28
b LBB7_26
LBB7_26: ; in Loop: Header=BB7_25 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #880
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #8]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
add x9, x9, #1008
ldrsw x10, [sp, #20]
str x8, [x9, x10, lsl #3]
b LBB7_27
LBB7_27: ; in Loop: Header=BB7_25 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB7_25
LBB7_28:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_30
b LBB7_29
LBB7_29:
ldur x8, [x29, #-16]
ldr w8, [x8, #4]
ldr x9, [sp, #40]
str w8, [x9]
b LBB7_30
LBB7_30:
ldr w8, [sp, #16]
ldr x9, [sp, #24]
str w8, [x9]
ldur x8, [x29, #-16]
add x8, x8, #1008
ldr x9, [sp, #32]
str x8, [x9]
ldur x8, [x29, #-16]
ldr x8, [x8, #40]
ldur x9, [x29, #-24]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB7_31
LBB7_31:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function error
_error: ; @error
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9, #148]
ldr x8, [sp, #8]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_3
b LBB8_1
LBB8_1:
ldr w8, [sp, #4]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB8_3
b LBB8_2
LBB8_2:
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9, #148]
b LBB8_3
LBB8_3:
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_search_for_page_pushdata
_vorbis_search_for_page_pushdata: ; @vorbis_search_for_page_pushdata
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
str wzr, [sp, #32]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldur x9, [x29, #-16]
ldr w9, [x9, #1800]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mov x10, #20
mul x9, x9, x10
add x8, x8, x9
str wzr, [x8, #12]
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB9_1
LBB9_4:
ldur x8, [x29, #-16]
ldr w8, [x8, #1800]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB9_36
b LBB9_5
LBB9_5:
ldur w8, [x29, #-28]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB9_7
b LBB9_6
LBB9_6:
stur wzr, [x29, #-4]
b LBB9_51
LBB9_7:
ldur w8, [x29, #-28]
subs w8, w8, #3
stur w8, [x29, #-28]
str wzr, [sp, #32]
b LBB9_8
LBB9_8: ; =>This Loop Header: Depth=1
; Child Loop BB9_15 Depth 2
; Child Loop BB9_19 Depth 2
; Child Loop BB9_23 Depth 2
ldr w8, [sp, #32]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_35
b LBB9_9
LBB9_9: ; in Loop: Header=BB9_8 Depth=1
ldur x8, [x29, #-24]
ldrsw x9, [sp, #32]
ldrb w8, [x8, x9]
subs w8, w8, #79
cset w8, ne
tbnz w8, #0, LBB9_33
b LBB9_10
LBB9_10: ; in Loop: Header=BB9_8 Depth=1
ldur x8, [x29, #-24]
ldrsw x9, [sp, #32]
add x0, x8, x9
adrp x1, _ogg_page_header@PAGE
add x1, x1, _ogg_page_header@PAGEOFF
mov x2, #4
bl _memcmp
mov w8, #0
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB9_32
b LBB9_11
LBB9_11: ; in Loop: Header=BB9_8 Depth=1
ldr w8, [sp, #32]
add w8, w8, #26
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_13
b LBB9_12
LBB9_12: ; in Loop: Header=BB9_8 Depth=1
ldr w8, [sp, #32]
add w8, w8, #27
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #26
ldrb w9, [x9, w10, sxtw]
add w8, w8, w9
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB9_14
b LBB9_13
LBB9_13:
ldr w8, [sp, #32]
stur w8, [x29, #-28]
b LBB9_35
LBB9_14: ; in Loop: Header=BB9_8 Depth=1
ldur x8, [x29, #-24]
ldr w9, [sp, #32]
add w9, w9, #26
ldrb w8, [x8, w9, sxtw]
add w8, w8, #27
str w8, [sp, #20]
str wzr, [sp, #24]
b LBB9_15
LBB9_15: ; Parent Loop BB9_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #26
ldrb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_18
b LBB9_16
LBB9_16: ; in Loop: Header=BB9_15 Depth=2
ldur x8, [x29, #-24]
ldr w9, [sp, #32]
add w9, w9, #27
ldr w10, [sp, #24]
add w9, w9, w10
ldrb w9, [x8, w9, sxtw]
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
b LBB9_17
LBB9_17: ; in Loop: Header=BB9_15 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB9_15
LBB9_18: ; in Loop: Header=BB9_8 Depth=1
str wzr, [sp, #16]
str wzr, [sp, #24]
b LBB9_19
LBB9_19: ; Parent Loop BB9_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
subs w8, w8, #22
cset w8, ge
tbnz w8, #0, LBB9_22
b LBB9_20
LBB9_20: ; in Loop: Header=BB9_19 Depth=2
ldr w0, [sp, #16]
ldur x8, [x29, #-24]
ldr w9, [sp, #32]
ldr w10, [sp, #24]
add w9, w9, w10
ldrb w1, [x8, w9, sxtw]
bl _crc32_update
str w0, [sp, #16]
b LBB9_21
LBB9_21: ; in Loop: Header=BB9_19 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB9_19
LBB9_22: ; in Loop: Header=BB9_8 Depth=1
b LBB9_23
LBB9_23: ; Parent Loop BB9_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
subs w8, w8, #26
cset w8, ge
tbnz w8, #0, LBB9_26
b LBB9_24
LBB9_24: ; in Loop: Header=BB9_23 Depth=2
ldr w0, [sp, #16]
mov w1, #0
bl _crc32_update
str w0, [sp, #16]
b LBB9_25
LBB9_25: ; in Loop: Header=BB9_23 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB9_23
LBB9_26: ; in Loop: Header=BB9_8 Depth=1
ldur x10, [x29, #-16]
ldr w8, [x10, #1800]
add w9, w8, #1
str w9, [x10, #1800]
str w8, [sp, #28]
ldr w8, [sp, #20]
ldr w9, [sp, #24]
subs w8, w8, w9
ldur x9, [x29, #-16]
add x9, x9, #1804
ldrsw x10, [sp, #28]
mov x11, #20
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #4]
ldr w8, [sp, #16]
ldur x9, [x29, #-16]
add x9, x9, #1804
ldrsw x10, [sp, #28]
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #8]
ldur x8, [x29, #-24]
ldr w9, [sp, #32]
add w9, w9, #22
ldrb w8, [x8, w9, sxtw]
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #23
ldrb w9, [x9, w10, sxtw]
add w8, w8, w9, lsl #8
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #24
ldrb w9, [x9, w10, sxtw]
add w8, w8, w9, lsl #16
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #25
ldrb w9, [x9, w10, sxtw]
add w8, w8, w9, lsl #24
ldur x9, [x29, #-16]
add x9, x9, #1804
ldrsw x10, [sp, #28]
mul x10, x10, x11
str w8, [x9, x10]
ldur x8, [x29, #-24]
ldr w9, [sp, #32]
add w9, w9, #27
ldur x10, [x29, #-24]
ldr w11, [sp, #32]
add w11, w11, #26
ldrb w10, [x10, w11, sxtw]
add w9, w9, w10
subs w9, w9, #1
ldrb w8, [x8, w9, sxtw]
subs w8, w8, #255
cset w8, ne
tbnz w8, #0, LBB9_28
b LBB9_27
LBB9_27: ; in Loop: Header=BB9_8 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #28]
mov x10, #20
mul x9, x9, x10
add x9, x8, x9
mov w8, #-1
str w8, [x9, #16]
b LBB9_29
LBB9_28: ; in Loop: Header=BB9_8 Depth=1
ldur x8, [x29, #-24]
ldr w9, [sp, #32]
add w9, w9, #6
ldrb w8, [x8, w9, sxtw]
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #7
ldrb w9, [x9, w10, sxtw]
add w8, w8, w9, lsl #8
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #8
ldrb w9, [x9, w10, sxtw]
add w8, w8, w9, lsl #16
ldur x9, [x29, #-24]
ldr w10, [sp, #32]
add w10, w10, #9
ldrb w9, [x9, w10, sxtw]
add w8, w8, w9, lsl #24
ldur x9, [x29, #-16]
add x9, x9, #1804
ldrsw x10, [sp, #28]
mov x11, #20
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #16]
b LBB9_29
LBB9_29: ; in Loop: Header=BB9_8 Depth=1
ldr w8, [sp, #32]
ldr w9, [sp, #24]
add w8, w8, w9
ldur x9, [x29, #-16]
add x9, x9, #1804
ldrsw x10, [sp, #28]
mov x11, #20
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #12]
ldur x8, [x29, #-16]
ldr w8, [x8, #1800]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB9_31
b LBB9_30
LBB9_30:
b LBB9_35
LBB9_31: ; in Loop: Header=BB9_8 Depth=1
b LBB9_32
LBB9_32: ; in Loop: Header=BB9_8 Depth=1
b LBB9_33
LBB9_33: ; in Loop: Header=BB9_8 Depth=1
b LBB9_34
LBB9_34: ; in Loop: Header=BB9_8 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB9_8
LBB9_35:
b LBB9_36
LBB9_36:
str wzr, [sp, #32]
b LBB9_37
LBB9_37: ; =>This Loop Header: Depth=1
; Child Loop BB9_41 Depth 2
ldr w8, [sp, #32]
ldur x9, [x29, #-16]
ldr w9, [x9, #1800]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_50
b LBB9_38
LBB9_38: ; in Loop: Header=BB9_37 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mov x10, #20
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #12]
str w8, [sp, #4]
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
str w8, [sp]
ldr w8, [sp]
ldur w9, [x29, #-28]
ldr w10, [sp, #4]
subs w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB9_40
b LBB9_39
LBB9_39: ; in Loop: Header=BB9_37 Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #4]
subs w8, w8, w9
str w8, [sp]
b LBB9_40
LBB9_40: ; in Loop: Header=BB9_37 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mov x10, #20
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #8]
str w8, [sp, #12]
str wzr, [sp, #8]
b LBB9_41
LBB9_41: ; Parent Loop BB9_37 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldr w9, [sp]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_44
b LBB9_42
LBB9_42: ; in Loop: Header=BB9_41 Depth=2
ldr w0, [sp, #12]
ldur x8, [x29, #-24]
ldr w9, [sp, #4]
ldr w10, [sp, #8]
add w9, w9, w10
ldrb w1, [x8, w9, sxtw]
bl _crc32_update
str w0, [sp, #12]
b LBB9_43
LBB9_43: ; in Loop: Header=BB9_41 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB9_41
LBB9_44: ; in Loop: Header=BB9_37 Depth=1
ldr w11, [sp]
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mov x10, #20
mul x9, x9, x10
add x9, x8, x9
ldr w8, [x9, #4]
subs w8, w8, w11
str w8, [x9, #4]
ldr w8, [sp, #12]
ldur x9, [x29, #-16]
add x9, x9, #1804
ldrsw x11, [sp, #32]
mul x11, x11, x10
add x9, x9, x11
str w8, [x9, #8]
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_48
b LBB9_45
LBB9_45: ; in Loop: Header=BB9_37 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mov x11, #20
mul x9, x9, x11
add x8, x8, x9
ldr w8, [x8, #8]
ldur x9, [x29, #-16]
add x9, x9, #1804
ldrsw x10, [sp, #32]
mul x10, x10, x11
ldr w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB9_47
b LBB9_46
LBB9_46:
ldr w8, [sp, #4]
ldr w9, [sp]
add w8, w8, w9
stur w8, [x29, #-28]
ldur x9, [x29, #-16]
mov w8, #-1
str w8, [x9, #1800]
ldur x9, [x29, #-16]
str wzr, [x9, #1264]
ldur x9, [x29, #-16]
str w8, [x9, #1760]
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mov x10, #20
mul x9, x9, x10
add x8, x8, x9
ldr w8, [x8, #16]
ldur x9, [x29, #-16]
str w8, [x9, #1400]
ldur x8, [x29, #-16]
ldr w8, [x8, #1400]
adds w8, w8, #1
cset w8, ne
and w8, w8, #0x1
ldur x9, [x29, #-16]
str w8, [x9, #1404]
ldur w8, [x29, #-28]
stur w8, [x29, #-4]
b LBB9_51
LBB9_47: ; in Loop: Header=BB9_37 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1804
ldrsw x9, [sp, #32]
mov x10, #20
mul x9, x9, x10
add x9, x8, x9
ldur x8, [x29, #-16]
add x11, x8, #1804
ldur x10, [x29, #-16]
ldr w8, [x10, #1800]
subs w8, w8, #1
str w8, [x10, #1800]
mov w10, #20
smaddl x8, w8, w10, x11
ldr q0, [x8]
str q0, [x9]
ldr w8, [x8, #16]
str w8, [x9, #16]
b LBB9_49
LBB9_48: ; in Loop: Header=BB9_37 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB9_49
LBB9_49: ; in Loop: Header=BB9_37 Depth=1
b LBB9_37
LBB9_50:
ldur w8, [x29, #-28]
stur w8, [x29, #-4]
b LBB9_51
LBB9_51:
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 is_whole_packet_present
_is_whole_packet_present: ; @is_whole_packet_present
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
ldur x8, [x29, #-16]
ldr w8, [x8, #1760]
stur w8, [x29, #-24]
mov w8, #1
stur w8, [x29, #-28]
ldur x8, [x29, #-16]
ldr x8, [x8, #40]
str x8, [sp, #24]
ldur w8, [x29, #-24]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB10_16
b LBB10_1
LBB10_1:
b LBB10_2
LBB10_2: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur x9, [x29, #-16]
ldr w9, [x9, #1496]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_7
b LBB10_3
LBB10_3: ; in Loop: Header=BB10_2 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1500
ldursw x9, [x29, #-24]
ldrb w9, [x8, x9]
ldr x8, [sp, #24]
add x8, x8, w9, sxtw
str x8, [sp, #24]
ldur x8, [x29, #-16]
add x8, x8, #1500
ldursw x9, [x29, #-24]
ldrb w8, [x8, x9]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
b LBB10_7
LBB10_5: ; in Loop: Header=BB10_2 Depth=1
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_2 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB10_2
LBB10_7:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_11
b LBB10_8
LBB10_8:
ldur w8, [x29, #-24]
ldur x9, [x29, #-16]
ldr w9, [x9, #1496]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_10
b LBB10_9
LBB10_9:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_10:
b LBB10_11
LBB10_11:
ldur w8, [x29, #-24]
ldur x9, [x29, #-16]
ldr w9, [x9, #1496]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB10_13
b LBB10_12
LBB10_12:
mov w8, #-1
stur w8, [x29, #-24]
b LBB10_13
LBB10_13:
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB10_15
b LBB10_14
LBB10_14:
ldur x0, [x29, #-16]
mov w1, #1
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_15:
stur wzr, [x29, #-28]
b LBB10_16
LBB10_16:
b LBB10_17
LBB10_17: ; =>This Loop Header: Depth=1
; Child Loop BB10_36 Depth 2
ldur w8, [x29, #-24]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB10_50
b LBB10_18
LBB10_18: ; in Loop: Header=BB10_17 Depth=1
ldr x8, [sp, #24]
add x8, x8, #26
ldur x9, [x29, #-16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB10_20
b LBB10_19
LBB10_19:
ldur x0, [x29, #-16]
mov w1, #1
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_20: ; in Loop: Header=BB10_17 Depth=1
ldr x0, [sp, #24]
adrp x1, _ogg_page_header@PAGE
add x1, x1, _ogg_page_header@PAGEOFF
mov x2, #4
bl _memcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB10_22
b LBB10_21
LBB10_21:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_22: ; in Loop: Header=BB10_17 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_24
b LBB10_23
LBB10_23:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_24: ; in Loop: Header=BB10_17 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_30
b LBB10_25
LBB10_25: ; in Loop: Header=BB10_17 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8, #1264]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_29
b LBB10_26
LBB10_26: ; in Loop: Header=BB10_17 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8, #5]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB10_28
b LBB10_27
LBB10_27:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_28: ; in Loop: Header=BB10_17 Depth=1
b LBB10_29
LBB10_29: ; in Loop: Header=BB10_17 Depth=1
b LBB10_33
LBB10_30: ; in Loop: Header=BB10_17 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8, #5]
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB10_32
b LBB10_31
LBB10_31:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_32: ; in Loop: Header=BB10_17 Depth=1
b LBB10_33
LBB10_33: ; in Loop: Header=BB10_17 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8, #26]
str w8, [sp, #12]
ldr x8, [sp, #24]
add x8, x8, #27
str x8, [sp, #16]
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
add x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB10_35
b LBB10_34
LBB10_34:
ldur x0, [x29, #-16]
mov w1, #1
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_35: ; in Loop: Header=BB10_17 Depth=1
stur wzr, [x29, #-24]
b LBB10_36
LBB10_36: ; Parent Loop BB10_17 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-24]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_41
b LBB10_37
LBB10_37: ; in Loop: Header=BB10_36 Depth=2
ldr x8, [sp, #16]
ldursw x9, [x29, #-24]
ldrb w9, [x8, x9]
ldr x8, [sp, #24]
add x8, x8, w9, sxtw
str x8, [sp, #24]
ldr x8, [sp, #16]
ldursw x9, [x29, #-24]
ldrb w8, [x8, x9]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB10_39
b LBB10_38
LBB10_38: ; in Loop: Header=BB10_17 Depth=1
b LBB10_41
LBB10_39: ; in Loop: Header=BB10_36 Depth=2
b LBB10_40
LBB10_40: ; in Loop: Header=BB10_36 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB10_36
LBB10_41: ; in Loop: Header=BB10_17 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB10_45
b LBB10_42
LBB10_42: ; in Loop: Header=BB10_17 Depth=1
ldur w8, [x29, #-24]
ldr w9, [sp, #12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_44
b LBB10_43
LBB10_43:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_44: ; in Loop: Header=BB10_17 Depth=1
b LBB10_45
LBB10_45: ; in Loop: Header=BB10_17 Depth=1
ldur w8, [x29, #-24]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB10_47
b LBB10_46
LBB10_46: ; in Loop: Header=BB10_17 Depth=1
mov w8, #-1
stur w8, [x29, #-24]
b LBB10_47
LBB10_47: ; in Loop: Header=BB10_17 Depth=1
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB10_49
b LBB10_48
LBB10_48:
ldur x0, [x29, #-16]
mov w1, #1
bl _error
stur w0, [x29, #-4]
b LBB10_51
LBB10_49: ; in Loop: Header=BB10_17 Depth=1
stur wzr, [x29, #-28]
b LBB10_17
LBB10_50:
mov w8, #1
stur w8, [x29, #-4]
b LBB10_51
LBB10_51:
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 vorbis_decode_packet
_vorbis_decode_packet: ; @vorbis_decode_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
str x3, [sp, #24]
ldur x0, [x29, #-16]
ldr x1, [sp, #32]
ldr x3, [sp, #24]
add x2, sp, #16
add x4, sp, #12
add x5, sp, #20
bl _vorbis_decode_initial
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
stur wzr, [x29, #-4]
b LBB11_3
LBB11_2:
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldur x8, [x29, #-16]
add x8, x8, #492
ldrsw x9, [sp, #20]
mov x10, #6
mul x9, x9, x10
add x2, x8, x9
ldr x8, [sp, #32]
ldr w3, [x8]
ldr w4, [sp, #16]
ldr x8, [sp, #24]
ldr w5, [x8]
ldr w6, [sp, #12]
ldr x7, [sp, #32]
bl _vorbis_decode_packet_rest
stur w0, [x29, #-4]
b LBB11_3
LBB11_3:
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 get8_packet
_get8_packet: ; @get8_packet
.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 _get8_packet_raw
str w0, [sp, #4]
ldr x8, [sp, #8]
str wzr, [x8, #1776]
ldr w0, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_finish_frame
_vorbis_finish_frame: ; @vorbis_finish_frame
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur w2, [x29, #-24]
stur w3, [x29, #-28]
ldur x8, [x29, #-16]
ldr w8, [x8, #1264]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB13_10
b LBB13_1
LBB13_1:
ldur x8, [x29, #-16]
ldr w8, [x8, #1264]
str w8, [sp, #12]
ldur x0, [x29, #-16]
ldr w1, [sp, #12]
bl _get_window
str x0, [sp]
str wzr, [sp, #20]
b LBB13_2
LBB13_2: ; =>This Loop Header: Depth=1
; Child Loop BB13_4 Depth 2
ldr w8, [sp, #20]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_9
b LBB13_3
LBB13_3: ; in Loop: Header=BB13_2 Depth=1
str wzr, [sp, #16]
b LBB13_4
LBB13_4: ; Parent Loop BB13_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_7
b LBB13_5
LBB13_5: ; in Loop: Header=BB13_4 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #880
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldur w9, [x29, #-24]
ldr w10, [sp, #16]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr x8, [sp]
ldrsw x9, [sp, #16]
ldr s1, [x8, x9, lsl #2]
ldur x8, [x29, #-16]
add x8, x8, #1136
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #16]
ldr s2, [x8, x9, lsl #2]
ldr x8, [sp]
ldr w9, [sp, #12]
subs w9, w9, #1
ldr w10, [sp, #16]
subs w9, w9, w10
ldr s3, [x8, w9, sxtw #2]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldur x8, [x29, #-16]
add x8, x8, #880
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldur w9, [x29, #-24]
ldr w10, [sp, #16]
add w9, w9, w10
str s0, [x8, w9, sxtw #2]
b LBB13_6
LBB13_6: ; in Loop: Header=BB13_4 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB13_4
LBB13_7: ; in Loop: Header=BB13_2 Depth=1
b LBB13_8
LBB13_8: ; in Loop: Header=BB13_2 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB13_2
LBB13_9:
b LBB13_10
LBB13_10:
ldur x8, [x29, #-16]
ldr w8, [x8, #1264]
str w8, [sp, #32]
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
ldur x9, [x29, #-16]
str w8, [x9, #1264]
str wzr, [sp, #28]
b LBB13_11
LBB13_11: ; =>This Loop Header: Depth=1
; Child Loop BB13_13 Depth 2
ldr w8, [sp, #28]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_18
b LBB13_12
LBB13_12: ; in Loop: Header=BB13_11 Depth=1
str wzr, [sp, #24]
b LBB13_13
LBB13_13: ; Parent Loop BB13_11 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-28]
ldr w9, [sp, #24]
add w8, w8, w9
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_16
b LBB13_14
LBB13_14: ; in Loop: Header=BB13_13 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #880
ldrsw x9, [sp, #28]
ldr x8, [x8, x9, lsl #3]
ldur w9, [x29, #-28]
ldr w10, [sp, #24]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-16]
add x8, x8, #1136
ldrsw x9, [sp, #28]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #24]
str s0, [x8, x9, lsl #2]
b LBB13_15
LBB13_15: ; in Loop: Header=BB13_13 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB13_13
LBB13_16: ; in Loop: Header=BB13_11 Depth=1
b LBB13_17
LBB13_17: ; in Loop: Header=BB13_11 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB13_11
LBB13_18:
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB13_20
b LBB13_19
LBB13_19:
stur wzr, [x29, #-4]
b LBB13_23
LBB13_20:
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_22
b LBB13_21
LBB13_21:
ldur w8, [x29, #-20]
stur w8, [x29, #-28]
b LBB13_22
LBB13_22:
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
subs w10, w8, w9
ldur x9, [x29, #-16]
ldr w8, [x9, #1796]
add w8, w8, w10
str w8, [x9, #1796]
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB13_23
LBB13_23:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_open_pushdata ; -- Begin function stb_vorbis_open_pushdata
.p2align 2
_stb_vorbis_open_pushdata: ; @stb_vorbis_open_pushdata
.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, #1984
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 w1, [sp, #60]
str x2, [sp, #48]
str x3, [sp, #40]
str x4, [sp, #32]
ldr x1, [sp, #32]
add x0, sp, #80
str x0, [sp, #16] ; 8-byte Folded Spill
bl _vorbis_init
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #64]
str x8, [sp, #120]
ldr x8, [sp, #64]
ldrsw x9, [sp, #60]
add x8, x8, x9
str x8, [sp, #136]
mov w8, #1
strb w8, [sp, #148]
bl _start_decoder
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB14_5
b LBB14_1
LBB14_1:
ldr w8, [sp, #224]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB14_3
b LBB14_2
LBB14_2:
ldr x9, [sp, #40]
mov w8, #1
str w8, [x9]
b LBB14_4
LBB14_3:
ldr w8, [sp, #228]
ldr x9, [sp, #40]
str w8, [x9]
b LBB14_4
LBB14_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #72]
b LBB14_8
LBB14_5:
add x0, sp, #80
bl _vorbis_alloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_7
b LBB14_6
LBB14_6:
ldr x0, [sp, #24]
add x1, sp, #80
mov x2, #1896
bl _memcpy
ldr x8, [sp, #24]
ldr x8, [x8, #40]
ldr x9, [sp, #64]
subs x8, x8, x9
ldr x9, [sp, #48]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
ldr x8, [sp, #40]
str wzr, [x8]
ldr x8, [sp, #24]
str x8, [sp, #72]
b LBB14_8
LBB14_7:
add x0, sp, #80
bl _vorbis_deinit
; kill: def $x8 killed $xzr
str xzr, [sp, #72]
b LBB14_8
LBB14_8:
ldr x8, [sp, #72]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB14_10
b LBB14_9
LBB14_9:
bl ___stack_chk_fail
LBB14_10:
ldr x0, [sp, #8] ; 8-byte Folded Reload
add sp, sp, #1984
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_init
_vorbis_init: ; @vorbis_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]
str x1, [sp]
ldr x0, [sp, #8]
mov w1, #0
mov x2, #1896
mov x3, #-1
bl ___memset_chk
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
ldr x8, [sp, #8]
ldr x9, [sp]
ldr q0, [x9]
stur q0, [x8, #120]
ldr x8, [sp, #8]
ldr w8, [x8, #128]
add w8, w8, #3
and w8, w8, #0xfffffffc
ldr x9, [sp, #8]
str w8, [x9, #128]
ldr x8, [sp, #8]
ldr w8, [x8, #128]
ldr x9, [sp, #8]
str w8, [x9, #140]
b LBB15_2
LBB15_2:
ldr x8, [sp, #8]
str wzr, [x8, #144]
ldr x8, [sp, #8]
str wzr, [x8, #148]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #40]
ldr x8, [sp, #8]
str xzr, [x8, #176]
ldr x9, [sp, #8]
mov w8, #-1
str w8, [x9, #1800]
ldr x8, [sp, #8]
str wzr, [x8, #36]
ldr x8, [sp, #8]
str xzr, [x8, #24]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function start_decoder
_start_decoder: ; @start_decoder
.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, #1472
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #384]
str wzr, [sp, #356]
str wzr, [sp, #352]
ldr x0, [sp, #384]
bl _start_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
str wzr, [sp, #396]
b LBB16_365
LBB16_2:
ldr x8, [sp, #384]
ldrb w8, [x8, #1755]
ands w8, w8, #0x2
cset w8, ne
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_3:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_4:
ldr x8, [sp, #384]
ldrb w8, [x8, #1755]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB16_6
b LBB16_5
LBB16_5:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_6:
ldr x8, [sp, #384]
ldrb w8, [x8, #1755]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB16_8
b LBB16_7
LBB16_7:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_8:
ldr x8, [sp, #384]
ldr w8, [x8, #1496]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB16_10
b LBB16_9
LBB16_9:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_10:
ldr x8, [sp, #384]
ldrb w8, [x8, #1500]
subs w8, w8, #30
cset w8, eq
tbnz w8, #0, LBB16_12
b LBB16_11
LBB16_11:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_12:
ldr x0, [sp, #384]
bl _get8
and w8, w0, #0xff
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB16_14
b LBB16_13
LBB16_13:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_14:
ldr x0, [sp, #384]
add x1, sp, #378
mov w2, #6
bl _getn
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_16
b LBB16_15
LBB16_15:
ldr x0, [sp, #384]
mov w1, #10
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_16:
add x0, sp, #378
bl _vorbis_validate
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_18
b LBB16_17
LBB16_17:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_18:
ldr x0, [sp, #384]
bl _get32
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB16_20
b LBB16_19
LBB16_19:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_20:
ldr x0, [sp, #384]
bl _get8
and w8, w0, #0xff
ldr x9, [sp, #384]
str w8, [x9, #4]
ldr x8, [sp, #384]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB16_22
b LBB16_21
LBB16_21:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_22:
ldr x8, [sp, #384]
ldr w8, [x8, #4]
subs w8, w8, #16
cset w8, le
tbnz w8, #0, LBB16_24
b LBB16_23
LBB16_23:
ldr x0, [sp, #384]
mov w1, #5
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_24:
ldr x0, [sp, #384]
bl _get32
ldr x8, [sp, #384]
str w0, [x8]
ldr x8, [sp, #384]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB16_26
b LBB16_25
LBB16_25:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_26:
ldr x0, [sp, #384]
bl _get32
ldr x0, [sp, #384]
bl _get32
ldr x0, [sp, #384]
bl _get32
ldr x0, [sp, #384]
bl _get8
strb w0, [sp, #377]
ldrb w8, [sp, #377]
and w8, w8, #0xf
str w8, [sp, #348]
ldrb w8, [sp, #377]
asr w8, w8, #4
str w8, [sp, #344]
ldr w9, [sp, #348]
mov w8, #1
lsl w9, w8, w9
ldr x10, [sp, #384]
str w9, [x10, #160]
ldr w9, [sp, #344]
lsl w8, w8, w9
ldr x9, [sp, #384]
str w8, [x9, #164]
ldr w8, [sp, #348]
subs w8, w8, #6
cset w8, lt
tbnz w8, #0, LBB16_28
b LBB16_27
LBB16_27:
ldr w8, [sp, #348]
subs w8, w8, #13
cset w8, le
tbnz w8, #0, LBB16_29
b LBB16_28
LBB16_28:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_29:
ldr w8, [sp, #344]
subs w8, w8, #6
cset w8, lt
tbnz w8, #0, LBB16_31
b LBB16_30
LBB16_30:
ldr w8, [sp, #344]
subs w8, w8, #13
cset w8, le
tbnz w8, #0, LBB16_32
b LBB16_31
LBB16_31:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_32:
ldr w8, [sp, #348]
ldr w9, [sp, #344]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_34
b LBB16_33
LBB16_33:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_34:
ldr x0, [sp, #384]
bl _get8
strb w0, [sp, #377]
ldrb w8, [sp, #377]
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB16_36
b LBB16_35
LBB16_35:
ldr x0, [sp, #384]
mov w1, #34
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_36:
ldr x0, [sp, #384]
bl _start_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_38
b LBB16_37
LBB16_37:
str wzr, [sp, #396]
b LBB16_365
LBB16_38:
ldr x0, [sp, #384]
bl _start_packet
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_40
b LBB16_39
LBB16_39:
str wzr, [sp, #396]
b LBB16_365
LBB16_40:
b LBB16_41
LBB16_41: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #384]
bl _next_segment
str w0, [sp, #372]
ldr x0, [sp, #384]
ldr w1, [sp, #372]
bl _skip
ldr x8, [sp, #384]
strb wzr, [x8, #1756]
b LBB16_42
LBB16_42: ; in Loop: Header=BB16_41 Depth=1
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB16_41
b LBB16_43
LBB16_43:
ldr x0, [sp, #384]
bl _start_packet
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_45
b LBB16_44
LBB16_44:
str wzr, [sp, #396]
b LBB16_365
LBB16_45:
ldr x8, [sp, #384]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_51
b LBB16_46
LBB16_46:
ldr x0, [sp, #384]
mov w1, #1
bl _is_whole_packet_present
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_50
b LBB16_47
LBB16_47:
ldr x8, [sp, #384]
ldr w8, [x8, #148]
subs w8, w8, #21
cset w8, ne
tbnz w8, #0, LBB16_49
b LBB16_48
LBB16_48:
ldr x9, [sp, #384]
mov w8, #20
str w8, [x9, #148]
b LBB16_49
LBB16_49:
str wzr, [sp, #396]
b LBB16_365
LBB16_50:
b LBB16_51
LBB16_51:
bl _crc32_init
ldr x0, [sp, #384]
bl _get8_packet
subs w8, w0, #5
cset w8, eq
tbnz w8, #0, LBB16_53
b LBB16_52
LBB16_52:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_53:
str wzr, [sp, #368]
b LBB16_54
LBB16_54: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #368]
subs w8, w8, #6
cset w8, ge
tbnz w8, #0, LBB16_57
b LBB16_55
LBB16_55: ; in Loop: Header=BB16_54 Depth=1
ldr x0, [sp, #384]
bl _get8_packet
ldrsw x9, [sp, #368]
add x8, sp, #378
strb w0, [x8, x9]
b LBB16_56
LBB16_56: ; in Loop: Header=BB16_54 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_54
LBB16_57:
add x0, sp, #378
bl _vorbis_validate
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_59
b LBB16_58
LBB16_58:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_59:
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #384]
str w8, [x9, #168]
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldrsw x9, [x8, #168]
mov x8, #2120
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #384]
str x0, [x8, #176]
ldr x8, [sp, #384]
ldr x8, [x8, #176]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_61
b LBB16_60
LBB16_60:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_61:
ldr x8, [sp, #384]
ldr x0, [x8, #176]
ldr x8, [sp, #384]
ldrsw x9, [x8, #168]
mov x8, #2120
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
str wzr, [sp, #368]
b LBB16_62
LBB16_62: ; =>This Loop Header: Depth=1
; Child Loop BB16_85 Depth 2
; Child Loop BB16_79 Depth 2
; Child Loop BB16_103 Depth 2
; Child Loop BB16_144 Depth 2
; Child Loop BB16_173 Depth 2
; Child Loop BB16_161 Depth 2
; Child Loop BB16_166 Depth 3
; Child Loop BB16_181 Depth 2
ldr w8, [sp, #368]
ldr x9, [sp, #384]
ldr w9, [x9, #168]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_188
b LBB16_63
LBB16_63: ; in Loop: Header=BB16_62 Depth=1
str wzr, [sp, #324]
ldr x8, [sp, #384]
ldr x8, [x8, #176]
ldrsw x9, [sp, #368]
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #304]
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
strb w0, [sp, #377]
ldrb w8, [sp, #377]
subs w8, w8, #66
cset w8, eq
tbnz w8, #0, LBB16_65
b LBB16_64
LBB16_64:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_65: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
strb w0, [sp, #377]
ldrb w8, [sp, #377]
subs w8, w8, #67
cset w8, eq
tbnz w8, #0, LBB16_67
b LBB16_66
LBB16_66:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_67: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
strb w0, [sp, #377]
ldrb w8, [sp, #377]
subs w8, w8, #86
cset w8, eq
tbnz w8, #0, LBB16_69
b LBB16_68
LBB16_68:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_69: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
mov w1, #8
str w1, [sp, #124] ; 4-byte Folded Spill
bl _get_bits
ldr w1, [sp, #124] ; 4-byte Folded Reload
strb w0, [sp, #377]
ldr x0, [sp, #384]
bl _get_bits
ldr w1, [sp, #124] ; 4-byte Folded Reload
ldrb w8, [sp, #377]
add w8, w8, w0, lsl #8
ldr x9, [sp, #304]
str w8, [x9]
ldr x0, [sp, #384]
bl _get_bits
ldr w1, [sp, #124] ; 4-byte Folded Reload
strb w0, [sp, #377]
ldr x0, [sp, #384]
bl _get_bits
ldr w1, [sp, #124] ; 4-byte Folded Reload
strb w0, [sp, #376]
ldr x0, [sp, #384]
bl _get_bits
ldrb w8, [sp, #376]
lsl w8, w8, #8
add w8, w8, w0, lsl #16
ldrb w9, [sp, #377]
add w8, w8, w9
ldr x9, [sp, #304]
str w8, [x9, #4]
ldr x0, [sp, #384]
mov w1, #1
bl _get_bits
str w0, [sp, #332]
ldr w8, [sp, #332]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_71
b LBB16_70
LBB16_70: ; in Loop: Header=BB16_62 Depth=1
mov w8, #0
str w8, [sp, #120] ; 4-byte Folded Spill
b LBB16_72
LBB16_71: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
mov w1, #1
bl _get_bits
str w0, [sp, #120] ; 4-byte Folded Spill
b LBB16_72
LBB16_72: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #120] ; 4-byte Folded Reload
ldr x9, [sp, #304]
strb w8, [x9, #27]
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_74
b LBB16_73
LBB16_73: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldr w1, [x8, #4]
bl _setup_temp_malloc
str x0, [sp, #312]
b LBB16_75
LBB16_74: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldr w1, [x8, #4]
bl _setup_malloc
ldr x9, [sp, #304]
mov x8, x0
str x8, [x9, #8]
str x0, [sp, #312]
b LBB16_75
LBB16_75: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #312]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_77
b LBB16_76
LBB16_76:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_77: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #332]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_84
b LBB16_78
LBB16_78: ; in Loop: Header=BB16_62 Depth=1
str wzr, [sp, #300]
ldr x0, [sp, #384]
mov w1, #5
bl _get_bits
add w8, w0, #1
str w8, [sp, #296]
b LBB16_79
LBB16_79: ; Parent Loop BB16_62 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #300]
ldr x9, [sp, #304]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_83
b LBB16_80
LBB16_80: ; in Loop: Header=BB16_79 Depth=2
ldr x8, [sp, #304]
ldr w8, [x8, #4]
ldr w9, [sp, #300]
subs w8, w8, w9
str w8, [sp, #292]
ldr x8, [sp, #384]
str x8, [sp, #112] ; 8-byte Folded Spill
ldr w0, [sp, #292]
bl _ilog
mov x1, x0
ldr x0, [sp, #112] ; 8-byte Folded Reload
bl _get_bits
str w0, [sp, #288]
ldr w8, [sp, #300]
ldr w9, [sp, #288]
add w8, w8, w9
ldr x9, [sp, #304]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_82
b LBB16_81
LBB16_81:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_82: ; in Loop: Header=BB16_79 Depth=2
ldr x8, [sp, #312]
ldrsw x9, [sp, #300]
add x0, x8, x9
ldr w1, [sp, #296]
ldrsw x2, [sp, #288]
mov x3, #-1
bl ___memset_chk
ldr w9, [sp, #288]
ldr w8, [sp, #300]
add w8, w8, w9
str w8, [sp, #300]
ldr w8, [sp, #296]
add w8, w8, #1
str w8, [sp, #296]
b LBB16_79
LBB16_83: ; in Loop: Header=BB16_62 Depth=1
b LBB16_95
LBB16_84: ; in Loop: Header=BB16_62 Depth=1
str wzr, [sp, #364]
b LBB16_85
LBB16_85: ; Parent Loop BB16_62 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #304]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_94
b LBB16_86
LBB16_86: ; in Loop: Header=BB16_85 Depth=2
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_88
b LBB16_87
LBB16_87: ; in Loop: Header=BB16_85 Depth=2
ldr x0, [sp, #384]
mov w1, #1
bl _get_bits
str w0, [sp, #108] ; 4-byte Folded Spill
b LBB16_89
LBB16_88: ; in Loop: Header=BB16_85 Depth=2
mov w8, #1
str w8, [sp, #108] ; 4-byte Folded Spill
b LBB16_89
LBB16_89: ; in Loop: Header=BB16_85 Depth=2
ldr w8, [sp, #108] ; 4-byte Folded Reload
str w8, [sp, #284]
ldr w8, [sp, #284]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_91
b LBB16_90
LBB16_90: ; in Loop: Header=BB16_85 Depth=2
ldr x0, [sp, #384]
mov w1, #5
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #312]
ldrsw x10, [sp, #364]
strb w8, [x9, x10]
ldr w8, [sp, #324]
add w8, w8, #1
str w8, [sp, #324]
b LBB16_92
LBB16_91: ; in Loop: Header=BB16_85 Depth=2
ldr x8, [sp, #312]
ldrsw x9, [sp, #364]
add x9, x8, x9
mov w8, #255
strb w8, [x9]
b LBB16_92
LBB16_92: ; in Loop: Header=BB16_85 Depth=2
b LBB16_93
LBB16_93: ; in Loop: Header=BB16_85 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_85
LBB16_94: ; in Loop: Header=BB16_62 Depth=1
b LBB16_95
LBB16_95: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_100
b LBB16_96
LBB16_96: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #324]
ldr x9, [sp, #304]
ldr w9, [x9, #4]
subs w8, w8, w9, asr #2
cset w8, lt
tbnz w8, #0, LBB16_100
b LBB16_97
LBB16_97: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #4]
ldr x9, [sp, #384]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_99
b LBB16_98
LBB16_98: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #4]
ldr x9, [sp, #384]
str w8, [x9, #16]
b LBB16_99
LBB16_99: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldr w1, [x8, #4]
bl _setup_malloc
ldr x8, [sp, #304]
str x0, [x8, #8]
ldr x8, [sp, #304]
ldr x0, [x8, #8]
ldr x1, [sp, #312]
ldr x8, [sp, #304]
ldrsw x2, [x8, #4]
mov x3, #-1
bl ___memcpy_chk
ldr x0, [sp, #384]
ldr x1, [sp, #312]
ldr x8, [sp, #304]
ldr w2, [x8, #4]
bl _setup_temp_free
ldr x8, [sp, #304]
ldr x8, [x8, #8]
str x8, [sp, #312]
ldr x8, [sp, #304]
strb wzr, [x8, #27]
b LBB16_100
LBB16_100: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_102
b LBB16_101
LBB16_101: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #324]
str w8, [sp, #328]
b LBB16_110
LBB16_102: ; in Loop: Header=BB16_62 Depth=1
str wzr, [sp, #328]
str wzr, [sp, #364]
b LBB16_103
LBB16_103: ; Parent Loop BB16_62 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #304]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_109
b LBB16_104
LBB16_104: ; in Loop: Header=BB16_103 Depth=2
ldr x8, [sp, #312]
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
subs w8, w8, #10
cset w8, le
tbnz w8, #0, LBB16_107
b LBB16_105
LBB16_105: ; in Loop: Header=BB16_103 Depth=2
ldr x8, [sp, #312]
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
subs w8, w8, #255
cset w8, eq
tbnz w8, #0, LBB16_107
b LBB16_106
LBB16_106: ; in Loop: Header=BB16_103 Depth=2
ldr w8, [sp, #328]
add w8, w8, #1
str w8, [sp, #328]
b LBB16_107
LBB16_107: ; in Loop: Header=BB16_103 Depth=2
b LBB16_108
LBB16_108: ; in Loop: Header=BB16_103 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_103
LBB16_109: ; in Loop: Header=BB16_62 Depth=1
b LBB16_110
LBB16_110: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #328]
ldr x9, [sp, #304]
str w8, [x9, #2112]
; kill: def $x8 killed $xzr
str xzr, [sp, #336]
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB16_114
b LBB16_111
LBB16_111: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldrsw x9, [x8, #4]
mov x8, #4
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #304]
str x0, [x8, #40]
ldr x8, [sp, #304]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_113
b LBB16_112
LBB16_112:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_113: ; in Loop: Header=BB16_62 Depth=1
b LBB16_125
LBB16_114: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #2112]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_122
b LBB16_115
LBB16_115: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldr w1, [x8, #2112]
bl _setup_malloc
ldr x8, [sp, #304]
str x0, [x8, #8]
ldr x8, [sp, #304]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_117
b LBB16_116
LBB16_116:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_117: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldrsw x9, [x8, #2112]
mov x8, #4
mul x8, x8, x9
mov x1, x8
bl _setup_temp_malloc
ldr x8, [sp, #304]
str x0, [x8, #40]
ldr x8, [sp, #304]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_119
b LBB16_118
LBB16_118:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_119: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldrsw x9, [x8, #2112]
mov x8, #4
mul x8, x8, x9
mov x1, x8
bl _setup_temp_malloc
str x0, [sp, #336]
ldr x8, [sp, #336]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_121
b LBB16_120
LBB16_120:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_121: ; in Loop: Header=BB16_62 Depth=1
b LBB16_122
LBB16_122: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrsw x8, [x8, #4]
ldr x9, [sp, #304]
ldrsw x10, [x9, #2112]
mov x9, #8
mul x9, x9, x10
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #280]
ldr w8, [sp, #280]
ldr x9, [sp, #384]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB16_124
b LBB16_123
LBB16_123: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #280]
ldr x9, [sp, #384]
str w8, [x9, #16]
b LBB16_124
LBB16_124: ; in Loop: Header=BB16_62 Depth=1
b LBB16_125
LBB16_125: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #304]
ldr x1, [sp, #312]
ldr x8, [sp, #304]
ldr w2, [x8, #4]
ldr x3, [sp, #336]
bl _compute_codewords
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_129
b LBB16_126
LBB16_126:
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_128
b LBB16_127
LBB16_127:
ldr x0, [sp, #384]
ldr x1, [sp, #336]
mov w2, #0
bl _setup_temp_free
b LBB16_128
LBB16_128:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_129: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #2112]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_133
b LBB16_130
LBB16_130: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldr w8, [x8, #2112]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #4
str x8, [sp, #96] ; 8-byte Folded Spill
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #304]
str x0, [x9, #2096]
ldr x0, [sp, #384]
ldr x9, [sp, #304]
ldr w9, [x9, #2112]
add w10, w9, #1
; implicit-def: $x9
mov x9, x10
sxtw x9, w9
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #304]
str x0, [x8, #2104]
ldr x8, [sp, #304]
ldr x8, [x8, #2104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_132
b LBB16_131
LBB16_131: ; in Loop: Header=BB16_62 Depth=1
ldr x9, [sp, #304]
ldr x8, [x9, #2104]
add x8, x8, #4
str x8, [x9, #2104]
ldr x8, [sp, #304]
ldr x9, [x8, #2104]
mov w8, #-1
stur w8, [x9, #-4]
b LBB16_132
LBB16_132: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #304]
ldr x1, [sp, #312]
ldr x2, [sp, #336]
bl _compute_sorted_huffman
b LBB16_133
LBB16_133: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_135
b LBB16_134
LBB16_134: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x1, [sp, #336]
ldr x8, [sp, #304]
ldrsw x9, [x8, #2112]
mov x8, #4
str x8, [sp, #88] ; 8-byte Folded Spill
mul x8, x8, x9
mov x2, x8
bl _setup_temp_free
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x0, [sp, #384]
ldr x9, [sp, #304]
ldr x1, [x9, #40]
ldr x9, [sp, #304]
ldrsw x9, [x9, #2112]
mul x8, x8, x9
mov x2, x8
bl _setup_temp_free
ldr x0, [sp, #384]
ldr x1, [sp, #312]
ldr x8, [sp, #304]
ldr w2, [x8, #4]
bl _setup_temp_free
ldr x8, [sp, #304]
; kill: def $x9 killed $xzr
str xzr, [x8, #40]
b LBB16_135
LBB16_135: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #304]
bl _compute_accelerated_huffman
ldr x0, [sp, #384]
mov w1, #4
bl _get_bits
ldr x8, [sp, #304]
strb w0, [x8, #25]
ldr x8, [sp, #304]
ldrb w8, [x8, #25]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB16_137
b LBB16_136
LBB16_136:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_137: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #25]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB16_186
b LBB16_138
LBB16_138: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
mov w1, #32
str w1, [sp, #84] ; 4-byte Folded Spill
bl _get_bits
bl _float32_unpack
ldr w1, [sp, #84] ; 4-byte Folded Reload
ldr x8, [sp, #304]
str s0, [x8, #16]
ldr x0, [sp, #384]
bl _get_bits
bl _float32_unpack
ldr x8, [sp, #304]
str s0, [x8, #20]
ldr x0, [sp, #384]
mov w1, #4
bl _get_bits
mov w1, #1
add w8, w0, #1
ldr x9, [sp, #304]
strb w8, [x9, #24]
ldr x0, [sp, #384]
bl _get_bits
ldr x8, [sp, #304]
strb w0, [x8, #26]
ldr x8, [sp, #304]
ldrb w8, [x8, #25]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB16_140
b LBB16_139
LBB16_139: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w0, [x8, #4]
ldr x8, [sp, #304]
ldr w1, [x8]
bl _lookup1_values
ldr x8, [sp, #304]
str w0, [x8, #28]
b LBB16_141
LBB16_140: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #4]
ldr x9, [sp, #304]
ldr w9, [x9]
mul w8, w8, w9
ldr x9, [sp, #304]
str w8, [x9, #28]
b LBB16_141
LBB16_141: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldr w8, [x8, #28]
mov x9, x8
mov x8, #2
mul x8, x8, x9
mov x1, x8
bl _setup_temp_malloc
str x0, [sp, #272]
ldr x8, [sp, #272]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_143
b LBB16_142
LBB16_142:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_143: ; in Loop: Header=BB16_62 Depth=1
str wzr, [sp, #364]
b LBB16_144
LBB16_144: ; Parent Loop BB16_62 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #304]
ldr w9, [x9, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_149
b LBB16_145
LBB16_145: ; in Loop: Header=BB16_144 Depth=2
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldrb w1, [x8, #24]
bl _get_bits
str w0, [sp, #268]
ldr w8, [sp, #268]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB16_147
b LBB16_146
LBB16_146:
ldr x0, [sp, #384]
ldr x1, [sp, #272]
ldr x8, [sp, #304]
ldr w8, [x8, #28]
mov x9, x8
mov x8, #2
mul x8, x8, x9
mov x2, x8
bl _setup_temp_free
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_147: ; in Loop: Header=BB16_144 Depth=2
ldr w8, [sp, #268]
ldr x9, [sp, #272]
ldrsw x10, [sp, #364]
strh w8, [x9, x10, lsl #1]
b LBB16_148
LBB16_148: ; in Loop: Header=BB16_144 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_144
LBB16_149: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #25]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB16_172
b LBB16_150
LBB16_150: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #27]
str w8, [sp, #260]
ldr w8, [sp, #260]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_154
b LBB16_151
LBB16_151: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #2112]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB16_153
b LBB16_152
LBB16_152: ; in Loop: Header=BB16_62 Depth=1
b LBB16_178
LBB16_153: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldrsw x9, [x8, #2112]
mov x8, #4
mul x8, x8, x9
ldr x9, [sp, #304]
ldrsw x9, [x9]
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #304]
str x0, [x8, #32]
b LBB16_155
LBB16_154: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldrsw x9, [x8, #4]
mov x8, #4
mul x8, x8, x9
ldr x9, [sp, #304]
ldrsw x9, [x9]
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #304]
str x0, [x8, #32]
b LBB16_155
LBB16_155: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_157
b LBB16_156
LBB16_156:
ldr x0, [sp, #384]
ldr x1, [sp, #272]
ldr x8, [sp, #304]
ldr w8, [x8, #28]
mov x9, x8
mov x8, #2
mul x8, x8, x9
mov x2, x8
bl _setup_temp_free
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_157: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #260]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_159
b LBB16_158
LBB16_158: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #2112]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB16_160
LBB16_159: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldr w8, [x8, #4]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB16_160
LBB16_160: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #80] ; 4-byte Folded Reload
str w8, [sp, #264]
str wzr, [sp, #364]
b LBB16_161
LBB16_161: ; Parent Loop BB16_62 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_166 Depth 3
ldr w8, [sp, #364]
ldr w9, [sp, #264]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_171
b LBB16_162
LBB16_162: ; in Loop: Header=BB16_161 Depth=2
ldr w8, [sp, #260]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_164
b LBB16_163
LBB16_163: ; in Loop: Header=BB16_161 Depth=2
ldr x8, [sp, #304]
ldr x8, [x8, #2104]
ldrsw x9, [sp, #364]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB16_165
LBB16_164: ; in Loop: Header=BB16_161 Depth=2
ldr w8, [sp, #364]
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB16_165
LBB16_165: ; in Loop: Header=BB16_161 Depth=2
ldr w8, [sp, #76] ; 4-byte Folded Reload
str w8, [sp, #256]
mov w8, #1
str w8, [sp, #252]
str wzr, [sp, #360]
b LBB16_166
LBB16_166: ; Parent Loop BB16_62 Depth=1
; Parent Loop BB16_161 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #360]
ldr x9, [sp, #304]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_169
b LBB16_167
LBB16_167: ; in Loop: Header=BB16_166 Depth=3
ldr w8, [sp, #256]
ldr w9, [sp, #252]
sdiv w8, w8, w9
ldr x9, [sp, #304]
ldr w10, [x9, #28]
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #248]
ldr x8, [sp, #272]
ldrsw x9, [sp, #248]
ldrh w8, [x8, x9, lsl #1]
scvtf s0, w8
ldr x8, [sp, #304]
ldr s1, [x8, #20]
ldr x8, [sp, #304]
ldr s2, [x8, #16]
fmadd s0, s0, s1, s2
ldr x8, [sp, #304]
ldr x8, [x8, #32]
ldr w9, [sp, #364]
ldr x10, [sp, #304]
ldr w10, [x10]
mul w9, w9, w10
ldr w10, [sp, #360]
add w9, w9, w10
str s0, [x8, w9, sxtw #2]
ldr x8, [sp, #304]
ldr w9, [x8, #28]
ldr w8, [sp, #252]
mul w8, w8, w9
str w8, [sp, #252]
b LBB16_168
LBB16_168: ; in Loop: Header=BB16_166 Depth=3
ldr w8, [sp, #360]
add w8, w8, #1
str w8, [sp, #360]
b LBB16_166
LBB16_169: ; in Loop: Header=BB16_161 Depth=2
b LBB16_170
LBB16_170: ; in Loop: Header=BB16_161 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_161
LBB16_171: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x1, [sp, #272]
ldr x8, [sp, #304]
ldr w8, [x8, #28]
mov x9, x8
mov x8, #2
mul x8, x8, x9
mov x2, x8
bl _setup_temp_free
ldr x9, [sp, #304]
mov w8, #2
strb w8, [x9, #25]
b LBB16_177
LBB16_172: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #304]
ldr w8, [x8, #28]
mov x9, x8
mov x8, #4
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #304]
str x0, [x8, #32]
str wzr, [sp, #364]
b LBB16_173
LBB16_173: ; Parent Loop BB16_62 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #304]
ldr w9, [x9, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_176
b LBB16_174
LBB16_174: ; in Loop: Header=BB16_173 Depth=2
ldr x8, [sp, #272]
ldrsw x9, [sp, #364]
ldrh w8, [x8, x9, lsl #1]
scvtf s0, w8
ldr x8, [sp, #304]
ldr s1, [x8, #20]
ldr x8, [sp, #304]
ldr s2, [x8, #16]
fmadd s0, s0, s1, s2
ldr x8, [sp, #304]
ldr x8, [x8, #32]
ldrsw x9, [sp, #364]
str s0, [x8, x9, lsl #2]
b LBB16_175
LBB16_175: ; in Loop: Header=BB16_173 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_173
LBB16_176: ; in Loop: Header=BB16_62 Depth=1
ldr x0, [sp, #384]
ldr x1, [sp, #272]
ldr x8, [sp, #304]
ldr w8, [x8, #28]
mov x9, x8
mov x8, #2
mul x8, x8, x9
mov x2, x8
bl _setup_temp_free
b LBB16_177
LBB16_177: ; in Loop: Header=BB16_62 Depth=1
b LBB16_178
LBB16_178: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #25]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB16_185
b LBB16_179
LBB16_179: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
ldrb w8, [x8, #26]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_185
b LBB16_180
LBB16_180: ; in Loop: Header=BB16_62 Depth=1
mov w8, #1
str w8, [sp, #364]
b LBB16_181
LBB16_181: ; Parent Loop BB16_62 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #304]
ldr w9, [x9, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_184
b LBB16_182
LBB16_182: ; in Loop: Header=BB16_181 Depth=2
ldr x8, [sp, #304]
ldr x8, [x8, #32]
ldr w9, [sp, #364]
subs w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
ldr x8, [sp, #304]
ldr x8, [x8, #32]
ldrsw x9, [sp, #364]
str s0, [x8, x9, lsl #2]
b LBB16_183
LBB16_183: ; in Loop: Header=BB16_181 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_181
LBB16_184: ; in Loop: Header=BB16_62 Depth=1
ldr x8, [sp, #304]
strb wzr, [x8, #26]
b LBB16_185
LBB16_185: ; in Loop: Header=BB16_62 Depth=1
b LBB16_186
LBB16_186: ; in Loop: Header=BB16_62 Depth=1
b LBB16_187
LBB16_187: ; in Loop: Header=BB16_62 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_62
LBB16_188:
ldr x0, [sp, #384]
mov w1, #6
bl _get_bits
add w8, w0, #1
strb w8, [sp, #377]
str wzr, [sp, #368]
b LBB16_189
LBB16_189: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #368]
ldrb w9, [sp, #377]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_194
b LBB16_190
LBB16_190: ; in Loop: Header=BB16_189 Depth=1
ldr x0, [sp, #384]
mov w1, #16
bl _get_bits
str w0, [sp, #244]
ldr w8, [sp, #244]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_192
b LBB16_191
LBB16_191:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_192: ; in Loop: Header=BB16_189 Depth=1
b LBB16_193
LBB16_193: ; in Loop: Header=BB16_189 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_189
LBB16_194:
ldr x0, [sp, #384]
mov w1, #6
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #384]
str w8, [x9, #184]
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldrsw x8, [x8, #184]
mov x9, #1596
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #384]
str x0, [x8, #320]
str wzr, [sp, #368]
b LBB16_195
LBB16_195: ; =>This Loop Header: Depth=1
; Child Loop BB16_205 Depth 2
; Child Loop BB16_211 Depth 2
; Child Loop BB16_217 Depth 3
; Child Loop BB16_225 Depth 2
; Child Loop BB16_227 Depth 3
; Child Loop BB16_233 Depth 2
; Child Loop BB16_237 Depth 2
; Child Loop BB16_241 Depth 2
ldr w8, [sp, #368]
ldr x9, [sp, #384]
ldr w9, [x9, #184]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_249
b LBB16_196
LBB16_196: ; in Loop: Header=BB16_195 Depth=1
ldr x0, [sp, #384]
mov w1, #16
bl _get_bits
ldr x8, [sp, #384]
add x8, x8, #188
ldrsw x9, [sp, #368]
strh w0, [x8, x9, lsl #1]
ldr x8, [sp, #384]
add x8, x8, #188
ldrsw x9, [sp, #368]
ldrh w8, [x8, x9, lsl #1]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB16_198
b LBB16_197
LBB16_197:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_198: ; in Loop: Header=BB16_195 Depth=1
ldr x8, [sp, #384]
add x8, x8, #188
ldrsw x9, [sp, #368]
ldrh w8, [x8, x9, lsl #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB16_204
b LBB16_199
LBB16_199:
ldr x8, [sp, #384]
ldr x8, [x8, #320]
ldrsw x9, [sp, #368]
mov x10, #1596
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #232]
ldr x0, [sp, #384]
mov w1, #8
str w1, [sp, #72] ; 4-byte Folded Spill
bl _get_bits
ldr x8, [sp, #232]
strb w0, [x8]
ldr x0, [sp, #384]
mov w1, #16
str w1, [sp, #68] ; 4-byte Folded Spill
bl _get_bits
ldr w1, [sp, #68] ; 4-byte Folded Reload
ldr x8, [sp, #232]
strh w0, [x8, #2]
ldr x0, [sp, #384]
bl _get_bits
ldr x8, [sp, #232]
strh w0, [x8, #4]
ldr x0, [sp, #384]
mov w1, #6
bl _get_bits
ldr w1, [sp, #72] ; 4-byte Folded Reload
ldr x8, [sp, #232]
strb w0, [x8, #6]
ldr x0, [sp, #384]
bl _get_bits
ldr x8, [sp, #232]
strb w0, [x8, #7]
ldr x0, [sp, #384]
mov w1, #4
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #232]
strb w8, [x9, #8]
str wzr, [sp, #364]
b LBB16_200
LBB16_200: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #364]
ldr x9, [sp, #232]
ldrb w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_203
b LBB16_201
LBB16_201: ; in Loop: Header=BB16_200 Depth=1
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
ldr x8, [sp, #232]
add x8, x8, #9
ldrsw x9, [sp, #364]
strb w0, [x8, x9]
b LBB16_202
LBB16_202: ; in Loop: Header=BB16_200 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_200
LBB16_203:
ldr x0, [sp, #384]
mov w1, #4
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_204: ; in Loop: Header=BB16_195 Depth=1
ldr x8, [sp, #384]
ldr x8, [x8, #320]
ldrsw x9, [sp, #368]
mov x10, #1596
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #224]
mov w8, #-1
str w8, [sp, #220]
ldr x0, [sp, #384]
mov w1, #5
bl _get_bits
ldr x8, [sp, #224]
strb w0, [x8]
str wzr, [sp, #364]
b LBB16_205
LBB16_205: ; Parent Loop BB16_195 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #224]
ldrb w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_210
b LBB16_206
LBB16_206: ; in Loop: Header=BB16_205 Depth=2
ldr x0, [sp, #384]
mov w1, #4
bl _get_bits
ldr x8, [sp, #224]
add x8, x8, #1
ldrsw x9, [sp, #364]
strb w0, [x8, x9]
ldr x8, [sp, #224]
add x8, x8, #1
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
ldr w9, [sp, #220]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_208
b LBB16_207
LBB16_207: ; in Loop: Header=BB16_205 Depth=2
ldr x8, [sp, #224]
add x8, x8, #1
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
str w8, [sp, #220]
b LBB16_208
LBB16_208: ; in Loop: Header=BB16_205 Depth=2
b LBB16_209
LBB16_209: ; in Loop: Header=BB16_205 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_205
LBB16_210: ; in Loop: Header=BB16_195 Depth=1
str wzr, [sp, #364]
b LBB16_211
LBB16_211: ; Parent Loop BB16_195 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_217 Depth 3
ldr w8, [sp, #364]
ldr w9, [sp, #220]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB16_224
b LBB16_212
LBB16_212: ; in Loop: Header=BB16_211 Depth=2
ldr x0, [sp, #384]
mov w1, #3
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #224]
add x9, x9, #33
ldrsw x10, [sp, #364]
strb w8, [x9, x10]
ldr x0, [sp, #384]
mov w1, #2
bl _get_bits
ldr x8, [sp, #224]
add x8, x8, #49
ldrsw x9, [sp, #364]
strb w0, [x8, x9]
ldr x8, [sp, #224]
add x8, x8, #49
ldrsw x9, [sp, #364]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_216
b LBB16_213
LBB16_213: ; in Loop: Header=BB16_211 Depth=2
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
ldr x8, [sp, #224]
add x8, x8, #65
ldrsw x9, [sp, #364]
strb w0, [x8, x9]
ldr x8, [sp, #224]
add x8, x8, #65
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
ldr x9, [sp, #384]
ldr w9, [x9, #168]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_215
b LBB16_214
LBB16_214:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_215: ; in Loop: Header=BB16_211 Depth=2
b LBB16_216
LBB16_216: ; in Loop: Header=BB16_211 Depth=2
str wzr, [sp, #360]
b LBB16_217
LBB16_217: ; Parent Loop BB16_195 Depth=1
; Parent Loop BB16_211 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #360]
ldr x9, [sp, #224]
add x9, x9, #49
ldrsw x10, [sp, #364]
ldrb w10, [x9, x10]
mov w9, #1
lsl w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_222
b LBB16_218
LBB16_218: ; in Loop: Header=BB16_217 Depth=3
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
subs w8, w0, #1
ldr x9, [sp, #224]
add x9, x9, #82
ldrsw x10, [sp, #364]
add x9, x9, x10, lsl #4
ldrsw x10, [sp, #360]
strh w8, [x9, x10, lsl #1]
ldr x8, [sp, #224]
add x8, x8, #82
ldrsw x9, [sp, #364]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #360]
ldrsh w8, [x8, x9, lsl #1]
ldr x9, [sp, #384]
ldr w9, [x9, #168]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_220
b LBB16_219
LBB16_219:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_220: ; in Loop: Header=BB16_217 Depth=3
b LBB16_221
LBB16_221: ; in Loop: Header=BB16_217 Depth=3
ldr w8, [sp, #360]
add w8, w8, #1
str w8, [sp, #360]
b LBB16_217
LBB16_222: ; in Loop: Header=BB16_211 Depth=2
b LBB16_223
LBB16_223: ; in Loop: Header=BB16_211 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_211
LBB16_224: ; in Loop: Header=BB16_195 Depth=1
ldr x0, [sp, #384]
mov w1, #2
str w1, [sp, #64] ; 4-byte Folded Spill
bl _get_bits
mov w8, #1
str w8, [sp, #60] ; 4-byte Folded Spill
add w8, w0, #1
ldr x9, [sp, #224]
strb w8, [x9, #1588]
ldr x0, [sp, #384]
mov w1, #4
bl _get_bits
ldr w9, [sp, #60] ; 4-byte Folded Reload
ldr w8, [sp, #64] ; 4-byte Folded Reload
ldr x10, [sp, #224]
strb w0, [x10, #1589]
ldr x10, [sp, #224]
strh wzr, [x10, #338]
ldr x10, [sp, #224]
ldrb w10, [x10, #1589]
lsl w9, w9, w10
ldr x10, [sp, #224]
strh w9, [x10, #340]
ldr x9, [sp, #224]
str w8, [x9, #1592]
str wzr, [sp, #364]
b LBB16_225
LBB16_225: ; Parent Loop BB16_195 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_227 Depth 3
ldr w8, [sp, #364]
ldr x9, [sp, #224]
ldrb w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_232
b LBB16_226
LBB16_226: ; in Loop: Header=BB16_225 Depth=2
ldr x8, [sp, #224]
add x8, x8, #1
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
str w8, [sp, #216]
str wzr, [sp, #360]
b LBB16_227
LBB16_227: ; Parent Loop BB16_195 Depth=1
; Parent Loop BB16_225 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #360]
ldr x9, [sp, #224]
add x9, x9, #33
ldrsw x10, [sp, #216]
ldrb w9, [x9, x10]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_230
b LBB16_228
LBB16_228: ; in Loop: Header=BB16_227 Depth=3
ldr x0, [sp, #384]
ldr x8, [sp, #224]
ldrb w1, [x8, #1589]
bl _get_bits
ldr x8, [sp, #224]
add x8, x8, #338
ldr x9, [sp, #224]
ldrsw x9, [x9, #1592]
strh w0, [x8, x9, lsl #1]
ldr x9, [sp, #224]
ldr w8, [x9, #1592]
add w8, w8, #1
str w8, [x9, #1592]
b LBB16_229
LBB16_229: ; in Loop: Header=BB16_227 Depth=3
ldr w8, [sp, #360]
add w8, w8, #1
str w8, [sp, #360]
b LBB16_227
LBB16_230: ; in Loop: Header=BB16_225 Depth=2
b LBB16_231
LBB16_231: ; in Loop: Header=BB16_225 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_225
LBB16_232: ; in Loop: Header=BB16_195 Depth=1
str wzr, [sp, #364]
b LBB16_233
LBB16_233: ; Parent Loop BB16_195 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #224]
ldr w9, [x9, #1592]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_236
b LBB16_234
LBB16_234: ; in Loop: Header=BB16_233 Depth=2
ldr x8, [sp, #224]
add x8, x8, #338
ldrsw x9, [sp, #364]
add x8, x8, x9, lsl #1
ldrh w8, [x8]
ldrsw x11, [sp, #364]
add x9, sp, #464
mov x10, x9
add x10, x10, x11, lsl #2
strh w8, [x10]
ldr w8, [sp, #364]
ldrsw x10, [sp, #364]
add x9, x9, x10, lsl #2
strh w8, [x9, #2]
b LBB16_235
LBB16_235: ; in Loop: Header=BB16_233 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_233
LBB16_236: ; in Loop: Header=BB16_195 Depth=1
ldr x8, [sp, #224]
ldrsw x1, [x8, #1592]
add x0, sp, #464
mov x2, #4
adrp x3, _point_compare@PAGE
add x3, x3, _point_compare@PAGEOFF
bl _qsort
str wzr, [sp, #364]
b LBB16_237
LBB16_237: ; Parent Loop BB16_195 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #224]
ldr w9, [x9, #1592]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_240
b LBB16_238
LBB16_238: ; in Loop: Header=BB16_237 Depth=2
ldrsw x9, [sp, #364]
add x8, sp, #464
add x8, x8, x9, lsl #2
ldrh w8, [x8, #2]
ldr x9, [sp, #224]
add x9, x9, #838
ldrsw x10, [sp, #364]
add x9, x9, x10
strb w8, [x9]
b LBB16_239
LBB16_239: ; in Loop: Header=BB16_237 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_237
LBB16_240: ; in Loop: Header=BB16_195 Depth=1
mov w8, #2
str w8, [sp, #364]
b LBB16_241
LBB16_241: ; Parent Loop BB16_195 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #224]
ldr w9, [x9, #1592]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_244
b LBB16_242
LBB16_242: ; in Loop: Header=BB16_241 Depth=2
ldr x8, [sp, #224]
add x0, x8, #338
ldr w1, [sp, #364]
add x2, sp, #212
add x3, sp, #208
bl _neighbors
ldr w8, [sp, #212]
ldr x9, [sp, #224]
add x9, x9, #1088
ldrsw x10, [sp, #364]
lsl x10, x10, #1
strb w8, [x9, x10]
ldr w8, [sp, #208]
ldr x9, [sp, #224]
add x9, x9, #1088
ldrsw x10, [sp, #364]
add x9, x9, x10, lsl #1
strb w8, [x9, #1]
b LBB16_243
LBB16_243: ; in Loop: Header=BB16_241 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_241
LBB16_244: ; in Loop: Header=BB16_195 Depth=1
ldr x8, [sp, #224]
ldr w8, [x8, #1592]
ldr w9, [sp, #352]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_246
b LBB16_245
LBB16_245: ; in Loop: Header=BB16_195 Depth=1
ldr x8, [sp, #224]
ldr w8, [x8, #1592]
str w8, [sp, #352]
b LBB16_246
LBB16_246: ; in Loop: Header=BB16_195 Depth=1
b LBB16_247
LBB16_247: ; in Loop: Header=BB16_195 Depth=1
b LBB16_248
LBB16_248: ; in Loop: Header=BB16_195 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_195
LBB16_249:
ldr x0, [sp, #384]
mov w1, #6
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #384]
str w8, [x9, #328]
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldrsw x8, [x8, #328]
lsl x8, x8, #5
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #384]
str x0, [x8, #464]
str wzr, [sp, #368]
b LBB16_250
LBB16_250: ; =>This Loop Header: Depth=1
; Child Loop BB16_254 Depth 2
; Child Loop BB16_260 Depth 2
; Child Loop BB16_262 Depth 3
; Child Loop BB16_275 Depth 2
; Child Loop BB16_277 Depth 3
ldr w8, [sp, #368]
ldr x9, [sp, #384]
ldr w9, [x9, #328]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_284
b LBB16_251
LBB16_251: ; in Loop: Header=BB16_250 Depth=1
ldr x8, [sp, #384]
ldr x8, [x8, #464]
ldrsw x9, [sp, #368]
add x8, x8, x9, lsl #5
str x8, [sp, #200]
ldr x0, [sp, #384]
mov w1, #16
bl _get_bits
ldr x8, [sp, #384]
add x8, x8, #332
ldrsw x9, [sp, #368]
strh w0, [x8, x9, lsl #1]
ldr x8, [sp, #384]
add x8, x8, #332
ldrsw x9, [sp, #368]
ldrh w8, [x8, x9, lsl #1]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB16_253
b LBB16_252
LBB16_252:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_253: ; in Loop: Header=BB16_250 Depth=1
ldr x0, [sp, #384]
mov w1, #24
str w1, [sp, #56] ; 4-byte Folded Spill
bl _get_bits
ldr w1, [sp, #56] ; 4-byte Folded Reload
ldr x8, [sp, #200]
str w0, [x8]
ldr x0, [sp, #384]
bl _get_bits
ldr w1, [sp, #56] ; 4-byte Folded Reload
ldr x8, [sp, #200]
str w0, [x8, #4]
ldr x0, [sp, #384]
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #200]
str w8, [x9, #8]
ldr x0, [sp, #384]
mov w1, #6
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #200]
strb w8, [x9, #12]
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
ldr x8, [sp, #200]
strb w0, [x8, #13]
str wzr, [sp, #364]
b LBB16_254
LBB16_254: ; Parent Loop BB16_250 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #200]
ldrb w9, [x9, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_259
b LBB16_255
LBB16_255: ; in Loop: Header=BB16_254 Depth=2
strb wzr, [sp, #199]
ldr x0, [sp, #384]
mov w1, #3
bl _get_bits
strb w0, [sp, #198]
ldr x0, [sp, #384]
mov w1, #1
bl _get_bits
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB16_257
b LBB16_256
LBB16_256: ; in Loop: Header=BB16_254 Depth=2
ldr x0, [sp, #384]
mov w1, #5
bl _get_bits
strb w0, [sp, #199]
b LBB16_257
LBB16_257: ; in Loop: Header=BB16_254 Depth=2
ldrb w9, [sp, #199]
ldrb w8, [sp, #198]
add w8, w8, w9, lsl #3
ldrsw x10, [sp, #364]
add x9, sp, #400
strb w8, [x9, x10]
b LBB16_258
LBB16_258: ; in Loop: Header=BB16_254 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_254
LBB16_259: ; in Loop: Header=BB16_250 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #200]
ldrb w8, [x8, #12]
mov x9, x8
mov x8, #16
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #200]
str x0, [x8, #24]
str wzr, [sp, #364]
b LBB16_260
LBB16_260: ; Parent Loop BB16_250 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_262 Depth 3
ldr w8, [sp, #364]
ldr x9, [sp, #200]
ldrb w9, [x9, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_272
b LBB16_261
LBB16_261: ; in Loop: Header=BB16_260 Depth=2
str wzr, [sp, #360]
b LBB16_262
LBB16_262: ; Parent Loop BB16_250 Depth=1
; Parent Loop BB16_260 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #360]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB16_270
b LBB16_263
LBB16_263: ; in Loop: Header=BB16_262 Depth=3
ldrsw x9, [sp, #364]
add x8, sp, #400
ldrb w8, [x8, x9]
ldr w10, [sp, #360]
mov w9, #1
lsl w9, w9, w10
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB16_267
b LBB16_264
LBB16_264: ; in Loop: Header=BB16_262 Depth=3
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
ldr x8, [sp, #200]
ldr x8, [x8, #24]
ldrsw x9, [sp, #364]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #360]
strh w0, [x8, x9, lsl #1]
ldr x8, [sp, #200]
ldr x8, [x8, #24]
ldrsw x9, [sp, #364]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #360]
ldrsh w8, [x8, x9, lsl #1]
ldr x9, [sp, #384]
ldr w9, [x9, #168]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_266
b LBB16_265
LBB16_265:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_266: ; in Loop: Header=BB16_262 Depth=3
b LBB16_268
LBB16_267: ; in Loop: Header=BB16_262 Depth=3
ldr x8, [sp, #200]
ldr x8, [x8, #24]
ldrsw x9, [sp, #364]
add x8, x8, x9, lsl #4
ldrsw x9, [sp, #360]
add x9, x8, x9, lsl #1
mov w8, #65535
strh w8, [x9]
b LBB16_268
LBB16_268: ; in Loop: Header=BB16_262 Depth=3
b LBB16_269
LBB16_269: ; in Loop: Header=BB16_262 Depth=3
ldr w8, [sp, #360]
add w8, w8, #1
str w8, [sp, #360]
b LBB16_262
LBB16_270: ; in Loop: Header=BB16_260 Depth=2
b LBB16_271
LBB16_271: ; in Loop: Header=BB16_260 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_260
LBB16_272: ; in Loop: Header=BB16_250 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldr x8, [x8, #176]
ldr x9, [sp, #200]
ldrb w9, [x9, #13]
; kill: def $x9 killed $w9
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [x8, #4]
mov x8, #8
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #200]
str x0, [x8, #16]
ldr x8, [sp, #200]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_274
b LBB16_273
LBB16_273:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_274: ; in Loop: Header=BB16_250 Depth=1
ldr x8, [sp, #200]
ldr x0, [x8, #16]
ldr x8, [sp, #384]
ldr x8, [x8, #176]
ldr x9, [sp, #200]
ldrb w9, [x9, #13]
; kill: def $x9 killed $w9
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [x8, #4]
mov x8, #8
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
str wzr, [sp, #364]
b LBB16_275
LBB16_275: ; Parent Loop BB16_250 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_277 Depth 3
ldr w8, [sp, #364]
ldr x9, [sp, #384]
ldr x9, [x9, #176]
ldr x10, [sp, #200]
ldrb w10, [x10, #13]
; kill: def $x10 killed $w10
mov x11, #2120
mul x10, x10, x11
add x9, x9, x10
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_282
b LBB16_276
LBB16_276: ; in Loop: Header=BB16_275 Depth=2
ldr x8, [sp, #384]
ldr x8, [x8, #176]
ldr x9, [sp, #200]
ldrb w9, [x9, #13]
; kill: def $x9 killed $w9
mov x10, #2120
mul x9, x9, x10
ldr w8, [x8, x9]
str w8, [sp, #192]
ldr w8, [sp, #364]
str w8, [sp, #188]
ldr x0, [sp, #384]
ldrsw x9, [sp, #192]
mov x8, #1
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #200]
ldr x8, [x8, #16]
ldrsw x9, [sp, #364]
str x0, [x8, x9, lsl #3]
ldr w8, [sp, #192]
subs w8, w8, #1
str w8, [sp, #360]
b LBB16_277
LBB16_277: ; Parent Loop BB16_250 Depth=1
; Parent Loop BB16_275 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #360]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB16_280
b LBB16_278
LBB16_278: ; in Loop: Header=BB16_277 Depth=3
ldr w8, [sp, #188]
ldr x9, [sp, #200]
ldrb w10, [x9, #12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #200]
ldr x9, [x9, #16]
ldrsw x10, [sp, #364]
ldr x9, [x9, x10, lsl #3]
ldrsw x10, [sp, #360]
strb w8, [x9, x10]
ldr x8, [sp, #200]
ldrb w9, [x8, #12]
ldr w8, [sp, #188]
sdiv w8, w8, w9
str w8, [sp, #188]
b LBB16_279
LBB16_279: ; in Loop: Header=BB16_277 Depth=3
ldr w8, [sp, #360]
subs w8, w8, #1
str w8, [sp, #360]
b LBB16_277
LBB16_280: ; in Loop: Header=BB16_275 Depth=2
b LBB16_281
LBB16_281: ; in Loop: Header=BB16_275 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_275
LBB16_282: ; in Loop: Header=BB16_250 Depth=1
b LBB16_283
LBB16_283: ; in Loop: Header=BB16_250 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_250
LBB16_284:
ldr x0, [sp, #384]
mov w1, #6
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #384]
str w8, [x9, #472]
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldrsw x8, [x8, #472]
mov x9, #48
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #384]
str x0, [x8, #480]
str wzr, [sp, #368]
b LBB16_285
LBB16_285: ; =>This Loop Header: Depth=1
; Child Loop BB16_295 Depth 2
; Child Loop BB16_317 Depth 2
; Child Loop BB16_310 Depth 2
; Child Loop BB16_322 Depth 2
ldr w8, [sp, #368]
ldr x9, [sp, #384]
ldr w9, [x9, #472]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_331
b LBB16_286
LBB16_286: ; in Loop: Header=BB16_285 Depth=1
ldr x8, [sp, #384]
ldr x8, [x8, #480]
ldrsw x9, [sp, #368]
mov x10, #48
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #176]
ldr x0, [sp, #384]
mov w1, #16
bl _get_bits
str w0, [sp, #172]
ldr w8, [sp, #172]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_288
b LBB16_287
LBB16_287:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_288: ; in Loop: Header=BB16_285 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldrsw x8, [x8, #4]
mov x9, #3
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #176]
str x0, [x8, #8]
ldr x0, [sp, #384]
mov w1, #1
bl _get_bits
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB16_290
b LBB16_289
LBB16_289: ; in Loop: Header=BB16_285 Depth=1
ldr x0, [sp, #384]
mov w1, #4
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #176]
strb w8, [x9, #16]
b LBB16_291
LBB16_290: ; in Loop: Header=BB16_285 Depth=1
ldr x9, [sp, #176]
mov w8, #1
strb w8, [x9, #16]
b LBB16_291
LBB16_291: ; in Loop: Header=BB16_285 Depth=1
ldr x8, [sp, #176]
ldrb w8, [x8, #16]
ldr w9, [sp, #356]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_293
b LBB16_292
LBB16_292: ; in Loop: Header=BB16_285 Depth=1
ldr x8, [sp, #176]
ldrb w8, [x8, #16]
str w8, [sp, #356]
b LBB16_293
LBB16_293: ; in Loop: Header=BB16_285 Depth=1
ldr x0, [sp, #384]
mov w1, #1
bl _get_bits
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB16_305
b LBB16_294
LBB16_294: ; in Loop: Header=BB16_285 Depth=1
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #176]
strh w8, [x9]
str wzr, [sp, #360]
b LBB16_295
LBB16_295: ; Parent Loop BB16_285 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #360]
ldr x9, [sp, #176]
ldrh w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_304
b LBB16_296
LBB16_296: ; in Loop: Header=BB16_295 Depth=2
ldr x8, [sp, #384]
str x8, [sp, #32] ; 8-byte Folded Spill
ldr x8, [sp, #384]
ldr w8, [x8, #4]
subs w0, w8, #1
bl _ilog
mov x1, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _get_bits
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #360]
mov x10, #3
str x10, [sp, #48] ; 8-byte Folded Spill
mul x9, x9, x10
strb w0, [x8, x9]
ldr x8, [sp, #384]
str x8, [sp, #40] ; 8-byte Folded Spill
ldr x8, [sp, #384]
ldr w8, [x8, #4]
subs w0, w8, #1
bl _ilog
mov x1, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _get_bits
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #360]
mul x9, x9, x10
add x8, x8, x9
strb w0, [x8, #1]
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #360]
mul x9, x9, x10
ldrb w8, [x8, x9]
ldr x9, [sp, #384]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_298
b LBB16_297
LBB16_297:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_298: ; in Loop: Header=BB16_295 Depth=2
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #360]
mov x10, #3
mul x9, x9, x10
add x8, x8, x9
ldrb w8, [x8, #1]
ldr x9, [sp, #384]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_300
b LBB16_299
LBB16_299:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_300: ; in Loop: Header=BB16_295 Depth=2
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #360]
mov x11, #3
mul x9, x9, x11
ldrb w8, [x8, x9]
ldr x9, [sp, #176]
ldr x9, [x9, #8]
ldrsw x10, [sp, #360]
mul x10, x10, x11
add x9, x9, x10
ldrb w9, [x9, #1]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB16_302
b LBB16_301
LBB16_301:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_302: ; in Loop: Header=BB16_295 Depth=2
b LBB16_303
LBB16_303: ; in Loop: Header=BB16_295 Depth=2
ldr w8, [sp, #360]
add w8, w8, #1
str w8, [sp, #360]
b LBB16_295
LBB16_304: ; in Loop: Header=BB16_285 Depth=1
b LBB16_306
LBB16_305: ; in Loop: Header=BB16_285 Depth=1
ldr x8, [sp, #176]
strh wzr, [x8]
b LBB16_306
LBB16_306: ; in Loop: Header=BB16_285 Depth=1
ldr x0, [sp, #384]
mov w1, #2
bl _get_bits
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB16_308
b LBB16_307
LBB16_307:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_308: ; in Loop: Header=BB16_285 Depth=1
ldr x8, [sp, #176]
ldrb w8, [x8, #16]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB16_316
b LBB16_309
LBB16_309: ; in Loop: Header=BB16_285 Depth=1
str wzr, [sp, #364]
b LBB16_310
LBB16_310: ; Parent Loop BB16_285 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #384]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_315
b LBB16_311
LBB16_311: ; in Loop: Header=BB16_310 Depth=2
ldr x0, [sp, #384]
mov w1, #4
bl _get_bits
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #364]
mov x10, #3
mul x9, x9, x10
add x8, x8, x9
strb w0, [x8, #2]
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #364]
mul x9, x9, x10
add x8, x8, x9
ldrb w8, [x8, #2]
ldr x9, [sp, #176]
ldrb w9, [x9, #16]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_313
b LBB16_312
LBB16_312:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_313: ; in Loop: Header=BB16_310 Depth=2
b LBB16_314
LBB16_314: ; in Loop: Header=BB16_310 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_310
LBB16_315: ; in Loop: Header=BB16_285 Depth=1
b LBB16_321
LBB16_316: ; in Loop: Header=BB16_285 Depth=1
str wzr, [sp, #364]
b LBB16_317
LBB16_317: ; Parent Loop BB16_285 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #384]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_320
b LBB16_318
LBB16_318: ; in Loop: Header=BB16_317 Depth=2
ldr x8, [sp, #176]
ldr x8, [x8, #8]
ldrsw x9, [sp, #364]
mov x10, #3
mul x9, x9, x10
add x8, x8, x9
strb wzr, [x8, #2]
b LBB16_319
LBB16_319: ; in Loop: Header=BB16_317 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_317
LBB16_320: ; in Loop: Header=BB16_285 Depth=1
b LBB16_321
LBB16_321: ; in Loop: Header=BB16_285 Depth=1
str wzr, [sp, #364]
b LBB16_322
LBB16_322: ; Parent Loop BB16_285 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #364]
ldr x9, [sp, #176]
ldrb w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_329
b LBB16_323
LBB16_323: ; in Loop: Header=BB16_322 Depth=2
ldr x0, [sp, #384]
mov w1, #8
str w1, [sp, #28] ; 4-byte Folded Spill
bl _get_bits
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x0, [sp, #384]
bl _get_bits
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x8, [sp, #176]
add x8, x8, #17
ldrsw x9, [sp, #364]
strb w0, [x8, x9]
ldr x0, [sp, #384]
bl _get_bits
ldr x8, [sp, #176]
add x8, x8, #32
ldrsw x9, [sp, #364]
strb w0, [x8, x9]
ldr x8, [sp, #176]
add x8, x8, #17
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
ldr x9, [sp, #384]
ldr w9, [x9, #184]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_325
b LBB16_324
LBB16_324:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_325: ; in Loop: Header=BB16_322 Depth=2
ldr x8, [sp, #176]
add x8, x8, #32
ldrsw x9, [sp, #364]
ldrb w8, [x8, x9]
ldr x9, [sp, #384]
ldr w9, [x9, #328]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_327
b LBB16_326
LBB16_326:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_327: ; in Loop: Header=BB16_322 Depth=2
b LBB16_328
LBB16_328: ; in Loop: Header=BB16_322 Depth=2
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB16_322
LBB16_329: ; in Loop: Header=BB16_285 Depth=1
b LBB16_330
LBB16_330: ; in Loop: Header=BB16_285 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_285
LBB16_331:
ldr x0, [sp, #384]
mov w1, #6
bl _get_bits
add w8, w0, #1
ldr x9, [sp, #384]
str w8, [x9, #488]
str wzr, [sp, #368]
b LBB16_332
LBB16_332: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #368]
ldr x9, [sp, #384]
ldr w9, [x9, #488]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_341
b LBB16_333
LBB16_333: ; in Loop: Header=BB16_332 Depth=1
ldr x8, [sp, #384]
add x8, x8, #492
ldrsw x9, [sp, #368]
mov x10, #6
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #160]
ldr x0, [sp, #384]
mov w1, #1
bl _get_bits
ldr x8, [sp, #160]
strb w0, [x8]
ldr x0, [sp, #384]
mov w1, #16
str w1, [sp, #24] ; 4-byte Folded Spill
bl _get_bits
ldr w1, [sp, #24] ; 4-byte Folded Reload
ldr x8, [sp, #160]
strh w0, [x8, #2]
ldr x0, [sp, #384]
bl _get_bits
ldr x8, [sp, #160]
strh w0, [x8, #4]
ldr x0, [sp, #384]
mov w1, #8
bl _get_bits
ldr x8, [sp, #160]
strb w0, [x8, #1]
ldr x8, [sp, #160]
ldrh w8, [x8, #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_335
b LBB16_334
LBB16_334:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_335: ; in Loop: Header=BB16_332 Depth=1
ldr x8, [sp, #160]
ldrh w8, [x8, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_337
b LBB16_336
LBB16_336:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_337: ; in Loop: Header=BB16_332 Depth=1
ldr x8, [sp, #160]
ldrb w8, [x8, #1]
ldr x9, [sp, #384]
ldr w9, [x9, #472]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB16_339
b LBB16_338
LBB16_338:
ldr x0, [sp, #384]
mov w1, #20
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_339: ; in Loop: Header=BB16_332 Depth=1
b LBB16_340
LBB16_340: ; in Loop: Header=BB16_332 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_332
LBB16_341:
ldr x0, [sp, #384]
bl _flush_packet
ldr x8, [sp, #384]
str wzr, [x8, #1264]
str wzr, [sp, #368]
b LBB16_342
LBB16_342: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #368]
ldr x9, [sp, #384]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_345
b LBB16_343
LBB16_343: ; in Loop: Header=BB16_342 Depth=1
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldrsw x9, [x8, #164]
mov x8, #4
str x8, [sp, #8] ; 8-byte Folded Spill
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #384]
add x9, x9, #880
ldrsw x10, [sp, #368]
str x0, [x9, x10, lsl #3]
ldr x0, [sp, #384]
ldr x9, [sp, #384]
ldrsw x9, [x9, #164]
mul x8, x8, x9
mov x9, #2
str x9, [sp, #16] ; 8-byte Folded Spill
udiv x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #384]
add x9, x9, #1136
ldrsw x10, [sp, #368]
str x0, [x9, x10, lsl #3]
ldr x0, [sp, #384]
ldrsw x9, [sp, #352]
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp, #384]
add x8, x8, #1272
ldrsw x9, [sp, #368]
str x0, [x8, x9, lsl #3]
b LBB16_344
LBB16_344: ; in Loop: Header=BB16_342 Depth=1
ldr w8, [sp, #368]
add w8, w8, #1
str w8, [sp, #368]
b LBB16_342
LBB16_345:
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldr w2, [x8, #160]
mov w1, #0
bl _init_blocksize
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_347
b LBB16_346
LBB16_346:
str wzr, [sp, #396]
b LBB16_365
LBB16_347:
ldr x0, [sp, #384]
ldr x8, [sp, #384]
ldr w2, [x8, #164]
mov w1, #1
bl _init_blocksize
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB16_349
b LBB16_348
LBB16_348:
str wzr, [sp, #396]
b LBB16_365
LBB16_349:
ldr x8, [sp, #384]
ldr w8, [x8, #160]
ldr x9, [sp, #384]
str w8, [x9, #152]
ldr x8, [sp, #384]
ldr w8, [x8, #164]
ldr x9, [sp, #384]
str w8, [x9, #156]
ldr x8, [sp, #384]
ldrsw x8, [x8, #164]
lsl x8, x8, #2
lsr x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #156]
str wzr, [sp, #144]
str wzr, [sp, #148]
b LBB16_350
LBB16_350: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #148]
ldr x9, [sp, #384]
ldr w9, [x9, #328]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_355
b LBB16_351
LBB16_351: ; in Loop: Header=BB16_350 Depth=1
ldr x8, [sp, #384]
ldr x8, [x8, #464]
ldrsw x9, [sp, #148]
add x8, x8, x9, lsl #5
str x8, [sp, #136]
ldr x8, [sp, #136]
ldr w8, [x8, #4]
ldr x9, [sp, #136]
ldr w9, [x9]
subs w8, w8, w9
str w8, [sp, #132]
ldr w8, [sp, #132]
ldr x9, [sp, #136]
ldr w9, [x9, #8]
udiv w8, w8, w9
str w8, [sp, #128]
ldr w8, [sp, #128]
ldr w9, [sp, #144]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB16_353
b LBB16_352
LBB16_352: ; in Loop: Header=BB16_350 Depth=1
ldr w8, [sp, #128]
str w8, [sp, #144]
b LBB16_353
LBB16_353: ; in Loop: Header=BB16_350 Depth=1
b LBB16_354
LBB16_354: ; in Loop: Header=BB16_350 Depth=1
ldr w8, [sp, #148]
add w8, w8, #1
str w8, [sp, #148]
b LBB16_350
LBB16_355:
ldr x8, [sp, #384]
ldrsw x8, [x8, #4]
ldrsw x9, [sp, #144]
lsl x9, x9, #3
add x9, x9, #8
mul x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #152]
ldr w8, [sp, #152]
ldr x9, [sp, #384]
str w8, [x9, #12]
ldr w8, [sp, #156]
ldr x9, [sp, #384]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB16_357
b LBB16_356
LBB16_356:
ldr w8, [sp, #156]
ldr x9, [sp, #384]
str w8, [x9, #12]
b LBB16_357
LBB16_357:
ldr x9, [sp, #384]
mov w8, #1
strb w8, [x9, #1757]
ldr x8, [sp, #384]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_364
b LBB16_358
LBB16_358:
ldr x8, [sp, #384]
ldr w8, [x8, #140]
ldr x9, [sp, #384]
ldr w9, [x9, #128]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB16_360
b LBB16_359
LBB16_359:
adrp x0, l___func__.start_decoder@PAGE
add x0, x0, l___func__.start_decoder@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4120
adrp x3, l_.str.12@PAGE
add x3, x3, l_.str.12@PAGEOFF
bl ___assert_rtn
LBB16_360:
b LBB16_361
LBB16_361:
ldr x8, [sp, #384]
ldrsw x8, [x8, #136]
add x8, x8, #1896
ldr x9, [sp, #384]
ldr w9, [x9, #12]
; kill: def $x9 killed $w9
add x8, x8, x9
ldr x9, [sp, #384]
ldr w9, [x9, #140]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB16_363
b LBB16_362
LBB16_362:
ldr x0, [sp, #384]
mov w1, #3
bl _error
str w0, [sp, #396]
b LBB16_365
LBB16_363:
b LBB16_364
LBB16_364:
ldr x0, [sp, #384]
bl _stb_vorbis_get_file_offset
ldr x8, [sp, #384]
str w0, [x8, #72]
mov w8, #1
str w8, [sp, #396]
b LBB16_365
LBB16_365:
ldr w8, [sp, #396]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB16_367
b LBB16_366
LBB16_366:
bl ___stack_chk_fail
LBB16_367:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #1472
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_alloc
_vorbis_alloc: ; @vorbis_alloc
.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, #1896
bl _setup_malloc
str x0, [sp]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_file_offset ; -- Begin function stb_vorbis_get_file_offset
.p2align 2
_stb_vorbis_get_file_offset: ; @stb_vorbis_get_file_offset
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
ldr x8, [sp]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB18_2
b LBB18_1
LBB18_1:
stur wzr, [x29, #-4]
b LBB18_5
LBB18_2:
ldr x8, [sp]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB18_4
b LBB18_3
LBB18_3:
ldr x8, [sp]
ldr x8, [x8, #40]
ldr x9, [sp]
ldr x9, [x9, #48]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB18_5
LBB18_4:
ldr x8, [sp]
ldr x0, [x8, #24]
bl _ftell
ldr x8, [sp]
ldr w8, [x8, #32]
; kill: def $x8 killed $w8
subs x8, x0, x8
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB18_5
LBB18_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_seek_frame ; -- Begin function stb_vorbis_seek_frame
.p2align 2
_stb_vorbis_seek_frame: ; @stb_vorbis_seek_frame
.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 x0, [sp, #8]
ldr w1, [sp, #4]
mov w2, #0
bl _vorbis_seek_base
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_seek_base
_vorbis_seek_base: ; @vorbis_seek_base
.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, #64]
str w1, [sp, #60]
str w2, [sp, #56]
ldr x8, [sp, #64]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB20_2
b LBB20_1
LBB20_1:
ldr x0, [sp, #64]
mov w1, #2
bl _error
stur w0, [x29, #-52]
b LBB20_39
LBB20_2:
ldr x8, [sp, #64]
ldr w8, [x8, #96]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_6
b LBB20_3
LBB20_3:
ldr x0, [sp, #64]
bl _stb_vorbis_stream_length_in_samples
str w0, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB20_5
b LBB20_4
LBB20_4:
ldr x0, [sp, #64]
mov w1, #36
bl _error
stur w0, [x29, #-52]
b LBB20_39
LBB20_5:
b LBB20_6
LBB20_6:
ldr x8, [sp, #64]
ldur q0, [x8, #76]
sub x9, x29, #48
stur q0, [x29, #-48]
ldr w8, [x8, #92]
stur w8, [x29, #-32]
ldr x8, [sp, #64]
ldr q0, [x8, #96]
stur q0, [x9, #20]
ldr w8, [x8, #112]
stur w8, [x29, #-12]
ldr w8, [sp, #60]
ldr x9, [sp, #64]
ldr w9, [x9, #112]
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB20_8
b LBB20_7
LBB20_7:
ldr x8, [sp, #64]
ldr w8, [x8, #112]
subs w8, w8, #1
str w8, [sp, #60]
b LBB20_8
LBB20_8:
ldr w8, [sp, #60]
ldr x9, [sp, #64]
ldr w9, [x9, #92]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB20_10
b LBB20_9
LBB20_9:
ldr x0, [sp, #64]
ldur w1, [x29, #-48]
ldr w3, [sp, #60]
ldr w4, [sp, #56]
mov w2, #0
bl _vorbis_seek_frame_from_page
stur wzr, [x29, #-52]
b LBB20_39
LBB20_10:
str wzr, [sp, #28]
b LBB20_11
LBB20_11: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB20_35
b LBB20_12
LBB20_12: ; in Loop: Header=BB20_11 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #20]
ldur w8, [x29, #-20]
str w8, [sp, #16]
ldur w8, [x29, #-32]
str w8, [sp, #12]
ldur w8, [x29, #-12]
str w8, [sp, #8]
ldr w8, [sp, #12]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB20_14
b LBB20_13
LBB20_13: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #8]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB20_15
b LBB20_14
LBB20_14:
ldr x0, [sp, #64]
mov w1, #37
bl _error
stur w0, [x29, #-52]
b LBB20_39
LBB20_15: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #20]
add w8, w8, #4000
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB20_17
b LBB20_16
LBB20_16: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #4000
str w8, [sp, #16]
b LBB20_17
LBB20_17: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
ldr w10, [sp, #20]
subs w9, w9, w10
ucvtf s0, w9
ldr w9, [sp, #8]
ldr w10, [sp, #12]
subs w9, w9, w10
ucvtf s1, w9
fdiv s0, s0, s1
ldr w9, [sp, #60]
ldr w10, [sp, #12]
subs w9, w9, w10
ucvtf s1, w9
fmul s0, s0, s1
fcvt d0, s0
fcvtms w9, d0
add w8, w8, w9
str w8, [sp, #24]
ldr w8, [sp, #28]
subs w8, w8, #4
cset w8, lt
tbnz w8, #0, LBB20_25
b LBB20_18
LBB20_18: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
ldr w10, [sp, #20]
subs w9, w9, w10
add w8, w8, w9, lsr #1
str w8, [sp, #4]
ldr w8, [sp, #28]
subs w8, w8, #8
cset w8, lt
tbnz w8, #0, LBB20_20
b LBB20_19
LBB20_19: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #4]
str w8, [sp, #24]
b LBB20_24
LBB20_20: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB20_22
b LBB20_21
LBB20_21: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #4]
ldr w10, [sp, #24]
subs w9, w9, w10
add w8, w8, w9, lsr #1
str w8, [sp, #24]
b LBB20_23
LBB20_22: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #24]
ldr w10, [sp, #4]
subs w9, w9, w10
add w8, w8, w9, lsr #1
str w8, [sp, #24]
b LBB20_23
LBB20_23: ; in Loop: Header=BB20_11 Depth=1
b LBB20_24
LBB20_24: ; in Loop: Header=BB20_11 Depth=1
b LBB20_25
LBB20_25: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
ldr x0, [sp, #64]
ldr w1, [sp, #24]
bl _set_file_offset
ldr x0, [sp, #64]
mov x2, #0
mov x1, x2
bl _vorbis_find_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB20_27
b LBB20_26
LBB20_26:
ldr x0, [sp, #64]
mov w1, #37
bl _error
stur w0, [x29, #-52]
b LBB20_39
LBB20_27: ; in Loop: Header=BB20_11 Depth=1
ldr x0, [sp, #64]
add x1, sp, #36
bl _vorbis_analyze_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB20_29
b LBB20_28
LBB20_28:
ldr x0, [sp, #64]
mov w1, #37
bl _error
stur w0, [x29, #-52]
b LBB20_39
LBB20_29: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #24]
str w8, [sp, #44]
ldr w8, [sp, #36]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB20_31
b LBB20_30
LBB20_30: ; in Loop: Header=BB20_11 Depth=1
sub x8, x29, #48
ldur q0, [sp, #36]
stur q0, [x8, #20]
ldr w8, [sp, #52]
stur w8, [x29, #-12]
b LBB20_11
LBB20_31: ; in Loop: Header=BB20_11 Depth=1
ldr w8, [sp, #60]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB20_33
b LBB20_32
LBB20_32: ; in Loop: Header=BB20_11 Depth=1
sub x8, x29, #48
ldur q0, [sp, #36]
stur q0, [x8, #20]
ldr w8, [sp, #52]
stur w8, [x29, #-12]
b LBB20_34
LBB20_33: ; in Loop: Header=BB20_11 Depth=1
ldur q0, [sp, #36]
stur q0, [x29, #-48]
ldr w8, [sp, #52]
stur w8, [x29, #-32]
b LBB20_34
LBB20_34: ; in Loop: Header=BB20_11 Depth=1
b LBB20_11
LBB20_35:
ldur w8, [x29, #-32]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, hi
tbnz w8, #0, LBB20_38
b LBB20_36
LBB20_36:
ldr w8, [sp, #60]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB20_38
b LBB20_37
LBB20_37:
ldr x0, [sp, #64]
ldur w1, [x29, #-28]
ldur w2, [x29, #-32]
ldr w3, [sp, #60]
ldr w4, [sp, #56]
bl _vorbis_seek_frame_from_page
stur wzr, [x29, #-52]
b LBB20_39
LBB20_38:
ldr x0, [sp, #64]
mov w1, #37
bl _error
stur w0, [x29, #-52]
b LBB20_39
LBB20_39:
ldur w8, [x29, #-52]
str w8, [sp] ; 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, LBB20_41
b LBB20_40
LBB20_40:
bl ___stack_chk_fail
LBB20_41:
ldr w0, [sp] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_seek ; -- Begin function stb_vorbis_seek
.p2align 2
_stb_vorbis_seek: ; @stb_vorbis_seek
.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 x0, [sp, #8]
ldr w1, [sp, #4]
mov w2, #1
bl _vorbis_seek_base
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_seek_start ; -- Begin function stb_vorbis_seek_start
.p2align 2
_stb_vorbis_seek_start: ; @stb_vorbis_seek_start
.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]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB22_2
b LBB22_1
LBB22_1:
ldr x0, [sp, #8]
mov w1, #2
bl _error
b LBB22_3
LBB22_2:
ldr x0, [sp, #8]
ldr x8, [sp, #8]
ldr w1, [x8, #72]
bl _set_file_offset
ldr x8, [sp, #8]
str wzr, [x8, #1264]
ldr x9, [sp, #8]
mov w8, #1
strb w8, [x9, #1757]
ldr x9, [sp, #8]
mov w8, #-1
str w8, [x9, #1760]
ldr x0, [sp, #8]
bl _vorbis_pump_first_frame
b LBB22_3
LBB22_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function set_file_offset
_set_file_offset: ; @set_file_offset
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB23_2
b LBB23_1
LBB23_1:
stur wzr, [x29, #-4]
b LBB23_14
LBB23_2:
ldr x8, [sp, #16]
str wzr, [x8, #144]
ldr x8, [sp, #16]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB23_7
b LBB23_3
LBB23_3:
ldr x8, [sp, #16]
ldr x8, [x8, #48]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
add x8, x8, x9
ldr x9, [sp, #16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB23_5
b LBB23_4
LBB23_4:
ldr x8, [sp, #16]
ldr x8, [x8, #48]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
add x8, x8, x9
ldr x9, [sp, #16]
ldr x9, [x9, #48]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB23_6
b LBB23_5
LBB23_5:
ldr x8, [sp, #16]
ldr x8, [x8, #56]
ldr x9, [sp, #16]
str x8, [x9, #40]
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #144]
stur wzr, [x29, #-4]
b LBB23_14
LBB23_6:
ldr x8, [sp, #16]
ldr x8, [x8, #48]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
add x8, x8, x9
ldr x9, [sp, #16]
str x8, [x9, #40]
mov w8, #1
stur w8, [x29, #-4]
b LBB23_14
LBB23_7:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9, #32]
add w8, w8, w9
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB23_9
b LBB23_8
LBB23_8:
ldr w8, [sp, #12]
mov w9, #-2147483648
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB23_10
b LBB23_9
LBB23_9:
mov w8, #2147483647
str w8, [sp, #12]
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #144]
b LBB23_11
LBB23_10:
ldr x8, [sp, #16]
ldr w9, [x8, #32]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB23_11
LBB23_11:
ldr x8, [sp, #16]
ldr x0, [x8, #24]
ldr w8, [sp, #12]
mov x1, x8
mov w2, #0
bl _fseek
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB23_13
b LBB23_12
LBB23_12:
mov w8, #1
stur w8, [x29, #-4]
b LBB23_14
LBB23_13:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #144]
ldr x8, [sp, #16]
ldr x0, [x8, #24]
ldr x8, [sp, #16]
ldr w8, [x8, #32]
mov x1, x8
mov w2, #2
bl _fseek
stur wzr, [x29, #-4]
b LBB23_14
LBB23_14:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_pump_first_frame
_vorbis_pump_first_frame: ; @vorbis_pump_first_frame
.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]
sub x1, x29, #12
add x2, sp, #12
add x3, sp, #16
bl _vorbis_decode_packet
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB24_2
b LBB24_1
LBB24_1:
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w2, [sp, #12]
ldr w3, [sp, #16]
bl _vorbis_finish_frame
b LBB24_2
LBB24_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_stream_length_in_samples ; -- Begin function stb_vorbis_stream_length_in_samples
.p2align 2
_stb_vorbis_stream_length_in_samples: ; @stb_vorbis_stream_length_in_samples
.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]
ldur x8, [x29, #-16]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB25_2
b LBB25_1
LBB25_1:
ldur x0, [x29, #-16]
mov w1, #2
bl _error
stur w0, [x29, #-4]
b LBB25_25
LBB25_2:
ldur x8, [x29, #-16]
ldr w8, [x8, #876]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB25_21
b LBB25_3
LBB25_3:
ldur x0, [x29, #-16]
bl _stb_vorbis_get_file_offset
stur w0, [x29, #-20]
ldur x8, [x29, #-16]
ldr w8, [x8, #64]
subs w8, w8, #16, lsl #12 ; =65536
cset w8, lo
tbnz w8, #0, LBB25_6
b LBB25_4
LBB25_4:
ldur x8, [x29, #-16]
ldr w8, [x8, #64]
subs w8, w8, #16, lsl #12 ; =65536
ldur x9, [x29, #-16]
ldr w9, [x9, #72]
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB25_6
b LBB25_5
LBB25_5:
ldur x8, [x29, #-16]
ldr w8, [x8, #64]
subs w8, w8, #16, lsl #12 ; =65536
stur w8, [x29, #-24]
b LBB25_7
LBB25_6:
ldur x8, [x29, #-16]
ldr w8, [x8, #72]
stur w8, [x29, #-24]
b LBB25_7
LBB25_7:
ldur x0, [x29, #-16]
ldur w1, [x29, #-24]
bl _set_file_offset
ldur x0, [x29, #-16]
sub x1, x29, #28
sub x2, x29, #36
bl _vorbis_find_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB25_9
b LBB25_8
LBB25_8:
ldur x9, [x29, #-16]
mov w8, #36
str w8, [x9, #148]
ldur x9, [x29, #-16]
mov w8, #-1
str w8, [x9, #876]
b LBB25_20
LBB25_9:
ldur x0, [x29, #-16]
bl _stb_vorbis_get_file_offset
stur w0, [x29, #-32]
b LBB25_10
LBB25_10: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB25_14
b LBB25_11
LBB25_11: ; in Loop: Header=BB25_10 Depth=1
ldur x0, [x29, #-16]
sub x8, x29, #28
str x8, [sp, #16] ; 8-byte Folded Spill
ldur w1, [x29, #-28]
bl _set_file_offset
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-16]
sub x2, x29, #36
bl _vorbis_find_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB25_13
b LBB25_12
LBB25_12:
b LBB25_14
LBB25_13: ; in Loop: Header=BB25_10 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-24]
ldur x0, [x29, #-16]
bl _stb_vorbis_get_file_offset
stur w0, [x29, #-32]
b LBB25_10
LBB25_14:
ldur x0, [x29, #-16]
ldur w1, [x29, #-32]
bl _set_file_offset
ldur x0, [x29, #-16]
add x1, sp, #30
mov w2, #6
bl _getn
ldur x0, [x29, #-16]
bl _get32
str w0, [sp, #40]
ldur x0, [x29, #-16]
bl _get32
str w0, [sp, #36]
ldr w8, [sp, #40]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB25_17
b LBB25_15
LBB25_15:
ldr w8, [sp, #36]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB25_17
b LBB25_16
LBB25_16:
ldur x9, [x29, #-16]
mov w8, #36
str w8, [x9, #148]
ldur x9, [x29, #-16]
mov w8, #-1
str w8, [x9, #876]
b LBB25_20
LBB25_17:
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB25_19
b LBB25_18
LBB25_18:
mov w8, #-2
str w8, [sp, #40]
b LBB25_19
LBB25_19:
ldr w8, [sp, #40]
ldur x9, [x29, #-16]
str w8, [x9, #876]
ldur w8, [x29, #-32]
ldur x9, [x29, #-16]
str w8, [x9, #96]
ldur w8, [x29, #-28]
ldur x9, [x29, #-16]
str w8, [x9, #100]
ldr w8, [sp, #40]
ldur x9, [x29, #-16]
str w8, [x9, #112]
ldur x9, [x29, #-16]
mov w8, #-1
str w8, [x9, #108]
ldur w8, [x29, #-24]
ldur x9, [x29, #-16]
str w8, [x9, #104]
b LBB25_20
LBB25_20:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
bl _set_file_offset
b LBB25_21
LBB25_21:
ldur x8, [x29, #-16]
ldr w8, [x8, #876]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB25_23
b LBB25_22
LBB25_22:
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB25_24
LBB25_23:
ldur x8, [x29, #-16]
ldr w8, [x8, #876]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB25_24
LBB25_24:
ldr w8, [sp, #12] ; 4-byte Folded Reload
stur w8, [x29, #-4]
b LBB25_25
LBB25_25:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_find_page
_vorbis_find_page: ; @vorbis_find_page
.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]
stur x0, [x29, #-48]
str x1, [sp, #56]
str x2, [sp, #48]
b LBB26_1
LBB26_1: ; =>This Loop Header: Depth=1
; Child Loop BB26_7 Depth 2
; Child Loop BB26_16 Depth 2
; Child Loop BB26_20 Depth 2
; Child Loop BB26_28 Depth 2
; Child Loop BB26_32 Depth 2
; Child Loop BB26_36 Depth 2
; Child Loop BB26_43 Depth 2
ldur x8, [x29, #-48]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB26_3
b LBB26_2
LBB26_2:
stur wzr, [x29, #-40]
b LBB26_59
LBB26_3: ; in Loop: Header=BB26_1 Depth=1
ldur x0, [x29, #-48]
bl _get8
and w8, w0, #0xff
str w8, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #79
cset w8, ne
tbnz w8, #0, LBB26_58
b LBB26_4
LBB26_4: ; in Loop: Header=BB26_1 Depth=1
ldur x0, [x29, #-48]
bl _stb_vorbis_get_file_offset
str w0, [sp, #40]
ldr w8, [sp, #40]
subs w8, w8, #25
ldur x9, [x29, #-48]
ldr w9, [x9, #64]
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB26_6
b LBB26_5
LBB26_5:
stur wzr, [x29, #-40]
b LBB26_59
LBB26_6: ; in Loop: Header=BB26_1 Depth=1
mov w8, #1
str w8, [sp, #36]
b LBB26_7
LBB26_7: ; Parent Loop BB26_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB26_12
b LBB26_8
LBB26_8: ; in Loop: Header=BB26_7 Depth=2
ldur x0, [x29, #-48]
bl _get8
ldrsw x9, [sp, #36]
adrp x8, _ogg_page_header@PAGE
add x8, x8, _ogg_page_header@PAGEOFF
ldrb w8, [x8, x9]
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB26_10
b LBB26_9
LBB26_9: ; in Loop: Header=BB26_1 Depth=1
b LBB26_12
LBB26_10: ; in Loop: Header=BB26_7 Depth=2
b LBB26_11
LBB26_11: ; in Loop: Header=BB26_7 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB26_7
LBB26_12: ; in Loop: Header=BB26_1 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB26_14
b LBB26_13
LBB26_13:
stur wzr, [x29, #-40]
b LBB26_59
LBB26_14: ; in Loop: Header=BB26_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB26_56
b LBB26_15
LBB26_15: ; in Loop: Header=BB26_1 Depth=1
str wzr, [sp, #32]
b LBB26_16
LBB26_16: ; Parent Loop BB26_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
subs w8, w8, #4
cset w8, hs
tbnz w8, #0, LBB26_19
b LBB26_17
LBB26_17: ; in Loop: Header=BB26_16 Depth=2
ldr w8, [sp, #32]
mov x9, x8
adrp x8, _ogg_page_header@PAGE
add x8, x8, _ogg_page_header@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
ldr w9, [sp, #32]
mov x10, x9
sub x9, x29, #35
add x9, x9, x10
strb w8, [x9]
b LBB26_18
LBB26_18: ; in Loop: Header=BB26_16 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB26_16
LBB26_19: ; in Loop: Header=BB26_1 Depth=1
b LBB26_20
LBB26_20: ; Parent Loop BB26_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
subs w8, w8, #27
cset w8, hs
tbnz w8, #0, LBB26_23
b LBB26_21
LBB26_21: ; in Loop: Header=BB26_20 Depth=2
ldur x0, [x29, #-48]
bl _get8
ldr w8, [sp, #32]
mov x9, x8
sub x8, x29, #35
strb w0, [x8, x9]
b LBB26_22
LBB26_22: ; in Loop: Header=BB26_20 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB26_20
LBB26_23: ; in Loop: Header=BB26_1 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB26_25
b LBB26_24
LBB26_24:
stur wzr, [x29, #-40]
b LBB26_59
LBB26_25: ; in Loop: Header=BB26_1 Depth=1
ldurb w8, [x29, #-31]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB26_27
b LBB26_26
LBB26_26: ; in Loop: Header=BB26_1 Depth=1
b LBB26_57
LBB26_27: ; in Loop: Header=BB26_1 Depth=1
ldurb w8, [x29, #-13]
ldurb w9, [x29, #-12]
add w8, w8, w9, lsl #8
ldurb w9, [x29, #-11]
add w8, w8, w9, lsl #16
ldurb w9, [x29, #-10]
add w8, w8, w9, lsl #24
str w8, [sp, #24]
mov w8, #22
str w8, [sp, #32]
b LBB26_28
LBB26_28: ; Parent Loop BB26_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
subs w8, w8, #26
cset w8, hs
tbnz w8, #0, LBB26_31
b LBB26_29
LBB26_29: ; in Loop: Header=BB26_28 Depth=2
ldr w8, [sp, #32]
mov x9, x8
sub x8, x29, #35
add x8, x8, x9
strb wzr, [x8]
b LBB26_30
LBB26_30: ; in Loop: Header=BB26_28 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB26_28
LBB26_31: ; in Loop: Header=BB26_1 Depth=1
str wzr, [sp, #28]
str wzr, [sp, #32]
b LBB26_32
LBB26_32: ; Parent Loop BB26_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
subs w8, w8, #27
cset w8, hs
tbnz w8, #0, LBB26_35
b LBB26_33
LBB26_33: ; in Loop: Header=BB26_32 Depth=2
ldr w0, [sp, #28]
ldr w8, [sp, #32]
mov x9, x8
sub x8, x29, #35
ldrb w1, [x8, x9]
bl _crc32_update
str w0, [sp, #28]
b LBB26_34
LBB26_34: ; in Loop: Header=BB26_32 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB26_32
LBB26_35: ; in Loop: Header=BB26_1 Depth=1
str wzr, [sp, #20]
str wzr, [sp, #32]
b LBB26_36
LBB26_36: ; Parent Loop BB26_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
ldurb w9, [x29, #-9]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB26_39
b LBB26_37
LBB26_37: ; in Loop: Header=BB26_36 Depth=2
ldur x0, [x29, #-48]
bl _get8
and w8, w0, #0xff
str w8, [sp, #16]
ldr w0, [sp, #28]
ldr w8, [sp, #16]
and w1, w8, #0xff
bl _crc32_update
str w0, [sp, #28]
ldr w9, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
b LBB26_38
LBB26_38: ; in Loop: Header=BB26_36 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB26_36
LBB26_39: ; in Loop: Header=BB26_1 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB26_42
b LBB26_40
LBB26_40: ; in Loop: Header=BB26_1 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB26_42
b LBB26_41
LBB26_41:
stur wzr, [x29, #-40]
b LBB26_59
LBB26_42: ; in Loop: Header=BB26_1 Depth=1
str wzr, [sp, #32]
b LBB26_43
LBB26_43: ; Parent Loop BB26_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB26_46
b LBB26_44
LBB26_44: ; in Loop: Header=BB26_43 Depth=2
ldr w8, [sp, #28]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x0, [x29, #-48]
bl _get8
mov x8, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
and w1, w8, #0xff
bl _crc32_update
str w0, [sp, #28]
b LBB26_45
LBB26_45: ; in Loop: Header=BB26_43 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB26_43
LBB26_46: ; in Loop: Header=BB26_1 Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB26_55
b LBB26_47
LBB26_47:
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB26_49
b LBB26_48
LBB26_48:
ldur x0, [x29, #-48]
bl _stb_vorbis_get_file_offset
ldr x8, [sp, #56]
str w0, [x8]
b LBB26_49
LBB26_49:
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB26_54
b LBB26_50
LBB26_50:
ldurb w8, [x29, #-30]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB26_52
b LBB26_51
LBB26_51:
ldr x9, [sp, #48]
mov w8, #1
str w8, [x9]
b LBB26_53
LBB26_52:
ldr x8, [sp, #48]
str wzr, [x8]
b LBB26_53
LBB26_53:
b LBB26_54
LBB26_54:
ldur x0, [x29, #-48]
ldr w8, [sp, #40]
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
subs w1, w8, #1
bl _set_file_offset
ldr w8, [sp, #8] ; 4-byte Folded Reload
stur w8, [x29, #-40]
b LBB26_59
LBB26_55: ; in Loop: Header=BB26_1 Depth=1
b LBB26_56
LBB26_56: ; in Loop: Header=BB26_1 Depth=1
b LBB26_57
LBB26_57: ; in Loop: Header=BB26_1 Depth=1
ldur x0, [x29, #-48]
ldr w1, [sp, #40]
bl _set_file_offset
b LBB26_58
LBB26_58: ; in Loop: Header=BB26_1 Depth=1
b LBB26_1
LBB26_59:
ldur w8, [x29, #-40]
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, LBB26_61
b LBB26_60
LBB26_60:
bl ___stack_chk_fail
LBB26_61:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function getn
_getn: ; @getn
.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, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB27_4
b LBB27_1
LBB27_1:
ldr x8, [sp, #16]
ldr x8, [x8, #40]
ldrsw x9, [sp, #4]
add x8, x8, x9
ldr x9, [sp, #16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB27_3
b LBB27_2
LBB27_2:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #144]
stur wzr, [x29, #-4]
b LBB27_7
LBB27_3:
ldr x0, [sp, #8]
ldr x8, [sp, #16]
ldr x1, [x8, #40]
ldrsw x2, [sp, #4]
mov x3, #-1
bl ___memcpy_chk
ldrsw x10, [sp, #4]
ldr x9, [sp, #16]
ldr x8, [x9, #40]
add x8, x8, x10
str x8, [x9, #40]
mov w8, #1
stur w8, [x29, #-4]
b LBB27_7
LBB27_4:
ldr x0, [sp, #8]
ldrsw x1, [sp, #4]
ldr x8, [sp, #16]
ldr x3, [x8, #24]
mov x2, #1
bl _fread
subs x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB27_6
b LBB27_5
LBB27_5:
mov w8, #1
stur w8, [x29, #-4]
b LBB27_7
LBB27_6:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #144]
stur wzr, [x29, #-4]
b LBB27_7
LBB27_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function get32
_get32: ; @get32
.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 _get8
and w8, w0, #0xff
str w8, [sp, #4]
ldr x0, [sp, #8]
bl _get8
and w9, w0, #0xff
ldr w8, [sp, #4]
add w8, w8, w9, lsl #8
str w8, [sp, #4]
ldr x0, [sp, #8]
bl _get8
and w9, w0, #0xff
ldr w8, [sp, #4]
add w8, w8, w9, lsl #16
str w8, [sp, #4]
ldr x0, [sp, #8]
bl _get8
and w9, w0, #0xff
ldr w8, [sp, #4]
add w8, w8, w9, lsl #24
str w8, [sp, #4]
ldr w0, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_stream_length_in_seconds ; -- Begin function stb_vorbis_stream_length_in_seconds
.p2align 2
_stb_vorbis_stream_length_in_seconds: ; @stb_vorbis_stream_length_in_seconds
.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 _stb_vorbis_stream_length_in_samples
ucvtf s0, w0
ldr x8, [sp, #8]
ldr s1, [x8]
ucvtf s1, s1
fdiv s0, s0, s1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_frame_float ; -- Begin function stb_vorbis_get_frame_float
.p2align 2
_stb_vorbis_get_frame_float: ; @stb_vorbis_get_frame_float
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldur x8, [x29, #-16]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB30_2
b LBB30_1
LBB30_1:
ldur x0, [x29, #-16]
mov w1, #2
bl _error
stur w0, [x29, #-4]
b LBB30_13
LBB30_2:
ldur x0, [x29, #-16]
add x1, sp, #12
add x2, sp, #4
add x3, sp, #8
bl _vorbis_decode_packet
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB30_4
b LBB30_3
LBB30_3:
ldur x8, [x29, #-16]
str wzr, [x8, #1888]
ldur x8, [x29, #-16]
str wzr, [x8, #1884]
stur wzr, [x29, #-4]
b LBB30_13
LBB30_4:
ldur x0, [x29, #-16]
ldr w1, [sp, #12]
ldr w2, [sp, #4]
ldr w3, [sp, #8]
bl _vorbis_finish_frame
str w0, [sp, #12]
str wzr, [sp]
b LBB30_5
LBB30_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_8
b LBB30_6
LBB30_6: ; in Loop: Header=BB30_5 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #880
ldrsw x9, [sp]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
add x9, x9, #1008
ldrsw x10, [sp]
str x8, [x9, x10, lsl #3]
b LBB30_7
LBB30_7: ; in Loop: Header=BB30_5 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB30_5
LBB30_8:
ldr w8, [sp, #4]
ldur x9, [x29, #-16]
str w8, [x9, #1884]
ldr w8, [sp, #4]
ldr w9, [sp, #12]
add w8, w8, w9
ldur x9, [x29, #-16]
str w8, [x9, #1888]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_10
b LBB30_9
LBB30_9:
ldur x8, [x29, #-16]
ldr w8, [x8, #4]
ldr x9, [sp, #24]
str w8, [x9]
b LBB30_10
LBB30_10:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_12
b LBB30_11
LBB30_11:
ldur x8, [x29, #-16]
add x8, x8, #1008
ldr x9, [sp, #16]
str x8, [x9]
b LBB30_12
LBB30_12:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB30_13
LBB30_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_open_file_section ; -- Begin function stb_vorbis_open_file_section
.p2align 2
_stb_vorbis_open_file_section: ; @stb_vorbis_open_file_section
.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, #1984
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 w1, [sp, #60]
str x2, [sp, #48]
str x3, [sp, #40]
str w4, [sp, #36]
ldr x1, [sp, #40]
add x0, sp, #80
str x0, [sp, #16] ; 8-byte Folded Spill
bl _vorbis_init
ldr x8, [sp, #64]
str x8, [sp, #104]
ldr x0, [sp, #64]
bl _ftell
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #112]
ldr w8, [sp, #36]
str w8, [sp, #144]
ldr w8, [sp, #60]
str w8, [sp, #116]
bl _start_decoder
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB31_4
b LBB31_1
LBB31_1:
add x0, sp, #80
bl _vorbis_alloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB31_3
b LBB31_2
LBB31_2:
ldr x0, [sp, #24]
add x1, sp, #80
mov x2, #1896
bl _memcpy
ldr x0, [sp, #24]
bl _vorbis_pump_first_frame
ldr x8, [sp, #24]
str x8, [sp, #72]
b LBB31_7
LBB31_3:
b LBB31_4
LBB31_4:
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB31_6
b LBB31_5
LBB31_5:
ldr w8, [sp, #228]
ldr x9, [sp, #48]
str w8, [x9]
b LBB31_6
LBB31_6:
add x0, sp, #80
bl _vorbis_deinit
; kill: def $x8 killed $xzr
str xzr, [sp, #72]
b LBB31_7
LBB31_7:
ldr x8, [sp, #72]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB31_9
b LBB31_8
LBB31_8:
bl ___stack_chk_fail
LBB31_9:
ldr x0, [sp, #8] ; 8-byte Folded Reload
add sp, sp, #1984
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_open_file ; -- Begin function stb_vorbis_open_file
.p2align 2
_stb_vorbis_open_file: ; @stb_vorbis_open_file
.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 x3, [sp, #16]
ldur x0, [x29, #-8]
bl _ftell
mov x8, x0
str w8, [sp, #8]
ldur x0, [x29, #-8]
mov x1, #0
mov w2, #2
bl _fseek
ldur x0, [x29, #-8]
bl _ftell
ldr w8, [sp, #8]
; kill: def $x8 killed $w8
subs x8, x0, x8
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
ldur x0, [x29, #-8]
ldr w8, [sp, #8]
mov x1, x8
mov w2, #0
bl _fseek
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr x2, [sp, #24]
ldr x3, [sp, #16]
ldr w4, [sp, #12]
bl _stb_vorbis_open_file_section
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_open_filename ; -- Begin function stb_vorbis_open_filename
.p2align 2
_stb_vorbis_open_filename: ; @stb_vorbis_open_filename
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldur x0, [x29, #-16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB33_2
b LBB33_1
LBB33_1:
ldr x0, [sp, #8]
ldr x2, [sp, #24]
ldr x3, [sp, #16]
mov w1, #1
bl _stb_vorbis_open_file
stur x0, [x29, #-8]
b LBB33_5
LBB33_2:
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB33_4
b LBB33_3
LBB33_3:
ldr x9, [sp, #24]
mov w8, #6
str w8, [x9]
b LBB33_4
LBB33_4:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB33_5
LBB33_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_open_memory ; -- Begin function stb_vorbis_open_memory
.p2align 2
_stb_vorbis_open_memory: ; @stb_vorbis_open_memory
.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, #1968
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #48]
str w1, [sp, #44]
str x2, [sp, #32]
str x3, [sp, #24]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB34_2
b LBB34_1
LBB34_1:
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB34_9
LBB34_2:
ldr x1, [sp, #24]
add x0, sp, #64
str x0, [sp, #8] ; 8-byte Folded Spill
bl _vorbis_init
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #48]
str x8, [sp, #104]
ldr x8, [sp, #48]
ldrsw x9, [sp, #44]
add x8, x8, x9
str x8, [sp, #120]
ldr x8, [sp, #104]
str x8, [sp, #112]
ldr w8, [sp, #44]
str w8, [sp, #128]
strb wzr, [sp, #132]
bl _start_decoder
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB34_6
b LBB34_3
LBB34_3:
add x0, sp, #64
bl _vorbis_alloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB34_5
b LBB34_4
LBB34_4:
ldr x0, [sp, #16]
add x1, sp, #64
mov x2, #1896
bl _memcpy
ldr x0, [sp, #16]
bl _vorbis_pump_first_frame
ldr x8, [sp, #16]
str x8, [sp, #56]
b LBB34_9
LBB34_5:
b LBB34_6
LBB34_6:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB34_8
b LBB34_7
LBB34_7:
ldr w8, [sp, #212]
ldr x9, [sp, #32]
str w8, [x9]
b LBB34_8
LBB34_8:
add x0, sp, #64
bl _vorbis_deinit
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB34_9
LBB34_9:
ldr x8, [sp, #56]
str x8, [sp] ; 8-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB34_11
b LBB34_10
LBB34_10:
bl ___stack_chk_fail
LBB34_11:
ldr x0, [sp] ; 8-byte Folded Reload
add sp, sp, #1968
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_frame_short ; -- Begin function stb_vorbis_get_frame_short
.p2align 2
_stb_vorbis_get_frame_short: ; @stb_vorbis_get_frame_short
.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 w3, [sp, #20]
ldur x0, [x29, #-8]
mov x1, #0
add x2, sp, #8
bl _stb_vorbis_get_frame_float
str w0, [sp, #4]
ldr w8, [sp, #4]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB35_2
b LBB35_1
LBB35_1:
ldr w8, [sp, #20]
str w8, [sp, #4]
b LBB35_2
LBB35_2:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB35_4
b LBB35_3
LBB35_3:
ldur w0, [x29, #-12]
ldr x1, [sp, #24]
ldur x8, [x29, #-8]
ldr w3, [x8, #4]
ldr x4, [sp, #8]
ldr w6, [sp, #4]
mov w5, #0
mov x2, x5
bl _convert_samples_short
b LBB35_4
LBB35_4:
ldr w0, [sp, #4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function convert_samples_short
_convert_samples_short: ; @convert_samples_short
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
stur w3, [x29, #-24]
str x4, [sp, #32]
str w5, [sp, #28]
str w6, [sp, #24]
ldur w8, [x29, #-4]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB36_8
b LBB36_1
LBB36_1:
ldur w8, [x29, #-4]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB36_8
b LBB36_2
LBB36_2:
ldur w8, [x29, #-24]
subs w8, w8, #6
cset w8, gt
tbnz w8, #0, LBB36_8
b LBB36_3
LBB36_3:
str wzr, [sp, #20]
b LBB36_4
LBB36_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB36_7
b LBB36_5
LBB36_5: ; in Loop: Header=BB36_4 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _convert_samples_short.channel_selector@PAGE
add x8, x8, _convert_samples_short.channel_selector@PAGEOFF
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #20]
ldr w0, [x8, x9, lsl #2]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-20]
add x1, x8, x9, lsl #1
ldur w2, [x29, #-24]
ldr x3, [sp, #32]
ldr w4, [sp, #28]
ldr w5, [sp, #24]
bl _compute_samples
b LBB36_6
LBB36_6: ; in Loop: Header=BB36_4 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB36_4
LBB36_7:
b LBB36_20
LBB36_8:
ldur w8, [x29, #-4]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB36_10
b LBB36_9
LBB36_9:
ldur w8, [x29, #-4]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB36_11
LBB36_10:
ldur w8, [x29, #-24]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB36_11
LBB36_11:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #16]
str wzr, [sp, #20]
b LBB36_12
LBB36_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB36_15
b LBB36_13
LBB36_13: ; in Loop: Header=BB36_12 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-20]
add x0, x8, x9, lsl #1
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #28]
add x1, x8, x9, lsl #2
ldr w2, [sp, #24]
bl _copy_samples
b LBB36_14
LBB36_14: ; in Loop: Header=BB36_12 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB36_12
LBB36_15:
b LBB36_16
LBB36_16: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB36_19
b LBB36_17
LBB36_17: ; in Loop: Header=BB36_16 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-20]
add x0, x8, x9, lsl #1
ldrsw x9, [sp, #24]
mov x8, #2
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB36_18
LBB36_18: ; in Loop: Header=BB36_16 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB36_16
LBB36_19:
b LBB36_20
LBB36_20:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_frame_short_interleaved ; -- Begin function stb_vorbis_get_frame_short_interleaved
.p2align 2
_stb_vorbis_get_frame_short_interleaved: ; @stb_vorbis_get_frame_short_interleaved
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
str x2, [sp, #32]
str w3, [sp, #28]
ldur w8, [x29, #-20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB37_2
b LBB37_1
LBB37_1:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr w3, [sp, #28]
add x2, sp, #32
bl _stb_vorbis_get_frame_short
stur w0, [x29, #-4]
b LBB37_7
LBB37_2:
ldur x0, [x29, #-16]
mov x1, #0
add x2, sp, #16
bl _stb_vorbis_get_frame_float
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB37_6
b LBB37_3
LBB37_3:
ldr w8, [sp, #12]
ldur w9, [x29, #-20]
mul w8, w8, w9
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB37_5
b LBB37_4
LBB37_4:
ldr w8, [sp, #28]
ldur w9, [x29, #-20]
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB37_5
LBB37_5:
ldur w0, [x29, #-20]
ldr x1, [sp, #32]
ldur x8, [x29, #-16]
ldr w2, [x8, #4]
ldr x3, [sp, #16]
ldr w5, [sp, #12]
mov w4, #0
bl _convert_channels_short_interleaved
b LBB37_6
LBB37_6:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB37_7
LBB37_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function convert_channels_short_interleaved
_convert_channels_short_interleaved: ; @convert_channels_short_interleaved
.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 w0, [x29, #-4]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
stur x3, [x29, #-32]
stur w4, [x29, #-36]
str w5, [sp, #40]
ldur w8, [x29, #-4]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB38_11
b LBB38_1
LBB38_1:
ldur w8, [x29, #-4]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB38_11
b LBB38_2
LBB38_2:
ldur w8, [x29, #-20]
subs w8, w8, #6
cset w8, gt
tbnz w8, #0, LBB38_11
b LBB38_3
LBB38_3:
ldur w8, [x29, #-4]
subs w8, w8, #2
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB38_5
b LBB38_4
LBB38_4:
adrp x0, l___func__.convert_channels_short_interleaved@PAGE
add x0, x0, l___func__.convert_channels_short_interleaved@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #5205
adrp x3, l_.str.24@PAGE
add x3, x3, l_.str.24@PAGEOFF
bl ___assert_rtn
LBB38_5:
b LBB38_6
LBB38_6:
str wzr, [sp, #36]
b LBB38_7
LBB38_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB38_10
b LBB38_8
LBB38_8: ; in Loop: Header=BB38_7 Depth=1
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldur x2, [x29, #-32]
ldur w3, [x29, #-36]
ldr w4, [sp, #40]
bl _compute_stereo_samples
b LBB38_9
LBB38_9: ; in Loop: Header=BB38_7 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB38_7
LBB38_10:
b LBB38_29
LBB38_11:
ldur w8, [x29, #-4]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB38_13
b LBB38_12
LBB38_12:
ldur w8, [x29, #-4]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB38_14
LBB38_13:
ldur w8, [x29, #-20]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB38_14
LBB38_14:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #32]
str wzr, [sp, #28]
b LBB38_15
LBB38_15: ; =>This Loop Header: Depth=1
; Child Loop BB38_17 Depth 2
; Child Loop BB38_23 Depth 2
ldr w8, [sp, #28]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB38_28
b LBB38_16
LBB38_16: ; in Loop: Header=BB38_15 Depth=1
str wzr, [sp, #36]
b LBB38_17
LBB38_17: ; Parent Loop BB38_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB38_22
b LBB38_18
LBB38_18: ; in Loop: Header=BB38_17 Depth=2
ldur x8, [x29, #-32]
ldrsw x9, [sp, #36]
ldr x8, [x8, x9, lsl #3]
ldur w9, [x29, #-36]
ldr w10, [sp, #28]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #20]
ldr s0, [sp, #20]
mov w8, #1136656384
fmov s1, w8
fadd s0, s0, s1
str s0, [sp, #24]
ldr w8, [sp, #24]
mov w9, #1136656384
subs w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #16]
add w8, w8, #8, lsl #12 ; =32768
subs w8, w8, #16, lsl #12 ; =65536
cset w8, lo
tbnz w8, #0, LBB38_20
b LBB38_19
LBB38_19: ; in Loop: Header=BB38_17 Depth=2
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, lt
and w10, w8, #0x1
mov w9, #32767
mov w8, #-32768
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #16]
b LBB38_20
LBB38_20: ; in Loop: Header=BB38_17 Depth=2
ldr w8, [sp, #16]
ldur x9, [x29, #-16]
add x10, x9, #2
stur x10, [x29, #-16]
strh w8, [x9]
b LBB38_21
LBB38_21: ; in Loop: Header=BB38_17 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB38_17
LBB38_22: ; in Loop: Header=BB38_15 Depth=1
b LBB38_23
LBB38_23: ; Parent Loop BB38_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB38_26
b LBB38_24
LBB38_24: ; in Loop: Header=BB38_23 Depth=2
ldur x8, [x29, #-16]
add x9, x8, #2
stur x9, [x29, #-16]
strh wzr, [x8]
b LBB38_25
LBB38_25: ; in Loop: Header=BB38_23 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB38_23
LBB38_26: ; in Loop: Header=BB38_15 Depth=1
b LBB38_27
LBB38_27: ; in Loop: Header=BB38_15 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB38_15
LBB38_28:
b LBB38_29
LBB38_29:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_samples_short_interleaved ; -- Begin function stb_vorbis_get_samples_short_interleaved
.p2align 2
_stb_vorbis_get_samples_short_interleaved: ; @stb_vorbis_get_samples_short_interleaved
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
ldur w8, [x29, #-28]
ldur w9, [x29, #-12]
sdiv w8, w8, w9
str w8, [sp, #20]
str wzr, [sp, #16]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #12]
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB39_2
b LBB39_1
LBB39_1:
ldur w8, [x29, #-12]
str w8, [sp, #12]
b LBB39_2
LBB39_2:
b LBB39_3
LBB39_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB39_13
b LBB39_4
LBB39_4: ; in Loop: Header=BB39_3 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8, #1888]
ldur x9, [x29, #-8]
ldr w9, [x9, #1884]
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #16]
ldr w9, [sp, #8]
add w8, w8, w9
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB39_6
b LBB39_5
LBB39_5: ; in Loop: Header=BB39_3 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
str w8, [sp, #8]
b LBB39_6
LBB39_6: ; in Loop: Header=BB39_3 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB39_8
b LBB39_7
LBB39_7: ; in Loop: Header=BB39_3 Depth=1
ldur w0, [x29, #-12]
ldur x1, [x29, #-24]
ldur x8, [x29, #-8]
ldr w2, [x8, #4]
ldur x8, [x29, #-8]
add x3, x8, #880
ldur x8, [x29, #-8]
ldr w4, [x8, #1884]
ldr w5, [sp, #8]
bl _convert_channels_short_interleaved
b LBB39_8
LBB39_8: ; in Loop: Header=BB39_3 Depth=1
ldr w8, [sp, #8]
ldur w9, [x29, #-12]
mul w9, w8, w9
ldur x8, [x29, #-24]
add x8, x8, w9, sxtw #1
stur x8, [x29, #-24]
ldr w9, [sp, #8]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
ldr w10, [sp, #8]
ldur x9, [x29, #-8]
ldr w8, [x9, #1884]
add w8, w8, w10
str w8, [x9, #1884]
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB39_10
b LBB39_9
LBB39_9:
b LBB39_13
LBB39_10: ; in Loop: Header=BB39_3 Depth=1
ldur x0, [x29, #-8]
mov x1, #0
add x2, sp, #24
bl _stb_vorbis_get_frame_float
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB39_12
b LBB39_11
LBB39_11:
b LBB39_13
LBB39_12: ; in Loop: Header=BB39_3 Depth=1
b LBB39_3
LBB39_13:
ldr w0, [sp, #16]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_samples_short ; -- Begin function stb_vorbis_get_samples_short
.p2align 2
_stb_vorbis_get_samples_short: ; @stb_vorbis_get_samples_short
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
str wzr, [sp, #20]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #16]
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB40_2
b LBB40_1
LBB40_1:
ldur w8, [x29, #-12]
str w8, [sp, #16]
b LBB40_2
LBB40_2:
b LBB40_3
LBB40_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB40_13
b LBB40_4
LBB40_4: ; in Loop: Header=BB40_3 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8, #1888]
ldur x9, [x29, #-8]
ldr w9, [x9, #1884]
subs w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #20]
ldr w9, [sp, #12]
add w8, w8, w9
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB40_6
b LBB40_5
LBB40_5: ; in Loop: Header=BB40_3 Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #12]
b LBB40_6
LBB40_6: ; in Loop: Header=BB40_3 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB40_8
b LBB40_7
LBB40_7: ; in Loop: Header=BB40_3 Depth=1
ldur w0, [x29, #-12]
ldur x1, [x29, #-24]
ldr w2, [sp, #20]
ldur x8, [x29, #-8]
ldr w3, [x8, #4]
ldur x8, [x29, #-8]
add x4, x8, #880
ldur x8, [x29, #-8]
ldr w5, [x8, #1884]
ldr w6, [sp, #12]
bl _convert_samples_short
b LBB40_8
LBB40_8: ; in Loop: Header=BB40_3 Depth=1
ldr w9, [sp, #12]
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
ldr w10, [sp, #12]
ldur x9, [x29, #-8]
ldr w8, [x9, #1884]
add w8, w8, w10
str w8, [x9, #1884]
ldr w8, [sp, #20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB40_10
b LBB40_9
LBB40_9:
b LBB40_13
LBB40_10: ; in Loop: Header=BB40_3 Depth=1
ldur x0, [x29, #-8]
mov x1, #0
add x2, sp, #24
bl _stb_vorbis_get_frame_float
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB40_12
b LBB40_11
LBB40_11:
b LBB40_13
LBB40_12: ; in Loop: Header=BB40_3 Depth=1
b LBB40_3
LBB40_13:
ldr w0, [sp, #20]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_decode_filename ; -- Begin function stb_vorbis_decode_filename
.p2align 2
_stb_vorbis_decode_filename: ; @stb_vorbis_decode_filename
.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]
stur x3, [x29, #-40]
ldur x0, [x29, #-16]
add x1, sp, #36
mov x2, #0
bl _stb_vorbis_open_filename
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB41_2
b LBB41_1
LBB41_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB41_15
LBB41_2:
ldr x8, [sp, #16]
ldr w8, [x8, #4]
lsl w8, w8, #12
str w8, [sp, #40]
ldr x8, [sp, #16]
ldr w8, [x8, #4]
ldur x9, [x29, #-24]
str w8, [x9]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB41_4
b LBB41_3
LBB41_3:
ldr x8, [sp, #16]
ldr w8, [x8]
ldur x9, [x29, #-32]
str w8, [x9]
b LBB41_4
LBB41_4:
stur wzr, [x29, #-44]
str wzr, [sp, #48]
ldr w8, [sp, #40]
str w8, [sp, #44]
ldrsw x8, [sp, #44]
lsl x0, x8, #1
bl _malloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB41_6
b LBB41_5
LBB41_5:
ldr x0, [sp, #16]
bl _stb_vorbis_close
mov w8, #-2
stur w8, [x29, #-4]
b LBB41_15
LBB41_6:
b LBB41_7
LBB41_7: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #16]
ldr x8, [sp, #16]
ldr w1, [x8, #4]
ldr x8, [sp, #24]
ldrsw x9, [sp, #48]
add x2, x8, x9, lsl #1
ldr w8, [sp, #44]
ldr w9, [sp, #48]
subs w3, w8, w9
bl _stb_vorbis_get_frame_short_interleaved
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB41_9
b LBB41_8
LBB41_8:
b LBB41_14
LBB41_9: ; in Loop: Header=BB41_7 Depth=1
ldr w9, [sp, #12]
ldur w8, [x29, #-44]
add w8, w8, w9
stur w8, [x29, #-44]
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9, #4]
mul w9, w8, w9
ldr w8, [sp, #48]
add w8, w8, w9
str w8, [sp, #48]
ldr w8, [sp, #48]
ldr w9, [sp, #40]
add w8, w8, w9
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB41_13
b LBB41_10
LBB41_10: ; in Loop: Header=BB41_7 Depth=1
ldr w8, [sp, #44]
lsl w8, w8, #1
str w8, [sp, #44]
ldr x0, [sp, #24]
ldrsw x8, [sp, #44]
lsl x1, x8, #1
bl _realloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB41_12
b LBB41_11
LBB41_11:
ldr x0, [sp, #24]
bl _free
ldr x0, [sp, #16]
bl _stb_vorbis_close
mov w8, #-2
stur w8, [x29, #-4]
b LBB41_15
LBB41_12: ; in Loop: Header=BB41_7 Depth=1
ldr x8, [sp]
str x8, [sp, #24]
b LBB41_13
LBB41_13: ; in Loop: Header=BB41_7 Depth=1
b LBB41_7
LBB41_14:
ldr x8, [sp, #24]
ldur x9, [x29, #-40]
str x8, [x9]
ldr x0, [sp, #16]
bl _stb_vorbis_close
ldur w8, [x29, #-44]
stur w8, [x29, #-4]
b LBB41_15
LBB41_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_decode_memory ; -- Begin function stb_vorbis_decode_memory
.p2align 2
_stb_vorbis_decode_memory: ; @stb_vorbis_decode_memory
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
stur x4, [x29, #-48]
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
add x2, sp, #44
mov x3, #0
bl _stb_vorbis_open_memory
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB42_2
b LBB42_1
LBB42_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB42_15
LBB42_2:
ldr x8, [sp, #24]
ldr w8, [x8, #4]
lsl w8, w8, #12
str w8, [sp, #48]
ldr x8, [sp, #24]
ldr w8, [x8, #4]
ldur x9, [x29, #-32]
str w8, [x9]
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB42_4
b LBB42_3
LBB42_3:
ldr x8, [sp, #24]
ldr w8, [x8]
ldur x9, [x29, #-40]
str w8, [x9]
b LBB42_4
LBB42_4:
stur wzr, [x29, #-52]
str wzr, [sp, #56]
ldr w8, [sp, #48]
str w8, [sp, #52]
ldrsw x8, [sp, #52]
lsl x0, x8, #1
bl _malloc
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB42_6
b LBB42_5
LBB42_5:
ldr x0, [sp, #24]
bl _stb_vorbis_close
mov w8, #-2
stur w8, [x29, #-4]
b LBB42_15
LBB42_6:
b LBB42_7
LBB42_7: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #24]
ldr x8, [sp, #24]
ldr w1, [x8, #4]
ldr x8, [sp, #32]
ldrsw x9, [sp, #56]
add x2, x8, x9, lsl #1
ldr w8, [sp, #52]
ldr w9, [sp, #56]
subs w3, w8, w9
bl _stb_vorbis_get_frame_short_interleaved
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB42_9
b LBB42_8
LBB42_8:
b LBB42_14
LBB42_9: ; in Loop: Header=BB42_7 Depth=1
ldr w9, [sp, #20]
ldur w8, [x29, #-52]
add w8, w8, w9
stur w8, [x29, #-52]
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldr w9, [x9, #4]
mul w9, w8, w9
ldr w8, [sp, #56]
add w8, w8, w9
str w8, [sp, #56]
ldr w8, [sp, #56]
ldr w9, [sp, #48]
add w8, w8, w9
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB42_13
b LBB42_10
LBB42_10: ; in Loop: Header=BB42_7 Depth=1
ldr w8, [sp, #52]
lsl w8, w8, #1
str w8, [sp, #52]
ldr x0, [sp, #32]
ldrsw x8, [sp, #52]
lsl x1, x8, #1
bl _realloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB42_12
b LBB42_11
LBB42_11:
ldr x0, [sp, #32]
bl _free
ldr x0, [sp, #24]
bl _stb_vorbis_close
mov w8, #-2
stur w8, [x29, #-4]
b LBB42_15
LBB42_12: ; in Loop: Header=BB42_7 Depth=1
ldr x8, [sp, #8]
str x8, [sp, #32]
b LBB42_13
LBB42_13: ; in Loop: Header=BB42_7 Depth=1
b LBB42_7
LBB42_14:
ldr x8, [sp, #32]
ldur x9, [x29, #-48]
str x8, [x9]
ldr x0, [sp, #24]
bl _stb_vorbis_close
ldur w8, [x29, #-52]
stur w8, [x29, #-4]
b LBB42_15
LBB42_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_samples_float_interleaved ; -- Begin function stb_vorbis_get_samples_float_interleaved
.p2align 2
_stb_vorbis_get_samples_float_interleaved: ; @stb_vorbis_get_samples_float_interleaved
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
ldur w8, [x29, #-28]
ldur w9, [x29, #-12]
sdiv w8, w8, w9
str w8, [sp, #20]
str wzr, [sp, #16]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #12]
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB43_2
b LBB43_1
LBB43_1:
ldur w8, [x29, #-12]
str w8, [sp, #12]
b LBB43_2
LBB43_2:
b LBB43_3
LBB43_3: ; =>This Loop Header: Depth=1
; Child Loop BB43_7 Depth 2
; Child Loop BB43_9 Depth 3
; Child Loop BB43_13 Depth 3
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB43_23
b LBB43_4
LBB43_4: ; in Loop: Header=BB43_3 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8, #1888]
ldur x9, [x29, #-8]
ldr w9, [x9, #1884]
subs w8, w8, w9
str w8, [sp]
ldr w8, [sp, #16]
ldr w9, [sp]
add w8, w8, w9
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB43_6
b LBB43_5
LBB43_5: ; in Loop: Header=BB43_3 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
str w8, [sp]
b LBB43_6
LBB43_6: ; in Loop: Header=BB43_3 Depth=1
str wzr, [sp, #4]
b LBB43_7
LBB43_7: ; Parent Loop BB43_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB43_9 Depth 3
; Child Loop BB43_13 Depth 3
ldr w8, [sp, #4]
ldr w9, [sp]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB43_18
b LBB43_8
LBB43_8: ; in Loop: Header=BB43_7 Depth=2
str wzr, [sp, #8]
b LBB43_9
LBB43_9: ; Parent Loop BB43_3 Depth=1
; Parent Loop BB43_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB43_12
b LBB43_10
LBB43_10: ; in Loop: Header=BB43_9 Depth=3
ldur x8, [x29, #-8]
add x8, x8, #880
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-8]
ldr w9, [x9, #1884]
ldr w10, [sp, #4]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-24]
add x9, x8, #4
stur x9, [x29, #-24]
str s0, [x8]
b LBB43_11
LBB43_11: ; in Loop: Header=BB43_9 Depth=3
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB43_9
LBB43_12: ; in Loop: Header=BB43_7 Depth=2
b LBB43_13
LBB43_13: ; Parent Loop BB43_3 Depth=1
; Parent Loop BB43_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB43_16
b LBB43_14
LBB43_14: ; in Loop: Header=BB43_13 Depth=3
ldur x8, [x29, #-24]
add x9, x8, #4
stur x9, [x29, #-24]
movi d0, #0000000000000000
str s0, [x8]
b LBB43_15
LBB43_15: ; in Loop: Header=BB43_13 Depth=3
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB43_13
LBB43_16: ; in Loop: Header=BB43_7 Depth=2
b LBB43_17
LBB43_17: ; in Loop: Header=BB43_7 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB43_7
LBB43_18: ; in Loop: Header=BB43_3 Depth=1
ldr w9, [sp]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
ldr w10, [sp]
ldur x9, [x29, #-8]
ldr w8, [x9, #1884]
add w8, w8, w10
str w8, [x9, #1884]
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB43_20
b LBB43_19
LBB43_19:
b LBB43_23
LBB43_20: ; in Loop: Header=BB43_3 Depth=1
ldur x0, [x29, #-8]
mov x1, #0
add x2, sp, #24
bl _stb_vorbis_get_frame_float
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB43_22
b LBB43_21
LBB43_21:
b LBB43_23
LBB43_22: ; in Loop: Header=BB43_3 Depth=1
b LBB43_3
LBB43_23:
ldr w0, [sp, #16]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _stb_vorbis_get_samples_float ; -- Begin function stb_vorbis_get_samples_float
.p2align 2
_stb_vorbis_get_samples_float: ; @stb_vorbis_get_samples_float
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
str wzr, [sp, #20]
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #16]
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB44_2
b LBB44_1
LBB44_1:
ldur w8, [x29, #-12]
str w8, [sp, #16]
b LBB44_2
LBB44_2:
b LBB44_3
LBB44_3: ; =>This Loop Header: Depth=1
; Child Loop BB44_8 Depth 2
; Child Loop BB44_12 Depth 2
ldr w8, [sp, #20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB44_21
b LBB44_4
LBB44_4: ; in Loop: Header=BB44_3 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8, #1888]
ldur x9, [x29, #-8]
ldr w9, [x9, #1884]
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #20]
ldr w9, [sp, #8]
add w8, w8, w9
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB44_6
b LBB44_5
LBB44_5: ; in Loop: Header=BB44_3 Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #8]
b LBB44_6
LBB44_6: ; in Loop: Header=BB44_3 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB44_16
b LBB44_7
LBB44_7: ; in Loop: Header=BB44_3 Depth=1
str wzr, [sp, #12]
b LBB44_8
LBB44_8: ; Parent Loop BB44_3 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, LBB44_11
b LBB44_9
LBB44_9: ; in Loop: Header=BB44_8 Depth=2
ldur x8, [x29, #-24]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #20]
add x0, x8, x9, lsl #2
ldur x8, [x29, #-8]
add x8, x8, #880
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #1884]
add x1, x8, x9, lsl #2
ldrsw x9, [sp, #8]
mov x8, #4
mul x2, x8, x9
mov x3, #-1
bl ___memcpy_chk
b LBB44_10
LBB44_10: ; in Loop: Header=BB44_8 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB44_8
LBB44_11: ; in Loop: Header=BB44_3 Depth=1
b LBB44_12
LBB44_12: ; Parent Loop BB44_3 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, LBB44_15
b LBB44_13
LBB44_13: ; in Loop: Header=BB44_12 Depth=2
ldur x8, [x29, #-24]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #20]
add x0, x8, x9, lsl #2
ldrsw x9, [sp, #8]
mov x8, #4
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB44_14
LBB44_14: ; in Loop: Header=BB44_12 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB44_12
LBB44_15: ; in Loop: Header=BB44_3 Depth=1
b LBB44_16
LBB44_16: ; in Loop: Header=BB44_3 Depth=1
ldr w9, [sp, #8]
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
ldr w10, [sp, #8]
ldur x9, [x29, #-8]
ldr w8, [x9, #1884]
add w8, w8, w10
str w8, [x9, #1884]
ldr w8, [sp, #20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB44_18
b LBB44_17
LBB44_17:
b LBB44_21
LBB44_18: ; in Loop: Header=BB44_3 Depth=1
ldur x0, [x29, #-8]
mov x1, #0
add x2, sp, #24
bl _stb_vorbis_get_frame_float
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB44_20
b LBB44_19
LBB44_19:
b LBB44_21
LBB44_20: ; in Loop: Header=BB44_3 Depth=1
b LBB44_3
LBB44_21:
ldr w0, [sp, #20]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function crc32_update
_crc32_update: ; @crc32_update
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
strb w1, [sp, #11]
ldr w9, [sp, #12]
ldrb w8, [sp, #11]
ldr w10, [sp, #12]
eor w10, w8, w10, lsr #24
adrp x8, _crc_table@PAGE
add x8, x8, _crc_table@PAGEOFF
ldr w8, [x8, w10, uxtw #2]
eor w0, w8, w9, lsl #8
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_decode_initial
_vorbis_decode_initial: ; @vorbis_decode_initial
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
stur x4, [x29, #-48]
str x5, [sp, #56]
ldur x8, [x29, #-16]
str wzr, [x8, #1888]
ldur x8, [x29, #-16]
str wzr, [x8, #1884]
b LBB46_1
LBB46_1: ; =>This Loop Header: Depth=1
; Child Loop BB46_9 Depth 2
ldur x8, [x29, #-16]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB46_3
b LBB46_2
LBB46_2:
stur wzr, [x29, #-4]
b LBB46_33
LBB46_3: ; in Loop: Header=BB46_1 Depth=1
ldur x0, [x29, #-16]
bl _maybe_start_packet
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB46_5
b LBB46_4
LBB46_4:
stur wzr, [x29, #-4]
b LBB46_33
LBB46_5: ; in Loop: Header=BB46_1 Depth=1
ldur x0, [x29, #-16]
mov w1, #1
bl _get_bits
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB46_12
b LBB46_6
LBB46_6: ; in Loop: Header=BB46_1 Depth=1
ldur x8, [x29, #-16]
ldrb w8, [x8, #68]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB46_8
b LBB46_7
LBB46_7:
ldur x0, [x29, #-16]
mov w1, #35
bl _error
stur w0, [x29, #-4]
b LBB46_33
LBB46_8: ; in Loop: Header=BB46_1 Depth=1
b LBB46_9
LBB46_9: ; Parent Loop BB46_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x0, [x29, #-16]
bl _get8_packet
mov w8, #-1
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB46_11
b LBB46_10
LBB46_10: ; in Loop: Header=BB46_9 Depth=2
b LBB46_9
LBB46_11: ; in Loop: Header=BB46_1 Depth=1
b LBB46_1
LBB46_12:
ldur x8, [x29, #-16]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB46_17
b LBB46_13
LBB46_13:
ldur x8, [x29, #-16]
ldr w8, [x8, #128]
ldur x9, [x29, #-16]
ldr w9, [x9, #140]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB46_15
b LBB46_14
LBB46_14:
adrp x0, l___func__.vorbis_decode_initial@PAGE
add x0, x0, l___func__.vorbis_decode_initial@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #3177
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB46_15:
b LBB46_16
LBB46_16:
b LBB46_17
LBB46_17:
ldur x8, [x29, #-16]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
ldr w8, [x8, #488]
subs w0, w8, #1
bl _ilog
mov x1, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _get_bits
str w0, [sp, #44]
ldr w8, [sp, #44]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB46_19
b LBB46_18
LBB46_18:
stur wzr, [x29, #-4]
b LBB46_33
LBB46_19:
ldr w8, [sp, #44]
ldur x9, [x29, #-16]
ldr w9, [x9, #488]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB46_21
b LBB46_20
LBB46_20:
stur wzr, [x29, #-4]
b LBB46_33
LBB46_21:
ldr w8, [sp, #44]
ldr x9, [sp, #56]
str w8, [x9]
ldur x8, [x29, #-16]
add x8, x8, #492
ldrsw x9, [sp, #44]
mov x10, #6
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #48]
ldr x8, [sp, #48]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB46_23
b LBB46_22
LBB46_22:
ldur x8, [x29, #-16]
ldr w8, [x8, #164]
str w8, [sp, #40]
ldur x0, [x29, #-16]
mov w1, #1
str w1, [sp, #12] ; 4-byte Folded Spill
bl _get_bits
ldr w1, [sp, #12] ; 4-byte Folded Reload
str w0, [sp, #36]
ldur x0, [x29, #-16]
bl _get_bits
str w0, [sp, #32]
b LBB46_24
LBB46_23:
str wzr, [sp, #32]
str wzr, [sp, #36]
ldur x8, [x29, #-16]
ldr w8, [x8, #160]
str w8, [sp, #40]
b LBB46_24
LBB46_24:
ldr w8, [sp, #40]
asr w8, w8, #1
str w8, [sp, #28]
ldr x8, [sp, #48]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB46_27
b LBB46_25
LBB46_25:
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB46_27
b LBB46_26
LBB46_26:
ldr w8, [sp, #40]
ldur x9, [x29, #-16]
ldr w9, [x9, #160]
subs w8, w8, w9
asr w8, w8, #2
ldur x9, [x29, #-24]
str w8, [x9]
ldr w8, [sp, #40]
ldur x9, [x29, #-16]
ldr w9, [x9, #160]
add w8, w8, w9
asr w8, w8, #2
ldur x9, [x29, #-32]
str w8, [x9]
b LBB46_28
LBB46_27:
ldur x8, [x29, #-24]
str wzr, [x8]
ldr w8, [sp, #28]
ldur x9, [x29, #-32]
str w8, [x9]
b LBB46_28
LBB46_28:
ldr x8, [sp, #48]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB46_31
b LBB46_29
LBB46_29:
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB46_31
b LBB46_30
LBB46_30:
ldr w8, [sp, #40]
mov w9, #3
mul w8, w8, w9
ldur x10, [x29, #-16]
ldr w10, [x10, #160]
subs w8, w8, w10
asr w8, w8, #2
ldur x10, [x29, #-40]
str w8, [x10]
ldr w8, [sp, #40]
mul w8, w8, w9
ldur x9, [x29, #-16]
ldr w9, [x9, #160]
add w8, w8, w9
asr w8, w8, #2
ldur x9, [x29, #-48]
str w8, [x9]
b LBB46_32
LBB46_31:
ldr w8, [sp, #28]
ldur x9, [x29, #-40]
str w8, [x9]
ldr w8, [sp, #40]
ldur x9, [x29, #-48]
str w8, [x9]
b LBB46_32
LBB46_32:
mov w8, #1
stur w8, [x29, #-4]
b LBB46_33
LBB46_33:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_decode_packet_rest
_vorbis_decode_packet_rest: ; @vorbis_decode_packet_rest
.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, #2992
add x9, sp, #184
str x9, [sp, #32] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [x9, #96]
str x1, [x9, #88]
str x2, [x9, #80]
str w3, [sp, #260]
str w4, [sp, #256]
str w5, [sp, #252]
str w6, [sp, #248]
str x7, [x9, #56]
ldr x8, [x9, #96]
add x8, x8, #152
ldr x10, [x9, #80]
ldrb w10, [x10]
; kill: def $x10 killed $w10
ldr w8, [x8, x10, lsl #2]
str w8, [sp, #216]
ldr w8, [sp, #216]
asr w8, w8, #1
str w8, [sp, #208]
ldr x8, [x9, #96]
ldr x8, [x8, #480]
ldr x10, [x9, #80]
ldrb w10, [x10, #1]
; kill: def $x10 killed $w10
mov x11, #48
mul x10, x10, x11
add x8, x8, x10
str x8, [x9, #48]
ldr w8, [sp, #216]
asr w8, w8, #1
str w8, [sp, #212]
str wzr, [sp, #228]
b LBB47_1
LBB47_1: ; =>This Loop Header: Depth=1
; Child Loop BB47_6 Depth 2
; Child Loop BB47_19 Depth 3
; Child Loop BB47_39 Depth 2
; Child Loop BB47_58 Depth 2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #228]
ldr x9, [x9, #96]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_69
b LBB47_2
LBB47_2: ; in Loop: Header=BB47_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #48]
ldr x9, [x9, #8]
ldrsw x10, [sp, #228]
mov x11, #3
mul x10, x10, x11
add x9, x9, x10
ldrb w9, [x9, #2]
str w9, [sp, #204]
ldrsw x11, [sp, #228]
add x10, sp, #1960
mov w9, #0
str w9, [x10, x11, lsl #2]
ldr x9, [x8, #48]
add x9, x9, #17
ldrsw x10, [sp, #204]
ldrb w9, [x9, x10]
str w9, [sp, #200]
ldr x8, [x8, #96]
add x8, x8, #188
ldrsw x9, [sp, #200]
ldrh w8, [x8, x9, lsl #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB47_4
b LBB47_3
LBB47_3:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #96]
mov w1, #21
bl _error
str w0, [sp, #292]
b LBB47_154
LBB47_4: ; in Loop: Header=BB47_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #96]
ldr x9, [x9, #320]
ldrsw x10, [sp, #200]
mov x11, #1596
mul x10, x10, x11
add x9, x9, x10
str x9, [x8, #8]
ldr x0, [x8, #96]
mov w1, #1
bl _get_bits
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB47_64
b LBB47_5
LBB47_5: ; in Loop: Header=BB47_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldrb w9, [x9, #1588]
subs w10, w9, #1
adrp x9, _vorbis_decode_packet_rest.range_list@PAGE
add x9, x9, _vorbis_decode_packet_rest.range_list@PAGEOFF
ldr w9, [x9, w10, sxtw #2]
str w9, [sp, #180]
mov w9, #2
str w9, [sp, #176]
ldr x9, [x8, #96]
add x9, x9, #1272
ldrsw x10, [sp, #228]
ldr x9, [x9, x10, lsl #3]
str x9, [x8]
ldr x8, [x8, #96]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w0, [sp, #180]
bl _ilog
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
subs w1, w8, #1
bl _get_bits
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8]
strh w0, [x9]
ldr x8, [x8, #96]
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w0, [sp, #180]
bl _ilog
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
subs w1, w8, #1
bl _get_bits
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
strh w0, [x8, #2]
str wzr, [sp, #224]
b LBB47_6
LBB47_6: ; Parent Loop BB47_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB47_19 Depth 3
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #224]
ldr x9, [x9, #8]
ldrb w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_36
b LBB47_7
LBB47_7: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #8]
add x9, x9, #1
ldrsw x10, [sp, #224]
ldrb w9, [x9, x10]
str w9, [sp, #172]
ldr x9, [x8, #8]
add x9, x9, #33
ldrsw x10, [sp, #172]
ldrb w9, [x9, x10]
str w9, [sp, #168]
ldr x8, [x8, #8]
add x8, x8, #49
ldrsw x9, [sp, #172]
ldrb w8, [x8, x9]
str w8, [sp, #164]
ldr w9, [sp, #164]
mov w8, #1
lsl w8, w8, w9
subs w8, w8, #1
str w8, [sp, #160]
str wzr, [sp, #156]
ldr w8, [sp, #164]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_18
b LBB47_8
LBB47_8: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #96]
ldr x11, [x9, #176]
ldr x9, [x8, #8]
add x9, x9, #65
ldrsw x10, [sp, #172]
ldrb w9, [x9, x10]
mov w10, #2120
smaddl x9, w9, w10, x11
str x9, [sp, #144]
ldr x8, [x8, #96]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB47_10
b LBB47_9
LBB47_9: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #96]
bl _prep_huffman
b LBB47_10
LBB47_10: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [sp, #156]
ldr x8, [sp, #144]
add x8, x8, #48
ldrsw x9, [sp, #156]
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #156]
ldr w8, [sp, #156]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB47_14
b LBB47_11
LBB47_11: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #144]
ldr x9, [x9, #8]
ldrsw x10, [sp, #156]
ldrb w9, [x9, x10]
str w9, [sp, #140]
ldr w11, [sp, #140]
ldr x10, [x8, #96]
ldr w9, [x10, #1772]
lsr w9, w9, w11
str w9, [x10, #1772]
ldr w11, [sp, #140]
ldr x10, [x8, #96]
ldr w9, [x10, #1776]
subs w9, w9, w11
str w9, [x10, #1776]
ldr x8, [x8, #96]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB47_13
b LBB47_12
LBB47_12: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [sp, #156]
b LBB47_13
LBB47_13: ; in Loop: Header=BB47_6 Depth=2
b LBB47_15
LBB47_14: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #96]
ldr x1, [sp, #144]
bl _codebook_decode_scalar_raw
str w0, [sp, #156]
b LBB47_15
LBB47_15: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #144]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_17
b LBB47_16
LBB47_16: ; in Loop: Header=BB47_6 Depth=2
ldr x8, [sp, #144]
ldr x8, [x8, #2104]
ldrsw x9, [sp, #156]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #156]
b LBB47_17
LBB47_17: ; in Loop: Header=BB47_6 Depth=2
b LBB47_18
LBB47_18: ; in Loop: Header=BB47_6 Depth=2
str wzr, [sp, #220]
b LBB47_19
LBB47_19: ; Parent Loop BB47_1 Depth=1
; Parent Loop BB47_6 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #220]
ldr w9, [sp, #168]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_34
b LBB47_20
LBB47_20: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #8]
add x8, x8, #82
ldrsw x9, [sp, #172]
add x8, x8, x9, lsl #4
ldr w9, [sp, #156]
ldr w10, [sp, #160]
and w9, w9, w10
ldrsh w8, [x8, w9, sxtw #1]
str w8, [sp, #136]
ldr w8, [sp, #156]
ldr w9, [sp, #164]
asr w8, w8, w9
str w8, [sp, #156]
ldr w8, [sp, #136]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB47_31
b LBB47_21
LBB47_21: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #96]
ldr x9, [x9, #176]
ldrsw x10, [sp, #136]
mov x11, #2120
mul x10, x10, x11
add x9, x9, x10
str x9, [sp, #120]
ldr x8, [x8, #96]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB47_23
b LBB47_22
LBB47_22: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #96]
bl _prep_huffman
b LBB47_23
LBB47_23: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [sp, #132]
ldr x8, [sp, #120]
add x8, x8, #48
ldrsw x9, [sp, #132]
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #132]
ldr w8, [sp, #132]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB47_27
b LBB47_24
LBB47_24: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #120]
ldr x9, [x9, #8]
ldrsw x10, [sp, #132]
ldrb w9, [x9, x10]
str w9, [sp, #116]
ldr w11, [sp, #116]
ldr x10, [x8, #96]
ldr w9, [x10, #1772]
lsr w9, w9, w11
str w9, [x10, #1772]
ldr w11, [sp, #116]
ldr x10, [x8, #96]
ldr w9, [x10, #1776]
subs w9, w9, w11
str w9, [x10, #1776]
ldr x8, [x8, #96]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB47_26
b LBB47_25
LBB47_25: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [sp, #132]
b LBB47_26
LBB47_26: ; in Loop: Header=BB47_19 Depth=3
b LBB47_28
LBB47_27: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #96]
ldr x1, [sp, #120]
bl _codebook_decode_scalar_raw
str w0, [sp, #132]
b LBB47_28
LBB47_28: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #120]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_30
b LBB47_29
LBB47_29: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #120]
ldr x8, [x8, #2104]
ldrsw x9, [sp, #132]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #132]
b LBB47_30
LBB47_30: ; in Loop: Header=BB47_19 Depth=3
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #132]
ldr x9, [x9]
ldrsw x10, [sp, #176]
mov x11, x10
add w11, w11, #1
str w11, [sp, #176]
strh w8, [x9, x10, lsl #1]
b LBB47_32
LBB47_31: ; in Loop: Header=BB47_19 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #176]
mov x10, x9
add w10, w10, #1
str w10, [sp, #176]
add x8, x8, x9, lsl #1
strh wzr, [x8]
b LBB47_32
LBB47_32: ; in Loop: Header=BB47_19 Depth=3
b LBB47_33
LBB47_33: ; in Loop: Header=BB47_19 Depth=3
ldr w8, [sp, #220]
add w8, w8, #1
str w8, [sp, #220]
b LBB47_19
LBB47_34: ; in Loop: Header=BB47_6 Depth=2
b LBB47_35
LBB47_35: ; in Loop: Header=BB47_6 Depth=2
ldr w8, [sp, #224]
add w8, w8, #1
str w8, [sp, #224]
b LBB47_6
LBB47_36: ; in Loop: Header=BB47_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1776]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB47_38
b LBB47_37
LBB47_37: ; in Loop: Header=BB47_1 Depth=1
b LBB47_65
LBB47_38: ; in Loop: Header=BB47_1 Depth=1
mov w8, #1
strb w8, [sp, #681]
strb w8, [sp, #680]
mov w8, #2
str w8, [sp, #224]
b LBB47_39
LBB47_39: ; Parent Loop BB47_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #224]
ldr x9, [x9, #8]
ldr w9, [x9, #1592]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_57
b LBB47_40
LBB47_40: ; in Loop: Header=BB47_39 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #8]
add x9, x9, #1088
ldrsw x10, [sp, #224]
lsl x10, x10, #1
ldrb w9, [x9, x10]
str w9, [sp, #112]
ldr x9, [x8, #8]
add x9, x9, #1088
ldrsw x10, [sp, #224]
add x9, x9, x10, lsl #1
ldrb w9, [x9, #1]
str w9, [sp, #108]
ldr x9, [x8, #8]
add x9, x9, #338
ldrsw x10, [sp, #224]
ldrh w0, [x9, x10, lsl #1]
ldr x9, [x8, #8]
add x9, x9, #338
ldrsw x10, [sp, #112]
ldrh w1, [x9, x10, lsl #1]
ldr x9, [x8, #8]
add x9, x9, #338
ldrsw x10, [sp, #108]
ldrh w2, [x9, x10, lsl #1]
ldr x9, [x8]
ldrsw x10, [sp, #112]
ldrsh w3, [x9, x10, lsl #1]
ldr x8, [x8]
ldrsw x9, [sp, #108]
ldrsh w4, [x8, x9, lsl #1]
bl _predict_point
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w0, [sp, #104]
ldr x8, [x8]
ldrsw x9, [sp, #224]
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #88]
ldr w8, [sp, #180]
ldr w9, [sp, #104]
subs w8, w8, w9
str w8, [sp, #100]
ldr w8, [sp, #104]
str w8, [sp, #96]
ldr w8, [sp, #100]
ldr w9, [sp, #96]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_42
b LBB47_41
LBB47_41: ; in Loop: Header=BB47_39 Depth=2
ldr w8, [sp, #100]
lsl w8, w8, #1
str w8, [sp, #92]
b LBB47_43
LBB47_42: ; in Loop: Header=BB47_39 Depth=2
ldr w8, [sp, #96]
lsl w8, w8, #1
str w8, [sp, #92]
b LBB47_43
LBB47_43: ; in Loop: Header=BB47_39 Depth=2
ldr w8, [sp, #88]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_54
b LBB47_44
LBB47_44: ; in Loop: Header=BB47_39 Depth=2
ldrsw x10, [sp, #108]
add x9, sp, #680
mov x8, x9
add x10, x8, x10
mov w8, #1
strb w8, [x10]
ldrsw x11, [sp, #112]
mov x10, x9
add x10, x10, x11
strb w8, [x10]
ldrsw x10, [sp, #224]
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #88]
ldr w9, [sp, #92]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB47_49
b LBB47_45
LBB47_45: ; in Loop: Header=BB47_39 Depth=2
ldr w8, [sp, #100]
ldr w9, [sp, #96]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB47_47
b LBB47_46
LBB47_46: ; in Loop: Header=BB47_39 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #88]
ldr w10, [sp, #96]
subs w8, w8, w10
ldr w10, [sp, #104]
add w8, w8, w10
ldr x9, [x9]
ldrsw x10, [sp, #224]
strh w8, [x9, x10, lsl #1]
b LBB47_48
LBB47_47: ; in Loop: Header=BB47_39 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #104]
ldr w10, [sp, #88]
subs w8, w8, w10
ldr w10, [sp, #100]
add w8, w8, w10
subs w8, w8, #1
ldr x9, [x9]
ldrsw x10, [sp, #224]
strh w8, [x9, x10, lsl #1]
b LBB47_48
LBB47_48: ; in Loop: Header=BB47_39 Depth=2
b LBB47_53
LBB47_49: ; in Loop: Header=BB47_39 Depth=2
ldr w8, [sp, #88]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB47_51
b LBB47_50
LBB47_50: ; in Loop: Header=BB47_39 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #104]
ldr w10, [sp, #88]
add w10, w10, #1
subs w8, w8, w10, asr #1
ldr x9, [x9]
ldrsw x10, [sp, #224]
strh w8, [x9, x10, lsl #1]
b LBB47_52
LBB47_51: ; in Loop: Header=BB47_39 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #104]
ldr w10, [sp, #88]
add w8, w8, w10, asr #1
ldr x9, [x9]
ldrsw x10, [sp, #224]
strh w8, [x9, x10, lsl #1]
b LBB47_52
LBB47_52: ; in Loop: Header=BB47_39 Depth=2
b LBB47_53
LBB47_53: ; in Loop: Header=BB47_39 Depth=2
b LBB47_55
LBB47_54: ; in Loop: Header=BB47_39 Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldrsw x10, [sp, #224]
add x8, sp, #680
add x8, x8, x10
strb wzr, [x8]
ldr w8, [sp, #104]
ldr x9, [x9]
ldrsw x10, [sp, #224]
strh w8, [x9, x10, lsl #1]
b LBB47_55
LBB47_55: ; in Loop: Header=BB47_39 Depth=2
b LBB47_56
LBB47_56: ; in Loop: Header=BB47_39 Depth=2
ldr w8, [sp, #224]
add w8, w8, #1
str w8, [sp, #224]
b LBB47_39
LBB47_57: ; in Loop: Header=BB47_1 Depth=1
str wzr, [sp, #224]
b LBB47_58
LBB47_58: ; Parent Loop BB47_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #224]
ldr x9, [x9, #8]
ldr w9, [x9, #1592]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_63
b LBB47_59
LBB47_59: ; in Loop: Header=BB47_58 Depth=2
ldrsw x9, [sp, #224]
add x8, sp, #680
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB47_61
b LBB47_60
LBB47_60: ; in Loop: Header=BB47_58 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldrsw x9, [sp, #224]
add x9, x8, x9, lsl #1
mov w8, #65535
strh w8, [x9]
b LBB47_61
LBB47_61: ; in Loop: Header=BB47_58 Depth=2
b LBB47_62
LBB47_62: ; in Loop: Header=BB47_58 Depth=2
ldr w8, [sp, #224]
add w8, w8, #1
str w8, [sp, #224]
b LBB47_58
LBB47_63: ; in Loop: Header=BB47_1 Depth=1
b LBB47_66
LBB47_64: ; in Loop: Header=BB47_1 Depth=1
b LBB47_65
LBB47_65: ; in Loop: Header=BB47_1 Depth=1
ldrsw x10, [sp, #228]
add x9, sp, #1960
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB47_66
LBB47_66: ; in Loop: Header=BB47_1 Depth=1
b LBB47_67
LBB47_67: ; in Loop: Header=BB47_1 Depth=1
b LBB47_68
LBB47_68: ; in Loop: Header=BB47_1 Depth=1
ldr w8, [sp, #228]
add w8, w8, #1
str w8, [sp, #228]
b LBB47_1
LBB47_69:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB47_74
b LBB47_70
LBB47_70:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x9, #96]
ldr w8, [x8, #128]
ldr x9, [x9, #96]
ldr w9, [x9, #140]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB47_72
b LBB47_71
LBB47_71:
adrp x0, l___func__.vorbis_decode_packet_rest@PAGE
add x0, x0, l___func__.vorbis_decode_packet_rest@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #3327
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB47_72:
b LBB47_73
LBB47_73:
b LBB47_74
LBB47_74:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldrsw x9, [x8, #4]
mov x8, #4
mul x2, x8, x9
add x0, sp, #936
add x1, sp, #1960
mov x3, #1024
bl ___memcpy_chk
str wzr, [sp, #228]
b LBB47_75
LBB47_75: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #228]
ldr x9, [x9, #48]
ldrh w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_81
b LBB47_76
LBB47_76: ; in Loop: Header=BB47_75 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr x8, [x8, #8]
ldrsw x9, [sp, #228]
mov x10, #3
mul x9, x9, x10
ldrb w8, [x8, x9]
mov x9, x8
add x8, sp, #1960
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_78
b LBB47_77
LBB47_77: ; in Loop: Header=BB47_75 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr x8, [x8, #8]
ldrsw x9, [sp, #228]
mov x10, #3
mul x9, x9, x10
add x8, x8, x9
ldrb w8, [x8, #1]
mov x9, x8
add x8, sp, #1960
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB47_79
b LBB47_78
LBB47_78: ; in Loop: Header=BB47_75 Depth=1
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x10, #48]
ldr x8, [x8, #8]
ldrsw x9, [sp, #228]
mov x12, #3
mul x9, x9, x12
add x8, x8, x9
ldrb w8, [x8, #1]
mov x11, x8
add x9, sp, #1960
mov w8, #0
str w8, [x9, x11, lsl #2]
ldr x10, [x10, #48]
ldr x10, [x10, #8]
ldrsw x11, [sp, #228]
mul x11, x11, x12
ldrb w10, [x10, x11]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
b LBB47_79
LBB47_79: ; in Loop: Header=BB47_75 Depth=1
b LBB47_80
LBB47_80: ; in Loop: Header=BB47_75 Depth=1
ldr w8, [sp, #228]
add w8, w8, #1
str w8, [sp, #228]
b LBB47_75
LBB47_81:
str wzr, [sp, #228]
b LBB47_82
LBB47_82: ; =>This Loop Header: Depth=1
; Child Loop BB47_84 Depth 2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #228]
ldr x9, [x9, #48]
ldrb w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_94
b LBB47_83
LBB47_83: ; in Loop: Header=BB47_82 Depth=1
str wzr, [sp, #76]
str wzr, [sp, #224]
b LBB47_84
LBB47_84: ; Parent Loop BB47_82 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #224]
ldr x9, [x9, #96]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_92
b LBB47_85
LBB47_85: ; in Loop: Header=BB47_84 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr x8, [x8, #8]
ldrsw x9, [sp, #224]
mov x10, #3
mul x9, x9, x10
add x8, x8, x9
ldrb w8, [x8, #2]
ldr w9, [sp, #228]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB47_90
b LBB47_86
LBB47_86: ; in Loop: Header=BB47_84 Depth=2
ldrsw x9, [sp, #224]
add x8, sp, #1960
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_88
b LBB47_87
LBB47_87: ; in Loop: Header=BB47_84 Depth=2
ldrsw x9, [sp, #76]
add x8, sp, #296
add x9, x8, x9
mov w8, #1
strb w8, [x9]
ldrsw x10, [sp, #76]
add x9, sp, #552
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB47_89
LBB47_88: ; in Loop: Header=BB47_84 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsw x10, [sp, #76]
add x9, sp, #296
add x9, x9, x10
strb wzr, [x9]
ldr x8, [x8, #96]
add x8, x8, #880
ldrsw x9, [sp, #224]
ldr x8, [x8, x9, lsl #3]
ldrsw x10, [sp, #76]
add x9, sp, #552
str x8, [x9, x10, lsl #3]
b LBB47_89
LBB47_89: ; in Loop: Header=BB47_84 Depth=2
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB47_90
LBB47_90: ; in Loop: Header=BB47_84 Depth=2
b LBB47_91
LBB47_91: ; in Loop: Header=BB47_84 Depth=2
ldr w8, [sp, #224]
add w8, w8, #1
str w8, [sp, #224]
b LBB47_84
LBB47_92: ; in Loop: Header=BB47_82 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #48]
add x9, x9, #32
ldrsw x10, [sp, #228]
ldrb w9, [x9, x10]
str w9, [sp, #84]
ldr x9, [x8, #96]
add x9, x9, #332
ldrsw x10, [sp, #84]
ldrh w9, [x9, x10, lsl #1]
str w9, [sp, #80]
ldr x0, [x8, #96]
ldr w2, [sp, #76]
ldr w3, [sp, #212]
ldr w4, [sp, #84]
add x1, sp, #552
add x5, sp, #296
bl _decode_residue
b LBB47_93
LBB47_93: ; in Loop: Header=BB47_82 Depth=1
ldr w8, [sp, #228]
add w8, w8, #1
str w8, [sp, #228]
b LBB47_82
LBB47_94:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB47_99
b LBB47_95
LBB47_95:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x9, #96]
ldr w8, [x8, #128]
ldr x9, [x9, #96]
ldr w9, [x9, #140]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB47_97
b LBB47_96
LBB47_96:
adrp x0, l___func__.vorbis_decode_packet_rest@PAGE
add x0, x0, l___func__.vorbis_decode_packet_rest@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #3360
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB47_97:
b LBB47_98
LBB47_98:
b LBB47_99
LBB47_99:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldrh w8, [x8]
subs w8, w8, #1
str w8, [sp, #228]
b LBB47_100
LBB47_100: ; =>This Loop Header: Depth=1
; Child Loop BB47_102 Depth 2
ldr w8, [sp, #228]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB47_116
b LBB47_101
LBB47_101: ; in Loop: Header=BB47_100 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #216]
asr w8, w8, #1
str w8, [sp, #72]
ldr x8, [x9, #96]
add x8, x8, #880
ldr x10, [x9, #48]
ldr x10, [x10, #8]
ldrsw x12, [sp, #228]
mov x11, #3
mul x12, x12, x11
ldrb w10, [x10, x12]
; kill: def $x10 killed $w10
ldr x8, [x8, x10, lsl #3]
str x8, [sp, #64]
ldr x8, [x9, #96]
add x8, x8, #880
ldr x9, [x9, #48]
ldr x9, [x9, #8]
ldrsw x10, [sp, #228]
mul x10, x10, x11
add x9, x9, x10
ldrb w9, [x9, #1]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #56]
str wzr, [sp, #224]
b LBB47_102
LBB47_102: ; Parent Loop BB47_100 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #224]
ldr w9, [sp, #72]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_114
b LBB47_103
LBB47_103: ; in Loop: Header=BB47_102 Depth=2
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB47_108
b LBB47_104
LBB47_104: ; in Loop: Header=BB47_102 Depth=2
ldr x8, [sp, #56]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB47_106
b LBB47_105
LBB47_105: ; in Loop: Header=BB47_102 Depth=2
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #48]
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #56]
ldrsw x9, [sp, #224]
ldr s1, [x8, x9, lsl #2]
fsub s0, s0, s1
str s0, [sp, #52]
b LBB47_107
LBB47_106: ; in Loop: Header=BB47_102 Depth=2
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #52]
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #56]
ldrsw x9, [sp, #224]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
str s0, [sp, #48]
b LBB47_107
LBB47_107: ; in Loop: Header=BB47_102 Depth=2
b LBB47_112
LBB47_108: ; in Loop: Header=BB47_102 Depth=2
ldr x8, [sp, #56]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB47_110
b LBB47_109
LBB47_109: ; in Loop: Header=BB47_102 Depth=2
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #48]
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #56]
ldrsw x9, [sp, #224]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
str s0, [sp, #52]
b LBB47_111
LBB47_110: ; in Loop: Header=BB47_102 Depth=2
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #52]
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #56]
ldrsw x9, [sp, #224]
ldr s1, [x8, x9, lsl #2]
fsub s0, s0, s1
str s0, [sp, #48]
b LBB47_111
LBB47_111: ; in Loop: Header=BB47_102 Depth=2
b LBB47_112
LBB47_112: ; in Loop: Header=BB47_102 Depth=2
ldr s0, [sp, #48]
ldr x8, [sp, #64]
ldrsw x9, [sp, #224]
str s0, [x8, x9, lsl #2]
ldr s0, [sp, #52]
ldr x8, [sp, #56]
ldrsw x9, [sp, #224]
str s0, [x8, x9, lsl #2]
b LBB47_113
LBB47_113: ; in Loop: Header=BB47_102 Depth=2
ldr w8, [sp, #224]
add w8, w8, #1
str w8, [sp, #224]
b LBB47_102
LBB47_114: ; in Loop: Header=BB47_100 Depth=1
b LBB47_115
LBB47_115: ; in Loop: Header=BB47_100 Depth=1
ldr w8, [sp, #228]
subs w8, w8, #1
str w8, [sp, #228]
b LBB47_100
LBB47_116:
str wzr, [sp, #228]
b LBB47_117
LBB47_117: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #228]
ldr x9, [x9, #96]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_123
b LBB47_118
LBB47_118: ; in Loop: Header=BB47_117 Depth=1
ldrsw x9, [sp, #228]
add x8, sp, #936
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_120
b LBB47_119
LBB47_119: ; in Loop: Header=BB47_117 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
add x8, x8, #880
ldrsw x9, [sp, #228]
ldr x0, [x8, x9, lsl #3]
ldrsw x9, [sp, #212]
mov x8, #4
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB47_121
LBB47_120: ; in Loop: Header=BB47_117 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #96]
ldr x1, [x8, #48]
ldr w2, [sp, #228]
ldr w3, [sp, #216]
ldr x9, [x8, #96]
add x9, x9, #880
ldrsw x10, [sp, #228]
ldr x4, [x9, x10, lsl #3]
ldr x8, [x8, #96]
add x8, x8, #1272
ldrsw x9, [sp, #228]
ldr x5, [x8, x9, lsl #3]
mov x6, #0
bl _do_floor
b LBB47_121
LBB47_121: ; in Loop: Header=BB47_117 Depth=1
b LBB47_122
LBB47_122: ; in Loop: Header=BB47_117 Depth=1
ldr w8, [sp, #228]
add w8, w8, #1
str w8, [sp, #228]
b LBB47_117
LBB47_123:
str wzr, [sp, #228]
b LBB47_124
LBB47_124: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #228]
ldr x9, [x9, #96]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB47_127
b LBB47_125
LBB47_125: ; in Loop: Header=BB47_124 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #96]
add x9, x9, #880
ldrsw x10, [sp, #228]
ldr x0, [x9, x10, lsl #3]
ldr w1, [sp, #216]
ldr x2, [x8, #96]
ldr x8, [x8, #80]
ldrb w3, [x8]
bl _inverse_mdct
b LBB47_126
LBB47_126: ; in Loop: Header=BB47_124 Depth=1
ldr w8, [sp, #228]
add w8, w8, #1
str w8, [sp, #228]
b LBB47_124
LBB47_127:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, #96]
bl _flush_packet
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldrb w8, [x8, #1757]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_129
b LBB47_128
LBB47_128:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w10, [sp, #212]
mov w9, #0
subs w9, w9, w10
ldr x10, [x8, #96]
str w9, [x10, #1400]
ldr w9, [sp, #216]
ldr w10, [sp, #248]
subs w9, w9, w10
ldr x10, [x8, #96]
str w9, [x10, #1792]
ldr x10, [x8, #96]
mov w9, #1
str w9, [x10, #1404]
ldr x8, [x8, #96]
strb wzr, [x8, #1757]
b LBB47_136
LBB47_129:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1792]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_131
b LBB47_130
LBB47_130:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #96]
ldr w10, [x9, #1792]
ldr w9, [sp, #260]
add w9, w9, w10
str w9, [sp, #260]
ldr w9, [sp, #260]
ldr x10, [x8, #56]
str w9, [x10]
ldr x8, [x8, #96]
str wzr, [x8, #1792]
b LBB47_135
LBB47_131:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1264]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB47_134
b LBB47_132
LBB47_132:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1404]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_134
b LBB47_133
LBB47_133:
b LBB47_134
LBB47_134:
b LBB47_135
LBB47_135:
b LBB47_136
LBB47_136:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x9, #96]
ldr w8, [x8, #1768]
ldr x9, [x9, #96]
ldr w9, [x9, #1784]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB47_146
b LBB47_137
LBB47_137:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1404]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_145
b LBB47_138
LBB47_138:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldrb w8, [x8, #1755]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB47_145
b LBB47_139
LBB47_139:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x9, #96]
ldr w8, [x8, #1788]
ldr w10, [sp, #216]
ldr w11, [sp, #248]
subs w10, w10, w11
subs w8, w8, w10
str w8, [sp, #44]
ldr w8, [sp, #44]
ldr x9, [x9, #96]
ldr w9, [x9, #1400]
ldr w10, [sp, #248]
add w9, w9, w10
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB47_144
b LBB47_140
LBB47_140:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #44]
ldr x9, [x9, #96]
ldr w9, [x9, #1400]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB47_142
b LBB47_141
LBB47_141:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #88]
str wzr, [x8]
b LBB47_143
LBB47_142:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #44]
ldr x10, [x9, #96]
ldr w10, [x10, #1400]
subs w8, w8, w10
ldr x9, [x9, #88]
str w8, [x9]
b LBB47_143
LBB47_143:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w11, [sp, #260]
ldr x10, [x8, #88]
ldr w9, [x10]
add w9, w9, w11
str w9, [x10]
ldr x9, [x8, #88]
ldr w10, [x9]
ldr x9, [x8, #96]
ldr w8, [x9, #1400]
add w8, w8, w10
str w8, [x9, #1400]
mov w8, #1
str w8, [sp, #292]
b LBB47_154
LBB47_144:
b LBB47_145
LBB47_145:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x8, #96]
ldr w9, [x9, #1788]
ldr w10, [sp, #212]
ldr w11, [sp, #260]
subs w10, w10, w11
subs w9, w9, w10
ldr x10, [x8, #96]
str w9, [x10, #1400]
ldr x9, [x8, #96]
mov w8, #1
str w8, [x9, #1404]
b LBB47_146
LBB47_146:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr w8, [x8, #1404]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB47_148
b LBB47_147
LBB47_147:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w9, [sp, #252]
ldr w10, [sp, #260]
subs w10, w9, w10
ldr x9, [x8, #96]
ldr w8, [x9, #1400]
add w8, w8, w10
str w8, [x9, #1400]
b LBB47_148
LBB47_148:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #96]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB47_153
b LBB47_149
LBB47_149:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x9, #96]
ldr w8, [x8, #128]
ldr x9, [x9, #96]
ldr w9, [x9, #140]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB47_151
b LBB47_150
LBB47_150:
adrp x0, l___func__.vorbis_decode_packet_rest@PAGE
add x0, x0, l___func__.vorbis_decode_packet_rest@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #3469
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB47_151:
b LBB47_152
LBB47_152:
b LBB47_153
LBB47_153:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #248]
ldr x9, [x9, #88]
str w8, [x9]
mov w8, #1
str w8, [sp, #292]
b LBB47_154
LBB47_154:
ldr w8, [sp, #292]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB47_156
b LBB47_155
LBB47_155:
bl ___stack_chk_fail
LBB47_156:
ldr w0, [sp, #12] ; 4-byte Folded Reload
add sp, sp, #2992
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function maybe_start_packet
_maybe_start_packet: ; @maybe_start_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr w8, [x8, #1760]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB48_16
b LBB48_1
LBB48_1:
ldr x0, [sp, #16]
bl _get8
and w8, w0, #0xff
str w8, [sp, #12]
ldr x8, [sp, #16]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB48_3
b LBB48_2
LBB48_2:
stur wzr, [x29, #-4]
b LBB48_17
LBB48_3:
ldr w9, [sp, #12]
mov w8, #79
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB48_5
b LBB48_4
LBB48_4:
ldr x0, [sp, #16]
mov w1, #30
bl _error
stur w0, [x29, #-4]
b LBB48_17
LBB48_5:
ldr x0, [sp, #16]
bl _get8
mov w8, #103
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB48_7
b LBB48_6
LBB48_6:
ldr x0, [sp, #16]
mov w1, #30
bl _error
stur w0, [x29, #-4]
b LBB48_17
LBB48_7:
ldr x0, [sp, #16]
bl _get8
mov w8, #103
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB48_9
b LBB48_8
LBB48_8:
ldr x0, [sp, #16]
mov w1, #30
bl _error
stur w0, [x29, #-4]
b LBB48_17
LBB48_9:
ldr x0, [sp, #16]
bl _get8
mov w8, #83
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB48_11
b LBB48_10
LBB48_10:
ldr x0, [sp, #16]
mov w1, #30
bl _error
stur w0, [x29, #-4]
b LBB48_17
LBB48_11:
ldr x0, [sp, #16]
bl _start_page_no_capturepattern
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB48_13
b LBB48_12
LBB48_12:
stur wzr, [x29, #-4]
b LBB48_17
LBB48_13:
ldr x8, [sp, #16]
ldrb w8, [x8, #1755]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB48_15
b LBB48_14
LBB48_14:
ldr x8, [sp, #16]
str wzr, [x8, #1764]
ldr x8, [sp, #16]
strb wzr, [x8, #1756]
ldr x0, [sp, #16]
mov w1, #32
bl _error
stur w0, [x29, #-4]
b LBB48_17
LBB48_15:
b LBB48_16
LBB48_16:
ldr x0, [sp, #16]
bl _start_packet
stur w0, [x29, #-4]
b LBB48_17
LBB48_17:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function get_bits
_get_bits: ; @get_bits
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB49_2
b LBB49_1
LBB49_1:
stur wzr, [x29, #-4]
b LBB49_16
LBB49_2:
ldr x8, [sp, #16]
ldr w8, [x8, #1776]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB49_13
b LBB49_3
LBB49_3:
ldr w8, [sp, #12]
subs w8, w8, #24
cset w8, le
tbnz w8, #0, LBB49_5
b LBB49_4
LBB49_4:
ldr x0, [sp, #16]
mov w1, #24
bl _get_bits
str w0, [sp, #8]
ldr x0, [sp, #16]
ldr w8, [sp, #12]
subs w1, w8, #24
bl _get_bits
ldr w8, [sp, #8]
add w8, w8, w0, lsl #24
str w8, [sp, #8]
ldr w8, [sp, #8]
stur w8, [x29, #-4]
b LBB49_16
LBB49_5:
ldr x8, [sp, #16]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB49_7
b LBB49_6
LBB49_6:
ldr x8, [sp, #16]
str wzr, [x8, #1772]
b LBB49_7
LBB49_7:
b LBB49_8
LBB49_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr w8, [x8, #1776]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB49_12
b LBB49_9
LBB49_9: ; in Loop: Header=BB49_8 Depth=1
ldr x0, [sp, #16]
bl _get8_packet_raw
str w0, [sp, #4]
ldr w8, [sp, #4]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB49_11
b LBB49_10
LBB49_10:
ldr x9, [sp, #16]
mov w8, #-1
str w8, [x9, #1776]
stur wzr, [x29, #-4]
b LBB49_16
LBB49_11: ; in Loop: Header=BB49_8 Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #16]
ldr w9, [x9, #1776]
lsl w10, w8, w9
ldr x9, [sp, #16]
ldr w8, [x9, #1772]
add w8, w8, w10
str w8, [x9, #1772]
ldr x9, [sp, #16]
ldr w8, [x9, #1776]
add w8, w8, #8
str w8, [x9, #1776]
b LBB49_8
LBB49_12:
b LBB49_13
LBB49_13:
ldr x8, [sp, #16]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB49_15
b LBB49_14
LBB49_14:
stur wzr, [x29, #-4]
b LBB49_16
LBB49_15:
ldr x8, [sp, #16]
ldr w8, [x8, #1772]
ldr w10, [sp, #12]
mov w9, #1
lsl w9, w9, w10
subs w9, w9, #1
and w8, w8, w9
str w8, [sp, #8]
ldr w10, [sp, #12]
ldr x9, [sp, #16]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [sp, #12]
ldr x9, [sp, #16]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldr w8, [sp, #8]
stur w8, [x29, #-4]
b LBB49_16
LBB49_16:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function ilog
_ilog: ; @ilog
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #4, lsl #12 ; =16384
cset w8, hs
tbnz w8, #0, LBB50_6
b LBB50_1
LBB50_1:
ldr w8, [sp, #8]
subs w8, w8, #16
cset w8, hs
tbnz w8, #0, LBB50_3
b LBB50_2
LBB50_2:
ldrsw x9, [sp, #8]
adrp x8, _ilog.log2_4@PAGE
add x8, x8, _ilog.log2_4@PAGEOFF
ldrsb w8, [x8, x9]
add w8, w8, #0
str w8, [sp, #12]
b LBB50_15
LBB50_3:
ldr w8, [sp, #8]
subs w8, w8, #512
cset w8, hs
tbnz w8, #0, LBB50_5
b LBB50_4
LBB50_4:
ldr w8, [sp, #8]
asr w9, w8, #5
adrp x8, _ilog.log2_4@PAGE
add x8, x8, _ilog.log2_4@PAGEOFF
ldrsb w8, [x8, w9, sxtw]
add w8, w8, #5
str w8, [sp, #12]
b LBB50_15
LBB50_5:
ldr w8, [sp, #8]
asr w9, w8, #10
adrp x8, _ilog.log2_4@PAGE
add x8, x8, _ilog.log2_4@PAGEOFF
ldrsb w8, [x8, w9, sxtw]
add w8, w8, #10
str w8, [sp, #12]
b LBB50_15
LBB50_6:
ldr w8, [sp, #8]
mov w9, #16777216
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB50_10
b LBB50_7
LBB50_7:
ldr w8, [sp, #8]
subs w8, w8, #128, lsl #12 ; =524288
cset w8, hs
tbnz w8, #0, LBB50_9
b LBB50_8
LBB50_8:
ldr w8, [sp, #8]
asr w9, w8, #15
adrp x8, _ilog.log2_4@PAGE
add x8, x8, _ilog.log2_4@PAGEOFF
ldrsb w8, [x8, w9, sxtw]
add w8, w8, #15
str w8, [sp, #12]
b LBB50_15
LBB50_9:
ldr w8, [sp, #8]
asr w9, w8, #20
adrp x8, _ilog.log2_4@PAGE
add x8, x8, _ilog.log2_4@PAGEOFF
ldrsb w8, [x8, w9, sxtw]
add w8, w8, #20
str w8, [sp, #12]
b LBB50_15
LBB50_10:
ldr w8, [sp, #8]
mov w9, #536870912
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB50_12
b LBB50_11
LBB50_11:
ldr w8, [sp, #8]
asr w9, w8, #25
adrp x8, _ilog.log2_4@PAGE
add x8, x8, _ilog.log2_4@PAGEOFF
ldrsb w8, [x8, w9, sxtw]
add w8, w8, #25
str w8, [sp, #12]
b LBB50_15
LBB50_12:
ldr w8, [sp, #8]
mov w9, #-2147483648
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB50_14
b LBB50_13
LBB50_13:
ldr w8, [sp, #8]
asr w9, w8, #30
adrp x8, _ilog.log2_4@PAGE
add x8, x8, _ilog.log2_4@PAGEOFF
ldrsb w8, [x8, w9, sxtw]
add w8, w8, #30
str w8, [sp, #12]
b LBB50_15
LBB50_14:
str wzr, [sp, #12]
b LBB50_15
LBB50_15:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function get8
_get8: ; @get8
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB51_4
b LBB51_1
LBB51_1:
ldr x8, [sp, #16]
ldr x8, [x8, #40]
ldr x9, [sp, #16]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB51_3
b LBB51_2
LBB51_2:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #144]
sturb wzr, [x29, #-1]
b LBB51_7
LBB51_3:
ldr x10, [sp, #16]
ldr x8, [x10, #40]
add x9, x8, #1
str x9, [x10, #40]
ldrb w8, [x8]
sturb w8, [x29, #-1]
b LBB51_7
LBB51_4:
ldr x8, [sp, #16]
ldr x0, [x8, #24]
bl _fgetc
str w0, [sp, #12]
ldr w8, [sp, #12]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB51_6
b LBB51_5
LBB51_5:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #144]
sturb wzr, [x29, #-1]
b LBB51_7
LBB51_6:
ldr w8, [sp, #12]
sturb w8, [x29, #-1]
b LBB51_7
LBB51_7:
ldurb w0, [x29, #-1]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function start_page_no_capturepattern
_start_page_no_capturepattern: ; @start_page_no_capturepattern
.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 _get8
mov w8, #0
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB52_2
b LBB52_1
LBB52_1:
ldur x0, [x29, #-16]
mov w1, #31
bl _error
stur w0, [x29, #-4]
b LBB52_22
LBB52_2:
ldur x0, [x29, #-16]
bl _get8
ldur x8, [x29, #-16]
strb w0, [x8, #1755]
ldur x0, [x29, #-16]
bl _get32
stur w0, [x29, #-20]
ldur x0, [x29, #-16]
bl _get32
stur w0, [x29, #-24]
ldur x0, [x29, #-16]
bl _get32
ldur x0, [x29, #-16]
bl _get32
stur w0, [x29, #-28]
ldur w8, [x29, #-28]
ldur x9, [x29, #-16]
str w8, [x9, #1492]
ldur x0, [x29, #-16]
bl _get32
ldur x0, [x29, #-16]
bl _get8
and w8, w0, #0xff
ldur x9, [x29, #-16]
str w8, [x9, #1496]
ldur x0, [x29, #-16]
ldur x8, [x29, #-16]
add x1, x8, #1500
ldur x8, [x29, #-16]
ldr w2, [x8, #1496]
bl _getn
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB52_4
b LBB52_3
LBB52_3:
ldur x0, [x29, #-16]
mov w1, #10
bl _error
stur w0, [x29, #-4]
b LBB52_22
LBB52_4:
ldur x9, [x29, #-16]
mov w8, #-2
str w8, [x9, #1784]
ldur w8, [x29, #-20]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB52_6
b LBB52_5
LBB52_5:
ldur w8, [x29, #-24]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB52_15
b LBB52_6
LBB52_6:
ldur x8, [x29, #-16]
ldr w8, [x8, #1496]
subs w8, w8, #1
str w8, [sp, #32]
b LBB52_7
LBB52_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB52_12
b LBB52_8
LBB52_8: ; in Loop: Header=BB52_7 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1500
ldrsw x9, [sp, #32]
ldrb w8, [x8, x9]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB52_10
b LBB52_9
LBB52_9:
b LBB52_12
LBB52_10: ; in Loop: Header=BB52_7 Depth=1
b LBB52_11
LBB52_11: ; in Loop: Header=BB52_7 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #1
str w8, [sp, #32]
b LBB52_7
LBB52_12:
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB52_14
b LBB52_13
LBB52_13:
ldr w8, [sp, #32]
ldur x9, [x29, #-16]
str w8, [x9, #1784]
ldur w8, [x29, #-20]
ldur x9, [x29, #-16]
str w8, [x9, #1788]
b LBB52_14
LBB52_14:
b LBB52_15
LBB52_15:
ldur x8, [x29, #-16]
ldrb w8, [x8, #1757]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB52_21
b LBB52_16
LBB52_16:
str wzr, [sp, #24]
str wzr, [sp, #28]
b LBB52_17
LBB52_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldur x9, [x29, #-16]
ldr w9, [x9, #1496]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB52_20
b LBB52_18
LBB52_18: ; in Loop: Header=BB52_17 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1500
ldrsw x9, [sp, #28]
ldrb w9, [x8, x9]
ldr w8, [sp, #24]
add w8, w8, w9
str w8, [sp, #24]
b LBB52_19
LBB52_19: ; in Loop: Header=BB52_17 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB52_17
LBB52_20:
ldur x8, [x29, #-16]
ldr w8, [x8, #1496]
add w9, w8, #27
ldr w8, [sp, #24]
add w8, w8, w9
str w8, [sp, #24]
ldur x8, [x29, #-16]
ldr w8, [x8, #72]
str w8, [sp, #4]
ldr w8, [sp, #4]
ldr w9, [sp, #24]
add w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #4]
str w8, [sp, #12]
str wzr, [sp, #16]
ldur w8, [x29, #-20]
str w8, [sp, #20]
ldur x9, [x29, #-16]
ldur q0, [sp, #4]
stur q0, [x9, #76]
ldr w8, [sp, #20]
str w8, [x9, #92]
b LBB52_21
LBB52_21:
ldur x8, [x29, #-16]
str wzr, [x8, #1760]
mov w8, #1
stur w8, [x29, #-4]
b LBB52_22
LBB52_22:
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 start_packet
_start_packet: ; @start_packet
.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]
b LBB53_1
LBB53_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr w8, [x8, #1760]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB53_7
b LBB53_2
LBB53_2: ; in Loop: Header=BB53_1 Depth=1
ldr x0, [sp]
bl _start_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB53_4
b LBB53_3
LBB53_3:
stur wzr, [x29, #-4]
b LBB53_8
LBB53_4: ; in Loop: Header=BB53_1 Depth=1
ldr x8, [sp]
ldrb w8, [x8, #1755]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB53_6
b LBB53_5
LBB53_5:
ldr x0, [sp]
mov w1, #32
bl _error
stur w0, [x29, #-4]
b LBB53_8
LBB53_6: ; in Loop: Header=BB53_1 Depth=1
b LBB53_1
LBB53_7:
ldr x8, [sp]
str wzr, [x8, #1764]
ldr x8, [sp]
str wzr, [x8, #1776]
ldr x8, [sp]
str wzr, [x8, #1780]
ldr x8, [sp]
strb wzr, [x8, #1756]
mov w8, #1
stur w8, [x29, #-4]
b LBB53_8
LBB53_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function start_page
_start_page: ; @start_page
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
ldr x0, [sp]
bl _capture_pattern
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB54_2
b LBB54_1
LBB54_1:
ldr x0, [sp]
mov w1, #30
bl _error
stur w0, [x29, #-4]
b LBB54_3
LBB54_2:
ldr x0, [sp]
bl _start_page_no_capturepattern
stur w0, [x29, #-4]
b LBB54_3
LBB54_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function capture_pattern
_capture_pattern: ; @capture_pattern
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
ldr x0, [sp]
bl _get8
mov w8, #79
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB55_2
b LBB55_1
LBB55_1:
stur wzr, [x29, #-4]
b LBB55_9
LBB55_2:
ldr x0, [sp]
bl _get8
mov w8, #103
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB55_4
b LBB55_3
LBB55_3:
stur wzr, [x29, #-4]
b LBB55_9
LBB55_4:
ldr x0, [sp]
bl _get8
mov w8, #103
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB55_6
b LBB55_5
LBB55_5:
stur wzr, [x29, #-4]
b LBB55_9
LBB55_6:
ldr x0, [sp]
bl _get8
mov w8, #83
subs w8, w8, w0, uxtb
cset w8, eq
tbnz w8, #0, LBB55_8
b LBB55_7
LBB55_7:
stur wzr, [x29, #-4]
b LBB55_9
LBB55_8:
mov w8, #1
stur w8, [x29, #-4]
b LBB55_9
LBB55_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function get8_packet_raw
_get8_packet_raw: ; @get8_packet_raw
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
ldr x8, [sp]
ldrb w8, [x8, #1756]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB56_7
b LBB56_1
LBB56_1:
ldr x8, [sp]
ldr w8, [x8, #1764]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB56_3
b LBB56_2
LBB56_2:
mov w8, #-1
stur w8, [x29, #-4]
b LBB56_11
LBB56_3:
ldr x0, [sp]
bl _next_segment
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB56_5
b LBB56_4
LBB56_4:
mov w8, #-1
stur w8, [x29, #-4]
b LBB56_11
LBB56_5:
b LBB56_6
LBB56_6:
b LBB56_7
LBB56_7:
ldr x8, [sp]
ldrb w8, [x8, #1756]
subs w8, w8, #0
cset w9, le
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB56_9
b LBB56_8
LBB56_8:
adrp x0, l___func__.get8_packet_raw@PAGE
add x0, x0, l___func__.get8_packet_raw@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1501
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB56_9:
b LBB56_10
LBB56_10:
ldr x9, [sp]
ldrb w10, [x9, #1756]
mov w8, #-1
add w8, w8, w10, uxtb
strb w8, [x9, #1756]
ldr x9, [sp]
ldr w8, [x9, #1780]
add w8, w8, #1
str w8, [x9, #1780]
ldr x0, [sp]
bl _get8
and w8, w0, #0xff
stur w8, [x29, #-4]
b LBB56_11
LBB56_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function next_segment
_next_segment: ; @next_segment
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr w8, [x8, #1764]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB57_2
b LBB57_1
LBB57_1:
stur wzr, [x29, #-4]
b LBB57_16
LBB57_2:
ldr x8, [sp, #16]
ldr w8, [x8, #1760]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB57_8
b LBB57_3
LBB57_3:
ldr x8, [sp, #16]
ldr w8, [x8, #1496]
subs w8, w8, #1
ldr x9, [sp, #16]
str w8, [x9, #1768]
ldr x0, [sp, #16]
bl _start_page
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB57_5
b LBB57_4
LBB57_4:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #1764]
stur wzr, [x29, #-4]
b LBB57_16
LBB57_5:
ldr x8, [sp, #16]
ldrb w8, [x8, #1755]
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB57_7
b LBB57_6
LBB57_6:
ldr x0, [sp, #16]
mov w1, #32
bl _error
stur w0, [x29, #-4]
b LBB57_16
LBB57_7:
b LBB57_8
LBB57_8:
ldr x8, [sp, #16]
add x8, x8, #1500
ldr x11, [sp, #16]
ldrsw x9, [x11, #1760]
mov x10, x9
add w10, w10, #1
str w10, [x11, #1760]
ldrb w8, [x8, x9]
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB57_10
b LBB57_9
LBB57_9:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #1764]
ldr x8, [sp, #16]
ldr w8, [x8, #1760]
subs w8, w8, #1
ldr x9, [sp, #16]
str w8, [x9, #1768]
b LBB57_10
LBB57_10:
ldr x8, [sp, #16]
ldr w8, [x8, #1760]
ldr x9, [sp, #16]
ldr w9, [x9, #1496]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB57_12
b LBB57_11
LBB57_11:
ldr x9, [sp, #16]
mov w8, #-1
str w8, [x9, #1760]
b LBB57_12
LBB57_12:
ldr x8, [sp, #16]
ldrb w8, [x8, #1756]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB57_14
b LBB57_13
LBB57_13:
adrp x0, l___func__.next_segment@PAGE
add x0, x0, l___func__.next_segment@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1487
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB57_14:
b LBB57_15
LBB57_15:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
strb w8, [x9, #1756]
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB57_16
LBB57_16:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function prep_huffman
_prep_huffman: ; @prep_huffman
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #1776]
subs w8, w8, #24
cset w8, gt
tbnz w8, #0, LBB58_12
b LBB58_1
LBB58_1:
ldr x8, [sp, #8]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB58_3
b LBB58_2
LBB58_2:
ldr x8, [sp, #8]
str wzr, [x8, #1772]
b LBB58_3
LBB58_3:
b LBB58_4
LBB58_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr w8, [x8, #1764]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB58_7
b LBB58_5
LBB58_5: ; in Loop: Header=BB58_4 Depth=1
ldr x8, [sp, #8]
ldrb w8, [x8, #1756]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB58_7
b LBB58_6
LBB58_6:
b LBB58_12
LBB58_7: ; in Loop: Header=BB58_4 Depth=1
ldr x0, [sp, #8]
bl _get8_packet_raw
str w0, [sp, #4]
ldr w8, [sp, #4]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB58_9
b LBB58_8
LBB58_8:
b LBB58_12
LBB58_9: ; in Loop: Header=BB58_4 Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #8]
ldr w9, [x9, #1776]
lsl w10, w8, w9
ldr x9, [sp, #8]
ldr w8, [x9, #1772]
add w8, w8, w10
str w8, [x9, #1772]
ldr x9, [sp, #8]
ldr w8, [x9, #1776]
add w8, w8, #8
str w8, [x9, #1776]
b LBB58_10
LBB58_10: ; in Loop: Header=BB58_4 Depth=1
ldr x8, [sp, #8]
ldr w8, [x8, #1776]
subs w8, w8, #24
cset w8, le
tbnz w8, #0, LBB58_4
b LBB58_11
LBB58_11:
b LBB58_12
LBB58_12:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function codebook_decode_scalar_raw
_codebook_decode_scalar_raw: ; @codebook_decode_scalar_raw
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x0, [x29, #-16]
bl _prep_huffman
ldur x8, [x29, #-24]
ldr x8, [x8, #2096]
subs x8, x8, #0
cset w8, ne
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB59_2
b LBB59_1
LBB59_1:
ldur x8, [x29, #-24]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB59_2
LBB59_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, LBB59_4
b LBB59_3
LBB59_3:
adrp x0, l___func__.codebook_decode_scalar_raw@PAGE
add x0, x0, l___func__.codebook_decode_scalar_raw@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1590
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___assert_rtn
LBB59_4:
b LBB59_5
LBB59_5:
ldur x8, [x29, #-24]
ldr w8, [x8, #4]
subs w8, w8, #8
cset w8, le
tbnz w8, #0, LBB59_7
b LBB59_6
LBB59_6:
ldur x8, [x29, #-24]
ldr x8, [x8, #2096]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB59_8
b LBB59_19
LBB59_7:
ldur x8, [x29, #-24]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB59_19
b LBB59_8
LBB59_8:
ldur x8, [x29, #-16]
ldr w0, [x8, #1772]
bl _bit_reverse
str w0, [sp, #32]
str wzr, [sp, #28]
ldur x8, [x29, #-24]
ldr w8, [x8, #2112]
str w8, [sp, #24]
b LBB59_9
LBB59_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB59_14
b LBB59_10
LBB59_10: ; in Loop: Header=BB59_9 Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #24]
add w8, w8, w9, asr #1
str w8, [sp, #16]
ldur x8, [x29, #-24]
ldr x8, [x8, #2096]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, hi
tbnz w8, #0, LBB59_12
b LBB59_11
LBB59_11: ; in Loop: Header=BB59_9 Depth=1
ldr w8, [sp, #16]
str w8, [sp, #28]
ldr w9, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, w9, asr #1
str w8, [sp, #24]
b LBB59_13
LBB59_12: ; in Loop: Header=BB59_9 Depth=1
ldr w8, [sp, #24]
asr w8, w8, #1
str w8, [sp, #24]
b LBB59_13
LBB59_13: ; in Loop: Header=BB59_9 Depth=1
b LBB59_9
LBB59_14:
ldur x8, [x29, #-24]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB59_16
b LBB59_15
LBB59_15:
ldur x8, [x29, #-24]
ldr x8, [x8, #2104]
ldrsw x9, [sp, #28]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #28]
b LBB59_16
LBB59_16:
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
ldrsw x9, [sp, #28]
ldrb w8, [x8, x9]
str w8, [sp, #20]
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB59_18
b LBB59_17
LBB59_17:
ldr w10, [sp, #20]
ldur x9, [x29, #-16]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [sp, #20]
ldur x9, [x29, #-16]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldr w8, [sp, #28]
stur w8, [x29, #-4]
b LBB59_33
LBB59_18:
ldur x8, [x29, #-16]
str wzr, [x8, #1776]
mov w8, #-1
stur w8, [x29, #-4]
b LBB59_33
LBB59_19:
ldur x8, [x29, #-24]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB59_21
b LBB59_20
LBB59_20:
adrp x0, l___func__.codebook_decode_scalar_raw@PAGE
add x0, x0, l___func__.codebook_decode_scalar_raw@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1623
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB59_21:
b LBB59_22
LBB59_22:
stur wzr, [x29, #-28]
b LBB59_23
LBB59_23: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur x9, [x29, #-24]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB59_32
b LBB59_24
LBB59_24: ; in Loop: Header=BB59_23 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
ldursw x9, [x29, #-28]
ldrb w8, [x8, x9]
subs w8, w8, #255
cset w8, ne
tbnz w8, #0, LBB59_26
b LBB59_25
LBB59_25: ; in Loop: Header=BB59_23 Depth=1
b LBB59_31
LBB59_26: ; in Loop: Header=BB59_23 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #40]
ldursw x9, [x29, #-28]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-16]
ldr w9, [x9, #1772]
ldur x10, [x29, #-24]
ldr x10, [x10, #8]
ldursw x11, [x29, #-28]
ldrb w11, [x10, x11]
mov w10, #1
lsl w10, w10, w11
subs w10, w10, #1
and w9, w9, w10
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB59_30
b LBB59_27
LBB59_27:
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
ldur x9, [x29, #-24]
ldr x9, [x9, #8]
ldursw x10, [x29, #-28]
ldrb w9, [x9, x10]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB59_29
b LBB59_28
LBB59_28:
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
ldursw x9, [x29, #-28]
ldrb w10, [x8, x9]
ldur x9, [x29, #-16]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
ldursw x9, [x29, #-28]
ldrb w10, [x8, x9]
ldur x9, [x29, #-16]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur w8, [x29, #-28]
stur w8, [x29, #-4]
b LBB59_33
LBB59_29:
ldur x8, [x29, #-16]
str wzr, [x8, #1776]
mov w8, #-1
stur w8, [x29, #-4]
b LBB59_33
LBB59_30: ; in Loop: Header=BB59_23 Depth=1
b LBB59_31
LBB59_31: ; in Loop: Header=BB59_23 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB59_23
LBB59_32:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
ldur x8, [x29, #-16]
str wzr, [x8, #1776]
mov w8, #-1
stur w8, [x29, #-4]
b LBB59_33
LBB59_33:
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 predict_point
_predict_point: ; @predict_point
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur w3, [x29, #-16]
stur w4, [x29, #-20]
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
str w8, [sp, #24]
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
str w8, [sp, #20]
ldr w0, [sp, #24]
bl _abs
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
mul w8, w0, w8
str w8, [sp, #16]
ldr w8, [sp, #16]
ldr w9, [sp, #20]
sdiv w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB60_2
b LBB60_1
LBB60_1:
ldur w8, [x29, #-16]
ldr w9, [sp, #12]
subs w8, w8, w9
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB60_3
LBB60_2:
ldur w8, [x29, #-16]
ldr w9, [sp, #12]
add w8, w8, w9
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB60_3
LBB60_3:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function decode_residue
_decode_residue: ; @decode_residue
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #368
mov x19, sp
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur x0, [x29, #-32]
stur x1, [x29, #-40]
stur w2, [x29, #-44]
stur w3, [x29, #-48]
stur w4, [x29, #-52]
stur x5, [x29, #-64]
ldur x8, [x29, #-32]
ldr x8, [x8, #464]
ldursw x9, [x29, #-52]
add x8, x8, x9, lsl #5
stur x8, [x29, #-88]
ldur x8, [x29, #-32]
add x8, x8, #332
ldursw x9, [x29, #-52]
ldrh w8, [x8, x9, lsl #1]
stur w8, [x29, #-92]
ldur x8, [x29, #-88]
ldrb w8, [x8, #13]
stur w8, [x29, #-96]
ldur x8, [x29, #-32]
ldr x8, [x8, #176]
ldursw x9, [x29, #-96]
mov x10, #2120
mul x9, x9, x10
ldr w8, [x8, x9]
stur w8, [x29, #-100]
ldur x8, [x29, #-88]
ldr w8, [x8, #4]
ldur x9, [x29, #-88]
ldr w9, [x9]
subs w8, w8, w9
stur w8, [x29, #-104]
ldur w8, [x29, #-104]
ldur x9, [x29, #-88]
ldr w9, [x9, #8]
udiv w8, w8, w9
stur w8, [x29, #-108]
ldur x8, [x29, #-32]
ldr w8, [x8, #140]
stur w8, [x29, #-112]
ldur x8, [x29, #-32]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB61_2
b LBB61_1
LBB61_1:
ldur x0, [x29, #-32]
ldur x8, [x29, #-32]
ldrsw x8, [x8, #4]
ldursw x9, [x29, #-108]
lsl x9, x9, #3
add x9, x9, #8
mul x8, x8, x9
mov x1, x8
bl _setup_temp_malloc
str x0, [x19, #24] ; 8-byte Folded Spill
b LBB61_3
LBB61_2:
ldur x8, [x29, #-32]
ldrsw x8, [x8, #4]
ldursw x9, [x29, #-108]
lsl x9, x9, #3
add x9, x9, #8
mul x8, x8, x9
lsr x8, x8, #0
add x8, x8, #15
and x9, x8, #0xfffffffffffffff0
str x9, [x19, #16] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldr x9, [x19, #16] ; 8-byte Folded Reload
mov x8, sp
subs x8, x8, x9
mov sp, x8
str x8, [x19, #24] ; 8-byte Folded Spill
b LBB61_3
LBB61_3:
ldr x0, [x19, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldr w1, [x8, #4]
ldursw x8, [x29, #-108]
lsl x8, x8, #3
mov x2, x8
bl _make_block_array
stur x0, [x29, #-120]
stur wzr, [x29, #-68]
b LBB61_4
LBB61_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-68]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_9
b LBB61_5
LBB61_5: ; in Loop: Header=BB61_4 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-68]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_7
b LBB61_6
LBB61_6: ; in Loop: Header=BB61_4 Depth=1
ldur x8, [x29, #-40]
ldursw x9, [x29, #-68]
ldr x0, [x8, x9, lsl #3]
ldursw x9, [x29, #-48]
mov x8, #4
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB61_7
LBB61_7: ; in Loop: Header=BB61_4 Depth=1
b LBB61_8
LBB61_8: ; in Loop: Header=BB61_4 Depth=1
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
b LBB61_4
LBB61_9:
ldur w8, [x29, #-92]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB61_111
b LBB61_10
LBB61_10:
ldur w8, [x29, #-44]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB61_111
b LBB61_11
LBB61_11:
ldur w8, [x29, #-44]
ldur w9, [x29, #-48]
mul w8, w8, w9
stur w8, [x29, #-124]
stur wzr, [x29, #-72]
b LBB61_12
LBB61_12: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-72]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_17
b LBB61_13
LBB61_13: ; in Loop: Header=BB61_12 Depth=1
ldur x8, [x29, #-64]
ldursw x9, [x29, #-72]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_15
b LBB61_14
LBB61_14:
b LBB61_17
LBB61_15: ; in Loop: Header=BB61_12 Depth=1
b LBB61_16
LBB61_16: ; in Loop: Header=BB61_12 Depth=1
ldur w8, [x29, #-72]
add w8, w8, #1
stur w8, [x29, #-72]
b LBB61_12
LBB61_17:
ldur w8, [x29, #-72]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB61_19
b LBB61_18
LBB61_18:
b LBB61_154
LBB61_19:
stur wzr, [x29, #-76]
b LBB61_20
LBB61_20: ; =>This Loop Header: Depth=1
; Child Loop BB61_80 Depth 2
; Child Loop BB61_95 Depth 3
; Child Loop BB61_52 Depth 2
; Child Loop BB61_67 Depth 3
; Child Loop BB61_23 Depth 2
; Child Loop BB61_38 Depth 3
ldur w8, [x29, #-76]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB61_110
b LBB61_21
LBB61_21: ; in Loop: Header=BB61_20 Depth=1
stur wzr, [x29, #-128]
stur wzr, [x29, #-132]
ldur w8, [x29, #-44]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB61_50
b LBB61_22
LBB61_22: ; in Loop: Header=BB61_20 Depth=1
b LBB61_23
LBB61_23: ; Parent Loop BB61_20 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB61_38 Depth 3
ldur w8, [x29, #-128]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_49
b LBB61_24
LBB61_24: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-88]
ldr w8, [x8]
ldur w9, [x29, #-128]
ldur x10, [x29, #-88]
ldr w10, [x10, #8]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-136]
ldur w8, [x29, #-136]
and w8, w8, #0x1
stur w8, [x29, #-140]
ldur w8, [x29, #-136]
asr w8, w8, #1
stur w8, [x29, #-144]
ldur w8, [x29, #-76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_37
b LBB61_25
LBB61_25: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-32]
ldr x10, [x8, #176]
ldur x8, [x29, #-88]
ldrb w8, [x8, #13]
mov w9, #2120
smaddl x8, w8, w9, x10
stur x8, [x29, #-152]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB61_27
b LBB61_26
LBB61_26: ; in Loop: Header=BB61_23 Depth=2
ldur x0, [x29, #-32]
bl _prep_huffman
b LBB61_27
LBB61_27: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-32]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
stur w8, [x29, #-156]
ldur x8, [x29, #-152]
add x8, x8, #48
ldursw x9, [x29, #-156]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-156]
ldur w8, [x29, #-156]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_31
b LBB61_28
LBB61_28: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-152]
ldr x8, [x8, #8]
ldursw x9, [x29, #-156]
ldrb w8, [x8, x9]
stur w8, [x29, #-160]
ldur w10, [x29, #-160]
ldur x9, [x29, #-32]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldur w10, [x29, #-160]
ldur x9, [x29, #-32]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB61_30
b LBB61_29
LBB61_29: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-32]
str wzr, [x8, #1776]
mov w8, #-1
stur w8, [x29, #-156]
b LBB61_30
LBB61_30: ; in Loop: Header=BB61_23 Depth=2
b LBB61_32
LBB61_31: ; in Loop: Header=BB61_23 Depth=2
ldur x0, [x29, #-32]
ldur x1, [x29, #-152]
bl _codebook_decode_scalar_raw
stur w0, [x29, #-156]
b LBB61_32
LBB61_32: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-152]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB61_34
b LBB61_33
LBB61_33: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-152]
ldr x8, [x8, #2104]
ldursw x9, [x29, #-156]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-156]
b LBB61_34
LBB61_34: ; in Loop: Header=BB61_23 Depth=2
ldur w8, [x29, #-156]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB61_36
b LBB61_35
LBB61_35:
b LBB61_154
LBB61_36: ; in Loop: Header=BB61_23 Depth=2
ldur x8, [x29, #-88]
ldr x8, [x8, #16]
ldursw x9, [x29, #-156]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-120]
ldr x9, [x9]
ldursw x10, [x29, #-132]
str x8, [x9, x10, lsl #3]
b LBB61_37
LBB61_37: ; in Loop: Header=BB61_23 Depth=2
stur wzr, [x29, #-68]
b LBB61_38
LBB61_38: ; Parent Loop BB61_20 Depth=1
; Parent Loop BB61_23 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-68]
ldur w9, [x29, #-100]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [x19, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB61_40
b LBB61_39
LBB61_39: ; in Loop: Header=BB61_38 Depth=3
ldur w8, [x29, #-128]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, lt
str w8, [x19, #12] ; 4-byte Folded Spill
b LBB61_40
LBB61_40: ; in Loop: Header=BB61_38 Depth=3
ldr w8, [x19, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB61_48
b LBB61_41
LBB61_41: ; in Loop: Header=BB61_38 Depth=3
ldur x8, [x29, #-88]
ldr w8, [x8]
ldur w9, [x29, #-128]
ldur x10, [x29, #-88]
ldr w10, [x10, #8]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-164]
ldur x8, [x29, #-120]
ldr x8, [x8]
ldursw x9, [x29, #-132]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-68]
ldrb w8, [x8, x9]
stur w8, [x29, #-168]
ldur x8, [x29, #-88]
ldr x8, [x8, #24]
ldursw x9, [x29, #-168]
add x8, x8, x9, lsl #4
ldursw x9, [x29, #-76]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-172]
ldur w8, [x29, #-172]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_45
b LBB61_42
LBB61_42: ; in Loop: Header=BB61_38 Depth=3
ldur x8, [x29, #-32]
ldr x8, [x8, #176]
ldursw x9, [x29, #-172]
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
stur x8, [x29, #-184]
ldur x0, [x29, #-32]
ldur x1, [x29, #-184]
ldur x2, [x29, #-40]
ldur w5, [x29, #-48]
ldur x8, [x29, #-88]
ldr w6, [x8, #8]
sub x3, x29, #140
sub x4, x29, #144
bl _codebook_decode_deinterleave_repeat_2
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB61_44
b LBB61_43
LBB61_43:
b LBB61_154
LBB61_44: ; in Loop: Header=BB61_38 Depth=3
b LBB61_46
LBB61_45: ; in Loop: Header=BB61_38 Depth=3
ldur x8, [x29, #-88]
ldr w9, [x8, #8]
ldur w8, [x29, #-164]
add w8, w8, w9
stur w8, [x29, #-164]
ldur w8, [x29, #-164]
and w8, w8, #0x1
stur w8, [x29, #-140]
ldur w8, [x29, #-164]
asr w8, w8, #1
stur w8, [x29, #-144]
b LBB61_46
LBB61_46: ; in Loop: Header=BB61_38 Depth=3
b LBB61_47
LBB61_47: ; in Loop: Header=BB61_38 Depth=3
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
ldur w8, [x29, #-128]
add w8, w8, #1
stur w8, [x29, #-128]
b LBB61_38
LBB61_48: ; in Loop: Header=BB61_23 Depth=2
ldur w8, [x29, #-132]
add w8, w8, #1
stur w8, [x29, #-132]
b LBB61_23
LBB61_49: ; in Loop: Header=BB61_20 Depth=1
b LBB61_108
LBB61_50: ; in Loop: Header=BB61_20 Depth=1
ldur w8, [x29, #-44]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB61_79
b LBB61_51
LBB61_51: ; in Loop: Header=BB61_20 Depth=1
b LBB61_52
LBB61_52: ; Parent Loop BB61_20 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB61_67 Depth 3
ldur w8, [x29, #-128]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_78
b LBB61_53
LBB61_53: ; in Loop: Header=BB61_52 Depth=2
ldur x8, [x29, #-88]
ldr w8, [x8]
ldur w9, [x29, #-128]
ldur x10, [x29, #-88]
ldr w10, [x10, #8]
mul w9, w9, w10
add w8, w8, w9
stur w8, [x29, #-188]
str wzr, [x19, #192]
ldur w8, [x29, #-188]
str w8, [x19, #188]
ldur w8, [x29, #-76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_66
b LBB61_54
LBB61_54: ; in Loop: Header=BB61_52 Depth=2
ldur x8, [x29, #-32]
ldr x10, [x8, #176]
ldur x8, [x29, #-88]
ldrb w8, [x8, #13]
mov w9, #2120
smaddl x8, w8, w9, x10
str x8, [x19, #176]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB61_56
b LBB61_55
LBB61_55: ; in Loop: Header=BB61_52 Depth=2
ldur x0, [x29, #-32]
bl _prep_huffman
b LBB61_56
LBB61_56: ; in Loop: Header=BB61_52 Depth=2
ldur x8, [x29, #-32]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [x19, #172]
ldr x8, [x19, #176]
add x8, x8, #48
ldrsw x9, [x19, #172]
ldrsh w8, [x8, x9, lsl #1]
str w8, [x19, #172]
ldr w8, [x19, #172]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_60
b LBB61_57
LBB61_57: ; in Loop: Header=BB61_52 Depth=2
ldr x8, [x19, #176]
ldr x8, [x8, #8]
ldrsw x9, [x19, #172]
ldrb w8, [x8, x9]
str w8, [x19, #168]
ldr w10, [x19, #168]
ldur x9, [x29, #-32]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [x19, #168]
ldur x9, [x29, #-32]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB61_59
b LBB61_58
LBB61_58: ; in Loop: Header=BB61_52 Depth=2
ldur x8, [x29, #-32]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [x19, #172]
b LBB61_59
LBB61_59: ; in Loop: Header=BB61_52 Depth=2
b LBB61_61
LBB61_60: ; in Loop: Header=BB61_52 Depth=2
ldur x0, [x29, #-32]
ldr x1, [x19, #176]
bl _codebook_decode_scalar_raw
str w0, [x19, #172]
b LBB61_61
LBB61_61: ; in Loop: Header=BB61_52 Depth=2
ldr x8, [x19, #176]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB61_63
b LBB61_62
LBB61_62: ; in Loop: Header=BB61_52 Depth=2
ldr x8, [x19, #176]
ldr x8, [x8, #2104]
ldrsw x9, [x19, #172]
ldr w8, [x8, x9, lsl #2]
str w8, [x19, #172]
b LBB61_63
LBB61_63: ; in Loop: Header=BB61_52 Depth=2
ldr w8, [x19, #172]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB61_65
b LBB61_64
LBB61_64:
b LBB61_154
LBB61_65: ; in Loop: Header=BB61_52 Depth=2
ldur x8, [x29, #-88]
ldr x8, [x8, #16]
ldrsw x9, [x19, #172]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-120]
ldr x9, [x9]
ldursw x10, [x29, #-132]
str x8, [x9, x10, lsl #3]
b LBB61_66
LBB61_66: ; in Loop: Header=BB61_52 Depth=2
stur wzr, [x29, #-68]
b LBB61_67
LBB61_67: ; Parent Loop BB61_20 Depth=1
; Parent Loop BB61_52 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-68]
ldur w9, [x29, #-100]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [x19, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB61_69
b LBB61_68
LBB61_68: ; in Loop: Header=BB61_67 Depth=3
ldur w8, [x29, #-128]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, lt
str w8, [x19, #8] ; 4-byte Folded Spill
b LBB61_69
LBB61_69: ; in Loop: Header=BB61_67 Depth=3
ldr w8, [x19, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB61_77
b LBB61_70
LBB61_70: ; in Loop: Header=BB61_67 Depth=3
ldur x8, [x29, #-88]
ldr w8, [x8]
ldur w9, [x29, #-128]
ldur x10, [x29, #-88]
ldr w10, [x10, #8]
mul w9, w9, w10
add w8, w8, w9
str w8, [x19, #164]
ldur x8, [x29, #-120]
ldr x8, [x8]
ldursw x9, [x29, #-132]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-68]
ldrb w8, [x8, x9]
str w8, [x19, #160]
ldur x8, [x29, #-88]
ldr x8, [x8, #24]
ldrsw x9, [x19, #160]
add x8, x8, x9, lsl #4
ldursw x9, [x29, #-76]
ldrsh w8, [x8, x9, lsl #1]
str w8, [x19, #156]
ldr w8, [x19, #156]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_74
b LBB61_71
LBB61_71: ; in Loop: Header=BB61_67 Depth=3
ldur x8, [x29, #-32]
ldr x8, [x8, #176]
ldrsw x9, [x19, #156]
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
str x8, [x19, #144]
ldur x0, [x29, #-32]
ldr x1, [x19, #144]
ldur x2, [x29, #-40]
ldur w3, [x29, #-44]
ldur w6, [x29, #-48]
ldur x8, [x29, #-88]
ldr w7, [x8, #8]
add x4, x19, #192
add x5, x19, #188
bl _codebook_decode_deinterleave_repeat
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB61_73
b LBB61_72
LBB61_72:
b LBB61_154
LBB61_73: ; in Loop: Header=BB61_67 Depth=3
b LBB61_75
LBB61_74: ; in Loop: Header=BB61_67 Depth=3
ldur x8, [x29, #-88]
ldr w9, [x8, #8]
ldr w8, [x19, #164]
add w8, w8, w9
str w8, [x19, #164]
str wzr, [x19, #192]
ldr w8, [x19, #164]
str w8, [x19, #188]
b LBB61_75
LBB61_75: ; in Loop: Header=BB61_67 Depth=3
b LBB61_76
LBB61_76: ; in Loop: Header=BB61_67 Depth=3
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
ldur w8, [x29, #-128]
add w8, w8, #1
stur w8, [x29, #-128]
b LBB61_67
LBB61_77: ; in Loop: Header=BB61_52 Depth=2
ldur w8, [x29, #-132]
add w8, w8, #1
stur w8, [x29, #-132]
b LBB61_52
LBB61_78: ; in Loop: Header=BB61_20 Depth=1
b LBB61_107
LBB61_79: ; in Loop: Header=BB61_20 Depth=1
b LBB61_80
LBB61_80: ; Parent Loop BB61_20 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB61_95 Depth 3
ldur w8, [x29, #-128]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_106
b LBB61_81
LBB61_81: ; in Loop: Header=BB61_80 Depth=2
ldur x8, [x29, #-88]
ldr w8, [x8]
ldur w9, [x29, #-128]
ldur x10, [x29, #-88]
ldr w10, [x10, #8]
mul w9, w9, w10
add w8, w8, w9
str w8, [x19, #140]
ldr w8, [x19, #140]
ldur w10, [x29, #-44]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [x19, #136]
ldr w8, [x19, #140]
ldur w9, [x29, #-44]
sdiv w8, w8, w9
str w8, [x19, #132]
ldur w8, [x29, #-76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_94
b LBB61_82
LBB61_82: ; in Loop: Header=BB61_80 Depth=2
ldur x8, [x29, #-32]
ldr x10, [x8, #176]
ldur x8, [x29, #-88]
ldrb w8, [x8, #13]
mov w9, #2120
smaddl x8, w8, w9, x10
str x8, [x19, #120]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB61_84
b LBB61_83
LBB61_83: ; in Loop: Header=BB61_80 Depth=2
ldur x0, [x29, #-32]
bl _prep_huffman
b LBB61_84
LBB61_84: ; in Loop: Header=BB61_80 Depth=2
ldur x8, [x29, #-32]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [x19, #116]
ldr x8, [x19, #120]
add x8, x8, #48
ldrsw x9, [x19, #116]
ldrsh w8, [x8, x9, lsl #1]
str w8, [x19, #116]
ldr w8, [x19, #116]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_88
b LBB61_85
LBB61_85: ; in Loop: Header=BB61_80 Depth=2
ldr x8, [x19, #120]
ldr x8, [x8, #8]
ldrsw x9, [x19, #116]
ldrb w8, [x8, x9]
str w8, [x19, #112]
ldr w10, [x19, #112]
ldur x9, [x29, #-32]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [x19, #112]
ldur x9, [x29, #-32]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB61_87
b LBB61_86
LBB61_86: ; in Loop: Header=BB61_80 Depth=2
ldur x8, [x29, #-32]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [x19, #116]
b LBB61_87
LBB61_87: ; in Loop: Header=BB61_80 Depth=2
b LBB61_89
LBB61_88: ; in Loop: Header=BB61_80 Depth=2
ldur x0, [x29, #-32]
ldr x1, [x19, #120]
bl _codebook_decode_scalar_raw
str w0, [x19, #116]
b LBB61_89
LBB61_89: ; in Loop: Header=BB61_80 Depth=2
ldr x8, [x19, #120]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB61_91
b LBB61_90
LBB61_90: ; in Loop: Header=BB61_80 Depth=2
ldr x8, [x19, #120]
ldr x8, [x8, #2104]
ldrsw x9, [x19, #116]
ldr w8, [x8, x9, lsl #2]
str w8, [x19, #116]
b LBB61_91
LBB61_91: ; in Loop: Header=BB61_80 Depth=2
ldr w8, [x19, #116]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB61_93
b LBB61_92
LBB61_92:
b LBB61_154
LBB61_93: ; in Loop: Header=BB61_80 Depth=2
ldur x8, [x29, #-88]
ldr x8, [x8, #16]
ldrsw x9, [x19, #116]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-120]
ldr x9, [x9]
ldursw x10, [x29, #-132]
str x8, [x9, x10, lsl #3]
b LBB61_94
LBB61_94: ; in Loop: Header=BB61_80 Depth=2
stur wzr, [x29, #-68]
b LBB61_95
LBB61_95: ; Parent Loop BB61_20 Depth=1
; Parent Loop BB61_80 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-68]
ldur w9, [x29, #-100]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [x19, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB61_97
b LBB61_96
LBB61_96: ; in Loop: Header=BB61_95 Depth=3
ldur w8, [x29, #-128]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, lt
str w8, [x19, #4] ; 4-byte Folded Spill
b LBB61_97
LBB61_97: ; in Loop: Header=BB61_95 Depth=3
ldr w8, [x19, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB61_105
b LBB61_98
LBB61_98: ; in Loop: Header=BB61_95 Depth=3
ldur x8, [x29, #-88]
ldr w8, [x8]
ldur w9, [x29, #-128]
ldur x10, [x29, #-88]
ldr w10, [x10, #8]
mul w9, w9, w10
add w8, w8, w9
str w8, [x19, #108]
ldur x8, [x29, #-120]
ldr x8, [x8]
ldursw x9, [x29, #-132]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-68]
ldrb w8, [x8, x9]
str w8, [x19, #104]
ldur x8, [x29, #-88]
ldr x8, [x8, #24]
ldrsw x9, [x19, #104]
add x8, x8, x9, lsl #4
ldursw x9, [x29, #-76]
ldrsh w8, [x8, x9, lsl #1]
str w8, [x19, #100]
ldr w8, [x19, #100]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_102
b LBB61_99
LBB61_99: ; in Loop: Header=BB61_95 Depth=3
ldur x8, [x29, #-32]
ldr x8, [x8, #176]
ldrsw x9, [x19, #100]
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
str x8, [x19, #88]
ldur x0, [x29, #-32]
ldr x1, [x19, #88]
ldur x2, [x29, #-40]
ldur w3, [x29, #-44]
ldur w6, [x29, #-48]
ldur x8, [x29, #-88]
ldr w7, [x8, #8]
add x4, x19, #136
add x5, x19, #132
bl _codebook_decode_deinterleave_repeat
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB61_101
b LBB61_100
LBB61_100:
b LBB61_154
LBB61_101: ; in Loop: Header=BB61_95 Depth=3
b LBB61_103
LBB61_102: ; in Loop: Header=BB61_95 Depth=3
ldur x8, [x29, #-88]
ldr w9, [x8, #8]
ldr w8, [x19, #108]
add w8, w8, w9
str w8, [x19, #108]
ldr w8, [x19, #108]
ldur w10, [x29, #-44]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [x19, #136]
ldr w8, [x19, #108]
ldur w9, [x29, #-44]
sdiv w8, w8, w9
str w8, [x19, #132]
b LBB61_103
LBB61_103: ; in Loop: Header=BB61_95 Depth=3
b LBB61_104
LBB61_104: ; in Loop: Header=BB61_95 Depth=3
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
ldur w8, [x29, #-128]
add w8, w8, #1
stur w8, [x29, #-128]
b LBB61_95
LBB61_105: ; in Loop: Header=BB61_80 Depth=2
ldur w8, [x29, #-132]
add w8, w8, #1
stur w8, [x29, #-132]
b LBB61_80
LBB61_106: ; in Loop: Header=BB61_20 Depth=1
b LBB61_107
LBB61_107: ; in Loop: Header=BB61_20 Depth=1
b LBB61_108
LBB61_108: ; in Loop: Header=BB61_20 Depth=1
b LBB61_109
LBB61_109: ; in Loop: Header=BB61_20 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB61_20
LBB61_110:
b LBB61_154
LBB61_111:
stur wzr, [x29, #-76]
b LBB61_112
LBB61_112: ; =>This Loop Header: Depth=1
; Child Loop BB61_114 Depth 2
; Child Loop BB61_117 Depth 3
; Child Loop BB61_135 Depth 3
; Child Loop BB61_139 Depth 4
ldur w8, [x29, #-76]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB61_153
b LBB61_113
LBB61_113: ; in Loop: Header=BB61_112 Depth=1
str wzr, [x19, #84]
str wzr, [x19, #80]
b LBB61_114
LBB61_114: ; Parent Loop BB61_112 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB61_117 Depth 3
; Child Loop BB61_135 Depth 3
; Child Loop BB61_139 Depth 4
ldr w8, [x19, #84]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_151
b LBB61_115
LBB61_115: ; in Loop: Header=BB61_114 Depth=2
ldur w8, [x29, #-76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_134
b LBB61_116
LBB61_116: ; in Loop: Header=BB61_114 Depth=2
stur wzr, [x29, #-72]
b LBB61_117
LBB61_117: ; Parent Loop BB61_112 Depth=1
; Parent Loop BB61_114 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-72]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_133
b LBB61_118
LBB61_118: ; in Loop: Header=BB61_117 Depth=3
ldur x8, [x29, #-64]
ldursw x9, [x29, #-72]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_131
b LBB61_119
LBB61_119: ; in Loop: Header=BB61_117 Depth=3
ldur x8, [x29, #-32]
ldr x10, [x8, #176]
ldur x8, [x29, #-88]
ldrb w8, [x8, #13]
mov w9, #2120
smaddl x8, w8, w9, x10
str x8, [x19, #72]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB61_121
b LBB61_120
LBB61_120: ; in Loop: Header=BB61_117 Depth=3
ldur x0, [x29, #-32]
bl _prep_huffman
b LBB61_121
LBB61_121: ; in Loop: Header=BB61_117 Depth=3
ldur x8, [x29, #-32]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [x19, #68]
ldr x8, [x19, #72]
add x8, x8, #48
ldrsw x9, [x19, #68]
ldrsh w8, [x8, x9, lsl #1]
str w8, [x19, #68]
ldr w8, [x19, #68]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_125
b LBB61_122
LBB61_122: ; in Loop: Header=BB61_117 Depth=3
ldr x8, [x19, #72]
ldr x8, [x8, #8]
ldrsw x9, [x19, #68]
ldrb w8, [x8, x9]
str w8, [x19, #64]
ldr w10, [x19, #64]
ldur x9, [x29, #-32]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [x19, #64]
ldur x9, [x29, #-32]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur x8, [x29, #-32]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB61_124
b LBB61_123
LBB61_123: ; in Loop: Header=BB61_117 Depth=3
ldur x8, [x29, #-32]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [x19, #68]
b LBB61_124
LBB61_124: ; in Loop: Header=BB61_117 Depth=3
b LBB61_126
LBB61_125: ; in Loop: Header=BB61_117 Depth=3
ldur x0, [x29, #-32]
ldr x1, [x19, #72]
bl _codebook_decode_scalar_raw
str w0, [x19, #68]
b LBB61_126
LBB61_126: ; in Loop: Header=BB61_117 Depth=3
ldr x8, [x19, #72]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB61_128
b LBB61_127
LBB61_127: ; in Loop: Header=BB61_117 Depth=3
ldr x8, [x19, #72]
ldr x8, [x8, #2104]
ldrsw x9, [x19, #68]
ldr w8, [x8, x9, lsl #2]
str w8, [x19, #68]
b LBB61_128
LBB61_128: ; in Loop: Header=BB61_117 Depth=3
ldr w8, [x19, #68]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB61_130
b LBB61_129
LBB61_129:
b LBB61_154
LBB61_130: ; in Loop: Header=BB61_117 Depth=3
ldur x8, [x29, #-88]
ldr x8, [x8, #16]
ldrsw x9, [x19, #68]
ldr x8, [x8, x9, lsl #3]
ldur x9, [x29, #-120]
ldursw x10, [x29, #-72]
ldr x9, [x9, x10, lsl #3]
ldrsw x10, [x19, #80]
str x8, [x9, x10, lsl #3]
b LBB61_131
LBB61_131: ; in Loop: Header=BB61_117 Depth=3
b LBB61_132
LBB61_132: ; in Loop: Header=BB61_117 Depth=3
ldur w8, [x29, #-72]
add w8, w8, #1
stur w8, [x29, #-72]
b LBB61_117
LBB61_133: ; in Loop: Header=BB61_114 Depth=2
b LBB61_134
LBB61_134: ; in Loop: Header=BB61_114 Depth=2
stur wzr, [x29, #-68]
b LBB61_135
LBB61_135: ; Parent Loop BB61_112 Depth=1
; Parent Loop BB61_114 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB61_139 Depth 4
ldur w8, [x29, #-68]
ldur w9, [x29, #-100]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [x19] ; 4-byte Folded Spill
tbnz w8, #0, LBB61_137
b LBB61_136
LBB61_136: ; in Loop: Header=BB61_135 Depth=3
ldr w8, [x19, #84]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, lt
str w8, [x19] ; 4-byte Folded Spill
b LBB61_137
LBB61_137: ; in Loop: Header=BB61_135 Depth=3
ldr w8, [x19] ; 4-byte Folded Reload
tbz w8, #0, LBB61_150
b LBB61_138
LBB61_138: ; in Loop: Header=BB61_135 Depth=3
stur wzr, [x29, #-72]
b LBB61_139
LBB61_139: ; Parent Loop BB61_112 Depth=1
; Parent Loop BB61_114 Depth=2
; Parent Loop BB61_135 Depth=3
; => This Inner Loop Header: Depth=4
ldur w8, [x29, #-72]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB61_148
b LBB61_140
LBB61_140: ; in Loop: Header=BB61_139 Depth=4
ldur x8, [x29, #-64]
ldursw x9, [x29, #-72]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB61_146
b LBB61_141
LBB61_141: ; in Loop: Header=BB61_139 Depth=4
ldur x8, [x29, #-120]
ldursw x9, [x29, #-72]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [x19, #80]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-68]
ldrb w8, [x8, x9]
str w8, [x19, #60]
ldur x8, [x29, #-88]
ldr x8, [x8, #24]
ldrsw x9, [x19, #60]
add x8, x8, x9, lsl #4
ldursw x9, [x29, #-76]
ldrsh w8, [x8, x9, lsl #1]
str w8, [x19, #56]
ldr w8, [x19, #56]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB61_145
b LBB61_142
LBB61_142: ; in Loop: Header=BB61_139 Depth=4
ldur x8, [x29, #-40]
ldursw x9, [x29, #-72]
ldr x8, [x8, x9, lsl #3]
str x8, [x19, #48]
ldur x8, [x29, #-88]
ldr w8, [x8]
ldr w9, [x19, #84]
ldur x10, [x29, #-88]
ldr w10, [x10, #8]
mul w9, w9, w10
add w8, w8, w9
str w8, [x19, #44]
ldur x8, [x29, #-88]
ldr w8, [x8, #8]
str w8, [x19, #40]
ldur x8, [x29, #-32]
ldr x8, [x8, #176]
ldrsw x9, [x19, #56]
mov x10, #2120
mul x9, x9, x10
add x8, x8, x9
str x8, [x19, #32]
ldur x0, [x29, #-32]
ldr x1, [x19, #32]
ldr x2, [x19, #48]
ldr w3, [x19, #44]
ldr w4, [x19, #40]
ldur w5, [x29, #-92]
bl _residue_decode
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB61_144
b LBB61_143
LBB61_143:
b LBB61_154
LBB61_144: ; in Loop: Header=BB61_139 Depth=4
b LBB61_145
LBB61_145: ; in Loop: Header=BB61_139 Depth=4
b LBB61_146
LBB61_146: ; in Loop: Header=BB61_139 Depth=4
b LBB61_147
LBB61_147: ; in Loop: Header=BB61_139 Depth=4
ldur w8, [x29, #-72]
add w8, w8, #1
stur w8, [x29, #-72]
b LBB61_139
LBB61_148: ; in Loop: Header=BB61_135 Depth=3
b LBB61_149
LBB61_149: ; in Loop: Header=BB61_135 Depth=3
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
ldr w8, [x19, #84]
add w8, w8, #1
str w8, [x19, #84]
b LBB61_135
LBB61_150: ; in Loop: Header=BB61_114 Depth=2
ldr w8, [x19, #80]
add w8, w8, #1
str w8, [x19, #80]
b LBB61_114
LBB61_151: ; in Loop: Header=BB61_112 Depth=1
b LBB61_152
LBB61_152: ; in Loop: Header=BB61_112 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB61_112
LBB61_153:
b LBB61_154
LBB61_154:
ldur w8, [x29, #-112]
ldur x9, [x29, #-32]
str w8, [x9, #140]
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, LBB61_156
b LBB61_155
LBB61_155:
bl ___stack_chk_fail
LBB61_156:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function do_floor
_do_floor: ; @do_floor
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
stur w3, [x29, #-32]
stur x4, [x29, #-40]
stur x5, [x29, #-48]
str x6, [sp, #56]
ldur w8, [x29, #-32]
asr w8, w8, #1
str w8, [sp, #52]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
ldursw x9, [x29, #-28]
mov x10, #3
mul x9, x9, x10
add x8, x8, x9
ldrb w8, [x8, #2]
str w8, [sp, #48]
ldur x8, [x29, #-24]
add x8, x8, #17
ldrsw x9, [sp, #48]
ldrb w8, [x8, x9]
str w8, [sp, #44]
ldur x8, [x29, #-16]
add x8, x8, #188
ldrsw x9, [sp, #44]
ldrh w8, [x8, x9, lsl #1]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB62_2
b LBB62_1
LBB62_1:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB62_16
LBB62_2:
ldur x8, [x29, #-16]
ldr x8, [x8, #320]
ldrsw x9, [sp, #44]
mov x10, #1596
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #32]
str wzr, [sp, #20]
ldur x8, [x29, #-48]
ldrsh w8, [x8]
ldr x9, [sp, #32]
ldrb w9, [x9, #1588]
mul w8, w8, w9
str w8, [sp, #16]
mov w8, #1
str w8, [sp, #24]
b LBB62_3
LBB62_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr x9, [sp, #32]
ldr w9, [x9, #1592]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB62_8
b LBB62_4
LBB62_4: ; in Loop: Header=BB62_3 Depth=1
ldr x8, [sp, #32]
add x8, x8, #838
ldrsw x9, [sp, #24]
ldrb w8, [x8, x9]
str w8, [sp, #28]
ldur x8, [x29, #-48]
ldrsw x9, [sp, #28]
ldrsh w8, [x8, x9, lsl #1]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB62_6
b LBB62_5
LBB62_5: ; in Loop: Header=BB62_3 Depth=1
ldur x8, [x29, #-48]
ldrsw x9, [sp, #28]
ldrsh w8, [x8, x9, lsl #1]
ldr x9, [sp, #32]
ldrb w9, [x9, #1588]
mul w8, w8, w9
str w8, [sp, #12]
ldr x8, [sp, #32]
add x8, x8, #338
ldrsw x9, [sp, #28]
ldrh w8, [x8, x9, lsl #1]
str w8, [sp, #8]
ldur x0, [x29, #-40]
ldr w1, [sp, #20]
ldr w2, [sp, #16]
ldr w3, [sp, #8]
ldr w4, [sp, #12]
ldr w5, [sp, #52]
bl _draw_line
ldr w8, [sp, #8]
str w8, [sp, #20]
ldr w8, [sp, #12]
str w8, [sp, #16]
b LBB62_6
LBB62_6: ; in Loop: Header=BB62_3 Depth=1
b LBB62_7
LBB62_7: ; in Loop: Header=BB62_3 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB62_3
LBB62_8:
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB62_14
b LBB62_9
LBB62_9:
ldr w8, [sp, #20]
str w8, [sp, #28]
b LBB62_10
LBB62_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB62_13
b LBB62_11
LBB62_11: ; in Loop: Header=BB62_10 Depth=1
ldrsw x9, [sp, #16]
adrp x8, _inverse_db_table@PAGE
add x8, x8, _inverse_db_table@PAGEOFF
ldr s1, [x8, x9, lsl #2]
ldur x8, [x29, #-40]
ldrsw x9, [sp, #28]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fmul s0, s0, s1
str s0, [x8]
b LBB62_12
LBB62_12: ; in Loop: Header=BB62_10 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB62_10
LBB62_13:
b LBB62_14
LBB62_14:
b LBB62_15
LBB62_15:
mov w8, #1
stur w8, [x29, #-4]
b LBB62_16
LBB62_16:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function inverse_mdct
_inverse_mdct: ; @inverse_mdct
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #400
mov x19, sp
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur x0, [x29, #-32]
stur w1, [x29, #-36]
stur x2, [x29, #-48]
stur w3, [x29, #-52]
ldur w8, [x29, #-36]
asr w8, w8, #1
stur w8, [x29, #-56]
ldur w8, [x29, #-36]
asr w8, w8, #2
stur w8, [x29, #-60]
ldur w8, [x29, #-36]
asr w8, w8, #3
stur w8, [x29, #-64]
ldur w8, [x29, #-36]
ldur w9, [x29, #-60]
subs w8, w8, w9
stur w8, [x29, #-72]
ldur x8, [x29, #-48]
ldr w8, [x8, #140]
stur w8, [x29, #-80]
ldur x8, [x29, #-48]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB63_2
b LBB63_1
LBB63_1:
ldur x0, [x29, #-48]
ldursw x8, [x29, #-56]
lsl x8, x8, #2
mov x1, x8
bl _setup_temp_malloc
str x0, [x19, #16] ; 8-byte Folded Spill
b LBB63_3
LBB63_2:
ldursw x8, [x29, #-56]
lsl x8, x8, #2
lsr x8, x8, #0
add x8, x8, #15
and x9, x8, #0xfffffffffffffff0
str x9, [x19, #8] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldr x9, [x19, #8] ; 8-byte Folded Reload
mov x8, sp
subs x8, x8, x9
mov sp, x8
str x8, [x19, #16] ; 8-byte Folded Spill
b LBB63_3
LBB63_3:
ldr x8, [x19, #16] ; 8-byte Folded Reload
stur x8, [x29, #-88]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-96]
stur xzr, [x29, #-104]
ldur x8, [x29, #-48]
add x8, x8, #1408
ldursw x9, [x29, #-52]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-112]
ldur x8, [x29, #-88]
ldur w9, [x29, #-56]
subs w9, w9, #2
add x8, x8, w9, sxtw #2
stur x8, [x29, #-120]
ldur x8, [x29, #-112]
stur x8, [x29, #-136]
ldur x8, [x29, #-32]
stur x8, [x29, #-128]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-56]
add x8, x8, x9, lsl #2
stur x8, [x29, #-144]
b LBB63_4
LBB63_4: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-128]
ldur x9, [x29, #-144]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB63_6
b LBB63_5
LBB63_5: ; in Loop: Header=BB63_4 Depth=1
ldur x8, [x29, #-128]
ldr s0, [x8]
ldur x8, [x29, #-136]
ldr s1, [x8]
ldur x8, [x29, #-128]
ldr s2, [x8, #8]
ldur x8, [x29, #-136]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldur x8, [x29, #-120]
str s0, [x8, #4]
ldur x8, [x29, #-128]
ldr s0, [x8]
ldur x8, [x29, #-136]
ldr s1, [x8, #4]
ldur x8, [x29, #-128]
ldr s2, [x8, #8]
ldur x8, [x29, #-136]
ldr s3, [x8]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldur x8, [x29, #-120]
str s0, [x8]
ldur x8, [x29, #-120]
subs x8, x8, #8
stur x8, [x29, #-120]
ldur x8, [x29, #-136]
add x8, x8, #8
stur x8, [x29, #-136]
ldur x8, [x29, #-128]
add x8, x8, #16
stur x8, [x29, #-128]
b LBB63_4
LBB63_6:
ldur x8, [x29, #-32]
ldur w9, [x29, #-56]
subs w9, w9, #3
add x8, x8, w9, sxtw #2
stur x8, [x29, #-128]
b LBB63_7
LBB63_7: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-120]
ldur x9, [x29, #-88]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB63_9
b LBB63_8
LBB63_8: ; in Loop: Header=BB63_7 Depth=1
ldur x8, [x29, #-128]
ldr s0, [x8, #8]
ldur x8, [x29, #-136]
ldr s1, [x8]
ldur x8, [x29, #-128]
ldr s2, [x8]
fneg s2, s2
ldur x8, [x29, #-136]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmadd s0, s0, s1, s2
ldur x8, [x29, #-120]
str s0, [x8, #4]
ldur x8, [x29, #-128]
ldr s0, [x8, #8]
ldur x8, [x29, #-136]
ldr s1, [x8, #4]
ldur x8, [x29, #-128]
ldr s2, [x8]
fneg s2, s2
ldur x8, [x29, #-136]
ldr s3, [x8]
fmul s2, s2, s3
fmsub s0, s0, s1, s2
ldur x8, [x29, #-120]
str s0, [x8]
ldur x8, [x29, #-120]
subs x8, x8, #8
stur x8, [x29, #-120]
ldur x8, [x29, #-136]
add x8, x8, #8
stur x8, [x29, #-136]
ldur x8, [x29, #-128]
subs x8, x8, #16
stur x8, [x29, #-128]
b LBB63_7
LBB63_9:
ldur x8, [x29, #-32]
stur x8, [x29, #-96]
ldur x8, [x29, #-88]
stur x8, [x29, #-104]
ldur x8, [x29, #-112]
ldur w9, [x29, #-56]
subs w9, w9, #8
add x8, x8, w9, sxtw #2
stur x8, [x29, #-152]
ldur x8, [x29, #-104]
ldursw x9, [x29, #-60]
add x8, x8, x9, lsl #2
stur x8, [x29, #-176]
ldur x8, [x29, #-104]
stur x8, [x29, #-184]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-60]
add x8, x8, x9, lsl #2
stur x8, [x29, #-160]
ldur x8, [x29, #-96]
stur x8, [x29, #-168]
b LBB63_10
LBB63_10: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-152]
ldur x9, [x29, #-112]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB63_12
b LBB63_11
LBB63_11: ; in Loop: Header=BB63_10 Depth=1
ldur x8, [x29, #-176]
ldr s0, [x8, #4]
ldur x8, [x29, #-184]
ldr s1, [x8, #4]
fsub s0, s0, s1
stur s0, [x29, #-192]
ldur x8, [x29, #-176]
ldr s0, [x8]
ldur x8, [x29, #-184]
ldr s1, [x8]
fsub s0, s0, s1
stur s0, [x29, #-188]
ldur x8, [x29, #-176]
ldr s0, [x8, #4]
ldur x8, [x29, #-184]
ldr s1, [x8, #4]
fadd s0, s0, s1
ldur x8, [x29, #-160]
str s0, [x8, #4]
ldur x8, [x29, #-176]
ldr s0, [x8]
ldur x8, [x29, #-184]
ldr s1, [x8]
fadd s0, s0, s1
ldur x8, [x29, #-160]
str s0, [x8]
ldur s0, [x29, #-192]
ldur x8, [x29, #-152]
ldr s1, [x8, #16]
ldur s2, [x29, #-188]
ldur x8, [x29, #-152]
ldr s3, [x8, #20]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldur x8, [x29, #-168]
str s0, [x8, #4]
ldur s0, [x29, #-188]
ldur x8, [x29, #-152]
ldr s1, [x8, #16]
ldur s2, [x29, #-192]
ldur x8, [x29, #-152]
ldr s3, [x8, #20]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldur x8, [x29, #-168]
str s0, [x8]
ldur x8, [x29, #-176]
ldr s0, [x8, #12]
ldur x8, [x29, #-184]
ldr s1, [x8, #12]
fsub s0, s0, s1
stur s0, [x29, #-192]
ldur x8, [x29, #-176]
ldr s0, [x8, #8]
ldur x8, [x29, #-184]
ldr s1, [x8, #8]
fsub s0, s0, s1
stur s0, [x29, #-188]
ldur x8, [x29, #-176]
ldr s0, [x8, #12]
ldur x8, [x29, #-184]
ldr s1, [x8, #12]
fadd s0, s0, s1
ldur x8, [x29, #-160]
str s0, [x8, #12]
ldur x8, [x29, #-176]
ldr s0, [x8, #8]
ldur x8, [x29, #-184]
ldr s1, [x8, #8]
fadd s0, s0, s1
ldur x8, [x29, #-160]
str s0, [x8, #8]
ldur s0, [x29, #-192]
ldur x8, [x29, #-152]
ldr s1, [x8]
ldur s2, [x29, #-188]
ldur x8, [x29, #-152]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldur x8, [x29, #-168]
str s0, [x8, #12]
ldur s0, [x29, #-188]
ldur x8, [x29, #-152]
ldr s1, [x8]
ldur s2, [x29, #-192]
ldur x8, [x29, #-152]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldur x8, [x29, #-168]
str s0, [x8, #8]
ldur x8, [x29, #-152]
subs x8, x8, #32
stur x8, [x29, #-152]
ldur x8, [x29, #-160]
add x8, x8, #16
stur x8, [x29, #-160]
ldur x8, [x29, #-168]
add x8, x8, #16
stur x8, [x29, #-168]
ldur x8, [x29, #-176]
add x8, x8, #16
stur x8, [x29, #-176]
ldur x8, [x29, #-184]
add x8, x8, #16
stur x8, [x29, #-184]
b LBB63_10
LBB63_12:
ldur w0, [x29, #-36]
bl _ilog
subs w8, w0, #1
stur w8, [x29, #-76]
ldur w8, [x29, #-36]
asr w0, w8, #4
ldur x1, [x29, #-96]
ldur w8, [x29, #-56]
subs w9, w8, #1
ldur w10, [x29, #-60]
mov w8, #0
str w8, [x19] ; 4-byte Folded Spill
mul w10, w10, w8
subs w2, w9, w10
ldur w9, [x29, #-36]
subs w3, w8, w9, asr #3
ldur x4, [x29, #-112]
bl _imdct_step3_iter0_loop
ldr w8, [x19] ; 4-byte Folded Reload
ldur w9, [x29, #-36]
asr w0, w9, #4
ldur x1, [x29, #-96]
ldur w9, [x29, #-56]
subs w9, w9, #1
ldur w10, [x29, #-60]
subs w2, w9, w10
ldur w9, [x29, #-36]
subs w3, w8, w9, asr #3
ldur x4, [x29, #-112]
bl _imdct_step3_iter0_loop
ldr w8, [x19] ; 4-byte Folded Reload
ldur w9, [x29, #-36]
asr w0, w9, #5
ldur x1, [x29, #-96]
ldur w9, [x29, #-56]
subs w9, w9, #1
ldur w10, [x29, #-64]
mul w10, w10, w8
subs w2, w9, w10
ldur w9, [x29, #-36]
subs w3, w8, w9, asr #4
ldur x4, [x29, #-112]
mov w5, #16
str w5, [x19, #4] ; 4-byte Folded Spill
bl _imdct_step3_inner_r_loop
ldr w8, [x19] ; 4-byte Folded Reload
ldr w5, [x19, #4] ; 4-byte Folded Reload
ldur w9, [x29, #-36]
asr w0, w9, #5
ldur x1, [x29, #-96]
ldur w9, [x29, #-56]
subs w9, w9, #1
ldur w10, [x29, #-64]
subs w2, w9, w10
ldur w9, [x29, #-36]
subs w3, w8, w9, asr #4
ldur x4, [x29, #-112]
bl _imdct_step3_inner_r_loop
ldr w8, [x19] ; 4-byte Folded Reload
ldr w5, [x19, #4] ; 4-byte Folded Reload
ldur w9, [x29, #-36]
asr w0, w9, #5
ldur x1, [x29, #-96]
ldur w9, [x29, #-56]
subs w9, w9, #1
ldur w10, [x29, #-64]
subs w2, w9, w10, lsl #1
ldur w9, [x29, #-36]
subs w3, w8, w9, asr #4
ldur x4, [x29, #-112]
bl _imdct_step3_inner_r_loop
ldr w8, [x19] ; 4-byte Folded Reload
ldr w5, [x19, #4] ; 4-byte Folded Reload
ldur w9, [x29, #-36]
asr w0, w9, #5
ldur x1, [x29, #-96]
ldur w9, [x29, #-56]
subs w9, w9, #1
ldur w10, [x29, #-64]
mov w11, #3
mul w10, w10, w11
subs w2, w9, w10
ldur w9, [x29, #-36]
subs w3, w8, w9, asr #4
ldur x4, [x29, #-112]
bl _imdct_step3_inner_r_loop
mov w8, #2
stur w8, [x29, #-68]
b LBB63_13
LBB63_13: ; =>This Loop Header: Depth=1
; Child Loop BB63_15 Depth 2
ldur w8, [x29, #-68]
ldur w9, [x29, #-76]
subs w9, w9, #3
subs w8, w8, w9, asr #1
cset w8, ge
tbnz w8, #0, LBB63_20
b LBB63_14
LBB63_14: ; in Loop: Header=BB63_13 Depth=1
ldur w8, [x29, #-36]
ldur w9, [x29, #-68]
add w9, w9, #2
asr w8, w8, w9
stur w8, [x29, #-196]
ldur w8, [x29, #-196]
asr w8, w8, #1
stur w8, [x29, #-200]
ldur w9, [x29, #-68]
mov w8, #1
add w9, w9, #1
lsl w8, w8, w9
stur w8, [x29, #-204]
str wzr, [x19, #208]
b LBB63_15
LBB63_15: ; Parent Loop BB63_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x19, #208]
ldur w9, [x29, #-204]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB63_18
b LBB63_16
LBB63_16: ; in Loop: Header=BB63_15 Depth=2
ldur w8, [x29, #-36]
ldur w9, [x29, #-68]
add w9, w9, #4
asr w0, w8, w9
ldur x1, [x29, #-96]
ldur w9, [x29, #-56]
mov w8, #1
subs w9, w9, #1
ldur w10, [x29, #-196]
ldr w11, [x19, #208]
mul w10, w10, w11
subs w2, w9, w10
ldur w10, [x29, #-200]
mov w9, #0
subs w3, w9, w10
ldur x4, [x29, #-112]
ldur w9, [x29, #-68]
add w9, w9, #3
lsl w5, w8, w9
bl _imdct_step3_inner_r_loop
b LBB63_17
LBB63_17: ; in Loop: Header=BB63_15 Depth=2
ldr w8, [x19, #208]
add w8, w8, #1
str w8, [x19, #208]
b LBB63_15
LBB63_18: ; in Loop: Header=BB63_13 Depth=1
b LBB63_19
LBB63_19: ; in Loop: Header=BB63_13 Depth=1
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
b LBB63_13
LBB63_20:
b LBB63_21
LBB63_21: ; =>This Loop Header: Depth=1
; Child Loop BB63_23 Depth 2
ldur w8, [x29, #-68]
ldur w9, [x29, #-76]
subs w9, w9, #6
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB63_28
b LBB63_22
LBB63_22: ; in Loop: Header=BB63_21 Depth=1
ldur w8, [x29, #-36]
ldur w9, [x29, #-68]
add w9, w9, #2
asr w8, w8, w9
str w8, [x19, #204]
ldur w8, [x29, #-68]
add w9, w8, #3
mov w8, #1
lsl w9, w8, w9
str w9, [x19, #200]
ldr w9, [x19, #204]
asr w9, w9, #1
str w9, [x19, #196]
ldur w9, [x29, #-36]
ldur w10, [x29, #-68]
add w10, w10, #6
asr w9, w9, w10
str w9, [x19, #192]
ldur w9, [x29, #-68]
add w9, w9, #1
lsl w8, w8, w9
str w8, [x19, #184]
ldur x8, [x29, #-112]
str x8, [x19, #168]
ldur w8, [x29, #-56]
subs w8, w8, #1
str w8, [x19, #180]
ldr w8, [x19, #192]
str w8, [x19, #188]
b LBB63_23
LBB63_23: ; Parent Loop BB63_21 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x19, #188]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB63_26
b LBB63_24
LBB63_24: ; in Loop: Header=BB63_23 Depth=2
ldr w0, [x19, #184]
ldur x1, [x29, #-96]
ldr w2, [x19, #180]
ldr w9, [x19, #196]
mov w8, #0
subs w3, w8, w9
ldr x4, [x19, #168]
ldr w5, [x19, #200]
ldr w6, [x19, #204]
bl _imdct_step3_inner_s_loop
ldr w8, [x19, #200]
lsl w9, w8, #2
ldr x8, [x19, #168]
add x8, x8, w9, sxtw #2
str x8, [x19, #168]
ldr w8, [x19, #180]
subs w8, w8, #8
str w8, [x19, #180]
b LBB63_25
LBB63_25: ; in Loop: Header=BB63_23 Depth=2
ldr w8, [x19, #188]
subs w8, w8, #1
str w8, [x19, #188]
b LBB63_23
LBB63_26: ; in Loop: Header=BB63_21 Depth=1
b LBB63_27
LBB63_27: ; in Loop: Header=BB63_21 Depth=1
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
b LBB63_21
LBB63_28:
ldur w8, [x29, #-36]
asr w0, w8, #5
ldur x1, [x29, #-96]
ldur w8, [x29, #-56]
subs w2, w8, #1
ldur x3, [x29, #-112]
ldur w4, [x29, #-36]
bl _imdct_step3_inner_s_loop_ld654
ldur x8, [x29, #-48]
add x8, x8, #1472
ldursw x9, [x29, #-52]
ldr x8, [x8, x9, lsl #3]
str x8, [x19, #160]
ldur x8, [x29, #-104]
ldur w9, [x29, #-60]
subs w9, w9, #4
add x8, x8, w9, sxtw #2
str x8, [x19, #152]
ldur x8, [x29, #-104]
ldur w9, [x29, #-56]
subs w9, w9, #4
add x8, x8, w9, sxtw #2
str x8, [x19, #144]
b LBB63_29
LBB63_29: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #152]
ldur x9, [x29, #-104]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB63_31
b LBB63_30
LBB63_30: ; in Loop: Header=BB63_29 Depth=1
ldr x8, [x19, #160]
ldrh w8, [x8]
str w8, [x19, #140]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #0
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #144]
str s0, [x8, #12]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #144]
str s0, [x8, #8]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #2
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #152]
str s0, [x8, #12]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #3
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #152]
str s0, [x8, #8]
ldr x8, [x19, #160]
ldrh w8, [x8, #2]
str w8, [x19, #140]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #0
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #144]
str s0, [x8, #4]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #144]
str s0, [x8]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #2
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #152]
str s0, [x8, #4]
ldur x8, [x29, #-96]
ldr w9, [x19, #140]
add w9, w9, #3
ldr s0, [x8, w9, sxtw #2]
ldr x8, [x19, #152]
str s0, [x8]
ldr x8, [x19, #152]
subs x8, x8, #16
str x8, [x19, #152]
ldr x8, [x19, #144]
subs x8, x8, #16
str x8, [x19, #144]
ldr x8, [x19, #160]
add x8, x8, #4
str x8, [x19, #160]
b LBB63_29
LBB63_31:
ldur x8, [x29, #-104]
ldur x9, [x29, #-88]
subs x8, x8, x9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB63_33
b LBB63_32
LBB63_32:
adrp x0, l___func__.inverse_mdct@PAGE
add x0, x0, l___func__.inverse_mdct@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #2869
adrp x3, l_.str.9@PAGE
add x3, x3, l_.str.9@PAGEOFF
bl ___assert_rtn
LBB63_33:
b LBB63_34
LBB63_34:
ldur x8, [x29, #-48]
add x8, x8, #1440
ldursw x9, [x29, #-52]
ldr x8, [x8, x9, lsl #3]
str x8, [x19, #128]
ldur x8, [x29, #-104]
str x8, [x19, #120]
ldur x8, [x29, #-104]
ldursw x9, [x29, #-56]
add x8, x8, x9, lsl #2
subs x8, x8, #16
str x8, [x19, #112]
b LBB63_35
LBB63_35: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #120]
ldr x9, [x19, #112]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB63_37
b LBB63_36
LBB63_36: ; in Loop: Header=BB63_35 Depth=1
ldr x8, [x19, #120]
ldr s0, [x8]
ldr x8, [x19, #112]
ldr s1, [x8, #8]
fsub s0, s0, s1
str s0, [x19, #108]
ldr x8, [x19, #120]
ldr s0, [x8, #4]
ldr x8, [x19, #112]
ldr s1, [x8, #12]
fadd s0, s0, s1
str s0, [x19, #104]
ldr x8, [x19, #128]
ldr s0, [x8, #4]
ldr s1, [x19, #108]
ldr x8, [x19, #128]
ldr s2, [x8]
ldr s3, [x19, #104]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
str s0, [x19, #100]
ldr x8, [x19, #128]
ldr s0, [x8, #4]
ldr s1, [x19, #104]
ldr x8, [x19, #128]
ldr s2, [x8]
ldr s3, [x19, #108]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
str s0, [x19, #96]
ldr x8, [x19, #120]
ldr s0, [x8]
ldr x8, [x19, #112]
ldr s1, [x8, #8]
fadd s0, s0, s1
str s0, [x19, #92]
ldr x8, [x19, #120]
ldr s0, [x8, #4]
ldr x8, [x19, #112]
ldr s1, [x8, #12]
fsub s0, s0, s1
str s0, [x19, #88]
ldr s0, [x19, #92]
ldr s1, [x19, #100]
fadd s0, s0, s1
ldr x8, [x19, #120]
str s0, [x8]
ldr s0, [x19, #88]
ldr s1, [x19, #96]
fadd s0, s0, s1
ldr x8, [x19, #120]
str s0, [x8, #4]
ldr s0, [x19, #92]
ldr s1, [x19, #100]
fsub s0, s0, s1
ldr x8, [x19, #112]
str s0, [x8, #8]
ldr s0, [x19, #96]
ldr s1, [x19, #88]
fsub s0, s0, s1
ldr x8, [x19, #112]
str s0, [x8, #12]
ldr x8, [x19, #120]
ldr s0, [x8, #8]
ldr x8, [x19, #112]
ldr s1, [x8]
fsub s0, s0, s1
str s0, [x19, #108]
ldr x8, [x19, #120]
ldr s0, [x8, #12]
ldr x8, [x19, #112]
ldr s1, [x8, #4]
fadd s0, s0, s1
str s0, [x19, #104]
ldr x8, [x19, #128]
ldr s0, [x8, #12]
ldr s1, [x19, #108]
ldr x8, [x19, #128]
ldr s2, [x8, #8]
ldr s3, [x19, #104]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
str s0, [x19, #100]
ldr x8, [x19, #128]
ldr s0, [x8, #12]
ldr s1, [x19, #104]
ldr x8, [x19, #128]
ldr s2, [x8, #8]
ldr s3, [x19, #108]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
str s0, [x19, #96]
ldr x8, [x19, #120]
ldr s0, [x8, #8]
ldr x8, [x19, #112]
ldr s1, [x8]
fadd s0, s0, s1
str s0, [x19, #92]
ldr x8, [x19, #120]
ldr s0, [x8, #12]
ldr x8, [x19, #112]
ldr s1, [x8, #4]
fsub s0, s0, s1
str s0, [x19, #88]
ldr s0, [x19, #92]
ldr s1, [x19, #100]
fadd s0, s0, s1
ldr x8, [x19, #120]
str s0, [x8, #8]
ldr s0, [x19, #88]
ldr s1, [x19, #96]
fadd s0, s0, s1
ldr x8, [x19, #120]
str s0, [x8, #12]
ldr s0, [x19, #92]
ldr s1, [x19, #100]
fsub s0, s0, s1
ldr x8, [x19, #112]
str s0, [x8]
ldr s0, [x19, #96]
ldr s1, [x19, #88]
fsub s0, s0, s1
ldr x8, [x19, #112]
str s0, [x8, #4]
ldr x8, [x19, #128]
add x8, x8, #16
str x8, [x19, #128]
ldr x8, [x19, #120]
add x8, x8, #16
str x8, [x19, #120]
ldr x8, [x19, #112]
subs x8, x8, #16
str x8, [x19, #112]
b LBB63_35
LBB63_37:
ldur x8, [x29, #-48]
add x8, x8, #1424
ldursw x9, [x29, #-52]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-56]
add x8, x8, x9, lsl #2
subs x8, x8, #32
str x8, [x19, #48]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-56]
add x8, x8, x9, lsl #2
subs x8, x8, #32
str x8, [x19, #40]
ldur x8, [x29, #-32]
str x8, [x19, #80]
ldur x8, [x29, #-32]
ldur w9, [x29, #-56]
subs w9, w9, #4
add x8, x8, w9, sxtw #2
str x8, [x19, #72]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-56]
add x8, x8, x9, lsl #2
str x8, [x19, #64]
ldur x8, [x29, #-32]
ldur w9, [x29, #-36]
subs w9, w9, #4
add x8, x8, w9, sxtw #2
str x8, [x19, #56]
b LBB63_38
LBB63_38: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #40]
ldur x9, [x29, #-104]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB63_40
b LBB63_39
LBB63_39: ; in Loop: Header=BB63_38 Depth=1
ldr x8, [x19, #40]
ldr s0, [x8, #24]
ldr x8, [x19, #48]
ldr s1, [x8, #28]
ldr x8, [x19, #40]
ldr s2, [x8, #28]
ldr x8, [x19, #48]
ldr s3, [x8, #24]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
str s0, [x19, #24]
ldr x8, [x19, #40]
ldr s0, [x8, #24]
ldr x8, [x19, #48]
ldr s1, [x8, #24]
ldr x8, [x19, #40]
ldr s2, [x8, #28]
ldr x8, [x19, #48]
ldr s3, [x8, #28]
fmul s2, s2, s3
fnmadd s0, s0, s1, s2
str s0, [x19, #28]
ldr s0, [x19, #24]
ldr x8, [x19, #80]
str s0, [x8]
ldr s0, [x19, #24]
fneg s0, s0
ldr x8, [x19, #72]
str s0, [x8, #12]
ldr s0, [x19, #28]
ldr x8, [x19, #64]
str s0, [x8]
ldr s0, [x19, #28]
ldr x8, [x19, #56]
str s0, [x8, #12]
ldr x8, [x19, #40]
ldr s0, [x8, #16]
ldr x8, [x19, #48]
ldr s1, [x8, #20]
ldr x8, [x19, #40]
ldr s2, [x8, #20]
ldr x8, [x19, #48]
ldr s3, [x8, #16]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
str s0, [x19, #32]
ldr x8, [x19, #40]
ldr s0, [x8, #16]
ldr x8, [x19, #48]
ldr s1, [x8, #16]
ldr x8, [x19, #40]
ldr s2, [x8, #20]
ldr x8, [x19, #48]
ldr s3, [x8, #20]
fmul s2, s2, s3
fnmadd s0, s0, s1, s2
str s0, [x19, #36]
ldr s0, [x19, #32]
ldr x8, [x19, #80]
str s0, [x8, #4]
ldr s0, [x19, #32]
fneg s0, s0
ldr x8, [x19, #72]
str s0, [x8, #8]
ldr s0, [x19, #36]
ldr x8, [x19, #64]
str s0, [x8, #4]
ldr s0, [x19, #36]
ldr x8, [x19, #56]
str s0, [x8, #8]
ldr x8, [x19, #40]
ldr s0, [x8, #8]
ldr x8, [x19, #48]
ldr s1, [x8, #12]
ldr x8, [x19, #40]
ldr s2, [x8, #12]
ldr x8, [x19, #48]
ldr s3, [x8, #8]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
str s0, [x19, #24]
ldr x8, [x19, #40]
ldr s0, [x8, #8]
ldr x8, [x19, #48]
ldr s1, [x8, #8]
ldr x8, [x19, #40]
ldr s2, [x8, #12]
ldr x8, [x19, #48]
ldr s3, [x8, #12]
fmul s2, s2, s3
fnmadd s0, s0, s1, s2
str s0, [x19, #28]
ldr s0, [x19, #24]
ldr x8, [x19, #80]
str s0, [x8, #8]
ldr s0, [x19, #24]
fneg s0, s0
ldr x8, [x19, #72]
str s0, [x8, #4]
ldr s0, [x19, #28]
ldr x8, [x19, #64]
str s0, [x8, #8]
ldr s0, [x19, #28]
ldr x8, [x19, #56]
str s0, [x8, #4]
ldr x8, [x19, #40]
ldr s0, [x8]
ldr x8, [x19, #48]
ldr s1, [x8, #4]
ldr x8, [x19, #40]
ldr s2, [x8, #4]
ldr x8, [x19, #48]
ldr s3, [x8]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
str s0, [x19, #32]
ldr x8, [x19, #40]
ldr s0, [x8]
ldr x8, [x19, #48]
ldr s1, [x8]
ldr x8, [x19, #40]
ldr s2, [x8, #4]
ldr x8, [x19, #48]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmadd s0, s0, s1, s2
str s0, [x19, #36]
ldr s0, [x19, #32]
ldr x8, [x19, #80]
str s0, [x8, #12]
ldr s0, [x19, #32]
fneg s0, s0
ldr x8, [x19, #72]
str s0, [x8]
ldr s0, [x19, #36]
ldr x8, [x19, #64]
str s0, [x8, #12]
ldr s0, [x19, #36]
ldr x8, [x19, #56]
str s0, [x8]
ldr x8, [x19, #48]
subs x8, x8, #32
str x8, [x19, #48]
ldr x8, [x19, #40]
subs x8, x8, #32
str x8, [x19, #40]
ldr x8, [x19, #80]
add x8, x8, #16
str x8, [x19, #80]
ldr x8, [x19, #64]
add x8, x8, #16
str x8, [x19, #64]
ldr x8, [x19, #72]
subs x8, x8, #16
str x8, [x19, #72]
ldr x8, [x19, #56]
subs x8, x8, #16
str x8, [x19, #56]
b LBB63_38
LBB63_40:
ldur w8, [x29, #-80]
ldur x9, [x29, #-48]
str w8, [x9, #140]
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, LBB63_42
b LBB63_41
LBB63_41:
bl ___stack_chk_fail
LBB63_42:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function flush_packet
_flush_packet: ; @flush_packet
.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 LBB64_1
LBB64_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #8]
bl _get8_packet_raw
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB64_3
b LBB64_2
LBB64_2: ; in Loop: Header=BB64_1 Depth=1
b LBB64_1
LBB64_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bit_reverse
_bit_reverse: ; @bit_reverse
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
and w9, w8, #0xaaaaaaaa
ldr w8, [sp, #12]
and w8, w8, #0x55555555
lsl w8, w8, #1
orr w8, w8, w9, lsr #1
str w8, [sp, #12]
ldr w8, [sp, #12]
and w9, w8, #0xcccccccc
ldr w8, [sp, #12]
and w8, w8, #0x33333333
lsl w8, w8, #2
orr w8, w8, w9, lsr #2
str w8, [sp, #12]
ldr w8, [sp, #12]
and w9, w8, #0xf0f0f0f0
ldr w8, [sp, #12]
and w8, w8, #0xf0f0f0f
lsl w8, w8, #4
orr w8, w8, w9, lsr #4
str w8, [sp, #12]
ldr w8, [sp, #12]
and w9, w8, #0xff00ff00
ldr w8, [sp, #12]
and w8, w8, #0xff00ff
lsl w8, w8, #8
orr w8, w8, w9, lsr #8
str w8, [sp, #12]
ldr w9, [sp, #12]
ldr w8, [sp, #12]
lsl w8, w8, #16
orr w0, w8, w9, lsr #16
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function make_block_array
_make_block_array: ; @make_block_array
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str w1, [sp, #36]
str w2, [sp, #32]
ldr x8, [sp, #40]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldrsw x9, [sp, #36]
add x8, x8, x9, lsl #3
str x8, [sp, #8]
str wzr, [sp, #28]
b LBB66_1
LBB66_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB66_4
b LBB66_2
LBB66_2: ; in Loop: Header=BB66_1 Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #16]
ldrsw x10, [sp, #28]
str x8, [x9, x10, lsl #3]
ldrsw x9, [sp, #32]
ldr x8, [sp, #8]
add x8, x8, x9
str x8, [sp, #8]
b LBB66_3
LBB66_3: ; in Loop: Header=BB66_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB66_1
LBB66_4:
ldr x0, [sp, #16]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function setup_temp_malloc
_setup_temp_malloc: ; @setup_temp_malloc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr w8, [sp, #12]
add w8, w8, #3
and w8, w8, #0xfffffffc
str w8, [sp, #12]
ldr x8, [sp, #16]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB67_4
b LBB67_1
LBB67_1:
ldr x8, [sp, #16]
ldr w8, [x8, #140]
ldr w9, [sp, #12]
subs w8, w8, w9
ldr x9, [sp, #16]
ldr w9, [x9, #136]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB67_3
b LBB67_2
LBB67_2:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB67_5
LBB67_3:
ldr w10, [sp, #12]
ldr x9, [sp, #16]
ldr w8, [x9, #140]
subs w8, w8, w10
str w8, [x9, #140]
ldr x8, [sp, #16]
ldr x8, [x8, #120]
ldr x9, [sp, #16]
ldrsw x9, [x9, #140]
add x8, x8, x9
stur x8, [x29, #-8]
b LBB67_5
LBB67_4:
ldrsw x0, [sp, #12]
bl _malloc
stur x0, [x29, #-8]
b LBB67_5
LBB67_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 codebook_decode_deinterleave_repeat_2
_codebook_decode_deinterleave_repeat_2: ; @codebook_decode_deinterleave_repeat_2
.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, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
stur x4, [x29, #-48]
stur w5, [x29, #-52]
stur w6, [x29, #-56]
ldur x8, [x29, #-40]
ldr w8, [x8]
stur w8, [x29, #-60]
ldur x8, [x29, #-48]
ldr w8, [x8]
str w8, [sp, #64]
ldur x8, [x29, #-24]
ldr w8, [x8]
str w8, [sp, #52]
ldur x8, [x29, #-24]
ldrb w8, [x8, #25]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB68_2
b LBB68_1
LBB68_1:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB68_49
LBB68_2:
b LBB68_3
LBB68_3: ; =>This Loop Header: Depth=1
; Child Loop BB68_34 Depth 2
; Child Loop BB68_21 Depth 2
ldur w8, [x29, #-56]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB68_48
b LBB68_4
LBB68_4: ; in Loop: Header=BB68_3 Depth=1
movi d0, #0000000000000000
str s0, [sp, #48]
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB68_6
b LBB68_5
LBB68_5: ; in Loop: Header=BB68_3 Depth=1
ldur x0, [x29, #-16]
bl _prep_huffman
b LBB68_6
LBB68_6: ; in Loop: Header=BB68_3 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [sp, #56]
ldur x8, [x29, #-24]
add x8, x8, #48
ldrsw x9, [sp, #56]
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #56]
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB68_10
b LBB68_7
LBB68_7: ; in Loop: Header=BB68_3 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
ldrsw x9, [sp, #56]
ldrb w8, [x8, x9]
str w8, [sp, #44]
ldr w10, [sp, #44]
ldur x9, [x29, #-16]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [sp, #44]
ldur x9, [x29, #-16]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB68_9
b LBB68_8
LBB68_8: ; in Loop: Header=BB68_3 Depth=1
ldur x8, [x29, #-16]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [sp, #56]
b LBB68_9
LBB68_9: ; in Loop: Header=BB68_3 Depth=1
b LBB68_11
LBB68_10: ; in Loop: Header=BB68_3 Depth=1
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
bl _codebook_decode_scalar_raw
str w0, [sp, #56]
b LBB68_11
LBB68_11: ; in Loop: Header=BB68_3 Depth=1
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB68_17
b LBB68_12
LBB68_12:
ldur x8, [x29, #-16]
ldrb w8, [x8, #1756]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB68_16
b LBB68_13
LBB68_13:
ldur x8, [x29, #-16]
ldr w8, [x8, #1764]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB68_15
b LBB68_14
LBB68_14:
stur wzr, [x29, #-4]
b LBB68_49
LBB68_15:
b LBB68_16
LBB68_16:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB68_49
LBB68_17: ; in Loop: Header=BB68_3 Depth=1
ldur w8, [x29, #-60]
ldr w9, [sp, #64]
add w8, w8, w9, lsl #1
ldr w9, [sp, #52]
add w8, w8, w9
ldur w9, [x29, #-52]
subs w8, w8, w9, lsl #1
cset w8, le
tbnz w8, #0, LBB68_19
b LBB68_18
LBB68_18: ; in Loop: Header=BB68_3 Depth=1
ldur w8, [x29, #-52]
lsl w8, w8, #1
ldr w9, [sp, #64]
lsl w9, w9, #1
ldur w10, [x29, #-60]
subs w9, w9, w10
subs w8, w8, w9
str w8, [sp, #52]
b LBB68_19
LBB68_19: ; in Loop: Header=BB68_3 Depth=1
ldur x8, [x29, #-24]
ldr w9, [x8]
ldr w8, [sp, #56]
mul w8, w8, w9
str w8, [sp, #56]
ldur x8, [x29, #-24]
ldrb w8, [x8, #26]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB68_29
b LBB68_20
LBB68_20: ; in Loop: Header=BB68_3 Depth=1
str wzr, [sp, #60]
b LBB68_21
LBB68_21: ; Parent Loop BB68_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #60]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB68_28
b LBB68_22
LBB68_22: ; in Loop: Header=BB68_21 Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #56]
ldr w10, [sp, #60]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #48]
fadd s0, s0, s1
str s0, [sp, #40]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB68_24
b LBB68_23
LBB68_23: ; in Loop: Header=BB68_21 Depth=2
ldr s1, [sp, #40]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #64]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB68_24
LBB68_24: ; in Loop: Header=BB68_21 Depth=2
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB68_26
b LBB68_25
LBB68_25: ; in Loop: Header=BB68_21 Depth=2
stur wzr, [x29, #-60]
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
b LBB68_26
LBB68_26: ; in Loop: Header=BB68_21 Depth=2
ldr s0, [sp, #40]
str s0, [sp, #48]
b LBB68_27
LBB68_27: ; in Loop: Header=BB68_21 Depth=2
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB68_21
LBB68_28: ; in Loop: Header=BB68_3 Depth=1
b LBB68_47
LBB68_29: ; in Loop: Header=BB68_3 Depth=1
str wzr, [sp, #60]
ldur w8, [x29, #-60]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB68_33
b LBB68_30
LBB68_30: ; in Loop: Header=BB68_3 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #56]
ldr w10, [sp, #60]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #48]
fadd s0, s0, s1
str s0, [sp, #36]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB68_32
b LBB68_31
LBB68_31: ; in Loop: Header=BB68_3 Depth=1
ldr s1, [sp, #36]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #64]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB68_32
LBB68_32: ; in Loop: Header=BB68_3 Depth=1
stur wzr, [x29, #-60]
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB68_33
LBB68_33: ; in Loop: Header=BB68_3 Depth=1
ldur x8, [x29, #-32]
ldr x8, [x8]
str x8, [sp, #24]
ldur x8, [x29, #-32]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB68_34
LBB68_34: ; Parent Loop BB68_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #60]
add w8, w8, #1
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB68_40
b LBB68_35
LBB68_35: ; in Loop: Header=BB68_34 Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #56]
ldr w10, [sp, #60]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #48]
fadd s0, s0, s1
str s0, [sp, #12]
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #56]
ldr w10, [sp, #60]
add w9, w9, w10
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #48]
fadd s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB68_37
b LBB68_36
LBB68_36: ; in Loop: Header=BB68_34 Depth=2
ldr s1, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #64]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB68_37
LBB68_37: ; in Loop: Header=BB68_34 Depth=2
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB68_39
b LBB68_38
LBB68_38: ; in Loop: Header=BB68_34 Depth=2
ldr s1, [sp, #8]
ldr x8, [sp, #16]
ldrsw x9, [sp, #64]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB68_39
LBB68_39: ; in Loop: Header=BB68_34 Depth=2
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
ldr w8, [sp, #60]
add w8, w8, #2
str w8, [sp, #60]
b LBB68_34
LBB68_40: ; in Loop: Header=BB68_3 Depth=1
ldr w8, [sp, #60]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB68_46
b LBB68_41
LBB68_41: ; in Loop: Header=BB68_3 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #56]
ldr w10, [sp, #60]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #48]
fadd s0, s0, s1
str s0, [sp, #4]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB68_43
b LBB68_42
LBB68_42: ; in Loop: Header=BB68_3 Depth=1
ldr s1, [sp, #4]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-60]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #64]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB68_43
LBB68_43: ; in Loop: Header=BB68_3 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB68_45
b LBB68_44
LBB68_44: ; in Loop: Header=BB68_3 Depth=1
stur wzr, [x29, #-60]
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
b LBB68_45
LBB68_45: ; in Loop: Header=BB68_3 Depth=1
b LBB68_46
LBB68_46: ; in Loop: Header=BB68_3 Depth=1
b LBB68_47
LBB68_47: ; in Loop: Header=BB68_3 Depth=1
ldr w9, [sp, #52]
ldur w8, [x29, #-56]
subs w8, w8, w9
stur w8, [x29, #-56]
b LBB68_3
LBB68_48:
ldur w8, [x29, #-60]
ldur x9, [x29, #-40]
str w8, [x9]
ldr w8, [sp, #64]
ldur x9, [x29, #-48]
str w8, [x9]
mov w8, #1
stur w8, [x29, #-4]
b LBB68_49
LBB68_49:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function codebook_decode_deinterleave_repeat
_codebook_decode_deinterleave_repeat: ; @codebook_decode_deinterleave_repeat
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur w3, [x29, #-36]
stur x4, [x29, #-48]
str x5, [sp, #56]
str w6, [sp, #52]
str w7, [sp, #48]
ldur x8, [x29, #-48]
ldr w8, [x8]
str w8, [sp, #44]
ldr x8, [sp, #56]
ldr w8, [x8]
str w8, [sp, #40]
ldur x8, [x29, #-24]
ldr w8, [x8]
str w8, [sp, #28]
ldur x8, [x29, #-24]
ldrb w8, [x8, #25]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB69_2
b LBB69_1
LBB69_1:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB69_45
LBB69_2:
b LBB69_3
LBB69_3: ; =>This Loop Header: Depth=1
; Child Loop BB69_35 Depth 2
; Child Loop BB69_26 Depth 2
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB69_44
b LBB69_4
LBB69_4: ; in Loop: Header=BB69_3 Depth=1
movi d0, #0000000000000000
str s0, [sp, #24]
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB69_6
b LBB69_5
LBB69_5: ; in Loop: Header=BB69_3 Depth=1
ldur x0, [x29, #-16]
bl _prep_huffman
b LBB69_6
LBB69_6: ; in Loop: Header=BB69_3 Depth=1
ldur x8, [x29, #-16]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [sp, #32]
ldur x8, [x29, #-24]
add x8, x8, #48
ldrsw x9, [sp, #32]
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB69_10
b LBB69_7
LBB69_7: ; in Loop: Header=BB69_3 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
ldrsw x9, [sp, #32]
ldrb w8, [x8, x9]
str w8, [sp, #20]
ldr w10, [sp, #20]
ldur x9, [x29, #-16]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [sp, #20]
ldur x9, [x29, #-16]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB69_9
b LBB69_8
LBB69_8: ; in Loop: Header=BB69_3 Depth=1
ldur x8, [x29, #-16]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [sp, #32]
b LBB69_9
LBB69_9: ; in Loop: Header=BB69_3 Depth=1
b LBB69_11
LBB69_10: ; in Loop: Header=BB69_3 Depth=1
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
bl _codebook_decode_scalar_raw
str w0, [sp, #32]
b LBB69_11
LBB69_11: ; in Loop: Header=BB69_3 Depth=1
ldur x8, [x29, #-24]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB69_13
b LBB69_12
LBB69_12: ; in Loop: Header=BB69_3 Depth=1
ldr w8, [sp, #32]
ldur x9, [x29, #-24]
ldr w9, [x9, #2112]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB69_13
LBB69_13: ; in Loop: Header=BB69_3 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB69_15
b LBB69_14
LBB69_14:
adrp x0, l___func__.codebook_decode_deinterleave_repeat@PAGE
add x0, x0, l___func__.codebook_decode_deinterleave_repeat@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1811
adrp x3, l_.str.7@PAGE
add x3, x3, l_.str.7@PAGEOFF
bl ___assert_rtn
LBB69_15: ; in Loop: Header=BB69_3 Depth=1
b LBB69_16
LBB69_16: ; in Loop: Header=BB69_3 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB69_22
b LBB69_17
LBB69_17:
ldur x8, [x29, #-16]
ldrb w8, [x8, #1756]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB69_21
b LBB69_18
LBB69_18:
ldur x8, [x29, #-16]
ldr w8, [x8, #1764]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB69_20
b LBB69_19
LBB69_19:
stur wzr, [x29, #-4]
b LBB69_45
LBB69_20:
b LBB69_21
LBB69_21:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
stur w0, [x29, #-4]
b LBB69_45
LBB69_22: ; in Loop: Header=BB69_3 Depth=1
ldr w8, [sp, #44]
ldr w9, [sp, #40]
ldur w10, [x29, #-36]
mul w9, w9, w10
add w8, w8, w9
ldr w9, [sp, #28]
add w8, w8, w9
ldr w9, [sp, #52]
ldur w10, [x29, #-36]
mul w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB69_24
b LBB69_23
LBB69_23: ; in Loop: Header=BB69_3 Depth=1
ldr w8, [sp, #52]
ldur w9, [x29, #-36]
mul w8, w8, w9
ldr w9, [sp, #40]
ldur w10, [x29, #-36]
mul w9, w9, w10
ldr w10, [sp, #44]
subs w9, w9, w10
subs w8, w8, w9
str w8, [sp, #28]
b LBB69_24
LBB69_24: ; in Loop: Header=BB69_3 Depth=1
ldur x8, [x29, #-24]
ldr w9, [x8]
ldr w8, [sp, #32]
mul w8, w8, w9
str w8, [sp, #32]
ldur x8, [x29, #-24]
ldrb w8, [x8, #26]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB69_34
b LBB69_25
LBB69_25: ; in Loop: Header=BB69_3 Depth=1
str wzr, [sp, #36]
b LBB69_26
LBB69_26: ; Parent Loop BB69_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB69_33
b LBB69_27
LBB69_27: ; in Loop: Header=BB69_26 Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #32]
ldr w10, [sp, #36]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #24]
fadd s0, s0, s1
str s0, [sp, #16]
ldur x8, [x29, #-32]
ldrsw x9, [sp, #44]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB69_29
b LBB69_28
LBB69_28: ; in Loop: Header=BB69_26 Depth=2
ldr s1, [sp, #16]
ldur x8, [x29, #-32]
ldrsw x9, [sp, #44]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #40]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB69_29
LBB69_29: ; in Loop: Header=BB69_26 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB69_31
b LBB69_30
LBB69_30: ; in Loop: Header=BB69_26 Depth=2
str wzr, [sp, #44]
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB69_31
LBB69_31: ; in Loop: Header=BB69_26 Depth=2
ldr s0, [sp, #16]
str s0, [sp, #24]
b LBB69_32
LBB69_32: ; in Loop: Header=BB69_26 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB69_26
LBB69_33: ; in Loop: Header=BB69_3 Depth=1
b LBB69_43
LBB69_34: ; in Loop: Header=BB69_3 Depth=1
str wzr, [sp, #36]
b LBB69_35
LBB69_35: ; Parent Loop BB69_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB69_42
b LBB69_36
LBB69_36: ; in Loop: Header=BB69_35 Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #32]
ldr w10, [sp, #36]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #24]
fadd s0, s0, s1
str s0, [sp, #12]
ldur x8, [x29, #-32]
ldrsw x9, [sp, #44]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB69_38
b LBB69_37
LBB69_37: ; in Loop: Header=BB69_35 Depth=2
ldr s1, [sp, #12]
ldur x8, [x29, #-32]
ldrsw x9, [sp, #44]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #40]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB69_38
LBB69_38: ; in Loop: Header=BB69_35 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB69_40
b LBB69_39
LBB69_39: ; in Loop: Header=BB69_35 Depth=2
str wzr, [sp, #44]
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB69_40
LBB69_40: ; in Loop: Header=BB69_35 Depth=2
b LBB69_41
LBB69_41: ; in Loop: Header=BB69_35 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB69_35
LBB69_42: ; in Loop: Header=BB69_3 Depth=1
b LBB69_43
LBB69_43: ; in Loop: Header=BB69_3 Depth=1
ldr w9, [sp, #28]
ldr w8, [sp, #48]
subs w8, w8, w9
str w8, [sp, #48]
b LBB69_3
LBB69_44:
ldr w8, [sp, #44]
ldur x9, [x29, #-48]
str w8, [x9]
ldr w8, [sp, #40]
ldr x9, [sp, #56]
str w8, [x9]
mov w8, #1
stur w8, [x29, #-4]
b LBB69_45
LBB69_45:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function residue_decode
_residue_decode: ; @residue_decode
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
str w3, [sp, #28]
str w4, [sp, #24]
str w5, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB70_8
b LBB70_1
LBB70_1:
ldr w8, [sp, #24]
ldur x9, [x29, #-24]
ldr w9, [x9]
sdiv w8, w8, w9
str w8, [sp, #12]
str wzr, [sp, #16]
b LBB70_2
LBB70_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB70_7
b LBB70_3
LBB70_3: ; in Loop: Header=BB70_2 Depth=1
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #16]
add x2, x8, x9, lsl #2
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
ldr w9, [sp, #16]
subs w3, w8, w9
ldr w4, [sp, #12]
bl _codebook_decode_step
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB70_5
b LBB70_4
LBB70_4:
stur wzr, [x29, #-4]
b LBB70_15
LBB70_5: ; in Loop: Header=BB70_2 Depth=1
b LBB70_6
LBB70_6: ; in Loop: Header=BB70_2 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB70_2
LBB70_7:
b LBB70_14
LBB70_8:
str wzr, [sp, #16]
b LBB70_9
LBB70_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB70_13
b LBB70_10
LBB70_10: ; in Loop: Header=BB70_9 Depth=1
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
add x2, x8, x9, lsl #2
ldr w8, [sp, #24]
ldr w9, [sp, #16]
subs w3, w8, w9
bl _codebook_decode
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB70_12
b LBB70_11
LBB70_11:
stur wzr, [x29, #-4]
b LBB70_15
LBB70_12: ; in Loop: Header=BB70_9 Depth=1
ldur x8, [x29, #-24]
ldr w9, [x8]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
ldur x8, [x29, #-24]
ldr w9, [x8]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB70_9
LBB70_13:
b LBB70_14
LBB70_14:
mov w8, #1
stur w8, [x29, #-4]
b LBB70_15
LBB70_15:
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 codebook_decode_step
_codebook_decode_step: ; @codebook_decode_step
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
str w3, [sp, #28]
str w4, [sp, #24]
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldr w2, [sp, #28]
bl _codebook_decode_start
str w0, [sp, #16]
movi d0, #0000000000000000
str s0, [sp, #12]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB71_2
b LBB71_1
LBB71_1:
stur wzr, [x29, #-4]
b LBB71_11
LBB71_2:
ldr w8, [sp, #28]
ldur x9, [x29, #-24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB71_4
b LBB71_3
LBB71_3:
ldur x8, [x29, #-24]
ldr w8, [x8]
str w8, [sp, #28]
b LBB71_4
LBB71_4:
ldur x8, [x29, #-24]
ldr w9, [x8]
ldr w8, [sp, #16]
mul w8, w8, w9
str w8, [sp, #16]
str wzr, [sp, #20]
b LBB71_5
LBB71_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB71_10
b LBB71_6
LBB71_6: ; in Loop: Header=BB71_5 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #16]
ldr w10, [sp, #20]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #12]
fadd s0, s0, s1
str s0, [sp, #8]
ldr s1, [sp, #8]
ldr x8, [sp, #32]
ldr w9, [sp, #20]
ldr w10, [sp, #24]
mul w9, w9, w10
add x8, x8, w9, sxtw #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
ldur x8, [x29, #-24]
ldrb w8, [x8, #26]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB71_8
b LBB71_7
LBB71_7: ; in Loop: Header=BB71_5 Depth=1
ldr s0, [sp, #8]
str s0, [sp, #12]
b LBB71_8
LBB71_8: ; in Loop: Header=BB71_5 Depth=1
b LBB71_9
LBB71_9: ; in Loop: Header=BB71_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB71_5
LBB71_10:
mov w8, #1
stur w8, [x29, #-4]
b LBB71_11
LBB71_11:
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 codebook_decode
_codebook_decode: ; @codebook_decode
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
str w3, [sp, #28]
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldr w2, [sp, #28]
bl _codebook_decode_start
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB72_2
b LBB72_1
LBB72_1:
stur wzr, [x29, #-4]
b LBB72_16
LBB72_2:
ldr w8, [sp, #28]
ldur x9, [x29, #-24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB72_4
b LBB72_3
LBB72_3:
ldur x8, [x29, #-24]
ldr w8, [x8]
str w8, [sp, #28]
b LBB72_4
LBB72_4:
ldur x8, [x29, #-24]
ldr w9, [x8]
ldr w8, [sp, #20]
mul w8, w8, w9
str w8, [sp, #20]
ldur x8, [x29, #-24]
ldrb w8, [x8, #26]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB72_10
b LBB72_5
LBB72_5:
movi d0, #0000000000000000
str s0, [sp, #16]
str wzr, [sp, #24]
b LBB72_6
LBB72_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB72_9
b LBB72_7
LBB72_7: ; in Loop: Header=BB72_6 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #20]
ldr w10, [sp, #24]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #16]
fadd s0, s0, s1
str s0, [sp, #12]
ldr s1, [sp, #12]
ldr x8, [sp, #32]
ldrsw x9, [sp, #24]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
ldr s0, [sp, #12]
ldur x8, [x29, #-24]
ldr s1, [x8, #16]
fadd s0, s0, s1
str s0, [sp, #16]
b LBB72_8
LBB72_8: ; in Loop: Header=BB72_6 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB72_6
LBB72_9:
b LBB72_15
LBB72_10:
movi d0, #0000000000000000
str s0, [sp, #8]
str wzr, [sp, #24]
b LBB72_11
LBB72_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB72_14
b LBB72_12
LBB72_12: ; in Loop: Header=BB72_11 Depth=1
ldur x8, [x29, #-24]
ldr x8, [x8, #32]
ldr w9, [sp, #20]
ldr w10, [sp, #24]
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #8]
fadd s1, s0, s1
ldr x8, [sp, #32]
ldrsw x9, [sp, #24]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB72_13
LBB72_13: ; in Loop: Header=BB72_11 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB72_11
LBB72_14:
b LBB72_15
LBB72_15:
mov w8, #1
stur w8, [x29, #-4]
b LBB72_16
LBB72_16:
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 codebook_decode_start
_codebook_decode_start: ; @codebook_decode_start
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str w2, [sp, #20]
mov w8, #-1
str w8, [sp, #16]
ldr x8, [sp, #24]
ldrb w8, [x8, #25]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB73_2
b LBB73_1
LBB73_1:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
b LBB73_21
LBB73_2:
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB73_4
b LBB73_3
LBB73_3:
ldur x0, [x29, #-16]
bl _prep_huffman
b LBB73_4
LBB73_4:
ldur x8, [x29, #-16]
ldr w8, [x8, #1772]
and w8, w8, #0x3ff
str w8, [sp, #16]
ldr x8, [sp, #24]
add x8, x8, #48
ldrsw x9, [sp, #16]
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB73_8
b LBB73_5
LBB73_5:
ldr x8, [sp, #24]
ldr x8, [x8, #8]
ldrsw x9, [sp, #16]
ldrb w8, [x8, x9]
str w8, [sp, #12]
ldr w10, [sp, #12]
ldur x9, [x29, #-16]
ldr w8, [x9, #1772]
lsr w8, w8, w10
str w8, [x9, #1772]
ldr w10, [sp, #12]
ldur x9, [x29, #-16]
ldr w8, [x9, #1776]
subs w8, w8, w10
str w8, [x9, #1776]
ldur x8, [x29, #-16]
ldr w8, [x8, #1776]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB73_7
b LBB73_6
LBB73_6:
ldur x8, [x29, #-16]
str wzr, [x8, #1776]
mov w8, #-1
str w8, [sp, #16]
b LBB73_7
LBB73_7:
b LBB73_9
LBB73_8:
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
bl _codebook_decode_scalar_raw
str w0, [sp, #16]
b LBB73_9
LBB73_9:
ldr x8, [sp, #24]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB73_14
b LBB73_10
LBB73_10:
ldr w8, [sp, #16]
ldr x9, [sp, #24]
ldr w9, [x9, #2112]
subs w8, w8, w9
cset w9, ge
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB73_12
b LBB73_11
LBB73_11:
adrp x0, l___func__.codebook_decode_start@PAGE
add x0, x0, l___func__.codebook_decode_start@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1717
adrp x3, l_.str.8@PAGE
add x3, x3, l_.str.8@PAGEOFF
bl ___assert_rtn
LBB73_12:
b LBB73_13
LBB73_13:
b LBB73_14
LBB73_14:
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB73_20
b LBB73_15
LBB73_15:
ldur x8, [x29, #-16]
ldrb w8, [x8, #1756]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB73_19
b LBB73_16
LBB73_16:
ldur x8, [x29, #-16]
ldr w8, [x8, #1764]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB73_18
b LBB73_17
LBB73_17:
ldr w8, [sp, #16]
stur w8, [x29, #-4]
b LBB73_22
LBB73_18:
b LBB73_19
LBB73_19:
ldur x0, [x29, #-16]
mov w1, #21
bl _error
b LBB73_20
LBB73_20:
b LBB73_21
LBB73_21:
ldr w8, [sp, #16]
stur w8, [x29, #-4]
b LBB73_22
LBB73_22:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function draw_line
_draw_line: ; @draw_line
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
stur w3, [x29, #-20]
stur w4, [x29, #-24]
stur w5, [x29, #-28]
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
subs w8, w8, w9
str w8, [sp, #32]
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
subs w8, w8, w9
str w8, [sp, #28]
ldr w0, [sp, #32]
bl _abs
str w0, [sp, #24]
ldur w8, [x29, #-12]
str w8, [sp, #16]
ldur w8, [x29, #-16]
str w8, [sp, #12]
str wzr, [sp, #8]
ldr w8, [sp, #32]
ldr w9, [sp, #28]
sdiv w8, w8, w9
str w8, [sp, #20]
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB74_2
b LBB74_1
LBB74_1:
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #4]
b LBB74_3
LBB74_2:
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #4]
b LBB74_3
LBB74_3:
ldr w0, [sp, #20]
bl _abs
ldr w8, [sp, #28]
mul w9, w0, w8
ldr w8, [sp, #24]
subs w8, w8, w9
str w8, [sp, #24]
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB74_5
b LBB74_4
LBB74_4:
ldur w8, [x29, #-28]
stur w8, [x29, #-20]
b LBB74_5
LBB74_5:
ldrsw x9, [sp, #12]
adrp x8, _inverse_db_table@PAGE
add x8, x8, _inverse_db_table@PAGEOFF
ldr s1, [x8, x9, lsl #2]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fmul s0, s0, s1
str s0, [x8]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB74_6
LBB74_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB74_12
b LBB74_7
LBB74_7: ; in Loop: Header=BB74_6 Depth=1
ldr w9, [sp, #24]
ldr w8, [sp, #8]
add w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB74_9
b LBB74_8
LBB74_8: ; in Loop: Header=BB74_6 Depth=1
ldr w9, [sp, #28]
ldr w8, [sp, #8]
subs w8, w8, w9
str w8, [sp, #8]
ldr w9, [sp, #4]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB74_10
LBB74_9: ; in Loop: Header=BB74_6 Depth=1
ldr w9, [sp, #20]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB74_10
LBB74_10: ; in Loop: Header=BB74_6 Depth=1
ldrsw x9, [sp, #12]
adrp x8, _inverse_db_table@PAGE
add x8, x8, _inverse_db_table@PAGEOFF
ldr s1, [x8, x9, lsl #2]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
ldr s0, [x8]
fmul s0, s0, s1
str s0, [x8]
b LBB74_11
LBB74_11: ; in Loop: Header=BB74_6 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB74_6
LBB74_12:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function imdct_step3_iter0_loop
_imdct_step3_iter0_loop: ; @imdct_step3_iter0_loop
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
stur w3, [x29, #-24]
str x4, [sp, #32]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
str x8, [sp, #24]
ldr x8, [sp, #24]
ldursw x9, [x29, #-24]
add x8, x8, x9, lsl #2
str x8, [sp, #16]
ldur w8, [x29, #-4]
ands w8, w8, #0x3
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB75_2
b LBB75_1
LBB75_1:
adrp x0, l___func__.imdct_step3_iter0_loop@PAGE
add x0, x0, l___func__.imdct_step3_iter0_loop@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #2465
adrp x3, l_.str.10@PAGE
add x3, x3, l_.str.10@PAGEOFF
bl ___assert_rtn
LBB75_2:
b LBB75_3
LBB75_3:
ldur w8, [x29, #-4]
asr w8, w8, #2
str w8, [sp, #12]
b LBB75_4
LBB75_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB75_7
b LBB75_5
LBB75_5: ; in Loop: Header=BB75_4 Depth=1
ldr x8, [sp, #24]
ldr s0, [x8]
ldr x8, [sp, #16]
ldr s1, [x8]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldur s0, [x8, #-4]
ldr x8, [sp, #16]
ldur s1, [x8, #-4]
fsub s0, s0, s1
str s0, [sp, #4]
ldr x8, [sp, #16]
ldr s1, [x8]
ldr x8, [sp, #24]
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
ldr x8, [sp, #16]
ldur s1, [x8, #-4]
ldr x8, [sp, #24]
ldur s0, [x8, #-4]
fadd s0, s0, s1
stur s0, [x8, #-4]
ldr s0, [sp, #8]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #4]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #16]
str s0, [x8]
ldr s0, [sp, #4]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #8]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #16]
stur s0, [x8, #-4]
ldr x8, [sp, #32]
add x8, x8, #32
str x8, [sp, #32]
ldr x8, [sp, #24]
ldur s0, [x8, #-8]
ldr x8, [sp, #16]
ldur s1, [x8, #-8]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldur s0, [x8, #-12]
ldr x8, [sp, #16]
ldur s1, [x8, #-12]
fsub s0, s0, s1
str s0, [sp, #4]
ldr x8, [sp, #16]
ldur s1, [x8, #-8]
ldr x8, [sp, #24]
ldur s0, [x8, #-8]
fadd s0, s0, s1
stur s0, [x8, #-8]
ldr x8, [sp, #16]
ldur s1, [x8, #-12]
ldr x8, [sp, #24]
ldur s0, [x8, #-12]
fadd s0, s0, s1
stur s0, [x8, #-12]
ldr s0, [sp, #8]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #4]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #16]
stur s0, [x8, #-8]
ldr s0, [sp, #4]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #8]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #16]
stur s0, [x8, #-12]
ldr x8, [sp, #32]
add x8, x8, #32
str x8, [sp, #32]
ldr x8, [sp, #24]
ldur s0, [x8, #-16]
ldr x8, [sp, #16]
ldur s1, [x8, #-16]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldur s0, [x8, #-20]
ldr x8, [sp, #16]
ldur s1, [x8, #-20]
fsub s0, s0, s1
str s0, [sp, #4]
ldr x8, [sp, #16]
ldur s1, [x8, #-16]
ldr x8, [sp, #24]
ldur s0, [x8, #-16]
fadd s0, s0, s1
stur s0, [x8, #-16]
ldr x8, [sp, #16]
ldur s1, [x8, #-20]
ldr x8, [sp, #24]
ldur s0, [x8, #-20]
fadd s0, s0, s1
stur s0, [x8, #-20]
ldr s0, [sp, #8]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #4]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #16]
stur s0, [x8, #-16]
ldr s0, [sp, #4]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #8]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #16]
stur s0, [x8, #-20]
ldr x8, [sp, #32]
add x8, x8, #32
str x8, [sp, #32]
ldr x8, [sp, #24]
ldur s0, [x8, #-24]
ldr x8, [sp, #16]
ldur s1, [x8, #-24]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldur s0, [x8, #-28]
ldr x8, [sp, #16]
ldur s1, [x8, #-28]
fsub s0, s0, s1
str s0, [sp, #4]
ldr x8, [sp, #16]
ldur s1, [x8, #-24]
ldr x8, [sp, #24]
ldur s0, [x8, #-24]
fadd s0, s0, s1
stur s0, [x8, #-24]
ldr x8, [sp, #16]
ldur s1, [x8, #-28]
ldr x8, [sp, #24]
ldur s0, [x8, #-28]
fadd s0, s0, s1
stur s0, [x8, #-28]
ldr s0, [sp, #8]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #4]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #16]
stur s0, [x8, #-24]
ldr s0, [sp, #4]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #8]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #16]
stur s0, [x8, #-28]
ldr x8, [sp, #32]
add x8, x8, #32
str x8, [sp, #32]
ldr x8, [sp, #24]
subs x8, x8, #32
str x8, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, #32
str x8, [sp, #16]
b LBB75_6
LBB75_6: ; in Loop: Header=BB75_4 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB75_4
LBB75_7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function imdct_step3_inner_r_loop
_imdct_step3_inner_r_loop: ; @imdct_step3_inner_r_loop
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str w0, [sp, #60]
str x1, [sp, #48]
str w2, [sp, #44]
str w3, [sp, #40]
str x4, [sp, #32]
str w5, [sp, #28]
ldr x8, [sp, #48]
ldrsw x9, [sp, #44]
add x8, x8, x9, lsl #2
str x8, [sp, #8]
ldr x8, [sp, #8]
ldrsw x9, [sp, #40]
add x8, x8, x9, lsl #2
str x8, [sp]
ldr w8, [sp, #60]
asr w8, w8, #2
str w8, [sp, #24]
b LBB76_1
LBB76_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB76_4
b LBB76_2
LBB76_2: ; in Loop: Header=BB76_1 Depth=1
ldr x8, [sp, #8]
ldr s0, [x8]
ldr x8, [sp]
ldr s1, [x8]
fsub s0, s0, s1
str s0, [sp, #20]
ldr x8, [sp, #8]
ldur s0, [x8, #-4]
ldr x8, [sp]
ldur s1, [x8, #-4]
fsub s0, s0, s1
str s0, [sp, #16]
ldr x8, [sp]
ldr s1, [x8]
ldr x8, [sp, #8]
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
ldr x8, [sp]
ldur s1, [x8, #-4]
ldr x8, [sp, #8]
ldur s0, [x8, #-4]
fadd s0, s0, s1
stur s0, [x8, #-4]
ldr s0, [sp, #20]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #16]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp]
str s0, [x8]
ldr s0, [sp, #16]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #20]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp]
stur s0, [x8, #-4]
ldrsw x9, [sp, #28]
ldr x8, [sp, #32]
add x8, x8, x9, lsl #2
str x8, [sp, #32]
ldr x8, [sp, #8]
ldur s0, [x8, #-8]
ldr x8, [sp]
ldur s1, [x8, #-8]
fsub s0, s0, s1
str s0, [sp, #20]
ldr x8, [sp, #8]
ldur s0, [x8, #-12]
ldr x8, [sp]
ldur s1, [x8, #-12]
fsub s0, s0, s1
str s0, [sp, #16]
ldr x8, [sp]
ldur s1, [x8, #-8]
ldr x8, [sp, #8]
ldur s0, [x8, #-8]
fadd s0, s0, s1
stur s0, [x8, #-8]
ldr x8, [sp]
ldur s1, [x8, #-12]
ldr x8, [sp, #8]
ldur s0, [x8, #-12]
fadd s0, s0, s1
stur s0, [x8, #-12]
ldr s0, [sp, #20]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #16]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp]
stur s0, [x8, #-8]
ldr s0, [sp, #16]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #20]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp]
stur s0, [x8, #-12]
ldrsw x9, [sp, #28]
ldr x8, [sp, #32]
add x8, x8, x9, lsl #2
str x8, [sp, #32]
ldr x8, [sp, #8]
ldur s0, [x8, #-16]
ldr x8, [sp]
ldur s1, [x8, #-16]
fsub s0, s0, s1
str s0, [sp, #20]
ldr x8, [sp, #8]
ldur s0, [x8, #-20]
ldr x8, [sp]
ldur s1, [x8, #-20]
fsub s0, s0, s1
str s0, [sp, #16]
ldr x8, [sp]
ldur s1, [x8, #-16]
ldr x8, [sp, #8]
ldur s0, [x8, #-16]
fadd s0, s0, s1
stur s0, [x8, #-16]
ldr x8, [sp]
ldur s1, [x8, #-20]
ldr x8, [sp, #8]
ldur s0, [x8, #-20]
fadd s0, s0, s1
stur s0, [x8, #-20]
ldr s0, [sp, #20]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #16]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp]
stur s0, [x8, #-16]
ldr s0, [sp, #16]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #20]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp]
stur s0, [x8, #-20]
ldrsw x9, [sp, #28]
ldr x8, [sp, #32]
add x8, x8, x9, lsl #2
str x8, [sp, #32]
ldr x8, [sp, #8]
ldur s0, [x8, #-24]
ldr x8, [sp]
ldur s1, [x8, #-24]
fsub s0, s0, s1
str s0, [sp, #20]
ldr x8, [sp, #8]
ldur s0, [x8, #-28]
ldr x8, [sp]
ldur s1, [x8, #-28]
fsub s0, s0, s1
str s0, [sp, #16]
ldr x8, [sp]
ldur s1, [x8, #-24]
ldr x8, [sp, #8]
ldur s0, [x8, #-24]
fadd s0, s0, s1
stur s0, [x8, #-24]
ldr x8, [sp]
ldur s1, [x8, #-28]
ldr x8, [sp, #8]
ldur s0, [x8, #-28]
fadd s0, s0, s1
stur s0, [x8, #-28]
ldr s0, [sp, #20]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #16]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp]
stur s0, [x8, #-24]
ldr s0, [sp, #16]
ldr x8, [sp, #32]
ldr s1, [x8]
ldr s2, [sp, #20]
ldr x8, [sp, #32]
ldr s3, [x8, #4]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp]
stur s0, [x8, #-28]
ldr x8, [sp, #8]
subs x8, x8, #32
str x8, [sp, #8]
ldr x8, [sp]
subs x8, x8, #32
str x8, [sp]
ldrsw x9, [sp, #28]
ldr x8, [sp, #32]
add x8, x8, x9, lsl #2
str x8, [sp, #32]
b LBB76_3
LBB76_3: ; in Loop: Header=BB76_1 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB76_1
LBB76_4:
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function imdct_step3_inner_s_loop
_imdct_step3_inner_s_loop: ; @imdct_step3_inner_s_loop
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
str w0, [sp, #108]
str x1, [sp, #96]
str w2, [sp, #92]
str w3, [sp, #88]
str x4, [sp, #80]
str w5, [sp, #76]
str w6, [sp, #72]
ldr x8, [sp, #80]
ldr s0, [x8]
str s0, [sp, #64]
ldr x8, [sp, #80]
ldr s0, [x8, #4]
str s0, [sp, #60]
ldr x8, [sp, #80]
ldr w9, [sp, #76]
add w9, w9, #0
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #56]
ldr x8, [sp, #80]
ldr w9, [sp, #76]
add w9, w9, #0
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #52]
ldr x8, [sp, #80]
ldr w9, [sp, #76]
lsl w9, w9, #1
add w9, w9, #0
add w9, w9, #0
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #48]
ldr x8, [sp, #80]
ldr w9, [sp, #76]
lsl w9, w9, #1
add w9, w9, #0
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #44]
ldr x8, [sp, #80]
ldr w9, [sp, #76]
mov w10, #3
mul w9, w9, w10
add w9, w9, #0
add w9, w9, #0
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #40]
ldr x8, [sp, #80]
ldr w9, [sp, #76]
mul w9, w9, w10
add w9, w9, #0
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #36]
ldr x8, [sp, #96]
ldrsw x9, [sp, #92]
add x8, x8, x9, lsl #2
str x8, [sp, #16]
ldr x8, [sp, #16]
ldrsw x9, [sp, #88]
add x8, x8, x9, lsl #2
str x8, [sp, #8]
ldr w8, [sp, #108]
str w8, [sp, #68]
b LBB77_1
LBB77_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #68]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB77_4
b LBB77_2
LBB77_2: ; in Loop: Header=BB77_1 Depth=1
ldr x8, [sp, #16]
ldr s0, [x8]
ldr x8, [sp, #8]
ldr s1, [x8]
fsub s0, s0, s1
str s0, [sp, #32]
ldr x8, [sp, #16]
ldur s0, [x8, #-4]
ldr x8, [sp, #8]
ldur s1, [x8, #-4]
fsub s0, s0, s1
str s0, [sp, #28]
ldr x8, [sp, #16]
ldr s0, [x8]
ldr x8, [sp, #8]
ldr s1, [x8]
fadd s0, s0, s1
ldr x8, [sp, #16]
str s0, [x8]
ldr x8, [sp, #16]
ldur s0, [x8, #-4]
ldr x8, [sp, #8]
ldur s1, [x8, #-4]
fadd s0, s0, s1
ldr x8, [sp, #16]
stur s0, [x8, #-4]
ldr s0, [sp, #32]
ldr s1, [sp, #64]
ldr s2, [sp, #28]
ldr s3, [sp, #60]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #8]
str s0, [x8]
ldr s0, [sp, #28]
ldr s1, [sp, #64]
ldr s2, [sp, #32]
ldr s3, [sp, #60]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #8]
stur s0, [x8, #-4]
ldr x8, [sp, #16]
ldur s0, [x8, #-8]
ldr x8, [sp, #8]
ldur s1, [x8, #-8]
fsub s0, s0, s1
str s0, [sp, #32]
ldr x8, [sp, #16]
ldur s0, [x8, #-12]
ldr x8, [sp, #8]
ldur s1, [x8, #-12]
fsub s0, s0, s1
str s0, [sp, #28]
ldr x8, [sp, #16]
ldur s0, [x8, #-8]
ldr x8, [sp, #8]
ldur s1, [x8, #-8]
fadd s0, s0, s1
ldr x8, [sp, #16]
stur s0, [x8, #-8]
ldr x8, [sp, #16]
ldur s0, [x8, #-12]
ldr x8, [sp, #8]
ldur s1, [x8, #-12]
fadd s0, s0, s1
ldr x8, [sp, #16]
stur s0, [x8, #-12]
ldr s0, [sp, #32]
ldr s1, [sp, #56]
ldr s2, [sp, #28]
ldr s3, [sp, #52]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #8]
stur s0, [x8, #-8]
ldr s0, [sp, #28]
ldr s1, [sp, #56]
ldr s2, [sp, #32]
ldr s3, [sp, #52]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #8]
stur s0, [x8, #-12]
ldr x8, [sp, #16]
ldur s0, [x8, #-16]
ldr x8, [sp, #8]
ldur s1, [x8, #-16]
fsub s0, s0, s1
str s0, [sp, #32]
ldr x8, [sp, #16]
ldur s0, [x8, #-20]
ldr x8, [sp, #8]
ldur s1, [x8, #-20]
fsub s0, s0, s1
str s0, [sp, #28]
ldr x8, [sp, #16]
ldur s0, [x8, #-16]
ldr x8, [sp, #8]
ldur s1, [x8, #-16]
fadd s0, s0, s1
ldr x8, [sp, #16]
stur s0, [x8, #-16]
ldr x8, [sp, #16]
ldur s0, [x8, #-20]
ldr x8, [sp, #8]
ldur s1, [x8, #-20]
fadd s0, s0, s1
ldr x8, [sp, #16]
stur s0, [x8, #-20]
ldr s0, [sp, #32]
ldr s1, [sp, #48]
ldr s2, [sp, #28]
ldr s3, [sp, #44]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #8]
stur s0, [x8, #-16]
ldr s0, [sp, #28]
ldr s1, [sp, #48]
ldr s2, [sp, #32]
ldr s3, [sp, #44]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #8]
stur s0, [x8, #-20]
ldr x8, [sp, #16]
ldur s0, [x8, #-24]
ldr x8, [sp, #8]
ldur s1, [x8, #-24]
fsub s0, s0, s1
str s0, [sp, #32]
ldr x8, [sp, #16]
ldur s0, [x8, #-28]
ldr x8, [sp, #8]
ldur s1, [x8, #-28]
fsub s0, s0, s1
str s0, [sp, #28]
ldr x8, [sp, #16]
ldur s0, [x8, #-24]
ldr x8, [sp, #8]
ldur s1, [x8, #-24]
fadd s0, s0, s1
ldr x8, [sp, #16]
stur s0, [x8, #-24]
ldr x8, [sp, #16]
ldur s0, [x8, #-28]
ldr x8, [sp, #8]
ldur s1, [x8, #-28]
fadd s0, s0, s1
ldr x8, [sp, #16]
stur s0, [x8, #-28]
ldr s0, [sp, #32]
ldr s1, [sp, #40]
ldr s2, [sp, #28]
ldr s3, [sp, #36]
fmul s2, s2, s3
fnmsub s0, s0, s1, s2
ldr x8, [sp, #8]
stur s0, [x8, #-24]
ldr s0, [sp, #28]
ldr s1, [sp, #40]
ldr s2, [sp, #32]
ldr s3, [sp, #36]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr x8, [sp, #8]
stur s0, [x8, #-28]
ldrsw x10, [sp, #72]
ldr x8, [sp, #16]
mov x9, #0
subs x10, x9, x10
add x8, x8, x10, lsl #2
str x8, [sp, #16]
ldrsw x10, [sp, #72]
ldr x8, [sp, #8]
subs x9, x9, x10
add x8, x8, x9, lsl #2
str x8, [sp, #8]
b LBB77_3
LBB77_3: ; in Loop: Header=BB77_1 Depth=1
ldr w8, [sp, #68]
subs w8, w8, #1
str w8, [sp, #68]
b LBB77_1
LBB77_4:
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function imdct_step3_inner_s_loop_ld654
_imdct_step3_inner_s_loop_ld654: ; @imdct_step3_inner_s_loop_ld654
.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 w0, [x29, #-4]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
stur x3, [x29, #-32]
stur w4, [x29, #-36]
mov w8, #-8
str w8, [sp, #40]
ldur w8, [x29, #-36]
asr w8, w8, #3
str w8, [sp, #36]
ldur x8, [x29, #-32]
ldr w9, [sp, #36]
add w9, w9, #0
ldr s0, [x8, w9, sxtw #2]
str s0, [sp, #32]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
str x8, [sp, #24]
ldr x8, [sp, #24]
ldur w10, [x29, #-4]
mov w9, #16
mul w10, w9, w10
mov x9, #0
subs x9, x9, w10, sxtw
add x8, x8, x9, lsl #2
str x8, [sp, #16]
b LBB78_1
LBB78_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB78_3
b LBB78_2
LBB78_2: ; in Loop: Header=BB78_1 Depth=1
ldr x8, [sp, #24]
ldr s0, [x8]
ldr x8, [sp, #24]
ldur s1, [x8, #-32]
fsub s0, s0, s1
str s0, [sp, #12]
ldr x8, [sp, #24]
ldur s0, [x8, #-4]
ldr x8, [sp, #24]
ldur s1, [x8, #-36]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldr s0, [x8]
ldr x8, [sp, #24]
ldur s1, [x8, #-32]
fadd s0, s0, s1
ldr x8, [sp, #24]
str s0, [x8]
ldr x8, [sp, #24]
ldur s0, [x8, #-4]
ldr x8, [sp, #24]
ldur s1, [x8, #-36]
fadd s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-4]
ldr s0, [sp, #12]
ldr x8, [sp, #24]
stur s0, [x8, #-32]
ldr s0, [sp, #8]
ldr x8, [sp, #24]
stur s0, [x8, #-36]
ldr x8, [sp, #24]
ldur s0, [x8, #-8]
ldr x8, [sp, #24]
ldur s1, [x8, #-40]
fsub s0, s0, s1
str s0, [sp, #12]
ldr x8, [sp, #24]
ldur s0, [x8, #-12]
ldr x8, [sp, #24]
ldur s1, [x8, #-44]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldur s0, [x8, #-8]
ldr x8, [sp, #24]
ldur s1, [x8, #-40]
fadd s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-8]
ldr x8, [sp, #24]
ldur s0, [x8, #-12]
ldr x8, [sp, #24]
ldur s1, [x8, #-44]
fadd s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-12]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fadd s0, s0, s1
ldr s1, [sp, #32]
fmul s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-40]
ldr s0, [sp, #8]
ldr s1, [sp, #12]
fsub s0, s0, s1
ldr s1, [sp, #32]
fmul s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-44]
ldr x8, [sp, #24]
ldur s0, [x8, #-48]
ldr x8, [sp, #24]
ldur s1, [x8, #-16]
fsub s0, s0, s1
str s0, [sp, #12]
ldr x8, [sp, #24]
ldur s0, [x8, #-20]
ldr x8, [sp, #24]
ldur s1, [x8, #-52]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldur s0, [x8, #-16]
ldr x8, [sp, #24]
ldur s1, [x8, #-48]
fadd s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-16]
ldr x8, [sp, #24]
ldur s0, [x8, #-20]
ldr x8, [sp, #24]
ldur s1, [x8, #-52]
fadd s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-20]
ldr s0, [sp, #8]
ldr x8, [sp, #24]
stur s0, [x8, #-48]
ldr s0, [sp, #12]
ldr x8, [sp, #24]
stur s0, [x8, #-52]
ldr x8, [sp, #24]
ldur s0, [x8, #-56]
ldr x8, [sp, #24]
ldur s1, [x8, #-24]
fsub s0, s0, s1
str s0, [sp, #12]
ldr x8, [sp, #24]
ldur s0, [x8, #-28]
ldr x8, [sp, #24]
ldur s1, [x8, #-60]
fsub s0, s0, s1
str s0, [sp, #8]
ldr x8, [sp, #24]
ldur s0, [x8, #-24]
ldr x8, [sp, #24]
ldur s1, [x8, #-56]
fadd s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-24]
ldr x8, [sp, #24]
ldur s0, [x8, #-28]
ldr x8, [sp, #24]
ldur s1, [x8, #-60]
fadd s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-28]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fadd s0, s0, s1
ldr s1, [sp, #32]
fmul s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-56]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fsub s0, s0, s1
ldr s1, [sp, #32]
fmul s0, s0, s1
ldr x8, [sp, #24]
stur s0, [x8, #-60]
ldr x0, [sp, #24]
bl _iter_54
ldr x8, [sp, #24]
subs x0, x8, #32
bl _iter_54
ldr x8, [sp, #24]
subs x8, x8, #64
str x8, [sp, #24]
b LBB78_1
LBB78_3:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function iter_54
_iter_54: ; @iter_54
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
ldr x8, [sp, #40]
ldr s0, [x8]
ldr x8, [sp, #40]
ldur s1, [x8, #-16]
fsub s0, s0, s1
str s0, [sp, #36]
ldr x8, [sp, #40]
ldr s0, [x8]
ldr x8, [sp, #40]
ldur s1, [x8, #-16]
fadd s0, s0, s1
str s0, [sp, #20]
ldr x8, [sp, #40]
ldur s0, [x8, #-8]
ldr x8, [sp, #40]
ldur s1, [x8, #-24]
fadd s0, s0, s1
str s0, [sp, #12]
ldr x8, [sp, #40]
ldur s0, [x8, #-8]
ldr x8, [sp, #40]
ldur s1, [x8, #-24]
fsub s0, s0, s1
str s0, [sp, #28]
ldr s0, [sp, #20]
ldr s1, [sp, #12]
fadd s0, s0, s1
ldr x8, [sp, #40]
str s0, [x8]
ldr s0, [sp, #20]
ldr s1, [sp, #12]
fsub s0, s0, s1
ldr x8, [sp, #40]
stur s0, [x8, #-8]
ldr x8, [sp, #40]
ldur s0, [x8, #-12]
ldr x8, [sp, #40]
ldur s1, [x8, #-28]
fsub s0, s0, s1
str s0, [sp, #24]
ldr s0, [sp, #36]
ldr s1, [sp, #24]
fadd s0, s0, s1
ldr x8, [sp, #40]
stur s0, [x8, #-16]
ldr s0, [sp, #36]
ldr s1, [sp, #24]
fsub s0, s0, s1
ldr x8, [sp, #40]
stur s0, [x8, #-24]
ldr x8, [sp, #40]
ldur s0, [x8, #-4]
ldr x8, [sp, #40]
ldur s1, [x8, #-20]
fsub s0, s0, s1
str s0, [sp, #32]
ldr x8, [sp, #40]
ldur s0, [x8, #-4]
ldr x8, [sp, #40]
ldur s1, [x8, #-20]
fadd s0, s0, s1
str s0, [sp, #16]
ldr x8, [sp, #40]
ldur s0, [x8, #-12]
ldr x8, [sp, #40]
ldur s1, [x8, #-28]
fadd s0, s0, s1
str s0, [sp, #8]
ldr s0, [sp, #16]
ldr s1, [sp, #8]
fadd s0, s0, s1
ldr x8, [sp, #40]
stur s0, [x8, #-4]
ldr s0, [sp, #16]
ldr s1, [sp, #8]
fsub s0, s0, s1
ldr x8, [sp, #40]
stur s0, [x8, #-12]
ldr s0, [sp, #32]
ldr s1, [sp, #28]
fsub s0, s0, s1
ldr x8, [sp, #40]
stur s0, [x8, #-20]
ldr s0, [sp, #32]
ldr s1, [sp, #28]
fadd s0, s0, s1
ldr x8, [sp, #40]
stur s0, [x8, #-28]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function get_window
_get_window: ; @get_window
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr w8, [sp, #12]
lsl w8, w8, #1
str w8, [sp, #12]
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9, #160]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB80_2
b LBB80_1
LBB80_1:
ldr x8, [sp, #16]
ldr x8, [x8, #1456]
stur x8, [x29, #-8]
b LBB80_5
LBB80_2:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9, #164]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB80_4
b LBB80_3
LBB80_3:
ldr x8, [sp, #16]
ldr x8, [x8, #1464]
stur x8, [x29, #-8]
b LBB80_5
LBB80_4:
adrp x0, l___func__.get_window@PAGE
add x0, x0, l___func__.get_window@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #3116
adrp x3, l_.str.11@PAGE
add x3, x3, l_.str.11@PAGEOFF
bl ___assert_rtn
LBB80_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 vorbis_validate
_vorbis_validate: ; @vorbis_validate
.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]
adrp x1, _vorbis_validate.vorbis@PAGE
add x1, x1, _vorbis_validate.vorbis@PAGEOFF
mov x2, #6
bl _memcmp
subs w8, w0, #0
cset w8, eq
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function skip
_skip: ; @skip
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB82_4
b LBB82_1
LBB82_1:
ldursw x10, [x29, #-12]
ldur x9, [x29, #-8]
ldr x8, [x9, #40]
add x8, x8, x10
str x8, [x9, #40]
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
ldur x9, [x29, #-8]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB82_3
b LBB82_2
LBB82_2:
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #144]
b LBB82_3
LBB82_3:
b LBB82_5
LBB82_4:
ldur x8, [x29, #-8]
ldr x0, [x8, #24]
bl _ftell
str x0, [sp, #8]
ldur x8, [x29, #-8]
ldr x0, [x8, #24]
ldr x8, [sp, #8]
ldursw x9, [x29, #-12]
add x1, x8, x9
mov w2, #0
bl _fseek
b LBB82_5
LBB82_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function crc32_init
_crc32_init: ; @crc32_init
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB83_1
LBB83_1: ; =>This Loop Header: Depth=1
; Child Loop BB83_3 Depth 2
ldr w8, [sp, #12]
subs w8, w8, #256
cset w8, ge
tbnz w8, #0, LBB83_8
b LBB83_2
LBB83_2: ; in Loop: Header=BB83_1 Depth=1
ldr w8, [sp, #12]
lsl w8, w8, #24
str w8, [sp, #4]
str wzr, [sp, #8]
b LBB83_3
LBB83_3: ; Parent Loop BB83_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB83_6
b LBB83_4
LBB83_4: ; in Loop: Header=BB83_3 Depth=2
ldr w9, [sp, #4]
ldr w8, [sp, #4]
mov w10, #-2147483648
subs w8, w8, w10
cset w8, hs
and w11, w8, #0x1
mov w8, #7607
movk w8, #1217, lsl #16
mov w10, #0
ands w11, w11, #0x1
csel w8, w8, w10, ne
eor w8, w8, w9, lsl #1
str w8, [sp, #4]
b LBB83_5
LBB83_5: ; in Loop: Header=BB83_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB83_3
LBB83_6: ; in Loop: Header=BB83_1 Depth=1
ldr w8, [sp, #4]
ldrsw x10, [sp, #12]
adrp x9, _crc_table@PAGE
add x9, x9, _crc_table@PAGEOFF
str w8, [x9, x10, lsl #2]
b LBB83_7
LBB83_7: ; in Loop: Header=BB83_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB83_1
LBB83_8:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function setup_malloc
_setup_malloc: ; @setup_malloc
.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]
ldur w8, [x29, #-20]
add w8, w8, #3
and w8, w8, #0xfffffffc
stur w8, [x29, #-20]
ldur w10, [x29, #-20]
ldur x9, [x29, #-16]
ldr w8, [x9, #8]
add w8, w8, w10
str w8, [x9, #8]
ldur x8, [x29, #-16]
ldr x8, [x8, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB84_4
b LBB84_1
LBB84_1:
ldur x8, [x29, #-16]
ldr x8, [x8, #120]
ldur x9, [x29, #-16]
ldrsw x9, [x9, #136]
add x8, x8, x9
str x8, [sp, #16]
ldur x8, [x29, #-16]
ldr w8, [x8, #136]
ldur w9, [x29, #-20]
add w8, w8, w9
ldur x9, [x29, #-16]
ldr w9, [x9, #140]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB84_3
b LBB84_2
LBB84_2:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB84_8
LBB84_3:
ldur w10, [x29, #-20]
ldur x9, [x29, #-16]
ldr w8, [x9, #136]
add w8, w8, w10
str w8, [x9, #136]
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB84_8
LBB84_4:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB84_6
b LBB84_5
LBB84_5:
ldursw x0, [x29, #-20]
bl _malloc
str x0, [sp, #8] ; 8-byte Folded Spill
b LBB84_7
LBB84_6:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB84_7
LBB84_7:
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur x8, [x29, #-8]
b LBB84_8
LBB84_8:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function setup_temp_free
_setup_temp_free: ; @setup_temp_free
.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, #120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB85_2
b LBB85_1
LBB85_1:
ldr w8, [sp, #12]
add w8, w8, #3
and w10, w8, #0xfffffffc
ldur x9, [x29, #-8]
ldr w8, [x9, #140]
add w8, w8, w10
str w8, [x9, #140]
b LBB85_3
LBB85_2:
ldr x0, [sp, #16]
bl _free
b LBB85_3
LBB85_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function compute_codewords
_compute_codewords: ; @compute_codewords
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #72]
str x1, [sp, #64]
str w2, [sp, #60]
str x3, [sp, #48]
mov w1, #0
str wzr, [sp, #36]
add x0, sp, #88
mov x2, #128
bl _memset
str wzr, [sp, #40]
b LBB86_1
LBB86_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB86_6
b LBB86_2
LBB86_2: ; in Loop: Header=BB86_1 Depth=1
ldr x8, [sp, #64]
ldrsw x9, [sp, #40]
ldrb w8, [x8, x9]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB86_4
b LBB86_3
LBB86_3:
b LBB86_6
LBB86_4: ; in Loop: Header=BB86_1 Depth=1
b LBB86_5
LBB86_5: ; in Loop: Header=BB86_1 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB86_1
LBB86_6:
ldr w8, [sp, #40]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB86_11
b LBB86_7
LBB86_7:
ldr x8, [sp, #72]
ldr w8, [x8, #2112]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB86_9
b LBB86_8
LBB86_8:
adrp x0, l___func__.compute_codewords@PAGE
add x0, x0, l___func__.compute_codewords@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1028
adrp x3, l_.str.13@PAGE
add x3, x3, l_.str.13@PAGEOFF
bl ___assert_rtn
LBB86_9:
b LBB86_10
LBB86_10:
mov w8, #1
str w8, [sp, #84]
b LBB86_38
LBB86_11:
ldr x0, [sp, #72]
ldr w2, [sp, #40]
ldr w3, [sp, #36]
mov w8, #1
str w8, [sp, #20] ; 4-byte Folded Spill
add w8, w3, #1
str w8, [sp, #36]
ldr x8, [sp, #64]
ldrsw x9, [sp, #40]
ldrb w4, [x8, x9]
ldr x5, [sp, #48]
mov w1, #0
bl _add_entry
ldr w8, [sp, #20] ; 4-byte Folded Reload
str w8, [sp, #44]
b LBB86_12
LBB86_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
ldr x9, [sp, #64]
ldrsw x10, [sp, #40]
ldrb w9, [x9, x10]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB86_15
b LBB86_13
LBB86_13: ; in Loop: Header=BB86_12 Depth=1
ldr w9, [sp, #44]
mov w8, #32
subs w9, w8, w9
mov w8, #1
lsl w8, w8, w9
ldrsw x10, [sp, #44]
add x9, sp, #88
str w8, [x9, x10, lsl #2]
b LBB86_14
LBB86_14: ; in Loop: Header=BB86_12 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB86_12
LBB86_15:
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #44]
b LBB86_16
LBB86_16: ; =>This Loop Header: Depth=1
; Child Loop BB86_20 Depth 2
; Child Loop BB86_28 Depth 2
ldr w8, [sp, #44]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB86_37
b LBB86_17
LBB86_17: ; in Loop: Header=BB86_16 Depth=1
ldr x8, [sp, #64]
ldrsw x9, [sp, #44]
ldrb w8, [x8, x9]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #255
cset w8, ne
tbnz w8, #0, LBB86_19
b LBB86_18
LBB86_18: ; in Loop: Header=BB86_16 Depth=1
b LBB86_36
LBB86_19: ; in Loop: Header=BB86_16 Depth=1
b LBB86_20
LBB86_20: ; Parent Loop BB86_16 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, le
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB86_22
b LBB86_21
LBB86_21: ; in Loop: Header=BB86_20 Depth=2
ldrsw x9, [sp, #28]
add x8, sp, #88
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB86_22
LBB86_22: ; in Loop: Header=BB86_20 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB86_24
b LBB86_23
LBB86_23: ; in Loop: Header=BB86_20 Depth=2
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #28]
b LBB86_20
LBB86_24: ; in Loop: Header=BB86_16 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB86_26
b LBB86_25
LBB86_25:
adrp x0, l___func__.compute_codewords@PAGE
add x0, x0, l___func__.compute_codewords@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1049
adrp x3, l_.str.11@PAGE
add x3, x3, l_.str.11@PAGEOFF
bl ___assert_rtn
LBB86_26: ; in Loop: Header=BB86_16 Depth=1
ldrsw x8, [sp, #28]
add x9, sp, #88
ldr w8, [x9, x8, lsl #2]
str w8, [sp, #32]
ldrsw x10, [sp, #28]
mov w8, #0
str w8, [x9, x10, lsl #2]
ldr x8, [sp, #72]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w0, [sp, #32]
bl _bit_reverse
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w2, [sp, #44]
ldr w3, [sp, #36]
add w8, w3, #1
str w8, [sp, #36]
ldr x8, [sp, #64]
ldrsw x9, [sp, #44]
ldrb w4, [x8, x9]
ldr x5, [sp, #48]
bl _add_entry
ldr w8, [sp, #28]
ldr x9, [sp, #64]
ldrsw x10, [sp, #44]
ldrb w9, [x9, x10]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB86_35
b LBB86_27
LBB86_27: ; in Loop: Header=BB86_16 Depth=1
ldr x8, [sp, #64]
ldrsw x9, [sp, #44]
ldrb w8, [x8, x9]
str w8, [sp, #24]
b LBB86_28
LBB86_28: ; Parent Loop BB86_16 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB86_34
b LBB86_29
LBB86_29: ; in Loop: Header=BB86_28 Depth=2
ldrsw x9, [sp, #24]
add x8, sp, #88
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB86_31
b LBB86_30
LBB86_30:
adrp x0, l___func__.compute_codewords@PAGE
add x0, x0, l___func__.compute_codewords@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1056
adrp x3, l_.str.14@PAGE
add x3, x3, l_.str.14@PAGEOFF
bl ___assert_rtn
LBB86_31: ; in Loop: Header=BB86_28 Depth=2
b LBB86_32
LBB86_32: ; in Loop: Header=BB86_28 Depth=2
ldr w8, [sp, #32]
ldr w10, [sp, #24]
mov w9, #32
subs w10, w9, w10
mov w9, #1
lsl w9, w9, w10
add w8, w8, w9
ldrsw x10, [sp, #24]
add x9, sp, #88
str w8, [x9, x10, lsl #2]
b LBB86_33
LBB86_33: ; in Loop: Header=BB86_28 Depth=2
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB86_28
LBB86_34: ; in Loop: Header=BB86_16 Depth=1
b LBB86_35
LBB86_35: ; in Loop: Header=BB86_16 Depth=1
b LBB86_36
LBB86_36: ; in Loop: Header=BB86_16 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB86_16
LBB86_37:
mov w8, #1
str w8, [sp, #84]
b LBB86_38
LBB86_38:
ldr w8, [sp, #84]
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, LBB86_40
b LBB86_39
LBB86_39:
bl ___stack_chk_fail
LBB86_40:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function compute_sorted_huffman
_compute_sorted_huffman: ; @compute_sorted_huffman
.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, #-8]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB87_11
b LBB87_1
LBB87_1:
str wzr, [sp, #28]
stur wzr, [x29, #-28]
b LBB87_2
LBB87_2: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB87_7
b LBB87_3
LBB87_3: ; in Loop: Header=BB87_2 Depth=1
ldur x0, [x29, #-8]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldrb w1, [x8, x9]
bl _include_in_sort
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB87_5
b LBB87_4
LBB87_4: ; in Loop: Header=BB87_2 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
ldursw x9, [x29, #-28]
ldr w0, [x8, x9, lsl #2]
bl _bit_reverse
ldur x8, [x29, #-8]
ldr x8, [x8, #2096]
ldrsw x9, [sp, #28]
mov x10, x9
add w10, w10, #1
str w10, [sp, #28]
str w0, [x8, x9, lsl #2]
b LBB87_5
LBB87_5: ; in Loop: Header=BB87_2 Depth=1
b LBB87_6
LBB87_6: ; in Loop: Header=BB87_2 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB87_2
LBB87_7:
ldr w8, [sp, #28]
ldur x9, [x29, #-8]
ldr w9, [x9, #2112]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB87_9
b LBB87_8
LBB87_8:
adrp x0, l___func__.compute_sorted_huffman@PAGE
add x0, x0, l___func__.compute_sorted_huffman@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1123
adrp x3, l_.str.15@PAGE
add x3, x3, l_.str.15@PAGEOFF
bl ___assert_rtn
LBB87_9:
b LBB87_10
LBB87_10:
b LBB87_16
LBB87_11:
stur wzr, [x29, #-28]
b LBB87_12
LBB87_12: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur x9, [x29, #-8]
ldr w9, [x9, #2112]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB87_15
b LBB87_13
LBB87_13: ; in Loop: Header=BB87_12 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
ldursw x9, [x29, #-28]
ldr w0, [x8, x9, lsl #2]
bl _bit_reverse
ldur x8, [x29, #-8]
ldr x8, [x8, #2096]
ldursw x9, [x29, #-28]
str w0, [x8, x9, lsl #2]
b LBB87_14
LBB87_14: ; in Loop: Header=BB87_12 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB87_12
LBB87_15:
b LBB87_16
LBB87_16:
ldur x8, [x29, #-8]
ldr x0, [x8, #2096]
ldur x8, [x29, #-8]
ldrsw x1, [x8, #2112]
mov x2, #4
adrp x3, _uint32_compare@PAGE
add x3, x3, _uint32_compare@PAGEOFF
bl _qsort
ldur x8, [x29, #-8]
ldr x9, [x8, #2096]
ldur x8, [x29, #-8]
ldrsw x10, [x8, #2112]
mov w8, #-1
str w8, [x9, x10, lsl #2]
ldur x8, [x29, #-8]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB87_18
b LBB87_17
LBB87_17:
ldur x8, [x29, #-8]
ldr w8, [x8, #2112]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB87_19
LBB87_18:
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB87_19
LBB87_19:
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #32]
stur wzr, [x29, #-28]
b LBB87_20
LBB87_20: ; =>This Loop Header: Depth=1
; Child Loop BB87_26 Depth 2
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB87_40
b LBB87_21
LBB87_21: ; in Loop: Header=BB87_20 Depth=1
ldur x8, [x29, #-8]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB87_23
b LBB87_22
LBB87_22: ; in Loop: Header=BB87_20 Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
ldursw x10, [x29, #-28]
ldr w9, [x9, x10, lsl #2]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
str w8, [sp] ; 4-byte Folded Spill
b LBB87_24
LBB87_23: ; in Loop: Header=BB87_20 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldrb w8, [x8, x9]
str w8, [sp] ; 4-byte Folded Spill
b LBB87_24
LBB87_24: ; in Loop: Header=BB87_20 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
str w8, [sp, #24]
ldur x0, [x29, #-8]
ldr w8, [sp, #24]
and w1, w8, #0xff
bl _include_in_sort
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB87_38
b LBB87_25
LBB87_25: ; in Loop: Header=BB87_20 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
ldursw x9, [x29, #-28]
ldr w0, [x8, x9, lsl #2]
bl _bit_reverse
str w0, [sp, #20]
str wzr, [sp, #16]
ldur x8, [x29, #-8]
ldr w8, [x8, #2112]
str w8, [sp, #12]
b LBB87_26
LBB87_26: ; Parent Loop BB87_20 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB87_31
b LBB87_27
LBB87_27: ; in Loop: Header=BB87_26 Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #12]
add w8, w8, w9, asr #1
str w8, [sp, #8]
ldur x8, [x29, #-8]
ldr x8, [x8, #2096]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, hi
tbnz w8, #0, LBB87_29
b LBB87_28
LBB87_28: ; in Loop: Header=BB87_26 Depth=2
ldr w8, [sp, #8]
str w8, [sp, #16]
ldr w9, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, w9, asr #1
str w8, [sp, #12]
b LBB87_30
LBB87_29: ; in Loop: Header=BB87_26 Depth=2
ldr w8, [sp, #12]
asr w8, w8, #1
str w8, [sp, #12]
b LBB87_30
LBB87_30: ; in Loop: Header=BB87_26 Depth=2
b LBB87_26
LBB87_31: ; in Loop: Header=BB87_20 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #2096]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB87_33
b LBB87_32
LBB87_32:
adrp x0, l___func__.compute_sorted_huffman@PAGE
add x0, x0, l___func__.compute_sorted_huffman@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1153
adrp x3, l_.str.16@PAGE
add x3, x3, l_.str.16@PAGEOFF
bl ___assert_rtn
LBB87_33: ; in Loop: Header=BB87_20 Depth=1
b LBB87_34
LBB87_34: ; in Loop: Header=BB87_20 Depth=1
ldur x8, [x29, #-8]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB87_36
b LBB87_35
LBB87_35: ; in Loop: Header=BB87_20 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldr x9, [x9, #2104]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #24]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldrsw x10, [sp, #16]
strb w8, [x9, x10]
b LBB87_37
LBB87_36: ; in Loop: Header=BB87_20 Depth=1
ldur w8, [x29, #-28]
ldur x9, [x29, #-8]
ldr x9, [x9, #2104]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
b LBB87_37
LBB87_37: ; in Loop: Header=BB87_20 Depth=1
b LBB87_38
LBB87_38: ; in Loop: Header=BB87_20 Depth=1
b LBB87_39
LBB87_39: ; in Loop: Header=BB87_20 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB87_20
LBB87_40:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function compute_accelerated_huffman
_compute_accelerated_huffman: ; @compute_accelerated_huffman
.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 LBB88_1
LBB88_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1024
cset w8, ge
tbnz w8, #0, LBB88_4
b LBB88_2
LBB88_2: ; in Loop: Header=BB88_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #48
ldursw x9, [x29, #-12]
add x9, x8, x9, lsl #1
mov w8, #65535
strh w8, [x9]
b LBB88_3
LBB88_3: ; in Loop: Header=BB88_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB88_1
LBB88_4:
ldur x8, [x29, #-8]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB88_6
b LBB88_5
LBB88_5:
ldur x8, [x29, #-8]
ldr w8, [x8, #2112]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB88_7
LBB88_6:
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB88_7
LBB88_7:
ldr w8, [sp, #8] ; 4-byte Folded Reload
str w8, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #8, lsl #12 ; =32768
cset w8, lt
tbnz w8, #0, LBB88_9
b LBB88_8
LBB88_8:
mov w8, #32767
str w8, [sp, #16]
b LBB88_9
LBB88_9:
stur wzr, [x29, #-12]
b LBB88_10
LBB88_10: ; =>This Loop Header: Depth=1
; Child Loop BB88_16 Depth 2
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB88_21
b LBB88_11
LBB88_11: ; in Loop: Header=BB88_10 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldursw x9, [x29, #-12]
ldrb w8, [x8, x9]
subs w8, w8, #10
cset w8, gt
tbnz w8, #0, LBB88_19
b LBB88_12
LBB88_12: ; in Loop: Header=BB88_10 Depth=1
ldur x8, [x29, #-8]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB88_14
b LBB88_13
LBB88_13: ; in Loop: Header=BB88_10 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #2096]
ldursw x9, [x29, #-12]
ldr w0, [x8, x9, lsl #2]
bl _bit_reverse
str w0, [sp, #4] ; 4-byte Folded Spill
b LBB88_15
LBB88_14: ; in Loop: Header=BB88_10 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #40]
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB88_15
LBB88_15: ; in Loop: Header=BB88_10 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #12]
b LBB88_16
LBB88_16: ; Parent Loop BB88_10 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
subs w8, w8, #1024
cset w8, hs
tbnz w8, #0, LBB88_18
b LBB88_17
LBB88_17: ; in Loop: Header=BB88_16 Depth=2
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
add x9, x9, #48
ldr w10, [sp, #12]
; kill: def $x10 killed $w10
strh w8, [x9, x10, lsl #1]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldursw x9, [x29, #-12]
ldrb w9, [x8, x9]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB88_16
LBB88_18: ; in Loop: Header=BB88_10 Depth=1
b LBB88_19
LBB88_19: ; in Loop: Header=BB88_10 Depth=1
b LBB88_20
LBB88_20: ; in Loop: Header=BB88_10 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB88_10
LBB88_21:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function float32_unpack
_float32_unpack: ; @float32_unpack
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
and w8, w8, #0x1fffff
stur w8, [x29, #-8]
ldur w8, [x29, #-4]
and w8, w8, #0x80000000
stur w8, [x29, #-12]
ldur w8, [x29, #-4]
and w8, w8, #0x7fe00000
lsr w8, w8, #21
str w8, [sp, #16]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB89_2
b LBB89_1
LBB89_1:
ldur s1, [x29, #-8]
; implicit-def: $d0
fmov s0, s1
ucvtf d0, d0
fneg d0, d0
str d0, [sp] ; 8-byte Folded Spill
b LBB89_3
LBB89_2:
ldur s1, [x29, #-8]
; implicit-def: $d0
fmov s0, s1
ucvtf d0, d0
str d0, [sp] ; 8-byte Folded Spill
b LBB89_3
LBB89_3:
ldr d0, [sp] ; 8-byte Folded Reload
str d0, [sp, #8]
ldr d0, [sp, #8]
fcvt s0, d0
fcvt d0, s0
ldr w8, [sp, #16]
subs w0, w8, #788
bl _ldexp
fcvt s0, d0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function lookup1_values
_lookup1_values: ; @lookup1_values
.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 s0, [x29, #-4]
scvtf s0, s0
fcvt d0, s0
bl _log
fcvt s0, d0
ldr s1, [sp, #8]
scvtf s1, s1
fdiv s0, s0, s1
fcvt d0, s0
bl _exp
fcvtms w8, d0
str w8, [sp, #4]
ldr s0, [sp, #4]
scvtf s0, s0
fmov s1, #1.00000000
fadd s0, s0, s1
fcvt d0, s0
ldr s2, [sp, #8]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
bl _pow
fcvtms w8, d0
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB90_2
b LBB90_1
LBB90_1:
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB90_2
LBB90_2:
ldr s0, [sp, #4]
scvtf s0, s0
fmov s1, #1.00000000
fadd s0, s0, s1
fcvt d0, s0
ldr s2, [sp, #8]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
bl _pow
ldur s2, [x29, #-4]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fcmp d0, d1
cset w9, le
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB90_4
b LBB90_3
LBB90_3:
adrp x0, l___func__.lookup1_values@PAGE
add x0, x0, l___func__.lookup1_values@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1178
adrp x3, l_.str.18@PAGE
add x3, x3, l_.str.18@PAGEOFF
bl ___assert_rtn
LBB90_4:
b LBB90_5
LBB90_5:
ldr s0, [sp, #4]
scvtf s0, s0
fcvt d0, s0
ldr s2, [sp, #8]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
bl _pow
fcvtms w8, d0
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w9, gt
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB90_7
b LBB90_6
LBB90_6:
adrp x0, l___func__.lookup1_values@PAGE
add x0, x0, l___func__.lookup1_values@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1179
adrp x3, l_.str.19@PAGE
add x3, x3, l_.str.19@PAGEOFF
bl ___assert_rtn
LBB90_7:
b LBB90_8
LBB90_8:
ldr w0, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function point_compare
_point_compare: ; @point_compare
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
ldr x8, [sp, #40]
str x8, [sp, #24]
ldr x8, [sp, #32]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldrh w8, [x8]
ldr x9, [sp, #16]
ldrh w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB91_2
b LBB91_1
LBB91_1:
mov w8, #-1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB91_3
LBB91_2:
ldr x8, [sp, #24]
ldrh w8, [x8]
ldr x9, [sp, #16]
ldrh w9, [x9]
subs w8, w8, w9
cset w8, gt
and w8, w8, #0x1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB91_3
LBB91_3:
ldr w0, [sp, #12] ; 4-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function neighbors
_neighbors: ; @neighbors
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str w1, [sp, #36]
str x2, [sp, #24]
str x3, [sp, #16]
mov w8, #-1
str w8, [sp, #12]
mov w8, #65536
str w8, [sp, #8]
str wzr, [sp, #4]
b LBB92_1
LBB92_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB92_10
b LBB92_2
LBB92_2: ; in Loop: Header=BB92_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #4]
ldrh w8, [x8, x9, lsl #1]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB92_5
b LBB92_3
LBB92_3: ; in Loop: Header=BB92_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #4]
ldrh w8, [x8, x9, lsl #1]
ldr x9, [sp, #40]
ldrsw x10, [sp, #36]
ldrh w9, [x9, x10, lsl #1]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB92_5
b LBB92_4
LBB92_4: ; in Loop: Header=BB92_1 Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #24]
str w8, [x9]
ldr x8, [sp, #40]
ldrsw x9, [sp, #4]
ldrh w8, [x8, x9, lsl #1]
str w8, [sp, #12]
b LBB92_5
LBB92_5: ; in Loop: Header=BB92_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #4]
ldrh w8, [x8, x9, lsl #1]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB92_8
b LBB92_6
LBB92_6: ; in Loop: Header=BB92_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #4]
ldrh w8, [x8, x9, lsl #1]
ldr x9, [sp, #40]
ldrsw x10, [sp, #36]
ldrh w9, [x9, x10, lsl #1]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB92_8
b LBB92_7
LBB92_7: ; in Loop: Header=BB92_1 Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #16]
str w8, [x9]
ldr x8, [sp, #40]
ldrsw x9, [sp, #4]
ldrh w8, [x8, x9, lsl #1]
str w8, [sp, #8]
b LBB92_8
LBB92_8: ; in Loop: Header=BB92_1 Depth=1
b LBB92_9
LBB92_9: ; in Loop: Header=BB92_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB92_1
LBB92_10:
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function init_blocksize
_init_blocksize: ; @init_blocksize
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
str w2, [sp, #24]
ldr w8, [sp, #24]
asr w8, w8, #1
str w8, [sp, #20]
ldr w8, [sp, #24]
asr w8, w8, #2
str w8, [sp, #16]
ldr w8, [sp, #24]
asr w8, w8, #3
str w8, [sp, #12]
ldur x0, [x29, #-16]
ldrsw x9, [sp, #20]
mov x8, #4
str x8, [sp] ; 8-byte Folded Spill
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp] ; 8-byte Folded Reload
ldur x9, [x29, #-16]
add x9, x9, #1408
ldursw x10, [x29, #-20]
str x0, [x9, x10, lsl #3]
ldur x0, [x29, #-16]
ldrsw x9, [sp, #20]
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldr x8, [sp] ; 8-byte Folded Reload
ldur x9, [x29, #-16]
add x9, x9, #1424
ldursw x10, [x29, #-20]
str x0, [x9, x10, lsl #3]
ldur x0, [x29, #-16]
ldrsw x9, [sp, #16]
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldur x8, [x29, #-16]
add x8, x8, #1440
ldursw x9, [x29, #-20]
str x0, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
add x8, x8, #1408
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB93_3
b LBB93_1
LBB93_1:
ldur x8, [x29, #-16]
add x8, x8, #1424
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB93_3
b LBB93_2
LBB93_2:
ldur x8, [x29, #-16]
add x8, x8, #1440
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB93_4
b LBB93_3
LBB93_3:
ldur x0, [x29, #-16]
mov w1, #3
bl _error
stur w0, [x29, #-4]
b LBB93_9
LBB93_4:
ldr w0, [sp, #24]
ldur x8, [x29, #-16]
add x8, x8, #1408
ldursw x9, [x29, #-20]
ldr x1, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
add x8, x8, #1424
ldursw x9, [x29, #-20]
ldr x2, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
add x8, x8, #1440
ldursw x9, [x29, #-20]
ldr x3, [x8, x9, lsl #3]
bl _compute_twiddle_factors
ldur x0, [x29, #-16]
ldrsw x9, [sp, #20]
mov x8, #4
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldur x8, [x29, #-16]
add x8, x8, #1456
ldursw x9, [x29, #-20]
str x0, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
add x8, x8, #1456
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB93_6
b LBB93_5
LBB93_5:
ldur x0, [x29, #-16]
mov w1, #3
bl _error
stur w0, [x29, #-4]
b LBB93_9
LBB93_6:
ldr w0, [sp, #24]
ldur x8, [x29, #-16]
add x8, x8, #1456
ldursw x9, [x29, #-20]
ldr x1, [x8, x9, lsl #3]
bl _compute_window
ldur x0, [x29, #-16]
ldrsw x9, [sp, #12]
mov x8, #2
mul x8, x8, x9
mov x1, x8
bl _setup_malloc
ldur x8, [x29, #-16]
add x8, x8, #1472
ldursw x9, [x29, #-20]
str x0, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
add x8, x8, #1472
ldursw x9, [x29, #-20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB93_8
b LBB93_7
LBB93_7:
ldur x0, [x29, #-16]
mov w1, #3
bl _error
stur w0, [x29, #-4]
b LBB93_9
LBB93_8:
ldr w0, [sp, #24]
ldur x8, [x29, #-16]
add x8, x8, #1472
ldursw x9, [x29, #-20]
ldr x1, [x8, x9, lsl #3]
bl _compute_bitreverse
mov w8, #1
stur w8, [x29, #-4]
b LBB93_9
LBB93_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function add_entry
_add_entry: ; @add_entry
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
str w3, [sp, #12]
str w4, [sp, #8]
str x5, [sp]
ldr x8, [sp, #24]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB94_2
b LBB94_1
LBB94_1:
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldr x9, [x9, #40]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
b LBB94_3
LBB94_2:
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldr x9, [x9, #40]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldr x9, [x9, #8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
ldr w8, [sp, #16]
ldr x9, [sp]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
b LBB94_3
LBB94_3:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function include_in_sort
_include_in_sort: ; @include_in_sort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
strb w1, [sp, #15]
ldr x8, [sp, #16]
ldrb w8, [x8, #27]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB95_5
b LBB95_1
LBB95_1:
ldrb w8, [sp, #15]
subs w8, w8, #255
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB95_3
b LBB95_2
LBB95_2:
adrp x0, l___func__.include_in_sort@PAGE
add x0, x0, l___func__.include_in_sort@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #1103
adrp x3, l_.str.17@PAGE
add x3, x3, l_.str.17@PAGEOFF
bl ___assert_rtn
LBB95_3:
b LBB95_4
LBB95_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB95_10
LBB95_5:
ldrb w8, [sp, #15]
subs w8, w8, #255
cset w8, ne
tbnz w8, #0, LBB95_7
b LBB95_6
LBB95_6:
stur wzr, [x29, #-4]
b LBB95_10
LBB95_7:
ldrb w8, [sp, #15]
subs w8, w8, #10
cset w8, le
tbnz w8, #0, LBB95_9
b LBB95_8
LBB95_8:
mov w8, #1
stur w8, [x29, #-4]
b LBB95_10
LBB95_9:
stur wzr, [x29, #-4]
b LBB95_10
LBB95_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function uint32_compare
_uint32_compare: ; @uint32_compare
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr w8, [x8]
str w8, [sp, #12]
ldr x8, [sp, #16]
ldr w8, [x8]
str w8, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB96_2
b LBB96_1
LBB96_1:
mov w8, #-1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB96_3
LBB96_2:
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, hi
and w8, w8, #0x1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB96_3
LBB96_3:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function compute_twiddle_factors
lCPI97_0:
.quad 0x400921fb54442d18 ; double 3.1415926535897931
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_compute_twiddle_factors: ; @compute_twiddle_factors
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
ldur w8, [x29, #-4]
asr w8, w8, #2
stur w8, [x29, #-36]
ldur w8, [x29, #-4]
asr w8, w8, #3
stur w8, [x29, #-40]
str wzr, [sp, #48]
stur wzr, [x29, #-44]
b LBB97_1
LBB97_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB97_4
b LBB97_2
LBB97_2: ; in Loop: Header=BB97_1 Depth=1
ldur w9, [x29, #-44]
mov w8, #4
str w8, [sp, #20] ; 4-byte Folded Spill
mul w8, w8, w9
scvtf d0, w8
adrp x8, lCPI97_0@PAGE
ldr d1, [x8, lCPI97_0@PAGEOFF]
str d1, [sp, #24] ; 8-byte Folded Spill
fmul d0, d0, d1
ldur s2, [x29, #-4]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
bl _cos
ldr w8, [sp, #20] ; 4-byte Folded Reload
ldr d1, [sp, #24] ; 8-byte Folded Reload
fcvt s0, d0
ldur x9, [x29, #-16]
ldrsw x10, [sp, #48]
str s0, [x9, x10, lsl #2]
ldur w9, [x29, #-44]
mul w8, w8, w9
scvtf d0, w8
fmul d0, d0, d1
ldur s2, [x29, #-4]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
bl _sin
ldr d1, [sp, #24] ; 8-byte Folded Reload
fneg d0, d0
fcvt s0, d0
ldur x8, [x29, #-16]
ldr w9, [sp, #48]
add w9, w9, #1
str s0, [x8, w9, sxtw #2]
ldr w8, [sp, #48]
add w8, w8, #1
scvtf d0, w8
fmul d0, d0, d1
ldur s2, [x29, #-4]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
fmov d1, #2.00000000
str d1, [sp, #32] ; 8-byte Folded Spill
fdiv d0, d0, d1
bl _cos
ldr d2, [sp, #24] ; 8-byte Folded Reload
ldr d1, [sp, #32] ; 8-byte Folded Reload
fcvt s0, d0
fmov s3, #0.50000000
str s3, [sp, #44] ; 4-byte Folded Spill
fmul s0, s0, s3
ldur x8, [x29, #-24]
ldrsw x9, [sp, #48]
str s0, [x8, x9, lsl #2]
ldr w8, [sp, #48]
add w8, w8, #1
scvtf d0, w8
fmul d0, d0, d2
ldur s3, [x29, #-4]
; implicit-def: $d2
fmov s2, s3
sshll.2d v2, v2, #0
; kill: def $d2 killed $d2 killed $q2
scvtf d2, d2
fdiv d0, d0, d2
fdiv d0, d0, d1
bl _sin
ldr s1, [sp, #44] ; 4-byte Folded Reload
fcvt s0, d0
fmul s0, s0, s1
ldur x8, [x29, #-24]
ldr w9, [sp, #48]
add w9, w9, #1
str s0, [x8, w9, sxtw #2]
b LBB97_3
LBB97_3: ; in Loop: Header=BB97_1 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
ldr w8, [sp, #48]
add w8, w8, #2
str w8, [sp, #48]
b LBB97_1
LBB97_4:
str wzr, [sp, #48]
stur wzr, [x29, #-44]
b LBB97_5
LBB97_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB97_8
b LBB97_6
LBB97_6: ; in Loop: Header=BB97_5 Depth=1
ldr w8, [sp, #48]
add w9, w8, #1
mov w8, #2
str w8, [sp, #4] ; 4-byte Folded Spill
mul w8, w8, w9
scvtf d0, w8
adrp x8, lCPI97_0@PAGE
ldr d1, [x8, lCPI97_0@PAGEOFF]
str d1, [sp, #8] ; 8-byte Folded Spill
fmul d0, d0, d1
ldur s2, [x29, #-4]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
bl _cos
ldr w8, [sp, #4] ; 4-byte Folded Reload
ldr d1, [sp, #8] ; 8-byte Folded Reload
fcvt s0, d0
ldur x9, [x29, #-32]
ldrsw x10, [sp, #48]
str s0, [x9, x10, lsl #2]
ldr w9, [sp, #48]
add w9, w9, #1
mul w8, w8, w9
scvtf d0, w8
fmul d0, d0, d1
ldur s2, [x29, #-4]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
bl _sin
fneg d0, d0
fcvt s0, d0
ldur x8, [x29, #-32]
ldr w9, [sp, #48]
add w9, w9, #1
str s0, [x8, w9, sxtw #2]
b LBB97_7
LBB97_7: ; in Loop: Header=BB97_5 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
ldr w8, [sp, #48]
add w8, w8, #2
str w8, [sp, #48]
b LBB97_5
LBB97_8:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function compute_window
lCPI98_0:
.quad 0x3ff921fb54442d18 ; double 1.5707963267948966
lCPI98_1:
.quad 0x400921fb54442d18 ; double 3.1415926535897931
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_compute_window: ; @compute_window
.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]
asr w8, w8, #1
str w8, [sp, #12]
str wzr, [sp, #8]
b LBB98_1
LBB98_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB98_4
b LBB98_2
LBB98_2: ; in Loop: Header=BB98_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
scvtf d0, w8
fmov d1, #0.50000000
fadd d0, d0, d1
ldr s3, [sp, #12]
; implicit-def: $d2
fmov s2, s3
sshll.2d v2, v2, #0
; kill: def $d2 killed $d2 killed $q2
scvtf d2, d2
fdiv d0, d0, d2
fmul d0, d0, d1
adrp x8, lCPI98_1@PAGE
ldr d1, [x8, lCPI98_1@PAGEOFF]
fmul d0, d0, d1
bl _sin
fcvt s0, d0
bl _square
fcvt d1, s0
adrp x8, lCPI98_0@PAGE
ldr d0, [x8, lCPI98_0@PAGEOFF]
fmul d0, d0, d1
bl _sin
fcvt s0, d0
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
str s0, [x8, x9, lsl #2]
b LBB98_3
LBB98_3: ; in Loop: Header=BB98_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB98_1
LBB98_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function compute_bitreverse
_compute_bitreverse: ; @compute_bitreverse
.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 w0, [x29, #-4]
bl _ilog
subs w8, w0, #1
str w8, [sp, #12]
ldur w8, [x29, #-4]
asr w8, w8, #3
str w8, [sp, #4]
str wzr, [sp, #8]
b LBB99_1
LBB99_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB99_4
b LBB99_2
LBB99_2: ; in Loop: Header=BB99_1 Depth=1
ldr w0, [sp, #8]
bl _bit_reverse
ldr w9, [sp, #12]
mov w8, #32
subs w8, w8, w9
add w8, w8, #3
lsr w8, w0, w8
lsl w8, w8, #2
ldr x9, [sp, #16]
ldrsw x10, [sp, #8]
strh w8, [x9, x10, lsl #1]
b LBB99_3
LBB99_3: ; in Loop: Header=BB99_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB99_1
LBB99_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function square
_square: ; @square
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
ldr s0, [sp, #12]
ldr s1, [sp, #12]
fmul s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vorbis_seek_frame_from_page
_vorbis_seek_frame_from_page: ; @vorbis_seek_frame_from_page
.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 w2, [x29, #-24]
stur w3, [x29, #-28]
stur w4, [x29, #-32]
str wzr, [sp, #36]
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
bl _set_file_offset
ldur x9, [x29, #-16]
mov w8, #-1
str w8, [x9, #1760]
ldur w8, [x29, #-24]
str w8, [sp, #32]
b LBB101_1
LBB101_1: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-16]
sub x1, x29, #36
sub x2, x29, #40
sub x3, x29, #44
add x4, sp, #48
add x5, sp, #44
bl _vorbis_decode_initial
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB101_3
b LBB101_2
LBB101_2:
ldur x0, [x29, #-16]
mov w1, #37
bl _error
stur w0, [x29, #-4]
b LBB101_43
LBB101_3: ; in Loop: Header=BB101_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB101_5
b LBB101_4
LBB101_4: ; in Loop: Header=BB101_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #20]
b LBB101_6
LBB101_5: ; in Loop: Header=BB101_1 Depth=1
ldur w8, [x29, #-36]
str w8, [sp, #20]
b LBB101_6
LBB101_6: ; in Loop: Header=BB101_1 Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
ldur w10, [x29, #-44]
add w9, w9, w10
ldr w10, [sp, #20]
subs w9, w9, w10
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB101_8
b LBB101_7
LBB101_7:
b LBB101_11
LBB101_8: ; in Loop: Header=BB101_1 Depth=1
ldur x0, [x29, #-16]
bl _flush_packet
ldur x8, [x29, #-16]
ldr w8, [x8, #144]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB101_10
b LBB101_9
LBB101_9:
ldur x0, [x29, #-16]
mov w1, #37
bl _error
stur w0, [x29, #-4]
b LBB101_43
LBB101_10: ; in Loop: Header=BB101_1 Depth=1
ldur w8, [x29, #-44]
ldr w9, [sp, #20]
subs w9, w8, w9
ldr w8, [sp, #32]
add w8, w8, w9
str w8, [sp, #32]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB101_1
LBB101_11:
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
ldur w10, [x29, #-40]
ldur w11, [x29, #-36]
subs w10, w10, w11
add w9, w9, w10
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB101_13
b LBB101_12
LBB101_12:
ldr w8, [sp, #36]
str w8, [sp, #28]
ldur w8, [x29, #-40]
ldur w9, [x29, #-36]
subs w8, w8, w9
str w8, [sp, #24]
b LBB101_17
LBB101_13:
ldr w8, [sp, #36]
subs w8, w8, #1
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w9, lt
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB101_15
b LBB101_14
LBB101_14:
adrp x0, l___func__.vorbis_seek_frame_from_page@PAGE
add x0, x0, l___func__.vorbis_seek_frame_from_page@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4741
adrp x3, l_.str.20@PAGE
add x3, x3, l_.str.20@PAGEOFF
bl ___assert_rtn
LBB101_15:
b LBB101_16
LBB101_16:
mov w8, #-1
str w8, [sp, #24]
b LBB101_17
LBB101_17:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
bl _set_file_offset
ldur x9, [x29, #-16]
mov w8, #-1
str w8, [x9, #1760]
str wzr, [sp, #40]
b LBB101_18
LBB101_18: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB101_21
b LBB101_19
LBB101_19: ; in Loop: Header=BB101_18 Depth=1
ldur x0, [x29, #-16]
bl _maybe_start_packet
ldur x0, [x29, #-16]
bl _flush_packet
b LBB101_20
LBB101_20: ; in Loop: Header=BB101_18 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB101_18
LBB101_21:
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB101_31
b LBB101_22
LBB101_22:
ldur x8, [x29, #-16]
ldr w8, [x8, #160]
asr w8, w8, #1
str w8, [sp, #8]
ldr w8, [sp, #24]
ldur x9, [x29, #-16]
str w8, [x9, #1792]
str wzr, [sp, #16]
b LBB101_23
LBB101_23: ; =>This Loop Header: Depth=1
; Child Loop BB101_25 Depth 2
ldr w8, [sp, #16]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB101_30
b LBB101_24
LBB101_24: ; in Loop: Header=BB101_23 Depth=1
str wzr, [sp, #12]
b LBB101_25
LBB101_25: ; Parent Loop BB101_23 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB101_28
b LBB101_26
LBB101_26: ; in Loop: Header=BB101_25 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #1136
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #12]
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB101_27
LBB101_27: ; in Loop: Header=BB101_25 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB101_25
LBB101_28: ; in Loop: Header=BB101_23 Depth=1
b LBB101_29
LBB101_29: ; in Loop: Header=BB101_23 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB101_23
LBB101_30:
ldr w8, [sp, #8]
ldur x9, [x29, #-16]
str w8, [x9, #1264]
ldr w9, [sp, #24]
ldr w8, [sp, #32]
add w8, w8, w9
str w8, [sp, #32]
b LBB101_32
LBB101_31:
ldur x8, [x29, #-16]
str wzr, [x8, #1264]
ldur x0, [x29, #-16]
bl _vorbis_pump_first_frame
b LBB101_32
LBB101_32:
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB101_42
b LBB101_33
LBB101_33:
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB101_41
b LBB101_34
LBB101_34:
ldur x0, [x29, #-16]
add x1, sp, #4
mov x2, #0
bl _stb_vorbis_get_frame_float
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w9, ls
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB101_36
b LBB101_35
LBB101_35:
adrp x0, l___func__.vorbis_seek_frame_from_page@PAGE
add x0, x0, l___func__.vorbis_seek_frame_from_page@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4772
adrp x3, l_.str.21@PAGE
add x3, x3, l_.str.21@PAGEOFF
bl ___assert_rtn
LBB101_36:
b LBB101_37
LBB101_37:
ldur x8, [x29, #-16]
ldr w8, [x8, #1884]
ldur w9, [x29, #-28]
ldr w10, [sp, #32]
subs w9, w9, w10
add w8, w8, w9
ldur x9, [x29, #-16]
ldr w9, [x9, #1888]
subs w8, w8, w9
cset w9, ge
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB101_39
b LBB101_38
LBB101_38:
adrp x0, l___func__.vorbis_seek_frame_from_page@PAGE
add x0, x0, l___func__.vorbis_seek_frame_from_page@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4773
adrp x3, l_.str.22@PAGE
add x3, x3, l_.str.22@PAGEOFF
bl ___assert_rtn
LBB101_39:
b LBB101_40
LBB101_40:
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w10, w8, w9
ldur x9, [x29, #-16]
ldr w8, [x9, #1884]
add w8, w8, w10
str w8, [x9, #1884]
b LBB101_41
LBB101_41:
b LBB101_42
LBB101_42:
stur wzr, [x29, #-4]
b LBB101_43
LBB101_43:
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 vorbis_analyze_page
_vorbis_analyze_page: ; @vorbis_analyze_page
.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, #608
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #48]
str x1, [sp, #40]
str wzr, [sp, #28]
ldr x0, [sp, #48]
bl _stb_vorbis_get_file_offset
ldr x8, [sp, #40]
str w0, [x8]
ldr x0, [sp, #48]
sub x1, x29, #51
mov w2, #27
bl _getn
ldurb w8, [x29, #-51]
subs w8, w8, #79
cset w8, ne
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB102_4
b LBB102_1
LBB102_1:
ldurb w8, [x29, #-50]
subs w8, w8, #103
cset w8, ne
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB102_4
b LBB102_2
LBB102_2:
ldurb w8, [x29, #-49]
subs w8, w8, #103
cset w8, ne
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB102_4
b LBB102_3
LBB102_3:
ldurb w8, [x29, #-48]
subs w8, w8, #83
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB102_4
LBB102_4:
ldr w8, [sp, #8] ; 4-byte Folded Reload
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB102_6
b LBB102_5
LBB102_5:
adrp x0, l___func__.vorbis_analyze_page@PAGE
add x0, x0, l___func__.vorbis_analyze_page@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4561
adrp x3, l_.str.23@PAGE
add x3, x3, l_.str.23@PAGEOFF
bl ___assert_rtn
LBB102_6:
b LBB102_7
LBB102_7:
ldr x0, [sp, #48]
ldurb w2, [x29, #-25]
add x1, sp, #318
bl _getn
str wzr, [sp, #20]
str wzr, [sp, #24]
b LBB102_8
LBB102_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldurb w9, [x29, #-25]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB102_11
b LBB102_9
LBB102_9: ; in Loop: Header=BB102_8 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #318
ldrb w9, [x8, x9]
ldr w8, [sp, #20]
add w8, w8, w9
str w8, [sp, #20]
b LBB102_10
LBB102_10: ; in Loop: Header=BB102_8 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB102_8
LBB102_11:
ldr x8, [sp, #40]
ldr w8, [x8]
add w8, w8, #27
ldurb w9, [x29, #-25]
add w8, w8, w9
ldr w9, [sp, #20]
add w8, w8, w9
ldr x9, [sp, #40]
str w8, [x9, #4]
ldurb w8, [x29, #-45]
ldurb w9, [x29, #-44]
add w8, w8, w9, lsl #8
ldurb w9, [x29, #-43]
add w8, w8, w9, lsl #16
ldurb w9, [x29, #-42]
add w8, w8, w9, lsl #16
ldr x9, [sp, #40]
str w8, [x9, #16]
ldurb w8, [x29, #-46]
ands w8, w8, #0x4
cset w8, eq
tbnz w8, #0, LBB102_13
b LBB102_12
LBB102_12:
ldr x9, [sp, #40]
mov w8, #-1
str w8, [x9, #12]
ldr x0, [sp, #48]
ldr x8, [sp, #40]
ldr w1, [x8]
bl _set_file_offset
mov w8, #1
str w8, [sp, #56]
b LBB102_43
LBB102_13:
str wzr, [sp, #36]
ldurb w8, [x29, #-46]
ands w8, w8, #0x1
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #32]
str wzr, [sp, #24]
b LBB102_14
LBB102_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldurb w9, [x29, #-25]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB102_29
b LBB102_15
LBB102_15: ; in Loop: Header=BB102_14 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB102_26
b LBB102_16
LBB102_16: ; in Loop: Header=BB102_14 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #318
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB102_18
b LBB102_17
LBB102_17:
b LBB102_42
LBB102_18: ; in Loop: Header=BB102_14 Depth=1
ldr x0, [sp, #48]
bl _get8
strb w0, [sp, #15]
ldrb w8, [sp, #15]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB102_20
b LBB102_19
LBB102_19:
b LBB102_42
LBB102_20: ; in Loop: Header=BB102_14 Depth=1
ldrb w8, [sp, #15]
asr w8, w8, #1
strb w8, [sp, #15]
ldr x8, [sp, #48]
ldr w8, [x8, #488]
mov w9, #1
str w9, [sp, #4] ; 4-byte Folded Spill
subs w0, w8, #1
bl _ilog
ldr w8, [sp, #4] ; 4-byte Folded Reload
strb w0, [sp, #14]
ldrb w9, [sp, #15]
ldrb w10, [sp, #14]
asr w9, w9, w10
strb w9, [sp, #13]
ldrb w9, [sp, #14]
lsl w8, w8, w9
subs w9, w8, #1
ldrb w8, [sp, #15]
and w8, w8, w9
strb w8, [sp, #15]
ldrb w8, [sp, #15]
ldr x9, [sp, #48]
ldr w9, [x9, #488]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB102_22
b LBB102_21
LBB102_21:
b LBB102_42
LBB102_22: ; in Loop: Header=BB102_14 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB102_25
b LBB102_23
LBB102_23: ; in Loop: Header=BB102_14 Depth=1
ldr x8, [sp, #48]
add x8, x8, #492
ldrb w9, [sp, #15]
; kill: def $x9 killed $w9
mov x10, #6
mul x9, x9, x10
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB102_25
b LBB102_24
LBB102_24: ; in Loop: Header=BB102_14 Depth=1
ldrb w8, [sp, #13]
and w8, w8, #0x1
str w8, [sp, #28]
b LBB102_25
LBB102_25: ; in Loop: Header=BB102_14 Depth=1
ldr x8, [sp, #48]
add x8, x8, #492
ldrb w9, [sp, #15]
; kill: def $x9 killed $w9
mov x10, #6
mul x9, x9, x10
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #36]
mov x9, x10
add w9, w9, #1
str w9, [sp, #36]
add x9, sp, #63
add x9, x9, x10
strb w8, [x9]
ldr x0, [sp, #48]
ldrsw x9, [sp, #24]
add x8, sp, #318
ldrb w8, [x8, x9]
subs w1, w8, #1
bl _skip
b LBB102_27
LBB102_26: ; in Loop: Header=BB102_14 Depth=1
ldr x0, [sp, #48]
ldrsw x9, [sp, #24]
add x8, sp, #318
ldrb w1, [x8, x9]
bl _skip
b LBB102_27
LBB102_27: ; in Loop: Header=BB102_14 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #318
ldrb w8, [x8, x9]
subs w8, w8, #255
cset w8, lt
and w8, w8, #0x1
str w8, [sp, #32]
b LBB102_28
LBB102_28: ; in Loop: Header=BB102_14 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB102_14
LBB102_29:
str wzr, [sp, #16]
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB102_31
b LBB102_30
LBB102_30:
ldr x8, [sp, #48]
add x8, x8, #152
ldr w9, [sp, #36]
subs w10, w9, #1
add x9, sp, #63
ldrb w9, [x9, w10, sxtw]
; kill: def $x9 killed $w9
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB102_31
LBB102_31:
ldr w8, [sp, #36]
subs w8, w8, #2
str w8, [sp, #24]
b LBB102_32
LBB102_32: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB102_41
b LBB102_33
LBB102_33: ; in Loop: Header=BB102_32 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #63
ldrb w8, [x8, x9]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB102_38
b LBB102_34
LBB102_34: ; in Loop: Header=BB102_32 Depth=1
ldr w8, [sp, #24]
add w9, w8, #1
add x8, sp, #63
ldrb w8, [x8, w9, sxtw]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB102_36
b LBB102_35
LBB102_35: ; in Loop: Header=BB102_32 Depth=1
ldr x8, [sp, #48]
ldr w9, [x8, #164]
ldr w8, [sp, #16]
add w8, w8, w9, asr #1
str w8, [sp, #16]
b LBB102_37
LBB102_36: ; in Loop: Header=BB102_32 Depth=1
ldr x8, [sp, #48]
ldr w8, [x8, #164]
ldr x9, [sp, #48]
ldr w9, [x9, #160]
subs w9, w8, w9
ldr x8, [sp, #48]
ldr w8, [x8, #160]
asr w8, w8, #1
add w9, w8, w9, asr #2
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB102_37
LBB102_37: ; in Loop: Header=BB102_32 Depth=1
b LBB102_39
LBB102_38: ; in Loop: Header=BB102_32 Depth=1
ldr x8, [sp, #48]
ldr w9, [x8, #160]
ldr w8, [sp, #16]
add w8, w8, w9, asr #1
str w8, [sp, #16]
b LBB102_39
LBB102_39: ; in Loop: Header=BB102_32 Depth=1
b LBB102_40
LBB102_40: ; in Loop: Header=BB102_32 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB102_32
LBB102_41:
ldr x8, [sp, #40]
ldr w8, [x8, #16]
ldr w9, [sp, #16]
subs w8, w8, w9
ldr x9, [sp, #40]
str w8, [x9, #12]
ldr x0, [sp, #48]
ldr x8, [sp, #40]
ldr w1, [x8]
bl _set_file_offset
mov w8, #1
str w8, [sp, #56]
b LBB102_43
LBB102_42:
ldr x0, [sp, #48]
ldr x8, [sp, #40]
ldr w1, [x8]
bl _set_file_offset
str wzr, [sp, #56]
b LBB102_43
LBB102_43:
ldr w8, [sp, #56]
str w8, [sp] ; 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, LBB102_45
b LBB102_44
LBB102_44:
bl ___stack_chk_fail
LBB102_45:
ldr w0, [sp] ; 4-byte Folded Reload
add sp, sp, #608
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function compute_samples
_compute_samples: ; @compute_samples
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str w0, [sp, #68]
str x1, [sp, #56]
str w2, [sp, #52]
str x3, [sp, #40]
str w4, [sp, #36]
str w5, [sp, #32]
mov w8, #32
str w8, [sp, #16]
str wzr, [sp, #20]
b LBB103_1
LBB103_1: ; =>This Loop Header: Depth=1
; Child Loop BB103_5 Depth 2
; Child Loop BB103_8 Depth 3
; Child Loop BB103_15 Depth 2
ldr w8, [sp, #20]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB103_22
b LBB103_2
LBB103_2: ; in Loop: Header=BB103_1 Depth=1
add x0, sp, #72
mov w1, #0
mov x2, #128
bl _memset
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB103_4
b LBB103_3
LBB103_3: ; in Loop: Header=BB103_1 Depth=1
ldr w8, [sp, #32]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #16]
b LBB103_4
LBB103_4: ; in Loop: Header=BB103_1 Depth=1
str wzr, [sp, #24]
b LBB103_5
LBB103_5: ; Parent Loop BB103_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB103_8 Depth 3
ldr w8, [sp, #24]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB103_14
b LBB103_6
LBB103_6: ; in Loop: Header=BB103_5 Depth=2
ldrsw x8, [sp, #52]
mov x9, #6
mul x9, x8, x9
adrp x8, _channel_position@PAGE
add x8, x8, _channel_position@PAGEOFF
add x8, x8, x9
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
ldr w9, [sp, #68]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB103_12
b LBB103_7
LBB103_7: ; in Loop: Header=BB103_5 Depth=2
str wzr, [sp, #28]
b LBB103_8
LBB103_8: ; Parent Loop BB103_1 Depth=1
; Parent Loop BB103_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #28]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB103_11
b LBB103_9
LBB103_9: ; in Loop: Header=BB103_8 Depth=3
ldr x8, [sp, #40]
ldrsw x9, [sp, #24]
ldr x8, [x8, x9, lsl #3]
ldr w9, [sp, #36]
ldr w10, [sp, #20]
add w9, w9, w10
ldr w10, [sp, #28]
add w9, w9, w10
ldr s1, [x8, w9, sxtw #2]
ldrsw x9, [sp, #28]
add x8, sp, #72
add x8, x8, x9, lsl #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB103_10
LBB103_10: ; in Loop: Header=BB103_8 Depth=3
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB103_8
LBB103_11: ; in Loop: Header=BB103_5 Depth=2
b LBB103_12
LBB103_12: ; in Loop: Header=BB103_5 Depth=2
b LBB103_13
LBB103_13: ; in Loop: Header=BB103_5 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB103_5
LBB103_14: ; in Loop: Header=BB103_1 Depth=1
str wzr, [sp, #28]
b LBB103_15
LBB103_15: ; Parent Loop BB103_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB103_20
b LBB103_16
LBB103_16: ; in Loop: Header=BB103_15 Depth=2
ldrsw x9, [sp, #28]
add x8, sp, #72
ldr s0, [x8, x9, lsl #2]
mov w8, #1136656384
fmov s1, w8
fadd s0, s0, s1
str s0, [sp, #12]
ldr w8, [sp, #12]
mov w9, #1136656384
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
add w8, w8, #8, lsl #12 ; =32768
subs w8, w8, #16, lsl #12 ; =65536
cset w8, lo
tbnz w8, #0, LBB103_18
b LBB103_17
LBB103_17: ; in Loop: Header=BB103_15 Depth=2
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
and w10, w8, #0x1
mov w9, #32767
mov w8, #-32768
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #8]
b LBB103_18
LBB103_18: ; in Loop: Header=BB103_15 Depth=2
ldr w8, [sp, #8]
ldr x9, [sp, #56]
ldr w10, [sp, #20]
ldr w11, [sp, #28]
add w10, w10, w11
strh w8, [x9, w10, sxtw #1]
b LBB103_19
LBB103_19: ; in Loop: Header=BB103_15 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB103_15
LBB103_20: ; in Loop: Header=BB103_1 Depth=1
b LBB103_21
LBB103_21: ; in Loop: Header=BB103_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #32
str w8, [sp, #20]
b LBB103_1
LBB103_22:
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, LBB103_24
b LBB103_23
LBB103_23:
bl ___stack_chk_fail
LBB103_24:
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #224
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function copy_samples
_copy_samples: ; @copy_samples
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
str wzr, [sp, #8]
b LBB104_1
LBB104_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB104_6
b LBB104_2
LBB104_2: ; in Loop: Header=BB104_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr s0, [x8, x9, lsl #2]
mov w8, #1136656384
fmov s1, w8
fadd s0, s0, s1
str s0, [sp, #4]
ldr w8, [sp, #4]
mov w9, #1136656384
subs w8, w8, w9
str w8, [sp]
ldr w8, [sp]
add w8, w8, #8, lsl #12 ; =32768
subs w8, w8, #16, lsl #12 ; =65536
cset w8, lo
tbnz w8, #0, LBB104_4
b LBB104_3
LBB104_3: ; in Loop: Header=BB104_1 Depth=1
ldr w8, [sp]
subs w8, w8, #0
cset w8, lt
and w10, w8, #0x1
mov w9, #32767
mov w8, #-32768
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp]
b LBB104_4
LBB104_4: ; in Loop: Header=BB104_1 Depth=1
ldr w8, [sp]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
strh w8, [x9, x10, lsl #1]
b LBB104_5
LBB104_5: ; in Loop: Header=BB104_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB104_1
LBB104_6:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function compute_stereo_samples
_compute_stereo_samples: ; @compute_stereo_samples
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #64]
str w1, [sp, #60]
str x2, [sp, #48]
str w3, [sp, #44]
str w4, [sp, #40]
mov w8, #16
str w8, [sp, #24]
str wzr, [sp, #28]
b LBB105_1
LBB105_1: ; =>This Loop Header: Depth=1
; Child Loop BB105_5 Depth 2
; Child Loop BB105_20 Depth 3
; Child Loop BB105_14 Depth 3
; Child Loop BB105_8 Depth 3
; Child Loop BB105_29 Depth 2
ldr w8, [sp, #28]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB105_36
b LBB105_2
LBB105_2: ; in Loop: Header=BB105_1 Depth=1
ldr w8, [sp, #28]
lsl w8, w8, #1
str w8, [sp, #20]
add x0, sp, #72
mov w1, #0
mov x2, #128
bl _memset
ldr w8, [sp, #28]
ldr w9, [sp, #24]
add w8, w8, w9
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB105_4
b LBB105_3
LBB105_3: ; in Loop: Header=BB105_1 Depth=1
ldr w8, [sp, #40]
ldr w9, [sp, #28]
subs w8, w8, w9
str w8, [sp, #24]
b LBB105_4
LBB105_4: ; in Loop: Header=BB105_1 Depth=1
str wzr, [sp, #32]
b LBB105_5
LBB105_5: ; Parent Loop BB105_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB105_20 Depth 3
; Child Loop BB105_14 Depth 3
; Child Loop BB105_8 Depth 3
ldr w8, [sp, #32]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB105_28
b LBB105_6
LBB105_6: ; in Loop: Header=BB105_5 Depth=2
ldrsw x8, [sp, #60]
mov x9, #6
mul x9, x8, x9
adrp x8, _channel_position@PAGE
add x8, x8, _channel_position@PAGEOFF
add x8, x8, x9
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
and w8, w8, #0x6
str w8, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB105_12
b LBB105_7
LBB105_7: ; in Loop: Header=BB105_5 Depth=2
str wzr, [sp, #36]
b LBB105_8
LBB105_8: ; Parent Loop BB105_1 Depth=1
; Parent Loop BB105_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #36]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB105_11
b LBB105_9
LBB105_9: ; in Loop: Header=BB105_8 Depth=3
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
ldr x8, [x8, x9, lsl #3]
ldr w9, [sp, #44]
ldr w10, [sp, #28]
add w9, w9, w10
ldr w10, [sp, #36]
add w9, w9, w10
ldr s1, [x8, w9, sxtw #2]
ldr w8, [sp, #36]
lsl w8, w8, #1
add w9, w8, #0
add x8, sp, #72
add x9, x8, w9, sxtw #2
ldr s0, [x9]
fadd s0, s0, s1
str s0, [x9]
ldr x9, [sp, #48]
ldrsw x10, [sp, #32]
ldr x9, [x9, x10, lsl #3]
ldr w10, [sp, #44]
ldr w11, [sp, #28]
add w10, w10, w11
ldr w11, [sp, #36]
add w10, w10, w11
ldr s1, [x9, w10, sxtw #2]
ldr w9, [sp, #36]
lsl w9, w9, #1
add w9, w9, #1
add x8, x8, w9, sxtw #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB105_10
LBB105_10: ; in Loop: Header=BB105_8 Depth=3
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB105_8
LBB105_11: ; in Loop: Header=BB105_5 Depth=2
b LBB105_26
LBB105_12: ; in Loop: Header=BB105_5 Depth=2
ldr w8, [sp, #16]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB105_18
b LBB105_13
LBB105_13: ; in Loop: Header=BB105_5 Depth=2
str wzr, [sp, #36]
b LBB105_14
LBB105_14: ; Parent Loop BB105_1 Depth=1
; Parent Loop BB105_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #36]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB105_17
b LBB105_15
LBB105_15: ; in Loop: Header=BB105_14 Depth=3
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
ldr x8, [x8, x9, lsl #3]
ldr w9, [sp, #44]
ldr w10, [sp, #28]
add w9, w9, w10
ldr w10, [sp, #36]
add w9, w9, w10
ldr s1, [x8, w9, sxtw #2]
ldr w8, [sp, #36]
lsl w8, w8, #1
add w9, w8, #0
add x8, sp, #72
add x8, x8, w9, sxtw #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB105_16
LBB105_16: ; in Loop: Header=BB105_14 Depth=3
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB105_14
LBB105_17: ; in Loop: Header=BB105_5 Depth=2
b LBB105_25
LBB105_18: ; in Loop: Header=BB105_5 Depth=2
ldr w8, [sp, #16]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB105_24
b LBB105_19
LBB105_19: ; in Loop: Header=BB105_5 Depth=2
str wzr, [sp, #36]
b LBB105_20
LBB105_20: ; Parent Loop BB105_1 Depth=1
; Parent Loop BB105_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #36]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB105_23
b LBB105_21
LBB105_21: ; in Loop: Header=BB105_20 Depth=3
ldr x8, [sp, #48]
ldrsw x9, [sp, #32]
ldr x8, [x8, x9, lsl #3]
ldr w9, [sp, #44]
ldr w10, [sp, #28]
add w9, w9, w10
ldr w10, [sp, #36]
add w9, w9, w10
ldr s1, [x8, w9, sxtw #2]
ldr w8, [sp, #36]
lsl w8, w8, #1
add w9, w8, #1
add x8, sp, #72
add x8, x8, w9, sxtw #2
ldr s0, [x8]
fadd s0, s0, s1
str s0, [x8]
b LBB105_22
LBB105_22: ; in Loop: Header=BB105_20 Depth=3
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB105_20
LBB105_23: ; in Loop: Header=BB105_5 Depth=2
b LBB105_24
LBB105_24: ; in Loop: Header=BB105_5 Depth=2
b LBB105_25
LBB105_25: ; in Loop: Header=BB105_5 Depth=2
b LBB105_26
LBB105_26: ; in Loop: Header=BB105_5 Depth=2
b LBB105_27
LBB105_27: ; in Loop: Header=BB105_5 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB105_5
LBB105_28: ; in Loop: Header=BB105_1 Depth=1
str wzr, [sp, #36]
b LBB105_29
LBB105_29: ; Parent Loop BB105_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
ldr w9, [sp, #24]
subs w8, w8, w9, lsl #1
cset w8, ge
tbnz w8, #0, LBB105_34
b LBB105_30
LBB105_30: ; in Loop: Header=BB105_29 Depth=2
ldrsw x9, [sp, #36]
add x8, sp, #72
ldr s0, [x8, x9, lsl #2]
mov w8, #1136656384
fmov s1, w8
fadd s0, s0, s1
str s0, [sp, #12]
ldr w8, [sp, #12]
mov w9, #1136656384
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
add w8, w8, #8, lsl #12 ; =32768
subs w8, w8, #16, lsl #12 ; =65536
cset w8, lo
tbnz w8, #0, LBB105_32
b LBB105_31
LBB105_31: ; in Loop: Header=BB105_29 Depth=2
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
and w10, w8, #0x1
mov w9, #32767
mov w8, #-32768
ands w10, w10, #0x1
csel w8, w8, w9, ne
str w8, [sp, #8]
b LBB105_32
LBB105_32: ; in Loop: Header=BB105_29 Depth=2
ldr w8, [sp, #8]
ldr x9, [sp, #64]
ldr w10, [sp, #20]
ldr w11, [sp, #36]
add w10, w10, w11
strh w8, [x9, w10, sxtw #1]
b LBB105_33
LBB105_33: ; in Loop: Header=BB105_29 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB105_29
LBB105_34: ; in Loop: Header=BB105_1 Depth=1
b LBB105_35
LBB105_35: ; in Loop: Header=BB105_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #16
str w8, [sp, #28]
b LBB105_1
LBB105_36:
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, LBB105_38
b LBB105_37
LBB105_37:
bl ___stack_chk_fail
LBB105_38:
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #224
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rb"
.section __DATA,__data
_ogg_page_header: ; @ogg_page_header
.ascii "OggS"
.zerofill __DATA,__bss,_crc_table,1024,2 ; @crc_table
.section __TEXT,__cstring,cstring_literals
l___func__.vorbis_decode_initial: ; @__func__.vorbis_decode_initial
.asciz "vorbis_decode_initial"
l_.str.1: ; @.str.1
.asciz "220455433.c"
l_.str.2: ; @.str.2
.asciz "f->alloc.alloc_buffer_length_in_bytes == f->temp_offset"
l___func__.get8_packet_raw: ; @__func__.get8_packet_raw
.asciz "get8_packet_raw"
l_.str.3: ; @.str.3
.asciz "f->bytes_in_seg > 0"
l___func__.next_segment: ; @__func__.next_segment
.asciz "next_segment"
l_.str.4: ; @.str.4
.asciz "f->bytes_in_seg == 0"
.section __DATA,__data
_ilog.log2_4: ; @ilog.log2_4
.ascii "\000\001\002\002\003\003\003\003\004\004\004\004\004\004\004\004"
.p2align 2 ; @vorbis_decode_packet_rest.range_list
_vorbis_decode_packet_rest.range_list:
.long 256 ; 0x100
.long 128 ; 0x80
.long 86 ; 0x56
.long 64 ; 0x40
.section __TEXT,__cstring,cstring_literals
l___func__.vorbis_decode_packet_rest: ; @__func__.vorbis_decode_packet_rest
.asciz "vorbis_decode_packet_rest"
l___func__.codebook_decode_scalar_raw: ; @__func__.codebook_decode_scalar_raw
.asciz "codebook_decode_scalar_raw"
l_.str.5: ; @.str.5
.asciz "c->sorted_codewords || c->codewords"
l_.str.6: ; @.str.6
.asciz "!c->sparse"
l___func__.codebook_decode_deinterleave_repeat: ; @__func__.codebook_decode_deinterleave_repeat
.asciz "codebook_decode_deinterleave_repeat"
l_.str.7: ; @.str.7
.asciz "!c->sparse || z < c->sorted_entries"
l___func__.codebook_decode_start: ; @__func__.codebook_decode_start
.asciz "codebook_decode_start"
l_.str.8: ; @.str.8
.asciz "z < c->sorted_entries"
.section __DATA,__data
.p2align 2 ; @inverse_db_table
_inverse_db_table:
.long 0x33e4b43e ; float 1.06498632E-7
.long 0x33f39109 ; float 1.1341951E-7
.long 0x3401b28b ; float 1.20790148E-7
.long 0x340a203c ; float 1.28639783E-7
.long 0x34131a23 ; float 1.36999503E-7
.long 0x341ca960 ; float 1.45902504E-7
.long 0x3426d7a7 ; float 1.55384086E-7
.long 0x3431af4b ; float 1.65481808E-7
.long 0x343d3b50 ; float 1.76235744E-7
.long 0x34498770 ; float 1.87688556E-7
.long 0x3456a023 ; float 1.99885605E-7
.long 0x346492b8 ; float 2.12875307E-7
.long 0x34736d55 ; float 2.26709133E-7
.long 0x34819f88 ; float 2.41441967E-7
.long 0x348a0bfc ; float 2.57132228E-7
.long 0x34930493 ; float 2.73842119E-7
.long 0x349c9269 ; float 2.91637917E-7
.long 0x34a6bf32 ; float 3.10590224E-7
.long 0x34b1953f ; float 3.307741E-7
.long 0x34bd1f93 ; float 3.52269666E-7
.long 0x34c969e4 ; float 3.75162131E-7
.long 0x34d680ad ; float 3.99542301E-7
.long 0x34e47136 ; float 4.25506812E-7
.long 0x34f349a6 ; float 4.53158634E-7
.long 0x35018c88 ; float 4.82607447E-7
.long 0x3509f7c0 ; float 5.13970008E-7
.long 0x3512ef06 ; float 5.47370632E-7
.long 0x351c7b76 ; float 5.8294188E-7
.long 0x3526a6c0 ; float 6.20824721E-7
.long 0x35317b37 ; float 6.61169395E-7
.long 0x353d03da ; float 7.04135914E-7
.long 0x35494c5e ; float 7.49894639E-7
.long 0x3556613b ; float 7.98627013E-7
.long 0x35644fb9 ; float 8.50526305E-7
.long 0x357325fc ; float 9.05798287E-7
.long 0x3581798a ; float 9.64662149E-7
.long 0x3589e386 ; float 1.02735135E-6
.long 0x3592d97c ; float 1.0941144E-6
.long 0x359c6485 ; float 1.16521608E-6
.long 0x35a68e52 ; float 1.24093845E-6
.long 0x35b16133 ; float 1.32158164E-6
.long 0x35bce825 ; float 1.40746545E-6
.long 0x35c92edc ; float 1.49893049E-6
.long 0x35d641ce ; float 1.59633942E-6
.long 0x35e42e41 ; float 1.70007854E-6
.long 0x35f30257 ; float 1.81055918E-6
.long 0x3601668f ; float 1.92821949E-6
.long 0x3609cf4f ; float 2.05352603E-6
.long 0x3612c3f5 ; float 2.18697573E-6
.long 0x361c4d98 ; float 2.3290977E-6
.long 0x362675e8 ; float 2.48045581E-6
.long 0x36314732 ; float 2.64164964E-6
.long 0x363ccc74 ; float 2.81331904E-6
.long 0x3649115e ; float 2.9961443E-6
.long 0x36562265 ; float 3.19085052E-6
.long 0x36640cce ; float 3.39821008E-6
.long 0x3672deb8 ; float 3.61904495E-6
.long 0x36815397 ; float 3.85423073E-6
.long 0x3689bb1c ; float 4.10470057E-6
.long 0x3692ae72 ; float 4.37144718E-6
.long 0x369c36af ; float 4.6555283E-6
.long 0x36a65d81 ; float 4.9580708E-6
.long 0x36b12d35 ; float 5.28027385E-6
.long 0x36bcb0c7 ; float 5.6234162E-6
.long 0x36c8f3e4 ; float 5.98885708E-6
.long 0x36d60301 ; float 6.37804669E-6
.long 0x36e3eb60 ; float 6.79252844E-6
.long 0x36f2bb1e ; float 7.23394533E-6
.long 0x370140a2 ; float 7.70404768E-6
.long 0x3709a6eb ; float 8.20469995E-6
.long 0x371298f1 ; float 8.73788758E-6
.long 0x371c1fc9 ; float 9.30572514E-6
.long 0x3726451e ; float 9.91046363E-6
.long 0x3731133d ; float 1.05545014E-5
.long 0x373c951e ; float 1.12403923E-5
.long 0x3748d66f ; float 1.19708557E-5
.long 0x3755e3a2 ; float 1.27487892E-5
.long 0x3763c9f7 ; float 1.3577278E-5
.long 0x37729789 ; float 1.44596061E-5
.long 0x37812daf ; float 1.53992714E-5
.long 0x378992be ; float 1.64000048E-5
.long 0x37928374 ; float 1.74657689E-5
.long 0x379c08e6 ; float 1.86007928E-5
.long 0x37a62cbe ; float 1.98095768E-5
.long 0x37b0f947 ; float 2.10969138E-5
.long 0x37bc7979 ; float 2.24679115E-5
.long 0x37c8b8fe ; float 2.39280016E-5
.long 0x37d5c447 ; float 2.54829774E-5
.long 0x37e3a892 ; float 2.71390054E-5
.long 0x37f273f8 ; float 2.89026502E-5
.long 0x38011ac0 ; float 3.07809096E-5
.long 0x38097e93 ; float 3.27812268E-5
.long 0x38126df9 ; float 3.49115326E-5
.long 0x381bf206 ; float 3.71802817E-5
.long 0x38261462 ; float 3.95964671E-5
.long 0x3830df56 ; float 4.21696677E-5
.long 0x383c5dd8 ; float 4.49100917E-5
.long 0x38489b92 ; float 4.7828602E-5
.long 0x3855a4f2 ; float 5.09367746E-5
.long 0x38638733 ; float 5.42469315E-5
.long 0x3872506e ; float 5.77722021E-5
.long 0x388107d3 ; float 6.15265672E-5
.long 0x38896a6b ; float 6.55249095E-5
.long 0x38925882 ; float 6.97830837E-5
.long 0x389bdb2a ; float 7.43179844E-5
.long 0x38a5fc09 ; float 7.91475831E-5
.long 0x38b0c568 ; float 8.42910376E-5
.long 0x38bc423b ; float 8.97687496E-5
.long 0x38c87e29 ; float 9.56024232E-5
.long 0x38d585a0 ; float 1.01815211E-4
.long 0x38e365d9 ; float 1.08431741E-4
.long 0x38f22ce8 ; float 1.15478237E-4
.long 0x3900f4e9 ; float 1.22982674E-4
.long 0x39095646 ; float 1.30974775E-4
.long 0x3912430e ; float 1.39486248E-4
.long 0x391bc451 ; float 1.48550855E-4
.long 0x3925e3b5 ; float 1.58204537E-4
.long 0x3930ab7f ; float 1.68485552E-4
.long 0x393c26a2 ; float 1.7943469E-4
.long 0x394860c5 ; float 1.91095358E-4
.long 0x39556653 ; float 2.03513817E-4
.long 0x39634483 ; float 2.16739296E-4
.long 0x39720968 ; float 2.30824226E-4
.long 0x3980e201 ; float 2.45824485E-4
.long 0x39894224 ; float 2.61799549E-4
.long 0x39922d9d ; float 2.78812746E-4
.long 0x399bad7b ; float 2.96931568E-4
.long 0x39a5cb63 ; float 3.16227874E-4
.long 0x39b09199 ; float 3.36778146E-4
.long 0x39bc0b0d ; float 3.58663878E-4
.long 0x39c84366 ; float 3.81971884E-4
.long 0x39d5470b ; float 4.0679457E-4
.long 0x39e32332 ; float 4.33230365E-4
.long 0x39f1e5ed ; float 4.61384101E-4
.long 0x3a00cf1d ; float 4.91367478E-4
.long 0x3a092e05 ; float 5.2329927E-4
.long 0x3a121830 ; float 5.57306223E-4
.long 0x3a1b96a9 ; float 5.93523087E-4
.long 0x3a25b315 ; float 6.32093579E-4
.long 0x3a3077b7 ; float 6.73170609E-4
.long 0x3a3bef7c ; float 7.16916984E-4
.long 0x3a48260a ; float 7.63506279E-4
.long 0x3a5527c7 ; float 8.13123246E-4
.long 0x3a6301e6 ; float 8.65964568E-4
.long 0x3a71c278 ; float 9.22239851E-4
.long 0x3a80bc3b ; float 9.82172205E-4
.long 0x3a8919e9 ; float 0.00104599923
.long 0x3a9202c6 ; float 0.00111397426
.long 0x3a9b7fdb ; float 0.00118636654
.long 0x3aa59acb ; float 0.00126346329
.long 0x3ab05dd8 ; float 0.0013455702
.long 0x3abbd3ef ; float 0.00143301289
.long 0x3ac808b3 ; float 0.00152613816
.long 0x3ad50888 ; float 0.00162531529
.long 0x3ae2e09f ; float 0.00173093739
.long 0x3af19f07 ; float 0.00184342347
.long 0x3b00a95c ; float 0.00196321961
.long 0x3b0905d0 ; float 0.00209080055
.long 0x3b11ed5e ; float 0.0022266726
.long 0x3b1b690f ; float 0.00237137428
.long 0x3b258284 ; float 0.00252547953
.long 0x3b3043fd ; float 0.00268959929
.long 0x3b3bb867 ; float 0.00286438479
.long 0x3b47eb61 ; float 0.0030505287
.long 0x3b54e94d ; float 0.00324876909
.long 0x3b62bf5d ; float 0.00345989247
.long 0x3b717b9c ; float 0.00368473586
.long 0x3b80967f ; float 0.00392419053
.long 0x3b88f1ba ; float 0.00417920668
.long 0x3b91d7f9 ; float 0.00445079478
.long 0x3b9b5247 ; float 0.00474003283
.long 0x3ba56a41 ; float 0.00504806684
.long 0x3bb02a27 ; float 0.0053761187
.long 0x3bbb9ce2 ; float 0.005725489
.long 0x3bc7ce12 ; float 0.00609756354
.long 0x3bd4ca17 ; float 0.00649381755
.long 0x3be29e20 ; float 0.00691582262
.long 0x3bf15835 ; float 0.00736525143
.long 0x3c0083a6 ; float 0.00784388743
.long 0x3c08dda7 ; float 0.00835362729
.long 0x3c11c298 ; float 0.00889649242
.long 0x3c1b3b82 ; float 0.00947463698
.long 0x3c255201 ; float 0.010090352
.long 0x3c301054 ; float 0.0107460804
.long 0x3c3b8161 ; float 0.0114444206
.long 0x3c47b0c8 ; float 0.012188144
.long 0x3c54aae5 ; float 0.0129801976
.long 0x3c627ce8 ; float 0.0138237253
.long 0x3c7134d4 ; float 0.0147220679
.long 0x3c8070cf ; float 0.0156787913
.long 0x3c88c996 ; float 0.0166976862
.long 0x3c91ad3a ; float 0.0177827962
.long 0x3c9b24c0 ; float 0.0189384222
.long 0x3ca539c5 ; float 0.0201691482
.long 0x3caff685 ; float 0.0214798544
.long 0x3cbb65e5 ; float 0.0228757355
.long 0x3cc79382 ; float 0.0243623294
.long 0x3cd48bb9 ; float 0.0259455312
.long 0x3ce25bb4 ; float 0.0276316181
.long 0x3cf11179 ; float 0.0294272769
.long 0x3d005dfb ; float 0.0313396268
.long 0x3d08b589 ; float 0.0333762504
.long 0x3d1197df ; float 0.0355452262
.long 0x3d1b0e02 ; float 0.0378551558
.long 0x3d25218d ; float 0.0403151996
.long 0x3d2fdcb9 ; float 0.0429351069
.long 0x3d3b4a6d ; float 0.0457252748
.long 0x3d477640 ; float 0.0486967564
.long 0x3d546c91 ; float 0.0518613495
.long 0x3d623a85 ; float 0.0552315898
.long 0x3d70ee22 ; float 0.0588208511
.long 0x3d804b2a ; float 0.0626433641
.long 0x3d88a17f ; float 0.0667142794
.long 0x3d918288 ; float 0.0710497499
.long 0x3d9af748 ; float 0.075666964
.long 0x3da50958 ; float 0.080584228
.long 0x3dafc2f2 ; float 0.0858210474
.long 0x3dbb2ef8 ; float 0.0913981795
.long 0x3dc75903 ; float 0.0973377451
.long 0x3dd44d6d ; float 0.103663303
.long 0x3de2195c ; float 0.110399932
.long 0x3df0cad1 ; float 0.117574342
.long 0x3e00385b ; float 0.125214979
.long 0x3e088d77 ; float 0.133352146
.long 0x3e116d33 ; float 0.142018124
.long 0x3e1ae090 ; float 0.151247263
.long 0x3e24f127 ; float 0.161076173
.long 0x3e2fa92e ; float 0.171543807
.long 0x3e3b1387 ; float 0.182691678
.long 0x3e473bca ; float 0.194564015
.long 0x3e542e4d ; float 0.207207873
.long 0x3e61f837 ; float 0.220673427
.long 0x3e70a784 ; float 0.235014021
.long 0x3e80258f ; float 0.250286549
.long 0x3e887973 ; float 0.266551584
.long 0x3e9157e2 ; float 0.283873618
.long 0x3e9ac9dc ; float 0.302321315
.long 0x3ea4d8f9 ; float 0.32196787
.long 0x3eaf8f6d ; float 0.342891127
.long 0x3ebaf81b ; float 0.365174145
.long 0x3ec71e95 ; float 0.388905197
.long 0x3ed40f33 ; float 0.414178461
.long 0x3ee1d717 ; float 0.44109413
.long 0x3ef0843d ; float 0.469758898
.long 0x3f0012c6 ; float 0.50028646
.long 0x3f086572 ; float 0.532797933
.long 0x3f114293 ; float 0.567422092
.long 0x3f1ab32b ; float 0.604296386
.long 0x3f24c0ce ; float 0.643566966
.long 0x3f2f75b1 ; float 0.685389578
.long 0x3f3adcb2 ; float 0.729930043
.long 0x3f470165 ; float 0.777365028
.long 0x3f53f01d ; float 0.827882587
.long 0x3f61b5fb ; float 0.881683051
.long 0x3f7060fb ; float 0.938979804
.long 0x3f800000 ; float 1
.section __TEXT,__cstring,cstring_literals
l___func__.inverse_mdct: ; @__func__.inverse_mdct
.asciz "inverse_mdct"
l_.str.9: ; @.str.9
.asciz "v == buf2"
l___func__.imdct_step3_iter0_loop: ; @__func__.imdct_step3_iter0_loop
.asciz "imdct_step3_iter0_loop"
l_.str.10: ; @.str.10
.asciz "(n & 3) == 0"
l___func__.get_window: ; @__func__.get_window
.asciz "get_window"
l_.str.11: ; @.str.11
.asciz "0"
l___func__.start_decoder: ; @__func__.start_decoder
.asciz "start_decoder"
l_.str.12: ; @.str.12
.asciz "f->temp_offset == f->alloc.alloc_buffer_length_in_bytes"
.section __DATA,__data
_vorbis_validate.vorbis: ; @vorbis_validate.vorbis
.ascii "vorbis"
.section __TEXT,__cstring,cstring_literals
l___func__.compute_codewords: ; @__func__.compute_codewords
.asciz "compute_codewords"
l_.str.13: ; @.str.13
.asciz "c->sorted_entries == 0"
l_.str.14: ; @.str.14
.asciz "available[y] == 0"
l___func__.compute_sorted_huffman: ; @__func__.compute_sorted_huffman
.asciz "compute_sorted_huffman"
l_.str.15: ; @.str.15
.asciz "k == c->sorted_entries"
l_.str.16: ; @.str.16
.asciz "c->sorted_codewords[x] == code"
l___func__.include_in_sort: ; @__func__.include_in_sort
.asciz "include_in_sort"
l_.str.17: ; @.str.17
.asciz "len != NO_CODE"
l___func__.lookup1_values: ; @__func__.lookup1_values
.asciz "lookup1_values"
l_.str.18: ; @.str.18
.asciz "pow((float) r+1, dim) > entries"
l_.str.19: ; @.str.19
.asciz "(int) floor(pow((float) r, dim)) <= entries"
l___func__.vorbis_seek_frame_from_page: ; @__func__.vorbis_seek_frame_from_page
.asciz "vorbis_seek_frame_from_page"
l_.str.20: ; @.str.20
.asciz "frames_to_skip >= 0"
l_.str.21: ; @.str.21
.asciz "target_sample > frame_start"
l_.str.22: ; @.str.22
.asciz "f->channel_buffer_start + (int) (target_sample-frame_start) < f->channel_buffer_end"
l___func__.vorbis_analyze_page: ; @__func__.vorbis_analyze_page
.asciz "vorbis_analyze_page"
l_.str.23: ; @.str.23
.asciz "header[0] == 'O' && header[1] == 'g' && header[2] == 'g' && header[3] == 'S'"
.section __DATA,__data
.p2align 2 ; @convert_samples_short.channel_selector
_convert_samples_short.channel_selector:
.space 8
.long 1 ; 0x1
.long 0 ; 0x0
.long 2 ; 0x2
.long 4 ; 0x4
_channel_position: ; @channel_position
.space 6
.asciz "\007\000\000\000\000"
.asciz "\003\005\000\000\000"
.asciz "\003\007\005\000\000"
.asciz "\003\005\003\005\000"
.asciz "\003\007\005\003\005"
.ascii "\003\007\005\003\005\007"
.section __TEXT,__cstring,cstring_literals
l___func__.convert_channels_short_interleaved: ; @__func__.convert_channels_short_interleaved
.asciz "convert_channels_short_interleaved"
l_.str.24: ; @.str.24
.asciz "buf_c == 2"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stb_vorbis_close ## -- Begin function stb_vorbis_close
.p2align 4, 0x90
_stb_vorbis_close: ## @stb_vorbis_close
.cfi_startproc
## %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 LBB0_2
## %bb.1:
jmp LBB0_3
LBB0_2:
movq -8(%rbp), %rdi
callq _vorbis_deinit
movq -8(%rbp), %rdi
movq -8(%rbp), %rsi
callq _setup_free
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_deinit
_vorbis_deinit: ## @vorbis_deinit
.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 Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 328(%rcx), %eax
jge LBB1_10
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movq 464(%rax), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
cmpq $0, 16(%rax)
je LBB1_8
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl $0, -16(%rbp)
LBB1_4: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movq -8(%rbp), %rcx
movq 176(%rcx), %rcx
movq -24(%rbp), %rdx
movzbl 13(%rdx), %edx
## kill: def $rdx killed $edx
imulq $2120, %rdx, %rdx ## imm = 0x848
addq %rdx, %rcx
cmpl 4(%rcx), %eax
jge LBB1_7
## %bb.5: ## in Loop: Header=BB1_4 Depth=2
movq -8(%rbp), %rdi
movq -24(%rbp), %rax
movq 16(%rax), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _setup_free
## %bb.6: ## in Loop: Header=BB1_4 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_4
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rdi
movq -24(%rbp), %rax
movq 16(%rax), %rsi
callq _setup_free
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rdi
movq -24(%rbp), %rax
movq 24(%rax), %rsi
callq _setup_free
## %bb.9: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_10:
movq -8(%rbp), %rax
cmpq $0, 176(%rax)
je LBB1_19
## %bb.11:
movl $0, -12(%rbp)
LBB1_12: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 168(%rcx), %eax
jge LBB1_18
## %bb.13: ## in Loop: Header=BB1_12 Depth=1
movq -8(%rbp), %rax
movq 176(%rax), %rax
movslq -12(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rdi
movq -32(%rbp), %rax
movq 8(%rax), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -32(%rbp), %rax
movq 32(%rax), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -32(%rbp), %rax
movq 40(%rax), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -32(%rbp), %rax
movq 2096(%rax), %rsi
callq _setup_free
movq -8(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -32(%rbp), %rax
cmpq $0, 2104(%rax)
je LBB1_15
## %bb.14: ## in Loop: Header=BB1_12 Depth=1
movq -32(%rbp), %rax
movq 2104(%rax), %rax
addq $-4, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB1_16
LBB1_15: ## in Loop: Header=BB1_12 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB1_16
LBB1_16: ## in Loop: Header=BB1_12 Depth=1
movq -40(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
callq _setup_free
## %bb.17: ## in Loop: Header=BB1_12 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_12
LBB1_18:
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movq 176(%rax), %rsi
callq _setup_free
LBB1_19:
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movq 320(%rax), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movq 464(%rax), %rsi
callq _setup_free
movl $0, -12(%rbp)
LBB1_20: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 472(%rcx), %eax
jge LBB1_23
## %bb.21: ## in Loop: Header=BB1_20 Depth=1
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movq 480(%rax), %rax
movslq -12(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq 8(%rax), %rsi
callq _setup_free
## %bb.22: ## in Loop: Header=BB1_20 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_20
LBB1_23:
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movq 480(%rax), %rsi
callq _setup_free
movl $0, -12(%rbp)
LBB1_24: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB1_27
## %bb.25: ## in Loop: Header=BB1_24 Depth=1
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 880(%rax,%rcx,8), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 1136(%rax,%rcx,8), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 1272(%rax,%rcx,8), %rsi
callq _setup_free
## %bb.26: ## in Loop: Header=BB1_24 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_24
LBB1_27:
movl $0, -12(%rbp)
LBB1_28: ## =>This Inner Loop Header: Depth=1
cmpl $2, -12(%rbp)
jge LBB1_31
## %bb.29: ## in Loop: Header=BB1_28 Depth=1
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 1408(%rax,%rcx,8), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 1424(%rax,%rcx,8), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 1440(%rax,%rcx,8), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 1456(%rax,%rcx,8), %rsi
callq _setup_free
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movq 1472(%rax,%rcx,8), %rsi
callq _setup_free
## %bb.30: ## in Loop: Header=BB1_28 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_28
LBB1_31:
movq -8(%rbp), %rax
cmpl $0, 36(%rax)
je LBB1_33
## %bb.32:
movq -8(%rbp), %rax
movq 24(%rax), %rdi
callq _fclose
LBB1_33:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function setup_free
_setup_free: ## @setup_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
cmpq $0, 120(%rax)
je LBB2_2
## %bb.1:
jmp LBB2_3
LBB2_2:
movq -16(%rbp), %rdi
callq _free
LBB2_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_sample_offset ## -- Begin function stb_vorbis_get_sample_offset
.p2align 4, 0x90
_stb_vorbis_get_sample_offset: ## @stb_vorbis_get_sample_offset
.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, 1404(%rax)
je LBB3_2
## %bb.1:
movq -16(%rbp), %rax
movl 1400(%rax), %eax
movl %eax, -4(%rbp)
jmp LBB3_3
LBB3_2:
movl $-1, -4(%rbp)
LBB3_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_info ## -- Begin function stb_vorbis_get_info
.p2align 4, 0x90
_stb_vorbis_get_info: ## @stb_vorbis_get_info
.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
movl 4(%rcx), %ecx
movl %ecx, 4(%rdi)
movq -8(%rbp), %rcx
movl (%rcx), %ecx
movl %ecx, (%rdi)
movq -8(%rbp), %rcx
movl 8(%rcx), %ecx
movl %ecx, 8(%rdi)
movq -8(%rbp), %rcx
movl 16(%rcx), %ecx
movl %ecx, 12(%rdi)
movq -8(%rbp), %rcx
movl 12(%rcx), %ecx
movl %ecx, 16(%rdi)
movq -8(%rbp), %rcx
movl 164(%rcx), %ecx
sarl $1, %ecx
movl %ecx, 20(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_error ## -- Begin function stb_vorbis_get_error
.p2align 4, 0x90
_stb_vorbis_get_error: ## @stb_vorbis_get_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl 148(%rax), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl $0, 148(%rax)
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_flush_pushdata ## -- Begin function stb_vorbis_flush_pushdata
.p2align 4, 0x90
_stb_vorbis_flush_pushdata: ## @stb_vorbis_flush_pushdata
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl $0, 1264(%rax)
movq -8(%rbp), %rax
movl $0, 1800(%rax)
movq -8(%rbp), %rax
movl $0, 1792(%rax)
movq -8(%rbp), %rax
movl $0, 1404(%rax)
movq -8(%rbp), %rax
movb $0, 1757(%rax)
movq -8(%rbp), %rax
movl $0, 1796(%rax)
movq -8(%rbp), %rax
movl $0, 1884(%rax)
movq -8(%rbp), %rax
movl $0, 1888(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_decode_frame_pushdata ## -- Begin function stb_vorbis_decode_frame_pushdata
.p2align 4, 0x90
_stb_vorbis_decode_frame_pushdata: ## @stb_vorbis_decode_frame_pushdata
.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)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -16(%rbp), %rax
cmpb $0, 68(%rax)
jne LBB7_2
## %bb.1:
movq -16(%rbp), %rdi
movl $2, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB7_31
LBB7_2:
movq -16(%rbp), %rax
cmpl $0, 1800(%rax)
jl LBB7_4
## %bb.3:
movq -56(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
callq _vorbis_search_for_page_pushdata
movl %eax, -4(%rbp)
jmp LBB7_31
LBB7_4:
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movq -24(%rbp), %rcx
movslq -28(%rbp), %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 56(%rax)
movq -16(%rbp), %rax
movl $0, 148(%rax)
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _is_whole_packet_present
cmpl $0, %eax
jne LBB7_6
## %bb.5:
movq -56(%rbp), %rax
movl $0, (%rax)
movl $0, -4(%rbp)
jmp LBB7_31
LBB7_6:
movq -16(%rbp), %rdi
leaq -64(%rbp), %rsi
leaq -72(%rbp), %rdx
leaq -68(%rbp), %rcx
callq _vorbis_decode_packet
cmpl $0, %eax
jne LBB7_24
## %bb.7:
movq -16(%rbp), %rax
movl 148(%rax), %eax
movl %eax, -76(%rbp)
cmpl $35, -76(%rbp)
jne LBB7_14
## %bb.8:
movq -16(%rbp), %rax
movl $0, 148(%rax)
LBB7_9: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
callq _get8_packet
cmpl $-1, %eax
je LBB7_13
## %bb.10: ## in Loop: Header=BB7_9 Depth=1
movq -16(%rbp), %rax
cmpl $0, 144(%rax)
je LBB7_12
## %bb.11:
jmp LBB7_13
LBB7_12: ## in Loop: Header=BB7_9 Depth=1
jmp LBB7_9
LBB7_13:
movq -56(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq -24(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB7_31
LBB7_14:
cmpl $32, -76(%rbp)
jne LBB7_23
## %bb.15:
movq -16(%rbp), %rax
cmpl $0, 1264(%rax)
jne LBB7_22
## %bb.16:
movq -16(%rbp), %rax
movl $0, 148(%rax)
LBB7_17: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
callq _get8_packet
cmpl $-1, %eax
je LBB7_21
## %bb.18: ## in Loop: Header=BB7_17 Depth=1
movq -16(%rbp), %rax
cmpl $0, 144(%rax)
je LBB7_20
## %bb.19:
jmp LBB7_21
LBB7_20: ## in Loop: Header=BB7_17 Depth=1
jmp LBB7_17
LBB7_21:
movq -56(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq -24(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB7_31
LBB7_22:
jmp LBB7_23
LBB7_23:
movq -16(%rbp), %rdi
callq _stb_vorbis_flush_pushdata
movl -76(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 148(%rax)
movq -56(%rbp), %rax
movl $0, (%rax)
movl $1, -4(%rbp)
jmp LBB7_31
LBB7_24:
movq -16(%rbp), %rdi
movl -64(%rbp), %esi
movl -72(%rbp), %edx
movl -68(%rbp), %ecx
callq _vorbis_finish_frame
movl %eax, -64(%rbp)
movl $0, -60(%rbp)
LBB7_25: ## =>This Inner Loop Header: Depth=1
movl -60(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB7_28
## %bb.26: ## in Loop: Header=BB7_25 Depth=1
movq -16(%rbp), %rax
movslq -60(%rbp), %rcx
movq 880(%rax,%rcx,8), %rdx
movslq -72(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
movq -16(%rbp), %rax
movslq -60(%rbp), %rcx
movq %rdx, 1008(%rax,%rcx,8)
## %bb.27: ## in Loop: Header=BB7_25 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB7_25
LBB7_28:
cmpq $0, -40(%rbp)
je LBB7_30
## %bb.29:
movq -16(%rbp), %rax
movl 4(%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
LBB7_30:
movl -64(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rcx
addq $1008, %rcx ## imm = 0x3F0
movq -48(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq -24(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
LBB7_31:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function error
_error: ## @error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 148(%rax)
movq -8(%rbp), %rax
cmpl $0, 144(%rax)
jne LBB8_3
## %bb.1:
cmpl $1, -12(%rbp)
je LBB8_3
## %bb.2:
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 148(%rax)
LBB8_3:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_search_for_page_pushdata
_vorbis_search_for_page_pushdata: ## @vorbis_search_for_page_pushdata
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl $0, -32(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 1800(%rcx), %eax
jge LBB9_4
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl $0, 12(%rax)
## %bb.3: ## in Loop: Header=BB9_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB9_1
LBB9_4:
movq -16(%rbp), %rax
cmpl $4, 1800(%rax)
jge LBB9_36
## %bb.5:
cmpl $4, -28(%rbp)
jge LBB9_7
## %bb.6:
movl $0, -4(%rbp)
jmp LBB9_51
LBB9_7:
movl -28(%rbp), %eax
subl $3, %eax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
LBB9_8: ## =>This Loop Header: Depth=1
## Child Loop BB9_15 Depth 2
## Child Loop BB9_19 Depth 2
## Child Loop BB9_23 Depth 2
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB9_35
## %bb.9: ## in Loop: Header=BB9_8 Depth=1
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $79, %eax
jne LBB9_33
## %bb.10: ## in Loop: Header=BB9_8 Depth=1
movq -24(%rbp), %rdi
movslq -32(%rbp), %rax
addq %rax, %rdi
leaq _ogg_page_header(%rip), %rsi
movl $4, %edx
callq _memcmp
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne LBB9_32
## %bb.11: ## in Loop: Header=BB9_8 Depth=1
movl -32(%rbp), %eax
addl $26, %eax
cmpl -28(%rbp), %eax
jge LBB9_13
## %bb.12: ## in Loop: Header=BB9_8 Depth=1
movl -32(%rbp), %eax
addl $27, %eax
movq -24(%rbp), %rcx
movl -32(%rbp), %edx
addl $26, %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
addl %ecx, %eax
cmpl -28(%rbp), %eax
jl LBB9_14
LBB9_13:
movl -32(%rbp), %eax
movl %eax, -28(%rbp)
jmp LBB9_35
LBB9_14: ## in Loop: Header=BB9_8 Depth=1
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
addl $26, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
addl $27, %eax
movl %eax, -44(%rbp)
movl $0, -40(%rbp)
LBB9_15: ## Parent Loop BB9_8 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
movq -24(%rbp), %rcx
movl -32(%rbp), %edx
addl $26, %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jge LBB9_18
## %bb.16: ## in Loop: Header=BB9_15 Depth=2
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
addl $27, %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
addl -44(%rbp), %eax
movl %eax, -44(%rbp)
## %bb.17: ## in Loop: Header=BB9_15 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB9_15
LBB9_18: ## in Loop: Header=BB9_8 Depth=1
movl $0, -48(%rbp)
movl $0, -40(%rbp)
LBB9_19: ## Parent Loop BB9_8 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $22, -40(%rbp)
jge LBB9_22
## %bb.20: ## in Loop: Header=BB9_19 Depth=2
movl -48(%rbp), %edi
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %esi
callq _crc32_update
movl %eax, -48(%rbp)
## %bb.21: ## in Loop: Header=BB9_19 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB9_19
LBB9_22: ## in Loop: Header=BB9_8 Depth=1
jmp LBB9_23
LBB9_23: ## Parent Loop BB9_8 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $26, -40(%rbp)
jge LBB9_26
## %bb.24: ## in Loop: Header=BB9_23 Depth=2
movl -48(%rbp), %edi
xorl %esi, %esi
callq _crc32_update
movl %eax, -48(%rbp)
## %bb.25: ## in Loop: Header=BB9_23 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB9_23
LBB9_26: ## in Loop: Header=BB9_8 Depth=1
movq -16(%rbp), %rcx
movl 1800(%rcx), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, 1800(%rcx)
movl %eax, -36(%rbp)
movl -44(%rbp), %ecx
subl -40(%rbp), %ecx
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -36(%rbp), %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
movl -48(%rbp), %ecx
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -36(%rbp), %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
addl $22, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %ecx
movq -24(%rbp), %rax
movl -32(%rbp), %edx
addl $23, %edx
movslq %edx, %rdx
movzbl (%rax,%rdx), %eax
shll $8, %eax
addl %eax, %ecx
movq -24(%rbp), %rax
movl -32(%rbp), %edx
addl $24, %edx
movslq %edx, %rdx
movzbl (%rax,%rdx), %eax
shll $16, %eax
addl %eax, %ecx
movq -24(%rbp), %rax
movl -32(%rbp), %edx
addl $25, %edx
movslq %edx, %rdx
movzbl (%rax,%rdx), %eax
shll $24, %eax
addl %eax, %ecx
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -36(%rbp), %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
addl $27, %ecx
movq -24(%rbp), %rdx
movl -32(%rbp), %esi
addl $26, %esi
movslq %esi, %rsi
movzbl (%rdx,%rsi), %edx
addl %edx, %ecx
subl $1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cmpl $255, %eax
jne LBB9_28
## %bb.27: ## in Loop: Header=BB9_8 Depth=1
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -36(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl $-1, 16(%rax)
jmp LBB9_29
LBB9_28: ## in Loop: Header=BB9_8 Depth=1
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
addl $6, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %ecx
movq -24(%rbp), %rax
movl -32(%rbp), %edx
addl $7, %edx
movslq %edx, %rdx
movzbl (%rax,%rdx), %eax
shll $8, %eax
addl %eax, %ecx
movq -24(%rbp), %rax
movl -32(%rbp), %edx
addl $8, %edx
movslq %edx, %rdx
movzbl (%rax,%rdx), %eax
shll $16, %eax
addl %eax, %ecx
movq -24(%rbp), %rax
movl -32(%rbp), %edx
addl $9, %edx
movslq %edx, %rdx
movzbl (%rax,%rdx), %eax
shll $24, %eax
addl %eax, %ecx
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -36(%rbp), %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 16(%rax)
LBB9_29: ## in Loop: Header=BB9_8 Depth=1
movl -32(%rbp), %ecx
addl -40(%rbp), %ecx
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -36(%rbp), %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 12(%rax)
movq -16(%rbp), %rax
cmpl $4, 1800(%rax)
jne LBB9_31
## %bb.30:
jmp LBB9_35
LBB9_31: ## in Loop: Header=BB9_8 Depth=1
jmp LBB9_32
LBB9_32: ## in Loop: Header=BB9_8 Depth=1
jmp LBB9_33
LBB9_33: ## in Loop: Header=BB9_8 Depth=1
jmp LBB9_34
LBB9_34: ## in Loop: Header=BB9_8 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB9_8
LBB9_35:
jmp LBB9_36
LBB9_36:
movl $0, -32(%rbp)
LBB9_37: ## =>This Loop Header: Depth=1
## Child Loop BB9_41 Depth 2
movl -32(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 1800(%rcx), %eax
jge LBB9_50
## %bb.38: ## in Loop: Header=BB9_37 Depth=1
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl 12(%rax), %eax
movl %eax, -60(%rbp)
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %eax
movl %eax, -64(%rbp)
movl -64(%rbp), %eax
movl -28(%rbp), %ecx
subl -60(%rbp), %ecx
cmpl %ecx, %eax
jle LBB9_40
## %bb.39: ## in Loop: Header=BB9_37 Depth=1
movl -28(%rbp), %eax
subl -60(%rbp), %eax
movl %eax, -64(%rbp)
LBB9_40: ## in Loop: Header=BB9_37 Depth=1
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl 8(%rax), %eax
movl %eax, -52(%rbp)
movl $0, -56(%rbp)
LBB9_41: ## Parent Loop BB9_37 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -64(%rbp), %eax
jge LBB9_44
## %bb.42: ## in Loop: Header=BB9_41 Depth=2
movl -52(%rbp), %edi
movq -24(%rbp), %rax
movl -60(%rbp), %ecx
addl -56(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %esi
callq _crc32_update
movl %eax, -52(%rbp)
## %bb.43: ## in Loop: Header=BB9_41 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB9_41
LBB9_44: ## in Loop: Header=BB9_37 Depth=1
movl -64(%rbp), %edx
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl 4(%rax), %ecx
subl %edx, %ecx
movl %ecx, 4(%rax)
movl -52(%rbp), %ecx
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
cmpl $0, 4(%rax)
jne LBB9_48
## %bb.45: ## in Loop: Header=BB9_37 Depth=1
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl 8(%rax), %eax
movq -16(%rbp), %rcx
addq $1804, %rcx ## imm = 0x70C
movslq -32(%rbp), %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rcx
cmpl (%rcx), %eax
jne LBB9_47
## %bb.46:
movl -60(%rbp), %eax
addl -64(%rbp), %eax
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movl $-1, 1800(%rax)
movq -16(%rbp), %rax
movl $0, 1264(%rax)
movq -16(%rbp), %rax
movl $-1, 1760(%rax)
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movl 16(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 1400(%rax)
movq -16(%rbp), %rax
cmpl $-1, 1400(%rax)
setne %al
andb $1, %al
movzbl %al, %ecx
movq -16(%rbp), %rax
movl %ecx, 1404(%rax)
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB9_51
LBB9_47: ## in Loop: Header=BB9_37 Depth=1
movq -16(%rbp), %rax
addq $1804, %rax ## imm = 0x70C
movslq -32(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
addq $1804, %rcx ## imm = 0x70C
movq -16(%rbp), %rsi
movl 1800(%rsi), %edx
addl $-1, %edx
movl %edx, 1800(%rsi)
movslq %edx, %rdx
imulq $20, %rdx, %rdx
addq %rdx, %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movl 16(%rcx), %ecx
movl %ecx, 16(%rax)
jmp LBB9_49
LBB9_48: ## in Loop: Header=BB9_37 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB9_49: ## in Loop: Header=BB9_37 Depth=1
jmp LBB9_37
LBB9_50:
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
LBB9_51:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function is_whole_packet_present
_is_whole_packet_present: ## @is_whole_packet_present
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rax
movl 1760(%rax), %eax
movl %eax, -24(%rbp)
movl $1, -28(%rbp)
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq %rax, -40(%rbp)
cmpl $-1, -24(%rbp)
je LBB10_16
## %bb.1:
jmp LBB10_2
LBB10_2: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 1496(%rcx), %eax
jge LBB10_7
## %bb.3: ## in Loop: Header=BB10_2 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movzbl 1500(%rax,%rcx), %ecx
movq -40(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movzbl 1500(%rax,%rcx), %eax
cmpl $255, %eax
jge LBB10_5
## %bb.4:
jmp LBB10_7
LBB10_5: ## in Loop: Header=BB10_2 Depth=1
jmp LBB10_6
LBB10_6: ## in Loop: Header=BB10_2 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB10_2
LBB10_7:
cmpl $0, -20(%rbp)
je LBB10_11
## %bb.8:
movl -24(%rbp), %eax
movq -16(%rbp), %rcx
movl 1496(%rcx), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB10_10
## %bb.9:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_10:
jmp LBB10_11
LBB10_11:
movl -24(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 1496(%rcx), %eax
jne LBB10_13
## %bb.12:
movl $-1, -24(%rbp)
LBB10_13:
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
cmpq 56(%rcx), %rax
jbe LBB10_15
## %bb.14:
movq -16(%rbp), %rdi
movl $1, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_15:
movl $0, -28(%rbp)
LBB10_16:
jmp LBB10_17
LBB10_17: ## =>This Loop Header: Depth=1
## Child Loop BB10_36 Depth 2
cmpl $-1, -24(%rbp)
jne LBB10_50
## %bb.18: ## in Loop: Header=BB10_17 Depth=1
movq -40(%rbp), %rax
addq $26, %rax
movq -16(%rbp), %rcx
cmpq 56(%rcx), %rax
jb LBB10_20
## %bb.19:
movq -16(%rbp), %rdi
movl $1, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_20: ## in Loop: Header=BB10_17 Depth=1
movq -40(%rbp), %rax
movl (%rax), %eax
movl _ogg_page_header(%rip), %ecx
subl %ecx, %eax
setne %al
movzbl %al, %eax
cmpl $0, %eax
je LBB10_22
## %bb.21:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_22: ## in Loop: Header=BB10_17 Depth=1
movq -40(%rbp), %rax
movzbl 4(%rax), %eax
cmpl $0, %eax
je LBB10_24
## %bb.23:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_24: ## in Loop: Header=BB10_17 Depth=1
cmpl $0, -28(%rbp)
je LBB10_30
## %bb.25: ## in Loop: Header=BB10_17 Depth=1
movq -16(%rbp), %rax
cmpl $0, 1264(%rax)
je LBB10_29
## %bb.26: ## in Loop: Header=BB10_17 Depth=1
movq -40(%rbp), %rax
movzbl 5(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB10_28
## %bb.27:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_28: ## in Loop: Header=BB10_17 Depth=1
jmp LBB10_29
LBB10_29: ## in Loop: Header=BB10_17 Depth=1
jmp LBB10_33
LBB10_30: ## in Loop: Header=BB10_17 Depth=1
movq -40(%rbp), %rax
movzbl 5(%rax), %eax
andl $1, %eax
cmpl $0, %eax
jne LBB10_32
## %bb.31:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_32: ## in Loop: Header=BB10_17 Depth=1
jmp LBB10_33
LBB10_33: ## in Loop: Header=BB10_17 Depth=1
movq -40(%rbp), %rax
movzbl 26(%rax), %eax
movl %eax, -52(%rbp)
movq -40(%rbp), %rax
addq $27, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movslq -52(%rbp), %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
cmpq 56(%rcx), %rax
jbe LBB10_35
## %bb.34:
movq -16(%rbp), %rdi
movl $1, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_35: ## in Loop: Header=BB10_17 Depth=1
movl $0, -24(%rbp)
LBB10_36: ## Parent Loop BB10_17 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB10_41
## %bb.37: ## in Loop: Header=BB10_36 Depth=2
movq -48(%rbp), %rax
movslq -24(%rbp), %rcx
movzbl (%rax,%rcx), %ecx
movq -40(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
movslq -24(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $255, %eax
jge LBB10_39
## %bb.38: ## in Loop: Header=BB10_17 Depth=1
jmp LBB10_41
LBB10_39: ## in Loop: Header=BB10_36 Depth=2
jmp LBB10_40
LBB10_40: ## in Loop: Header=BB10_36 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB10_36
LBB10_41: ## in Loop: Header=BB10_17 Depth=1
cmpl $0, -20(%rbp)
je LBB10_45
## %bb.42: ## in Loop: Header=BB10_17 Depth=1
movl -24(%rbp), %eax
movl -52(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB10_44
## %bb.43:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_44: ## in Loop: Header=BB10_17 Depth=1
jmp LBB10_45
LBB10_45: ## in Loop: Header=BB10_17 Depth=1
movl -24(%rbp), %eax
cmpl -52(%rbp), %eax
jne LBB10_47
## %bb.46: ## in Loop: Header=BB10_17 Depth=1
movl $-1, -24(%rbp)
LBB10_47: ## in Loop: Header=BB10_17 Depth=1
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
cmpq 56(%rcx), %rax
jbe LBB10_49
## %bb.48:
movq -16(%rbp), %rdi
movl $1, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB10_51
LBB10_49: ## in Loop: Header=BB10_17 Depth=1
movl $0, -28(%rbp)
jmp LBB10_17
LBB10_50:
movl $1, -4(%rbp)
LBB10_51:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_decode_packet
_vorbis_decode_packet: ## @vorbis_decode_packet
.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 %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -40(%rbp), %rcx
leaq -48(%rbp), %rdx
leaq -52(%rbp), %r8
leaq -44(%rbp), %r9
callq _vorbis_decode_initial
cmpl $0, %eax
jne LBB11_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB11_3
LBB11_2:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -16(%rbp), %rdx
addq $492, %rdx ## imm = 0x1EC
movslq -44(%rbp), %rax
imulq $6, %rax, %rax
addq %rax, %rdx
movq -32(%rbp), %rax
movl (%rax), %ecx
movl -48(%rbp), %r8d
movq -40(%rbp), %rax
movl (%rax), %r9d
movl -52(%rbp), %r10d
movq -32(%rbp), %rax
movl %r10d, (%rsp)
movq %rax, 8(%rsp)
callq _vorbis_decode_packet_rest
movl %eax, -4(%rbp)
LBB11_3:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get8_packet
_get8_packet: ## @get8_packet
.cfi_startproc
## %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 _get8_packet_raw
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl $0, 1776(%rax)
movl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_finish_frame
_vorbis_finish_frame: ## @vorbis_finish_frame
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
movq -16(%rbp), %rax
cmpl $0, 1264(%rax)
je LBB13_10
## %bb.1:
movq -16(%rbp), %rax
movl 1264(%rax), %eax
movl %eax, -52(%rbp)
movq -16(%rbp), %rdi
movl -52(%rbp), %esi
callq _get_window
movq %rax, -64(%rbp)
movl $0, -44(%rbp)
LBB13_2: ## =>This Loop Header: Depth=1
## Child Loop BB13_4 Depth 2
movl -44(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB13_9
## %bb.3: ## in Loop: Header=BB13_2 Depth=1
movl $0, -48(%rbp)
LBB13_4: ## Parent Loop BB13_2 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB13_7
## %bb.5: ## in Loop: Header=BB13_4 Depth=2
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq 880(%rax,%rcx,8), %rax
movl -24(%rbp), %ecx
addl -48(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq 1136(%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
movl -52(%rbp), %ecx
subl $1, %ecx
subl -48(%rbp), %ecx
movslq %ecx, %rcx
mulss (%rax,%rcx,4), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq 880(%rax,%rcx,8), %rax
movl -24(%rbp), %ecx
addl -48(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.6: ## in Loop: Header=BB13_4 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB13_4
LBB13_7: ## in Loop: Header=BB13_2 Depth=1
jmp LBB13_8
LBB13_8: ## in Loop: Header=BB13_2 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB13_2
LBB13_9:
jmp LBB13_10
LBB13_10:
movq -16(%rbp), %rax
movl 1264(%rax), %eax
movl %eax, -32(%rbp)
movl -20(%rbp), %ecx
subl -28(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1264(%rax)
movl $0, -36(%rbp)
LBB13_11: ## =>This Loop Header: Depth=1
## Child Loop BB13_13 Depth 2
movl -36(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB13_18
## %bb.12: ## in Loop: Header=BB13_11 Depth=1
movl $0, -40(%rbp)
LBB13_13: ## Parent Loop BB13_11 Depth=1
## => This Inner Loop Header: Depth=2
movl -28(%rbp), %eax
addl -40(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB13_16
## %bb.14: ## in Loop: Header=BB13_13 Depth=2
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movq 880(%rax,%rcx,8), %rax
movl -28(%rbp), %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movq 1136(%rax,%rcx,8), %rax
movslq -40(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.15: ## in Loop: Header=BB13_13 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB13_13
LBB13_16: ## in Loop: Header=BB13_11 Depth=1
jmp LBB13_17
LBB13_17: ## in Loop: Header=BB13_11 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB13_11
LBB13_18:
cmpl $0, -32(%rbp)
jne LBB13_20
## %bb.19:
movl $0, -4(%rbp)
jmp LBB13_23
LBB13_20:
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB13_22
## %bb.21:
movl -20(%rbp), %eax
movl %eax, -28(%rbp)
LBB13_22:
movl -28(%rbp), %ecx
subl -24(%rbp), %ecx
movq -16(%rbp), %rax
addl 1796(%rax), %ecx
movl %ecx, 1796(%rax)
movl -28(%rbp), %eax
subl -24(%rbp), %eax
movl %eax, -4(%rbp)
LBB13_23:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_open_pushdata ## -- Begin function stb_vorbis_open_pushdata
.p2align 4, 0x90
_stb_vorbis_open_pushdata: ## @stb_vorbis_open_pushdata
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1968, %rsp ## imm = 0x7B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1920(%rbp)
movl %esi, -1924(%rbp)
movq %rdx, -1936(%rbp)
movq %rcx, -1944(%rbp)
movq %r8, -1952(%rbp)
movq -1952(%rbp), %rsi
leaq -1904(%rbp), %rdi
callq _vorbis_init
movq -1920(%rbp), %rax
movq %rax, -1864(%rbp)
movq -1920(%rbp), %rax
movslq -1924(%rbp), %rcx
addq %rcx, %rax
movq %rax, -1848(%rbp)
movb $1, -1836(%rbp)
leaq -1904(%rbp), %rdi
callq _start_decoder
cmpl $0, %eax
jne LBB14_5
## %bb.1:
cmpl $0, -1760(%rbp)
je LBB14_3
## %bb.2:
movq -1944(%rbp), %rax
movl $1, (%rax)
jmp LBB14_4
LBB14_3:
movl -1756(%rbp), %ecx
movq -1944(%rbp), %rax
movl %ecx, (%rax)
LBB14_4:
movq $0, -1912(%rbp)
jmp LBB14_8
LBB14_5:
leaq -1904(%rbp), %rdi
callq _vorbis_alloc
movq %rax, -1960(%rbp)
cmpq $0, -1960(%rbp)
je LBB14_7
## %bb.6:
movq -1960(%rbp), %rdi
leaq -1904(%rbp), %rsi
movl $1896, %edx ## imm = 0x768
callq _memcpy
movq -1960(%rbp), %rax
movq 40(%rax), %rax
movq -1920(%rbp), %rcx
subq %rcx, %rax
movl %eax, %ecx
movq -1936(%rbp), %rax
movl %ecx, (%rax)
movq -1944(%rbp), %rax
movl $0, (%rax)
movq -1960(%rbp), %rax
movq %rax, -1912(%rbp)
jmp LBB14_8
LBB14_7:
leaq -1904(%rbp), %rdi
callq _vorbis_deinit
movq $0, -1912(%rbp)
LBB14_8:
movq -1912(%rbp), %rax
movq %rax, -1968(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB14_10
## %bb.9:
movq -1968(%rbp), %rax ## 8-byte Reload
addq $1968, %rsp ## imm = 0x7B0
popq %rbp
retq
LBB14_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_init
_vorbis_init: ## @vorbis_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 %rsi, -16(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
movl $1896, %edx ## imm = 0x768
movq $-1, %rcx
callq ___memset_chk
cmpq $0, -16(%rbp)
je LBB15_2
## %bb.1:
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, 120(%rax)
movq 8(%rcx), %rcx
movq %rcx, 128(%rax)
movq -8(%rbp), %rax
movl 128(%rax), %ecx
addl $3, %ecx
andl $-4, %ecx
movq -8(%rbp), %rax
movl %ecx, 128(%rax)
movq -8(%rbp), %rax
movl 128(%rax), %ecx
movq -8(%rbp), %rax
movl %ecx, 140(%rax)
LBB15_2:
movq -8(%rbp), %rax
movl $0, 144(%rax)
movq -8(%rbp), %rax
movl $0, 148(%rax)
movq -8(%rbp), %rax
movq $0, 40(%rax)
movq -8(%rbp), %rax
movq $0, 176(%rax)
movq -8(%rbp), %rax
movl $-1, 1800(%rax)
movq -8(%rbp), %rax
movl $0, 36(%rax)
movq -8(%rbp), %rax
movq $0, 24(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function start_decoder
_start_decoder: ## @start_decoder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1408, %rsp ## imm = 0x580
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1088(%rbp)
movl $0, -1116(%rbp)
movl $0, -1120(%rbp)
movq -1088(%rbp), %rdi
callq _start_page
cmpl $0, %eax
jne LBB16_2
## %bb.1:
movl $0, -1076(%rbp)
jmp LBB16_365
LBB16_2:
movq -1088(%rbp), %rax
movzbl 1755(%rax), %eax
andl $2, %eax
cmpl $0, %eax
jne LBB16_4
## %bb.3:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_4:
movq -1088(%rbp), %rax
movzbl 1755(%rax), %eax
andl $4, %eax
cmpl $0, %eax
je LBB16_6
## %bb.5:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_6:
movq -1088(%rbp), %rax
movzbl 1755(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB16_8
## %bb.7:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_8:
movq -1088(%rbp), %rax
cmpl $1, 1496(%rax)
je LBB16_10
## %bb.9:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_10:
movq -1088(%rbp), %rax
movzbl 1500(%rax), %eax
cmpl $30, %eax
je LBB16_12
## %bb.11:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_12:
movq -1088(%rbp), %rdi
callq _get8
movzbl %al, %eax
cmpl $1, %eax
je LBB16_14
## %bb.13:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_14:
movq -1088(%rbp), %rdi
leaq -1094(%rbp), %rsi
movl $6, %edx
callq _getn
cmpl $0, %eax
jne LBB16_16
## %bb.15:
movq -1088(%rbp), %rdi
movl $10, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_16:
leaq -1094(%rbp), %rdi
callq _vorbis_validate
cmpl $0, %eax
jne LBB16_18
## %bb.17:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_18:
movq -1088(%rbp), %rdi
callq _get32
cmpl $0, %eax
je LBB16_20
## %bb.19:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_20:
movq -1088(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movq -1088(%rbp), %rax
movl %ecx, 4(%rax)
movq -1088(%rbp), %rax
cmpl $0, 4(%rax)
jne LBB16_22
## %bb.21:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_22:
movq -1088(%rbp), %rax
cmpl $16, 4(%rax)
jle LBB16_24
## %bb.23:
movq -1088(%rbp), %rdi
movl $5, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_24:
movq -1088(%rbp), %rdi
callq _get32
movl %eax, %ecx
movq -1088(%rbp), %rax
movl %ecx, (%rax)
movq -1088(%rbp), %rax
cmpl $0, (%rax)
jne LBB16_26
## %bb.25:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_26:
movq -1088(%rbp), %rdi
callq _get32
movq -1088(%rbp), %rdi
callq _get32
movq -1088(%rbp), %rdi
callq _get32
movq -1088(%rbp), %rdi
callq _get8
movb %al, -1095(%rbp)
movzbl -1095(%rbp), %eax
andl $15, %eax
movl %eax, -1124(%rbp)
movzbl -1095(%rbp), %eax
sarl $4, %eax
movl %eax, -1128(%rbp)
movl -1124(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movq -1088(%rbp), %rax
movl %ecx, 160(%rax)
movl -1128(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movq -1088(%rbp), %rax
movl %ecx, 164(%rax)
cmpl $6, -1124(%rbp)
jl LBB16_28
## %bb.27:
cmpl $13, -1124(%rbp)
jle LBB16_29
LBB16_28:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_29:
cmpl $6, -1128(%rbp)
jl LBB16_31
## %bb.30:
cmpl $13, -1128(%rbp)
jle LBB16_32
LBB16_31:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_32:
movl -1124(%rbp), %eax
cmpl -1128(%rbp), %eax
jle LBB16_34
## %bb.33:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_34:
movq -1088(%rbp), %rdi
callq _get8
movb %al, -1095(%rbp)
movzbl -1095(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
jne LBB16_36
## %bb.35:
movq -1088(%rbp), %rdi
movl $34, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_36:
movq -1088(%rbp), %rdi
callq _start_page
cmpl $0, %eax
jne LBB16_38
## %bb.37:
movl $0, -1076(%rbp)
jmp LBB16_365
LBB16_38:
movq -1088(%rbp), %rdi
callq _start_packet
cmpl $0, %eax
jne LBB16_40
## %bb.39:
movl $0, -1076(%rbp)
jmp LBB16_365
LBB16_40:
jmp LBB16_41
LBB16_41: ## =>This Inner Loop Header: Depth=1
movq -1088(%rbp), %rdi
callq _next_segment
movl %eax, -1100(%rbp)
movq -1088(%rbp), %rdi
movl -1100(%rbp), %esi
callq _skip
movq -1088(%rbp), %rax
movb $0, 1756(%rax)
## %bb.42: ## in Loop: Header=BB16_41 Depth=1
cmpl $0, -1100(%rbp)
jne LBB16_41
## %bb.43:
movq -1088(%rbp), %rdi
callq _start_packet
cmpl $0, %eax
jne LBB16_45
## %bb.44:
movl $0, -1076(%rbp)
jmp LBB16_365
LBB16_45:
movq -1088(%rbp), %rax
cmpb $0, 68(%rax)
je LBB16_51
## %bb.46:
movq -1088(%rbp), %rdi
movl $1, %esi
callq _is_whole_packet_present
cmpl $0, %eax
jne LBB16_50
## %bb.47:
movq -1088(%rbp), %rax
cmpl $21, 148(%rax)
jne LBB16_49
## %bb.48:
movq -1088(%rbp), %rax
movl $20, 148(%rax)
LBB16_49:
movl $0, -1076(%rbp)
jmp LBB16_365
LBB16_50:
jmp LBB16_51
LBB16_51:
callq _crc32_init
movq -1088(%rbp), %rdi
callq _get8_packet
cmpl $5, %eax
je LBB16_53
## %bb.52:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_53:
movl $0, -1104(%rbp)
LBB16_54: ## =>This Inner Loop Header: Depth=1
cmpl $6, -1104(%rbp)
jge LBB16_57
## %bb.55: ## in Loop: Header=BB16_54 Depth=1
movq -1088(%rbp), %rdi
callq _get8_packet
movb %al, %cl
movslq -1104(%rbp), %rax
movb %cl, -1094(%rbp,%rax)
## %bb.56: ## in Loop: Header=BB16_54 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_54
LBB16_57:
leaq -1094(%rbp), %rdi
callq _vorbis_validate
cmpl $0, %eax
jne LBB16_59
## %bb.58:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_59:
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movl %eax, %ecx
addl $1, %ecx
movq -1088(%rbp), %rax
movl %ecx, 168(%rax)
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movslq 168(%rax), %rax
imulq $2120, %rax, %rax ## imm = 0x848
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1088(%rbp), %rax
movq %rcx, 176(%rax)
movq -1088(%rbp), %rax
cmpq $0, 176(%rax)
jne LBB16_61
## %bb.60:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_61:
movq -1088(%rbp), %rax
movq 176(%rax), %rdi
movq -1088(%rbp), %rax
movslq 168(%rax), %rax
imulq $2120, %rax, %rdx ## imm = 0x848
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movl $0, -1104(%rbp)
LBB16_62: ## =>This Loop Header: Depth=1
## Child Loop BB16_79 Depth 2
## Child Loop BB16_85 Depth 2
## Child Loop BB16_103 Depth 2
## Child Loop BB16_144 Depth 2
## Child Loop BB16_161 Depth 2
## Child Loop BB16_166 Depth 3
## Child Loop BB16_173 Depth 2
## Child Loop BB16_181 Depth 2
movl -1104(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 168(%rcx), %eax
jge LBB16_188
## %bb.63: ## in Loop: Header=BB16_62 Depth=1
movl $0, -1148(%rbp)
movq -1088(%rbp), %rax
movq 176(%rax), %rax
movslq -1104(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -1168(%rbp)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1095(%rbp)
movzbl -1095(%rbp), %eax
cmpl $66, %eax
je LBB16_65
## %bb.64:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_65: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1095(%rbp)
movzbl -1095(%rbp), %eax
cmpl $67, %eax
je LBB16_67
## %bb.66:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_67: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1095(%rbp)
movzbl -1095(%rbp), %eax
cmpl $86, %eax
je LBB16_69
## %bb.68:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_69: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1095(%rbp)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movl %eax, %ecx
shll $8, %ecx
movzbl -1095(%rbp), %eax
addl %eax, %ecx
movq -1168(%rbp), %rax
movl %ecx, (%rax)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1095(%rbp)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1096(%rbp)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movl %eax, %ecx
shll $16, %ecx
movzbl -1096(%rbp), %eax
shll $8, %eax
addl %eax, %ecx
movzbl -1095(%rbp), %eax
addl %eax, %ecx
movq -1168(%rbp), %rax
movl %ecx, 4(%rax)
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
movl %eax, -1140(%rbp)
cmpl $0, -1140(%rbp)
je LBB16_71
## %bb.70: ## in Loop: Header=BB16_62 Depth=1
xorl %eax, %eax
movl %eax, -1348(%rbp) ## 4-byte Spill
jmp LBB16_72
LBB16_71: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
movl %eax, -1348(%rbp) ## 4-byte Spill
LBB16_72: ## in Loop: Header=BB16_62 Depth=1
movl -1348(%rbp), %eax ## 4-byte Reload
movb %al, %cl
movq -1168(%rbp), %rax
movb %cl, 27(%rax)
movq -1168(%rbp), %rax
cmpb $0, 27(%rax)
je LBB16_74
## %bb.73: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 4(%rax), %esi
callq _setup_temp_malloc
movq %rax, -1160(%rbp)
jmp LBB16_75
LBB16_74: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 4(%rax), %esi
callq _setup_malloc
movq -1168(%rbp), %rcx
movq %rax, 8(%rcx)
movq %rax, -1160(%rbp)
LBB16_75: ## in Loop: Header=BB16_62 Depth=1
cmpq $0, -1160(%rbp)
jne LBB16_77
## %bb.76:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_77: ## in Loop: Header=BB16_62 Depth=1
cmpl $0, -1140(%rbp)
je LBB16_84
## %bb.78: ## in Loop: Header=BB16_62 Depth=1
movl $0, -1172(%rbp)
movq -1088(%rbp), %rdi
movl $5, %esi
callq _get_bits
addl $1, %eax
movl %eax, -1176(%rbp)
LBB16_79: ## Parent Loop BB16_62 Depth=1
## => This Inner Loop Header: Depth=2
movl -1172(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB16_83
## %bb.80: ## in Loop: Header=BB16_79 Depth=2
movq -1168(%rbp), %rax
movl 4(%rax), %eax
subl -1172(%rbp), %eax
movl %eax, -1180(%rbp)
movq -1088(%rbp), %rax
movq %rax, -1360(%rbp) ## 8-byte Spill
movl -1180(%rbp), %edi
callq _ilog
movq -1360(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _get_bits
movl %eax, -1184(%rbp)
movl -1172(%rbp), %eax
addl -1184(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl 4(%rcx), %eax
jle LBB16_82
## %bb.81:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_82: ## in Loop: Header=BB16_79 Depth=2
movq -1160(%rbp), %rdi
movslq -1172(%rbp), %rax
addq %rax, %rdi
movl -1176(%rbp), %esi
movslq -1184(%rbp), %rdx
movq $-1, %rcx
callq ___memset_chk
movl -1184(%rbp), %eax
addl -1172(%rbp), %eax
movl %eax, -1172(%rbp)
movl -1176(%rbp), %eax
addl $1, %eax
movl %eax, -1176(%rbp)
jmp LBB16_79
LBB16_83: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_95
LBB16_84: ## in Loop: Header=BB16_62 Depth=1
movl $0, -1108(%rbp)
LBB16_85: ## Parent Loop BB16_62 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB16_94
## %bb.86: ## in Loop: Header=BB16_85 Depth=2
movq -1168(%rbp), %rax
movzbl 27(%rax), %eax
cmpl $0, %eax
je LBB16_88
## %bb.87: ## in Loop: Header=BB16_85 Depth=2
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
movl %eax, -1364(%rbp) ## 4-byte Spill
jmp LBB16_89
LBB16_88: ## in Loop: Header=BB16_85 Depth=2
movl $1, %eax
movl %eax, -1364(%rbp) ## 4-byte Spill
jmp LBB16_89
LBB16_89: ## in Loop: Header=BB16_85 Depth=2
movl -1364(%rbp), %eax ## 4-byte Reload
movl %eax, -1188(%rbp)
cmpl $0, -1188(%rbp)
je LBB16_91
## %bb.90: ## in Loop: Header=BB16_85 Depth=2
movq -1088(%rbp), %rdi
movl $5, %esi
callq _get_bits
addl $1, %eax
movb %al, %dl
movq -1160(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -1148(%rbp), %eax
addl $1, %eax
movl %eax, -1148(%rbp)
jmp LBB16_92
LBB16_91: ## in Loop: Header=BB16_85 Depth=2
movq -1160(%rbp), %rax
movslq -1108(%rbp), %rcx
movb $-1, (%rax,%rcx)
LBB16_92: ## in Loop: Header=BB16_85 Depth=2
jmp LBB16_93
LBB16_93: ## in Loop: Header=BB16_85 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_85
LBB16_94: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_95
LBB16_95: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movzbl 27(%rax), %eax
cmpl $0, %eax
je LBB16_100
## %bb.96: ## in Loop: Header=BB16_62 Depth=1
movl -1148(%rbp), %eax
movq -1168(%rbp), %rcx
movl 4(%rcx), %ecx
sarl $2, %ecx
cmpl %ecx, %eax
jl LBB16_100
## %bb.97: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movl 4(%rax), %eax
movq -1088(%rbp), %rcx
cmpl 16(%rcx), %eax
jle LBB16_99
## %bb.98: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movl 4(%rax), %ecx
movq -1088(%rbp), %rax
movl %ecx, 16(%rax)
LBB16_99: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 4(%rax), %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 8(%rax)
movq -1168(%rbp), %rax
movq 8(%rax), %rdi
movq -1160(%rbp), %rsi
movq -1168(%rbp), %rax
movslq 4(%rax), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -1088(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1168(%rbp), %rax
movl 4(%rax), %edx
callq _setup_temp_free
movq -1168(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -1160(%rbp)
movq -1168(%rbp), %rax
movb $0, 27(%rax)
LBB16_100: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
cmpb $0, 27(%rax)
je LBB16_102
## %bb.101: ## in Loop: Header=BB16_62 Depth=1
movl -1148(%rbp), %eax
movl %eax, -1144(%rbp)
jmp LBB16_110
LBB16_102: ## in Loop: Header=BB16_62 Depth=1
movl $0, -1144(%rbp)
movl $0, -1108(%rbp)
LBB16_103: ## Parent Loop BB16_62 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB16_109
## %bb.104: ## in Loop: Header=BB16_103 Depth=2
movq -1160(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $10, %eax
jle LBB16_107
## %bb.105: ## in Loop: Header=BB16_103 Depth=2
movq -1160(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $255, %eax
je LBB16_107
## %bb.106: ## in Loop: Header=BB16_103 Depth=2
movl -1144(%rbp), %eax
addl $1, %eax
movl %eax, -1144(%rbp)
LBB16_107: ## in Loop: Header=BB16_103 Depth=2
jmp LBB16_108
LBB16_108: ## in Loop: Header=BB16_103 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_103
LBB16_109: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_110
LBB16_110: ## in Loop: Header=BB16_62 Depth=1
movl -1144(%rbp), %ecx
movq -1168(%rbp), %rax
movl %ecx, 2112(%rax)
movq $0, -1136(%rbp)
movq -1168(%rbp), %rax
cmpb $0, 27(%rax)
jne LBB16_114
## %bb.111: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movslq 4(%rax), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 40(%rax)
movq -1168(%rbp), %rax
cmpq $0, 40(%rax)
jne LBB16_113
## %bb.112:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_113: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_125
LBB16_114: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
cmpl $0, 2112(%rax)
je LBB16_122
## %bb.115: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 2112(%rax), %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 8(%rax)
movq -1168(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB16_117
## %bb.116:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_117: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movslq 2112(%rax), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_temp_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 40(%rax)
movq -1168(%rbp), %rax
cmpq $0, 40(%rax)
jne LBB16_119
## %bb.118:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_119: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movslq 2112(%rax), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_temp_malloc
movq %rax, -1136(%rbp)
cmpq $0, -1136(%rbp)
jne LBB16_121
## %bb.120:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_121: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_122
LBB16_122: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movslq 4(%rax), %rax
movq -1168(%rbp), %rcx
movslq 2112(%rcx), %rcx
shlq $3, %rcx
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -1192(%rbp)
movl -1192(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 16(%rcx), %eax
jbe LBB16_124
## %bb.123: ## in Loop: Header=BB16_62 Depth=1
movl -1192(%rbp), %ecx
movq -1088(%rbp), %rax
movl %ecx, 16(%rax)
LBB16_124: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_125
LBB16_125: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1168(%rbp), %rax
movl 4(%rax), %edx
movq -1136(%rbp), %rcx
callq _compute_codewords
cmpl $0, %eax
jne LBB16_129
## %bb.126:
movq -1168(%rbp), %rax
cmpb $0, 27(%rax)
je LBB16_128
## %bb.127:
movq -1088(%rbp), %rdi
movq -1136(%rbp), %rsi
xorl %edx, %edx
callq _setup_temp_free
LBB16_128:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_129: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
cmpl $0, 2112(%rax)
je LBB16_133
## %bb.130: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 2112(%rax), %eax
addl $1, %eax
cltq
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 2096(%rax)
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 2112(%rax), %eax
addl $1, %eax
cltq
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 2104(%rax)
movq -1168(%rbp), %rax
cmpq $0, 2104(%rax)
je LBB16_132
## %bb.131: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movq 2104(%rax), %rcx
addq $4, %rcx
movq %rcx, 2104(%rax)
movq -1168(%rbp), %rax
movq 2104(%rax), %rax
movl $-1, -4(%rax)
LBB16_132: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1136(%rbp), %rdx
callq _compute_sorted_huffman
LBB16_133: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
cmpb $0, 27(%rax)
je LBB16_135
## %bb.134: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1136(%rbp), %rsi
movq -1168(%rbp), %rax
movslq 2112(%rax), %rax
shlq $2, %rax
movl %eax, %edx
callq _setup_temp_free
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movq 40(%rax), %rsi
movq -1168(%rbp), %rax
movslq 2112(%rax), %rax
shlq $2, %rax
movl %eax, %edx
callq _setup_temp_free
movq -1088(%rbp), %rdi
movq -1160(%rbp), %rsi
movq -1168(%rbp), %rax
movl 4(%rax), %edx
callq _setup_temp_free
movq -1168(%rbp), %rax
movq $0, 40(%rax)
LBB16_135: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rdi
callq _compute_accelerated_huffman
movq -1088(%rbp), %rdi
movl $4, %esi
callq _get_bits
movb %al, %cl
movq -1168(%rbp), %rax
movb %cl, 25(%rax)
movq -1168(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $2, %eax
jle LBB16_137
## %bb.136:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_137: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $0, %eax
jle LBB16_186
## %bb.138: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movl $32, %esi
callq _get_bits
movl %eax, %edi
callq _float32_unpack
movq -1168(%rbp), %rax
movss %xmm0, 16(%rax)
movq -1088(%rbp), %rdi
movl $32, %esi
callq _get_bits
movl %eax, %edi
callq _float32_unpack
movq -1168(%rbp), %rax
movss %xmm0, 20(%rax)
movq -1088(%rbp), %rdi
movl $4, %esi
callq _get_bits
addl $1, %eax
movb %al, %cl
movq -1168(%rbp), %rax
movb %cl, 24(%rax)
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
movb %al, %cl
movq -1168(%rbp), %rax
movb %cl, 26(%rax)
movq -1168(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $1, %eax
jne LBB16_140
## %bb.139: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movl 4(%rax), %edi
movq -1168(%rbp), %rax
movl (%rax), %esi
callq _lookup1_values
movl %eax, %ecx
movq -1168(%rbp), %rax
movl %ecx, 28(%rax)
jmp LBB16_141
LBB16_140: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movl 4(%rax), %ecx
movq -1168(%rbp), %rax
imull (%rax), %ecx
movq -1168(%rbp), %rax
movl %ecx, 28(%rax)
LBB16_141: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
shlq $1, %rax
movl %eax, %esi
callq _setup_temp_malloc
movq %rax, -1200(%rbp)
cmpq $0, -1200(%rbp)
jne LBB16_143
## %bb.142:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_143: ## in Loop: Header=BB16_62 Depth=1
movl $0, -1108(%rbp)
LBB16_144: ## Parent Loop BB16_62 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl 28(%rcx), %eax
jge LBB16_149
## %bb.145: ## in Loop: Header=BB16_144 Depth=2
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movzbl 24(%rax), %esi
callq _get_bits
movl %eax, -1204(%rbp)
cmpl $-1, -1204(%rbp)
jne LBB16_147
## %bb.146:
movq -1088(%rbp), %rdi
movq -1200(%rbp), %rsi
movq -1168(%rbp), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
shlq $1, %rax
movl %eax, %edx
callq _setup_temp_free
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_147: ## in Loop: Header=BB16_144 Depth=2
movl -1204(%rbp), %eax
movw %ax, %dx
movq -1200(%rbp), %rax
movslq -1108(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
## %bb.148: ## in Loop: Header=BB16_144 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_144
LBB16_149: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $1, %eax
jne LBB16_172
## %bb.150: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movzbl 27(%rax), %eax
movl %eax, -1212(%rbp)
cmpl $0, -1212(%rbp)
je LBB16_154
## %bb.151: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
cmpl $0, 2112(%rax)
jne LBB16_153
## %bb.152: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_178
LBB16_153: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movslq 2112(%rax), %rax
shlq $2, %rax
movq -1168(%rbp), %rcx
movslq (%rcx), %rcx
imulq %rcx, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 32(%rax)
jmp LBB16_155
LBB16_154: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movslq 4(%rax), %rax
shlq $2, %rax
movq -1168(%rbp), %rcx
movslq (%rcx), %rcx
imulq %rcx, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 32(%rax)
LBB16_155: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
cmpq $0, 32(%rax)
jne LBB16_157
## %bb.156:
movq -1088(%rbp), %rdi
movq -1200(%rbp), %rsi
movq -1168(%rbp), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
shlq $1, %rax
movl %eax, %edx
callq _setup_temp_free
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_157: ## in Loop: Header=BB16_62 Depth=1
cmpl $0, -1212(%rbp)
je LBB16_159
## %bb.158: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movl 2112(%rax), %eax
movl %eax, -1368(%rbp) ## 4-byte Spill
jmp LBB16_160
LBB16_159: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -1368(%rbp) ## 4-byte Spill
LBB16_160: ## in Loop: Header=BB16_62 Depth=1
movl -1368(%rbp), %eax ## 4-byte Reload
movl %eax, -1208(%rbp)
movl $0, -1108(%rbp)
LBB16_161: ## Parent Loop BB16_62 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_166 Depth 3
movl -1108(%rbp), %eax
cmpl -1208(%rbp), %eax
jge LBB16_171
## %bb.162: ## in Loop: Header=BB16_161 Depth=2
cmpl $0, -1212(%rbp)
je LBB16_164
## %bb.163: ## in Loop: Header=BB16_161 Depth=2
movq -1168(%rbp), %rax
movq 2104(%rax), %rax
movslq -1108(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -1372(%rbp) ## 4-byte Spill
jmp LBB16_165
LBB16_164: ## in Loop: Header=BB16_161 Depth=2
movl -1108(%rbp), %eax
movl %eax, -1372(%rbp) ## 4-byte Spill
LBB16_165: ## in Loop: Header=BB16_161 Depth=2
movl -1372(%rbp), %eax ## 4-byte Reload
movl %eax, -1216(%rbp)
movl $1, -1220(%rbp)
movl $0, -1112(%rbp)
LBB16_166: ## Parent Loop BB16_62 Depth=1
## Parent Loop BB16_161 Depth=2
## => This Inner Loop Header: Depth=3
movl -1112(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB16_169
## %bb.167: ## in Loop: Header=BB16_166 Depth=3
movl -1216(%rbp), %eax
cltd
idivl -1220(%rbp)
movq -1168(%rbp), %rcx
xorl %edx, %edx
divl 28(%rcx)
movl %edx, -1224(%rbp)
movq -1200(%rbp), %rax
movslq -1224(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
cvtsi2ss %eax, %xmm0
movq -1168(%rbp), %rax
movss 20(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -1168(%rbp), %rax
movss 16(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -1168(%rbp), %rax
movq 32(%rax), %rax
movl -1108(%rbp), %ecx
movq -1168(%rbp), %rdx
imull (%rdx), %ecx
addl -1112(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movq -1168(%rbp), %rax
movl 28(%rax), %eax
imull -1220(%rbp), %eax
movl %eax, -1220(%rbp)
## %bb.168: ## in Loop: Header=BB16_166 Depth=3
movl -1112(%rbp), %eax
addl $1, %eax
movl %eax, -1112(%rbp)
jmp LBB16_166
LBB16_169: ## in Loop: Header=BB16_161 Depth=2
jmp LBB16_170
LBB16_170: ## in Loop: Header=BB16_161 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_161
LBB16_171: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1200(%rbp), %rsi
movq -1168(%rbp), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
shlq $1, %rax
movl %eax, %edx
callq _setup_temp_free
movq -1168(%rbp), %rax
movb $2, 25(%rax)
jmp LBB16_177
LBB16_172: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1168(%rbp), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1168(%rbp), %rax
movq %rcx, 32(%rax)
movl $0, -1108(%rbp)
LBB16_173: ## Parent Loop BB16_62 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl 28(%rcx), %eax
jge LBB16_176
## %bb.174: ## in Loop: Header=BB16_173 Depth=2
movq -1200(%rbp), %rax
movslq -1108(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
cvtsi2ss %eax, %xmm0
movq -1168(%rbp), %rax
movss 20(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -1168(%rbp), %rax
movss 16(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -1168(%rbp), %rax
movq 32(%rax), %rax
movslq -1108(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.175: ## in Loop: Header=BB16_173 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_173
LBB16_176: ## in Loop: Header=BB16_62 Depth=1
movq -1088(%rbp), %rdi
movq -1200(%rbp), %rsi
movq -1168(%rbp), %rax
movl 28(%rax), %eax
## kill: def $rax killed $eax
shlq $1, %rax
movl %eax, %edx
callq _setup_temp_free
LBB16_177: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_178
LBB16_178: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $2, %eax
jne LBB16_185
## %bb.179: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movzbl 26(%rax), %eax
cmpl $0, %eax
je LBB16_185
## %bb.180: ## in Loop: Header=BB16_62 Depth=1
movl $1, -1108(%rbp)
LBB16_181: ## Parent Loop BB16_62 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1168(%rbp), %rcx
cmpl 28(%rcx), %eax
jge LBB16_184
## %bb.182: ## in Loop: Header=BB16_181 Depth=2
movq -1168(%rbp), %rax
movq 32(%rax), %rax
movl -1108(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -1168(%rbp), %rax
movq 32(%rax), %rax
movslq -1108(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.183: ## in Loop: Header=BB16_181 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_181
LBB16_184: ## in Loop: Header=BB16_62 Depth=1
movq -1168(%rbp), %rax
movb $0, 26(%rax)
LBB16_185: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_186
LBB16_186: ## in Loop: Header=BB16_62 Depth=1
jmp LBB16_187
LBB16_187: ## in Loop: Header=BB16_62 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_62
LBB16_188:
movq -1088(%rbp), %rdi
movl $6, %esi
callq _get_bits
addl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -1095(%rbp)
movl $0, -1104(%rbp)
LBB16_189: ## =>This Inner Loop Header: Depth=1
movl -1104(%rbp), %eax
movzbl -1095(%rbp), %ecx
cmpl %ecx, %eax
jge LBB16_194
## %bb.190: ## in Loop: Header=BB16_189 Depth=1
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movl %eax, -1228(%rbp)
cmpl $0, -1228(%rbp)
je LBB16_192
## %bb.191:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_192: ## in Loop: Header=BB16_189 Depth=1
jmp LBB16_193
LBB16_193: ## in Loop: Header=BB16_189 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_189
LBB16_194:
movq -1088(%rbp), %rdi
movl $6, %esi
callq _get_bits
movl %eax, %ecx
addl $1, %ecx
movq -1088(%rbp), %rax
movl %ecx, 184(%rax)
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movslq 184(%rax), %rax
imulq $1596, %rax, %rax ## imm = 0x63C
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1088(%rbp), %rax
movq %rcx, 320(%rax)
movl $0, -1104(%rbp)
LBB16_195: ## =>This Loop Header: Depth=1
## Child Loop BB16_205 Depth 2
## Child Loop BB16_211 Depth 2
## Child Loop BB16_217 Depth 3
## Child Loop BB16_225 Depth 2
## Child Loop BB16_227 Depth 3
## Child Loop BB16_233 Depth 2
## Child Loop BB16_237 Depth 2
## Child Loop BB16_241 Depth 2
movl -1104(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 184(%rcx), %eax
jge LBB16_249
## %bb.196: ## in Loop: Header=BB16_195 Depth=1
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movw %ax, %dx
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movw %dx, 188(%rax,%rcx,2)
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movzwl 188(%rax,%rcx,2), %eax
cmpl $1, %eax
jle LBB16_198
## %bb.197:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_198: ## in Loop: Header=BB16_195 Depth=1
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movzwl 188(%rax,%rcx,2), %eax
cmpl $0, %eax
jne LBB16_204
## %bb.199:
movq -1088(%rbp), %rax
movq 320(%rax), %rax
movslq -1104(%rbp), %rcx
imulq $1596, %rcx, %rcx ## imm = 0x63C
addq %rcx, %rax
movq %rax, -1240(%rbp)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %cl
movq -1240(%rbp), %rax
movb %cl, (%rax)
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movw %ax, %cx
movq -1240(%rbp), %rax
movw %cx, 2(%rax)
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movw %ax, %cx
movq -1240(%rbp), %rax
movw %cx, 4(%rax)
movq -1088(%rbp), %rdi
movl $6, %esi
callq _get_bits
movb %al, %cl
movq -1240(%rbp), %rax
movb %cl, 6(%rax)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %cl
movq -1240(%rbp), %rax
movb %cl, 7(%rax)
movq -1088(%rbp), %rdi
movl $4, %esi
callq _get_bits
addl $1, %eax
movb %al, %cl
movq -1240(%rbp), %rax
movb %cl, 8(%rax)
movl $0, -1108(%rbp)
LBB16_200: ## =>This Inner Loop Header: Depth=1
movl -1108(%rbp), %eax
movq -1240(%rbp), %rcx
movzbl 8(%rcx), %ecx
cmpl %ecx, %eax
jge LBB16_203
## %bb.201: ## in Loop: Header=BB16_200 Depth=1
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %dl
movq -1240(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 9(%rax,%rcx)
## %bb.202: ## in Loop: Header=BB16_200 Depth=1
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_200
LBB16_203:
movq -1088(%rbp), %rdi
movl $4, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_204: ## in Loop: Header=BB16_195 Depth=1
movq -1088(%rbp), %rax
movq 320(%rax), %rax
movslq -1104(%rbp), %rcx
imulq $1596, %rcx, %rcx ## imm = 0x63C
addq %rcx, %rax
movq %rax, -1248(%rbp)
movl $-1, -1252(%rbp)
movq -1088(%rbp), %rdi
movl $5, %esi
callq _get_bits
movb %al, %cl
movq -1248(%rbp), %rax
movb %cl, (%rax)
movl $0, -1108(%rbp)
LBB16_205: ## Parent Loop BB16_195 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1248(%rbp), %rcx
movzbl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB16_210
## %bb.206: ## in Loop: Header=BB16_205 Depth=2
movq -1088(%rbp), %rdi
movl $4, %esi
callq _get_bits
movb %al, %dl
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 1(%rax,%rcx)
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl 1(%rax,%rcx), %eax
cmpl -1252(%rbp), %eax
jle LBB16_208
## %bb.207: ## in Loop: Header=BB16_205 Depth=2
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl 1(%rax,%rcx), %eax
movl %eax, -1252(%rbp)
LBB16_208: ## in Loop: Header=BB16_205 Depth=2
jmp LBB16_209
LBB16_209: ## in Loop: Header=BB16_205 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_205
LBB16_210: ## in Loop: Header=BB16_195 Depth=1
movl $0, -1108(%rbp)
LBB16_211: ## Parent Loop BB16_195 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_217 Depth 3
movl -1108(%rbp), %eax
cmpl -1252(%rbp), %eax
jg LBB16_224
## %bb.212: ## in Loop: Header=BB16_211 Depth=2
movq -1088(%rbp), %rdi
movl $3, %esi
callq _get_bits
addl $1, %eax
movb %al, %dl
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 33(%rax,%rcx)
movq -1088(%rbp), %rdi
movl $2, %esi
callq _get_bits
movb %al, %dl
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 49(%rax,%rcx)
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
cmpb $0, 49(%rax,%rcx)
je LBB16_216
## %bb.213: ## in Loop: Header=BB16_211 Depth=2
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %dl
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 65(%rax,%rcx)
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl 65(%rax,%rcx), %eax
movq -1088(%rbp), %rcx
cmpl 168(%rcx), %eax
jl LBB16_215
## %bb.214:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_215: ## in Loop: Header=BB16_211 Depth=2
jmp LBB16_216
LBB16_216: ## in Loop: Header=BB16_211 Depth=2
movl $0, -1112(%rbp)
LBB16_217: ## Parent Loop BB16_195 Depth=1
## Parent Loop BB16_211 Depth=2
## => This Inner Loop Header: Depth=3
movl -1112(%rbp), %eax
movq -1248(%rbp), %rcx
movslq -1108(%rbp), %rdx
movzbl 49(%rcx,%rdx), %ecx
movl $1, %edx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
cmpl %ecx, %eax
jge LBB16_222
## %bb.218: ## in Loop: Header=BB16_217 Depth=3
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
subl $1, %eax
movw %ax, %dx
movq -1248(%rbp), %rax
addq $82, %rax
movslq -1108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -1112(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movq -1248(%rbp), %rax
addq $82, %rax
movslq -1108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -1112(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movq -1088(%rbp), %rcx
cmpl 168(%rcx), %eax
jl LBB16_220
## %bb.219:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_220: ## in Loop: Header=BB16_217 Depth=3
jmp LBB16_221
LBB16_221: ## in Loop: Header=BB16_217 Depth=3
movl -1112(%rbp), %eax
addl $1, %eax
movl %eax, -1112(%rbp)
jmp LBB16_217
LBB16_222: ## in Loop: Header=BB16_211 Depth=2
jmp LBB16_223
LBB16_223: ## in Loop: Header=BB16_211 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_211
LBB16_224: ## in Loop: Header=BB16_195 Depth=1
movq -1088(%rbp), %rdi
movl $2, %esi
callq _get_bits
addl $1, %eax
movb %al, %cl
movq -1248(%rbp), %rax
movb %cl, 1588(%rax)
movq -1088(%rbp), %rdi
movl $4, %esi
callq _get_bits
movb %al, %cl
movq -1248(%rbp), %rax
movb %cl, 1589(%rax)
movq -1248(%rbp), %rax
movw $0, 338(%rax)
movq -1248(%rbp), %rax
movzbl 1589(%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movw %ax, %cx
movq -1248(%rbp), %rax
movw %cx, 340(%rax)
movq -1248(%rbp), %rax
movl $2, 1592(%rax)
movl $0, -1108(%rbp)
LBB16_225: ## Parent Loop BB16_195 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_227 Depth 3
movl -1108(%rbp), %eax
movq -1248(%rbp), %rcx
movzbl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB16_232
## %bb.226: ## in Loop: Header=BB16_225 Depth=2
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl 1(%rax,%rcx), %eax
movl %eax, -1256(%rbp)
movl $0, -1112(%rbp)
LBB16_227: ## Parent Loop BB16_195 Depth=1
## Parent Loop BB16_225 Depth=2
## => This Inner Loop Header: Depth=3
movl -1112(%rbp), %eax
movq -1248(%rbp), %rcx
movslq -1256(%rbp), %rdx
movzbl 33(%rcx,%rdx), %ecx
cmpl %ecx, %eax
jge LBB16_230
## %bb.228: ## in Loop: Header=BB16_227 Depth=3
movq -1088(%rbp), %rdi
movq -1248(%rbp), %rax
movzbl 1589(%rax), %esi
callq _get_bits
movw %ax, %dx
movq -1248(%rbp), %rax
movq -1248(%rbp), %rcx
movslq 1592(%rcx), %rcx
movw %dx, 338(%rax,%rcx,2)
movq -1248(%rbp), %rax
movl 1592(%rax), %ecx
addl $1, %ecx
movl %ecx, 1592(%rax)
## %bb.229: ## in Loop: Header=BB16_227 Depth=3
movl -1112(%rbp), %eax
addl $1, %eax
movl %eax, -1112(%rbp)
jmp LBB16_227
LBB16_230: ## in Loop: Header=BB16_225 Depth=2
jmp LBB16_231
LBB16_231: ## in Loop: Header=BB16_225 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_225
LBB16_232: ## in Loop: Header=BB16_195 Depth=1
movl $0, -1108(%rbp)
LBB16_233: ## Parent Loop BB16_195 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1248(%rbp), %rcx
cmpl 1592(%rcx), %eax
jge LBB16_236
## %bb.234: ## in Loop: Header=BB16_233 Depth=2
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movw 338(%rax,%rcx,2), %cx
movslq -1108(%rbp), %rax
movw %cx, -1008(%rbp,%rax,4)
movl -1108(%rbp), %eax
movw %ax, %cx
movslq -1108(%rbp), %rax
movw %cx, -1006(%rbp,%rax,4)
## %bb.235: ## in Loop: Header=BB16_233 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_233
LBB16_236: ## in Loop: Header=BB16_195 Depth=1
leaq -1008(%rbp), %rdi
movq -1248(%rbp), %rax
movslq 1592(%rax), %rsi
movl $4, %edx
leaq _point_compare(%rip), %rcx
callq _qsort
movl $0, -1108(%rbp)
LBB16_237: ## Parent Loop BB16_195 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1248(%rbp), %rcx
cmpl 1592(%rcx), %eax
jge LBB16_240
## %bb.238: ## in Loop: Header=BB16_237 Depth=2
movslq -1108(%rbp), %rax
movw -1006(%rbp,%rax,4), %ax
movb %al, %dl
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 838(%rax,%rcx)
## %bb.239: ## in Loop: Header=BB16_237 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_237
LBB16_240: ## in Loop: Header=BB16_195 Depth=1
movl $2, -1108(%rbp)
LBB16_241: ## Parent Loop BB16_195 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1248(%rbp), %rcx
cmpl 1592(%rcx), %eax
jge LBB16_244
## %bb.242: ## in Loop: Header=BB16_241 Depth=2
movq -1248(%rbp), %rdi
addq $338, %rdi ## imm = 0x152
movl -1108(%rbp), %esi
leaq -1260(%rbp), %rdx
leaq -1264(%rbp), %rcx
callq _neighbors
movl -1260(%rbp), %eax
movb %al, %dl
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 1088(%rax,%rcx,2)
movl -1264(%rbp), %eax
movb %al, %dl
movq -1248(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 1089(%rax,%rcx,2)
## %bb.243: ## in Loop: Header=BB16_241 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_241
LBB16_244: ## in Loop: Header=BB16_195 Depth=1
movq -1248(%rbp), %rax
movl 1592(%rax), %eax
cmpl -1120(%rbp), %eax
jle LBB16_246
## %bb.245: ## in Loop: Header=BB16_195 Depth=1
movq -1248(%rbp), %rax
movl 1592(%rax), %eax
movl %eax, -1120(%rbp)
LBB16_246: ## in Loop: Header=BB16_195 Depth=1
jmp LBB16_247
LBB16_247: ## in Loop: Header=BB16_195 Depth=1
jmp LBB16_248
LBB16_248: ## in Loop: Header=BB16_195 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_195
LBB16_249:
movq -1088(%rbp), %rdi
movl $6, %esi
callq _get_bits
movl %eax, %ecx
addl $1, %ecx
movq -1088(%rbp), %rax
movl %ecx, 328(%rax)
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movslq 328(%rax), %rax
shlq $5, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1088(%rbp), %rax
movq %rcx, 464(%rax)
movl $0, -1104(%rbp)
LBB16_250: ## =>This Loop Header: Depth=1
## Child Loop BB16_254 Depth 2
## Child Loop BB16_260 Depth 2
## Child Loop BB16_262 Depth 3
## Child Loop BB16_275 Depth 2
## Child Loop BB16_277 Depth 3
movl -1104(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 328(%rcx), %eax
jge LBB16_284
## %bb.251: ## in Loop: Header=BB16_250 Depth=1
movq -1088(%rbp), %rax
movq 464(%rax), %rax
movslq -1104(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -1272(%rbp)
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movw %ax, %dx
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movw %dx, 332(%rax,%rcx,2)
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movzwl 332(%rax,%rcx,2), %eax
cmpl $2, %eax
jle LBB16_253
## %bb.252:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_253: ## in Loop: Header=BB16_250 Depth=1
movq -1088(%rbp), %rdi
movl $24, %esi
callq _get_bits
movl %eax, %ecx
movq -1272(%rbp), %rax
movl %ecx, (%rax)
movq -1088(%rbp), %rdi
movl $24, %esi
callq _get_bits
movl %eax, %ecx
movq -1272(%rbp), %rax
movl %ecx, 4(%rax)
movq -1088(%rbp), %rdi
movl $24, %esi
callq _get_bits
movl %eax, %ecx
addl $1, %ecx
movq -1272(%rbp), %rax
movl %ecx, 8(%rax)
movq -1088(%rbp), %rdi
movl $6, %esi
callq _get_bits
addl $1, %eax
movb %al, %cl
movq -1272(%rbp), %rax
movb %cl, 12(%rax)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %cl
movq -1272(%rbp), %rax
movb %cl, 13(%rax)
movl $0, -1108(%rbp)
LBB16_254: ## Parent Loop BB16_250 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1272(%rbp), %rcx
movzbl 12(%rcx), %ecx
cmpl %ecx, %eax
jge LBB16_259
## %bb.255: ## in Loop: Header=BB16_254 Depth=2
movb $0, -1273(%rbp)
movq -1088(%rbp), %rdi
movl $3, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1274(%rbp)
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
cmpl $0, %eax
je LBB16_257
## %bb.256: ## in Loop: Header=BB16_254 Depth=2
movq -1088(%rbp), %rdi
movl $5, %esi
callq _get_bits
## kill: def $al killed $al killed $eax
movb %al, -1273(%rbp)
LBB16_257: ## in Loop: Header=BB16_254 Depth=2
movzbl -1273(%rbp), %eax
shll $3, %eax
movzbl -1274(%rbp), %ecx
addl %ecx, %eax
movb %al, %cl
movslq -1108(%rbp), %rax
movb %cl, -1072(%rbp,%rax)
## %bb.258: ## in Loop: Header=BB16_254 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_254
LBB16_259: ## in Loop: Header=BB16_250 Depth=1
movq -1088(%rbp), %rdi
movq -1272(%rbp), %rax
movzbl 12(%rax), %eax
## kill: def $rax killed $eax
shlq $4, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1272(%rbp), %rax
movq %rcx, 24(%rax)
movl $0, -1108(%rbp)
LBB16_260: ## Parent Loop BB16_250 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_262 Depth 3
movl -1108(%rbp), %eax
movq -1272(%rbp), %rcx
movzbl 12(%rcx), %ecx
cmpl %ecx, %eax
jge LBB16_272
## %bb.261: ## in Loop: Header=BB16_260 Depth=2
movl $0, -1112(%rbp)
LBB16_262: ## Parent Loop BB16_250 Depth=1
## Parent Loop BB16_260 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $8, -1112(%rbp)
jge LBB16_270
## %bb.263: ## in Loop: Header=BB16_262 Depth=3
movslq -1108(%rbp), %rax
movzbl -1072(%rbp,%rax), %eax
movl -1112(%rbp), %ecx
movl $1, %edx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
andl %ecx, %eax
cmpl $0, %eax
je LBB16_267
## %bb.264: ## in Loop: Header=BB16_262 Depth=3
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movw %ax, %dx
movq -1272(%rbp), %rax
movq 24(%rax), %rax
movslq -1108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -1112(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movq -1272(%rbp), %rax
movq 24(%rax), %rax
movslq -1108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -1112(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movq -1088(%rbp), %rcx
cmpl 168(%rcx), %eax
jl LBB16_266
## %bb.265:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_266: ## in Loop: Header=BB16_262 Depth=3
jmp LBB16_268
LBB16_267: ## in Loop: Header=BB16_262 Depth=3
movq -1272(%rbp), %rax
movq 24(%rax), %rax
movslq -1108(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -1112(%rbp), %rcx
movw $-1, (%rax,%rcx,2)
LBB16_268: ## in Loop: Header=BB16_262 Depth=3
jmp LBB16_269
LBB16_269: ## in Loop: Header=BB16_262 Depth=3
movl -1112(%rbp), %eax
addl $1, %eax
movl %eax, -1112(%rbp)
jmp LBB16_262
LBB16_270: ## in Loop: Header=BB16_260 Depth=2
jmp LBB16_271
LBB16_271: ## in Loop: Header=BB16_260 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_260
LBB16_272: ## in Loop: Header=BB16_250 Depth=1
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movq 176(%rax), %rax
movq -1272(%rbp), %rcx
movzbl 13(%rcx), %ecx
## kill: def $rcx killed $ecx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movslq 4(%rax), %rax
shlq $3, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1272(%rbp), %rax
movq %rcx, 16(%rax)
movq -1272(%rbp), %rax
cmpq $0, 16(%rax)
jne LBB16_274
## %bb.273:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_274: ## in Loop: Header=BB16_250 Depth=1
movq -1272(%rbp), %rax
movq 16(%rax), %rdi
movq -1088(%rbp), %rax
movq 176(%rax), %rax
movq -1272(%rbp), %rcx
movzbl 13(%rcx), %ecx
## kill: def $rcx killed $ecx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movslq 4(%rax), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movl $0, -1108(%rbp)
LBB16_275: ## Parent Loop BB16_250 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_277 Depth 3
movl -1108(%rbp), %eax
movq -1088(%rbp), %rcx
movq 176(%rcx), %rcx
movq -1272(%rbp), %rdx
movzbl 13(%rdx), %edx
## kill: def $rdx killed $edx
imulq $2120, %rdx, %rdx ## imm = 0x848
addq %rdx, %rcx
cmpl 4(%rcx), %eax
jge LBB16_282
## %bb.276: ## in Loop: Header=BB16_275 Depth=2
movq -1088(%rbp), %rax
movq 176(%rax), %rax
movq -1272(%rbp), %rcx
movzbl 13(%rcx), %ecx
## kill: def $rcx killed $ecx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -1280(%rbp)
movl -1108(%rbp), %eax
movl %eax, -1284(%rbp)
movq -1088(%rbp), %rdi
movslq -1280(%rbp), %rax
shlq $0, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -1272(%rbp), %rax
movq 16(%rax), %rax
movslq -1108(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -1280(%rbp), %eax
subl $1, %eax
movl %eax, -1112(%rbp)
LBB16_277: ## Parent Loop BB16_250 Depth=1
## Parent Loop BB16_275 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $0, -1112(%rbp)
jl LBB16_280
## %bb.278: ## in Loop: Header=BB16_277 Depth=3
movl -1284(%rbp), %eax
movq -1272(%rbp), %rcx
movzbl 12(%rcx), %ecx
cltd
idivl %ecx
## kill: def $dl killed $dl killed $edx
movq -1272(%rbp), %rax
movq 16(%rax), %rax
movslq -1108(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -1112(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -1272(%rbp), %rax
movzbl 12(%rax), %ecx
movl -1284(%rbp), %eax
cltd
idivl %ecx
movl %eax, -1284(%rbp)
## %bb.279: ## in Loop: Header=BB16_277 Depth=3
movl -1112(%rbp), %eax
addl $-1, %eax
movl %eax, -1112(%rbp)
jmp LBB16_277
LBB16_280: ## in Loop: Header=BB16_275 Depth=2
jmp LBB16_281
LBB16_281: ## in Loop: Header=BB16_275 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_275
LBB16_282: ## in Loop: Header=BB16_250 Depth=1
jmp LBB16_283
LBB16_283: ## in Loop: Header=BB16_250 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_250
LBB16_284:
movq -1088(%rbp), %rdi
movl $6, %esi
callq _get_bits
movl %eax, %ecx
addl $1, %ecx
movq -1088(%rbp), %rax
movl %ecx, 472(%rax)
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movslq 472(%rax), %rax
imulq $48, %rax, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1088(%rbp), %rax
movq %rcx, 480(%rax)
movl $0, -1104(%rbp)
LBB16_285: ## =>This Loop Header: Depth=1
## Child Loop BB16_295 Depth 2
## Child Loop BB16_310 Depth 2
## Child Loop BB16_317 Depth 2
## Child Loop BB16_322 Depth 2
movl -1104(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 472(%rcx), %eax
jge LBB16_331
## %bb.286: ## in Loop: Header=BB16_285 Depth=1
movq -1088(%rbp), %rax
movq 480(%rax), %rax
movslq -1104(%rbp), %rcx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -1296(%rbp)
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movl %eax, -1300(%rbp)
cmpl $0, -1300(%rbp)
je LBB16_288
## %bb.287:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_288: ## in Loop: Header=BB16_285 Depth=1
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movslq 4(%rax), %rax
imulq $3, %rax, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rcx
movq -1296(%rbp), %rax
movq %rcx, 8(%rax)
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
cmpl $0, %eax
je LBB16_290
## %bb.289: ## in Loop: Header=BB16_285 Depth=1
movq -1088(%rbp), %rdi
movl $4, %esi
callq _get_bits
addl $1, %eax
movb %al, %cl
movq -1296(%rbp), %rax
movb %cl, 16(%rax)
jmp LBB16_291
LBB16_290: ## in Loop: Header=BB16_285 Depth=1
movq -1296(%rbp), %rax
movb $1, 16(%rax)
LBB16_291: ## in Loop: Header=BB16_285 Depth=1
movq -1296(%rbp), %rax
movzbl 16(%rax), %eax
cmpl -1116(%rbp), %eax
jle LBB16_293
## %bb.292: ## in Loop: Header=BB16_285 Depth=1
movq -1296(%rbp), %rax
movzbl 16(%rax), %eax
movl %eax, -1116(%rbp)
LBB16_293: ## in Loop: Header=BB16_285 Depth=1
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
cmpl $0, %eax
je LBB16_305
## %bb.294: ## in Loop: Header=BB16_285 Depth=1
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
addl $1, %eax
movw %ax, %cx
movq -1296(%rbp), %rax
movw %cx, (%rax)
movl $0, -1112(%rbp)
LBB16_295: ## Parent Loop BB16_285 Depth=1
## => This Inner Loop Header: Depth=2
movl -1112(%rbp), %eax
movq -1296(%rbp), %rcx
movzwl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB16_304
## %bb.296: ## in Loop: Header=BB16_295 Depth=2
movq -1088(%rbp), %rax
movq %rax, -1392(%rbp) ## 8-byte Spill
movq -1088(%rbp), %rax
movl 4(%rax), %edi
subl $1, %edi
callq _ilog
movq -1392(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _get_bits
movb %al, %cl
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1112(%rbp), %rdx
imulq $3, %rdx, %rdx
addq %rdx, %rax
movb %cl, (%rax)
movq -1088(%rbp), %rax
movq %rax, -1384(%rbp) ## 8-byte Spill
movq -1088(%rbp), %rax
movl 4(%rax), %edi
subl $1, %edi
callq _ilog
movq -1384(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _get_bits
movb %al, %cl
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1112(%rbp), %rdx
imulq $3, %rdx, %rdx
addq %rdx, %rax
movb %cl, 1(%rax)
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1112(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
movq -1088(%rbp), %rcx
cmpl 4(%rcx), %eax
jl LBB16_298
## %bb.297:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_298: ## in Loop: Header=BB16_295 Depth=2
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1112(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 1(%rax), %eax
movq -1088(%rbp), %rcx
cmpl 4(%rcx), %eax
jl LBB16_300
## %bb.299:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_300: ## in Loop: Header=BB16_295 Depth=2
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1112(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
movq -1296(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -1112(%rbp), %rdx
imulq $3, %rdx, %rdx
addq %rdx, %rcx
movzbl 1(%rcx), %ecx
cmpl %ecx, %eax
jne LBB16_302
## %bb.301:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_302: ## in Loop: Header=BB16_295 Depth=2
jmp LBB16_303
LBB16_303: ## in Loop: Header=BB16_295 Depth=2
movl -1112(%rbp), %eax
addl $1, %eax
movl %eax, -1112(%rbp)
jmp LBB16_295
LBB16_304: ## in Loop: Header=BB16_285 Depth=1
jmp LBB16_306
LBB16_305: ## in Loop: Header=BB16_285 Depth=1
movq -1296(%rbp), %rax
movw $0, (%rax)
LBB16_306: ## in Loop: Header=BB16_285 Depth=1
movq -1088(%rbp), %rdi
movl $2, %esi
callq _get_bits
cmpl $0, %eax
je LBB16_308
## %bb.307:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_308: ## in Loop: Header=BB16_285 Depth=1
movq -1296(%rbp), %rax
movzbl 16(%rax), %eax
cmpl $1, %eax
jle LBB16_316
## %bb.309: ## in Loop: Header=BB16_285 Depth=1
movl $0, -1108(%rbp)
LBB16_310: ## Parent Loop BB16_285 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB16_315
## %bb.311: ## in Loop: Header=BB16_310 Depth=2
movq -1088(%rbp), %rdi
movl $4, %esi
callq _get_bits
movb %al, %cl
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1108(%rbp), %rdx
imulq $3, %rdx, %rdx
addq %rdx, %rax
movb %cl, 2(%rax)
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1108(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 2(%rax), %eax
movq -1296(%rbp), %rcx
movzbl 16(%rcx), %ecx
cmpl %ecx, %eax
jl LBB16_313
## %bb.312:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_313: ## in Loop: Header=BB16_310 Depth=2
jmp LBB16_314
LBB16_314: ## in Loop: Header=BB16_310 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_310
LBB16_315: ## in Loop: Header=BB16_285 Depth=1
jmp LBB16_321
LBB16_316: ## in Loop: Header=BB16_285 Depth=1
movl $0, -1108(%rbp)
LBB16_317: ## Parent Loop BB16_285 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB16_320
## %bb.318: ## in Loop: Header=BB16_317 Depth=2
movq -1296(%rbp), %rax
movq 8(%rax), %rax
movslq -1108(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movb $0, 2(%rax)
## %bb.319: ## in Loop: Header=BB16_317 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_317
LBB16_320: ## in Loop: Header=BB16_285 Depth=1
jmp LBB16_321
LBB16_321: ## in Loop: Header=BB16_285 Depth=1
movl $0, -1108(%rbp)
LBB16_322: ## Parent Loop BB16_285 Depth=1
## => This Inner Loop Header: Depth=2
movl -1108(%rbp), %eax
movq -1296(%rbp), %rcx
movzbl 16(%rcx), %ecx
cmpl %ecx, %eax
jge LBB16_329
## %bb.323: ## in Loop: Header=BB16_322 Depth=2
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %dl
movq -1296(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 17(%rax,%rcx)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %dl
movq -1296(%rbp), %rax
movslq -1108(%rbp), %rcx
movb %dl, 32(%rax,%rcx)
movq -1296(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl 17(%rax,%rcx), %eax
movq -1088(%rbp), %rcx
cmpl 184(%rcx), %eax
jl LBB16_325
## %bb.324:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_325: ## in Loop: Header=BB16_322 Depth=2
movq -1296(%rbp), %rax
movslq -1108(%rbp), %rcx
movzbl 32(%rax,%rcx), %eax
movq -1088(%rbp), %rcx
cmpl 328(%rcx), %eax
jl LBB16_327
## %bb.326:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_327: ## in Loop: Header=BB16_322 Depth=2
jmp LBB16_328
LBB16_328: ## in Loop: Header=BB16_322 Depth=2
movl -1108(%rbp), %eax
addl $1, %eax
movl %eax, -1108(%rbp)
jmp LBB16_322
LBB16_329: ## in Loop: Header=BB16_285 Depth=1
jmp LBB16_330
LBB16_330: ## in Loop: Header=BB16_285 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_285
LBB16_331:
movq -1088(%rbp), %rdi
movl $6, %esi
callq _get_bits
movl %eax, %ecx
addl $1, %ecx
movq -1088(%rbp), %rax
movl %ecx, 488(%rax)
movl $0, -1104(%rbp)
LBB16_332: ## =>This Inner Loop Header: Depth=1
movl -1104(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 488(%rcx), %eax
jge LBB16_341
## %bb.333: ## in Loop: Header=BB16_332 Depth=1
movq -1088(%rbp), %rax
addq $492, %rax ## imm = 0x1EC
movslq -1104(%rbp), %rcx
imulq $6, %rcx, %rcx
addq %rcx, %rax
movq %rax, -1312(%rbp)
movq -1088(%rbp), %rdi
movl $1, %esi
callq _get_bits
movb %al, %cl
movq -1312(%rbp), %rax
movb %cl, (%rax)
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movw %ax, %cx
movq -1312(%rbp), %rax
movw %cx, 2(%rax)
movq -1088(%rbp), %rdi
movl $16, %esi
callq _get_bits
movw %ax, %cx
movq -1312(%rbp), %rax
movw %cx, 4(%rax)
movq -1088(%rbp), %rdi
movl $8, %esi
callq _get_bits
movb %al, %cl
movq -1312(%rbp), %rax
movb %cl, 1(%rax)
movq -1312(%rbp), %rax
movzwl 2(%rax), %eax
cmpl $0, %eax
je LBB16_335
## %bb.334:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_335: ## in Loop: Header=BB16_332 Depth=1
movq -1312(%rbp), %rax
movzwl 4(%rax), %eax
cmpl $0, %eax
je LBB16_337
## %bb.336:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_337: ## in Loop: Header=BB16_332 Depth=1
movq -1312(%rbp), %rax
movzbl 1(%rax), %eax
movq -1088(%rbp), %rcx
cmpl 472(%rcx), %eax
jl LBB16_339
## %bb.338:
movq -1088(%rbp), %rdi
movl $20, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_339: ## in Loop: Header=BB16_332 Depth=1
jmp LBB16_340
LBB16_340: ## in Loop: Header=BB16_332 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_332
LBB16_341:
movq -1088(%rbp), %rdi
callq _flush_packet
movq -1088(%rbp), %rax
movl $0, 1264(%rax)
movl $0, -1104(%rbp)
LBB16_342: ## =>This Inner Loop Header: Depth=1
movl -1104(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB16_345
## %bb.343: ## in Loop: Header=BB16_342 Depth=1
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movslq 164(%rax), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movq %rdx, 880(%rax,%rcx,8)
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movslq 164(%rax), %rax
shlq $2, %rax
shrq $1, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movq %rdx, 1136(%rax,%rcx,8)
movq -1088(%rbp), %rdi
movslq -1120(%rbp), %rax
shlq $1, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -1088(%rbp), %rax
movslq -1104(%rbp), %rcx
movq %rdx, 1272(%rax,%rcx,8)
## %bb.344: ## in Loop: Header=BB16_342 Depth=1
movl -1104(%rbp), %eax
addl $1, %eax
movl %eax, -1104(%rbp)
jmp LBB16_342
LBB16_345:
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movl 160(%rax), %edx
xorl %esi, %esi
callq _init_blocksize
cmpl $0, %eax
jne LBB16_347
## %bb.346:
movl $0, -1076(%rbp)
jmp LBB16_365
LBB16_347:
movq -1088(%rbp), %rdi
movq -1088(%rbp), %rax
movl 164(%rax), %edx
movl $1, %esi
callq _init_blocksize
cmpl $0, %eax
jne LBB16_349
## %bb.348:
movl $0, -1076(%rbp)
jmp LBB16_365
LBB16_349:
movq -1088(%rbp), %rax
movl 160(%rax), %ecx
movq -1088(%rbp), %rax
movl %ecx, 152(%rax)
movq -1088(%rbp), %rax
movl 164(%rax), %ecx
movq -1088(%rbp), %rax
movl %ecx, 156(%rax)
movq -1088(%rbp), %rax
movslq 164(%rax), %rax
shlq $2, %rax
shrq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -1316(%rbp)
movl $0, -1328(%rbp)
movl $0, -1324(%rbp)
LBB16_350: ## =>This Inner Loop Header: Depth=1
movl -1324(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 328(%rcx), %eax
jge LBB16_355
## %bb.351: ## in Loop: Header=BB16_350 Depth=1
movq -1088(%rbp), %rax
movq 464(%rax), %rax
movslq -1324(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -1336(%rbp)
movq -1336(%rbp), %rax
movl 4(%rax), %eax
movq -1336(%rbp), %rcx
subl (%rcx), %eax
movl %eax, -1340(%rbp)
movl -1340(%rbp), %eax
movq -1336(%rbp), %rcx
xorl %edx, %edx
divl 8(%rcx)
movl %eax, -1344(%rbp)
movl -1344(%rbp), %eax
cmpl -1328(%rbp), %eax
jle LBB16_353
## %bb.352: ## in Loop: Header=BB16_350 Depth=1
movl -1344(%rbp), %eax
movl %eax, -1328(%rbp)
LBB16_353: ## in Loop: Header=BB16_350 Depth=1
jmp LBB16_354
LBB16_354: ## in Loop: Header=BB16_350 Depth=1
movl -1324(%rbp), %eax
addl $1, %eax
movl %eax, -1324(%rbp)
jmp LBB16_350
LBB16_355:
movq -1088(%rbp), %rax
movslq 4(%rax), %rax
movslq -1328(%rbp), %rcx
shlq $3, %rcx
addq $8, %rcx
imulq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -1320(%rbp)
movl -1320(%rbp), %ecx
movq -1088(%rbp), %rax
movl %ecx, 12(%rax)
movl -1316(%rbp), %eax
movq -1088(%rbp), %rcx
cmpl 12(%rcx), %eax
jbe LBB16_357
## %bb.356:
movl -1316(%rbp), %ecx
movq -1088(%rbp), %rax
movl %ecx, 12(%rax)
LBB16_357:
movq -1088(%rbp), %rax
movb $1, 1757(%rax)
movq -1088(%rbp), %rax
cmpq $0, 120(%rax)
je LBB16_364
## %bb.358:
movq -1088(%rbp), %rax
movl 140(%rax), %eax
movq -1088(%rbp), %rcx
cmpl 128(%rcx), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB16_360
## %bb.359:
leaq L___func__.start_decoder(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.12(%rip), %rcx
movl $4120, %edx ## imm = 0x1018
callq ___assert_rtn
LBB16_360:
jmp LBB16_361
LBB16_361:
movq -1088(%rbp), %rax
movslq 136(%rax), %rax
addq $1896, %rax ## imm = 0x768
movq -1088(%rbp), %rcx
movl 12(%rcx), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movq -1088(%rbp), %rcx
movl 140(%rcx), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jbe LBB16_363
## %bb.362:
movq -1088(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -1076(%rbp)
jmp LBB16_365
LBB16_363:
jmp LBB16_364
LBB16_364:
movq -1088(%rbp), %rdi
callq _stb_vorbis_get_file_offset
movl %eax, %ecx
movq -1088(%rbp), %rax
movl %ecx, 72(%rax)
movl $1, -1076(%rbp)
LBB16_365:
movl -1076(%rbp), %eax
movl %eax, -1396(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB16_367
## %bb.366:
movl -1396(%rbp), %eax ## 4-byte Reload
addq $1408, %rsp ## imm = 0x580
popq %rbp
retq
LBB16_367:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_alloc
_vorbis_alloc: ## @vorbis_alloc
.cfi_startproc
## %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
movl $1896, %esi ## imm = 0x768
callq _setup_malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_file_offset ## -- Begin function stb_vorbis_get_file_offset
.p2align 4, 0x90
_stb_vorbis_get_file_offset: ## @stb_vorbis_get_file_offset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpb $0, 68(%rax)
je LBB18_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB18_5
LBB18_2:
movq -16(%rbp), %rax
cmpq $0, 40(%rax)
je LBB18_4
## %bb.3:
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq -16(%rbp), %rcx
movq 48(%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB18_5
LBB18_4:
movq -16(%rbp), %rax
movq 24(%rax), %rdi
callq _ftell
movq -16(%rbp), %rcx
movl 32(%rcx), %ecx
## kill: def $rcx killed $ecx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
LBB18_5:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_seek_frame ## -- Begin function stb_vorbis_seek_frame
.p2align 4, 0x90
_stb_vorbis_seek_frame: ## @stb_vorbis_seek_frame
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
xorl %edx, %edx
callq _vorbis_seek_base
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_seek_base
_vorbis_seek_base: ## @vorbis_seek_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 $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -64(%rbp)
movl %esi, -68(%rbp)
movl %edx, -72(%rbp)
movq -64(%rbp), %rax
cmpb $0, 68(%rax)
je LBB20_2
## %bb.1:
movq -64(%rbp), %rdi
movl $2, %esi
callq _error
movl %eax, -52(%rbp)
jmp LBB20_39
LBB20_2:
movq -64(%rbp), %rax
cmpl $0, 96(%rax)
jne LBB20_6
## %bb.3:
movq -64(%rbp), %rdi
callq _stb_vorbis_stream_length_in_samples
movl %eax, -100(%rbp)
cmpl $0, -100(%rbp)
jne LBB20_5
## %bb.4:
movq -64(%rbp), %rdi
movl $36, %esi
callq _error
movl %eax, -52(%rbp)
jmp LBB20_39
LBB20_5:
jmp LBB20_6
LBB20_6:
movq -64(%rbp), %rax
movq 76(%rax), %rcx
movq %rcx, -48(%rbp)
movq 84(%rax), %rcx
movq %rcx, -40(%rbp)
movl 92(%rax), %eax
movl %eax, -32(%rbp)
movq -64(%rbp), %rax
movq 96(%rax), %rcx
movq %rcx, -28(%rbp)
movq 104(%rax), %rcx
movq %rcx, -20(%rbp)
movl 112(%rax), %eax
movl %eax, -12(%rbp)
movl -68(%rbp), %eax
movq -64(%rbp), %rcx
cmpl 112(%rcx), %eax
jb LBB20_8
## %bb.7:
movq -64(%rbp), %rax
movl 112(%rax), %eax
subl $1, %eax
movl %eax, -68(%rbp)
LBB20_8:
movl -68(%rbp), %eax
movq -64(%rbp), %rcx
cmpl 92(%rcx), %eax
jae LBB20_10
## %bb.9:
movq -64(%rbp), %rdi
movl -48(%rbp), %esi
movl -68(%rbp), %ecx
movl -72(%rbp), %r8d
xorl %edx, %edx
callq _vorbis_seek_frame_from_page
movl $0, -52(%rbp)
jmp LBB20_39
LBB20_10:
movl $0, -104(%rbp)
LBB20_11: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jae LBB20_35
## %bb.12: ## in Loop: Header=BB20_11 Depth=1
movl -44(%rbp), %eax
movl %eax, -112(%rbp)
movl -20(%rbp), %eax
movl %eax, -116(%rbp)
movl -32(%rbp), %eax
movl %eax, -120(%rbp)
movl -12(%rbp), %eax
movl %eax, -124(%rbp)
cmpl $-1, -120(%rbp)
je LBB20_14
## %bb.13: ## in Loop: Header=BB20_11 Depth=1
cmpl $-1, -124(%rbp)
jne LBB20_15
LBB20_14:
movq -64(%rbp), %rdi
movl $37, %esi
callq _error
movl %eax, -52(%rbp)
jmp LBB20_39
LBB20_15: ## in Loop: Header=BB20_11 Depth=1
movl -112(%rbp), %eax
addl $4000, %eax ## imm = 0xFA0
cmpl -116(%rbp), %eax
jae LBB20_17
## %bb.16: ## in Loop: Header=BB20_11 Depth=1
movl -116(%rbp), %eax
subl $4000, %eax ## imm = 0xFA0
movl %eax, -116(%rbp)
LBB20_17: ## in Loop: Header=BB20_11 Depth=1
movl -112(%rbp), %eax
movl -116(%rbp), %ecx
subl %eax, %ecx
## kill: def $rcx killed $ecx
cvtsi2ss %rcx, %xmm0
movl -124(%rbp), %ecx
movl -120(%rbp), %edx
subl %edx, %ecx
## kill: def $rcx killed $ecx
cvtsi2ss %rcx, %xmm1
divss %xmm1, %xmm0
movl -68(%rbp), %ecx
subl %edx, %ecx
## kill: def $rcx killed $ecx
cvtsi2ss %rcx, %xmm1
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %ecx
addl %ecx, %eax
movl %eax, -108(%rbp)
cmpl $4, -104(%rbp)
jl LBB20_25
## %bb.18: ## in Loop: Header=BB20_11 Depth=1
movl -112(%rbp), %eax
movl -116(%rbp), %ecx
subl -112(%rbp), %ecx
shrl $1, %ecx
addl %ecx, %eax
movl %eax, -128(%rbp)
cmpl $8, -104(%rbp)
jl LBB20_20
## %bb.19: ## in Loop: Header=BB20_11 Depth=1
movl -128(%rbp), %eax
movl %eax, -108(%rbp)
jmp LBB20_24
LBB20_20: ## in Loop: Header=BB20_11 Depth=1
movl -108(%rbp), %eax
cmpl -128(%rbp), %eax
jae LBB20_22
## %bb.21: ## in Loop: Header=BB20_11 Depth=1
movl -108(%rbp), %eax
movl -128(%rbp), %ecx
subl -108(%rbp), %ecx
shrl $1, %ecx
addl %ecx, %eax
movl %eax, -108(%rbp)
jmp LBB20_23
LBB20_22: ## in Loop: Header=BB20_11 Depth=1
movl -128(%rbp), %eax
movl -108(%rbp), %ecx
subl -128(%rbp), %ecx
shrl $1, %ecx
addl %ecx, %eax
movl %eax, -108(%rbp)
LBB20_23: ## in Loop: Header=BB20_11 Depth=1
jmp LBB20_24
LBB20_24: ## in Loop: Header=BB20_11 Depth=1
jmp LBB20_25
LBB20_25: ## in Loop: Header=BB20_11 Depth=1
movl -104(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
movq -64(%rbp), %rdi
movl -108(%rbp), %esi
callq _set_file_offset
movq -64(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq _vorbis_find_page
cmpl $0, %eax
jne LBB20_27
## %bb.26:
movq -64(%rbp), %rdi
movl $37, %esi
callq _error
movl %eax, -52(%rbp)
jmp LBB20_39
LBB20_27: ## in Loop: Header=BB20_11 Depth=1
movq -64(%rbp), %rdi
leaq -96(%rbp), %rsi
callq _vorbis_analyze_page
cmpl $0, %eax
jne LBB20_29
## %bb.28:
movq -64(%rbp), %rdi
movl $37, %esi
callq _error
movl %eax, -52(%rbp)
jmp LBB20_39
LBB20_29: ## in Loop: Header=BB20_11 Depth=1
movl -108(%rbp), %eax
movl %eax, -88(%rbp)
movl -96(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB20_31
## %bb.30: ## in Loop: Header=BB20_11 Depth=1
movq -96(%rbp), %rax
movq %rax, -28(%rbp)
movq -88(%rbp), %rax
movq %rax, -20(%rbp)
movl -80(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB20_11
LBB20_31: ## in Loop: Header=BB20_11 Depth=1
movl -68(%rbp), %eax
cmpl -80(%rbp), %eax
jae LBB20_33
## %bb.32: ## in Loop: Header=BB20_11 Depth=1
movq -96(%rbp), %rax
movq %rax, -28(%rbp)
movq -88(%rbp), %rax
movq %rax, -20(%rbp)
movl -80(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB20_34
LBB20_33: ## in Loop: Header=BB20_11 Depth=1
movq -96(%rbp), %rax
movq %rax, -48(%rbp)
movq -88(%rbp), %rax
movq %rax, -40(%rbp)
movl -80(%rbp), %eax
movl %eax, -32(%rbp)
LBB20_34: ## in Loop: Header=BB20_11 Depth=1
jmp LBB20_11
LBB20_35:
movl -32(%rbp), %eax
cmpl -68(%rbp), %eax
ja LBB20_38
## %bb.36:
movl -68(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB20_38
## %bb.37:
movq -64(%rbp), %rdi
movl -28(%rbp), %esi
movl -32(%rbp), %edx
movl -68(%rbp), %ecx
movl -72(%rbp), %r8d
callq _vorbis_seek_frame_from_page
movl $0, -52(%rbp)
jmp LBB20_39
LBB20_38:
movq -64(%rbp), %rdi
movl $37, %esi
callq _error
movl %eax, -52(%rbp)
LBB20_39:
movl -52(%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 LBB20_41
## %bb.40:
movl -132(%rbp), %eax ## 4-byte Reload
addq $144, %rsp
popq %rbp
retq
LBB20_41:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _stb_vorbis_seek ## -- Begin function stb_vorbis_seek
.p2align 4, 0x90
_stb_vorbis_seek: ## @stb_vorbis_seek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl $1, %edx
callq _vorbis_seek_base
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_seek_start ## -- Begin function stb_vorbis_seek_start
.p2align 4, 0x90
_stb_vorbis_seek_start: ## @stb_vorbis_seek_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpb $0, 68(%rax)
je LBB22_2
## %bb.1:
movq -8(%rbp), %rdi
movl $2, %esi
callq _error
jmp LBB22_3
LBB22_2:
movq -8(%rbp), %rdi
movq -8(%rbp), %rax
movl 72(%rax), %esi
callq _set_file_offset
movq -8(%rbp), %rax
movl $0, 1264(%rax)
movq -8(%rbp), %rax
movb $1, 1757(%rax)
movq -8(%rbp), %rax
movl $-1, 1760(%rax)
movq -8(%rbp), %rdi
callq _vorbis_pump_first_frame
LBB22_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function set_file_offset
_set_file_offset: ## @set_file_offset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rax
cmpb $0, 68(%rax)
je LBB23_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB23_14
LBB23_2:
movq -16(%rbp), %rax
movl $0, 144(%rax)
movq -16(%rbp), %rax
cmpq $0, 40(%rax)
je LBB23_7
## %bb.3:
movq -16(%rbp), %rax
movq 48(%rax), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movq -16(%rbp), %rcx
cmpq 56(%rcx), %rax
jae LBB23_5
## %bb.4:
movq -16(%rbp), %rax
movq 48(%rax), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movq -16(%rbp), %rcx
cmpq 48(%rcx), %rax
jae LBB23_6
LBB23_5:
movq -16(%rbp), %rax
movq 56(%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movq -16(%rbp), %rax
movl $1, 144(%rax)
movl $0, -4(%rbp)
jmp LBB23_14
LBB23_6:
movq -16(%rbp), %rax
movq 48(%rax), %rcx
movl -20(%rbp), %eax
## kill: def $rax killed $eax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movl $1, -4(%rbp)
jmp LBB23_14
LBB23_7:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
addl 32(%rcx), %eax
cmpl -20(%rbp), %eax
jb LBB23_9
## %bb.8:
cmpl $-2147483648, -20(%rbp) ## imm = 0x80000000
jb LBB23_10
LBB23_9:
movl $2147483647, -20(%rbp) ## imm = 0x7FFFFFFF
movq -16(%rbp), %rax
movl $1, 144(%rax)
jmp LBB23_11
LBB23_10:
movq -16(%rbp), %rax
movl 32(%rax), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB23_11:
movq -16(%rbp), %rax
movq 24(%rax), %rdi
movl -20(%rbp), %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
cmpl $0, %eax
jne LBB23_13
## %bb.12:
movl $1, -4(%rbp)
jmp LBB23_14
LBB23_13:
movq -16(%rbp), %rax
movl $1, 144(%rax)
movq -16(%rbp), %rax
movq 24(%rax), %rdi
movq -16(%rbp), %rax
movl 32(%rax), %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movl $0, -4(%rbp)
LBB23_14:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_pump_first_frame
_vorbis_pump_first_frame: ## @vorbis_pump_first_frame
.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 -12(%rbp), %rsi
leaq -20(%rbp), %rdx
leaq -16(%rbp), %rcx
callq _vorbis_decode_packet
cmpl $0, %eax
je LBB24_2
## %bb.1:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -20(%rbp), %edx
movl -16(%rbp), %ecx
callq _vorbis_finish_frame
LBB24_2:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_stream_length_in_samples ## -- Begin function stb_vorbis_stream_length_in_samples
.p2align 4, 0x90
_stb_vorbis_stream_length_in_samples: ## @stb_vorbis_stream_length_in_samples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpb $0, 68(%rax)
je LBB25_2
## %bb.1:
movq -16(%rbp), %rdi
movl $2, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB25_25
LBB25_2:
movq -16(%rbp), %rax
cmpl $0, 876(%rax)
jne LBB25_21
## %bb.3:
movq -16(%rbp), %rdi
callq _stb_vorbis_get_file_offset
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
cmpl $65536, 64(%rax) ## imm = 0x10000
jb LBB25_6
## %bb.4:
movq -16(%rbp), %rax
movl 64(%rax), %eax
subl $65536, %eax ## imm = 0x10000
movq -16(%rbp), %rcx
cmpl 72(%rcx), %eax
jb LBB25_6
## %bb.5:
movq -16(%rbp), %rax
movl 64(%rax), %eax
subl $65536, %eax ## imm = 0x10000
movl %eax, -24(%rbp)
jmp LBB25_7
LBB25_6:
movq -16(%rbp), %rax
movl 72(%rax), %eax
movl %eax, -24(%rbp)
LBB25_7:
movq -16(%rbp), %rdi
movl -24(%rbp), %esi
callq _set_file_offset
movq -16(%rbp), %rdi
leaq -28(%rbp), %rsi
leaq -36(%rbp), %rdx
callq _vorbis_find_page
cmpl $0, %eax
jne LBB25_9
## %bb.8:
movq -16(%rbp), %rax
movl $36, 148(%rax)
movq -16(%rbp), %rax
movl $-1, 876(%rax)
jmp LBB25_20
LBB25_9:
movq -16(%rbp), %rdi
callq _stb_vorbis_get_file_offset
movl %eax, -32(%rbp)
LBB25_10: ## =>This Inner Loop Header: Depth=1
cmpl $0, -36(%rbp)
setne %al
xorb $-1, %al
testb $1, %al
jne LBB25_11
jmp LBB25_14
LBB25_11: ## in Loop: Header=BB25_10 Depth=1
movq -16(%rbp), %rdi
movl -28(%rbp), %esi
callq _set_file_offset
movq -16(%rbp), %rdi
leaq -28(%rbp), %rsi
leaq -36(%rbp), %rdx
callq _vorbis_find_page
cmpl $0, %eax
jne LBB25_13
## %bb.12:
jmp LBB25_14
LBB25_13: ## in Loop: Header=BB25_10 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movq -16(%rbp), %rdi
callq _stb_vorbis_get_file_offset
movl %eax, -32(%rbp)
jmp LBB25_10
LBB25_14:
movq -16(%rbp), %rdi
movl -32(%rbp), %esi
callq _set_file_offset
movq -16(%rbp), %rdi
leaq -50(%rbp), %rsi
movl $6, %edx
callq _getn
movq -16(%rbp), %rdi
callq _get32
movl %eax, -40(%rbp)
movq -16(%rbp), %rdi
callq _get32
movl %eax, -44(%rbp)
cmpl $-1, -40(%rbp)
jne LBB25_17
## %bb.15:
cmpl $-1, -44(%rbp)
jne LBB25_17
## %bb.16:
movq -16(%rbp), %rax
movl $36, 148(%rax)
movq -16(%rbp), %rax
movl $-1, 876(%rax)
jmp LBB25_20
LBB25_17:
cmpl $0, -44(%rbp)
je LBB25_19
## %bb.18:
movl $-2, -40(%rbp)
LBB25_19:
movl -40(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 876(%rax)
movl -32(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 96(%rax)
movl -28(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 100(%rax)
movl -40(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 112(%rax)
movq -16(%rbp), %rax
movl $-1, 108(%rax)
movl -24(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 104(%rax)
LBB25_20:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
callq _set_file_offset
LBB25_21:
movq -16(%rbp), %rax
cmpl $-1, 876(%rax)
jne LBB25_23
## %bb.22:
xorl %eax, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
jmp LBB25_24
LBB25_23:
movq -16(%rbp), %rax
movl 876(%rax), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
LBB25_24:
movl -56(%rbp), %eax ## 4-byte Reload
movl %eax, -4(%rbp)
LBB25_25:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_find_page
_vorbis_find_page: ## @vorbis_find_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -64(%rbp)
movq %rsi, -72(%rbp)
movq %rdx, -80(%rbp)
LBB26_1: ## =>This Loop Header: Depth=1
## Child Loop BB26_7 Depth 2
## Child Loop BB26_16 Depth 2
## Child Loop BB26_20 Depth 2
## Child Loop BB26_28 Depth 2
## Child Loop BB26_32 Depth 2
## Child Loop BB26_36 Depth 2
## Child Loop BB26_43 Depth 2
movq -64(%rbp), %rax
cmpl $0, 144(%rax)
je LBB26_3
## %bb.2:
movl $0, -52(%rbp)
jmp LBB26_59
LBB26_3: ## in Loop: Header=BB26_1 Depth=1
movq -64(%rbp), %rdi
callq _get8
movzbl %al, %eax
movl %eax, -84(%rbp)
cmpl $79, -84(%rbp)
jne LBB26_58
## %bb.4: ## in Loop: Header=BB26_1 Depth=1
movq -64(%rbp), %rdi
callq _stb_vorbis_get_file_offset
movl %eax, -88(%rbp)
movl -88(%rbp), %eax
subl $25, %eax
movq -64(%rbp), %rcx
cmpl 64(%rcx), %eax
jbe LBB26_6
## %bb.5:
movl $0, -52(%rbp)
jmp LBB26_59
LBB26_6: ## in Loop: Header=BB26_1 Depth=1
movl $1, -92(%rbp)
LBB26_7: ## Parent Loop BB26_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -92(%rbp)
jge LBB26_12
## %bb.8: ## in Loop: Header=BB26_7 Depth=2
movq -64(%rbp), %rdi
callq _get8
movzbl %al, %eax
movslq -92(%rbp), %rdx
leaq _ogg_page_header(%rip), %rcx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je LBB26_10
## %bb.9: ## in Loop: Header=BB26_1 Depth=1
jmp LBB26_12
LBB26_10: ## in Loop: Header=BB26_7 Depth=2
jmp LBB26_11
LBB26_11: ## in Loop: Header=BB26_7 Depth=2
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB26_7
LBB26_12: ## in Loop: Header=BB26_1 Depth=1
movq -64(%rbp), %rax
cmpl $0, 144(%rax)
je LBB26_14
## %bb.13:
movl $0, -52(%rbp)
jmp LBB26_59
LBB26_14: ## in Loop: Header=BB26_1 Depth=1
cmpl $4, -92(%rbp)
jne LBB26_56
## %bb.15: ## in Loop: Header=BB26_1 Depth=1
movl $0, -96(%rbp)
LBB26_16: ## Parent Loop BB26_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -96(%rbp)
jae LBB26_19
## %bb.17: ## in Loop: Header=BB26_16 Depth=2
movl -96(%rbp), %eax
movl %eax, %ecx
leaq _ogg_page_header(%rip), %rax
movb (%rax,%rcx), %cl
movl -96(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -48(%rbp,%rax)
## %bb.18: ## in Loop: Header=BB26_16 Depth=2
movl -96(%rbp), %eax
addl $1, %eax
movl %eax, -96(%rbp)
jmp LBB26_16
LBB26_19: ## in Loop: Header=BB26_1 Depth=1
jmp LBB26_20
LBB26_20: ## Parent Loop BB26_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $27, -96(%rbp)
jae LBB26_23
## %bb.21: ## in Loop: Header=BB26_20 Depth=2
movq -64(%rbp), %rdi
callq _get8
movb %al, %cl
movl -96(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -48(%rbp,%rax)
## %bb.22: ## in Loop: Header=BB26_20 Depth=2
movl -96(%rbp), %eax
addl $1, %eax
movl %eax, -96(%rbp)
jmp LBB26_20
LBB26_23: ## in Loop: Header=BB26_1 Depth=1
movq -64(%rbp), %rax
cmpl $0, 144(%rax)
je LBB26_25
## %bb.24:
movl $0, -52(%rbp)
jmp LBB26_59
LBB26_25: ## in Loop: Header=BB26_1 Depth=1
movzbl -44(%rbp), %eax
cmpl $0, %eax
je LBB26_27
## %bb.26: ## in Loop: Header=BB26_1 Depth=1
jmp LBB26_57
LBB26_27: ## in Loop: Header=BB26_1 Depth=1
movzbl -26(%rbp), %eax
movzbl -25(%rbp), %ecx
shll $8, %ecx
addl %ecx, %eax
movzbl -24(%rbp), %ecx
shll $16, %ecx
addl %ecx, %eax
movzbl -23(%rbp), %ecx
shll $24, %ecx
addl %ecx, %eax
movl %eax, -104(%rbp)
movl $22, -96(%rbp)
LBB26_28: ## Parent Loop BB26_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $26, -96(%rbp)
jae LBB26_31
## %bb.29: ## in Loop: Header=BB26_28 Depth=2
movl -96(%rbp), %eax
## kill: def $rax killed $eax
movb $0, -48(%rbp,%rax)
## %bb.30: ## in Loop: Header=BB26_28 Depth=2
movl -96(%rbp), %eax
addl $1, %eax
movl %eax, -96(%rbp)
jmp LBB26_28
LBB26_31: ## in Loop: Header=BB26_1 Depth=1
movl $0, -100(%rbp)
movl $0, -96(%rbp)
LBB26_32: ## Parent Loop BB26_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $27, -96(%rbp)
jae LBB26_35
## %bb.33: ## in Loop: Header=BB26_32 Depth=2
movl -100(%rbp), %edi
movl -96(%rbp), %eax
## kill: def $rax killed $eax
movzbl -48(%rbp,%rax), %esi
callq _crc32_update
movl %eax, -100(%rbp)
## %bb.34: ## in Loop: Header=BB26_32 Depth=2
movl -96(%rbp), %eax
addl $1, %eax
movl %eax, -96(%rbp)
jmp LBB26_32
LBB26_35: ## in Loop: Header=BB26_1 Depth=1
movl $0, -108(%rbp)
movl $0, -96(%rbp)
LBB26_36: ## Parent Loop BB26_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -96(%rbp), %eax
movzbl -22(%rbp), %ecx
cmpl %ecx, %eax
jae LBB26_39
## %bb.37: ## in Loop: Header=BB26_36 Depth=2
movq -64(%rbp), %rdi
callq _get8
movzbl %al, %eax
movl %eax, -112(%rbp)
movl -100(%rbp), %edi
movl -112(%rbp), %eax
## kill: def $al killed $al killed $eax
movzbl %al, %esi
callq _crc32_update
movl %eax, -100(%rbp)
movl -112(%rbp), %eax
addl -108(%rbp), %eax
movl %eax, -108(%rbp)
## %bb.38: ## in Loop: Header=BB26_36 Depth=2
movl -96(%rbp), %eax
addl $1, %eax
movl %eax, -96(%rbp)
jmp LBB26_36
LBB26_39: ## in Loop: Header=BB26_1 Depth=1
cmpl $0, -108(%rbp)
je LBB26_42
## %bb.40: ## in Loop: Header=BB26_1 Depth=1
movq -64(%rbp), %rax
cmpl $0, 144(%rax)
je LBB26_42
## %bb.41:
movl $0, -52(%rbp)
jmp LBB26_59
LBB26_42: ## in Loop: Header=BB26_1 Depth=1
movl $0, -96(%rbp)
LBB26_43: ## Parent Loop BB26_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -96(%rbp), %eax
cmpl -108(%rbp), %eax
jae LBB26_46
## %bb.44: ## in Loop: Header=BB26_43 Depth=2
movl -100(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
movq -64(%rbp), %rdi
callq _get8
movl -116(%rbp), %edi ## 4-byte Reload
movzbl %al, %esi
callq _crc32_update
movl %eax, -100(%rbp)
## %bb.45: ## in Loop: Header=BB26_43 Depth=2
movl -96(%rbp), %eax
addl $1, %eax
movl %eax, -96(%rbp)
jmp LBB26_43
LBB26_46: ## in Loop: Header=BB26_1 Depth=1
movl -100(%rbp), %eax
cmpl -104(%rbp), %eax
jne LBB26_55
## %bb.47:
cmpq $0, -72(%rbp)
je LBB26_49
## %bb.48:
movq -64(%rbp), %rdi
callq _stb_vorbis_get_file_offset
movl %eax, %ecx
movq -72(%rbp), %rax
movl %ecx, (%rax)
LBB26_49:
cmpq $0, -80(%rbp)
je LBB26_54
## %bb.50:
movzbl -43(%rbp), %eax
andl $4, %eax
cmpl $0, %eax
je LBB26_52
## %bb.51:
movq -80(%rbp), %rax
movl $1, (%rax)
jmp LBB26_53
LBB26_52:
movq -80(%rbp), %rax
movl $0, (%rax)
LBB26_53:
jmp LBB26_54
LBB26_54:
movq -64(%rbp), %rdi
movl -88(%rbp), %esi
subl $1, %esi
callq _set_file_offset
movl $1, -52(%rbp)
jmp LBB26_59
LBB26_55: ## in Loop: Header=BB26_1 Depth=1
jmp LBB26_56
LBB26_56: ## in Loop: Header=BB26_1 Depth=1
jmp LBB26_57
LBB26_57: ## in Loop: Header=BB26_1 Depth=1
movq -64(%rbp), %rdi
movl -88(%rbp), %esi
callq _set_file_offset
LBB26_58: ## in Loop: Header=BB26_1 Depth=1
jmp LBB26_1
LBB26_59:
movl -52(%rbp), %eax
movl %eax, -120(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB26_61
## %bb.60:
movl -120(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB26_61:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function getn
_getn: ## @getn
.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
cmpq $0, 40(%rax)
je LBB27_4
## %bb.1:
movq -16(%rbp), %rax
movq 40(%rax), %rax
movslq -28(%rbp), %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
cmpq 56(%rcx), %rax
jbe LBB27_3
## %bb.2:
movq -16(%rbp), %rax
movl $1, 144(%rax)
movl $0, -4(%rbp)
jmp LBB27_7
LBB27_3:
movq -24(%rbp), %rdi
movq -16(%rbp), %rax
movq 40(%rax), %rsi
movslq -28(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movl -28(%rbp), %edx
movq -16(%rbp), %rax
movq 40(%rax), %rcx
movslq %edx, %rdx
addq %rdx, %rcx
movq %rcx, 40(%rax)
movl $1, -4(%rbp)
jmp LBB27_7
LBB27_4:
movq -24(%rbp), %rdi
movslq -28(%rbp), %rsi
movq -16(%rbp), %rax
movq 24(%rax), %rcx
movl $1, %edx
callq _fread
cmpq $1, %rax
jne LBB27_6
## %bb.5:
movl $1, -4(%rbp)
jmp LBB27_7
LBB27_6:
movq -16(%rbp), %rax
movl $1, 144(%rax)
movl $0, -4(%rbp)
LBB27_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get32
_get32: ## @get32
.cfi_startproc
## %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 _get8
movzbl %al, %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rdi
callq _get8
movzbl %al, %eax
shll $8, %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rdi
callq _get8
movzbl %al, %eax
shll $16, %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rdi
callq _get8
movzbl %al, %eax
shll $24, %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_stream_length_in_seconds ## -- Begin function stb_vorbis_stream_length_in_seconds
.p2align 4, 0x90
_stb_vorbis_stream_length_in_seconds: ## @stb_vorbis_stream_length_in_seconds
.cfi_startproc
## %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 _stb_vorbis_stream_length_in_samples
movl %eax, %eax
## kill: def $rax killed $eax
cvtsi2ss %rax, %xmm0
movq -8(%rbp), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
cvtsi2ss %rax, %xmm1
divss %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_frame_float ## -- Begin function stb_vorbis_get_frame_float
.p2align 4, 0x90
_stb_vorbis_get_frame_float: ## @stb_vorbis_get_frame_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 $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
cmpb $0, 68(%rax)
je LBB30_2
## %bb.1:
movq -16(%rbp), %rdi
movl $2, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB30_13
LBB30_2:
movq -16(%rbp), %rdi
leaq -36(%rbp), %rsi
leaq -44(%rbp), %rdx
leaq -40(%rbp), %rcx
callq _vorbis_decode_packet
cmpl $0, %eax
jne LBB30_4
## %bb.3:
movq -16(%rbp), %rax
movl $0, 1888(%rax)
movq -16(%rbp), %rax
movl $0, 1884(%rax)
movl $0, -4(%rbp)
jmp LBB30_13
LBB30_4:
movq -16(%rbp), %rdi
movl -36(%rbp), %esi
movl -44(%rbp), %edx
movl -40(%rbp), %ecx
callq _vorbis_finish_frame
movl %eax, -36(%rbp)
movl $0, -48(%rbp)
LBB30_5: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB30_8
## %bb.6: ## in Loop: Header=BB30_5 Depth=1
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movq 880(%rax,%rcx,8), %rdx
movslq -44(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movq %rdx, 1008(%rax,%rcx,8)
## %bb.7: ## in Loop: Header=BB30_5 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB30_5
LBB30_8:
movl -44(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1884(%rax)
movl -44(%rbp), %ecx
addl -36(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1888(%rax)
cmpq $0, -24(%rbp)
je LBB30_10
## %bb.9:
movq -16(%rbp), %rax
movl 4(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
LBB30_10:
cmpq $0, -32(%rbp)
je LBB30_12
## %bb.11:
movq -16(%rbp), %rcx
addq $1008, %rcx ## imm = 0x3F0
movq -32(%rbp), %rax
movq %rcx, (%rax)
LBB30_12:
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
LBB30_13:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_open_file_section ## -- Begin function stb_vorbis_open_file_section
.p2align 4, 0x90
_stb_vorbis_open_file_section: ## @stb_vorbis_open_file_section
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1968, %rsp ## imm = 0x7B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1920(%rbp)
movl %esi, -1924(%rbp)
movq %rdx, -1936(%rbp)
movq %rcx, -1944(%rbp)
movl %r8d, -1948(%rbp)
movq -1944(%rbp), %rsi
leaq -1904(%rbp), %rdi
callq _vorbis_init
movq -1920(%rbp), %rax
movq %rax, -1880(%rbp)
movq -1920(%rbp), %rdi
callq _ftell
## kill: def $eax killed $eax killed $rax
movl %eax, -1872(%rbp)
movl -1948(%rbp), %eax
movl %eax, -1840(%rbp)
movl -1924(%rbp), %eax
movl %eax, -1868(%rbp)
leaq -1904(%rbp), %rdi
callq _start_decoder
cmpl $0, %eax
je LBB31_4
## %bb.1:
leaq -1904(%rbp), %rdi
callq _vorbis_alloc
movq %rax, -1960(%rbp)
cmpq $0, -1960(%rbp)
je LBB31_3
## %bb.2:
movq -1960(%rbp), %rdi
leaq -1904(%rbp), %rsi
movl $1896, %edx ## imm = 0x768
callq _memcpy
movq -1960(%rbp), %rdi
callq _vorbis_pump_first_frame
movq -1960(%rbp), %rax
movq %rax, -1912(%rbp)
jmp LBB31_7
LBB31_3:
jmp LBB31_4
LBB31_4:
cmpq $0, -1936(%rbp)
je LBB31_6
## %bb.5:
movl -1756(%rbp), %ecx
movq -1936(%rbp), %rax
movl %ecx, (%rax)
LBB31_6:
leaq -1904(%rbp), %rdi
callq _vorbis_deinit
movq $0, -1912(%rbp)
LBB31_7:
movq -1912(%rbp), %rax
movq %rax, -1968(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB31_9
## %bb.8:
movq -1968(%rbp), %rax ## 8-byte Reload
addq $1968, %rsp ## imm = 0x7B0
popq %rbp
retq
LBB31_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _stb_vorbis_open_file ## -- Begin function stb_vorbis_open_file
.p2align 4, 0x90
_stb_vorbis_open_file: ## @stb_vorbis_open_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 $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -8(%rbp), %rdi
callq _ftell
## kill: def $eax killed $eax killed $rax
movl %eax, -40(%rbp)
movq -8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movq -8(%rbp), %rdi
callq _ftell
movl -40(%rbp), %ecx
## kill: def $rcx killed $ecx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movq -8(%rbp), %rdi
movl -40(%rbp), %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
movl -36(%rbp), %r8d
callq _stb_vorbis_open_file_section
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_open_filename ## -- Begin function stb_vorbis_open_filename
.p2align 4, 0x90
_stb_vorbis_open_filename: ## @stb_vorbis_open_filename
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je LBB33_2
## %bb.1:
movq -40(%rbp), %rdi
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
movl $1, %esi
callq _stb_vorbis_open_file
movq %rax, -8(%rbp)
jmp LBB33_5
LBB33_2:
cmpq $0, -24(%rbp)
je LBB33_4
## %bb.3:
movq -24(%rbp), %rax
movl $6, (%rax)
LBB33_4:
movq $0, -8(%rbp)
LBB33_5:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_open_memory ## -- Begin function stb_vorbis_open_memory
.p2align 4, 0x90
_stb_vorbis_open_memory: ## @stb_vorbis_open_memory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1968, %rsp ## imm = 0x7B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1920(%rbp)
movl %esi, -1924(%rbp)
movq %rdx, -1936(%rbp)
movq %rcx, -1944(%rbp)
cmpq $0, -1920(%rbp)
jne LBB34_2
## %bb.1:
movq $0, -1912(%rbp)
jmp LBB34_9
LBB34_2:
movq -1944(%rbp), %rsi
leaq -1904(%rbp), %rdi
callq _vorbis_init
movq -1920(%rbp), %rax
movq %rax, -1864(%rbp)
movq -1920(%rbp), %rax
movslq -1924(%rbp), %rcx
addq %rcx, %rax
movq %rax, -1848(%rbp)
movq -1864(%rbp), %rax
movq %rax, -1856(%rbp)
movl -1924(%rbp), %eax
movl %eax, -1840(%rbp)
movb $0, -1836(%rbp)
leaq -1904(%rbp), %rdi
callq _start_decoder
cmpl $0, %eax
je LBB34_6
## %bb.3:
leaq -1904(%rbp), %rdi
callq _vorbis_alloc
movq %rax, -1952(%rbp)
cmpq $0, -1952(%rbp)
je LBB34_5
## %bb.4:
movq -1952(%rbp), %rdi
leaq -1904(%rbp), %rsi
movl $1896, %edx ## imm = 0x768
callq _memcpy
movq -1952(%rbp), %rdi
callq _vorbis_pump_first_frame
movq -1952(%rbp), %rax
movq %rax, -1912(%rbp)
jmp LBB34_9
LBB34_5:
jmp LBB34_6
LBB34_6:
cmpq $0, -1936(%rbp)
je LBB34_8
## %bb.7:
movl -1756(%rbp), %ecx
movq -1936(%rbp), %rax
movl %ecx, (%rax)
LBB34_8:
leaq -1904(%rbp), %rdi
callq _vorbis_deinit
movq $0, -1912(%rbp)
LBB34_9:
movq -1912(%rbp), %rax
movq %rax, -1960(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB34_11
## %bb.10:
movq -1960(%rbp), %rax ## 8-byte Reload
addq $1968, %rsp ## imm = 0x7B0
popq %rbp
retq
LBB34_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_frame_short ## -- Begin function stb_vorbis_get_frame_short
.p2align 4, 0x90
_stb_vorbis_get_frame_short: ## @stb_vorbis_get_frame_short
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq -8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -40(%rbp), %rdx
callq _stb_vorbis_get_frame_float
movl %eax, -44(%rbp)
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB35_2
## %bb.1:
movl -28(%rbp), %eax
movl %eax, -44(%rbp)
LBB35_2:
cmpl $0, -44(%rbp)
je LBB35_4
## %bb.3:
movl -12(%rbp), %edi
movq -24(%rbp), %rsi
movq -8(%rbp), %rax
movl 4(%rax), %ecx
movq -40(%rbp), %r8
movl -44(%rbp), %eax
xorl %r9d, %r9d
movl %r9d, %edx
movl %eax, (%rsp)
callq _convert_samples_short
LBB35_4:
movl -44(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function convert_samples_short
_convert_samples_short: ## @convert_samples_short
.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 16(%rbp), %eax
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movq %r8, -32(%rbp)
movl %r9d, -36(%rbp)
movl -4(%rbp), %eax
cmpl -24(%rbp), %eax
je LBB36_8
## %bb.1:
cmpl $2, -4(%rbp)
jg LBB36_8
## %bb.2:
cmpl $6, -24(%rbp)
jg LBB36_8
## %bb.3:
movl $0, -40(%rbp)
LBB36_4: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB36_7
## %bb.5: ## in Loop: Header=BB36_4 Depth=1
movslq -4(%rbp), %rcx
leaq _convert_samples_short.channel_selector(%rip), %rax
shlq $3, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %edi
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movslq -20(%rbp), %rax
shlq $1, %rax
addq %rax, %rsi
movl -24(%rbp), %edx
movq -32(%rbp), %rcx
movl -36(%rbp), %r8d
movl 16(%rbp), %r9d
callq _compute_samples
## %bb.6: ## in Loop: Header=BB36_4 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB36_4
LBB36_7:
jmp LBB36_20
LBB36_8:
movl -4(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB36_10
## %bb.9:
movl -4(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB36_11
LBB36_10:
movl -24(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
LBB36_11:
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, -44(%rbp)
movl $0, -40(%rbp)
LBB36_12: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB36_15
## %bb.13: ## in Loop: Header=BB36_12 Depth=1
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -20(%rbp), %rax
shlq $1, %rax
addq %rax, %rdi
movq -32(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movslq -36(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
movl 16(%rbp), %edx
callq _copy_samples
## %bb.14: ## in Loop: Header=BB36_12 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB36_12
LBB36_15:
jmp LBB36_16
LBB36_16: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB36_19
## %bb.17: ## in Loop: Header=BB36_16 Depth=1
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -20(%rbp), %rax
shlq $1, %rax
addq %rax, %rdi
movslq 16(%rbp), %rdx
shlq $1, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
## %bb.18: ## in Loop: Header=BB36_16 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB36_16
LBB36_19:
jmp LBB36_20
LBB36_20:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_frame_short_interleaved ## -- Begin function stb_vorbis_get_frame_short_interleaved
.p2align 4, 0x90
_stb_vorbis_get_frame_short_interleaved: ## @stb_vorbis_get_frame_short_interleaved
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
cmpl $1, -20(%rbp)
jne LBB37_2
## %bb.1:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -36(%rbp), %ecx
leaq -32(%rbp), %rdx
callq _stb_vorbis_get_frame_short
movl %eax, -4(%rbp)
jmp LBB37_7
LBB37_2:
movq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -48(%rbp), %rdx
callq _stb_vorbis_get_frame_float
movl %eax, -52(%rbp)
cmpl $0, -52(%rbp)
je LBB37_6
## %bb.3:
movl -52(%rbp), %eax
imull -20(%rbp), %eax
cmpl -36(%rbp), %eax
jle LBB37_5
## %bb.4:
movl -36(%rbp), %eax
cltd
idivl -20(%rbp)
movl %eax, -52(%rbp)
LBB37_5:
movl -20(%rbp), %edi
movq -32(%rbp), %rsi
movq -16(%rbp), %rax
movl 4(%rax), %edx
movq -48(%rbp), %rcx
movl -52(%rbp), %r9d
xorl %r8d, %r8d
callq _convert_channels_short_interleaved
LBB37_6:
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
LBB37_7:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function convert_channels_short_interleaved
LCPI38_0:
.long 0x43c00000 ## float 384
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_convert_channels_short_interleaved: ## @convert_channels_short_interleaved
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq %rcx, -32(%rbp)
movl %r8d, -36(%rbp)
movl %r9d, -40(%rbp)
movl -4(%rbp), %eax
cmpl -20(%rbp), %eax
je LBB38_11
## %bb.1:
cmpl $2, -4(%rbp)
jg LBB38_11
## %bb.2:
cmpl $6, -20(%rbp)
jg LBB38_11
## %bb.3:
cmpl $2, -4(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB38_5
## %bb.4:
leaq L___func__.convert_channels_short_interleaved(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.24(%rip), %rcx
movl $5205, %edx ## imm = 0x1455
callq ___assert_rtn
LBB38_5:
jmp LBB38_6
LBB38_6:
movl $0, -44(%rbp)
LBB38_7: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB38_10
## %bb.8: ## in Loop: Header=BB38_7 Depth=1
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -32(%rbp), %rdx
movl -36(%rbp), %ecx
movl -40(%rbp), %r8d
callq _compute_stereo_samples
## %bb.9: ## in Loop: Header=BB38_7 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB38_7
LBB38_10:
jmp LBB38_29
LBB38_11:
movl -4(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB38_13
## %bb.12:
movl -4(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
jmp LBB38_14
LBB38_13:
movl -20(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
LBB38_14:
movl -68(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl $0, -52(%rbp)
LBB38_15: ## =>This Loop Header: Depth=1
## Child Loop BB38_17 Depth 2
## Child Loop BB38_23 Depth 2
movl -52(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB38_28
## %bb.16: ## in Loop: Header=BB38_15 Depth=1
movl $0, -44(%rbp)
LBB38_17: ## Parent Loop BB38_15 Depth=1
## => This Inner Loop Header: Depth=2
movl -44(%rbp), %eax
cmpl -48(%rbp), %eax
jge LBB38_22
## %bb.18: ## in Loop: Header=BB38_17 Depth=2
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -36(%rbp), %ecx
addl -52(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -60(%rbp)
movss LCPI38_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -60(%rbp), %xmm0
movss %xmm0, -56(%rbp)
movl -56(%rbp), %eax
subl $1136656384, %eax ## imm = 0x43C00000
movl %eax, -64(%rbp)
movl -64(%rbp), %eax
addl $32768, %eax ## imm = 0x8000
cmpl $65535, %eax ## imm = 0xFFFF
jbe LBB38_20
## %bb.19: ## in Loop: Header=BB38_17 Depth=2
movl -64(%rbp), %edx
movl $32767, %eax ## imm = 0x7FFF
movl $4294934528, %ecx ## imm = 0xFFFF8000
cmpl $0, %edx
cmovll %ecx, %eax
movl %eax, -64(%rbp)
LBB38_20: ## in Loop: Header=BB38_17 Depth=2
movl -64(%rbp), %eax
movw %ax, %cx
movq -16(%rbp), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, -16(%rbp)
movw %cx, (%rax)
## %bb.21: ## in Loop: Header=BB38_17 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB38_17
LBB38_22: ## in Loop: Header=BB38_15 Depth=1
jmp LBB38_23
LBB38_23: ## Parent Loop BB38_15 Depth=1
## => This Inner Loop Header: Depth=2
movl -44(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB38_26
## %bb.24: ## in Loop: Header=BB38_23 Depth=2
movq -16(%rbp), %rax
movq %rax, %rcx
addq $2, %rcx
movq %rcx, -16(%rbp)
movw $0, (%rax)
## %bb.25: ## in Loop: Header=BB38_23 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB38_23
LBB38_26: ## in Loop: Header=BB38_15 Depth=1
jmp LBB38_27
LBB38_27: ## in Loop: Header=BB38_15 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB38_15
LBB38_28:
jmp LBB38_29
LBB38_29:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_samples_short_interleaved ## -- Begin function stb_vorbis_get_samples_short_interleaved
.p2align 4, 0x90
_stb_vorbis_get_samples_short_interleaved: ## @stb_vorbis_get_samples_short_interleaved
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl -28(%rbp), %eax
cltd
idivl -12(%rbp)
movl %eax, -44(%rbp)
movl $0, -48(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB39_2
## %bb.1:
movl -12(%rbp), %eax
movl %eax, -52(%rbp)
LBB39_2:
jmp LBB39_3
LBB39_3: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB39_13
## %bb.4: ## in Loop: Header=BB39_3 Depth=1
movq -8(%rbp), %rax
movl 1888(%rax), %eax
movq -8(%rbp), %rcx
subl 1884(%rcx), %eax
movl %eax, -56(%rbp)
movl -48(%rbp), %eax
addl -56(%rbp), %eax
cmpl -44(%rbp), %eax
jl LBB39_6
## %bb.5: ## in Loop: Header=BB39_3 Depth=1
movl -44(%rbp), %eax
subl -48(%rbp), %eax
movl %eax, -56(%rbp)
LBB39_6: ## in Loop: Header=BB39_3 Depth=1
cmpl $0, -56(%rbp)
je LBB39_8
## %bb.7: ## in Loop: Header=BB39_3 Depth=1
movl -12(%rbp), %edi
movq -24(%rbp), %rsi
movq -8(%rbp), %rax
movl 4(%rax), %edx
movq -8(%rbp), %rcx
addq $880, %rcx ## imm = 0x370
movq -8(%rbp), %rax
movl 1884(%rax), %r8d
movl -56(%rbp), %r9d
callq _convert_channels_short_interleaved
LBB39_8: ## in Loop: Header=BB39_3 Depth=1
movl -56(%rbp), %ecx
imull -12(%rbp), %ecx
movq -24(%rbp), %rax
movslq %ecx, %rcx
shlq $1, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movl -56(%rbp), %eax
addl -48(%rbp), %eax
movl %eax, -48(%rbp)
movl -56(%rbp), %ecx
movq -8(%rbp), %rax
addl 1884(%rax), %ecx
movl %ecx, 1884(%rax)
movl -48(%rbp), %eax
cmpl -44(%rbp), %eax
jne LBB39_10
## %bb.9:
jmp LBB39_13
LBB39_10: ## in Loop: Header=BB39_3 Depth=1
movq -8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -40(%rbp), %rdx
callq _stb_vorbis_get_frame_float
cmpl $0, %eax
jne LBB39_12
## %bb.11:
jmp LBB39_13
LBB39_12: ## in Loop: Header=BB39_3 Depth=1
jmp LBB39_3
LBB39_13:
movl -48(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_samples_short ## -- Begin function stb_vorbis_get_samples_short
.p2align 4, 0x90
_stb_vorbis_get_samples_short: ## @stb_vorbis_get_samples_short
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl $0, -44(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -48(%rbp)
movl -48(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB40_2
## %bb.1:
movl -12(%rbp), %eax
movl %eax, -48(%rbp)
LBB40_2:
jmp LBB40_3
LBB40_3: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB40_13
## %bb.4: ## in Loop: Header=BB40_3 Depth=1
movq -8(%rbp), %rax
movl 1888(%rax), %eax
movq -8(%rbp), %rcx
subl 1884(%rcx), %eax
movl %eax, -52(%rbp)
movl -44(%rbp), %eax
addl -52(%rbp), %eax
cmpl -28(%rbp), %eax
jl LBB40_6
## %bb.5: ## in Loop: Header=BB40_3 Depth=1
movl -28(%rbp), %eax
subl -44(%rbp), %eax
movl %eax, -52(%rbp)
LBB40_6: ## in Loop: Header=BB40_3 Depth=1
cmpl $0, -52(%rbp)
je LBB40_8
## %bb.7: ## in Loop: Header=BB40_3 Depth=1
movl -12(%rbp), %edi
movq -24(%rbp), %rsi
movl -44(%rbp), %edx
movq -8(%rbp), %rax
movl 4(%rax), %ecx
movq -8(%rbp), %r8
addq $880, %r8 ## imm = 0x370
movq -8(%rbp), %rax
movl 1884(%rax), %r9d
movl -52(%rbp), %eax
movl %eax, (%rsp)
callq _convert_samples_short
LBB40_8: ## in Loop: Header=BB40_3 Depth=1
movl -52(%rbp), %eax
addl -44(%rbp), %eax
movl %eax, -44(%rbp)
movl -52(%rbp), %ecx
movq -8(%rbp), %rax
addl 1884(%rax), %ecx
movl %ecx, 1884(%rax)
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB40_10
## %bb.9:
jmp LBB40_13
LBB40_10: ## in Loop: Header=BB40_3 Depth=1
movq -8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -40(%rbp), %rdx
callq _stb_vorbis_get_frame_float
cmpl $0, %eax
jne LBB40_12
## %bb.11:
jmp LBB40_13
LBB40_12: ## in Loop: Header=BB40_3 Depth=1
jmp LBB40_3
LBB40_13:
movl -44(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_decode_filename ## -- Begin function stb_vorbis_decode_filename
.p2align 4, 0x90
_stb_vorbis_decode_filename: ## @stb_vorbis_decode_filename
.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 %rcx, -40(%rbp)
movq -16(%rbp), %rdi
leaq -60(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _stb_vorbis_open_filename
movq %rax, -80(%rbp)
cmpq $0, -80(%rbp)
jne LBB41_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB41_15
LBB41_2:
movq -80(%rbp), %rax
movl 4(%rax), %eax
shll $12, %eax
movl %eax, -56(%rbp)
movq -80(%rbp), %rax
movl 4(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
cmpq $0, -32(%rbp)
je LBB41_4
## %bb.3:
movq -80(%rbp), %rax
movl (%rax), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
LBB41_4:
movl $0, -44(%rbp)
movl $0, -48(%rbp)
movl -56(%rbp), %eax
movl %eax, -52(%rbp)
movslq -52(%rbp), %rdi
shlq $1, %rdi
callq _malloc
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
jne LBB41_6
## %bb.5:
movq -80(%rbp), %rdi
callq _stb_vorbis_close
movl $-2, -4(%rbp)
jmp LBB41_15
LBB41_6:
jmp LBB41_7
LBB41_7: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rdi
movq -80(%rbp), %rax
movl 4(%rax), %esi
movq -72(%rbp), %rdx
movslq -48(%rbp), %rax
shlq $1, %rax
addq %rax, %rdx
movl -52(%rbp), %ecx
subl -48(%rbp), %ecx
callq _stb_vorbis_get_frame_short_interleaved
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
jne LBB41_9
## %bb.8:
jmp LBB41_14
LBB41_9: ## in Loop: Header=BB41_7 Depth=1
movl -84(%rbp), %eax
addl -44(%rbp), %eax
movl %eax, -44(%rbp)
movl -84(%rbp), %eax
movq -80(%rbp), %rcx
imull 4(%rcx), %eax
addl -48(%rbp), %eax
movl %eax, -48(%rbp)
movl -48(%rbp), %eax
addl -56(%rbp), %eax
cmpl -52(%rbp), %eax
jle LBB41_13
## %bb.10: ## in Loop: Header=BB41_7 Depth=1
movl -52(%rbp), %eax
shll $1, %eax
movl %eax, -52(%rbp)
movq -72(%rbp), %rdi
movslq -52(%rbp), %rsi
shlq $1, %rsi
callq _realloc
movq %rax, -96(%rbp)
cmpq $0, -96(%rbp)
jne LBB41_12
## %bb.11:
movq -72(%rbp), %rdi
callq _free
movq -80(%rbp), %rdi
callq _stb_vorbis_close
movl $-2, -4(%rbp)
jmp LBB41_15
LBB41_12: ## in Loop: Header=BB41_7 Depth=1
movq -96(%rbp), %rax
movq %rax, -72(%rbp)
LBB41_13: ## in Loop: Header=BB41_7 Depth=1
jmp LBB41_7
LBB41_14:
movq -72(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, (%rax)
movq -80(%rbp), %rdi
callq _stb_vorbis_close
movl -44(%rbp), %eax
movl %eax, -4(%rbp)
LBB41_15:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_decode_memory ## -- Begin function stb_vorbis_decode_memory
.p2align 4, 0x90
_stb_vorbis_decode_memory: ## @stb_vorbis_decode_memory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
leaq -68(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq _stb_vorbis_open_memory
movq %rax, -88(%rbp)
cmpq $0, -88(%rbp)
jne LBB42_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB42_15
LBB42_2:
movq -88(%rbp), %rax
movl 4(%rax), %eax
shll $12, %eax
movl %eax, -64(%rbp)
movq -88(%rbp), %rax
movl 4(%rax), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
cmpq $0, -40(%rbp)
je LBB42_4
## %bb.3:
movq -88(%rbp), %rax
movl (%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
LBB42_4:
movl $0, -52(%rbp)
movl $0, -56(%rbp)
movl -64(%rbp), %eax
movl %eax, -60(%rbp)
movslq -60(%rbp), %rdi
shlq $1, %rdi
callq _malloc
movq %rax, -80(%rbp)
cmpq $0, -80(%rbp)
jne LBB42_6
## %bb.5:
movq -88(%rbp), %rdi
callq _stb_vorbis_close
movl $-2, -4(%rbp)
jmp LBB42_15
LBB42_6:
jmp LBB42_7
LBB42_7: ## =>This Inner Loop Header: Depth=1
movq -88(%rbp), %rdi
movq -88(%rbp), %rax
movl 4(%rax), %esi
movq -80(%rbp), %rdx
movslq -56(%rbp), %rax
shlq $1, %rax
addq %rax, %rdx
movl -60(%rbp), %ecx
subl -56(%rbp), %ecx
callq _stb_vorbis_get_frame_short_interleaved
movl %eax, -92(%rbp)
cmpl $0, -92(%rbp)
jne LBB42_9
## %bb.8:
jmp LBB42_14
LBB42_9: ## in Loop: Header=BB42_7 Depth=1
movl -92(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
movl -92(%rbp), %eax
movq -88(%rbp), %rcx
imull 4(%rcx), %eax
addl -56(%rbp), %eax
movl %eax, -56(%rbp)
movl -56(%rbp), %eax
addl -64(%rbp), %eax
cmpl -60(%rbp), %eax
jle LBB42_13
## %bb.10: ## in Loop: Header=BB42_7 Depth=1
movl -60(%rbp), %eax
shll $1, %eax
movl %eax, -60(%rbp)
movq -80(%rbp), %rdi
movslq -60(%rbp), %rsi
shlq $1, %rsi
callq _realloc
movq %rax, -104(%rbp)
cmpq $0, -104(%rbp)
jne LBB42_12
## %bb.11:
movq -80(%rbp), %rdi
callq _free
movq -88(%rbp), %rdi
callq _stb_vorbis_close
movl $-2, -4(%rbp)
jmp LBB42_15
LBB42_12: ## in Loop: Header=BB42_7 Depth=1
movq -104(%rbp), %rax
movq %rax, -80(%rbp)
LBB42_13: ## in Loop: Header=BB42_7 Depth=1
jmp LBB42_7
LBB42_14:
movq -80(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, (%rax)
movq -88(%rbp), %rdi
callq _stb_vorbis_close
movl -52(%rbp), %eax
movl %eax, -4(%rbp)
LBB42_15:
movl -4(%rbp), %eax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_samples_float_interleaved ## -- Begin function stb_vorbis_get_samples_float_interleaved
.p2align 4, 0x90
_stb_vorbis_get_samples_float_interleaved: ## @stb_vorbis_get_samples_float_interleaved
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl -28(%rbp), %eax
cltd
idivl -12(%rbp)
movl %eax, -44(%rbp)
movl $0, -48(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB43_2
## %bb.1:
movl -12(%rbp), %eax
movl %eax, -52(%rbp)
LBB43_2:
jmp LBB43_3
LBB43_3: ## =>This Loop Header: Depth=1
## Child Loop BB43_7 Depth 2
## Child Loop BB43_9 Depth 3
## Child Loop BB43_13 Depth 3
movl -48(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB43_23
## %bb.4: ## in Loop: Header=BB43_3 Depth=1
movq -8(%rbp), %rax
movl 1888(%rax), %eax
movq -8(%rbp), %rcx
subl 1884(%rcx), %eax
movl %eax, -64(%rbp)
movl -48(%rbp), %eax
addl -64(%rbp), %eax
cmpl -44(%rbp), %eax
jl LBB43_6
## %bb.5: ## in Loop: Header=BB43_3 Depth=1
movl -44(%rbp), %eax
subl -48(%rbp), %eax
movl %eax, -64(%rbp)
LBB43_6: ## in Loop: Header=BB43_3 Depth=1
movl $0, -60(%rbp)
LBB43_7: ## Parent Loop BB43_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB43_9 Depth 3
## Child Loop BB43_13 Depth 3
movl -60(%rbp), %eax
cmpl -64(%rbp), %eax
jge LBB43_18
## %bb.8: ## in Loop: Header=BB43_7 Depth=2
movl $0, -56(%rbp)
LBB43_9: ## Parent Loop BB43_3 Depth=1
## Parent Loop BB43_7 Depth=2
## => This Inner Loop Header: Depth=3
movl -56(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB43_12
## %bb.10: ## in Loop: Header=BB43_9 Depth=3
movq -8(%rbp), %rax
movslq -56(%rbp), %rcx
movq 880(%rax,%rcx,8), %rax
movq -8(%rbp), %rcx
movl 1884(%rcx), %ecx
addl -60(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -24(%rbp)
movss %xmm0, (%rax)
## %bb.11: ## in Loop: Header=BB43_9 Depth=3
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB43_9
LBB43_12: ## in Loop: Header=BB43_7 Depth=2
jmp LBB43_13
LBB43_13: ## Parent Loop BB43_3 Depth=1
## Parent Loop BB43_7 Depth=2
## => This Inner Loop Header: Depth=3
movl -56(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB43_16
## %bb.14: ## in Loop: Header=BB43_13 Depth=3
movq -24(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -24(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, (%rax)
## %bb.15: ## in Loop: Header=BB43_13 Depth=3
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB43_13
LBB43_16: ## in Loop: Header=BB43_7 Depth=2
jmp LBB43_17
LBB43_17: ## in Loop: Header=BB43_7 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB43_7
LBB43_18: ## in Loop: Header=BB43_3 Depth=1
movl -64(%rbp), %eax
addl -48(%rbp), %eax
movl %eax, -48(%rbp)
movl -64(%rbp), %ecx
movq -8(%rbp), %rax
addl 1884(%rax), %ecx
movl %ecx, 1884(%rax)
movl -48(%rbp), %eax
cmpl -44(%rbp), %eax
jne LBB43_20
## %bb.19:
jmp LBB43_23
LBB43_20: ## in Loop: Header=BB43_3 Depth=1
movq -8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -40(%rbp), %rdx
callq _stb_vorbis_get_frame_float
cmpl $0, %eax
jne LBB43_22
## %bb.21:
jmp LBB43_23
LBB43_22: ## in Loop: Header=BB43_3 Depth=1
jmp LBB43_3
LBB43_23:
movl -48(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stb_vorbis_get_samples_float ## -- Begin function stb_vorbis_get_samples_float
.p2align 4, 0x90
_stb_vorbis_get_samples_float: ## @stb_vorbis_get_samples_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 $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl $0, -44(%rbp)
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -48(%rbp)
movl -48(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB44_2
## %bb.1:
movl -12(%rbp), %eax
movl %eax, -48(%rbp)
LBB44_2:
jmp LBB44_3
LBB44_3: ## =>This Loop Header: Depth=1
## Child Loop BB44_8 Depth 2
## Child Loop BB44_12 Depth 2
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB44_21
## %bb.4: ## in Loop: Header=BB44_3 Depth=1
movq -8(%rbp), %rax
movl 1888(%rax), %eax
movq -8(%rbp), %rcx
subl 1884(%rcx), %eax
movl %eax, -56(%rbp)
movl -44(%rbp), %eax
addl -56(%rbp), %eax
cmpl -28(%rbp), %eax
jl LBB44_6
## %bb.5: ## in Loop: Header=BB44_3 Depth=1
movl -28(%rbp), %eax
subl -44(%rbp), %eax
movl %eax, -56(%rbp)
LBB44_6: ## in Loop: Header=BB44_3 Depth=1
cmpl $0, -56(%rbp)
je LBB44_16
## %bb.7: ## in Loop: Header=BB44_3 Depth=1
movl $0, -52(%rbp)
LBB44_8: ## Parent Loop BB44_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -52(%rbp), %eax
cmpl -48(%rbp), %eax
jge LBB44_11
## %bb.9: ## in Loop: Header=BB44_8 Depth=2
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -44(%rbp), %rax
shlq $2, %rax
addq %rax, %rdi
movq -8(%rbp), %rax
movslq -52(%rbp), %rcx
movq 880(%rax,%rcx,8), %rsi
movq -8(%rbp), %rax
movslq 1884(%rax), %rax
shlq $2, %rax
addq %rax, %rsi
movslq -56(%rbp), %rdx
shlq $2, %rdx
movq $-1, %rcx
callq ___memcpy_chk
## %bb.10: ## in Loop: Header=BB44_8 Depth=2
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB44_8
LBB44_11: ## in Loop: Header=BB44_3 Depth=1
jmp LBB44_12
LBB44_12: ## Parent Loop BB44_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB44_15
## %bb.13: ## in Loop: Header=BB44_12 Depth=2
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -44(%rbp), %rax
shlq $2, %rax
addq %rax, %rdi
movslq -56(%rbp), %rdx
shlq $2, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
## %bb.14: ## in Loop: Header=BB44_12 Depth=2
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB44_12
LBB44_15: ## in Loop: Header=BB44_3 Depth=1
jmp LBB44_16
LBB44_16: ## in Loop: Header=BB44_3 Depth=1
movl -56(%rbp), %eax
addl -44(%rbp), %eax
movl %eax, -44(%rbp)
movl -56(%rbp), %ecx
movq -8(%rbp), %rax
addl 1884(%rax), %ecx
movl %ecx, 1884(%rax)
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB44_18
## %bb.17:
jmp LBB44_21
LBB44_18: ## in Loop: Header=BB44_3 Depth=1
movq -8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -40(%rbp), %rdx
callq _stb_vorbis_get_frame_float
cmpl $0, %eax
jne LBB44_20
## %bb.19:
jmp LBB44_21
LBB44_20: ## in Loop: Header=BB44_3 Depth=1
jmp LBB44_3
LBB44_21:
movl -44(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function crc32_update
_crc32_update: ## @crc32_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %sil, %al
movl %edi, -4(%rbp)
movb %al, -5(%rbp)
movl -4(%rbp), %eax
shll $8, %eax
movzbl -5(%rbp), %ecx
movl -4(%rbp), %edx
shrl $24, %edx
xorl %edx, %ecx
movl %ecx, %ecx
movl %ecx, %edx
leaq _crc_table(%rip), %rcx
xorl (%rcx,%rdx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_decode_initial
_vorbis_decode_initial: ## @vorbis_decode_initial
.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 %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -16(%rbp), %rax
movl $0, 1888(%rax)
movq -16(%rbp), %rax
movl $0, 1884(%rax)
LBB46_1: ## =>This Loop Header: Depth=1
## Child Loop BB46_9 Depth 2
movq -16(%rbp), %rax
cmpl $0, 144(%rax)
je LBB46_3
## %bb.2:
movl $0, -4(%rbp)
jmp LBB46_33
LBB46_3: ## in Loop: Header=BB46_1 Depth=1
movq -16(%rbp), %rdi
callq _maybe_start_packet
cmpl $0, %eax
jne LBB46_5
## %bb.4:
movl $0, -4(%rbp)
jmp LBB46_33
LBB46_5: ## in Loop: Header=BB46_1 Depth=1
movq -16(%rbp), %rdi
movl $1, %esi
callq _get_bits
cmpl $0, %eax
je LBB46_12
## %bb.6: ## in Loop: Header=BB46_1 Depth=1
movq -16(%rbp), %rax
cmpb $0, 68(%rax)
je LBB46_8
## %bb.7:
movq -16(%rbp), %rdi
movl $35, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB46_33
LBB46_8: ## in Loop: Header=BB46_1 Depth=1
jmp LBB46_9
LBB46_9: ## Parent Loop BB46_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rdi
callq _get8_packet
movl %eax, %ecx
movl $4294967295, %eax ## imm = 0xFFFFFFFF
cmpl %ecx, %eax
je LBB46_11
## %bb.10: ## in Loop: Header=BB46_9 Depth=2
jmp LBB46_9
LBB46_11: ## in Loop: Header=BB46_1 Depth=1
jmp LBB46_1
LBB46_12:
movq -16(%rbp), %rax
cmpq $0, 120(%rax)
je LBB46_17
## %bb.13:
movq -16(%rbp), %rax
movl 128(%rax), %eax
movq -16(%rbp), %rcx
cmpl 140(%rcx), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB46_15
## %bb.14:
leaq L___func__.vorbis_decode_initial(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $3177, %edx ## imm = 0xC69
callq ___assert_rtn
LBB46_15:
jmp LBB46_16
LBB46_16:
jmp LBB46_17
LBB46_17:
movq -16(%rbp), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movl 488(%rax), %edi
subl $1, %edi
callq _ilog
movq -96(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _get_bits
movl %eax, -68(%rbp)
cmpl $-1, -68(%rbp)
jne LBB46_19
## %bb.18:
movl $0, -4(%rbp)
jmp LBB46_33
LBB46_19:
movl -68(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 488(%rcx), %eax
jl LBB46_21
## %bb.20:
movl $0, -4(%rbp)
jmp LBB46_33
LBB46_21:
movl -68(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
addq $492, %rax ## imm = 0x1EC
movslq -68(%rbp), %rcx
imulq $6, %rcx, %rcx
addq %rcx, %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
cmpb $0, (%rax)
je LBB46_23
## %bb.22:
movq -16(%rbp), %rax
movl 164(%rax), %eax
movl %eax, -72(%rbp)
movq -16(%rbp), %rdi
movl $1, %esi
callq _get_bits
movl %eax, -76(%rbp)
movq -16(%rbp), %rdi
movl $1, %esi
callq _get_bits
movl %eax, -80(%rbp)
jmp LBB46_24
LBB46_23:
movl $0, -80(%rbp)
movl $0, -76(%rbp)
movq -16(%rbp), %rax
movl 160(%rax), %eax
movl %eax, -72(%rbp)
LBB46_24:
movl -72(%rbp), %eax
sarl $1, %eax
movl %eax, -84(%rbp)
movq -64(%rbp), %rax
movzbl (%rax), %eax
cmpl $0, %eax
je LBB46_27
## %bb.25:
cmpl $0, -76(%rbp)
jne LBB46_27
## %bb.26:
movl -72(%rbp), %ecx
movq -16(%rbp), %rax
subl 160(%rax), %ecx
sarl $2, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movl -72(%rbp), %ecx
movq -16(%rbp), %rax
addl 160(%rax), %ecx
sarl $2, %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
jmp LBB46_28
LBB46_27:
movq -24(%rbp), %rax
movl $0, (%rax)
movl -84(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
LBB46_28:
movq -64(%rbp), %rax
movzbl (%rax), %eax
cmpl $0, %eax
je LBB46_31
## %bb.29:
cmpl $0, -80(%rbp)
jne LBB46_31
## %bb.30:
imull $3, -72(%rbp), %ecx
movq -16(%rbp), %rax
subl 160(%rax), %ecx
sarl $2, %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
imull $3, -72(%rbp), %ecx
movq -16(%rbp), %rax
addl 160(%rax), %ecx
sarl $2, %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
jmp LBB46_32
LBB46_31:
movl -84(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movl -72(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
LBB46_32:
movl $1, -4(%rbp)
LBB46_33:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_decode_packet_rest
_vorbis_decode_packet_rest: ## @vorbis_decode_packet_rest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $2992, %rsp ## imm = 0xBB0
movq 24(%rbp), %rax
movl 16(%rbp), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -2720(%rbp)
movq %rsi, -2728(%rbp)
movq %rdx, -2736(%rbp)
movl %ecx, -2740(%rbp)
movl %r8d, -2744(%rbp)
movl %r9d, -2748(%rbp)
movq -2720(%rbp), %rax
movq -2736(%rbp), %rcx
movzbl (%rcx), %ecx
## kill: def $rcx killed $ecx
movl 152(%rax,%rcx,4), %eax
movl %eax, -2776(%rbp)
movl -2776(%rbp), %eax
sarl $1, %eax
movl %eax, -2784(%rbp)
movq -2720(%rbp), %rax
movq 480(%rax), %rax
movq -2736(%rbp), %rcx
movzbl 1(%rcx), %ecx
## kill: def $rcx killed $ecx
imulq $48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -2760(%rbp)
movl -2776(%rbp), %eax
sarl $1, %eax
movl %eax, -2780(%rbp)
movl $0, -2764(%rbp)
LBB47_1: ## =>This Loop Header: Depth=1
## Child Loop BB47_6 Depth 2
## Child Loop BB47_19 Depth 3
## Child Loop BB47_39 Depth 2
## Child Loop BB47_58 Depth 2
movl -2764(%rbp), %eax
movq -2720(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB47_69
## %bb.2: ## in Loop: Header=BB47_1 Depth=1
movq -2760(%rbp), %rax
movq 8(%rax), %rax
movslq -2764(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 2(%rax), %eax
movl %eax, -2788(%rbp)
movslq -2764(%rbp), %rax
movl $0, -1040(%rbp,%rax,4)
movq -2760(%rbp), %rax
movslq -2788(%rbp), %rcx
movzbl 17(%rax,%rcx), %eax
movl %eax, -2792(%rbp)
movq -2720(%rbp), %rax
movslq -2792(%rbp), %rcx
movzwl 188(%rax,%rcx,2), %eax
cmpl $0, %eax
jne LBB47_4
## %bb.3:
movq -2720(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -2708(%rbp)
jmp LBB47_154
LBB47_4: ## in Loop: Header=BB47_1 Depth=1
movq -2720(%rbp), %rax
movq 320(%rax), %rax
movslq -2792(%rbp), %rcx
imulq $1596, %rcx, %rcx ## imm = 0x63C
addq %rcx, %rax
movq %rax, -2800(%rbp)
movq -2720(%rbp), %rdi
movl $1, %esi
callq _get_bits
cmpl $0, %eax
je LBB47_64
## %bb.5: ## in Loop: Header=BB47_1 Depth=1
movq -2800(%rbp), %rax
movzbl 1588(%rax), %eax
subl $1, %eax
movslq %eax, %rcx
leaq _vorbis_decode_packet_rest.range_list(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -2812(%rbp)
movl $2, -2816(%rbp)
movq -2720(%rbp), %rax
movslq -2764(%rbp), %rcx
movq 1272(%rax,%rcx,8), %rax
movq %rax, -2808(%rbp)
movq -2720(%rbp), %rax
movq %rax, -2968(%rbp) ## 8-byte Spill
movl -2812(%rbp), %edi
callq _ilog
movq -2968(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
subl $1, %esi
callq _get_bits
movw %ax, %cx
movq -2808(%rbp), %rax
movw %cx, (%rax)
movq -2720(%rbp), %rax
movq %rax, -2960(%rbp) ## 8-byte Spill
movl -2812(%rbp), %edi
callq _ilog
movq -2960(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
subl $1, %esi
callq _get_bits
movw %ax, %cx
movq -2808(%rbp), %rax
movw %cx, 2(%rax)
movl $0, -2768(%rbp)
LBB47_6: ## Parent Loop BB47_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB47_19 Depth 3
movl -2768(%rbp), %eax
movq -2800(%rbp), %rcx
movzbl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB47_36
## %bb.7: ## in Loop: Header=BB47_6 Depth=2
movq -2800(%rbp), %rax
movslq -2768(%rbp), %rcx
movzbl 1(%rax,%rcx), %eax
movl %eax, -2820(%rbp)
movq -2800(%rbp), %rax
movslq -2820(%rbp), %rcx
movzbl 33(%rax,%rcx), %eax
movl %eax, -2824(%rbp)
movq -2800(%rbp), %rax
movslq -2820(%rbp), %rcx
movzbl 49(%rax,%rcx), %eax
movl %eax, -2828(%rbp)
movl -2828(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
subl $1, %eax
movl %eax, -2832(%rbp)
movl $0, -2836(%rbp)
cmpl $0, -2828(%rbp)
je LBB47_18
## %bb.8: ## in Loop: Header=BB47_6 Depth=2
movq -2720(%rbp), %rax
movq 176(%rax), %rax
movq -2800(%rbp), %rcx
movslq -2820(%rbp), %rdx
movzbl 65(%rcx,%rdx), %ecx
movslq %ecx, %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -2848(%rbp)
movq -2720(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB47_10
## %bb.9: ## in Loop: Header=BB47_6 Depth=2
movq -2720(%rbp), %rdi
callq _prep_huffman
LBB47_10: ## in Loop: Header=BB47_6 Depth=2
movq -2720(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -2836(%rbp)
movq -2848(%rbp), %rax
movslq -2836(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -2836(%rbp)
cmpl $0, -2836(%rbp)
jl LBB47_14
## %bb.11: ## in Loop: Header=BB47_6 Depth=2
movq -2848(%rbp), %rax
movq 8(%rax), %rax
movslq -2836(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -2852(%rbp)
movl -2852(%rbp), %ecx
movq -2720(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -2852(%rbp), %edx
movq -2720(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -2720(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB47_13
## %bb.12: ## in Loop: Header=BB47_6 Depth=2
movq -2720(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -2836(%rbp)
LBB47_13: ## in Loop: Header=BB47_6 Depth=2
jmp LBB47_15
LBB47_14: ## in Loop: Header=BB47_6 Depth=2
movq -2720(%rbp), %rdi
movq -2848(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -2836(%rbp)
LBB47_15: ## in Loop: Header=BB47_6 Depth=2
movq -2848(%rbp), %rax
cmpb $0, 27(%rax)
je LBB47_17
## %bb.16: ## in Loop: Header=BB47_6 Depth=2
movq -2848(%rbp), %rax
movq 2104(%rax), %rax
movslq -2836(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -2836(%rbp)
LBB47_17: ## in Loop: Header=BB47_6 Depth=2
jmp LBB47_18
LBB47_18: ## in Loop: Header=BB47_6 Depth=2
movl $0, -2772(%rbp)
LBB47_19: ## Parent Loop BB47_1 Depth=1
## Parent Loop BB47_6 Depth=2
## => This Inner Loop Header: Depth=3
movl -2772(%rbp), %eax
cmpl -2824(%rbp), %eax
jge LBB47_34
## %bb.20: ## in Loop: Header=BB47_19 Depth=3
movq -2800(%rbp), %rax
addq $82, %rax
movslq -2820(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movl -2836(%rbp), %ecx
andl -2832(%rbp), %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -2856(%rbp)
movl -2836(%rbp), %eax
movl -2828(%rbp), %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
movl %eax, -2836(%rbp)
cmpl $0, -2856(%rbp)
jl LBB47_31
## %bb.21: ## in Loop: Header=BB47_19 Depth=3
movq -2720(%rbp), %rax
movq 176(%rax), %rax
movslq -2856(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -2872(%rbp)
movq -2720(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB47_23
## %bb.22: ## in Loop: Header=BB47_19 Depth=3
movq -2720(%rbp), %rdi
callq _prep_huffman
LBB47_23: ## in Loop: Header=BB47_19 Depth=3
movq -2720(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -2860(%rbp)
movq -2872(%rbp), %rax
movslq -2860(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -2860(%rbp)
cmpl $0, -2860(%rbp)
jl LBB47_27
## %bb.24: ## in Loop: Header=BB47_19 Depth=3
movq -2872(%rbp), %rax
movq 8(%rax), %rax
movslq -2860(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -2876(%rbp)
movl -2876(%rbp), %ecx
movq -2720(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -2876(%rbp), %edx
movq -2720(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -2720(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB47_26
## %bb.25: ## in Loop: Header=BB47_19 Depth=3
movq -2720(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -2860(%rbp)
LBB47_26: ## in Loop: Header=BB47_19 Depth=3
jmp LBB47_28
LBB47_27: ## in Loop: Header=BB47_19 Depth=3
movq -2720(%rbp), %rdi
movq -2872(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -2860(%rbp)
LBB47_28: ## in Loop: Header=BB47_19 Depth=3
movq -2872(%rbp), %rax
cmpb $0, 27(%rax)
je LBB47_30
## %bb.29: ## in Loop: Header=BB47_19 Depth=3
movq -2872(%rbp), %rax
movq 2104(%rax), %rax
movslq -2860(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -2860(%rbp)
LBB47_30: ## in Loop: Header=BB47_19 Depth=3
movl -2860(%rbp), %eax
movw %ax, %dx
movq -2808(%rbp), %rax
movl -2816(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -2816(%rbp)
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
jmp LBB47_32
LBB47_31: ## in Loop: Header=BB47_19 Depth=3
movq -2808(%rbp), %rax
movl -2816(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -2816(%rbp)
movslq %ecx, %rcx
movw $0, (%rax,%rcx,2)
LBB47_32: ## in Loop: Header=BB47_19 Depth=3
jmp LBB47_33
LBB47_33: ## in Loop: Header=BB47_19 Depth=3
movl -2772(%rbp), %eax
addl $1, %eax
movl %eax, -2772(%rbp)
jmp LBB47_19
LBB47_34: ## in Loop: Header=BB47_6 Depth=2
jmp LBB47_35
LBB47_35: ## in Loop: Header=BB47_6 Depth=2
movl -2768(%rbp), %eax
addl $1, %eax
movl %eax, -2768(%rbp)
jmp LBB47_6
LBB47_36: ## in Loop: Header=BB47_1 Depth=1
movq -2720(%rbp), %rax
cmpl $-1, 1776(%rax)
jne LBB47_38
## %bb.37: ## in Loop: Header=BB47_1 Depth=1
jmp LBB47_65
LBB47_38: ## in Loop: Header=BB47_1 Depth=1
movb $1, -2319(%rbp)
movb $1, -2320(%rbp)
movl $2, -2768(%rbp)
LBB47_39: ## Parent Loop BB47_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -2768(%rbp), %eax
movq -2800(%rbp), %rcx
cmpl 1592(%rcx), %eax
jge LBB47_57
## %bb.40: ## in Loop: Header=BB47_39 Depth=2
movq -2800(%rbp), %rax
movslq -2768(%rbp), %rcx
movzbl 1088(%rax,%rcx,2), %eax
movl %eax, -2880(%rbp)
movq -2800(%rbp), %rax
movslq -2768(%rbp), %rcx
movzbl 1089(%rax,%rcx,2), %eax
movl %eax, -2884(%rbp)
movq -2800(%rbp), %rax
movslq -2768(%rbp), %rcx
movzwl 338(%rax,%rcx,2), %edi
movq -2800(%rbp), %rax
movslq -2880(%rbp), %rcx
movzwl 338(%rax,%rcx,2), %esi
movq -2800(%rbp), %rax
movslq -2884(%rbp), %rcx
movzwl 338(%rax,%rcx,2), %edx
movq -2808(%rbp), %rax
movslq -2880(%rbp), %rcx
movswl (%rax,%rcx,2), %ecx
movq -2808(%rbp), %rax
movslq -2884(%rbp), %r8
movswl (%rax,%r8,2), %r8d
callq _predict_point
movl %eax, -2888(%rbp)
movq -2808(%rbp), %rax
movslq -2768(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -2904(%rbp)
movl -2812(%rbp), %eax
subl -2888(%rbp), %eax
movl %eax, -2892(%rbp)
movl -2888(%rbp), %eax
movl %eax, -2896(%rbp)
movl -2892(%rbp), %eax
cmpl -2896(%rbp), %eax
jge LBB47_42
## %bb.41: ## in Loop: Header=BB47_39 Depth=2
movl -2892(%rbp), %eax
shll $1, %eax
movl %eax, -2900(%rbp)
jmp LBB47_43
LBB47_42: ## in Loop: Header=BB47_39 Depth=2
movl -2896(%rbp), %eax
shll $1, %eax
movl %eax, -2900(%rbp)
LBB47_43: ## in Loop: Header=BB47_39 Depth=2
cmpl $0, -2904(%rbp)
je LBB47_54
## %bb.44: ## in Loop: Header=BB47_39 Depth=2
movslq -2884(%rbp), %rax
movb $1, -2320(%rbp,%rax)
movslq -2880(%rbp), %rax
movb $1, -2320(%rbp,%rax)
movslq -2768(%rbp), %rax
movb $1, -2320(%rbp,%rax)
movl -2904(%rbp), %eax
cmpl -2900(%rbp), %eax
jl LBB47_49
## %bb.45: ## in Loop: Header=BB47_39 Depth=2
movl -2892(%rbp), %eax
cmpl -2896(%rbp), %eax
jle LBB47_47
## %bb.46: ## in Loop: Header=BB47_39 Depth=2
movl -2904(%rbp), %eax
subl -2896(%rbp), %eax
addl -2888(%rbp), %eax
movw %ax, %dx
movq -2808(%rbp), %rax
movslq -2768(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
jmp LBB47_48
LBB47_47: ## in Loop: Header=BB47_39 Depth=2
movl -2888(%rbp), %eax
subl -2904(%rbp), %eax
addl -2892(%rbp), %eax
subl $1, %eax
movw %ax, %dx
movq -2808(%rbp), %rax
movslq -2768(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
LBB47_48: ## in Loop: Header=BB47_39 Depth=2
jmp LBB47_53
LBB47_49: ## in Loop: Header=BB47_39 Depth=2
movl -2904(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB47_51
## %bb.50: ## in Loop: Header=BB47_39 Depth=2
movl -2888(%rbp), %eax
movl -2904(%rbp), %ecx
addl $1, %ecx
sarl $1, %ecx
subl %ecx, %eax
movw %ax, %dx
movq -2808(%rbp), %rax
movslq -2768(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
jmp LBB47_52
LBB47_51: ## in Loop: Header=BB47_39 Depth=2
movl -2888(%rbp), %eax
movl -2904(%rbp), %ecx
sarl $1, %ecx
addl %ecx, %eax
movw %ax, %dx
movq -2808(%rbp), %rax
movslq -2768(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
LBB47_52: ## in Loop: Header=BB47_39 Depth=2
jmp LBB47_53
LBB47_53: ## in Loop: Header=BB47_39 Depth=2
jmp LBB47_55
LBB47_54: ## in Loop: Header=BB47_39 Depth=2
movslq -2768(%rbp), %rax
movb $0, -2320(%rbp,%rax)
movl -2888(%rbp), %eax
movw %ax, %dx
movq -2808(%rbp), %rax
movslq -2768(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
LBB47_55: ## in Loop: Header=BB47_39 Depth=2
jmp LBB47_56
LBB47_56: ## in Loop: Header=BB47_39 Depth=2
movl -2768(%rbp), %eax
addl $1, %eax
movl %eax, -2768(%rbp)
jmp LBB47_39
LBB47_57: ## in Loop: Header=BB47_1 Depth=1
movl $0, -2768(%rbp)
LBB47_58: ## Parent Loop BB47_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -2768(%rbp), %eax
movq -2800(%rbp), %rcx
cmpl 1592(%rcx), %eax
jge LBB47_63
## %bb.59: ## in Loop: Header=BB47_58 Depth=2
movslq -2768(%rbp), %rax
cmpb $0, -2320(%rbp,%rax)
jne LBB47_61
## %bb.60: ## in Loop: Header=BB47_58 Depth=2
movq -2808(%rbp), %rax
movslq -2768(%rbp), %rcx
movw $-1, (%rax,%rcx,2)
LBB47_61: ## in Loop: Header=BB47_58 Depth=2
jmp LBB47_62
LBB47_62: ## in Loop: Header=BB47_58 Depth=2
movl -2768(%rbp), %eax
addl $1, %eax
movl %eax, -2768(%rbp)
jmp LBB47_58
LBB47_63: ## in Loop: Header=BB47_1 Depth=1
jmp LBB47_66
LBB47_64: ## in Loop: Header=BB47_1 Depth=1
jmp LBB47_65
LBB47_65: ## in Loop: Header=BB47_1 Depth=1
movslq -2764(%rbp), %rax
movl $1, -1040(%rbp,%rax,4)
LBB47_66: ## in Loop: Header=BB47_1 Depth=1
jmp LBB47_67
LBB47_67: ## in Loop: Header=BB47_1 Depth=1
jmp LBB47_68
LBB47_68: ## in Loop: Header=BB47_1 Depth=1
movl -2764(%rbp), %eax
addl $1, %eax
movl %eax, -2764(%rbp)
jmp LBB47_1
LBB47_69:
movq -2720(%rbp), %rax
cmpq $0, 120(%rax)
je LBB47_74
## %bb.70:
movq -2720(%rbp), %rax
movl 128(%rax), %eax
movq -2720(%rbp), %rcx
cmpl 140(%rcx), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB47_72
## %bb.71:
leaq L___func__.vorbis_decode_packet_rest(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $3327, %edx ## imm = 0xCFF
callq ___assert_rtn
LBB47_72:
jmp LBB47_73
LBB47_73:
jmp LBB47_74
LBB47_74:
leaq -2064(%rbp), %rdi
leaq -1040(%rbp), %rsi
movq -2720(%rbp), %rax
movslq 4(%rax), %rdx
shlq $2, %rdx
movl $1024, %ecx ## imm = 0x400
callq ___memcpy_chk
movl $0, -2764(%rbp)
LBB47_75: ## =>This Inner Loop Header: Depth=1
movl -2764(%rbp), %eax
movq -2760(%rbp), %rcx
movzwl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB47_81
## %bb.76: ## in Loop: Header=BB47_75 Depth=1
movq -2760(%rbp), %rax
movq 8(%rax), %rax
movslq -2764(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
cmpl $0, -1040(%rbp,%rax,4)
je LBB47_78
## %bb.77: ## in Loop: Header=BB47_75 Depth=1
movq -2760(%rbp), %rax
movq 8(%rax), %rax
movslq -2764(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 1(%rax), %eax
## kill: def $rax killed $eax
cmpl $0, -1040(%rbp,%rax,4)
jne LBB47_79
LBB47_78: ## in Loop: Header=BB47_75 Depth=1
movq -2760(%rbp), %rax
movq 8(%rax), %rax
movslq -2764(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 1(%rax), %eax
## kill: def $rax killed $eax
movl $0, -1040(%rbp,%rax,4)
movq -2760(%rbp), %rax
movq 8(%rax), %rax
movslq -2764(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movl $0, -1040(%rbp,%rax,4)
LBB47_79: ## in Loop: Header=BB47_75 Depth=1
jmp LBB47_80
LBB47_80: ## in Loop: Header=BB47_75 Depth=1
movl -2764(%rbp), %eax
addl $1, %eax
movl %eax, -2764(%rbp)
jmp LBB47_75
LBB47_81:
movl $0, -2764(%rbp)
LBB47_82: ## =>This Loop Header: Depth=1
## Child Loop BB47_84 Depth 2
movl -2764(%rbp), %eax
movq -2760(%rbp), %rcx
movzbl 16(%rcx), %ecx
cmpl %ecx, %eax
jge LBB47_94
## %bb.83: ## in Loop: Header=BB47_82 Depth=1
movl $0, -2916(%rbp)
movl $0, -2768(%rbp)
LBB47_84: ## Parent Loop BB47_82 Depth=1
## => This Inner Loop Header: Depth=2
movl -2768(%rbp), %eax
movq -2720(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB47_92
## %bb.85: ## in Loop: Header=BB47_84 Depth=2
movq -2760(%rbp), %rax
movq 8(%rax), %rax
movslq -2768(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 2(%rax), %eax
cmpl -2764(%rbp), %eax
jne LBB47_90
## %bb.86: ## in Loop: Header=BB47_84 Depth=2
movslq -2768(%rbp), %rax
cmpl $0, -1040(%rbp,%rax,4)
je LBB47_88
## %bb.87: ## in Loop: Header=BB47_84 Depth=2
movslq -2916(%rbp), %rax
movb $1, -2704(%rbp,%rax)
movslq -2916(%rbp), %rax
movq $0, -2448(%rbp,%rax,8)
jmp LBB47_89
LBB47_88: ## in Loop: Header=BB47_84 Depth=2
movslq -2916(%rbp), %rax
movb $0, -2704(%rbp,%rax)
movq -2720(%rbp), %rax
movslq -2768(%rbp), %rcx
movq 880(%rax,%rcx,8), %rcx
movslq -2916(%rbp), %rax
movq %rcx, -2448(%rbp,%rax,8)
LBB47_89: ## in Loop: Header=BB47_84 Depth=2
movl -2916(%rbp), %eax
addl $1, %eax
movl %eax, -2916(%rbp)
LBB47_90: ## in Loop: Header=BB47_84 Depth=2
jmp LBB47_91
LBB47_91: ## in Loop: Header=BB47_84 Depth=2
movl -2768(%rbp), %eax
addl $1, %eax
movl %eax, -2768(%rbp)
jmp LBB47_84
LBB47_92: ## in Loop: Header=BB47_82 Depth=1
movq -2760(%rbp), %rax
movslq -2764(%rbp), %rcx
movzbl 32(%rax,%rcx), %eax
movl %eax, -2908(%rbp)
movq -2720(%rbp), %rax
movslq -2908(%rbp), %rcx
movzwl 332(%rax,%rcx,2), %eax
movl %eax, -2912(%rbp)
movq -2720(%rbp), %rdi
leaq -2448(%rbp), %rsi
movl -2916(%rbp), %edx
movl -2780(%rbp), %ecx
movl -2908(%rbp), %r8d
leaq -2704(%rbp), %r9
callq _decode_residue
## %bb.93: ## in Loop: Header=BB47_82 Depth=1
movl -2764(%rbp), %eax
addl $1, %eax
movl %eax, -2764(%rbp)
jmp LBB47_82
LBB47_94:
movq -2720(%rbp), %rax
cmpq $0, 120(%rax)
je LBB47_99
## %bb.95:
movq -2720(%rbp), %rax
movl 128(%rax), %eax
movq -2720(%rbp), %rcx
cmpl 140(%rcx), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB47_97
## %bb.96:
leaq L___func__.vorbis_decode_packet_rest(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $3360, %edx ## imm = 0xD20
callq ___assert_rtn
LBB47_97:
jmp LBB47_98
LBB47_98:
jmp LBB47_99
LBB47_99:
movq -2760(%rbp), %rax
movzwl (%rax), %eax
subl $1, %eax
movl %eax, -2764(%rbp)
LBB47_100: ## =>This Loop Header: Depth=1
## Child Loop BB47_102 Depth 2
cmpl $0, -2764(%rbp)
jl LBB47_116
## %bb.101: ## in Loop: Header=BB47_100 Depth=1
movl -2776(%rbp), %eax
sarl $1, %eax
movl %eax, -2920(%rbp)
movq -2720(%rbp), %rax
movq -2760(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -2764(%rbp), %rdx
imulq $3, %rdx, %rdx
addq %rdx, %rcx
movzbl (%rcx), %ecx
## kill: def $rcx killed $ecx
movq 880(%rax,%rcx,8), %rax
movq %rax, -2928(%rbp)
movq -2720(%rbp), %rax
movq -2760(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -2764(%rbp), %rdx
imulq $3, %rdx, %rdx
addq %rdx, %rcx
movzbl 1(%rcx), %ecx
## kill: def $rcx killed $ecx
movq 880(%rax,%rcx,8), %rax
movq %rax, -2936(%rbp)
movl $0, -2768(%rbp)
LBB47_102: ## Parent Loop BB47_100 Depth=1
## => This Inner Loop Header: Depth=2
movl -2768(%rbp), %eax
cmpl -2920(%rbp), %eax
jge LBB47_114
## %bb.103: ## in Loop: Header=BB47_102 Depth=2
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB47_108
## %bb.104: ## in Loop: Header=BB47_102 Depth=2
movq -2936(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB47_106
## %bb.105: ## in Loop: Header=BB47_102 Depth=2
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -2944(%rbp)
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -2936(%rbp), %rax
movslq -2768(%rbp), %rcx
subss (%rax,%rcx,4), %xmm0
movss %xmm0, -2940(%rbp)
jmp LBB47_107
LBB47_106: ## in Loop: Header=BB47_102 Depth=2
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -2940(%rbp)
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -2936(%rbp), %rax
movslq -2768(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -2944(%rbp)
LBB47_107: ## in Loop: Header=BB47_102 Depth=2
jmp LBB47_112
LBB47_108: ## in Loop: Header=BB47_102 Depth=2
movq -2936(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB47_110
## %bb.109: ## in Loop: Header=BB47_102 Depth=2
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -2944(%rbp)
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -2936(%rbp), %rax
movslq -2768(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -2940(%rbp)
jmp LBB47_111
LBB47_110: ## in Loop: Header=BB47_102 Depth=2
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -2940(%rbp)
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -2936(%rbp), %rax
movslq -2768(%rbp), %rcx
subss (%rax,%rcx,4), %xmm0
movss %xmm0, -2944(%rbp)
LBB47_111: ## in Loop: Header=BB47_102 Depth=2
jmp LBB47_112
LBB47_112: ## in Loop: Header=BB47_102 Depth=2
movss -2944(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -2928(%rbp), %rax
movslq -2768(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movss -2940(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -2936(%rbp), %rax
movslq -2768(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.113: ## in Loop: Header=BB47_102 Depth=2
movl -2768(%rbp), %eax
addl $1, %eax
movl %eax, -2768(%rbp)
jmp LBB47_102
LBB47_114: ## in Loop: Header=BB47_100 Depth=1
jmp LBB47_115
LBB47_115: ## in Loop: Header=BB47_100 Depth=1
movl -2764(%rbp), %eax
addl $-1, %eax
movl %eax, -2764(%rbp)
jmp LBB47_100
LBB47_116:
movl $0, -2764(%rbp)
LBB47_117: ## =>This Inner Loop Header: Depth=1
movl -2764(%rbp), %eax
movq -2720(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB47_123
## %bb.118: ## in Loop: Header=BB47_117 Depth=1
movslq -2764(%rbp), %rax
cmpl $0, -2064(%rbp,%rax,4)
je LBB47_120
## %bb.119: ## in Loop: Header=BB47_117 Depth=1
movq -2720(%rbp), %rax
movslq -2764(%rbp), %rcx
movq 880(%rax,%rcx,8), %rdi
movslq -2780(%rbp), %rdx
shlq $2, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
jmp LBB47_121
LBB47_120: ## in Loop: Header=BB47_117 Depth=1
movq -2720(%rbp), %rdi
movq -2760(%rbp), %rsi
movl -2764(%rbp), %edx
movl -2776(%rbp), %ecx
movq -2720(%rbp), %rax
movslq -2764(%rbp), %r8
movq 880(%rax,%r8,8), %r8
movq -2720(%rbp), %rax
movslq -2764(%rbp), %r9
movq 1272(%rax,%r9,8), %r9
xorl %eax, %eax
## kill: def $rax killed $eax
movq $0, (%rsp)
callq _do_floor
LBB47_121: ## in Loop: Header=BB47_117 Depth=1
jmp LBB47_122
LBB47_122: ## in Loop: Header=BB47_117 Depth=1
movl -2764(%rbp), %eax
addl $1, %eax
movl %eax, -2764(%rbp)
jmp LBB47_117
LBB47_123:
movl $0, -2764(%rbp)
LBB47_124: ## =>This Inner Loop Header: Depth=1
movl -2764(%rbp), %eax
movq -2720(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB47_127
## %bb.125: ## in Loop: Header=BB47_124 Depth=1
movq -2720(%rbp), %rax
movslq -2764(%rbp), %rcx
movq 880(%rax,%rcx,8), %rdi
movl -2776(%rbp), %esi
movq -2720(%rbp), %rdx
movq -2736(%rbp), %rax
movzbl (%rax), %ecx
callq _inverse_mdct
## %bb.126: ## in Loop: Header=BB47_124 Depth=1
movl -2764(%rbp), %eax
addl $1, %eax
movl %eax, -2764(%rbp)
jmp LBB47_124
LBB47_127:
movq -2720(%rbp), %rdi
callq _flush_packet
movq -2720(%rbp), %rax
cmpb $0, 1757(%rax)
je LBB47_129
## %bb.128:
xorl %ecx, %ecx
subl -2780(%rbp), %ecx
movq -2720(%rbp), %rax
movl %ecx, 1400(%rax)
movl -2776(%rbp), %ecx
subl 16(%rbp), %ecx
movq -2720(%rbp), %rax
movl %ecx, 1792(%rax)
movq -2720(%rbp), %rax
movl $1, 1404(%rax)
movq -2720(%rbp), %rax
movb $0, 1757(%rax)
jmp LBB47_136
LBB47_129:
movq -2720(%rbp), %rax
cmpl $0, 1792(%rax)
je LBB47_131
## %bb.130:
movq -2720(%rbp), %rax
movl 1792(%rax), %eax
addl -2740(%rbp), %eax
movl %eax, -2740(%rbp)
movl -2740(%rbp), %ecx
movq 24(%rbp), %rax
movl %ecx, (%rax)
movq -2720(%rbp), %rax
movl $0, 1792(%rax)
jmp LBB47_135
LBB47_131:
movq -2720(%rbp), %rax
cmpl $0, 1264(%rax)
jne LBB47_134
## %bb.132:
movq -2720(%rbp), %rax
cmpl $0, 1404(%rax)
je LBB47_134
## %bb.133:
jmp LBB47_134
LBB47_134:
jmp LBB47_135
LBB47_135:
jmp LBB47_136
LBB47_136:
movq -2720(%rbp), %rax
movl 1768(%rax), %eax
movq -2720(%rbp), %rcx
cmpl 1784(%rcx), %eax
jne LBB47_146
## %bb.137:
movq -2720(%rbp), %rax
cmpl $0, 1404(%rax)
je LBB47_145
## %bb.138:
movq -2720(%rbp), %rax
movzbl 1755(%rax), %eax
andl $4, %eax
cmpl $0, %eax
je LBB47_145
## %bb.139:
movq -2720(%rbp), %rax
movl 1788(%rax), %eax
movl -2776(%rbp), %ecx
subl 16(%rbp), %ecx
subl %ecx, %eax
movl %eax, -2948(%rbp)
movl -2948(%rbp), %eax
movq -2720(%rbp), %rcx
movl 1400(%rcx), %ecx
addl 16(%rbp), %ecx
cmpl %ecx, %eax
jae LBB47_144
## %bb.140:
movl -2948(%rbp), %eax
movq -2720(%rbp), %rcx
cmpl 1400(%rcx), %eax
jae LBB47_142
## %bb.141:
movq -2728(%rbp), %rax
movl $0, (%rax)
jmp LBB47_143
LBB47_142:
movl -2948(%rbp), %ecx
movq -2720(%rbp), %rax
subl 1400(%rax), %ecx
movq -2728(%rbp), %rax
movl %ecx, (%rax)
LBB47_143:
movl -2740(%rbp), %ecx
movq -2728(%rbp), %rax
addl (%rax), %ecx
movl %ecx, (%rax)
movq -2728(%rbp), %rax
movl (%rax), %ecx
movq -2720(%rbp), %rax
addl 1400(%rax), %ecx
movl %ecx, 1400(%rax)
movl $1, -2708(%rbp)
jmp LBB47_154
LBB47_144:
jmp LBB47_145
LBB47_145:
movq -2720(%rbp), %rax
movl 1788(%rax), %ecx
movl -2780(%rbp), %eax
subl -2740(%rbp), %eax
subl %eax, %ecx
movq -2720(%rbp), %rax
movl %ecx, 1400(%rax)
movq -2720(%rbp), %rax
movl $1, 1404(%rax)
LBB47_146:
movq -2720(%rbp), %rax
cmpl $0, 1404(%rax)
je LBB47_148
## %bb.147:
movl -2748(%rbp), %ecx
subl -2740(%rbp), %ecx
movq -2720(%rbp), %rax
addl 1400(%rax), %ecx
movl %ecx, 1400(%rax)
LBB47_148:
movq -2720(%rbp), %rax
cmpq $0, 120(%rax)
je LBB47_153
## %bb.149:
movq -2720(%rbp), %rax
movl 128(%rax), %eax
movq -2720(%rbp), %rcx
cmpl 140(%rcx), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB47_151
## %bb.150:
leaq L___func__.vorbis_decode_packet_rest(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $3469, %edx ## imm = 0xD8D
callq ___assert_rtn
LBB47_151:
jmp LBB47_152
LBB47_152:
jmp LBB47_153
LBB47_153:
movl 16(%rbp), %ecx
movq -2728(%rbp), %rax
movl %ecx, (%rax)
movl $1, -2708(%rbp)
LBB47_154:
movl -2708(%rbp), %eax
movl %eax, -2972(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB47_156
## %bb.155:
movl -2972(%rbp), %eax ## 4-byte Reload
addq $2992, %rsp ## imm = 0xBB0
popq %rbp
retq
LBB47_156:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function maybe_start_packet
_maybe_start_packet: ## @maybe_start_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpl $-1, 1760(%rax)
jne LBB48_16
## %bb.1:
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
cmpl $0, 144(%rax)
je LBB48_3
## %bb.2:
movl $0, -4(%rbp)
jmp LBB48_17
LBB48_3:
movl $79, %eax
cmpl -20(%rbp), %eax
je LBB48_5
## %bb.4:
movq -16(%rbp), %rdi
movl $30, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB48_17
LBB48_5:
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movl $103, %eax
cmpl %ecx, %eax
je LBB48_7
## %bb.6:
movq -16(%rbp), %rdi
movl $30, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB48_17
LBB48_7:
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movl $103, %eax
cmpl %ecx, %eax
je LBB48_9
## %bb.8:
movq -16(%rbp), %rdi
movl $30, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB48_17
LBB48_9:
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movl $83, %eax
cmpl %ecx, %eax
je LBB48_11
## %bb.10:
movq -16(%rbp), %rdi
movl $30, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB48_17
LBB48_11:
movq -16(%rbp), %rdi
callq _start_page_no_capturepattern
cmpl $0, %eax
jne LBB48_13
## %bb.12:
movl $0, -4(%rbp)
jmp LBB48_17
LBB48_13:
movq -16(%rbp), %rax
movzbl 1755(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB48_15
## %bb.14:
movq -16(%rbp), %rax
movl $0, 1764(%rax)
movq -16(%rbp), %rax
movb $0, 1756(%rax)
movq -16(%rbp), %rdi
movl $32, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB48_17
LBB48_15:
jmp LBB48_16
LBB48_16:
movq -16(%rbp), %rdi
callq _start_packet
movl %eax, -4(%rbp)
LBB48_17:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get_bits
_get_bits: ## @get_bits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB49_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB49_16
LBB49_2:
movq -16(%rbp), %rax
movl 1776(%rax), %eax
cmpl -20(%rbp), %eax
jge LBB49_13
## %bb.3:
cmpl $24, -20(%rbp)
jle LBB49_5
## %bb.4:
movq -16(%rbp), %rdi
movl $24, %esi
callq _get_bits
movl %eax, -24(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
subl $24, %esi
callq _get_bits
shll $24, %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB49_16
LBB49_5:
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jne LBB49_7
## %bb.6:
movq -16(%rbp), %rax
movl $0, 1772(%rax)
LBB49_7:
jmp LBB49_8
LBB49_8: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movl 1776(%rax), %eax
cmpl -20(%rbp), %eax
jge LBB49_12
## %bb.9: ## in Loop: Header=BB49_8 Depth=1
movq -16(%rbp), %rdi
callq _get8_packet_raw
movl %eax, -28(%rbp)
cmpl $-1, -28(%rbp)
jne LBB49_11
## %bb.10:
movq -16(%rbp), %rax
movl $-1, 1776(%rax)
movl $0, -4(%rbp)
jmp LBB49_16
LBB49_11: ## in Loop: Header=BB49_8 Depth=1
movl -28(%rbp), %eax
movq -16(%rbp), %rcx
movl 1776(%rcx), %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movq -16(%rbp), %rax
addl 1772(%rax), %ecx
movl %ecx, 1772(%rax)
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
addl $8, %ecx
movl %ecx, 1776(%rax)
jmp LBB49_8
LBB49_12:
jmp LBB49_13
LBB49_13:
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB49_15
## %bb.14:
movl $0, -4(%rbp)
jmp LBB49_16
LBB49_15:
movq -16(%rbp), %rax
movl 1772(%rax), %eax
movl -20(%rbp), %ecx
movl $1, %edx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
subl $1, %ecx
andl %ecx, %eax
movl %eax, -24(%rbp)
movl -20(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -20(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
LBB49_16:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function ilog
_ilog: ## @ilog
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
cmpl $16384, -8(%rbp) ## imm = 0x4000
jae LBB50_6
## %bb.1:
cmpl $16, -8(%rbp)
jae LBB50_3
## %bb.2:
movslq -8(%rbp), %rcx
leaq _ilog.log2_4(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $0, %eax
movl %eax, -4(%rbp)
jmp LBB50_15
LBB50_3:
cmpl $512, -8(%rbp) ## imm = 0x200
jae LBB50_5
## %bb.4:
movl -8(%rbp), %eax
sarl $5, %eax
movslq %eax, %rcx
leaq _ilog.log2_4(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $5, %eax
movl %eax, -4(%rbp)
jmp LBB50_15
LBB50_5:
movl -8(%rbp), %eax
sarl $10, %eax
movslq %eax, %rcx
leaq _ilog.log2_4(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $10, %eax
movl %eax, -4(%rbp)
jmp LBB50_15
LBB50_6:
cmpl $16777216, -8(%rbp) ## imm = 0x1000000
jae LBB50_10
## %bb.7:
cmpl $524288, -8(%rbp) ## imm = 0x80000
jae LBB50_9
## %bb.8:
movl -8(%rbp), %eax
sarl $15, %eax
movslq %eax, %rcx
leaq _ilog.log2_4(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $15, %eax
movl %eax, -4(%rbp)
jmp LBB50_15
LBB50_9:
movl -8(%rbp), %eax
sarl $20, %eax
movslq %eax, %rcx
leaq _ilog.log2_4(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $20, %eax
movl %eax, -4(%rbp)
jmp LBB50_15
LBB50_10:
cmpl $536870912, -8(%rbp) ## imm = 0x20000000
jae LBB50_12
## %bb.11:
movl -8(%rbp), %eax
sarl $25, %eax
movslq %eax, %rcx
leaq _ilog.log2_4(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $25, %eax
movl %eax, -4(%rbp)
jmp LBB50_15
LBB50_12:
cmpl $-2147483648, -8(%rbp) ## imm = 0x80000000
jae LBB50_14
## %bb.13:
movl -8(%rbp), %eax
sarl $30, %eax
movslq %eax, %rcx
leaq _ilog.log2_4(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $30, %eax
movl %eax, -4(%rbp)
jmp LBB50_15
LBB50_14:
movl $0, -4(%rbp)
LBB50_15:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get8
_get8: ## @get8
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpq $0, 40(%rax)
je LBB51_4
## %bb.1:
movq -16(%rbp), %rax
movq 40(%rax), %rax
movq -16(%rbp), %rcx
cmpq 56(%rcx), %rax
jb LBB51_3
## %bb.2:
movq -16(%rbp), %rax
movl $1, 144(%rax)
movb $0, -1(%rbp)
jmp LBB51_7
LBB51_3:
movq -16(%rbp), %rcx
movq 40(%rcx), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, 40(%rcx)
movb (%rax), %al
movb %al, -1(%rbp)
jmp LBB51_7
LBB51_4:
movq -16(%rbp), %rax
movq 24(%rax), %rdi
callq _fgetc
movl %eax, -20(%rbp)
cmpl $-1, -20(%rbp)
jne LBB51_6
## %bb.5:
movq -16(%rbp), %rax
movl $1, 144(%rax)
movb $0, -1(%rbp)
jmp LBB51_7
LBB51_6:
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -1(%rbp)
LBB51_7:
movzbl -1(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function start_page_no_capturepattern
_start_page_no_capturepattern: ## @start_page_no_capturepattern
.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 _get8
movzbl %al, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB52_2
## %bb.1:
movq -16(%rbp), %rdi
movl $31, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB52_22
LBB52_2:
movq -16(%rbp), %rdi
callq _get8
movb %al, %cl
movq -16(%rbp), %rax
movb %cl, 1755(%rax)
movq -16(%rbp), %rdi
callq _get32
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
callq _get32
movl %eax, -24(%rbp)
movq -16(%rbp), %rdi
callq _get32
movq -16(%rbp), %rdi
callq _get32
movl %eax, -28(%rbp)
movl -28(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1492(%rax)
movq -16(%rbp), %rdi
callq _get32
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movq -16(%rbp), %rax
movl %ecx, 1496(%rax)
movq -16(%rbp), %rdi
movq -16(%rbp), %rsi
addq $1500, %rsi ## imm = 0x5DC
movq -16(%rbp), %rax
movl 1496(%rax), %edx
callq _getn
cmpl $0, %eax
jne LBB52_4
## %bb.3:
movq -16(%rbp), %rdi
movl $10, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB52_22
LBB52_4:
movq -16(%rbp), %rax
movl $-2, 1784(%rax)
cmpl $-1, -20(%rbp)
jne LBB52_6
## %bb.5:
cmpl $-1, -24(%rbp)
je LBB52_15
LBB52_6:
movq -16(%rbp), %rax
movl 1496(%rax), %eax
subl $1, %eax
movl %eax, -32(%rbp)
LBB52_7: ## =>This Inner Loop Header: Depth=1
cmpl $0, -32(%rbp)
jl LBB52_12
## %bb.8: ## in Loop: Header=BB52_7 Depth=1
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movzbl 1500(%rax,%rcx), %eax
cmpl $255, %eax
jge LBB52_10
## %bb.9:
jmp LBB52_12
LBB52_10: ## in Loop: Header=BB52_7 Depth=1
jmp LBB52_11
LBB52_11: ## in Loop: Header=BB52_7 Depth=1
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
jmp LBB52_7
LBB52_12:
cmpl $0, -32(%rbp)
jl LBB52_14
## %bb.13:
movl -32(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1784(%rax)
movl -20(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1788(%rax)
LBB52_14:
jmp LBB52_15
LBB52_15:
movq -16(%rbp), %rax
cmpb $0, 1757(%rax)
je LBB52_21
## %bb.16:
movl $0, -40(%rbp)
movl $0, -36(%rbp)
LBB52_17: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 1496(%rcx), %eax
jge LBB52_20
## %bb.18: ## in Loop: Header=BB52_17 Depth=1
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movzbl 1500(%rax,%rcx), %eax
addl -40(%rbp), %eax
movl %eax, -40(%rbp)
## %bb.19: ## in Loop: Header=BB52_17 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB52_17
LBB52_20:
movq -16(%rbp), %rax
movl 1496(%rax), %eax
addl $27, %eax
addl -40(%rbp), %eax
movl %eax, -40(%rbp)
movq -16(%rbp), %rax
movl 72(%rax), %eax
movl %eax, -64(%rbp)
movl -64(%rbp), %eax
addl -40(%rbp), %eax
movl %eax, -60(%rbp)
movl -64(%rbp), %eax
movl %eax, -56(%rbp)
movl $0, -52(%rbp)
movl -20(%rbp), %eax
movl %eax, -48(%rbp)
movq -16(%rbp), %rax
movq -64(%rbp), %rcx
movq %rcx, 76(%rax)
movq -56(%rbp), %rcx
movq %rcx, 84(%rax)
movl -48(%rbp), %ecx
movl %ecx, 92(%rax)
LBB52_21:
movq -16(%rbp), %rax
movl $0, 1760(%rax)
movl $1, -4(%rbp)
LBB52_22:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function start_packet
_start_packet: ## @start_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
LBB53_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpl $-1, 1760(%rax)
jne LBB53_7
## %bb.2: ## in Loop: Header=BB53_1 Depth=1
movq -16(%rbp), %rdi
callq _start_page
cmpl $0, %eax
jne LBB53_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB53_8
LBB53_4: ## in Loop: Header=BB53_1 Depth=1
movq -16(%rbp), %rax
movzbl 1755(%rax), %eax
andl $1, %eax
cmpl $0, %eax
je LBB53_6
## %bb.5:
movq -16(%rbp), %rdi
movl $32, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB53_8
LBB53_6: ## in Loop: Header=BB53_1 Depth=1
jmp LBB53_1
LBB53_7:
movq -16(%rbp), %rax
movl $0, 1764(%rax)
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movq -16(%rbp), %rax
movl $0, 1780(%rax)
movq -16(%rbp), %rax
movb $0, 1756(%rax)
movl $1, -4(%rbp)
LBB53_8:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function start_page
_start_page: ## @start_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _capture_pattern
cmpl $0, %eax
jne LBB54_2
## %bb.1:
movq -16(%rbp), %rdi
movl $30, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB54_3
LBB54_2:
movq -16(%rbp), %rdi
callq _start_page_no_capturepattern
movl %eax, -4(%rbp)
LBB54_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function capture_pattern
_capture_pattern: ## @capture_pattern
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movl $79, %eax
cmpl %ecx, %eax
je LBB55_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB55_9
LBB55_2:
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movl $103, %eax
cmpl %ecx, %eax
je LBB55_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB55_9
LBB55_4:
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movl $103, %eax
cmpl %ecx, %eax
je LBB55_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB55_9
LBB55_6:
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %ecx
movl $83, %eax
cmpl %ecx, %eax
je LBB55_8
## %bb.7:
movl $0, -4(%rbp)
jmp LBB55_9
LBB55_8:
movl $1, -4(%rbp)
LBB55_9:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get8_packet_raw
_get8_packet_raw: ## @get8_packet_raw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpb $0, 1756(%rax)
jne LBB56_7
## %bb.1:
movq -16(%rbp), %rax
cmpl $0, 1764(%rax)
je LBB56_3
## %bb.2:
movl $-1, -4(%rbp)
jmp LBB56_11
LBB56_3:
movq -16(%rbp), %rdi
callq _next_segment
cmpl $0, %eax
jne LBB56_5
## %bb.4:
movl $-1, -4(%rbp)
jmp LBB56_11
LBB56_5:
jmp LBB56_6
LBB56_6:
jmp LBB56_7
LBB56_7:
movq -16(%rbp), %rax
movzbl 1756(%rax), %eax
cmpl $0, %eax
setg %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB56_9
## %bb.8:
leaq L___func__.get8_packet_raw(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $1501, %edx ## imm = 0x5DD
callq ___assert_rtn
LBB56_9:
jmp LBB56_10
LBB56_10:
movq -16(%rbp), %rax
movb 1756(%rax), %cl
addb $-1, %cl
movb %cl, 1756(%rax)
movq -16(%rbp), %rax
movl 1780(%rax), %ecx
addl $1, %ecx
movl %ecx, 1780(%rax)
movq -16(%rbp), %rdi
callq _get8
movzbl %al, %eax
movl %eax, -4(%rbp)
LBB56_11:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function next_segment
_next_segment: ## @next_segment
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
cmpl $0, 1764(%rax)
je LBB57_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB57_16
LBB57_2:
movq -16(%rbp), %rax
cmpl $-1, 1760(%rax)
jne LBB57_8
## %bb.3:
movq -16(%rbp), %rax
movl 1496(%rax), %ecx
subl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, 1768(%rax)
movq -16(%rbp), %rdi
callq _start_page
cmpl $0, %eax
jne LBB57_5
## %bb.4:
movq -16(%rbp), %rax
movl $1, 1764(%rax)
movl $0, -4(%rbp)
jmp LBB57_16
LBB57_5:
movq -16(%rbp), %rax
movzbl 1755(%rax), %eax
andl $1, %eax
cmpl $0, %eax
jne LBB57_7
## %bb.6:
movq -16(%rbp), %rdi
movl $32, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB57_16
LBB57_7:
jmp LBB57_8
LBB57_8:
movq -16(%rbp), %rax
movq -16(%rbp), %rdx
movl 1760(%rdx), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, 1760(%rdx)
movslq %ecx, %rcx
movzbl 1500(%rax,%rcx), %eax
movl %eax, -20(%rbp)
cmpl $255, -20(%rbp)
jge LBB57_10
## %bb.9:
movq -16(%rbp), %rax
movl $1, 1764(%rax)
movq -16(%rbp), %rax
movl 1760(%rax), %ecx
subl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, 1768(%rax)
LBB57_10:
movq -16(%rbp), %rax
movl 1760(%rax), %eax
movq -16(%rbp), %rcx
cmpl 1496(%rcx), %eax
jl LBB57_12
## %bb.11:
movq -16(%rbp), %rax
movl $-1, 1760(%rax)
LBB57_12:
movq -16(%rbp), %rax
movzbl 1756(%rax), %eax
cmpl $0, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB57_14
## %bb.13:
leaq L___func__.next_segment(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movl $1487, %edx ## imm = 0x5CF
callq ___assert_rtn
LBB57_14:
jmp LBB57_15
LBB57_15:
movl -20(%rbp), %eax
movb %al, %cl
movq -16(%rbp), %rax
movb %cl, 1756(%rax)
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB57_16:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function prep_huffman
_prep_huffman: ## @prep_huffman
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpl $24, 1776(%rax)
jg LBB58_12
## %bb.1:
movq -8(%rbp), %rax
cmpl $0, 1776(%rax)
jne LBB58_3
## %bb.2:
movq -8(%rbp), %rax
movl $0, 1772(%rax)
LBB58_3:
jmp LBB58_4
LBB58_4: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpl $0, 1764(%rax)
je LBB58_7
## %bb.5: ## in Loop: Header=BB58_4 Depth=1
movq -8(%rbp), %rax
cmpb $0, 1756(%rax)
jne LBB58_7
## %bb.6:
jmp LBB58_12
LBB58_7: ## in Loop: Header=BB58_4 Depth=1
movq -8(%rbp), %rdi
callq _get8_packet_raw
movl %eax, -12(%rbp)
cmpl $-1, -12(%rbp)
jne LBB58_9
## %bb.8:
jmp LBB58_12
LBB58_9: ## in Loop: Header=BB58_4 Depth=1
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movl 1776(%rcx), %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movq -8(%rbp), %rax
addl 1772(%rax), %ecx
movl %ecx, 1772(%rax)
movq -8(%rbp), %rax
movl 1776(%rax), %ecx
addl $8, %ecx
movl %ecx, 1776(%rax)
## %bb.10: ## in Loop: Header=BB58_4 Depth=1
movq -8(%rbp), %rax
cmpl $24, 1776(%rax)
jle LBB58_4
## %bb.11:
jmp LBB58_12
LBB58_12:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function codebook_decode_scalar_raw
_codebook_decode_scalar_raw: ## @codebook_decode_scalar_raw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
callq _prep_huffman
movq -24(%rbp), %rcx
movb $1, %al
cmpq $0, 2096(%rcx)
movb %al, -49(%rbp) ## 1-byte Spill
jne LBB59_2
## %bb.1:
movq -24(%rbp), %rax
cmpq $0, 40(%rax)
setne %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB59_2:
movb -49(%rbp), %al ## 1-byte Reload
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB59_4
## %bb.3:
leaq L___func__.codebook_decode_scalar_raw(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.5(%rip), %rcx
movl $1590, %edx ## imm = 0x636
callq ___assert_rtn
LBB59_4:
jmp LBB59_5
LBB59_5:
movq -24(%rbp), %rax
cmpl $8, 4(%rax)
jle LBB59_7
## %bb.6:
movq -24(%rbp), %rax
cmpq $0, 2096(%rax)
jne LBB59_8
jmp LBB59_19
LBB59_7:
movq -24(%rbp), %rax
cmpq $0, 40(%rax)
jne LBB59_19
LBB59_8:
movq -16(%rbp), %rax
movl 1772(%rax), %edi
callq _bit_reverse
movl %eax, -32(%rbp)
movl $0, -36(%rbp)
movq -24(%rbp), %rax
movl 2112(%rax), %eax
movl %eax, -40(%rbp)
LBB59_9: ## =>This Inner Loop Header: Depth=1
cmpl $1, -40(%rbp)
jle LBB59_14
## %bb.10: ## in Loop: Header=BB59_9 Depth=1
movl -36(%rbp), %eax
movl -40(%rbp), %ecx
sarl $1, %ecx
addl %ecx, %eax
movl %eax, -48(%rbp)
movq -24(%rbp), %rax
movq 2096(%rax), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -32(%rbp), %eax
ja LBB59_12
## %bb.11: ## in Loop: Header=BB59_9 Depth=1
movl -48(%rbp), %eax
movl %eax, -36(%rbp)
movl -40(%rbp), %ecx
sarl $1, %ecx
movl -40(%rbp), %eax
subl %ecx, %eax
movl %eax, -40(%rbp)
jmp LBB59_13
LBB59_12: ## in Loop: Header=BB59_9 Depth=1
movl -40(%rbp), %eax
sarl $1, %eax
movl %eax, -40(%rbp)
LBB59_13: ## in Loop: Header=BB59_9 Depth=1
jmp LBB59_9
LBB59_14:
movq -24(%rbp), %rax
cmpb $0, 27(%rax)
jne LBB59_16
## %bb.15:
movq -24(%rbp), %rax
movq 2104(%rax), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
LBB59_16:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -36(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -44(%rbp)
movq -16(%rbp), %rax
movl 1776(%rax), %eax
cmpl -44(%rbp), %eax
jl LBB59_18
## %bb.17:
movl -44(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -44(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB59_33
LBB59_18:
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -4(%rbp)
jmp LBB59_33
LBB59_19:
movq -24(%rbp), %rax
cmpb $0, 27(%rax)
setne %al
xorb $-1, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB59_21
## %bb.20:
leaq L___func__.codebook_decode_scalar_raw(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $1623, %edx ## imm = 0x657
callq ___assert_rtn
LBB59_21:
jmp LBB59_22
LBB59_22:
movl $0, -28(%rbp)
LBB59_23: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB59_32
## %bb.24: ## in Loop: Header=BB59_23 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $255, %eax
jne LBB59_26
## %bb.25: ## in Loop: Header=BB59_23 Depth=1
jmp LBB59_31
LBB59_26: ## in Loop: Header=BB59_23 Depth=1
movq -24(%rbp), %rax
movq 40(%rax), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
movl 1772(%rcx), %ecx
movl %ecx, -56(%rbp) ## 4-byte Spill
movq -24(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -28(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl $1, %edx
## kill: def $cl killed $ecx
shll %cl, %edx
movl -56(%rbp), %ecx ## 4-byte Reload
subl $1, %edx
andl %edx, %ecx
cmpl %ecx, %eax
jne LBB59_30
## %bb.27:
movq -16(%rbp), %rax
movl 1776(%rax), %eax
movq -24(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -28(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jl LBB59_29
## %bb.28:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
movzbl (%rax,%rcx), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
movzbl (%rax,%rcx), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB59_33
LBB59_29:
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -4(%rbp)
jmp LBB59_33
LBB59_30: ## in Loop: Header=BB59_23 Depth=1
jmp LBB59_31
LBB59_31: ## in Loop: Header=BB59_23 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB59_23
LBB59_32:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -4(%rbp)
LBB59_33:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function predict_point
_predict_point: ## @predict_point
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl %r8d, -20(%rbp)
movl -20(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %eax
subl -8(%rbp), %eax
movl %eax, -28(%rbp)
movl -24(%rbp), %edi
callq _abs
movl -4(%rbp), %ecx
subl -8(%rbp), %ecx
imull %ecx, %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
cltd
idivl -28(%rbp)
movl %eax, -36(%rbp)
cmpl $0, -24(%rbp)
jge LBB60_2
## %bb.1:
movl -16(%rbp), %eax
subl -36(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
jmp LBB60_3
LBB60_2:
movl -16(%rbp), %eax
addl -36(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
LBB60_3:
movl -40(%rbp), %eax ## 4-byte Reload
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function decode_residue
_decode_residue: ## @decode_residue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $352, %rsp ## imm = 0x160
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 %ecx, -32(%rbp)
movl %r8d, -36(%rbp)
movq %r9, -48(%rbp)
movq -16(%rbp), %rax
movq 464(%rax), %rax
movslq -36(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -72(%rbp)
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movzwl 332(%rax,%rcx,2), %eax
movl %eax, -76(%rbp)
movq -72(%rbp), %rax
movzbl 13(%rax), %eax
movl %eax, -80(%rbp)
movq -16(%rbp), %rax
movq 176(%rax), %rax
movslq -80(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -84(%rbp)
movq -72(%rbp), %rax
movl 4(%rax), %eax
movq -72(%rbp), %rcx
subl (%rcx), %eax
movl %eax, -88(%rbp)
movl -88(%rbp), %eax
movq -72(%rbp), %rcx
xorl %edx, %edx
divl 8(%rcx)
movl %eax, -92(%rbp)
movq -16(%rbp), %rax
movl 140(%rax), %eax
movl %eax, -96(%rbp)
movq -16(%rbp), %rax
cmpq $0, 120(%rax)
je LBB61_2
## %bb.1:
movq -16(%rbp), %rdi
movq -16(%rbp), %rax
movslq 4(%rax), %rax
movslq -92(%rbp), %rcx
shlq $3, %rcx
addq $8, %rcx
imulq %rcx, %rax
movl %eax, %esi
callq _setup_temp_malloc
movq %rax, -344(%rbp) ## 8-byte Spill
jmp LBB61_3
LBB61_2:
movq -16(%rbp), %rax
movslq 4(%rax), %rax
movslq -92(%rbp), %rcx
leaq 8(,%rcx,8), %rcx
imulq %rcx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq %rax, -344(%rbp) ## 8-byte Spill
LBB61_3:
movq -344(%rbp), %rdi ## 8-byte Reload
movq -16(%rbp), %rax
movl 4(%rax), %esi
movslq -92(%rbp), %rax
shlq $3, %rax
movl %eax, %edx
callq _make_block_array
movq %rax, -104(%rbp)
movl $0, -52(%rbp)
LBB61_4: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB61_9
## %bb.5: ## in Loop: Header=BB61_4 Depth=1
movq -48(%rbp), %rax
movslq -52(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB61_7
## %bb.6: ## in Loop: Header=BB61_4 Depth=1
movq -24(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -32(%rbp), %rdx
shlq $2, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
LBB61_7: ## in Loop: Header=BB61_4 Depth=1
jmp LBB61_8
LBB61_8: ## in Loop: Header=BB61_4 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB61_4
LBB61_9:
cmpl $2, -76(%rbp)
jne LBB61_111
## %bb.10:
cmpl $1, -28(%rbp)
je LBB61_111
## %bb.11:
movl -28(%rbp), %eax
imull -32(%rbp), %eax
movl %eax, -108(%rbp)
movl $0, -56(%rbp)
LBB61_12: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB61_17
## %bb.13: ## in Loop: Header=BB61_12 Depth=1
movq -48(%rbp), %rax
movslq -56(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB61_15
## %bb.14:
jmp LBB61_17
LBB61_15: ## in Loop: Header=BB61_12 Depth=1
jmp LBB61_16
LBB61_16: ## in Loop: Header=BB61_12 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB61_12
LBB61_17:
movl -56(%rbp), %eax
cmpl -28(%rbp), %eax
jne LBB61_19
## %bb.18:
jmp LBB61_154
LBB61_19:
movl $0, -60(%rbp)
LBB61_20: ## =>This Loop Header: Depth=1
## Child Loop BB61_23 Depth 2
## Child Loop BB61_38 Depth 3
## Child Loop BB61_52 Depth 2
## Child Loop BB61_67 Depth 3
## Child Loop BB61_80 Depth 2
## Child Loop BB61_95 Depth 3
cmpl $8, -60(%rbp)
jge LBB61_110
## %bb.21: ## in Loop: Header=BB61_20 Depth=1
movl $0, -112(%rbp)
movl $0, -116(%rbp)
cmpl $2, -28(%rbp)
jne LBB61_50
## %bb.22: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_23
LBB61_23: ## Parent Loop BB61_20 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB61_38 Depth 3
movl -112(%rbp), %eax
cmpl -92(%rbp), %eax
jge LBB61_49
## %bb.24: ## in Loop: Header=BB61_23 Depth=2
movq -72(%rbp), %rax
movl (%rax), %eax
movl -112(%rbp), %ecx
movq -72(%rbp), %rdx
imull 8(%rdx), %ecx
addl %ecx, %eax
movl %eax, -120(%rbp)
movl -120(%rbp), %eax
andl $1, %eax
movl %eax, -124(%rbp)
movl -120(%rbp), %eax
sarl $1, %eax
movl %eax, -128(%rbp)
cmpl $0, -60(%rbp)
jne LBB61_37
## %bb.25: ## in Loop: Header=BB61_23 Depth=2
movq -16(%rbp), %rax
movq 176(%rax), %rax
movq -72(%rbp), %rcx
movzbl 13(%rcx), %ecx
movslq %ecx, %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -136(%rbp)
movq -16(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB61_27
## %bb.26: ## in Loop: Header=BB61_23 Depth=2
movq -16(%rbp), %rdi
callq _prep_huffman
LBB61_27: ## in Loop: Header=BB61_23 Depth=2
movq -16(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -140(%rbp)
movq -136(%rbp), %rax
movslq -140(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -140(%rbp)
cmpl $0, -140(%rbp)
jl LBB61_31
## %bb.28: ## in Loop: Header=BB61_23 Depth=2
movq -136(%rbp), %rax
movq 8(%rax), %rax
movslq -140(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -144(%rbp)
movl -144(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -144(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB61_30
## %bb.29: ## in Loop: Header=BB61_23 Depth=2
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -140(%rbp)
LBB61_30: ## in Loop: Header=BB61_23 Depth=2
jmp LBB61_32
LBB61_31: ## in Loop: Header=BB61_23 Depth=2
movq -16(%rbp), %rdi
movq -136(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -140(%rbp)
LBB61_32: ## in Loop: Header=BB61_23 Depth=2
movq -136(%rbp), %rax
cmpb $0, 27(%rax)
je LBB61_34
## %bb.33: ## in Loop: Header=BB61_23 Depth=2
movq -136(%rbp), %rax
movq 2104(%rax), %rax
movslq -140(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -140(%rbp)
LBB61_34: ## in Loop: Header=BB61_23 Depth=2
cmpl $-1, -140(%rbp)
jne LBB61_36
## %bb.35:
jmp LBB61_154
LBB61_36: ## in Loop: Header=BB61_23 Depth=2
movq -72(%rbp), %rax
movq 16(%rax), %rax
movslq -140(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -104(%rbp), %rax
movq (%rax), %rax
movslq -116(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB61_37: ## in Loop: Header=BB61_23 Depth=2
movl $0, -52(%rbp)
LBB61_38: ## Parent Loop BB61_20 Depth=1
## Parent Loop BB61_23 Depth=2
## => This Inner Loop Header: Depth=3
movl -52(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -84(%rbp), %ecx
movb %al, -345(%rbp) ## 1-byte Spill
jge LBB61_40
## %bb.39: ## in Loop: Header=BB61_38 Depth=3
movl -112(%rbp), %eax
cmpl -92(%rbp), %eax
setl %al
movb %al, -345(%rbp) ## 1-byte Spill
LBB61_40: ## in Loop: Header=BB61_38 Depth=3
movb -345(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB61_41
jmp LBB61_48
LBB61_41: ## in Loop: Header=BB61_38 Depth=3
movq -72(%rbp), %rax
movl (%rax), %eax
movl -112(%rbp), %ecx
movq -72(%rbp), %rdx
imull 8(%rdx), %ecx
addl %ecx, %eax
movl %eax, -148(%rbp)
movq -104(%rbp), %rax
movq (%rax), %rax
movslq -116(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -52(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -152(%rbp)
movq -72(%rbp), %rax
movq 24(%rax), %rax
movslq -152(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -60(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -156(%rbp)
cmpl $0, -156(%rbp)
jl LBB61_45
## %bb.42: ## in Loop: Header=BB61_38 Depth=3
movq -16(%rbp), %rax
movq 176(%rax), %rax
movslq -156(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -168(%rbp)
movq -16(%rbp), %rdi
movq -168(%rbp), %rsi
movq -24(%rbp), %rdx
movl -32(%rbp), %r9d
movq -72(%rbp), %rax
movl 8(%rax), %eax
leaq -124(%rbp), %rcx
leaq -128(%rbp), %r8
subq $16, %rsp
movl %eax, (%rsp)
callq _codebook_decode_deinterleave_repeat_2
addq $16, %rsp
cmpl $0, %eax
jne LBB61_44
## %bb.43:
jmp LBB61_154
LBB61_44: ## in Loop: Header=BB61_38 Depth=3
jmp LBB61_46
LBB61_45: ## in Loop: Header=BB61_38 Depth=3
movq -72(%rbp), %rax
movl 8(%rax), %eax
addl -148(%rbp), %eax
movl %eax, -148(%rbp)
movl -148(%rbp), %eax
andl $1, %eax
movl %eax, -124(%rbp)
movl -148(%rbp), %eax
sarl $1, %eax
movl %eax, -128(%rbp)
LBB61_46: ## in Loop: Header=BB61_38 Depth=3
jmp LBB61_47
LBB61_47: ## in Loop: Header=BB61_38 Depth=3
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB61_38
LBB61_48: ## in Loop: Header=BB61_23 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB61_23
LBB61_49: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_108
LBB61_50: ## in Loop: Header=BB61_20 Depth=1
cmpl $1, -28(%rbp)
jne LBB61_79
## %bb.51: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_52
LBB61_52: ## Parent Loop BB61_20 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB61_67 Depth 3
movl -112(%rbp), %eax
cmpl -92(%rbp), %eax
jge LBB61_78
## %bb.53: ## in Loop: Header=BB61_52 Depth=2
movq -72(%rbp), %rax
movl (%rax), %eax
movl -112(%rbp), %ecx
movq -72(%rbp), %rdx
imull 8(%rdx), %ecx
addl %ecx, %eax
movl %eax, -172(%rbp)
movl $0, -176(%rbp)
movl -172(%rbp), %eax
movl %eax, -180(%rbp)
cmpl $0, -60(%rbp)
jne LBB61_66
## %bb.54: ## in Loop: Header=BB61_52 Depth=2
movq -16(%rbp), %rax
movq 176(%rax), %rax
movq -72(%rbp), %rcx
movzbl 13(%rcx), %ecx
movslq %ecx, %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -192(%rbp)
movq -16(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB61_56
## %bb.55: ## in Loop: Header=BB61_52 Depth=2
movq -16(%rbp), %rdi
callq _prep_huffman
LBB61_56: ## in Loop: Header=BB61_52 Depth=2
movq -16(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -196(%rbp)
movq -192(%rbp), %rax
movslq -196(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -196(%rbp)
cmpl $0, -196(%rbp)
jl LBB61_60
## %bb.57: ## in Loop: Header=BB61_52 Depth=2
movq -192(%rbp), %rax
movq 8(%rax), %rax
movslq -196(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -200(%rbp)
movl -200(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -200(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB61_59
## %bb.58: ## in Loop: Header=BB61_52 Depth=2
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -196(%rbp)
LBB61_59: ## in Loop: Header=BB61_52 Depth=2
jmp LBB61_61
LBB61_60: ## in Loop: Header=BB61_52 Depth=2
movq -16(%rbp), %rdi
movq -192(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -196(%rbp)
LBB61_61: ## in Loop: Header=BB61_52 Depth=2
movq -192(%rbp), %rax
cmpb $0, 27(%rax)
je LBB61_63
## %bb.62: ## in Loop: Header=BB61_52 Depth=2
movq -192(%rbp), %rax
movq 2104(%rax), %rax
movslq -196(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -196(%rbp)
LBB61_63: ## in Loop: Header=BB61_52 Depth=2
cmpl $-1, -196(%rbp)
jne LBB61_65
## %bb.64:
jmp LBB61_154
LBB61_65: ## in Loop: Header=BB61_52 Depth=2
movq -72(%rbp), %rax
movq 16(%rax), %rax
movslq -196(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -104(%rbp), %rax
movq (%rax), %rax
movslq -116(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB61_66: ## in Loop: Header=BB61_52 Depth=2
movl $0, -52(%rbp)
LBB61_67: ## Parent Loop BB61_20 Depth=1
## Parent Loop BB61_52 Depth=2
## => This Inner Loop Header: Depth=3
movl -52(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -84(%rbp), %ecx
movb %al, -346(%rbp) ## 1-byte Spill
jge LBB61_69
## %bb.68: ## in Loop: Header=BB61_67 Depth=3
movl -112(%rbp), %eax
cmpl -92(%rbp), %eax
setl %al
movb %al, -346(%rbp) ## 1-byte Spill
LBB61_69: ## in Loop: Header=BB61_67 Depth=3
movb -346(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB61_70
jmp LBB61_77
LBB61_70: ## in Loop: Header=BB61_67 Depth=3
movq -72(%rbp), %rax
movl (%rax), %eax
movl -112(%rbp), %ecx
movq -72(%rbp), %rdx
imull 8(%rdx), %ecx
addl %ecx, %eax
movl %eax, -204(%rbp)
movq -104(%rbp), %rax
movq (%rax), %rax
movslq -116(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -52(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -208(%rbp)
movq -72(%rbp), %rax
movq 24(%rax), %rax
movslq -208(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -60(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -212(%rbp)
cmpl $0, -212(%rbp)
jl LBB61_74
## %bb.71: ## in Loop: Header=BB61_67 Depth=3
movq -16(%rbp), %rax
movq 176(%rax), %rax
movslq -212(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -224(%rbp)
movq -16(%rbp), %rdi
movq -224(%rbp), %rsi
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
movl -32(%rbp), %r10d
movq -72(%rbp), %rax
movl 8(%rax), %eax
leaq -176(%rbp), %r8
leaq -180(%rbp), %r9
subq $16, %rsp
movl %r10d, (%rsp)
movl %eax, 8(%rsp)
callq _codebook_decode_deinterleave_repeat
addq $16, %rsp
cmpl $0, %eax
jne LBB61_73
## %bb.72:
jmp LBB61_154
LBB61_73: ## in Loop: Header=BB61_67 Depth=3
jmp LBB61_75
LBB61_74: ## in Loop: Header=BB61_67 Depth=3
movq -72(%rbp), %rax
movl 8(%rax), %eax
addl -204(%rbp), %eax
movl %eax, -204(%rbp)
movl $0, -176(%rbp)
movl -204(%rbp), %eax
movl %eax, -180(%rbp)
LBB61_75: ## in Loop: Header=BB61_67 Depth=3
jmp LBB61_76
LBB61_76: ## in Loop: Header=BB61_67 Depth=3
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB61_67
LBB61_77: ## in Loop: Header=BB61_52 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB61_52
LBB61_78: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_107
LBB61_79: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_80
LBB61_80: ## Parent Loop BB61_20 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB61_95 Depth 3
movl -112(%rbp), %eax
cmpl -92(%rbp), %eax
jge LBB61_106
## %bb.81: ## in Loop: Header=BB61_80 Depth=2
movq -72(%rbp), %rax
movl (%rax), %eax
movl -112(%rbp), %ecx
movq -72(%rbp), %rdx
imull 8(%rdx), %ecx
addl %ecx, %eax
movl %eax, -228(%rbp)
movl -228(%rbp), %eax
cltd
idivl -28(%rbp)
movl %edx, -232(%rbp)
movl -228(%rbp), %eax
cltd
idivl -28(%rbp)
movl %eax, -236(%rbp)
cmpl $0, -60(%rbp)
jne LBB61_94
## %bb.82: ## in Loop: Header=BB61_80 Depth=2
movq -16(%rbp), %rax
movq 176(%rax), %rax
movq -72(%rbp), %rcx
movzbl 13(%rcx), %ecx
movslq %ecx, %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -248(%rbp)
movq -16(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB61_84
## %bb.83: ## in Loop: Header=BB61_80 Depth=2
movq -16(%rbp), %rdi
callq _prep_huffman
LBB61_84: ## in Loop: Header=BB61_80 Depth=2
movq -16(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -252(%rbp)
movq -248(%rbp), %rax
movslq -252(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -252(%rbp)
cmpl $0, -252(%rbp)
jl LBB61_88
## %bb.85: ## in Loop: Header=BB61_80 Depth=2
movq -248(%rbp), %rax
movq 8(%rax), %rax
movslq -252(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -256(%rbp)
movl -256(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -256(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB61_87
## %bb.86: ## in Loop: Header=BB61_80 Depth=2
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -252(%rbp)
LBB61_87: ## in Loop: Header=BB61_80 Depth=2
jmp LBB61_89
LBB61_88: ## in Loop: Header=BB61_80 Depth=2
movq -16(%rbp), %rdi
movq -248(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -252(%rbp)
LBB61_89: ## in Loop: Header=BB61_80 Depth=2
movq -248(%rbp), %rax
cmpb $0, 27(%rax)
je LBB61_91
## %bb.90: ## in Loop: Header=BB61_80 Depth=2
movq -248(%rbp), %rax
movq 2104(%rax), %rax
movslq -252(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -252(%rbp)
LBB61_91: ## in Loop: Header=BB61_80 Depth=2
cmpl $-1, -252(%rbp)
jne LBB61_93
## %bb.92:
jmp LBB61_154
LBB61_93: ## in Loop: Header=BB61_80 Depth=2
movq -72(%rbp), %rax
movq 16(%rax), %rax
movslq -252(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -104(%rbp), %rax
movq (%rax), %rax
movslq -116(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB61_94: ## in Loop: Header=BB61_80 Depth=2
movl $0, -52(%rbp)
LBB61_95: ## Parent Loop BB61_20 Depth=1
## Parent Loop BB61_80 Depth=2
## => This Inner Loop Header: Depth=3
movl -52(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -84(%rbp), %ecx
movb %al, -347(%rbp) ## 1-byte Spill
jge LBB61_97
## %bb.96: ## in Loop: Header=BB61_95 Depth=3
movl -112(%rbp), %eax
cmpl -92(%rbp), %eax
setl %al
movb %al, -347(%rbp) ## 1-byte Spill
LBB61_97: ## in Loop: Header=BB61_95 Depth=3
movb -347(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB61_98
jmp LBB61_105
LBB61_98: ## in Loop: Header=BB61_95 Depth=3
movq -72(%rbp), %rax
movl (%rax), %eax
movl -112(%rbp), %ecx
movq -72(%rbp), %rdx
imull 8(%rdx), %ecx
addl %ecx, %eax
movl %eax, -260(%rbp)
movq -104(%rbp), %rax
movq (%rax), %rax
movslq -116(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -52(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -264(%rbp)
movq -72(%rbp), %rax
movq 24(%rax), %rax
movslq -264(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -60(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -268(%rbp)
cmpl $0, -268(%rbp)
jl LBB61_102
## %bb.99: ## in Loop: Header=BB61_95 Depth=3
movq -16(%rbp), %rax
movq 176(%rax), %rax
movslq -268(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -280(%rbp)
movq -16(%rbp), %rdi
movq -280(%rbp), %rsi
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
movl -32(%rbp), %r10d
movq -72(%rbp), %rax
movl 8(%rax), %eax
leaq -232(%rbp), %r8
leaq -236(%rbp), %r9
subq $16, %rsp
movl %r10d, (%rsp)
movl %eax, 8(%rsp)
callq _codebook_decode_deinterleave_repeat
addq $16, %rsp
cmpl $0, %eax
jne LBB61_101
## %bb.100:
jmp LBB61_154
LBB61_101: ## in Loop: Header=BB61_95 Depth=3
jmp LBB61_103
LBB61_102: ## in Loop: Header=BB61_95 Depth=3
movq -72(%rbp), %rax
movl 8(%rax), %eax
addl -260(%rbp), %eax
movl %eax, -260(%rbp)
movl -260(%rbp), %eax
cltd
idivl -28(%rbp)
movl %edx, -232(%rbp)
movl -260(%rbp), %eax
cltd
idivl -28(%rbp)
movl %eax, -236(%rbp)
LBB61_103: ## in Loop: Header=BB61_95 Depth=3
jmp LBB61_104
LBB61_104: ## in Loop: Header=BB61_95 Depth=3
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB61_95
LBB61_105: ## in Loop: Header=BB61_80 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB61_80
LBB61_106: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_107
LBB61_107: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_108
LBB61_108: ## in Loop: Header=BB61_20 Depth=1
jmp LBB61_109
LBB61_109: ## in Loop: Header=BB61_20 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB61_20
LBB61_110:
jmp LBB61_154
LBB61_111:
movl $0, -60(%rbp)
LBB61_112: ## =>This Loop Header: Depth=1
## Child Loop BB61_114 Depth 2
## Child Loop BB61_117 Depth 3
## Child Loop BB61_135 Depth 3
## Child Loop BB61_139 Depth 4
cmpl $8, -60(%rbp)
jge LBB61_153
## %bb.113: ## in Loop: Header=BB61_112 Depth=1
movl $0, -284(%rbp)
movl $0, -288(%rbp)
LBB61_114: ## Parent Loop BB61_112 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB61_117 Depth 3
## Child Loop BB61_135 Depth 3
## Child Loop BB61_139 Depth 4
movl -284(%rbp), %eax
cmpl -92(%rbp), %eax
jge LBB61_151
## %bb.115: ## in Loop: Header=BB61_114 Depth=2
cmpl $0, -60(%rbp)
jne LBB61_134
## %bb.116: ## in Loop: Header=BB61_114 Depth=2
movl $0, -56(%rbp)
LBB61_117: ## Parent Loop BB61_112 Depth=1
## Parent Loop BB61_114 Depth=2
## => This Inner Loop Header: Depth=3
movl -56(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB61_133
## %bb.118: ## in Loop: Header=BB61_117 Depth=3
movq -48(%rbp), %rax
movslq -56(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB61_131
## %bb.119: ## in Loop: Header=BB61_117 Depth=3
movq -16(%rbp), %rax
movq 176(%rax), %rax
movq -72(%rbp), %rcx
movzbl 13(%rcx), %ecx
movslq %ecx, %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -296(%rbp)
movq -16(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB61_121
## %bb.120: ## in Loop: Header=BB61_117 Depth=3
movq -16(%rbp), %rdi
callq _prep_huffman
LBB61_121: ## in Loop: Header=BB61_117 Depth=3
movq -16(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -300(%rbp)
movq -296(%rbp), %rax
movslq -300(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -300(%rbp)
cmpl $0, -300(%rbp)
jl LBB61_125
## %bb.122: ## in Loop: Header=BB61_117 Depth=3
movq -296(%rbp), %rax
movq 8(%rax), %rax
movslq -300(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -304(%rbp)
movl -304(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -304(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB61_124
## %bb.123: ## in Loop: Header=BB61_117 Depth=3
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -300(%rbp)
LBB61_124: ## in Loop: Header=BB61_117 Depth=3
jmp LBB61_126
LBB61_125: ## in Loop: Header=BB61_117 Depth=3
movq -16(%rbp), %rdi
movq -296(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -300(%rbp)
LBB61_126: ## in Loop: Header=BB61_117 Depth=3
movq -296(%rbp), %rax
cmpb $0, 27(%rax)
je LBB61_128
## %bb.127: ## in Loop: Header=BB61_117 Depth=3
movq -296(%rbp), %rax
movq 2104(%rax), %rax
movslq -300(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -300(%rbp)
LBB61_128: ## in Loop: Header=BB61_117 Depth=3
cmpl $-1, -300(%rbp)
jne LBB61_130
## %bb.129:
jmp LBB61_154
LBB61_130: ## in Loop: Header=BB61_117 Depth=3
movq -72(%rbp), %rax
movq 16(%rax), %rax
movslq -300(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -104(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -288(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB61_131: ## in Loop: Header=BB61_117 Depth=3
jmp LBB61_132
LBB61_132: ## in Loop: Header=BB61_117 Depth=3
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB61_117
LBB61_133: ## in Loop: Header=BB61_114 Depth=2
jmp LBB61_134
LBB61_134: ## in Loop: Header=BB61_114 Depth=2
movl $0, -52(%rbp)
LBB61_135: ## Parent Loop BB61_112 Depth=1
## Parent Loop BB61_114 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB61_139 Depth 4
movl -52(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -84(%rbp), %ecx
movb %al, -348(%rbp) ## 1-byte Spill
jge LBB61_137
## %bb.136: ## in Loop: Header=BB61_135 Depth=3
movl -284(%rbp), %eax
cmpl -92(%rbp), %eax
setl %al
movb %al, -348(%rbp) ## 1-byte Spill
LBB61_137: ## in Loop: Header=BB61_135 Depth=3
movb -348(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB61_138
jmp LBB61_150
LBB61_138: ## in Loop: Header=BB61_135 Depth=3
movl $0, -56(%rbp)
LBB61_139: ## Parent Loop BB61_112 Depth=1
## Parent Loop BB61_114 Depth=2
## Parent Loop BB61_135 Depth=3
## => This Inner Loop Header: Depth=4
movl -56(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB61_148
## %bb.140: ## in Loop: Header=BB61_139 Depth=4
movq -48(%rbp), %rax
movslq -56(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB61_146
## %bb.141: ## in Loop: Header=BB61_139 Depth=4
movq -104(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -288(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -52(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -308(%rbp)
movq -72(%rbp), %rax
movq 24(%rax), %rax
movslq -308(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movslq -60(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -312(%rbp)
cmpl $0, -312(%rbp)
jl LBB61_145
## %bb.142: ## in Loop: Header=BB61_139 Depth=4
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -320(%rbp)
movq -72(%rbp), %rax
movl (%rax), %eax
movl -284(%rbp), %ecx
movq -72(%rbp), %rdx
imull 8(%rdx), %ecx
addl %ecx, %eax
movl %eax, -324(%rbp)
movq -72(%rbp), %rax
movl 8(%rax), %eax
movl %eax, -328(%rbp)
movq -16(%rbp), %rax
movq 176(%rax), %rax
movslq -312(%rbp), %rcx
imulq $2120, %rcx, %rcx ## imm = 0x848
addq %rcx, %rax
movq %rax, -336(%rbp)
movq -16(%rbp), %rdi
movq -336(%rbp), %rsi
movq -320(%rbp), %rdx
movl -324(%rbp), %ecx
movl -328(%rbp), %r8d
movl -76(%rbp), %r9d
callq _residue_decode
cmpl $0, %eax
jne LBB61_144
## %bb.143:
jmp LBB61_154
LBB61_144: ## in Loop: Header=BB61_139 Depth=4
jmp LBB61_145
LBB61_145: ## in Loop: Header=BB61_139 Depth=4
jmp LBB61_146
LBB61_146: ## in Loop: Header=BB61_139 Depth=4
jmp LBB61_147
LBB61_147: ## in Loop: Header=BB61_139 Depth=4
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB61_139
LBB61_148: ## in Loop: Header=BB61_135 Depth=3
jmp LBB61_149
LBB61_149: ## in Loop: Header=BB61_135 Depth=3
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
movl -284(%rbp), %eax
addl $1, %eax
movl %eax, -284(%rbp)
jmp LBB61_135
LBB61_150: ## in Loop: Header=BB61_114 Depth=2
movl -288(%rbp), %eax
addl $1, %eax
movl %eax, -288(%rbp)
jmp LBB61_114
LBB61_151: ## in Loop: Header=BB61_112 Depth=1
jmp LBB61_152
LBB61_152: ## in Loop: Header=BB61_112 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB61_112
LBB61_153:
jmp LBB61_154
LBB61_154:
movl -96(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 140(%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB61_156
## %bb.155:
movq %rbp, %rsp
popq %rbp
retq
LBB61_156:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function do_floor
_do_floor: ## @do_floor
.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)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movl -32(%rbp), %eax
sarl $1, %eax
movl %eax, -52(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 2(%rax), %eax
movl %eax, -56(%rbp)
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movzbl 17(%rax,%rcx), %eax
movl %eax, -60(%rbp)
movq -16(%rbp), %rax
movslq -60(%rbp), %rcx
movzwl 188(%rax,%rcx,2), %eax
cmpl $0, %eax
jne LBB62_2
## %bb.1:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB62_16
LBB62_2:
movq -16(%rbp), %rax
movq 320(%rax), %rax
movslq -60(%rbp), %rcx
imulq $1596, %rcx, %rcx ## imm = 0x63C
addq %rcx, %rax
movq %rax, -72(%rbp)
movl $0, -84(%rbp)
movq -48(%rbp), %rax
movswl (%rax), %eax
movq -72(%rbp), %rcx
movzbl 1588(%rcx), %ecx
imull %ecx, %eax
movl %eax, -88(%rbp)
movl $1, -80(%rbp)
LBB62_3: ## =>This Inner Loop Header: Depth=1
movl -80(%rbp), %eax
movq -72(%rbp), %rcx
cmpl 1592(%rcx), %eax
jge LBB62_8
## %bb.4: ## in Loop: Header=BB62_3 Depth=1
movq -72(%rbp), %rax
movslq -80(%rbp), %rcx
movzbl 838(%rax,%rcx), %eax
movl %eax, -76(%rbp)
movq -48(%rbp), %rax
movslq -76(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
cmpl $0, %eax
jl LBB62_6
## %bb.5: ## in Loop: Header=BB62_3 Depth=1
movq -48(%rbp), %rax
movslq -76(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movq -72(%rbp), %rcx
movzbl 1588(%rcx), %ecx
imull %ecx, %eax
movl %eax, -92(%rbp)
movq -72(%rbp), %rax
movslq -76(%rbp), %rcx
movzwl 338(%rax,%rcx,2), %eax
movl %eax, -96(%rbp)
movq -40(%rbp), %rdi
movl -84(%rbp), %esi
movl -88(%rbp), %edx
movl -96(%rbp), %ecx
movl -92(%rbp), %r8d
movl -52(%rbp), %r9d
callq _draw_line
movl -96(%rbp), %eax
movl %eax, -84(%rbp)
movl -92(%rbp), %eax
movl %eax, -88(%rbp)
LBB62_6: ## in Loop: Header=BB62_3 Depth=1
jmp LBB62_7
LBB62_7: ## in Loop: Header=BB62_3 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB62_3
LBB62_8:
movl -84(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB62_14
## %bb.9:
movl -84(%rbp), %eax
movl %eax, -76(%rbp)
LBB62_10: ## =>This Inner Loop Header: Depth=1
movl -76(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB62_13
## %bb.11: ## in Loop: Header=BB62_10 Depth=1
movslq -88(%rbp), %rcx
leaq _inverse_db_table(%rip), %rax
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
movslq -76(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.12: ## in Loop: Header=BB62_10 Depth=1
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB62_10
LBB62_13:
jmp LBB62_14
LBB62_14:
jmp LBB62_15
LBB62_15:
movl $1, -4(%rbp)
LBB62_16:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function inverse_mdct
_inverse_mdct: ## @inverse_mdct
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $400, %rsp ## imm = 0x190
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movl -20(%rbp), %eax
sarl $1, %eax
movl %eax, -40(%rbp)
movl -20(%rbp), %eax
sarl $2, %eax
movl %eax, -44(%rbp)
movl -20(%rbp), %eax
sarl $3, %eax
movl %eax, -48(%rbp)
movl -20(%rbp), %eax
subl -44(%rbp), %eax
movl %eax, -56(%rbp)
movq -32(%rbp), %rax
movl 140(%rax), %eax
movl %eax, -64(%rbp)
movq -32(%rbp), %rax
cmpq $0, 120(%rax)
je LBB63_2
## %bb.1:
movq -32(%rbp), %rdi
movslq -40(%rbp), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_temp_malloc
movq %rax, -384(%rbp) ## 8-byte Spill
jmp LBB63_3
LBB63_2:
movslq -40(%rbp), %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq %rax, -384(%rbp) ## 8-byte Spill
LBB63_3:
movq -384(%rbp), %rax ## 8-byte Reload
movq %rax, -72(%rbp)
movq $0, -80(%rbp)
movq $0, -88(%rbp)
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq 1408(%rax,%rcx,8), %rax
movq %rax, -96(%rbp)
movq -72(%rbp), %rax
movl -40(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -104(%rbp)
movq -96(%rbp), %rax
movq %rax, -120(%rbp)
movq -16(%rbp), %rax
movq %rax, -112(%rbp)
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -128(%rbp)
LBB63_4: ## =>This Inner Loop Header: Depth=1
movq -112(%rbp), %rax
cmpq -128(%rbp), %rax
je LBB63_6
## %bb.5: ## in Loop: Header=BB63_4 Depth=1
movq -112(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -120(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -112(%rbp), %rax
movss 8(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -120(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -104(%rbp), %rax
movss %xmm0, 4(%rax)
movq -112(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -120(%rbp), %rax
movss 4(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -112(%rbp), %rax
movss 8(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -120(%rbp), %rax
mulss (%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -104(%rbp), %rax
movss %xmm0, (%rax)
movq -104(%rbp), %rax
addq $-8, %rax
movq %rax, -104(%rbp)
movq -120(%rbp), %rax
addq $8, %rax
movq %rax, -120(%rbp)
movq -112(%rbp), %rax
addq $16, %rax
movq %rax, -112(%rbp)
jmp LBB63_4
LBB63_6:
movq -16(%rbp), %rax
movl -40(%rbp), %ecx
subl $3, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -112(%rbp)
LBB63_7: ## =>This Inner Loop Header: Depth=1
movq -104(%rbp), %rax
cmpq -72(%rbp), %rax
jb LBB63_9
## %bb.8: ## in Loop: Header=BB63_7 Depth=1
movq -112(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -120(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -112(%rbp), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
movq -120(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -104(%rbp), %rax
movss %xmm0, 4(%rax)
movq -112(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -120(%rbp), %rax
movss 4(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -112(%rbp), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
movq -120(%rbp), %rax
mulss (%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -104(%rbp), %rax
movss %xmm0, (%rax)
movq -104(%rbp), %rax
addq $-8, %rax
movq %rax, -104(%rbp)
movq -120(%rbp), %rax
addq $8, %rax
movq %rax, -120(%rbp)
movq -112(%rbp), %rax
addq $-16, %rax
movq %rax, -112(%rbp)
jmp LBB63_7
LBB63_9:
movq -16(%rbp), %rax
movq %rax, -80(%rbp)
movq -72(%rbp), %rax
movq %rax, -88(%rbp)
movq -96(%rbp), %rax
movl -40(%rbp), %ecx
subl $8, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -136(%rbp)
movq -88(%rbp), %rax
movslq -44(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -160(%rbp)
movq -88(%rbp), %rax
movq %rax, -168(%rbp)
movq -80(%rbp), %rax
movslq -44(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -144(%rbp)
movq -80(%rbp), %rax
movq %rax, -152(%rbp)
LBB63_10: ## =>This Inner Loop Header: Depth=1
movq -136(%rbp), %rax
cmpq -96(%rbp), %rax
jb LBB63_12
## %bb.11: ## in Loop: Header=BB63_10 Depth=1
movq -160(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
subss 4(%rax), %xmm0
movss %xmm0, -176(%rbp)
movq -160(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
subss (%rax), %xmm0
movss %xmm0, -172(%rbp)
movq -160(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
addss 4(%rax), %xmm0
movq -144(%rbp), %rax
movss %xmm0, 4(%rax)
movq -160(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
addss (%rax), %xmm0
movq -144(%rbp), %rax
movss %xmm0, (%rax)
movss -176(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
movss 16(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -172(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
mulss 20(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -152(%rbp), %rax
movss %xmm0, 4(%rax)
movss -172(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
movss 16(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -176(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
mulss 20(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -152(%rbp), %rax
movss %xmm0, (%rax)
movq -160(%rbp), %rax
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
subss 12(%rax), %xmm0
movss %xmm0, -176(%rbp)
movq -160(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
subss 8(%rax), %xmm0
movss %xmm0, -172(%rbp)
movq -160(%rbp), %rax
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
addss 12(%rax), %xmm0
movq -144(%rbp), %rax
movss %xmm0, 12(%rax)
movq -160(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -168(%rbp), %rax
addss 8(%rax), %xmm0
movq -144(%rbp), %rax
movss %xmm0, 8(%rax)
movss -176(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -172(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -152(%rbp), %rax
movss %xmm0, 12(%rax)
movss -172(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -176(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -136(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -152(%rbp), %rax
movss %xmm0, 8(%rax)
movq -136(%rbp), %rax
addq $-32, %rax
movq %rax, -136(%rbp)
movq -144(%rbp), %rax
addq $16, %rax
movq %rax, -144(%rbp)
movq -152(%rbp), %rax
addq $16, %rax
movq %rax, -152(%rbp)
movq -160(%rbp), %rax
addq $16, %rax
movq %rax, -160(%rbp)
movq -168(%rbp), %rax
addq $16, %rax
movq %rax, -168(%rbp)
jmp LBB63_10
LBB63_12:
movl -20(%rbp), %edi
callq _ilog
subl $1, %eax
movl %eax, -60(%rbp)
movl -20(%rbp), %edi
sarl $4, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
imull $0, -44(%rbp), %eax
subl %eax, %edx
movl -20(%rbp), %eax
sarl $3, %eax
xorl %ecx, %ecx
subl %eax, %ecx
movq -96(%rbp), %r8
callq _imdct_step3_iter0_loop
movl -20(%rbp), %edi
sarl $4, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
movl -44(%rbp), %eax
shll $0, %eax
subl %eax, %edx
movl -20(%rbp), %eax
sarl $3, %eax
xorl %ecx, %ecx
subl %eax, %ecx
movq -96(%rbp), %r8
callq _imdct_step3_iter0_loop
movl -20(%rbp), %edi
sarl $5, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
imull $0, -48(%rbp), %eax
subl %eax, %edx
movl -20(%rbp), %eax
sarl $4, %eax
xorl %ecx, %ecx
subl %eax, %ecx
movq -96(%rbp), %r8
movl $16, %r9d
callq _imdct_step3_inner_r_loop
movl -20(%rbp), %edi
sarl $5, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
movl -48(%rbp), %eax
shll $0, %eax
subl %eax, %edx
movl -20(%rbp), %eax
sarl $4, %eax
xorl %ecx, %ecx
subl %eax, %ecx
movq -96(%rbp), %r8
movl $16, %r9d
callq _imdct_step3_inner_r_loop
movl -20(%rbp), %edi
sarl $5, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
movl -48(%rbp), %eax
shll $1, %eax
subl %eax, %edx
movl -20(%rbp), %eax
sarl $4, %eax
xorl %ecx, %ecx
subl %eax, %ecx
movq -96(%rbp), %r8
movl $16, %r9d
callq _imdct_step3_inner_r_loop
movl -20(%rbp), %edi
sarl $5, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
imull $3, -48(%rbp), %eax
subl %eax, %edx
movl -20(%rbp), %eax
sarl $4, %eax
xorl %ecx, %ecx
subl %eax, %ecx
movq -96(%rbp), %r8
movl $16, %r9d
callq _imdct_step3_inner_r_loop
movl $2, -52(%rbp)
LBB63_13: ## =>This Loop Header: Depth=1
## Child Loop BB63_15 Depth 2
movl -52(%rbp), %eax
movl -60(%rbp), %ecx
subl $3, %ecx
sarl $1, %ecx
cmpl %ecx, %eax
jge LBB63_20
## %bb.14: ## in Loop: Header=BB63_13 Depth=1
movl -20(%rbp), %eax
movl -52(%rbp), %ecx
addl $2, %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
movl %eax, -180(%rbp)
movl -180(%rbp), %eax
sarl $1, %eax
movl %eax, -184(%rbp)
movl -52(%rbp), %ecx
addl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -188(%rbp)
movl $0, -192(%rbp)
LBB63_15: ## Parent Loop BB63_13 Depth=1
## => This Inner Loop Header: Depth=2
movl -192(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB63_18
## %bb.16: ## in Loop: Header=BB63_15 Depth=2
movl -20(%rbp), %edi
movl -52(%rbp), %ecx
addl $4, %ecx
## kill: def $cl killed $ecx
sarl %cl, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
movl -180(%rbp), %eax
imull -192(%rbp), %eax
subl %eax, %edx
xorl %eax, %eax
subl -184(%rbp), %eax
movl %eax, -388(%rbp) ## 4-byte Spill
movq -96(%rbp), %r8
movl -52(%rbp), %ecx
addl $3, %ecx
movl $1, %r9d
## kill: def $cl killed $ecx
shll %cl, %r9d
movl -388(%rbp), %ecx ## 4-byte Reload
callq _imdct_step3_inner_r_loop
## %bb.17: ## in Loop: Header=BB63_15 Depth=2
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB63_15
LBB63_18: ## in Loop: Header=BB63_13 Depth=1
jmp LBB63_19
LBB63_19: ## in Loop: Header=BB63_13 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB63_13
LBB63_20:
jmp LBB63_21
LBB63_21: ## =>This Loop Header: Depth=1
## Child Loop BB63_23 Depth 2
movl -52(%rbp), %eax
movl -60(%rbp), %ecx
subl $6, %ecx
cmpl %ecx, %eax
jge LBB63_28
## %bb.22: ## in Loop: Header=BB63_21 Depth=1
movl -20(%rbp), %eax
movl -52(%rbp), %ecx
addl $2, %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
movl %eax, -196(%rbp)
movl -52(%rbp), %ecx
addl $3, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -200(%rbp)
movl -196(%rbp), %eax
sarl $1, %eax
movl %eax, -204(%rbp)
movl -20(%rbp), %eax
movl -52(%rbp), %ecx
addl $6, %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
movl %eax, -208(%rbp)
movl -52(%rbp), %ecx
addl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -216(%rbp)
movq -96(%rbp), %rax
movq %rax, -232(%rbp)
movl -40(%rbp), %eax
subl $1, %eax
movl %eax, -220(%rbp)
movl -208(%rbp), %eax
movl %eax, -212(%rbp)
LBB63_23: ## Parent Loop BB63_21 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -212(%rbp)
jle LBB63_26
## %bb.24: ## in Loop: Header=BB63_23 Depth=2
movl -216(%rbp), %edi
movq -80(%rbp), %rsi
movl -220(%rbp), %edx
xorl %ecx, %ecx
subl -204(%rbp), %ecx
movq -232(%rbp), %r8
movl -200(%rbp), %r9d
movl -196(%rbp), %eax
subq $16, %rsp
movl %eax, (%rsp)
callq _imdct_step3_inner_s_loop
addq $16, %rsp
movl -200(%rbp), %ecx
shll $2, %ecx
movq -232(%rbp), %rax
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -232(%rbp)
movl -220(%rbp), %eax
subl $8, %eax
movl %eax, -220(%rbp)
## %bb.25: ## in Loop: Header=BB63_23 Depth=2
movl -212(%rbp), %eax
addl $-1, %eax
movl %eax, -212(%rbp)
jmp LBB63_23
LBB63_26: ## in Loop: Header=BB63_21 Depth=1
jmp LBB63_27
LBB63_27: ## in Loop: Header=BB63_21 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB63_21
LBB63_28:
movl -20(%rbp), %edi
sarl $5, %edi
movq -80(%rbp), %rsi
movl -40(%rbp), %edx
subl $1, %edx
movq -96(%rbp), %rcx
movl -20(%rbp), %r8d
callq _imdct_step3_inner_s_loop_ld654
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq 1472(%rax,%rcx,8), %rax
movq %rax, -240(%rbp)
movq -88(%rbp), %rax
movl -44(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -248(%rbp)
movq -88(%rbp), %rax
movl -40(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -256(%rbp)
LBB63_29: ## =>This Inner Loop Header: Depth=1
movq -248(%rbp), %rax
cmpq -88(%rbp), %rax
jb LBB63_31
## %bb.30: ## in Loop: Header=BB63_29 Depth=1
movq -240(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -260(%rbp)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $0, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -256(%rbp), %rax
movss %xmm0, 12(%rax)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -256(%rbp), %rax
movss %xmm0, 8(%rax)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $2, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -248(%rbp), %rax
movss %xmm0, 12(%rax)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $3, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -248(%rbp), %rax
movss %xmm0, 8(%rax)
movq -240(%rbp), %rax
movzwl 2(%rax), %eax
movl %eax, -260(%rbp)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $0, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -256(%rbp), %rax
movss %xmm0, 4(%rax)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -256(%rbp), %rax
movss %xmm0, (%rax)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $2, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -248(%rbp), %rax
movss %xmm0, 4(%rax)
movq -80(%rbp), %rax
movl -260(%rbp), %ecx
addl $3, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -248(%rbp), %rax
movss %xmm0, (%rax)
movq -248(%rbp), %rax
addq $-16, %rax
movq %rax, -248(%rbp)
movq -256(%rbp), %rax
addq $-16, %rax
movq %rax, -256(%rbp)
movq -240(%rbp), %rax
addq $4, %rax
movq %rax, -240(%rbp)
jmp LBB63_29
LBB63_31:
movq -88(%rbp), %rax
cmpq -72(%rbp), %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB63_33
## %bb.32:
leaq L___func__.inverse_mdct(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.9(%rip), %rcx
movl $2869, %edx ## imm = 0xB35
callq ___assert_rtn
LBB63_33:
jmp LBB63_34
LBB63_34:
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq 1440(%rax,%rcx,8), %rax
movq %rax, -272(%rbp)
movq -88(%rbp), %rax
movq %rax, -280(%rbp)
movq -88(%rbp), %rax
movslq -40(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
addq $-16, %rax
movq %rax, -288(%rbp)
LBB63_35: ## =>This Inner Loop Header: Depth=1
movq -280(%rbp), %rax
cmpq -288(%rbp), %rax
jae LBB63_37
## %bb.36: ## in Loop: Header=BB63_35 Depth=1
movq -280(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
subss 8(%rax), %xmm0
movss %xmm0, -292(%rbp)
movq -280(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
addss 12(%rax), %xmm0
movss %xmm0, -296(%rbp)
movq -272(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -292(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -272(%rbp), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -296(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -300(%rbp)
movq -272(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -296(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -272(%rbp), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -292(%rbp), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -304(%rbp)
movq -280(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
addss 8(%rax), %xmm0
movss %xmm0, -308(%rbp)
movq -280(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
subss 12(%rax), %xmm0
movss %xmm0, -312(%rbp)
movss -308(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -300(%rbp), %xmm0
movq -280(%rbp), %rax
movss %xmm0, (%rax)
movss -312(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -304(%rbp), %xmm0
movq -280(%rbp), %rax
movss %xmm0, 4(%rax)
movss -308(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -300(%rbp), %xmm0
movq -288(%rbp), %rax
movss %xmm0, 8(%rax)
movss -304(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -312(%rbp), %xmm0
movq -288(%rbp), %rax
movss %xmm0, 12(%rax)
movq -280(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
subss (%rax), %xmm0
movss %xmm0, -292(%rbp)
movq -280(%rbp), %rax
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
addss 4(%rax), %xmm0
movss %xmm0, -296(%rbp)
movq -272(%rbp), %rax
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -292(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -272(%rbp), %rax
movss 8(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -296(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -300(%rbp)
movq -272(%rbp), %rax
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -296(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -272(%rbp), %rax
movss 8(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -292(%rbp), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -304(%rbp)
movq -280(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
addss (%rax), %xmm0
movss %xmm0, -308(%rbp)
movq -280(%rbp), %rax
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -288(%rbp), %rax
subss 4(%rax), %xmm0
movss %xmm0, -312(%rbp)
movss -308(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -300(%rbp), %xmm0
movq -280(%rbp), %rax
movss %xmm0, 8(%rax)
movss -312(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -304(%rbp), %xmm0
movq -280(%rbp), %rax
movss %xmm0, 12(%rax)
movss -308(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -300(%rbp), %xmm0
movq -288(%rbp), %rax
movss %xmm0, (%rax)
movss -304(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -312(%rbp), %xmm0
movq -288(%rbp), %rax
movss %xmm0, 4(%rax)
movq -272(%rbp), %rax
addq $16, %rax
movq %rax, -272(%rbp)
movq -280(%rbp), %rax
addq $16, %rax
movq %rax, -280(%rbp)
movq -288(%rbp), %rax
addq $-16, %rax
movq %rax, -288(%rbp)
jmp LBB63_35
LBB63_37:
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq 1424(%rax,%rcx,8), %rax
movslq -40(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
addq $-32, %rax
movq %rax, -352(%rbp)
movq -72(%rbp), %rax
movslq -40(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
addq $-32, %rax
movq %rax, -360(%rbp)
movq -16(%rbp), %rax
movq %rax, -320(%rbp)
movq -16(%rbp), %rax
movl -40(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -328(%rbp)
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -336(%rbp)
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -344(%rbp)
LBB63_38: ## =>This Inner Loop Header: Depth=1
movq -360(%rbp), %rax
cmpq -88(%rbp), %rax
jb LBB63_40
## %bb.39: ## in Loop: Header=BB63_38 Depth=1
movq -360(%rbp), %rax
movss 24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
movss 28(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 28(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss 24(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -376(%rbp)
movq -360(%rbp), %rax
movss 24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -352(%rbp), %rax
movss 24(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 28(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss 28(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -372(%rbp)
movss -376(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -320(%rbp), %rax
movss %xmm0, (%rax)
movss -376(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -328(%rbp), %rax
movss %xmm0, 12(%rax)
movss -372(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -336(%rbp), %rax
movss %xmm0, (%rax)
movss -372(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -344(%rbp), %rax
movss %xmm0, 12(%rax)
movq -360(%rbp), %rax
movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
movss 20(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 20(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss 16(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -368(%rbp)
movq -360(%rbp), %rax
movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -352(%rbp), %rax
movss 16(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 20(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss 20(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -364(%rbp)
movss -368(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -320(%rbp), %rax
movss %xmm0, 4(%rax)
movss -368(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -328(%rbp), %rax
movss %xmm0, 8(%rax)
movss -364(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -336(%rbp), %rax
movss %xmm0, 4(%rax)
movss -364(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -344(%rbp), %rax
movss %xmm0, 8(%rax)
movq -360(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
movss 12(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 12(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss 8(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -376(%rbp)
movq -360(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -352(%rbp), %rax
movss 8(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 12(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss 12(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -372(%rbp)
movss -376(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -320(%rbp), %rax
movss %xmm0, 8(%rax)
movss -376(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -328(%rbp), %rax
movss %xmm0, 4(%rax)
movss -372(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -336(%rbp), %rax
movss %xmm0, 8(%rax)
movss -372(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -344(%rbp), %rax
movss %xmm0, 4(%rax)
movq -360(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
movss 4(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 4(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss (%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -368(%rbp)
movq -360(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -352(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -360(%rbp), %rax
movss 4(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -352(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -364(%rbp)
movss -368(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -320(%rbp), %rax
movss %xmm0, 12(%rax)
movss -368(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq -328(%rbp), %rax
movss %xmm0, (%rax)
movss -364(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -336(%rbp), %rax
movss %xmm0, 12(%rax)
movss -364(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -344(%rbp), %rax
movss %xmm0, (%rax)
movq -352(%rbp), %rax
addq $-32, %rax
movq %rax, -352(%rbp)
movq -360(%rbp), %rax
addq $-32, %rax
movq %rax, -360(%rbp)
movq -320(%rbp), %rax
addq $16, %rax
movq %rax, -320(%rbp)
movq -336(%rbp), %rax
addq $16, %rax
movq %rax, -336(%rbp)
movq -328(%rbp), %rax
addq $-16, %rax
movq %rax, -328(%rbp)
movq -344(%rbp), %rax
addq $-16, %rax
movq %rax, -344(%rbp)
jmp LBB63_38
LBB63_40:
movl -64(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, 140(%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB63_42
## %bb.41:
movq %rbp, %rsp
popq %rbp
retq
LBB63_42:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function flush_packet
_flush_packet: ## @flush_packet
.cfi_startproc
## %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)
LBB64_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rdi
callq _get8_packet_raw
cmpl $-1, %eax
je LBB64_3
## %bb.2: ## in Loop: Header=BB64_1 Depth=1
jmp LBB64_1
LBB64_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bit_reverse
_bit_reverse: ## @bit_reverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
andl $-1431655766, %eax ## imm = 0xAAAAAAAA
shrl $1, %eax
movl -4(%rbp), %ecx
andl $1431655765, %ecx ## imm = 0x55555555
shll $1, %ecx
orl %ecx, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
andl $-858993460, %eax ## imm = 0xCCCCCCCC
shrl $2, %eax
movl -4(%rbp), %ecx
andl $858993459, %ecx ## imm = 0x33333333
shll $2, %ecx
orl %ecx, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
andl $-252645136, %eax ## imm = 0xF0F0F0F0
shrl $4, %eax
movl -4(%rbp), %ecx
andl $252645135, %ecx ## imm = 0xF0F0F0F
shll $4, %ecx
orl %ecx, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
andl $-16711936, %eax ## imm = 0xFF00FF00
shrl $8, %eax
movl -4(%rbp), %ecx
andl $16711935, %ecx ## imm = 0xFF00FF
shll $8, %ecx
orl %ecx, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
shrl $16, %eax
movl -4(%rbp), %ecx
shll $16, %ecx
orl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function make_block_array
_make_block_array: ## @make_block_array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movslq -12(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movl $0, -20(%rbp)
LBB66_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB66_4
## %bb.2: ## in Loop: Header=BB66_1 Depth=1
movq -40(%rbp), %rdx
movq -32(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -16(%rbp), %ecx
movq -40(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
## %bb.3: ## in Loop: Header=BB66_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB66_1
LBB66_4:
movq -32(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function setup_temp_malloc
_setup_temp_malloc: ## @setup_temp_malloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl -20(%rbp), %eax
addl $3, %eax
andl $-4, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
cmpq $0, 120(%rax)
je LBB67_4
## %bb.1:
movq -16(%rbp), %rax
movl 140(%rax), %eax
subl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 136(%rcx), %eax
jge LBB67_3
## %bb.2:
movq $0, -8(%rbp)
jmp LBB67_5
LBB67_3:
movl -20(%rbp), %edx
movq -16(%rbp), %rax
movl 140(%rax), %ecx
subl %edx, %ecx
movl %ecx, 140(%rax)
movq -16(%rbp), %rax
movq 120(%rax), %rax
movq -16(%rbp), %rcx
movslq 140(%rcx), %rcx
addq %rcx, %rax
movq %rax, -8(%rbp)
jmp LBB67_5
LBB67_4:
movslq -20(%rbp), %rdi
callq _malloc
movq %rax, -8(%rbp)
LBB67_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function codebook_decode_deinterleave_repeat_2
_codebook_decode_deinterleave_repeat_2: ## @codebook_decode_deinterleave_repeat_2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movl 16(%rbp), %eax
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movl %r9d, -52(%rbp)
movq -40(%rbp), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -72(%rbp)
movq -24(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $0, %eax
jne LBB68_2
## %bb.1:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB68_49
LBB68_2:
jmp LBB68_3
LBB68_3: ## =>This Loop Header: Depth=1
## Child Loop BB68_21 Depth 2
## Child Loop BB68_34 Depth 2
cmpl $0, 16(%rbp)
jle LBB68_48
## %bb.4: ## in Loop: Header=BB68_3 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -76(%rbp)
movq -16(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB68_6
## %bb.5: ## in Loop: Header=BB68_3 Depth=1
movq -16(%rbp), %rdi
callq _prep_huffman
LBB68_6: ## in Loop: Header=BB68_3 Depth=1
movq -16(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -68(%rbp)
movq -24(%rbp), %rax
movslq -68(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -68(%rbp)
cmpl $0, -68(%rbp)
jl LBB68_10
## %bb.7: ## in Loop: Header=BB68_3 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -68(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -80(%rbp)
movl -80(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -80(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB68_9
## %bb.8: ## in Loop: Header=BB68_3 Depth=1
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -68(%rbp)
LBB68_9: ## in Loop: Header=BB68_3 Depth=1
jmp LBB68_11
LBB68_10: ## in Loop: Header=BB68_3 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -68(%rbp)
LBB68_11: ## in Loop: Header=BB68_3 Depth=1
cmpl $0, -68(%rbp)
jge LBB68_17
## %bb.12:
movq -16(%rbp), %rax
cmpb $0, 1756(%rax)
jne LBB68_16
## %bb.13:
movq -16(%rbp), %rax
cmpl $0, 1764(%rax)
je LBB68_15
## %bb.14:
movl $0, -4(%rbp)
jmp LBB68_49
LBB68_15:
jmp LBB68_16
LBB68_16:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB68_49
LBB68_17: ## in Loop: Header=BB68_3 Depth=1
movl -56(%rbp), %eax
movl -60(%rbp), %ecx
shll $1, %ecx
addl %ecx, %eax
addl -72(%rbp), %eax
movl -52(%rbp), %ecx
shll $1, %ecx
cmpl %ecx, %eax
jle LBB68_19
## %bb.18: ## in Loop: Header=BB68_3 Depth=1
movl -52(%rbp), %eax
shll $1, %eax
movl -60(%rbp), %ecx
shll $1, %ecx
subl -56(%rbp), %ecx
subl %ecx, %eax
movl %eax, -72(%rbp)
LBB68_19: ## in Loop: Header=BB68_3 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
imull -68(%rbp), %eax
movl %eax, -68(%rbp)
movq -24(%rbp), %rax
cmpb $0, 26(%rax)
je LBB68_29
## %bb.20: ## in Loop: Header=BB68_3 Depth=1
movl $0, -64(%rbp)
LBB68_21: ## Parent Loop BB68_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -64(%rbp), %eax
cmpl -72(%rbp), %eax
jge LBB68_28
## %bb.22: ## in Loop: Header=BB68_21 Depth=2
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -68(%rbp), %ecx
addl -64(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -84(%rbp)
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB68_24
## %bb.23: ## in Loop: Header=BB68_21 Depth=2
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB68_24: ## in Loop: Header=BB68_21 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
cmpl $2, %eax
jne LBB68_26
## %bb.25: ## in Loop: Header=BB68_21 Depth=2
movl $0, -56(%rbp)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
LBB68_26: ## in Loop: Header=BB68_21 Depth=2
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -76(%rbp)
## %bb.27: ## in Loop: Header=BB68_21 Depth=2
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB68_21
LBB68_28: ## in Loop: Header=BB68_3 Depth=1
jmp LBB68_47
LBB68_29: ## in Loop: Header=BB68_3 Depth=1
movl $0, -64(%rbp)
cmpl $1, -56(%rbp)
jne LBB68_33
## %bb.30: ## in Loop: Header=BB68_3 Depth=1
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -68(%rbp), %ecx
addl -64(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB68_32
## %bb.31: ## in Loop: Header=BB68_3 Depth=1
movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB68_32: ## in Loop: Header=BB68_3 Depth=1
movl $0, -56(%rbp)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
LBB68_33: ## in Loop: Header=BB68_3 Depth=1
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -96(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -104(%rbp)
LBB68_34: ## Parent Loop BB68_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -64(%rbp), %eax
addl $1, %eax
cmpl -72(%rbp), %eax
jge LBB68_40
## %bb.35: ## in Loop: Header=BB68_34 Depth=2
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -68(%rbp), %ecx
addl -64(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -108(%rbp)
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -68(%rbp), %ecx
addl -64(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -112(%rbp)
cmpq $0, -96(%rbp)
je LBB68_37
## %bb.36: ## in Loop: Header=BB68_34 Depth=2
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
movslq -60(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB68_37: ## in Loop: Header=BB68_34 Depth=2
cmpq $0, -104(%rbp)
je LBB68_39
## %bb.38: ## in Loop: Header=BB68_34 Depth=2
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -104(%rbp), %rax
movslq -60(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB68_39: ## in Loop: Header=BB68_34 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
movl -64(%rbp), %eax
addl $2, %eax
movl %eax, -64(%rbp)
jmp LBB68_34
LBB68_40: ## in Loop: Header=BB68_3 Depth=1
movl -64(%rbp), %eax
cmpl -72(%rbp), %eax
jge LBB68_46
## %bb.41: ## in Loop: Header=BB68_3 Depth=1
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -68(%rbp), %ecx
addl -64(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -116(%rbp)
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB68_43
## %bb.42: ## in Loop: Header=BB68_3 Depth=1
movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB68_43: ## in Loop: Header=BB68_3 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
cmpl $2, %eax
jne LBB68_45
## %bb.44: ## in Loop: Header=BB68_3 Depth=1
movl $0, -56(%rbp)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
LBB68_45: ## in Loop: Header=BB68_3 Depth=1
jmp LBB68_46
LBB68_46: ## in Loop: Header=BB68_3 Depth=1
jmp LBB68_47
LBB68_47: ## in Loop: Header=BB68_3 Depth=1
movl -72(%rbp), %ecx
movl 16(%rbp), %eax
subl %ecx, %eax
movl %eax, 16(%rbp)
jmp LBB68_3
LBB68_48:
movl -56(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movl -60(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movl $1, -4(%rbp)
LBB68_49:
movl -4(%rbp), %eax
addq $128, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function codebook_decode_deinterleave_repeat
_codebook_decode_deinterleave_repeat: ## @codebook_decode_deinterleave_repeat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movl 24(%rbp), %eax
movl 16(%rbp), %eax
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -76(%rbp)
movq -24(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $0, %eax
jne LBB69_2
## %bb.1:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB69_45
LBB69_2:
jmp LBB69_3
LBB69_3: ## =>This Loop Header: Depth=1
## Child Loop BB69_26 Depth 2
## Child Loop BB69_35 Depth 2
cmpl $0, 24(%rbp)
jle LBB69_44
## %bb.4: ## in Loop: Header=BB69_3 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -80(%rbp)
movq -16(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB69_6
## %bb.5: ## in Loop: Header=BB69_3 Depth=1
movq -16(%rbp), %rdi
callq _prep_huffman
LBB69_6: ## in Loop: Header=BB69_3 Depth=1
movq -16(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -72(%rbp)
movq -24(%rbp), %rax
movslq -72(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -72(%rbp)
cmpl $0, -72(%rbp)
jl LBB69_10
## %bb.7: ## in Loop: Header=BB69_3 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -72(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -84(%rbp)
movl -84(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -84(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB69_9
## %bb.8: ## in Loop: Header=BB69_3 Depth=1
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -72(%rbp)
LBB69_9: ## in Loop: Header=BB69_3 Depth=1
jmp LBB69_11
LBB69_10: ## in Loop: Header=BB69_3 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -72(%rbp)
LBB69_11: ## in Loop: Header=BB69_3 Depth=1
movq -24(%rbp), %rcx
movb $1, %al
cmpb $0, 27(%rcx)
movb %al, -93(%rbp) ## 1-byte Spill
je LBB69_13
## %bb.12: ## in Loop: Header=BB69_3 Depth=1
movl -72(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 2112(%rcx), %eax
setl %al
movb %al, -93(%rbp) ## 1-byte Spill
LBB69_13: ## in Loop: Header=BB69_3 Depth=1
movb -93(%rbp), %al ## 1-byte Reload
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB69_15
## %bb.14:
leaq L___func__.codebook_decode_deinterleave_repeat(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.7(%rip), %rcx
movl $1811, %edx ## imm = 0x713
callq ___assert_rtn
LBB69_15: ## in Loop: Header=BB69_3 Depth=1
jmp LBB69_16
LBB69_16: ## in Loop: Header=BB69_3 Depth=1
cmpl $0, -72(%rbp)
jge LBB69_22
## %bb.17:
movq -16(%rbp), %rax
cmpb $0, 1756(%rax)
jne LBB69_21
## %bb.18:
movq -16(%rbp), %rax
cmpl $0, 1764(%rax)
je LBB69_20
## %bb.19:
movl $0, -4(%rbp)
jmp LBB69_45
LBB69_20:
jmp LBB69_21
LBB69_21:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB69_45
LBB69_22: ## in Loop: Header=BB69_3 Depth=1
movl -60(%rbp), %eax
movl -64(%rbp), %ecx
imull -36(%rbp), %ecx
addl %ecx, %eax
addl -76(%rbp), %eax
movl 16(%rbp), %ecx
imull -36(%rbp), %ecx
cmpl %ecx, %eax
jle LBB69_24
## %bb.23: ## in Loop: Header=BB69_3 Depth=1
movl 16(%rbp), %eax
imull -36(%rbp), %eax
movl -64(%rbp), %ecx
imull -36(%rbp), %ecx
subl -60(%rbp), %ecx
subl %ecx, %eax
movl %eax, -76(%rbp)
LBB69_24: ## in Loop: Header=BB69_3 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
imull -72(%rbp), %eax
movl %eax, -72(%rbp)
movq -24(%rbp), %rax
cmpb $0, 26(%rax)
je LBB69_34
## %bb.25: ## in Loop: Header=BB69_3 Depth=1
movl $0, -68(%rbp)
LBB69_26: ## Parent Loop BB69_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -68(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB69_33
## %bb.27: ## in Loop: Header=BB69_26 Depth=2
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -72(%rbp), %ecx
addl -68(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -80(%rbp), %xmm0
movss %xmm0, -88(%rbp)
movq -32(%rbp), %rax
movslq -60(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB69_29
## %bb.28: ## in Loop: Header=BB69_26 Depth=2
movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -60(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -64(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB69_29: ## in Loop: Header=BB69_26 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
cmpl -36(%rbp), %eax
jne LBB69_31
## %bb.30: ## in Loop: Header=BB69_26 Depth=2
movl $0, -60(%rbp)
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
LBB69_31: ## in Loop: Header=BB69_26 Depth=2
movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -80(%rbp)
## %bb.32: ## in Loop: Header=BB69_26 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB69_26
LBB69_33: ## in Loop: Header=BB69_3 Depth=1
jmp LBB69_43
LBB69_34: ## in Loop: Header=BB69_3 Depth=1
movl $0, -68(%rbp)
LBB69_35: ## Parent Loop BB69_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -68(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB69_42
## %bb.36: ## in Loop: Header=BB69_35 Depth=2
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -72(%rbp), %ecx
addl -68(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -80(%rbp), %xmm0
movss %xmm0, -92(%rbp)
movq -32(%rbp), %rax
movslq -60(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB69_38
## %bb.37: ## in Loop: Header=BB69_35 Depth=2
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -60(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -64(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
LBB69_38: ## in Loop: Header=BB69_35 Depth=2
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
cmpl -36(%rbp), %eax
jne LBB69_40
## %bb.39: ## in Loop: Header=BB69_35 Depth=2
movl $0, -60(%rbp)
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
LBB69_40: ## in Loop: Header=BB69_35 Depth=2
jmp LBB69_41
LBB69_41: ## in Loop: Header=BB69_35 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB69_35
LBB69_42: ## in Loop: Header=BB69_3 Depth=1
jmp LBB69_43
LBB69_43: ## in Loop: Header=BB69_3 Depth=1
movl -76(%rbp), %ecx
movl 24(%rbp), %eax
subl %ecx, %eax
movl %eax, 24(%rbp)
jmp LBB69_3
LBB69_44:
movl -60(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movl -64(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movl $1, -4(%rbp)
LBB69_45:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function residue_decode
_residue_decode: ## @residue_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movl %r8d, -40(%rbp)
movl %r9d, -44(%rbp)
cmpl $0, -44(%rbp)
jne LBB70_8
## %bb.1:
movl -40(%rbp), %eax
movq -24(%rbp), %rcx
cltd
idivl (%rcx)
movl %eax, -52(%rbp)
movl $0, -48(%rbp)
LBB70_2: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB70_7
## %bb.3: ## in Loop: Header=BB70_2 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movslq -36(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
movslq -48(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
movl -40(%rbp), %ecx
subl -36(%rbp), %ecx
subl -48(%rbp), %ecx
movl -52(%rbp), %r8d
callq _codebook_decode_step
cmpl $0, %eax
jne LBB70_5
## %bb.4:
movl $0, -4(%rbp)
jmp LBB70_15
LBB70_5: ## in Loop: Header=BB70_2 Depth=1
jmp LBB70_6
LBB70_6: ## in Loop: Header=BB70_2 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB70_2
LBB70_7:
jmp LBB70_14
LBB70_8:
movl $0, -48(%rbp)
LBB70_9: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB70_13
## %bb.10: ## in Loop: Header=BB70_9 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movslq -36(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
movl -40(%rbp), %ecx
subl -48(%rbp), %ecx
callq _codebook_decode
cmpl $0, %eax
jne LBB70_12
## %bb.11:
movl $0, -4(%rbp)
jmp LBB70_15
LBB70_12: ## in Loop: Header=BB70_9 Depth=1
movq -24(%rbp), %rax
movl (%rax), %eax
addl -48(%rbp), %eax
movl %eax, -48(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
addl -36(%rbp), %eax
movl %eax, -36(%rbp)
jmp LBB70_9
LBB70_13:
jmp LBB70_14
LBB70_14:
movl $1, -4(%rbp)
LBB70_15:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function codebook_decode_step
_codebook_decode_step: ## @codebook_decode_step
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movl %r8d, -40(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -36(%rbp), %edx
callq _codebook_decode_start
movl %eax, -48(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -52(%rbp)
cmpl $0, -48(%rbp)
jge LBB71_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB71_11
LBB71_2:
movl -36(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB71_4
## %bb.3:
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
LBB71_4:
movq -24(%rbp), %rax
movl (%rax), %eax
imull -48(%rbp), %eax
movl %eax, -48(%rbp)
movl $0, -44(%rbp)
LBB71_5: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB71_10
## %bb.6: ## in Loop: Header=BB71_5 Depth=1
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -48(%rbp), %ecx
addl -44(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -52(%rbp), %xmm0
movss %xmm0, -56(%rbp)
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -44(%rbp), %ecx
imull -40(%rbp), %ecx
movslq %ecx, %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
movq -24(%rbp), %rax
cmpb $0, 26(%rax)
je LBB71_8
## %bb.7: ## in Loop: Header=BB71_5 Depth=1
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -52(%rbp)
LBB71_8: ## in Loop: Header=BB71_5 Depth=1
jmp LBB71_9
LBB71_9: ## in Loop: Header=BB71_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB71_5
LBB71_10:
movl $1, -4(%rbp)
LBB71_11:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function codebook_decode
_codebook_decode: ## @codebook_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -36(%rbp), %edx
callq _codebook_decode_start
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jge LBB72_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB72_16
LBB72_2:
movl -36(%rbp), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB72_4
## %bb.3:
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
LBB72_4:
movq -24(%rbp), %rax
movl (%rax), %eax
imull -44(%rbp), %eax
movl %eax, -44(%rbp)
movq -24(%rbp), %rax
cmpb $0, 26(%rax)
je LBB72_10
## %bb.5:
xorps %xmm0, %xmm0
movss %xmm0, -48(%rbp)
movl $0, -40(%rbp)
LBB72_6: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB72_9
## %bb.7: ## in Loop: Header=BB72_6 Depth=1
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -44(%rbp), %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -48(%rbp), %xmm0
movss %xmm0, -52(%rbp)
movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -40(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
addss 16(%rax), %xmm0
movss %xmm0, -48(%rbp)
## %bb.8: ## in Loop: Header=BB72_6 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB72_6
LBB72_9:
jmp LBB72_15
LBB72_10:
xorps %xmm0, %xmm0
movss %xmm0, -56(%rbp)
movl $0, -40(%rbp)
LBB72_11: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB72_14
## %bb.12: ## in Loop: Header=BB72_11 Depth=1
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl -44(%rbp), %ecx
addl -40(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -56(%rbp), %xmm0
movq -32(%rbp), %rax
movslq -40(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.13: ## in Loop: Header=BB72_11 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB72_11
LBB72_14:
jmp LBB72_15
LBB72_15:
movl $1, -4(%rbp)
LBB72_16:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function codebook_decode_start
_codebook_decode_start: ## @codebook_decode_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl $-1, -32(%rbp)
movq -24(%rbp), %rax
movzbl 25(%rax), %eax
cmpl $0, %eax
jne LBB73_2
## %bb.1:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
jmp LBB73_21
LBB73_2:
movq -16(%rbp), %rax
cmpl $10, 1776(%rax)
jge LBB73_4
## %bb.3:
movq -16(%rbp), %rdi
callq _prep_huffman
LBB73_4:
movq -16(%rbp), %rax
movl 1772(%rax), %eax
andl $1023, %eax ## imm = 0x3FF
movl %eax, -32(%rbp)
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movswl 48(%rax,%rcx,2), %eax
movl %eax, -32(%rbp)
cmpl $0, -32(%rbp)
jl LBB73_8
## %bb.5:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movslq -32(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -36(%rbp)
movl -36(%rbp), %ecx
movq -16(%rbp), %rax
movl 1772(%rax), %edx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl %edx, %ecx
movl %ecx, 1772(%rax)
movl -36(%rbp), %edx
movq -16(%rbp), %rax
movl 1776(%rax), %ecx
subl %edx, %ecx
movl %ecx, 1776(%rax)
movq -16(%rbp), %rax
cmpl $0, 1776(%rax)
jge LBB73_7
## %bb.6:
movq -16(%rbp), %rax
movl $0, 1776(%rax)
movl $-1, -32(%rbp)
LBB73_7:
jmp LBB73_9
LBB73_8:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _codebook_decode_scalar_raw
movl %eax, -32(%rbp)
LBB73_9:
movq -24(%rbp), %rax
cmpb $0, 27(%rax)
je LBB73_14
## %bb.10:
movl -32(%rbp), %eax
movq -24(%rbp), %rcx
cmpl 2112(%rcx), %eax
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB73_12
## %bb.11:
leaq L___func__.codebook_decode_start(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.8(%rip), %rcx
movl $1717, %edx ## imm = 0x6B5
callq ___assert_rtn
LBB73_12:
jmp LBB73_13
LBB73_13:
jmp LBB73_14
LBB73_14:
cmpl $0, -32(%rbp)
jge LBB73_20
## %bb.15:
movq -16(%rbp), %rax
cmpb $0, 1756(%rax)
jne LBB73_19
## %bb.16:
movq -16(%rbp), %rax
cmpl $0, 1764(%rax)
je LBB73_18
## %bb.17:
movl -32(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB73_22
LBB73_18:
jmp LBB73_19
LBB73_19:
movq -16(%rbp), %rdi
movl $21, %esi
callq _error
LBB73_20:
jmp LBB73_21
LBB73_21:
movl -32(%rbp), %eax
movl %eax, -4(%rbp)
LBB73_22:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function draw_line
_draw_line: ## @draw_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 $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movl %r8d, -24(%rbp)
movl %r9d, -28(%rbp)
movl -24(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, -32(%rbp)
movl -20(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -36(%rbp)
movl -32(%rbp), %edi
callq _abs
movl %eax, -40(%rbp)
movl -12(%rbp), %eax
movl %eax, -48(%rbp)
movl -16(%rbp), %eax
movl %eax, -52(%rbp)
movl $0, -56(%rbp)
movl -32(%rbp), %eax
cltd
idivl -36(%rbp)
movl %eax, -44(%rbp)
cmpl $0, -32(%rbp)
jge LBB74_2
## %bb.1:
movl -44(%rbp), %eax
subl $1, %eax
movl %eax, -60(%rbp)
jmp LBB74_3
LBB74_2:
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
LBB74_3:
movl -44(%rbp), %edi
callq _abs
movl %eax, %ecx
imull -36(%rbp), %ecx
movl -40(%rbp), %eax
subl %ecx, %eax
movl %eax, -40(%rbp)
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB74_5
## %bb.4:
movl -28(%rbp), %eax
movl %eax, -20(%rbp)
LBB74_5:
movslq -52(%rbp), %rcx
leaq _inverse_db_table(%rip), %rax
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq -48(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
LBB74_6: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB74_12
## %bb.7: ## in Loop: Header=BB74_6 Depth=1
movl -40(%rbp), %eax
addl -56(%rbp), %eax
movl %eax, -56(%rbp)
movl -56(%rbp), %eax
cmpl -36(%rbp), %eax
jl LBB74_9
## %bb.8: ## in Loop: Header=BB74_6 Depth=1
movl -36(%rbp), %ecx
movl -56(%rbp), %eax
subl %ecx, %eax
movl %eax, -56(%rbp)
movl -60(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
jmp LBB74_10
LBB74_9: ## in Loop: Header=BB74_6 Depth=1
movl -44(%rbp), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
LBB74_10: ## in Loop: Header=BB74_6 Depth=1
movslq -52(%rbp), %rcx
leaq _inverse_db_table(%rip), %rax
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq -48(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.11: ## in Loop: Header=BB74_6 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB74_6
LBB74_12:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function imdct_step3_iter0_loop
_imdct_step3_iter0_loop: ## @imdct_step3_iter0_loop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movq %r8, -32(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movslq -24(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -48(%rbp)
movl -4(%rbp), %eax
andl $3, %eax
cmpl $0, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB75_2
## %bb.1:
leaq L___func__.imdct_step3_iter0_loop(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.10(%rip), %rcx
movl $2465, %edx ## imm = 0x9A1
callq ___assert_rtn
LBB75_2:
jmp LBB75_3
LBB75_3:
movl -4(%rbp), %eax
sarl $2, %eax
movl %eax, -52(%rbp)
LBB75_4: ## =>This Inner Loop Header: Depth=1
cmpl $0, -52(%rbp)
jle LBB75_7
## %bb.5: ## in Loop: Header=BB75_4 Depth=1
movq -40(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss (%rax), %xmm0
movss %xmm0, -56(%rbp)
movq -40(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss -4(%rax), %xmm0
movss %xmm0, -60(%rbp)
movq -48(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss (%rax), %xmm0
movss %xmm0, (%rax)
movq -48(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss -4(%rax), %xmm0
movss %xmm0, -4(%rax)
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, (%rax)
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, -4(%rax)
movq -32(%rbp), %rax
addq $32, %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss -8(%rax), %xmm0
movss %xmm0, -56(%rbp)
movq -40(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss -12(%rax), %xmm0
movss %xmm0, -60(%rbp)
movq -48(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss -8(%rax), %xmm0
movss %xmm0, -8(%rax)
movq -48(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss -12(%rax), %xmm0
movss %xmm0, -12(%rax)
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, -8(%rax)
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, -12(%rax)
movq -32(%rbp), %rax
addq $32, %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rax
movss -16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss -16(%rax), %xmm0
movss %xmm0, -56(%rbp)
movq -40(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss -20(%rax), %xmm0
movss %xmm0, -60(%rbp)
movq -48(%rbp), %rax
movss -16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss -16(%rax), %xmm0
movss %xmm0, -16(%rax)
movq -48(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss -20(%rax), %xmm0
movss %xmm0, -20(%rax)
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, -16(%rax)
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, -20(%rax)
movq -32(%rbp), %rax
addq $32, %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rax
movss -24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss -24(%rax), %xmm0
movss %xmm0, -56(%rbp)
movq -40(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -48(%rbp), %rax
subss -28(%rax), %xmm0
movss %xmm0, -60(%rbp)
movq -48(%rbp), %rax
movss -24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss -24(%rax), %xmm0
movss %xmm0, -24(%rax)
movq -48(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
addss -28(%rax), %xmm0
movss %xmm0, -28(%rax)
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, -24(%rax)
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -48(%rbp), %rax
movss %xmm0, -28(%rax)
movq -32(%rbp), %rax
addq $32, %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rax
addq $-32, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
addq $-32, %rax
movq %rax, -48(%rbp)
## %bb.6: ## in Loop: Header=BB75_4 Depth=1
movl -52(%rbp), %eax
addl $-1, %eax
movl %eax, -52(%rbp)
jmp LBB75_4
LBB75_7:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function imdct_step3_inner_r_loop
_imdct_step3_inner_r_loop: ## @imdct_step3_inner_r_loop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movq %r8, -32(%rbp)
movl %r9d, -36(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movslq -24(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -64(%rbp)
movl -4(%rbp), %eax
sarl $2, %eax
movl %eax, -40(%rbp)
LBB76_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -40(%rbp)
jle LBB76_4
## %bb.2: ## in Loop: Header=BB76_1 Depth=1
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss (%rax), %xmm0
movss %xmm0, -44(%rbp)
movq -56(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss -4(%rax), %xmm0
movss %xmm0, -48(%rbp)
movq -64(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss (%rax), %xmm0
movss %xmm0, (%rax)
movq -64(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -4(%rax), %xmm0
movss %xmm0, -4(%rax)
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, (%rax)
movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, -4(%rax)
movl -36(%rbp), %ecx
movq -32(%rbp), %rax
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -56(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss -8(%rax), %xmm0
movss %xmm0, -44(%rbp)
movq -56(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss -12(%rax), %xmm0
movss %xmm0, -48(%rbp)
movq -64(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -8(%rax), %xmm0
movss %xmm0, -8(%rax)
movq -64(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -12(%rax), %xmm0
movss %xmm0, -12(%rax)
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, -8(%rax)
movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, -12(%rax)
movl -36(%rbp), %ecx
movq -32(%rbp), %rax
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -56(%rbp), %rax
movss -16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss -16(%rax), %xmm0
movss %xmm0, -44(%rbp)
movq -56(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss -20(%rax), %xmm0
movss %xmm0, -48(%rbp)
movq -64(%rbp), %rax
movss -16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -16(%rax), %xmm0
movss %xmm0, -16(%rax)
movq -64(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -20(%rax), %xmm0
movss %xmm0, -20(%rax)
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, -16(%rax)
movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, -20(%rax)
movl -36(%rbp), %ecx
movq -32(%rbp), %rax
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -56(%rbp), %rax
movss -24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss -24(%rax), %xmm0
movss %xmm0, -44(%rbp)
movq -56(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
subss -28(%rax), %xmm0
movss %xmm0, -48(%rbp)
movq -64(%rbp), %rax
movss -24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -24(%rax), %xmm0
movss %xmm0, -24(%rax)
movq -64(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -28(%rax), %xmm0
movss %xmm0, -28(%rax)
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, -24(%rax)
movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
mulss 4(%rax), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -64(%rbp), %rax
movss %xmm0, -28(%rax)
movq -56(%rbp), %rax
addq $-32, %rax
movq %rax, -56(%rbp)
movq -64(%rbp), %rax
addq $-32, %rax
movq %rax, -64(%rbp)
movl -36(%rbp), %ecx
movq -32(%rbp), %rax
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
## %bb.3: ## in Loop: Header=BB76_1 Depth=1
movl -40(%rbp), %eax
addl $-1, %eax
movl %eax, -40(%rbp)
jmp LBB76_1
LBB76_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function imdct_step3_inner_s_loop
_imdct_step3_inner_s_loop: ## @imdct_step3_inner_s_loop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 16(%rbp), %eax
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movq %r8, -32(%rbp)
movl %r9d, -36(%rbp)
movq -32(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -44(%rbp)
movq -32(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -48(%rbp)
movq -32(%rbp), %rax
movl -36(%rbp), %ecx
addl $0, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -52(%rbp)
movq -32(%rbp), %rax
movl -36(%rbp), %ecx
addl $0, %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -56(%rbp)
movq -32(%rbp), %rax
movl -36(%rbp), %ecx
shll $1, %ecx
addl $0, %ecx
addl $0, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -60(%rbp)
movq -32(%rbp), %rax
movl -36(%rbp), %ecx
shll $1, %ecx
addl $0, %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movq -32(%rbp), %rax
imull $3, -36(%rbp), %ecx
addl $0, %ecx
addl $0, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -68(%rbp)
movq -32(%rbp), %rax
imull $3, -36(%rbp), %ecx
addl $0, %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -88(%rbp)
movq -88(%rbp), %rax
movslq -24(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -96(%rbp)
movl -4(%rbp), %eax
movl %eax, -40(%rbp)
LBB77_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -40(%rbp)
jle LBB77_4
## %bb.2: ## in Loop: Header=BB77_1 Depth=1
movq -88(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss (%rax), %xmm0
movss %xmm0, -76(%rbp)
movq -88(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss -4(%rax), %xmm0
movss %xmm0, -80(%rbp)
movq -88(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss (%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, (%rax)
movq -88(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss -4(%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, -4(%rax)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -80(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -48(%rbp), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, (%rax)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -48(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, -4(%rax)
movq -88(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss -8(%rax), %xmm0
movss %xmm0, -76(%rbp)
movq -88(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss -12(%rax), %xmm0
movss %xmm0, -80(%rbp)
movq -88(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss -8(%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, -8(%rax)
movq -88(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss -12(%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, -12(%rax)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -52(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -80(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -56(%rbp), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, -8(%rax)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -52(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -56(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, -12(%rax)
movq -88(%rbp), %rax
movss -16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss -16(%rax), %xmm0
movss %xmm0, -76(%rbp)
movq -88(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss -20(%rax), %xmm0
movss %xmm0, -80(%rbp)
movq -88(%rbp), %rax
movss -16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss -16(%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, -16(%rax)
movq -88(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss -20(%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, -20(%rax)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -80(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -64(%rbp), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, -16(%rax)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -64(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, -20(%rax)
movq -88(%rbp), %rax
movss -24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss -24(%rax), %xmm0
movss %xmm0, -76(%rbp)
movq -88(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
subss -28(%rax), %xmm0
movss %xmm0, -80(%rbp)
movq -88(%rbp), %rax
movss -24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss -24(%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, -24(%rax)
movq -88(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -96(%rbp), %rax
addss -28(%rax), %xmm0
movq -88(%rbp), %rax
movss %xmm0, -28(%rax)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -68(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -80(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -72(%rbp), %xmm1
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, -24(%rax)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -68(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -72(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -96(%rbp), %rax
movss %xmm0, -28(%rax)
movl 16(%rbp), %ecx
movq -88(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -88(%rbp)
movl 16(%rbp), %ecx
movq -96(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -96(%rbp)
## %bb.3: ## in Loop: Header=BB77_1 Depth=1
movl -40(%rbp), %eax
addl $-1, %eax
movl %eax, -40(%rbp)
jmp LBB77_1
LBB77_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function imdct_step3_inner_s_loop_ld654
_imdct_step3_inner_s_loop_ld654: ## @imdct_step3_inner_s_loop_ld654
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq %rcx, -32(%rbp)
movl %r8d, -36(%rbp)
movl $-8, -40(%rbp)
movl -36(%rbp), %eax
sarl $3, %eax
movl %eax, -44(%rbp)
movq -32(%rbp), %rax
movl -44(%rbp), %ecx
addl $0, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -48(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movl -4(%rbp), %ecx
shll $4, %ecx
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -64(%rbp)
LBB78_1: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax
cmpq -64(%rbp), %rax
jbe LBB78_3
## %bb.2: ## in Loop: Header=BB78_1 Depth=1
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -32(%rax), %xmm0
movss %xmm0, -68(%rbp)
movq -56(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -36(%rax), %xmm0
movss %xmm0, -72(%rbp)
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -32(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, (%rax)
movq -56(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -36(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -4(%rax)
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
movss %xmm0, -32(%rax)
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
movss %xmm0, -36(%rax)
movq -56(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -40(%rax), %xmm0
movss %xmm0, -68(%rbp)
movq -56(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -44(%rax), %xmm0
movss %xmm0, -72(%rbp)
movq -56(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -40(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -8(%rax)
movq -56(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -44(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -12(%rax)
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -72(%rbp), %xmm0
mulss -48(%rbp), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -40(%rax)
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -68(%rbp), %xmm0
mulss -48(%rbp), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -44(%rax)
movq -56(%rbp), %rax
movss -48(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -16(%rax), %xmm0
movss %xmm0, -68(%rbp)
movq -56(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -52(%rax), %xmm0
movss %xmm0, -72(%rbp)
movq -56(%rbp), %rax
movss -16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -48(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -16(%rax)
movq -56(%rbp), %rax
movss -20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -52(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -20(%rax)
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
movss %xmm0, -48(%rax)
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
movss %xmm0, -52(%rax)
movq -56(%rbp), %rax
movss -56(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -24(%rax), %xmm0
movss %xmm0, -68(%rbp)
movq -56(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
subss -60(%rax), %xmm0
movss %xmm0, -72(%rbp)
movq -56(%rbp), %rax
movss -24(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -56(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -24(%rax)
movq -56(%rbp), %rax
movss -28(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
addss -60(%rax), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -28(%rax)
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -72(%rbp), %xmm0
mulss -48(%rbp), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -56(%rax)
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -72(%rbp), %xmm0
mulss -48(%rbp), %xmm0
movq -56(%rbp), %rax
movss %xmm0, -60(%rax)
movq -56(%rbp), %rdi
callq _iter_54
movq -56(%rbp), %rdi
addq $-32, %rdi
callq _iter_54
movq -56(%rbp), %rax
addq $-64, %rax
movq %rax, -56(%rbp)
jmp LBB78_1
LBB78_3:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function iter_54
_iter_54: ## @iter_54
.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
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
subss -16(%rax), %xmm0
movss %xmm0, -12(%rbp)
movq -8(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
addss -16(%rax), %xmm0
movss %xmm0, -28(%rbp)
movq -8(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
addss -24(%rax), %xmm0
movss %xmm0, -36(%rbp)
movq -8(%rbp), %rax
movss -8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
subss -24(%rax), %xmm0
movss %xmm0, -20(%rbp)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -36(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, (%rax)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -36(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, -8(%rax)
movq -8(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
subss -28(%rax), %xmm0
movss %xmm0, -24(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -24(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, -16(%rax)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -24(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, -24(%rax)
movq -8(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
subss -20(%rax), %xmm0
movss %xmm0, -16(%rbp)
movq -8(%rbp), %rax
movss -4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
addss -20(%rax), %xmm0
movss %xmm0, -32(%rbp)
movq -8(%rbp), %rax
movss -12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
addss -28(%rax), %xmm0
movss %xmm0, -40(%rbp)
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -40(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, -4(%rax)
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -40(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, -12(%rax)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -20(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, -20(%rax)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -20(%rbp), %xmm0
movq -8(%rbp), %rax
movss %xmm0, -28(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get_window
_get_window: ## @get_window
.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 -20(%rbp), %eax
shll $1, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 160(%rcx), %eax
jne LBB80_2
## %bb.1:
movq -16(%rbp), %rax
movq 1456(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB80_5
LBB80_2:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 164(%rcx), %eax
jne LBB80_4
## %bb.3:
movq -16(%rbp), %rax
movq 1464(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB80_5
LBB80_4:
leaq L___func__.get_window(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.11(%rip), %rcx
movl $3116, %edx ## imm = 0xC2C
callq ___assert_rtn
LBB80_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_validate
_vorbis_validate: ## @vorbis_validate
.cfi_startproc
## %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
leaq _vorbis_validate.vorbis(%rip), %rsi
movl $6, %edx
callq _memcmp
cmpl $0, %eax
sete %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function skip
_skip: ## @skip
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
cmpq $0, 40(%rax)
je LBB82_4
## %bb.1:
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movq 40(%rax), %rcx
movslq %edx, %rdx
addq %rdx, %rcx
movq %rcx, 40(%rax)
movq -8(%rbp), %rax
movq 40(%rax), %rax
movq -8(%rbp), %rcx
cmpq 56(%rcx), %rax
jb LBB82_3
## %bb.2:
movq -8(%rbp), %rax
movl $1, 144(%rax)
LBB82_3:
jmp LBB82_5
LBB82_4:
movq -8(%rbp), %rax
movq 24(%rax), %rdi
callq _ftell
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movq 24(%rax), %rdi
movq -24(%rbp), %rsi
movslq -12(%rbp), %rax
addq %rax, %rsi
xorl %edx, %edx
callq _fseek
LBB82_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function crc32_init
_crc32_init: ## @crc32_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB83_1: ## =>This Loop Header: Depth=1
## Child Loop BB83_3 Depth 2
cmpl $256, -4(%rbp) ## imm = 0x100
jge LBB83_8
## %bb.2: ## in Loop: Header=BB83_1 Depth=1
movl -4(%rbp), %eax
shll $24, %eax
movl %eax, -12(%rbp)
movl $0, -8(%rbp)
LBB83_3: ## Parent Loop BB83_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -8(%rbp)
jge LBB83_6
## %bb.4: ## in Loop: Header=BB83_3 Depth=2
movl -12(%rbp), %eax
shll $1, %eax
movl -12(%rbp), %esi
xorl %ecx, %ecx
movl $79764919, %edx ## imm = 0x4C11DB7
cmpl $-2147483648, %esi ## imm = 0x80000000
cmovael %edx, %ecx
xorl %ecx, %eax
movl %eax, -12(%rbp)
## %bb.5: ## in Loop: Header=BB83_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB83_3
LBB83_6: ## in Loop: Header=BB83_1 Depth=1
movl -12(%rbp), %edx
movslq -4(%rbp), %rcx
leaq _crc_table(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.7: ## in Loop: Header=BB83_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB83_1
LBB83_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function setup_malloc
_setup_malloc: ## @setup_malloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl -20(%rbp), %eax
addl $3, %eax
andl $-4, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %ecx
movq -16(%rbp), %rax
addl 8(%rax), %ecx
movl %ecx, 8(%rax)
movq -16(%rbp), %rax
cmpq $0, 120(%rax)
je LBB84_4
## %bb.1:
movq -16(%rbp), %rax
movq 120(%rax), %rax
movq -16(%rbp), %rcx
movslq 136(%rcx), %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movl 136(%rax), %eax
addl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 140(%rcx), %eax
jle LBB84_3
## %bb.2:
movq $0, -8(%rbp)
jmp LBB84_8
LBB84_3:
movl -20(%rbp), %ecx
movq -16(%rbp), %rax
addl 136(%rax), %ecx
movl %ecx, 136(%rax)
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB84_8
LBB84_4:
cmpl $0, -20(%rbp)
je LBB84_6
## %bb.5:
movslq -20(%rbp), %rdi
callq _malloc
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB84_7
LBB84_6:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB84_7
LBB84_7:
movq -40(%rbp), %rax ## 8-byte Reload
movq %rax, -8(%rbp)
LBB84_8:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function setup_temp_free
_setup_temp_free: ## @setup_temp_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rax
cmpq $0, 120(%rax)
je LBB85_2
## %bb.1:
movl -20(%rbp), %ecx
addl $3, %ecx
andl $-4, %ecx
movq -8(%rbp), %rax
addl 140(%rax), %ecx
movl %ecx, 140(%rax)
jmp LBB85_3
LBB85_2:
movq -16(%rbp), %rdi
callq _free
LBB85_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function compute_codewords
_compute_codewords: ## @compute_codewords
.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)
movq %rdi, -160(%rbp)
movq %rsi, -168(%rbp)
movl %edx, -172(%rbp)
movq %rcx, -184(%rbp)
movl $0, -196(%rbp)
leaq -144(%rbp), %rdi
xorl %esi, %esi
movl $128, %edx
callq _memset
movl $0, -192(%rbp)
LBB86_1: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp), %eax
cmpl -172(%rbp), %eax
jge LBB86_6
## %bb.2: ## in Loop: Header=BB86_1 Depth=1
movq -168(%rbp), %rax
movslq -192(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $255, %eax
jge LBB86_4
## %bb.3:
jmp LBB86_6
LBB86_4: ## in Loop: Header=BB86_1 Depth=1
jmp LBB86_5
LBB86_5: ## in Loop: Header=BB86_1 Depth=1
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB86_1
LBB86_6:
movl -192(%rbp), %eax
cmpl -172(%rbp), %eax
jne LBB86_11
## %bb.7:
movq -160(%rbp), %rax
cmpl $0, 2112(%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB86_9
## %bb.8:
leaq L___func__.compute_codewords(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.13(%rip), %rcx
movl $1028, %edx ## imm = 0x404
callq ___assert_rtn
LBB86_9:
jmp LBB86_10
LBB86_10:
movl $1, -148(%rbp)
jmp LBB86_38
LBB86_11:
movq -160(%rbp), %rdi
movl -192(%rbp), %edx
movl -196(%rbp), %ecx
movl %ecx, %eax
addl $1, %eax
movl %eax, -196(%rbp)
movq -168(%rbp), %rax
movslq -192(%rbp), %rsi
movzbl (%rax,%rsi), %r8d
movq -184(%rbp), %r9
xorl %esi, %esi
callq _add_entry
movl $1, -188(%rbp)
LBB86_12: ## =>This Inner Loop Header: Depth=1
movl -188(%rbp), %eax
movq -168(%rbp), %rcx
movslq -192(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jg LBB86_15
## %bb.13: ## in Loop: Header=BB86_12 Depth=1
movl $32, %ecx
subl -188(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movslq -188(%rbp), %rax
movl %ecx, -144(%rbp,%rax,4)
## %bb.14: ## in Loop: Header=BB86_12 Depth=1
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB86_12
LBB86_15:
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
LBB86_16: ## =>This Loop Header: Depth=1
## Child Loop BB86_20 Depth 2
## Child Loop BB86_28 Depth 2
movl -188(%rbp), %eax
cmpl -172(%rbp), %eax
jge LBB86_37
## %bb.17: ## in Loop: Header=BB86_16 Depth=1
movq -168(%rbp), %rax
movslq -188(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -204(%rbp)
cmpl $255, -204(%rbp)
jne LBB86_19
## %bb.18: ## in Loop: Header=BB86_16 Depth=1
jmp LBB86_36
LBB86_19: ## in Loop: Header=BB86_16 Depth=1
jmp LBB86_20
LBB86_20: ## Parent Loop BB86_16 Depth=1
## => This Inner Loop Header: Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -204(%rbp)
movb %al, -209(%rbp) ## 1-byte Spill
jle LBB86_22
## %bb.21: ## in Loop: Header=BB86_20 Depth=2
movslq -204(%rbp), %rax
cmpl $0, -144(%rbp,%rax,4)
setne %al
xorb $-1, %al
movb %al, -209(%rbp) ## 1-byte Spill
LBB86_22: ## in Loop: Header=BB86_20 Depth=2
movb -209(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB86_23
jmp LBB86_24
LBB86_23: ## in Loop: Header=BB86_20 Depth=2
movl -204(%rbp), %eax
addl $-1, %eax
movl %eax, -204(%rbp)
jmp LBB86_20
LBB86_24: ## in Loop: Header=BB86_16 Depth=1
cmpl $0, -204(%rbp)
jne LBB86_26
## %bb.25:
leaq L___func__.compute_codewords(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.11(%rip), %rcx
movl $1049, %edx ## imm = 0x419
callq ___assert_rtn
LBB86_26: ## in Loop: Header=BB86_16 Depth=1
movslq -204(%rbp), %rax
movl -144(%rbp,%rax,4), %eax
movl %eax, -200(%rbp)
movslq -204(%rbp), %rax
movl $0, -144(%rbp,%rax,4)
movq -160(%rbp), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
movl -200(%rbp), %edi
callq _bit_reverse
movq -224(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
movl -188(%rbp), %edx
movl -196(%rbp), %ecx
movl %ecx, %eax
addl $1, %eax
movl %eax, -196(%rbp)
movq -168(%rbp), %rax
movslq -188(%rbp), %r8
movzbl (%rax,%r8), %r8d
movq -184(%rbp), %r9
callq _add_entry
movl -204(%rbp), %eax
movq -168(%rbp), %rcx
movslq -188(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je LBB86_35
## %bb.27: ## in Loop: Header=BB86_16 Depth=1
movq -168(%rbp), %rax
movslq -188(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -208(%rbp)
LBB86_28: ## Parent Loop BB86_16 Depth=1
## => This Inner Loop Header: Depth=2
movl -208(%rbp), %eax
cmpl -204(%rbp), %eax
jle LBB86_34
## %bb.29: ## in Loop: Header=BB86_28 Depth=2
movslq -208(%rbp), %rax
cmpl $0, -144(%rbp,%rax,4)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB86_31
## %bb.30:
leaq L___func__.compute_codewords(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.14(%rip), %rcx
movl $1056, %edx ## imm = 0x420
callq ___assert_rtn
LBB86_31: ## in Loop: Header=BB86_28 Depth=2
jmp LBB86_32
LBB86_32: ## in Loop: Header=BB86_28 Depth=2
movl -200(%rbp), %eax
movl %eax, -228(%rbp) ## 4-byte Spill
movl $32, %ecx
subl -208(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl -228(%rbp), %ecx ## 4-byte Reload
addl %eax, %ecx
movslq -208(%rbp), %rax
movl %ecx, -144(%rbp,%rax,4)
## %bb.33: ## in Loop: Header=BB86_28 Depth=2
movl -208(%rbp), %eax
addl $-1, %eax
movl %eax, -208(%rbp)
jmp LBB86_28
LBB86_34: ## in Loop: Header=BB86_16 Depth=1
jmp LBB86_35
LBB86_35: ## in Loop: Header=BB86_16 Depth=1
jmp LBB86_36
LBB86_36: ## in Loop: Header=BB86_16 Depth=1
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB86_16
LBB86_37:
movl $1, -148(%rbp)
LBB86_38:
movl -148(%rbp), %eax
movl %eax, -232(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB86_40
## %bb.39:
movl -232(%rbp), %eax ## 4-byte Reload
addq $240, %rsp
popq %rbp
retq
LBB86_40:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function compute_sorted_huffman
_compute_sorted_huffman: ## @compute_sorted_huffman
.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 -8(%rbp), %rax
cmpb $0, 27(%rax)
jne LBB87_11
## %bb.1:
movl $0, -36(%rbp)
movl $0, -28(%rbp)
LBB87_2: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB87_7
## %bb.3: ## in Loop: Header=BB87_2 Depth=1
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movzbl (%rax,%rcx), %esi
callq _include_in_sort
cmpl $0, %eax
je LBB87_5
## %bb.4: ## in Loop: Header=BB87_2 Depth=1
movq -8(%rbp), %rax
movq 40(%rax), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edi
callq _bit_reverse
movl %eax, %edx
movq -8(%rbp), %rax
movq 2096(%rax), %rax
movl -36(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -36(%rbp)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
LBB87_5: ## in Loop: Header=BB87_2 Depth=1
jmp LBB87_6
LBB87_6: ## in Loop: Header=BB87_2 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB87_2
LBB87_7:
movl -36(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 2112(%rcx), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB87_9
## %bb.8:
leaq L___func__.compute_sorted_huffman(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.15(%rip), %rcx
movl $1123, %edx ## imm = 0x463
callq ___assert_rtn
LBB87_9:
jmp LBB87_10
LBB87_10:
jmp LBB87_16
LBB87_11:
movl $0, -28(%rbp)
LBB87_12: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 2112(%rcx), %eax
jge LBB87_15
## %bb.13: ## in Loop: Header=BB87_12 Depth=1
movq -8(%rbp), %rax
movq 40(%rax), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edi
callq _bit_reverse
movl %eax, %edx
movq -8(%rbp), %rax
movq 2096(%rax), %rax
movslq -28(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.14: ## in Loop: Header=BB87_12 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB87_12
LBB87_15:
jmp LBB87_16
LBB87_16:
movq -8(%rbp), %rax
movq 2096(%rax), %rdi
movq -8(%rbp), %rax
movslq 2112(%rax), %rsi
movl $4, %edx
leaq _uint32_compare(%rip), %rcx
callq _qsort
movq -8(%rbp), %rax
movq 2096(%rax), %rax
movq -8(%rbp), %rcx
movslq 2112(%rcx), %rcx
movl $-1, (%rax,%rcx,4)
movq -8(%rbp), %rax
movzbl 27(%rax), %eax
cmpl $0, %eax
je LBB87_18
## %bb.17:
movq -8(%rbp), %rax
movl 2112(%rax), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
jmp LBB87_19
LBB87_18:
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
LBB87_19:
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, -32(%rbp)
movl $0, -28(%rbp)
LBB87_20: ## =>This Loop Header: Depth=1
## Child Loop BB87_26 Depth 2
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB87_40
## %bb.21: ## in Loop: Header=BB87_20 Depth=1
movq -8(%rbp), %rax
movzbl 27(%rax), %eax
cmpl $0, %eax
je LBB87_23
## %bb.22: ## in Loop: Header=BB87_20 Depth=1
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
movslq -28(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
jmp LBB87_24
LBB87_23: ## in Loop: Header=BB87_20 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
LBB87_24: ## in Loop: Header=BB87_20 Depth=1
movl -64(%rbp), %eax ## 4-byte Reload
movl %eax, -40(%rbp)
movq -8(%rbp), %rdi
movl -40(%rbp), %eax
## kill: def $al killed $al killed $eax
movzbl %al, %esi
callq _include_in_sort
cmpl $0, %eax
je LBB87_38
## %bb.25: ## in Loop: Header=BB87_20 Depth=1
movq -8(%rbp), %rax
movq 40(%rax), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edi
callq _bit_reverse
movl %eax, -44(%rbp)
movl $0, -48(%rbp)
movq -8(%rbp), %rax
movl 2112(%rax), %eax
movl %eax, -52(%rbp)
LBB87_26: ## Parent Loop BB87_20 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, -52(%rbp)
jle LBB87_31
## %bb.27: ## in Loop: Header=BB87_26 Depth=2
movl -48(%rbp), %eax
movl -52(%rbp), %ecx
sarl $1, %ecx
addl %ecx, %eax
movl %eax, -56(%rbp)
movq -8(%rbp), %rax
movq 2096(%rax), %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -44(%rbp), %eax
ja LBB87_29
## %bb.28: ## in Loop: Header=BB87_26 Depth=2
movl -56(%rbp), %eax
movl %eax, -48(%rbp)
movl -52(%rbp), %ecx
sarl $1, %ecx
movl -52(%rbp), %eax
subl %ecx, %eax
movl %eax, -52(%rbp)
jmp LBB87_30
LBB87_29: ## in Loop: Header=BB87_26 Depth=2
movl -52(%rbp), %eax
sarl $1, %eax
movl %eax, -52(%rbp)
LBB87_30: ## in Loop: Header=BB87_26 Depth=2
jmp LBB87_26
LBB87_31: ## in Loop: Header=BB87_20 Depth=1
movq -8(%rbp), %rax
movq 2096(%rax), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -44(%rbp), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB87_33
## %bb.32:
leaq L___func__.compute_sorted_huffman(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.16(%rip), %rcx
movl $1153, %edx ## imm = 0x481
callq ___assert_rtn
LBB87_33: ## in Loop: Header=BB87_20 Depth=1
jmp LBB87_34
LBB87_34: ## in Loop: Header=BB87_20 Depth=1
movq -8(%rbp), %rax
cmpb $0, 27(%rax)
je LBB87_36
## %bb.35: ## in Loop: Header=BB87_20 Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movq 2104(%rax), %rax
movslq -48(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -40(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -48(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp LBB87_37
LBB87_36: ## in Loop: Header=BB87_20 Depth=1
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movq 2104(%rax), %rax
movslq -48(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB87_37: ## in Loop: Header=BB87_20 Depth=1
jmp LBB87_38
LBB87_38: ## in Loop: Header=BB87_20 Depth=1
jmp LBB87_39
LBB87_39: ## in Loop: Header=BB87_20 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB87_20
LBB87_40:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function compute_accelerated_huffman
_compute_accelerated_huffman: ## @compute_accelerated_huffman
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB88_1: ## =>This Inner Loop Header: Depth=1
cmpl $1024, -12(%rbp) ## imm = 0x400
jge LBB88_4
## %bb.2: ## in Loop: Header=BB88_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movw $-1, 48(%rax,%rcx,2)
## %bb.3: ## in Loop: Header=BB88_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB88_1
LBB88_4:
movq -8(%rbp), %rax
movzbl 27(%rax), %eax
cmpl $0, %eax
je LBB88_6
## %bb.5:
movq -8(%rbp), %rax
movl 2112(%rax), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB88_7
LBB88_6:
movq -8(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB88_7:
movl -24(%rbp), %eax ## 4-byte Reload
movl %eax, -16(%rbp)
cmpl $32767, -16(%rbp) ## imm = 0x7FFF
jle LBB88_9
## %bb.8:
movl $32767, -16(%rbp) ## imm = 0x7FFF
LBB88_9:
movl $0, -12(%rbp)
LBB88_10: ## =>This Loop Header: Depth=1
## Child Loop BB88_16 Depth 2
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB88_21
## %bb.11: ## in Loop: Header=BB88_10 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -12(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $10, %eax
jg LBB88_19
## %bb.12: ## in Loop: Header=BB88_10 Depth=1
movq -8(%rbp), %rax
movzbl 27(%rax), %eax
cmpl $0, %eax
je LBB88_14
## %bb.13: ## in Loop: Header=BB88_10 Depth=1
movq -8(%rbp), %rax
movq 2096(%rax), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %edi
callq _bit_reverse
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB88_15
LBB88_14: ## in Loop: Header=BB88_10 Depth=1
movq -8(%rbp), %rax
movq 40(%rax), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
LBB88_15: ## in Loop: Header=BB88_10 Depth=1
movl -28(%rbp), %eax ## 4-byte Reload
movl %eax, -20(%rbp)
LBB88_16: ## Parent Loop BB88_10 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1024, -20(%rbp) ## imm = 0x400
jae LBB88_18
## %bb.17: ## in Loop: Header=BB88_16 Depth=2
movl -12(%rbp), %eax
movw %ax, %dx
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movw %dx, 48(%rax,%rcx,2)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -12(%rbp), %rcx
movzbl (%rax,%rcx), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB88_16
LBB88_18: ## in Loop: Header=BB88_10 Depth=1
jmp LBB88_19
LBB88_19: ## in Loop: Header=BB88_10 Depth=1
jmp LBB88_20
LBB88_20: ## in Loop: Header=BB88_10 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB88_10
LBB88_21:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function float32_unpack
_float32_unpack: ## @float32_unpack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
andl $2097151, %eax ## imm = 0x1FFFFF
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
andl $-2147483648, %eax ## imm = 0x80000000
movl %eax, -12(%rbp)
movl -4(%rbp), %eax
andl $2145386496, %eax ## imm = 0x7FE00000
shrl $21, %eax
movl %eax, -16(%rbp)
cmpl $0, -12(%rbp)
je LBB89_2
## %bb.1:
movl -8(%rbp), %eax
## kill: def $rax killed $eax
cvtsi2sd %rax, %xmm0
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
jmp LBB89_3
LBB89_2:
movl -8(%rbp), %eax
## kill: def $rax killed $eax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
LBB89_3:
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movl -16(%rbp), %edi
subl $788, %edi ## imm = 0x314
callq _ldexp
cvtsd2ss %xmm0, %xmm0
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function lookup1_values
LCPI90_0:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_lookup1_values: ## @lookup1_values
.cfi_startproc
## %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)
cvtsi2ssl -4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
callq _log
cvtsd2ss %xmm0, %xmm0
cvtsi2ssl -8(%rbp), %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
callq _exp
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -12(%rbp)
cvtsi2ssl -12(%rbp), %xmm0
movss LCPI90_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
cvtsi2sdl -8(%rbp), %xmm1
callq _pow
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %eax
cmpl -4(%rbp), %eax
jg LBB90_2
## %bb.1:
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB90_2:
cvtsi2ssl -12(%rbp), %xmm0
movss LCPI90_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
cvtsi2sdl -8(%rbp), %xmm1
callq _pow
cvtsi2sdl -4(%rbp), %xmm1
ucomisd %xmm1, %xmm0
seta %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB90_4
## %bb.3:
leaq L___func__.lookup1_values(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.18(%rip), %rcx
movl $1178, %edx ## imm = 0x49A
callq ___assert_rtn
LBB90_4:
jmp LBB90_5
LBB90_5:
cvtsi2ssl -12(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
cvtsi2sdl -8(%rbp), %xmm1
callq _pow
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %eax
cmpl -4(%rbp), %eax
setle %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB90_7
## %bb.6:
leaq L___func__.lookup1_values(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.19(%rip), %rcx
movl $1179, %edx ## imm = 0x49B
callq ___assert_rtn
LBB90_7:
jmp LBB90_8
LBB90_8:
movl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function point_compare
_point_compare: ## @point_compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movzwl (%rax), %eax
movq -32(%rbp), %rcx
movzwl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB91_2
## %bb.1:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB91_3
LBB91_2:
movq -24(%rbp), %rax
movzwl (%rax), %eax
movq -32(%rbp), %rcx
movzwl (%rcx), %ecx
cmpl %ecx, %eax
setg %al
andb $1, %al
movzbl %al, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
LBB91_3:
movl -36(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function neighbors
_neighbors: ## @neighbors
.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)
movl $-1, -36(%rbp)
movl $65536, -40(%rbp) ## imm = 0x10000
movl $0, -44(%rbp)
LBB92_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB92_10
## %bb.2: ## in Loop: Header=BB92_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
cmpl -36(%rbp), %eax
jle LBB92_5
## %bb.3: ## in Loop: Header=BB92_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
movq -8(%rbp), %rcx
movslq -12(%rbp), %rdx
movzwl (%rcx,%rdx,2), %ecx
cmpl %ecx, %eax
jge LBB92_5
## %bb.4: ## in Loop: Header=BB92_1 Depth=1
movl -44(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
movl %eax, -36(%rbp)
LBB92_5: ## in Loop: Header=BB92_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
cmpl -40(%rbp), %eax
jge LBB92_8
## %bb.6: ## in Loop: Header=BB92_1 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
movq -8(%rbp), %rcx
movslq -12(%rbp), %rdx
movzwl (%rcx,%rdx,2), %ecx
cmpl %ecx, %eax
jle LBB92_8
## %bb.7: ## in Loop: Header=BB92_1 Depth=1
movl -44(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
movl %eax, -40(%rbp)
LBB92_8: ## in Loop: Header=BB92_1 Depth=1
jmp LBB92_9
LBB92_9: ## in Loop: Header=BB92_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB92_1
LBB92_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function init_blocksize
_init_blocksize: ## @init_blocksize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl -24(%rbp), %eax
sarl $1, %eax
movl %eax, -28(%rbp)
movl -24(%rbp), %eax
sarl $2, %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
sarl $3, %eax
movl %eax, -36(%rbp)
movq -16(%rbp), %rdi
movslq -28(%rbp), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, 1408(%rax,%rcx,8)
movq -16(%rbp), %rdi
movslq -28(%rbp), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, 1424(%rax,%rcx,8)
movq -16(%rbp), %rdi
movslq -32(%rbp), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, 1440(%rax,%rcx,8)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
cmpq $0, 1408(%rax,%rcx,8)
je LBB93_3
## %bb.1:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
cmpq $0, 1424(%rax,%rcx,8)
je LBB93_3
## %bb.2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
cmpq $0, 1440(%rax,%rcx,8)
jne LBB93_4
LBB93_3:
movq -16(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB93_9
LBB93_4:
movl -24(%rbp), %edi
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq 1408(%rax,%rcx,8), %rsi
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq 1424(%rax,%rcx,8), %rdx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq 1440(%rax,%rcx,8), %rcx
callq _compute_twiddle_factors
movq -16(%rbp), %rdi
movslq -28(%rbp), %rax
shlq $2, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, 1456(%rax,%rcx,8)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
cmpq $0, 1456(%rax,%rcx,8)
jne LBB93_6
## %bb.5:
movq -16(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB93_9
LBB93_6:
movl -24(%rbp), %edi
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq 1456(%rax,%rcx,8), %rsi
callq _compute_window
movq -16(%rbp), %rdi
movslq -36(%rbp), %rax
shlq $1, %rax
movl %eax, %esi
callq _setup_malloc
movq %rax, %rdx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, 1472(%rax,%rcx,8)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
cmpq $0, 1472(%rax,%rcx,8)
jne LBB93_8
## %bb.7:
movq -16(%rbp), %rdi
movl $3, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB93_9
LBB93_8:
movl -24(%rbp), %edi
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq 1472(%rax,%rcx,8), %rsi
callq _compute_bitreverse
movl $1, -4(%rbp)
LBB93_9:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function add_entry
_add_entry: ## @add_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movl %r8d, -24(%rbp)
movq %r9, -32(%rbp)
movq -8(%rbp), %rax
cmpb $0, 27(%rax)
jne LBB94_2
## %bb.1:
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movq 40(%rax), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB94_3
LBB94_2:
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movq 40(%rax), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -16(%rbp), %edx
movq -32(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB94_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function include_in_sort
_include_in_sort: ## @include_in_sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movb %sil, %al
movq %rdi, -16(%rbp)
movb %al, -17(%rbp)
movq -16(%rbp), %rax
cmpb $0, 27(%rax)
je LBB95_5
## %bb.1:
movzbl -17(%rbp), %eax
cmpl $255, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB95_3
## %bb.2:
leaq L___func__.include_in_sort(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.17(%rip), %rcx
movl $1103, %edx ## imm = 0x44F
callq ___assert_rtn
LBB95_3:
jmp LBB95_4
LBB95_4:
movl $1, -4(%rbp)
jmp LBB95_10
LBB95_5:
movzbl -17(%rbp), %eax
cmpl $255, %eax
jne LBB95_7
## %bb.6:
movl $0, -4(%rbp)
jmp LBB95_10
LBB95_7:
movzbl -17(%rbp), %eax
cmpl $10, %eax
jle LBB95_9
## %bb.8:
movl $1, -4(%rbp)
jmp LBB95_10
LBB95_9:
movl $0, -4(%rbp)
LBB95_10:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function uint32_compare
_uint32_compare: ## @uint32_compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jae LBB96_2
## %bb.1:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB96_3
LBB96_2:
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
seta %al
andb $1, %al
movzbl %al, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
LBB96_3:
movl -28(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function compute_twiddle_factors
LCPI97_0:
.quad 0x400921fb54442d18 ## double 3.1415926535897931
LCPI97_2:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI97_1:
.long 0x3f000000 ## float 0.5
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_compute_twiddle_factors: ## @compute_twiddle_factors
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movl -4(%rbp), %eax
sarl $2, %eax
movl %eax, -36(%rbp)
movl -4(%rbp), %eax
sarl $3, %eax
movl %eax, -40(%rbp)
movl $0, -48(%rbp)
movl $0, -44(%rbp)
LBB97_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -36(%rbp), %eax
jge LBB97_4
## %bb.2: ## in Loop: Header=BB97_1 Depth=1
movl -44(%rbp), %eax
shll $2, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI97_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -4(%rbp), %xmm1
divsd %xmm1, %xmm0
callq _cos
cvtsd2ss %xmm0, %xmm0
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -44(%rbp), %eax
shll $2, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI97_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -4(%rbp), %xmm1
divsd %xmm1, %xmm0
callq _sin
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -16(%rbp), %rax
movl -48(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -48(%rbp), %eax
addl $1, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI97_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -4(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd LCPI97_2(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
callq _cos
cvtsd2ss %xmm0, %xmm0
movss LCPI97_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movq -24(%rbp), %rax
movslq -48(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -48(%rbp), %eax
addl $1, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI97_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -4(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd LCPI97_2(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
callq _sin
cvtsd2ss %xmm0, %xmm0
movss LCPI97_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movq -24(%rbp), %rax
movl -48(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB97_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl $2, %eax
movl %eax, -48(%rbp)
jmp LBB97_1
LBB97_4:
movl $0, -48(%rbp)
movl $0, -44(%rbp)
LBB97_5: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB97_8
## %bb.6: ## in Loop: Header=BB97_5 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
shll $1, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI97_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -4(%rbp), %xmm1
divsd %xmm1, %xmm0
callq _cos
cvtsd2ss %xmm0, %xmm0
movq -32(%rbp), %rax
movslq -48(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -48(%rbp), %eax
addl $1, %eax
shll $1, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI97_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -4(%rbp), %xmm1
divsd %xmm1, %xmm0
callq _sin
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -32(%rbp), %rax
movl -48(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.7: ## in Loop: Header=BB97_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
movl -48(%rbp), %eax
addl $2, %eax
movl %eax, -48(%rbp)
jmp LBB97_5
LBB97_8:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function compute_window
LCPI98_0:
.quad 0x3ff921fb54442d18 ## double 1.5707963267948966
LCPI98_1:
.quad 0x400921fb54442d18 ## double 3.1415926535897931
LCPI98_2:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_compute_window: ## @compute_window
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl -4(%rbp), %eax
sarl $1, %eax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB98_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB98_4
## %bb.2: ## in Loop: Header=BB98_1 Depth=1
movl -24(%rbp), %eax
subl $0, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI98_2(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvtsi2sdl -20(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd LCPI98_2(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI98_1(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
callq _sin
cvtsd2ss %xmm0, %xmm0
callq _square
cvtss2sd %xmm0, %xmm1
movsd LCPI98_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
callq _sin
cvtsd2ss %xmm0, %xmm0
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB98_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB98_1
LBB98_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function compute_bitreverse
_compute_bitreverse: ## @compute_bitreverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl -4(%rbp), %edi
callq _ilog
subl $1, %eax
movl %eax, -20(%rbp)
movl -4(%rbp), %eax
sarl $3, %eax
movl %eax, -28(%rbp)
movl $0, -24(%rbp)
LBB99_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB99_4
## %bb.2: ## in Loop: Header=BB99_1 Depth=1
movl -24(%rbp), %edi
callq _bit_reverse
movl $32, %ecx
subl -20(%rbp), %ecx
addl $3, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
shll $2, %eax
movw %ax, %dx
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
## %bb.3: ## in Loop: Header=BB99_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB99_1
LBB99_4:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function square
_square: ## @square
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -4(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_seek_frame_from_page
_vorbis_seek_frame_from_page: ## @vorbis_seek_frame_from_page
.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)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
movl %r8d, -32(%rbp)
movl $0, -60(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
callq _set_file_offset
movq -16(%rbp), %rax
movl $-1, 1760(%rax)
movl -24(%rbp), %eax
movl %eax, -64(%rbp)
LBB101_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
leaq -36(%rbp), %rsi
leaq -40(%rbp), %rdx
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
leaq -52(%rbp), %r9
callq _vorbis_decode_initial
cmpl $0, %eax
jne LBB101_3
## %bb.2:
movq -16(%rbp), %rdi
movl $37, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB101_43
LBB101_3: ## in Loop: Header=BB101_1 Depth=1
cmpl $0, -60(%rbp)
jne LBB101_5
## %bb.4: ## in Loop: Header=BB101_1 Depth=1
movl -40(%rbp), %eax
movl %eax, -76(%rbp)
jmp LBB101_6
LBB101_5: ## in Loop: Header=BB101_1 Depth=1
movl -36(%rbp), %eax
movl %eax, -76(%rbp)
LBB101_6: ## in Loop: Header=BB101_1 Depth=1
movl -28(%rbp), %eax
movl -64(%rbp), %ecx
addl -44(%rbp), %ecx
subl -76(%rbp), %ecx
cmpl %ecx, %eax
jae LBB101_8
## %bb.7:
jmp LBB101_11
LBB101_8: ## in Loop: Header=BB101_1 Depth=1
movq -16(%rbp), %rdi
callq _flush_packet
movq -16(%rbp), %rax
cmpl $0, 144(%rax)
je LBB101_10
## %bb.9:
movq -16(%rbp), %rdi
movl $37, %esi
callq _error
movl %eax, -4(%rbp)
jmp LBB101_43
LBB101_10: ## in Loop: Header=BB101_1 Depth=1
movl -44(%rbp), %eax
subl -76(%rbp), %eax
addl -64(%rbp), %eax
movl %eax, -64(%rbp)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB101_1
LBB101_11:
movl -28(%rbp), %eax
movl -64(%rbp), %ecx
movl -40(%rbp), %edx
subl -36(%rbp), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jbe LBB101_13
## %bb.12:
movl -60(%rbp), %eax
movl %eax, -68(%rbp)
movl -40(%rbp), %eax
subl -36(%rbp), %eax
movl %eax, -72(%rbp)
jmp LBB101_17
LBB101_13:
movl -60(%rbp), %eax
subl $1, %eax
movl %eax, -68(%rbp)
cmpl $0, -68(%rbp)
setge %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB101_15
## %bb.14:
leaq L___func__.vorbis_seek_frame_from_page(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.20(%rip), %rcx
movl $4741, %edx ## imm = 0x1285
callq ___assert_rtn
LBB101_15:
jmp LBB101_16
LBB101_16:
movl $-1, -72(%rbp)
LBB101_17:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
callq _set_file_offset
movq -16(%rbp), %rax
movl $-1, 1760(%rax)
movl $0, -56(%rbp)
LBB101_18: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
cmpl -68(%rbp), %eax
jge LBB101_21
## %bb.19: ## in Loop: Header=BB101_18 Depth=1
movq -16(%rbp), %rdi
callq _maybe_start_packet
movq -16(%rbp), %rdi
callq _flush_packet
## %bb.20: ## in Loop: Header=BB101_18 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB101_18
LBB101_21:
cmpl $0, -72(%rbp)
jl LBB101_31
## %bb.22:
movq -16(%rbp), %rax
movl 160(%rax), %eax
sarl $1, %eax
movl %eax, -88(%rbp)
movl -72(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1792(%rax)
movl $0, -80(%rbp)
LBB101_23: ## =>This Loop Header: Depth=1
## Child Loop BB101_25 Depth 2
movl -80(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jge LBB101_30
## %bb.24: ## in Loop: Header=BB101_23 Depth=1
movl $0, -84(%rbp)
LBB101_25: ## Parent Loop BB101_23 Depth=1
## => This Inner Loop Header: Depth=2
movl -84(%rbp), %eax
cmpl -88(%rbp), %eax
jge LBB101_28
## %bb.26: ## in Loop: Header=BB101_25 Depth=2
movq -16(%rbp), %rax
movslq -80(%rbp), %rcx
movq 1136(%rax,%rcx,8), %rax
movslq -84(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.27: ## in Loop: Header=BB101_25 Depth=2
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB101_25
LBB101_28: ## in Loop: Header=BB101_23 Depth=1
jmp LBB101_29
LBB101_29: ## in Loop: Header=BB101_23 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
jmp LBB101_23
LBB101_30:
movl -88(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 1264(%rax)
movl -72(%rbp), %eax
addl -64(%rbp), %eax
movl %eax, -64(%rbp)
jmp LBB101_32
LBB101_31:
movq -16(%rbp), %rax
movl $0, 1264(%rax)
movq -16(%rbp), %rdi
callq _vorbis_pump_first_frame
LBB101_32:
cmpl $0, -32(%rbp)
je LBB101_42
## %bb.33:
movl -28(%rbp), %eax
cmpl -64(%rbp), %eax
je LBB101_41
## %bb.34:
movq -16(%rbp), %rdi
leaq -92(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _stb_vorbis_get_frame_float
movl -28(%rbp), %eax
cmpl -64(%rbp), %eax
seta %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB101_36
## %bb.35:
leaq L___func__.vorbis_seek_frame_from_page(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.21(%rip), %rcx
movl $4772, %edx ## imm = 0x12A4
callq ___assert_rtn
LBB101_36:
jmp LBB101_37
LBB101_37:
movq -16(%rbp), %rax
movl 1884(%rax), %eax
movl -28(%rbp), %ecx
subl -64(%rbp), %ecx
addl %ecx, %eax
movq -16(%rbp), %rcx
cmpl 1888(%rcx), %eax
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB101_39
## %bb.38:
leaq L___func__.vorbis_seek_frame_from_page(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.22(%rip), %rcx
movl $4773, %edx ## imm = 0x12A5
callq ___assert_rtn
LBB101_39:
jmp LBB101_40
LBB101_40:
movl -28(%rbp), %ecx
subl -64(%rbp), %ecx
movq -16(%rbp), %rax
addl 1884(%rax), %ecx
movl %ecx, 1884(%rax)
LBB101_41:
jmp LBB101_42
LBB101_42:
movl $0, -4(%rbp)
LBB101_43:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vorbis_analyze_page
_vorbis_analyze_page: ## @vorbis_analyze_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $624, %rsp ## imm = 0x270
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -576(%rbp)
movq %rsi, -584(%rbp)
movl $0, -596(%rbp)
movq -576(%rbp), %rdi
callq _stb_vorbis_get_file_offset
movl %eax, %ecx
movq -584(%rbp), %rax
movl %ecx, (%rax)
movq -576(%rbp), %rdi
leaq -48(%rbp), %rsi
movl $27, %edx
callq _getn
movzbl -48(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $79, %ecx
movb %al, -612(%rbp) ## 1-byte Spill
jne LBB102_4
## %bb.1:
movzbl -47(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $103, %ecx
movb %al, -612(%rbp) ## 1-byte Spill
jne LBB102_4
## %bb.2:
movzbl -46(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $103, %ecx
movb %al, -612(%rbp) ## 1-byte Spill
jne LBB102_4
## %bb.3:
movzbl -45(%rbp), %eax
cmpl $83, %eax
sete %al
movb %al, -612(%rbp) ## 1-byte Spill
LBB102_4:
movb -612(%rbp), %al ## 1-byte Reload
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB102_6
## %bb.5:
leaq L___func__.vorbis_analyze_page(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.23(%rip), %rcx
movl $4561, %edx ## imm = 0x11D1
callq ___assert_rtn
LBB102_6:
jmp LBB102_7
LBB102_7:
movq -576(%rbp), %rdi
leaq -304(%rbp), %rsi
movzbl -22(%rbp), %edx
callq _getn
movl $0, -604(%rbp)
movl $0, -600(%rbp)
LBB102_8: ## =>This Inner Loop Header: Depth=1
movl -600(%rbp), %eax
movzbl -22(%rbp), %ecx
cmpl %ecx, %eax
jge LBB102_11
## %bb.9: ## in Loop: Header=BB102_8 Depth=1
movslq -600(%rbp), %rax
movzbl -304(%rbp,%rax), %eax
addl -604(%rbp), %eax
movl %eax, -604(%rbp)
## %bb.10: ## in Loop: Header=BB102_8 Depth=1
movl -600(%rbp), %eax
addl $1, %eax
movl %eax, -600(%rbp)
jmp LBB102_8
LBB102_11:
movq -584(%rbp), %rax
movl (%rax), %ecx
addl $27, %ecx
movzbl -22(%rbp), %eax
addl %eax, %ecx
addl -604(%rbp), %ecx
movq -584(%rbp), %rax
movl %ecx, 4(%rax)
movzbl -42(%rbp), %ecx
movzbl -41(%rbp), %eax
shll $8, %eax
addl %eax, %ecx
movzbl -40(%rbp), %eax
shll $16, %eax
addl %eax, %ecx
movzbl -39(%rbp), %eax
shll $16, %eax
addl %eax, %ecx
movq -584(%rbp), %rax
movl %ecx, 16(%rax)
movzbl -43(%rbp), %eax
andl $4, %eax
cmpl $0, %eax
je LBB102_13
## %bb.12:
movq -584(%rbp), %rax
movl $-1, 12(%rax)
movq -576(%rbp), %rdi
movq -584(%rbp), %rax
movl (%rax), %esi
callq _set_file_offset
movl $1, -564(%rbp)
jmp LBB102_43
LBB102_13:
movl $0, -588(%rbp)
movzbl -43(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -592(%rbp)
movl $0, -600(%rbp)
LBB102_14: ## =>This Inner Loop Header: Depth=1
movl -600(%rbp), %eax
movzbl -22(%rbp), %ecx
cmpl %ecx, %eax
jge LBB102_29
## %bb.15: ## in Loop: Header=BB102_14 Depth=1
cmpl $0, -592(%rbp)
je LBB102_26
## %bb.16: ## in Loop: Header=BB102_14 Depth=1
movslq -600(%rbp), %rax
movzbl -304(%rbp,%rax), %eax
cmpl $0, %eax
jne LBB102_18
## %bb.17:
jmp LBB102_42
LBB102_18: ## in Loop: Header=BB102_14 Depth=1
movq -576(%rbp), %rdi
callq _get8
movb %al, -609(%rbp)
movzbl -609(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB102_20
## %bb.19:
jmp LBB102_42
LBB102_20: ## in Loop: Header=BB102_14 Depth=1
movzbl -609(%rbp), %eax
sarl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -609(%rbp)
movq -576(%rbp), %rax
movl 488(%rax), %edi
subl $1, %edi
callq _ilog
## kill: def $al killed $al killed $eax
movb %al, -610(%rbp)
movzbl -609(%rbp), %eax
movzbl -610(%rbp), %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
## kill: def $al killed $al killed $eax
movb %al, -611(%rbp)
movzbl -610(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
subl $1, %ecx
movzbl -609(%rbp), %eax
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -609(%rbp)
movzbl -609(%rbp), %eax
movq -576(%rbp), %rcx
cmpl 488(%rcx), %eax
jl LBB102_22
## %bb.21:
jmp LBB102_42
LBB102_22: ## in Loop: Header=BB102_14 Depth=1
cmpl $0, -588(%rbp)
jne LBB102_25
## %bb.23: ## in Loop: Header=BB102_14 Depth=1
movq -576(%rbp), %rax
addq $492, %rax ## imm = 0x1EC
movzbl -609(%rbp), %ecx
## kill: def $rcx killed $ecx
imulq $6, %rcx, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
cmpl $0, %eax
je LBB102_25
## %bb.24: ## in Loop: Header=BB102_14 Depth=1
movzbl -611(%rbp), %eax
andl $1, %eax
movl %eax, -596(%rbp)
LBB102_25: ## in Loop: Header=BB102_14 Depth=1
movq -576(%rbp), %rax
addq $492, %rax ## imm = 0x1EC
movzbl -609(%rbp), %ecx
## kill: def $rcx killed $ecx
imulq $6, %rcx, %rcx
addq %rcx, %rax
movb (%rax), %cl
movl -588(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -588(%rbp)
cltq
movb %cl, -560(%rbp,%rax)
movq -576(%rbp), %rdi
movslq -600(%rbp), %rax
movzbl -304(%rbp,%rax), %esi
subl $1, %esi
callq _skip
jmp LBB102_27
LBB102_26: ## in Loop: Header=BB102_14 Depth=1
movq -576(%rbp), %rdi
movslq -600(%rbp), %rax
movzbl -304(%rbp,%rax), %esi
callq _skip
LBB102_27: ## in Loop: Header=BB102_14 Depth=1
movslq -600(%rbp), %rax
movzbl -304(%rbp,%rax), %eax
cmpl $255, %eax
setl %al
andb $1, %al
movzbl %al, %eax
movl %eax, -592(%rbp)
## %bb.28: ## in Loop: Header=BB102_14 Depth=1
movl -600(%rbp), %eax
addl $1, %eax
movl %eax, -600(%rbp)
jmp LBB102_14
LBB102_29:
movl $0, -608(%rbp)
cmpl $1, -588(%rbp)
jle LBB102_31
## %bb.30:
movq -576(%rbp), %rax
movl -588(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movzbl -560(%rbp,%rcx), %ecx
## kill: def $rcx killed $ecx
movl 152(%rax,%rcx,4), %eax
addl -608(%rbp), %eax
movl %eax, -608(%rbp)
LBB102_31:
movl -588(%rbp), %eax
subl $2, %eax
movl %eax, -600(%rbp)
LBB102_32: ## =>This Inner Loop Header: Depth=1
cmpl $1, -600(%rbp)
jl LBB102_41
## %bb.33: ## in Loop: Header=BB102_32 Depth=1
movslq -600(%rbp), %rax
movzbl -560(%rbp,%rax), %eax
cmpl $1, %eax
jne LBB102_38
## %bb.34: ## in Loop: Header=BB102_32 Depth=1
movl -600(%rbp), %eax
addl $1, %eax
cltq
movzbl -560(%rbp,%rax), %eax
cmpl $1, %eax
jne LBB102_36
## %bb.35: ## in Loop: Header=BB102_32 Depth=1
movq -576(%rbp), %rax
movl 164(%rax), %eax
sarl $1, %eax
addl -608(%rbp), %eax
movl %eax, -608(%rbp)
jmp LBB102_37
LBB102_36: ## in Loop: Header=BB102_32 Depth=1
movq -576(%rbp), %rax
movl 164(%rax), %eax
movq -576(%rbp), %rcx
subl 160(%rcx), %eax
sarl $2, %eax
movq -576(%rbp), %rcx
movl 160(%rcx), %ecx
sarl $1, %ecx
addl %ecx, %eax
addl -608(%rbp), %eax
movl %eax, -608(%rbp)
LBB102_37: ## in Loop: Header=BB102_32 Depth=1
jmp LBB102_39
LBB102_38: ## in Loop: Header=BB102_32 Depth=1
movq -576(%rbp), %rax
movl 160(%rax), %eax
sarl $1, %eax
addl -608(%rbp), %eax
movl %eax, -608(%rbp)
LBB102_39: ## in Loop: Header=BB102_32 Depth=1
jmp LBB102_40
LBB102_40: ## in Loop: Header=BB102_32 Depth=1
movl -600(%rbp), %eax
addl $-1, %eax
movl %eax, -600(%rbp)
jmp LBB102_32
LBB102_41:
movq -584(%rbp), %rax
movl 16(%rax), %ecx
subl -608(%rbp), %ecx
movq -584(%rbp), %rax
movl %ecx, 12(%rax)
movq -576(%rbp), %rdi
movq -584(%rbp), %rax
movl (%rax), %esi
callq _set_file_offset
movl $1, -564(%rbp)
jmp LBB102_43
LBB102_42:
movq -576(%rbp), %rdi
movq -584(%rbp), %rax
movl (%rax), %esi
callq _set_file_offset
movl $0, -564(%rbp)
LBB102_43:
movl -564(%rbp), %eax
movl %eax, -616(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB102_45
## %bb.44:
movl -616(%rbp), %eax ## 4-byte Reload
addq $624, %rsp ## imm = 0x270
popq %rbp
retq
LBB102_45:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function compute_samples
LCPI103_0:
.long 0x43c00000 ## float 384
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_compute_samples: ## @compute_samples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -148(%rbp)
movq %rsi, -160(%rbp)
movl %edx, -164(%rbp)
movq %rcx, -176(%rbp)
movl %r8d, -180(%rbp)
movl %r9d, -184(%rbp)
movl $32, -200(%rbp)
movl $0, -196(%rbp)
LBB103_1: ## =>This Loop Header: Depth=1
## Child Loop BB103_5 Depth 2
## Child Loop BB103_8 Depth 3
## Child Loop BB103_15 Depth 2
movl -196(%rbp), %eax
cmpl -184(%rbp), %eax
jge LBB103_22
## %bb.2: ## in Loop: Header=BB103_1 Depth=1
leaq -144(%rbp), %rdi
xorl %esi, %esi
movl $128, %edx
callq _memset
movl -196(%rbp), %eax
addl -200(%rbp), %eax
cmpl -184(%rbp), %eax
jle LBB103_4
## %bb.3: ## in Loop: Header=BB103_1 Depth=1
movl -184(%rbp), %eax
subl -196(%rbp), %eax
movl %eax, -200(%rbp)
LBB103_4: ## in Loop: Header=BB103_1 Depth=1
movl $0, -192(%rbp)
LBB103_5: ## Parent Loop BB103_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB103_8 Depth 3
movl -192(%rbp), %eax
cmpl -164(%rbp), %eax
jge LBB103_14
## %bb.6: ## in Loop: Header=BB103_5 Depth=2
movslq -164(%rbp), %rcx
leaq _channel_position(%rip), %rax
imulq $6, %rcx, %rcx
addq %rcx, %rax
movslq -192(%rbp), %rcx
movsbl (%rax,%rcx), %eax
andl -148(%rbp), %eax
cmpl $0, %eax
je LBB103_12
## %bb.7: ## in Loop: Header=BB103_5 Depth=2
movl $0, -188(%rbp)
LBB103_8: ## Parent Loop BB103_1 Depth=1
## Parent Loop BB103_5 Depth=2
## => This Inner Loop Header: Depth=3
movl -188(%rbp), %eax
cmpl -200(%rbp), %eax
jge LBB103_11
## %bb.9: ## in Loop: Header=BB103_8 Depth=3
movq -176(%rbp), %rax
movslq -192(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -180(%rbp), %ecx
addl -196(%rbp), %ecx
addl -188(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -188(%rbp), %rax
addss -144(%rbp,%rax,4), %xmm0
movss %xmm0, -144(%rbp,%rax,4)
## %bb.10: ## in Loop: Header=BB103_8 Depth=3
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB103_8
LBB103_11: ## in Loop: Header=BB103_5 Depth=2
jmp LBB103_12
LBB103_12: ## in Loop: Header=BB103_5 Depth=2
jmp LBB103_13
LBB103_13: ## in Loop: Header=BB103_5 Depth=2
movl -192(%rbp), %eax
addl $1, %eax
movl %eax, -192(%rbp)
jmp LBB103_5
LBB103_14: ## in Loop: Header=BB103_1 Depth=1
movl $0, -188(%rbp)
LBB103_15: ## Parent Loop BB103_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -188(%rbp), %eax
cmpl -200(%rbp), %eax
jge LBB103_20
## %bb.16: ## in Loop: Header=BB103_15 Depth=2
movslq -188(%rbp), %rax
movss LCPI103_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -144(%rbp,%rax,4), %xmm0
movss %xmm0, -208(%rbp)
movl -208(%rbp), %eax
subl $1136656384, %eax ## imm = 0x43C00000
movl %eax, -212(%rbp)
movl -212(%rbp), %eax
addl $32768, %eax ## imm = 0x8000
cmpl $65535, %eax ## imm = 0xFFFF
jbe LBB103_18
## %bb.17: ## in Loop: Header=BB103_15 Depth=2
movl -212(%rbp), %edx
movl $32767, %eax ## imm = 0x7FFF
movl $4294934528, %ecx ## imm = 0xFFFF8000
cmpl $0, %edx
cmovll %ecx, %eax
movl %eax, -212(%rbp)
LBB103_18: ## in Loop: Header=BB103_15 Depth=2
movl -212(%rbp), %eax
movw %ax, %dx
movq -160(%rbp), %rax
movl -196(%rbp), %ecx
addl -188(%rbp), %ecx
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
## %bb.19: ## in Loop: Header=BB103_15 Depth=2
movl -188(%rbp), %eax
addl $1, %eax
movl %eax, -188(%rbp)
jmp LBB103_15
LBB103_20: ## in Loop: Header=BB103_1 Depth=1
jmp LBB103_21
LBB103_21: ## in Loop: Header=BB103_1 Depth=1
movl -196(%rbp), %eax
addl $32, %eax
movl %eax, -196(%rbp)
jmp LBB103_1
LBB103_22:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB103_24
## %bb.23:
addq $224, %rsp
popq %rbp
retq
LBB103_24:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function copy_samples
LCPI104_0:
.long 0x43c00000 ## float 384
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_copy_samples: ## @copy_samples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl $0, -24(%rbp)
LBB104_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB104_6
## %bb.2: ## in Loop: Header=BB104_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movss LCPI104_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -32(%rbp)
movl -32(%rbp), %eax
subl $1136656384, %eax ## imm = 0x43C00000
movl %eax, -36(%rbp)
movl -36(%rbp), %eax
addl $32768, %eax ## imm = 0x8000
cmpl $65535, %eax ## imm = 0xFFFF
jbe LBB104_4
## %bb.3: ## in Loop: Header=BB104_1 Depth=1
movl -36(%rbp), %edx
movl $32767, %eax ## imm = 0x7FFF
movl $4294934528, %ecx ## imm = 0xFFFF8000
cmpl $0, %edx
cmovll %ecx, %eax
movl %eax, -36(%rbp)
LBB104_4: ## in Loop: Header=BB104_1 Depth=1
movl -36(%rbp), %eax
movw %ax, %dx
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
## %bb.5: ## in Loop: Header=BB104_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB104_1
LBB104_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function compute_stereo_samples
LCPI105_0:
.long 0x43c00000 ## float 384
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_compute_stereo_samples: ## @compute_stereo_samples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -152(%rbp)
movl %esi, -156(%rbp)
movq %rdx, -168(%rbp)
movl %ecx, -172(%rbp)
movl %r8d, -176(%rbp)
movl $16, -192(%rbp)
movl $0, -188(%rbp)
LBB105_1: ## =>This Loop Header: Depth=1
## Child Loop BB105_5 Depth 2
## Child Loop BB105_8 Depth 3
## Child Loop BB105_14 Depth 3
## Child Loop BB105_20 Depth 3
## Child Loop BB105_29 Depth 2
movl -188(%rbp), %eax
cmpl -176(%rbp), %eax
jge LBB105_36
## %bb.2: ## in Loop: Header=BB105_1 Depth=1
movl -188(%rbp), %eax
shll $1, %eax
movl %eax, -196(%rbp)
leaq -144(%rbp), %rdi
xorl %esi, %esi
movl $128, %edx
callq _memset
movl -188(%rbp), %eax
addl -192(%rbp), %eax
cmpl -176(%rbp), %eax
jle LBB105_4
## %bb.3: ## in Loop: Header=BB105_1 Depth=1
movl -176(%rbp), %eax
subl -188(%rbp), %eax
movl %eax, -192(%rbp)
LBB105_4: ## in Loop: Header=BB105_1 Depth=1
movl $0, -184(%rbp)
LBB105_5: ## Parent Loop BB105_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB105_8 Depth 3
## Child Loop BB105_14 Depth 3
## Child Loop BB105_20 Depth 3
movl -184(%rbp), %eax
cmpl -156(%rbp), %eax
jge LBB105_28
## %bb.6: ## in Loop: Header=BB105_5 Depth=2
movslq -156(%rbp), %rcx
leaq _channel_position(%rip), %rax
imulq $6, %rcx, %rcx
addq %rcx, %rax
movslq -184(%rbp), %rcx
movsbl (%rax,%rcx), %eax
andl $6, %eax
movl %eax, -200(%rbp)
cmpl $6, -200(%rbp)
jne LBB105_12
## %bb.7: ## in Loop: Header=BB105_5 Depth=2
movl $0, -180(%rbp)
LBB105_8: ## Parent Loop BB105_1 Depth=1
## Parent Loop BB105_5 Depth=2
## => This Inner Loop Header: Depth=3
movl -180(%rbp), %eax
cmpl -192(%rbp), %eax
jge LBB105_11
## %bb.9: ## in Loop: Header=BB105_8 Depth=3
movq -168(%rbp), %rax
movslq -184(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -172(%rbp), %ecx
addl -188(%rbp), %ecx
addl -180(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -180(%rbp), %eax
shll $1, %eax
addl $0, %eax
cltq
addss -144(%rbp,%rax,4), %xmm0
movss %xmm0, -144(%rbp,%rax,4)
movq -168(%rbp), %rax
movslq -184(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -172(%rbp), %ecx
addl -188(%rbp), %ecx
addl -180(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -180(%rbp), %eax
shll $1, %eax
addl $1, %eax
cltq
addss -144(%rbp,%rax,4), %xmm0
movss %xmm0, -144(%rbp,%rax,4)
## %bb.10: ## in Loop: Header=BB105_8 Depth=3
movl -180(%rbp), %eax
addl $1, %eax
movl %eax, -180(%rbp)
jmp LBB105_8
LBB105_11: ## in Loop: Header=BB105_5 Depth=2
jmp LBB105_26
LBB105_12: ## in Loop: Header=BB105_5 Depth=2
cmpl $2, -200(%rbp)
jne LBB105_18
## %bb.13: ## in Loop: Header=BB105_5 Depth=2
movl $0, -180(%rbp)
LBB105_14: ## Parent Loop BB105_1 Depth=1
## Parent Loop BB105_5 Depth=2
## => This Inner Loop Header: Depth=3
movl -180(%rbp), %eax
cmpl -192(%rbp), %eax
jge LBB105_17
## %bb.15: ## in Loop: Header=BB105_14 Depth=3
movq -168(%rbp), %rax
movslq -184(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -172(%rbp), %ecx
addl -188(%rbp), %ecx
addl -180(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -180(%rbp), %eax
shll $1, %eax
addl $0, %eax
cltq
addss -144(%rbp,%rax,4), %xmm0
movss %xmm0, -144(%rbp,%rax,4)
## %bb.16: ## in Loop: Header=BB105_14 Depth=3
movl -180(%rbp), %eax
addl $1, %eax
movl %eax, -180(%rbp)
jmp LBB105_14
LBB105_17: ## in Loop: Header=BB105_5 Depth=2
jmp LBB105_25
LBB105_18: ## in Loop: Header=BB105_5 Depth=2
cmpl $4, -200(%rbp)
jne LBB105_24
## %bb.19: ## in Loop: Header=BB105_5 Depth=2
movl $0, -180(%rbp)
LBB105_20: ## Parent Loop BB105_1 Depth=1
## Parent Loop BB105_5 Depth=2
## => This Inner Loop Header: Depth=3
movl -180(%rbp), %eax
cmpl -192(%rbp), %eax
jge LBB105_23
## %bb.21: ## in Loop: Header=BB105_20 Depth=3
movq -168(%rbp), %rax
movslq -184(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -172(%rbp), %ecx
addl -188(%rbp), %ecx
addl -180(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -180(%rbp), %eax
shll $1, %eax
addl $1, %eax
cltq
addss -144(%rbp,%rax,4), %xmm0
movss %xmm0, -144(%rbp,%rax,4)
## %bb.22: ## in Loop: Header=BB105_20 Depth=3
movl -180(%rbp), %eax
addl $1, %eax
movl %eax, -180(%rbp)
jmp LBB105_20
LBB105_23: ## in Loop: Header=BB105_5 Depth=2
jmp LBB105_24
LBB105_24: ## in Loop: Header=BB105_5 Depth=2
jmp LBB105_25
LBB105_25: ## in Loop: Header=BB105_5 Depth=2
jmp LBB105_26
LBB105_26: ## in Loop: Header=BB105_5 Depth=2
jmp LBB105_27
LBB105_27: ## in Loop: Header=BB105_5 Depth=2
movl -184(%rbp), %eax
addl $1, %eax
movl %eax, -184(%rbp)
jmp LBB105_5
LBB105_28: ## in Loop: Header=BB105_1 Depth=1
movl $0, -180(%rbp)
LBB105_29: ## Parent Loop BB105_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -180(%rbp), %eax
movl -192(%rbp), %ecx
shll $1, %ecx
cmpl %ecx, %eax
jge LBB105_34
## %bb.30: ## in Loop: Header=BB105_29 Depth=2
movslq -180(%rbp), %rax
movss LCPI105_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -144(%rbp,%rax,4), %xmm0
movss %xmm0, -208(%rbp)
movl -208(%rbp), %eax
subl $1136656384, %eax ## imm = 0x43C00000
movl %eax, -212(%rbp)
movl -212(%rbp), %eax
addl $32768, %eax ## imm = 0x8000
cmpl $65535, %eax ## imm = 0xFFFF
jbe LBB105_32
## %bb.31: ## in Loop: Header=BB105_29 Depth=2
movl -212(%rbp), %edx
movl $32767, %eax ## imm = 0x7FFF
movl $4294934528, %ecx ## imm = 0xFFFF8000
cmpl $0, %edx
cmovll %ecx, %eax
movl %eax, -212(%rbp)
LBB105_32: ## in Loop: Header=BB105_29 Depth=2
movl -212(%rbp), %eax
movw %ax, %dx
movq -152(%rbp), %rax
movl -196(%rbp), %ecx
addl -180(%rbp), %ecx
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
## %bb.33: ## in Loop: Header=BB105_29 Depth=2
movl -180(%rbp), %eax
addl $1, %eax
movl %eax, -180(%rbp)
jmp LBB105_29
LBB105_34: ## in Loop: Header=BB105_1 Depth=1
jmp LBB105_35
LBB105_35: ## in Loop: Header=BB105_1 Depth=1
movl -188(%rbp), %eax
addl $16, %eax
movl %eax, -188(%rbp)
jmp LBB105_1
LBB105_36:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB105_38
## %bb.37:
addq $224, %rsp
popq %rbp
retq
LBB105_38:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rb"
.section __DATA,__data
_ogg_page_header: ## @ogg_page_header
.ascii "OggS"
.zerofill __DATA,__bss,_crc_table,1024,4 ## @crc_table
.section __TEXT,__cstring,cstring_literals
L___func__.vorbis_decode_initial: ## @__func__.vorbis_decode_initial
.asciz "vorbis_decode_initial"
L_.str.1: ## @.str.1
.asciz "220455433.c"
L_.str.2: ## @.str.2
.asciz "f->alloc.alloc_buffer_length_in_bytes == f->temp_offset"
L___func__.get8_packet_raw: ## @__func__.get8_packet_raw
.asciz "get8_packet_raw"
L_.str.3: ## @.str.3
.asciz "f->bytes_in_seg > 0"
L___func__.next_segment: ## @__func__.next_segment
.asciz "next_segment"
L_.str.4: ## @.str.4
.asciz "f->bytes_in_seg == 0"
.section __DATA,__data
.p2align 4 ## @ilog.log2_4
_ilog.log2_4:
.ascii "\000\001\002\002\003\003\003\003\004\004\004\004\004\004\004\004"
.p2align 4 ## @vorbis_decode_packet_rest.range_list
_vorbis_decode_packet_rest.range_list:
.long 256 ## 0x100
.long 128 ## 0x80
.long 86 ## 0x56
.long 64 ## 0x40
.section __TEXT,__cstring,cstring_literals
L___func__.vorbis_decode_packet_rest: ## @__func__.vorbis_decode_packet_rest
.asciz "vorbis_decode_packet_rest"
L___func__.codebook_decode_scalar_raw: ## @__func__.codebook_decode_scalar_raw
.asciz "codebook_decode_scalar_raw"
L_.str.5: ## @.str.5
.asciz "c->sorted_codewords || c->codewords"
L_.str.6: ## @.str.6
.asciz "!c->sparse"
L___func__.codebook_decode_deinterleave_repeat: ## @__func__.codebook_decode_deinterleave_repeat
.asciz "codebook_decode_deinterleave_repeat"
L_.str.7: ## @.str.7
.asciz "!c->sparse || z < c->sorted_entries"
L___func__.codebook_decode_start: ## @__func__.codebook_decode_start
.asciz "codebook_decode_start"
L_.str.8: ## @.str.8
.asciz "z < c->sorted_entries"
.section __DATA,__data
.p2align 4 ## @inverse_db_table
_inverse_db_table:
.long 0x33e4b43e ## float 1.06498632E-7
.long 0x33f39109 ## float 1.1341951E-7
.long 0x3401b28b ## float 1.20790148E-7
.long 0x340a203c ## float 1.28639783E-7
.long 0x34131a23 ## float 1.36999503E-7
.long 0x341ca960 ## float 1.45902504E-7
.long 0x3426d7a7 ## float 1.55384086E-7
.long 0x3431af4b ## float 1.65481808E-7
.long 0x343d3b50 ## float 1.76235744E-7
.long 0x34498770 ## float 1.87688556E-7
.long 0x3456a023 ## float 1.99885605E-7
.long 0x346492b8 ## float 2.12875307E-7
.long 0x34736d55 ## float 2.26709133E-7
.long 0x34819f88 ## float 2.41441967E-7
.long 0x348a0bfc ## float 2.57132228E-7
.long 0x34930493 ## float 2.73842119E-7
.long 0x349c9269 ## float 2.91637917E-7
.long 0x34a6bf32 ## float 3.10590224E-7
.long 0x34b1953f ## float 3.307741E-7
.long 0x34bd1f93 ## float 3.52269666E-7
.long 0x34c969e4 ## float 3.75162131E-7
.long 0x34d680ad ## float 3.99542301E-7
.long 0x34e47136 ## float 4.25506812E-7
.long 0x34f349a6 ## float 4.53158634E-7
.long 0x35018c88 ## float 4.82607447E-7
.long 0x3509f7c0 ## float 5.13970008E-7
.long 0x3512ef06 ## float 5.47370632E-7
.long 0x351c7b76 ## float 5.8294188E-7
.long 0x3526a6c0 ## float 6.20824721E-7
.long 0x35317b37 ## float 6.61169395E-7
.long 0x353d03da ## float 7.04135914E-7
.long 0x35494c5e ## float 7.49894639E-7
.long 0x3556613b ## float 7.98627013E-7
.long 0x35644fb9 ## float 8.50526305E-7
.long 0x357325fc ## float 9.05798287E-7
.long 0x3581798a ## float 9.64662149E-7
.long 0x3589e386 ## float 1.02735135E-6
.long 0x3592d97c ## float 1.0941144E-6
.long 0x359c6485 ## float 1.16521608E-6
.long 0x35a68e52 ## float 1.24093845E-6
.long 0x35b16133 ## float 1.32158164E-6
.long 0x35bce825 ## float 1.40746545E-6
.long 0x35c92edc ## float 1.49893049E-6
.long 0x35d641ce ## float 1.59633942E-6
.long 0x35e42e41 ## float 1.70007854E-6
.long 0x35f30257 ## float 1.81055918E-6
.long 0x3601668f ## float 1.92821949E-6
.long 0x3609cf4f ## float 2.05352603E-6
.long 0x3612c3f5 ## float 2.18697573E-6
.long 0x361c4d98 ## float 2.3290977E-6
.long 0x362675e8 ## float 2.48045581E-6
.long 0x36314732 ## float 2.64164964E-6
.long 0x363ccc74 ## float 2.81331904E-6
.long 0x3649115e ## float 2.9961443E-6
.long 0x36562265 ## float 3.19085052E-6
.long 0x36640cce ## float 3.39821008E-6
.long 0x3672deb8 ## float 3.61904495E-6
.long 0x36815397 ## float 3.85423073E-6
.long 0x3689bb1c ## float 4.10470057E-6
.long 0x3692ae72 ## float 4.37144718E-6
.long 0x369c36af ## float 4.6555283E-6
.long 0x36a65d81 ## float 4.9580708E-6
.long 0x36b12d35 ## float 5.28027385E-6
.long 0x36bcb0c7 ## float 5.6234162E-6
.long 0x36c8f3e4 ## float 5.98885708E-6
.long 0x36d60301 ## float 6.37804669E-6
.long 0x36e3eb60 ## float 6.79252844E-6
.long 0x36f2bb1e ## float 7.23394533E-6
.long 0x370140a2 ## float 7.70404768E-6
.long 0x3709a6eb ## float 8.20469995E-6
.long 0x371298f1 ## float 8.73788758E-6
.long 0x371c1fc9 ## float 9.30572514E-6
.long 0x3726451e ## float 9.91046363E-6
.long 0x3731133d ## float 1.05545014E-5
.long 0x373c951e ## float 1.12403923E-5
.long 0x3748d66f ## float 1.19708557E-5
.long 0x3755e3a2 ## float 1.27487892E-5
.long 0x3763c9f7 ## float 1.3577278E-5
.long 0x37729789 ## float 1.44596061E-5
.long 0x37812daf ## float 1.53992714E-5
.long 0x378992be ## float 1.64000048E-5
.long 0x37928374 ## float 1.74657689E-5
.long 0x379c08e6 ## float 1.86007928E-5
.long 0x37a62cbe ## float 1.98095768E-5
.long 0x37b0f947 ## float 2.10969138E-5
.long 0x37bc7979 ## float 2.24679115E-5
.long 0x37c8b8fe ## float 2.39280016E-5
.long 0x37d5c447 ## float 2.54829774E-5
.long 0x37e3a892 ## float 2.71390054E-5
.long 0x37f273f8 ## float 2.89026502E-5
.long 0x38011ac0 ## float 3.07809096E-5
.long 0x38097e93 ## float 3.27812268E-5
.long 0x38126df9 ## float 3.49115326E-5
.long 0x381bf206 ## float 3.71802817E-5
.long 0x38261462 ## float 3.95964671E-5
.long 0x3830df56 ## float 4.21696677E-5
.long 0x383c5dd8 ## float 4.49100917E-5
.long 0x38489b92 ## float 4.7828602E-5
.long 0x3855a4f2 ## float 5.09367746E-5
.long 0x38638733 ## float 5.42469315E-5
.long 0x3872506e ## float 5.77722021E-5
.long 0x388107d3 ## float 6.15265672E-5
.long 0x38896a6b ## float 6.55249095E-5
.long 0x38925882 ## float 6.97830837E-5
.long 0x389bdb2a ## float 7.43179844E-5
.long 0x38a5fc09 ## float 7.91475831E-5
.long 0x38b0c568 ## float 8.42910376E-5
.long 0x38bc423b ## float 8.97687496E-5
.long 0x38c87e29 ## float 9.56024232E-5
.long 0x38d585a0 ## float 1.01815211E-4
.long 0x38e365d9 ## float 1.08431741E-4
.long 0x38f22ce8 ## float 1.15478237E-4
.long 0x3900f4e9 ## float 1.22982674E-4
.long 0x39095646 ## float 1.30974775E-4
.long 0x3912430e ## float 1.39486248E-4
.long 0x391bc451 ## float 1.48550855E-4
.long 0x3925e3b5 ## float 1.58204537E-4
.long 0x3930ab7f ## float 1.68485552E-4
.long 0x393c26a2 ## float 1.7943469E-4
.long 0x394860c5 ## float 1.91095358E-4
.long 0x39556653 ## float 2.03513817E-4
.long 0x39634483 ## float 2.16739296E-4
.long 0x39720968 ## float 2.30824226E-4
.long 0x3980e201 ## float 2.45824485E-4
.long 0x39894224 ## float 2.61799549E-4
.long 0x39922d9d ## float 2.78812746E-4
.long 0x399bad7b ## float 2.96931568E-4
.long 0x39a5cb63 ## float 3.16227874E-4
.long 0x39b09199 ## float 3.36778146E-4
.long 0x39bc0b0d ## float 3.58663878E-4
.long 0x39c84366 ## float 3.81971884E-4
.long 0x39d5470b ## float 4.0679457E-4
.long 0x39e32332 ## float 4.33230365E-4
.long 0x39f1e5ed ## float 4.61384101E-4
.long 0x3a00cf1d ## float 4.91367478E-4
.long 0x3a092e05 ## float 5.2329927E-4
.long 0x3a121830 ## float 5.57306223E-4
.long 0x3a1b96a9 ## float 5.93523087E-4
.long 0x3a25b315 ## float 6.32093579E-4
.long 0x3a3077b7 ## float 6.73170609E-4
.long 0x3a3bef7c ## float 7.16916984E-4
.long 0x3a48260a ## float 7.63506279E-4
.long 0x3a5527c7 ## float 8.13123246E-4
.long 0x3a6301e6 ## float 8.65964568E-4
.long 0x3a71c278 ## float 9.22239851E-4
.long 0x3a80bc3b ## float 9.82172205E-4
.long 0x3a8919e9 ## float 0.00104599923
.long 0x3a9202c6 ## float 0.00111397426
.long 0x3a9b7fdb ## float 0.00118636654
.long 0x3aa59acb ## float 0.00126346329
.long 0x3ab05dd8 ## float 0.0013455702
.long 0x3abbd3ef ## float 0.00143301289
.long 0x3ac808b3 ## float 0.00152613816
.long 0x3ad50888 ## float 0.00162531529
.long 0x3ae2e09f ## float 0.00173093739
.long 0x3af19f07 ## float 0.00184342347
.long 0x3b00a95c ## float 0.00196321961
.long 0x3b0905d0 ## float 0.00209080055
.long 0x3b11ed5e ## float 0.0022266726
.long 0x3b1b690f ## float 0.00237137428
.long 0x3b258284 ## float 0.00252547953
.long 0x3b3043fd ## float 0.00268959929
.long 0x3b3bb867 ## float 0.00286438479
.long 0x3b47eb61 ## float 0.0030505287
.long 0x3b54e94d ## float 0.00324876909
.long 0x3b62bf5d ## float 0.00345989247
.long 0x3b717b9c ## float 0.00368473586
.long 0x3b80967f ## float 0.00392419053
.long 0x3b88f1ba ## float 0.00417920668
.long 0x3b91d7f9 ## float 0.00445079478
.long 0x3b9b5247 ## float 0.00474003283
.long 0x3ba56a41 ## float 0.00504806684
.long 0x3bb02a27 ## float 0.0053761187
.long 0x3bbb9ce2 ## float 0.005725489
.long 0x3bc7ce12 ## float 0.00609756354
.long 0x3bd4ca17 ## float 0.00649381755
.long 0x3be29e20 ## float 0.00691582262
.long 0x3bf15835 ## float 0.00736525143
.long 0x3c0083a6 ## float 0.00784388743
.long 0x3c08dda7 ## float 0.00835362729
.long 0x3c11c298 ## float 0.00889649242
.long 0x3c1b3b82 ## float 0.00947463698
.long 0x3c255201 ## float 0.010090352
.long 0x3c301054 ## float 0.0107460804
.long 0x3c3b8161 ## float 0.0114444206
.long 0x3c47b0c8 ## float 0.012188144
.long 0x3c54aae5 ## float 0.0129801976
.long 0x3c627ce8 ## float 0.0138237253
.long 0x3c7134d4 ## float 0.0147220679
.long 0x3c8070cf ## float 0.0156787913
.long 0x3c88c996 ## float 0.0166976862
.long 0x3c91ad3a ## float 0.0177827962
.long 0x3c9b24c0 ## float 0.0189384222
.long 0x3ca539c5 ## float 0.0201691482
.long 0x3caff685 ## float 0.0214798544
.long 0x3cbb65e5 ## float 0.0228757355
.long 0x3cc79382 ## float 0.0243623294
.long 0x3cd48bb9 ## float 0.0259455312
.long 0x3ce25bb4 ## float 0.0276316181
.long 0x3cf11179 ## float 0.0294272769
.long 0x3d005dfb ## float 0.0313396268
.long 0x3d08b589 ## float 0.0333762504
.long 0x3d1197df ## float 0.0355452262
.long 0x3d1b0e02 ## float 0.0378551558
.long 0x3d25218d ## float 0.0403151996
.long 0x3d2fdcb9 ## float 0.0429351069
.long 0x3d3b4a6d ## float 0.0457252748
.long 0x3d477640 ## float 0.0486967564
.long 0x3d546c91 ## float 0.0518613495
.long 0x3d623a85 ## float 0.0552315898
.long 0x3d70ee22 ## float 0.0588208511
.long 0x3d804b2a ## float 0.0626433641
.long 0x3d88a17f ## float 0.0667142794
.long 0x3d918288 ## float 0.0710497499
.long 0x3d9af748 ## float 0.075666964
.long 0x3da50958 ## float 0.080584228
.long 0x3dafc2f2 ## float 0.0858210474
.long 0x3dbb2ef8 ## float 0.0913981795
.long 0x3dc75903 ## float 0.0973377451
.long 0x3dd44d6d ## float 0.103663303
.long 0x3de2195c ## float 0.110399932
.long 0x3df0cad1 ## float 0.117574342
.long 0x3e00385b ## float 0.125214979
.long 0x3e088d77 ## float 0.133352146
.long 0x3e116d33 ## float 0.142018124
.long 0x3e1ae090 ## float 0.151247263
.long 0x3e24f127 ## float 0.161076173
.long 0x3e2fa92e ## float 0.171543807
.long 0x3e3b1387 ## float 0.182691678
.long 0x3e473bca ## float 0.194564015
.long 0x3e542e4d ## float 0.207207873
.long 0x3e61f837 ## float 0.220673427
.long 0x3e70a784 ## float 0.235014021
.long 0x3e80258f ## float 0.250286549
.long 0x3e887973 ## float 0.266551584
.long 0x3e9157e2 ## float 0.283873618
.long 0x3e9ac9dc ## float 0.302321315
.long 0x3ea4d8f9 ## float 0.32196787
.long 0x3eaf8f6d ## float 0.342891127
.long 0x3ebaf81b ## float 0.365174145
.long 0x3ec71e95 ## float 0.388905197
.long 0x3ed40f33 ## float 0.414178461
.long 0x3ee1d717 ## float 0.44109413
.long 0x3ef0843d ## float 0.469758898
.long 0x3f0012c6 ## float 0.50028646
.long 0x3f086572 ## float 0.532797933
.long 0x3f114293 ## float 0.567422092
.long 0x3f1ab32b ## float 0.604296386
.long 0x3f24c0ce ## float 0.643566966
.long 0x3f2f75b1 ## float 0.685389578
.long 0x3f3adcb2 ## float 0.729930043
.long 0x3f470165 ## float 0.777365028
.long 0x3f53f01d ## float 0.827882587
.long 0x3f61b5fb ## float 0.881683051
.long 0x3f7060fb ## float 0.938979804
.long 0x3f800000 ## float 1
.section __TEXT,__cstring,cstring_literals
L___func__.inverse_mdct: ## @__func__.inverse_mdct
.asciz "inverse_mdct"
L_.str.9: ## @.str.9
.asciz "v == buf2"
L___func__.imdct_step3_iter0_loop: ## @__func__.imdct_step3_iter0_loop
.asciz "imdct_step3_iter0_loop"
L_.str.10: ## @.str.10
.asciz "(n & 3) == 0"
L___func__.get_window: ## @__func__.get_window
.asciz "get_window"
L_.str.11: ## @.str.11
.asciz "0"
L___func__.start_decoder: ## @__func__.start_decoder
.asciz "start_decoder"
L_.str.12: ## @.str.12
.asciz "f->temp_offset == f->alloc.alloc_buffer_length_in_bytes"
.section __DATA,__data
_vorbis_validate.vorbis: ## @vorbis_validate.vorbis
.ascii "vorbis"
.section __TEXT,__cstring,cstring_literals
L___func__.compute_codewords: ## @__func__.compute_codewords
.asciz "compute_codewords"
L_.str.13: ## @.str.13
.asciz "c->sorted_entries == 0"
L_.str.14: ## @.str.14
.asciz "available[y] == 0"
L___func__.compute_sorted_huffman: ## @__func__.compute_sorted_huffman
.asciz "compute_sorted_huffman"
L_.str.15: ## @.str.15
.asciz "k == c->sorted_entries"
L_.str.16: ## @.str.16
.asciz "c->sorted_codewords[x] == code"
L___func__.include_in_sort: ## @__func__.include_in_sort
.asciz "include_in_sort"
L_.str.17: ## @.str.17
.asciz "len != NO_CODE"
L___func__.lookup1_values: ## @__func__.lookup1_values
.asciz "lookup1_values"
L_.str.18: ## @.str.18
.asciz "pow((float) r+1, dim) > entries"
L_.str.19: ## @.str.19
.asciz "(int) floor(pow((float) r, dim)) <= entries"
L___func__.vorbis_seek_frame_from_page: ## @__func__.vorbis_seek_frame_from_page
.asciz "vorbis_seek_frame_from_page"
L_.str.20: ## @.str.20
.asciz "frames_to_skip >= 0"
L_.str.21: ## @.str.21
.asciz "target_sample > frame_start"
L_.str.22: ## @.str.22
.asciz "f->channel_buffer_start + (int) (target_sample-frame_start) < f->channel_buffer_end"
L___func__.vorbis_analyze_page: ## @__func__.vorbis_analyze_page
.asciz "vorbis_analyze_page"
L_.str.23: ## @.str.23
.asciz "header[0] == 'O' && header[1] == 'g' && header[2] == 'g' && header[3] == 'S'"
.section __DATA,__data
.p2align 4 ## @convert_samples_short.channel_selector
_convert_samples_short.channel_selector:
.space 8
.long 1 ## 0x1
.long 0 ## 0x0
.long 2 ## 0x2
.long 4 ## 0x4
.p2align 4 ## @channel_position
_channel_position:
.space 6
.asciz "\007\000\000\000\000"
.asciz "\003\005\000\000\000"
.asciz "\003\007\005\000\000"
.asciz "\003\005\003\005\000"
.asciz "\003\007\005\003\005"
.ascii "\003\007\005\003\005\007"
.section __TEXT,__cstring,cstring_literals
L___func__.convert_channels_short_interleaved: ## @__func__.convert_channels_short_interleaved
.asciz "convert_channels_short_interleaved"
L_.str.24: ## @.str.24
.asciz "buf_c == 2"
.subsections_via_symbols
| the_stack_data/220455433.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fn ; -- Begin function fn
.p2align 2
_fn: ; @fn
.cfi_startproc
; %bb.0:
adrp x9, _count@GOTPAGE
ldr x9, [x9, _count@GOTPAGEOFF]
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
ret
.cfi_endproc
; -- End function
.globl _loop ; -- Begin function loop
.p2align 2
_loop: ; @loop
.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 xzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
mov x9, #536870912
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _fn
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB1_1
LBB1_4:
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]
stur w0, [x29, #-8]
str x1, [sp, #16]
bl _loop
bl _loop
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
.comm _count,8,3 ; @count
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fn ## -- Begin function fn
.p2align 4, 0x90
_fn: ## @fn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _count@GOTPCREL(%rip), %rax
movq (%rax), %rcx
addq $1, %rcx
movq _count@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _loop ## -- Begin function loop
.p2align 4, 0x90
_loop: ## @loop
.cfi_startproc
## %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 $0, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpq $536870912, -8(%rbp) ## imm = 0x20000000
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _fn
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -8(%rbp)
jmp LBB1_1
LBB1_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _loop
callq _loop
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _count,8,3 ## @count
.subsections_via_symbols
| the_stack_data/9205.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stplqt2_ ; -- Begin function stplqt2_
.p2align 2
_stplqt2_: ; @stplqt2_
.cfi_startproc
; %bb.0:
sub sp, sp, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub x8, x29, #32
str x8, [sp, #112] ; 8-byte Folded Spill
ldr x10, [x29, #16]
ldr x9, [x29, #24]
str x0, [x8]
stur x1, [x29, #-40]
stur x2, [x29, #-48]
stur x3, [x29, #-56]
stur x4, [x29, #-64]
stur x5, [x29, #-72]
stur x6, [x29, #-80]
stur x7, [x29, #-88]
stur x10, [x29, #-96]
stur x9, [x29, #-104]
ldur x9, [x29, #-64]
ldr w9, [x9]
stur w9, [x29, #-108]
ldur w9, [x29, #-108]
mov x10, #0
lsr w9, w9, #0
add w9, w9, #1
stur w9, [x29, #-112]
ldursw x11, [x29, #-112]
ldur x9, [x29, #-56]
subs x11, x10, x11
add x9, x9, x11, lsl #2
stur x9, [x29, #-56]
ldur x9, [x29, #-80]
ldr w9, [x9]
stur w9, [x29, #-116]
ldur w9, [x29, #-116]
lsr w9, w9, #0
add w9, w9, #1
stur w9, [x29, #-120]
ldursw x11, [x29, #-120]
ldur x9, [x29, #-72]
subs x11, x10, x11
add x9, x9, x11, lsl #2
stur x9, [x29, #-72]
ldur x9, [x29, #-96]
ldr w9, [x9]
stur w9, [x29, #-124]
ldur w9, [x29, #-124]
lsr w9, w9, #0
add w9, w9, #1
stur w9, [x29, #-128]
ldursw x11, [x29, #-128]
ldur x9, [x29, #-88]
subs x10, x10, x11
add x9, x9, x10, lsl #2
stur x9, [x29, #-88]
ldur x9, [x29, #-104]
str wzr, [x9]
ldr x8, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x9, [x29, #-104]
mov w8, #-1
str w8, [x9]
b LBB0_30
LBB0_2:
ldur x8, [x29, #-40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x9, [x29, #-104]
mov w8, #-2
str w8, [x9]
b LBB0_29
LBB0_4:
ldur x8, [x29, #-48]
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldur x9, [x29, #-48]
ldr w9, [x9]
str w9, [sp, #108] ; 4-byte Folded Spill
ldr x8, [x8]
ldr w8, [x8]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #104] ; 4-byte Folded Spill
b LBB0_8
LBB0_7:
ldur x8, [x29, #-40]
ldr w8, [x8]
str w8, [sp, #104] ; 4-byte Folded Spill
b LBB0_8
LBB0_8:
ldr w8, [sp, #108] ; 4-byte Folded Reload
ldr w9, [sp, #104] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x9, [x29, #-104]
mov w8, #-3
str w8, [x9]
b LBB0_28
LBB0_10:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldur x9, [x29, #-64]
ldr w9, [x9]
str w9, [sp, #100] ; 4-byte Folded Spill
ldr x8, [x8]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
mov w8, #1
str w8, [sp, #96] ; 4-byte Folded Spill
b LBB0_13
LBB0_12:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #96] ; 4-byte Folded Spill
b LBB0_13
LBB0_13:
ldr w8, [sp, #100] ; 4-byte Folded Reload
ldr w9, [sp, #96] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldur x9, [x29, #-104]
mov w8, #-5
str w8, [x9]
b LBB0_27
LBB0_15:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldur x9, [x29, #-80]
ldr w9, [x9]
str w9, [sp, #92] ; 4-byte Folded Spill
ldr x8, [x8]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
mov w8, #1
str w8, [sp, #88] ; 4-byte Folded Spill
b LBB0_18
LBB0_17:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #88] ; 4-byte Folded Spill
b LBB0_18
LBB0_18:
ldr w8, [sp, #92] ; 4-byte Folded Reload
ldr w9, [sp, #88] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
ldur x9, [x29, #-104]
mov w8, #-7
str w8, [x9]
b LBB0_26
LBB0_20:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldur x9, [x29, #-96]
ldr w9, [x9]
str w9, [sp, #84] ; 4-byte Folded Spill
ldr x8, [x8]
ldr w9, [x8]
mov w8, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
mov w8, #1
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB0_23
LBB0_22:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB0_23
LBB0_23:
ldr w8, [sp, #84] ; 4-byte Folded Reload
ldr w9, [sp, #80] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
ldur x9, [x29, #-104]
mov w8, #-9
str w8, [x9]
b LBB0_25
LBB0_25:
b LBB0_26
LBB0_26:
b LBB0_27
LBB0_27:
b LBB0_28
LBB0_28:
b LBB0_29
LBB0_29:
b LBB0_30
LBB0_30:
ldur x8, [x29, #-104]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31:
ldur x8, [x29, #-104]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
sub x1, x29, #132
stur w8, [x29, #-132]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w2, #7
bl _xerbla_
stur wzr, [x29, #-20]
b LBB0_82
LBB0_32:
ldur x8, [x29, #-40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
stur wzr, [x29, #-20]
b LBB0_82
LBB0_35:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
stur w8, [x29, #-132]
mov w8, #1
str w8, [sp, #144]
b LBB0_36
LBB0_36: ; =>This Loop Header: Depth=1
; Child Loop BB0_42 Depth 2
; Child Loop BB0_46 Depth 2
ldr w8, [sp, #144]
ldur w9, [x29, #-132]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_52
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_36 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur x9, [x29, #-48]
ldr w9, [x9]
subs w8, w8, w9
str w8, [sp, #76] ; 4-byte Folded Spill
ldur x8, [x29, #-48]
ldr w8, [x8]
ldr w9, [sp, #144]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_36 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8]
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB0_40
LBB0_39: ; in Loop: Header=BB0_36 Depth=1
ldr w8, [sp, #144]
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_36 Depth=1
ldr w8, [sp, #76] ; 4-byte Folded Reload
ldr w9, [sp, #72] ; 4-byte Folded Reload
add w8, w8, w9
str w8, [sp, #136]
ldr w8, [sp, #136]
add w8, w8, #1
sub x0, x29, #136
stur w8, [x29, #-136]
ldur x8, [x29, #-56]
ldr w9, [sp, #144]
ldr w10, [sp, #144]
ldur w11, [x29, #-108]
mul w10, w10, w11
add w9, w9, w10
add x1, x8, w9, sxtw #2
ldur x8, [x29, #-72]
ldr w9, [sp, #144]
ldur w10, [x29, #-116]
add w9, w9, w10
add x2, x8, w9, sxtw #2
ldur x3, [x29, #-80]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldur w10, [x29, #-124]
mul w9, w9, w10
add w9, w9, #1
add x4, x8, w9, sxtw #2
bl _slarfg_
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr w8, [sp, #144]
ldr x9, [x9]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_50
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_36 Depth=1
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
ldr w9, [sp, #144]
subs w8, w8, w9
stur w8, [x29, #-136]
mov w8, #1
str w8, [sp, #140]
b LBB0_42
LBB0_42: ; Parent Loop BB0_36 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldur w9, [x29, #-136]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_45
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_42 Depth=2
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldur x8, [x29, #-56]
ldr w10, [sp, #144]
ldr w11, [sp, #140]
add w10, w10, w11
ldr w11, [sp, #144]
ldur w12, [x29, #-108]
mul w11, w11, w12
add w10, w10, w11
ldr s0, [x8, w10, sxtw #2]
ldur x8, [x29, #-88]
ldr x9, [x9]
ldr w9, [x9]
ldr w10, [sp, #140]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
str s0, [x8, w9, sxtw #2]
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_42 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB0_42
LBB0_45: ; in Loop: Header=BB0_36 Depth=1
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x9]
ldr w8, [x8]
ldr w10, [sp, #144]
subs w8, w8, w10
sub x1, x29, #136
stur w8, [x29, #-136]
ldur x8, [x29, #-72]
ldr w10, [sp, #144]
mov w11, #1
str w11, [sp, #68] ; 4-byte Folded Spill
add w10, w10, #1
ldur w11, [x29, #-116]
add w10, w10, w11
add x4, x8, w10, sxtw #2
ldur x5, [x29, #-80]
ldur x8, [x29, #-72]
ldr w10, [sp, #144]
ldur w11, [x29, #-116]
add w10, w10, w11
add x6, x8, w10, sxtw #2
ldur x7, [x29, #-80]
ldur x8, [x29, #-88]
ldr x9, [x9]
ldr w9, [x9]
ldur w10, [x29, #-124]
add w9, w9, w10
add x10, x8, w9, sxtw #2
ldur x8, [x29, #-96]
mov x9, sp
adrp x3, _c_b4@PAGE
add x3, x3, _c_b4@PAGEOFF
mov x11, x3
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
add x2, sp, #136
bl _sgemv_
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr w8, [sp, #68] ; 4-byte Folded Reload
ldur x10, [x29, #-88]
ldr w11, [sp, #144]
ldur w12, [x29, #-124]
mul w11, w11, w12
add w11, w11, #1
ldr s0, [x10, w11, sxtw #2]
fneg s0, s0
str s0, [sp, #132]
ldr x9, [x9]
ldr w9, [x9]
ldr w10, [sp, #144]
subs w9, w9, w10
stur w9, [x29, #-136]
str w8, [sp, #140]
b LBB0_46
LBB0_46: ; Parent Loop BB0_36 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldur w9, [x29, #-136]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_49
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_46 Depth=2
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr s0, [sp, #132]
ldur x8, [x29, #-88]
ldr x9, [x9]
ldr w9, [x9]
ldr w10, [sp, #140]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
ldr s1, [x8, w9, sxtw #2]
ldur x8, [x29, #-56]
ldr w9, [sp, #144]
ldr w10, [sp, #140]
add w9, w9, w10
ldr w10, [sp, #144]
ldur w11, [x29, #-108]
mul w10, w10, w11
add w9, w9, w10
add x8, x8, w9, sxtw #2
ldr s2, [x8]
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_46 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB0_46
LBB0_49: ; in Loop: Header=BB0_36 Depth=1
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x9]
ldr w8, [x8]
ldr w10, [sp, #144]
subs w8, w8, w10
sub x0, x29, #136
stur w8, [x29, #-136]
ldur x8, [x29, #-88]
ldr x9, [x9]
ldr w9, [x9]
ldur w10, [x29, #-124]
add w9, w9, w10
add x3, x8, w9, sxtw #2
ldur x4, [x29, #-96]
ldur x8, [x29, #-72]
ldr w9, [sp, #144]
ldur w10, [x29, #-116]
add w9, w9, w10
add x5, x8, w9, sxtw #2
ldur x6, [x29, #-80]
ldur x8, [x29, #-72]
ldr w9, [sp, #144]
add w9, w9, #1
ldur w10, [x29, #-116]
add w9, w9, w10
add x7, x8, w9, sxtw #2
ldur x8, [x29, #-80]
mov x9, sp
str x8, [x9]
add x1, sp, #136
add x2, sp, #132
bl _sger_
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_36 Depth=1
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_36 Depth=1
ldr w8, [sp, #144]
add w8, w8, #1
str w8, [sp, #144]
b LBB0_36
LBB0_52:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
stur w8, [x29, #-132]
mov w8, #2
str w8, [sp, #144]
b LBB0_53
LBB0_53: ; =>This Loop Header: Depth=1
; Child Loop BB0_55 Depth 2
; Child Loop BB0_68 Depth 2
ldr w8, [sp, #144]
ldur w9, [x29, #-132]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_73
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_53 Depth=1
ldur x9, [x29, #-88]
ldr w8, [sp, #144]
ldur w10, [x29, #-124]
mul w10, w8, w10
mov w8, #1
add w10, w10, #1
ldr s0, [x9, w10, sxtw #2]
fneg s0, s0
str s0, [sp, #132]
ldr w9, [sp, #144]
subs w9, w9, #1
stur w9, [x29, #-136]
str w8, [sp, #140]
b LBB0_55
LBB0_55: ; Parent Loop BB0_53 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldur w9, [x29, #-136]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_58
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_55 Depth=2
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldr w10, [sp, #140]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
movi d0, #0000000000000000
str s0, [x8, w9, sxtw #2]
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_55 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB0_55
LBB0_58: ; in Loop: Header=BB0_53 Depth=1
ldr w8, [sp, #144]
subs w8, w8, #1
stur w8, [x29, #-136]
ldur w8, [x29, #-136]
ldur x9, [x29, #-48]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_60
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_53 Depth=1
ldur w8, [x29, #-136]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB0_61
LBB0_60: ; in Loop: Header=BB0_53 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_53 Depth=1
ldr w8, [sp, #64] ; 4-byte Folded Reload
str w8, [sp, #136]
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur x9, [x29, #-48]
ldr w9, [x9]
subs w8, w8, w9
add w8, w8, #1
stur w8, [x29, #-136]
ldur w8, [x29, #-136]
ldur x9, [x29, #-40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_63
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_53 Depth=1
ldur w8, [x29, #-136]
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB0_64
LBB0_63: ; in Loop: Header=BB0_53 Depth=1
ldur x8, [x29, #-40]
ldr w8, [x8]
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_53 Depth=1
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr w8, [sp, #60] ; 4-byte Folded Reload
str w8, [sp, #124]
ldr w8, [sp, #136]
add w8, w8, #1
stur w8, [x29, #-136]
ldur w8, [x29, #-136]
ldr x9, [x9]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_66
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_53 Depth=1
ldur w8, [x29, #-136]
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB0_67
LBB0_66: ; in Loop: Header=BB0_53 Depth=1
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_53 Depth=1
ldr w8, [sp, #56] ; 4-byte Folded Reload
str w8, [sp, #128]
ldr w8, [sp, #136]
stur w8, [x29, #-136]
mov w8, #1
str w8, [sp, #140]
b LBB0_68
LBB0_68: ; Parent Loop BB0_53 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldur w9, [x29, #-136]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_71
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_68 Depth=2
ldr s0, [sp, #132]
ldur x8, [x29, #-72]
ldr w9, [sp, #144]
ldur x10, [x29, #-40]
ldr w10, [x10]
ldur x11, [x29, #-48]
ldr w11, [x11]
subs w10, w10, w11
ldr w11, [sp, #140]
add w10, w10, w11
ldur w11, [x29, #-116]
mul w10, w10, w11
add w9, w9, w10
ldr s1, [x8, w9, sxtw #2]
fmul s0, s0, s1
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldr w10, [sp, #140]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
str s0, [x8, w9, sxtw #2]
b LBB0_70
LBB0_70: ; in Loop: Header=BB0_68 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB0_68
LBB0_71: ; in Loop: Header=BB0_53 Depth=1
ldur x8, [x29, #-72]
ldr w9, [sp, #124]
ldur w10, [x29, #-116]
mul w9, w9, w10
add w9, w9, #1
add x4, x8, w9, sxtw #2
ldur x5, [x29, #-80]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldur w10, [x29, #-124]
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-96]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #48] ; 8-byte Folded Spill
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
str x2, [sp, #32] ; 8-byte Folded Spill
mov x1, x2
add x3, sp, #136
bl _strmv_
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #144]
subs w8, w8, #1
ldr w9, [sp, #136]
subs w8, w8, w9
sub x1, x29, #136
str x1, [sp, #40] ; 8-byte Folded Spill
stur w8, [x29, #-136]
ldur x2, [x29, #-48]
ldur x8, [x29, #-72]
ldr w9, [sp, #128]
ldr w10, [sp, #124]
ldur w11, [x29, #-116]
mul w10, w10, w11
add w9, w9, w10
add x4, x8, w9, sxtw #2
ldur x5, [x29, #-80]
ldur x8, [x29, #-72]
ldr w9, [sp, #144]
ldr w10, [sp, #124]
ldur w11, [x29, #-116]
mul w10, w10, w11
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-80]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldr w10, [sp, #128]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
add x10, x8, w9, sxtw #2
ldur x8, [x29, #-96]
mov x9, sp
adrp x11, _c_b10@PAGE
add x11, x11, _c_b10@PAGEOFF
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
add x3, sp, #132
str x3, [sp, #24] ; 8-byte Folded Spill
bl _sgemv_
ldr x3, [sp, #24] ; 8-byte Folded Reload
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #144]
subs w8, w8, #1
stur w8, [x29, #-136]
ldur x8, [x29, #-40]
ldr w8, [x8]
ldur x9, [x29, #-48]
ldr w9, [x9]
subs w8, w8, w9
sub x2, x29, #140
stur w8, [x29, #-140]
ldur x8, [x29, #-72]
ldursw x9, [x29, #-120]
add x4, x8, x9, lsl #2
ldur x5, [x29, #-80]
ldur x8, [x29, #-72]
ldr w9, [sp, #144]
ldur w10, [x29, #-116]
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-80]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldur w10, [x29, #-124]
add w9, w9, w10
add x10, x8, w9, sxtw #2
ldur x8, [x29, #-96]
mov x9, sp
adrp x11, _c_b4@PAGE
add x11, x11, _c_b4@PAGEOFF
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
bl _sgemv_
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x3, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldr w8, [sp, #144]
subs w8, w8, #1
stur w8, [x29, #-136]
ldur x8, [x29, #-88]
ldursw x9, [x29, #-128]
add x4, x8, x9, lsl #2
ldur x5, [x29, #-96]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldur w10, [x29, #-124]
add w9, w9, w10
add x6, x8, w9, sxtw #2
ldur x7, [x29, #-96]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strmv_
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldur w10, [x29, #-124]
mul w9, w9, w10
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldr w10, [sp, #144]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
str s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldur w10, [x29, #-124]
mul w9, w9, w10
add w9, w9, #1
movi d0, #0000000000000000
str s0, [x8, w9, sxtw #2]
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_53 Depth=1
ldr w8, [sp, #144]
add w8, w8, #1
str w8, [sp, #144]
b LBB0_53
LBB0_73:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
stur w8, [x29, #-132]
mov w8, #1
str w8, [sp, #144]
b LBB0_74
LBB0_74: ; =>This Loop Header: Depth=1
; Child Loop BB0_76 Depth 2
ldr w8, [sp, #144]
ldur w9, [x29, #-132]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_81
b LBB0_75
LBB0_75: ; in Loop: Header=BB0_74 Depth=1
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w8, [x8]
stur w8, [x29, #-136]
ldr w8, [sp, #144]
add w8, w8, #1
str w8, [sp, #140]
b LBB0_76
LBB0_76: ; Parent Loop BB0_74 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #140]
ldur w9, [x29, #-136]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_79
b LBB0_77
LBB0_77: ; in Loop: Header=BB0_76 Depth=2
ldur x8, [x29, #-88]
ldr w9, [sp, #140]
ldr w10, [sp, #144]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
ldr s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-88]
ldr w9, [sp, #144]
ldr w10, [sp, #140]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
str s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-88]
ldr w9, [sp, #140]
ldr w10, [sp, #144]
ldur w11, [x29, #-124]
mul w10, w10, w11
add w9, w9, w10
movi d0, #0000000000000000
str s0, [x8, w9, sxtw #2]
b LBB0_78
LBB0_78: ; in Loop: Header=BB0_76 Depth=2
ldr w8, [sp, #140]
add w8, w8, #1
str w8, [sp, #140]
b LBB0_76
LBB0_79: ; in Loop: Header=BB0_74 Depth=1
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_74 Depth=1
ldr w8, [sp, #144]
add w8, w8, #1
str w8, [sp, #144]
b LBB0_74
LBB0_81:
stur wzr, [x29, #-20]
b LBB0_82
LBB0_82:
ldur w0, [x29, #-20]
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 "STPLQT2"
l_.str.1: ; @.str.1
.asciz "N"
.section __DATA,__data
.p2align 2 ; @c_b4
_c_b4:
.long 0x3f800000 ; float 1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "L"
.zerofill __DATA,__bss,_c_b10,4,2 ; @c_b10
l_.str.3: ; @.str.3
.asciz "T"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stplqt2_ ## -- Begin function stplqt2_
.p2align 4, 0x90
_stplqt2_: ## @stplqt2_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $208, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -32(%rbp)
movq %rsi, -40(%rbp)
movq %rdx, -48(%rbp)
movq %rcx, -56(%rbp)
movq %r8, -64(%rbp)
movq %r9, -72(%rbp)
movq -64(%rbp), %rax
movl (%rax), %eax
movl %eax, -76(%rbp)
movl -76(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -80(%rbp)
movl -80(%rbp), %ecx
movq -56(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -56(%rbp)
movq 16(%rbp), %rax
movl (%rax), %eax
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -88(%rbp)
movl -88(%rbp), %ecx
movq -72(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -72(%rbp)
movq 32(%rbp), %rax
movl (%rax), %eax
movl %eax, -92(%rbp)
movl -92(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -96(%rbp)
movl -96(%rbp), %ecx
movq 24(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, 24(%rbp)
movq 40(%rbp), %rax
movl $0, (%rax)
movq -32(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_2
## %bb.1:
movq 40(%rbp), %rax
movl $-1, (%rax)
jmp LBB0_30
LBB0_2:
movq -40(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_4
## %bb.3:
movq 40(%rbp), %rax
movl $-2, (%rax)
jmp LBB0_29
LBB0_4:
movq -48(%rbp), %rax
cmpl $0, (%rax)
jl LBB0_9
## %bb.5:
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -136(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl (%rax), %eax
movq -40(%rbp), %rcx
cmpl (%rcx), %eax
jg LBB0_7
## %bb.6:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -140(%rbp) ## 4-byte Spill
jmp LBB0_8
LBB0_7:
movq -40(%rbp), %rax
movl (%rax), %eax
movl %eax, -140(%rbp) ## 4-byte Spill
LBB0_8:
movl -136(%rbp), %eax ## 4-byte Reload
movl -140(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jle LBB0_10
LBB0_9:
movq 40(%rbp), %rax
movl $-3, (%rax)
jmp LBB0_28
LBB0_10:
movq -64(%rbp), %rax
movl (%rax), %eax
movl %eax, -144(%rbp) ## 4-byte Spill
movq -32(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_12
## %bb.11:
movl $1, %eax
movl %eax, -148(%rbp) ## 4-byte Spill
jmp LBB0_13
LBB0_12:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -148(%rbp) ## 4-byte Spill
LBB0_13:
movl -144(%rbp), %eax ## 4-byte Reload
movl -148(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_15
## %bb.14:
movq 40(%rbp), %rax
movl $-5, (%rax)
jmp LBB0_27
LBB0_15:
movq 16(%rbp), %rax
movl (%rax), %eax
movl %eax, -152(%rbp) ## 4-byte Spill
movq -32(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_17
## %bb.16:
movl $1, %eax
movl %eax, -156(%rbp) ## 4-byte Spill
jmp LBB0_18
LBB0_17:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -156(%rbp) ## 4-byte Spill
LBB0_18:
movl -152(%rbp), %eax ## 4-byte Reload
movl -156(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_20
## %bb.19:
movq 40(%rbp), %rax
movl $-7, (%rax)
jmp LBB0_26
LBB0_20:
movq 32(%rbp), %rax
movl (%rax), %eax
movl %eax, -160(%rbp) ## 4-byte Spill
movq -32(%rbp), %rcx
movl $1, %eax
cmpl (%rcx), %eax
jl LBB0_22
## %bb.21:
movl $1, %eax
movl %eax, -164(%rbp) ## 4-byte Spill
jmp LBB0_23
LBB0_22:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -164(%rbp) ## 4-byte Spill
LBB0_23:
movl -160(%rbp), %eax ## 4-byte Reload
movl -164(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB0_25
## %bb.24:
movq 40(%rbp), %rax
movl $-9, (%rax)
LBB0_25:
jmp LBB0_26
LBB0_26:
jmp LBB0_27
LBB0_27:
jmp LBB0_28
LBB0_28:
jmp LBB0_29
LBB0_29:
jmp LBB0_30
LBB0_30:
movq 40(%rbp), %rax
cmpl $0, (%rax)
je LBB0_32
## %bb.31:
movq 40(%rbp), %rcx
xorl %eax, %eax
subl (%rcx), %eax
movl %eax, -100(%rbp)
leaq L_.str(%rip), %rdi
leaq -100(%rbp), %rsi
movl $7, %edx
callq _xerbla_
movl $0, -20(%rbp)
jmp LBB0_82
LBB0_32:
movq -40(%rbp), %rax
cmpl $0, (%rax)
je LBB0_34
## %bb.33:
movq -32(%rbp), %rax
cmpl $0, (%rax)
jne LBB0_35
LBB0_34:
movl $0, -20(%rbp)
jmp LBB0_82
LBB0_35:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl $1, -112(%rbp)
LBB0_36: ## =>This Loop Header: Depth=1
## Child Loop BB0_42 Depth 2
## Child Loop BB0_46 Depth 2
movl -112(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_52
## %bb.37: ## in Loop: Header=BB0_36 Depth=1
movq -40(%rbp), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx
subl (%rcx), %eax
movl %eax, -168(%rbp) ## 4-byte Spill
movq -48(%rbp), %rax
movl (%rax), %eax
cmpl -112(%rbp), %eax
jg LBB0_39
## %bb.38: ## in Loop: Header=BB0_36 Depth=1
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -172(%rbp) ## 4-byte Spill
jmp LBB0_40
LBB0_39: ## in Loop: Header=BB0_36 Depth=1
movl -112(%rbp), %eax
movl %eax, -172(%rbp) ## 4-byte Spill
LBB0_40: ## in Loop: Header=BB0_36 Depth=1
movl -168(%rbp), %eax ## 4-byte Reload
movl -172(%rbp), %ecx ## 4-byte Reload
addl %ecx, %eax
movl %eax, -120(%rbp)
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
movq -56(%rbp), %rsi
movl -112(%rbp), %eax
movl -112(%rbp), %ecx
imull -76(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $2, %rax
addq %rax, %rsi
movq -72(%rbp), %rdx
movl -112(%rbp), %eax
addl -84(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %rdx
movq 16(%rbp), %rcx
movq 24(%rbp), %r8
movl -112(%rbp), %eax
imull -92(%rbp), %eax
addl $1, %eax
cltq
shlq $2, %rax
addq %rax, %r8
leaq -104(%rbp), %rdi
callq _slarfg_
movl -112(%rbp), %eax
movq -32(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_50
## %bb.41: ## in Loop: Header=BB0_36 Depth=1
movq -32(%rbp), %rax
movl (%rax), %eax
subl -112(%rbp), %eax
movl %eax, -104(%rbp)
movl $1, -116(%rbp)
LBB0_42: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movl -116(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB0_45
## %bb.43: ## in Loop: Header=BB0_42 Depth=2
movq -56(%rbp), %rax
movl -112(%rbp), %ecx
addl -116(%rbp), %ecx
movl -112(%rbp), %edx
imull -76(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 24(%rbp), %rax
movq -32(%rbp), %rcx
movl (%rcx), %ecx
movl -116(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.44: ## in Loop: Header=BB0_42 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_42
LBB0_45: ## in Loop: Header=BB0_36 Depth=1
movq -32(%rbp), %rax
movl (%rax), %eax
subl -112(%rbp), %eax
movl %eax, -104(%rbp)
movq -72(%rbp), %r8
movl -112(%rbp), %eax
addl $1, %eax
addl -84(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r8
movq 16(%rbp), %r9
movq -72(%rbp), %r14
movl -112(%rbp), %eax
addl -84(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r14
movq 16(%rbp), %rbx
movq 24(%rbp), %r10
movq -32(%rbp), %rax
movl (%rax), %eax
addl -92(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 32(%rbp), %rax
leaq L_.str.1(%rip), %rdi
leaq -104(%rbp), %rsi
leaq -120(%rbp), %rdx
leaq _c_b4(%rip), %r11
movq %r11, %rcx
movq %r14, (%rsp)
movq %rbx, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _sgemv_
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
imull -92(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, -124(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
subl -112(%rbp), %eax
movl %eax, -104(%rbp)
movl $1, -116(%rbp)
LBB0_46: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movl -116(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB0_49
## %bb.47: ## in Loop: Header=BB0_46 Depth=2
movss -124(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 24(%rbp), %rax
movq -32(%rbp), %rcx
movl (%rcx), %ecx
movl -116(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
movl -112(%rbp), %ecx
addl -116(%rbp), %ecx
movl -112(%rbp), %edx
imull -76(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.48: ## in Loop: Header=BB0_46 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_46
LBB0_49: ## in Loop: Header=BB0_36 Depth=1
movq -32(%rbp), %rax
movl (%rax), %eax
subl -112(%rbp), %eax
movl %eax, -104(%rbp)
movq 24(%rbp), %rcx
movq -32(%rbp), %rax
movl (%rax), %eax
addl -92(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %rcx
movq 32(%rbp), %r8
movq -72(%rbp), %r9
movl -112(%rbp), %eax
addl -84(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r9
movq 16(%rbp), %r11
movq -72(%rbp), %r10
movl -112(%rbp), %eax
addl $1, %eax
addl -84(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 16(%rbp), %rax
leaq -104(%rbp), %rdi
leaq -120(%rbp), %rsi
leaq -124(%rbp), %rdx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
callq _sger_
LBB0_50: ## in Loop: Header=BB0_36 Depth=1
jmp LBB0_51
LBB0_51: ## in Loop: Header=BB0_36 Depth=1
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB0_36
LBB0_52:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl $2, -112(%rbp)
LBB0_53: ## =>This Loop Header: Depth=1
## Child Loop BB0_55 Depth 2
## Child Loop BB0_68 Depth 2
movl -112(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_73
## %bb.54: ## in Loop: Header=BB0_53 Depth=1
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
imull -92(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, -124(%rbp)
movl -112(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movl $1, -116(%rbp)
LBB0_55: ## Parent Loop BB0_53 Depth=1
## => This Inner Loop Header: Depth=2
movl -116(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB0_58
## %bb.56: ## in Loop: Header=BB0_55 Depth=2
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
movl -116(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.57: ## in Loop: Header=BB0_55 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_55
LBB0_58: ## in Loop: Header=BB0_53 Depth=1
movl -112(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movl -104(%rbp), %eax
movq -48(%rbp), %rcx
cmpl (%rcx), %eax
jg LBB0_60
## %bb.59: ## in Loop: Header=BB0_53 Depth=1
movl -104(%rbp), %eax
movl %eax, -176(%rbp) ## 4-byte Spill
jmp LBB0_61
LBB0_60: ## in Loop: Header=BB0_53 Depth=1
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -176(%rbp) ## 4-byte Spill
LBB0_61: ## in Loop: Header=BB0_53 Depth=1
movl -176(%rbp), %eax ## 4-byte Reload
movl %eax, -120(%rbp)
movq -40(%rbp), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx
subl (%rcx), %eax
addl $1, %eax
movl %eax, -104(%rbp)
movl -104(%rbp), %eax
movq -40(%rbp), %rcx
cmpl (%rcx), %eax
jg LBB0_63
## %bb.62: ## in Loop: Header=BB0_53 Depth=1
movl -104(%rbp), %eax
movl %eax, -180(%rbp) ## 4-byte Spill
jmp LBB0_64
LBB0_63: ## in Loop: Header=BB0_53 Depth=1
movq -40(%rbp), %rax
movl (%rax), %eax
movl %eax, -180(%rbp) ## 4-byte Spill
LBB0_64: ## in Loop: Header=BB0_53 Depth=1
movl -180(%rbp), %eax ## 4-byte Reload
movl %eax, -132(%rbp)
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
movl -104(%rbp), %eax
movq -32(%rbp), %rcx
cmpl (%rcx), %eax
jg LBB0_66
## %bb.65: ## in Loop: Header=BB0_53 Depth=1
movl -104(%rbp), %eax
movl %eax, -184(%rbp) ## 4-byte Spill
jmp LBB0_67
LBB0_66: ## in Loop: Header=BB0_53 Depth=1
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -184(%rbp) ## 4-byte Spill
LBB0_67: ## in Loop: Header=BB0_53 Depth=1
movl -184(%rbp), %eax ## 4-byte Reload
movl %eax, -128(%rbp)
movl -120(%rbp), %eax
movl %eax, -104(%rbp)
movl $1, -116(%rbp)
LBB0_68: ## Parent Loop BB0_53 Depth=1
## => This Inner Loop Header: Depth=2
movl -116(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB0_71
## %bb.69: ## in Loop: Header=BB0_68 Depth=2
movss -124(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -72(%rbp), %rax
movl -112(%rbp), %ecx
movq -40(%rbp), %rdx
movl (%rdx), %edx
movq -48(%rbp), %rsi
subl (%rsi), %edx
addl -116(%rbp), %edx
imull -84(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
mulss (%rax,%rcx,4), %xmm0
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
movl -116(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.70: ## in Loop: Header=BB0_68 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_68
LBB0_71: ## in Loop: Header=BB0_53 Depth=1
movq -72(%rbp), %r8
movl -132(%rbp), %eax
imull -84(%rbp), %eax
addl $1, %eax
cltq
shlq $2, %rax
addq %rax, %r8
movq 16(%rbp), %r9
movq 24(%rbp), %r10
movl -112(%rbp), %eax
addl -92(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 32(%rbp), %rax
leaq L_.str.2(%rip), %rdi
leaq L_.str.1(%rip), %rdx
leaq -120(%rbp), %rcx
movq %rdx, %rsi
movq %r10, (%rsp)
movq %rax, 8(%rsp)
callq _strmv_
movl -112(%rbp), %eax
subl $1, %eax
subl -120(%rbp), %eax
movl %eax, -104(%rbp)
movq -48(%rbp), %rdx
movq -72(%rbp), %r8
movl -128(%rbp), %eax
movl -132(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $2, %rax
addq %rax, %r8
movq 16(%rbp), %r9
movq -72(%rbp), %r14
movl -112(%rbp), %eax
movl -132(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $2, %rax
addq %rax, %r14
movq 16(%rbp), %rbx
movq 24(%rbp), %r10
movl -112(%rbp), %eax
movl -128(%rbp), %ecx
imull -92(%rbp), %ecx
addl %ecx, %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 32(%rbp), %rax
leaq L_.str.1(%rip), %rdi
leaq -104(%rbp), %rsi
leaq -124(%rbp), %rcx
leaq _c_b10(%rip), %r11
movq %r14, (%rsp)
movq %rbx, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _sgemv_
movl -112(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movq -40(%rbp), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx
subl (%rcx), %eax
movl %eax, -108(%rbp)
movq -72(%rbp), %r8
movslq -88(%rbp), %rax
shlq $2, %rax
addq %rax, %r8
movq 16(%rbp), %r9
movq -72(%rbp), %r14
movl -112(%rbp), %eax
addl -84(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r14
movq 16(%rbp), %rbx
movq 24(%rbp), %r10
movl -112(%rbp), %eax
addl -92(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 32(%rbp), %rax
leaq L_.str.1(%rip), %rdi
leaq -104(%rbp), %rsi
leaq -108(%rbp), %rdx
leaq -124(%rbp), %rcx
leaq _c_b4(%rip), %r11
movq %r14, (%rsp)
movq %rbx, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _sgemv_
movl -112(%rbp), %eax
subl $1, %eax
movl %eax, -104(%rbp)
movq 24(%rbp), %r8
movslq -96(%rbp), %rax
shlq $2, %rax
addq %rax, %r8
movq 32(%rbp), %r9
movq 24(%rbp), %r10
movl -112(%rbp), %eax
addl -92(%rbp), %eax
cltq
shlq $2, %rax
addq %rax, %r10
movq 32(%rbp), %rax
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
leaq L_.str.1(%rip), %rdx
leaq -104(%rbp), %rcx
movq %r10, (%rsp)
movq %rax, 8(%rsp)
callq _strmv_
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
imull -92(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
movl -112(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
imull -92(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.72: ## in Loop: Header=BB0_53 Depth=1
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB0_53
LBB0_73:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movl $1, -112(%rbp)
LBB0_74: ## =>This Loop Header: Depth=1
## Child Loop BB0_76 Depth 2
movl -112(%rbp), %eax
cmpl -100(%rbp), %eax
jg LBB0_81
## %bb.75: ## in Loop: Header=BB0_74 Depth=1
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -104(%rbp)
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
LBB0_76: ## Parent Loop BB0_74 Depth=1
## => This Inner Loop Header: Depth=2
movl -116(%rbp), %eax
cmpl -104(%rbp), %eax
jg LBB0_79
## %bb.77: ## in Loop: Header=BB0_76 Depth=2
movq 24(%rbp), %rax
movl -116(%rbp), %ecx
movl -112(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 24(%rbp), %rax
movl -112(%rbp), %ecx
movl -116(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movq 24(%rbp), %rax
movl -116(%rbp), %ecx
movl -112(%rbp), %edx
imull -92(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
## %bb.78: ## in Loop: Header=BB0_76 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_76
LBB0_79: ## in Loop: Header=BB0_74 Depth=1
jmp LBB0_80
LBB0_80: ## in Loop: Header=BB0_74 Depth=1
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB0_74
LBB0_81:
movl $0, -20(%rbp)
LBB0_82:
movl -20(%rbp), %eax
addq $208, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "STPLQT2"
L_.str.1: ## @.str.1
.asciz "N"
.section __DATA,__data
.p2align 2 ## @c_b4
_c_b4:
.long 0x3f800000 ## float 1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "L"
.zerofill __DATA,__bss,_c_b10,4,2 ## @c_b10
L_.str.3: ## @.str.3
.asciz "T"
.subsections_via_symbols
| the_stack_data/86747.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g ; -- Begin function g
.p2align 2
_g: ; @g
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
stur wzr, [x29, #-4]
b LBB0_3
LBB0_2:
ldr w8, [sp, #8]
subs w0, w8, #1
bl _g
bl _g
stur w0, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_nondet_int
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _g
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g ## -- Begin function g
.p2align 4, 0x90
_g: ## @g
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
cmpl $0, -8(%rbp)
jne LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %edi
subl $1, %edi
callq _g
movl %eax, %edi
callq _g
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _g
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/88495.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, #22
stur w8, [x29, #-8]
mov w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #22
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
bl _sweetie2
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
bl _for_cube
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _sweetie2 ; -- Begin function sweetie2
.p2align 2
_sweetie2: ; @sweetie2
.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, #22
stur w8, [x29, #-4]
mov w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #22
cset w8, gt
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _for_cube ; -- Begin function for_cube
.p2align 2
_for_cube: ; @for_cube
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #6
cset w8, gt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-4]
ldur w10, [x29, #-4]
mul w9, w9, w10
ldur w10, [x29, #-4]
mul w10, w9, w10
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "By my Valentine! \n"
l_.str.1: ; @.str.1
.asciz "------------ \n"
l_.str.2: ; @.str.2
.asciz "Be my Valentine! \n"
l_.str.3: ; @.str.3
.asciz " n n cubed \n"
l_.str.4: ; @.str.4
.asciz "%5d %7d \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 $22, -8(%rbp)
movl $1, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $22, -12(%rbp)
jg LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _sweetie2
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _for_cube
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sweetie2 ## -- Begin function sweetie2
.p2align 4, 0x90
_sweetie2: ## @sweetie2
.cfi_startproc
## %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 $22, -4(%rbp)
movl $1, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $22, -8(%rbp)
jg LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _for_cube ## -- Begin function for_cube
.p2align 4, 0x90
_for_cube: ## @for_cube
.cfi_startproc
## %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.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $6, -4(%rbp)
jg LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -4(%rbp), %esi
movl -4(%rbp), %edx
imull -4(%rbp), %edx
imull -4(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB2_1
LBB2_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "By my Valentine! \n"
L_.str.1: ## @.str.1
.asciz "------------ \n"
L_.str.2: ## @.str.2
.asciz "Be my Valentine! \n"
L_.str.3: ## @.str.3
.asciz " n n cubed \n"
L_.str.4: ## @.str.4
.asciz "%5d %7d \n"
.subsections_via_symbols
| the_stack_data/173578095.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _binary_to_decimal ; -- Begin function binary_to_decimal
.p2align 2
_binary_to_decimal: ; @binary_to_decimal
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
str wzr, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #16]
ldur x0, [x29, #-8]
bl _strlen
subs x8, x0, #1
; kill: def $w8 killed $w8 killed $x8
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, lt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
subs w8, w8, #48
ldr w10, [sp, #12]
mov w9, #1
lsl w9, w9, w10
mul w9, w8, w9
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
ldr w0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _print_hex_digit ; -- Begin function print_hex_digit
.p2align 2
_print_hex_digit: ; @print_hex_digit
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_20
LBB1_2:
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_19
LBB1_4:
ldur w8, [x29, #-4]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_18
LBB1_6:
ldur w8, [x29, #-4]
subs w8, w8, #12
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_17
LBB1_8:
ldur w8, [x29, #-4]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_16
LBB1_10:
ldur w8, [x29, #-4]
subs w8, w8, #14
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_15
LBB1_12:
ldur w8, [x29, #-4]
subs w8, w8, #15
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB1_14
LBB1_14:
b LBB1_15
LBB1_15:
b LBB1_16
LBB1_16:
b LBB1_17
LBB1_17:
b LBB1_18
LBB1_18:
b LBB1_19
LBB1_19:
b LBB1_20
LBB1_20:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _return_hex_digit ; -- Begin function return_hex_digit
.p2align 2
_return_hex_digit: ; @return_hex_digit
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #15
cset w8, hi
tbnz w8, #0, LBB2_18
; %bb.1:
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI2_0@PAGE
add x10, x10, lJTI2_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB2_2:
mov w8, #48
strb w8, [sp, #11]
b LBB2_19
LBB2_3:
mov w8, #49
strb w8, [sp, #11]
b LBB2_19
LBB2_4:
mov w8, #50
strb w8, [sp, #11]
b LBB2_19
LBB2_5:
mov w8, #51
strb w8, [sp, #11]
b LBB2_19
LBB2_6:
mov w8, #52
strb w8, [sp, #11]
b LBB2_19
LBB2_7:
mov w8, #53
strb w8, [sp, #11]
b LBB2_19
LBB2_8:
mov w8, #54
strb w8, [sp, #11]
b LBB2_19
LBB2_9:
mov w8, #55
strb w8, [sp, #11]
b LBB2_19
LBB2_10:
mov w8, #56
strb w8, [sp, #11]
b LBB2_19
LBB2_11:
mov w8, #57
strb w8, [sp, #11]
b LBB2_19
LBB2_12:
mov w8, #65
strb w8, [sp, #11]
b LBB2_19
LBB2_13:
mov w8, #66
strb w8, [sp, #11]
b LBB2_19
LBB2_14:
mov w8, #67
strb w8, [sp, #11]
b LBB2_19
LBB2_15:
mov w8, #68
strb w8, [sp, #11]
b LBB2_19
LBB2_16:
mov w8, #69
strb w8, [sp, #11]
b LBB2_19
LBB2_17:
mov w8, #70
strb w8, [sp, #11]
b LBB2_19
LBB2_18:
mov w8, #48
strb w8, [sp, #11]
b LBB2_19
LBB2_19:
ldrsb w0, [sp, #11]
add sp, sp, #16
ret
.cfi_endproc
.p2align 2
lJTI2_0:
.long LBB2_2-Ltmp1
.long LBB2_3-Ltmp1
.long LBB2_4-Ltmp1
.long LBB2_5-Ltmp1
.long LBB2_6-Ltmp1
.long LBB2_7-Ltmp1
.long LBB2_8-Ltmp1
.long LBB2_9-Ltmp1
.long LBB2_10-Ltmp1
.long LBB2_11-Ltmp1
.long LBB2_12-Ltmp1
.long LBB2_13-Ltmp1
.long LBB2_14-Ltmp1
.long LBB2_15-Ltmp1
.long LBB2_16-Ltmp1
.long LBB2_17-Ltmp1
; -- End function
.globl _binary_to_hexadecimal ; -- Begin function binary_to_hexadecimal
.p2align 2
_binary_to_hexadecimal: ; @binary_to_hexadecimal
.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 wzr, [sp, #20]
str wzr, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
str wzr, [sp, #16]
str wzr, [sp, #20]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
mov x10, #4
udiv x9, x0, x10
mul x9, x9, x10
subs x9, x0, x9
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-8]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
ldr w9, [sp, #16]
mov x10, x9
sub x9, x29, #21
add x9, x9, x10
strb w8, [x9]
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB3_1
LBB3_4:
ldr w8, [sp, #16]
mov x9, x8
sub x0, x29, #21
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
bl _binary_to_decimal
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
ldr w0, [sp, #12]
bl _return_hex_digit
ldur x8, [x29, #-16]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
mov x10, x9
add w10, w10, #1
str w10, [sp, #8]
strb w0, [x8, x9]
b LBB3_6
LBB3_6:
b LBB3_7
LBB3_7: ; =>This Loop Header: Depth=1
; Child Loop BB3_9 Depth 2
ldur x8, [x29, #-8]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_13
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_7 Depth=1
str wzr, [sp, #16]
b LBB3_9
LBB3_9: ; Parent Loop BB3_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #4
cset w8, hs
tbnz w8, #0, LBB3_12
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=2
ldur x8, [x29, #-8]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
ldr w9, [sp, #16]
mov x10, x9
sub x9, x29, #21
add x9, x9, x10
strb w8, [x9]
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_9 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB3_9
LBB3_12: ; in Loop: Header=BB3_7 Depth=1
ldr w8, [sp, #16]
mov x9, x8
sub x0, x29, #21
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
bl _binary_to_decimal
str w0, [sp, #12]
ldr w0, [sp, #12]
bl _return_hex_digit
ldur x8, [x29, #-16]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
mov x10, x9
add w10, w10, #1
str w10, [sp, #8]
strb w0, [x8, x9]
b LBB3_7
LBB3_13:
ldur x8, [x29, #-16]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
add x8, x8, x9
strb wzr, [x8]
ldur x0, [x29, #-16]
bl _strlen
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _add_to_file ; -- Begin function add_to_file
.p2align 2
_add_to_file: ; @add_to_file
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fopen
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _fputs
ldr x1, [sp, #8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _fputs
ldr x0, [sp, #8]
bl _fclose
mov w8, #1
stur w8, [x29, #-4]
b LBB4_3
LBB4_2:
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
.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, #2
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB5_9
LBB5_2:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x0, [sp, #8]
bl _strlen
lsr x0, x0, #0
bl _malloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB5_9
LBB5_4:
ldr x0, [sp, #8]
ldr x1, [sp]
bl _binary_to_hexadecimal
subs w8, w0, #0
cset w8, hi
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB5_9
LBB5_6:
ldr x0, [sp]
bl _add_to_file
subs w8, w0, #0
cset w8, hi
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB5_9
LBB5_8:
stur wzr, [x29, #-4]
b LBB5_9
LBB5_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "A"
l_.str.2: ; @.str.2
.asciz "B"
l_.str.3: ; @.str.3
.asciz "C"
l_.str.4: ; @.str.4
.asciz "D"
l_.str.5: ; @.str.5
.asciz "E"
l_.str.6: ; @.str.6
.asciz "F"
l_.str.7: ; @.str.7
.asciz "../outputs/keys_hex.txt"
l_.str.8: ; @.str.8
.asciz "a"
l_.str.9: ; @.str.9
.asciz "\n"
l_.str.10: ; @.str.10
.asciz "\nUsage:\n"
l_.str.11: ; @.str.11
.asciz "./bin_to_hex.o <binary number>\n\n"
l_.str.12: ; @.str.12
.asciz "\nBinary to Hexadecimal Malloc Fatal Error...\n"
l_.str.13: ; @.str.13
.asciz "\nBinary to Hexadecimal Convert Fatal Error...\n"
l_.str.14: ; @.str.14
.asciz "\nBinary to Hexadecimal Write Fatal Error...\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _binary_to_decimal ## -- Begin function binary_to_decimal
.p2align 4, 0x90
_binary_to_decimal: ## @binary_to_decimal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -16(%rbp)
movq -8(%rbp), %rdi
callq _strlen
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jl LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
movl -20(%rbp), %ecx
movl $1, %edx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
imull %ecx, %eax
addl -16(%rbp), %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)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_hex_digit ## -- Begin function print_hex_digit
.p2align 4, 0x90
_print_hex_digit: ## @print_hex_digit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $10, -4(%rbp)
jge LBB1_2
## %bb.1:
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_20
LBB1_2:
cmpl $10, -4(%rbp)
jne LBB1_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_19
LBB1_4:
cmpl $11, -4(%rbp)
jne LBB1_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_18
LBB1_6:
cmpl $12, -4(%rbp)
jne LBB1_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_17
LBB1_8:
cmpl $13, -4(%rbp)
jne LBB1_10
## %bb.9:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_16
LBB1_10:
cmpl $14, -4(%rbp)
jne LBB1_12
## %bb.11:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_15
LBB1_12:
cmpl $15, -4(%rbp)
jne LBB1_14
## %bb.13:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB1_14:
jmp LBB1_15
LBB1_15:
jmp LBB1_16
LBB1_16:
jmp LBB1_17
LBB1_17:
jmp LBB1_18
LBB1_18:
jmp LBB1_19
LBB1_19:
jmp LBB1_20
LBB1_20:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _return_hex_digit ## -- Begin function return_hex_digit
.p2align 4, 0x90
_return_hex_digit: ## @return_hex_digit
.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
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
subq $15, %rax
ja LBB2_17
## %bb.19:
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_1:
movb $48, -5(%rbp)
jmp LBB2_18
LBB2_2:
movb $49, -5(%rbp)
jmp LBB2_18
LBB2_3:
movb $50, -5(%rbp)
jmp LBB2_18
LBB2_4:
movb $51, -5(%rbp)
jmp LBB2_18
LBB2_5:
movb $52, -5(%rbp)
jmp LBB2_18
LBB2_6:
movb $53, -5(%rbp)
jmp LBB2_18
LBB2_7:
movb $54, -5(%rbp)
jmp LBB2_18
LBB2_8:
movb $55, -5(%rbp)
jmp LBB2_18
LBB2_9:
movb $56, -5(%rbp)
jmp LBB2_18
LBB2_10:
movb $57, -5(%rbp)
jmp LBB2_18
LBB2_11:
movb $65, -5(%rbp)
jmp LBB2_18
LBB2_12:
movb $66, -5(%rbp)
jmp LBB2_18
LBB2_13:
movb $67, -5(%rbp)
jmp LBB2_18
LBB2_14:
movb $68, -5(%rbp)
jmp LBB2_18
LBB2_15:
movb $69, -5(%rbp)
jmp LBB2_18
LBB2_16:
movb $70, -5(%rbp)
jmp LBB2_18
LBB2_17:
movb $48, -5(%rbp)
LBB2_18:
movsbl -5(%rbp), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_1, LBB2_1-LJTI2_0
.set L2_0_set_2, LBB2_2-LJTI2_0
.set L2_0_set_3, LBB2_3-LJTI2_0
.set L2_0_set_4, LBB2_4-LJTI2_0
.set L2_0_set_5, LBB2_5-LJTI2_0
.set L2_0_set_6, LBB2_6-LJTI2_0
.set L2_0_set_7, LBB2_7-LJTI2_0
.set L2_0_set_8, LBB2_8-LJTI2_0
.set L2_0_set_9, LBB2_9-LJTI2_0
.set L2_0_set_10, LBB2_10-LJTI2_0
.set L2_0_set_11, LBB2_11-LJTI2_0
.set L2_0_set_12, LBB2_12-LJTI2_0
.set L2_0_set_13, LBB2_13-LJTI2_0
.set L2_0_set_14, LBB2_14-LJTI2_0
.set L2_0_set_15, LBB2_15-LJTI2_0
.set L2_0_set_16, LBB2_16-LJTI2_0
LJTI2_0:
.long L2_0_set_1
.long L2_0_set_2
.long L2_0_set_3
.long L2_0_set_4
.long L2_0_set_5
.long L2_0_set_6
.long L2_0_set_7
.long L2_0_set_8
.long L2_0_set_9
.long L2_0_set_10
.long L2_0_set_11
.long L2_0_set_12
.long L2_0_set_13
.long L2_0_set_14
.long L2_0_set_15
.long L2_0_set_16
.end_data_region
## -- End function
.globl _binary_to_hexadecimal ## -- Begin function binary_to_hexadecimal
.p2align 4, 0x90
_binary_to_hexadecimal: ## @binary_to_hexadecimal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
movl $0, -32(%rbp)
movl $0, -28(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -48(%rbp), %rax ## 8-byte Reload
andq $3, %rcx
cmpq %rcx, %rax
jae LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %cl
movl -32(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -21(%rbp,%rax)
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB3_1
LBB3_4:
movl -32(%rbp), %eax
## kill: def $rax killed $eax
movb $0, -21(%rbp,%rax)
leaq -21(%rbp), %rdi
callq _binary_to_decimal
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
je LBB3_6
## %bb.5:
movl -36(%rbp), %edi
callq _return_hex_digit
movb %al, %dl
movq -16(%rbp), %rax
movl -40(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -40(%rbp)
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
LBB3_6:
jmp LBB3_7
LBB3_7: ## =>This Loop Header: Depth=1
## Child Loop BB3_9 Depth 2
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB3_13
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
movl $0, -32(%rbp)
LBB3_9: ## Parent Loop BB3_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -32(%rbp)
jae LBB3_12
## %bb.10: ## in Loop: Header=BB3_9 Depth=2
movq -8(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %cl
movl -32(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -21(%rbp,%rax)
## %bb.11: ## in Loop: Header=BB3_9 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB3_9
LBB3_12: ## in Loop: Header=BB3_7 Depth=1
movl -32(%rbp), %eax
## kill: def $rax killed $eax
movb $0, -21(%rbp,%rax)
leaq -21(%rbp), %rdi
callq _binary_to_decimal
movl %eax, -36(%rbp)
movl -36(%rbp), %edi
callq _return_hex_digit
movb %al, %dl
movq -16(%rbp), %rax
movl -40(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -40(%rbp)
movl %ecx, %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
jmp LBB3_7
LBB3_13:
movq -16(%rbp), %rax
movl -40(%rbp), %ecx
## kill: def $rcx killed $ecx
movb $0, (%rax,%rcx)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_to_file ## -- Begin function add_to_file
.p2align 4, 0x90
_add_to_file: ## @add_to_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
leaq L_.str.7(%rip), %rdi
leaq L_.str.8(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je LBB4_2
## %bb.1:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _fputs
movq -24(%rbp), %rsi
leaq L_.str.9(%rip), %rdi
callq _fputs
movq -24(%rbp), %rdi
callq _fclose
movl $1, -4(%rbp)
jmp LBB4_3
LBB4_2:
movl $0, -4(%rbp)
LBB4_3:
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 $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB5_2
## %bb.1:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB5_9
LBB5_2:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
callq _strlen
movq %rax, %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB5_4
## %bb.3:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB5_9
LBB5_4:
movq -24(%rbp), %rdi
movq -32(%rbp), %rsi
callq _binary_to_hexadecimal
cmpl $0, %eax
ja LBB5_6
## %bb.5:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB5_9
LBB5_6:
movq -32(%rbp), %rdi
callq _add_to_file
cmpl $0, %eax
ja LBB5_8
## %bb.7:
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB5_9
LBB5_8:
movl $0, -4(%rbp)
LBB5_9:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "A"
L_.str.2: ## @.str.2
.asciz "B"
L_.str.3: ## @.str.3
.asciz "C"
L_.str.4: ## @.str.4
.asciz "D"
L_.str.5: ## @.str.5
.asciz "E"
L_.str.6: ## @.str.6
.asciz "F"
L_.str.7: ## @.str.7
.asciz "../outputs/keys_hex.txt"
L_.str.8: ## @.str.8
.asciz "a"
L_.str.9: ## @.str.9
.asciz "\n"
L_.str.10: ## @.str.10
.asciz "\nUsage:\n"
L_.str.11: ## @.str.11
.asciz "./bin_to_hex.o <binary number>\n\n"
L_.str.12: ## @.str.12
.asciz "\nBinary to Hexadecimal Malloc Fatal Error...\n"
L_.str.13: ## @.str.13
.asciz "\nBinary to Hexadecimal Convert Fatal Error...\n"
L_.str.14: ## @.str.14
.asciz "\nBinary to Hexadecimal Write Fatal Error...\n"
.subsections_via_symbols
| the_stack_data/161079760.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _male_indirect_jump ; -- Begin function male_indirect_jump
.p2align 2
_male_indirect_jump: ; @male_indirect_jump
.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]
adrp x8, _dispatch@GOTPAGE
ldr x8, [x8, _dispatch@GOTPAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x0, [sp, #8]
blr x8
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _dispatch,2048,3 ; @dispatch
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _male_indirect_jump ## -- Begin function male_indirect_jump
.p2align 4, 0x90
_male_indirect_jump: ## @male_indirect_jump
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rcx
movq _dispatch@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rax
movq -8(%rbp), %rdi
callq *%rax
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dispatch,2048,4 ## @dispatch
.subsections_via_symbols
| the_stack_data/7950890.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #496
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #44]
sub x0, x29, #60
adrp x1, l___const.main.c@PAGE
add x1, x1, l___const.main.c@PAGEOFF
mov x2, #36
bl _memcpy
str wzr, [sp, #40]
str wzr, [sp, #36]
add x0, sp, #48
mov x1, #404
bl _bzero
mov w8, #1
str w8, [sp, #40]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #40]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB0_18
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #36]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #36]
sub x8, x29, #60
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_16
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #24]
ldr w8, [sp, #40]
ldrsw x10, [sp, #36]
sub x9, x29, #60
ldr w9, [x9, x10, lsl #2]
subs w9, w8, w9
add x8, sp, #48
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #40]
ldrsw x10, [sp, #36]
sub x9, x29, #60
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
str w8, [sp, #24]
ldr w8, [sp, #24]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
str w8, [sp, #32]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
b LBB0_14
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #40]
ldrsw x10, [sp, #36]
sub x9, x29, #60
ldr w9, [x9, x10, lsl #2]
subs w9, w8, w9
add x8, sp, #48
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #24]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
str w8, [sp, #32]
mov w8, #1
str w8, [sp, #28]
b LBB0_13
LBB0_10: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
str w8, [sp, #32]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=2
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_3 Depth=2
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_3 Depth=2
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_3
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
ldrsw x10, [sp, #40]
add x9, sp, #48
str w8, [x9, x10, lsl #2]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_1
LBB0_18:
mov w8, #1
str w8, [sp, #40]
b LBB0_19
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=1
ldrsw x9, [sp, #40]
add x8, sp, #48
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_19
LBB0_22:
ldr w8, [sp, #44]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
bl ___stack_chk_fail
LBB0_24:
ldr w0, [sp, #20] ; 4-byte Folded Reload
add sp, sp, #496
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.c
l___const.main.c:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 5 ; 0x5
.long 7 ; 0x7
.long 10 ; 0xa
.long 12 ; 0xc
.long 15 ; 0xf
.long 20 ; 0x14
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $496, %rsp ## imm = 0x1F0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -468(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.c(%rip), %rsi
movl $36, %edx
callq _memcpy
movl $0, -472(%rbp)
movl $0, -476(%rbp)
leaq -464(%rbp), %rdi
xorl %esi, %esi
movl $404, %edx ## imm = 0x194
callq _memset
movl $1, -472(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $100, -472(%rbp)
jg LBB0_18
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -480(%rbp)
movl $0, -484(%rbp)
movl $0, -476(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -476(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
cmpl -472(%rbp), %eax
jg LBB0_16
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $0, -488(%rbp)
movl -472(%rbp), %eax
movslq -476(%rbp), %rcx
subl -48(%rbp,%rcx,4), %eax
cltq
cmpl $0, -464(%rbp,%rax,4)
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -472(%rbp), %eax
movslq -476(%rbp), %rcx
subl -48(%rbp,%rcx,4), %eax
movl %eax, -488(%rbp)
movl -488(%rbp), %eax
cmpl -480(%rbp), %eax
jg LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=2
movl -488(%rbp), %eax
movl %eax, -480(%rbp)
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_14
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
movl -472(%rbp), %eax
movslq -476(%rbp), %rcx
subl -48(%rbp,%rcx,4), %eax
cltq
movl -464(%rbp,%rax,4), %eax
movl %eax, -488(%rbp)
cmpl $0, -484(%rbp)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=2
movl -488(%rbp), %eax
movl %eax, -480(%rbp)
movl $1, -484(%rbp)
jmp LBB0_13
LBB0_10: ## in Loop: Header=BB0_3 Depth=2
movl -488(%rbp), %eax
cmpl -480(%rbp), %eax
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_3 Depth=2
movl -488(%rbp), %eax
movl %eax, -480(%rbp)
LBB0_12: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_3 Depth=2
movl -476(%rbp), %eax
addl $1, %eax
movl %eax, -476(%rbp)
jmp LBB0_3
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl -480(%rbp), %ecx
addl $1, %ecx
movslq -472(%rbp), %rax
movl %ecx, -464(%rbp,%rax,4)
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movl -472(%rbp), %eax
addl $1, %eax
movl %eax, -472(%rbp)
jmp LBB0_1
LBB0_18:
movl $1, -472(%rbp)
LBB0_19: ## =>This Inner Loop Header: Depth=1
cmpl $100, -472(%rbp)
jg LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=1
movslq -472(%rbp), %rax
movl -464(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.21: ## in Loop: Header=BB0_19 Depth=1
movl -472(%rbp), %eax
addl $1, %eax
movl %eax, -472(%rbp)
jmp LBB0_19
LBB0_22:
movl -468(%rbp), %eax
movl %eax, -492(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_24
## %bb.23:
movl -492(%rbp), %eax ## 4-byte Reload
addq $496, %rsp ## imm = 0x1F0
popq %rbp
retq
LBB0_24:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.c
l___const.main.c:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 5 ## 0x5
.long 7 ## 0x7
.long 10 ## 0xa
.long 12 ## 0xc
.long 15 ## 0xf
.long 20 ## 0x14
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
.subsections_via_symbols
| the_stack_data/215768242.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putchar ; -- Begin function putchar
.p2align 2
_putchar: ; @putchar
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x1, x29, #4
stur w0, [x29, #-4]
mov w0, #1
mov x2, #1
bl _write
subs x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-4]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
mov w8, #-1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___wrap_printf ; -- Begin function __wrap_printf
.p2align 2
___wrap_printf: ; @__wrap_printf
.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 x2, [sp, #8]
ldr x3, [sp]
adrp x0, _putchar@PAGE
add x0, x0, _putchar@PAGEOFF
mov x1, #0
bl _vprintfmt
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function vprintfmt
_vprintfmt: ; @vprintfmt
.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]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_2 Depth 2
; Child Loop BB2_7 Depth 2
; Child Loop BB2_12 Depth 3
; Child Loop BB2_36 Depth 2
; Child Loop BB2_41 Depth 2
; Child Loop BB2_49 Depth 2
b LBB2_2
LBB2_2: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
ldrb w8, [x8]
stur w8, [x29, #-52]
subs w8, w8, #37
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_2 Depth=2
ldur w8, [x29, #-52]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB2_5: ; in Loop: Header=BB2_2 Depth=2
ldur x8, [x29, #-24]
add x8, x8, #1
stur x8, [x29, #-24]
ldur x8, [x29, #-8]
ldur w0, [x29, #-52]
ldur x1, [x29, #-16]
blr x8
b LBB2_2
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-24]
add x8, x8, #1
stur x8, [x29, #-24]
ldur x8, [x29, #-24]
stur x8, [x29, #-48]
mov w8, #32
strb w8, [sp, #43]
mov w8, #-1
str w8, [sp, #52]
str w8, [sp, #48]
str wzr, [sp, #56]
str wzr, [sp, #44]
b LBB2_7
LBB2_7: ; Parent Loop BB2_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_12 Depth 3
ldur x8, [x29, #-24]
add x9, x8, #1
stur x9, [x29, #-24]
ldrb w8, [x8]
stur w8, [x29, #-52]
subs w8, w8, #35
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #85
cset w8, hi
tbnz w8, #0, LBB2_63
; %bb.8: ; in Loop: Header=BB2_7 Depth=2
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI2_0@PAGE
add x10, x10, lJTI2_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB2_9: ; in Loop: Header=BB2_7 Depth=2
mov w8, #45
strb w8, [sp, #43]
b LBB2_7
LBB2_10: ; in Loop: Header=BB2_7 Depth=2
mov w8, #48
strb w8, [sp, #43]
b LBB2_7
LBB2_11: ; in Loop: Header=BB2_7 Depth=2
str wzr, [sp, #48]
b LBB2_12
LBB2_12: ; Parent Loop BB2_1 Depth=1
; Parent Loop BB2_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #48]
mov w9, #10
mul w8, w8, w9
ldur w9, [x29, #-52]
add w8, w8, w9
subs w8, w8, #48
str w8, [sp, #48]
ldur x8, [x29, #-24]
ldrsb w8, [x8]
stur w8, [x29, #-52]
ldur w8, [x29, #-52]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_12 Depth=3
ldur w8, [x29, #-52]
subs w8, w8, #57
cset w8, le
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_7 Depth=2
b LBB2_17
LBB2_15: ; in Loop: Header=BB2_12 Depth=3
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_12 Depth=3
ldur x8, [x29, #-24]
add x8, x8, #1
stur x8, [x29, #-24]
b LBB2_12
LBB2_17: ; in Loop: Header=BB2_7 Depth=2
b LBB2_23
LBB2_18: ; in Loop: Header=BB2_7 Depth=2
ldur x9, [x29, #-32]
ldr w8, [x9]
add x9, x9, #8
stur x9, [x29, #-32]
str w8, [sp, #36]
ldr w8, [sp, #36]
str w8, [sp, #48]
b LBB2_23
LBB2_19: ; in Loop: Header=BB2_7 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_21
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_7 Depth=2
str wzr, [sp, #52]
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_7 Depth=2
b LBB2_7
LBB2_22: ; in Loop: Header=BB2_7 Depth=2
mov w8, #1
str w8, [sp, #44]
b LBB2_7
LBB2_23: ; in Loop: Header=BB2_7 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB2_25
b LBB2_24
LBB2_24: ; in Loop: Header=BB2_7 Depth=2
ldr w8, [sp, #48]
str w8, [sp, #52]
mov w8, #-1
str w8, [sp, #48]
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_7 Depth=2
b LBB2_7
LBB2_26: ; in Loop: Header=BB2_7 Depth=2
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_28
b LBB2_27
LBB2_27: ; in Loop: Header=BB2_1 Depth=1
b LBB2_64
LBB2_28: ; in Loop: Header=BB2_7 Depth=2
b LBB2_7
LBB2_29: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldur x10, [x29, #-32]
ldr w9, [x10]
add x10, x10, #8
stur x10, [x29, #-32]
str w9, [sp, #32]
ldr w0, [sp, #32]
ldur x1, [x29, #-16]
blr x8
b LBB2_65
LBB2_30: ; in Loop: Header=BB2_1 Depth=1
b LBB2_65
LBB2_31: ; in Loop: Header=BB2_1 Depth=1
ldur x9, [x29, #-32]
ldr x8, [x9]
add x9, x9, #8
stur x9, [x29, #-32]
str x8, [sp, #24]
ldr x8, [sp, #24]
mov x9, x8
stur x9, [x29, #-40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_33
b LBB2_32
LBB2_32: ; in Loop: Header=BB2_1 Depth=1
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-40]
b LBB2_33
LBB2_33: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_40
b LBB2_34
LBB2_34: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #43]
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB2_40
b LBB2_35
LBB2_35: ; in Loop: Header=BB2_1 Depth=1
ldur x0, [x29, #-40]
ldrsw x1, [sp, #48]
bl _strnlen
ldrsw x8, [sp, #52]
subs x8, x8, x0
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #52]
b LBB2_36
LBB2_36: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_39
b LBB2_37
LBB2_37: ; in Loop: Header=BB2_36 Depth=2
ldur x8, [x29, #-8]
ldrsb w0, [sp, #43]
ldur x1, [x29, #-16]
blr x8
b LBB2_38
LBB2_38: ; in Loop: Header=BB2_36 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #1
str w8, [sp, #52]
b LBB2_36
LBB2_39: ; in Loop: Header=BB2_1 Depth=1
b LBB2_40
LBB2_40: ; in Loop: Header=BB2_1 Depth=1
b LBB2_41
LBB2_41: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-40]
ldrsb w8, [x8]
stur w8, [x29, #-52]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_45
b LBB2_42
LBB2_42: ; in Loop: Header=BB2_41 Depth=2
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, lt
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_44
b LBB2_43
LBB2_43: ; in Loop: Header=BB2_41 Depth=2
ldr w8, [sp, #48]
subs w8, w8, #1
str w8, [sp, #48]
subs w8, w8, #0
cset w8, ge
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB2_44
LBB2_44: ; in Loop: Header=BB2_41 Depth=2
ldr w8, [sp, #8] ; 4-byte Folded Reload
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_45
LBB2_45: ; in Loop: Header=BB2_41 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB2_48
b LBB2_46
LBB2_46: ; in Loop: Header=BB2_41 Depth=2
ldur x8, [x29, #-8]
ldur w0, [x29, #-52]
ldur x1, [x29, #-16]
blr x8
ldur x8, [x29, #-40]
add x8, x8, #1
stur x8, [x29, #-40]
b LBB2_47
LBB2_47: ; in Loop: Header=BB2_41 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #1
str w8, [sp, #52]
b LBB2_41
LBB2_48: ; in Loop: Header=BB2_1 Depth=1
b LBB2_49
LBB2_49: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_52
b LBB2_50
LBB2_50: ; in Loop: Header=BB2_49 Depth=2
ldur x8, [x29, #-8]
ldur x1, [x29, #-16]
mov w0, #32
blr x8
b LBB2_51
LBB2_51: ; in Loop: Header=BB2_49 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #1
str w8, [sp, #52]
b LBB2_49
LBB2_52: ; in Loop: Header=BB2_1 Depth=1
b LBB2_65
LBB2_53: ; in Loop: Header=BB2_1 Depth=1
ldr w1, [sp, #56]
sub x0, x29, #32
bl _getint
str x0, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB2_55
b LBB2_54
LBB2_54: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldur x1, [x29, #-16]
mov w0, #45
blr x8
ldr x9, [sp, #64]
mov x8, #0
subs x8, x8, x9
str x8, [sp, #64]
b LBB2_55
LBB2_55: ; in Loop: Header=BB2_1 Depth=1
mov w8, #10
str w8, [sp, #60]
b LBB2_61
LBB2_56: ; in Loop: Header=BB2_1 Depth=1
mov w8, #10
str w8, [sp, #60]
b LBB2_60
LBB2_57: ; in Loop: Header=BB2_1 Depth=1
mov w8, #8
str w8, [sp, #60]
b LBB2_60
LBB2_58: ; in Loop: Header=BB2_1 Depth=1
mov w8, #1
str w8, [sp, #56]
ldur x8, [x29, #-8]
ldur x1, [x29, #-16]
mov w0, #48
blr x8
ldur x8, [x29, #-8]
ldur x1, [x29, #-16]
mov w0, #120
blr x8
b LBB2_59
LBB2_59: ; in Loop: Header=BB2_1 Depth=1
mov w8, #16
str w8, [sp, #60]
b LBB2_60
LBB2_60: ; in Loop: Header=BB2_1 Depth=1
ldr w1, [sp, #56]
sub x0, x29, #32
bl _getuint
str x0, [sp, #64]
b LBB2_61
LBB2_61: ; in Loop: Header=BB2_1 Depth=1
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #64]
ldr w3, [sp, #60]
ldr w4, [sp, #52]
ldrsb w5, [sp, #43]
bl _printnum
b LBB2_65
LBB2_62: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldur w0, [x29, #-52]
ldur x1, [x29, #-16]
blr x8
b LBB2_65
LBB2_63: ; in Loop: Header=BB2_1 Depth=1
b LBB2_64
LBB2_64: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldur x1, [x29, #-16]
mov w0, #37
blr x8
ldur x8, [x29, #-48]
stur x8, [x29, #-24]
b LBB2_65
LBB2_65: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
.cfi_endproc
.p2align 2
lJTI2_0:
.long LBB2_22-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_62-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_18-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_9-Ltmp0
.long LBB2_19-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_10-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_11-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_29-Ltmp0
.long LBB2_53-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_30-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_26-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_57-Ltmp0
.long LBB2_58-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_31-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_56-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_63-Ltmp0
.long LBB2_59-Ltmp0
; -- End function
.globl ___wrap_sprintf ; -- Begin function __wrap_sprintf
.p2align 2
___wrap_sprintf: ; @__wrap_sprintf
.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 x8, x1
sub x1, x29, #8
stur x0, [x29, #-8]
str x8, [sp, #16]
ldur x8, [x29, #-8]
str x8, [sp]
add x9, sp, #8
add x8, x29, #16
str x8, [x9]
ldr x2, [sp, #16]
ldr x3, [sp, #8]
adrp x0, _sprintf_putch@PAGE
add x0, x0, _sprintf_putch@PAGEOFF
bl _vprintfmt
ldur x8, [x29, #-8]
strb wzr, [x8]
ldur x8, [x29, #-8]
ldr x9, [sp]
subs x8, x8, x9
mov x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function sprintf_putch
_sprintf_putch: ; @sprintf_putch
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr w8, [sp, #28]
ldr x9, [sp, #8]
ldr x9, [x9]
strb w8, [x9]
ldr x9, [sp, #8]
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function getint
_getint: ; @getint
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr x10, [sp, #32]
ldr x9, [x10]
ldr x8, [x9]
add x9, x9, #8
str x9, [x10]
str x8, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #40]
b LBB5_3
LBB5_2:
ldr x10, [sp, #32]
ldr x9, [x10]
ldr w8, [x9]
add x9, x9, #8
str x9, [x10]
str w8, [sp, #12]
ldrsw x8, [sp, #12]
str x8, [sp, #40]
b LBB5_3
LBB5_3:
ldr x0, [sp, #40]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function getuint
_getuint: ; @getuint
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr x10, [sp, #32]
ldr x9, [x10]
ldr x8, [x9]
add x9, x9, #8
str x9, [x10]
str x8, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #40]
b LBB6_3
LBB6_2:
ldr x10, [sp, #32]
ldr x9, [x10]
ldr w8, [x9]
add x9, x9, #8
str x9, [x10]
str w8, [sp, #12]
ldr w8, [sp, #12]
; kill: def $x8 killed $w8
str x8, [sp, #40]
b LBB6_3
LBB6_3:
ldr x0, [sp, #40]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function printnum
_printnum: ; @printnum
.cfi_startproc
; %bb.0:
sub sp, sp, #336
.cfi_def_cfa_offset 336
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #32]
str x1, [sp, #24]
str x2, [sp, #16]
str w3, [sp, #12]
str w4, [sp, #8]
str w5, [sp, #4]
str wzr, [sp]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #12]
mov x10, x9
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
ldrsw x10, [sp]
mov x9, x10
add w9, w9, #1
str w9, [sp]
add x9, sp, #40
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, x10, lsl #2]
ldr x8, [sp, #16]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2:
b LBB7_4
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #12]
mov x9, x8
ldr x8, [sp, #16]
udiv x8, x8, x9
str x8, [sp, #16]
b LBB7_1
LBB7_4:
b LBB7_5
LBB7_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w9, w8, #1
str w9, [sp, #8]
ldr w9, [sp]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB7_7
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_5 Depth=1
ldr x8, [sp, #32]
ldr w0, [sp, #4]
ldr x1, [sp, #24]
blr x8
b LBB7_5
LBB7_7:
b LBB7_8
LBB7_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w9, w8, #1
str w9, [sp]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB7_10
b LBB7_9
LBB7_9: ; in Loop: Header=BB7_8 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp]
add x10, sp, #40
ldr w9, [x10, x9, lsl #2]
ldrsw x11, [sp]
ldr w10, [x10, x11, lsl #2]
subs w10, w10, #10
cset w10, hs
and w12, w10, #0x1
mov w11, #48
mov w10, #87
ands w12, w12, #0x1
csel w10, w10, w11, ne
add w0, w9, w10
ldr x1, [sp, #24]
blr x8
b LBB7_8
LBB7_10:
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_12
b LBB7_11
LBB7_11:
bl ___stack_chk_fail
LBB7_12:
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #336
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(null)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putchar ## -- Begin function putchar
.p2align 4, 0x90
_putchar: ## @putchar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
leaq -4(%rbp), %rsi
movl $1, %edi
movl $1, %edx
callq _write
cmpq $1, %rax
jne LBB0_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl %eax, -8(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_3:
movl -8(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___wrap_printf ## -- Begin function __wrap_printf
.p2align 4, 0x90
___wrap_printf: ## @__wrap_printf
.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 LBB1_4
## %bb.3:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB1_4:
movq %r9, -184(%rbp)
movq %r8, -192(%rbp)
movq %rcx, -200(%rbp)
movq %rdx, -208(%rbp)
movq %rsi, -216(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -40(%rbp)
leaq -32(%rbp), %rax
leaq -224(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
movq -40(%rbp), %rdx
leaq -32(%rbp), %rcx
leaq _putchar(%rip), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _vprintfmt
leaq -32(%rbp), %rax
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 $224, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function vprintfmt
_vprintfmt: ## @vprintfmt
.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)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
## Child Loop BB2_7 Depth 2
## Child Loop BB2_11 Depth 3
## Child Loop BB2_44 Depth 2
## Child Loop BB2_49 Depth 2
## Child Loop BB2_57 Depth 2
jmp LBB2_2
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
movzbl (%rax), %eax
movl %eax, -52(%rbp)
cmpl $37, %eax
je LBB2_6
## %bb.3: ## in Loop: Header=BB2_2 Depth=2
cmpl $0, -52(%rbp)
jne LBB2_5
## %bb.4:
addq $192, %rsp
popq %rbp
retq
LBB2_5: ## in Loop: Header=BB2_2 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movl -52(%rbp), %edi
movq -16(%rbp), %rsi
callq *%rax
jmp LBB2_2
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movb $32, -85(%rbp)
movl $-1, -76(%rbp)
movl $-1, -80(%rbp)
movl $0, -72(%rbp)
movl $0, -84(%rbp)
LBB2_7: ## Parent Loop BB2_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_11 Depth 3
movq -24(%rbp), %rax
movq %rax, %rcx
incq %rcx
movq %rcx, -24(%rbp)
movzbl (%rax), %eax
movl %eax, -52(%rbp)
addl $-35, %eax
movl %eax, %ecx
movq %rcx, -96(%rbp) ## 8-byte Spill
subl $85, %eax
ja LBB2_71
## %bb.74: ## in Loop: Header=BB2_7 Depth=2
movq -96(%rbp), %rax ## 8-byte Reload
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_8: ## in Loop: Header=BB2_7 Depth=2
movb $45, -85(%rbp)
jmp LBB2_7
LBB2_9: ## in Loop: Header=BB2_7 Depth=2
movb $48, -85(%rbp)
jmp LBB2_7
LBB2_10: ## in Loop: Header=BB2_7 Depth=2
movl $0, -80(%rbp)
LBB2_11: ## Parent Loop BB2_1 Depth=1
## Parent Loop BB2_7 Depth=2
## => This Inner Loop Header: Depth=3
imull $10, -80(%rbp), %eax
addl -52(%rbp), %eax
subl $48, %eax
movl %eax, -80(%rbp)
movq -24(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -52(%rbp)
cmpl $48, -52(%rbp)
jl LBB2_13
## %bb.12: ## in Loop: Header=BB2_11 Depth=3
cmpl $57, -52(%rbp)
jle LBB2_14
LBB2_13: ## in Loop: Header=BB2_7 Depth=2
jmp LBB2_16
LBB2_14: ## in Loop: Header=BB2_11 Depth=3
jmp LBB2_15
LBB2_15: ## in Loop: Header=BB2_11 Depth=3
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB2_11
LBB2_16: ## in Loop: Header=BB2_7 Depth=2
jmp LBB2_25
LBB2_17: ## in Loop: Header=BB2_7 Depth=2
movq -32(%rbp), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movl (%rax), %eax
movl %eax, -100(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB2_19
## %bb.18: ## in Loop: Header=BB2_7 Depth=2
movq -112(%rbp), %rcx ## 8-byte Reload
movl -100(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB2_20
LBB2_19: ## in Loop: Header=BB2_7 Depth=2
movq -112(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -120(%rbp) ## 8-byte Spill
LBB2_20: ## in Loop: Header=BB2_7 Depth=2
movq -120(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
movl %eax, -80(%rbp)
jmp LBB2_25
LBB2_21: ## in Loop: Header=BB2_7 Depth=2
cmpl $0, -76(%rbp)
jge LBB2_23
## %bb.22: ## in Loop: Header=BB2_7 Depth=2
movl $0, -76(%rbp)
LBB2_23: ## in Loop: Header=BB2_7 Depth=2
jmp LBB2_7
LBB2_24: ## in Loop: Header=BB2_7 Depth=2
movl $1, -84(%rbp)
jmp LBB2_7
LBB2_25: ## in Loop: Header=BB2_7 Depth=2
cmpl $0, -76(%rbp)
jge LBB2_27
## %bb.26: ## in Loop: Header=BB2_7 Depth=2
movl -80(%rbp), %eax
movl %eax, -76(%rbp)
movl $-1, -80(%rbp)
LBB2_27: ## in Loop: Header=BB2_7 Depth=2
jmp LBB2_7
LBB2_28: ## in Loop: Header=BB2_7 Depth=2
cmpl $0, -72(%rbp)
je LBB2_30
## %bb.29: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_72
LBB2_30: ## in Loop: Header=BB2_7 Depth=2
jmp LBB2_7
LBB2_31: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq %rax, -144(%rbp) ## 8-byte Spill
movq -32(%rbp), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
movl (%rax), %eax
movl %eax, -124(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB2_33
## %bb.32: ## in Loop: Header=BB2_1 Depth=1
movq -136(%rbp), %rcx ## 8-byte Reload
movl -124(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -152(%rbp) ## 8-byte Spill
jmp LBB2_34
LBB2_33: ## in Loop: Header=BB2_1 Depth=1
movq -136(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -152(%rbp) ## 8-byte Spill
LBB2_34: ## in Loop: Header=BB2_1 Depth=1
movq -144(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %edi
movq -16(%rbp), %rsi
callq *%rax
jmp LBB2_73
LBB2_35: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_73
LBB2_36: ## in Loop: Header=BB2_1 Depth=1
movq -32(%rbp), %rax
movq %rax, -168(%rbp) ## 8-byte Spill
movl (%rax), %eax
movl %eax, -156(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB2_38
## %bb.37: ## in Loop: Header=BB2_1 Depth=1
movq -168(%rbp), %rcx ## 8-byte Reload
movl -156(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -176(%rbp) ## 8-byte Spill
jmp LBB2_39
LBB2_38: ## in Loop: Header=BB2_1 Depth=1
movq -168(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -176(%rbp) ## 8-byte Spill
LBB2_39: ## in Loop: Header=BB2_1 Depth=1
movq -176(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -40(%rbp)
cmpq $0, %rax
jne LBB2_41
## %bb.40: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str(%rip), %rax
movq %rax, -40(%rbp)
LBB2_41: ## in Loop: Header=BB2_1 Depth=1
cmpl $0, -76(%rbp)
jle LBB2_48
## %bb.42: ## in Loop: Header=BB2_1 Depth=1
movsbl -85(%rbp), %eax
cmpl $45, %eax
je LBB2_48
## %bb.43: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rdi
movslq -80(%rbp), %rsi
callq _strnlen
movq %rax, %rcx
movslq -76(%rbp), %rax
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -76(%rbp)
LBB2_44: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -76(%rbp)
jle LBB2_47
## %bb.45: ## in Loop: Header=BB2_44 Depth=2
movq -8(%rbp), %rax
movsbl -85(%rbp), %edi
movq -16(%rbp), %rsi
callq *%rax
## %bb.46: ## in Loop: Header=BB2_44 Depth=2
movl -76(%rbp), %eax
addl $-1, %eax
movl %eax, -76(%rbp)
jmp LBB2_44
LBB2_47: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_48
LBB2_48: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_49
LBB2_49: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
movsbl (%rax), %ecx
movl %ecx, -52(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -177(%rbp) ## 1-byte Spill
je LBB2_53
## %bb.50: ## in Loop: Header=BB2_49 Depth=2
movb $1, %al
cmpl $0, -80(%rbp)
movb %al, -178(%rbp) ## 1-byte Spill
jl LBB2_52
## %bb.51: ## in Loop: Header=BB2_49 Depth=2
movl -80(%rbp), %eax
addl $-1, %eax
movl %eax, -80(%rbp)
cmpl $0, %eax
setge %al
movb %al, -178(%rbp) ## 1-byte Spill
LBB2_52: ## in Loop: Header=BB2_49 Depth=2
movb -178(%rbp), %al ## 1-byte Reload
movb %al, -177(%rbp) ## 1-byte Spill
LBB2_53: ## in Loop: Header=BB2_49 Depth=2
movb -177(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_54
jmp LBB2_56
LBB2_54: ## in Loop: Header=BB2_49 Depth=2
movq -8(%rbp), %rax
movl -52(%rbp), %edi
movq -16(%rbp), %rsi
callq *%rax
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
## %bb.55: ## in Loop: Header=BB2_49 Depth=2
movl -76(%rbp), %eax
addl $-1, %eax
movl %eax, -76(%rbp)
jmp LBB2_49
LBB2_56: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_57
LBB2_57: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -76(%rbp)
jle LBB2_60
## %bb.58: ## in Loop: Header=BB2_57 Depth=2
movq -8(%rbp), %rax
movq -16(%rbp), %rsi
movl $32, %edi
callq *%rax
## %bb.59: ## in Loop: Header=BB2_57 Depth=2
movl -76(%rbp), %eax
addl $-1, %eax
movl %eax, -76(%rbp)
jmp LBB2_57
LBB2_60: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_73
LBB2_61: ## in Loop: Header=BB2_1 Depth=1
leaq -32(%rbp), %rdi
movl -72(%rbp), %esi
callq _getint
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jge LBB2_63
## %bb.62: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rsi
movl $45, %edi
callq *%rax
xorl %eax, %eax
## kill: def $rax killed $eax
subq -64(%rbp), %rax
movq %rax, -64(%rbp)
LBB2_63: ## in Loop: Header=BB2_1 Depth=1
movl $10, -68(%rbp)
jmp LBB2_69
LBB2_64: ## in Loop: Header=BB2_1 Depth=1
movl $10, -68(%rbp)
jmp LBB2_68
LBB2_65: ## in Loop: Header=BB2_1 Depth=1
movl $8, -68(%rbp)
jmp LBB2_68
LBB2_66: ## in Loop: Header=BB2_1 Depth=1
movl $1, -72(%rbp)
movq -8(%rbp), %rax
movq -16(%rbp), %rsi
movl $48, %edi
callq *%rax
movq -8(%rbp), %rax
movq -16(%rbp), %rsi
movl $120, %edi
callq *%rax
LBB2_67: ## in Loop: Header=BB2_1 Depth=1
movl $16, -68(%rbp)
LBB2_68: ## in Loop: Header=BB2_1 Depth=1
leaq -32(%rbp), %rdi
movl -72(%rbp), %esi
callq _getuint
movq %rax, -64(%rbp)
LBB2_69: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -64(%rbp), %rdx
movl -68(%rbp), %ecx
movl -76(%rbp), %r8d
movsbl -85(%rbp), %r9d
callq _printnum
jmp LBB2_73
LBB2_70: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movl -52(%rbp), %edi
movq -16(%rbp), %rsi
callq *%rax
jmp LBB2_73
LBB2_71: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_72
LBB2_72: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq -16(%rbp), %rsi
movl $37, %edi
callq *%rax
movq -48(%rbp), %rax
movq %rax, -24(%rbp)
LBB2_73: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_24, LBB2_24-LJTI2_0
.set L2_0_set_71, LBB2_71-LJTI2_0
.set L2_0_set_70, LBB2_70-LJTI2_0
.set L2_0_set_17, LBB2_17-LJTI2_0
.set L2_0_set_8, LBB2_8-LJTI2_0
.set L2_0_set_21, LBB2_21-LJTI2_0
.set L2_0_set_9, LBB2_9-LJTI2_0
.set L2_0_set_10, LBB2_10-LJTI2_0
.set L2_0_set_31, LBB2_31-LJTI2_0
.set L2_0_set_61, LBB2_61-LJTI2_0
.set L2_0_set_35, LBB2_35-LJTI2_0
.set L2_0_set_28, LBB2_28-LJTI2_0
.set L2_0_set_65, LBB2_65-LJTI2_0
.set L2_0_set_66, LBB2_66-LJTI2_0
.set L2_0_set_36, LBB2_36-LJTI2_0
.set L2_0_set_64, LBB2_64-LJTI2_0
.set L2_0_set_67, LBB2_67-LJTI2_0
LJTI2_0:
.long L2_0_set_24
.long L2_0_set_71
.long L2_0_set_70
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_17
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_8
.long L2_0_set_21
.long L2_0_set_71
.long L2_0_set_9
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_10
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_31
.long L2_0_set_61
.long L2_0_set_71
.long L2_0_set_35
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_28
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_65
.long L2_0_set_66
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_36
.long L2_0_set_71
.long L2_0_set_64
.long L2_0_set_71
.long L2_0_set_71
.long L2_0_set_67
.end_data_region
## -- End function
.globl ___wrap_sprintf ## -- Begin function __wrap_sprintf
.p2align 4, 0x90
___wrap_sprintf: ## @__wrap_sprintf
.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 LBB3_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)
LBB3_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)
movq -40(%rbp), %rax
movq %rax, -56(%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 -48(%rbp), %rdx
leaq -32(%rbp), %rcx
leaq _sprintf_putch(%rip), %rdi
leaq -40(%rbp), %rsi
callq _vprintfmt
movq -40(%rbp), %rax
movb $0, (%rax)
leaq -32(%rbp), %rax
movq -40(%rbp), %rax
movq -56(%rbp), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
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 LBB3_2
## %bb.1:
movl -244(%rbp), %eax ## 4-byte Reload
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB3_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function sprintf_putch
_sprintf_putch: ## @sprintf_putch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movl -4(%rbp), %eax
movb %al, %cl
movq -24(%rbp), %rax
movq (%rax), %rax
movb %cl, (%rax)
movq -24(%rbp), %rax
movq (%rax), %rcx
addq $1, %rcx
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function getint
_getint: ## @getint
.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)
cmpl $0, -20(%rbp)
je LBB5_5
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl (%rax), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB5_3
## %bb.2:
movq -32(%rbp), %rcx ## 8-byte Reload
movl -24(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB5_4
LBB5_3:
movq -32(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -40(%rbp) ## 8-byte Spill
LBB5_4:
movq -40(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB5_9
LBB5_5:
movq -16(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB5_7
## %bb.6:
movq -56(%rbp), %rcx ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB5_8
LBB5_7:
movq -56(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -64(%rbp) ## 8-byte Spill
LBB5_8:
movq -64(%rbp), %rax ## 8-byte Reload
movslq (%rax), %rax
movq %rax, -8(%rbp)
LBB5_9:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function getuint
_getuint: ## @getuint
.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)
cmpl $0, -20(%rbp)
je LBB6_5
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl (%rax), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB6_3
## %bb.2:
movq -32(%rbp), %rcx ## 8-byte Reload
movl -24(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB6_4
LBB6_3:
movq -32(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -40(%rbp) ## 8-byte Spill
LBB6_4:
movq -40(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB6_9
LBB6_5:
movq -16(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB6_7
## %bb.6:
movq -56(%rbp), %rcx ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB6_8
LBB6_7:
movq -56(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -64(%rbp) ## 8-byte Spill
LBB6_8:
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -8(%rbp)
LBB6_9:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function printnum
_printnum: ## @printnum
.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
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -280(%rbp)
movq %rsi, -288(%rbp)
movq %rdx, -296(%rbp)
movl %ecx, -300(%rbp)
movl %r8d, -304(%rbp)
movl %r9d, -308(%rbp)
movl $0, -312(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -296(%rbp), %rax
movl -300(%rbp), %ecx
## kill: def $rcx killed $ecx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movl %edx, %ecx
movl -312(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -312(%rbp)
cltq
movl %ecx, -272(%rbp,%rax,4)
movq -296(%rbp), %rax
movl -300(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jae LBB7_3
## %bb.2:
jmp LBB7_4
LBB7_3: ## in Loop: Header=BB7_1 Depth=1
movl -300(%rbp), %eax
movl %eax, %ecx
movq -296(%rbp), %rax
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq %rax, -296(%rbp)
jmp LBB7_1
LBB7_4:
jmp LBB7_5
LBB7_5: ## =>This Inner Loop Header: Depth=1
movl -304(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -304(%rbp)
cmpl -312(%rbp), %eax
jle LBB7_7
## %bb.6: ## in Loop: Header=BB7_5 Depth=1
movq -280(%rbp), %rax
movl -308(%rbp), %edi
movq -288(%rbp), %rsi
callq *%rax
jmp LBB7_5
LBB7_7:
jmp LBB7_8
LBB7_8: ## =>This Inner Loop Header: Depth=1
movl -312(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -312(%rbp)
cmpl $0, %eax
jle LBB7_10
## %bb.9: ## in Loop: Header=BB7_8 Depth=1
movq -280(%rbp), %rax
movslq -312(%rbp), %rcx
movl -272(%rbp,%rcx,4), %edi
movslq -312(%rbp), %rcx
movl -272(%rbp,%rcx,4), %esi
movl $48, %ecx
movl $87, %edx
cmpl $10, %esi
cmovael %edx, %ecx
addl %ecx, %edi
movq -288(%rbp), %rsi
callq *%rax
jmp LBB7_8
LBB7_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_12
## %bb.11:
addq $320, %rsp ## imm = 0x140
popq %rbp
retq
LBB7_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(null)"
.subsections_via_symbols
| the_stack_data/71190.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strcpy ; -- Begin function ft_strcpy
.p2align 2
_ft_strcpy: ; @ft_strcpy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
strb w8, [x9]
b LBB0_1
LBB0_3:
ldr x8, [sp, #24]
strb wzr, [x8]
ldr x0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strcpy ## -- Begin function ft_strcpy
.p2align 4, 0x90
_ft_strcpy: ## @ft_strcpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movb %cl, (%rax)
jmp LBB0_1
LBB0_3:
movq -8(%rbp), %rax
movb $0, (%rax)
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/966915.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _digital_root ; -- Begin function digital_root
.p2align 2
_digital_root: ; @digital_root
.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 wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w10, w8, w10
ldr w8, [sp, #8]
add w8, w8, w10
str w8, [sp, #8]
ldur w8, [x29, #-4]
sdiv w8, w8, w9
stur w8, [x29, #-4]
b LBB0_1
LBB0_3:
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, lt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr w0, [sp, #8]
bl _digital_root
str w0, [sp, #4] ; 4-byte Folded Spill
b LBB0_6
LBB0_5:
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_6
LBB0_6:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _digital_root ## -- Begin function digital_root
.p2align 4, 0x90
_digital_root: ## @digital_root
.cfi_startproc
## %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 $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
addl -8(%rbp), %edx
movl %edx, -8(%rbp)
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_3:
cmpl $10, -8(%rbp)
jl LBB0_5
## %bb.4:
movl -8(%rbp), %edi
callq _digital_root
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB0_6
LBB0_5:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
LBB0_6:
movl -12(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/54825834.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur s0, [x29, #-8]
stur w1, [x29, #-12]
str s1, [sp, #16]
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
mul w8, w8, w9
subs w8, w8, #0
cset w8, gt
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur s0, [x29, #-8]
ldr s1, [sp, #16]
fmul s0, s0, s1
fcmp s0, #0.0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_2
LBB0_2:
ldr w8, [sp, #12] ; 4-byte Folded Reload
; kill: def $x8 killed $w8
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_5
LBB0_4:
bl _g
b LBB0_5
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movss %xmm0, -8(%rbp)
movl %esi, -12(%rbp)
movss %xmm1, -16(%rbp)
movl -4(%rbp), %ecx
imull -12(%rbp), %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
jg LBB0_2
## %bb.1:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -16(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB0_2:
movb -17(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_4
## %bb.3:
jmp LBB0_5
LBB0_4:
callq _g
LBB0_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/232956423.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, #4064
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
str wzr, [sp, #40]
mov w8, #1
str w8, [sp, #48]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
; Child Loop BB0_4 Depth 2
ldr w8, [sp, #48]
subs w8, w8, #45
cset w8, gt
tbnz w8, #0, LBB0_15
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #44]
b LBB0_4
LBB0_4: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #44]
subs w8, w8, #10
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #48]
ldrsw x10, [sp, #40]
add x9, sp, #56
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #44]
b LBB0_9
LBB0_9: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #44]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #48]
ldrsw x10, [sp, #40]
add x9, sp, #56
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_9
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_1
LBB0_15:
mov x9, sp
add x8, sp, #36
str x8, [x9]
add x8, sp, #32
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #28]
ldr w8, [sp, #36]
subs w8, w8, #1
str w8, [sp, #48]
b LBB0_16
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
ldr w9, [sp, #32]
subs w9, w9, #1
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=1
ldr w8, [sp, #28]
ldrsw x10, [sp, #48]
add x9, sp, #56
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp, #28]
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_16 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_16
LBB0_19:
ldr w9, [sp, #28]
; 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
ldr w8, [sp, #52]
str w8, [sp, #24] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
bl ___stack_chk_fail
LBB0_21:
ldr w0, [sp, #24] ; 4-byte Folded Reload
add sp, sp, #4064
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\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 $4048, %rsp ## imm = 0xFD0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -4020(%rbp)
movl $0, -4032(%rbp)
movl $1, -4024(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_9 Depth 2
cmpl $45, -4024(%rbp)
jg LBB0_15
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $45, -4024(%rbp)
jne LBB0_8
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl $1, -4028(%rbp)
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -4028(%rbp)
jg LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movl -4024(%rbp), %ecx
movslq -4032(%rbp), %rax
movl %ecx, -4016(%rbp,%rax,4)
movl -4032(%rbp), %eax
addl $1, %eax
movl %eax, -4032(%rbp)
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movl -4028(%rbp), %eax
addl $1, %eax
movl %eax, -4028(%rbp)
jmp LBB0_4
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl $1, -4028(%rbp)
LBB0_9: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -4028(%rbp), %eax
cmpl -4024(%rbp), %eax
jg LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movl -4024(%rbp), %ecx
movslq -4032(%rbp), %rax
movl %ecx, -4016(%rbp,%rax,4)
movl -4032(%rbp), %eax
addl $1, %eax
movl %eax, -4032(%rbp)
## %bb.11: ## in Loop: Header=BB0_9 Depth=2
movl -4028(%rbp), %eax
addl $1, %eax
movl %eax, -4028(%rbp)
jmp LBB0_9
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl -4024(%rbp), %eax
addl $1, %eax
movl %eax, -4024(%rbp)
jmp LBB0_1
LBB0_15:
leaq L_.str(%rip), %rdi
leaq -4036(%rbp), %rsi
leaq -4040(%rbp), %rdx
movb $0, %al
callq _scanf
movl $0, -4044(%rbp)
movl -4036(%rbp), %eax
subl $1, %eax
movl %eax, -4024(%rbp)
LBB0_16: ## =>This Inner Loop Header: Depth=1
movl -4024(%rbp), %eax
movl -4040(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jg LBB0_19
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movl -4044(%rbp), %eax
movslq -4024(%rbp), %rcx
addl -4016(%rbp,%rcx,4), %eax
movl %eax, -4044(%rbp)
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
movl -4024(%rbp), %eax
addl $1, %eax
movl %eax, -4024(%rbp)
jmp LBB0_16
LBB0_19:
movl -4044(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -4020(%rbp), %eax
movl %eax, -4048(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_21
## %bb.20:
movl -4048(%rbp), %eax ## 4-byte Reload
addq $4048, %rsp ## imm = 0xFD0
popq %rbp
retq
LBB0_21:
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\n"
.subsections_via_symbols
| the_stack_data/90765485.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, #20]
mov w8, #5
str w8, [sp, #16]
str wzr, [sp, #1064]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #7
str w8, [sp, #1068]
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_3:
mov w8, #5
str w8, [sp, #16]
str wzr, [sp, #1060]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
mov w8, #7
str w8, [sp, #1056]
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_4
LBB0_6:
ldr w8, [sp, #20]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
bl ___stack_chk_fail
LBB0_8:
ldr w0, [sp, #12] ; 4-byte Folded Reload
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
.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 $2112, %rsp ## imm = 0x840
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2100(%rbp)
movl $5, -2104(%rbp)
movl $0, -1056(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $1, -2104(%rbp)
jle LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $7, -1052(%rbp)
movl -2104(%rbp), %eax
addl $-1, %eax
movl %eax, -2104(%rbp)
jmp LBB0_1
LBB0_3:
movl $5, -2104(%rbp)
movl $0, -1060(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -2104(%rbp)
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl $7, -1064(%rbp)
movl -2104(%rbp), %eax
addl $-1, %eax
movl %eax, -2104(%rbp)
jmp LBB0_4
LBB0_6:
movl -2100(%rbp), %eax
movl %eax, -2108(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_8
## %bb.7:
movl -2108(%rbp), %eax ## 4-byte Reload
addq $2112, %rsp ## imm = 0x840
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/717763.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/51701203.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handler_USR1 ; -- Begin function handler_USR1
.p2align 2
_handler_USR1: ; @handler_USR1
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
str x2, [sp, #8]
adrp x9, _WAIT_CHOOSE@PAGE
mov w8, #1
str w8, [x9, _WAIT_CHOOSE@PAGEOFF]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _handler_USR2 ; -- Begin function handler_USR2
.p2align 2
_handler_USR2: ; @handler_USR2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
str x2, [sp, #8]
adrp x9, _WAIT_PUT@PAGE
mov w8, #1
str w8, [x9, _WAIT_PUT@PAGEOFF]
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
sub sp, sp, #1360
sub x8, x29, #136
str x8, [sp, #120] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
mov w8, #0
str w8, [sp, #144] ; 4-byte Folded Spill
str wzr, [sp, #204]
add x1, sp, #184
str xzr, [sp, #184]
str xzr, [sp, #192]
mov w8, #64
str w8, [sp, #132] ; 4-byte Folded Spill
str w8, [sp, #196]
adrp x8, _handler_USR1@PAGE
add x8, x8, _handler_USR1@PAGEOFF
str x8, [sp, #184]
mov w0, #30
mov x2, #0
str x2, [sp, #136] ; 8-byte Folded Spill
bl _sigaction
ldr w8, [sp, #132] ; 4-byte Folded Reload
ldr x2, [sp, #136] ; 8-byte Folded Reload
add x1, sp, #168
str xzr, [sp, #168]
str xzr, [sp, #176]
str w8, [sp, #180]
adrp x8, _handler_USR2@PAGE
add x8, x8, _handler_USR2@PAGEOFF
str x8, [sp, #168]
mov w0, #31
bl _sigaction
ldr w1, [sp, #144] ; 4-byte Folded Reload
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _ftok
str w0, [sp, #164]
ldr w0, [sp, #164]
mov w1, #950
bl _msgget
str w0, [sp, #160]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _WAIT_CHOOSE@PAGE
ldr w8, [x8, _WAIT_CHOOSE@PAGEOFF]
subs w8, w8, #0
cset w8, ne
mov w9, #0
str w9, [sp, #116] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _WAIT_PUT@PAGE
ldr w8, [x8, _WAIT_PUT@PAGEOFF]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #116] ; 4-byte Folded Spill
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #116] ; 4-byte Folded Reload
tbz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_5:
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
str x1, [sp, #88] ; 8-byte Folded Spill
bl _popen
bl _fileno
str w0, [sp, #156]
ldr w0, [sp, #156]
add x1, sp, #216
str x1, [sp, #104] ; 8-byte Folded Spill
mov x2, #1024
str x2, [sp, #96] ; 8-byte Folded Spill
bl _read
ldr w0, [sp, #156]
bl _close
ldr x0, [sp, #104] ; 8-byte Folded Reload
bl _atoi
ldr x1, [sp, #88] ; 8-byte Folded Reload
str w0, [sp, #152]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _popen
bl _fileno
ldr x2, [sp, #96] ; 8-byte Folded Reload
ldr x1, [sp, #104] ; 8-byte Folded Reload
str w0, [sp, #156]
ldr w0, [sp, #156]
bl _read
ldr x0, [sp, #104] ; 8-byte Folded Reload
bl _atoi
ldr x1, [sp, #88] ; 8-byte Folded Reload
str w0, [sp, #212]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _popen
bl _fileno
ldr x2, [sp, #96] ; 8-byte Folded Reload
ldr x1, [sp, #104] ; 8-byte Folded Reload
str w0, [sp, #156]
ldr w0, [sp, #156]
bl _read
ldr x0, [sp, #104] ; 8-byte Folded Reload
bl _atoi
str w0, [sp, #212]
adrp x8, _WAIT_CHOOSE@PAGE
ldr w8, [x8, _WAIT_CHOOSE@PAGEOFF]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_11
b LBB2_6
LBB2_6:
str wzr, [sp, #148]
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #148]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
bl _getpid
ldr x10, [sp, #120] ; 8-byte Folded Reload
; implicit-def: $x8
mov x8, x0
sxtw x9, w8
sub x8, x29, #136
str x8, [sp, #64] ; 8-byte Folded Spill
str x9, [x10]
add x0, x8, #8
mov w1, #0
str w1, [sp, #84] ; 4-byte Folded Spill
mov x2, #100
str x2, [sp, #72] ; 8-byte Folded Spill
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___sprintf_chk
ldr x1, [sp, #64] ; 8-byte Folded Reload
ldr x2, [sp, #72] ; 8-byte Folded Reload
ldr w3, [sp, #84] ; 4-byte Folded Reload
ldr w0, [sp, #160]
bl _msgsnd
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_7 Depth=1
ldr w8, [sp, #148]
add w8, w8, #1
str w8, [sp, #148]
b LBB2_7
LBB2_10:
bl _getpid
ldr x10, [sp, #120] ; 8-byte Folded Reload
; implicit-def: $x8
mov x8, x0
sxtw x9, w8
sub x8, x29, #136
str x8, [sp, #40] ; 8-byte Folded Spill
str x9, [x10]
add x0, x8, #8
mov w1, #0
str w1, [sp, #56] ; 4-byte Folded Spill
mov x2, #100
str x2, [sp, #48] ; 8-byte Folded Spill
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___sprintf_chk
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr x2, [sp, #48] ; 8-byte Folded Reload
ldr w3, [sp, #56] ; 4-byte Folded Reload
ldr w0, [sp, #160]
bl _msgsnd
ldr w0, [sp, #208]
mov w1, #31
str w1, [sp, #60] ; 4-byte Folded Spill
bl _kill
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldr w0, [sp, #212]
bl _kill
b LBB2_11
LBB2_11:
bl _getpid
ldr x10, [sp, #120] ; 8-byte Folded Reload
; implicit-def: $x8
mov x8, x0
sxtw x9, w8
sub x8, x29, #136
str x8, [sp, #16] ; 8-byte Folded Spill
str x9, [x10]
add x0, x8, #8
mov x9, sp
mov x8, #15
str x8, [x9]
mov w1, #0
str w1, [sp, #32] ; 4-byte Folded Spill
mov x2, #100
str x2, [sp, #24] ; 8-byte Folded Spill
adrp x3, l_.str.7@PAGE
add x3, x3, l_.str.7@PAGEOFF
bl ___sprintf_chk
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldr w3, [sp, #32] ; 4-byte Folded Reload
ldr w0, [sp, #160]
bl _msgsnd
ldr w0, [sp, #152]
mov w1, #31
bl _kill
ldr w8, [sp, #204]
str w8, [sp, #36] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_13
b LBB2_12
LBB2_12:
bl ___stack_chk_fail
LBB2_13:
ldr w0, [sp, #36] ; 4-byte Folded Reload
add sp, sp, #1360
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _WAIT_CHOOSE ; @WAIT_CHOOSE
.zerofill __DATA,__common,_WAIT_CHOOSE,4,2
.globl _WAIT_PUT ; @WAIT_PUT
.zerofill __DATA,__common,_WAIT_PUT,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "./queue"
l_.str.1: ; @.str.1
.asciz "pidof ./anchor"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "pidof ./judge1"
l_.str.4: ; @.str.4
.asciz "pidof ./judge3"
l_.str.5: ; @.str.5
.asciz "random_question\n"
l_.str.6: ; @.str.6
.asciz "done"
l_.str.7: ; @.str.7
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handler_USR1 ## -- Begin function handler_USR1
.p2align 4, 0x90
_handler_USR1: ## @handler_USR1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $1, _WAIT_CHOOSE(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _handler_USR2 ## -- Begin function handler_USR2
.p2align 4, 0x90
_handler_USR2: ## @handler_USR2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $1, _WAIT_PUT(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1232, %rsp ## imm = 0x4D0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1164(%rbp)
leaq -1184(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movl $64, -1172(%rbp)
leaq _handler_USR1(%rip), %rax
movq %rax, -1184(%rbp)
movl $30, %edi
leaq -1184(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigaction
leaq -1200(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movl $64, -1188(%rbp)
leaq _handler_USR2(%rip), %rax
movq %rax, -1200(%rbp)
movl $31, %edi
leaq -1200(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigaction
leaq L_.str(%rip), %rdi
xorl %esi, %esi
callq _ftok
movl %eax, -1204(%rbp)
movl -1204(%rbp), %edi
movl $950, %esi ## imm = 0x3B6
callq _msgget
movl %eax, -1208(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, _WAIT_CHOOSE(%rip)
movb %al, -1221(%rbp) ## 1-byte Spill
jne LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
cmpl $0, _WAIT_PUT(%rip)
sete %al
movb %al, -1221(%rbp) ## 1-byte Spill
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movb -1221(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_4
jmp LBB2_5
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_5:
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _popen
movq %rax, %rdi
callq _fileno
movl %eax, -1212(%rbp)
movl -1212(%rbp), %edi
leaq -1152(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _read
movl -1212(%rbp), %edi
callq _close
leaq -1152(%rbp), %rdi
callq _atoi
movl %eax, -1216(%rbp)
leaq L_.str.3(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _popen
movq %rax, %rdi
callq _fileno
movl %eax, -1212(%rbp)
movl -1212(%rbp), %edi
leaq -1152(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _read
leaq -1152(%rbp), %rdi
callq _atoi
movl %eax, -1156(%rbp)
leaq L_.str.4(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _popen
movq %rax, %rdi
callq _fileno
movl %eax, -1212(%rbp)
movl -1212(%rbp), %edi
leaq -1152(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _read
leaq -1152(%rbp), %rdi
callq _atoi
movl %eax, -1156(%rbp)
cmpl $0, _WAIT_CHOOSE(%rip)
jle LBB2_11
## %bb.6:
movl $0, -1220(%rbp)
LBB2_7: ## =>This Inner Loop Header: Depth=1
cmpl $3, -1220(%rbp)
jge LBB2_10
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
callq _getpid
cltq
movq %rax, -120(%rbp)
leaq -120(%rbp), %rdi
addq $8, %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str.5(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movl -1208(%rbp), %edi
leaq -120(%rbp), %rsi
movl $100, %edx
xorl %ecx, %ecx
callq _msgsnd
## %bb.9: ## in Loop: Header=BB2_7 Depth=1
movl -1220(%rbp), %eax
addl $1, %eax
movl %eax, -1220(%rbp)
jmp LBB2_7
LBB2_10:
callq _getpid
cltq
movq %rax, -120(%rbp)
leaq -120(%rbp), %rdi
addq $8, %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str.6(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movl -1208(%rbp), %edi
leaq -120(%rbp), %rsi
movl $100, %edx
xorl %ecx, %ecx
callq _msgsnd
movl -1160(%rbp), %edi
movl $31, %esi
callq _kill
movl -1156(%rbp), %edi
movl $31, %esi
callq _kill
LBB2_11:
callq _getpid
cltq
movq %rax, -120(%rbp)
leaq -120(%rbp), %rdi
addq $8, %rdi
xorl %esi, %esi
movl $100, %edx
leaq L_.str.7(%rip), %rcx
movl $15, %r8d
movb $0, %al
callq ___sprintf_chk
movl -1208(%rbp), %edi
leaq -120(%rbp), %rsi
movl $100, %edx
xorl %ecx, %ecx
callq _msgsnd
movl -1216(%rbp), %edi
movl $31, %esi
callq _kill
movl -1164(%rbp), %eax
movl %eax, -1228(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_13
## %bb.12:
movl -1228(%rbp), %eax ## 4-byte Reload
addq $1232, %rsp ## imm = 0x4D0
popq %rbp
retq
LBB2_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _WAIT_CHOOSE ## @WAIT_CHOOSE
.zerofill __DATA,__common,_WAIT_CHOOSE,4,2
.globl _WAIT_PUT ## @WAIT_PUT
.zerofill __DATA,__common,_WAIT_PUT,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "./queue"
L_.str.1: ## @.str.1
.asciz "pidof ./anchor"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "pidof ./judge1"
L_.str.4: ## @.str.4
.asciz "pidof ./judge3"
L_.str.5: ## @.str.5
.asciz "random_question\n"
L_.str.6: ## @.str.6
.asciz "done"
L_.str.7: ## @.str.7
.asciz "%d"
.subsections_via_symbols
| the_stack_data/54147.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mocnina ; -- Begin function mocnina
.p2align 2
_mocnina: ; @mocnina
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str w0, [sp, #8]
mov w8, #1
str w8, [sp]
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 s0, [sp]
scvtf s0, s0
ldr s1, [sp, #12]
fmul s0, s0, s1
fcvtzs w8, s0
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 w0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #32] ; 8-byte Folded Spill
ldur s0, [x29, #-12]
fcvt d0, s0
stur d0, [x29, #-24] ; 8-byte Folded Spill
ldur s0, [x29, #-12]
ldur w0, [x29, #-8]
bl _mocnina
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur d0, [x29, #-24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
str d0, [x9, #8]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Zadej cislo: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Zadej mocninu cisla: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Mocnina %d na cislu %f je %d \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mocnina ## -- Begin function mocnina
.p2align 4, 0x90
_mocnina: ## @mocnina
.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)
movl %edi, -8(%rbp)
movl $1, -16(%rbp)
movl $1, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cvtsi2ssl -16(%rbp), %xmm0
mulss -4(%rbp), %xmm0
cvttss2si %xmm0, %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
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
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -8(%rbp), %edi
callq _mocnina
movl -28(%rbp), %esi ## 4-byte Reload
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movl %eax, %edx
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Zadej cislo: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Zadej mocninu cisla: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Mocnina %d na cislu %f je %d \n"
.subsections_via_symbols
| the_stack_data/170452891.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
adrp x8, _b@GOTPAGE
ldr x8, [x8, _b@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str wzr, [sp, #28]
mov w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #24]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x8, [sp, #24]
mov x11, #200
mul x10, x8, x11
mov x8, x9
add x8, x8, x10
ldr w10, [sp, #20]
subs w10, w10, #1
ldr w8, [x8, w10, sxtw #2]
ldr w10, [sp, #24]
subs w10, w10, #1
mov x13, x9
mov w12, #200
smaddl x10, w10, w12, x13
ldrsw x12, [sp, #20]
ldr w10, [x10, x12, lsl #2]
add w10, w8, w10
ldr w8, [sp, #24]
ldr w12, [sp, #20]
add w12, w8, w12
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
str w10, [x8, w12, sxtw #2]
ldr w10, [sp, #24]
ldr w12, [sp, #20]
add w10, w10, w12
subs w10, w10, #2
ldr w8, [x8, w10, sxtw #2]
ldrsw x10, [sp, #24]
mul x12, x10, x11
mov x10, x9
add x10, x10, x12
ldrsw x12, [sp, #20]
ldr w10, [x10, x12, lsl #2]
add w8, w8, w10
ldrsw x10, [sp, #24]
mul x10, x10, x11
add x9, x9, x10
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_8:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _b,10000,2 ; @b
.comm _a,200,2 ; @a
.comm _x,200,2 ; @x
.comm _k,4,2 ; @k
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $1, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $10, -8(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -12(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -8(%rbp), %rcx
movq _b@GOTPCREL(%rip), %rax
imulq $200, %rcx, %rcx
addq %rcx, %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movl -8(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _b@GOTPCREL(%rip), %rax
imulq $200, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movslq %eax, %rcx
movq _a@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -8(%rbp), %eax
addl -12(%rbp), %eax
subl $2, %eax
movslq %eax, %rcx
movq _a@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
movslq -8(%rbp), %rcx
movq _b@GOTPCREL(%rip), %rax
imulq $200, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movslq -8(%rbp), %rcx
movq _b@GOTPCREL(%rip), %rax
imulq $200, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_8:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _b,10000,4 ## @b
.comm _a,200,4 ## @a
.comm _x,200,4 ## @x
.comm _k,4,2 ## @k
.subsections_via_symbols
| the_stack_data/243894300.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
mov w0, #1
bl _f
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
callq _f
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/51701241.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1072
stur wzr, [x29, #-20]
add x0, sp, #31
mov x1, #1025
bl _bzero
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _popen
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_1
LBB0_1:
ldur x3, [x29, #-32]
add x0, sp, #31
mov x1, #1
mov x2, #1024
bl _fread
mov x8, x0
str w8, [sp, #24]
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #24]
subs w9, w8, #1
add x8, sp, #31
str x8, [sp, #16] ; 8-byte Folded Spill
add x9, x8, w9, sxtw
strb wzr, [x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x3, [x29, #-32]
mov x1, #1
mov x2, #1024
bl _fread
mov x8, x0
str w8, [sp, #24]
b LBB0_2
LBB0_4:
ldur x0, [x29, #-32]
bl _pclose
mov w0, #0
bl _exit
LBB0_5:
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ps -ax"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Reading:-\n %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1072, %rsp ## imm = 0x430
movl $0, -4(%rbp)
leaq -1056(%rbp), %rdi
xorl %esi, %esi
movl $1025, %edx ## imm = 0x401
callq _memset
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _popen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB0_5
## %bb.1:
leaq -1056(%rbp), %rdi
movq -16(%rbp), %rcx
movl $1, %esi
movl $1024, %edx ## imm = 0x400
callq _fread
## kill: def $eax killed $eax killed $rax
movl %eax, -1060(%rbp)
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl $0, -1060(%rbp)
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl -1060(%rbp), %eax
subl $1, %eax
cltq
movb $0, -1056(%rbp,%rax)
leaq -1056(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -1056(%rbp), %rdi
movq -16(%rbp), %rcx
movl $1, %esi
movl $1024, %edx ## imm = 0x400
callq _fread
## kill: def $eax killed $eax killed $rax
movl %eax, -1060(%rbp)
jmp LBB0_2
LBB0_4:
movq -16(%rbp), %rdi
callq _pclose
xorl %edi, %edi
callq _exit
LBB0_5:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ps -ax"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Reading:-\n %s\n"
.subsections_via_symbols
| the_stack_data/104827814.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check_type ; -- Begin function check_type
.p2align 2
_check_type: ; @check_type
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str wzr, [sp, #20]
str wzr, [sp, #24]
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldursw x9, [x29, #-20]
adrp x8, _type_modifiers@PAGE
add x8, x8, _type_modifiers@PAGEOFF
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldursw x9, [x29, #-20]
adrp x8, _type_modifiers@PAGE
add x8, x8, _type_modifiers@PAGEOFF
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, x9, lsl #3]
bl _strlen
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, x0
str w9, [sp, #16]
ldursw x9, [x29, #-20]
ldr x0, [x8, x9, lsl #3]
ldur x1, [x29, #-16]
ldrsw x2, [sp, #16]
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #16]
add x8, x8, x9
add x8, x8, #1
stur x8, [x29, #-16]
mov w8, #1
str w8, [sp, #20]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_5:
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB0_7
LBB0_9:
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #24]
adrp x8, _types@PAGE
add x8, x8, _types@PAGEOFF
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldrsw x9, [sp, #24]
adrp x8, _types@PAGE
add x8, x8, _types@PAGEOFF
ldr x0, [x8, x9, lsl #3]
ldur x1, [x29, #-16]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
b LBB0_17
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_10
LBB0_14:
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_18
LBB0_16:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_18
LBB0_17:
stur wzr, [x29, #-4]
b LBB0_18
LBB0_18:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _check_errsym ; -- Begin function check_errsym
.p2align 2
_check_errsym: ; @check_errsym
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #11]
str wzr, [sp, #4]
str wzr, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #4]
adrp x8, _errsym@PAGE
add x8, x8, _errsym@PAGEOFF
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #4]
mov x8, x9
add w8, w8, #1
str w8, [sp, #4]
adrp x8, _errsym@PAGE
add x8, x8, _errsym@PAGEOFF
ldrsb w8, [x8, x9]
ldrsb w9, [sp, #11]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_5:
ldr w8, [sp]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
mov w8, #1
str w8, [sp, #12]
b LBB1_8
LBB1_7:
str wzr, [sp, #12]
b LBB1_8
LBB1_8:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _getch ; -- Begin function getch
.p2align 2
_getch: ; @getch
.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, _bufp@PAGE
ldr w8, [x8, _bufp@PAGEOFF]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x8, _bufp@PAGE
ldr w9, [x8, _bufp@PAGEOFF]
subs w9, w9, #1
str w9, [x8, _bufp@PAGEOFF]
adrp x8, _buf@GOTPAGE
ldr x8, [x8, _buf@GOTPAGEOFF]
ldrsb w0, [x8, w9, sxtw]
stur w0, [x29, #-4] ; 4-byte Folded Spill
b LBB2_3
LBB2_2:
bl _getchar
stur w0, [x29, #-4] ; 4-byte Folded Spill
b LBB2_3
LBB2_3:
ldur w0, [x29, #-4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ungetch ; -- Begin function ungetch
.p2align 2
_ungetch: ; @ungetch
.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, _bufp@PAGE
ldr w8, [x8, _bufp@PAGEOFF]
subs w8, w8, #100
cset w8, lt
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
b LBB3_3
LBB3_2:
ldur w8, [x29, #-4]
adrp x11, _bufp@PAGE
ldrsw x10, [x11, _bufp@PAGEOFF]
mov x9, x10
add w9, w9, #1
str w9, [x11, _bufp@PAGEOFF]
adrp x9, _buf@GOTPAGE
ldr x9, [x9, _buf@GOTPAGEOFF]
strb w8, [x9, x10]
b LBB3_3
LBB3_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _ungetstr ; -- Begin function ungetstr
.p2align 2
_ungetstr: ; @ungetstr
.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
mov x8, x0
str w8, [sp, #4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
subs w9, w9, #1
ldrsb w0, [x8, w9, sxtw]
bl _ungetch
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #4]
b LBB4_1
LBB4_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _gettoken ; -- Begin function gettoken
.p2align 2
_gettoken: ; @gettoken
.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, _tokentype@GOTPAGE
ldr x8, [x8, _tokentype@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _token@GOTPAGE
ldr x8, [x8, _token@GOTPAGEOFF]
str x8, [sp, #16]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
bl _getch
stur w0, [x29, #-8]
subs w8, w0, #32
cset w8, eq
mov w9, #1
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB5_5
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
b LBB5_1
LBB5_5:
ldur w8, [x29, #-8]
subs w8, w8, #40
cset w8, ne
tbnz w8, #0, LBB5_9
b LBB5_6
LBB5_6:
bl _getch
stur w0, [x29, #-8]
subs w8, w0, #41
cset w8, ne
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
adrp x0, _token@GOTPAGE
ldr x0, [x0, _token@GOTPAGEOFF]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
mov x2, #100
bl ___strcpy_chk
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #1
str w8, [x9]
stur w8, [x29, #-4]
b LBB5_27
LBB5_8:
ldur w0, [x29, #-8]
bl _ungetch
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #40
str w8, [x9]
stur w8, [x29, #-4]
b LBB5_27
LBB5_9:
ldur w8, [x29, #-8]
subs w8, w8, #91
cset w8, ne
tbnz w8, #0, LBB5_19
b LBB5_10
LBB5_10:
ldur w8, [x29, #-8]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
strb w8, [x9]
b LBB5_11
LBB5_11: ; =>This Inner Loop Header: Depth=1
bl _getch
ldr x8, [sp, #16]
strb w0, [x8]
sxtb w8, w0
subs w8, w8, #93
cset w8, eq
tbnz w8, #0, LBB5_18
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_11 Depth=1
ldr x8, [sp, #16]
ldrsb w0, [x8]
bl _isalnum
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_14
b LBB5_13
LBB5_13:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16]
add x10, x8, #1
str x10, [sp, #16]
strb wzr, [x8, #1]
mov w8, #4
str w8, [x9]
stur w8, [x29, #-4]
b LBB5_27
LBB5_14: ; in Loop: Header=BB5_11 Depth=1
ldr x8, [sp, #16]
ldrsb w0, [x8]
bl _check_errsym
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_16
b LBB5_15
LBB5_15:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16]
add x10, x8, #1
str x10, [sp, #16]
strb wzr, [x8, #1]
mov w8, #4
str w8, [x9]
stur w8, [x29, #-4]
b LBB5_27
LBB5_16: ; in Loop: Header=BB5_11 Depth=1
b LBB5_17
LBB5_17: ; in Loop: Header=BB5_11 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB5_11
LBB5_18:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16]
add x10, x8, #1
str x10, [sp, #16]
strb wzr, [x8, #1]
mov w8, #2
str w8, [x9]
stur w8, [x29, #-4]
b LBB5_27
LBB5_19:
ldur w0, [x29, #-8]
bl _isalpha
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_24
b LBB5_20
LBB5_20:
ldur w8, [x29, #-8]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
strb w8, [x9]
b LBB5_21
LBB5_21: ; =>This Inner Loop Header: Depth=1
bl _getch
stur w0, [x29, #-8]
bl _isalnum
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_23
b LBB5_22
LBB5_22: ; in Loop: Header=BB5_21 Depth=1
ldur w8, [x29, #-8]
ldr x9, [sp, #16]
add x10, x9, #1
str x10, [sp, #16]
strb w8, [x9]
b LBB5_21
LBB5_23:
ldr x8, [sp, #16]
strb wzr, [x8]
ldur w0, [x29, #-8]
bl _ungetch
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8]
stur wzr, [x29, #-4]
b LBB5_27
LBB5_24:
ldur w8, [x29, #-8]
sxtb w0, w8
bl _check_errsym
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_26
b LBB5_25
LBB5_25:
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #4
str w8, [x9]
stur w8, [x29, #-4]
b LBB5_27
LBB5_26:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
str w8, [x9]
stur w8, [x29, #-4]
b LBB5_27
LBB5_27:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _dcl ; -- Begin function dcl
.p2align 2
_dcl: ; @dcl
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
bl _gettoken
subs w8, w0, #42
cset w8, ne
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB6_1
LBB6_3:
adrp x8, _tokentype@GOTPAGE
ldr x8, [x8, _tokentype@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4:
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
b LBB6_10
LBB6_5:
bl _dirdcl
adrp x8, _tokentype@GOTPAGE
ldr x8, [x8, _tokentype@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6:
b LBB6_10
LBB6_7:
b LBB6_8
LBB6_8: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w9, w8, #1
stur w9, [x29, #-4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB6_10
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_8 Depth=1
adrp x0, _out@GOTPAGE
ldr x0, [x0, _out@GOTPAGEOFF]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
mov x2, #1000
bl ___strcat_chk
b LBB6_8
LBB6_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _dirdcl ; -- Begin function dirdcl
.p2align 2
_dirdcl: ; @dirdcl
.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, _tokentype@GOTPAGE
ldr x8, [x8, _tokentype@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x9, _token@GOTPAGE
ldr x9, [x9, _token@GOTPAGEOFF]
stur x9, [x29, #-32] ; 8-byte Folded Spill
adrp x9, _token_tmp@GOTPAGE
ldr x9, [x9, _token_tmp@GOTPAGEOFF]
stur x9, [x29, #-24] ; 8-byte Folded Spill
adrp x9, _out@GOTPAGE
ldr x9, [x9, _out@GOTPAGEOFF]
stur x9, [x29, #-16] ; 8-byte Folded Spill
ldr w8, [x8]
subs w8, w8, #40
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_1
LBB7_1:
bl _dcl
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #41
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2:
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov w8, #4
str w8, [x9]
b LBB7_35
LBB7_3:
b LBB7_11
LBB7_4:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_9
b LBB7_5
LBB7_5:
ldur x0, [x29, #-32] ; 8-byte Folded Reload
bl _check_type
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB7_7
b LBB7_6
LBB7_6:
ldur x1, [x29, #-32] ; 8-byte Folded Reload
adrp x0, _name@GOTPAGE
ldr x0, [x0, _name@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
b LBB7_8
LBB7_7:
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov w8, #4
str w8, [x9]
b LBB7_35
LBB7_8:
b LBB7_10
LBB7_9:
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov w8, #4
str w8, [x9]
b LBB7_35
LBB7_10:
b LBB7_11
LBB7_11:
b LBB7_12
LBB7_12: ; =>This Inner Loop Header: Depth=1
bl _gettoken
stur w0, [x29, #-4]
subs w8, w0, #1
cset w8, eq
mov w9, #1
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_14
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_12 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #2
cset w8, eq
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB7_14
LBB7_14: ; in Loop: Header=BB7_12 Depth=1
ldr w8, [sp, #36] ; 4-byte Folded Reload
tbz w8, #0, LBB7_19
b LBB7_15
LBB7_15: ; in Loop: Header=BB7_12 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB7_17
b LBB7_16
LBB7_16: ; in Loop: Header=BB7_12 Depth=1
ldur x0, [x29, #-16] ; 8-byte Folded Reload
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
mov x2, #1000
bl ___strcat_chk
b LBB7_18
LBB7_17: ; in Loop: Header=BB7_12 Depth=1
ldur x0, [x29, #-16] ; 8-byte Folded Reload
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov x2, #1000
str x2, [sp, #24] ; 8-byte Folded Spill
bl ___strcat_chk
ldur x1, [x29, #-32] ; 8-byte Folded Reload
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldur x0, [x29, #-16] ; 8-byte Folded Reload
bl ___strcat_chk
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldur x0, [x29, #-16] ; 8-byte Folded Reload
adrp x1, l_.str.30@PAGE
add x1, x1, l_.str.30@PAGEOFF
bl ___strcat_chk
b LBB7_18
LBB7_18: ; in Loop: Header=BB7_12 Depth=1
b LBB7_12
LBB7_19:
ldur w8, [x29, #-4]
subs w8, w8, #40
cset w8, ne
tbnz w8, #0, LBB7_32
b LBB7_20
LBB7_20:
bl _gettoken
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_32
b LBB7_21
LBB7_21:
ldur x0, [x29, #-32] ; 8-byte Folded Reload
bl _check_type
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_32
b LBB7_22
LBB7_22:
ldur x0, [x29, #-24] ; 8-byte Folded Reload
strb wzr, [x0]
adrp x1, l_.str.31@PAGE
add x1, x1, l_.str.31@PAGEOFF
mov x2, #100
str x2, [sp, #16] ; 8-byte Folded Spill
bl ___strcat_chk
ldur x1, [x29, #-32] ; 8-byte Folded Reload
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-24] ; 8-byte Folded Reload
bl ___strcat_chk
b LBB7_23
LBB7_23: ; =>This Inner Loop Header: Depth=1
bl _gettoken
sturb w0, [x29, #-5]
sxtb w8, w0
subs w8, w8, #44
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_26
b LBB7_24
LBB7_24: ; in Loop: Header=BB7_23 Depth=1
bl _gettoken
subs w8, w0, #0
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_26
b LBB7_25
LBB7_25: ; in Loop: Header=BB7_23 Depth=1
ldur x0, [x29, #-32] ; 8-byte Folded Reload
bl _check_type
subs w8, w0, #0
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB7_26
LBB7_26: ; in Loop: Header=BB7_23 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB7_28
b LBB7_27
LBB7_27: ; in Loop: Header=BB7_23 Depth=1
ldur x0, [x29, #-24] ; 8-byte Folded Reload
adrp x1, l_.str.32@PAGE
add x1, x1, l_.str.32@PAGEOFF
mov x2, #100
str x2, [sp] ; 8-byte Folded Spill
bl ___strcat_chk
ldur x1, [x29, #-32] ; 8-byte Folded Reload
ldr x2, [sp] ; 8-byte Folded Reload
ldur x0, [x29, #-24] ; 8-byte Folded Reload
bl ___strcat_chk
b LBB7_23
LBB7_28:
ldursb w8, [x29, #-5]
subs w8, w8, #41
cset w8, ne
tbnz w8, #0, LBB7_30
b LBB7_29
LBB7_29:
ldur x0, [x29, #-24] ; 8-byte Folded Reload
adrp x1, l_.str.33@PAGE
add x1, x1, l_.str.33@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB7_31
LBB7_30:
adrp x0, l_.str.34@PAGE
add x0, x0, l_.str.34@PAGEOFF
bl _printf
ldur x0, [x29, #-24] ; 8-byte Folded Reload
bl _ungetstr
b LBB7_35
LBB7_31:
ldur x1, [x29, #-24] ; 8-byte Folded Reload
ldur x0, [x29, #-16] ; 8-byte Folded Reload
mov x2, #1000
bl ___strcat_chk
bl _gettoken
b LBB7_35
LBB7_32:
ldur w8, [x29, #-4]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB7_34
b LBB7_33
LBB7_33:
adrp x0, l_.str.35@PAGE
add x0, x0, l_.str.35@PAGEOFF
bl _printf
b LBB7_35
LBB7_34:
b LBB7_35
LBB7_35:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _gettokentype ; -- Begin function gettokentype
.p2align 2
_gettokentype: ; @gettokentype
.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 x0, _token@GOTPAGE
ldr x0, [x0, _token@GOTPAGEOFF]
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x8, _token_tmp@GOTPAGE
ldr x8, [x8, _token_tmp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _tokentype@GOTPAGE
ldr x8, [x8, _tokentype@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-12]
stur wzr, [x29, #-16]
bl _check_type
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldr x8, [sp, #24] ; 8-byte Folded Reload
str wzr, [x8]
stur wzr, [x29, #-4]
b LBB8_36
LBB8_2:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _check_type
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3:
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w8, #1
stur w8, [x29, #-12]
mov x2, #100
bl ___strcpy_chk
b LBB8_7
LBB8_4:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _check_type
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB8_6
b LBB8_5
LBB8_5:
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w8, #1
stur w8, [x29, #-16]
mov x2, #100
bl ___strcpy_chk
b LBB8_6
LBB8_6:
b LBB8_7
LBB8_7:
b LBB8_8
LBB8_8:
ldr x8, [sp, #8] ; 8-byte Folded Reload
strb wzr, [x8]
b LBB8_9
LBB8_9: ; =>This Inner Loop Header: Depth=1
bl _gettoken
sturb w0, [x29, #-5]
mov w8, #-1
subs w8, w8, w0, sxtb
cset w8, eq
tbnz w8, #0, LBB8_32
b LBB8_10
LBB8_10: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_20
b LBB8_11
LBB8_11: ; in Loop: Header=BB8_9 Depth=1
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _check_type
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB8_20
b LBB8_12
LBB8_12: ; in Loop: Header=BB8_9 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB8_14
b LBB8_13
LBB8_13: ; in Loop: Header=BB8_9 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB8_15
b LBB8_14
LBB8_14: ; in Loop: Header=BB8_9 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.36@PAGE
add x1, x1, l_.str.36@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB8_16
LBB8_15: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x8]
b LBB8_16
LBB8_16: ; in Loop: Header=BB8_9 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x2, #100
bl ___strcat_chk
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _check_type
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB8_18
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_9 Depth=1
mov w8, #1
stur w8, [x29, #-16]
b LBB8_19
LBB8_18:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _ungetstr
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _strlen
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
str x8, [sp] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, x0
ldr x0, [sp] ; 8-byte Folded Reload
subs x9, x0, x9
add x8, x8, x9
strb wzr, [x8]
b LBB8_33
LBB8_19: ; in Loop: Header=BB8_9 Depth=1
b LBB8_31
LBB8_20:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_23
b LBB8_21
LBB8_21:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _check_type
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB8_23
b LBB8_22
LBB8_22:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _ungetstr
b LBB8_33
LBB8_23:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB8_25
b LBB8_24
LBB8_24:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB8_26
b LBB8_25
LBB8_25:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _ungetstr
b LBB8_33
LBB8_26:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #40
cset w8, ne
tbnz w8, #0, LBB8_28
b LBB8_27
LBB8_27:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w0, [x8]
bl _ungetch
b LBB8_33
LBB8_28:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB8_30
b LBB8_29
LBB8_29:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _ungetstr
b LBB8_33
LBB8_30:
ldursb w0, [x29, #-5]
bl _ungetch
b LBB8_33
LBB8_31: ; in Loop: Header=BB8_9 Depth=1
b LBB8_9
LBB8_32:
b LBB8_33
LBB8_33:
ldur w8, [x29, #-16]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB8_35
b LBB8_34
LBB8_34:
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x2, #100
bl ___strcpy_chk
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov w8, #3
str w8, [x9]
stur w8, [x29, #-4]
b LBB8_36
LBB8_35:
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov w8, #4
str w8, [x9]
stur w8, [x29, #-4]
b LBB8_36
LBB8_36:
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, #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, _tokentype@GOTPAGE
ldr x8, [x8, _tokentype@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
bl _gettoken
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB9_12
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3:
adrp x0, l_.str.37@PAGE
add x0, x0, l_.str.37@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB9_13
LBB9_4: ; in Loop: Header=BB9_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_9
b LBB9_5
LBB9_5: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_7
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_1 Depth=1
bl _gettokentype
subs w8, w0, #3
cset w8, eq
tbnz w8, #0, LBB9_8
b LBB9_7
LBB9_7:
adrp x0, l_.str.38@PAGE
add x0, x0, l_.str.38@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB9_13
LBB9_8: ; in Loop: Header=BB9_1 Depth=1
adrp x0, _datatype@GOTPAGE
ldr x0, [x0, _datatype@GOTPAGEOFF]
adrp x1, _token@GOTPAGE
ldr x1, [x1, _token@GOTPAGEOFF]
mov x2, #100
bl ___strcpy_chk
mov w8, #1
stur w8, [x29, #-8]
b LBB9_9
LBB9_9: ; in Loop: Header=BB9_1 Depth=1
adrp x8, _out@GOTPAGE
ldr x8, [x8, _out@GOTPAGEOFF]
strb wzr, [x8]
bl _dcl
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB9_11
b LBB9_10
LBB9_10:
mov x9, sp
adrp x8, _token@GOTPAGE
ldr x8, [x8, _token@GOTPAGEOFF]
str x8, [x9]
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB9_13
LBB9_11: ; in Loop: Header=BB9_1 Depth=1
mov x9, sp
adrp x8, _name@GOTPAGE
ldr x8, [x8, _name@GOTPAGEOFF]
str x8, [x9]
adrp x8, _out@GOTPAGE
ldr x8, [x8, _out@GOTPAGEOFF]
str x8, [x9, #8]
adrp x8, _datatype@GOTPAGE
ldr x8, [x8, _datatype@GOTPAGEOFF]
str x8, [x9, #16]
adrp x0, l_.str.40@PAGE
add x0, x0, l_.str.40@PAGEOFF
bl _printf
b LBB9_1
LBB9_12:
stur wzr, [x29, #-4]
b LBB9_13
LBB9_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "char"
l_.str.1: ; @.str.1
.asciz "int"
l_.str.2: ; @.str.2
.asciz "float"
l_.str.3: ; @.str.3
.asciz "double"
l_.str.4: ; @.str.4
.asciz "short"
l_.str.5: ; @.str.5
.asciz "long"
l_.str.6: ; @.str.6
.asciz "short int"
l_.str.7: ; @.str.7
.asciz "long int"
l_.str.8: ; @.str.8
.asciz "long long"
l_.str.9: ; @.str.9
.asciz "long double"
l_.str.10: ; @.str.10
.asciz "signed"
l_.str.11: ; @.str.11
.asciz "unsigned"
l_.str.12: ; @.str.12
.asciz "signed int"
l_.str.13: ; @.str.13
.asciz "unsigned int"
l_.str.14: ; @.str.14
.asciz "signed char"
l_.str.15: ; @.str.15
.asciz "unsigned char"
l_.str.16: ; @.str.16
.asciz "struct"
.section __TEXT,__const
l_.str.17: ; @.str.17
.space 2
.section __DATA,__data
.globl _types ; @types
.p2align 3
_types:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.section __TEXT,__cstring,cstring_literals
l_.str.18: ; @.str.18
.asciz "static"
l_.str.19: ; @.str.19
.asciz "const"
l_.str.20: ; @.str.20
.asciz "register"
.section __DATA,__data
.globl _type_modifiers ; @type_modifiers
.p2align 3
_type_modifiers:
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.17
.globl _errsym ; @errsym
_errsym:
.asciz "{};="
.globl _bufp ; @bufp
.zerofill __DATA,__common,_bufp,4,2
.comm _buf,100,0 ; @buf
.section __TEXT,__cstring,cstring_literals
l_.str.21: ; @.str.21
.asciz "ungetch: too many characters\n"
.comm _token,100,0 ; @token
l_.str.22: ; @.str.22
.asciz "()"
.comm _tokentype,4,2 ; @tokentype
l_.str.23: ; @.str.23
.asciz "error[2]: some error symbol inserted\n"
.comm _out,1000,0 ; @out
l_.str.24: ; @.str.24
.asciz " pointer to"
l_.str.25: ; @.str.25
.asciz "error: missing ')'\n"
.comm _name,100,0 ; @name
l_.str.26: ; @.str.26
.asciz "error: name should not be the same as type or type modifier.\n"
l_.str.27: ; @.str.27
.asciz "error: expected name or ( dcl )\n"
l_.str.28: ; @.str.28
.asciz " function returning"
l_.str.29: ; @.str.29
.asciz " array"
l_.str.30: ; @.str.30
.asciz " of"
.comm _token_tmp,100,0 ; @token_tmp
l_.str.31: ; @.str.31
.asciz " function ("
l_.str.32: ; @.str.32
.asciz ","
l_.str.33: ; @.str.33
.asciz ") returning"
l_.str.34: ; @.str.34
.asciz "error: something wrong with function`s argument types\n"
l_.str.35: ; @.str.35
.asciz "error[3]: some error symbol inserted\n"
l_.str.36: ; @.str.36
.asciz " "
l_.str.37: ; @.str.37
.asciz "error[1]: some error symbol inserted\n"
l_.str.38: ; @.str.38
.asciz "error: return type needed at first position\n"
.comm _datatype,100,0 ; @datatype
l_.str.39: ; @.str.39
.asciz "syntax error in/after '%s'-token\n"
l_.str.40: ; @.str.40
.asciz "%s: %s %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check_type ## -- Begin function check_type
.p2align 4, 0x90
_check_type: ## @check_type
.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, -28(%rbp)
movl $0, -24(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rcx
leaq _type_modifiers(%rip), %rax
movq (%rax,%rcx,8), %rdi
leaq l_.str.17(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -20(%rbp), %rcx
leaq _type_modifiers(%rip), %rax
movq (%rax,%rcx,8), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -32(%rbp)
movslq -20(%rbp), %rcx
leaq _type_modifiers(%rip), %rax
movq (%rax,%rcx,8), %rdi
movq -16(%rbp), %rsi
movslq -32(%rbp), %rdx
callq _strncmp
cmpl $0, %eax
jne LBB0_4
## %bb.3:
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
addq %rcx, %rax
addq $1, %rax
movq %rax, -16(%rbp)
movl $1, -28(%rbp)
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_5:
jmp LBB0_6
LBB0_6:
jmp LBB0_7
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $32, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB0_7
LBB0_9:
jmp LBB0_10
LBB0_10: ## =>This Inner Loop Header: Depth=1
movslq -24(%rbp), %rcx
leaq _types(%rip), %rax
movq (%rax,%rcx,8), %rdi
leaq l_.str.17(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_14
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movslq -24(%rbp), %rcx
leaq _types(%rip), %rax
movq (%rax,%rcx,8), %rdi
movq -16(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_13
## %bb.12:
jmp LBB0_17
LBB0_13: ## in Loop: Header=BB0_10 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_10
LBB0_14:
cmpl $1, -28(%rbp)
jne LBB0_16
## %bb.15:
movl $-1, -4(%rbp)
jmp LBB0_18
LBB0_16:
movl $1, -4(%rbp)
jmp LBB0_18
LBB0_17:
movl $0, -4(%rbp)
LBB0_18:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_errsym ## -- Begin function check_errsym
.p2align 4, 0x90
_check_errsym: ## @check_errsym
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -5(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movslq -12(%rbp), %rcx
leaq _errsym(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -12(%rbp)
movslq %eax, %rcx
leaq _errsym(%rip), %rax
movsbl (%rax,%rcx), %eax
movsbl -5(%rbp), %ecx
cmpl %ecx, %eax
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl $1, -16(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_5:
cmpl $0, -16(%rbp)
je LBB1_7
## %bb.6:
movl $1, -4(%rbp)
jmp LBB1_8
LBB1_7:
movl $0, -4(%rbp)
LBB1_8:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getch ## -- Begin function getch
.p2align 4, 0x90
_getch: ## @getch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
cmpl $0, _bufp(%rip)
jle LBB2_2
## %bb.1:
movl _bufp(%rip), %eax
addl $-1, %eax
movl %eax, _bufp(%rip)
movslq %eax, %rcx
movq _buf@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
movl %eax, -4(%rbp) ## 4-byte Spill
jmp LBB2_3
LBB2_2:
callq _getchar
movl %eax, -4(%rbp) ## 4-byte Spill
LBB2_3:
movl -4(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ungetch ## -- Begin function ungetch
.p2align 4, 0x90
_ungetch: ## @ungetch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $100, _bufp(%rip)
jl LBB3_2
## %bb.1:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB3_3
LBB3_2:
movl -4(%rbp), %eax
movb %al, %dl
movl _bufp(%rip), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, _bufp(%rip)
movslq %eax, %rcx
movq _buf@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
LBB3_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ungetstr ## -- Begin function ungetstr
.p2align 4, 0x90
_ungetstr: ## @ungetstr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -12(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jle LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %edi
callq _ungetch
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB4_1
LBB4_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gettoken ## -- Begin function gettoken
.p2align 4, 0x90
_gettoken: ## @gettoken
.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 _token@GOTPCREL(%rip), %rax
movq %rax, -16(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
callq _getch
movl %eax, %ecx
movl %ecx, -8(%rbp)
movb $1, %al
cmpl $32, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB5_3
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
cmpl $9, -8(%rbp)
sete %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB5_3: ## in Loop: Header=BB5_1 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB5_4
jmp LBB5_5
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_1
LBB5_5:
cmpl $40, -8(%rbp)
jne LBB5_9
## %bb.6:
callq _getch
movl %eax, -8(%rbp)
cmpl $41, %eax
jne LBB5_8
## %bb.7:
movq _token@GOTPCREL(%rip), %rdi
leaq L_.str.22(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
movq _tokentype@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl $1, -4(%rbp)
jmp LBB5_27
LBB5_8:
movl -8(%rbp), %edi
callq _ungetch
movq _tokentype@GOTPCREL(%rip), %rax
movl $40, (%rax)
movl $40, -4(%rbp)
jmp LBB5_27
LBB5_9:
cmpl $91, -8(%rbp)
jne LBB5_19
## %bb.10:
movl -8(%rbp), %eax
movb %al, %cl
movq -16(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -16(%rbp)
movb %cl, (%rax)
LBB5_11: ## =>This Inner Loop Header: Depth=1
callq _getch
## kill: def $al killed $al killed $eax
movq -16(%rbp), %rcx
movb %al, (%rcx)
movsbl %al, %eax
cmpl $93, %eax
je LBB5_18
## %bb.12: ## in Loop: Header=BB5_11 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _isalnum
cmpl $0, %eax
jne LBB5_14
## %bb.13:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb $0, 1(%rax)
movq _tokentype@GOTPCREL(%rip), %rax
movl $4, (%rax)
movl $4, -4(%rbp)
jmp LBB5_27
LBB5_14: ## in Loop: Header=BB5_11 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _check_errsym
cmpl $0, %eax
je LBB5_16
## %bb.15:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb $0, 1(%rax)
movq _tokentype@GOTPCREL(%rip), %rax
movl $4, (%rax)
movl $4, -4(%rbp)
jmp LBB5_27
LBB5_16: ## in Loop: Header=BB5_11 Depth=1
jmp LBB5_17
LBB5_17: ## in Loop: Header=BB5_11 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB5_11
LBB5_18:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb $0, 1(%rax)
movq _tokentype@GOTPCREL(%rip), %rax
movl $2, (%rax)
movl $2, -4(%rbp)
jmp LBB5_27
LBB5_19:
movl -8(%rbp), %edi
callq _isalpha
cmpl $0, %eax
je LBB5_24
## %bb.20:
movl -8(%rbp), %eax
movb %al, %cl
movq -16(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -16(%rbp)
movb %cl, (%rax)
LBB5_21: ## =>This Inner Loop Header: Depth=1
callq _getch
movl %eax, %edi
movl %edi, -8(%rbp)
callq _isalnum
cmpl $0, %eax
je LBB5_23
## %bb.22: ## in Loop: Header=BB5_21 Depth=1
movl -8(%rbp), %eax
movb %al, %cl
movq -16(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -16(%rbp)
movb %cl, (%rax)
jmp LBB5_21
LBB5_23:
movq -16(%rbp), %rax
movb $0, (%rax)
movl -8(%rbp), %edi
callq _ungetch
movq _tokentype@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl $0, -4(%rbp)
jmp LBB5_27
LBB5_24:
movl -8(%rbp), %eax
## kill: def $al killed $al killed $eax
movsbl %al, %edi
callq _check_errsym
cmpl $0, %eax
je LBB5_26
## %bb.25:
movq _tokentype@GOTPCREL(%rip), %rax
movl $4, (%rax)
movl $4, -4(%rbp)
jmp LBB5_27
LBB5_26:
movl -8(%rbp), %eax
movq _tokentype@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %eax, -4(%rbp)
LBB5_27:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dcl ## -- Begin function dcl
.p2align 4, 0x90
_dcl: ## @dcl
.cfi_startproc
## %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)
LBB6_1: ## =>This Inner Loop Header: Depth=1
callq _gettoken
cmpl $42, %eax
jne LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB6_1
LBB6_3:
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $4, (%rax)
jne LBB6_5
## %bb.4:
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB6_10
LBB6_5:
callq _dirdcl
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $4, (%rax)
jne LBB6_7
## %bb.6:
jmp LBB6_10
LBB6_7:
jmp LBB6_8
LBB6_8: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -4(%rbp)
cmpl $0, %eax
jle LBB6_10
## %bb.9: ## in Loop: Header=BB6_8 Depth=1
movq _out@GOTPCREL(%rip), %rdi
leaq L_.str.24(%rip), %rsi
movl $1000, %edx ## imm = 0x3E8
callq ___strcat_chk
jmp LBB6_8
LBB6_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dirdcl ## -- Begin function dirdcl
.p2align 4, 0x90
_dirdcl: ## @dirdcl
.cfi_startproc
## %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 _tokentype@GOTPCREL(%rip), %rax
cmpl $40, (%rax)
jne LBB7_4
## %bb.1:
callq _dcl
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $41, (%rax)
je LBB7_3
## %bb.2:
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
movq _tokentype@GOTPCREL(%rip), %rax
movl $4, (%rax)
jmp LBB7_35
LBB7_3:
jmp LBB7_11
LBB7_4:
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB7_9
## %bb.5:
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $1, %eax
jne LBB7_7
## %bb.6:
movq _name@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
jmp LBB7_8
LBB7_7:
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
movq _tokentype@GOTPCREL(%rip), %rax
movl $4, (%rax)
jmp LBB7_35
LBB7_8:
jmp LBB7_10
LBB7_9:
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _printf
movq _tokentype@GOTPCREL(%rip), %rax
movl $4, (%rax)
jmp LBB7_35
LBB7_10:
jmp LBB7_11
LBB7_11:
jmp LBB7_12
LBB7_12: ## =>This Inner Loop Header: Depth=1
callq _gettoken
movl %eax, %ecx
movl %ecx, -4(%rbp)
movb $1, %al
cmpl $1, %ecx
movb %al, -6(%rbp) ## 1-byte Spill
je LBB7_14
## %bb.13: ## in Loop: Header=BB7_12 Depth=1
cmpl $2, -4(%rbp)
sete %al
movb %al, -6(%rbp) ## 1-byte Spill
LBB7_14: ## in Loop: Header=BB7_12 Depth=1
movb -6(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB7_15
jmp LBB7_19
LBB7_15: ## in Loop: Header=BB7_12 Depth=1
cmpl $1, -4(%rbp)
jne LBB7_17
## %bb.16: ## in Loop: Header=BB7_12 Depth=1
movq _out@GOTPCREL(%rip), %rdi
leaq L_.str.28(%rip), %rsi
movl $1000, %edx ## imm = 0x3E8
callq ___strcat_chk
jmp LBB7_18
LBB7_17: ## in Loop: Header=BB7_12 Depth=1
movq _out@GOTPCREL(%rip), %rdi
leaq L_.str.29(%rip), %rsi
movl $1000, %edx ## imm = 0x3E8
callq ___strcat_chk
movq _out@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $1000, %edx ## imm = 0x3E8
callq ___strcat_chk
movq _out@GOTPCREL(%rip), %rdi
leaq L_.str.30(%rip), %rsi
movl $1000, %edx ## imm = 0x3E8
callq ___strcat_chk
LBB7_18: ## in Loop: Header=BB7_12 Depth=1
jmp LBB7_12
LBB7_19:
cmpl $40, -4(%rbp)
jne LBB7_32
## %bb.20:
callq _gettoken
cmpl $0, %eax
jne LBB7_32
## %bb.21:
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $0, %eax
jne LBB7_32
## %bb.22:
movq _token_tmp@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _token_tmp@GOTPCREL(%rip), %rdi
leaq L_.str.31(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
movq _token_tmp@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
LBB7_23: ## =>This Inner Loop Header: Depth=1
callq _gettoken
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
movsbl %al, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $44, %ecx
movb %al, -7(%rbp) ## 1-byte Spill
jne LBB7_26
## %bb.24: ## in Loop: Header=BB7_23 Depth=1
callq _gettoken
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -7(%rbp) ## 1-byte Spill
jne LBB7_26
## %bb.25: ## in Loop: Header=BB7_23 Depth=1
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $0, %eax
sete %al
movb %al, -7(%rbp) ## 1-byte Spill
LBB7_26: ## in Loop: Header=BB7_23 Depth=1
movb -7(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB7_27
jmp LBB7_28
LBB7_27: ## in Loop: Header=BB7_23 Depth=1
movq _token_tmp@GOTPCREL(%rip), %rdi
leaq L_.str.32(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
movq _token_tmp@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB7_23
LBB7_28:
movsbl -5(%rbp), %eax
cmpl $41, %eax
jne LBB7_30
## %bb.29:
movq _token_tmp@GOTPCREL(%rip), %rdi
leaq L_.str.33(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB7_31
LBB7_30:
leaq L_.str.34(%rip), %rdi
movb $0, %al
callq _printf
movq _token_tmp@GOTPCREL(%rip), %rdi
callq _ungetstr
jmp LBB7_35
LBB7_31:
movq _out@GOTPCREL(%rip), %rdi
movq _token_tmp@GOTPCREL(%rip), %rsi
movl $1000, %edx ## imm = 0x3E8
callq ___strcat_chk
callq _gettoken
jmp LBB7_35
LBB7_32:
cmpl $4, -4(%rbp)
jne LBB7_34
## %bb.33:
leaq L_.str.35(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB7_35
LBB7_34:
jmp LBB7_35
LBB7_35:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gettokentype ## -- Begin function gettokentype
.p2align 4, 0x90
_gettokentype: ## @gettokentype
.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, -12(%rbp)
movl $0, -16(%rbp)
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $1, %eax
jne LBB8_2
## %bb.1:
movq _tokentype@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl $0, -4(%rbp)
jmp LBB8_36
LBB8_2:
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $-1, %eax
jne LBB8_4
## %bb.3:
movl $1, -12(%rbp)
movq _token_tmp@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
jmp LBB8_7
LBB8_4:
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $0, %eax
jne LBB8_6
## %bb.5:
movl $1, -16(%rbp)
movq _token_tmp@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
LBB8_6:
jmp LBB8_7
LBB8_7:
jmp LBB8_8
LBB8_8:
movq _token@GOTPCREL(%rip), %rax
movb $0, (%rax)
LBB8_9: ## =>This Inner Loop Header: Depth=1
callq _gettoken
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
movsbl %al, %eax
cmpl $-1, %eax
je LBB8_32
## %bb.10: ## in Loop: Header=BB8_9 Depth=1
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB8_20
## %bb.11: ## in Loop: Header=BB8_9 Depth=1
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $0, %eax
jne LBB8_20
## %bb.12: ## in Loop: Header=BB8_9 Depth=1
cmpl $1, -16(%rbp)
je LBB8_14
## %bb.13: ## in Loop: Header=BB8_9 Depth=1
cmpl $1, -12(%rbp)
jne LBB8_15
LBB8_14: ## in Loop: Header=BB8_9 Depth=1
movq _token_tmp@GOTPCREL(%rip), %rdi
leaq L_.str.36(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB8_16
LBB8_15: ## in Loop: Header=BB8_9 Depth=1
movq _token_tmp@GOTPCREL(%rip), %rax
movb $0, (%rax)
LBB8_16: ## in Loop: Header=BB8_9 Depth=1
movq _token_tmp@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
movq _token_tmp@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $0, %eax
jne LBB8_18
## %bb.17: ## in Loop: Header=BB8_9 Depth=1
movl $1, -16(%rbp)
jmp LBB8_19
LBB8_18:
movq _token@GOTPCREL(%rip), %rdi
callq _ungetstr
movq _token_tmp@GOTPCREL(%rip), %rdi
callq _strlen
movq %rax, -24(%rbp) ## 8-byte Spill
movq _token@GOTPCREL(%rip), %rdi
callq _strlen
movq -24(%rbp), %rcx ## 8-byte Reload
subq %rax, %rcx
movq _token_tmp@GOTPCREL(%rip), %rax
movb $0, (%rax,%rcx)
jmp LBB8_33
LBB8_19: ## in Loop: Header=BB8_9 Depth=1
jmp LBB8_31
LBB8_20:
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB8_23
## %bb.21:
movq _token@GOTPCREL(%rip), %rdi
callq _check_type
cmpl $0, %eax
je LBB8_23
## %bb.22:
movq _token@GOTPCREL(%rip), %rdi
callq _ungetstr
jmp LBB8_33
LBB8_23:
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
je LBB8_25
## %bb.24:
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jne LBB8_26
LBB8_25:
movq _token@GOTPCREL(%rip), %rdi
callq _ungetstr
jmp LBB8_33
LBB8_26:
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $40, (%rax)
jne LBB8_28
## %bb.27:
movq _tokentype@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ungetch
jmp LBB8_33
LBB8_28:
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $4, (%rax)
jne LBB8_30
## %bb.29:
movq _token@GOTPCREL(%rip), %rdi
callq _ungetstr
jmp LBB8_33
LBB8_30:
movsbl -5(%rbp), %edi
callq _ungetch
jmp LBB8_33
LBB8_31: ## in Loop: Header=BB8_9 Depth=1
jmp LBB8_9
LBB8_32:
jmp LBB8_33
LBB8_33:
cmpl $1, -16(%rbp)
jne LBB8_35
## %bb.34:
movq _token@GOTPCREL(%rip), %rdi
movq _token_tmp@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
movq _tokentype@GOTPCREL(%rip), %rax
movl $3, (%rax)
movl $3, -4(%rbp)
jmp LBB8_36
LBB8_35:
movq _tokentype@GOTPCREL(%rip), %rax
movl $4, (%rax)
movl $4, -4(%rbp)
LBB8_36:
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 $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
callq _gettoken
cmpl $-1, %eax
je LBB9_12
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $4, (%rax)
jne LBB9_4
## %bb.3:
leaq L_.str.37(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB9_13
LBB9_4: ## in Loop: Header=BB9_1 Depth=1
cmpl $0, -8(%rbp)
jne LBB9_9
## %bb.5: ## in Loop: Header=BB9_1 Depth=1
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB9_7
## %bb.6: ## in Loop: Header=BB9_1 Depth=1
callq _gettokentype
cmpl $3, %eax
je LBB9_8
LBB9_7:
leaq L_.str.38(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB9_13
LBB9_8: ## in Loop: Header=BB9_1 Depth=1
movq _datatype@GOTPCREL(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
movl $1, -8(%rbp)
LBB9_9: ## in Loop: Header=BB9_1 Depth=1
movq _out@GOTPCREL(%rip), %rax
movb $0, (%rax)
callq _dcl
movq _tokentype@GOTPCREL(%rip), %rax
cmpl $10, (%rax)
je LBB9_11
## %bb.10:
leaq L_.str.39(%rip), %rdi
movq _token@GOTPCREL(%rip), %rsi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB9_13
LBB9_11: ## in Loop: Header=BB9_1 Depth=1
leaq L_.str.40(%rip), %rdi
movq _name@GOTPCREL(%rip), %rsi
movq _out@GOTPCREL(%rip), %rdx
movq _datatype@GOTPCREL(%rip), %rcx
movb $0, %al
callq _printf
jmp LBB9_1
LBB9_12:
movl $0, -4(%rbp)
LBB9_13:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "char"
L_.str.1: ## @.str.1
.asciz "int"
L_.str.2: ## @.str.2
.asciz "float"
L_.str.3: ## @.str.3
.asciz "double"
L_.str.4: ## @.str.4
.asciz "short"
L_.str.5: ## @.str.5
.asciz "long"
L_.str.6: ## @.str.6
.asciz "short int"
L_.str.7: ## @.str.7
.asciz "long int"
L_.str.8: ## @.str.8
.asciz "long long"
L_.str.9: ## @.str.9
.asciz "long double"
L_.str.10: ## @.str.10
.asciz "signed"
L_.str.11: ## @.str.11
.asciz "unsigned"
L_.str.12: ## @.str.12
.asciz "signed int"
L_.str.13: ## @.str.13
.asciz "unsigned int"
L_.str.14: ## @.str.14
.asciz "signed char"
L_.str.15: ## @.str.15
.asciz "unsigned char"
L_.str.16: ## @.str.16
.asciz "struct"
.section __TEXT,__const
l_.str.17: ## @.str.17
.space 2
.section __DATA,__data
.globl _types ## @types
.p2align 4
_types:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad l_.str.17
.section __TEXT,__cstring,cstring_literals
L_.str.18: ## @.str.18
.asciz "static"
L_.str.19: ## @.str.19
.asciz "const"
L_.str.20: ## @.str.20
.asciz "register"
.section __DATA,__data
.globl _type_modifiers ## @type_modifiers
.p2align 4
_type_modifiers:
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad l_.str.17
.globl _errsym ## @errsym
_errsym:
.asciz "{};="
.globl _bufp ## @bufp
.zerofill __DATA,__common,_bufp,4,2
.comm _buf,100,4 ## @buf
.section __TEXT,__cstring,cstring_literals
L_.str.21: ## @.str.21
.asciz "ungetch: too many characters\n"
.comm _token,100,4 ## @token
L_.str.22: ## @.str.22
.asciz "()"
.comm _tokentype,4,2 ## @tokentype
L_.str.23: ## @.str.23
.asciz "error[2]: some error symbol inserted\n"
.comm _out,1000,4 ## @out
L_.str.24: ## @.str.24
.asciz " pointer to"
L_.str.25: ## @.str.25
.asciz "error: missing ')'\n"
.comm _name,100,4 ## @name
L_.str.26: ## @.str.26
.asciz "error: name should not be the same as type or type modifier.\n"
L_.str.27: ## @.str.27
.asciz "error: expected name or ( dcl )\n"
L_.str.28: ## @.str.28
.asciz " function returning"
L_.str.29: ## @.str.29
.asciz " array"
L_.str.30: ## @.str.30
.asciz " of"
.comm _token_tmp,100,4 ## @token_tmp
L_.str.31: ## @.str.31
.asciz " function ("
L_.str.32: ## @.str.32
.asciz ","
L_.str.33: ## @.str.33
.asciz ") returning"
L_.str.34: ## @.str.34
.asciz "error: something wrong with function`s argument types\n"
L_.str.35: ## @.str.35
.asciz "error[3]: some error symbol inserted\n"
L_.str.36: ## @.str.36
.asciz " "
L_.str.37: ## @.str.37
.asciz "error[1]: some error symbol inserted\n"
L_.str.38: ## @.str.38
.asciz "error: return type needed at first position\n"
.comm _datatype,100,4 ## @datatype
L_.str.39: ## @.str.39
.asciz "syntax error in/after '%s'-token\n"
L_.str.40: ## @.str.40
.asciz "%s: %s %s\n"
.subsections_via_symbols
| the_stack_data/35096.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]
mov w0, #97
mov w1, #5
mov w2, #6
bl _printch
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
.globl _printch ; -- Begin function printch
.p2align 2
_printch: ; @printch
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-1]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #12]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldursb w0, [x29, #-1]
bl _putchar
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
mov w0, #10
bl _putchar
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\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)
movl $97, %edi
movl $5, %esi
movl $6, %edx
callq _printch
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printch ## -- Begin function printch
.p2align 4, 0x90
_printch: ## @printch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movb %dil, %al
movb %al, -1(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -20(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movsbl -1(%rbp), %edi
callq _putchar
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl $10, %edi
callq _putchar
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n---------------------------------------------\n"
.subsections_via_symbols
| the_stack_data/150915.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _early_returns ; -- Begin function early_returns
.p2align 2
_early_returns: ; @early_returns
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #2
str w8, [sp, #12]
b LBB0_7
LBB0_2:
ldr w8, [sp, #8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_4
LBB0_4:
ldr w8, [sp, #8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #1
str w8, [sp, #12]
b LBB0_7
LBB0_6:
str wzr, [sp, #12]
b LBB0_7
LBB0_7:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _early_returns ## -- Begin function early_returns
.p2align 4, 0x90
_early_returns: ## @early_returns
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
cmpl $2, -8(%rbp)
jne LBB0_2
## %bb.1:
movl $2, -4(%rbp)
jmp LBB0_7
LBB0_2:
cmpl $3, -8(%rbp)
jne LBB0_4
## %bb.3:
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB0_4:
cmpl $4, -8(%rbp)
jne LBB0_6
## %bb.5:
movl $1, -4(%rbp)
jmp LBB0_7
LBB0_6:
movl $0, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/420363.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fizzbuzz ; -- Begin function fizzbuzz
.p2align 2
_fizzbuzz: ; @fizzbuzz
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
mov w10, #3
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur w8, [x29, #-4]
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_8
LBB0_3:
ldur w8, [x29, #-4]
mov w10, #3
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.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_8
LBB0_5:
ldur w8, [x29, #-4]
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_8
LBB0_7:
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_8
LBB0_8:
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 "FizzBuzz\n"
l_.str.1: ; @.str.1
.asciz "Fizz\n"
l_.str.2: ; @.str.2
.asciz "Buzz\n"
l_.str.3: ; @.str.3
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fizzbuzz ## -- Begin function fizzbuzz
.p2align 4, 0x90
_fizzbuzz: ## @fizzbuzz
.cfi_startproc
## %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), %eax
movl $3, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_3
## %bb.1:
movl -4(%rbp), %eax
movl $5, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_3
## %bb.2:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_3:
movl -4(%rbp), %eax
movl $3, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_5
## %bb.4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_5:
movl -4(%rbp), %eax
movl $5, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_7
## %bb.6:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_7:
movl -4(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "FizzBuzz\n"
L_.str.1: ## @.str.1
.asciz "Fizz\n"
L_.str.2: ## @.str.2
.asciz "Buzz\n"
L_.str.3: ## @.str.3
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/48574968.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/29824166.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 w0, #0
stur wzr, [x29, #-4]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _setlocale
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
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 x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_7
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x11, [sp, #16] ; 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_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_8
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_8
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_10
LBB0_10:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_6-Ltmp0
.long LBB0_3-Ltmp0
.long LBB0_4-Ltmp0
.long LBB0_5-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "portuguese"
l_.str.1: ; @.str.1
.asciz "---- MENU ----\n\n"
l_.str.2: ; @.str.2
.asciz "1- Hello World - Ingl\303\252s\n"
l_.str.3: ; @.str.3
.asciz "2- \303\223la Mundo - Portugu\303\252s\n"
l_.str.4: ; @.str.4
.asciz "3- Kon'nichiwa sekai - Japon\303\252s\n"
l_.str.5: ; @.str.5
.asciz "0- Sair\n\n"
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "\tHello World\n\n"
l_.str.8: ; @.str.8
.asciz "\t\303\223la Mundo\n\n"
l_.str.9: ; @.str.9
.asciz "\tKon'nichiwa sekai\n\n"
l_.str.10: ; @.str.10
.asciz "\tProcesso Finalizado\n\n"
l_.str.11: ; @.str.11
.asciz "\tOp\303\247\303\243o Inv\303\241lida\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
xorl %edi, %edi
leaq L_.str(%rip), %rsi
callq _setlocale
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.3(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.4(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.5(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.6(%rip), %rdi
leaq -8(%rbp), %rsi
callq _scanf
movl -8(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB0_6
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.11(%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
cmpl $0, -8(%rbp)
jne LBB0_1
## %bb.9:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_4
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "portuguese"
L_.str.1: ## @.str.1
.asciz "---- MENU ----\n\n"
L_.str.2: ## @.str.2
.asciz "1- Hello World - Ingl\303\252s\n"
L_.str.3: ## @.str.3
.asciz "2- \303\223la Mundo - Portugu\303\252s\n"
L_.str.4: ## @.str.4
.asciz "3- Kon'nichiwa sekai - Japon\303\252s\n"
L_.str.5: ## @.str.5
.asciz "0- Sair\n\n"
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "\tHello World\n\n"
L_.str.8: ## @.str.8
.asciz "\t\303\223la Mundo\n\n"
L_.str.9: ## @.str.9
.asciz "\tKon'nichiwa sekai\n\n"
L_.str.10: ## @.str.10
.asciz "\tProcesso Finalizado\n\n"
L_.str.11: ## @.str.11
.asciz "\tOp\303\247\303\243o Inv\303\241lida\n\n"
.subsections_via_symbols
| the_stack_data/7295.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cgetc2_ ; -- Begin function cgetc2_
.p2align 2
_cgetc2_: ; @cgetc2_
.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
sub x8, x29, #40
str x8, [sp, #40] ; 8-byte Folded Spill
str x0, [x8, #24]
str x1, [x8, #16]
str x2, [x8, #8]
str x3, [x8]
stur x4, [x29, #-48]
stur x5, [x29, #-56]
ldr x9, [x8, #8]
ldr w9, [x9]
stur w9, [x29, #-60]
ldur w9, [x29, #-60]
mov x10, #0
lsr w9, w9, #0
add w9, w9, #1
stur w9, [x29, #-64]
ldursw x11, [x29, #-64]
ldr x9, [x8, #16]
subs x10, x10, x11
add x9, x9, x10, lsl #3
str x9, [x8, #16]
ldr x9, [x8]
subs x9, x9, #4
str x9, [x8]
ldur x9, [x29, #-48]
subs x9, x9, #4
stur x9, [x29, #-48]
ldur x9, [x29, #-56]
str wzr, [x9]
ldr x8, [x8, #24]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
stur wzr, [x29, #-4]
b LBB0_38
LBB0_2:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _slamch_
str s0, [sp, #100]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _slamch_
ldr s1, [sp, #100]
fdiv s0, s0, s1
add x0, sp, #104
str s0, [sp, #104]
ldr s1, [sp, #104]
fmov s0, #1.00000000
fdiv s0, s0, s1
add x1, sp, #108
str s0, [sp, #108]
bl _slabad_
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #24]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x10, [x8]
mov w9, #1
str w9, [x10, #4]
ldur x10, [x29, #-48]
str w9, [x10, #4]
ldr x8, [x8, #16]
ldur w9, [x29, #-60]
add w9, w9, #1
add x0, x8, w9, sxtw #3
bl _Cf
str s0, [sp, #84]
str s1, [sp, #88]
ldr s0, [sp, #84]
ldr s1, [sp, #88]
bl _cabsf
ldr s1, [sp, #104]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x10, [x29, #-56]
mov w9, #1
str w9, [x10]
ldur w9, [x29, #-60]
add w9, w9, #1
stur w9, [x29, #-68]
ldr s0, [sp, #104]
stur s0, [x29, #-88]
movi d0, #0000000000000000
stur s0, [x29, #-84]
ldur s0, [x29, #-88]
ldr x9, [x8, #16]
ldursw x10, [x29, #-68]
lsl x10, x10, #3
str s0, [x9, x10]
ldur s0, [x29, #-84]
ldr x8, [x8, #16]
ldursw x9, [x29, #-68]
add x8, x8, x9, lsl #3
str s0, [x8, #4]
b LBB0_5
LBB0_5:
stur wzr, [x29, #-4]
b LBB0_38
LBB0_6:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #24]
ldr w9, [x8]
mov w8, #1
subs w9, w9, #1
stur w9, [x29, #-68]
stur w8, [x29, #-100]
b LBB0_7
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
; Child Loop BB0_11 Depth 3
; Child Loop BB0_30 Depth 2
ldur w8, [x29, #-100]
ldur w9, [x29, #-68]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_35
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
movi d0, #0000000000000000
stur s0, [x29, #-96]
ldr x8, [x8, #24]
ldr w8, [x8]
stur w8, [x29, #-72]
ldur w8, [x29, #-100]
stur w8, [x29, #-108]
b LBB0_9
LBB0_9: ; Parent Loop BB0_7 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_11 Depth 3
ldur w8, [x29, #-108]
ldur w9, [x29, #-72]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_18
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #24]
ldr w8, [x8]
stur w8, [x29, #-76]
ldur w8, [x29, #-100]
str w8, [sp, #112]
b LBB0_11
LBB0_11: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #112]
ldur w9, [x29, #-76]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_16
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=3
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldur w9, [x29, #-108]
ldr w10, [sp, #112]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #3
bl _Cf
str s0, [sp, #76]
str s1, [sp, #80]
ldr s0, [sp, #76]
ldr s1, [sp, #80]
bl _cabsf
ldur s1, [x29, #-96]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=3
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldur w9, [x29, #-108]
ldr w10, [sp, #112]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #3
bl _Cf
str s0, [sp, #68]
str s1, [sp, #72]
ldr s0, [sp, #68]
ldr s1, [sp, #72]
bl _cabsf
stur s0, [x29, #-96]
ldur w8, [x29, #-108]
str w8, [sp, #96]
ldr w8, [sp, #112]
str w8, [sp, #92]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=3
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_11 Depth=3
ldr w8, [sp, #112]
add w8, w8, #1
str w8, [sp, #112]
b LBB0_11
LBB0_16: ; in Loop: Header=BB0_9 Depth=2
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_9 Depth=2
ldur w8, [x29, #-108]
add w8, w8, #1
stur w8, [x29, #-108]
b LBB0_9
LBB0_18: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-100]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_23
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_7 Depth=1
ldr s0, [sp, #100]
ldur s1, [x29, #-96]
fmul s0, s0, s1
stur s0, [x29, #-80]
ldur s0, [x29, #-80]
ldr s1, [sp, #104]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_7 Depth=1
ldur s0, [x29, #-80]
str s0, [sp, #36] ; 4-byte Folded Spill
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_7 Depth=1
ldr s0, [sp, #104]
str s0, [sp, #36] ; 4-byte Folded Spill
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_7 Depth=1
ldr s0, [sp, #36] ; 4-byte Folded Reload
stur s0, [x29, #-92]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #96]
ldur w9, [x29, #-100]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8, #24]
ldr x9, [x8, #16]
ldr w10, [sp, #96]
ldur w11, [x29, #-60]
add w10, w10, w11
add x1, x9, w10, sxtw #3
ldr x2, [x8, #8]
ldr x9, [x8, #16]
ldur w10, [x29, #-100]
ldur w11, [x29, #-60]
add w10, w10, w11
add x3, x9, w10, sxtw #3
ldr x4, [x8, #8]
bl _cswap_
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_7 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr w8, [sp, #96]
ldr x9, [x9]
ldursw x10, [x29, #-100]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #92]
ldur w9, [x29, #-100]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8, #24]
ldr x9, [x8, #16]
ldr w10, [sp, #92]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w10, w10, #1
add x1, x9, w10, sxtw #3
ldr x8, [x8, #16]
ldur w9, [x29, #-100]
ldur w10, [x29, #-60]
mul w9, w9, w10
add w9, w9, #1
add x3, x8, w9, sxtw #3
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
mov x2, x4
bl _cswap_
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [sp, #92]
ldur x10, [x29, #-48]
ldursw x11, [x29, #-100]
str w9, [x10, x11, lsl #2]
ldr x8, [x8, #16]
ldur w9, [x29, #-100]
ldur w10, [x29, #-100]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #3
bl _Cf
str s0, [sp, #60]
str s1, [sp, #64]
ldr s0, [sp, #60]
ldr s1, [sp, #64]
bl _cabsf
ldur s1, [x29, #-92]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur w9, [x29, #-100]
ldur x10, [x29, #-56]
str w9, [x10]
ldur w9, [x29, #-100]
ldur w10, [x29, #-100]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
stur w9, [x29, #-72]
ldur s0, [x29, #-92]
stur s0, [x29, #-88]
movi d0, #0000000000000000
stur s0, [x29, #-84]
ldur s0, [x29, #-88]
ldr x9, [x8, #16]
ldursw x10, [x29, #-72]
lsl x10, x10, #3
str s0, [x9, x10]
ldur s0, [x29, #-84]
ldr x8, [x8, #16]
ldursw x9, [x29, #-72]
add x8, x8, x9, lsl #3
str s0, [x8, #4]
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #24]
ldr w8, [x8]
stur w8, [x29, #-72]
ldur w8, [x29, #-100]
add w8, w8, #1
stur w8, [x29, #-104]
b LBB0_30
LBB0_30: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-104]
ldur w9, [x29, #-72]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_33
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_30 Depth=2
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur w9, [x29, #-104]
ldur w10, [x29, #-100]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
stur w9, [x29, #-76]
ldr x8, [x8, #16]
ldur w9, [x29, #-104]
ldur w10, [x29, #-100]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #3
bl _Cf
ldr x8, [sp, #40] ; 8-byte Folded Reload
str s0, [sp, #20] ; 4-byte Folded Spill
str s1, [sp, #24] ; 4-byte Folded Spill
ldr x8, [x8, #16]
ldur w9, [x29, #-100]
ldur w10, [x29, #-100]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #3
bl _Cf
fmov s2, s0
ldr s0, [sp, #20] ; 4-byte Folded Reload
fmov s3, s1
ldr s1, [sp, #24] ; 4-byte Folded Reload
bl ___divsc3
str s0, [sp, #28] ; 4-byte Folded Spill
str s1, [sp, #32] ; 4-byte Folded Spill
sub x0, x29, #88
bl __pCf
ldr s0, [sp, #28] ; 4-byte Folded Reload
ldr s1, [sp, #32] ; 4-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
str s0, [x0]
str s1, [x0, #4]
ldur s0, [x29, #-88]
ldr x9, [x8, #16]
ldursw x10, [x29, #-76]
lsl x10, x10, #3
str s0, [x9, x10]
ldur s0, [x29, #-84]
ldr x8, [x8, #16]
ldursw x9, [x29, #-76]
add x8, x8, x9, lsl #3
str s0, [x8, #4]
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_30 Depth=2
ldur w8, [x29, #-104]
add w8, w8, #1
stur w8, [x29, #-104]
b LBB0_30
LBB0_33: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #24]
ldr w9, [x9]
ldur w10, [x29, #-100]
subs w9, w9, w10
sub x0, x29, #72
stur w9, [x29, #-72]
ldr x9, [x8, #24]
ldr w9, [x9]
ldur w10, [x29, #-100]
subs w9, w9, w10
sub x1, x29, #76
stur w9, [x29, #-76]
ldr x9, [x8, #16]
ldur w10, [x29, #-100]
add w10, w10, #1
ldur w11, [x29, #-100]
ldur w12, [x29, #-60]
mul w11, w11, w12
add w10, w10, w11
add x3, x9, w10, sxtw #3
ldr x9, [x8, #16]
ldur w10, [x29, #-100]
ldur w11, [x29, #-100]
add w11, w11, #1
ldur w12, [x29, #-60]
mul w11, w11, w12
add w10, w10, w11
add x5, x9, w10, sxtw #3
ldr x6, [x8, #8]
ldr x9, [x8, #16]
ldur w10, [x29, #-100]
add w10, w10, #1
ldur w11, [x29, #-100]
add w11, w11, #1
ldur w12, [x29, #-60]
mul w11, w11, w12
add w10, w10, w11
add x7, x9, w10, sxtw #3
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x2, _c_b10@PAGE
add x2, x2, _c_b10@PAGEOFF
adrp x4, _c__1@PAGE
add x4, x4, _c__1@PAGEOFF
bl _cgeru_
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-100]
add w8, w8, #1
stur w8, [x29, #-100]
b LBB0_7
LBB0_35:
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #16]
ldr x9, [x10, #24]
ldr w9, [x9]
ldr x10, [x10, #24]
ldr w10, [x10]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
add x0, x8, w9, sxtw #3
bl _Cf
str s0, [sp, #52]
str s1, [sp, #56]
ldr s0, [sp, #52]
ldr s1, [sp, #56]
bl _cabsf
ldur s1, [x29, #-92]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #24]
ldr w9, [x9]
ldur x10, [x29, #-56]
str w9, [x10]
ldr x9, [x8, #24]
ldr w9, [x9]
ldr x10, [x8, #24]
ldr w10, [x10]
ldur w11, [x29, #-60]
mul w10, w10, w11
add w9, w9, w10
stur w9, [x29, #-68]
ldur s0, [x29, #-92]
stur s0, [x29, #-88]
movi d0, #0000000000000000
stur s0, [x29, #-84]
ldur s0, [x29, #-88]
ldr x9, [x8, #16]
ldursw x10, [x29, #-68]
lsl x10, x10, #3
str s0, [x9, x10]
ldur s0, [x29, #-84]
ldr x8, [x8, #16]
ldursw x9, [x29, #-68]
add x8, x8, x9, lsl #3
str s0, [x8, #4]
b LBB0_37
LBB0_37:
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #24]
ldr w8, [x8]
ldr x9, [x10]
ldr x11, [x10, #24]
ldrsw x11, [x11]
str w8, [x9, x11, lsl #2]
ldr x8, [x10, #24]
ldr w8, [x8]
ldur x9, [x29, #-48]
ldr x10, [x10, #24]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
stur wzr, [x29, #-4]
b LBB0_38
LBB0_38:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function Cf
_Cf: ; @Cf
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
ldr s1, [x8]
ldr x8, [sp]
ldr s0, [x8, #4]
movi d2, #0000000000000000
fmul s2, s0, s2
fmov s3, #1.00000000
fmul s0, s0, s3
fadd s1, s1, s2
str s1, [sp, #8]
str s0, [sp, #12]
ldr s0, [sp, #8]
ldr s1, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _pCf
__pCf: ; @_pCf
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "P"
l_.str.1: ; @.str.1
.asciz "S"
.section __DATA,__data
.p2align 2 ; @c__1
_c__1:
.long 1 ; 0x1
.p2align 2 ; @c_b10
_c_b10:
.long 0xbf800000 ; float -1
.long 0x00000000 ; float 0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function cgetc2_
LCPI0_0:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _cgetc2_
.p2align 4, 0x90
_cgetc2_: ## @cgetc2_
.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 %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movl -60(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -64(%rbp)
movl -64(%rbp), %ecx
movq -24(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
addq $-4, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
addq $-4, %rax
movq %rax, -48(%rbp)
movq -56(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
cmpl $0, (%rax)
jne LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_38
LBB0_2:
leaq L_.str(%rip), %rdi
callq _slamch_
movss %xmm0, -124(%rbp)
leaq L_.str.1(%rip), %rdi
callq _slamch_
divss -124(%rbp), %xmm0
movss %xmm0, -120(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -120(%rbp), %xmm0
movss %xmm0, -116(%rbp)
leaq -120(%rbp), %rdi
leaq -116(%rbp), %rsi
callq _slabad_
movq -16(%rbp), %rax
cmpl $1, (%rax)
jne LBB0_6
## %bb.3:
movq -40(%rbp), %rax
movl $1, 4(%rax)
movq -48(%rbp), %rax
movl $1, 4(%rax)
movq -24(%rbp), %rax
movslq -60(%rbp), %rcx
leaq 8(%rax,%rcx,8), %rdi
callq _Cf
movlpd %xmm0, -144(%rbp)
movss -144(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -140(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm1, -152(%rbp)
movss %xmm0, -148(%rbp)
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cabsf
movaps %xmm0, %xmm1
movss -120(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_5
## %bb.4:
movq -56(%rbp), %rax
movl $1, (%rax)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
movss -120(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -88(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -84(%rbp)
movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -68(%rbp), %rcx
movss %xmm0, (%rax,%rcx,8)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -68(%rbp), %rcx
movss %xmm0, 4(%rax,%rcx,8)
LBB0_5:
movl $0, -4(%rbp)
jmp LBB0_38
LBB0_6:
movq -16(%rbp), %rax
movl (%rax), %eax
subl $1, %eax
movl %eax, -68(%rbp)
movl $1, -100(%rbp)
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_11 Depth 3
## Child Loop BB0_30 Depth 2
movl -100(%rbp), %eax
cmpl -68(%rbp), %eax
jg LBB0_35
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -96(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -72(%rbp)
movl -100(%rbp), %eax
movl %eax, -108(%rbp)
LBB0_9: ## Parent Loop BB0_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_11 Depth 3
movl -108(%rbp), %eax
cmpl -72(%rbp), %eax
jg LBB0_18
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -76(%rbp)
movl -100(%rbp), %eax
movl %eax, -112(%rbp)
LBB0_11: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_9 Depth=2
## => This Inner Loop Header: Depth=3
movl -112(%rbp), %eax
cmpl -76(%rbp), %eax
jg LBB0_16
## %bb.12: ## in Loop: Header=BB0_11 Depth=3
movq -24(%rbp), %rax
movl -108(%rbp), %ecx
movl -112(%rbp), %edx
movl -60(%rbp), %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,8), %rdi
callq _Cf
movlpd %xmm0, -160(%rbp)
movss -160(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -156(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm1, -168(%rbp)
movss %xmm0, -164(%rbp)
movsd -168(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cabsf
ucomiss -96(%rbp), %xmm0
jb LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=3
movq -24(%rbp), %rax
movl -108(%rbp), %ecx
movl -112(%rbp), %edx
movl -60(%rbp), %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,8), %rdi
callq _Cf
movlpd %xmm0, -176(%rbp)
movss -176(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -172(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm1, -184(%rbp)
movss %xmm0, -180(%rbp)
movsd -184(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cabsf
movss %xmm0, -96(%rbp)
movl -108(%rbp), %eax
movl %eax, -128(%rbp)
movl -112(%rbp), %eax
movl %eax, -132(%rbp)
LBB0_14: ## in Loop: Header=BB0_11 Depth=3
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_11 Depth=3
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB0_11
LBB0_16: ## in Loop: Header=BB0_9 Depth=2
jmp LBB0_17
LBB0_17: ## in Loop: Header=BB0_9 Depth=2
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB0_9
LBB0_18: ## in Loop: Header=BB0_7 Depth=1
cmpl $1, -100(%rbp)
jne LBB0_23
## %bb.19: ## in Loop: Header=BB0_7 Depth=1
movss -124(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -96(%rbp), %xmm0
movss %xmm0, -80(%rbp)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -120(%rbp), %xmm0
jb LBB0_21
## %bb.20: ## in Loop: Header=BB0_7 Depth=1
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -244(%rbp) ## 4-byte Spill
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_7 Depth=1
movss -120(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -244(%rbp) ## 4-byte Spill
LBB0_22: ## in Loop: Header=BB0_7 Depth=1
movss -244(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -92(%rbp)
LBB0_23: ## in Loop: Header=BB0_7 Depth=1
movl -128(%rbp), %eax
cmpl -100(%rbp), %eax
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_7 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -128(%rbp), %eax
addl -60(%rbp), %eax
cltq
shlq $3, %rax
addq %rax, %rsi
movq -32(%rbp), %rdx
movq -24(%rbp), %rcx
movl -100(%rbp), %eax
addl -60(%rbp), %eax
cltq
shlq $3, %rax
addq %rax, %rcx
movq -32(%rbp), %r8
callq _cswap_
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
movl -128(%rbp), %edx
movq -40(%rbp), %rax
movslq -100(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -132(%rbp), %eax
cmpl -100(%rbp), %eax
je LBB0_27
## %bb.26: ## in Loop: Header=BB0_7 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movl -132(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $3, %rax
addq %rax, %rsi
movq -24(%rbp), %rcx
movl -100(%rbp), %eax
imull -60(%rbp), %eax
addl $1, %eax
cltq
shlq $3, %rax
addq %rax, %rcx
leaq _c__1(%rip), %r8
movq %r8, %rdx
callq _cswap_
LBB0_27: ## in Loop: Header=BB0_7 Depth=1
movl -132(%rbp), %edx
movq -48(%rbp), %rax
movslq -100(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -24(%rbp), %rax
movl -100(%rbp), %ecx
movl -60(%rbp), %esi
movl %ecx, %edx
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,8), %rdi
callq _Cf
movlpd %xmm0, -192(%rbp)
movss -192(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -188(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm1, -200(%rbp)
movss %xmm0, -196(%rbp)
movsd -200(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cabsf
movaps %xmm0, %xmm1
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_29
## %bb.28: ## in Loop: Header=BB0_7 Depth=1
movl -100(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movl -100(%rbp), %eax
movl -100(%rbp), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -72(%rbp)
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -88(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -84(%rbp)
movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -72(%rbp), %rcx
movss %xmm0, (%rax,%rcx,8)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -72(%rbp), %rcx
movss %xmm0, 4(%rax,%rcx,8)
LBB0_29: ## in Loop: Header=BB0_7 Depth=1
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -72(%rbp)
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
LBB0_30: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movl -104(%rbp), %eax
cmpl -72(%rbp), %eax
jg LBB0_33
## %bb.31: ## in Loop: Header=BB0_30 Depth=2
movl -104(%rbp), %eax
movl -100(%rbp), %ecx
movl -60(%rbp), %edx
imull %edx, %ecx
addl %ecx, %eax
movl %eax, -76(%rbp)
movq -24(%rbp), %rax
movl -104(%rbp), %ecx
movl -100(%rbp), %edx
movl -60(%rbp), %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,8), %rdi
callq _Cf
movlpd %xmm0, -208(%rbp)
movss -208(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -256(%rbp) ## 4-byte Spill
movss -204(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -260(%rbp) ## 4-byte Spill
movq -24(%rbp), %rax
movl -100(%rbp), %ecx
movl -60(%rbp), %esi
movl %ecx, %edx
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,8), %rdi
callq _Cf
movss -260(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movaps %xmm0, %xmm2
movss -256(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movlpd %xmm2, -216(%rbp)
movss -216(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -212(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero
callq ___divsc3
movlpd %xmm0, -224(%rbp)
movss -224(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -252(%rbp) ## 4-byte Spill
movss -220(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -248(%rbp) ## 4-byte Spill
leaq -88(%rbp), %rdi
callq __pCf
movss -252(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss -248(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm1, (%rax)
movss %xmm0, 4(%rax)
movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -76(%rbp), %rcx
movss %xmm0, (%rax,%rcx,8)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -76(%rbp), %rcx
movss %xmm0, 4(%rax,%rcx,8)
## %bb.32: ## in Loop: Header=BB0_30 Depth=2
movl -104(%rbp), %eax
addl $1, %eax
movl %eax, -104(%rbp)
jmp LBB0_30
LBB0_33: ## in Loop: Header=BB0_7 Depth=1
movq -16(%rbp), %rax
movl (%rax), %eax
subl -100(%rbp), %eax
movl %eax, -72(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
subl -100(%rbp), %eax
movl %eax, -76(%rbp)
movq -24(%rbp), %rcx
movl -100(%rbp), %eax
addl $1, %eax
movl -100(%rbp), %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $3, %rax
addq %rax, %rcx
movq -24(%rbp), %r9
movl -100(%rbp), %eax
movl -100(%rbp), %edx
addl $1, %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $3, %rax
addq %rax, %r9
movq -32(%rbp), %r11
movq -24(%rbp), %r10
movl -100(%rbp), %eax
addl $1, %eax
movl -100(%rbp), %edx
addl $1, %edx
imull -60(%rbp), %edx
addl %edx, %eax
cltq
shlq $3, %rax
addq %rax, %r10
movq -32(%rbp), %rax
leaq -72(%rbp), %rdi
leaq -76(%rbp), %rsi
leaq _c_b10(%rip), %rdx
leaq _c__1(%rip), %r8
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
callq _cgeru_
## %bb.34: ## in Loop: Header=BB0_7 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB0_7
LBB0_35:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
movl -60(%rbp), %esi
movl %ecx, %edx
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,8), %rdi
callq _Cf
movlpd %xmm0, -232(%rbp)
movss -232(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -228(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm1, -240(%rbp)
movss %xmm0, -236(%rbp)
movsd -240(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cabsf
movaps %xmm0, %xmm1
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_37
## %bb.36:
movq -16(%rbp), %rax
movl (%rax), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movl (%rax), %eax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
imull -60(%rbp), %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -88(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -84(%rbp)
movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -68(%rbp), %rcx
movss %xmm0, (%rax,%rcx,8)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movslq -68(%rbp), %rcx
movss %xmm0, 4(%rax,%rcx,8)
LBB0_37:
movq -16(%rbp), %rax
movl (%rax), %edx
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq -16(%rbp), %rax
movl (%rax), %edx
movq -48(%rbp), %rax
movq -16(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movl $0, -4(%rbp)
LBB0_38:
movl -4(%rbp), %eax
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function Cf
_Cf: ## @Cf
.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
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm3, %xmm3
movaps %xmm0, %xmm2
mulss %xmm3, %xmm2
addss %xmm2, %xmm1
movss %xmm1, -8(%rbp)
movss %xmm0, -4(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _pCf
__pCf: ## @_pCf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "P"
L_.str.1: ## @.str.1
.asciz "S"
.section __DATA,__data
.p2align 2 ## @c__1
_c__1:
.long 1 ## 0x1
.p2align 2 ## @c_b10
_c_b10:
.long 0xbf800000 ## float -1
.long 0x00000000 ## float 0
.subsections_via_symbols
| the_stack_data/200141860.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getname ; -- Begin function getname
.p2align 2
_getname: ; @getname
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
sub x1, x29, #20
str x1, [sp, #8] ; 8-byte Folded Spill
bl _inet_aton
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #4
mov w2, #2
bl _gethostbyaddr
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x9, _alive@GOTPAGE
ldr x9, [x9, _alive@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr x8, [sp, #16]
ldr x8, [x8]
stur x8, [x29, #-8]
b LBB0_3
LBB0_2:
adrp x9, _inactive@GOTPAGE
ldr x9, [x9, _inactive@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-8]
b LBB0_3
LBB0_3:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _scanner ; -- Begin function scanner
.p2align 2
_scanner: ; @scanner
.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 w0, [sp, #60]
str w1, [sp, #56]
str wzr, [sp, #52]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x8, _addr_byte_0@GOTPAGE
ldr x8, [x8, _addr_byte_0@GOTPAGEOFF]
ldr w8, [x8]
; implicit-def: $x12
mov x12, x8
adrp x8, _addr_byte_1@GOTPAGE
ldr x8, [x8, _addr_byte_1@GOTPAGEOFF]
ldr w8, [x8]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #60]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
add x0, sp, #64
str x0, [sp, #32] ; 8-byte Folded Spill
mov w1, #0
mov x2, #200
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _getname
str x0, [sp, #40]
adrp x9, _scanned@GOTPAGE
ldr x9, [x9, _scanned@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #40]
adrp x9, l_.str@PAGE
add x9, x9, l_.str@PAGEOFF
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #40]
mov x9, sp
str x8, [x9]
add x8, sp, #64
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_7
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
mov x9, sp
add x8, sp, #64
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB1_1
LBB1_10:
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_12
b LBB1_11
LBB1_11:
bl ___stack_chk_fail
LBB1_12:
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
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.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.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
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
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function end
lCPI3_0:
.quad 0x408f400000000000 ; double 1000
.section __TEXT,__text,regular,pure_instructions
.globl _end
.p2align 2
_end: ; @end
.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 x0, _tempo2@GOTPAGE
ldr x0, [x0, _tempo2@GOTPAGEOFF]
str x0, [sp, #24] ; 8-byte Folded Spill
adrp x8, _tempo1@GOTPAGE
ldr x8, [x8, _tempo1@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
mov x1, #0
bl _gettimeofday
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x10, [x29, #-16] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x11, [x10]
subs x11, x9, x11
adrp x9, _elapsed_seconds@GOTPAGE
ldr x9, [x9, _elapsed_seconds@GOTPAGEOFF]
str x11, [x9]
ldr w8, [x8, #8]
ldr w10, [x10, #8]
subs w10, w8, w10
; implicit-def: $x8
mov x8, x10
sxtw x10, w8
adrp x8, _elapsed_useconds@GOTPAGE
ldr x8, [x8, _elapsed_useconds@GOTPAGEOFF]
str x10, [x8]
ldr x9, [x9]
mov x10, #1000
mul x9, x9, x10
scvtf d0, x9
ldr d1, [x8]
scvtf d1, d1
adrp x8, lCPI3_0@PAGE
ldr d2, [x8, lCPI3_0@PAGEOFF]
fdiv d1, d1, d2
fadd d0, d0, d1
fmov d1, #0.50000000
fadd d0, d0, d1
fcvtzs x8, d0
adrp x9, _elapsed_mtime@GOTPAGE
ldr x9, [x9, _elapsed_mtime@GOTPAGEOFF]
stur x9, [x29, #-8] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
adrp x8, _scanned@GOTPAGE
ldr x8, [x8, _scanned@GOTPAGEOFF]
ldr w8, [x8]
; implicit-def: $x11
mov x11, x8
adrp x8, _alive@GOTPAGE
ldr x8, [x8, _alive@GOTPAGEOFF]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
adrp x8, _inactive@GOTPAGE
ldr x8, [x8, _inactive@GOTPAGEOFF]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldur x8, [x29, #-8] ; 8-byte Folded Reload
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@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, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-52]
stur w0, [x29, #-56]
stur x1, [x29, #-64]
mov x9, sp
adrp x8, l_.str.17@PAGE
add x8, x8, l_.str.17@PAGEOFF
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
adrp x0, _tempo1@GOTPAGE
ldr x0, [x0, _tempo1@GOTPAGEOFF]
mov x1, #0
bl _gettimeofday
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
stur x8, [x29, #-80]
ldur w8, [x29, #-56]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
bl _usage
b LBB4_2
LBB4_2:
ldur w8, [x29, #-56]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
adrp x8, l_.str.19@PAGE
add x8, x8, l_.str.19@PAGEOFF
str x8, [sp, #88]
b LBB4_5
LBB4_4:
ldur x8, [x29, #-64]
ldr x8, [x8, #16]
str x8, [sp, #88]
b LBB4_5
LBB4_5:
ldur x8, [x29, #-64]
ldr x0, [x8, #8]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
mov x2, #6
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6:
bl _usage
b LBB4_7
LBB4_7:
str wzr, [sp, #68]
b LBB4_8
LBB4_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #68]
ldur w9, [x29, #-56]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_14
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_8 Depth=1
ldur x8, [x29, #-64]
ldrsw x9, [sp, #68]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
mov x2, #9
bl _strncmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_8 Depth=1
str wzr, [sp, #72]
b LBB4_12
LBB4_11: ; in Loop: Header=BB4_8 Depth=1
mov w8, #1
str w8, [sp, #72]
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_8 Depth=1
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_8 Depth=1
ldr w8, [sp, #68]
add w8, w8, #1
str w8, [sp, #68]
b LBB4_8
LBB4_14:
ldur x8, [x29, #-64]
ldr x0, [x8, #8]
ldur x1, [x29, #-80]
bl _strtok
stur x0, [x29, #-72]
ldur x0, [x29, #-72]
bl _atol
adrp x9, _addr_byte_0@GOTPAGE
ldr x9, [x9, _addr_byte_0@GOTPAGEOFF]
mov x8, x0
str w8, [x9]
ldur x1, [x29, #-80]
mov x0, #0
bl _strtok
stur x0, [x29, #-72]
ldur x0, [x29, #-72]
bl _atol
adrp x9, _addr_byte_1@GOTPAGE
ldr x9, [x9, _addr_byte_1@GOTPAGEOFF]
mov x8, x0
str w8, [x9]
adrp x8, l_.str.22@PAGE
add x8, x8, l_.str.22@PAGEOFF
str x8, [sp, #56]
adrp x8, l___const.main.subrangearg@PAGE
add x8, x8, l___const.main.subrangearg@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-48]
ldr w8, [x8, #16]
stur w8, [x29, #-32]
adrp x8, l_.str.23@PAGE
add x8, x8, l_.str.23@PAGEOFF
str x8, [sp, #48]
ldr x0, [sp, #56]
ldr x1, [sp, #88]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_18
b LBB4_15
LBB4_15:
ldur x8, [x29, #-64]
ldr x0, [x8, #24]
bl _atoi
subs w8, w0, #1
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB4_17
b LBB4_16
LBB4_16:
ldur x8, [x29, #-64]
ldr x8, [x8, #24]
mov x9, sp
adrp x10, l_.str.25@PAGE
add x10, x10, l_.str.25@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB4_17:
ldur x8, [x29, #-64]
ldr x0, [x8, #24]
bl _atoi
ldr w1, [sp, #72]
bl _scanner
bl _end
mov w0, #1
bl _exit
LBB4_18:
ldr x1, [sp, #88]
sub x0, x29, #48
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_35
b LBB4_19
LBB4_19:
ldur x8, [x29, #-64]
ldr x0, [x8, #24]
ldr x1, [sp, #48]
bl _strtok
str x0, [sp, #40]
ldr x1, [sp, #48]
mov x0, #0
bl _strtok
str x0, [sp, #32]
ldr x0, [sp, #40]
bl _atoi
subs w8, w0, #1
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB4_21
b LBB4_20
LBB4_20:
ldr x8, [sp, #40]
mov x9, sp
adrp x10, l_.str.25@PAGE
add x10, x10, l_.str.25@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB4_21:
ldr x0, [sp, #32]
bl _atoi
subs w8, w0, #1
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB4_23
b LBB4_22
LBB4_22:
ldr x8, [sp, #32]
mov x9, sp
adrp x10, l_.str.25@PAGE
add x10, x10, l_.str.25@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB4_23:
ldr x0, [sp, #40]
bl _atoi
str w0, [sp, #28]
ldr x0, [sp, #32]
bl _atoi
str w0, [sp, #24]
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_25
b LBB4_24
LBB4_24:
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #84]
ldr w8, [sp, #24]
str w8, [sp, #80]
b LBB4_28
LBB4_25:
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_27
b LBB4_26
LBB4_26:
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #84]
ldr w8, [sp, #28]
str w8, [sp, #80]
b LBB4_27
LBB4_27:
b LBB4_28
LBB4_28:
ldr w8, [sp, #84]
subs w8, w8, #256
cset w8, lt
tbnz w8, #0, LBB4_30
b LBB4_29
LBB4_29:
ldr w8, [sp, #80]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #84]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB4_30:
ldr w8, [sp, #80]
str w8, [sp, #76]
b LBB4_31
LBB4_31: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #76]
ldr w9, [sp, #84]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_34
b LBB4_32
LBB4_32: ; in Loop: Header=BB4_31 Depth=1
ldr w0, [sp, #76]
ldr w1, [sp, #72]
bl _scanner
b LBB4_33
LBB4_33: ; in Loop: Header=BB4_31 Depth=1
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB4_31
LBB4_34:
bl _end
mov w0, #1
bl _exit
LBB4_35:
b LBB4_36
LBB4_36:
mov x9, sp
adrp x8, l_.str.28@PAGE
add x8, x8, l_.str.28@PAGEOFF
str x8, [x9]
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
mov x9, sp
adrp x8, l_.str.30@PAGE
add x8, x8, l_.str.30@PAGEOFF
str x8, [x9]
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB4_37
LBB4_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB4_40
b LBB4_38
LBB4_38: ; in Loop: Header=BB4_37 Depth=1
ldr w0, [sp, #20]
ldr w1, [sp, #72]
bl _scanner
b LBB4_39
LBB4_39: ; in Loop: Header=BB4_37 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB4_37
LBB4_40:
bl _end
ldur w8, [x29, #-52]
str w8, [sp, #16] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_42
b LBB4_41
LBB4_41:
bl ___stack_chk_fail
LBB4_42:
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.comm _alive,4,2 ; @alive
.comm _inactive,4,2 ; @inactive
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "None"
l_.str.1: ; @.str.1
.asciz "%d.%d.%d.%d"
.comm _addr_byte_0,4,2 ; @addr_byte_0
.comm _addr_byte_1,4,2 ; @addr_byte_1
.comm _scanned,4,2 ; @scanned
l_.str.2: ; @.str.2
.asciz "[\033[1;34m\342\200\242\033[00m] Subnet: %d\r"
l_.str.3: ; @.str.3
.asciz "[\033[1;32m\342\200\242\033[00m] %s is at %s\n"
l_.str.4: ; @.str.4
.asciz "[\033[1;32m\342\200\242\033[00m] %s\n"
l_.str.5: ; @.str.5
.asciz "Usage: nscan <address-range> [--subnet] [--subnet-range]\n\n"
l_.str.6: ; @.str.6
.asciz "Author: Dylan Halls <[email protected]>\n\n"
l_.str.7: ; @.str.7
.asciz "- Nscan will perform a silent scan of the network to find active nodes\n"
l_.str.8: ; @.str.8
.asciz "- Address range should be formed with last two bytes stared e.g. 192.168.*.* or 10.0.*.*\n\n"
l_.str.9: ; @.str.9
.asciz "--subnet - subnet wished to be scanned\n"
l_.str.10: ; @.str.10
.asciz "--subnet-range - the range of subnets wished to be scanned e.g. 78-98\n"
l_.str.11: ; @.str.11
.asciz "--ip-only - this will only display the ip when found\n"
l_.str.12: ; @.str.12
.asciz "--help - display this message and exit\n"
.comm _tempo2,16,3 ; @tempo2
.comm _tempo1,16,3 ; @tempo1
.comm _elapsed_seconds,8,3 ; @elapsed_seconds
.comm _elapsed_useconds,8,3 ; @elapsed_useconds
.comm _elapsed_mtime,8,3 ; @elapsed_mtime
l_.str.13: ; @.str.13
.asciz "\n--- Nscan statistics ---\n"
l_.str.14: ; @.str.14
.asciz "%d nodes scanned, %d alive nodes, %d inactive nodes\n"
l_.str.15: ; @.str.15
.asciz "time scanning %ldms\n"
l_.str.16: ; @.str.16
.asciz "\033[1;3m%s\033[00m\n"
l_.str.17: ; @.str.17
.asciz "Nscan v1\n"
l_.str.18: ; @.str.18
.asciz "."
l_.str.19: ; @.str.19
.asciz "AAAAAAAAAAAAAAAAA"
l_.str.20: ; @.str.20
.asciz "--help"
l_.str.21: ; @.str.21
.asciz "--ip-only"
l_.str.22: ; @.str.22
.asciz "--subnet"
.section __TEXT,__const
l___const.main.subrangearg: ; @__const.main.subrangearg
.asciz "--subnet-range\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
l_.str.23: ; @.str.23
.asciz "-"
l_.str.24: ; @.str.24
.asciz "[\033[1;31m\342\200\242\033[00m] %s%s\n"
l_.str.25: ; @.str.25
.asciz "Invalid subnet: "
l_.str.26: ; @.str.26
.asciz "[\033[1;31m\342\200\242\033[00m] Invalid range: %d-%d\n"
l_.str.27: ; @.str.27
.asciz "[\033[1;34m\342\200\242\033[00m] %s\n"
l_.str.28: ; @.str.28
.asciz "Starting Scan"
l_.str.29: ; @.str.29
.asciz "[\033[1;33m\342\200\242\033[00m] %s\n"
l_.str.30: ; @.str.30
.asciz "Scanning 255 subnets (this might take a while)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getname ## -- Begin function getname
.p2align 4, 0x90
_getname: ## @getname
.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
leaq -24(%rbp), %rsi
callq _inet_aton
leaq -24(%rbp), %rdi
movl $4, %esi
movl $2, %edx
callq _gethostbyaddr
movq %rax, -32(%rbp)
cmpq $0, %rax
je LBB0_2
## %bb.1:
movq _alive@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _alive@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB0_3
LBB0_2:
movq _inactive@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _inactive@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
leaq L_.str(%rip), %rax
movq %rax, -8(%rbp)
LBB0_3:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _scanner ## -- Begin function scanner
.p2align 4, 0x90
_scanner: ## @scanner
.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 %edi, -212(%rbp)
movl %esi, -216(%rbp)
movl $0, -220(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $255, -220(%rbp)
jge LBB1_10
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq -208(%rbp), %rdi
movq _addr_byte_0@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _addr_byte_1@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl -212(%rbp), %r10d
movl -220(%rbp), %eax
xorl %esi, %esi
movl $200, %edx
leaq L_.str.1(%rip), %rcx
movl %r10d, (%rsp)
movl %eax, 8(%rsp)
movb $0, %al
callq ___sprintf_chk
leaq -208(%rbp), %rdi
callq _getname
movq %rax, -232(%rbp)
movq _scanned@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _scanned@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -212(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rax
cmpq %rax, -232(%rbp)
je LBB1_8
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $255, -220(%rbp)
jge LBB1_8
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -216(%rbp)
jne LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movq -232(%rbp), %rsi
leaq -208(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_7
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
leaq -208(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_8
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
movl -220(%rbp), %eax
addl $1, %eax
movl %eax, -220(%rbp)
jmp LBB1_1
LBB1_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_12
## %bb.11:
xorl %eax, %eax
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB1_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -1(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
leaq L_.str.6(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
leaq L_.str.7(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
leaq L_.str.8(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
leaq L_.str.9(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
leaq L_.str.10(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
leaq L_.str.11(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -1(%rbp), %al ## 1-byte Reload
leaq L_.str.12(%rip), %rdi
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function end
LCPI3_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI3_1:
.quad 0x408f400000000000 ## double 1000
.section __TEXT,__text,regular,pure_instructions
.globl _end
.p2align 4, 0x90
_end: ## @end
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _tempo2@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
movq _tempo2@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _tempo1@GOTPCREL(%rip), %rax
subq (%rax), %rcx
movq _elapsed_seconds@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _tempo2@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
movq _tempo1@GOTPCREL(%rip), %rcx
subl 8(%rcx), %eax
movslq %eax, %rcx
movq _elapsed_useconds@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _elapsed_seconds@GOTPCREL(%rip), %rax
imulq $1000, (%rax), %rax ## imm = 0x3E8
cvtsi2sd %rax, %xmm0
movq _elapsed_useconds@GOTPCREL(%rip), %rax
cvtsi2sdq (%rax), %xmm1
movsd LCPI3_1(%rip), %xmm2 ## xmm2 = mem[0],zero
divsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd LCPI3_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
movq _elapsed_mtime@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq _scanned@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _alive@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _inactive@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movq _elapsed_mtime@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movl %edi, -72(%rbp)
movq %rsi, -80(%rbp)
leaq L_.str.16(%rip), %rdi
leaq L_.str.17(%rip), %rsi
movb $0, %al
callq _printf
movq _tempo1@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
leaq L_.str.18(%rip), %rax
movq %rax, -96(%rbp)
cmpl $1, -72(%rbp)
jne LBB4_2
## %bb.1:
callq _usage
LBB4_2:
cmpl $2, -72(%rbp)
jne LBB4_4
## %bb.3:
leaq L_.str.19(%rip), %rax
movq %rax, -104(%rbp)
jmp LBB4_5
LBB4_4:
movq -80(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -104(%rbp)
LBB4_5:
movq -80(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.20(%rip), %rsi
movl $6, %edx
callq _strncmp
cmpl $0, %eax
jne LBB4_7
## %bb.6:
callq _usage
LBB4_7:
movl $0, -124(%rbp)
LBB4_8: ## =>This Inner Loop Header: Depth=1
movl -124(%rbp), %eax
cmpl -72(%rbp), %eax
jge LBB4_14
## %bb.9: ## in Loop: Header=BB4_8 Depth=1
movq -80(%rbp), %rax
movslq -124(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.21(%rip), %rsi
movl $9, %edx
callq _strncmp
cmpl $0, %eax
je LBB4_11
## %bb.10: ## in Loop: Header=BB4_8 Depth=1
movl $0, -120(%rbp)
jmp LBB4_12
LBB4_11: ## in Loop: Header=BB4_8 Depth=1
movl $1, -120(%rbp)
LBB4_12: ## in Loop: Header=BB4_8 Depth=1
jmp LBB4_13
LBB4_13: ## in Loop: Header=BB4_8 Depth=1
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB4_8
LBB4_14:
movq -80(%rbp), %rax
movq 8(%rax), %rdi
movq -96(%rbp), %rsi
callq _strtok
movq %rax, -88(%rbp)
movq -88(%rbp), %rdi
callq _atol
movl %eax, %ecx
movq _addr_byte_0@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq -96(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edi
callq _strtok
movq %rax, -88(%rbp)
movq -88(%rbp), %rdi
callq _atol
movl %eax, %ecx
movq _addr_byte_1@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
leaq L_.str.22(%rip), %rax
movq %rax, -136(%rbp)
movq l___const.main.subrangearg(%rip), %rax
movq %rax, -64(%rbp)
movq l___const.main.subrangearg+8(%rip), %rax
movq %rax, -56(%rbp)
movl l___const.main.subrangearg+16(%rip), %eax
movl %eax, -48(%rbp)
leaq L_.str.23(%rip), %rax
movq %rax, -144(%rbp)
movq -136(%rbp), %rdi
movq -104(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB4_18
## %bb.15:
movq -80(%rbp), %rax
movq 24(%rax), %rdi
callq _atoi
subl $1, %eax
cmpl $-1, %eax
jne LBB4_17
## %bb.16:
movq -80(%rbp), %rax
movq 24(%rax), %rdx
leaq L_.str.24(%rip), %rdi
leaq L_.str.25(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-1, %edi
callq _exit
LBB4_17:
movq -80(%rbp), %rax
movq 24(%rax), %rdi
callq _atoi
movl %eax, %edi
movl -120(%rbp), %esi
callq _scanner
callq _end
movl $1, %edi
callq _exit
LBB4_18:
leaq -64(%rbp), %rdi
movq -104(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB4_35
## %bb.19:
movq -80(%rbp), %rax
movq 24(%rax), %rdi
movq -144(%rbp), %rsi
callq _strtok
movq %rax, -152(%rbp)
movq -144(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edi
callq _strtok
movq %rax, -160(%rbp)
movq -152(%rbp), %rdi
callq _atoi
subl $1, %eax
cmpl $-1, %eax
jne LBB4_21
## %bb.20:
movq -152(%rbp), %rdx
leaq L_.str.24(%rip), %rdi
leaq L_.str.25(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-1, %edi
callq _exit
LBB4_21:
movq -160(%rbp), %rdi
callq _atoi
subl $1, %eax
cmpl $-1, %eax
jne LBB4_23
## %bb.22:
movq -160(%rbp), %rdx
leaq L_.str.24(%rip), %rdi
leaq L_.str.25(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-1, %edi
callq _exit
LBB4_23:
movq -152(%rbp), %rdi
callq _atoi
movl %eax, -164(%rbp)
movq -160(%rbp), %rdi
callq _atoi
movl %eax, -168(%rbp)
movl -164(%rbp), %eax
cmpl -168(%rbp), %eax
jle LBB4_25
## %bb.24:
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
movl -168(%rbp), %eax
movl %eax, -112(%rbp)
jmp LBB4_28
LBB4_25:
movl -168(%rbp), %eax
cmpl -164(%rbp), %eax
jle LBB4_27
## %bb.26:
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
movl -164(%rbp), %eax
movl %eax, -112(%rbp)
LBB4_27:
jmp LBB4_28
LBB4_28:
cmpl $256, -108(%rbp) ## imm = 0x100
jl LBB4_30
## %bb.29:
movl -112(%rbp), %esi
movl -108(%rbp), %edx
leaq L_.str.26(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $-1, %edi
callq _exit
LBB4_30:
movl -112(%rbp), %eax
movl %eax, -116(%rbp)
LBB4_31: ## =>This Inner Loop Header: Depth=1
movl -116(%rbp), %eax
cmpl -108(%rbp), %eax
jge LBB4_34
## %bb.32: ## in Loop: Header=BB4_31 Depth=1
movl -116(%rbp), %edi
movl -120(%rbp), %esi
callq _scanner
## %bb.33: ## in Loop: Header=BB4_31 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB4_31
LBB4_34:
callq _end
movl $1, %edi
callq _exit
LBB4_35:
jmp LBB4_36
LBB4_36:
leaq L_.str.27(%rip), %rdi
leaq L_.str.28(%rip), %rsi
movb $0, %al
callq _printf
leaq L_.str.29(%rip), %rdi
leaq L_.str.30(%rip), %rsi
movb $0, %al
callq _printf
movl $0, -172(%rbp)
LBB4_37: ## =>This Inner Loop Header: Depth=1
cmpl $255, -172(%rbp)
jge LBB4_40
## %bb.38: ## in Loop: Header=BB4_37 Depth=1
movl -172(%rbp), %edi
movl -120(%rbp), %esi
callq _scanner
## %bb.39: ## in Loop: Header=BB4_37 Depth=1
movl -172(%rbp), %eax
addl $1, %eax
movl %eax, -172(%rbp)
jmp LBB4_37
LBB4_40:
callq _end
movl -68(%rbp), %eax
movl %eax, -176(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_42
## %bb.41:
movl -176(%rbp), %eax ## 4-byte Reload
addq $176, %rsp
popq %rbp
retq
LBB4_42:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _alive,4,2 ## @alive
.comm _inactive,4,2 ## @inactive
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "None"
L_.str.1: ## @.str.1
.asciz "%d.%d.%d.%d"
.comm _addr_byte_0,4,2 ## @addr_byte_0
.comm _addr_byte_1,4,2 ## @addr_byte_1
.comm _scanned,4,2 ## @scanned
L_.str.2: ## @.str.2
.asciz "[\033[1;34m\342\200\242\033[00m] Subnet: %d\r"
L_.str.3: ## @.str.3
.asciz "[\033[1;32m\342\200\242\033[00m] %s is at %s\n"
L_.str.4: ## @.str.4
.asciz "[\033[1;32m\342\200\242\033[00m] %s\n"
L_.str.5: ## @.str.5
.asciz "Usage: nscan <address-range> [--subnet] [--subnet-range]\n\n"
L_.str.6: ## @.str.6
.asciz "Author: Dylan Halls <[email protected]>\n\n"
L_.str.7: ## @.str.7
.asciz "- Nscan will perform a silent scan of the network to find active nodes\n"
L_.str.8: ## @.str.8
.asciz "- Address range should be formed with last two bytes stared e.g. 192.168.*.* or 10.0.*.*\n\n"
L_.str.9: ## @.str.9
.asciz "--subnet - subnet wished to be scanned\n"
L_.str.10: ## @.str.10
.asciz "--subnet-range - the range of subnets wished to be scanned e.g. 78-98\n"
L_.str.11: ## @.str.11
.asciz "--ip-only - this will only display the ip when found\n"
L_.str.12: ## @.str.12
.asciz "--help - display this message and exit\n"
.comm _tempo2,16,3 ## @tempo2
.comm _tempo1,16,3 ## @tempo1
.comm _elapsed_seconds,8,3 ## @elapsed_seconds
.comm _elapsed_useconds,8,3 ## @elapsed_useconds
.comm _elapsed_mtime,8,3 ## @elapsed_mtime
L_.str.13: ## @.str.13
.asciz "\n--- Nscan statistics ---\n"
L_.str.14: ## @.str.14
.asciz "%d nodes scanned, %d alive nodes, %d inactive nodes\n"
L_.str.15: ## @.str.15
.asciz "time scanning %ldms\n"
L_.str.16: ## @.str.16
.asciz "\033[1;3m%s\033[00m\n"
L_.str.17: ## @.str.17
.asciz "Nscan v1\n"
L_.str.18: ## @.str.18
.asciz "."
L_.str.19: ## @.str.19
.asciz "AAAAAAAAAAAAAAAAA"
L_.str.20: ## @.str.20
.asciz "--help"
L_.str.21: ## @.str.21
.asciz "--ip-only"
L_.str.22: ## @.str.22
.asciz "--subnet"
.section __TEXT,__const
.p2align 4 ## @__const.main.subrangearg
l___const.main.subrangearg:
.asciz "--subnet-range\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
L_.str.23: ## @.str.23
.asciz "-"
L_.str.24: ## @.str.24
.asciz "[\033[1;31m\342\200\242\033[00m] %s%s\n"
L_.str.25: ## @.str.25
.asciz "Invalid subnet: "
L_.str.26: ## @.str.26
.asciz "[\033[1;31m\342\200\242\033[00m] Invalid range: %d-%d\n"
L_.str.27: ## @.str.27
.asciz "[\033[1;34m\342\200\242\033[00m] %s\n"
L_.str.28: ## @.str.28
.asciz "Starting Scan"
L_.str.29: ## @.str.29
.asciz "[\033[1;33m\342\200\242\033[00m] %s\n"
L_.str.30: ## @.str.30
.asciz "Scanning 255 subnets (this might take a while)"
.subsections_via_symbols
| the_stack_data/104994.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/76699689.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]
str x2, [sp, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x8, _afl_area_ptr@PAGE
ldr x0, [x8, _afl_area_ptr@PAGEOFF]
mov w1, #0
str w1, [sp, #4] ; 4-byte Folded Spill
mov x2, #65536
mov x3, #-1
bl ___memset_chk
ldur w0, [x29, #-4]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
bl _libQemuInit
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm ___afl_area_initial,65536,0 ; @__afl_area_initial
.section __DATA,__data
.globl _afl_area_ptr ; @afl_area_ptr
.p2align 3
_afl_area_ptr:
.quad ___afl_area_initial
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\033[0;32m"
l_.str.1: ; @.str.1
.asciz "==== SLOTH ===="
l_.str.2: ; @.str.2
.asciz "\033[0m"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq _afl_area_ptr(%rip), %rdi
xorl %esi, %esi
movl $65536, %edx ## imm = 0x10000
movq $-1, %rcx
callq ___memset_chk
movl -4(%rbp), %edi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _libQemuInit
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm ___afl_area_initial,65536,4 ## @__afl_area_initial
.section __DATA,__data
.globl _afl_area_ptr ## @afl_area_ptr
.p2align 3
_afl_area_ptr:
.quad ___afl_area_initial
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\033[0;32m"
L_.str.1: ## @.str.1
.asciz "==== SLOTH ===="
L_.str.2: ## @.str.2
.asciz "\033[0m"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/36075061.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getPadding ; -- Begin function getPadding
.p2align 2
_getPadding: ; @getPadding
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
mov w9, #3
mul w8, w8, w9
ldr w9, [sp, #8]
add w8, w8, w9
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_3:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _getSizePixel ; -- Begin function getSizePixel
.p2align 2
_getSizePixel: ; @getSizePixel
.cfi_startproc
; %bb.0:
mov w0, #3
ret
.cfi_endproc
; -- End function
.globl _readImage ; -- Begin function readImage
.p2align 2
_readImage: ; @readImage
.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 x0, [sp, #72]
str xzr, [sp, #80]
str xzr, [sp, #88]
ldr x0, [sp, #72]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
str x0, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB2_2:
ldr x3, [sp, #64]
sub x0, x29, #62
mov x1, #54
mov x2, #1
bl _fread
ldurb w8, [x29, #-44]
str w8, [sp, #80]
ldurb w8, [x29, #-40]
str w8, [sp, #84]
ldr w0, [sp, #80]
bl _getPadding
str w0, [sp, #56]
bl _getSizePixel
str w0, [sp, #52]
ldrsw x8, [sp, #84]
lsl x0, x8, #3
bl _malloc
str x0, [sp, #32]
str wzr, [sp, #48]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
ldr w9, [sp, #84]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldrsw x8, [sp, #80]
lsl x0, x8, #2
bl _malloc
ldr x8, [sp, #32]
ldrsw x9, [sp, #48]
str x0, [x8, x9, lsl #3]
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB2_3
LBB2_6:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #64]
bl _fclose
mov w0, #1
bl _exit
LBB2_8:
str wzr, [sp, #48]
b LBB2_9
LBB2_9: ; =>This Loop Header: Depth=1
; Child Loop BB2_11 Depth 2
ldr w8, [sp, #48]
ldr w9, [sp, #84]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_18
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
str wzr, [sp, #28]
b LBB2_11
LBB2_11: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_14
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_11 Depth=2
ldr x8, [sp, #32]
ldrsw x9, [sp, #48]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #28]
mov x10, #3
mul x9, x9, x10
add x0, x8, x9
ldr x3, [sp, #64]
mov x1, #3
mov x2, #1
bl _fread
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_11 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_11
LBB2_14: ; in Loop: Header=BB2_9 Depth=1
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_9 Depth=1
ldrsw x1, [sp, #56]
ldr x3, [sp, #64]
add x0, sp, #60
mov x2, #1
bl _fread
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_9 Depth=1
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_9 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB2_9
LBB2_18:
ldr x8, [sp, #32]
str x8, [sp, #88]
ldr x0, [sp, #64]
bl _fclose
ldr x8, [sp, #80]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [sp, #88]
str x8, [sp, #16] ; 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, LBB2_20
b LBB2_19
LBB2_19:
bl ___stack_chk_fail
LBB2_20:
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
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
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
stur xzr, [x29, #-32]
stur xzr, [x29, #-24]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-40]
ldur x0, [x29, #-40]
bl _readImage
str x0, [sp, #56]
str x1, [sp, #64]
ldur q0, [sp, #56]
stur q0, [x29, #-32]
mov w8, #1
str w8, [sp, #52]
str wzr, [sp, #48]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
ldr w8, [sp, #48]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
str wzr, [sp, #44]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #44]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldr w9, [sp, #52]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-24]
ldrsw x10, [sp, #48]
ldr x9, [x9, x10, lsl #3]
ldrsw x10, [sp, #44]
mov x13, #3
mul x10, x10, x13
ldrb w12, [x9, x10]
ldur x9, [x29, #-24]
ldrsw x10, [sp, #48]
ldr x9, [x9, x10, lsl #3]
ldrsw x10, [sp, #44]
mul x10, x10, x13
add x9, x9, x10
ldrb w11, [x9, #1]
ldur x9, [x29, #-24]
ldrsw x10, [sp, #48]
ldr x9, [x9, x10, lsl #3]
ldrsw x10, [sp, #44]
mul x10, x10, x13
add x9, x9, x10
ldrb w10, [x9, #2]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x12
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #16]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #24]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB3_3
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB3_1
LBB3_8:
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 "rb"
l_.str.1: ; @.str.1
.asciz "| AVISO | Erro ao abrir a imagem."
l_.str.2: ; @.str.2
.asciz "| AVISO | Mem\303\263ria insuficiente."
l_.str.3: ; @.str.3
.asciz "Pixel %d: (%d, %d, %d)\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getPadding ## -- Begin function getPadding
.p2align 4, 0x90
_getPadding: ## @getPadding
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
imull $3, -4(%rbp), %eax
addl -8(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_3:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getSizePixel ## -- Begin function getSizePixel
.p2align 4, 0x90
_getSizePixel: ## @getSizePixel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $3, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readImage ## -- Begin function readImage
.p2align 4, 0x90
_readImage: ## @readImage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -88(%rbp)
leaq -80(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq -88(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -96(%rbp)
cmpq $0, -96(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB2_2:
leaq -64(%rbp), %rdi
movq -96(%rbp), %rcx
movl $54, %esi
movl $1, %edx
callq _fread
movzbl -46(%rbp), %eax
movl %eax, -80(%rbp)
movzbl -42(%rbp), %eax
movl %eax, -76(%rbp)
movl -80(%rbp), %edi
callq _getPadding
movl %eax, -104(%rbp)
callq _getSizePixel
movl %eax, -108(%rbp)
movslq -76(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -128(%rbp)
movl $0, -112(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -112(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movslq -80(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, %rdx
movq -128(%rbp), %rax
movslq -112(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB2_3
LBB2_6:
cmpq $0, -128(%rbp)
jne LBB2_8
## %bb.7:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movq -96(%rbp), %rdi
callq _fclose
movl $1, %edi
callq _exit
LBB2_8:
movl $0, -112(%rbp)
LBB2_9: ## =>This Loop Header: Depth=1
## Child Loop BB2_11 Depth 2
movl -112(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB2_18
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movl $0, -132(%rbp)
LBB2_11: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -132(%rbp), %eax
cmpl -80(%rbp), %eax
jge LBB2_14
## %bb.12: ## in Loop: Header=BB2_11 Depth=2
movq -128(%rbp), %rax
movslq -112(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movslq -132(%rbp), %rax
imulq $3, %rax, %rax
addq %rax, %rdi
movq -96(%rbp), %rcx
movl $3, %esi
movl $1, %edx
callq _fread
## %bb.13: ## in Loop: Header=BB2_11 Depth=2
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB2_11
LBB2_14: ## in Loop: Header=BB2_9 Depth=1
cmpl $0, -104(%rbp)
je LBB2_16
## %bb.15: ## in Loop: Header=BB2_9 Depth=1
leaq -100(%rbp), %rdi
movslq -104(%rbp), %rsi
movq -96(%rbp), %rcx
movl $1, %edx
callq _fread
LBB2_16: ## in Loop: Header=BB2_9 Depth=1
jmp LBB2_17
LBB2_17: ## in Loop: Header=BB2_9 Depth=1
movl -112(%rbp), %eax
addl $1, %eax
movl %eax, -112(%rbp)
jmp LBB2_9
LBB2_18:
movq -128(%rbp), %rax
movq %rax, -72(%rbp)
movq -96(%rbp), %rdi
callq _fclose
movq -80(%rbp), %rax
movq %rax, -152(%rbp) ## 8-byte Spill
movq -72(%rbp), %rax
movq %rax, -144(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_20
## %bb.19:
movq -144(%rbp), %rdx ## 8-byte Reload
movq -152(%rbp), %rax ## 8-byte Reload
addq $160, %rsp
popq %rbp
retq
LBB2_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq -32(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq _readImage
movq %rax, -56(%rbp)
movq %rdx, -48(%rbp)
movq -56(%rbp), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
movq %rax, -24(%rbp)
movl $1, -60(%rbp)
movl $0, -64(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
movl -64(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB3_8
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl $0, -68(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -68(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movl -60(%rbp), %esi
movq -24(%rbp), %rax
movslq -64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -68(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl (%rax), %edx
movq -24(%rbp), %rax
movslq -64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -68(%rbp), %rcx
imulq $3, %rcx, %rcx
addq %rcx, %rax
movzbl 1(%rax), %ecx
movq -24(%rbp), %rax
movslq -64(%rbp), %rdi
movq (%rax,%rdi,8), %rax
movslq -68(%rbp), %rdi
imulq $3, %rdi, %rdi
addq %rdi, %rax
movzbl 2(%rax), %r8d
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB3_3
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_7
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB3_1
LBB3_8:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rb"
L_.str.1: ## @.str.1
.asciz "| AVISO | Erro ao abrir a imagem."
L_.str.2: ## @.str.2
.asciz "| AVISO | Mem\303\263ria insuficiente."
L_.str.3: ## @.str.3
.asciz "Pixel %d: (%d, %d, %d)\n"
.subsections_via_symbols
| the_stack_data/89199777.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
str w8, [sp, #8] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_6
LBB0_3:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_7
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_6:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
str w0, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _f
mov w0, #1
bl _f
mov w0, #2
bl _f
mov w0, #3
bl _f
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "zero\n"
l_.str.1: ; @.str.1
.asciz "one\n"
l_.str.2: ; @.str.2
.asciz "two\n"
l_.str.3: ; @.str.3
.asciz "something\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_1
jmp LBB0_6
LBB0_6:
movl -8(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_2
jmp LBB0_7
LBB0_7:
movl -8(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_3
jmp LBB0_4
LBB0_1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_2:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_4:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
xorl %edi, %edi
callq _f
movl $1, %edi
callq _f
movl $2, %edi
callq _f
movl $3, %edi
callq _f
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "zero\n"
L_.str.1: ## @.str.1
.asciz "one\n"
L_.str.2: ## @.str.2
.asciz "two\n"
L_.str.3: ## @.str.3
.asciz "something\n"
.subsections_via_symbols
| the_stack_data/275118.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _preenchervet ; -- Begin function preenchervet
.p2align 2
_preenchervet: ; @preenchervet
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _buscarvalor ; -- Begin function buscarvalor
.p2align 2
_buscarvalor: ; @buscarvalor
.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 wzr, [sp, #24]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@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
bl _scanf
stur wzr, [x29, #-16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-20]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
mov w8, #1
str w8, [sp, #24]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #24]
str w8, [sp, #24]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_1
LBB1_7:
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_10
LBB1_9:
ldr w8, [sp, #24]
str w8, [sp, #24]
b LBB1_10
LBB1_10:
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, #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]
add x0, sp, #20
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #5
str w1, [sp, #16] ; 4-byte Folded Spill
bl _preenchervet
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w1, [sp, #16] ; 4-byte Folded Reload
bl _buscarvalor
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl ___stack_chk_fail
LBB2_2:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "digite os valores: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\ndigite um valor para ser buscado: "
l_.str.3: ; @.str.3
.asciz "\no valor e: %d\na posicao e: %d"
l_.str.4: ; @.str.4
.asciz "\n\no valor nao foi encontrado"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _preenchervet ## -- Begin function preenchervet
.p2align 4, 0x90
_preenchervet: ## @preenchervet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
movslq -16(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _buscarvalor ## -- Begin function buscarvalor
.p2align 4, 0x90
_buscarvalor: ## @buscarvalor
.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, -24(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_7
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
movq -8(%rbp), %rcx
movslq -16(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl $1, -24(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
movl -16(%rbp), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
movl %eax, -24(%rbp)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_6
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $0, -24(%rbp)
jne LBB1_9
## %bb.8:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_10
LBB1_9:
movl -24(%rbp), %eax
movl %eax, -24(%rbp)
LBB1_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -32(%rbp), %rdi
movl $5, %esi
callq _preenchervet
leaq -32(%rbp), %rdi
movl $5, %esi
callq _buscarvalor
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_2
## %bb.1:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "digite os valores: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\ndigite um valor para ser buscado: "
L_.str.3: ## @.str.3
.asciz "\no valor e: %d\na posicao e: %d"
L_.str.4: ## @.str.4
.asciz "\n\no valor nao foi encontrado"
.subsections_via_symbols
| the_stack_data/11237.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_sum ; -- Begin function get_sum
.p2align 2
_get_sum: ; @get_sum
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
str wzr, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w8, w8, #10
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]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #4]
add w8, w8, w9
str w8, [sp, #4]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB0_1
LBB0_4:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _get_avg ; -- Begin function get_avg
.p2align 2
_get_avg: ; @get_avg
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr s0, [sp, #12]
scvtf s0, s0
fmov s1, #10.00000000
fdiv s0, s0, s1
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, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
add x0, sp, #48
str x0, [sp, #24] ; 8-byte Folded Spill
adrp x1, l___const.main.arr@PAGE
add x1, x1, l___const.main.arr@PAGEOFF
mov x2, #40
bl _memcpy
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _get_sum
str w0, [sp, #44]
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #32] ; 8-byte Folded Spill
ldr w0, [sp, #44]
bl _get_avg
ldr x9, [sp, #32] ; 8-byte Folded Reload
fcvt d0, s0
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl ___stack_chk_fail
LBB2_2:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.arr
l___const.main.arr:
.long 10 ; 0xa
.long 50 ; 0x32
.long 30 ; 0x1e
.long 54 ; 0x36
.long 80 ; 0x50
.long 92 ; 0x5c
.long 58 ; 0x3a
.long 100 ; 0x64
.long 33 ; 0x21
.long 52 ; 0x34
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sum: %d, avg: %.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_sum ## -- Begin function get_sum
.p2align 4, 0x90
_get_sum: ## @get_sum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -16(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function get_avg
LCPI1_0:
.long 0x41200000 ## float 10
.section __TEXT,__text,regular,pure_instructions
.globl _get_avg
.p2align 4, 0x90
_get_avg: ## @get_avg
.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)
cvtsi2ssl -4(%rbp), %xmm0
movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.arr(%rip), %rsi
movl $40, %edx
callq _memcpy
leaq -48(%rbp), %rdi
callq _get_sum
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movl -52(%rbp), %edi
callq _get_avg
movl -56(%rbp), %esi ## 4-byte Reload
cvtss2sd %xmm0, %xmm0
leaq L_.str(%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 LBB2_2
## %bb.1:
addq $64, %rsp
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.arr
l___const.main.arr:
.long 10 ## 0xa
.long 50 ## 0x32
.long 30 ## 0x1e
.long 54 ## 0x36
.long 80 ## 0x50
.long 92 ## 0x5c
.long 58 ## 0x3a
.long 100 ## 0x64
.long 33 ## 0x21
.long 52 ## 0x34
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sum: %d, avg: %.2f"
.subsections_via_symbols
| the_stack_data/190768898.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _newNode ; -- Begin function newNode
.p2align 2
_newNode: ; @newNode
.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]
mov x0, #72
bl _malloc
str x0, [sp, #8]
ldur w8, [x29, #-4]
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #8]
str xzr, [x8, #16]
ldr x8, [sp, #8]
ldr x1, [sp, #16]
add x0, x8, #24
mov x3, #16
mov x2, x3
bl ___strncpy_chk
ldr x8, [sp, #8]
add x0, x8, #40
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #5
mov x3, #-1
bl ___strncpy_chk
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _str_trim_lf ; -- Begin function str_trim_lf
.p2align 2
_str_trim_lf: ; @str_trim_lf
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
str wzr, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr x8, [sp, #8]
ldrsw x9, [sp]
add x8, x8, x9
strb wzr, [x8]
b LBB1_6
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_1
LBB1_6:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _catch_ctrl_c_and_exit ; -- Begin function catch_ctrl_c_and_exit
.p2align 2
_catch_ctrl_c_and_exit: ; @catch_ctrl_c_and_exit
.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, _root@GOTPAGE
ldr x8, [x8, _root@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w0, [x8]
bl _close
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x9]
str x8, [sp, #16]
ldr x8, [x9]
ldr x8, [x8, #16]
str x8, [x9]
ldr x0, [sp, #16]
bl _free
b LBB2_1
LBB2_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.globl _send_to_all_clients ; -- Begin function send_to_all_clients
.p2align 2
_send_to_all_clients: ; @send_to_all_clients
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
adrp x8, _root@GOTPAGE
ldr x8, [x8, _root@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #16]
str x8, [sp, #24]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_5
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-8]
ldr w8, [x8]
ldr x9, [sp, #24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #24]
ldr w0, [x8]
ldur x1, [x29, #-16]
mov x2, #201
mov w3, #0
bl _send
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8, #16]
str x8, [sp, #24]
b LBB3_1
LBB3_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _send_to_particular_client ; -- Begin function send_to_particular_client
.p2align 2
_send_to_particular_client: ; @send_to_particular_client
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
adrp x8, _root@GOTPAGE
ldr x8, [x8, _root@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
add x0, x8, #40
ldr x1, [sp, #24]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #16]
ldr w0, [x8]
ldur x1, [x29, #-16]
mov x2, #201
mov w3, #0
bl _send
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB4_1
LBB4_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _usernm_verification ; -- Begin function usernm_verification
.p2align 2
_usernm_verification: ; @usernm_verification
.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]
adrp x8, _root@GOTPAGE
ldr x8, [x8, _root@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #16]
str x8, [sp]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp]
add x0, x8, #40
ldr x1, [sp, #16]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp]
ldr x8, [x8, #16]
str x8, [sp]
b LBB5_1
LBB5_5:
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _client_handler ; -- Begin function client_handler
.p2align 2
_client_handler: ; @client_handler
.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, #6672
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #2576
sub x9, x29, #88
adrp x8, _now@GOTPAGE
ldr x8, [x8, _now@GOTPAGEOFF]
str x8, [sp, #80] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #152]
mov w1, #0
str w1, [sp, #104] ; 4-byte Folded Spill
str wzr, [sp, #148]
str wzr, [sp, #144]
sub x8, x29, #56
str x8, [sp, #96] ; 8-byte Folded Spill
str xzr, [x9, #32]
str xzr, [x9, #40]
str xzr, [x9, #48]
stur xzr, [x8, #23]
sub x8, x29, #88
str xzr, [x9]
str xzr, [x9, #8]
str xzr, [x9, #16]
stur xzr, [x8, #23]
sub x0, x29, #189
mov x2, #101
str x2, [sp, #88] ; 8-byte Folded Spill
bl _memset
add x0, sp, #499
mov x1, #6000
bl _bzero
ldr x2, [sp, #88] ; 8-byte Folded Reload
ldr w1, [sp, #104] ; 4-byte Folded Reload
add x0, sp, #398
bl _memset
ldr w1, [sp, #104] ; 4-byte Folded Reload
add x0, sp, #197
mov x2, #201
bl _memset
ldr x1, [sp, #96] ; 8-byte Folded Reload
ldr w3, [sp, #104] ; 4-byte Folded Reload
ldr x8, [sp, #152]
str x8, [sp, #136]
adrp x8, l___const.client_handler.req_acc@PAGE
add x8, x8, l___const.client_handler.req_acc@PAGEOFF
ldr x10, [x8]
add x9, sp, #184
str x10, [sp, #184]
ldur w8, [x8, #7]
stur w8, [x9, #7]
ldr x8, [sp, #136]
ldr w0, [x8]
mov x2, #31
bl _recv
subs x8, x0, #0
cset w8, le
tbnz w8, #0, LBB6_3
b LBB6_1
LBB6_1:
sub x0, x29, #56
bl _strlen
subs x8, x0, #2
cset w8, lo
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
sub x0, x29, #56
bl _strlen
subs x8, x0, #30
cset w8, lo
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
ldr x8, [sp, #136]
add x8, x8, #24
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #148]
b LBB6_5
LBB6_4:
ldr x8, [sp, #136]
add x0, x8, #40
sub x1, x29, #56
mov x2, #31
mov x3, #-1
bl ___strncpy_chk
ldr x8, [sp, #136]
add x11, x8, #40
ldr x8, [sp, #136]
add x10, x8, #24
ldr x8, [sp, #136]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x8, [sp, #136]
add x10, x8, #40
ldr x8, [sp, #136]
add x8, x8, #24
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
add x0, sp, #197
str x0, [sp, #72] ; 8-byte Folded Spill
mov w1, #0
mov x2, #201
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___sprintf_chk
ldr x1, [sp, #72] ; 8-byte Folded Reload
ldr x0, [sp, #136]
bl _send_to_all_clients
b LBB6_5
LBB6_5:
b LBB6_6
LBB6_6: ; =>This Loop Header: Depth=1
; Child Loop BB6_15 Depth 2
; Child Loop BB6_18 Depth 2
str wzr, [sp, #124]
str wzr, [sp, #120]
str xzr, [sp, #160]
str xzr, [sp, #168]
str wzr, [sp, #176]
str wzr, [sp, #116]
str wzr, [sp, #112]
ldr w8, [sp, #148]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7:
b LBB6_42
LBB6_8: ; in Loop: Header=BB6_6 Depth=1
ldr x8, [sp, #136]
ldr w0, [x8]
sub x1, x29, #189
str x1, [sp, #56] ; 8-byte Folded Spill
mov x2, #101
str x2, [sp, #64] ; 8-byte Folded Spill
mov w3, #0
bl _recv
ldr x1, [sp, #56] ; 8-byte Folded Reload
ldr x2, [sp, #64] ; 8-byte Folded Reload
mov x8, x0
str w8, [sp, #108]
add x0, sp, #398
bl ___strcpy_chk
ldr w8, [sp, #108]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB6_24
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_6 Depth=1
sub x0, x29, #189
bl _strlen
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB6_11
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_6 Depth=1
b LBB6_6
LBB6_11: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #398
add x1, sp, #184
bl _strstr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB6_22
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #398
add x1, sp, #184
bl _strstr
str x0, [sp, #128]
ldr x8, [sp, #128]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_14
b LBB6_13
LBB6_13: ; in Loop: Header=BB6_6 Depth=1
ldr x8, [sp, #128]
add x9, sp, #398
subs x8, x8, x9
str x8, [sp, #48] ; 8-byte Folded Spill
add x0, sp, #184
bl _strlen
ldr x8, [sp, #48] ; 8-byte Folded Reload
add x8, x8, x0
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #124]
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_6 Depth=1
ldr w8, [sp, #124]
str w8, [sp, #116]
b LBB6_15
LBB6_15: ; Parent Loop BB6_6 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #116]
add x8, sp, #398
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB6_17
b LBB6_16
LBB6_16: ; in Loop: Header=BB6_15 Depth=2
ldr w8, [sp, #116]
add w8, w8, #1
str w8, [sp, #116]
b LBB6_15
LBB6_17: ; in Loop: Header=BB6_6 Depth=1
ldr w8, [sp, #116]
subs w8, w8, #1
str w8, [sp, #120]
ldr w8, [sp, #124]
str w8, [sp, #116]
b LBB6_18
LBB6_18: ; Parent Loop BB6_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #116]
ldr w9, [sp, #120]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_20
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_6 Depth=1
b LBB6_21
LBB6_20: ; in Loop: Header=BB6_18 Depth=2
ldrsw x9, [sp, #116]
add x8, sp, #398
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #112]
add x9, sp, #160
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #112]
add w8, w8, #1
str w8, [sp, #112]
ldr w8, [sp, #116]
add w8, w8, #1
str w8, [sp, #116]
b LBB6_18
LBB6_21: ; in Loop: Header=BB6_6 Depth=1
b LBB6_22
LBB6_22: ; in Loop: Header=BB6_6 Depth=1
b LBB6_23
LBB6_23: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #160
str x0, [sp, #40] ; 8-byte Folded Spill
mov w1, #101
bl _str_trim_lf
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x8, [sp, #136]
add x8, x8, #40
mov x9, sp
str x8, [x9]
sub x8, x29, #189
str x8, [x9, #8]
add x0, sp, #197
mov w1, #0
mov x2, #201
adrp x3, l_.str.8@PAGE
add x3, x3, l_.str.8@PAGEOFF
bl ___sprintf_chk
b LBB6_36
LBB6_24: ; in Loop: Header=BB6_6 Depth=1
ldr w8, [sp, #108]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_26
b LBB6_25
LBB6_25: ; in Loop: Header=BB6_6 Depth=1
sub x0, x29, #189
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_27
b LBB6_26
LBB6_26: ; in Loop: Header=BB6_6 Depth=1
ldr x8, [sp, #136]
add x11, x8, #40
ldr x8, [sp, #136]
add x10, x8, #24
ldr x8, [sp, #136]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr x8, [sp, #136]
add x10, x8, #40
ldr x8, [sp, #136]
add x8, x8, #24
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
add x0, sp, #197
mov w1, #0
mov x2, #201
adrp x3, l_.str.11@PAGE
add x3, x3, l_.str.11@PAGEOFF
bl ___sprintf_chk
mov w8, #1
str w8, [sp, #148]
b LBB6_35
LBB6_27: ; in Loop: Header=BB6_6 Depth=1
ldr w8, [sp, #108]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_32
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #398
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _strstr
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB6_32
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #398
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _strstr
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB6_32
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #398
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _strstr
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB6_32
b LBB6_31
LBB6_31: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #398
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _strstr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB6_33
b LBB6_32
LBB6_32: ; in Loop: Header=BB6_6 Depth=1
ldr x0, [sp, #136]
ldr x8, [sp, #136]
add x2, x8, #40
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _send_to_particular_client
b LBB6_34
LBB6_33: ; in Loop: Header=BB6_6 Depth=1
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #148]
b LBB6_34
LBB6_34: ; in Loop: Header=BB6_6 Depth=1
b LBB6_35
LBB6_35: ; in Loop: Header=BB6_6 Depth=1
b LBB6_36
LBB6_36: ; in Loop: Header=BB6_6 Depth=1
add x0, sp, #398
add x1, sp, #184
bl _strstr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB6_40
b LBB6_37
LBB6_37: ; in Loop: Header=BB6_6 Depth=1
ldr x0, [sp, #136]
add x1, sp, #197
add x2, sp, #160
str x2, [sp, #32] ; 8-byte Folded Spill
bl _send_to_particular_client
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #136]
bl _usernm_verification
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_39
b LBB6_38
LBB6_38: ; in Loop: Header=BB6_6 Depth=1
ldr x0, [sp, #136]
ldr x8, [sp, #136]
add x2, x8, #40
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _send_to_particular_client
b LBB6_39
LBB6_39: ; in Loop: Header=BB6_6 Depth=1
b LBB6_41
LBB6_40: ; in Loop: Header=BB6_6 Depth=1
ldr x0, [sp, #136]
add x1, sp, #197
bl _send_to_all_clients
b LBB6_41
LBB6_41: ; in Loop: Header=BB6_6 Depth=1
b LBB6_6
LBB6_42:
ldr x8, [sp, #136]
ldr w0, [x8]
bl _close
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x8, [sp, #136]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB6_44
b LBB6_43
LBB6_43:
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [sp, #136]
ldr x9, [x9, #8]
str x9, [x8]
ldr x8, [x8]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
b LBB6_45
LBB6_44:
ldr x8, [sp, #136]
ldr x8, [x8, #16]
ldr x9, [sp, #136]
ldr x9, [x9, #8]
str x8, [x9, #16]
ldr x8, [sp, #136]
ldr x8, [x8, #8]
ldr x9, [sp, #136]
ldr x9, [x9, #16]
str x8, [x9, #8]
b LBB6_45
LBB6_45:
ldr x0, [sp, #136]
bl _free
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_47
b LBB6_46
LBB6_46:
bl ___stack_chk_fail
LBB6_47:
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #2576
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, #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, _now@GOTPAGE
ldr x8, [x8, _now@GOTPAGEOFF]
stur x8, [x29, #-80] ; 8-byte Folded Spill
mov w8, #0
stur w8, [x29, #-72] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #2
stur w0, [x29, #-68] ; 4-byte Folded Spill
adrp x1, _catch_ctrl_c_and_exit@PAGE
add x1, x1, _catch_ctrl_c_and_exit@PAGEOFF
bl _signal
ldur w2, [x29, #-72] ; 4-byte Folded Reload
ldur w0, [x29, #-68] ; 4-byte Folded Reload
mov w1, #1
bl _socket
adrp x8, _server_sockfd@PAGE
str w0, [x8, _server_sockfd@PAGEOFF]
ldr w8, [x8, _server_sockfd@PAGEOFF]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB7_2:
sub x8, x29, #40
str x8, [sp, #96] ; 8-byte Folded Spill
mov w8, #16
stur w8, [x29, #-40]
stur w8, [x29, #-44]
ldursw x2, [x29, #-40]
sub x0, x29, #20
str x0, [sp, #88] ; 8-byte Folded Spill
mov w1, #0
str w1, [sp, #68] ; 4-byte Folded Spill
mov x3, #16
str x3, [sp, #72] ; 8-byte Folded Spill
bl ___memset_chk
ldr w1, [sp, #68] ; 4-byte Folded Reload
ldr x3, [sp, #72] ; 8-byte Folded Reload
ldursw x2, [x29, #-44]
sub x0, x29, #36
bl ___memset_chk
mov w8, #2
sturb w8, [x29, #-19]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _inet_addr
ldr x1, [sp, #88] ; 8-byte Folded Reload
stur w0, [x29, #-16]
mov w8, #47138
sturh w8, [x29, #-18]
adrp x8, _server_sockfd@PAGE
str x8, [sp, #80] ; 8-byte Folded Spill
ldr w0, [x8, _server_sockfd@PAGEOFF]
ldur w2, [x29, #-40]
bl _bind
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr w0, [x8, _server_sockfd@PAGEOFF]
mov w1, #5
bl _listen
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x1, [sp, #88] ; 8-byte Folded Reload
ldr x2, [sp, #96] ; 8-byte Folded Reload
ldr w0, [x8, _server_sockfd@PAGEOFF]
bl _getsockname
ldur w8, [x29, #-16]
mov x0, x8
bl _inet_ntoa
stur x0, [x29, #-88] ; 8-byte Folded Spill
b LBB7_3
LBB7_3:
ldurh w0, [x29, #-18]
bl __OSSwapInt16
str w0, [sp, #64] ; 4-byte Folded Spill
b LBB7_4
LBB7_4:
ldr w10, [sp, #64] ; 4-byte Folded Reload
ldur x8, [x29, #-88] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
and x8, x8, #0xffff
and x8, x8, #0xffff
str x8, [x9, #8]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
adrp x8, _server_sockfd@PAGE
ldr w8, [x8, _server_sockfd@PAGEOFF]
str w8, [sp, #60] ; 4-byte Folded Spill
ldur w8, [x29, #-16]
mov x0, x8
bl _inet_ntoa
mov x1, x0
ldr w0, [sp, #60] ; 4-byte Folded Reload
bl _newNode
ldur x9, [x29, #-80] ; 8-byte Folded Reload
adrp x8, _root@GOTPAGE
ldr x8, [x8, _root@GOTPAGEOFF]
str x0, [x8]
ldr x8, [x8]
str x8, [x9]
b LBB7_5
LBB7_5: ; =>This Inner Loop Header: Depth=1
adrp x8, _server_sockfd@PAGE
ldr w0, [x8, _server_sockfd@PAGEOFF]
sub x1, x29, #36
str x1, [sp, #32] ; 8-byte Folded Spill
sub x2, x29, #44
str x2, [sp, #40] ; 8-byte Folded Spill
bl _accept
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x2, [sp, #40] ; 8-byte Folded Reload
adrp x8, _client_sockfd@PAGE
str w0, [x8, _client_sockfd@PAGEOFF]
ldr w0, [x8, _client_sockfd@PAGEOFF]
bl _getpeername
ldur w8, [x29, #-32]
mov x0, x8
bl _inet_ntoa
str x0, [sp, #48] ; 8-byte Folded Spill
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_5 Depth=1
ldurh w0, [x29, #-34]
bl __OSSwapInt16
str w0, [sp, #28] ; 4-byte Folded Spill
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_5 Depth=1
ldr w10, [sp, #28] ; 4-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
and x8, x8, #0xffff
and x8, x8, #0xffff
str x8, [x9, #8]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
adrp x8, _client_sockfd@PAGE
ldr w8, [x8, _client_sockfd@PAGEOFF]
str w8, [sp, #24] ; 4-byte Folded Spill
ldur w8, [x29, #-32]
mov x0, x8
bl _inet_ntoa
mov x1, x0
ldr w0, [sp, #24] ; 4-byte Folded Reload
bl _newNode
ldur x9, [x29, #-80] ; 8-byte Folded Reload
stur x0, [x29, #-56]
ldr x8, [x9]
ldur x10, [x29, #-56]
str x8, [x10, #8]
ldur x8, [x29, #-56]
ldr x10, [x9]
str x8, [x10, #16]
ldur x8, [x29, #-56]
str x8, [x9]
ldur x3, [x29, #-56]
sub x0, x29, #64
mov x1, #0
adrp x2, _client_handler@PAGE
add x2, x2, _client_handler@PAGEOFF
bl _pthread_create
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB7_9
b LBB7_8
LBB7_8:
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB7_9: ; in Loop: Header=BB7_5 Depth=1
b LBB7_5
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "NULL"
.globl _server_sockfd ; @server_sockfd
.zerofill __DATA,__common,_server_sockfd,4,2
.globl _client_sockfd ; @client_sockfd
.zerofill __DATA,__common,_client_sockfd,4,2
.comm _root,8,3 ; @root
l_.str.1: ; @.str.1
.asciz "\nClose socketfd: %d\n"
l_.str.2: ; @.str.2
.asciz "Bye\n"
l_.str.3: ; @.str.3
.asciz "Send to sockfd %d: \"%s\" \n"
l___const.client_handler.req_acc: ; @__const.client_handler.req_acc
.asciz "REQACCESS "
l_.str.4: ; @.str.4
.asciz "%s didn't input name.\n"
l_.str.5: ; @.str.5
.asciz "%s(%s)(%d) joined the chatroom.\n"
l_.str.6: ; @.str.6
.asciz "%s(%s) joined the chatroom."
l_.str.7: ; @.str.7
.asciz "'%s'"
l_.str.8: ; @.str.8
.asciz "%s\357\274\232%s"
l_.str.9: ; @.str.9
.asciz "exit"
l_.str.10: ; @.str.10
.asciz "%s(%s)(%d) left the chatroom.\n"
l_.str.11: ; @.str.11
.asciz "%s(%s) left the chatroom."
l_.str.12: ; @.str.12
.asciz "fuck"
l_.str.13: ; @.str.13
.asciz "shit"
l_.str.14: ; @.str.14
.asciz "asshole"
l_.str.15: ; @.str.15
.asciz "pussy"
l_.str.16: ; @.str.16
.asciz "Abusive/swear word has been detected! You have been kicked out!"
l_.str.17: ; @.str.17
.asciz "Fatal Error: -1\n"
l_.str.18: ; @.str.18
.asciz "The requested user couldn't be detected!"
.comm _now,8,3 ; @now
l_.str.19: ; @.str.19
.asciz "Fail to create a socket."
l_.str.20: ; @.str.20
.asciz "127.0.0.1"
l_.str.21: ; @.str.21
.asciz "Start Server on: %s:%d\n"
l_.str.22: ; @.str.22
.asciz "Client %s:%d come in.\n"
l_.str.23: ; @.str.23
.asciz "Create pthread error!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _newNode ## -- Begin function newNode
.p2align 4, 0x90
_newNode: ## @newNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $72, %edi
callq _malloc
movq %rax, -24(%rbp)
movl -4(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -24(%rbp), %rax
movq $0, 16(%rax)
movq -24(%rbp), %rdi
addq $24, %rdi
movq -16(%rbp), %rsi
movl $16, %ecx
movq %rcx, %rdx
callq ___strncpy_chk
movq -24(%rbp), %rdi
addq $40, %rdi
leaq L_.str(%rip), %rsi
movl $5, %edx
movq $-1, %rcx
callq ___strncpy_chk
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _str_trim_lf ## -- Begin function str_trim_lf
.p2align 4, 0x90
_str_trim_lf: ## @str_trim_lf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
jne LBB1_4
## %bb.3:
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb $0, (%rax,%rcx)
jmp LBB1_6
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _catch_ctrl_c_and_exit ## -- Begin function catch_ctrl_c_and_exit
.p2align 4, 0x90
_catch_ctrl_c_and_exit: ## @catch_ctrl_c_and_exit
.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)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq _root@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq _root@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq _root@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %edi
callq _close
movq _root@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq _root@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rax), %rcx
movq _root@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rdi
callq _free
jmp LBB2_1
LBB2_3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
callq _printf
movl -20(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _send_to_all_clients ## -- Begin function send_to_all_clients
.p2align 4, 0x90
_send_to_all_clients: ## @send_to_all_clients
.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 _root@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -24(%rbp)
je LBB3_5
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %esi
movq -16(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rax
movl (%rax), %edi
movq -16(%rbp), %rsi
movl $201, %edx
xorl %ecx, %ecx
callq _send
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB3_1
LBB3_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _send_to_particular_client ## -- Begin function send_to_particular_client
.p2align 4, 0x90
_send_to_particular_client: ## @send_to_particular_client
.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 _root@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB4_5
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -32(%rbp), %rdi
addq $40, %rdi
movq -24(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq -32(%rbp), %rax
movl (%rax), %esi
movq -16(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rax
movl (%rax), %edi
movq -16(%rbp), %rsi
movl $201, %edx
xorl %ecx, %ecx
callq _send
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB4_1
LBB4_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _usernm_verification ## -- Begin function usernm_verification
.p2align 4, 0x90
_usernm_verification: ## @usernm_verification
.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)
movq _root@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB5_5
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rdi
addq $40, %rdi
movq -16(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB5_4
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB5_1
LBB5_5:
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _client_handler ## -- Begin function client_handler
.p2align 4, 0x90
_client_handler: ## @client_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $6608, %eax ## imm = 0x19D0
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -6552(%rbp)
movl $0, -6556(%rbp)
movl $0, -6560(%rbp)
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $31, %edx
callq _memset
leaq -80(%rbp), %rdi
xorl %esi, %esi
movl $31, %edx
callq _memset
leaq -192(%rbp), %rdi
xorl %esi, %esi
movl $101, %edx
callq _memset
leaq -6192(%rbp), %rdi
xorl %esi, %esi
movl $6000, %edx ## imm = 0x1770
callq _memset
leaq -6304(%rbp), %rdi
xorl %esi, %esi
movl $101, %edx
callq _memset
leaq -6512(%rbp), %rdi
xorl %esi, %esi
movl $201, %edx
callq _memset
movq -6552(%rbp), %rax
movq %rax, -6568(%rbp)
movq L___const.client_handler.req_acc(%rip), %rax
movq %rax, -6523(%rbp)
movw L___const.client_handler.req_acc+8(%rip), %ax
movw %ax, -6515(%rbp)
movb L___const.client_handler.req_acc+10(%rip), %al
movb %al, -6513(%rbp)
movq -6568(%rbp), %rax
movl (%rax), %edi
leaq -48(%rbp), %rsi
movl $31, %edx
xorl %ecx, %ecx
callq _recv
cmpq $0, %rax
jle LBB6_3
## %bb.1:
leaq -48(%rbp), %rdi
callq _strlen
cmpq $2, %rax
jb LBB6_3
## %bb.2:
leaq -48(%rbp), %rdi
callq _strlen
cmpq $30, %rax
jb LBB6_4
LBB6_3:
movq -6568(%rbp), %rsi
addq $24, %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -6556(%rbp)
jmp LBB6_5
LBB6_4:
movq -6568(%rbp), %rdi
addq $40, %rdi
leaq -48(%rbp), %rsi
movl $31, %edx
movq $-1, %rcx
callq ___strncpy_chk
movq -6568(%rbp), %rsi
addq $40, %rsi
movq -6568(%rbp), %rdx
addq $24, %rdx
movq -6568(%rbp), %rax
movl (%rax), %ecx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq -6512(%rbp), %rdi
movq -6568(%rbp), %r8
addq $40, %r8
movq -6568(%rbp), %r9
addq $24, %r9
xorl %esi, %esi
movl $201, %edx
leaq L_.str.6(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -6568(%rbp), %rdi
leaq -6512(%rbp), %rsi
callq _send_to_all_clients
LBB6_5:
jmp LBB6_6
LBB6_6: ## =>This Loop Header: Depth=1
## Child Loop BB6_15 Depth 2
## Child Loop BB6_18 Depth 2
movl $0, -6580(%rbp)
movl $0, -6584(%rbp)
leaq -6544(%rbp), %rdi
xorl %esi, %esi
movl $20, %edx
callq _memset
movl $0, -6588(%rbp)
movl $0, -6592(%rbp)
cmpl $0, -6556(%rbp)
je LBB6_8
## %bb.7:
jmp LBB6_42
LBB6_8: ## in Loop: Header=BB6_6 Depth=1
movq -6568(%rbp), %rax
movl (%rax), %edi
leaq -192(%rbp), %rsi
movl $101, %edx
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax killed $rax
movl %eax, -6596(%rbp)
leaq -6304(%rbp), %rdi
leaq -192(%rbp), %rsi
movl $101, %edx
callq ___strcpy_chk
cmpl $0, -6596(%rbp)
jle LBB6_24
## %bb.9: ## in Loop: Header=BB6_6 Depth=1
leaq -192(%rbp), %rdi
callq _strlen
cmpq $0, %rax
jne LBB6_11
## %bb.10: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_6
LBB6_11: ## in Loop: Header=BB6_6 Depth=1
leaq -6304(%rbp), %rdi
leaq -6523(%rbp), %rsi
callq _strstr
cmpq $0, %rax
je LBB6_22
## %bb.12: ## in Loop: Header=BB6_6 Depth=1
leaq -6304(%rbp), %rdi
leaq -6523(%rbp), %rsi
callq _strstr
movq %rax, -6576(%rbp)
cmpq $0, -6576(%rbp)
je LBB6_14
## %bb.13: ## in Loop: Header=BB6_6 Depth=1
movq -6576(%rbp), %rax
leaq -6304(%rbp), %rcx
subq %rcx, %rax
movq %rax, -6608(%rbp) ## 8-byte Spill
leaq -6523(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -6608(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -6580(%rbp)
LBB6_14: ## in Loop: Header=BB6_6 Depth=1
movl -6580(%rbp), %eax
movl %eax, -6588(%rbp)
LBB6_15: ## Parent Loop BB6_6 Depth=1
## => This Inner Loop Header: Depth=2
movslq -6588(%rbp), %rax
movsbl -6304(%rbp,%rax), %eax
cmpl $32, %eax
je LBB6_17
## %bb.16: ## in Loop: Header=BB6_15 Depth=2
movl -6588(%rbp), %eax
addl $1, %eax
movl %eax, -6588(%rbp)
jmp LBB6_15
LBB6_17: ## in Loop: Header=BB6_6 Depth=1
movl -6588(%rbp), %eax
subl $1, %eax
movl %eax, -6584(%rbp)
movl -6580(%rbp), %eax
movl %eax, -6588(%rbp)
LBB6_18: ## Parent Loop BB6_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -6588(%rbp), %eax
cmpl -6584(%rbp), %eax
jle LBB6_20
## %bb.19: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_21
LBB6_20: ## in Loop: Header=BB6_18 Depth=2
movslq -6588(%rbp), %rax
movb -6304(%rbp,%rax), %cl
movslq -6592(%rbp), %rax
movb %cl, -6544(%rbp,%rax)
movl -6592(%rbp), %eax
addl $1, %eax
movl %eax, -6592(%rbp)
movl -6588(%rbp), %eax
addl $1, %eax
movl %eax, -6588(%rbp)
jmp LBB6_18
LBB6_21: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_22
LBB6_22: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_23
LBB6_23: ## in Loop: Header=BB6_6 Depth=1
leaq -6544(%rbp), %rdi
movl $101, %esi
callq _str_trim_lf
leaq -6544(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq -6512(%rbp), %rdi
movq -6568(%rbp), %r8
addq $40, %r8
leaq -192(%rbp), %r9
xorl %esi, %esi
movl $201, %edx
leaq L_.str.8(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
jmp LBB6_36
LBB6_24: ## in Loop: Header=BB6_6 Depth=1
cmpl $0, -6596(%rbp)
je LBB6_26
## %bb.25: ## in Loop: Header=BB6_6 Depth=1
leaq -192(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB6_27
LBB6_26: ## in Loop: Header=BB6_6 Depth=1
movq -6568(%rbp), %rsi
addq $40, %rsi
movq -6568(%rbp), %rdx
addq $24, %rdx
movq -6568(%rbp), %rax
movl (%rax), %ecx
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq -6512(%rbp), %rdi
movq -6568(%rbp), %r8
addq $40, %r8
movq -6568(%rbp), %r9
addq $24, %r9
xorl %esi, %esi
movl $201, %edx
leaq L_.str.11(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movl $1, -6556(%rbp)
jmp LBB6_35
LBB6_27: ## in Loop: Header=BB6_6 Depth=1
cmpl $0, -6596(%rbp)
je LBB6_32
## %bb.28: ## in Loop: Header=BB6_6 Depth=1
leaq -6304(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
callq _strstr
cmpq $0, %rax
jne LBB6_32
## %bb.29: ## in Loop: Header=BB6_6 Depth=1
leaq -6304(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
callq _strstr
cmpq $0, %rax
jne LBB6_32
## %bb.30: ## in Loop: Header=BB6_6 Depth=1
leaq -6304(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
callq _strstr
cmpq $0, %rax
jne LBB6_32
## %bb.31: ## in Loop: Header=BB6_6 Depth=1
leaq -6304(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq _strstr
cmpq $0, %rax
je LBB6_33
LBB6_32: ## in Loop: Header=BB6_6 Depth=1
movq -6568(%rbp), %rdi
movq -6568(%rbp), %rdx
addq $40, %rdx
leaq L_.str.16(%rip), %rsi
callq _send_to_particular_client
jmp LBB6_34
LBB6_33: ## in Loop: Header=BB6_6 Depth=1
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -6556(%rbp)
LBB6_34: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_35
LBB6_35: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_36
LBB6_36: ## in Loop: Header=BB6_6 Depth=1
leaq -6304(%rbp), %rdi
leaq -6523(%rbp), %rsi
callq _strstr
cmpq $0, %rax
je LBB6_40
## %bb.37: ## in Loop: Header=BB6_6 Depth=1
movq -6568(%rbp), %rdi
leaq -6512(%rbp), %rsi
leaq -6544(%rbp), %rdx
callq _send_to_particular_client
movq -6568(%rbp), %rdi
leaq -6544(%rbp), %rsi
callq _usernm_verification
cmpl $0, %eax
jne LBB6_39
## %bb.38: ## in Loop: Header=BB6_6 Depth=1
movq -6568(%rbp), %rdi
movq -6568(%rbp), %rdx
addq $40, %rdx
leaq L_.str.18(%rip), %rsi
callq _send_to_particular_client
LBB6_39: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_41
LBB6_40: ## in Loop: Header=BB6_6 Depth=1
movq -6568(%rbp), %rdi
leaq -6512(%rbp), %rsi
callq _send_to_all_clients
LBB6_41: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_6
LBB6_42:
movq -6568(%rbp), %rax
movl (%rax), %edi
callq _close
movq -6568(%rbp), %rax
movq _now@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB6_44
## %bb.43:
movq -6568(%rbp), %rax
movq 8(%rax), %rcx
movq _now@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _now@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq $0, 16(%rax)
jmp LBB6_45
LBB6_44:
movq -6568(%rbp), %rax
movq 16(%rax), %rcx
movq -6568(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 16(%rax)
movq -6568(%rbp), %rax
movq 8(%rax), %rcx
movq -6568(%rbp), %rax
movq 16(%rax), %rax
movq %rcx, 8(%rax)
LBB6_45:
movq -6568(%rbp), %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_47
## %bb.46:
addq $6608, %rsp ## imm = 0x19D0
popq %rbp
retq
LBB6_47:
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 $96, %rsp
movl $0, -4(%rbp)
movl $2, %edi
leaq _catch_ctrl_c_and_exit(%rip), %rsi
callq _signal
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, _server_sockfd(%rip)
cmpl $-1, _server_sockfd(%rip)
jne LBB7_2
## %bb.1:
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB7_2:
movl $16, -44(%rbp)
movl $16, -48(%rbp)
leaq -24(%rbp), %rdi
movslq -44(%rbp), %rdx
xorl %esi, %esi
movl $16, %ecx
callq ___memset_chk
leaq -40(%rbp), %rdi
movslq -48(%rbp), %rdx
xorl %esi, %esi
movl $16, %ecx
callq ___memset_chk
movb $2, -23(%rbp)
leaq L_.str.20(%rip), %rdi
callq _inet_addr
movl %eax, -20(%rbp)
movw $-18398, -22(%rbp) ## imm = 0xB822
movl _server_sockfd(%rip), %edi
leaq -24(%rbp), %rsi
movl -44(%rbp), %edx
callq _bind
movl _server_sockfd(%rip), %edi
movl $5, %esi
callq _listen
movl _server_sockfd(%rip), %edi
leaq -24(%rbp), %rsi
leaq -44(%rbp), %rdx
callq _getsockname
movl -20(%rbp), %edi
callq _inet_ntoa
movq %rax, -72(%rbp) ## 8-byte Spill
## %bb.3:
movzwl -22(%rbp), %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -76(%rbp) ## 4-byte Spill
## %bb.4:
movq -72(%rbp), %rsi ## 8-byte Reload
movl -76(%rbp), %eax ## 4-byte Reload
movzwl %ax, %edx
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
movl _server_sockfd(%rip), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
movl -20(%rbp), %edi
callq _inet_ntoa
movl -80(%rbp), %edi ## 4-byte Reload
movq %rax, %rsi
callq _newNode
movq %rax, %rcx
movq _root@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _root@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _now@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB7_5: ## =>This Inner Loop Header: Depth=1
movl _server_sockfd(%rip), %edi
leaq -40(%rbp), %rsi
leaq -48(%rbp), %rdx
callq _accept
movl %eax, _client_sockfd(%rip)
movl _client_sockfd(%rip), %edi
leaq -40(%rbp), %rsi
leaq -48(%rbp), %rdx
callq _getpeername
movl -36(%rbp), %edi
callq _inet_ntoa
movq %rax, -88(%rbp) ## 8-byte Spill
## %bb.6: ## in Loop: Header=BB7_5 Depth=1
movzwl -38(%rbp), %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -92(%rbp) ## 4-byte Spill
## %bb.7: ## in Loop: Header=BB7_5 Depth=1
movq -88(%rbp), %rsi ## 8-byte Reload
movl -92(%rbp), %eax ## 4-byte Reload
movzwl %ax, %edx
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
movl _client_sockfd(%rip), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
movl -36(%rbp), %edi
callq _inet_ntoa
movl -96(%rbp), %edi ## 4-byte Reload
movq %rax, %rsi
callq _newNode
movq %rax, -56(%rbp)
movq _now@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -56(%rbp), %rax
movq %rcx, 8(%rax)
movq -56(%rbp), %rcx
movq _now@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rcx, 16(%rax)
movq -56(%rbp), %rcx
movq _now@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -56(%rbp), %rcx
leaq -64(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq _client_handler(%rip), %rdx
callq _pthread_create
cmpl $0, %eax
je LBB7_9
## %bb.8:
leaq L_.str.23(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB7_9: ## in Loop: Header=BB7_5 Depth=1
jmp LBB7_5
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NULL"
.globl _server_sockfd ## @server_sockfd
.zerofill __DATA,__common,_server_sockfd,4,2
.globl _client_sockfd ## @client_sockfd
.zerofill __DATA,__common,_client_sockfd,4,2
.comm _root,8,3 ## @root
L_.str.1: ## @.str.1
.asciz "\nClose socketfd: %d\n"
L_.str.2: ## @.str.2
.asciz "Bye\n"
L_.str.3: ## @.str.3
.asciz "Send to sockfd %d: \"%s\" \n"
L___const.client_handler.req_acc: ## @__const.client_handler.req_acc
.asciz "REQACCESS "
L_.str.4: ## @.str.4
.asciz "%s didn't input name.\n"
L_.str.5: ## @.str.5
.asciz "%s(%s)(%d) joined the chatroom.\n"
L_.str.6: ## @.str.6
.asciz "%s(%s) joined the chatroom."
L_.str.7: ## @.str.7
.asciz "'%s'"
L_.str.8: ## @.str.8
.asciz "%s\357\274\232%s"
L_.str.9: ## @.str.9
.asciz "exit"
L_.str.10: ## @.str.10
.asciz "%s(%s)(%d) left the chatroom.\n"
L_.str.11: ## @.str.11
.asciz "%s(%s) left the chatroom."
L_.str.12: ## @.str.12
.asciz "fuck"
L_.str.13: ## @.str.13
.asciz "shit"
L_.str.14: ## @.str.14
.asciz "asshole"
L_.str.15: ## @.str.15
.asciz "pussy"
L_.str.16: ## @.str.16
.asciz "Abusive/swear word has been detected! You have been kicked out!"
L_.str.17: ## @.str.17
.asciz "Fatal Error: -1\n"
L_.str.18: ## @.str.18
.asciz "The requested user couldn't be detected!"
.comm _now,8,3 ## @now
L_.str.19: ## @.str.19
.asciz "Fail to create a socket."
L_.str.20: ## @.str.20
.asciz "127.0.0.1"
L_.str.21: ## @.str.21
.asciz "Start Server on: %s:%d\n"
L_.str.22: ## @.str.22
.asciz "Client %s:%d come in.\n"
L_.str.23: ## @.str.23
.asciz "Create pthread error!\n"
.subsections_via_symbols
| the_stack_data/215768716.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x1, x29, #1
sturb w0, [x29, #-1]
mov w0, #1
mov x2, #1
bl _write
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _len ; -- Begin function len
.p2align 2
_len: ; @len
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_3:
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, gt
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
str wzr, [sp, #28]
b LBB1_6
LBB1_5:
mov w8, #1
str w8, [sp, #28]
b LBB1_6
LBB1_6:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _check_str ; -- Begin function check_str
.p2align 2
_check_str: ; @check_str
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr x8, [sp, #16]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #16]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldr w10, [sp, #12]
ldr w11, [sp, #8]
add w10, w10, w11
ldrsb w9, [x9, w10, uxtw]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
str wzr, [sp, #28]
b LBB2_9
LBB2_6: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_3
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_8:
mov w8, #1
str w8, [sp, #28]
b LBB2_9
LBB2_9:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _check_sign ; -- Begin function check_sign
.p2align 2
_check_sign: ; @check_sign
.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 x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #43
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
str wzr, [sp, #28]
b LBB3_7
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
str w8, [sp, #28]
b LBB3_7
LBB3_7:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _check_errors ; -- Begin function check_errors
.p2align 2
_check_errors: ; @check_errors
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _len
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB4_5
LBB4_2:
ldr x0, [sp, #16]
bl _check_str
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB4_5
LBB4_4:
ldr x0, [sp, #16]
bl _check_sign
str w0, [sp, #12]
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB4_5
LBB4_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ft_putnbr_base ; -- Begin function ft_putnbr_base
.p2align 2
_ft_putnbr_base: ; @ft_putnbr_base
.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]
ldr x0, [sp, #16]
bl _check_errors
str w0, [sp, #8]
str wzr, [sp, #12]
ldr w8, [sp, #8]
subs w8, w8, #1
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, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_2 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_2
LBB5_4:
ldur w8, [x29, #-4]
ldr w9, [sp, #12]
sdiv w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5:
ldur w8, [x29, #-4]
ldr w9, [sp, #12]
sdiv w0, w8, w9
ldr x1, [sp, #16]
bl _ft_putnbr_base
b LBB5_6
LBB5_6:
ldr x8, [sp, #16]
ldur w9, [x29, #-4]
ldr w11, [sp, #12]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
add x1, x8, w9, sxtw
mov w0, #1
mov x2, #1
bl _write
b LBB5_7
LBB5_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #2002
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _ft_putnbr_base
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 "poneyvif"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %dil, %al
movb %al, -1(%rbp)
movl $1, %edi
leaq -1(%rbp), %rsi
movl $1, %edx
callq _write
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _len ## -- Begin function len
.p2align 4, 0x90
_len: ## @len
.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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_3:
cmpl $1, -20(%rbp)
jg LBB1_5
## %bb.4:
movl $0, -4(%rbp)
jmp LBB1_6
LBB1_5:
movl $1, -4(%rbp)
LBB1_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_str ## -- Begin function check_str
.p2align 4, 0x90
_check_str: ## @check_str
.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)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB2_7
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movl -20(%rbp), %edx
addl -24(%rbp), %edx
movl %edx, %edx
## kill: def $rdx killed $edx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB2_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB2_9
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_3
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_8:
movl $1, -4(%rbp)
LBB2_9:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_sign ## -- Begin function check_sign
.p2align 4, 0x90
_check_sign: ## @check_sign
.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
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $43, %eax
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $45, %eax
jne LBB3_5
LBB3_4:
movl $0, -4(%rbp)
jmp LBB3_7
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_1
LBB3_6:
movl $1, -4(%rbp)
LBB3_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_errors ## -- Begin function check_errors
.p2align 4, 0x90
_check_errors: ## @check_errors
.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 _len
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jne LBB4_2
## %bb.1:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB4_5
LBB4_2:
movq -16(%rbp), %rdi
callq _check_str
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jne LBB4_4
## %bb.3:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB4_5
LBB4_4:
movq -16(%rbp), %rdi
callq _check_sign
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB4_5:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_putnbr_base ## -- Begin function ft_putnbr_base
.p2align 4, 0x90
_ft_putnbr_base: ## @ft_putnbr_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 $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq _check_errors
movl %eax, -24(%rbp)
movl $0, -20(%rbp)
cmpl $1, -24(%rbp)
jne LBB5_7
## %bb.1:
jmp LBB5_2
LBB5_2: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB5_4
## %bb.3: ## in Loop: Header=BB5_2 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB5_2
LBB5_4:
movl -4(%rbp), %eax
cltd
idivl -20(%rbp)
cmpl $0, %eax
je LBB5_6
## %bb.5:
movl -4(%rbp), %eax
cltd
idivl -20(%rbp)
movl %eax, %edi
movq -16(%rbp), %rsi
callq _ft_putnbr_base
LBB5_6:
movq -16(%rbp), %rsi
movl -4(%rbp), %eax
cltd
idivl -20(%rbp)
movslq %edx, %rax
addq %rax, %rsi
movl $1, %edi
movl $1, %edx
callq _write
LBB5_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $2002, %edi ## imm = 0x7D2
leaq L_.str(%rip), %rsi
callq _ft_putnbr_base
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "poneyvif"
.subsections_via_symbols
| the_stack_data/48576046.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 get_wall_time
lCPI0_0:
.quad 0x3eb0c6f7a0b5ed8d ; double 9.9999999999999995E-7
.section __TEXT,__text,regular,pure_instructions
.globl _get_wall_time
.p2align 2
_get_wall_time: ; @get_wall_time
.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
add x0, sp, #8
mov x1, #0
bl _gettimeofday
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
movi d0, #0000000000000000
stur d0, [x29, #-8]
b LBB0_3
LBB0_2:
ldr d0, [sp, #8]
scvtf d2, d0
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
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmadd d0, d0, d1, d2
stur d0, [x29, #-8]
b LBB0_3
LBB0_3:
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function get_cpu_time
lCPI1_0:
.quad 0x412e848000000000 ; double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _get_cpu_time
.p2align 2
_get_cpu_time: ; @get_cpu_time
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _clock
ucvtf d0, x0
adrp x8, lCPI1_0@PAGE
ldr d1, [x8, lCPI1_0@PAGEOFF]
fdiv d0, d0, d1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function get_wall_time
LCPI0_0:
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
.section __TEXT,__text,regular,pure_instructions
.globl _get_wall_time
.p2align 4, 0x90
_get_wall_time: ## @get_wall_time
.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
leaq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
cmpl $0, %eax
je LBB0_2
## %bb.1:
xorps %xmm0, %xmm0
movsd %xmm0, -8(%rbp)
jmp LBB0_3
LBB0_2:
cvtsi2sdq -24(%rbp), %xmm1
cvtsi2sdl -16(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -8(%rbp)
LBB0_3:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function get_cpu_time
LCPI1_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI1_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI1_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__text,regular,pure_instructions
.globl _get_cpu_time
.p2align 4, 0x90
_get_cpu_time: ## @get_cpu_time
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _clock
movq %rax, %xmm0
movaps LCPI1_1(%rip), %xmm1 ## xmm1 = [1127219200,1160773632,0,0]
punpckldq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd LCPI1_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,1.9342813113834067E+25]
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0 ## xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/26966.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Push ; -- Begin function Push
.p2align 2
_Push: ; @Push
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _top@PAGE
ldr w8, [x8, _top@PAGEOFF]
subs w8, w8, #100
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
ldur w8, [x29, #-4]
adrp x9, _top@PAGE
ldr w10, [x9, _top@PAGEOFF]
add w10, w10, #1
str w10, [x9, _top@PAGEOFF]
adrp x9, _A@GOTPAGE
ldr x9, [x9, _A@GOTPAGEOFF]
str w8, [x9, w10, sxtw #2]
b LBB0_3
LBB0_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:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _top@PAGE
ldr w8, [x8, _top@PAGEOFF]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
adrp x9, _top@PAGE
ldr w8, [x9, _top@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _top@PAGEOFF]
b LBB1_3
LBB1_3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _Top ; -- Begin function Top
.p2align 2
_Top: ; @Top
.cfi_startproc
; %bb.0:
adrp x8, _top@PAGE
ldrsw x9, [x8, _top@PAGEOFF]
adrp x8, _A@GOTPAGE
ldr x8, [x8, _A@GOTPAGEOFF]
ldr w0, [x8, x9, lsl #2]
ret
.cfi_endproc
; -- End function
.globl _IsEmpty ; -- Begin function IsEmpty
.p2align 2
_IsEmpty: ; @IsEmpty
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
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:
mov w8, #1
str w8, [sp, #12]
b LBB3_3
LBB3_2:
str wzr, [sp, #12]
b LBB3_3
LBB3_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _Print ; -- Begin function Print
.p2align 2
_Print: ; @Print
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
adrp x9, _top@PAGE
ldr w9, [x9, _top@PAGEOFF]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _A@GOTPAGE
ldr x8, [x8, _A@GOTPAGEOFF]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB4_1
LBB4_4:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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, #2
bl _Push
bl _Print
mov w0, #5
bl _Push
bl _Print
mov w0, #10
bl _Push
bl _Print
bl _Pop
bl _Print
mov w0, #12
bl _Push
bl _Print
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
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 "Error: stack overflow\n"
.comm _A,404,2 ; @A
l_.str.1: ; @.str.1
.asciz "Error: No element to pop\n"
l_.str.2: ; @.str.2
.asciz "Stack: "
l_.str.3: ; @.str.3
.asciz "%d "
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 _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
movl %edi, -4(%rbp)
cmpl $100, _top(%rip)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
movl -4(%rbp), %edx
movl _top(%rip), %eax
addl $1, %eax
movl %eax, _top(%rip)
movslq %eax, %rcx
movq _A@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Pop ## -- Begin function Pop
.p2align 4, 0x90
_Pop: ## @Pop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $-1, _top(%rip)
jne LBB1_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
movl _top(%rip), %eax
addl $-1, %eax
movl %eax, _top(%rip)
LBB1_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Top ## -- Begin function Top
.p2align 4, 0x90
_Top: ## @Top
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _top(%rip), %rcx
movq _A@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _IsEmpty ## -- Begin function IsEmpty
.p2align 4, 0x90
_IsEmpty: ## @IsEmpty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $-1, _top(%rip)
jne LBB3_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB3_3
LBB3_2:
movl $0, -4(%rbp)
LBB3_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Print ## -- Begin function Print
.p2align 4, 0x90
_Print: ## @Print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
cmpl _top(%rip), %eax
jg LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
movq _A@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_1
LBB4_4:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $2, %edi
callq _Push
callq _Print
movl $5, %edi
callq _Push
callq _Print
movl $10, %edi
callq _Push
callq _Print
callq _Pop
callq _Print
movl $12, %edi
callq _Push
callq _Print
xorl %eax, %eax
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 "Error: stack overflow\n"
.comm _A,404,4 ## @A
L_.str.1: ## @.str.1
.asciz "Error: No element to pop\n"
L_.str.2: ## @.str.2
.asciz "Stack: "
L_.str.3: ## @.str.3
.asciz "%d "
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| the_stack_data/14398.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w2, #0
str wzr, [sp, #36]
mov w8, #16
str w8, [sp, #24]
str w8, [sp, #20]
mov w0, #2
mov w1, #1
bl _socket
str w0, [sp, #32]
subs w8, w0, #0
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 _perror
mov w0, #-1
bl _exit
LBB0_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
ldrsw x2, [sp, #24]
sub x0, x29, #24
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #0
mov x3, #16
bl ___memset_chk
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov w8, #2
sturb w8, [x29, #-23]
mov w8, #10505
sturh w8, [x29, #-22]
stur wzr, [x29, #-20]
ldr w0, [sp, #32]
ldr w2, [sp, #24]
bl _bind
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #-1
bl _exit
LBB0_5:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
mov x8, #2345
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
ldr w0, [sp, #32]
mov w1, #5
bl _listen
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #-1
bl _exit
LBB0_8:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_9
LBB0_9:
ldr w0, [sp, #32]
add x1, sp, #40
add x2, sp, #20
bl _accept
str w0, [sp, #28]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _perror
mov w0, #-1
bl _exit
LBB0_11:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_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, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "socket error"
l_.str.1: ; @.str.1
.asciz "socket successfully!\n"
l_.str.2: ; @.str.2
.asciz "socket id : %d\n"
l_.str.3: ; @.str.3
.asciz "bind error"
l_.str.4: ; @.str.4
.asciz "bind successfully!\n"
l_.str.5: ; @.str.5
.asciz "local port : %d\n"
l_.str.6: ; @.str.6
.asciz "listen error"
l_.str.7: ; @.str.7
.asciz "listening...\n"
l_.str.8: ; @.str.8
.asciz "accept error"
l_.str.9: ; @.str.9
.asciz "accepted a new connection ..\n"
l_.str.10: ; @.str.10
.asciz "new socket id : %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -44(%rbp)
movl $16, -56(%rbp)
movl $16, -60(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -48(%rbp)
cmpl $0, %eax
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $-1, %edi
callq _exit
LBB0_2:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -48(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3:
leaq -24(%rbp), %rdi
movslq -56(%rbp), %rdx
xorl %esi, %esi
movl $16, %ecx
callq ___memset_chk
movb $2, -23(%rbp)
movw $10505, -22(%rbp) ## imm = 0x2909
movl $0, -20(%rbp)
movl -48(%rbp), %edi
leaq -24(%rbp), %rsi
movl -56(%rbp), %edx
callq _bind
cmpl $-1, %eax
jne LBB0_5
## %bb.4:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $-1, %edi
callq _exit
LBB0_5:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movl $2345, %esi ## imm = 0x929
movb $0, %al
callq _printf
## %bb.6:
movl -48(%rbp), %edi
movl $5, %esi
callq _listen
cmpl $-1, %eax
jne LBB0_8
## %bb.7:
leaq L_.str.6(%rip), %rdi
callq _perror
movl $-1, %edi
callq _exit
LBB0_8:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9:
movl -48(%rbp), %edi
leaq -40(%rbp), %rsi
leaq -60(%rbp), %rdx
callq _accept
movl %eax, -52(%rbp)
cmpl $-1, %eax
jne LBB0_11
## %bb.10:
leaq L_.str.8(%rip), %rdi
callq _perror
movl $-1, %edi
callq _exit
LBB0_11:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl -52(%rbp), %esi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
## %bb.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 $64, %rsp
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "socket error"
L_.str.1: ## @.str.1
.asciz "socket successfully!\n"
L_.str.2: ## @.str.2
.asciz "socket id : %d\n"
L_.str.3: ## @.str.3
.asciz "bind error"
L_.str.4: ## @.str.4
.asciz "bind successfully!\n"
L_.str.5: ## @.str.5
.asciz "local port : %d\n"
L_.str.6: ## @.str.6
.asciz "listen error"
L_.str.7: ## @.str.7
.asciz "listening...\n"
L_.str.8: ## @.str.8
.asciz "accept error"
L_.str.9: ## @.str.9
.asciz "accepted a new connection ..\n"
L_.str.10: ## @.str.10
.asciz "new socket id : %d\n"
.subsections_via_symbols
| the_stack_data/73280.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/502454.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handle_double_inf ; -- Begin function handle_double_inf
.p2align 2
_handle_double_inf: ; @handle_double_inf
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handle_double_inf ## -- Begin function handle_double_inf
.p2align 4, 0x90
_handle_double_inf: ## @handle_double_inf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1182139.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
sub x8, x29, #16
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur w8, [x29, #-8]
stur w8, [x29, #-24] ; 4-byte Folded Spill
b LBB0_4
LBB0_3:
ldur w8, [x29, #-16]
stur w8, [x29, #-24] ; 4-byte Folded Spill
b LBB0_4
LBB0_4:
ldur w8, [x29, #-24] ; 4-byte Folded Reload
stur w8, [x29, #-28] ; 4-byte Folded Spill
b LBB0_9
LBB0_5:
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur w8, [x29, #-12]
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB0_8
LBB0_7:
ldur w8, [x29, #-16]
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB0_8
LBB0_8:
ldr w8, [sp, #32] ; 4-byte Folded Reload
stur w8, [x29, #-28] ; 4-byte Folded Spill
b LBB0_9
LBB0_9:
ldur w8, [x29, #-28] ; 4-byte Folded Reload
stur w8, [x29, #-20]
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " Enter value of a , b and c : "
l_.str.1: ; @.str.1
.asciz "%d %d %d"
l_.str.2: ; @.str.2
.asciz " \n\n max = %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB0_5
## %bb.1:
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB0_3
## %bb.2:
movl -8(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB0_4
LBB0_3:
movl -16(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB0_4:
movl -24(%rbp), %eax ## 4-byte Reload
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB0_9
LBB0_5:
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB0_7
## %bb.6:
movl -12(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
jmp LBB0_8
LBB0_7:
movl -16(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
LBB0_8:
movl -32(%rbp), %eax ## 4-byte Reload
movl %eax, -28(%rbp) ## 4-byte Spill
LBB0_9:
movl -28(%rbp), %eax ## 4-byte Reload
movl %eax, -20(%rbp)
movl -20(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " Enter value of a , b and c : "
L_.str.1: ## @.str.1
.asciz "%d %d %d"
L_.str.2: ## @.str.2
.asciz " \n\n max = %d"
.subsections_via_symbols
| the_stack_data/31388672.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dfs ; -- Begin function dfs
.p2align 2
_dfs: ; @dfs
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
str x3, [sp, #24]
str x4, [sp, #16]
str x5, [sp, #8]
ldur w8, [x29, #-12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x0, [sp, #24]
bl _strdup
ldr x8, [sp, #16]
ldr x11, [sp, #8]
ldrsw x9, [x11]
mov x10, x9
add w10, w10, #1
str w10, [x11]
str x0, [x8, x9, lsl #3]
b LBB0_3
LBB0_3:
b LBB0_7
LBB0_4:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #24]
ldursw x9, [x29, #-12]
add x9, x8, x9
mov w8, #41
strb w8, [x9]
ldur w0, [x29, #-4]
ldur w8, [x29, #-8]
subs w1, w8, #1
ldur w8, [x29, #-12]
add w2, w8, #1
ldr x3, [sp, #24]
ldr x4, [sp, #16]
ldr x5, [sp, #8]
bl _dfs
b LBB0_6
LBB0_6:
ldr x8, [sp, #24]
ldursw x9, [x29, #-12]
add x9, x8, x9
mov w8, #40
strb w8, [x9]
ldur w0, [x29, #-4]
ldur w8, [x29, #-8]
add w1, w8, #1
ldur w8, [x29, #-12]
add w2, w8, #1
ldr x3, [sp, #24]
ldr x4, [sp, #16]
ldr x5, [sp, #8]
bl _dfs
b LBB0_7
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _generateParenthesis ; -- Begin function generateParenthesis
.p2align 2
_generateParenthesis: ; @generateParenthesis
.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 w0, [x29, #-12]
stur x1, [x29, #-24]
ldur x8, [x29, #-24]
mov w9, #0
stur w9, [x29, #-84] ; 4-byte Folded Spill
str wzr, [x8]
mov x0, #16000
bl _malloc
ldur w2, [x29, #-84] ; 4-byte Folded Reload
stur x0, [x29, #-32]
ldur w9, [x29, #-12]
mov w8, #2
mul w9, w8, w9
add w9, w9, #1
; kill: def $x9 killed $w9
stur x9, [x29, #-72] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-40]
lsr x9, x9, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-80] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-80] ; 8-byte Folded Reload
ldur x9, [x29, #-72] ; 8-byte Folded Reload
mov x10, sp
subs x3, x10, x11
mov sp, x3
stur x9, [x29, #-48]
ldur w9, [x29, #-12]
mul w10, w8, w9
mov x9, x3
add x9, x9, w10, sxtw
strb wzr, [x9]
ldur w9, [x29, #-12]
mul w0, w8, w9
ldur x4, [x29, #-32]
ldur x5, [x29, #-24]
mov x1, x2
bl _dfs
ldur x8, [x29, #-32]
stur x8, [x29, #-64] ; 8-byte Folded Spill
ldur x8, [x29, #-40]
stur x8, [x29, #-56] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
ldur x0, [x29, #-64] ; 8-byte Folded Reload
ldur x8, [x29, #-56] ; 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 _dfs ## -- Begin function dfs
.p2align 4, 0x90
_dfs: ## @dfs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movq %rcx, -24(%rbp)
movq %r8, -32(%rbp)
movq %r9, -40(%rbp)
movl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jl LBB0_4
## %bb.1:
cmpl $0, -8(%rbp)
jne LBB0_3
## %bb.2:
movq -24(%rbp), %rdi
callq _strdup
movq %rax, %rdx
movq -32(%rbp), %rax
movq -40(%rbp), %rsi
movl (%rsi), %ecx
movl %ecx, %edi
addl $1, %edi
movl %edi, (%rsi)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
LBB0_3:
jmp LBB0_7
LBB0_4:
cmpl $0, -8(%rbp)
jle LBB0_6
## %bb.5:
movq -24(%rbp), %rax
movslq -12(%rbp), %rcx
movb $41, (%rax,%rcx)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
subl $1, %esi
movl -12(%rbp), %edx
addl $1, %edx
movq -24(%rbp), %rcx
movq -32(%rbp), %r8
movq -40(%rbp), %r9
callq _dfs
LBB0_6:
movq -24(%rbp), %rax
movslq -12(%rbp), %rcx
movb $40, (%rax,%rcx)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
addl $1, %esi
movl -12(%rbp), %edx
addl $1, %edx
movq -24(%rbp), %rcx
movq -32(%rbp), %r8
movq -40(%rbp), %r9
callq _dfs
LBB0_7:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _generateParenthesis ## -- Begin function generateParenthesis
.p2align 4, 0x90
_generateParenthesis: ## @generateParenthesis
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -12(%rbp)
movq %rsi, -24(%rbp)
movq -24(%rbp), %rax
movl $0, (%rax)
movl $16000, %edi ## imm = 0x3E80
callq _malloc
movq %rax, -32(%rbp)
movl -12(%rbp), %ecx
## implicit-def: $rax
movl %ecx, %eax
leal 1(%rax,%rax), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -64(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rax, -48(%rbp)
movl -12(%rbp), %eax
shll $1, %eax
cltq
movb $0, (%rcx,%rax)
movl -12(%rbp), %edi
shll $1, %edi
movq -32(%rbp), %r8
movq -24(%rbp), %r9
xorl %edx, %edx
movl %edx, %esi
callq _dfs
movq -32(%rbp), %rax
movq %rax, -56(%rbp) ## 8-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 LBB1_2
## %bb.1:
movq -56(%rbp), %rax ## 8-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/556802.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_float ; -- Begin function insert_float
.p2align 2
_insert_float: ; @insert_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
stur s0, [x29, #-4]
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #32
cset w9, ge
; 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__.insert_float@PAGE
add x0, x0, l___func__.insert_float@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #9
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
sub x8, x29, #4
str x8, [sp]
ldr w9, [sp, #8]
mov w8, #1
lsl w10, w8, w9
ldr x9, [sp]
ldr w8, [x9]
eor w8, w8, w10
str w8, [x9]
ldur s0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insert_double ; -- Begin function insert_double
.p2align 2
_insert_double: ; @insert_double
.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 d0, [x29, #-8]
stur w0, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #64
cset w9, ge
; 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__.insert_double@PAGE
add x0, x0, l___func__.insert_double@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #16
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
sub x8, x29, #8
str x8, [sp, #8]
ldur w8, [x29, #-12]
mov x9, x8
mov x8, #1
lsl x10, x8, x9
ldr x9, [sp, #8]
ldr x8, [x9]
eor x8, x8, x10
str x8, [x9]
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insert_int8 ; -- Begin function insert_int8
.p2align 2
_insert_int8: ; @insert_int8
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-1]
str w1, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #8
cset w9, ge
; 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__.insert_int8@PAGE
add x0, x0, l___func__.insert_int8@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #23
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB2_2:
b LBB2_3
LBB2_3:
ldr w9, [sp, #8]
mov w8, #1
lsl w9, w8, w9
ldursb w8, [x29, #-1]
eor w8, w8, w9
sturb w8, [x29, #-1]
ldursb w0, [x29, #-1]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insert_int16 ; -- Begin function insert_int16
.p2align 2
_insert_int16: ; @insert_int16
.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
sturh w0, [x29, #-2]
str w1, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #16
cset w9, ge
; 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__.insert_int16@PAGE
add x0, x0, l___func__.insert_int16@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #29
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB3_2:
b LBB3_3
LBB3_3:
ldr w9, [sp, #8]
mov w8, #1
lsl w9, w8, w9
ldursh w8, [x29, #-2]
eor w8, w8, w9
sturh w8, [x29, #-2]
ldursh w0, [x29, #-2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insert_int32 ; -- Begin function insert_int32
.p2align 2
_insert_int32: ; @insert_int32
.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]
ldr w8, [sp, #8]
subs w8, w8, #32
cset w9, ge
; 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__.insert_int32@PAGE
add x0, x0, l___func__.insert_int32@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #35
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB4_2:
b LBB4_3
LBB4_3:
ldr w9, [sp, #8]
mov w8, #1
lsl w9, w8, w9
ldur w8, [x29, #-4]
eor w8, w8, w9
stur w8, [x29, #-4]
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insert_int64 ; -- Begin function insert_int64
.p2align 2
_insert_int64: ; @insert_int64
.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, #64
cset w9, ge
; 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__.insert_int64@PAGE
add x0, x0, l___func__.insert_int64@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #41
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB5_2:
b LBB5_3
LBB5_3:
ldr w8, [sp, #4]
mov x9, x8
mov x8, #1
lsl x9, x8, x9
ldr x8, [sp, #8]
eor x8, x8, x9
str x8, [sp, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insert_array ; -- Begin function insert_array
.p2align 2
_insert_array: ; @insert_array
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
mov w11, #8
sdiv w9, w8, w11
mul w9, w9, w11
subs w9, w8, w9
mov w8, #1
lsl w10, w8, w9
ldr x8, [sp, #8]
ldr w9, [sp, #4]
sdiv w9, w9, w11
add x9, x8, w9, sxtw
ldrsb w8, [x9]
eor w8, w8, w10
strb w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldur s0, [x29, #-8]
ldur w0, [x29, #-12]
bl _insert_float
stur s0, [x29, #-8]
ldur s0, [x29, #-8]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB7_1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.insert_float: ; @__func__.insert_float
.asciz "insert_float"
l_.str: ; @.str
.asciz "151706908.c"
l_.str.1: ; @.str.1
.asciz "bit<32"
l___func__.insert_double: ; @__func__.insert_double
.asciz "insert_double"
l_.str.2: ; @.str.2
.asciz "bit<64"
l___func__.insert_int8: ; @__func__.insert_int8
.asciz "insert_int8"
l_.str.3: ; @.str.3
.asciz "bit<8"
l___func__.insert_int16: ; @__func__.insert_int16
.asciz "insert_int16"
l_.str.4: ; @.str.4
.asciz "bit<16"
l___func__.insert_int32: ; @__func__.insert_int32
.asciz "insert_int32"
l___func__.insert_int64: ; @__func__.insert_int64
.asciz "insert_int64"
l_.str.5: ; @.str.5
.asciz "%f"
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "%e\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_float ## -- Begin function insert_float
.p2align 4, 0x90
_insert_float: ## @insert_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)
movl %edi, -8(%rbp)
cmpl $32, -8(%rbp)
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.insert_float(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $9, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
leaq -4(%rbp), %rax
movq %rax, -16(%rbp)
movl -8(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movq -16(%rbp), %rax
xorl (%rax), %ecx
movl %ecx, (%rax)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_double ## -- Begin function insert_double
.p2align 4, 0x90
_insert_double: ## @insert_double
.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
movsd %xmm0, -8(%rbp)
movl %edi, -12(%rbp)
cmpl $64, -12(%rbp)
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.insert_double(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $16, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
leaq -8(%rbp), %rax
movq %rax, -24(%rbp)
movl -12(%rbp), %eax
movl %eax, %ecx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movq %rax, %rcx
movq -24(%rbp), %rax
xorq (%rax), %rcx
movq %rcx, (%rax)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_int8 ## -- Begin function insert_int8
.p2align 4, 0x90
_insert_int8: ## @insert_int8
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %dil, %al
movb %al, -1(%rbp)
movl %esi, -8(%rbp)
cmpl $8, -8(%rbp)
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_2
## %bb.1:
leaq L___func__.insert_int8(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $23, %edx
callq ___assert_rtn
LBB2_2:
jmp LBB2_3
LBB2_3:
movl -8(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movsbl -1(%rbp), %eax
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -1(%rbp)
movsbl -1(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_int16 ## -- Begin function insert_int16
.p2align 4, 0x90
_insert_int16: ## @insert_int16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movw %di, %ax
movw %ax, -2(%rbp)
movl %esi, -8(%rbp)
cmpl $16, -8(%rbp)
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB3_2
## %bb.1:
leaq L___func__.insert_int16(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movl $29, %edx
callq ___assert_rtn
LBB3_2:
jmp LBB3_3
LBB3_3:
movl -8(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movswl -2(%rbp), %eax
xorl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -2(%rbp)
movswl -2(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_int32 ## -- Begin function insert_int32
.p2align 4, 0x90
_insert_int32: ## @insert_int32
.cfi_startproc
## %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)
cmpl $32, -8(%rbp)
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB4_2
## %bb.1:
leaq L___func__.insert_int32(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $35, %edx
callq ___assert_rtn
LBB4_2:
jmp LBB4_3
LBB4_3:
movl -8(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
xorl -4(%rbp), %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_int64 ## -- Begin function insert_int64
.p2align 4, 0x90
_insert_int64: ## @insert_int64
.cfi_startproc
## %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 $64, -12(%rbp)
setl %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB5_2
## %bb.1:
leaq L___func__.insert_int64(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $41, %edx
callq ___assert_rtn
LBB5_2:
jmp LBB5_3
LBB5_3:
movl -12(%rbp), %eax
movl %eax, %ecx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
xorq -8(%rbp), %rax
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_array ## -- Begin function insert_array
.p2align 4, 0x90
_insert_array: ## @insert_array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %edx, %ecx
movl $1, %esi
## kill: def $cl killed $ecx
shll %cl, %esi
movq -8(%rbp), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movl -12(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -24(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movsbl (%rax,%rcx), %edx
xorl %esi, %edx
## kill: def $dl killed $dl killed $edx
movb %dl, (%rax,%rcx)
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.5(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB7_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.6(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movl -12(%rbp), %edi
callq _insert_float
movss %xmm0, -8(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB7_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.insert_float: ## @__func__.insert_float
.asciz "insert_float"
L_.str: ## @.str
.asciz "151706908.c"
L_.str.1: ## @.str.1
.asciz "bit<32"
L___func__.insert_double: ## @__func__.insert_double
.asciz "insert_double"
L_.str.2: ## @.str.2
.asciz "bit<64"
L___func__.insert_int8: ## @__func__.insert_int8
.asciz "insert_int8"
L_.str.3: ## @.str.3
.asciz "bit<8"
L___func__.insert_int16: ## @__func__.insert_int16
.asciz "insert_int16"
L_.str.4: ## @.str.4
.asciz "bit<16"
L___func__.insert_int32: ## @__func__.insert_int32
.asciz "insert_int32"
L___func__.insert_int64: ## @__func__.insert_int64
.asciz "insert_int64"
L_.str.5: ## @.str.5
.asciz "%f"
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "%e\n"
.subsections_via_symbols
| the_stack_data/151706908.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/941762.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-28]
stur w0, [x29, #-32]
str x1, [sp, #40]
bl _megaInit
ldur w8, [x29, #-32]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB0_2:
b LBB0_3
LBB0_3:
str wzr, [sp, #36]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #40]
ldr w9, [sp, #36]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
mov x1, #0
mov w2, #10
bl _strtoul
str x0, [sp, #24]
ldr x8, [sp, #24]
ldrsw x10, [sp, #36]
sub x9, x29, #16
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_4
LBB0_6:
sub x0, x29, #16
sub x1, x29, #24
bl _RandomFunc
ldur x8, [x29, #-24]
mov x9, #16818
movk x9, #64734, lsl #16
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_8:
b LBB0_9
LBB0_9:
str wzr, [sp, #20]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldrsw x9, [sp, #20]
sub x8, x29, #24
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_10
LBB0_12:
ldur w8, [x29, #-28]
str w8, [sp, #16] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8]
mov x9, #54700
movk x9, #781, lsl #16
orr x8, x8, x9
lsr x8, x8, #3
stur x8, [x29, #-16]
str xzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #1
cset w8, hs
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB2_7
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
sub x9, x29, #16
ldur x8, [x29, #-16]
ldur x10, [x29, #-16]
and x10, x10, #0x7
orr x10, x10, #0x1
lsr x8, x8, x10
ldr x10, [sp, #8]
str x8, [x9, x10, lsl #3]
b LBB2_6
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr x10, [sp, #8]
sub x9, x29, #16
mov x8, x9
add x8, x8, x10, lsl #3
ldrb w8, [x8, #7]
strb w8, [sp, #7]
ldr x10, [sp, #8]
mov x8, x9
add x8, x8, x10, lsl #3
ldrb w8, [x8, #5]
ldr x11, [sp, #8]
mov x10, x9
add x10, x10, x11, lsl #3
strb w8, [x10, #7]
ldrb w8, [sp, #7]
ldr x10, [sp, #8]
add x9, x9, x10, lsl #3
strb w8, [x9, #5]
ldurh w8, [x29, #-12]
strh w8, [sp, #4]
ldurh w8, [x29, #-10]
sturh w8, [x29, #-12]
ldrh w8, [sp, #4]
sturh w8, [x29, #-10]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #2
str x8, [sp, #8]
b LBB2_1
LBB2_8:
ldur x8, [x29, #-16]
mov x9, #40098
movk x9, #9912, lsl #16
orr x8, x8, x9
mov x9, #46016
movk x9, #49151, lsl #16
movk x9, #1, lsl #32
and x8, x8, x9
ldr x9, [sp, #16]
str x8, [x9]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
bl ___stack_chk_fail
LBB2_10:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call this program with %i arguments\n"
l_.str.1: ; @.str.1
.asciz "You win!\n"
l_.str.2: ; @.str.2
.asciz "%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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
movl %edi, -32(%rbp)
movq %rsi, -40(%rbp)
callq _megaInit
cmpl $2, -32(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %esi
callq _printf
movl $-1, %edi
callq _exit
LBB0_2:
jmp LBB0_3
LBB0_3:
movl $0, -44(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -44(%rbp)
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -40(%rbp), %rax
movl -44(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $10, %edx
callq _strtoul
movq %rax, -56(%rbp)
movq -56(%rbp), %rcx
movslq -44(%rbp), %rax
movq %rcx, -16(%rbp,%rax,8)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_4
LBB0_6:
leaq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _RandomFunc
movl $4242424242, %eax ## imm = 0xFCDE41B2
cmpq %rax, -24(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_8:
jmp LBB0_9
LBB0_9:
movl $0, -60(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpl $1, -60(%rbp)
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movslq -60(%rbp), %rax
movq -24(%rbp,%rax,8), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_10
LBB0_12:
movl -28(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_14
## %bb.13:
movl -64(%rbp), %eax ## 4-byte Reload
addq $64, %rsp
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
orq $51238316, %rax ## imm = 0x30DD5AC
shrq $3, %rax
movq %rax, -16(%rbp)
movq $0, -40(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpq $1, -40(%rbp)
jae LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
cmpq -40(%rbp), %rax
jbe LBB2_7
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
cmpq -40(%rbp), %rax
jbe LBB2_5
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movq -16(%rbp), %rcx
andq $7, %rcx
orq $1, %rcx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, -16(%rbp,%rax,8)
jmp LBB2_6
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rax
movb -9(%rbp,%rax,8), %al
movb %al, -41(%rbp)
movq -40(%rbp), %rax
movb -11(%rbp,%rax,8), %cl
movq -40(%rbp), %rax
movb %cl, -9(%rbp,%rax,8)
movb -41(%rbp), %cl
movq -40(%rbp), %rax
movb %cl, -11(%rbp,%rax,8)
movw -12(%rbp), %ax
movw %ax, -44(%rbp)
movw -10(%rbp), %ax
movw %ax, -12(%rbp)
movw -44(%rbp), %ax
movw %ax, -10(%rbp)
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rax
addq $2, %rax
movq %rax, -40(%rbp)
jmp LBB2_1
LBB2_8:
movq -16(%rbp), %rcx
orq $649632930, %rcx ## imm = 0x26B89CA2
movabsq $7516173248, %rax ## imm = 0x1BFFFB3C0
andq %rax, %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_10
## %bb.9:
addq $48, %rsp
popq %rbp
retq
LBB2_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.1: ## @.str.1
.asciz "You win!\n"
L_.str.2: ## @.str.2
.asciz "%lu\n"
.subsections_via_symbols
| the_stack_data/134996.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "tone <frequency_Hz>,[<amplitude>] [<frequency_Hz>,[<amplitude>]...]\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "tone <frequency_Hz>,[<amplitude>] [<frequency_Hz>,[<amplitude>]...]\n"
.subsections_via_symbols
| the_stack_data/43184.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x0, [x29, #-16]
bl _gets
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
stur w8, [x29, #-24]
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #28]
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-17]
ldursb w8, [x29, #-17]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_9
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-17]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_11:
ldur w8, [x29, #-28]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Please input a string: "
l_.str.1: ; @.str.1
.asciz "Upper case letter:%d\nLower case letter:%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
callq _gets
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -24(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
movsbl -17(%rbp), %eax
cmpl $97, %eax
jl LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movsbl -17(%rbp), %eax
cmpl $122, %eax
jg LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_9
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movsbl -17(%rbp), %eax
cmpl $65, %eax
jl LBB0_8
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movsbl -17(%rbp), %eax
cmpl $90, %eax
jg LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_11:
movl -28(%rbp), %esi
movl -32(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please input a string: "
L_.str.1: ## @.str.1
.asciz "Upper case letter:%d\nLower case letter:%d\n"
.subsections_via_symbols
| the_stack_data/85195.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
bl _megaInit
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB0_2:
b LBB0_3
LBB0_3:
str wzr, [sp, #24]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #24]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
mov x1, #0
mov w2, #10
bl _strtoul
mov x8, x0
strb w8, [sp, #23]
ldrb w8, [sp, #23]
ldrsw x10, [sp, #24]
sub x9, x29, #17
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_4
LBB0_6:
sub x0, x29, #17
sub x1, x29, #18
bl _RandomFunc
ldurb w8, [x29, #-18]
subs w8, w8, #42
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_8:
b LBB0_9
LBB0_9:
str wzr, [sp, #16]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldrsw x9, [sp, #16]
sub x8, x29, #18
ldrb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_10
LBB0_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldrb w8, [x8]
; kill: def $x8 killed $w8
mov x9, #26986
movk x9, #13958, lsl #16
add x8, x8, x9
mov x9, #22
mul x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
strb w8, [sp, #15]
strb wzr, [sp, #13]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldrb w8, [sp, #13]
ldr x9, [sp, #24]
ldrb w9, [x9, #1]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
strb wzr, [sp, #14]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [sp, #14]
ldr x9, [sp, #24]
ldrb w9, [x9, #1]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
add x8, sp, #15
ldrb w9, [sp, #15]
ldrb w10, [sp, #14]
; kill: def $x10 killed $w10
ldrb w10, [x8, x10]
add w9, w9, w10
ldrb w10, [sp, #14]
; kill: def $x10 killed $w10
strb w9, [x8, x10]
ldrb w9, [sp, #13]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ldrb w9, [sp, #15]
subs w8, w8, w9
strb w8, [sp, #15]
ldrb w8, [sp, #14]
add w8, w8, #1
strb w8, [sp, #14]
b LBB2_3
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldrb w8, [sp, #13]
add w8, w8, #1
strb w8, [sp, #13]
b LBB2_1
LBB2_6:
ldrb w8, [sp, #15]
mov w9, #69
mul w8, w8, w9
ldr x9, [sp, #16]
strb w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call this program with %i arguments\n"
l_.str.1: ; @.str.1
.asciz "You win!\n"
l_.str.2: ; @.str.2
.asciz "%u\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _megaInit
cmpl $2, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %esi
callq _printf
movl $-1, %edi
callq _exit
LBB0_2:
jmp LBB0_3
LBB0_3:
movl $0, -24(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -24(%rbp)
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $10, %edx
callq _strtoul
## kill: def $al killed $al killed $rax
movb %al, -25(%rbp)
movb -25(%rbp), %cl
movslq -24(%rbp), %rax
movb %cl, -17(%rbp,%rax)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_4
LBB0_6:
leaq -17(%rbp), %rdi
leaq -18(%rbp), %rsi
callq _RandomFunc
movzbl -18(%rbp), %eax
cmpl $42, %eax
jne LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_8:
jmp LBB0_9
LBB0_9:
movl $0, -32(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpl $1, -32(%rbp)
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movslq -32(%rbp), %rax
movzbl -18(%rbp,%rax), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_10
LBB0_12:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
addq $914778474, %rax ## imm = 0x3686696A
imulq $22, %rax, %rax
## kill: def $al killed $al killed $rax
movb %al, -17(%rbp)
movb $0, -19(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movzbl -19(%rbp), %eax
movq -8(%rbp), %rcx
movzbl 1(%rcx), %ecx
cmpl %ecx, %eax
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movb $0, -18(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -18(%rbp), %eax
movq -8(%rbp), %rcx
movzbl 1(%rcx), %ecx
cmpl %ecx, %eax
jge LBB2_5
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movzbl -17(%rbp), %eax
movzbl -18(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl -17(%rbp,%rcx), %ecx
addl %ecx, %eax
movb %al, %cl
movzbl -18(%rbp), %eax
## kill: def $rax killed $eax
movb %cl, -17(%rbp,%rax)
movzbl -19(%rbp), %eax
## kill: def $rax killed $eax
movzbl -17(%rbp,%rax), %eax
movzbl -17(%rbp), %ecx
subl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movb -18(%rbp), %al
addb $1, %al
movb %al, -18(%rbp)
jmp LBB2_3
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movb -19(%rbp), %al
addb $1, %al
movb %al, -19(%rbp)
jmp LBB2_1
LBB2_6:
movzbl -17(%rbp), %eax
imull $69, %eax, %eax
movb %al, %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.1: ## @.str.1
.asciz "You win!\n"
L_.str.2: ## @.str.2
.asciz "%u\n"
.subsections_via_symbols
| the_stack_data/37007.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI0_0:
.quad 0x3f847ae147ae147b ; double 0.01
.section __TEXT,__text,regular,pure_instructions
.globl _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]
mov x8, #1000
stur x8, [x29, #-24]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
mov x9, sp
sub x8, x29, #24
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _sscanf
stur w0, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_17
LBB0_3:
b LBB0_4
LBB0_4:
mov x8, #1
stur x8, [x29, #-40]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
mov x9, sp
sub x8, x29, #40
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _sscanf
stur w0, [x29, #-44]
ldur w8, [x29, #-44]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_17
LBB0_7:
b LBB0_8
LBB0_8:
adrp x0, _bodies@PAGE
add x0, x0, _bodies@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
mov x1, #5
str x1, [sp, #24] ; 8-byte Folded Spill
bl _offset_momentum
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x1, [sp, #24] ; 8-byte Folded Reload
bl _energy
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str xzr, [sp, #40]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr x8, [sp, #40]
ldur x9, [x29, #-40]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str xzr, [sp, #32]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #32]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
adrp x0, _bodies@PAGE
add x0, x0, _bodies@PAGEOFF
mov x1, #5
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
bl _advance
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB0_9
LBB0_16:
adrp x0, _bodies@PAGE
add x0, x0, _bodies@PAGEOFF
mov x1, #5
bl _energy
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_17
LBB0_17:
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 offset_momentum
_offset_momentum: ; @offset_momentum
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #56]
str x1, [sp, #48]
movi d0, #0000000000000000
str d0, [sp, #40]
str d0, [sp, #32]
str d0, [sp, #24]
str xzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #48]
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, #56]
ldr x9, [sp, #16]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr d0, [x8, #24]
ldr x8, [sp, #8]
ldr d1, [x8, #48]
ldr d2, [sp, #40]
fmadd d0, d0, d1, d2
str d0, [sp, #40]
ldr x8, [sp, #8]
ldr d0, [x8, #32]
ldr x8, [sp, #8]
ldr d1, [x8, #48]
ldr d2, [sp, #32]
fmadd d0, d0, d1, d2
str d0, [sp, #32]
ldr x8, [sp, #8]
ldr d0, [x8, #40]
ldr x8, [sp, #8]
ldr d1, [x8, #48]
ldr d2, [sp, #24]
fmadd d0, d0, d1, d2
str d0, [sp, #24]
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:
ldr x8, [sp, #56]
ldr d0, [x8, #48]
str d0, [sp]
ldr d0, [sp, #40]
fneg d0, d0
ldr d1, [sp]
fdiv d1, d0, d1
ldr x8, [sp, #56]
ldr d0, [x8, #24]
fadd d0, d0, d1
str d0, [x8, #24]
ldr d0, [sp, #32]
fneg d0, d0
ldr d1, [sp]
fdiv d1, d0, d1
ldr x8, [sp, #56]
ldr d0, [x8, #32]
fadd d0, d0, d1
str d0, [x8, #32]
ldr d0, [sp, #24]
fneg d0, d0
ldr d1, [sp]
fdiv d1, d0, d1
ldr x8, [sp, #56]
ldr d0, [x8, #40]
fadd d0, d0, d1
str d0, [x8, #40]
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function energy
_energy: ; @energy
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
str x0, [sp, #104]
str x1, [sp, #96]
movi d0, #0000000000000000
str d0, [sp, #88]
str xzr, [sp, #80]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr x8, [sp, #80]
ldr x9, [sp, #96]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #104]
ldr x9, [sp, #80]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #72]
ldr x8, [sp, #72]
ldr d0, [x8, #24]
str d0, [sp, #64]
ldr x8, [sp, #72]
ldr d0, [x8, #32]
str d0, [sp, #56]
ldr x8, [sp, #72]
ldr d0, [x8, #40]
str d0, [sp, #48]
ldr x8, [sp, #72]
ldr d1, [x8, #48]
fmov d0, #0.50000000
fmul d0, d0, d1
ldr d1, [sp, #64]
ldr d2, [sp, #64]
ldr d3, [sp, #56]
ldr d4, [sp, #56]
fmul d3, d3, d4
fmadd d3, d1, d2, d3
ldr d1, [sp, #48]
ldr d2, [sp, #48]
fmadd d1, d1, d2, d3
ldr d2, [sp, #88]
fmadd d0, d0, d1, d2
str d0, [sp, #88]
ldr x8, [sp, #80]
add x8, x8, #1
str x8, [sp, #40]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #40]
ldr x9, [sp, #96]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #104]
ldr x9, [sp, #40]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #32]
ldr x8, [sp, #72]
ldr d0, [x8]
ldr x8, [sp, #32]
ldr d1, [x8]
fsub d0, d0, d1
str d0, [sp, #24]
ldr x8, [sp, #72]
ldr d0, [x8, #8]
ldr x8, [sp, #32]
ldr d1, [x8, #8]
fsub d0, d0, d1
str d0, [sp, #16]
ldr x8, [sp, #72]
ldr d0, [x8, #16]
ldr x8, [sp, #32]
ldr d1, [x8, #16]
fsub d0, d0, d1
str d0, [sp, #8]
ldr d0, [sp, #24]
ldr d1, [sp, #24]
ldr d2, [sp, #16]
ldr d3, [sp, #16]
fmul d2, d2, d3
fmadd d2, d0, d1, d2
ldr d0, [sp, #8]
ldr d1, [sp, #8]
fmadd d0, d0, d1, d2
fsqrt d0, d0
str d0, [sp]
ldr x8, [sp, #72]
ldr d0, [x8, #48]
ldr x8, [sp, #32]
ldr d1, [x8, #48]
fmul d0, d0, d1
ldr d1, [sp]
fdiv d1, d0, d1
ldr d0, [sp, #88]
fsub d0, d0, d1
str d0, [sp, #88]
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB2_3
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #80]
add x8, x8, #1
str x8, [sp, #80]
b LBB2_1
LBB2_8:
ldr d0, [sp, #88]
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function advance
_advance: ; @advance
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
str x0, [sp, #104]
str x1, [sp, #96]
str d0, [sp, #88]
str xzr, [sp, #80]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
ldr x8, [sp, #80]
ldr x9, [sp, #96]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_8
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #104]
ldr x9, [sp, #80]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #72]
ldr x8, [sp, #80]
add x8, x8, #1
str x8, [sp, #64]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #64]
ldr x9, [sp, #96]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldr x8, [sp, #104]
ldr x9, [sp, #64]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #56]
ldr x8, [sp, #72]
ldr d0, [x8]
ldr x8, [sp, #56]
ldr d1, [x8]
fsub d0, d0, d1
str d0, [sp, #48]
ldr x8, [sp, #72]
ldr d0, [x8, #8]
ldr x8, [sp, #56]
ldr d1, [x8, #8]
fsub d0, d0, d1
str d0, [sp, #40]
ldr x8, [sp, #72]
ldr d0, [x8, #16]
ldr x8, [sp, #56]
ldr d1, [x8, #16]
fsub d0, d0, d1
str d0, [sp, #32]
ldr d0, [sp, #48]
ldr d1, [sp, #48]
ldr d2, [sp, #40]
ldr d3, [sp, #40]
fmul d2, d2, d3
fmadd d2, d0, d1, d2
ldr d0, [sp, #32]
ldr d1, [sp, #32]
fmadd d0, d0, d1, d2
fsqrt d0, d0
str d0, [sp, #24]
ldr d0, [sp, #88]
ldr d1, [sp, #24]
ldr d2, [sp, #24]
fmul d1, d1, d2
ldr d2, [sp, #24]
fmul d1, d1, d2
fdiv d0, d0, d1
str d0, [sp, #16]
ldr d0, [sp, #48]
ldr x8, [sp, #56]
ldr d1, [x8, #48]
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr x8, [sp, #72]
ldr d2, [x8, #24]
fmsub d0, d0, d1, d2
str d0, [x8, #24]
ldr d0, [sp, #40]
ldr x8, [sp, #56]
ldr d1, [x8, #48]
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr x8, [sp, #72]
ldr d2, [x8, #32]
fmsub d0, d0, d1, d2
str d0, [x8, #32]
ldr d0, [sp, #32]
ldr x8, [sp, #56]
ldr d1, [x8, #48]
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr x8, [sp, #72]
ldr d2, [x8, #40]
fmsub d0, d0, d1, d2
str d0, [x8, #40]
ldr d0, [sp, #48]
ldr x8, [sp, #72]
ldr d1, [x8, #48]
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr x8, [sp, #56]
ldr d2, [x8, #24]
fmadd d0, d0, d1, d2
str d0, [x8, #24]
ldr d0, [sp, #40]
ldr x8, [sp, #72]
ldr d1, [x8, #48]
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr x8, [sp, #56]
ldr d2, [x8, #32]
fmadd d0, d0, d1, d2
str d0, [x8, #32]
ldr d0, [sp, #32]
ldr x8, [sp, #72]
ldr d1, [x8, #48]
fmul d0, d0, d1
ldr d1, [sp, #16]
ldr x8, [sp, #56]
ldr d2, [x8, #40]
fmadd d0, d0, d1, d2
str d0, [x8, #40]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldr x8, [sp, #64]
add x8, x8, #1
str x8, [sp, #64]
b LBB3_3
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #80]
add x8, x8, #1
str x8, [sp, #80]
b LBB3_1
LBB3_8:
str xzr, [sp, #8]
b LBB3_9
LBB3_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #96]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_12
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=1
ldr x8, [sp, #104]
ldr x9, [sp, #8]
mov x10, #56
mul x9, x9, x10
add x8, x8, x9
str x8, [sp]
ldr d0, [sp, #88]
ldr x8, [sp]
ldr d1, [x8, #24]
ldr x8, [sp]
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
ldr d0, [sp, #88]
ldr x8, [sp]
ldr d1, [x8, #32]
ldr x8, [sp]
ldr d2, [x8, #8]
fmadd d0, d0, d1, d2
str d0, [x8, #8]
ldr d0, [sp, #88]
ldr x8, [sp]
ldr d1, [x8, #40]
ldr x8, [sp]
ldr d2, [x8, #16]
fmadd d0, d0, d1, d2
str d0, [x8, #16]
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_9 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB3_9
LBB3_12:
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%zu"
.section __DATA,__data
.p2align 3 ; @bodies
_bodies:
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x4043bd3cc9be45de ; double 39.478417604357432
.quad 0x40135da0343cd92c ; double 4.8414314424647209
.quad 0xbff290abc01fdb7c ; double -1.1603200440274284
.quad 0xbfba86f96c25ebf0 ; double -0.10362204447112311
.quad 0x3fe367069b93ccbc ; double 0.60632639299583202
.quad 0x40067ef2f57d949b ; double 2.8119868449162602
.quad 0xbf99d2d79a5a0715 ; double -0.025218361659887629
.quad 0x3fa34c95d9ab33d8 ; double 0.037693674870389493
.quad 0x4020afcdc332ca67 ; double 8.3433667182445799
.quad 0x40107fcb31de01b0 ; double 4.1247985641243048
.quad 0xbfd9d353e1eb467c ; double -0.40352341711432138
.quad 0xbff02c21b8879442 ; double -1.0107743461787924
.quad 0x3ffd35e9bf1f8f13 ; double 1.8256623712304119
.quad 0x3f813c485f1123b4 ; double 0.0084157613765841535
.quad 0x3f871d490d07c637 ; double 0.011286326131968767
.quad 0x4029c9eacea7d9cf ; double 12.894369562139131
.quad 0xc02e38e8d626667e ; double -15.111151401698631
.quad 0xbfcc9557be257da0 ; double -0.22330757889265573
.quad 0x3ff1531ca9911bef ; double 1.0827910064415354
.quad 0x3febcc7f3e54bbc5 ; double 0.86871301816960822
.quad 0xbf862f6bfaf23e7c ; double -0.010832637401363636
.quad 0x3f5c3dd29cf41eb3 ; double 0.0017237240570597112
.quad 0x402ec267a905572a ; double 15.379697114850917
.quad 0xc039eb5833c8a220 ; double -25.919314609987964
.quad 0x3fc6f1f393abe540 ; double 0.17925877295037118
.quad 0x3fef54b61659bc4a ; double 0.97909073224389798
.quad 0x3fe307c631c4fba3 ; double 0.59469899864767617
.quad 0xbfa1cb88587665f6 ; double -0.034755955504078104
.quad 0x3f60a8f3531799ac ; double 0.0020336868699246304
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%0.9f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3f847ae147ae147b ## double 0.01
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq $1000, -24(%rbp) ## imm = 0x3E8
cmpl $1, -8(%rbp)
jle LBB0_4
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str(%rip), %rsi
leaq -24(%rbp), %rdx
movb $0, %al
callq _sscanf
movl %eax, -28(%rbp)
cmpl $1, -28(%rbp)
je LBB0_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB0_17
LBB0_3:
jmp LBB0_4
LBB0_4:
movq $1, -40(%rbp)
cmpl $2, -8(%rbp)
jle LBB0_8
## %bb.5:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
leaq L_.str(%rip), %rsi
leaq -40(%rbp), %rdx
movb $0, %al
callq _sscanf
movl %eax, -44(%rbp)
cmpl $1, -44(%rbp)
je LBB0_7
## %bb.6:
movl $1, -4(%rbp)
jmp LBB0_17
LBB0_7:
jmp LBB0_8
LBB0_8:
leaq _bodies(%rip), %rdi
movl $5, %esi
callq _offset_momentum
leaq _bodies(%rip), %rdi
movl $5, %esi
callq _energy
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movq $0, -56(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movq -56(%rbp), %rax
cmpq -40(%rbp), %rax
jae LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq $0, -64(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movq -64(%rbp), %rax
cmpq -24(%rbp), %rax
jae LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
leaq _bodies(%rip), %rdi
movl $5, %esi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _advance
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%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
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB0_9
LBB0_16:
leaq _bodies(%rip), %rdi
movl $5, %esi
callq _energy
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -4(%rbp)
LBB0_17:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function offset_momentum
_offset_momentum: ## @offset_momentum
.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
movsd %xmm0, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
movq $0, -48(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
imulq $56, -48(%rbp), %rcx
addq %rcx, %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
movsd 48(%rax), %xmm2 ## xmm2 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
movq -56(%rbp), %rax
movsd 32(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
movsd 48(%rax), %xmm2 ## xmm2 = mem[0],zero
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -32(%rbp)
movq -56(%rbp), %rax
movsd 40(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
movsd 48(%rax), %xmm2 ## xmm2 = mem[0],zero
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -40(%rbp)
## %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 -8(%rbp), %rax
movsd 48(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
divsd -64(%rbp), %xmm0
movq -8(%rbp), %rax
addsd 24(%rax), %xmm0
movsd %xmm0, 24(%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
divsd -64(%rbp), %xmm0
movq -8(%rbp), %rax
addsd 32(%rax), %xmm0
movsd %xmm0, 32(%rax)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
divsd -64(%rbp), %xmm0
movq -8(%rbp), %rax
addsd 40(%rax), %xmm0
movsd %xmm0, 40(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function energy
LCPI2_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_energy: ## @energy
.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
movsd %xmm0, -24(%rbp)
movq $0, -32(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movq -32(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
imulq $56, -32(%rbp), %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movq -40(%rbp), %rax
movsd 32(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movq -40(%rbp), %rax
movsd 40(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp)
movq -40(%rbp), %rax
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd 48(%rax), %xmm0
movsd -48(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -48(%rbp), %xmm3 ## xmm3 = mem[0],zero
movsd -56(%rbp), %xmm2 ## xmm2 = mem[0],zero
mulsd -56(%rbp), %xmm2
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
movsd -64(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -64(%rbp), %xmm3 ## xmm3 = mem[0],zero
mulsd %xmm3, %xmm2
addsd %xmm1, %xmm2
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -72(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -72(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rax
imulq $56, -72(%rbp), %rcx
addq %rcx, %rax
movq %rax, -80(%rbp)
movq -40(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -80(%rbp), %rax
subsd (%rax), %xmm0
movsd %xmm0, -88(%rbp)
movq -40(%rbp), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -80(%rbp), %rax
subsd 8(%rax), %xmm0
movsd %xmm0, -96(%rbp)
movq -40(%rbp), %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -80(%rbp), %rax
subsd 16(%rax), %xmm0
movsd %xmm0, -104(%rbp)
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -88(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -96(%rbp), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -104(%rbp), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
movsd %xmm0, -112(%rbp)
movq -40(%rbp), %rax
movsd 48(%rax), %xmm1 ## xmm1 = mem[0],zero
movq -80(%rbp), %rax
mulsd 48(%rax), %xmm1
divsd -112(%rbp), %xmm1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movq -72(%rbp), %rax
addq $1, %rax
movq %rax, -72(%rbp)
jmp LBB2_3
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB2_1
LBB2_8:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function advance
_advance: ## @advance
.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)
movsd %xmm0, -24(%rbp)
movq $0, -32(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
movq -32(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB3_8
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
imulq $56, -32(%rbp), %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -48(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movq -8(%rbp), %rax
imulq $56, -48(%rbp), %rcx
addq %rcx, %rax
movq %rax, -56(%rbp)
movq -40(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
subsd (%rax), %xmm0
movsd %xmm0, -64(%rbp)
movq -40(%rbp), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
subsd 8(%rax), %xmm0
movsd %xmm0, -72(%rbp)
movq -40(%rbp), %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
subsd 16(%rax), %xmm0
movsd %xmm0, -80(%rbp)
movsd -64(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -64(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -72(%rbp), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -80(%rbp), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
movsd %xmm0, -88(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd -88(%rbp), %xmm1
mulsd -88(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -96(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
mulsd 48(%rax), %xmm0
movsd -96(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -40(%rbp), %rax
movsd 24(%rax), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, %rcx
movabsq $-9223372036854775808, %rdx ## imm = 0x8000000000000000
xorq %rdx, %rcx
movq %rcx, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 24(%rax)
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
mulsd 48(%rax), %xmm0
movsd -96(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -40(%rbp), %rax
movsd 32(%rax), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, %rcx
movabsq $-9223372036854775808, %rdx ## imm = 0x8000000000000000
xorq %rdx, %rcx
movq %rcx, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 32(%rax)
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
mulsd 48(%rax), %xmm0
movsd -96(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -40(%rbp), %rax
movsd 40(%rax), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, %rcx
movabsq $-9223372036854775808, %rdx ## imm = 0x8000000000000000
xorq %rdx, %rcx
movq %rcx, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 40(%rax)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
mulsd 48(%rax), %xmm0
movsd -96(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -56(%rbp), %rax
movsd 24(%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 24(%rax)
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
mulsd 48(%rax), %xmm0
movsd -96(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -56(%rbp), %rax
movsd 32(%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 32(%rax)
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
mulsd 48(%rax), %xmm0
movsd -96(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -56(%rbp), %rax
movsd 40(%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 40(%rax)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
jmp LBB3_3
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_7
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB3_1
LBB3_8:
movq $0, -104(%rbp)
LBB3_9: ## =>This Inner Loop Header: Depth=1
movq -104(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB3_12
## %bb.10: ## in Loop: Header=BB3_9 Depth=1
movq -8(%rbp), %rax
imulq $56, -104(%rbp), %rcx
addq %rcx, %rax
movq %rax, -112(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -112(%rbp), %rax
movsd 24(%rax), %xmm2 ## xmm2 = mem[0],zero
movq -112(%rbp), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -112(%rbp), %rax
movsd 32(%rax), %xmm2 ## xmm2 = mem[0],zero
movq -112(%rbp), %rax
movsd 8(%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 8(%rax)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -112(%rbp), %rax
movsd 40(%rax), %xmm2 ## xmm2 = mem[0],zero
movq -112(%rbp), %rax
movsd 16(%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 16(%rax)
## %bb.11: ## in Loop: Header=BB3_9 Depth=1
movq -104(%rbp), %rax
addq $1, %rax
movq %rax, -104(%rbp)
jmp LBB3_9
LBB3_12:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%zu"
.section __DATA,__data
.p2align 4 ## @bodies
_bodies:
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x4043bd3cc9be45de ## double 39.478417604357432
.quad 0x40135da0343cd92c ## double 4.8414314424647209
.quad 0xbff290abc01fdb7c ## double -1.1603200440274284
.quad 0xbfba86f96c25ebf0 ## double -0.10362204447112311
.quad 0x3fe367069b93ccbc ## double 0.60632639299583202
.quad 0x40067ef2f57d949b ## double 2.8119868449162602
.quad 0xbf99d2d79a5a0715 ## double -0.025218361659887629
.quad 0x3fa34c95d9ab33d8 ## double 0.037693674870389493
.quad 0x4020afcdc332ca67 ## double 8.3433667182445799
.quad 0x40107fcb31de01b0 ## double 4.1247985641243048
.quad 0xbfd9d353e1eb467c ## double -0.40352341711432138
.quad 0xbff02c21b8879442 ## double -1.0107743461787924
.quad 0x3ffd35e9bf1f8f13 ## double 1.8256623712304119
.quad 0x3f813c485f1123b4 ## double 0.0084157613765841535
.quad 0x3f871d490d07c637 ## double 0.011286326131968767
.quad 0x4029c9eacea7d9cf ## double 12.894369562139131
.quad 0xc02e38e8d626667e ## double -15.111151401698631
.quad 0xbfcc9557be257da0 ## double -0.22330757889265573
.quad 0x3ff1531ca9911bef ## double 1.0827910064415354
.quad 0x3febcc7f3e54bbc5 ## double 0.86871301816960822
.quad 0xbf862f6bfaf23e7c ## double -0.010832637401363636
.quad 0x3f5c3dd29cf41eb3 ## double 0.0017237240570597112
.quad 0x402ec267a905572a ## double 15.379697114850917
.quad 0xc039eb5833c8a220 ## double -25.919314609987964
.quad 0x3fc6f1f393abe540 ## double 0.17925877295037118
.quad 0x3fef54b61659bc4a ## double 0.97909073224389798
.quad 0x3fe307c631c4fba3 ## double 0.59469899864767617
.quad 0xbfa1cb88587665f6 ## double -0.034755955504078104
.quad 0x3f60a8f3531799ac ## double 0.0020336868699246304
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%0.9f\n"
.subsections_via_symbols
| the_stack_data/1112233.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, #2032
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #1024
mov w1, #1000
bl _get_line
str w0, [sp, #16]
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
str w8, [sp, #12]
add x0, sp, #1024
add x1, sp, #24
bl _copy
b LBB0_4
LBB0_4: ; 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_1
LBB0_5:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
bl ___stack_chk_fail
LBB0_9:
mov w0, #0
add sp, sp, #2032
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_line ; -- Begin function get_line
.p2align 2
_get_line: ; @get_line
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _getchar
str w0, [sp, #16]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_7:
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_9
LBB1_9:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
add x8, x8, x9
strb wzr, [x8]
b LBB1_10
LBB1_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
adds w8, w8, #1
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_10 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB1_14
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_10 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
bl _getchar
str w0, [sp, #16]
b LBB1_10
LBB1_14:
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _copy ; -- Begin function copy
.p2align 2
_copy: ; @copy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldrsw x10, [sp, #12]
strb w8, [x9, x10]
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 w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_3:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "line_length: %d\n"
l_.str.1: ; @.str.1
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $2032, %rsp ## imm = 0x7F0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2020(%rbp)
movl $0, -2028(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -1008(%rbp), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _get_line
movl %eax, -2024(%rbp)
cmpl $0, %eax
jle LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -2028(%rbp), %eax
cmpl -2024(%rbp), %eax
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -2024(%rbp), %eax
movl %eax, -2028(%rbp)
leaq -1008(%rbp), %rdi
leaq -2016(%rbp), %rsi
callq _copy
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -2024(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_5:
cmpl $0, -2028(%rbp)
jle LBB0_7
## %bb.6:
leaq -2016(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
xorl %eax, %eax
addq $2032, %rsp ## imm = 0x7F0
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _get_line ## -- Begin function get_line
.p2align 4, 0x90
_get_line: ## @get_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 $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %ecx
movl -12(%rbp), %edx
subl $1, %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _getchar
movl %eax, %ecx
movl %ecx, -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $10, -16(%rbp)
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_7
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_7:
cmpl $10, -16(%rbp)
jne LBB1_9
## %bb.8:
movl -16(%rbp), %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB1_9:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb $0, (%rax,%rcx)
LBB1_10: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, -16(%rbp)
movb %al, -22(%rbp) ## 1-byte Spill
je LBB1_12
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
cmpl $10, -16(%rbp)
setne %al
movb %al, -22(%rbp) ## 1-byte Spill
LBB1_12: ## in Loop: Header=BB1_10 Depth=1
movb -22(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_13
jmp LBB1_14
LBB1_13: ## in Loop: Header=BB1_10 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
callq _getchar
movl %eax, -16(%rbp)
jmp LBB1_10
LBB1_14:
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _copy ## -- Begin function copy
.p2align 4, 0x90
_copy: ## @copy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb (%rax,%rcx), %al
movq -16(%rbp), %rcx
movslq -20(%rbp), %rdx
movb %al, (%rcx,%rdx)
movsbl %al, %eax
cmpl $0, %eax
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "line_length: %d\n"
L_.str.1: ## @.str.1
.asciz "%s"
.subsections_via_symbols
| the_stack_data/149615.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/40763837.c |